Subversion Repositories SmartDukaan

Rev

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

Rev 9621 Rev 9724
Line 494... Line 494...
494
 
494
 
495
    public boolean deleteProductFeedSubmit(long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException;
495
    public boolean deleteProductFeedSubmit(long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException;
496
 
496
 
497
    public List<ProductFeedSubmit> getAllProductFeedSubmit() throws CatalogServiceException, org.apache.thrift.TException;
497
    public List<ProductFeedSubmit> getAllProductFeedSubmit() throws CatalogServiceException, org.apache.thrift.TException;
498
 
498
 
-
 
499
    public MarketplaceItems getMarketplacedetailsForItem(long itemId, long sourceId) throws org.apache.thrift.TException;
-
 
500
 
-
 
501
    public boolean updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem) throws org.apache.thrift.TException;
-
 
502
 
499
  }
503
  }
500
 
504
 
501
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
505
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
502
 
506
 
503
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
507
    public void addItem(Item item, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addItem_call> resultHandler) throws org.apache.thrift.TException;
Line 772... Line 776...
772
 
776
 
773
    public void deleteProductFeedSubmit(long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException;
777
    public void deleteProductFeedSubmit(long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException;
774
 
778
 
775
    public void getAllProductFeedSubmit(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException;
779
    public void getAllProductFeedSubmit(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllProductFeedSubmit_call> resultHandler) throws org.apache.thrift.TException;
776
 
780
 
-
 
781
    public void getMarketplacedetailsForItem(long itemId, long sourceId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMarketplacedetailsForItem_call> resultHandler) throws org.apache.thrift.TException;
-
 
782
 
-
 
783
    public void updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateMarketplaceAttributesForItem_call> resultHandler) throws org.apache.thrift.TException;
-
 
784
 
777
  }
785
  }
778
 
786
 
779
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
787
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
780
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
788
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
781
      public Factory() {}
789
      public Factory() {}
Line 4049... Line 4057...
4049
        throw result.cex;
4057
        throw result.cex;
4050
      }
4058
      }
4051
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllProductFeedSubmit failed: unknown result");
4059
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllProductFeedSubmit failed: unknown result");
4052
    }
4060
    }
4053
 
4061
 
-
 
4062
    public MarketplaceItems getMarketplacedetailsForItem(long itemId, long sourceId) throws org.apache.thrift.TException
-
 
4063
    {
-
 
4064
      send_getMarketplacedetailsForItem(itemId, sourceId);
-
 
4065
      return recv_getMarketplacedetailsForItem();
-
 
4066
    }
-
 
4067
 
-
 
4068
    public void send_getMarketplacedetailsForItem(long itemId, long sourceId) throws org.apache.thrift.TException
-
 
4069
    {
-
 
4070
      getMarketplacedetailsForItem_args args = new getMarketplacedetailsForItem_args();
-
 
4071
      args.setItemId(itemId);
-
 
4072
      args.setSourceId(sourceId);
-
 
4073
      sendBase("getMarketplacedetailsForItem", args);
-
 
4074
    }
-
 
4075
 
-
 
4076
    public MarketplaceItems recv_getMarketplacedetailsForItem() throws org.apache.thrift.TException
-
 
4077
    {
-
 
4078
      getMarketplacedetailsForItem_result result = new getMarketplacedetailsForItem_result();
-
 
4079
      receiveBase(result, "getMarketplacedetailsForItem");
-
 
4080
      if (result.isSetSuccess()) {
-
 
4081
        return result.success;
-
 
4082
      }
-
 
4083
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getMarketplacedetailsForItem failed: unknown result");
-
 
4084
    }
-
 
4085
 
-
 
4086
    public boolean updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem) throws org.apache.thrift.TException
-
 
4087
    {
-
 
4088
      send_updateMarketplaceAttributesForItem(marketPlaceItem);
-
 
4089
      return recv_updateMarketplaceAttributesForItem();
-
 
4090
    }
-
 
4091
 
-
 
4092
    public void send_updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem) throws org.apache.thrift.TException
-
 
4093
    {
-
 
4094
      updateMarketplaceAttributesForItem_args args = new updateMarketplaceAttributesForItem_args();
-
 
4095
      args.setMarketPlaceItem(marketPlaceItem);
-
 
4096
      sendBase("updateMarketplaceAttributesForItem", args);
-
 
4097
    }
-
 
4098
 
-
 
4099
    public boolean recv_updateMarketplaceAttributesForItem() throws org.apache.thrift.TException
-
 
4100
    {
-
 
4101
      updateMarketplaceAttributesForItem_result result = new updateMarketplaceAttributesForItem_result();
-
 
4102
      receiveBase(result, "updateMarketplaceAttributesForItem");
-
 
4103
      if (result.isSetSuccess()) {
-
 
4104
        return result.success;
-
 
4105
      }
-
 
4106
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateMarketplaceAttributesForItem failed: unknown result");
-
 
4107
    }
-
 
4108
 
4054
  }
4109
  }
4055
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
4110
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
4056
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
4111
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
4057
      private org.apache.thrift.async.TAsyncClientManager clientManager;
4112
      private org.apache.thrift.async.TAsyncClientManager clientManager;
4058
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
4113
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 8565... Line 8620...
8565
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8620
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8566
        return (new Client(prot)).recv_getAllProductFeedSubmit();
8621
        return (new Client(prot)).recv_getAllProductFeedSubmit();
8567
      }
8622
      }
8568
    }
8623
    }
8569
 
8624
 
-
 
8625
    public void getMarketplacedetailsForItem(long itemId, long sourceId, org.apache.thrift.async.AsyncMethodCallback<getMarketplacedetailsForItem_call> resultHandler) throws org.apache.thrift.TException {
-
 
8626
      checkReady();
-
 
8627
      getMarketplacedetailsForItem_call method_call = new getMarketplacedetailsForItem_call(itemId, sourceId, resultHandler, this, ___protocolFactory, ___transport);
-
 
8628
      this.___currentMethod = method_call;
-
 
8629
      ___manager.call(method_call);
-
 
8630
    }
-
 
8631
 
-
 
8632
    public static class getMarketplacedetailsForItem_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8633
      private long itemId;
-
 
8634
      private long sourceId;
-
 
8635
      public getMarketplacedetailsForItem_call(long itemId, long sourceId, org.apache.thrift.async.AsyncMethodCallback<getMarketplacedetailsForItem_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 {
-
 
8636
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8637
        this.itemId = itemId;
-
 
8638
        this.sourceId = sourceId;
-
 
8639
      }
-
 
8640
 
-
 
8641
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8642
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getMarketplacedetailsForItem", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8643
        getMarketplacedetailsForItem_args args = new getMarketplacedetailsForItem_args();
-
 
8644
        args.setItemId(itemId);
-
 
8645
        args.setSourceId(sourceId);
-
 
8646
        args.write(prot);
-
 
8647
        prot.writeMessageEnd();
-
 
8648
      }
-
 
8649
 
-
 
8650
      public MarketplaceItems getResult() throws org.apache.thrift.TException {
-
 
8651
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8652
          throw new IllegalStateException("Method call not finished!");
-
 
8653
        }
-
 
8654
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8655
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8656
        return (new Client(prot)).recv_getMarketplacedetailsForItem();
-
 
8657
      }
-
 
8658
    }
-
 
8659
 
-
 
8660
    public void updateMarketplaceAttributesForItem(MarketplaceItems marketPlaceItem, org.apache.thrift.async.AsyncMethodCallback<updateMarketplaceAttributesForItem_call> resultHandler) throws org.apache.thrift.TException {
-
 
8661
      checkReady();
-
 
8662
      updateMarketplaceAttributesForItem_call method_call = new updateMarketplaceAttributesForItem_call(marketPlaceItem, resultHandler, this, ___protocolFactory, ___transport);
-
 
8663
      this.___currentMethod = method_call;
-
 
8664
      ___manager.call(method_call);
-
 
8665
    }
