Subversion Repositories SmartDukaan

Rev

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

Rev 10924 Rev 11015
Line 1109... Line 1109...
1109
    Parameters:
1109
    Parameters:
1110
     - sku
1110
     - sku
1111
    """
1111
    """
1112
    pass
1112
    pass
1113
 
1113
 
-
 
1114
  def getMarketplaceHistory(self, source, offset, itemId):
-
 
1115
    """
-
 
1116
    Parameters:
-
 
1117
     - source
-
 
1118
     - offset
-
 
1119
     - itemId
-
 
1120
    """
-
 
1121
    pass
-
 
1122
 
1114
  def getAllFbbListedItems(self, ):
1123
  def getAllFbbListedItems(self, ):
1115
    pass
1124
    pass
1116
 
1125
 
1117
  def getAllFbbPricingItems(self, ):
1126
  def getAllFbbPricingItems(self, ):
1118
    pass
1127
    pass
1119
 
1128
 
-
 
1129
  def getCountForMarketplaceHistory(self, source, itemId):
-
 
1130
    """
-
 
1131
    Parameters:
-
 
1132
     - source
-
 
1133
     - itemId
-
 
1134
    """
-
 
1135
    pass
-
 
1136
 
-
 
1137
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
-
 
1138
    """
-
 
1139
    Parameters:
-
 
1140
     - source
-
 
1141
     - startDate
-
 
1142
     - endDate
-
 
1143
     - offset
-
 
1144
     - limit
-
 
1145
     - itemId
-
 
1146
    """
-
 
1147
    pass
-
 
1148
 
1120
 
1149
 
1121
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1150
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1122
  def __init__(self, iprot, oprot=None):
1151
  def __init__(self, iprot, oprot=None):
1123
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1152
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1124
 
1153
 
Line 5840... Line 5869...
5840
    self._iprot.readMessageEnd()
5869
    self._iprot.readMessageEnd()
5841
    if result.success is not None:
5870
    if result.success is not None:
5842
      return result.success
5871
      return result.success
5843
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemBySkyAtFlipkart failed: unknown result");
5872
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemBySkyAtFlipkart failed: unknown result");
5844
 
5873
 
-
 
5874
  def getMarketplaceHistory(self, source, offset, itemId):
-
 
5875
    """
-
 
5876
    Parameters:
-
 
5877
     - source
-
 
5878
     - offset
-
 
5879
     - itemId
-
 
5880
    """
-
 
5881
    self.send_getMarketplaceHistory(source, offset, itemId)
-
 
5882
    return self.recv_getMarketplaceHistory()
-
 
5883
 
-
 
5884
  def send_getMarketplaceHistory(self, source, offset, itemId):
-
 
5885
    self._oprot.writeMessageBegin('getMarketplaceHistory', TMessageType.CALL, self._seqid)
-
 
5886
    args = getMarketplaceHistory_args()
-
 
5887
    args.source = source
-
 
5888
    args.offset = offset
-
 
5889
    args.itemId = itemId
-
 
5890
    args.write(self._oprot)
-
 
5891
    self._oprot.writeMessageEnd()
-
 
5892
    self._oprot.trans.flush()
-
 
5893
 
-
 
5894
  def recv_getMarketplaceHistory(self, ):
-
 
5895
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5896
    if mtype == TMessageType.EXCEPTION:
-
 
5897
      x = TApplicationException()
-
 
5898
      x.read(self._iprot)
-
 
5899
      self._iprot.readMessageEnd()
-
 
5900
      raise x
-
 
5901
    result = getMarketplaceHistory_result()
-
 
5902
    result.read(self._iprot)
-
 
5903
    self._iprot.readMessageEnd()
-
 
5904
    if result.success is not None:
-
 
5905
      return result.success
-
 
5906
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistory failed: unknown result");
-
 
5907
 
5845
  def getAllFbbListedItems(self, ):
5908
  def getAllFbbListedItems(self, ):
5846
    self.send_getAllFbbListedItems()
5909
    self.send_getAllFbbListedItems()
5847
    return self.recv_getAllFbbListedItems()
5910
    return self.recv_getAllFbbListedItems()
5848
 
5911
 
5849
  def send_getAllFbbListedItems(self, ):
5912
  def send_getAllFbbListedItems(self, ):
Line 5890... Line 5953...
5890
    self._iprot.readMessageEnd()
5953
    self._iprot.readMessageEnd()
5891
    if result.success is not None:
5954
    if result.success is not None:
5892
      return result.success
5955
      return result.success
5893
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbPricingItems failed: unknown result");
5956
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbPricingItems failed: unknown result");
5894
 
5957
 
-
 
5958
  def getCountForMarketplaceHistory(self, source, itemId):
-
 
5959
    """
-
 
5960
    Parameters:
-
 
5961
     - source
-
 
5962
     - itemId
-
 
5963
    """
-
 
5964
    self.send_getCountForMarketplaceHistory(source, itemId)
-
 
5965
    return self.recv_getCountForMarketplaceHistory()
-
 
5966
 
-
 
5967
  def send_getCountForMarketplaceHistory(self, source, itemId):
-
 
5968
    self._oprot.writeMessageBegin('getCountForMarketplaceHistory', TMessageType.CALL, self._seqid)
-
 
5969
    args = getCountForMarketplaceHistory_args()
-
 
5970
    args.source = source
-
 
5971
    args.itemId = itemId
-
 
5972
    args.write(self._oprot)
-
 
5973
    self._oprot.writeMessageEnd()
