Subversion Repositories SmartDukaan

Rev

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

Rev 9945 Rev 10097
Line 1051... Line 1051...
1051
    pass
1051
    pass
1052
 
1052
 
1053
  def getAllFlipkartItems(self, ):
1053
  def getAllFlipkartItems(self, ):
1054
    pass
1054
    pass
1055
 
1055
 
-
 
1056
  def addOrUpdateFlipkartItem(self, flipkartitem):
-
 
1057
    """
-
 
1058
    Parameters:
-
 
1059
     - flipkartitem
-
 
1060
    """
-
 
1061
    pass
-
 
1062
 
-
 
1063
  def getFlipkartItem(self, item_id):
-
 
1064
    """
-
 
1065
    Parameters:
-
 
1066
     - item_id
-
 
1067
    """
-
 
1068
    pass
-
 
1069
 
-
 
1070
  def getFlipkartItemDetails(self, item_id):
-
 
1071
    """
-
 
1072
    Parameters:
-
 
1073
     - item_id
-
 
1074
    """
-
 
1075
    pass
-
 
1076
 
-
 
1077
  def getFlipkartItems(self, offset, limit):
-
 
1078
    """
-
 
1079
    Parameters:
-
 
1080
     - offset
-
 
1081
     - limit
-
 
1082
    """
-
 
1083
    pass
-
 
1084
 
-
 
1085
  def searchFlipkartItems(self, searchTerm, offset, limit):
-
 
1086
    """
-
 
1087
    Parameters:
-
 
1088
     - searchTerm
-
 
1089
     - offset
-
 
1090
     - limit
-
 
1091
    """
-
 
1092
    pass
-
 
1093
 
-
 
1094
  def getCountForFlipkartItems(self, ):
-
 
1095
    pass
-
 
1096
 
-
 
1097
  def getFlipkartSearchResultCount(self, searchTerm):
-
 
1098
    """
-
 
1099
    Parameters:
-
 
1100
     - searchTerm
-
 
1101
    """
-
 
1102
    pass
-
 
1103
 
-
 
1104
  def getAllFkItems(self, ):
-
 
1105
    pass
-
 
1106
 
1056
 
1107
 
1057
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1108
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1058
  def __init__(self, iprot, oprot=None):
1109
  def __init__(self, iprot, oprot=None):
1059
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1110
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1060
 
1111
 
Line 2372... Line 2423...
2372
 
2423
 
2373
    Parameters:
2424
    Parameters:
2374
     - bannerCongregate
2425
     - bannerCongregate
2375
    """
2426
    """
2376
    self.send_addBanner(bannerCongregate)
2427
    self.send_addBanner(bannerCongregate)
2377
    self.recv_addBanner()
2428
    return self.recv_addBanner()
2378
 
2429
 
2379
  def send_addBanner(self, bannerCongregate):
2430
  def send_addBanner(self, bannerCongregate):
2380
    self._oprot.writeMessageBegin('addBanner', TMessageType.CALL, self._seqid)
2431
    self._oprot.writeMessageBegin('addBanner', TMessageType.CALL, self._seqid)
2381
    args = addBanner_args()
2432
    args = addBanner_args()
2382
    args.bannerCongregate = bannerCongregate
2433
    args.bannerCongregate = bannerCongregate
Line 2392... Line 2443...
2392
      self._iprot.readMessageEnd()
2443
      self._iprot.readMessageEnd()
2393
      raise x
2444
      raise x
2394
    result = addBanner_result()
2445
    result = addBanner_result()
2395
    result.read(self._iprot)
2446
    result.read(self._iprot)
2396
    self._iprot.readMessageEnd()
2447
    self._iprot.readMessageEnd()
-
 
2448
    if result.success is not None:
2397
    return
2449
      return result.success
-
 
2450
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
2398
 
2451
 
2399
  def updateBanner(self, banner):
2452
  def updateBanner(self, banner):
2400
    """
2453
    """
2401
    Parameters:
2454
    Parameters:
2402
     - banner
2455
     - banner
Line 5508... Line 5561...
5508
    self._iprot.readMessageEnd()
5561
    self._iprot.readMessageEnd()
5509
    if result.success is not None:
5562
    if result.success is not None:
5510
      return result.success
5563
      return result.success
5511
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartItems failed: unknown result");
5564
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartItems failed: unknown result");
5512
 
5565
 
-
 
5566
  def addOrUpdateFlipkartItem(self, flipkartitem):
-
 
5567
    """
-
 
5568
    Parameters:
-
 
5569
     - flipkartitem
-
 
5570
    """
-
 
5571
    self.send_addOrUpdateFlipkartItem(flipkartitem)
-
 
5572
    return self.recv_addOrUpdateFlipkartItem()
-
 
5573
 
-
 
5574
  def send_addOrUpdateFlipkartItem(self, flipkartitem):
-
 
5575
    self._oprot.writeMessageBegin('addOrUpdateFlipkartItem', TMessageType.CALL, self._seqid)
-
 
5576
    args = addOrUpdateFlipkartItem_args()
-
 
5577
    args.flipkartitem = flipkartitem
-
 
5578
    args.write(self._oprot)
-
 
5579
    self._oprot.writeMessageEnd()
-
 
5580
    self._oprot.trans.flush()
-
 
5581
 
-
 
5582
  def recv_addOrUpdateFlipkartItem(self, ):
-
 
5583
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5584
    if mtype == TMessageType.EXCEPTION:
-
 
5585
      x = TApplicationException()
-
 
5586
      x.read(self._iprot)
-
 
5587
      self._iprot.readMessageEnd()
-
 
5588
      raise x
-
 
5589
    result = addOrUpdateFlipkartItem_result()
-
 
5590
    result.read(self._iprot)
-
 
5591
    self._iprot.readMessageEnd()
-
 
5592
    if result.success is not None:
-
 
5593
      return result.success
-
 
5594
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateFlipkartItem failed: unknown result");
-
 
5595
 
-
 
5596
  def getFlipkartItem(self, item_id):
-
 
5597
    """
-
 
5598
    Parameters:
-
 
5599
     - item_id
-
 
5600
    """
-
 
5601
    self.send_getFlipkartItem(item_id)
-
 
5602
    return self.recv_getFlipkartItem()
-
 
5603
 
-
 
5604
  def send_getFlipkartItem(self, item_id):
-
 
5605
    self._oprot.writeMessageBegin('getFlipkartItem', TMessageType.CALL, self._seqid)
-
 
5606
    args = getFlipkartItem_args()
-
 
5607
    args.item_id = item_id
-
 
5608
    args.write(self._oprot)
-
 
5609
    self._oprot.writeMessageEnd()
-
 
5610
    self._oprot.trans.flush()
-
 
5611
 
-
 
5612
  def recv_getFlipkartItem(self, ):
-
 
5613
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5614
    if mtype == TMessageType.EXCEPTION:
-
 
5615
      x = TApplicationException()
-
 
5616
      x.read(self._iprot)
-
 
5617
      self._iprot.readMessageEnd()
-
 
5618
      raise x
-
 
5619
    result = getFlipkartItem_result()
-
 
5620
    result.read(self._iprot)
-
 
5621
    self._iprot.readMessageEnd()
-
 
5622
    if result.success is not None:
-
 
5623
      return result.success
-
 
5624
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItem failed: unknown result");
-
 
5625
 
-
 
5626
  def getFlipkartItemDetails(self, item_id):
-
 
5627
    """
-
 
5628
    Parameters:
-
 
5629
     - item_id
-
 
5630
    """
-
 
5631
    self.send_getFlipkartItemDetails(item_id)
-
 
5632
    return self.recv_getFlipkartItemDetails()
-
 
5633
 
-
 
5634
  def send_getFlipkartItemDetails(self, item_id):
-
 
5635
    self._oprot.writeMessageBegin('getFlipkartItemDetails', TMessageType.CALL, self._seqid)
-
 
5636
    args = getFlipkartItemDetails_args()
-
 
5637
    args.item_id = item_id
-
 
5638
    args.write(self._oprot)
-
 
5639
    self._oprot.writeMessageEnd()
-
 
5640
    self._oprot.trans.flush()
-
 
5641
 
-
 
5642
  def recv_getFlipkartItemDetails(self, ):
-
 
5643
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5644
    if mtype == TMessageType.EXCEPTION:
-
 
5645
      x = TApplicationException()
-
 
5646
      x.read(self._iprot)
-
 
5647
      self._iprot.readMessageEnd()
-
 
5648
      raise x
-
 
5649
    result = getFlipkartItemDetails_result()
-
 
5650
    result.read(self._iprot)
-
 
5651
    self._iprot.readMessageEnd()
-
 
5652
    if result.success is not None:
-
 
5653
      return result.success
-
 
5654
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemDetails failed: unknown result");
-
 
5655
 
-
 
5656
  def getFlipkartItems(self, offset, limit):
-
 
5657
    """
-
 
5658
    Parameters:
-
 
5659
     - offset
-
 
5660
     - limit
-
 
5661
    """
-
 
5662
    self.send_getFlipkartItems(offset, limit)
-
 
5663
    return self.recv_getFlipkartItems()
-
 
5664
 
-
 
5665
  def send_getFlipkartItems(self, offset, limit):
-
 
5666
    self._oprot.writeMessageBegin('getFlipkartItems', TMessageType.CALL, self._seqid)
-
 
5667
    args = getFlipkartItems_args()
-
 
5668
    args.offset = offset
-
 
5669
    args.limit = limit
-
 
5670
    args.write(self._oprot)
-
 
5671
    self._oprot.writeMessageEnd()
-
 
5672
    self._oprot.trans.flush()
-
 
5673
 
-
 
5674
  def recv_getFlipkartItems(self, ):
-
 
5675
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5676
    if mtype == TMessageType.EXCEPTION:
-
 
5677
      x = TApplicationException()
-
 
5678
      x.read(self._iprot)
-
 
5679
      self._iprot.readMessageEnd()
-
 
5680
      raise x
-
 
5681
    result = getFlipkartItems_result()
-
 
5682
    result.read(self._iprot)
-
 
5683
    self._iprot.readMessageEnd()
-
 
5684
    if result.success is not None:
-
 
5685
      return result.success
-
 
5686
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItems failed: unknown result");
-
 
5687
 
-
 
5688
  def searchFlipkartItems(self, searchTerm, offset, limit):
-
 
5689
    """
-
 
5690
    Parameters:
-
 
5691
     - searchTerm
-
 
5692
     - offset
-
 
5693
     - limit
-
 
5694
    """
-
 
5695
    self.send_searchFlipkartItems(searchTerm, offset, limit)
-
 
5696
    return self.recv_searchFlipkartItems()
-
 
5697
 
-
 
5698
  def send_searchFlipkartItems(self, searchTerm, offset, limit):
-
 
5699
    self._oprot.writeMessageBegin('searchFlipkartItems', TMessageType.CALL, self._seqid)
-
 
5700
    args = searchFlipkartItems_args()
-
 
5701
    args.searchTerm = searchTerm
-
 
5702
    args.offset = offset
-
 
5703
    args.limit = limit
-
 
5704
    args.write(self._oprot)
-
 
5705
    self._oprot.writeMessageEnd()
-
 
5706
    self._oprot.trans.flush()
-
 
5707
 
-
 
5708
  def recv_searchFlipkartItems(self, ):
-
 
5709
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5710
    if mtype == TMessageType.EXCEPTION:
-
 
5711
      x = TApplicationException()
-
 
5712
      x.read(self._iprot)
-
 
5713
      self._iprot.readMessageEnd()
-
 
5714
      raise x
-
 
5715
    result = searchFlipkartItems_result()
-
 
5716
    result.read(self._iprot)
-
 
5717
    self._iprot.readMessageEnd()
-
 
5718
    if result.success is not None:
-
 
5719
      return result.success
-
 
5720
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchFlipkartItems failed: unknown result");
-
 
5721
 
-
 
5722
  def getCountForFlipkartItems(self, ):
-
 
5723
    self.send_getCountForFlipkartItems()
-
 
5724
    return self.recv_getCountForFlipkartItems()
-
 
5725
 
-
 
5726
  def send_getCountForFlipkartItems(self, ):
-
 
5727
    self._oprot.writeMessageBegin('getCountForFlipkartItems', TMessageType.CALL, self._seqid)
-
 
5728
    args = getCountForFlipkartItems_args()
-
 
5729
    args.write(self._oprot)
-
 
5730
    self._oprot.writeMessageEnd()
-
 
5731
    self._oprot.trans.flush()
-
 
5732
 
-
 
5733
  def recv_getCountForFlipkartItems(self, ):
-
 
5734
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5735
    if mtype == TMessageType.EXCEPTION:
-
 
5736
      x = TApplicationException()
-
 
5737
      x.read(self._iprot)
-
 
5738
      self._iprot.readMessageEnd()
-
 
5739
      raise x
-
 
5740
    result = getCountForFlipkartItems_result()
-
 
5741
    result.read(self._iprot)
-
 
5742
    self._iprot.readMessageEnd()
-
 
5743
    if result.success is not None:
-
 
5744
      return result.success
-
 
5745
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForFlipkartItems failed: unknown result");
-
 
5746
 
-
 
5747
  def getFlipkartSearchResultCount(self, searchTerm):
-
 
5748
    """
-
 
5749
    Parameters:
-
 
5750
     - searchTerm
-
 
5751
    """
-
 
5752
    self.send_getFlipkartSearchResultCount(searchTerm)
-
 
5753
    return self.recv_getFlipkartSearchResultCount()
-
 
5754
 
-
 
5755
  def send_getFlipkartSearchResultCount(self, searchTerm):
-
 
5756
    self._oprot.writeMessageBegin('getFlipkartSearchResultCount', TMessageType.CALL, self._seqid)
-
 
5757
    args = getFlipkartSearchResultCount_args()
-
 
5758
    args.searchTerm = searchTerm
-
 
5759
    args.write(self._oprot)
-
 
5760
    self._oprot.writeMessageEnd()
-
 
5761
    self._oprot.trans.flush()
-
 
5762
 
-
 
5763
  def recv_getFlipkartSearchResultCount(self, ):
-
 
5764
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5765
    if mtype == TMessageType.EXCEPTION:
-
 
5766
      x = TApplicationException()
-
 
5767
      x.read(self._iprot)
-
 
5768
      self._iprot.readMessageEnd()
-
 
5769
      raise x
-
 
5770
    result = getFlipkartSearchResultCount_result()
-
 
5771
    result.read(self._iprot)
-
 
5772
    self._iprot.readMessageEnd()
-
 
5773
    if result.success is not None:
-
 
5774
      return result.success
-
 
5775
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartSearchResultCount failed: unknown result");
-
 
5776
 
-
 
5777
  def getAllFkItems(self, ):
-
 
5778
    self.send_getAllFkItems()
-
 
5779
    return self.recv_getAllFkItems()
-
 
5780
 
-
 
5781
  def send_getAllFkItems(self, ):
-
 
5782
    self._oprot.writeMessageBegin('getAllFkItems', TMessageType.CALL, self._seqid)
-
 
5783
    args = getAllFkItems_args()
-
 
5784
    args.write(self._oprot)
-
 
5785
    self._oprot.writeMessageEnd()
-
 
5786
    self._oprot.trans.flush()
-
 
5787
 
-
 
5788
  def recv_getAllFkItems(self, ):
-
 
5789
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
5790
    if mtype == TMessageType.EXCEPTION:
-
 
5791
      x = TApplicationException()
-
 
5792
      x.read(self._iprot)
-
 
5793
      self._iprot.readMessageEnd()
-
 
5794
      raise x
-
 
5795
    result = getAllFkItems_result()
-
 
5796
    result.read(self._iprot)
-
 
5797
    self._iprot.readMessageEnd()
-
 
5798
    if result.success is not None:
-
 
5799
      return result.success
-
 
5800
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFkItems failed: unknown result");
-
 
5801
 
5513
 
5802
 
5514
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
5803
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
5515
  def __init__(self, handler):
5804
  def __init__(self, handler):
5516
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
5805
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
5517
    self._processMap["addItem"] = Processor.process_addItem
5806
    self._processMap["addItem"] = Processor.process_addItem
Line 5657... Line 5946...
5657
    self._processMap["getMarketPlaceItemsForPriceUpdate"] = Processor.process_getMarketPlaceItemsForPriceUpdate
