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 773... Line 773...
773
    Parameters:
773
    Parameters:
774
     - cartEvents
774
     - cartEvents
775
    """
775
    """
776
    pass
776
    pass
777
 
777
 
-
 
778
  def addEbayItem(self, ebayItem):
-
 
779
    """
-
 
780
    Parameters:
-
 
781
     - ebayItem
-
 
782
    """
-
 
783
    pass
-
 
784
 
-
 
785
  def getEbayItem(self, listingId):
-
 
786
    """
-
 
787
    Parameters:
-
 
788
     - listingId
-
 
789
    """
-
 
790
    pass
-
 
791
 
-
 
792
  def updateEbayItem(self, ebayItem):
-
 
793
    """
-
 
794
    Parameters:
-
 
795
     - ebayItem
-
 
796
    """
-
 
797
    pass
-
 
798
 
778
  def getAmazonListedItems(self, offset, limit):
799
  def getAmazonListedItems(self, offset, limit):
779
    """
800
    """
780
    Parameters:
801
    Parameters:
781
     - offset
802
     - offset
782
     - limit
803
     - limit
Line 3986... Line 4007...
3986
    result = addCartEvent_result()
4007
    result = addCartEvent_result()
3987
    result.read(self._iprot)
4008
    result.read(self._iprot)
3988
    self._iprot.readMessageEnd()
4009
    self._iprot.readMessageEnd()
3989
    return
4010
    return
3990
 
4011
 
-
 
4012
  def addEbayItem(self, ebayItem):
-
 
4013
    """
-
 
4014
    Parameters:
-
 
4015
     - ebayItem
-
 
4016
    """
-
 
4017
    self.send_addEbayItem(ebayItem)
-
 
4018
    self.recv_addEbayItem()
-
 
4019
 
-
 
4020
  def send_addEbayItem(self, ebayItem):
-
 
4021
    self._oprot.writeMessageBegin('addEbayItem', TMessageType.CALL, self._seqid)
-
 
4022
    args = addEbayItem_args()
-
 
4023
    args.ebayItem = ebayItem
-
 
4024
    args.write(self._oprot)
-
 
4025
    self._oprot.writeMessageEnd()
-
 
4026
    self._oprot.trans.flush()
-
 
4027
 
-
 
4028
  def recv_addEbayItem(self, ):
-
 
4029
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
4030
    if mtype == TMessageType.EXCEPTION:
-
 
4031
      x = TApplicationException()
-
 
4032
      x.read(self._iprot)
-
 
4033
      self._iprot.readMessageEnd()
-
 
4034
      raise x
-
 
4035
    result = addEbayItem_result()
-
 
4036
    result.read(self._iprot)
-
 
4037
    self._iprot.readMessageEnd()
-
 
4038
    return
-
 
4039
 
-
 
4040
  def getEbayItem(self, listingId):
-
 
4041
    """
-
 
4042
    Parameters:
-
 
4043
     - listingId
-
 
4044
    """
-
 
4045
    self.send_getEbayItem(listingId)
-
 
4046
    return self.recv_getEbayItem()
-
 
4047
 
-
 
4048
  def send_getEbayItem(self, listingId):
-
 
4049
    self._oprot.writeMessageBegin('getEbayItem', TMessageType.CALL, self._seqid)
-
 
4050
    args = getEbayItem_args()
-
 
4051
    args.listingId = listingId
-
 
4052
    args.write(self._oprot)
-
 
4053
    self._oprot.writeMessageEnd()
-
 
4054
    self._oprot.trans.flush()
-
 
4055
 
-
 
4056
  def recv_getEbayItem(self, ):
-
 
4057
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
4058
    if mtype == TMessageType.EXCEPTION:
-
 
4059
      x = TApplicationException()
-
 
4060
      x.read(self._iprot)
-
 
4061
      self._iprot.readMessageEnd()
-
 
4062
      raise x