-
 
5974
    self._oprot.trans.flush()
-
 
5975
 
-
 
5976
  def recv_getCountForMarketplaceHistory(self, ):
-
 
5977
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5978
    if mtype == TMessageType.EXCEPTION:
-
 
5979
      x = TApplicationException()
-
 
5980
      x.read(self._iprot)
-
 
5981
      self._iprot.readMessageEnd()
-
 
5982
      raise x
-
 
5983
    result = getCountForMarketplaceHistory_result()
-
 
5984
    result.read(self._iprot)
-
 
5985
    self._iprot.readMessageEnd()
-
 
5986
    if result.success is not None:
-
 
5987
      return result.success
-
 
5988
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForMarketplaceHistory failed: unknown result");
-
 
5989
 
-
 
5990
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
-
 
5991
    """
-
 
5992
    Parameters:
-
 
5993
     - source
-
 
5994
     - startDate
-
 
5995
     - endDate
-
 
5996
     - offset
-
 
5997
     - limit
-
 
5998
     - itemId
-
 
5999
    """
-
 
6000
    self.send_getMarketplaceHistoryByDate(source, startDate, endDate, offset, limit, itemId)
-
 
6001
    return self.recv_getMarketplaceHistoryByDate()
-
 
6002
 
-
 
6003
  def send_getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
-
 
6004
    self._oprot.writeMessageBegin('getMarketplaceHistoryByDate', TMessageType.CALL, self._seqid)
-
 
6005
    args = getMarketplaceHistoryByDate_args()
-
 
6006
    args.source = source
-
 
6007
    args.startDate = startDate
-
 
6008
    args.endDate = endDate
-
 
6009
    args.offset = offset
-
 
6010
    args.limit = limit
-
 
6011
    args.itemId = itemId
-
 
6012
    args.write(self._oprot)
-
 
6013
    self._oprot.writeMessageEnd()
-
 
6014
    self._oprot.trans.flush()
-
 
6015
 
-
 
6016
  def recv_getMarketplaceHistoryByDate(self, ):
-
 
6017
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
6018
    if mtype == TMessageType.EXCEPTION:
-
 
6019
      x = TApplicationException()
-
 
6020
      x.read(self._iprot)
-
 
6021
      self._iprot.readMessageEnd()
-
 
6022
      raise x
-
 
6023
    result = getMarketplaceHistoryByDate_result()
-
 
6024
    result.read(self._iprot)
-
 
6025
    self._iprot.readMessageEnd()
-
 
6026
    if result.success is not None:
-
 
6027
      return result.success
-
 
6028
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistoryByDate failed: unknown result");
-
 
6029
 
5895
 
6030
 
5896
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
6031
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
5897
  def __init__(self, handler):
6032
  def __init__(self, handler):
5898
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
6033
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
5899
    self._processMap["addItem"] = Processor.process_addItem
6034
    self._processMap["addItem"] = Processor.process_addItem
Line 6048... Line 6183...
6048
    self._processMap["searchFlipkartItems"] = Processor.process_searchFlipkartItems
6183
    self._processMap["searchFlipkartItems"] = Processor.process_searchFlipkartItems
6049
    self._processMap["getCountForFlipkartItems"] = Processor.process_getCountForFlipkartItems
6184
    self._processMap["getCountForFlipkartItems"] = Processor.process_getCountForFlipkartItems
6050
    self._processMap["getFlipkartSearchResultCount"] = Processor.process_getFlipkartSearchResultCount
6185
    self._processMap["getFlipkartSearchResultCount"] = Processor.process_getFlipkartSearchResultCount
6051
    self._processMap["getAllFkItems"] = Processor.process_getAllFkItems
6186
    self._processMap["getAllFkItems"] = Processor.process_getAllFkItems
6052
    self._processMap["getFlipkartItemBySkyAtFlipkart"] = Processor.process_getFlipkartItemBySkyAtFlipkart
6187
    self._processMap["getFlipkartItemBySkyAtFlipkart"] = Processor.process_getFlipkartItemBySkyAtFlipkart
-
 
6188
    self._processMap["getMarketplaceHistory"] = Processor.process_getMarketplaceHistory
6053
    self._processMap["getAllFbbListedItems"] = Processor.process_getAllFbbListedItems
6189
    self._processMap["getAllFbbListedItems"] = Processor.process_getAllFbbListedItems
6054
    self._processMap["getAllFbbPricingItems"] = Processor.process_getAllFbbPricingItems
6190
    self._processMap["getAllFbbPricingItems"] = Processor.process_getAllFbbPricingItems
-
 
6191
    self._processMap["getCountForMarketplaceHistory"] = Processor.process_getCountForMarketplaceHistory
-
 
6192
    self._processMap["getMarketplaceHistoryByDate"] = Processor.process_getMarketplaceHistoryByDate
6055
 
6193
 
6056
  def process(self, iprot, oprot):
6194
  def process(self, iprot, oprot):
6057
    (name, type, seqid) = iprot.readMessageBegin()
6195
    (name, type, seqid) = iprot.readMessageBegin()
6058
    if name not in self._processMap:
6196
    if name not in self._processMap:
6059
      iprot.skip(TType.STRUCT)
6197
      iprot.skip(TType.STRUCT)
Line 7889... Line 8027...
7889
    oprot.writeMessageBegin("getFlipkartItemBySkyAtFlipkart", TMessageType.REPLY, seqid)
8027
    oprot.writeMessageBegin("getFlipkartItemBySkyAtFlipkart", TMessageType.REPLY, seqid)
