Subversion Repositories SmartDukaan

Rev

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

Rev 9456 Rev 9621
Line 962... Line 962...
962
    Parameters:
962
    Parameters:
963
     - skuAtSnapdeal
963
     - skuAtSnapdeal
964
    """
964
    """
965
    pass
965
    pass
966
 
966
 
-
 
967
  def getProductFeedSubmit(self, catalogItemId):
-
 
968
    """
-
 
969
    Parameters:
-
 
970
     - catalogItemId
-
 
971
    """
-
 
972
    pass
-
 
973
 
-
 
974
  def addProductFeedSubmit(self, productFeedSubmit):
-
 
975
    """
-
 
976
    Parameters:
-
 
977
     - productFeedSubmit
-
 
978
    """
-
 
979
    pass
-
 
980
 
-
 
981
  def updateProductFeedSubmit(self, productFeedSubmit):
-
 
982
    """
-
 
983
    Parameters:
-
 
984
     - productFeedSubmit
-
 
985
    """
-
 
986
    pass
-
 
987
 
-
 
988
  def deleteProductFeedSubmit(self, catalogItemId):
-
 
989
    """
-
 
990
    Parameters:
-
 
991
     - catalogItemId
-
 
992
    """
-
 
993
    pass
-
 
994
 
-
 
995
  def getAllProductFeedSubmit(self, ):
-
 
996
    pass
-
 
997
 
967
 
998
 
968
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
999
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
969
  def __init__(self, iprot, oprot=None):
1000
  def __init__(self, iprot, oprot=None):
970
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1001
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
971
 
1002
 
Line 5023... Line 5054...
5023
    self._iprot.readMessageEnd()
5054
    self._iprot.readMessageEnd()
5024
    if result.success is not None:
5055
    if result.success is not None:
5025
      return result.success
5056
      return result.success
5026
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItembySkuAtSnapdeal failed: unknown result");
5057
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItembySkuAtSnapdeal failed: unknown result");
5027
 
5058
 
-
 
5059
  def getProductFeedSubmit(self, catalogItemId):
-
 
5060
    """
-
 
5061
    Parameters:
-
 
5062
     - catalogItemId
-
 
5063
    """
-
 
5064
    self.send_getProductFeedSubmit(catalogItemId)
-
 
5065
    return self.recv_getProductFeedSubmit()
-
 
5066
 
-
 
5067
  def send_getProductFeedSubmit(self, catalogItemId):
-
 
5068
    self._oprot.writeMessageBegin('getProductFeedSubmit', TMessageType.CALL, self._seqid)
-
 
5069
    args = getProductFeedSubmit_args()
-
 
5070
    args.catalogItemId = catalogItemId
-
 
5071
    args.write(self._oprot)
-
 
5072
    self._oprot.writeMessageEnd()
-
 
5073
    self._oprot.trans.flush()
-
 
5074
 
-
 
5075
  def recv_getProductFeedSubmit(self, ):
-
 
5076
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5077
    if mtype == TMessageType.EXCEPTION:
-
 
5078
      x = TApplicationException()
-
 
5079
      x.read(self._iprot)
-
 
5080
      self._iprot.readMessageEnd()
-
 
5081
      raise x
-
 
5082
    result = getProductFeedSubmit_result()
-
 
5083
    result.read(self._iprot)
-
 
5084
    self._iprot.readMessageEnd()
-
 
5085
    if result.success is not None:
-
 
5086
      return result.success
-
 
5087
    if result.cex is not None:
-
 
5088
      raise result.cex
-
 
5089
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductFeedSubmit failed: unknown result");
-
 
5090
 
-
 
5091
  def addProductFeedSubmit(self, productFeedSubmit):
-
 
5092
    """
-
 
5093
    Parameters:
-
 
5094
     - productFeedSubmit
-
 
5095
    """
-
 
5096
    self.send_addProductFeedSubmit(productFeedSubmit)
-
 
5097
    return self.recv_addProductFeedSubmit()
-
 
5098
 
-
 
5099
  def send_addProductFeedSubmit(self, productFeedSubmit):
-
 
5100
    self._oprot.writeMessageBegin('addProductFeedSubmit', TMessageType.CALL, self._seqid)
-
 
5101
    args = addProductFeedSubmit_args()
-
 
5102
    args.productFeedSubmit = productFeedSubmit
-
 
5103
    args.write(self._oprot)
-
 
5104
    self._oprot.writeMessageEnd()
-
 
5105
    self._oprot.trans.flush()
-
 
5106
 
-
 
5107
  def recv_addProductFeedSubmit(self, ):
-
 
5108
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5109
    if mtype == TMessageType.EXCEPTION:
-
 
5110
      x = TApplicationException()
-
 
5111
      x.read(self._iprot)
-
 
5112
      self._iprot.readMessageEnd()
-
 
5113
      raise x
-
 
5114
    result = addProductFeedSubmit_result()
-
 
5115
    result.read(self._iprot)
-
 
5116
    self._iprot.readMessageEnd()
-
 
5117
    if result.success is not None:
-
 
5118
      return result.success
-
 
5119
    if result.cex is not None:
-
 
5120
      raise result.cex
-
 
5121
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductFeedSubmit failed: unknown result");
-
 
5122
 
-
 
5123
  def updateProductFeedSubmit(self, productFeedSubmit):