-
 
4063
    result = getEbayItem_result()
-
 
4064
    result.read(self._iprot)
-
 
4065
    self._iprot.readMessageEnd()
-
 
4066
    if result.success is not None:
-
 
4067
      return result.success
-
 
4068
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEbayItem failed: unknown result");
-
 
4069
 
-
 
4070
  def updateEbayItem(self, ebayItem):
-
 
4071
    """
-
 
4072
    Parameters:
-
 
4073
     - ebayItem
-
 
4074
    """
-
 
4075
    self.send_updateEbayItem(ebayItem)
-
 
4076
    self.recv_updateEbayItem()
-
 
4077
 
-
 
4078
  def send_updateEbayItem(self, ebayItem):
-
 
4079
    self._oprot.writeMessageBegin('updateEbayItem', TMessageType.CALL, self._seqid)
-
 
4080
    args = updateEbayItem_args()
-
 
4081
    args.ebayItem = ebayItem
-
 
4082
    args.write(self._oprot)
-
 
4083
    self._oprot.writeMessageEnd()
-
 
4084
    self._oprot.trans.flush()
-
 
4085
 
-
 
4086
  def recv_updateEbayItem(self, ):
-
 
4087
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
4088
    if mtype == TMessageType.EXCEPTION:
-
 
4089
      x = TApplicationException()
-
 
4090
      x.read(self._iprot)
-
 
4091
      self._iprot.readMessageEnd()
-
 
4092
      raise x
-
 
4093
    result = updateEbayItem_result()
-
 
4094
    result.read(self._iprot)
-
 
4095
    self._iprot.readMessageEnd()
-
 
4096
    return
-
 
4097
 
3991
  def getAmazonListedItems(self, offset, limit):
4098
  def getAmazonListedItems(self, offset, limit):
3992
    """
4099
    """
3993
    Parameters:
4100
    Parameters:
3994
     - offset
4101
     - offset
3995
     - limit
4102
     - limit
Line 4154... Line 4261...
4154
    self._processMap["updateItemInventory"] = Processor.process_updateItemInventory
4261
    self._processMap["updateItemInventory"] = Processor.process_updateItemInventory
4155
    self._processMap["updateTimestampForAmazonFeeds"] = Processor.process_updateTimestampForAmazonFeeds
4262
    self._processMap["updateTimestampForAmazonFeeds"] = Processor.process_updateTimestampForAmazonFeeds
4156
    self._processMap["getAllParentCategories"] = Processor.process_getAllParentCategories
4263
    self._processMap["getAllParentCategories"] = Processor.process_getAllParentCategories
4157
    self._processMap["addPageViewEvent"] = Processor.process_addPageViewEvent
4264
    self._processMap["addPageViewEvent"] = Processor.process_addPageViewEvent
4158
    self._processMap["addCartEvent"] = Processor.process_addCartEvent
4265
    self._processMap["addCartEvent"] = Processor.process_addCartEvent
-
 
4266
    self._processMap["addEbayItem"] = Processor.process_addEbayItem
-
 
4267
    self._processMap["getEbayItem"] = Processor.process_getEbayItem
-
 
4268
    self._processMap["updateEbayItem"] = Processor.process_updateEbayItem
4159
    self._processMap["getAmazonListedItems"] = Processor.process_getAmazonListedItems
4269
    self._processMap["getAmazonListedItems"] = Processor.process_getAmazonListedItems
4160
    self._processMap["updateAmazonAttributesInBulk"] = Processor.process_updateAmazonAttributesInBulk
4270
    self._processMap["updateAmazonAttributesInBulk"] = Processor.process_updateAmazonAttributesInBulk
4161
 
4271
 
4162
  def process(self, iprot, oprot):
4272
  def process(self, iprot, oprot):
4163
    (name, type, seqid) = iprot.readMessageBegin()
4273
    (name, type, seqid) = iprot.readMessageBegin()