7890
    result.write(oprot)
8028
    result.write(oprot)
7891
    oprot.writeMessageEnd()
8029
    oprot.writeMessageEnd()
7892
    oprot.trans.flush()
8030
    oprot.trans.flush()
7893
 
8031
 
-
 
8032
  def process_getMarketplaceHistory(self, seqid, iprot, oprot):
-
 
8033
    args = getMarketplaceHistory_args()
-
 
8034
    args.read(iprot)
-
 
8035
    iprot.readMessageEnd()
-
 
8036
    result = getMarketplaceHistory_result()
-
 
8037
    result.success = self._handler.getMarketplaceHistory(args.source, args.offset, args.itemId)
-
 
8038
    oprot.writeMessageBegin("getMarketplaceHistory", TMessageType.REPLY, seqid)
-
 
8039
    result.write(oprot)
-
 
8040
    oprot.writeMessageEnd()
-
 
8041
    oprot.trans.flush()
-
 
8042
 
7894
  def process_getAllFbbListedItems(self, seqid, iprot, oprot):
8043
  def process_getAllFbbListedItems(self, seqid, iprot, oprot):
7895
    args = getAllFbbListedItems_args()
8044
    args = getAllFbbListedItems_args()
7896
    args.read(iprot)
8045
    args.read(iprot)
7897
    iprot.readMessageEnd()
8046
    iprot.readMessageEnd()
7898
    result = getAllFbbListedItems_result()
8047
    result = getAllFbbListedItems_result()
Line 7911... Line 8060...
7911
    oprot.writeMessageBegin("getAllFbbPricingItems", TMessageType.REPLY, seqid)
8060
    oprot.writeMessageBegin("getAllFbbPricingItems", TMessageType.REPLY, seqid)
7912
    result.write(oprot)
8061
    result.write(oprot)
7913
    oprot.writeMessageEnd()
8062
    oprot.writeMessageEnd()
7914
    oprot.trans.flush()
8063
    oprot.trans.flush()
7915
 
8064
 
-
 
8065
  def process_getCountForMarketplaceHistory(self, seqid, iprot, oprot):
-
 
8066
    args = getCountForMarketplaceHistory_args()
-
 
8067
    args.read(iprot)
-
 
8068
    iprot.readMessageEnd()
-
 
8069
    result = getCountForMarketplaceHistory_result()
-
 
8070
    result.success = self._handler.getCountForMarketplaceHistory(args.source, args.itemId)
-
 
8071
    oprot.writeMessageBegin("getCountForMarketplaceHistory", TMessageType.REPLY, seqid)
-
 
8072
    result.write(oprot)
-
 
8073
    oprot.writeMessageEnd()
-
 
8074
    oprot.trans.flush()
-
 
8075
 
-
 
8076
  def process_getMarketplaceHistoryByDate(self, seqid, iprot, oprot):
-
 
8077
    args = getMarketplaceHistoryByDate_args()
-
 
8078
    args.read(iprot)
-
 
8079
    iprot.readMessageEnd()
-
 
8080
    result = getMarketplaceHistoryByDate_result()
-
 
8081
    result.success = self._handler.getMarketplaceHistoryByDate(args.source, args.startDate, args.endDate, args.offset, args.limit, args.itemId)
-
 
8082
    oprot.writeMessageBegin("getMarketplaceHistoryByDate", TMessageType.REPLY, seqid)
-
 
8083
    result.write(oprot)
-
 
8084
    oprot.writeMessageEnd()
-
 
8085
    oprot.trans.flush()
-
 
8086
 
7916
 
8087
 
7917
# HELPER FUNCTIONS AND STRUCTURES
8088
# HELPER FUNCTIONS AND STRUCTURES
7918
 
8089
 
7919
class addItem_args:
8090
class addItem_args:
7920
  """
8091
  """
Line 27368... Line 27539...
27368
  """
27539
  """
27369
  Attributes:
27540
  Attributes:
27370
   - sku
27541
   - sku
27371
  """
27542
  """
27372
 
27543
 
27373
  thrift_spec = None
27544
  thrift_spec = (
-
 
27545
    None, # 0
-
 
27546
    (1, TType.STRING, 'sku', None, None, ), # 1
-
 
27547
  )
-
 
27548
 
27374
  def __init__(self, sku=None,):
27549
  def __init__(self, sku=None,):
27375
    self.sku = sku
27550
    self.sku = sku
27376
 
27551
 
27377
  def read(self, iprot):
27552
  def read(self, iprot):
27378
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27553
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
Line 27381... Line 27556...
27381
    iprot.readStructBegin()
27556
    iprot.readStructBegin()
27382
    while True:
27557
    while True:
27383
      (fname, ftype, fid) = iprot.readFieldBegin()
27558
      (fname, ftype, fid) = iprot.readFieldBegin()
27384
      if ftype == TType.STOP:
27559
      if ftype == TType.STOP:
27385
        break
27560
        break
27386
      if fid == -1:
27561
      if fid == 1:
27387
        if ftype == TType.STRING:
27562
        if ftype == TType.STRING:
27388
          self.sku = iprot.readString();
27563
          self.sku = iprot.readString();
27389
        else:
27564
        else:
27390
          iprot.skip(ftype)
27565
          iprot.skip(ftype)
27391
      else:
27566
      else:
Line 27397... Line 27572...
27397
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27572
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27398
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27573
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27399
      return
27574
      return