-
 
5124
    """
-
 
5125
    Parameters:
-
 
5126
     - productFeedSubmit
-
 
5127
    """
-
 
5128
    self.send_updateProductFeedSubmit(productFeedSubmit)
-
 
5129
    return self.recv_updateProductFeedSubmit()
-
 
5130
 
-
 
5131
  def send_updateProductFeedSubmit(self, productFeedSubmit):
-
 
5132
    self._oprot.writeMessageBegin('updateProductFeedSubmit', TMessageType.CALL, self._seqid)
-
 
5133
    args = updateProductFeedSubmit_args()
-
 
5134
    args.productFeedSubmit = productFeedSubmit
-
 
5135
    args.write(self._oprot)
-
 
5136
    self._oprot.writeMessageEnd()
-
 
5137
    self._oprot.trans.flush()
-
 
5138
 
-
 
5139
  def recv_updateProductFeedSubmit(self, ):
-
 
5140
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5141
    if mtype == TMessageType.EXCEPTION:
-
 
5142
      x = TApplicationException()
-
 
5143
      x.read(self._iprot)
-
 
5144
      self._iprot.readMessageEnd()
-
 
5145
      raise x
-
 
5146
    result = updateProductFeedSubmit_result()
-
 
5147
    result.read(self._iprot)
-
 
5148
    self._iprot.readMessageEnd()
-
 
5149
    if result.success is not None:
-
 
5150
      return result.success
-
 
5151
    if result.cex is not None:
-
 
5152
      raise result.cex
-
 
5153
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateProductFeedSubmit failed: unknown result");
-
 
5154
 
-
 
5155
  def deleteProductFeedSubmit(self, catalogItemId):
-
 
5156
    """
-
 
5157
    Parameters:
-
 
5158
     - catalogItemId
-
 
5159
    """
-
 
5160
    self.send_deleteProductFeedSubmit(catalogItemId)
-
 
5161
    return self.recv_deleteProductFeedSubmit()
-
 
5162
 
-
 
5163
  def send_deleteProductFeedSubmit(self, catalogItemId):
-
 
5164
    self._oprot.writeMessageBegin('deleteProductFeedSubmit', TMessageType.CALL, self._seqid)
-
 
5165
    args = deleteProductFeedSubmit_args()
-
 
5166
    args.catalogItemId = catalogItemId
-
 
5167
    args.write(self._oprot)
-
 
5168
    self._oprot.writeMessageEnd()
-
 
5169
    self._oprot.trans.flush()
-
 
5170
 
-
 
5171
  def recv_deleteProductFeedSubmit(self, ):
-
 
5172
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5173
    if mtype == TMessageType.EXCEPTION:
-
 
5174
      x = TApplicationException()
-
 
5175
      x.read(self._iprot)
-
 
5176
      self._iprot.readMessageEnd()
-
 
5177
      raise x
-
 
5178
    result = deleteProductFeedSubmit_result()
-
 
5179
    result.read(self._iprot)
-
 
5180
    self._iprot.readMessageEnd()
-
 
5181
    if result.success is not None:
-
 
5182
      return result.success
-
 
5183
    if result.cex is not None:
-
 
5184
      raise result.cex
-
 
5185
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteProductFeedSubmit failed: unknown result");
-
 
5186
 
-
 
5187
  def getAllProductFeedSubmit(self, ):
-
 
5188
    self.send_getAllProductFeedSubmit()
-
 
5189
    return self.recv_getAllProductFeedSubmit()
-
 
5190
 
-
 
5191
  def send_getAllProductFeedSubmit(self, ):
-
 
5192
    self._oprot.writeMessageBegin('getAllProductFeedSubmit', TMessageType.CALL, self._seqid)
-
 
5193
    args = getAllProductFeedSubmit_args()
-
 
5194
    args.write(self._oprot)
-
 
5195
    self._oprot.writeMessageEnd()
-
 
5196
    self._oprot.trans.flush()
-
 
5197
 
-
 
5198
  def recv_getAllProductFeedSubmit(self, ):
-
 
5199
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5200
    if mtype == TMessageType.EXCEPTION:
-
 
5201
      x = TApplicationException()
-
 
5202
      x.read(self._iprot)
-
 
5203
      self._iprot.readMessageEnd()
-
 
5204
      raise x
-
 
5205
    result = getAllProductFeedSubmit_result()
-
 
5206
    result.read(self._iprot)
-
 
5207
    self._iprot.readMessageEnd()
-
 
5208
    if result.success is not None:
-
 
5209
      return result.success
-
 
5210
    if result.cex is not None:
-
 
5211
      raise result.cex
-
 
5212
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllProductFeedSubmit failed: unknown result");
-
 
5213
 
5028
 
5214
 
5029
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
5215
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
5030
  def __init__(self, handler):
5216
  def __init__(self, handler):
5031
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
5217
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
5032
    self._processMap["addItem"] = Processor.process_addItem
5218
    self._processMap["addItem"] = Processor.process_addItem
Line 5159... Line 5345...
5159
    self._processMap["searchSnapdealItems"] = Processor.process_searchSnapdealItems
5345
    self._processMap["searchSnapdealItems"] = Processor.process_searchSnapdealItems
5160
    self._processMap["getCountForSnapdealItems"] = Processor.process_getCountForSnapdealItems
