Subversion Repositories SmartDukaan

Rev

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

Rev 8168 Rev 8182
Line 419... Line 419...
419
 
419
 
420
    public void addPageViewEvent(PageViewEvents pageViewEvents) throws org.apache.thrift.TException;
420
    public void addPageViewEvent(PageViewEvents pageViewEvents) throws org.apache.thrift.TException;
421
 
421
 
422
    public void addCartEvent(CartEvents cartEvents) throws org.apache.thrift.TException;
422
    public void addCartEvent(CartEvents cartEvents) throws org.apache.thrift.TException;
423
 
423
 
-
 
424
    public void addEbayItem(EbayItem ebayItem) throws org.apache.thrift.TException;
-
 
425
 
-
 
426
    public EbayItem getEbayItem(String listingId) throws org.apache.thrift.TException;
-
 
427
 
-
 
428
    public void updateEbayItem(EbayItem ebayItem) throws org.apache.thrift.TException;
-
 
429
 
424
    public List<Amazonlisted> getAmazonListedItems(long offset, long limit) throws org.apache.thrift.TException;
430
    public List<Amazonlisted> getAmazonListedItems(long offset, long limit) throws org.apache.thrift.TException;
425
 
431
 
426
    public boolean updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted) throws org.apache.thrift.TException;
432
    public boolean updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted) throws org.apache.thrift.TException;
427
 
433
 
428
  }
434
  }
Line 631... Line 637...
631
 
637
 
632
    public void addPageViewEvent(PageViewEvents pageViewEvents, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addPageViewEvent_call> resultHandler) throws org.apache.thrift.TException;
638
    public void addPageViewEvent(PageViewEvents pageViewEvents, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addPageViewEvent_call> resultHandler) throws org.apache.thrift.TException;
633
 
639
 
634
    public void addCartEvent(CartEvents cartEvents, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addCartEvent_call> resultHandler) throws org.apache.thrift.TException;
640
    public void addCartEvent(CartEvents cartEvents, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addCartEvent_call> resultHandler) throws org.apache.thrift.TException;
635
 
641
 
-
 
642
    public void addEbayItem(EbayItem ebayItem, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addEbayItem_call> resultHandler) throws org.apache.thrift.TException;
-
 
643
 
-
 
644
    public void getEbayItem(String listingId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEbayItem_call> resultHandler) throws org.apache.thrift.TException;
-
 
645
 
-
 
646
    public void updateEbayItem(EbayItem ebayItem, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateEbayItem_call> resultHandler) throws org.apache.thrift.TException;
-
 
647
 
636
    public void getAmazonListedItems(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
648
    public void getAmazonListedItems(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
637
 
649
 
638
    public void updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonAttributesInBulk_call> resultHandler) throws org.apache.thrift.TException;
650
    public void updateAmazonAttributesInBulk(Map<Long,Amazonlisted> amazonlisted, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAmazonAttributesInBulk_call> resultHandler) throws org.apache.thrift.TException;
639
 
651
 
640
  }
652
  }
Line 3116... Line 3128...
3116
      addCartEvent_result result = new addCartEvent_result();
3128
      addCartEvent_result result = new addCartEvent_result();
3117
      receiveBase(result, "addCartEvent");
3129
      receiveBase(result, "addCartEvent");
3118
      return;
3130
      return;
3119
    }
3131
    }
3120
 
3132
 
-
 
3133
    public void addEbayItem(EbayItem ebayItem) throws org.apache.thrift.TException
-
 
3134
    {
-
 
3135
      send_addEbayItem(ebayItem);
-
 
3136
      recv_addEbayItem();
-
 
3137
    }
-
 
3138
 
-
 
3139
    public void send_addEbayItem(EbayItem ebayItem) throws org.apache.thrift.TException
-
 
3140
    {
-
 
3141
      addEbayItem_args args = new addEbayItem_args();
-
 
3142
      args.setEbayItem(ebayItem);
-
 
3143
      sendBase("addEbayItem", args);
-
 
3144
    }
-
 
3145
 
-
 
3146
    public void recv_addEbayItem() throws org.apache.thrift.TException
-
 
3147
    {
-
 
3148
      addEbayItem_result result = new addEbayItem_result();
-
 
3149
      receiveBase(result, "addEbayItem");
-
 
3150
      return;
-
 
3151
    }
-
 
3152
 
-
 
3153
    public EbayItem getEbayItem(String listingId) throws org.apache.thrift.TException
-
 
3154
    {
-
 
3155
      send_getEbayItem(listingId);
-
 
3156
      return recv_getEbayItem();
-
 
3157
    }
-
 
3158
 
-
 
3159
    public void send_getEbayItem(String listingId) throws org.apache.thrift.TException
-
 
3160
    {
-
 
3161
      getEbayItem_args args = new getEbayItem_args();
-
 
3162
      args.setListingId(listingId);
-
 
3163
      sendBase("getEbayItem", args);
-
 
3164
    }
-
 
3165
 
-
 
3166
    public EbayItem recv_getEbayItem() throws org.apache.thrift.TException
-
 
3167
    {
-
 
3168
      getEbayItem_result result = new getEbayItem_result();
-
 
3169
      receiveBase(result, "getEbayItem");
-
 
3170
      if (result.isSetSuccess()) {
-
 
3171
        return result.success;
-
 
3172
      }
-
 
3173
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getEbayItem failed: unknown result");
-
 
3174
    }
-
 
3175
 
-
 
3176
    public void updateEbayItem(EbayItem ebayItem) throws org.apache.thrift.TException
-
 
3177
    {
-
 
3178
      send_updateEbayItem(ebayItem);
-
 
3179
      recv_updateEbayItem();
-
 
3180
    }
-
 
3181
 
-
 
3182
    public void send_updateEbayItem(EbayItem ebayItem) throws org.apache.thrift.TException
-
 
3183
    {
-
 
3184
      updateEbayItem_args args = new updateEbayItem_args();
-
 
3185
      args.setEbayItem(ebayItem);
-
 
3186
      sendBase("updateEbayItem", args);
-
 
3187
    }
-
 
3188
 
-
 
3189
    public void recv_updateEbayItem() throws org.apache.thrift.TException
-
 
3190
    {
-
 
3191
      updateEbayItem_result result = new updateEbayItem_result();
-
 
3192
      receiveBase(result, "updateEbayItem");
-
 
3193
      return;
-
 
3194
    }
-
 
3195
 
3121
    public List<Amazonlisted> getAmazonListedItems(long offset, long limit) throws org.apache.thrift.TException
3196
    public List<Amazonlisted> getAmazonListedItems(long offset, long limit) throws org.apache.thrift.TException
3122
    {
3197
    {
3123
      send_getAmazonListedItems(offset, limit);
3198
      send_getAmazonListedItems(offset, limit);
3124
      return recv_getAmazonListedItems();
3199
      return recv_getAmazonListedItems();
3125
    }
3200
    }
Line 6568... Line 6643...
6568
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6643
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
6569
        (new Client(prot)).recv_addCartEvent();
6644
        (new Client(prot)).recv_addCartEvent();
6570
      }
6645
      }
6571
    }
6646
    }
6572
 
6647
 
-
 
6648
    public void addEbayItem(EbayItem ebayItem, org.apache.thrift.async.AsyncMethodCallback<addEbayItem_call> resultHandler) throws org.apache.thrift.TException {
-
 
6649
      checkReady();
-
 
6650
      addEbayItem_call method_call = new addEbayItem_call(ebayItem, resultHandler, this, ___protocolFactory, ___transport);
-
 
6651
      this.___currentMethod = method_call;
-
 
6652
      ___manager.call(method_call);
-
 
6653
    }
-
 
6654
 
-
 
6655
    public static class addEbayItem_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6656
      private EbayItem ebayItem;
-
 
6657
      public addEbayItem_call(EbayItem ebayItem, org.apache.thrift.async.AsyncMethodCallback<addEbayItem_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 {
-
 
6658
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6659
        this.ebayItem = ebayItem;
-
 
6660
      }
-
 
6661
 
-
 
6662
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6663
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addEbayItem", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6664
        addEbayItem_args args = new addEbayItem_args();
-
 
6665
        args.setEbayItem(ebayItem);
-
 
6666
        args.write(prot);
-
 
6667
        prot.writeMessageEnd();
-
 
6668
      }
-
 
6669
 
-
 
6670
      public void getResult() throws org.apache.thrift.TException {
-
 
6671
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6672
          throw new IllegalStateException("Method call not finished!");
-
 
6673
        }
-
 
6674
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6675
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6676
        (new Client(prot)).recv_addEbayItem();
-
 
6677
      }
-
 
6678
    }
-
 
6679
 
-
 
6680
    public void getEbayItem(String listingId, org.apache.thrift.async.AsyncMethodCallback<getEbayItem_call> resultHandler) throws org.apache.thrift.TException {
-
 
6681
      checkReady();
-
 
6682
      getEbayItem_call method_call = new getEbayItem_call(listingId, resultHandler, this, ___protocolFactory, ___transport);
-
 
6683
      this.___currentMethod = method_call;
-
 
6684
      ___manager.call(method_call);
-
 
6685
    }
-
 
6686
 
-
 
6687
    public static class getEbayItem_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6688
      private String listingId;
-
 