27400
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_args')
27575
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_args')
27401
    if self.sku is not None:
27576
    if self.sku is not None:
27402
      oprot.writeFieldBegin('sku', TType.STRING, -1)
27577
      oprot.writeFieldBegin('sku', TType.STRING, 1)
27403
      oprot.writeString(self.sku)
27578
      oprot.writeString(self.sku)
27404
      oprot.writeFieldEnd()
27579
      oprot.writeFieldEnd()
27405
    oprot.writeFieldStop()
27580
    oprot.writeFieldStop()
27406
    oprot.writeStructEnd()
27581
    oprot.writeStructEnd()
27407
 
27582
 
Line 27478... Line 27653...
27478
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27653
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27479
 
27654
 
27480
  def __ne__(self, other):
27655
  def __ne__(self, other):
27481
    return not (self == other)
27656
    return not (self == other)
27482
 
27657
 
27483
class getAllFbbListedItems_args:
27658
class getMarketplaceHistory_args:
-
 
27659
  """
-
 
27660
  Attributes:
-
 
27661
   - source
-
 
27662
   - offset
-
 
27663
   - itemId
-
 
27664
  """
27484
 
27665
 
27485
  thrift_spec = (
27666
  thrift_spec = (
-
 
27667
    None, # 0
-
 
27668
    (1, TType.I64, 'source', None, None, ), # 1
-
 
27669
    (2, TType.I64, 'offset', None, None, ), # 2
-
 
27670
    (3, TType.I64, 'itemId', None, None, ), # 3
27486
  )
27671
  )
27487
 
27672
 
-
 
27673
  def __init__(self, source=None, offset=None, itemId=None,):
-
 
27674
    self.source = source
-
 
27675
    self.offset = offset
-
 
27676
    self.itemId = itemId
-
 
27677
 
27488
  def read(self, iprot):
27678
  def read(self, iprot):
27489
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27679
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27490
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27680
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27491
      return
27681
      return
27492
    iprot.readStructBegin()
27682
    iprot.readStructBegin()
27493
    while True:
27683
    while True:
27494
      (fname, ftype, fid) = iprot.readFieldBegin()
27684
      (fname, ftype, fid) = iprot.readFieldBegin()
27495
      if ftype == TType.STOP:
27685
      if ftype == TType.STOP:
27496
        break
27686
        break
-
 
27687
      if fid == 1:
-
 
27688
        if ftype == TType.I64:
-
 
27689
          self.source = iprot.readI64();
-
 
27690
        else:
-
 
27691
          iprot.skip(ftype)
-
 
27692
      elif fid == 2:
-
 
27693
        if ftype == TType.I64:
-
 
27694
          self.offset = iprot.readI64();
-
 
27695
        else:
-
 
27696
          iprot.skip(ftype)
-
 
27697
      elif fid == 3:
-
 
27698
        if ftype == TType.I64:
-
 
27699
          self.itemId = iprot.readI64();
-
 
27700
        else:
-
 
27701
          iprot.skip(ftype)
27497
      else:
27702
      else:
27498
        iprot.skip(ftype)
27703
        iprot.skip(ftype)
27499
      iprot.readFieldEnd()
27704
      iprot.readFieldEnd()
27500
    iprot.readStructEnd()
27705
    iprot.readStructEnd()
27501
 
27706
 
27502
  def write(self, oprot):
27707
  def write(self, oprot):
27503
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27708
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27504
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27709
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27505
      return
27710
      return
27506
    oprot.writeStructBegin('getAllFbbListedItems_args')
27711
    oprot.writeStructBegin('getMarketplaceHistory_args')
-
 
27712
    if self.source is not None:
-
 
27713
      oprot.writeFieldBegin('source', TType.I64, 1)
-
 
27714
      oprot.writeI64(self.source)
-
 
27715
      oprot.writeFieldEnd()
-
 
27716
    if self.offset is not None:
-
 
27717
      oprot.writeFieldBegin('offset', TType.I64, 2)
-
 
27718
      oprot.writeI64(self.offset)
-
 
27719
      oprot.writeFieldEnd()
-
 
27720
    if self.itemId is not None:
-
 
27721
      oprot.writeFieldBegin('itemId', TType.I64, 3)
-
 
27722
      oprot.writeI64(self.itemId)
-
 
27723
      oprot.writeFieldEnd()
27507
    oprot.writeFieldStop()
27724
    oprot.writeFieldStop()
27508
    oprot.writeStructEnd()
27725
    oprot.writeStructEnd()
27509
 
27726
 
27510
  def validate(self):
27727
  def validate(self):
27511
    return
27728
    return
Line 27520... Line 27737...
27520
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27737
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27521
 
27738
 
27522
  def __ne__(self, other):
27739
  def __ne__(self, other):
27523
    return not (self == other)
27740
    return not (self == other)
27524
 
27741
 
27525
class getAllFbbListedItems_result:
27742
class getMarketplaceHistory_result:
27526
  """
27743
  """
27527
  Attributes:
27744
  Attributes:
27528
   - success
27745
   - success
27529
  """
27746
  """
27530
 
27747
 
27531
  thrift_spec = (
27748
  thrift_spec = (
27532
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
27749
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
27533
  )
27750
  )
27534
 
27751
 
27535
  def __init__(self, success=None,):
27752
  def __init__(self, success=None,):
27536
    self.success = success
27753
    self.success = success
27537
 
27754
 
Line 27547... Line 27764...
27547
      if fid == 0:
27764
      if fid == 0:
27548
        if ftype == TType.LIST:
27765
        if ftype == TType.LIST:
27549
          self.success = []
27766
          self.success = []
27550
          (_etype623, _size620) = iprot.readListBegin()
27767
          (_etype623, _size620) = iprot.readListBegin()
27551
          for _i624 in xrange(_size620):
27768
          for _i624 in xrange(_size620):
27552
            _elem625 = Amazonlisted()
27769
            _elem625 = MarketplaceHistory()
27553
            _elem625.read(iprot)
27770
            _elem625.read(iprot)
27554
            self.success.append(_elem625)
27771
            self.success.append(_elem625)
27555
          iprot.readListEnd()
27772
          iprot.readListEnd()
27556
        else:
27773
        else:
27557
          iprot.skip(ftype)
27774
          iprot.skip(ftype)
Line 27562... Line 27779...
27562
 
27779
 
27563
  def write(self, oprot):
27780
  def write(self, oprot):
27564
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27781
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27565
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27782
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27566
      return
27783
      return
27567
    oprot.writeStructBegin('getAllFbbListedItems_result')
27784
    oprot.writeStructBegin('getMarketplaceHistory_result')
27568
    if self.success is not None:
27785
    if self.success is not None:
27569
      oprot.writeFieldBegin('success', TType.LIST, 0)
27786
      oprot.writeFieldBegin('success', TType.LIST, 0)
27570
      oprot.writeListBegin(TType.STRUCT, len(self.success))
27787
      oprot.writeListBegin(TType.STRUCT, len(self.success))
27571
      for iter626 in self.success:
27788
      for iter626 in self.success:
27572
        iter626.write(oprot)
27789
        iter626.write(oprot)
Line 27588... Line 27805...
27588
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27805
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27589
 
27806
 
27590
  def __ne__(self, other):
27807
  def __ne__(self, other):
27591
    return not (self == other)
27808
    return not (self == other)
27592
 
27809
 
27593
class getAllFbbPricingItems_args:
27810
class getAllFbbListedItems_args:
27594
 
27811
 
27595
  thrift_spec = (
27812
  thrift_spec = (
27596
  )
27813
  )
27597
 
27814
 
27598
  def read(self, iprot):
27815
  def read(self, iprot):
Line 27611... Line 27828...
27611
 
27828
 
27612
  def write(self, oprot):
27829
  def write(self, oprot):
27613
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27830
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27614
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27831
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27615
      return
27832
      return
27616
    oprot.writeStructBegin('getAllFbbPricingItems_args')
27833
    oprot.writeStructBegin('getAllFbbListedItems_args')
27617
    oprot.writeFieldStop()
27834
    oprot.writeFieldStop()
27618
    oprot.writeStructEnd()
27835
    oprot.writeStructEnd()
27619
 
27836
 
27620
  def validate(self):
27837
  def validate(self):
27621
    return
27838
    return
Line 27630... Line 27847...
27630
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27847
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27631
 
27848
 
27632
  def __ne__(self, other):
27849
  def __ne__(self, other):
27633
    return not (self == other)
27850
    return not (self == other)
27634
 
27851
 
27635
class getAllFbbPricingItems_result:
27852
class getAllFbbListedItems_result:
27636
  """
27853
  """
27637
  Attributes:
27854
  Attributes:
27638
   - success
27855
   - success
27639
  """
27856
  """
27640
 
27857
 
Line 27672... Line 27889...
27672
 
27889
 
27673
  def write(self, oprot):
27890
  def write(self, oprot):
27674
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27891
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27675
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27892
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27676
      return
27893
      return
27677
    oprot.writeStructBegin('getAllFbbPricingItems_result')
27894
    oprot.writeStructBegin('getAllFbbListedItems_result')
27678
    if self.success is not None:
27895
    if self.success is not None:
27679
      oprot.writeFieldBegin('success', TType.LIST, 0)
27896
      oprot.writeFieldBegin('success', TType.LIST, 0)
27680
      oprot.writeListBegin(TType.STRUCT, len(self.success))
27897
      oprot.writeListBegin(TType.STRUCT, len(self.success))
27681
      for iter633 in self.success:
27898
      for iter633 in self.success:
27682
        iter633.write(oprot)
27899
        iter633.write(oprot)
27683
      oprot.writeListEnd()
27900
      oprot.writeListEnd()
27684
      oprot.writeFieldEnd()
27901
      oprot.writeFieldEnd()
27685
    oprot.writeFieldStop()
27902
    oprot.writeFieldStop()
27686
    oprot.writeStructEnd()
27903
    oprot.writeStructEnd()
27687
 
27904
 
-
 
27905
  def validate(self):
-
 
27906
    return
-
 
27907
 
-
 
27908
 
-
 
27909
  def __repr__(self):
-
 
27910
    L = ['%s=%r' % (key, value)
-
 
27911
      for key, value in self.__dict__.iteritems()]
-
 
27912
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
27913
 
-
 
27914
  def __eq__(self, other):
-
 
27915
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
27916
 
-
 
27917
  def __ne__(self, other):
-
 
27918
    return not (self == other)
-
 
27919
 
-
 
27920
class getAllFbbPricingItems_args:
-
 
27921
 
-
 
27922
  thrift_spec = (
-
 
27923
  )
-
 
27924
 
-
 
27925
  def read(self, iprot):
-
 
27926
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
27927
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
27928
      return
-
 
27929
    iprot.readStructBegin()
-
 
27930
    while True:
-
 
27931
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
27932
      if ftype == TType.STOP:
-
 
27933
        break
-
 
27934
      else:
-
 
27935
        iprot.skip(ftype)
-
 
27936
      iprot.readFieldEnd()
-
 
27937
    iprot.readStructEnd()
-
 
27938
 
-
 
27939
  def write(self, oprot):
-
 
27940
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
27941
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
27942
      return
-
 
27943
    oprot.writeStructBegin('getAllFbbPricingItems_args')
-
 
27944
    oprot.writeFieldStop()
-
 
27945
    oprot.writeStructEnd()
-
 
27946
 
-
 
27947
  def validate(self):
-
 
27948
    return
-
 
27949
 
-
 
27950
 
-
 
27951
  def __repr__(self):
-
 
27952
    L = ['%s=%r' % (key, value)
-
 
27953
      for key, value in self.__dict__.iteritems()]
-
 
27954
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
27955
 
-
 
27956
  def __eq__(self, other):
-
 
27957
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
27958
 
-
 
27959
  def __ne__(self, other):
-
 
27960
    return not (self == other)
-
 
27961
 
-
 
27962
class getAllFbbPricingItems_result:
-
 
27963
  """
-
 
27964
  Attributes:
-
 
27965
   - success
-
 
27966
  """
-
 
27967
 
-
 
27968
  thrift_spec = (
-
 
27969
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
-
 
27970
  )
-
 
27971
 
-
 
27972
  def __init__(self, success=None,):
-
 
27973
    self.success = success
-
 
27974
 
-
 
27975
  def read(self, iprot):
-
 
27976
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
27977
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
27978
      return
-
 
27979
    iprot.readStructBegin()
-
 
27980
    while True:
-
 
27981
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
27982
      if ftype == TType.STOP:
-
 
27983
        break
-
 
27984
      if fid == 0:
-
 
27985
        if ftype == TType.LIST:
-
 
27986
          self.success = []
-
 
27987
          (_etype637, _size634) = iprot.readListBegin()
-
 
27988
          for _i638 in xrange(_size634):
-
 
27989
            _elem639 = Amazonlisted()
-
 
27990
            _elem639.read(iprot)
-
 
27991
            self.success.append(_elem639)
-
 
27992
          iprot.readListEnd()
-
 
27993
        else:
-
 
27994
          iprot.skip(ftype)
-
 
27995
      else:
-
 
27996
        iprot.skip(ftype)
-
 
27997
      iprot.readFieldEnd()
-
 
27998
    iprot.readStructEnd()
-
 
27999
 
-
 
28000
  def write(self, oprot):
-
 
28001
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
28002
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
28003
      return
-
 
28004
    oprot.writeStructBegin('getAllFbbPricingItems_result')
-
 
28005
    if self.success is not None:
-
 
28006
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
28007
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
28008
      for iter640 in self.success:
-
 
28009
        iter640.write(oprot)
-
 
28010
      oprot.writeListEnd()
-
 
28011
      oprot.writeFieldEnd()
-
 
28012
    oprot.writeFieldStop()
-
 
28013
    oprot.writeStructEnd()
-
 
28014
 
-
 
28015
  def validate(self):
-
 
28016
    return
-
 
28017
 
-
 
28018
 
-
 
28019
  def __repr__(self):
-
 
28020
    L = ['%s=%r' % (key, value)
-
 
28021
      for key, value in self.__dict__.iteritems()]
-
 
28022
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
28023
 
-
 
28024
  def __eq__(self, other):
-
 
28025
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
28026
 
-
 
28027
  def __ne__(self, other):
-
 
28028
    return not (self == other)
-
 
28029
 
-
 
28030
class getCountForMarketplaceHistory_args:
-
 
28031
  """
-
 
28032
  Attributes:
-
 
28033
   - source
-
 
28034
   - itemId
-
 
28035
  """
-
 
28036
 
-
 
28037
  thrift_spec = (
-
 
28038
    None, # 0
-
 
28039
    (1, TType.I64, 'source', None, None, ), # 1
-
 
28040
    (2, TType.I64, 'itemId', None, None, ), # 2
-
 
28041
  )
-
 
28042
 
-
 
28043
  def __init__(self, source=None, itemId=None,):
-
 
28044
    self.source = source
-
 
28045
    self.itemId = itemId
-
 
28046
 
-
 
28047
  def read(self, iprot):
-
 
28048
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
28049
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
28050
      return
-
 
28051
    iprot.readStructBegin()
-
 
28052
    while True:
-
 
28053
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
28054
      if ftype == TType.STOP:
-
 
28055
        break
-
 
28056
      if fid == 1:
-
 
28057
        if ftype == TType.I64:
-
 
28058
          self.source = iprot.readI64();
-
 
28059
        else:
-
 
28060
          iprot.skip(ftype)
-
 
28061
      elif fid == 2:
-
 
28062
        if ftype == TType.I64:
-
 
28063
          self.itemId = iprot.readI64();
-
 
28064
        else:
-
 
28065
          iprot.skip(ftype)
-
 
28066
      else:
-
 
28067
        iprot.skip(ftype)
-
 
28068
      iprot.readFieldEnd()
-
 
28069
    iprot.readStructEnd()
-
 
28070
 
-
 
28071
  def write(self, oprot):
-
 
28072
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
28073
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
28074
      return
-
 
28075
    oprot.writeStructBegin('getCountForMarketplaceHistory_args')
-
 
28076
    if self.source is not None:
-
 
28077
      oprot.writeFieldBegin('source', TType.I64, 1)