5346
    self._processMap["getCountForSnapdealItems"] = Processor.process_getCountForSnapdealItems
5161
    self._processMap["getSnapdealSearchResultCount"] = Processor.process_getSnapdealSearchResultCount
5347
    self._processMap["getSnapdealSearchResultCount"] = Processor.process_getSnapdealSearchResultCount
5162
    self._processMap["getPrefferedInsurerForItem"] = Processor.process_getPrefferedInsurerForItem
5348
    self._processMap["getPrefferedInsurerForItem"] = Processor.process_getPrefferedInsurerForItem
5163
    self._processMap["getSnapdealItembySkuAtSnapdeal"] = Processor.process_getSnapdealItembySkuAtSnapdeal
5349
    self._processMap["getSnapdealItembySkuAtSnapdeal"] = Processor.process_getSnapdealItembySkuAtSnapdeal
-
 
5350
    self._processMap["getProductFeedSubmit"] = Processor.process_getProductFeedSubmit
-
 
5351
    self._processMap["addProductFeedSubmit"] = Processor.process_addProductFeedSubmit
-
 
5352
    self._processMap["updateProductFeedSubmit"] = Processor.process_updateProductFeedSubmit
-
 
5353
    self._processMap["deleteProductFeedSubmit"] = Processor.process_deleteProductFeedSubmit
-
 
5354
    self._processMap["getAllProductFeedSubmit"] = Processor.process_getAllProductFeedSubmit
5164
 
5355
 
5165
  def process(self, iprot, oprot):
5356
  def process(self, iprot, oprot):
5166
    (name, type, seqid) = iprot.readMessageBegin()
5357
    (name, type, seqid) = iprot.readMessageBegin()
5167
    if name not in self._processMap:
5358
    if name not in self._processMap:
5168
      iprot.skip(TType.STRUCT)
5359
      iprot.skip(TType.STRUCT)
Line 6741... Line 6932...
6741
    oprot.writeMessageBegin("getSnapdealItembySkuAtSnapdeal", TMessageType.REPLY, seqid)
6932
    oprot.writeMessageBegin("getSnapdealItembySkuAtSnapdeal", TMessageType.REPLY, seqid)
6742
    result.write(oprot)
6933
    result.write(oprot)
6743
    oprot.writeMessageEnd()
6934
    oprot.writeMessageEnd()
6744
    oprot.trans.flush()
6935
    oprot.trans.flush()
6745
 
6936
 
-
 
6937
  def process_getProductFeedSubmit(self, seqid, iprot, oprot):
-
 
6938
    args = getProductFeedSubmit_args()
-
 
6939
    args.read(iprot)
-
 
6940
    iprot.readMessageEnd()
-
 
6941
    result = getProductFeedSubmit_result()
-
 
6942
    try:
-
 
6943
      result.success = self._handler.getProductFeedSubmit(args.catalogItemId)
-
 
6944
    except CatalogServiceException, cex:
-
 
6945
      result.cex = cex
-
 
6946
    oprot.writeMessageBegin("getProductFeedSubmit", TMessageType.REPLY, seqid)
-
 
6947
    result.write(oprot)
-
 
6948
    oprot.writeMessageEnd()
-
 
6949
    oprot.trans.flush()
-
 
6950
 
-
 
6951
  def process_addProductFeedSubmit(self, seqid, iprot, oprot):
-
 
6952
    args = addProductFeedSubmit_args()
-
 
6953
    args.read(iprot)
-
 
6954
    iprot.readMessageEnd()
-
 
6955
    result = addProductFeedSubmit_result()
-
 
6956
    try:
-
 
6957
      result.success = self._handler.addProductFeedSubmit(args.productFeedSubmit)
-
 
6958
    except CatalogServiceException, cex:
-
 
6959
      result.cex = cex
-
 
6960
    oprot.writeMessageBegin("addProductFeedSubmit", TMessageType.REPLY, seqid)
-
 
6961
    result.write(oprot)
-
 
6962
    oprot.writeMessageEnd()
-
 
6963
    oprot.trans.flush()
-
 
6964
 
-
 
6965
  def process_updateProductFeedSubmit(self, seqid, iprot, oprot):
-
 
6966
    args = updateProductFeedSubmit_args()
-
 
6967
    args.read(iprot)
-
 
6968
    iprot.readMessageEnd()
-
 
6969
    result = updateProductFeedSubmit_result()
-
 
6970
    try:
-
 
6971
      result.success = self._handler.updateProductFeedSubmit(args.productFeedSubmit)
-
 
6972
    except CatalogServiceException, cex:
-
 
6973
      result.cex = cex
-
 
6974
    oprot.writeMessageBegin("updateProductFeedSubmit", TMessageType.REPLY, seqid)
-
 
6975
    result.write(oprot)
-
 
6976
    oprot.writeMessageEnd()
-
 
6977
    oprot.trans.flush()
-
 
6978
 
-
 
6979
  def process_deleteProductFeedSubmit(self, seqid, iprot, oprot):
-
 
6980
    args = deleteProductFeedSubmit_args()
-
 
6981
    args.read(iprot)
-
 
6982
    iprot.readMessageEnd()
-
 
6983
    result = deleteProductFeedSubmit_result()
-
 
6984
    try:
-
 
6985
      result.success = self._handler.deleteProductFeedSubmit(args.catalogItemId)