6689
      public getEbayItem_call(String listingId, org.apache.thrift.async.AsyncMethodCallback<getEbayItem_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 {
-
 
6690
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6691
        this.listingId = listingId;
-
 
6692
      }
-
 
6693
 
-
 
6694
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6695
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getEbayItem", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6696
        getEbayItem_args args = new getEbayItem_args();
-
 
6697
        args.setListingId(listingId);
-
 
6698
        args.write(prot);
-
 
6699
        prot.writeMessageEnd();
-
 
6700
      }
-
 
6701
 
-
 
6702
      public EbayItem getResult() throws org.apache.thrift.TException {
-
 
6703
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6704
          throw new IllegalStateException("Method call not finished!");
-
 
6705
        }
-
 
6706
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6707
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6708
        return (new Client(prot)).recv_getEbayItem();
-
 
6709
      }
-
 
6710
    }
-
 
6711
 
-
 
6712
    public void updateEbayItem(EbayItem ebayItem, org.apache.thrift.async.AsyncMethodCallback<updateEbayItem_call> resultHandler) throws org.apache.thrift.TException {
-
 
6713
      checkReady();
-
 
6714
      updateEbayItem_call method_call = new updateEbayItem_call(ebayItem, resultHandler, this, ___protocolFactory, ___transport);
-
 
6715
      this.___currentMethod = method_call;
-
 
6716
      ___manager.call(method_call);
-
 
6717
    }
-
 
6718
 
-
 
6719
    public static class updateEbayItem_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
6720
      private EbayItem ebayItem;
-
 
6721
      public updateEbayItem_call(EbayItem ebayItem, org.apache.thrift.async.AsyncMethodCallback<updateEbayItem_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 {
-
 
6722
        super(client, protocolFactory, transport, resultHandler, false);
-
 
6723
        this.ebayItem = ebayItem;
-
 
6724
      }
-
 
6725
 
-
 
6726
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
6727
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateEbayItem", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
6728
        updateEbayItem_args args = new updateEbayItem_args();
-
 
6729
        args.setEbayItem(ebayItem);
-
 
6730
        args.write(prot);
-
 
6731
        prot.writeMessageEnd();
-
 
6732
      }
-
 
6733
 
-
 
6734
      public void getResult() throws org.apache.thrift.TException {
-
 
6735
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
6736
          throw new IllegalStateException("Method call not finished!");
-
 
6737
        }
-
 
6738
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
6739
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
6740
        (new Client(prot)).recv_updateEbayItem();
-
 
6741
      }
-
 
6742
    }
-
 
6743
 
6573
    public void getAmazonListedItems(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<getAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException {
6744
    public void getAmazonListedItems(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<getAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException {
6574
      checkReady();
6745
      checkReady();
6575
      getAmazonListedItems_call method_call = new getAmazonListedItems_call(offset, limit, resultHandler, this, ___protocolFactory, ___transport);
6746
      getAmazonListedItems_call method_call = new getAmazonListedItems_call(offset, limit, resultHandler, this, ___protocolFactory, ___transport);
6576
      this.___currentMethod = method_call;
6747
      this.___currentMethod = method_call;
6577
      ___manager.call(method_call);
6748
      ___manager.call(method_call);
Line 6750... Line 6921...
6750
      processMap.put("updateItemInventory", new updateItemInventory());
6921
      processMap.put("updateItemInventory", new updateItemInventory());
6751
      processMap.put("updateTimestampForAmazonFeeds", new updateTimestampForAmazonFeeds());
6922
      processMap.put("updateTimestampForAmazonFeeds", new updateTimestampForAmazonFeeds());
6752
      processMap.put("getAllParentCategories", new getAllParentCategories());
6923
      processMap.put("getAllParentCategories", new getAllParentCategories());
6753
      processMap.put("addPageViewEvent", new addPageViewEvent());
6924
      processMap.put("addPageViewEvent", new addPageViewEvent());
6754
      processMap.put("addCartEvent", new addCartEvent());
6925
      processMap.put("addCartEvent", new addCartEvent());
-
 
6926
      processMap.put("addEbayItem", new addEbayItem());
-
 
6927
      processMap.put("getEbayItem", new getEbayItem());
-
 
6928
      processMap.put("updateEbayItem", new updateEbayItem());
6755
      processMap.put("getAmazonListedItems", new getAmazonListedItems());
6929
      processMap.put("getAmazonListedItems", new getAmazonListedItems());
6756
      processMap.put("updateAmazonAttributesInBulk", new updateAmazonAttributesInBulk());
6930
      processMap.put("updateAmazonAttributesInBulk", new updateAmazonAttributesInBulk());
6757
      return processMap;
6931
      return processMap;
6758
    }
6932
    }
6759
 
6933
 
Line 8572... Line 8746...
8572
        iface.addCartEvent(args.cartEvents);
8746
        iface.addCartEvent(args.cartEvents);
8573
        return result;
8747
        return result;
8574
      }
8748
      }
8575
    }
8749
    }
8576
 
8750
 
-
 
8751
    private static class addEbayItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addEbayItem_args> {
-
 
8752
      public addEbayItem() {
-
 
8753
        super("addEbayItem");
-
 
8754
      }
-
 
8755
 
-
 
8756
      protected addEbayItem_args getEmptyArgsInstance() {
-
 
8757
        return new addEbayItem_args();
-
 
8758
      }
-
 
8759
 
-
 
8760
      protected addEbayItem_result getResult(I iface, addEbayItem_args args) throws org.apache.thrift.TException {
-
 
8761
        addEbayItem_result result = new addEbayItem_result();
-
 
8762
        iface.addEbayItem(args.ebayItem);
-
 
8763
        return result;
-
 
8764
      }
-
 
8765
    }
-
 
8766
 
-
 
8767
    private static class getEbayItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getEbayItem_args> {
-
 
8768
      public getEbayItem() {
-
 
8769
        super("getEbayItem");
-
 
8770
      }
-
 
8771
 
-
 
8772
      protected getEbayItem_args getEmptyArgsInstance() {
-
 
8773
        return new getEbayItem_args();
-
 
8774
      }
-
 
8775
 
-
 
8776
      protected getEbayItem_result getResult(I iface, getEbayItem_args args) throws org.apache.thrift.TException {
-
 
8777
        getEbayItem_result result = new getEbayItem_result();
-
 
8778
        result.success = iface.getEbayItem(args.listingId);
-
 
8779
        return result;
-
 
8780
      }
-
 
8781
    }
-
 
8782
 
-
 
8783
    private static class updateEbayItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateEbayItem_args> {
-
 
8784
      public updateEbayItem() {
-
 
8785
        super("updateEbayItem");
-
 
8786
      }
-
 
8787
 
-
 
8788
      protected updateEbayItem_args getEmptyArgsInstance() {
-
 
8789
        return new updateEbayItem_args();
-
 
8790
      }
-
 
8791
 
-
 
8792
      protected updateEbayItem_result getResult(I iface, updateEbayItem_args args) throws org.apache.thrift.TException {
-
 
8793
        updateEbayItem_result result = new updateEbayItem_result();
-
 
8794
        iface.updateEbayItem(args.ebayItem);
-
 
8795
        return result;
-
 
8796
      }
-
 
8797
    }
-
 
8798
 
8577
    private static class getAmazonListedItems<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAmazonListedItems_args> {
8799
    private static class getAmazonListedItems<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAmazonListedItems_args> {
8578
      public getAmazonListedItems() {
8800
      public getAmazonListedItems() {
8579
        super("getAmazonListedItems");
8801
        super("getAmazonListedItems");
8580
      }
8802
      }
8581
 
8803
 
Line 75748... Line 75970...
75748
      boolean first = true;
75970
      boolean first = true;
75749
 
75971
 
75750
      sb.append(")");
75972
      sb.append(")");
75751
      return sb.toString();
75973
      return sb.toString();
75752
    }
75974
    }
-
 
75975
 
-
 
75976
    public void validate() throws org.apache.thrift.TException {
-
 
75977
      // check for required fields
-
 
75978
    }
-
 
75979
 
-
 
75980
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
75981
      try {
-
 
75982
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
75983
      } catch (org.apache.thrift.TException te) {
-
 
75984
        throw new java.io.IOException(te);
-
 
75985
      }
-
 
75986
    }
-
 
75987
 
-
 
75988
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
75989
      try {
-
 
75990
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
75991
      } catch (org.apache.thrift.TException te) {
-
 
75992
        throw new java.io.IOException(te);
-
 
75993
      }
-
 
75994
    }
-
 
75995
 
-
 
75996
  }
-
 
75997
 
-
 
75998
  public static class addEbayItem_args implements org.apache.thrift.TBase<addEbayItem_args, addEbayItem_args._Fields>, java.io.Serializable, Cloneable   {
-
 
75999
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addEbayItem_args");
-
 
76000
 
-
 
76001
    private static final org.apache.thrift.protocol.TField EBAY_ITEM_FIELD_DESC = new org.apache.thrift.protocol.TField("ebayItem", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
76002
 
-
 
76003
    private EbayItem ebayItem; // required
-
 
76004
 
-
 
76005
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
76006
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
76007
      EBAY_ITEM((short)1, "ebayItem");
-
 
76008
 
-
 
76009
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
76010
 
-
 
76011
      static {
-
 
76012
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
76013
          byName.put(field.getFieldName(), field);
-
 
76014
        }
-
 
76015
      }
-
 
76016
 
-
 
76017
      /**
-
 
76018
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
76019
       */
-
 
76020
      public static _Fields findByThriftId(int fieldId) {
-
 
76021
        switch(fieldId) {
-
 
76022
          case 1: // EBAY_ITEM
-
 
76023
            return EBAY_ITEM;
-
 
76024
          default:
-
 
76025
            return null;
-
 
76026
        }
-
 
76027
      }
-
 
76028
 
-
 
76029
      /**
-
 
76030
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
76031
       * if it is not found.
-
 
76032
       */
-
 
76033
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
76034
        _Fields fields = findByThriftId(fieldId);
-
 
76035
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
76036
        return fields;
-
 
76037
      }