-
 
8666
 
-
 
8667
    public static class updateMarketplaceAttributesForItem_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8668
      private MarketplaceItems marketPlaceItem;
-
 
8669
      public updateMarketplaceAttributesForItem_call(MarketplaceItems marketPlaceItem, org.apache.thrift.async.AsyncMethodCallback<updateMarketplaceAttributesForItem_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 {
-
 
8670
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8671
        this.marketPlaceItem = marketPlaceItem;
-
 
8672
      }
-
 
8673
 
-
 
8674
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8675
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateMarketplaceAttributesForItem", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8676
        updateMarketplaceAttributesForItem_args args = new updateMarketplaceAttributesForItem_args();
-
 
8677
        args.setMarketPlaceItem(marketPlaceItem);
-
 
8678
        args.write(prot);
-
 
8679
        prot.writeMessageEnd();
-
 
8680
      }
-
 
8681
 
-
 
8682
      public boolean getResult() throws org.apache.thrift.TException {
-
 
8683
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8684
          throw new IllegalStateException("Method call not finished!");
-
 
8685
        }
-
 
8686
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8687
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8688
        return (new Client(prot)).recv_updateMarketplaceAttributesForItem();
-
 
8689
      }
-
 
8690
    }
-
 
8691
 
8570
  }
8692
  }
8571
 
8693
 
8572
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
8694
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
8573
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
8695
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
8574
    public Processor(I iface) {
8696
    public Processor(I iface) {
Line 8715... Line 8837...
8715
      processMap.put("getProductFeedSubmit", new getProductFeedSubmit());
8837
      processMap.put("getProductFeedSubmit", new getProductFeedSubmit());
8716
      processMap.put("addProductFeedSubmit", new addProductFeedSubmit());
8838
      processMap.put("addProductFeedSubmit", new addProductFeedSubmit());
8717
      processMap.put("updateProductFeedSubmit", new updateProductFeedSubmit());
8839
      processMap.put("updateProductFeedSubmit", new updateProductFeedSubmit());
8718
      processMap.put("deleteProductFeedSubmit", new deleteProductFeedSubmit());
8840
      processMap.put("deleteProductFeedSubmit", new deleteProductFeedSubmit());
8719
      processMap.put("getAllProductFeedSubmit", new getAllProductFeedSubmit());
8841
      processMap.put("getAllProductFeedSubmit", new getAllProductFeedSubmit());
-
 
8842
      processMap.put("getMarketplacedetailsForItem", new getMarketplacedetailsForItem());
-
 
8843
      processMap.put("updateMarketplaceAttributesForItem", new updateMarketplaceAttributesForItem());
8720
      return processMap;
8844
      return processMap;
8721
    }
8845
    }
8722
 
8846
 
8723
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
8847
    private static class addItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addItem_args> {
8724
      public addItem() {
8848
      public addItem() {
Line 11126... Line 11250...
11126
        }
11250
        }
11127
        return result;
11251
        return result;
11128
      }
11252
      }
11129
    }
11253
    }
11130
 
11254
 
-
 
11255
    private static class getMarketplacedetailsForItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getMarketplacedetailsForItem_args> {
-
 
11256
      public getMarketplacedetailsForItem() {
-
 
11257
        super("getMarketplacedetailsForItem");
-
 
11258
      }
-
 
11259
 
-
 
11260
      protected getMarketplacedetailsForItem_args getEmptyArgsInstance() {
-
 
11261
        return new getMarketplacedetailsForItem_args();
-
 
11262
      }
-
 
11263
 
-
 
11264
      protected getMarketplacedetailsForItem_result getResult(I iface, getMarketplacedetailsForItem_args args) throws org.apache.thrift.TException {
-
 
11265
        getMarketplacedetailsForItem_result result = new getMarketplacedetailsForItem_result();
-
 
11266
        result.success = iface.getMarketplacedetailsForItem(args.itemId, args.sourceId);
-
 
11267
        return result;
-
 
11268
      }
-
 
11269
    }
-
 
11270
 
-
 
11271
    private static class updateMarketplaceAttributesForItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateMarketplaceAttributesForItem_args> {
-
 
11272
      public updateMarketplaceAttributesForItem() {
-
 
11273
        super("updateMarketplaceAttributesForItem");
-
 
11274
      }
-
 
11275
 
-
 
11276
      protected updateMarketplaceAttributesForItem_args getEmptyArgsInstance() {
-
 
11277
        return new updateMarketplaceAttributesForItem_args();
-
 
11278
      }
-
 
11279
 
-
 
11280
      protected updateMarketplaceAttributesForItem_result getResult(I iface, updateMarketplaceAttributesForItem_args args) throws org.apache.thrift.TException {
-
 
11281
        updateMarketplaceAttributesForItem_result result = new updateMarketplaceAttributesForItem_result();
-
 
11282
        result.success = iface.updateMarketplaceAttributesForItem(args.marketPlaceItem);
-
 
11283
        result.setSuccessIsSet(true);
-
 
11284
        return result;
-
 
11285
      }
-
 
11286
    }
-
 
11287
 
11131
  }
11288
  }
11132
 
11289
 
11133
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
11290
  public static class addItem_args implements org.apache.thrift.TBase<addItem_args, addItem_args._Fields>, java.io.Serializable, Cloneable   {
11134
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
11291
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addItem_args");
11135
 
11292
 
Line 99172... Line 99329...
99172
      first = false;
99329
      first = false;
99173
      sb.append(")");
99330
      sb.append(")");
99174
      return sb.toString();
99331
      return sb.toString();
99175
    }
99332
    }
99176
 
99333
 
-
 
99334
    public void validate() throws org.apache.thrift.TException {
-
 
99335
      // check for required fields
-
 
99336
    }
-
 
99337
 
-
 
99338
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
99339
      try {
-
 
99340
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
99341
      } catch (org.apache.thrift.TException te) {
-
 
99342
        throw new java.io.IOException(te);
-
 
99343
      }
-
 
99344
    }
-
 
99345
 
-
 
99346
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
99347
      try {
-
 
99348
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
99349
      } catch (org.apache.thrift.TException te) {
-
 
99350
        throw new java.io.IOException(te);
-
 
99351
      }
-
 
99352
    }
-
 
99353
 
-
 
99354
  }
-
 
99355
 
-
 
99356
  public static class getMarketplacedetailsForItem_args implements org.apache.thrift.TBase<getMarketplacedetailsForItem_args, getMarketplacedetailsForItem_args._Fields>, java.io.Serializable, Cloneable   {
-
 
99357
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMarketplacedetailsForItem_args");
-
 
99358
 
-
 
99359
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
99360
    private static final org.apache.thrift.protocol.TField SOURCE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("sourceId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
99361
 
-
 
99362
    private long itemId; // required
-
 
99363
    private long sourceId; // required
-
 
99364
 
-
 
99365
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
99366
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
99367
      ITEM_ID((short)1, "itemId"),
-
 
99368
      SOURCE_ID((short)2, "sourceId");
-
 
99369
 
-
 
99370
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
99371
 
-
 
99372
      static {
-
 
99373
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
99374
          byName.put(field.getFieldName(), field);
-
 
99375
        }
-
 
99376
      }
-
 
99377
 
-
 
99378
      /**
-
 
99379
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
99380
       */
-
 
99381
      public static _Fields findByThriftId(int fieldId) {
-
 
99382
        switch(fieldId) {
-
 
99383
          case 1: // ITEM_ID
-
 
99384
            return ITEM_ID;
-
 
99385
          case 2: // SOURCE_ID
-
 
99386
            return SOURCE_ID;
-
 
99387
          default:
-
 
99388
            return null;
-
 
99389
        }
-
 
99390
      }
-
 
99391
 
-
 
99392
      /**
-
 
99393
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
99394
       * if it is not found.
-
 
99395
       */
-
 
99396
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
99397
        _Fields fields = findByThriftId(fieldId);
-
 
99398
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
99399
        return fields;
-
 
99400
      }