5946
    self._processMap["getMarketPlaceItemsForPriceUpdate"] = Processor.process_getMarketPlaceItemsForPriceUpdate
5658
    self._processMap["updateMarketPlacePriceUpdateStatus"] = Processor.process_updateMarketPlacePriceUpdateStatus
5947
    self._processMap["updateMarketPlacePriceUpdateStatus"] = Processor.process_updateMarketPlacePriceUpdateStatus
5659
    self._processMap["updateItemHoldInventory"] = Processor.process_updateItemHoldInventory
5948
    self._processMap["updateItemHoldInventory"] = Processor.process_updateItemHoldInventory
5660
    self._processMap["updateNlcAtMarketplaces"] = Processor.process_updateNlcAtMarketplaces
5949
    self._processMap["updateNlcAtMarketplaces"] = Processor.process_updateNlcAtMarketplaces
5661
    self._processMap["getAllFlipkartItems"] = Processor.process_getAllFlipkartItems
5950
    self._processMap["getAllFlipkartItems"] = Processor.process_getAllFlipkartItems
-
 
5951
    self._processMap["addOrUpdateFlipkartItem"] = Processor.process_addOrUpdateFlipkartItem
-
 
5952
    self._processMap["getFlipkartItem"] = Processor.process_getFlipkartItem
-
 
5953
    self._processMap["getFlipkartItemDetails"] = Processor.process_getFlipkartItemDetails
-
 
5954
    self._processMap["getFlipkartItems"] = Processor.process_getFlipkartItems
-
 
5955
    self._processMap["searchFlipkartItems"] = Processor.process_searchFlipkartItems
-
 
5956
    self._processMap["getCountForFlipkartItems"] = Processor.process_getCountForFlipkartItems
-
 
5957
    self._processMap["getFlipkartSearchResultCount"] = Processor.process_getFlipkartSearchResultCount
-
 
5958
    self._processMap["getAllFkItems"] = Processor.process_getAllFkItems
5662
 
5959
 
5663
  def process(self, iprot, oprot):
5960
  def process(self, iprot, oprot):
5664
    (name, type, seqid) = iprot.readMessageBegin()
5961
    (name, type, seqid) = iprot.readMessageBegin()
5665
    if name not in self._processMap:
5962
    if name not in self._processMap:
5666
      iprot.skip(TType.STRUCT)
5963
      iprot.skip(TType.STRUCT)
Line 6216... Line 6513...
6216
  def process_addBanner(self, seqid, iprot, oprot):
6513
  def process_addBanner(self, seqid, iprot, oprot):
6217
    args = addBanner_args()
6514
    args = addBanner_args()
6218
    args.read(iprot)
6515
    args.read(iprot)
6219
    iprot.readMessageEnd()
6516
    iprot.readMessageEnd()
6220
    result = addBanner_result()
6517
    result = addBanner_result()
6221
    self._handler.addBanner(args.bannerCongregate)
6518
    result.success = self._handler.addBanner(args.bannerCongregate)
6222
    oprot.writeMessageBegin("addBanner", TMessageType.REPLY, seqid)
6519
    oprot.writeMessageBegin("addBanner", TMessageType.REPLY, seqid)
6223
    result.write(oprot)
6520
    result.write(oprot)
6224
    oprot.writeMessageEnd()
6521
    oprot.writeMessageEnd()
6225
    oprot.trans.flush()
6522
    oprot.trans.flush()
6226
 
6523
 
Line 7397... Line 7694...
7397
    oprot.writeMessageBegin("getAllFlipkartItems", TMessageType.REPLY, seqid)
7694
    oprot.writeMessageBegin("getAllFlipkartItems", TMessageType.REPLY, seqid)
7398
    result.write(oprot)
7695
    result.write(oprot)
7399
    oprot.writeMessageEnd()
7696
    oprot.writeMessageEnd()
7400
    oprot.trans.flush()
7697
    oprot.trans.flush()
7401
 
7698
 
-
 
7699
  def process_addOrUpdateFlipkartItem(self, seqid, iprot, oprot):
-
 
7700
    args = addOrUpdateFlipkartItem_args()
-
 
7701
    args.read(iprot)
-
 
7702
    iprot.readMessageEnd()
-
 
7703
    result = addOrUpdateFlipkartItem_result()
-
 
7704
    result.success = self._handler.addOrUpdateFlipkartItem(args.flipkartitem)
-
 
7705
    oprot.writeMessageBegin("addOrUpdateFlipkartItem", TMessageType.REPLY, seqid)
-
 
7706
    result.write(oprot)
-
 
7707
    oprot.writeMessageEnd()
-
 
7708
    oprot.trans.flush()
-
 
7709
 
-
 
7710
  def process_getFlipkartItem(self, seqid, iprot, oprot):
-
 
7711
    args = getFlipkartItem_args()
-
 
7712
    args.read(iprot)
-
 
7713
    iprot.readMessageEnd()
-
 
7714
    result = getFlipkartItem_result()
-
 
7715
    result.success = self._handler.getFlipkartItem(args.item_id)
-
 
7716
    oprot.writeMessageBegin("getFlipkartItem", TMessageType.REPLY, seqid)
-
 
7717
    result.write(oprot)
-
 
7718
    oprot.writeMessageEnd()
-
 
7719
    oprot.trans.flush()
-
 
7720
 
-
 
7721
  def process_getFlipkartItemDetails(self, seqid, iprot, oprot):
-
 
7722
    args = getFlipkartItemDetails_args()
-
 
7723
    args.read(iprot)
-
 
7724
    iprot.readMessageEnd()
-
 
7725
    result = getFlipkartItemDetails_result()
-
 
7726
    result.success = self._handler.getFlipkartItemDetails(args.item_id)
-
 
7727
    oprot.writeMessageBegin("getFlipkartItemDetails", TMessageType.REPLY, seqid)
-
 
7728
    result.write(oprot)
-
 
7729
    oprot.writeMessageEnd()
-
 
7730
    oprot.trans.flush()
-
 
7731
 
-
 
7732
  def process_getFlipkartItems(self, seqid, iprot, oprot):
-
 
7733
    args = getFlipkartItems_args()
-
 
7734
    args.read(iprot)
-
 
7735
    iprot.readMessageEnd()
-
 
7736
    result = getFlipkartItems_result()
-
 
7737
    result.success = self._handler.getFlipkartItems(args.offset, args.limit)
-
 
7738
    oprot.writeMessageBegin("getFlipkartItems", TMessageType.REPLY, seqid)
-
 
7739
    result.write(oprot)
-
 
7740
    oprot.writeMessageEnd()
-
 
7741
    oprot.trans.flush()
-
 
7742
 
-
 
7743
  def process_searchFlipkartItems(self, seqid, iprot, oprot):
-
 
7744
    args = searchFlipkartItems_args()
-
 
7745
    args.read(iprot)
-
 
7746
    iprot.readMessageEnd()
-
 
7747
    result = searchFlipkartItems_result()
-
 
7748
    result.success = self._handler.searchFlipkartItems(args.searchTerm, args.offset, args.limit)
-
 
7749
    oprot.writeMessageBegin("searchFlipkartItems", TMessageType.REPLY, seqid)
-
 
7750
    result.write(oprot)
-
 
7751
    oprot.writeMessageEnd()
-
 
7752
    oprot.trans.flush()
-
 
7753
 
-
 
7754
  def process_getCountForFlipkartItems(self, seqid, iprot, oprot):
-
 
7755
    args = getCountForFlipkartItems_args()
-
 
7756
    args.read(iprot)
-
 
7757
    iprot.readMessageEnd()
-
 
7758
    result = getCountForFlipkartItems_result()
-
 
7759
    result.success = self._handler.getCountForFlipkartItems()
-
 
7760
    oprot.writeMessageBegin("getCountForFlipkartItems", TMessageType.REPLY, seqid)
-
 
7761
    result.write(oprot)
-
 
7762
    oprot.writeMessageEnd()
-
 
7763
    oprot.trans.flush()
-
 
7764
 
-
 
7765
  def process_getFlipkartSearchResultCount(self, seqid, iprot, oprot):
-
 
7766
    args = getFlipkartSearchResultCount_args()
-
 
7767
    args.read(iprot)
-
 
7768
    iprot.readMessageEnd()
-
 
7769
    result = getFlipkartSearchResultCount_result()