-
 
76038
 
-
 
76039
      /**
-
 
76040
       * Find the _Fields constant that matches name, or null if its not found.
-
 
76041
       */
-
 
76042
      public static _Fields findByName(String name) {
-
 
76043
        return byName.get(name);
-
 
76044
      }
-
 
76045
 
-
 
76046
      private final short _thriftId;
-
 
76047
      private final String _fieldName;
-
 
76048
 
-
 
76049
      _Fields(short thriftId, String fieldName) {
-
 
76050
        _thriftId = thriftId;
-
 
76051
        _fieldName = fieldName;
-
 
76052
      }
-
 
76053
 
-
 
76054
      public short getThriftFieldId() {
-
 
76055
        return _thriftId;
-
 
76056
      }
-
 
76057
 
-
 
76058
      public String getFieldName() {
-
 
76059
        return _fieldName;
-
 
76060
      }
-
 
76061
    }
-
 
76062
 
-
 
76063
    // isset id assignments
-
 
76064
 
-
 
76065
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
76066
    static {
-
 
76067
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
76068
      tmpMap.put(_Fields.EBAY_ITEM, new org.apache.thrift.meta_data.FieldMetaData("ebayItem", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
76069
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, EbayItem.class)));
-
 
76070
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
76071
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addEbayItem_args.class, metaDataMap);
-
 
76072
    }
-
 
76073
 
-
 
76074
    public addEbayItem_args() {
-
 
76075
    }
-
 
76076
 
-
 
76077
    public addEbayItem_args(
-
 
76078
      EbayItem ebayItem)
-
 
76079
    {
-
 
76080
      this();
-
 
76081
      this.ebayItem = ebayItem;
-
 
76082
    }
-
 
76083
 
-
 
76084
    /**
-
 
76085
     * Performs a deep copy on <i>other</i>.
-
 
76086
     */
-
 
76087
    public addEbayItem_args(addEbayItem_args other) {
-
 
76088
      if (other.isSetEbayItem()) {
-
 
76089
        this.ebayItem = new EbayItem(other.ebayItem);
-
 
76090
      }
-
 
76091
    }
-
 
76092
 
-
 
76093
    public addEbayItem_args deepCopy() {
-
 
76094
      return new addEbayItem_args(this);
-
 
76095
    }
-
 
76096
 
-
 
76097
    @Override
-
 
76098
    public void clear() {
-
 
76099
      this.ebayItem = null;
-
 
76100
    }
-
 
76101
 
-
 
76102
    public EbayItem getEbayItem() {
-
 
76103
      return this.ebayItem;
-
 
76104
    }
-
 
76105
 
-
 
76106
    public void setEbayItem(EbayItem ebayItem) {
-
 
76107
      this.ebayItem = ebayItem;
-
 
76108
    }
-
 
76109
 
-
 
76110
    public void unsetEbayItem() {
-
 
76111
      this.ebayItem = null;
-
 
76112
    }
-
 
76113
 
-
 
76114
    /** Returns true if field ebayItem is set (has been assigned a value) and false otherwise */
-
 
76115
    public boolean isSetEbayItem() {
-
 
76116
      return this.ebayItem != null;
-
 
76117
    }
-
 
76118
 
-
 
76119
    public void setEbayItemIsSet(boolean value) {
-
 
76120
      if (!value) {
-
 
76121
        this.ebayItem = null;
-
 
76122
      }
-
 
76123
    }
-
 
76124
 
-
 
76125
    public void setFieldValue(_Fields field, Object value) {
-
 
76126
      switch (field) {
-
 
76127
      case EBAY_ITEM:
-
 
76128
        if (value == null) {
-
 
76129
          unsetEbayItem();
-
 
76130
        } else {
-
 
76131
          setEbayItem((EbayItem)value);
-
 
76132
        }
-
 
76133
        break;
-
 
76134
 
-
 
76135
      }
-
 
76136
    }
-
 
76137
 
-
 
76138
    public Object getFieldValue(_Fields field) {
-
 
76139
      switch (field) {
-
 
76140
      case EBAY_ITEM:
-
 
76141
        return getEbayItem();
-
 
76142
 
-
 
76143
      }
-
 
76144
      throw new IllegalStateException();
-
 
76145
    }
-
 
76146
 
-
 
76147
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
76148
    public boolean isSet(_Fields field) {
-
 
76149
      if (field == null) {
-
 
76150
        throw new IllegalArgumentException();
-
 
76151
      }
-
 
76152
 
-
 
76153
      switch (field) {
-
 
76154
      case EBAY_ITEM:
-
 
76155
        return isSetEbayItem();
-
 
76156
      }
-
 
76157
      throw new IllegalStateException();
-
 
76158
    }
-
 
76159
 
-
 
76160
    @Override
-
 
76161
    public boolean equals(Object that) {
-
 
76162
      if (that == null)
-
 
76163
        return false;
-
 
76164
      if (that instanceof addEbayItem_args)
-
 
76165
        return this.equals((addEbayItem_args)that);
-
 
76166
      return false;
-
 
76167
    }
-
 
76168
 
-
 
76169
    public boolean equals(addEbayItem_args that) {
-
 
76170
      if (that == null)
-
 
76171
        return false;
-
 
76172
 
-
 
76173
      boolean this_present_ebayItem = true && this.isSetEbayItem();
-
 
76174
      boolean that_present_ebayItem = true && that.isSetEbayItem();
-
 
76175
      if (this_present_ebayItem || that_present_ebayItem) {
-
 
76176
        if (!(this_present_ebayItem && that_present_ebayItem))
-
 
76177
          return false;
-
 
76178
        if (!this.ebayItem.equals(that.ebayItem))
-
 
76179
          return false;
-
 
76180
      }
-
 
76181
 
-
 
76182
      return true;
-
 
76183
    }
-
 
76184
 
-
 
76185
    @Override
-
 
76186
    public int hashCode() {
-
 
76187
      return 0;
-
 
76188
    }
-
 
76189
 
-
 
76190
    public int compareTo(addEbayItem_args other) {
-
 
76191
      if (!getClass().equals(other.getClass())) {
-
 
76192
        return getClass().getName().compareTo(other.getClass().getName());
-
 
76193
      }
-
 
76194
 
-
 
76195
      int lastComparison = 0;
-
 
76196
      addEbayItem_args typedOther = (addEbayItem_args)other;
-
 
76197
 
-
 
76198
      lastComparison = Boolean.valueOf(isSetEbayItem()).compareTo(typedOther.isSetEbayItem());
-
 
76199
      if (lastComparison != 0) {
-
 
76200
        return lastComparison;
-
 
76201
      }
-
 
76202
      if (isSetEbayItem()) {
-
 
76203
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ebayItem, typedOther.ebayItem);
-
 
76204
        if (lastComparison != 0) {
-
 
76205
          return lastComparison;
-
 
76206
        }
-
 
76207
      }
-
 
76208
      return 0;
-
 
76209
    }
-
 
76210
 
-
 
76211
    public _Fields fieldForId(int fieldId) {
-
 
76212
      return _Fields.findByThriftId(fieldId);
-
 
76213
    }
-
 
76214
 
-
 
76215
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
76216
      org.apache.thrift.protocol.TField field;
-
 
76217
      iprot.readStructBegin();
-
 
76218
      while (true)
-
 
76219
      {
-
 
76220
        field = iprot.readFieldBegin();
-
 
76221
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
76222
          break;
-
 
76223
        }
-
 
76224
        switch (field.id) {
-
 
76225
          case 1: // EBAY_ITEM
-
 
76226
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
76227
              this.ebayItem = new EbayItem();
-
 
76228
              this.ebayItem.read(iprot);
-
 
76229
            } else { 
-
 
76230
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
76231
            }
-
 
76232
            break;
-
 
76233
          default:
-
 
76234
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
76235
        }
-
 
76236
        iprot.readFieldEnd();
-
 
76237
      }
-
 
76238
      iprot.readStructEnd();
-
 
76239
      validate();
-
 
76240
    }
-
 
76241
 
-
 
76242
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
76243
      validate();
-
 
76244
 
-
 
76245
      oprot.writeStructBegin(STRUCT_DESC);
-
 
76246
      if (this.ebayItem != null) {
-
 
76247
        oprot.writeFieldBegin(EBAY_ITEM_FIELD_DESC);
-
 
76248
        this.ebayItem.write(oprot);
-
 
76249
        oprot.writeFieldEnd();
-
 
76250
      }
-
 
76251
      oprot.writeFieldStop();
-
 
76252
      oprot.writeStructEnd();
-
 
76253
    }
-
 
76254
 
-
 
76255
    @Override
-
 
76256
    public String toString() {
-
 
76257
      StringBuilder sb = new StringBuilder("addEbayItem_args(");
-
 
76258
      boolean first = true;
-
 
76259
 
-
 
76260
      sb.append("ebayItem:");
-
 
76261
      if (this.ebayItem == null) {
-
 
76262
        sb.append("null");
-
 
76263
      } else {
-
 
76264
        sb.append(this.ebayItem);
-
 
76265
      }
-
 
76266
      first = false;
-
 
76267
      sb.append(")");
-
 
76268
      return sb.toString();
-
 
76269
    }