Line 5408... Line 5518...
5408
    oprot.writeMessageBegin("addCartEvent", TMessageType.REPLY, seqid)
5518
    oprot.writeMessageBegin("addCartEvent", TMessageType.REPLY, seqid)
5409
    result.write(oprot)
5519
    result.write(oprot)
5410
    oprot.writeMessageEnd()
5520
    oprot.writeMessageEnd()
5411
    oprot.trans.flush()
5521
    oprot.trans.flush()
5412
 
5522
 
-
 
5523
  def process_addEbayItem(self, seqid, iprot, oprot):
-
 
5524
    args = addEbayItem_args()
-
 
5525
    args.read(iprot)
-
 
5526
    iprot.readMessageEnd()
-
 
5527
    result = addEbayItem_result()
-
 
5528
    self._handler.addEbayItem(args.ebayItem)
-
 
5529
    oprot.writeMessageBegin("addEbayItem", TMessageType.REPLY, seqid)
-
 
5530
    result.write(oprot)
-
 
5531
    oprot.writeMessageEnd()
-
 
5532
    oprot.trans.flush()
-
 
5533
 
-
 
5534
  def process_getEbayItem(self, seqid, iprot, oprot):
-
 
5535
    args = getEbayItem_args()
-
 
5536
    args.read(iprot)
-
 
5537
    iprot.readMessageEnd()
-
 
5538
    result = getEbayItem_result()
-
 
5539
    result.success = self._handler.getEbayItem(args.listingId)
-
 
5540
    oprot.writeMessageBegin("getEbayItem", TMessageType.REPLY, seqid)
-
 
5541
    result.write(oprot)
-
 
5542
    oprot.writeMessageEnd()
-
 
5543
    oprot.trans.flush()
-
 
5544
 
-
 
5545
  def process_updateEbayItem(self, seqid, iprot, oprot):
-
 
5546
    args = updateEbayItem_args()
-
 
5547
    args.read(iprot)
-
 
5548
    iprot.readMessageEnd()
-
 
5549
    result = updateEbayItem_result()
-
 
5550
    self._handler.updateEbayItem(args.ebayItem)
-
 
5551
    oprot.writeMessageBegin("updateEbayItem", TMessageType.REPLY, seqid)
-
 
5552
    result.write(oprot)
-
 
5553
    oprot.writeMessageEnd()
-
 
5554
    oprot.trans.flush()
-
 
5555
 
5413
  def process_getAmazonListedItems(self, seqid, iprot, oprot):
5556
  def process_getAmazonListedItems(self, seqid, iprot, oprot):
5414
    args = getAmazonListedItems_args()
5557
    args = getAmazonListedItems_args()
5415
    args.read(iprot)
5558
    args.read(iprot)
5416
    iprot.readMessageEnd()
5559
    iprot.readMessageEnd()
5417
    result = getAmazonListedItems_result()
5560
    result = getAmazonListedItems_result()
Line 18636... Line 18779...
18636
    oprot.writeFieldStop()
18779
    oprot.writeFieldStop()
18637
    oprot.writeStructEnd()
18780
    oprot.writeStructEnd()
18638
 
18781
 
18639
  def validate(self):
18782
  def validate(self):
18640
    return
18783
    return
-
 
18784
 
-
 
18785
 
-
 
18786
  def __repr__(self):
-
 
18787
    L = ['%s=%r' % (key, value)
-
 
18788
      for key, value in self.__dict__.iteritems()]
-
 
18789
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
18790
 
-
 
18791
  def __eq__(self, other):
-
 
18792
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
18793
 
-
 
18794
  def __ne__(self, other):
-
 
18795
    return not (self == other)
-
 
18796
 
-
 
18797
class addEbayItem_args:
-
 
18798
  """
-
 
18799
  Attributes:
-
 
18800
   - ebayItem
-
 
18801
  """