-
 
7770
    result.success = self._handler.getFlipkartSearchResultCount(args.searchTerm)
-
 
7771
    oprot.writeMessageBegin("getFlipkartSearchResultCount", TMessageType.REPLY, seqid)
-
 
7772
    result.write(oprot)
-
 
7773
    oprot.writeMessageEnd()
-
 
7774
    oprot.trans.flush()
-
 
7775
 
-
 
7776
  def process_getAllFkItems(self, seqid, iprot, oprot):
-
 
7777
    args = getAllFkItems_args()
-
 
7778
    args.read(iprot)
-
 
7779
    iprot.readMessageEnd()
-
 
7780
    result = getAllFkItems_result()
-
 
7781
    result.success = self._handler.getAllFkItems()
-
 
7782
    oprot.writeMessageBegin("getAllFkItems", TMessageType.REPLY, seqid)
-
 
7783
    result.write(oprot)
-
 
7784
    oprot.writeMessageEnd()
-
 
7785
    oprot.trans.flush()
-
 
7786
 
7402
 
7787
 
7403
# HELPER FUNCTIONS AND STRUCTURES
7788
# HELPER FUNCTIONS AND STRUCTURES
7404
 
7789
 
7405
class addItem_args:
7790
class addItem_args:
7406
  """
7791
  """
Line 13012... Line 13397...
13012
 
13397
 
13013
  def __ne__(self, other):
13398
  def __ne__(self, other):
13014
    return not (self == other)
13399
    return not (self == other)
13015
 
13400
 
13016
class addBanner_result:
13401
class addBanner_result:
-
 
13402
  """
-
 
13403
  Attributes:
-
 
13404
   - success
-
 
13405
  """
13017
 
13406
 
13018
  thrift_spec = (
13407
  thrift_spec = (
-
 
13408
    (0, TType.BOOL, 'success', None, None, ), # 0
13019
  )
13409
  )
13020
 
13410
 
-
 
13411
  def __init__(self, success=None,):
-
 
13412
    self.success = success
-
 
13413
 
13021
  def read(self, iprot):
13414
  def read(self, iprot):
13022
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13415
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13023
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13416
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13024
      return
13417
      return
13025
    iprot.readStructBegin()
13418
    iprot.readStructBegin()
13026
    while True:
13419
    while True:
13027
      (fname, ftype, fid) = iprot.readFieldBegin()
13420
      (fname, ftype, fid) = iprot.readFieldBegin()
13028
      if ftype == TType.STOP:
13421
      if ftype == TType.STOP:
13029
        break
13422
        break
-
 
13423
      if fid == 0:
-
 
13424
        if ftype == TType.BOOL:
-
 
13425
          self.success = iprot.readBool();
-
 
13426
        else:
-
 
13427
          iprot.skip(ftype)
13030
      else:
13428
      else:
13031
        iprot.skip(ftype)
13429
        iprot.skip(ftype)
13032
      iprot.readFieldEnd()
13430
      iprot.readFieldEnd()
13033
    iprot.readStructEnd()
13431
    iprot.readStructEnd()
13034
 
13432
 
13035
  def write(self, oprot):
13433
  def write(self, oprot):
13036
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13434
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13037
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13435
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13038
      return
13436
      return
13039
    oprot.writeStructBegin('addBanner_result')
13437
    oprot.writeStructBegin('addBanner_result')
-
 
13438
    if self.success is not None:
-
 
13439
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
13440
      oprot.writeBool(self.success)
-
 
13441
      oprot.writeFieldEnd()
13040
    oprot.writeFieldStop()
13442
    oprot.writeFieldStop()
13041
    oprot.writeStructEnd()
13443
    oprot.writeStructEnd()
13042
 
13444
 
13043
  def validate(self):
13445
  def validate(self):
13044
    return
13446
    return
Line 25822... Line 26224...
25822
      oprot.writeListEnd()
26224
      oprot.writeListEnd()
25823
      oprot.writeFieldEnd()
26225
      oprot.writeFieldEnd()
25824
    oprot.writeFieldStop()
26226
    oprot.writeFieldStop()
25825
    oprot.writeStructEnd()
26227
    oprot.writeStructEnd()
25826
 
26228
 
-
 
26229
  def validate(self):
-
 
26230
    return
-
 
26231
 
-
 
26232
 
-
 
26233
  def __repr__(self):
-
 
26234
    L = ['%s=%r' % (key, value)
-
 
26235
      for key, value in self.__dict__.iteritems()]
-
 
26236
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26237
 
-
 
26238
  def __eq__(self, other):
-
 
26239
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26240
 
-
 
26241
  def __ne__(self, other):
-
 
26242
    return not (self == other)
-
 
26243
 
-
 
26244
class addOrUpdateFlipkartItem_args:
-
 
26245
  """
-
 
26246
  Attributes:
-
 
26247
   - flipkartitem
-
 
26248
  """
-
 
26249
 
-
 
26250
  thrift_spec = None
-
 
26251
  def __init__(self, flipkartitem=None,):
-
 
26252
    self.flipkartitem = flipkartitem
-
 
26253
 
-
 
26254
  def read(self, iprot):
-
 
26255
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26256
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26257
      return
-
 
26258
    iprot.readStructBegin()
-
 
26259
    while True:
-
 
26260
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26261
      if ftype == TType.STOP:
-
 
26262
        break
-
 
26263
      if fid == -1:
-
 
26264
        if ftype == TType.STRUCT:
-
 
26265
          self.flipkartitem = FlipkartItem()
-
 
26266
          self.flipkartitem.read(iprot)
-
 
26267
        else:
-
 
26268
          iprot.skip(ftype)
-
 
26269
      else:
-
 
26270
        iprot.skip(ftype)
-
 
26271
      iprot.readFieldEnd()
-
 
26272
    iprot.readStructEnd()
-
 
26273
 
-
 
26274
  def write(self, oprot):
-
 
26275
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26276
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26277
      return
-
 
26278
    oprot.writeStructBegin('addOrUpdateFlipkartItem_args')
-
 
26279
    if self.flipkartitem is not None:
-
 
26280
      oprot.writeFieldBegin('flipkartitem', TType.STRUCT, -1)
-
 
26281
      self.flipkartitem.write(oprot)
-
 
26282
      oprot.writeFieldEnd()
-
 
26283
    oprot.writeFieldStop()
-
 
26284
    oprot.writeStructEnd()
-
 
26285
 
-
 
26286
  def validate(self):
-
 
26287
    return
-
 
26288
 
-
 
26289
 
-
 
26290
  def __repr__(self):
-
 
26291
    L = ['%s=%r' % (key, value)
-
 
26292
      for key, value in self.__dict__.iteritems()]
-
 
26293
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26294
 
-
 
26295
  def __eq__(self, other):
-
 
26296
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26297
 
-
 
26298
  def __ne__(self, other):
-
 
26299
    return not (self == other)
-
 
26300
 
-
 
26301
class addOrUpdateFlipkartItem_result:
-
 
26302
  """
-
 
26303
  Attributes:
-
 
26304
   - success
-
 
26305
  """
-
 
26306
 
-
 
26307
  thrift_spec = (
-
 
26308
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
26309
  )
-
 
26310
 
-
 
26311
  def __init__(self, success=None,):
-
 
26312
    self.success = success
-
 
26313
 
-
 
26314
  def read(self, iprot):
-
 
26315
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26316
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26317
      return
-
 
26318
    iprot.readStructBegin()
-
 
26319
    while True:
-
 
26320
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26321
      if ftype == TType.STOP:
-
 
26322
        break
-
 
26323
      if fid == 0:
-
 
26324
        if ftype == TType.BOOL:
-
 
26325
          self.success = iprot.readBool();
-
 
26326
        else:
-
 
26327
          iprot.skip(ftype)
-
 
26328
      else:
-
 
26329
        iprot.skip(ftype)
-
 
26330
      iprot.readFieldEnd()
-
 
26331
    iprot.readStructEnd()
-
 
26332
 
-
 
26333
  def write(self, oprot):
-
 
26334
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26335
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26336
      return
-
 
26337
    oprot.writeStructBegin('addOrUpdateFlipkartItem_result')
-
 
26338
    if self.success is not None:
-
 
26339
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
26340
      oprot.writeBool(self.success)