-
 
99401
 
-
 
99402
      /**
-
 
99403
       * Find the _Fields constant that matches name, or null if its not found.
-
 
99404
       */
-
 
99405
      public static _Fields findByName(String name) {
-
 
99406
        return byName.get(name);
-
 
99407
      }
-
 
99408
 
-
 
99409
      private final short _thriftId;
-
 
99410
      private final String _fieldName;
-
 
99411
 
-
 
99412
      _Fields(short thriftId, String fieldName) {
-
 
99413
        _thriftId = thriftId;
-
 
99414
        _fieldName = fieldName;
-
 
99415
      }
-
 
99416
 
-
 
99417
      public short getThriftFieldId() {
-
 
99418
        return _thriftId;
-
 
99419
      }
-
 
99420
 
-
 
99421
      public String getFieldName() {
-
 
99422
        return _fieldName;
-
 
99423
      }
-
 
99424
    }
-
 
99425
 
-
 
99426
    // isset id assignments
-
 
99427
    private static final int __ITEMID_ISSET_ID = 0;
-
 
99428
    private static final int __SOURCEID_ISSET_ID = 1;
-
 
99429
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
99430
 
-
 
99431
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
99432
    static {
-
 
99433
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
99434
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
99435
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
99436
      tmpMap.put(_Fields.SOURCE_ID, new org.apache.thrift.meta_data.FieldMetaData("sourceId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
99437
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
99438
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
99439
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMarketplacedetailsForItem_args.class, metaDataMap);
-
 
99440
    }
-
 
99441
 
-
 
99442
    public getMarketplacedetailsForItem_args() {
-
 
99443
    }
-
 
99444
 
-
 
99445
    public getMarketplacedetailsForItem_args(
-
 
99446
      long itemId,
-
 
99447
      long sourceId)
-
 
99448
    {
-
 
99449
      this();
-
 
99450
      this.itemId = itemId;
-
 
99451
      setItemIdIsSet(true);
-
 
99452
      this.sourceId = sourceId;
-
 
99453
      setSourceIdIsSet(true);
-
 
99454
    }
-
 
99455
 
-
 
99456
    /**
-
 
99457
     * Performs a deep copy on <i>other</i>.
-
 
99458
     */
-
 
99459
    public getMarketplacedetailsForItem_args(getMarketplacedetailsForItem_args other) {
-
 
99460
      __isset_bit_vector.clear();
-
 
99461
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
99462
      this.itemId = other.itemId;
-
 
99463
      this.sourceId = other.sourceId;
-
 
99464
    }
-
 
99465
 
-
 
99466
    public getMarketplacedetailsForItem_args deepCopy() {
-
 
99467
      return new getMarketplacedetailsForItem_args(this);
-
 
99468
    }
-
 
99469
 
-
 
99470
    @Override
-
 
99471
    public void clear() {
-
 
99472
      setItemIdIsSet(false);
-
 
99473
      this.itemId = 0;
-
 
99474
      setSourceIdIsSet(false);
-
 
99475
      this.sourceId = 0;
-
 
99476
    }
-
 
99477
 
-
 
99478
    public long getItemId() {
-
 
99479
      return this.itemId;
-
 
99480
    }
-
 
99481
 
-
 
99482
    public void setItemId(long itemId) {
-
 
99483
      this.itemId = itemId;
-
 
99484
      setItemIdIsSet(true);
-
 
99485
    }
-
 
99486
 
-
 
99487
    public void unsetItemId() {
-
 
99488
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
99489
    }
-
 
99490
 
-
 
99491
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
99492
    public boolean isSetItemId() {
-
 
99493
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
99494
    }
-
 
99495
 
-
 
99496
    public void setItemIdIsSet(boolean value) {
-
 
99497
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
99498
    }
-
 
99499
 
-
 
99500
    public long getSourceId() {
-
 
99501
      return this.sourceId;
-
 
99502
    }
-
 
99503
 
-
 
99504
    public void setSourceId(long sourceId) {
-
 
99505
      this.sourceId = sourceId;
-
 
99506
      setSourceIdIsSet(true);
-
 
99507
    }
-
 
99508
 
-
 
99509
    public void unsetSourceId() {
-
 
99510
      __isset_bit_vector.clear(__SOURCEID_ISSET_ID);
-
 
99511
    }
-
 
99512
 
-
 
99513
    /** Returns true if field sourceId is set (has been assigned a value) and false otherwise */
-
 
99514
    public boolean isSetSourceId() {
-
 
99515
      return __isset_bit_vector.get(__SOURCEID_ISSET_ID);
-
 
99516
    }
-
 
99517
 
-
 
99518
    public void setSourceIdIsSet(boolean value) {
-
 
99519
      __isset_bit_vector.set(__SOURCEID_ISSET_ID, value);
-
 
99520
    }
-
 
99521
 
-
 
99522
    public void setFieldValue(_Fields field, Object value) {
-
 
99523
      switch (field) {
-
 
99524
      case ITEM_ID:
-
 
99525
        if (value == null) {
-
 
99526
          unsetItemId();
-
 
99527
        } else {
-
 
99528
          setItemId((Long)value);
-
 
99529
        }
-
 
99530
        break;
-
 
99531
 
-
 
99532
      case SOURCE_ID:
-
 
99533
        if (value == null) {
-
 
99534
          unsetSourceId();
-
 
99535
        } else {
-
 
99536
          setSourceId((Long)value);
-
 
99537
        }
-
 
99538
        break;
-
 
99539
 
-
 
99540
      }
-
 
99541
    }
-
 
99542
 
-
 
99543
    public Object getFieldValue(_Fields field) {
-
 
99544
      switch (field) {
-
 
99545
      case ITEM_ID:
-
 
99546
        return Long.valueOf(getItemId());
-
 
99547
 
-
 
99548
      case SOURCE_ID:
-
 
99549
        return Long.valueOf(getSourceId());
-
 
99550
 
-
 
99551
      }
-
 
99552
      throw new IllegalStateException();
-
 
99553
    }
-
 
99554
 
-
 
99555
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
99556
    public boolean isSet(_Fields field) {
-
 
99557
      if (field == null) {
-
 
99558
        throw new IllegalArgumentException();
-
 
99559
      }
-
 
99560
 
-
 
99561
      switch (field) {
-
 
99562
      case ITEM_ID:
-
 
99563
        return isSetItemId();
-
 
99564
      case SOURCE_ID:
-
 
99565
        return isSetSourceId();
-
 
99566
      }
-
 
99567
      throw new IllegalStateException();
-
 
99568
    }
-
 
99569
 
-
 
99570
    @Override
-
 
99571
    public boolean equals(Object that) {
-
 
99572
      if (that == null)
-
 
99573
        return false;
-
 
99574
      if (that instanceof getMarketplacedetailsForItem_args)
-
 
99575
        return this.equals((getMarketplacedetailsForItem_args)that);
-
 
99576
      return false;
-
 
99577
    }
-
 
99578
 
-
 
99579
    public boolean equals(getMarketplacedetailsForItem_args that) {
-
 
99580
      if (that == null)
-
 
99581
        return false;
-
 
99582
 
-
 
99583
      boolean this_present_itemId = true;
-
 
99584
      boolean that_present_itemId = true;
-
 
99585
      if (this_present_itemId || that_present_itemId) {
-
 
99586
        if (!(this_present_itemId && that_present_itemId))
-
 
99587
          return false;
-
 
99588
        if (this.itemId != that.itemId)
-
 
99589
          return false;
-
 
99590
      }
-
 
99591
 
-
 
99592
      boolean this_present_sourceId = true;
-
 
99593
      boolean that_present_sourceId = true;
-
 
99594
      if (this_present_sourceId || that_present_sourceId) {
-
 
99595
        if (!(this_present_sourceId && that_present_sourceId))
-
 
99596
          return false;
-
 
99597
        if (this.sourceId != that.sourceId)
-
 
99598
          return false;
-
 
99599
      }
-
 
99600
 
-
 
99601
      return true;
-
 
99602
    }
-
 
99603
 
-
 
99604
    @Override
-
 
99605
    public int hashCode() {
-
 
99606
      return 0;
-
 
99607
    }
-
 
99608
 
-
 
99609
    public int compareTo(getMarketplacedetailsForItem_args other) {
-
 
99610
      if (!getClass().equals(other.getClass())) {
-
 
99611
        return getClass().getName().compareTo(other.getClass().getName());
-
 
99612
      }
-
 
99613
 
-
 
99614
      int lastComparison = 0;
-
 
99615
      getMarketplacedetailsForItem_args typedOther = (getMarketplacedetailsForItem_args)other;
-
 
99616
 
-
 
99617
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
99618
      if (lastComparison != 0) {
-
 
99619
        return lastComparison;
-
 
99620
      }
-
 
99621
      if (isSetItemId()) {
-
 
99622
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
99623
        if (lastComparison != 0) {
-
 
99624
          return lastComparison;
-
 
99625
        }
-
 
99626
      }
-
 
99627
      lastComparison = Boolean.valueOf(isSetSourceId()).compareTo(typedOther.isSetSourceId());
-
 
99628
      if (lastComparison != 0) {
-
 
99629
        return lastComparison;
-
 
99630
      }
-
 
99631
      if (isSetSourceId()) {
-
 
99632
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sourceId, typedOther.sourceId);
-
 
99633
        if (lastComparison != 0) {
-
 
99634
          return lastComparison;
-
 
99635
        }
-
 
99636
      }
-
 
99637
      return 0;
-
 
99638
    }