-
 
6986
    except CatalogServiceException, cex:
-
 
6987
      result.cex = cex
-
 
6988
    oprot.writeMessageBegin("deleteProductFeedSubmit", TMessageType.REPLY, seqid)
-
 
6989
    result.write(oprot)
-
 
6990
    oprot.writeMessageEnd()
-
 
6991
    oprot.trans.flush()
-
 
6992
 
-
 
6993
  def process_getAllProductFeedSubmit(self, seqid, iprot, oprot):
-
 
6994
    args = getAllProductFeedSubmit_args()
-
 
6995
    args.read(iprot)
-
 
6996
    iprot.readMessageEnd()
-
 
6997
    result = getAllProductFeedSubmit_result()
-
 
6998
    try:
-
 
6999
      result.success = self._handler.getAllProductFeedSubmit()
-
 
7000
    except CatalogServiceException, cex:
-
 
7001
      result.cex = cex
-
 
7002
    oprot.writeMessageBegin("getAllProductFeedSubmit", TMessageType.REPLY, seqid)
-
 
7003
    result.write(oprot)
-
 
7004
    oprot.writeMessageEnd()
-
 
7005
    oprot.trans.flush()
-
 
7006
 
6746
 
7007
 
6747
# HELPER FUNCTIONS AND STRUCTURES
7008
# HELPER FUNCTIONS AND STRUCTURES
6748
 
7009
 
6749
class addItem_args:
7010
class addItem_args:
6750
  """
7011
  """
Line 23525... Line 23786...
23525
      oprot.writeFieldEnd()
23786
      oprot.writeFieldEnd()
23526
    oprot.writeFieldStop()
23787
    oprot.writeFieldStop()
23527
    oprot.writeStructEnd()
23788
    oprot.writeStructEnd()
23528
 
23789
 
23529
  def validate(self):
23790
  def validate(self):
-
 
23791
    return
-
 
23792
 
-
 
23793
 
-
 
23794
  def __repr__(self):
-
 
23795
    L = ['%s=%r' % (key, value)
-
 
23796
      for key, value in self.__dict__.iteritems()]
-
 
23797
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
23798
 
-
 
23799
  def __eq__(self, other):
-
 
23800
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
23801
 
-
 
23802
  def __ne__(self, other):
-
 
23803
    return not (self == other)
-
 
23804
 
-
 
23805
class getProductFeedSubmit_args:
-
 
23806
  """
-
 
23807
  Attributes:
-
 
23808
   - catalogItemId
-
 
23809
  """
-
 
23810
 
-
 
23811
  thrift_spec = (
-
 
23812
    None, # 0
-
 
23813
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
-
 
23814
  )
-
 
23815
 
-
 
23816
  def __init__(self, catalogItemId=None,):
-
 
23817
    self.catalogItemId = catalogItemId
-
 
23818
 
-
 
23819
  def read(self, iprot):
-
 
23820
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
23821
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
23822
      return
-
 
23823
    iprot.readStructBegin()
-
 
23824
    while True:
-
 
23825
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
23826
      if ftype == TType.STOP:
-
 
23827
        break
-
 
23828
      if fid == 1:
-
 
23829
        if ftype == TType.I64:
-
 
23830
          self.catalogItemId = iprot.readI64();
-
 
23831
        else:
-
 
23832
          iprot.skip(ftype)
-
 
23833
      else:
-
 
23834
        iprot.skip(ftype)
-
 
23835
      iprot.readFieldEnd()
-
 
23836
    iprot.readStructEnd()
-
 
23837
 
-
 
23838
  def write(self, oprot):
-
 
23839
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
23840
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
23841
      return
-
 
23842
    oprot.writeStructBegin('getProductFeedSubmit_args')
-
 
23843
    if self.catalogItemId is not None:
-
 
23844
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
-
 
23845
      oprot.writeI64(self.catalogItemId)
-
 
23846
      oprot.writeFieldEnd()
-
 
23847
    oprot.writeFieldStop()
-
 
23848
    oprot.writeStructEnd()
-
 
23849
 
-
 
23850
  def validate(self):
-
 
23851
    return
-
 
23852
 
-
 
23853
 
-
 
23854
  def __repr__(self):
-
 
23855
    L = ['%s=%r' % (key, value)
-
 
23856
      for key, value in self.__dict__.iteritems()]
-
 
23857
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
23858
 
-
 
23859
  def __eq__(self, other):
-
 
23860
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
23861
 
-
 
23862
  def __ne__(self, other):
-
 
23863
    return not (self == other)
-
 
23864
 
-
 
23865
class getProductFeedSubmit_result:
-
 
23866
  """
-
 
23867
  Attributes:
-
 
23868
   - success
-
 
23869
   - cex
-
 
23870
  """
-
 
23871
 
-
 