-
 
26341
      oprot.writeFieldEnd()
-
 
26342
    oprot.writeFieldStop()
-
 
26343
    oprot.writeStructEnd()
-
 
26344
 
-
 
26345
  def validate(self):
-
 
26346
    return
-
 
26347
 
-
 
26348
 
-
 
26349
  def __repr__(self):
-
 
26350
    L = ['%s=%r' % (key, value)
-
 
26351
      for key, value in self.__dict__.iteritems()]
-
 
26352
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26353
 
-
 
26354
  def __eq__(self, other):
-
 
26355
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26356
 
-
 
26357
  def __ne__(self, other):
-
 
26358
    return not (self == other)
-
 
26359
 
-
 
26360
class getFlipkartItem_args:
-
 
26361
  """
-
 
26362
  Attributes:
-
 
26363
   - item_id
-
 
26364
  """
-
 
26365
 
-
 
26366
  thrift_spec = (
-
 
26367
    None, # 0
-
 
26368
    (1, TType.I64, 'item_id', None, None, ), # 1
-
 
26369
  )
-
 
26370
 
-
 
26371
  def __init__(self, item_id=None,):
-
 
26372
    self.item_id = item_id
-
 
26373
 
-
 
26374
  def read(self, iprot):
-
 
26375
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26376
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26377
      return
-
 
26378
    iprot.readStructBegin()
-
 
26379
    while True:
-
 
26380
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26381
      if ftype == TType.STOP:
-
 
26382
        break
-
 
26383
      if fid == 1:
-
 
26384
        if ftype == TType.I64:
-
 
26385
          self.item_id = iprot.readI64();
-
 
26386
        else:
-
 
26387
          iprot.skip(ftype)
-
 
26388
      else:
-
 
26389
        iprot.skip(ftype)
-
 
26390
      iprot.readFieldEnd()
-
 
26391
    iprot.readStructEnd()
-
 
26392
 
-
 
26393
  def write(self, oprot):
-
 
26394
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26395
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26396
      return
-
 
26397
    oprot.writeStructBegin('getFlipkartItem_args')
-
 
26398
    if self.item_id is not None:
-
 
26399
      oprot.writeFieldBegin('item_id', TType.I64, 1)
-
 
26400
      oprot.writeI64(self.item_id)
-
 
26401
      oprot.writeFieldEnd()
-
 
26402
    oprot.writeFieldStop()
-
 
26403
    oprot.writeStructEnd()
-
 
26404
 
-
 
26405
  def validate(self):
-
 
26406
    return
-
 
26407
 
-
 
26408
 
-
 
26409
  def __repr__(self):
-
 
26410
    L = ['%s=%r' % (key, value)
-
 
26411
      for key, value in self.__dict__.iteritems()]
-
 
26412
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26413
 
-
 
26414
  def __eq__(self, other):
-
 
26415
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26416
 
-
 
26417
  def __ne__(self, other):
-
 
26418
    return not (self == other)
-
 
26419
 
-
 
26420
class getFlipkartItem_result:
-
 
26421
  """
-
 
26422
  Attributes:
-
 
26423
   - success
-
 
26424
  """
-
 
26425
 
-
 
26426
  thrift_spec = (
-
 
26427
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
-
 
26428
  )
-
 
26429
 
-
 
26430
  def __init__(self, success=None,):
-
 
26431
    self.success = success
-
 
26432
 
-
 
26433
  def read(self, iprot):
-
 
26434
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26435
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26436
      return
-
 
26437
    iprot.readStructBegin()
-
 
26438
    while True:
-
 
26439
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26440
      if ftype == TType.STOP:
-
 
26441
        break
-
 
26442
      if fid == 0:
-
 
26443
        if ftype == TType.STRUCT:
-
 
26444
          self.success = FlipkartItem()
-
 
26445
          self.success.read(iprot)
-
 
26446
        else:
-
 
26447
          iprot.skip(ftype)
-
 
26448
      else:
-
 
26449
        iprot.skip(ftype)
-
 
26450
      iprot.readFieldEnd()
-
 
26451
    iprot.readStructEnd()
-
 
26452
 
-
 
26453
  def write(self, oprot):
-
 
26454
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26455
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26456
      return
-
 
26457
    oprot.writeStructBegin('getFlipkartItem_result')
-
 
26458
    if self.success is not None:
-
 
26459
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
26460
      self.success.write(oprot)
-
 
26461
      oprot.writeFieldEnd()
-
 
26462
    oprot.writeFieldStop()
-
 
26463
    oprot.writeStructEnd()
-
 
26464
 
-
 
26465
  def validate(self):
-
 
26466
    return
-
 
26467
 
-
 
26468
 
-
 
26469
  def __repr__(self):
-
 
26470
    L = ['%s=%r' % (key, value)
-
 
26471
      for key, value in self.__dict__.iteritems()]
-
 
26472
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26473
 
-
 
26474
  def __eq__(self, other):
-
 
26475
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26476
 
-
 
26477
  def __ne__(self, other):
-
 
26478
    return not (self == other)
-
 
26479
 
-
 
26480
class getFlipkartItemDetails_args:
-
 
26481
  """
-
 
26482
  Attributes:
-
 
26483
   - item_id
-
 
26484
  """
-
 
26485
 
-
 
26486
  thrift_spec = (
-
 
26487
    None, # 0
-
 
26488
    (1, TType.I64, 'item_id', None, None, ), # 1
-
 
26489
  )
-
 
26490
 
-
 
26491
  def __init__(self, item_id=None,):
-
 
26492
    self.item_id = item_id
-
 
26493
 
-
 
26494
  def read(self, iprot):
-
 
26495
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26496
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26497
      return
-
 
26498
    iprot.readStructBegin()
-
 
26499
    while True:
-
 
26500
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26501
      if ftype == TType.STOP:
-
 
26502
        break
-
 
26503
      if fid == 1:
-
 
26504
        if ftype == TType.I64:
-
 
26505
          self.item_id = iprot.readI64();
-
 
26506
        else:
-
 
26507
          iprot.skip(ftype)
-
 
26508
      else:
-
 
26509
        iprot.skip(ftype)
-
 
26510
      iprot.readFieldEnd()
-
 
26511
    iprot.readStructEnd()
-
 
26512
 
-
 
26513
  def write(self, oprot):
-
 
26514
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26515
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26516
      return
-
 
26517
    oprot.writeStructBegin('getFlipkartItemDetails_args')
-
 
26518
    if self.item_id is not None:
-
 
26519
      oprot.writeFieldBegin('item_id', TType.I64, 1)
-
 
26520
      oprot.writeI64(self.item_id)
-
 
26521
      oprot.writeFieldEnd()
-
 
26522
    oprot.writeFieldStop()
-
 
26523
    oprot.writeStructEnd()
-
 
26524
 
-
 
26525
  def validate(self):
-
 
26526
    return
-
 
26527
 
-
 
26528
 
-
 
26529
  def __repr__(self):
-
 
26530
    L = ['%s=%r' % (key, value)
-
 
26531
      for key, value in self.__dict__.iteritems()]
-
 
26532
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26533
 
-
 
26534
  def __eq__(self, other):
-
 
26535
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26536
 
-
 
26537
  def __ne__(self, other):
-
 
26538
    return not (self == other)
-
 
26539
 
-
 
26540
class getFlipkartItemDetails_result:
-
 
26541
  """
-
 
26542
  Attributes:
-
 
26543
   - success
-
 
26544
  """
-
 
26545
 
-
 
26546
  thrift_spec = (
-
 
26547
    (0, TType.STRUCT, 'success', (FlipkartItemDetails, FlipkartItemDetails.thrift_spec), None, ), # 0
-
 
26548
  )
-
 
26549
 
-
 
26550
  def __init__(self, success=None,):
-
 
26551
    self.success = success
-
 
26552
 
-
 
26553
  def read(self, iprot):
-
 
26554
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26555
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26556
      return
-
 
26557
    iprot.readStructBegin()
-
 
26558
    while True:
-
 
26559
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26560
      if ftype == TType.STOP:
-
 
26561
        break
-
 
26562
      if fid == 0:
-
 
26563
        if ftype == TType.STRUCT:
-
 
26564
          self.success = FlipkartItemDetails()
-
 
26565
          self.success.read(iprot)
-
 