-
 
18802
 
-
 
18803
  thrift_spec = (
-
 
18804
    None, # 0
-
 
18805
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
-
 
18806
  )
-
 
18807
 
-
 
18808
  def __init__(self, ebayItem=None,):
-
 
18809
    self.ebayItem = ebayItem
-
 
18810
 
-
 
18811
  def read(self, iprot):
-
 
18812
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
18813
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
18814
      return
-
 
18815
    iprot.readStructBegin()
-
 
18816
    while True:
-
 
18817
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
18818
      if ftype == TType.STOP:
-
 
18819
        break
-
 
18820
      if fid == 1:
-
 
18821
        if ftype == TType.STRUCT:
-
 
18822
          self.ebayItem = EbayItem()
-
 
18823
          self.ebayItem.read(iprot)
-
 
18824
        else:
-
 
18825
          iprot.skip(ftype)
-
 
18826
      else:
-
 
18827
        iprot.skip(ftype)
-
 
18828
      iprot.readFieldEnd()
-
 
18829
    iprot.readStructEnd()
-
 
18830
 
-
 
18831
  def write(self, oprot):
-
 
18832
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
18833
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
18834
      return
-
 
18835
    oprot.writeStructBegin('addEbayItem_args')
-
 
18836
    if self.ebayItem is not None:
-
 
18837
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
-
 
18838
      self.ebayItem.write(oprot)
-
 
18839
      oprot.writeFieldEnd()
-
 
18840
    oprot.writeFieldStop()
-
 
18841
    oprot.writeStructEnd()
-
 
18842
 
-
 
18843
  def validate(self):
-
 
18844
    return
-
 
18845
 
-
 
18846
 
-
 
18847
  def __repr__(self):
-
 
18848
    L = ['%s=%r' % (key, value)
-
 
18849
      for key, value in self.__dict__.iteritems()]
-
 
18850
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
18851
 
-
 
18852
  def __eq__(self, other):
-
 
18853
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
18854
 
-
 
18855
  def __ne__(self, other):
-
 
18856
    return not (self == other)
-
 
18857
 
-
 
18858
class addEbayItem_result:
-
 
18859
 
-
 
18860
  thrift_spec = (
-
 
18861
  )
-
 
18862
 
-
 
18863
  def read(self, iprot):
-
 
18864
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
18865
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
18866
      return
-
 
18867
    iprot.readStructBegin()
-
 
18868
    while True:
-
 
18869
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
18870
      if ftype == TType.STOP:
-
 
18871
        break
-
 
18872
      else:
-
 
18873
        iprot.skip(ftype)
-
 
18874
      iprot.readFieldEnd()
-
 
18875
    iprot.readStructEnd()
-
 
18876
 
-
 
18877
  def write(self, oprot):
-
 
18878
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
18879
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
18880
      return
-
 
18881
    oprot.writeStructBegin('addEbayItem_result')
-
 
18882
    oprot.writeFieldStop()
-
 
18883
    oprot.writeStructEnd()
-
 
18884
 
-
 
18885
  def validate(self):
-
 
18886
    return
-
 
18887
 
-
 
18888
 
-
 
18889
  def __repr__(self):
-
 
18890
    L = ['%s=%r' % (key, value)
-
 
18891
      for key, value in self.__dict__.iteritems()]
-
 
18892
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
18893
 
-
 
18894
  def __eq__(self, other):
-
 
18895
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
18896
 
-
 
18897
  def __ne__(self, other):
-
 
18898
    return not (self == other)
-
 
18899
 
-
 
18900
class getEbayItem_args:
-
 
18901
  """
-
 
18902
  Attributes:
-
 
18903
   - listingId
-
 
18904
  """
-
 
18905
 
-
 
18906
  thrift_spec = (
-
 
18907
    None, # 0
-
 
18908
    (1, TType.STRING, 'listingId', None, None, ), # 1
-
 
18909
  )