23872
  thrift_spec = (
-
 
23873
    (0, TType.STRUCT, 'success', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 0
-
 
23874
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
-
 
23875
  )
-
 
23876
 
-
 
23877
  def __init__(self, success=None, cex=None,):
-
 
23878
    self.success = success
-
 
23879
    self.cex = cex
-
 
23880
 
-
 
23881
  def read(self, iprot):
-
 
23882
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
23883
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
23884
      return
-
 
23885
    iprot.readStructBegin()
-
 
23886
    while True:
-
 
23887
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
23888
      if ftype == TType.STOP:
-
 
23889
        break
-
 
23890
      if fid == 0:
-
 
23891
        if ftype == TType.STRUCT:
-
 
23892
          self.success = ProductFeedSubmit()
-
 
23893
          self.success.read(iprot)
-
 
23894
        else:
-
 
23895
          iprot.skip(ftype)
-
 
23896
      elif fid == 1:
-
 
23897
        if ftype == TType.STRUCT:
-
 
23898
          self.cex = CatalogServiceException()
-
 
23899
          self.cex.read(iprot)
-
 
23900
        else:
-
 
23901
          iprot.skip(ftype)
-
 
23902
      else:
-
 
23903
        iprot.skip(ftype)
-
 
23904
      iprot.readFieldEnd()
-
 
23905
    iprot.readStructEnd()
-
 
23906
 
-
 
23907
  def write(self, oprot):
-
 
23908
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
23909
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
23910
      return
-
 
23911
    oprot.writeStructBegin('getProductFeedSubmit_result')
-
 
23912
    if self.success is not None:
-
 
23913
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
23914
      self.success.write(oprot)
-
 
23915
      oprot.writeFieldEnd()
-
 
23916
    if self.cex is not None:
-
 
23917
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
-
 
23918
      self.cex.write(oprot)
-
 
23919
      oprot.writeFieldEnd()
-
 
23920
    oprot.writeFieldStop()
-
 
23921
    oprot.writeStructEnd()
-
 
23922
 
-
 
23923
  def validate(self):
-
 
23924
    return
-
 
23925
 
-
 
23926
 
-
 
23927
  def __repr__(self):
-
 
23928
    L = ['%s=%r' % (key, value)
-
 
23929
      for key, value in self.__dict__.iteritems()]
-
 
23930
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
23931
 
-
 
23932
  def __eq__(self, other):
-
 
23933
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
23934
 
-
 
23935
  def __ne__(self, other):
-
 
23936
    return not (self == other)
-
 
23937
 
-
 
23938
class addProductFeedSubmit_args:
-
 
23939
  """
-
 
23940
  Attributes:
-
 
23941
   - productFeedSubmit
-
 
23942
  """
-
 
23943
 
-
 
23944
  thrift_spec = (
-
 
23945
    None, # 0
-
 
23946
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
-
 
23947
  )
-
 
23948
 
-
 
23949
  def __init__(self, productFeedSubmit=None,):
-
 
23950
    self.productFeedSubmit = productFeedSubmit
-
 
23951
 
-
 
23952
  def read(self, iprot):
-
 
23953
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
23954
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
23955
      return
-
 
23956
    iprot.readStructBegin()
-
 
23957
    while True:
-
 
23958
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
23959
      if ftype == TType.STOP:
-
 
23960
        break
-
 
23961
      if fid == 1:
-
 
23962
        if ftype == TType.STRUCT:
-
 
23963
          self.productFeedSubmit = ProductFeedSubmit()
-
 
23964
          self.productFeedSubmit.read(iprot)
-
 
23965
        else:
-
 
23966
          iprot.skip(ftype)
-
 
23967
      else:
-
 
23968
        iprot.skip(ftype)
-
 
23969
      iprot.readFieldEnd()
-
 
23970
    iprot.readStructEnd()
-
 
23971
 
-
 
23972
  def write(self, oprot):
-
 
23973
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
23974
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
23975
      return
-
 
23976
    oprot.writeStructBegin('addProductFeedSubmit_args')
-
 
23977
    if self.productFeedSubmit is not None:
-
 
23978
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
-
 
23979
      self.productFeedSubmit.write(oprot)
-
 
23980
      oprot.writeFieldEnd()
-
 
23981
    oprot.writeFieldStop()
-
 
23982
    oprot.writeStructEnd()
-
 
23983
 
-
 
23984
  def validate(self):
-
 
23985
    return
-
 
23986
 
-
 
23987
 
-
 
23988
  def __repr__(self):
-
 
23989
    L = ['%s=%r' % (key, value)
-
 
23990
      for key, value in self.__dict__.iteritems()]
-
 
23991
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
23992
 
-
 
23993
  def __eq__(self, other):
-
 
23994
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
23995
 
-
 
23996
  def __ne__(self, other):
-
 
23997
    return not (self == other)
-
 
23998
 
-
 
23999
class addProductFeedSubmit_result:
-
 
24000
  """
-
 
24001
  Attributes:
-
 
24002
   - success
-
 
24003
   - cex
-
 
24004
  """
-
 
24005
 
-
 
24006
  thrift_spec = (
-
 
24007
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
24008
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
-
 
24009
  )
-
 
24010
 
-
 
24011
  def __init__(self, success=None, cex=None,):
-
 
24012
    self.success = success
-
 
24013
    self.cex = cex
-
 
24014
 
-
 
24015
  def read(self, iprot):
-
 
24016
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
24017
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
24018
      return
-
 
24019
    iprot.readStructBegin()
-
 
24020
    while True:
-
 
24021
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
24022
      if ftype == TType.STOP:
-
 
24023
        break
-
 
24024
      if fid == 0:
-
 
24025
        if ftype == TType.BOOL:
-
 
24026
          self.success = iprot.readBool();
-
 
24027
        else:
-
 
24028
          iprot.skip(ftype)
-
 
24029
      elif fid == 1:
-
 
24030
        if ftype == TType.STRUCT:
-
 
24031
          self.cex = CatalogServiceException()
-
 
24032
          self.cex.read(iprot)
-
 
24033
        else:
-
 
24034
          iprot.skip(ftype)
-
 
24035
      else:
-
 
24036
        iprot.skip(ftype)
-
 
24037
      iprot.readFieldEnd()
-
 
24038
    iprot.readStructEnd()
-
 
24039
 
-
 
24040
  def write(self, oprot):
-
 
24041
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
24042
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
24043
      return
-
 
24044
    oprot.writeStructBegin('addProductFeedSubmit_result')
-
 
24045
    if self.success is not None:
-
 
24046
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
24047
      oprot.writeBool(self.success)
-
 
24048
      oprot.writeFieldEnd()
-
 
24049
    if self.cex is not None:
-
 
24050
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
-
 
24051
      self.cex.write(oprot)
-
 
24052
      oprot.writeFieldEnd()
-
 
24053
    oprot.writeFieldStop()
-
 
24054
    oprot.writeStructEnd()
-
 
24055
 
-
 
24056
  def validate(self):
-
 
24057
    return
-
 
24058
 
-
 
24059
 
-
 
24060
  def __repr__(self):
-
 
24061
    L = ['%s=%r' % (key, value)
-
 
24062
      for key, value in self.__dict__.iteritems()]
-
 
24063
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
24064
 
-
 
24065
  def __eq__(self, other):
-
 
24066
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
24067
 
-
 
24068
  def __ne__(self, other):
-
 
24069
    return not (self == other)
-
 
24070
 
-
 
24071
class updateProductFeedSubmit_args:
-
 
24072
  """
-
 
24073
  Attributes:
-
 
24074
   - productFeedSubmit
-
 
24075
  """
-
 
24076
 
-
 
24077
  thrift_spec = (
-
 
24078
    None, # 0
-
 
24079
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
-
 
24080
  )
-
 
24081
 
-
 
24082
  def __init__(self, productFeedSubmit=None,):
-
 
24083
    self.productFeedSubmit = productFeedSubmit
-
 
24084
 
-
 
24085
  def read(self, iprot):
-
 
24086
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
24087
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
24088
      return
-
 
24089
    iprot.readStructBegin()
-
 
24090
    while True:
-
 
24091
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
24092
      if ftype == TType.STOP:
-
 
24093
        break
-
 
24094
      if fid == 1:
-
 
24095
        if ftype == TType.STRUCT:
-
 
24096
          self.productFeedSubmit = ProductFeedSubmit()
-
 
24097
          self.productFeedSubmit.read(iprot)
-
 
24098
        else:
-
 
24099
          iprot.skip(ftype)
-
 
24100
      else:
-
 
24101
        iprot.skip(ftype)
-
 
24102
      iprot.readFieldEnd()
-
 
24103
    iprot.readStructEnd()
-
 
24104
 
-
 
24105
  def write(self, oprot):
-
 
24106
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
24107
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
24108
      return
-
 
24109
    oprot.writeStructBegin('updateProductFeedSubmit_args')
-
 
24110
    if self.productFeedSubmit is not None:
-
 
24111
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
-
 
24112
      self.productFeedSubmit.write(oprot)
-
 
24113
      oprot.writeFieldEnd()
-
 
24114
    oprot.writeFieldStop()
-
 
24115
    oprot.writeStructEnd()
-
 
24116
 
-
 
24117
  def validate(self):
-
 
24118
    return
-
 
24119
 
-
 
24120
 
-
 
24121
  def __repr__(self):
-
 
24122
    L = ['%s=%r' % (key, value)
-
 
24123
      for key, value in self.__dict__.iteritems()]
-
 
24124
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
24125
 
-
 
24126
  def __eq__(self, other):
-
 
24127
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
24128
 
-
 
24129
  def __ne__(self, other):
-
 
24130
    return not (self == other)
-
 
24131
 
-
 
24132
class updateProductFeedSubmit_result:
-
 
24133
  """
-
 
24134
  Attributes:
-
 
24135
   - success
-
 
24136
   - cex
-
 
24137
  """
-
 
24138
 
-
 
24139
  thrift_spec = (
-
 
24140
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
24141
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
-
 
24142
  )
-
 
24143
 
-
 
24144
  def __init__(self, success=None, cex=None,):
-
 
24145
    self.success = success
-
 
24146
    self.cex = cex
-
 
24147
 
-
 
24148
  def read(self, iprot):
-
 
24149
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
24150
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
24151
      return
-
 
24152
    iprot.readStructBegin()
-
 
24153
    while True:
-
 
24154
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
24155
      if ftype == TType.STOP:
-
 
24156
        break
-
 
24157
      if fid == 0:
-
 
24158
        if ftype == TType.BOOL:
-
 
24159
          self.success = iprot.readBool();
-
 
24160
        else:
-
 
24161
          iprot.skip(ftype)
-
 
24162
      elif fid == 1:
-
 
24163
        if ftype == TType.STRUCT:
-
 
24164
          self.cex = CatalogServiceException()
-
 
24165
          self.cex.read(iprot)
-
 
24166
        else:
-
 
24167
          iprot.skip(ftype)
-
 
24168
      else:
-
 
24169
        iprot.skip(ftype)
-
 
24170
      iprot.readFieldEnd()
-
 
24171
    iprot.readStructEnd()
-
 
24172
 
-
 
24173
  def write(self, oprot):
-
 
24174
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
24175
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
24176
      return
-
 
24177
    oprot.writeStructBegin('updateProductFeedSubmit_result')
-
 
24178
    if self.success is not None:
-
 
24179
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
24180
      oprot.writeBool(self.success)
-
 
24181
      oprot.writeFieldEnd()
-
 
24182
    if self.cex is not None:
-
 
24183
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
-
 
24184
      self.cex.write(oprot)
-
 
24185
      oprot.writeFieldEnd()
-
 
24186
    oprot.writeFieldStop()
-
 
24187
    oprot.writeStructEnd()
-
 
24188
 
-
 
24189
  def validate(self):
-
 
24190
    return
-
 
24191
 
-
 
24192
 
-
 
24193
  def __repr__(self):
-
 
24194
    L = ['%s=%r' % (key, value)
-
 
24195
      for key, value in self.__dict__.iteritems()]
-
 
24196
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
24197
 
-
 
24198
  def __eq__(self, other):
-
 
24199
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
24200
 
-
 
24201
  def __ne__(self, other):
-
 
24202
    return not (self == other)
-
 
24203
 
-
 
24204
class deleteProductFeedSubmit_args:
-
 
24205
  """
-
 
24206
  Attributes:
-
 
24207
   - catalogItemId
-
 
24208
  """
-
 
24209
 
-
 
24210
  thrift_spec = (
-
 
24211
    None, # 0
-
 
24212
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
-
 
24213
  )
-
 
24214
 
-
 
24215
  def __init__(self, catalogItemId=None,):
-
 
24216
    self.catalogItemId = catalogItemId
-
 
24217
 
-
 
24218
  def read(self, iprot):
-
 
24219
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
24220
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
24221
      return
-
 
24222
    iprot.readStructBegin()
-
 
24223
    while True:
-
 
24224
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
24225
      if ftype == TType.STOP:
-
 
24226
        break
-
 
24227
      if fid == 1:
-
 
24228
        if ftype == TType.I64:
-
 
24229
          self.catalogItemId = iprot.readI64();
-
 
24230
        else:
-
 
24231
          iprot.skip(ftype)
-
 
24232
      else:
-
 
24233
        iprot.skip(ftype)
-
 
24234
      iprot.readFieldEnd()
-
 
24235
    iprot.readStructEnd()
-
 
24236
 
-
 
24237
  def write(self, oprot):
-
 
24238
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
24239
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
24240
      return
-
 
24241
    oprot.writeStructBegin('deleteProductFeedSubmit_args')
-
 
24242
    if self.catalogItemId is not None:
-
 
24243
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
-
 
24244
      oprot.writeI64(self.catalogItemId)
-
 
24245
      oprot.writeFieldEnd()
-
 
24246
    oprot.writeFieldStop()
-
 
24247
    oprot.writeStructEnd()
-
 
24248
 
-
 
24249
  def validate(self):
-
 
24250
    return
-
 
24251
 
-
 
24252
 
-
 
24253
  def __repr__(self):
-
 
24254
    L = ['%s=%r' % (key, value)
-
 
24255
      for key, value in self.__dict__.iteritems()]
-
 
24256
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
24257
 
-
 
24258
  def __eq__(self, other):
-
 
24259
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
24260
 
-
 
24261
  def __ne__(self, other):
-
 
24262
    return not (self == other)
-
 
24263
 
-
 
24264
class deleteProductFeedSubmit_result:
-
 
24265
  """
-
 
24266
  Attributes:
-
 
24267
   - success
-
 
24268
   - cex
-
 
24269
  """
-
 
24270
 
-
 
24271
  thrift_spec = (
-
 
24272
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
24273
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
-
 
24274
  )
-
 
24275
 
-
 
24276
  def __init__(self, success=None, cex=None,):
-
 
24277
    self.success = success
-
 
24278
    self.cex = cex
-
 
24279
 
-
 
24280
  def read(self, iprot):
-
 
24281
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
24282
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
24283
      return
-
 
24284
    iprot.readStructBegin()
-
 
24285
    while True:
-
 
24286
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
24287
      if ftype == TType.STOP:
-
 
24288
        break
-
 
24289
      if fid == 0:
-
 
24290
        if ftype == TType.BOOL:
-
 
24291
          self.success = iprot.readBool();
-
 
24292
        else:
-
 
24293
          iprot.skip(ftype)
-
 
24294
      elif fid == 1:
-
 
24295
        if ftype == TType.STRUCT:
-
 
24296
          self.cex = CatalogServiceException()
-
 
24297
          self.cex.read(iprot)
-
 
24298
        else:
-
 
24299
          iprot.skip(ftype)
-
 
24300
      else:
-
 
24301
        iprot.skip(ftype)
-
 
24302
      iprot.readFieldEnd()
-
 
24303
    iprot.readStructEnd()
-
 
24304
 
-
 
24305
  def write(self, oprot):
-
 
24306
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
24307
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
24308
      return
-
 
24309
    oprot.writeStructBegin('deleteProductFeedSubmit_result')
-
 
24310
    if self.success is not None:
-
 
24311
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
24312
      oprot.writeBool(self.success)
-
 
24313
      oprot.writeFieldEnd()
-
 
24314
    if self.cex is not None:
-
 
24315
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
-
 
24316
      self.cex.write(oprot)
-
 
24317
      oprot.writeFieldEnd()
-
 
24318
    oprot.writeFieldStop()
-
 
24319
    oprot.writeStructEnd()
-
 
24320
 
-
 
24321
  def validate(self):
-
 
24322
    return
-
 
24323
 
-
 
24324
 
-
 
24325
  def __repr__(self):
-
 
24326
    L = ['%s=%r' % (key, value)
-
 
24327
      for key, value in self.__dict__.iteritems()]
-
 
24328
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
24329
 
-
 
24330
  def __eq__(self, other):
-
 
24331
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
24332
 
-
 
24333
  def __ne__(self, other):
-
 
24334
    return not (self == other)
-
 
24335
 
-
 
24336
class getAllProductFeedSubmit_args:
-
 
24337
 
-
 
24338
  thrift_spec = (
-
 
24339
  )
-
 
24340
 
-
 
24341
  def read(self, iprot):
-
 
24342
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
24343
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
24344
      return
-
 
24345
    iprot.readStructBegin()
-
 
24346
    while True:
-
 
24347
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
24348
      if ftype == TType.STOP:
-
 
24349
        break
-
 
24350
      else:
-
 
24351
        iprot.skip(ftype)
-
 
24352
      iprot.readFieldEnd()
-
 
24353
    iprot.readStructEnd()
-
 
24354
 
-
 
24355
  def write(self, oprot):
-
 
24356
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
24357
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
24358
      return
-
 
24359
    oprot.writeStructBegin('getAllProductFeedSubmit_args')
-
 
24360
    oprot.writeFieldStop()
-
 
24361
    oprot.writeStructEnd()
-
 
24362
 
-
 
24363
  def validate(self):
-
 
24364
    return
-
 
24365
 
-
 
24366
 
-
 
24367
  def __repr__(self):
-
 
24368
    L = ['%s=%r' % (key, value)
-
 
24369
      for key, value in self.__dict__.iteritems()]
-
 
24370
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
24371
 
-
 
24372
  def __eq__(self, other):
-
 
24373
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
24374
 
-
 
24375
  def __ne__(self, other):
-
 
24376
    return not (self == other)
-
 
24377
 
-
 
24378
class getAllProductFeedSubmit_result:
-
 
24379
  """
-
 
24380
  Attributes:
-
 
24381
   - success
-
 
24382
   - cex
-
 
24383
  """
-
 
24384
 
-
 
24385
  thrift_spec = (
-
 
24386
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductFeedSubmit, ProductFeedSubmit.thrift_spec)), None, ), # 0
-
 