-
 
76270
 
-
 
76271
    public void validate() throws org.apache.thrift.TException {
-
 
76272
      // check for required fields
-
 
76273
    }
-
 
76274
 
-
 
76275
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
76276
      try {
-
 
76277
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
76278
      } catch (org.apache.thrift.TException te) {
-
 
76279
        throw new java.io.IOException(te);
-
 
76280
      }
-
 
76281
    }
-
 
76282
 
-
 
76283
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
76284
      try {
-
 
76285
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
76286
      } catch (org.apache.thrift.TException te) {
-
 
76287
        throw new java.io.IOException(te);
-
 
76288
      }
-
 
76289
    }
-
 
76290
 
-
 
76291
  }
-
 
76292
 
-
 
76293
  public static class addEbayItem_result implements org.apache.thrift.TBase<addEbayItem_result, addEbayItem_result._Fields>, java.io.Serializable, Cloneable   {
-
 
76294
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addEbayItem_result");
-
 
76295
 
-
 
76296
 
-
 
76297
 
-
 
76298
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
76299
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
76300
;
-
 
76301
 
-
 
76302
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
76303
 
-
 
76304
      static {
-
 
76305
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
76306
          byName.put(field.getFieldName(), field);
-
 
76307
        }
-
 
76308
      }
-
 
76309
 
-
 
76310
      /**
-
 
76311
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
76312
       */
-
 
76313
      public static _Fields findByThriftId(int fieldId) {
-
 
76314
        switch(fieldId) {
-
 
76315
          default:
-
 
76316
            return null;
-
 
76317
        }
-
 
76318
      }
-
 
76319
 
-
 
76320
      /**
-
 
76321
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
76322
       * if it is not found.
-
 
76323
       */
-
 
76324
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
76325
        _Fields fields = findByThriftId(fieldId);
-
 
76326
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
76327
        return fields;
-
 
76328
      }
-
 
76329
 
-
 
76330
      /**
-
 
76331
       * Find the _Fields constant that matches name, or null if its not found.
-
 
76332
       */
-
 
76333
      public static _Fields findByName(String name) {
-
 
76334
        return byName.get(name);
-
 
76335
      }
-
 
76336
 
-
 
76337
      private final short _thriftId;
-
 
76338
      private final String _fieldName;
-
 
76339
 
-
 
76340
      _Fields(short thriftId, String fieldName) {
-
 
76341
        _thriftId = thriftId;
-
 
76342
        _fieldName = fieldName;
-
 
76343
      }
-
 
76344
 
-
 
76345
      public short getThriftFieldId() {
-
 
76346
        return _thriftId;
-
 
76347
      }
-
 
76348
 
-
 
76349
      public String getFieldName() {
-
 
76350
        return _fieldName;
-
 
76351
      }
-
 
76352
    }
-
 
76353
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
76354
    static {
-
 
76355
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
76356
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
76357
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addEbayItem_result.class, metaDataMap);
-
 
76358
    }
-
 
76359
 
-
 
76360
    public addEbayItem_result() {
-
 
76361
    }
-
 
76362
 
-
 
76363
    /**
-
 
76364
     * Performs a deep copy on <i>other</i>.
-
 
76365
     */
-
 
76366
    public addEbayItem_result(addEbayItem_result other) {
-
 
76367
    }
-
 
76368
 
-
 
76369
    public addEbayItem_result deepCopy() {
-
 
76370
      return new addEbayItem_result(this);
-
 
76371
    }
-
 
76372
 
-
 
76373
    @Override
-
 
76374
    public void clear() {
-
 
76375
    }
-
 
76376
 
-
 
76377
    public void setFieldValue(_Fields field, Object value) {
-
 
76378
      switch (field) {
-
 
76379
      }
-
 
76380
    }
-
 
76381
 
-
 
76382
    public Object getFieldValue(_Fields field) {
-
 
76383
      switch (field) {
-
 
76384
      }
-
 
76385
      throw new IllegalStateException();
-
 
76386
    }
-
 
76387
 
-
 
76388
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
76389
    public boolean isSet(_Fields field) {
-
 
76390
      if (field == null) {
-
 
76391
        throw new IllegalArgumentException();
-
 
76392
      }
-
 
76393
 
-
 
76394
      switch (field) {
-
 
76395
      }
-
 
76396
      throw new IllegalStateException();
-
 
76397
    }
-
 
76398
 
-
 
76399
    @Override
-
 
76400
    public boolean equals(Object that) {
-
 
76401
      if (that == null)
-
 
76402
        return false;
-
 
76403
      if (that instanceof addEbayItem_result)
-
 
76404
        return this.equals((addEbayItem_result)that);
-
 
76405
      return false;
-
 
76406
    }
-
 
76407
 
-
 
76408
    public boolean equals(addEbayItem_result that) {
-
 
76409
      if (that == null)
-
 
76410
        return false;
-
 
76411
 
-
 
76412
      return true;
-
 
76413
    }
-
 
76414
 
-
 
76415
    @Override
-
 
76416
    public int hashCode() {
-
 
76417
      return 0;
-
 
76418
    }
-
 
76419
 
-
 
76420
    public int compareTo(addEbayItem_result other) {
-
 
76421
      if (!getClass().equals(other.getClass())) {
-
 
76422
        return getClass().getName().compareTo(other.getClass().getName());
-
 
76423
      }
-
 
76424
 
-
 
76425
      int lastComparison = 0;
-
 
76426
      addEbayItem_result typedOther = (addEbayItem_result)other;
-
 
76427
 
-
 
76428
      return 0;
-
 
76429
    }
-
 
76430
 
-
 
76431
    public _Fields fieldForId(int fieldId) {
-
 
76432
      return _Fields.findByThriftId(fieldId);
-
 
76433
    }
-
 
76434
 
-
 
76435
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
76436
      org.apache.thrift.protocol.TField field;
-
 
76437
      iprot.readStructBegin();
-
 
76438
      while (true)
-
 
76439
      {
-
 
76440
        field = iprot.readFieldBegin();
-
 
76441
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
76442
          break;
-
 
76443
        }
-
 
76444
        switch (field.id) {
-
 
76445
          default:
-
 
76446
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
76447
        }
-
 
76448
        iprot.readFieldEnd();
-
 
76449
      }
-
 
76450
      iprot.readStructEnd();
-
 
76451
      validate();
-
 
76452
    }
-
 
76453
 
-
 
76454
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
76455
      oprot.writeStructBegin(STRUCT_DESC);
-
 
76456
 
-
 
76457
      oprot.writeFieldStop();
-
 
76458
      oprot.writeStructEnd();
-
 
76459
    }
-
 
76460
 
-
 
76461
    @Override
-
 
76462
    public String toString() {
-
 
76463
      StringBuilder sb = new StringBuilder("addEbayItem_result(");
-
 
76464
      boolean first = true;
-
 
76465
 
-
 
76466
      sb.append(")");
-
 
76467
      return sb.toString();
-
 
76468
    }
-
 
76469
 
-
 
76470
    public void validate() throws org.apache.thrift.TException {
-
 
76471
      // check for required fields
-
 
76472
    }
-
 
76473
 
-
 
76474
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
76475
      try {
-
 
76476
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
76477
      } catch (org.apache.thrift.TException te) {
-
 
76478
        throw new java.io.IOException(te);
-
 
76479
      }
-
 
76480
    }
-
 
76481
 
-
 
76482
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
76483
      try {
-
 
76484
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
76485
      } catch (org.apache.thrift.TException te) {
-
 
76486
        throw new java.io.IOException(te);
-
 
76487
      }
-
 
76488
    }
-
 
76489
 
-
 
76490
  }
-
 
76491
 
-
 
76492
  public static class getEbayItem_args implements org.apache.thrift.TBase<getEbayItem_args, getEbayItem_args._Fields>, java.io.Serializable, Cloneable   {
-
 
76493
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getEbayItem_args");
-
 
76494
 
-
 
76495
    private static final org.apache.thrift.protocol.TField LISTING_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("listingId", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
76496
 
-
 
76497
    private String listingId; // required
-
 
76498
 
-
 
76499
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
76500
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
76501
      LISTING_ID((short)1, "listingId");
-
 
76502
 
-
 
76503
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
76504
 
-
 
76505
      static {
-
 
76506
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
76507
          byName.put(field.getFieldName(), field);
-
 
76508
        }
-
 
76509
      }
-
 
76510
 
-
 
76511
      /**
-
 
76512
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
76513
       */
-
 
76514
      public static _Fields findByThriftId(int fieldId) {
-
 
76515
        switch(fieldId) {
-
 
76516
          case 1: // LISTING_ID
-
 
76517
            return LISTING_ID;
-
 
76518
          default:
-
 
76519
            return null;
-
 
76520
        }
-
 
76521
      }
-
 
76522
 
-
 
76523
      /**
-
 
76524
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
76525
       * if it is not found.
-
 
76526
       */
-
 
76527
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
76528
        _Fields fields = findByThriftId(fieldId);
-
 
76529
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
76530
        return fields;
-
 
76531
      }
-
 
76532
 
-
 
76533
      /**
-
 
76534
       * Find the _Fields constant that matches name, or null if its not found.
-
 
76535
       */