26566
        else:
-
 
26567
          iprot.skip(ftype)
-
 
26568
      else:
-
 
26569
        iprot.skip(ftype)
-
 
26570
      iprot.readFieldEnd()
-
 
26571
    iprot.readStructEnd()
-
 
26572
 
-
 
26573
  def write(self, oprot):
-
 
26574
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26575
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26576
      return
-
 
26577
    oprot.writeStructBegin('getFlipkartItemDetails_result')
-
 
26578
    if self.success is not None:
-
 
26579
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
-
 
26580
      self.success.write(oprot)
-
 
26581
      oprot.writeFieldEnd()
-
 
26582
    oprot.writeFieldStop()
-
 
26583
    oprot.writeStructEnd()
-
 
26584
 
-
 
26585
  def validate(self):
-
 
26586
    return
-
 
26587
 
-
 
26588
 
-
 
26589
  def __repr__(self):
-
 
26590
    L = ['%s=%r' % (key, value)
-
 
26591
      for key, value in self.__dict__.iteritems()]
-
 
26592
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26593
 
-
 
26594
  def __eq__(self, other):
-
 
26595
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26596
 
-
 
26597
  def __ne__(self, other):
-
 
26598
    return not (self == other)
-
 
26599
 
-
 
26600
class getFlipkartItems_args:
-
 
26601
  """
-
 
26602
  Attributes:
-
 
26603
   - offset
-
 
26604
   - limit
-
 
26605
  """
-
 
26606
 
-
 
26607
  thrift_spec = (
-
 
26608
    None, # 0
-
 
26609
    (1, TType.I64, 'offset', None, None, ), # 1
-
 
26610
    (2, TType.I64, 'limit', None, None, ), # 2
-
 
26611
  )
-
 
26612
 
-
 
26613
  def __init__(self, offset=None, limit=None,):
-
 
26614
    self.offset = offset
-
 
26615
    self.limit = limit
-
 
26616
 
-
 
26617
  def read(self, iprot):
-
 
26618
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26619
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26620
      return
-
 
26621
    iprot.readStructBegin()
-
 
26622
    while True:
-
 
26623
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26624
      if ftype == TType.STOP:
-
 
26625
        break
-
 
26626
      if fid == 1:
-
 
26627
        if ftype == TType.I64:
-
 
26628
          self.offset = iprot.readI64();
-
 
26629
        else:
-
 
26630
          iprot.skip(ftype)
-
 
26631
      elif fid == 2:
-
 
26632
        if ftype == TType.I64:
-
 
26633
          self.limit = iprot.readI64();
-
 
26634
        else:
-
 
26635
          iprot.skip(ftype)
-
 
26636
      else:
-
 
26637
        iprot.skip(ftype)
-
 
26638
      iprot.readFieldEnd()
-
 
26639
    iprot.readStructEnd()
-
 
26640
 
-
 
26641
  def write(self, oprot):
-
 
26642
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26643
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26644
      return
-
 
26645
    oprot.writeStructBegin('getFlipkartItems_args')
-
 
26646
    if self.offset is not None:
-
 
26647
      oprot.writeFieldBegin('offset', TType.I64, 1)
-
 
26648
      oprot.writeI64(self.offset)
-
 
26649
      oprot.writeFieldEnd()
-
 
26650
    if self.limit is not None:
-
 
26651
      oprot.writeFieldBegin('limit', TType.I64, 2)
-
 
26652
      oprot.writeI64(self.limit)
-
 
26653
      oprot.writeFieldEnd()
-
 
26654
    oprot.writeFieldStop()
-
 
26655
    oprot.writeStructEnd()
-
 
26656
 
-
 
26657
  def validate(self):
-
 
26658
    return
-
 
26659
 
-
 
26660
 
-
 
26661
  def __repr__(self):
-
 
26662
    L = ['%s=%r' % (key, value)
-
 
26663
      for key, value in self.__dict__.iteritems()]
-
 
26664
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26665
 
-
 
26666
  def __eq__(self, other):
-
 
26667
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26668
 
-
 
26669
  def __ne__(self, other):
-
 
26670
    return not (self == other)
-
 
26671
 
-
 
26672
class getFlipkartItems_result:
-
 
26673
  """
-
 
26674
  Attributes:
-
 
26675
   - success
-
 
26676
  """
-
 
26677
 
-
 
26678
  thrift_spec = (
-
 
26679
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
-
 
26680
  )
-
 
26681
 
-
 
26682
  def __init__(self, success=None,):
-
 
26683
    self.success = success
-
 
26684
 
-
 
26685
  def read(self, iprot):
-
 
26686
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26687
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26688
      return
-
 
26689
    iprot.readStructBegin()
-
 
26690
    while True:
-
 
26691
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26692
      if ftype == TType.STOP:
-
 
26693
        break
-
 
26694
      if fid == 0:
-
 
26695
        if ftype == TType.LIST:
-
 
26696
          self.success = []
-
 
26697
          (_etype588, _size585) = iprot.readListBegin()
-
 
26698
          for _i589 in xrange(_size585):
-
 
26699
            _elem590 = FlipkartItemDetails()
-
 
26700
            _elem590.read(iprot)
-
 
26701
            self.success.append(_elem590)
-
 
26702
          iprot.readListEnd()
-
 
26703
        else:
-
 
26704
          iprot.skip(ftype)
-
 
26705
      else:
-
 
26706
        iprot.skip(ftype)
-
 
26707
      iprot.readFieldEnd()
-
 
26708
    iprot.readStructEnd()
-
 
26709
 
-
 
26710
  def write(self, oprot):
-
 
26711
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26712
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26713
      return
-
 
26714
    oprot.writeStructBegin('getFlipkartItems_result')
-
 
26715
    if self.success is not None:
-
 
26716
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
26717
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
26718
      for iter591 in self.success:
-
 
26719
        iter591.write(oprot)
-
 
26720
      oprot.writeListEnd()
-
 
26721
      oprot.writeFieldEnd()
-
 
26722
    oprot.writeFieldStop()
-
 
26723
    oprot.writeStructEnd()
-
 
26724
 
-
 
26725
  def validate(self):
-
 
26726
    return
-
 
26727
 
-
 
26728
 
-
 
26729
  def __repr__(self):
-
 
26730
    L = ['%s=%r' % (key, value)
-
 
26731
      for key, value in self.__dict__.iteritems()]
-
 
26732
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26733
 
-
 
26734
  def __eq__(self, other):
-
 
26735
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26736
 
-
 
26737
  def __ne__(self, other):
-
 
26738
    return not (self == other)
-
 
26739
 
-
 
26740
class searchFlipkartItems_args:
-
 
26741
  """
-
 
26742
  Attributes:
-
 
26743
   - searchTerm
-
 
26744
   - offset
-
 
26745
   - limit
-
 
26746
  """
-
 
26747
 
-
 
26748
  thrift_spec = (
-
 
26749
    None, # 0
-
 
26750
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
-
 
26751
    (2, TType.I64, 'offset', None, None, ), # 2
-
 
26752
    (3, TType.I64, 'limit', None, None, ), # 3
-
 
26753
  )
-
 
26754
 
-
 
26755
  def __init__(self, searchTerm=None, offset=None, limit=None,):
-
 
26756
    self.searchTerm = searchTerm
-
 
26757
    self.offset = offset
-
 
26758
    self.limit = limit
-
 
26759
 
-
 
26760
  def read(self, iprot):
-
 
26761
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26762
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26763
      return
-
 
26764
    iprot.readStructBegin()
-
 
26765
    while True:
-
 
26766
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26767
      if ftype == TType.STOP:
-
 
26768
        break
-
 
26769
      if fid == 1:
-
 
26770
        if ftype == TType.LIST:
-
 
26771
          self.searchTerm = []
-
 
26772
          (_etype595, _size592) = iprot.readListBegin()
-
 
26773
          for _i596 in xrange(_size592):
-
 
26774
            _elem597 = iprot.readString();
-
 
26775
            self.searchTerm.append(_elem597)
-
 
26776
          iprot.readListEnd()
-
 
26777
        else:
-
 
26778
          iprot.skip(ftype)
-
 
26779
      elif fid == 2:
-
 
26780
        if ftype == TType.I64:
-
 
26781
          self.offset = iprot.readI64();
-
 
26782
        else:
-
 
26783
          iprot.skip(ftype)
-
 
26784
      elif fid == 3:
-
 
26785
        if ftype == TType.I64:
-
 
26786
          self.limit = iprot.readI64();
-
 
26787
        else:
-
 
26788
          iprot.skip(ftype)
-
 
26789
      else:
-
 
26790
        iprot.skip(ftype)
-
 
26791
      iprot.readFieldEnd()
-
 
26792
    iprot.readStructEnd()
-
 
26793
 
-
 
26794
  def write(self, oprot):
-
 
26795
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26796
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26797
      return
-
 
26798
    oprot.writeStructBegin('searchFlipkartItems_args')
-
 
26799
    if self.searchTerm is not None:
-
 
26800
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
-
 
26801
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
-
 
26802
      for iter598 in self.searchTerm:
-
 
26803
        oprot.writeString(iter598)
-
 
26804
      oprot.writeListEnd()
-
 
26805
      oprot.writeFieldEnd()
-
 
26806
    if self.offset is not None:
-
 
26807
      oprot.writeFieldBegin('offset', TType.I64, 2)
-
 
26808
      oprot.writeI64(self.offset)
-
 
26809
      oprot.writeFieldEnd()
-
 
26810
    if self.limit is not None:
-
 
26811
      oprot.writeFieldBegin('limit', TType.I64, 3)
-
 
26812
      oprot.writeI64(self.limit)
-
 
26813
      oprot.writeFieldEnd()
-
 
26814
    oprot.writeFieldStop()
-
 
26815
    oprot.writeStructEnd()
-
 
26816
 
-
 
26817
  def validate(self):
-
 
26818
    return
-
 
26819
 
-
 
26820
 
-
 
26821
  def __repr__(self):
-
 
26822
    L = ['%s=%r' % (key, value)
-
 
26823
      for key, value in self.__dict__.iteritems()]
-
 
26824
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26825
 
-
 
26826
  def __eq__(self, other):
-
 
26827
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26828
 
-
 
26829
  def __ne__(self, other):
-
 
26830
    return not (self == other)
-
 
26831
 
-
 
26832
class searchFlipkartItems_result:
-
 
26833
  """
-
 
26834
  Attributes:
-
 
26835
   - success
-
 
26836
  """
-
 
26837
 
-
 
26838
  thrift_spec = (
-
 
26839
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
-
 
26840
  )
-
 
26841
 
-
 
26842
  def __init__(self, success=None,):
-
 
26843
    self.success = success
-
 
26844
 
-
 
26845
  def read(self, iprot):
-
 
26846
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26847
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26848
      return
-
 
26849
    iprot.readStructBegin()
-
 
26850
    while True:
-
 
26851
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26852
      if ftype == TType.STOP:
-
 
26853
        break
-
 
26854
      if fid == 0:
-
 
26855
        if ftype == TType.LIST:
-
 
26856
          self.success = []
-
 
26857
          (_etype602, _size599) = iprot.readListBegin()
-
 
26858
          for _i603 in xrange(_size599):
-
 
26859
            _elem604 = FlipkartItemDetails()
-
 
26860
            _elem604.read(iprot)
-
 
26861
            self.success.append(_elem604)
-
 
26862
          iprot.readListEnd()
-
 
26863
        else:
-
 
26864
          iprot.skip(ftype)
-
 
26865
      else:
-
 
26866
        iprot.skip(ftype)
-
 
26867
      iprot.readFieldEnd()
-
 
26868
    iprot.readStructEnd()
-
 
26869
 
-
 
26870
  def write(self, oprot):
-
 
26871
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26872
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26873
      return
-
 
26874
    oprot.writeStructBegin('searchFlipkartItems_result')
-
 
26875
    if self.success is not None:
-
 
26876
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
26877
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
26878
      for iter605 in self.success:
-
 
26879
        iter605.write(oprot)
-
 
26880
      oprot.writeListEnd()
-
 
26881
      oprot.writeFieldEnd()
-
 
26882
    oprot.writeFieldStop()
-
 
26883
    oprot.writeStructEnd()
-
 
26884
 
-
 
26885
  def validate(self):
-
 
26886
    return
-
 
26887
 
-
 
26888
 
-
 
26889
  def __repr__(self):
-
 
26890
    L = ['%s=%r' % (key, value)
-
 
26891
      for key, value in self.__dict__.iteritems()]
-
 
26892
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26893
 
-
 
26894
  def __eq__(self, other):
-
 
26895
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26896
 
-
 
26897
  def __ne__(self, other):
-
 
26898
    return not (self == other)
-
 
26899
 
-
 
26900
class getCountForFlipkartItems_args:
-
 
26901
 
-
 
26902
  thrift_spec = (
-
 
26903
  )
-
 
26904
 
-
 
26905
  def read(self, iprot):
-
 
26906
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26907
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26908
      return
-
 
26909
    iprot.readStructBegin()
-
 
26910
    while True:
-
 
26911
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26912
      if ftype == TType.STOP:
-
 
26913
        break
-
 
26914
      else:
-
 
26915
        iprot.skip(ftype)
-
 
26916
      iprot.readFieldEnd()
-
 
26917
    iprot.readStructEnd()
-
 
26918
 
-
 
26919
  def write(self, oprot):
-
 
26920
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26921
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26922
      return
-
 
26923
    oprot.writeStructBegin('getCountForFlipkartItems_args')
-
 
26924
    oprot.writeFieldStop()
-
 
26925
    oprot.writeStructEnd()
-
 
26926
 
-
 
26927
  def validate(self):
-
 
26928
    return
-
 
26929
 
-
 
26930
 
-
 
26931
  def __repr__(self):
-
 
26932
    L = ['%s=%r' % (key, value)
-
 
26933
      for key, value in self.__dict__.iteritems()]
-
 
26934
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26935
 
-
 
26936
  def __eq__(self, other):
-
 
26937
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26938
 
-
 
26939
  def __ne__(self, other):
-
 
26940
    return not (self == other)
-
 
26941
 
-
 
26942
class getCountForFlipkartItems_result:
-
 
26943
  """
-
 
26944
  Attributes:
-
 
26945
   - success
-
 
26946
  """
-
 
26947
 
-
 
26948
  thrift_spec = (
-
 
26949
    (0, TType.I64, 'success', None, None, ), # 0
-
 
26950
  )
-
 
26951
 
-
 
26952
  def __init__(self, success=None,):
-
 
26953
    self.success = success
-
 
26954
 
-
 
26955
  def read(self, iprot):
-
 
26956
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
26957
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
26958
      return
-
 
26959
    iprot.readStructBegin()
-
 
26960
    while True:
-
 
26961
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
26962
      if ftype == TType.STOP:
-
 
26963
        break
-
 
26964
      if fid == 0:
-
 
26965
        if ftype == TType.I64:
-
 
26966
          self.success = iprot.readI64();
-
 
26967
        else:
-
 
26968
          iprot.skip(ftype)
-
 
26969
      else:
-
 
26970
        iprot.skip(ftype)
-
 
26971
      iprot.readFieldEnd()
-
 
26972
    iprot.readStructEnd()
-
 
26973
 
-
 
26974
  def write(self, oprot):
-
 
26975
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
26976
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
26977
      return
-
 
26978
    oprot.writeStructBegin('getCountForFlipkartItems_result')
-
 
26979
    if self.success is not None:
-
 
26980
      oprot.writeFieldBegin('success', TType.I64, 0)
-
 
26981
      oprot.writeI64(self.success)
-
 
26982
      oprot.writeFieldEnd()
-
 
26983
    oprot.writeFieldStop()
-
 
26984
    oprot.writeStructEnd()
-
 
26985
 
-
 
26986
  def validate(self):
-
 
26987
    return
-
 
26988
 
-
 
26989
 
-
 
26990
  def __repr__(self):
-
 
26991
    L = ['%s=%r' % (key, value)
-
 
26992
      for key, value in self.__dict__.iteritems()]
-
 
26993
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
26994
 
-
 
26995
  def __eq__(self, other):
-
 
26996
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
26997
 
-
 
26998
  def __ne__(self, other):
-
 
26999
    return not (self == other)
-
 
27000
 
-
 
27001
class getFlipkartSearchResultCount_args:
-
 