24387
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
-
 
24388
  )
-
 
24389
 
-
 
24390
  def __init__(self, success=None, cex=None,):
-
 
24391
    self.success = success
-
 
24392
    self.cex = cex
-
 
24393
 
-
 
24394
  def read(self, iprot):
-
 
24395
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
24396
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
24397
      return
-
 
24398
    iprot.readStructBegin()
-
 
24399
    while True:
-
 
24400
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
24401
      if ftype == TType.STOP:
-
 
24402
        break
-
 
24403
      if fid == 0:
-
 
24404
        if ftype == TType.LIST:
-
 
24405
          self.success = []
-
 
24406
          (_etype551, _size548) = iprot.readListBegin()
-
 
24407
          for _i552 in xrange(_size548):
-
 
24408
            _elem553 = ProductFeedSubmit()
-
 
24409
            _elem553.read(iprot)
-
 
24410
            self.success.append(_elem553)
-
 
24411
          iprot.readListEnd()
-
 
24412
        else:
-
 
24413
          iprot.skip(ftype)
-
 
24414
      elif fid == 1:
-
 
24415
        if ftype == TType.STRUCT:
-
 
24416
          self.cex = CatalogServiceException()
-
 
24417
          self.cex.read(iprot)
-
 
24418
        else:
-
 