-
 
76536
      public static _Fields findByName(String name) {
-
 
76537
        return byName.get(name);
-
 
76538
      }
-
 
76539
 
-
 
76540
      private final short _thriftId;
-
 
76541
      private final String _fieldName;
-
 
76542
 
-
 
76543
      _Fields(short thriftId, String fieldName) {
-
 
76544
        _thriftId = thriftId;
-
 
76545
        _fieldName = fieldName;
-
 
76546
      }
-
 
76547
 
-
 
76548
      public short getThriftFieldId() {
-
 
76549
        return _thriftId;
-
 
76550
      }
-
 
76551
 
-
 
76552
      public String getFieldName() {
-
 
76553
        return _fieldName;
-
 
76554
      }
-
 
76555
    }
-
 
76556
 
-
 
76557
    // isset id assignments
-
 
76558
 
-
 
76559
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
76560
    static {
-
 
76561
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
76562
      tmpMap.put(_Fields.LISTING_ID, new org.apache.thrift.meta_data.FieldMetaData("listingId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
76563
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
76564
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
76565
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getEbayItem_args.class, metaDataMap);
-
 
76566
    }
-
 
76567
 
-
 
76568
    public getEbayItem_args() {
-
 
76569
    }
-
 
76570
 
-
 
76571
    public getEbayItem_args(
-
 
76572
      String listingId)
-
 
76573
    {
-
 
76574
      this();
-
 
76575
      this.listingId = listingId;
-
 
76576
    }
-
 
76577
 
-
 
76578
    /**
-
 
76579
     * Performs a deep copy on <i>other</i>.
-
 
76580
     */
-
 
76581
    public getEbayItem_args(getEbayItem_args other) {
-
 
76582
      if (other.isSetListingId()) {
-
 
76583
        this.listingId = other.listingId;
-
 
76584
      }
-
 
76585
    }
-
 
76586
 
-
 
76587
    public getEbayItem_args deepCopy() {
-
 
76588
      return new getEbayItem_args(this);
-
 
76589
    }
-
 
76590
 
-
 
76591
    @Override
-
 
76592
    public void clear() {
-
 
76593
      this.listingId = null;
-
 
76594
    }
-
 
76595
 
-
 
76596
    public String getListingId() {
-
 
76597
      return this.listingId;
-
 
76598
    }
-
 
76599
 
-
 
76600
    public void setListingId(String listingId) {
-
 
76601
      this.listingId = listingId;
-
 
76602
    }
-
 
76603
 
-
 
76604
    public void unsetListingId() {
-
 
76605
      this.listingId = null;
-
 
76606
    }
-
 
76607
 
-
 
76608
    /** Returns true if field listingId is set (has been assigned a value) and false otherwise */
-
 
76609
    public boolean isSetListingId() {
-
 
76610
      return this.listingId != null;
-
 
76611
    }
-
 
76612
 
-
 
76613
    public void setListingIdIsSet(boolean value) {
-
 
76614
      if (!value) {
-
 
76615
        this.listingId = null;
-
 
76616
      }
-
 
76617
    }
-
 
76618
 
-
 
76619
    public void setFieldValue(_Fields field, Object value) {
-
 
76620
      switch (field) {
-
 
76621
      case LISTING_ID:
-
 
76622
        if (value == null) {
-
 
76623
          unsetListingId();
-
 
76624
        } else {
-
 
76625
          setListingId((String)value);
-
 
76626
        }
-
 
76627
        break;
-
 
76628
 
-
 
76629
      }
-
 
76630
    }
-
 
76631
 
-
 
76632
    public Object getFieldValue(_Fields field) {
-
 
76633
      switch (field) {
-
 
76634
      case LISTING_ID:
-
 
76635
        return getListingId();
-
 
76636
 
-
 
76637
      }
-
 
76638
      throw new IllegalStateException();
-
 
76639
    }
-
 
76640
 
-
 
76641
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
76642
    public boolean isSet(_Fields field) {
-
 
76643
      if (field == null) {
-
 
76644
        throw new IllegalArgumentException();
-
 
76645
      }
-
 
76646
 
-
 
76647
      switch (field) {
-
 
76648
      case LISTING_ID:
-
 
76649
        return isSetListingId();
-
 
76650
      }
-
 
76651
      throw new IllegalStateException();
-
 
76652
    }
-
 
76653
 
-
 
76654
    @Override
-
 
76655
    public boolean equals(Object that) {
-
 
76656
      if (that == null)
-
 
76657
        return false;
-
 
76658
      if (that instanceof getEbayItem_args)
-
 
76659
        return this.equals((getEbayItem_args)that);
-
 
76660
      return false;
-
 
76661
    }
-
 
76662
 
-
 
76663
    public boolean equals(getEbayItem_args that) {
-
 
76664
      if (that == null)
-
 
76665
        return false;
-
 
76666
 
-
 
76667
      boolean this_present_listingId = true && this.isSetListingId();
-
 
76668
      boolean that_present_listingId = true && that.isSetListingId();
-
 
76669
      if (this_present_listingId || that_present_listingId) {
-
 
76670
        if (!(this_present_listingId && that_present_listingId))
-
 
76671
          return false;
-
 
76672
        if (!this.listingId.equals(that.listingId))
-
 
76673
          return false;
-
 
76674
      }
-
 
76675
 
-
 
76676
      return true;
-
 
76677
    }
-
 
76678
 
-
 
76679
    @Override
-
 
76680
    public int hashCode() {
-
 
76681
      return 0;
-
 
76682
    }
-
 
76683
 
-
 
76684
    public int compareTo(getEbayItem_args other) {
-
 
76685
      if (!getClass().equals(other.getClass())) {
-
 
76686
        return getClass().getName().compareTo(other.getClass().getName());
-
 
76687
      }
-
 
76688
 
-
 
76689
      int lastComparison = 0;
-
 
76690
      getEbayItem_args typedOther = (getEbayItem_args)other;
-
 
76691
 
-
 
76692
      lastComparison = Boolean.valueOf(isSetListingId()).compareTo(typedOther.isSetListingId());
-
 
76693
      if (lastComparison != 0) {
-
 
76694
        return lastComparison;
-
 
76695
      }
-
 
76696
      if (isSetListingId()) {
-
 
76697
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.listingId, typedOther.listingId);
-
 
76698
        if (lastComparison != 0) {
-
 
76699
          return lastComparison;
-
 
76700
        }
-
 
76701
      }
-
 
76702
      return 0;
-
 
76703
    }
-
 
76704
 
-
 
76705
    public _Fields fieldForId(int fieldId) {
-
 
76706
      return _Fields.findByThriftId(fieldId);
-
 
76707
    }
-
 
76708
 
-
 
76709
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
76710
      org.apache.thrift.protocol.TField field;
-
 
76711
      iprot.readStructBegin();
-
 
76712
      while (true)
-
 
76713
      {
-
 
76714
        field = iprot.readFieldBegin();
-
 
76715
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
76716
          break;
-
 
76717
        }
-
 
76718
        switch (field.id) {
-
 
76719
          case 1: // LISTING_ID
-
 
76720
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
76721
              this.listingId = iprot.readString();
-
 
76722
            } else { 
-
 
76723
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
76724
            }
-
 
76725
            break;
-
 
76726
          default:
-
 
76727
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
76728
        }
-
 
76729
        iprot.readFieldEnd();
-
 
76730
      }
-
 
76731
      iprot.readStructEnd();
-
 
76732
      validate();
-
 
76733
    }
-
 
76734
 
-
 
76735
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
76736
      validate();
-
 
76737
 
-
 
76738
      oprot.writeStructBegin(STRUCT_DESC);
-
 
76739
      if (this.listingId != null) {
-
 
76740
        oprot.writeFieldBegin(LISTING_ID_FIELD_DESC);
-
 
76741
        oprot.writeString(this.listingId);
-
 
76742
        oprot.writeFieldEnd();
-
 
76743
      }
-
 
76744
      oprot.writeFieldStop();
-
 
76745
      oprot.writeStructEnd();
-
 
76746
    }
-
 
76747
 
-
 
76748
    @Override
-
 
76749
    public String toString() {
-
 
76750
      StringBuilder sb = new StringBuilder("getEbayItem_args(");
-
 
76751
      boolean first = true;
-
 
76752
 
-
 
76753
      sb.append("listingId:");
-
 
76754
      if (this.listingId == null) {
-
 
76755
        sb.append("null");
-
 
76756
      } else {
-
 
76757
        sb.append(this.listingId);
-
 
76758
      }
-
 
76759
      first = false;
-
 
76760
      sb.append(")");
-
 
76761
      return sb.toString();
-
 
76762
    }
-
 
76763
 
-
 
76764
    public void validate() throws org.apache.thrift.TException {
-
 
76765
      // check for required fields
-
 
76766
    }
-
 
76767
 
-
 
76768
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
76769
      try {
-
 
76770
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
76771
      } catch (org.apache.thrift.TException te) {
-
 
76772
        throw new java.io.IOException(te);
-
 
76773
      }
-
 
76774
    }
-
 
76775
 
-
 
76776
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
76777
      try {
-
 
76778
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
76779
      } catch (org.apache.thrift.TException te) {
-
 
76780
        throw new java.io.IOException(te);
-
 
76781
      }
-
 
76782
    }
-
 
76783
 
-
 
76784
  }
-
 
76785
 
-
 