-
 
99639
 
-
 
99640
    public _Fields fieldForId(int fieldId) {
-
 
99641
      return _Fields.findByThriftId(fieldId);
-
 
99642
    }
-
 
99643
 
-
 
99644
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
99645
      org.apache.thrift.protocol.TField field;
-
 
99646
      iprot.readStructBegin();
-
 
99647
      while (true)
-
 
99648
      {
-
 
99649
        field = iprot.readFieldBegin();
-
 
99650
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
99651
          break;
-
 
99652
        }
-
 
99653
        switch (field.id) {
-
 
99654
          case 1: // ITEM_ID
-
 
99655
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
99656
              this.itemId = iprot.readI64();
-
 
99657
              setItemIdIsSet(true);
-
 
99658
            } else { 
-
 
99659
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
99660
            }
-
 
99661
            break;
-
 
99662
          case 2: // SOURCE_ID
-
 
99663
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
99664
              this.sourceId = iprot.readI64();
-
 
99665
              setSourceIdIsSet(true);
-
 
99666
            } else { 
-
 
99667
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
99668
            }
-
 
99669
            break;
-
 
99670
          default:
-
 
99671
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
99672
        }
-
 
99673
        iprot.readFieldEnd();
-
 
99674
      }
-
 
99675
      iprot.readStructEnd();
-
 
99676
      validate();
-
 
99677
    }
-
 
99678
 
-
 
99679
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
99680
      validate();
-
 
99681
 
-
 
99682
      oprot.writeStructBegin(STRUCT_DESC);
-
 
99683
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
99684
      oprot.writeI64(this.itemId);
-
 
99685
      oprot.writeFieldEnd();
-
 
99686
      oprot.writeFieldBegin(SOURCE_ID_FIELD_DESC);
-
 
99687
      oprot.writeI64(this.sourceId);
-
 
99688
      oprot.writeFieldEnd();
-
 
99689
      oprot.writeFieldStop();
-
 
99690
      oprot.writeStructEnd();
-
 
99691
    }
-
 
99692
 
-
 
99693
    @Override
-
 
99694
    public String toString() {
-
 
99695
      StringBuilder sb = new StringBuilder("getMarketplacedetailsForItem_args(");
-
 
99696
      boolean first = true;
-
 
99697
 
-
 
99698
      sb.append("itemId:");
-
 
99699
      sb.append(this.itemId);
-
 
99700
      first = false;
-
 
99701
      if (!first) sb.append(", ");
-
 
99702
      sb.append("sourceId:");
-
 
99703
      sb.append(this.sourceId);
-
 
99704
      first = false;
-
 
99705
      sb.append(")");
-
 
99706
      return sb.toString();
-
 
99707
    }
-
 
99708
 
-
 
99709
    public void validate() throws org.apache.thrift.TException {
-
 
99710
      // check for required fields
-
 
99711
    }
-
 
99712
 
-
 
99713
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
99714
      try {
-
 
99715
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
99716
      } catch (org.apache.thrift.TException te) {
-
 
99717
        throw new java.io.IOException(te);
-
 
99718
      }
-
 
99719
    }
-
 
99720
 
-
 
99721
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
99722
      try {
-
 
99723
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
99724
        __isset_bit_vector = new BitSet(1);
-
 
99725
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
99726
      } catch (org.apache.thrift.TException te) {
-
 
99727
        throw new java.io.IOException(te);
-
 
99728
      }
-
 
99729
    }
-
 
99730
 
-
 
99731
  }
-
 
99732
 
-
 
99733
  public static class getMarketplacedetailsForItem_result implements org.apache.thrift.TBase<getMarketplacedetailsForItem_result, getMarketplacedetailsForItem_result._Fields>, java.io.Serializable, Cloneable   {
-
 
99734
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMarketplacedetailsForItem_result");
-
 
99735
 
-
 
99736
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
99737
 
-
 
99738
    private MarketplaceItems success; // required
-
 
99739
 
-
 
99740
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
99741
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
99742
      SUCCESS((short)0, "success");
-
 
99743
 
-
 
99744
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
99745
 
-
 
99746
      static {
-
 
99747
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
99748
          byName.put(field.getFieldName(), field);
-
 
99749
        }
-
 
99750
      }
-
 
99751
 
-
 
99752
      /**
-
 
99753
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
99754
       */
-
 
99755
      public static _Fields findByThriftId(int fieldId) {
-
 
99756
        switch(fieldId) {
-
 
99757
          case 0: // SUCCESS
-
 
99758
            return SUCCESS;
-
 
99759
          default:
-
 
99760
            return null;
-
 
99761
        }
-
 
99762
      }
-
 
99763
 
-
 
99764
      /**
-
 
99765
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
99766
       * if it is not found.
-
 
99767
       */
-
 
99768
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
99769
        _Fields fields = findByThriftId(fieldId);
-
 
99770
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
99771
        return fields;
-
 
99772
      }
-
 
99773
 
-
 
99774
      /**
-
 
99775
       * Find the _Fields constant that matches name, or null if its not found.
-
 
99776
       */
-
 
99777
      public static _Fields findByName(String name) {
-
 
99778
        return byName.get(name);
-
 
99779
      }
-
 
99780
 
-
 
99781
      private final short _thriftId;
-
 
99782
      private final String _fieldName;
-
 
99783
 
-
 
99784
      _Fields(short thriftId, String fieldName) {
-
 
99785
        _thriftId = thriftId;
-
 
99786
        _fieldName = fieldName;
-
 
99787
      }
-
 
99788
 
-
 
99789
      public short getThriftFieldId() {
-
 
99790
        return _thriftId;
-
 
99791
      }
-
 
99792
 
-
 
99793
      public String getFieldName() {
-
 
99794
        return _fieldName;
-
 
99795
      }