24419
          iprot.skip(ftype)
-
 
24420
      else:
-
 
24421
        iprot.skip(ftype)
-
 
24422
      iprot.readFieldEnd()
-
 
24423
    iprot.readStructEnd()
-
 
24424
 
-
 
24425
  def write(self, oprot):
-
 
24426
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
24427
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
24428
      return
-
 
24429
    oprot.writeStructBegin('getAllProductFeedSubmit_result')
-
 
24430
    if self.success is not None:
-
 
24431
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
24432
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
24433
      for iter554 in self.success:
-
 
24434
        iter554.write(oprot)
-
 
24435
      oprot.writeListEnd()
-
 
24436
      oprot.writeFieldEnd()
-
 
24437
    if self.cex is not None:
-
 
24438
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
-
 
24439
      self.cex.write(oprot)
-
 
24440
      oprot.writeFieldEnd()
-
 
24441
    oprot.writeFieldStop()
-
 
24442
    oprot.writeStructEnd()
-
 
24443
 
-
 
24444
  def validate(self):
23530
    return
24445
    return
23531
 
24446
 
23532
 
24447
 
23533
  def __repr__(self):
24448
  def __repr__(self):
23534
    L = ['%s=%r' % (key, value)
24449
    L = ['%s=%r' % (key, value)