-
 
28078
      oprot.writeI64(self.source)
-
 
28079
      oprot.writeFieldEnd()
-
 
28080
    if self.itemId is not None:
-
 
28081
      oprot.writeFieldBegin('itemId', TType.I64, 2)
-
 
28082
      oprot.writeI64(self.itemId)
-
 
28083
      oprot.writeFieldEnd()
-
 
28084
    oprot.writeFieldStop()
-
 
28085
    oprot.writeStructEnd()
-
 
28086
 
-
 
28087
  def validate(self):
-
 
28088
    return
-
 
28089
 
-
 
28090
 
-
 
28091
  def __repr__(self):
-
 
28092
    L = ['%s=%r' % (key, value)
-
 
28093
      for key, value in self.__dict__.iteritems()]
-
 
28094
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
28095
 
-
 
28096
  def __eq__(self, other):
-
 
28097
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
28098
 
-
 
28099
  def __ne__(self, other):
-
 
28100
    return not (self == other)
-
 
28101
 
-
 
28102
class getCountForMarketplaceHistory_result:
-
 
28103
  """
-
 
28104
  Attributes:
-
 
28105
   - success
-
 
28106
  """
-
 
28107
 
-
 
28108
  thrift_spec = (
-
 
28109
    (0, TType.I64, 'success', None, None, ), # 0
-
 
28110
  )
-
 
28111
 
-
 
28112
  def __init__(self, success=None,):
-
 
28113
    self.success = success
-
 
28114
 
-
 
28115
  def read(self, iprot):
-
 
28116
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
28117
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
28118
      return
-
 
28119
    iprot.readStructBegin()
-
 
28120
    while True:
-
 
28121
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
28122
      if ftype == TType.STOP:
-
 
28123
        break
-
 
28124
      if fid == 0:
-
 
28125
        if ftype == TType.I64:
-
 
28126
          self.success = iprot.readI64();
-
 
28127
        else:
-
 
28128
          iprot.skip(ftype)
-
 
28129
      else:
-
 
28130
        iprot.skip(ftype)
-
 
28131
      iprot.readFieldEnd()
-
 
28132
    iprot.readStructEnd()
-
 
28133
 
-
 
28134
  def write(self, oprot):
-
 
28135
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
28136
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
28137
      return
-
 
28138
    oprot.writeStructBegin('getCountForMarketplaceHistory_result')
-
 
28139
    if self.success is not None:
-
 
28140
      oprot.writeFieldBegin('success', TType.I64, 0)
-
 
28141
      oprot.writeI64(self.success)
-
 
28142
      oprot.writeFieldEnd()
-
 
28143
    oprot.writeFieldStop()
-
 
28144
    oprot.writeStructEnd()
-
 
28145
 
-
 
28146
  def validate(self):
-
 
28147
    return
-
 
28148
 
-
 
28149
 
-
 
28150
  def __repr__(self):
-
 
28151
    L = ['%s=%r' % (key, value)
-
 
28152
      for key, value in self.__dict__.iteritems()]
-
 
28153
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
28154
 
-
 
28155
  def __eq__(self, other):
-
 
28156
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
28157
 
-
 
28158
  def __ne__(self, other):
-
 
28159
    return not (self == other)
-
 
28160
 
-
 
28161
class getMarketplaceHistoryByDate_args:
-
 
28162
  """
-
 
28163
  Attributes:
-
 
28164
   - source
-
 
28165
   - startDate
-
 
28166
   - endDate
-
 
28167
   - offset
-
 
28168
   - limit
-
 
28169
   - itemId
-
 
28170
  """
-
 
28171
 
-
 
28172
  thrift_spec = (
-
 
28173
    None, # 0
-
 
28174
    (1, TType.I64, 'source', None, None, ), # 1
-
 
28175
    (2, TType.I64, 'startDate', None, None, ), # 2
-
 
28176
    (3, TType.I64, 'endDate', None, None, ), # 3
-
 
28177
    (4, TType.I64, 'offset', None, None, ), # 4
-
 
28178
    (5, TType.I64, 'limit', None, None, ), # 5
-
 
28179
    (6, TType.I64, 'itemId', None, None, ), # 6
-
 
28180
  )
-
 
28181
 
-
 
28182
  def __init__(self, source=None, startDate=None, endDate=None, offset=None, limit=None, itemId=None,):
-
 
28183
    self.source = source
-
 
28184
    self.startDate = startDate
-
 
28185
    self.endDate = endDate
-
 
28186
    self.offset = offset
-
 
28187
    self.limit = limit
-
 
28188
    self.itemId = itemId
-
 
28189
 
-
 
28190
  def read(self, iprot):
-
 
28191
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
28192
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
28193
      return
-
 
28194
    iprot.readStructBegin()
-
 
28195
    while True:
-
 
28196
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
28197
      if ftype == TType.STOP:
-
 
28198
        break
-
 
28199
      if fid == 1:
-
 
28200
        if ftype == TType.I64:
-
 
28201
          self.source = iprot.readI64();
-
 
28202
        else:
-
 
28203
          iprot.skip(ftype)
-
 
28204
      elif fid == 2:
-
 
28205
        if ftype == TType.I64:
-
 
28206
          self.startDate = iprot.readI64();
-
 
28207
        else:
-
 
28208
          iprot.skip(ftype)
-
 
28209
      elif fid == 3:
-
 
28210
        if ftype == TType.I64:
-
 
28211
          self.endDate = iprot.readI64();
-
 