76786
  public static class getEbayItem_result implements org.apache.thrift.TBase<getEbayItem_result, getEbayItem_result._Fields>, java.io.Serializable, Cloneable   {
-
 
76787
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getEbayItem_result");
-
 
76788
 
-
 
76789
    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);
-
 
76790
 
-
 
76791
    private EbayItem success; // required
-
 
76792
 
-
 
76793
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
76794
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
76795
      SUCCESS((short)0, "success");
-
 
76796
 
-
 
76797
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
76798
 
-
 
76799
      static {
-
 
76800
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
76801
          byName.put(field.getFieldName(), field);
-
 
76802
        }
-
 
76803
      }
-
 
76804
 
-
 
76805
      /**
-
 
76806
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
76807
       */
-
 
76808
      public static _Fields findByThriftId(int fieldId) {
-
 
76809
        switch(fieldId) {
-
 
76810
          case 0: // SUCCESS
-
 
76811
            return SUCCESS;
-
 
76812
          default:
-
 
76813
            return null;
-
 
76814
        }
-
 
76815
      }
-
 
76816
 
-
 
76817
      /**
-
 
76818
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
76819
       * if it is not found.
-
 
76820
       */
-
 
76821
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
76822
        _Fields fields = findByThriftId(fieldId);
-
 
76823
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
76824
        return fields;
-
 
76825
      }
-
 
76826
 
-
 
76827
      /**
-
 
76828
       * Find the _Fields constant that matches name, or null if its not found.
-
 
76829
       */
-
 
76830
      public static _Fields findByName(String name) {
-
 
76831
        return byName.get(name);
-
 
76832
      }
-
 
76833
 
-
 
76834
      private final short _thriftId;
-
 
76835
      private final String _fieldName;
-
 
76836
 
-
 
76837
      _Fields(short thriftId, String fieldName) {
-
 
76838
        _thriftId = thriftId;
-
 
76839
        _fieldName = fieldName;
-
 
76840
      }
-
 
76841
 
-
 
76842
      public short getThriftFieldId() {
-
 
76843
        return _thriftId;
-
 
76844
      }
-
 
76845
 
-
 
76846
      public String getFieldName() {
-
 
76847
        return _fieldName;
-
 
76848
      }
-
 
76849
    }
-
 
76850
 
-
 
76851
    // isset id assignments
-
 
76852
 
-
 
76853
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
76854
    static {
-
 
76855
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
76856
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
76857
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, EbayItem.class)));
-
 
76858
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
76859
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getEbayItem_result.class, metaDataMap);
-
 
76860
    }
-
 
76861
 
-
 
76862
    public getEbayItem_result() {
-
 
76863
    }
-
 
76864
 
-
 
76865
    public getEbayItem_result(
-
 
76866
      EbayItem success)
-
 
76867
    {
-
 
76868
      this();
-
 
76869
      this.success = success;
-
 
76870
    }
-
 
76871
 
-
 
76872
    /**
-
 
76873
     * Performs a deep copy on <i>other</i>.
-
 
76874
     */
-
 
76875
    public getEbayItem_result(getEbayItem_result other) {
-
 
76876
      if (other.isSetSuccess()) {
-
 
76877
        this.success = new EbayItem(other.success);
-
 
76878
      }
-
 
76879
    }
-
 
76880
 
-
 
76881
    public getEbayItem_result deepCopy() {
-
 
76882
      return new getEbayItem_result(this);
-
 
76883
    }
-
 
76884
 
-
 
76885
    @Override
-
 
76886
    public void clear() {
-
 
76887
      this.success = null;
-
 
76888
    }
-
 
76889
 
-
 
76890
    public EbayItem getSuccess() {
-
 
76891
      return this.success;
-
 
76892
    }
-
 
76893
 
-
 
76894
    public void setSuccess(EbayItem success) {
-
 
76895
      this.success = success;
-
 
76896
    }
-
 
76897
 
-
 
76898
    public void unsetSuccess() {
-
 
76899
      this.success = null;
-
 
76900
    }
-
 
76901
 
-
 
76902
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
76903
    public boolean isSetSuccess() {
-
 
76904
      return this.success != null;
-
 
76905
    }
-
 
76906
 
-
 
76907
    public void setSuccessIsSet(boolean value) {
-
 
76908
      if (!value) {
-
 
76909
        this.success = null;
-
 
76910
      }
-
 
76911
    }
-
 
76912
 
-
 
76913
    public void setFieldValue(_Fields field, Object value) {
-
 
76914
      switch (field) {
-
 
76915
      case SUCCESS:
-
 
76916
        if (value == null) {
-
 
76917
          unsetSuccess();
-
 
76918
        } else {
-
 
76919
          setSuccess((EbayItem)value);
-
 
76920
        }
-
 
76921
        break;
-
 
76922
 
-
 
76923
      }
-
 
76924
    }
-
 
76925
 
-
 
76926
    public Object getFieldValue(_Fields field) {
-
 
76927
      switch (field) {
-
 
76928
      case SUCCESS:
-
 
76929
        return getSuccess();
-
 
76930
 
-
 
76931
      }
-
 
76932
      throw new IllegalStateException();
-
 
76933
    }
-
 
76934
 
-
 
76935
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
76936
    public boolean isSet(_Fields field) {
-
 
76937
      if (field == null) {
-
 
76938
        throw new IllegalArgumentException();
-
 
76939
      }
-
 
76940
 
-
 
76941
      switch (field) {
-
 
76942
      case SUCCESS:
-
 
76943
        return isSetSuccess();
-
 
76944
      }
-
 
76945
      throw new IllegalStateException();
-
 
76946
    }
-
 
76947
 
-
 
76948
    @Override
-
 
76949
    public boolean equals(Object that) {
-
 
76950
      if (that == null)
-
 
76951
        return false;
-
 
76952
      if (that instanceof getEbayItem_result)
-
 
76953
        return this.equals((getEbayItem_result)that);
-
 
76954
      return false;
-
 
76955
    }
-
 
76956
 
-
 
76957
    public boolean equals(getEbayItem_result that) {
-
 
76958
      if (that == null)
-
 
76959
        return false;
-
 
76960
 
-
 
76961
      boolean this_present_success = true && this.isSetSuccess();
-
 
76962
      boolean that_present_success = true && that.isSetSuccess();
-
 
76963
      if (this_present_success || that_present_success) {
-
 
76964
        if (!(this_present_success && that_present_success))
-
 
76965
          return false;
-
 
76966
        if (!this.success.equals(that.success))
-
 
76967
          return false;
-
 
76968
      }
-
 
76969
 
-
 
76970
      return true;
-
 
76971
    }
-
 
76972
 
-
 
76973
    @Override
-
 
76974
    public int hashCode() {
-
 
76975
      return 0;
-
 
76976
    }
-
 
76977
 
-
 
76978
    public int compareTo(getEbayItem_result other) {
-
 
76979
      if (!getClass().equals(other.getClass())) {
-
 
76980
        return getClass().getName().compareTo(other.getClass().getName());
-
 
76981
      }
-
 
76982
 
-
 
76983
      int lastComparison = 0;
-
 
76984
      getEbayItem_result typedOther = (getEbayItem_result)other;
-
 
76985
 
-
 
76986
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
76987
      if (lastComparison != 0) {
-
 
76988
        return lastComparison;
-
 
76989
      }
-
 
76990
      if (isSetSuccess()) {
-
 
76991
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
76992
        if (lastComparison != 0) {
-
 
76993
          return lastComparison;
-
 
76994
        }
-
 
76995
      }
-
 
76996
      return 0;
-
 
76997
    }
-
 
76998
 
-
 
76999
    public _Fields fieldForId(int fieldId) {
-
 
77000
      return _Fields.findByThriftId(fieldId);
-
 
77001
    }
-
 
77002
 
-
 
77003
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
77004
      org.apache.thrift.protocol.TField field;
-
 
77005
      iprot.readStructBegin();
-
 
77006
      while (true)
-
 
77007
      {
-
 
77008
        field = iprot.readFieldBegin();
-
 
77009
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
77010
          break;
-
 
77011
        }
-
 
77012
        switch (field.id) {
-
 
77013
          case 0: // SUCCESS
-
 
77014
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
77015
              this.success = new EbayItem();
-
 
77016
              this.success.read(iprot);
-
 
77017
            } else { 
-
 
77018
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
77019
            }
-
 
77020
            break;
-
 
77021
          default:
-
 
77022
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
77023
        }
-
 
77024
        iprot.readFieldEnd();
-
 
77025
      }
-
 
77026
      iprot.readStructEnd();
-
 
77027
      validate();
-
 
77028
    }
-
 
77029
 
-
 
77030
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
77031
      oprot.writeStructBegin(STRUCT_DESC);
-
 
77032
 
-
 
77033
      if (this.isSetSuccess()) {
-
 
77034
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
77035
        this.success.write(oprot);
-
 
77036
        oprot.writeFieldEnd();
-
 
77037
      }
-
 
77038
      oprot.writeFieldStop();
-
 
77039
      oprot.writeStructEnd();
-
 
77040
    }
-
 
77041
 
-
 
77042
    @Override
-
 
77043
    public String toString() {
-
 
77044
      StringBuilder sb = new StringBuilder("getEbayItem_result(");
-
 
77045
      boolean first = true;
-
 
77046
 
-
 
77047
      sb.append("success:");
-
 
77048
      if (this.success == null) {
-
 
77049
        sb.append("null");
-
 
77050
      } else {
-
 
77051
        sb.append(this.success);
-
 
77052
      }
-
 
77053
      first = false;
-
 
77054
      sb.append(")");
-
 
77055
      return sb.toString();
-
 
77056
    }