-
 
18910
 
-
 
18911
  def __init__(self, listingId=None,):
-
 
18912
    self.listingId = listingId
-
 
18913
 
-
 
18914
  def read(self, iprot):
-
 
18915
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
18916
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
18917
      return
-
 
18918
    iprot.readStructBegin()
-
 
18919
    while True:
-
 
18920
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
18921
      if ftype == TType.STOP:
-
 
18922
        break
-
 
18923
      if fid == 1:
-
 
18924
        if ftype == TType.STRING:
-
 
18925
          self.listingId = iprot.readString();
-
 
18926
        else:
-
 
18927
          iprot.skip(ftype)
-
 
18928
      else:
-
 
18929
        iprot.skip(ftype)
-
 
18930
      iprot.readFieldEnd()
-
 
18931
    iprot.readStructEnd()
-
 
18932
 
-
 
18933
  def write(self, oprot):
-
 
18934
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
18935
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
18936
      return
-
 
18937
    oprot.writeStructBegin('getEbayItem_args')
-
 
18938
    if self.listingId is not None:
-
 
18939
      oprot.writeFieldBegin('listingId', TType.STRING, 1)
-
 
18940
      oprot.writeString(self.listingId)
-
 
18941
      oprot.writeFieldEnd()
-
 
18942
    oprot.writeFieldStop()
-
 
18943
    oprot.writeStructEnd()
-
 
18944
 
-
 
18945
  def validate(self):
-
 
18946
    return
-
 
18947
 
-
 
18948
 
-
 
18949
  def __repr__(self):
-
 
18950
    L = ['%s=%r' % (key, value)
-
 
18951
      for key, value in self.__dict__.iteritems()]
-
 
18952
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
18953
 
-
 
18954
  def __eq__(self, other):
-
 
18955
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
18956
 
-
 
18957
  def __ne__(self, other):
-
 
18958
    return not (self == other)
-
 
18959
 
-
 
18960
class getEbayItem_result:
-
 
18961
  """
-
 
18962
  Attributes:
-
 
18963
   - success
-
 
18964
  """
-
 
18965
 
-
 
18966
  thrift_spec = (
-
 
18967
    (0, TType.STRUCT, 'success', (EbayItem, EbayItem.thrift_spec), None, ), # 0
-
 
18968
  )
-
 
18969
 
-
 
18970
  def __init__(self, success=None,):
-
 
18971
    self.success = success
-
 
18972
 
-
 
18973
  def read(self, iprot):
-
 
18974
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
18975
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
18976
      return
-
 
18977
    iprot.readStructBegin()
-
 
18978
    while True:
-
 
18979
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
18980
      if ftype == TType.STOP:
-
 
18981
        break
-
 
18982
      if fid == 0:
-
 
18983
        if ftype == TType.STRUCT:
-
 
18984
          self.success = EbayItem()
-
 
18985
          self.success.read(iprot)
-
 
18986
        else:
-
 
18987
          iprot.skip(ftype)
-
 
18988
      else:
-
 
18989
        iprot.skip(ftype)
-
 
18990
      iprot.readFieldEnd()
-
 
18991
    iprot.readStructEnd()
-
 
18992
 
-
 
18993
  def write(self, oprot):
-
 
18994
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
18995
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
18996
      return
-
 
18997
    oprot.writeStructBegin('getEbayItem_result')
-
 
18998
    if self.success is not None:
-
 
18999
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
19000
      self.success.write(oprot)
-
 
19001
      oprot.writeFieldEnd()
-
 
19002
    oprot.writeFieldStop()
-
 
19003
    oprot.writeStructEnd()
-
 
19004
 
-
 
19005
  def validate(self):
-
 
19006
    return
-
 
19007
 
-
 
19008
 
-
 
19009
  def __repr__(self):
-
 
19010
    L = ['%s=%r' % (key, value)
-
 
19011
      for key, value in self.__dict__.iteritems()]