-
 
99796
    }
-
 
99797
 
-
 
99798
    // isset id assignments
-
 
99799
 
-
 
99800
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
99801
    static {
-
 
99802
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
99803
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
99804
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, MarketplaceItems.class)));
-
 
99805
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
99806
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getMarketplacedetailsForItem_result.class, metaDataMap);
-
 
99807
    }
-
 
99808
 
-
 
99809
    public getMarketplacedetailsForItem_result() {
-
 
99810
    }
-
 
99811
 
-
 
99812
    public getMarketplacedetailsForItem_result(
-
 
99813
      MarketplaceItems success)
-
 
99814
    {
-
 
99815
      this();
-
 
99816
      this.success = success;
-
 
99817
    }
-
 
99818
 
-
 
99819
    /**
-
 
99820
     * Performs a deep copy on <i>other</i>.
-
 
99821
     */
-
 
99822
    public getMarketplacedetailsForItem_result(getMarketplacedetailsForItem_result other) {
-
 
99823
      if (other.isSetSuccess()) {
-
 
99824
        this.success = new MarketplaceItems(other.success);
-
 
99825
      }
-
 
99826
    }
-
 
99827
 
-
 
99828
    public getMarketplacedetailsForItem_result deepCopy() {
-
 
99829
      return new getMarketplacedetailsForItem_result(this);
-
 
99830
    }
-
 
99831
 
-
 
99832
    @Override
-
 
99833
    public void clear() {
-
 
99834
      this.success = null;
-
 
99835
    }
-
 
99836
 
-
 
99837
    public MarketplaceItems getSuccess() {
-
 
99838
      return this.success;
-
 
99839
    }
-
 
99840
 
-
 
99841
    public void setSuccess(MarketplaceItems success) {
-
 
99842
      this.success = success;
-
 
99843
    }
-
 
99844
 
-
 
99845
    public void unsetSuccess() {
-
 
99846
      this.success = null;
-
 
99847
    }
-
 
99848
 
-
 
99849
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
99850
    public boolean isSetSuccess() {
-
 
99851
      return this.success != null;
-
 
99852
    }
-
 
99853
 
-
 
99854
    public void setSuccessIsSet(boolean value) {
-
 
99855
      if (!value) {
-
 
99856
        this.success = null;
-
 
99857
      }
-
 
99858
    }
-
 
99859
 
-
 
99860
    public void setFieldValue(_Fields field, Object value) {
-
 
99861
      switch (field) {
-
 
99862
      case SUCCESS:
-
 
99863
        if (value == null) {
-
 
99864
          unsetSuccess();
-
 
99865
        } else {
-
 
99866
          setSuccess((MarketplaceItems)value);
-
 
99867
        }
-
 
99868
        break;
-
 
99869
 
-
 
99870
      }
-
 
99871
    }
-
 
99872
 
-
 
99873
    public Object getFieldValue(_Fields field) {
-
 
99874
      switch (field) {
-
 
99875
      case SUCCESS:
-
 
99876
        return getSuccess();
-
 
99877
 
-
 
99878
      }
-
 
99879
      throw new IllegalStateException();
-
 
99880
    }
-
 
99881
 
-
 
99882
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
99883
    public boolean isSet(_Fields field) {
-
 
99884
      if (field == null) {
-
 
99885
        throw new IllegalArgumentException();
-
 
99886
      }
-
 
99887
 
-
 
99888
      switch (field) {
-
 
99889
      case SUCCESS:
-
 
99890
        return isSetSuccess();
-
 
99891
      }
-
 
99892
      throw new IllegalStateException();
-
 
99893
    }
-
 
99894
 
-
 
99895
    @Override
-
 
99896
    public boolean equals(Object that) {
-
 
99897
      if (that == null)
-
 
99898
        return false;
-
 
99899
      if (that instanceof getMarketplacedetailsForItem_result)
-
 
99900
        return this.equals((getMarketplacedetailsForItem_result)that);
-
 
99901
      return false;
-
 
99902
    }
-
 
99903
 
-
 
99904
    public boolean equals(getMarketplacedetailsForItem_result that) {
-
 
99905
      if (that == null)
-
 
99906
        return false;
-
 
99907
 
-
 
99908
      boolean this_present_success = true && this.isSetSuccess();
-
 
99909
      boolean that_present_success = true && that.isSetSuccess();
-
 
99910
      if (this_present_success || that_present_success) {
-
 
99911
        if (!(this_present_success && that_present_success))
-
 
99912
          return false;
-
 
99913
        if (!this.success.equals(that.success))
-
 
99914
          return false;
-
 
99915
      }
-
 
99916
 
-
 
99917
      return true;
-
 
99918
    }
-
 
99919
 
-
 
99920
    @Override
-
 
99921
    public int hashCode() {
-
 
99922
      return 0;
-
 
99923
    }
-
 
99924
 
-
 
99925
    public int compareTo(getMarketplacedetailsForItem_result other) {
-
 
99926
      if (!getClass().equals(other.getClass())) {
-
 
99927
        return getClass().getName().compareTo(other.getClass().getName());
-
 
99928
      }
-
 
99929
 
-
 
99930
      int lastComparison = 0;
-
 
99931
      getMarketplacedetailsForItem_result typedOther = (getMarketplacedetailsForItem_result)other;
-
 
99932
 
-
 
99933
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
99934
      if (lastComparison != 0) {
-
 
99935
        return lastComparison;
-
 
99936
      }
-
 
99937
      if (isSetSuccess()) {
-
 
99938
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
99939
        if (lastComparison != 0) {
-
 
99940
          return lastComparison;
-
 
99941
        }
-
 
99942
      }
-
 
99943
      return 0;
-
 
99944
    }
-
 
99945
 
-
 
99946
    public _Fields fieldForId(int fieldId) {
-
 
99947
      return _Fields.findByThriftId(fieldId);
-
 
99948
    }
-
 
99949
 
-
 
99950
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
99951
      org.apache.thrift.protocol.TField field;
-
 
99952
      iprot.readStructBegin();
-
 
99953
      while (true)
-
 
99954
      {
-
 
99955
        field = iprot.readFieldBegin();
-
 
99956
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
99957
          break;
-
 
99958
        }
-
 
99959
        switch (field.id) {
-
 
99960
          case 0: // SUCCESS
-
 
99961
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
99962
              this.success = new MarketplaceItems();
-
 
99963
              this.success.read(iprot);
-
 
99964
            } else { 
-
 
99965
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
99966
            }
-
 
99967
            break;
-
 
99968
          default:
-
 
99969
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
99970
        }
-
 
99971
        iprot.readFieldEnd();
-
 
99972
      }
-
 
99973
      iprot.readStructEnd();
-
 
99974
      validate();
-
 
99975
    }
-
 
99976
 
-
 
99977
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
99978
      oprot.writeStructBegin(STRUCT_DESC);
-
 
99979
 
-
 
99980
      if (this.isSetSuccess()) {
-
 
99981
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
99982
        this.success.write(oprot);
-
 
99983
        oprot.writeFieldEnd();
-
 
99984
      }
-
 
99985
      oprot.writeFieldStop();
-
 
99986
      oprot.writeStructEnd();
-
 
99987
    }
-
 
99988
 
-
 
99989
    @Override
-
 
99990
    public String toString() {
-
 
99991
      StringBuilder sb = new StringBuilder("getMarketplacedetailsForItem_result(");
-
 
99992
      boolean first = true;
-
 
99993
 
-
 
99994
      sb.append("success:");
-
 
99995
      if (this.success == null) {
-
 
99996
        sb.append("null");
-
 
99997
      } else {
-
 
99998
        sb.append(this.success);
-
 
99999
      }
-
 
100000
      first = false;
-
 
100001
      sb.append(")");
-
 
100002
      return sb.toString();
-
 
100003
    }