-
 
77057
 
-
 
77058
    public void validate() throws org.apache.thrift.TException {
-
 
77059
      // check for required fields
-
 
77060
    }
-
 
77061
 
-
 
77062
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
77063
      try {
-
 
77064
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
77065
      } catch (org.apache.thrift.TException te) {
-
 
77066
        throw new java.io.IOException(te);
-
 
77067
      }
-
 
77068
    }
-
 
77069
 
-
 
77070
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
77071
      try {
-
 
77072
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
77073
      } catch (org.apache.thrift.TException te) {
-
 
77074
        throw new java.io.IOException(te);
-
 
77075
      }
-
 
77076
    }
-
 
77077
 
-
 
77078
  }
-
 
77079
 
-
 
77080
  public static class updateEbayItem_args implements org.apache.thrift.TBase<updateEbayItem_args, updateEbayItem_args._Fields>, java.io.Serializable, Cloneable   {
-
 
77081
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateEbayItem_args");
-
 
77082
 
-
 
77083
    private static final org.apache.thrift.protocol.TField EBAY_ITEM_FIELD_DESC = new org.apache.thrift.protocol.TField("ebayItem", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
77084
 
-
 
77085
    private EbayItem ebayItem; // required
-
 
77086
 
-
 
77087
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
77088
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
77089
      EBAY_ITEM((short)1, "ebayItem");
-
 
77090
 
-
 
77091
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
77092
 
-
 
77093
      static {
-
 
77094
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
77095
          byName.put(field.getFieldName(), field);
-
 
77096
        }
-
 
77097
      }
-
 
77098
 
-
 
77099
      /**
-
 
77100
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
77101
       */
-
 
77102
      public static _Fields findByThriftId(int fieldId) {
-
 
77103
        switch(fieldId) {
-
 
77104
          case 1: // EBAY_ITEM
-
 
77105
            return EBAY_ITEM;
-
 
77106
          default:
-
 
77107
            return null;
-
 
77108
        }
-
 
77109
      }
-
 
77110
 
-
 
77111
      /**
-
 
77112
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
77113
       * if it is not found.
-
 
77114
       */
-
 
77115
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
77116
        _Fields fields = findByThriftId(fieldId);
-
 
77117
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
77118
        return fields;
-
 
77119
      }
-
 
77120
 
-
 
77121
      /**
-
 
77122
       * Find the _Fields constant that matches name, or null if its not found.
-
 
77123
       */
-
 
77124
      public static _Fields findByName(String name) {
-
 
77125
        return byName.get(name);
-
 
77126
      }
-
 
77127
 
-
 
77128
      private final short _thriftId;
-
 
77129
      private final String _fieldName;
-
 
77130
 
-
 
77131
      _Fields(short thriftId, String fieldName) {
-
 
77132
        _thriftId = thriftId;
-
 
77133
        _fieldName = fieldName;
-
 
77134
      }
-
 
77135
 
-
 
77136
      public short getThriftFieldId() {
-
 
77137
        return _thriftId;
-
 
77138
      }
-
 
77139
 
-
 
77140
      public String getFieldName() {
-
 
77141
        return _fieldName;
-
 
77142
      }
-
 
77143
    }
-
 
77144
 
-
 
77145
    // isset id assignments
-
 
77146
 
-
 
77147
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
77148
    static {
-
 
77149
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
77150
      tmpMap.put(_Fields.EBAY_ITEM, new org.apache.thrift.meta_data.FieldMetaData("ebayItem", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
77151
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, EbayItem.class)));
-
 
77152
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
77153
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateEbayItem_args.class, metaDataMap);
-
 
77154
    }
-
 
77155
 
-
 
77156
    public updateEbayItem_args() {
-
 
77157
    }
-
 
77158
 
-
 
77159
    public updateEbayItem_args(
-
 
77160
      EbayItem ebayItem)
-
 
77161
    {
-
 
77162
      this();
-
 
77163
      this.ebayItem = ebayItem;
-
 
77164
    }
-
 
77165
 
-
 
77166
    /**
-
 
77167
     * Performs a deep copy on <i>other</i>.
-
 
77168
     */
-
 
77169
    public updateEbayItem_args(updateEbayItem_args other) {
-
 
77170
      if (other.isSetEbayItem()) {
-
 
77171
        this.ebayItem = new EbayItem(other.ebayItem);
-
 
77172
      }
-
 
77173
    }
-
 
77174
 
-
 
77175
    public updateEbayItem_args deepCopy() {
-
 
77176
      return new updateEbayItem_args(this);
-
 
77177
    }
-
 
77178
 
-
 
77179
    @Override
-
 
77180
    public void clear() {
-
 
77181
      this.ebayItem = null;
-
 
77182
    }
-
 
77183
 
-
 
77184
    public EbayItem getEbayItem() {
-
 
77185
      return this.ebayItem;
-
 
77186
    }
-
 
77187
 
-
 
77188
    public void setEbayItem(EbayItem ebayItem) {
-
 
77189
      this.ebayItem = ebayItem;
-
 
77190
    }
-
 
77191
 
-
 
77192
    public void unsetEbayItem() {
-
 
77193
      this.ebayItem = null;
-
 
77194
    }
-
 
77195
 
-
 
77196
    /** Returns true if field ebayItem is set (has been assigned a value) and false otherwise */
-
 
77197
    public boolean isSetEbayItem() {
-
 
77198
      return this.ebayItem != null;
-
 
77199
    }
-
 
77200
 
-
 
77201
    public void setEbayItemIsSet(boolean value) {
-
 
77202
      if (!value) {
-
 
77203
        this.ebayItem = null;
-
 
77204
      }
-
 
77205
    }
-
 
77206
 
-
 
77207
    public void setFieldValue(_Fields field, Object value) {
-
 
77208
      switch (field) {
-
 
77209
      case EBAY_ITEM:
-
 
77210
        if (value == null) {
-
 
77211
          unsetEbayItem();
-
 
77212
        } else {
-
 
77213
          setEbayItem((EbayItem)value);
-
 
77214
        }
-
 
77215
        break;
-
 
77216
 
-
 
77217
      }
-
 
77218
    }
-
 
77219
 
-
 
77220
    public Object getFieldValue(_Fields field) {
-
 
77221
      switch (field) {
-
 
77222
      case EBAY_ITEM:
-
 
77223
        return getEbayItem();
-
 
77224
 
-
 
77225
      }
-
 
77226
      throw new IllegalStateException();
-
 
77227
    }
-
 
77228
 
-
 
77229
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
77230
    public boolean isSet(_Fields field) {
-
 
77231
      if (field == null) {
-
 
77232
        throw new IllegalArgumentException();
-
 
77233
      }
-
 
77234
 
-
 
77235
      switch (field) {
-
 
77236
      case EBAY_ITEM:
-
 
77237
        return isSetEbayItem();
-
 
77238
      }
-
 
77239
      throw new IllegalStateException();
-
 
77240
    }
-
 
77241
 
-
 
77242
    @Override
-
 
77243
    public boolean equals(Object that) {
-
 
77244
      if (that == null)
-
 
77245
        return false;
-
 
77246
      if (that instanceof updateEbayItem_args)
-
 
77247
        return this.equals((updateEbayItem_args)that);
-
 
77248
      return false;
-
 
77249
    }
-
 
77250
 
-
 
77251
    public boolean equals(updateEbayItem_args that) {
-
 
77252
      if (that == null)
-
 
77253
        return false;
-
 
77254
 
-
 
77255
      boolean this_present_ebayItem = true && this.isSetEbayItem();
-
 
77256
      boolean that_present_ebayItem = true && that.isSetEbayItem();
-
 
77257
      if (this_present_ebayItem || that_present_ebayItem) {
-
 
77258
        if (!(this_present_ebayItem && that_present_ebayItem))
-
 
77259
          return false;
-
 
77260
        if (!this.ebayItem.equals(that.ebayItem))
-
 
77261
          return false;
-
 
77262
      }
-
 
77263
 
-
 
77264
      return true;
-
 
77265
    }
-
 
77266
 
-
 
77267
    @Override
-
 
77268
    public int hashCode() {
-
 
77269
      return 0;
-
 
77270
    }
-
 
77271
 
-
 
77272
    public int compareTo(updateEbayItem_args other) {
-
 
77273
      if (!getClass().equals(other.getClass())) {
-
 
77274
        return getClass().getName().compareTo(other.getClass().getName());
-
 
77275
      }
-
 
77276
 
-
 
77277
      int lastComparison = 0;
-
 
77278
      updateEbayItem_args typedOther = (updateEbayItem_args)other;
-
 
77279
 
-
 
77280
      lastComparison = Boolean.valueOf(isSetEbayItem()).compareTo(typedOther.isSetEbayItem());
-
 
77281
      if (lastComparison != 0) {
-
 
77282
        return lastComparison;
-
 
77283
      }
-
 
77284
      if (isSetEbayItem()) {
-
 
77285
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ebayItem, typedOther.ebayItem);
-
 
77286
        if (lastComparison != 0) {
-
 
77287
          return lastComparison;
-
 
77288
        }
-
 
77289
      }
-
 
77290
      return 0;
-
 
77291
    }
-
 
77292
 
-
 