28212
        else:
-
 
28213
          iprot.skip(ftype)
-
 
28214
      elif fid == 4:
-
 
28215
        if ftype == TType.I64:
-
 
28216
          self.offset = iprot.readI64();
-
 
28217
        else:
-
 
28218
          iprot.skip(ftype)
-
 
28219
      elif fid == 5:
-
 
28220
        if ftype == TType.I64:
-
 
28221
          self.limit = iprot.readI64();
-
 
28222
        else:
-
 
28223
          iprot.skip(ftype)
-
 
28224
      elif fid == 6:
-
 
28225
        if ftype == TType.I64:
-
 
28226
          self.itemId = iprot.readI64();
-
 
28227
        else:
-
 
28228
          iprot.skip(ftype)
-
 
28229
      else:
-
 
28230
        iprot.skip(ftype)
-
 
28231
      iprot.readFieldEnd()
-
 
28232
    iprot.readStructEnd()
-
 
28233
 
-
 
28234
  def write(self, oprot):
-
 
28235
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
28236
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
28237
      return
-
 
28238
    oprot.writeStructBegin('getMarketplaceHistoryByDate_args')
-
 
28239
    if self.source is not None:
-
 
28240
      oprot.writeFieldBegin('source', TType.I64, 1)
-
 
28241
      oprot.writeI64(self.source)
-
 
28242
      oprot.writeFieldEnd()
-
 
28243
    if self.startDate is not None:
-
 
28244
      oprot.writeFieldBegin('startDate', TType.I64, 2)
-
 
28245
      oprot.writeI64(self.startDate)
-
 
28246
      oprot.writeFieldEnd()
-
 
28247
    if self.endDate is not None:
-
 
28248
      oprot.writeFieldBegin('endDate', TType.I64, 3)
-
 
28249
      oprot.writeI64(self.endDate)
-
 
28250
      oprot.writeFieldEnd()
-
 
28251
    if self.offset is not None:
-
 
28252
      oprot.writeFieldBegin('offset', TType.I64, 4)
-
 
28253
      oprot.writeI64(self.offset)
-
 
28254
      oprot.writeFieldEnd()
-
 
28255
    if self.limit is not None:
-
 
28256
      oprot.writeFieldBegin('limit', TType.I64, 5)
-
 
28257
      oprot.writeI64(self.limit)
-
 
28258
      oprot.writeFieldEnd()
-
 
28259
    if self.itemId is not None:
-
 
28260
      oprot.writeFieldBegin('itemId', TType.I64, 6)
-
 
28261
      oprot.writeI64(self.itemId)
-
 
28262
      oprot.writeFieldEnd()
-
 
28263
    oprot.writeFieldStop()
-
 
28264
    oprot.writeStructEnd()
-
 
28265
 
-
 
28266
  def validate(self):
-
 
28267
    return
-
 
28268
 
-
 
28269
 
-
 
28270
  def __repr__(self):
-
 
28271
    L = ['%s=%r' % (key, value)
-
 
28272
      for key, value in self.__dict__.iteritems()]
-
 
28273
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
28274
 
-
 
28275
  def __eq__(self, other):
-
 
28276
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
28277
 
-
 
28278
  def __ne__(self, other):
-
 
28279
    return not (self == other)
-
 
28280
 
-
 
28281
class getMarketplaceHistoryByDate_result:
-
 
28282
  """
-
 
28283
  Attributes:
-
 
28284
   - success
-
 
28285
  """
-
 
28286
 
-
 
28287
  thrift_spec = (
-
 
28288
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
-
 
28289
  )
-
 
28290
 
-
 
28291
  def __init__(self, success=None,):
-
 
28292
    self.success = success
-
 
28293
 
-
 
28294
  def read(self, iprot):
-
 
28295
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
28296
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
28297
      return
-
 
28298
    iprot.readStructBegin()
-
 
28299
    while True:
-
 
28300
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
28301
      if ftype == TType.STOP:
-
 
28302
        break
-
 
28303
      if fid == 0:
-
 
28304
        if ftype == TType.LIST:
-
 
28305
          self.success = []
-
 
28306
          (_etype644, _size641) = iprot.readListBegin()
-
 
28307
          for _i645 in xrange(_size641):
-
 
28308
            _elem646 = MarketplaceHistory()
-
 
28309
            _elem646.read(iprot)
-
 
28310
            self.success.append(_elem646)
-
 
28311
          iprot.readListEnd()
-
 
28312
        else:
-
 
28313
          iprot.skip(ftype)
-
 
28314
      else:
-
 
28315
        iprot.skip(ftype)
-
 
28316
      iprot.readFieldEnd()
-
 
28317
    iprot.readStructEnd()
-
 
28318
 
-
 
28319
  def write(self, oprot):
-
 
28320
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
28321
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
28322
      return
-
 
28323
    oprot.writeStructBegin('getMarketplaceHistoryByDate_result')
-
 
28324
    if self.success is not None:
-
 
28325
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
28326
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
28327
      for iter647 in self.success:
-
 
28328
        iter647.write(oprot)
-
 
28329
      oprot.writeListEnd()
-
 
28330
      oprot.writeFieldEnd()
-
 
28331
    oprot.writeFieldStop()
-
 
28332
    oprot.writeStructEnd()
-
 
28333
 
27688
  def validate(self):
28334
  def validate(self):
27689
    return
28335
    return
27690
 
28336
 
27691
 
28337
 
27692
  def __repr__(self):
28338
  def __repr__(self):