27002
  """
-
 
27003
  Attributes:
-
 
27004
   - searchTerm
-
 
27005
  """
-
 
27006
 
-
 
27007
  thrift_spec = (
-
 
27008
    None, # 0
-
 
27009
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
-
 
27010
  )
-
 
27011
 
-
 
27012
  def __init__(self, searchTerm=None,):
-
 
27013
    self.searchTerm = searchTerm
-
 
27014
 
-
 
27015
  def read(self, iprot):
-
 
27016
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
27017
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
27018
      return
-
 
27019
    iprot.readStructBegin()
-
 
27020
    while True:
-
 
27021
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
27022
      if ftype == TType.STOP:
-
 
27023
        break
-
 
27024
      if fid == 1:
-
 
27025
        if ftype == TType.LIST:
-
 
27026
          self.searchTerm = []
-
 
27027
          (_etype609, _size606) = iprot.readListBegin()
-
 
27028
          for _i610 in xrange(_size606):
-
 
27029
            _elem611 = iprot.readString();
-
 
27030
            self.searchTerm.append(_elem611)
-
 
27031
          iprot.readListEnd()
-
 
27032
        else:
-
 
27033
          iprot.skip(ftype)
-
 
27034
      else:
-
 
27035
        iprot.skip(ftype)
-
 
27036
      iprot.readFieldEnd()
-
 
27037
    iprot.readStructEnd()
-
 
27038
 
-
 
27039
  def write(self, oprot):
-
 
27040
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
27041
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
27042
      return
-
 
27043
    oprot.writeStructBegin('getFlipkartSearchResultCount_args')
-
 
27044
    if self.searchTerm is not None:
-
 
27045
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
-
 
27046
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
-
 
27047
      for iter612 in self.searchTerm:
-
 
27048
        oprot.writeString(iter612)
-
 
27049
      oprot.writeListEnd()
-
 
27050
      oprot.writeFieldEnd()
-
 
27051
    oprot.writeFieldStop()
-
 
27052
    oprot.writeStructEnd()
-
 
27053
 
-
 
27054
  def validate(self):
-
 
27055
    return
-
 
27056
 
-
 
27057
 
-
 
27058
  def __repr__(self):
-
 
27059
    L = ['%s=%r' % (key, value)
-
 
27060
      for key, value in self.__dict__.iteritems()]
-
 
27061
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
27062
 
-
 
27063
  def __eq__(self, other):
-
 
27064
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
27065
 
-
 
27066
  def __ne__(self, other):
-
 
27067
    return not (self == other)
-
 
27068
 
-
 
27069
class getFlipkartSearchResultCount_result:
-
 
27070
  """
-
 
27071
  Attributes:
-
 
27072
   - success
-
 
27073
  """
-
 
27074
 
-
 
27075
  thrift_spec = (
-
 
27076
    (0, TType.I64, 'success', None, None, ), # 0
-
 
27077
  )
-
 
27078
 
-
 
27079
  def __init__(self, success=None,):
-
 
27080
    self.success = success
-
 
27081
 
-
 
27082
  def read(self, iprot):
-
 
27083
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
27084
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
27085
      return
-
 
27086
    iprot.readStructBegin()
-
 
27087
    while True:
-
 
27088
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
27089
      if ftype == TType.STOP:
-
 
27090
        break
-
 
27091
      if fid == 0:
-
 
27092
        if ftype == TType.I64:
-
 
27093
          self.success = iprot.readI64();
-
 
27094
        else:
-
 
27095
          iprot.skip(ftype)
-
 
27096
      else:
-
 
27097
        iprot.skip(ftype)
-
 
27098
      iprot.readFieldEnd()
-
 
27099
    iprot.readStructEnd()
-
 
27100
 
-
 
27101
  def write(self, oprot):
-
 
27102
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
27103
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
27104
      return
-
 
27105
    oprot.writeStructBegin('getFlipkartSearchResultCount_result')
-
 
27106
    if self.success is not None:
-
 
27107
      oprot.writeFieldBegin('success', TType.I64, 0)
-
 
27108
      oprot.writeI64(self.success)
-
 
27109
      oprot.writeFieldEnd()
-
 
27110
    oprot.writeFieldStop()
-
 
27111
    oprot.writeStructEnd()
-
 
27112
 
-
 
27113
  def validate(self):
-
 
27114
    return
-
 
27115
 
-
 
27116
 
-
 
27117
  def __repr__(self):
-
 
27118
    L = ['%s=%r' % (key, value)
-
 
27119
      for key, value in self.__dict__.iteritems()]
-
 
27120
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
27121
 
-
 
27122
  def __eq__(self, other):
-
 
27123
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
27124
 
-
 
27125
  def __ne__(self, other):
-
 
27126
    return not (self == other)
-
 
27127
 
-
 
27128
class getAllFkItems_args:
-
 
27129
 
-
 
27130
  thrift_spec = (
-
 
27131
  )
-
 
27132
 
-
 
27133
  def read(self, iprot):
-
 
27134
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
27135
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
27136
      return
-
 
27137
    iprot.readStructBegin()
-
 
27138
    while True:
-
 
27139
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
27140
      if ftype == TType.STOP:
-
 
27141
        break
-
 
27142
      else:
-
 
27143
        iprot.skip(ftype)
-
 
27144
      iprot.readFieldEnd()
-
 
27145
    iprot.readStructEnd()
-
 
27146
 
-
 
27147
  def write(self, oprot):
-
 
27148
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
27149
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
27150
      return
-
 
27151
    oprot.writeStructBegin('getAllFkItems_args')
-
 
27152
    oprot.writeFieldStop()
-
 
27153
    oprot.writeStructEnd()
-
 
27154
 
-
 
27155
  def validate(self):
-
 
27156
    return
-
 
27157
 
-
 
27158
 
-
 
27159
  def __repr__(self):
-
 
27160
    L = ['%s=%r' % (key, value)
-
 
27161
      for key, value in self.__dict__.iteritems()]
-
 
27162
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
27163
 
-
 
27164
  def __eq__(self, other):
-
 
27165
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
27166
 
-
 
27167
  def __ne__(self, other):
-
 
27168
    return not (self == other)
-
 
27169
 
-
 
27170
class getAllFkItems_result:
-
 
27171
  """
-
 
27172
  Attributes:
-
 
27173
   - success
-
 
27174
  """
-
 
27175
 
-
 
27176
  thrift_spec = (
-
 
27177
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
-
 
27178
  )
-
 
27179
 
-
 
27180
  def __init__(self, success=None,):
-
 
27181
    self.success = success
-
 
27182
 
-
 
27183
  def read(self, iprot):
-
 
27184
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
27185
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
27186
      return
-
 
27187
    iprot.readStructBegin()
-
 
27188
    while True:
-
 
27189
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
27190
      if ftype == TType.STOP:
-
 
27191
        break
-
 
27192
      if fid == 0:
-
 
27193
        if ftype == TType.LIST:
-
 
27194
          self.success = []
-
 
27195
          (_etype616, _size613) = iprot.readListBegin()
-
 
27196
          for _i617 in xrange(_size613):
-
 
27197
            _elem618 = FlipkartItemDetails()
-
 
27198
            _elem618.read(iprot)
-
 
27199
            self.success.append(_elem618)
-
 
27200
          iprot.readListEnd()
-
 
27201
        else:
-
 
27202
          iprot.skip(ftype)
-
 
27203
      else:
-
 
27204
        iprot.skip(ftype)
-
 
27205
      iprot.readFieldEnd()
-
 
27206
    iprot.readStructEnd()
-
 
27207
 
-
 
27208
  def write(self, oprot):
-
 
27209
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
27210
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
27211
      return
-
 
27212
    oprot.writeStructBegin('getAllFkItems_result')
-
 
27213
    if self.success is not None:
-
 
27214
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
27215
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
27216
      for iter619 in self.success:
-
 
27217
        iter619.write(oprot)
-
 
27218
      oprot.writeListEnd()
-
 
27219
      oprot.writeFieldEnd()
-
 
27220
    oprot.writeFieldStop()
-
 
27221
    oprot.writeStructEnd()
-
 
27222
 
25827
  def validate(self):
27223
  def validate(self):
25828
    return
27224
    return
25829
 
27225
 
25830
 
27226
 
25831
  def __repr__(self):
27227
  def __repr__(self):