-
 
100004
 
-
 
100005
    public void validate() throws org.apache.thrift.TException {
-
 
100006
      // check for required fields
-
 
100007
    }
-
 
100008
 
-
 
100009
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
100010
      try {
-
 
100011
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
100012
      } catch (org.apache.thrift.TException te) {
-
 
100013
        throw new java.io.IOException(te);
-
 
100014
      }
-
 
100015
    }
-
 
100016
 
-
 
100017
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
100018
      try {
-
 
100019
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
100020
      } catch (org.apache.thrift.TException te) {
-
 
100021
        throw new java.io.IOException(te);
-
 
100022
      }
-
 
100023
    }
-
 
100024
 
-
 
100025
  }
-
 
100026
 
-
 
100027
  public static class updateMarketplaceAttributesForItem_args implements org.apache.thrift.TBase<updateMarketplaceAttributesForItem_args, updateMarketplaceAttributesForItem_args._Fields>, java.io.Serializable, Cloneable   {
-
 
100028
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateMarketplaceAttributesForItem_args");
-
 
100029
 
-
 
100030
    private static final org.apache.thrift.protocol.TField MARKET_PLACE_ITEM_FIELD_DESC = new org.apache.thrift.protocol.TField("marketPlaceItem", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
100031
 
-
 
100032
    private MarketplaceItems marketPlaceItem; // required
-
 
100033
 
-
 
100034
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
100035
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
100036
      MARKET_PLACE_ITEM((short)1, "marketPlaceItem");
-
 
100037
 
-
 
100038
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
100039
 
-
 
100040
      static {
-
 
100041
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
100042
          byName.put(field.getFieldName(), field);
-
 
100043
        }
-
 
100044
      }
-
 
100045
 
-
 
100046
      /**
-
 
100047
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
100048
       */
-
 
100049
      public static _Fields findByThriftId(int fieldId) {
-
 
100050
        switch(fieldId) {
-
 
100051
          case 1: // MARKET_PLACE_ITEM
-
 
100052
            return MARKET_PLACE_ITEM;
-
 
100053
          default:
-
 
100054
            return null;
-
 
100055
        }
-
 
100056
      }
-
 
100057
 
-
 
100058
      /**
-
 
100059
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
100060
       * if it is not found.
-
 
100061
       */
-
 
100062
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
100063
        _Fields fields = findByThriftId(fieldId);
-
 
100064
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
100065
        return fields;
-
 
100066
      }
-
 
100067
 
-
 
100068
      /**
-
 
100069
       * Find the _Fields constant that matches name, or null if its not found.
-
 
100070
       */
-
 
100071
      public static _Fields findByName(String name) {
-
 
100072
        return byName.get(name);
-
 
100073
      }
-
 
100074
 
-
 
100075
      private final short _thriftId;
-
 
100076
      private final String _fieldName;
-
 
100077
 
-
 
100078
      _Fields(short thriftId, String fieldName) {
-
 
100079
        _thriftId = thriftId;
-
 
100080
        _fieldName = fieldName;
-
 
100081
      }
-
 
100082
 
-
 
100083
      public short getThriftFieldId() {
-
 
100084
        return _thriftId;
-
 
100085
      }
-
 
100086
 
-
 
100087
      public String getFieldName() {
-
 
100088
        return _fieldName;
-
 
100089
      }
-
 
100090
    }
-
 
100091
 
-
 
100092
    // isset id assignments
-
 
100093
 
-
 
100094
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
100095
    static {
-
 
100096
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
100097
      tmpMap.put(_Fields.MARKET_PLACE_ITEM, new org.apache.thrift.meta_data.FieldMetaData("marketPlaceItem", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
100098
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, MarketplaceItems.class)));
-
 
100099
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
100100
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateMarketplaceAttributesForItem_args.class, metaDataMap);
-
 
100101
    }
-
 
100102
 
-
 
100103
    public updateMarketplaceAttributesForItem_args() {
-
 
100104
    }
-
 
100105
 
-
 
100106
    public updateMarketplaceAttributesForItem_args(
-
 
100107
      MarketplaceItems marketPlaceItem)
-
 
100108
    {
-
 
100109
      this();
-
 
100110
      this.marketPlaceItem = marketPlaceItem;
-
 
100111
    }
-
 
100112
 
-
 
100113
    /**
-
 
100114
     * Performs a deep copy on <i>other</i>.
-
 
100115
     */
-
 
100116
    public updateMarketplaceAttributesForItem_args(updateMarketplaceAttributesForItem_args other) {
-
 
100117
      if (other.isSetMarketPlaceItem()) {
-
 
100118
        this.marketPlaceItem = new MarketplaceItems(other.marketPlaceItem);
-
 
100119
      }
-
 
100120
    }
-
 
100121
 
-
 
100122
    public updateMarketplaceAttributesForItem_args deepCopy() {
-
 
100123
      return new updateMarketplaceAttributesForItem_args(this);
-
 
100124
    }
-
 
100125
 
-
 
100126
    @Override
-
 
100127
    public void clear() {
-
 
100128
      this.marketPlaceItem = null;
-
 
100129
    }
-
 
100130
 
-
 
100131
    public MarketplaceItems getMarketPlaceItem() {
-
 
100132
      return this.marketPlaceItem;
-
 
100133
    }
-
 
100134
 
-
 
100135
    public void setMarketPlaceItem(MarketplaceItems marketPlaceItem) {
-
 
100136
      this.marketPlaceItem = marketPlaceItem;
-
 
100137
    }
-
 
100138
 
-
 
100139
    public void unsetMarketPlaceItem() {
-
 
100140
      this.marketPlaceItem = null;
-
 
100141
    }
-
 
100142
 
-
 
100143
    /** Returns true if field marketPlaceItem is set (has been assigned a value) and false otherwise */
-
 
100144
    public boolean isSetMarketPlaceItem() {
-
 
100145
      return this.marketPlaceItem != null;
-
 
100146
    }
-
 
100147
 
-
 
100148
    public void setMarketPlaceItemIsSet(boolean value) {
-
 
100149
      if (!value) {
-
 
100150
        this.marketPlaceItem = null;
-
 
100151
      }
-
 
100152
    }
-
 
100153
 
-
 
100154
    public void setFieldValue(_Fields field, Object value) {
-
 
100155
      switch (field) {
-
 
100156
      case MARKET_PLACE_ITEM:
-
 
100157
        if (value == null) {
-
 
100158
          unsetMarketPlaceItem();
-
 
100159
        } else {
-
 
100160
          setMarketPlaceItem((MarketplaceItems)value);
-
 
100161
        }
-
 
100162
        break;
-
 
100163
 
-
 
100164
      }
-
 
100165
    }
-
 
100166
 
-
 
100167
    public Object getFieldValue(_Fields field) {
-
 
100168
      switch (field) {
-
 
100169
      case MARKET_PLACE_ITEM:
-
 
100170
        return getMarketPlaceItem();
-
 
100171
 
-
 
100172
      }
-
 
100173
      throw new IllegalStateException();
-
 
100174
    }
-
 
100175
 
-
 
100176
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
100177
    public boolean isSet(_Fields field) {
-
 
100178
      if (field == null) {
-
 
100179
        throw new IllegalArgumentException();
-
 
100180
      }
-
 
100181
 
-
 
100182
      switch (field) {
-
 
100183
      case MARKET_PLACE_ITEM:
-
 
100184
        return isSetMarketPlaceItem();
-
 
100185
      }
-
 
100186
      throw new IllegalStateException();
-
 
100187
    }
-
 
100188
 
-
 
100189
    @Override
-
 
100190
    public boolean equals(Object that) {
-
 
100191
      if (that == null)
-
 
100192
        return false;
-
 
100193
      if (that instanceof updateMarketplaceAttributesForItem_args)
-
 
100194
        return this.equals((updateMarketplaceAttributesForItem_args)that);
-
 
100195
      return false;
-
 
100196
    }