-
 
19012
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
19013
 
-
 
19014
  def __eq__(self, other):
-
 
19015
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
19016
 
-
 
19017
  def __ne__(self, other):
-
 
19018
    return not (self == other)
-
 
19019
 
-
 
19020
class updateEbayItem_args:
-
 
19021
  """
-
 
19022
  Attributes:
-
 
19023
   - ebayItem
-
 
19024
  """
-
 
19025
 
-
 
19026
  thrift_spec = (
-
 
19027
    None, # 0
-
 
19028
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
-
 
19029
  )
-
 
19030
 
-
 
19031
  def __init__(self, ebayItem=None,):
-
 
19032
    self.ebayItem = ebayItem
-
 
19033
 
-
 
19034
  def read(self, iprot):
-
 
19035
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
19036
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
19037
      return
-
 
19038
    iprot.readStructBegin()
-
 
19039
    while True:
-
 
19040
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
19041
      if ftype == TType.STOP:
-
 
19042
        break
-
 
19043
      if fid == 1:
-
 
19044
        if ftype == TType.STRUCT:
-
 
19045
          self.ebayItem = EbayItem()
-
 
19046
          self.ebayItem.read(iprot)
-
 
19047
        else:
-
 
19048
          iprot.skip(ftype)
-
 
19049
      else:
-
 
19050
        iprot.skip(ftype)
-
 
19051
      iprot.readFieldEnd()
-
 
19052
    iprot.readStructEnd()
-
 
19053
 
-
 
19054
  def write(self, oprot):
-
 
19055
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
19056
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
19057
      return
-
 
19058
    oprot.writeStructBegin('updateEbayItem_args')
-
 
19059
    if self.ebayItem is not None:
-
 
19060
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
-
 
19061
      self.ebayItem.write(oprot)
-
 
19062
      oprot.writeFieldEnd()
-
 
19063
    oprot.writeFieldStop()
-
 
19064
    oprot.writeStructEnd()
-
 
19065
 
-
 
19066
  def validate(self):
-
 
19067
    return
-
 
19068
 
-
 
19069
 
-
 
19070
  def __repr__(self):
-
 
19071
    L = ['%s=%r' % (key, value)
-
 
19072
      for key, value in self.__dict__.iteritems()]
-
 
19073
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
19074
 
-
 
19075
  def __eq__(self, other):
-
 
19076
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
19077
 
-
 
19078
  def __ne__(self, other):
-
 
19079
    return not (self == other)
-
 
19080
 
-
 
19081
class updateEbayItem_result:
-
 
19082
 
-
 
19083
  thrift_spec = (
-
 
19084
  )
-
 
19085
 
-
 
19086
  def read(self, iprot):
-
 
19087
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
19088
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
19089
      return
-
 
19090
    iprot.readStructBegin()
-
 
19091
    while True:
-
 
19092
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
19093
      if ftype == TType.STOP:
-
 
19094
        break
-
 
19095
      else:
-
 
19096
        iprot.skip(ftype)
-
 
19097
      iprot.readFieldEnd()
-
 
19098
    iprot.readStructEnd()
-
 
19099
 
-
 
19100
  def write(self, oprot):
-
 
19101
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
19102
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
19103
      return
-
 
19104
    oprot.writeStructBegin('updateEbayItem_result')
-
 
19105
    oprot.writeFieldStop()
-
 
19106
    oprot.writeStructEnd()
-
 
19107
 
-
 
19108
  def validate(self):
-
 
19109
    return
18641
 
19110
 
18642
 
19111
 
18643
  def __repr__(self):
19112
  def __repr__(self):
18644
    L = ['%s=%r' % (key, value)
19113
    L = ['%s=%r' % (key, value)
18645
      for key, value in self.__dict__.iteritems()]
19114
      for key, value in self.__dict__.iteritems()]