77293
    public _Fields fieldForId(int fieldId) {
-
 
77294
      return _Fields.findByThriftId(fieldId);
-
 
77295
    }
-
 
77296
 
-
 
77297
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
77298
      org.apache.thrift.protocol.TField field;
-
 
77299
      iprot.readStructBegin();
-
 
77300
      while (true)
-
 
77301
      {
-
 
77302
        field = iprot.readFieldBegin();
-
 
77303
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
77304
          break;
-
 
77305
        }
-
 
77306
        switch (field.id) {
-
 
77307
          case 1: // EBAY_ITEM
-
 
77308
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
77309
              this.ebayItem = new EbayItem();
-
 
77310
              this.ebayItem.read(iprot);
-
 
77311
            } else { 
-
 
77312
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
77313
            }
-
 
77314
            break;
-
 
77315
          default:
-
 
77316
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
77317
        }
-
 
77318
        iprot.readFieldEnd();
-
 
77319
      }
-
 
77320
      iprot.readStructEnd();
-
 
77321
      validate();
-
 
77322
    }
-
 
77323
 
-
 
77324
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
77325
      validate();
-
 
77326
 
-
 
77327
      oprot.writeStructBegin(STRUCT_DESC);
-
 
77328
      if (this.ebayItem != null) {
-
 
77329
        oprot.writeFieldBegin(EBAY_ITEM_FIELD_DESC);
-
 
77330
        this.ebayItem.write(oprot);
-
 
77331
        oprot.writeFieldEnd();
-
 
77332
      }
-
 
77333
      oprot.writeFieldStop();
-
 
77334
      oprot.writeStructEnd();
-
 
77335
    }
-
 
77336
 
-
 
77337
    @Override
-
 
77338
    public String toString() {
-
 
77339
      StringBuilder sb = new StringBuilder("updateEbayItem_args(");
-
 
77340
      boolean first = true;
-
 
77341
 
-
 
77342
      sb.append("ebayItem:");
-
 
77343
      if (this.ebayItem == null) {
-
 
77344
        sb.append("null");
-
 
77345
      } else {
-
 
77346
        sb.append(this.ebayItem);
-
 
77347
      }
-
 
77348
      first = false;
-
 
77349
      sb.append(")");
-
 
77350
      return sb.toString();
-
 
77351
    }
-
 
77352
 
-
 
77353
    public void validate() throws org.apache.thrift.TException {
-
 
77354
      // check for required fields
-
 
77355
    }
-
 
77356
 
-
 
77357
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
77358
      try {
-
 
77359
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
77360
      } catch (org.apache.thrift.TException te) {
-
 
77361
        throw new java.io.IOException(te);
-
 
77362
      }
-
 
77363
    }
-
 
77364
 
-
 
77365
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
77366
      try {
-
 
77367
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
77368
      } catch (org.apache.thrift.TException te) {
-
 
77369
        throw new java.io.IOException(te);
-
 
77370
      }
-
 
77371
    }
-
 
77372
 
-
 
77373
  }
-
 
77374
 
-
 
77375
  public static class updateEbayItem_result implements org.apache.thrift.TBase<updateEbayItem_result, updateEbayItem_result._Fields>, java.io.Serializable, Cloneable   {
-
 
77376
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateEbayItem_result");
-
 
77377
 
-
 
77378
 
-
 
77379
 
-
 
77380
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
77381
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
77382
;
-
 
77383
 
-
 
77384
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
77385
 
-
 
77386
      static {
-
 
77387
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
77388
          byName.put(field.getFieldName(), field);
-
 
77389
        }
-
 
77390
      }
-
 
77391
 
-
 
77392
      /**
-
 
77393
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
77394
       */
-
 
77395
      public static _Fields findByThriftId(int fieldId) {
-
 
77396
        switch(fieldId) {
-
 
77397
          default:
-
 
77398
            return null;
-
 
77399
        }
-
 
77400
      }
-
 
77401
 
-
 
77402
      /**
-
 
77403
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
77404
       * if it is not found.
-
 
77405
       */
-
 
77406
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
77407
        _Fields fields = findByThriftId(fieldId);
-
 
77408
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
77409
        return fields;
-
 
77410
      }
-
 
77411
 
-
 
77412
      /**
-
 
77413
       * Find the _Fields constant that matches name, or null if its not found.
-
 
77414
       */
-
 
77415
      public static _Fields findByName(String name) {
-
 
77416
        return byName.get(name);
-
 
77417
      }
-
 
77418
 
-
 
77419
      private final short _thriftId;
-
 
77420
      private final String _fieldName;
-
 
77421
 
-
 
77422
      _Fields(short thriftId, String fieldName) {
-
 
77423
        _thriftId = thriftId;
-
 
77424
        _fieldName = fieldName;
-
 
77425
      }
-
 
77426
 
-
 
77427
      public short getThriftFieldId() {
-
 
77428
        return _thriftId;
-
 
77429
      }
-
 
77430
 
-
 
77431
      public String getFieldName() {
-
 
77432
        return _fieldName;
-
 
77433
      }
-
 
77434
    }
-
 
77435
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
77436
    static {
-
 
77437
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
77438
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
77439
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateEbayItem_result.class, metaDataMap);
-
 
77440
    }
-
 
77441
 
-
 
77442
    public updateEbayItem_result() {
-
 
77443
    }
-
 
77444
 
-
 
77445
    /**
-
 
77446
     * Performs a deep copy on <i>other</i>.
-
 
77447
     */
-
 
77448
    public updateEbayItem_result(updateEbayItem_result other) {
-
 
77449
    }
-
 
77450
 
-
 
77451
    public updateEbayItem_result deepCopy() {
-
 
77452
      return new updateEbayItem_result(this);
-
 
77453
    }
-
 
77454
 
-
 
77455
    @Override
-
 
77456
    public void clear() {
-
 
77457
    }
-
 
77458
 
-
 
77459
    public void setFieldValue(_Fields field, Object value) {
-
 
77460
      switch (field) {
-
 
77461
      }
-
 
77462
    }
-
 
77463
 
-
 
77464
    public Object getFieldValue(_Fields field) {
-
 
77465
      switch (field) {
-
 
77466
      }
-
 
77467
      throw new IllegalStateException();
-
 
77468
    }
-
 
77469
 
-
 
77470
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
77471
    public boolean isSet(_Fields field) {
-
 
77472
      if (field == null) {
-
 
77473
        throw new IllegalArgumentException();
-
 
77474
      }
-
 
77475
 
-
 
77476
      switch (field) {
-
 
77477
      }
-
 
77478
      throw new IllegalStateException();
-
 
77479
    }
-
 
77480
 
-
 
77481
    @Override
-
 
77482
    public boolean equals(Object that) {
-
 
77483
      if (that == null)
-
 
77484
        return false;
-
 
77485
      if (that instanceof updateEbayItem_result)
-
 
77486
        return this.equals((updateEbayItem_result)that);
-
 
77487
      return false;
-
 
77488
    }
-
 
77489
 
-
 
77490
    public boolean equals(updateEbayItem_result that) {
-
 
77491
      if (that == null)
-
 
77492
        return false;
-
 
77493
 
-
 
77494
      return true;
-
 
77495
    }
-
 
77496
 
-
 
77497
    @Override
-
 
77498
    public int hashCode() {
-
 
77499
      return 0;
-
 
77500
    }
-
 
77501
 
-
 
77502
    public int compareTo(updateEbayItem_result other) {
-
 
77503
      if (!getClass().equals(other.getClass())) {
-
 
77504
        return getClass().getName().compareTo(other.getClass().getName());
-
 
77505
      }
-
 
77506
 
-
 
77507
      int lastComparison = 0;
-
 
77508
      updateEbayItem_result typedOther = (updateEbayItem_result)other;
-
 
77509
 
-
 
77510
      return 0;
-
 
77511
    }
-
 
77512
 
-
 
77513
    public _Fields fieldForId(int fieldId) {
-
 
77514
      return _Fields.findByThriftId(fieldId);
-
 
77515
    }
-
 
77516
 
-
 
77517
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
77518
      org.apache.thrift.protocol.TField field;
-
 
77519
      iprot.readStructBegin();
-
 
77520
      while (true)
-
 
77521
      {
-
 
77522
        field = iprot.readFieldBegin();
-
 
77523
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
77524
          break;
-
 
77525
        }
-
 
77526
        switch (field.id) {
-
 
77527
          default:
-
 
77528
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
77529
        }
-
 
77530
        iprot.readFieldEnd();
-
 
77531
      }
-
 
77532
      iprot.readStructEnd();
-
 
77533
      validate();
-
 
77534
    }
-
 
77535
 
-
 
77536
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
77537
      oprot.writeStructBegin(STRUCT_DESC);
-
 
77538
 
-
 
77539
      oprot.writeFieldStop();
-
 
77540
      oprot.writeStructEnd();
-
 
77541
    }
-
 
77542
 
-
 
77543
    @Override
-
 
77544
    public String toString() {
-
 
77545
      StringBuilder sb = new StringBuilder("updateEbayItem_result(");
-
 
77546
      boolean first = true;
-
 
77547
 
-
 
77548
      sb.append(")");
-
 
77549
      return sb.toString();
-
 
77550
    }
75753
 
77551
 
75754
    public void validate() throws org.apache.thrift.TException {
77552
    public void validate() throws org.apache.thrift.TException {
75755
      // check for required fields
77553
      // check for required fields
75756
    }
77554
    }
75757
 
77555