-
 
100197
 
-
 
100198
    public boolean equals(updateMarketplaceAttributesForItem_args that) {
-
 
100199
      if (that == null)
-
 
100200
        return false;
-
 
100201
 
-
 
100202
      boolean this_present_marketPlaceItem = true && this.isSetMarketPlaceItem();
-
 
100203
      boolean that_present_marketPlaceItem = true && that.isSetMarketPlaceItem();
-
 
100204
      if (this_present_marketPlaceItem || that_present_marketPlaceItem) {
-
 
100205
        if (!(this_present_marketPlaceItem && that_present_marketPlaceItem))
-
 
100206
          return false;
-
 
100207
        if (!this.marketPlaceItem.equals(that.marketPlaceItem))
-
 
100208
          return false;
-
 
100209
      }
-
 
100210
 
-
 
100211
      return true;
-
 
100212
    }
-
 
100213
 
-
 
100214
    @Override
-
 
100215
    public int hashCode() {
-
 
100216
      return 0;
-
 
100217
    }
-
 
100218
 
-
 
100219
    public int compareTo(updateMarketplaceAttributesForItem_args other) {
-
 
100220
      if (!getClass().equals(other.getClass())) {
-
 
100221
        return getClass().getName().compareTo(other.getClass().getName());
-
 
100222
      }
-
 
100223
 
-
 
100224
      int lastComparison = 0;
-
 
100225
      updateMarketplaceAttributesForItem_args typedOther = (updateMarketplaceAttributesForItem_args)other;
-
 
100226
 
-
 
100227
      lastComparison = Boolean.valueOf(isSetMarketPlaceItem()).compareTo(typedOther.isSetMarketPlaceItem());
-
 
100228
      if (lastComparison != 0) {
-
 
100229
        return lastComparison;
-
 
100230
      }
-
 
100231
      if (isSetMarketPlaceItem()) {
-
 
100232
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.marketPlaceItem, typedOther.marketPlaceItem);
-
 
100233
        if (lastComparison != 0) {
-
 
100234
          return lastComparison;
-
 
100235
        }
-
 
100236
      }
-
 
100237
      return 0;
-
 
100238
    }
-
 
100239
 
-
 
100240
    public _Fields fieldForId(int fieldId) {
-
 
100241
      return _Fields.findByThriftId(fieldId);
-
 
100242
    }
-
 
100243
 
-
 
100244
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
100245
      org.apache.thrift.protocol.TField field;
-
 
100246
      iprot.readStructBegin();
-
 
100247
      while (true)
-
 
100248
      {
-
 
100249
        field = iprot.readFieldBegin();
-
 
100250
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
100251
          break;
-
 
100252
        }
-
 
100253
        switch (field.id) {
-
 
100254
          case 1: // MARKET_PLACE_ITEM
-
 
100255
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
100256
              this.marketPlaceItem = new MarketplaceItems();
-
 
100257
              this.marketPlaceItem.read(iprot);
-
 
100258
            } else { 
-
 
100259
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
100260
            }
-
 
100261
            break;
-
 
100262
          default:
-
 
100263
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
100264
        }
-
 
100265
        iprot.readFieldEnd();
-
 
100266
      }
-
 
100267
      iprot.readStructEnd();
-
 
100268
      validate();
-
 
100269
    }
-
 
100270
 
-
 
100271
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
100272
      validate();
-
 
100273
 
-
 
100274
      oprot.writeStructBegin(STRUCT_DESC);
-
 
100275
      if (this.marketPlaceItem != null) {
-
 
100276
        oprot.writeFieldBegin(MARKET_PLACE_ITEM_FIELD_DESC);
-
 
100277
        this.marketPlaceItem.write(oprot);
-
 
100278
        oprot.writeFieldEnd();
-
 
100279
      }
-
 
100280
      oprot.writeFieldStop();
-
 
100281
      oprot.writeStructEnd();
-
 
100282
    }
-
 
100283
 
-
 
100284
    @Override
-
 
100285
    public String toString() {
-
 
100286
      StringBuilder sb = new StringBuilder("updateMarketplaceAttributesForItem_args(");
-
 
100287
      boolean first = true;
-
 
100288
 
-
 
100289
      sb.append("marketPlaceItem:");
-
 
100290
      if (this.marketPlaceItem == null) {
-
 
100291
        sb.append("null");
-
 
100292
      } else {
-
 
100293
        sb.append(this.marketPlaceItem);
-
 
100294
      }
-
 
100295
      first = false;
-
 
100296
      sb.append(")");
-
 
100297
      return sb.toString();
-
 
100298
    }
-
 
100299
 
-
 
100300
    public void validate() throws org.apache.thrift.TException {
-
 
100301
      // check for required fields
-
 
100302
    }
-
 
100303
 
-
 
100304
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
100305
      try {
-
 
100306
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
100307
      } catch (org.apache.thrift.TException te) {
-
 
100308
        throw new java.io.IOException(te);
-
 
100309
      }
-
 
100310
    }
-
 
100311
 
-
 
100312
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
100313
      try {
-
 
100314
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
100315
      } catch (org.apache.thrift.TException te) {
-
 
100316
        throw new java.io.IOException(te);
-
 
100317
      }
-
 
100318
    }
-
 
100319
 
-
 
100320
  }
-
 
100321
 
-
 
100322
  public static class updateMarketplaceAttributesForItem_result implements org.apache.thrift.TBase<updateMarketplaceAttributesForItem_result, updateMarketplaceAttributesForItem_result._Fields>, java.io.Serializable, Cloneable   {
-
 
100323
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateMarketplaceAttributesForItem_result");
-
 
100324
 
-
 
100325
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
100326
 
-
 
100327
    private boolean success; // required
-
 
100328
 
-
 
100329
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
100330
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
100331
      SUCCESS((short)0, "success");
-
 
100332
 
-
 
100333
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
100334
 
-
 
100335
      static {
-
 
100336
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
100337
          byName.put(field.getFieldName(), field);
-
 
100338
        }
-
 
100339
      }
-
 
100340
 
-
 
100341
      /**
-
 
100342
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
100343
       */
-
 
100344
      public static _Fields findByThriftId(int fieldId) {
-
 
100345
        switch(fieldId) {
-
 
100346
          case 0: // SUCCESS
-
 
100347
            return SUCCESS;
-
 
100348
          default:
-
 
100349
            return null;
-
 
100350
        }
-
 
100351
      }
-
 
100352
 
-
 
100353
      /**
-
 
100354
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
100355
       * if it is not found.
-
 
100356
       */
-
 
100357
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
100358
        _Fields fields = findByThriftId(fieldId);
-
 
100359
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
100360
        return fields;
-
 
100361
      }
-
 
100362
 
-
 
100363
      /**
-
 
100364
       * Find the _Fields constant that matches name, or null if its not found.
-
 
100365
       */
-
 
100366
      public static _Fields findByName(String name) {
-
 
100367
        return byName.get(name);
-
 
100368
      }
-
 
100369
 
-
 
100370
      private final short _thriftId;
-
 
100371
      private final String _fieldName;
-
 
100372
 
-
 
100373
      _Fields(short thriftId, String fieldName) {
-
 
100374
        _thriftId = thriftId;
-
 
100375
        _fieldName = fieldName;
-
 
100376
      }
-
 
100377
 
-
 
100378
      public short getThriftFieldId() {
-
 
100379
        return _thriftId;
-
 
100380
      }
-
 
100381
 
-
 
100382
      public String getFieldName() {
-
 
100383
        return _fieldName;
-
 
100384
      }
-
 
100385
    }
-
 
100386
 
-
 
100387
    // isset id assignments
-
 
100388
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
100389
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
100390
 
-
 
100391
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
100392
    static {
-
 
100393
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
100394
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
100395
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
100396
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
100397
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateMarketplaceAttributesForItem_result.class, metaDataMap);
-
 
100398
    }
-
 
100399
 
-
 
100400
    public updateMarketplaceAttributesForItem_result() {
-
 
100401
    }
-
 
100402
 
-
 
100403
    public updateMarketplaceAttributesForItem_result(
-
 
100404
      boolean success)
-
 
100405
    {
-
 
100406
      this();
-
 
100407
      this.success = success;
-
 
100408
      setSuccessIsSet(true);
-
 
100409
    }
-
 
100410
 
-
 
100411
    /**
-
 
100412
     * Performs a deep copy on <i>other</i>.
-
 
100413
     */
-
 
100414
    public updateMarketplaceAttributesForItem_result(updateMarketplaceAttributesForItem_result other) {
-
 
100415
      __isset_bit_vector.clear();
-
 
100416
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
100417
      this.success = other.success;
-
 
100418
    }
-
 
100419
 
-
 
100420
    public updateMarketplaceAttributesForItem_result deepCopy() {
-
 
100421
      return new updateMarketplaceAttributesForItem_result(this);
-
 
100422
    }
-
 
100423
 
-
 
100424
    @Override
-
 
100425
    public void clear() {
-
 
100426
      setSuccessIsSet(false);
-
 
100427
      this.success = false;
-
 
100428
    }
-
 
100429
 
-
 
100430
    public boolean isSuccess() {
-
 
100431
      return this.success;
-
 
100432
    }
-
 
100433
 
-
 
100434
    public void setSuccess(boolean success) {
-
 
100435
      this.success = success;
-
 
100436
      setSuccessIsSet(true);
-
 
100437
    }
-
 
100438
 
-
 
100439
    public void unsetSuccess() {
-
 
100440
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
100441
    }
-
 
100442
 
-
 
100443
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
100444
    public boolean isSetSuccess() {
-
 
100445
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
100446
    }
-
 
100447
 
-
 
100448
    public void setSuccessIsSet(boolean value) {
-
 
100449
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
100450
    }
-
 
100451
 
-
 
100452
    public void setFieldValue(_Fields field, Object value) {
-
 
100453
      switch (field) {
-
 
100454
      case SUCCESS:
-
 
100455
        if (value == null) {
-
 
100456
          unsetSuccess();
-
 
100457
        } else {
-
 
100458
          setSuccess((Boolean)value);
-
 
100459
        }
-
 
100460
        break;
-
 
100461
 
-
 
100462
      }
-
 
100463
    }
-
 
100464
 
-
 
100465
    public Object getFieldValue(_Fields field) {
-
 
100466
      switch (field) {
-
 
100467
      case SUCCESS:
-
 
100468
        return Boolean.valueOf(isSuccess());
-
 
100469
 
-
 
100470
      }
-
 
100471
      throw new IllegalStateException();
-
 
100472
    }
-
 
100473
 
-
 
100474
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
100475
    public boolean isSet(_Fields field) {
-
 
100476
      if (field == null) {
-
 
100477
        throw new IllegalArgumentException();
-
 
100478
      }
-
 
100479
 
-
 
100480
      switch (field) {
-
 
100481
      case SUCCESS:
-
 
100482
        return isSetSuccess();
-
 
100483
      }
-
 
100484
      throw new IllegalStateException();
-
 
100485
    }
-
 
100486
 
-
 
100487
    @Override
-
 
100488
    public boolean equals(Object that) {
-
 
100489
      if (that == null)
-
 
100490
        return false;
-
 
100491
      if (that instanceof updateMarketplaceAttributesForItem_result)
-
 
100492
        return this.equals((updateMarketplaceAttributesForItem_result)that);
-
 
100493
      return false;
-
 
100494
    }
-
 
100495
 
-
 
100496
    public boolean equals(updateMarketplaceAttributesForItem_result that) {
-
 
100497
      if (that == null)
-
 
100498
        return false;
-
 
100499
 
-
 
100500
      boolean this_present_success = true;
-
 
100501
      boolean that_present_success = true;
-
 
100502
      if (this_present_success || that_present_success) {
-
 
100503
        if (!(this_present_success && that_present_success))
-
 
100504
          return false;
-
 
100505
        if (this.success != that.success)
-
 
100506
          return false;
-
 
100507
      }
-
 
100508
 
-
 
100509
      return true;
-
 
100510
    }
-
 
100511
 
-
 
100512
    @Override
-
 
100513
    public int hashCode() {
-
 
100514
      return 0;
-
 
100515
    }
-
 
100516
 
-
 
100517
    public int compareTo(updateMarketplaceAttributesForItem_result other) {
-
 
100518
      if (!getClass().equals(other.getClass())) {
-
 
100519
        return getClass().getName().compareTo(other.getClass().getName());
-
 
100520
      }
-
 
100521
 
-
 
100522
      int lastComparison = 0;
-
 
100523
      updateMarketplaceAttributesForItem_result typedOther = (updateMarketplaceAttributesForItem_result)other;
-
 
100524
 
-
 
100525
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
100526
      if (lastComparison != 0) {
-
 
100527
        return lastComparison;
-
 
100528
      }
-
 
100529
      if (isSetSuccess()) {
-
 
100530
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
100531
        if (lastComparison != 0) {
-
 
100532
          return lastComparison;
-
 
100533
        }
-
 
100534
      }
-
 
100535
      return 0;
-
 
100536
    }
-
 
100537
 
-
 
100538
    public _Fields fieldForId(int fieldId) {
-
 
100539
      return _Fields.findByThriftId(fieldId);
-
 
100540
    }
-
 
100541
 
-
 
100542
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
100543
      org.apache.thrift.protocol.TField field;
-
 
100544
      iprot.readStructBegin();
-
 
100545
      while (true)
-
 
100546
      {
-
 
100547
        field = iprot.readFieldBegin();
-
 
100548
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
100549
          break;
-
 
100550
        }
-
 
100551
        switch (field.id) {
-
 
100552
          case 0: // SUCCESS
-
 
100553
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
100554
              this.success = iprot.readBool();
-
 
100555
              setSuccessIsSet(true);
-
 
100556
            } else { 
-
 
100557
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
100558
            }
-
 
100559
            break;
-
 
100560
          default:
-
 
100561
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
100562
        }
-
 
100563
        iprot.readFieldEnd();
-
 
100564
      }
-
 
100565
      iprot.readStructEnd();
-
 
100566
      validate();
-
 
100567
    }
-
 
100568
 
-
 
100569
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
100570
      oprot.writeStructBegin(STRUCT_DESC);
-
 
100571
 
-
 
100572
      if (this.isSetSuccess()) {
-
 
100573
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
100574
        oprot.writeBool(this.success);
-
 
100575
        oprot.writeFieldEnd();
-
 
100576
      }
-
 
100577
      oprot.writeFieldStop();
-
 
100578
      oprot.writeStructEnd();
-
 
100579
    }
-
 
100580
 
-
 
100581
    @Override
-
 
100582
    public String toString() {
-
 
100583
      StringBuilder sb = new StringBuilder("updateMarketplaceAttributesForItem_result(");
-
 
100584
      boolean first = true;
-
 
100585
 
-
 
100586
      sb.append("success:");
-
 
100587
      sb.append(this.success);
-
 
100588
      first = false;
-
 
100589
      sb.append(")");
-
 
100590
      return sb.toString();
-
 
100591
    }
-
 
100592
 
99177
    public void validate() throws org.apache.thrift.TException {
100593
    public void validate() throws org.apache.thrift.TException {
99178
      // check for required fields
100594
      // check for required fields
99179
    }
100595
    }
99180
 
100596
 
99181
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
100597
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {