Subversion Repositories SmartDukaan

Rev

Rev 12243 | Rev 12363 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5944 mandeep.dh 1
#
2
# Autogenerated by Thrift Compiler (0.7.0)
3
#
4
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
#
6
 
7
from thrift.Thrift import *
8
import shop2020.thriftpy.generic.GenericService
9
from ttypes import *
10
from thrift.Thrift import TProcessor
11
from thrift.transport import TTransport
12
from thrift.protocol import TBinaryProtocol, TProtocol
13
try:
14
  from thrift.protocol import fastbinary
15
except:
16
  fastbinary = None
17
 
18
 
19
class Iface(shop2020.thriftpy.generic.GenericService.Iface):
20
  def addItem(self, item):
21
    """
22
    Availability and inventory attributes
23
 
24
    Parameters:
25
     - item
26
    """
27
    pass
28
 
29
  def updateItem(self, item):
30
    """
31
    Parameters:
32
     - item
33
    """
34
    pass
35
 
36
  def isActive(self, itemId):
37
    """
38
    Checks if the item given to the corresponding itemId is active. If it's active,
39
    whether it's risky and if it's risky, its inventory position.
40
 
41
    Parameters:
42
     - itemId
43
    """
44
    pass
45
 
7438 amit.gupta 46
  def getItemsStatus(self, itemIds):
47
    """
48
    Parameters:
49
     - itemIds
50
    """
51
    pass
52
 
5944 mandeep.dh 53
  def getItemStatusDescription(self, itemId):
54
    """
55
    Parameters:
56
     - itemId
57
    """
58
    pass
59
 
60
  def startItemOn(self, item_id, timestamp):
61
    """
62
    Parameters:
63
     - item_id
64
     - timestamp
65
    """
66
    pass
67
 
68
  def retireItemOn(self, item_id, timestamp):
69
    """
70
    Parameters:
71
     - item_id
72
     - timestamp
73
    """
74
    pass
75
 
76
  def changeItemStatus(self, item_id, timestamp, newstatus):
77
    """
78
    Parameters:
79
     - item_id
80
     - timestamp
81
     - newstatus
82
    """
83
    pass
84
 
85
  def getItem(self, item_id):
86
    """
87
    Parameters:
88
     - item_id
89
    """
90
    pass
91
 
92
  def getItemsByCatalogId(self, catalog_item_id):
93
    """
94
    Parameters:
95
     - catalog_item_id
96
    """
97
    pass
98
 
99
  def getValidItemsByCatalogId(self, catalog_item_id):
100
    """
101
    Parameters:
102
     - catalog_item_id
103
    """
104
    pass
105
 
106
  def getAllItems(self, isActive):
107
    """
108
    Parameters:
109
     - isActive
110
    """
111
    pass
112
 
113
  def getAllItemsByStatus(self, itemStatus):
114
    """
115
    Parameters:
116
     - itemStatus
117
    """
118
    pass
119
 
9253 rajveer 120
  def markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 121
    """
122
    Parameters:
123
     - entityId
124
     - category
125
     - brand
126
     - modelName
127
     - modelNumber
9253 rajveer 128
     - isAndroid
5944 mandeep.dh 129
    """
130
    pass
131
 
132
  def getAllItemsInRange(self, offset, limit):
133
    """
134
    Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
135
 
136
    Parameters:
137
     - offset
138
     - limit
139
    """
140
    pass
141
 
142
  def getAllItemsByStatusInRange(self, itemStatus, offset, limit):
143
    """
144
    Gets at most 'limit' items starting at the given offset in the given status. Returns an empty list if there are no more items at the given offset.
145
 
146
    Parameters:
147
     - itemStatus
148
     - offset
149
     - limit
150
    """
151
    pass
152
 
153
  def getItemCountByStatus(self, useStatus, itemStatus):
154
    """
155
    Gets a count of all items by status
156
 
157
    Parameters:
158
     - useStatus
159
     - itemStatus
160
    """
161
    pass
162
 
163
  def getBestSellers(self, ):
164
    pass
165
 
166
  def getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
167
    """
168
    Parameters:
169
     - beginIndex
170
     - totalItems
171
     - brand
172
     - category
173
    """
174
    pass
175
 
176
  def getBestSellersCount(self, ):
177
    pass
178
 
179
  def getBestDeals(self, ):
180
    pass
181
 
182
  def getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
183
    """
184
    Parameters:
185
     - beginIndex
186
     - totalItems
187
     - brand
188
     - category
189
    """
190
    pass
191
 
192
  def getBestDealsCount(self, ):
193
    pass
194
 
195
  def getComingSoon(self, ):
196
    pass
197
 
198
  def getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
199
    """
200
    Parameters:
201
     - beginIndex
202
     - totalItems
203
     - brand
204
     - category
205
    """
206
    pass
207
 
208
  def getComingSoonCount(self, ):
209
    pass
210
 
211
  def getLatestArrivals(self, ):
212
    """
213
    Returns a list of items sorted in the descending order by start date.
214
    The list is limited to the 'latest_arrivals_count' configuraiton parameter.
215
    """
216
    pass
217
 
218
  def getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
219
    """
220
    Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
221
    To ignore the categories, pass the list as empty. To ignore brand, pass it as null.
222
 
223
    Parameters:
224
     - beginIndex
225
     - totalItems
226
     - brand
227
     - categories
228
    """
229
    pass
230
 
231
  def getLatestArrivalsCount(self, ):
232
    """
233
    Get the total number of latest arrivals we are willing to show.
234
    The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
235
    """
236
    pass
237
 
238
  def generateNewEntityID(self, ):
239
    pass
240
 
241
  def addCategory(self, category):
242
    """
243
    All category related functions
244
 
245
    Parameters:
246
     - category
247
    """
248
    pass
249
 
250
  def getCategory(self, id):
251
    """
252
    Parameters:
253
     - id
254
    """
255
    pass
256
 
257
  def getAllCategories(self, ):
258
    pass
259
 
260
  def getAllSimilarItems(self, itemId):
261
    """
262
    Returns the list of similar items.
263
 
264
    Parameters:
265
     - itemId
266
    """
267
    pass
268
 
269
  def addSimilarItem(self, itemId, catalogItemId):
270
    """
271
    Adds similar item.
272
 
273
    Parameters:
274
     - itemId
275
     - catalogItemId
276
    """
277
    pass
278
 
6512 kshitij.so 279
  def addTag(self, displayName, itemId):
280
    """
281
    Tag Related
282
 
283
    Parameters:
284
     - displayName
285
     - itemId
286
    """
287
    pass
288
 
289
  def deleteEntityTag(self, displayName, itemId):
290
    """
291
    Parameters:
292
     - displayName
293
     - itemId
294
    """
295
    pass
296
 
297
  def deleteTag(self, displayName):
298
    """
299
    Parameters:
300
     - displayName
301
    """
302
    pass
303
 
304
  def getAllTags(self, ):
305
    pass
306
 
307
  def getAllEntitiesByTagName(self, displayName):
308
    """
309
    Parameters:
310
     - displayName
311
    """
312
    pass
313
 
6845 amit.gupta 314
  def getAllEntityTags(self, ):
315
    pass
316
 
8590 kshitij.so 317
  def addBanner(self, bannerCongregate):
6850 kshitij.so 318
    """
8579 kshitij.so 319
    Banner Related
320
 
6850 kshitij.so 321
    Parameters:
8590 kshitij.so 322
     - bannerCongregate
6850 kshitij.so 323
    """
324
    pass
325
 
8579 kshitij.so 326
  def updateBanner(self, banner):
327
    """
328
    Parameters:
329
     - banner
330
    """
331
    pass
332
 
6850 kshitij.so 333
  def getAllBanners(self, ):
334
    pass
335
 
9155 kshitij.so 336
  def deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 337
    """
338
    Parameters:
339
     - bannerName
9155 kshitij.so 340
     - bannerType
6850 kshitij.so 341
    """
342
    pass
343
 
9155 kshitij.so 344
  def getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 345
    """
346
    Parameters:
347
     - bannerName
9155 kshitij.so 348
     - bannerType
6850 kshitij.so 349
    """
350
    pass
351
 
352
  def getActiveBanners(self, ):
353
    pass
354
 
8579 kshitij.so 355
  def addBannerMap(self, bannerMaps):
6849 kshitij.so 356
    """
357
    Parameters:
8579 kshitij.so 358
     - bannerMaps
6849 kshitij.so 359
    """
360
    pass
361
 
8579 kshitij.so 362
  def updateBannerMap(self, bannerMap):
363
    """
364
    Parameters:
365
     - bannerMap
366
    """
367
    pass
368
 
6849 kshitij.so 369
  def deleteBannerMap(self, bannerName):
370
    """
371
    Parameters:
372
     - bannerName
373
    """
374
    pass
375
 
9155 kshitij.so 376
  def getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 377
    """
378
    Parameters:
379
     - bannerName
9155 kshitij.so 380
     - bannerType
6849 kshitij.so 381
    """
382
    pass
383
 
8579 kshitij.so 384
  def addBannerUri(self, bannerUriMappings):
385
    """
386
    Parameters:
387
     - bannerUriMappings
388
    """
389
    pass
390
 
9155 kshitij.so 391
  def getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 392
    """
393
    Parameters:
394
     - bannerName
9155 kshitij.so 395
     - bannerType
8579 kshitij.so 396
    """
397
    pass
398
 
399
  def addCampaign(self, campaign):
400
    """
401
    Parameters:
402
     - campaign
403
    """
404
    pass
405
 
406
  def getCampaigns(self, campaignName):
407
    """
408
    Parameters:
409
     - campaignName
410
    """
411
    pass
412
 
413
  def deleteCampaign(self, campaignId):
414
    """
415
    Parameters:
416
     - campaignId
417
    """
418
    pass
419
 
420
  def getAllCampaigns(self, ):
421
    pass
422
 
9155 kshitij.so 423
  def getActiveBannersForMobileSite(self, ):
424
    pass
425
 
5944 mandeep.dh 426
  def deleteSimilarItem(self, itemId, catalogItemId):
427
    """
428
    Delete similar item.
429
 
430
    Parameters:
431
     - itemId
432
     - catalogItemId
433
    """
434
    pass
435
 
436
  def checkSimilarItem(self, brand, modelNumber, modelName, color):
437
    """
438
    Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
439
    If yes, returns the itemId else returns 0
440
 
441
    Parameters:
442
     - brand
443
     - modelNumber
444
     - modelName
445
     - color
446
    """
447
    pass
448
 
449
  def validateRiskyStatus(self, itemId):
450
    """
451
    Check wether item is risky and change status if inventory is not available for risky items
452
 
453
    Parameters:
454
     - itemId
455
    """
456
    pass
457
 
458
  def changeItemRiskyFlag(self, itemId, risky):
459
    """
460
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
461
 
462
    Parameters:
463
     - itemId
464
     - risky
465
    """
466
    pass
467
 
468
  def getItemsByRiskyFlag(self, ):
469
    """
470
    Returns list of items marked as risky.
471
    """
472
    pass
473
 
474
  def getItemsForMasterSheet(self, category, brand):
475
    """
476
    Returns list of items with any status except PHASED_OUT and filtered by category, brand.
477
 
478
    Parameters:
479
     - category
480
     - brand
481
    """
482
    pass
483
 
484
  def getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
485
    """
486
    Returns list of catalog ids of items with same similarity index as of the given itemId
487
 
488
    Parameters:
489
     - beginIndex
490
     - totalItems
491
     - itemId
492
    """
493
    pass
494
 
495
  def addProductNotification(self, itemId, email):
496
    """
497
    Add user requests for out of stock items. Once user will ask for notify me an entry will
498
 
499
    Parameters:
500
     - itemId
501
     - email
502
    """
503
    pass
504
 
505
  def sendProductNotifications(self, ):
506
    """
507
    Send the product notifications to the users for items which has stock.
508
    """
509
    pass
510
 
511
  def getAllBrandsByCategory(self, categoryId):
512
    """
513
    Returns list of brand names for a given category Id
514
 
515
    Parameters:
516
     - categoryId
517
    """
518
    pass
519
 
520
  def getAllBrands(self, ):
521
    """
522
    Returns list of brand names
523
    """
524
    pass
525
 
526
  def getAllSources(self, ):
527
    """
528
    Return list of all sources
529
    """
530
    pass
531
 
532
  def getItemPricingBySource(self, itemId, sourceId):
533
    """
534
    Returns the pricing information of an item. If no information is found, exception will be thrown.
535
 
536
    Parameters:
537
     - itemId
538
     - sourceId
539
    """
540
    pass
541
 
542
  def addSourceItemPricing(self, sourceItemPricing):
543
    """
544
    Adds prices to be displayed corresponding to the item if user comes from a source.
545
    If item is not found or source is not found, it will throw exception.
546
 
547
    Parameters:
548
     - sourceItemPricing
549
    """
550
    pass
551
 
552
  def getAllSourcePricing(self, itemId):
553
    """
554
    Returns the list of source pricing information of an item.
555
    Raises an exception if item not found corresponding to itemId
556
 
557
    Parameters:
558
     - itemId
559
    """
560
    pass
561
 
562
  def getItemForSource(self, item_id, sourceId):
563
    """
564
    Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
565
 
566
    Parameters:
567
     - item_id
568
     - sourceId
569
    """
570
    pass
571
 
572
  def searchItemsInRange(self, searchTerms, offset, limit):
573
    """
574
    Searches items matching the the given terms in the catalog and returns results within the specified range.
575
 
576
    Parameters:
577
     - searchTerms
578
     - offset
579
     - limit
580
    """
581
    pass
582
 
583
  def getSearchResultCount(self, searchTerms):
584
    """
585
    Gets the count of search results for the given search terms so that the user can go through all the pages.
586
 
587
    Parameters:
588
     - searchTerms
589
    """
590
    pass
591
 
592
  def getProductNotifications(self, startDateTime):
593
    """
594
    Returns a list of product notifications added after a supplied datetime
595
 
596
    Parameters:
597
     - startDateTime
598
    """
599
    pass
600
 
7897 amar.kumar 601
  def getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 602
    """
603
    Returns a list of count of requests for product notification against each item
604
 
605
    Parameters:
606
     - startDateTime
7897 amar.kumar 607
     - categoryId
5944 mandeep.dh 608
    """
609
    pass
610
 
611
  def addAuthorizationLog(self, itemId, username, reason):
612
    """
613
    This method adds a log to authorize table with Item Id, username who authorized the change, reason.
614
 
615
    Parameters:
616
     - itemId
617
     - username
618
     - reason
619
    """
620
    pass
621
 
622
  def addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
623
    """
624
    Parameters:
625
     - catalog_item_id
626
     - voucherType
627
     - voucherAmount
628
    """
629
    pass
630
 
631
  def deleteVoucherForItem(self, catalog_item_id, voucherType):
632
    """
633
    Parameters:
634
     - catalog_item_id
635
     - voucherType
636
    """
637
    pass
638
 
639
  def getVoucherAmount(self, itemId, voucherType):
640
    """
641
    Parameters:
642
     - itemId
643
     - voucherType
644
    """
645
    pass
646
 
647
  def getAllItemVouchers(self, itemId):
648
    """
649
    Parameters:
650
     - itemId
651
    """
652
    pass
653
 
654
  def isValidCatalogItemId(self, catalog_item_id):
655
    """
656
    Parameters:
657
     - catalog_item_id
658
    """
659
    pass
660
 
7330 amit.gupta 661
  def getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 662
    """
663
    Parameters:
664
     - itemId
7330 amit.gupta 665
     - stateId
6039 amit.gupta 666
     - price
667
    """
668
    pass
5944 mandeep.dh 669
 
6039 amit.gupta 670
  def getVatAmountForItem(self, itemId, price):
671
    """
672
    Parameters:
673
     - itemId
674
     - price
675
    """
676
    pass
677
 
6531 vikram.rag 678
  def getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
679
    """
680
    Parameters:
681
     - offset
682
     - limit
683
    """
684
    pass
6039 amit.gupta 685
 
6821 amar.kumar 686
  def getAllAliveItems(self, ):
687
    pass
688
 
6921 anupam.sin 689
  def getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 690
    """
691
    This method returns the insurance amount needed to insure the given item for a given quantity.
6531 vikram.rag 692
 
6805 anupam.sin 693
    Parameters:
694
     - itemId
6921 anupam.sin 695
     - price
6805 anupam.sin 696
     - insurerId
697
     - quantity
698
    """
699
    pass
700
 
701
  def getInsurer(self, insurerId):
702
    """
703
    Parameters:
704
     - insurerId
705
    """
706
    pass
707
 
6838 vikram.rag 708
  def getAllInsurers(self, ):
709
    pass
6805 anupam.sin 710
 
6962 rajveer 711
  def updateInsuranceDeclaredAmount(self, insurerId, amount):
712
    """
713
    Parameters:
714
     - insurerId
715
     - amount
716
    """
717
    pass
6838 vikram.rag 718
 
7190 amar.kumar 719
  def getFreebieForItem(self, itemId):
720
    """
721
    Parameters:
722
     - itemId
723
    """
724
    pass
6962 rajveer 725
 
7190 amar.kumar 726
  def addOrUpdateFreebieForItem(self, freebieItem):
727
    """
728
    Parameters:
729
     - freebieItem
730
    """
731
    pass
732
 
7272 amit.gupta 733
  def addOrUpdateBrandInfo(self, brandInfo):
734
    """
735
    Parameters:
736
     - brandInfo
737
    """
738
    pass
739
 
740
  def getBrandInfo(self, ):
741
    pass
742
 
7256 rajveer 743
  def getStorePricing(self, itemId):
744
    """
745
    Parameters:
746
     - itemId
747
    """
748
    pass
7190 amar.kumar 749
 
7306 rajveer 750
  def getStorePricings(self, itemIds):
751
    """
752
    Parameters:
753
     - itemIds
754
    """
755
    pass
756
 
7382 rajveer 757
  def updateStorePricing(self, sp, allColors):
7265 rajveer 758
    """
759
    Parameters:
760
     - sp
7382 rajveer 761
     - allColors
7265 rajveer 762
    """
763
    pass
7256 rajveer 764
 
7281 kshitij.so 765
  def getAllAmazonListedItems(self, ):
766
    pass
7265 rajveer 767
 
8619 kshitij.so 768
  def searchAmazonItems(self, searchTerm, offset, limit):
769
    """
770
    Parameters:
771
     - searchTerm
772
     - offset
773
     - limit
774
    """
775
    pass
776
 
777
  def getAmazonSearchResultCount(self, searchTerm):
778
    """
779
    Parameters:
780
     - searchTerm
781
    """
782
    pass
783
 
784
  def getCountForAmazonlistedItems(self, ):
785
    pass
786
 
7281 kshitij.so 787
  def getAmazonItemDetails(self, itemId):
788
    """
789
    Parameters:
790
     - itemId
791
    """
792
    pass
793
 
8168 kshitij.so 794
  def updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 795
    """
796
    Parameters:
8168 kshitij.so 797
     - amazonlisted
7281 kshitij.so 798
    """
799
    pass
800
 
801
  def addAmazonItem(self, amazonlisted):
802
    """
803
    Parameters:
804
     - amazonlisted
805
    """
806
    pass
807
 
7291 vikram.rag 808
  def getAsinItems(self, ):
809
    pass
7281 kshitij.so 810
 
7291 vikram.rag 811
  def getAllFbaListedItems(self, ):
812
    pass
813
 
814
  def getAllNonFbaListedItems(self, ):
815
    pass
816
 
7460 kshitij.so 817
  def updateItemInventory(self, itemId, holdInventory, defaultInventory):
818
    """
819
    Parameters:
820
     - itemId
821
     - holdInventory
822
     - defaultInventory
823
    """
824
    pass
7291 vikram.rag 825
 
7770 kshitij.so 826
  def updateTimestampForAmazonFeeds(self, type, sku, timestamp):
827
    """
828
    Parameters:
829
     - type
830
     - sku
831
     - timestamp
832
    """
833
    pass
7460 kshitij.so 834
 
7897 amar.kumar 835
  def getAllParentCategories(self, ):
836
    pass
7770 kshitij.so 837
 
7977 kshitij.so 838
  def addPageViewEvent(self, pageViewEvents):
839
    """
840
    Parameters:
841
     - pageViewEvents
842
    """
843
    pass
7897 amar.kumar 844
 
7977 kshitij.so 845
  def addCartEvent(self, cartEvents):
846
    """
847
    Parameters:
848
     - cartEvents
849
    """
850
    pass
851
 
8182 amar.kumar 852
  def addEbayItem(self, ebayItem):
853
    """
854
    Parameters:
855
     - ebayItem
856
    """
857
    pass
858
 
859
  def getEbayItem(self, listingId):
860
    """
861
    Parameters:
862
     - listingId
863
    """
864
    pass
865
 
866
  def updateEbayItem(self, ebayItem):
867
    """
868
    Parameters:
869
     - ebayItem
870
    """
871
    pass
872
 
8139 kshitij.so 873
  def getAmazonListedItems(self, offset, limit):
874
    """
875
    Parameters:
876
     - offset
877
     - limit
878
    """
879
    pass
7977 kshitij.so 880
 
8168 kshitij.so 881
  def updateAmazonAttributesInBulk(self, amazonlisted):
882
    """
883
    Parameters:
884
     - amazonlisted
885
    """
886
    pass
8139 kshitij.so 887
 
8379 vikram.rag 888
  def getAllItemstoListOnFba(self, ):
889
    pass
8168 kshitij.so 890
 
8379 vikram.rag 891
  def getAllItemstoListOnNonFba(self, ):
892
    pass
893
 
8619 kshitij.so 894
  def updateAsin(self, item):
895
    """
896
    Parameters:
897
     - item
898
    """
899
    pass
8616 vikram.rag 900
 
8739 vikram.rag 901
  def addOrUpdateSnapdealItem(self, snapdealitem):
902
    """
903
    Parameters:
904
     - snapdealitem
905
    """
906
    pass
8619 kshitij.so 907
 
8739 vikram.rag 908
  def getSnapdealItem(self, item_id):
909
    """
910
    Parameters:
911
     - item_id
912
    """
913
    pass
914
 
9242 kshitij.so 915
  def getSnapdealItemDetails(self, item_id):
916
    """
917
    Parameters:
918
     - item_id
919
    """
920
    pass
921
 
8739 vikram.rag 922
  def getAllSnapdealItems(self, ):
923
    pass
924
 
9242 kshitij.so 925
  def getSnapdealItems(self, offset, limit):
926
    """
927
    Parameters:
928
     - offset
929
     - limit
930
    """
931
    pass
8739 vikram.rag 932
 
9242 kshitij.so 933
  def searchSnapdealItems(self, searchTerm, offset, limit):
934
    """
935
    Parameters:
936
     - searchTerm
937
     - offset
938
     - limit
939
    """
940
    pass
941
 
942
  def getCountForSnapdealItems(self, ):
943
    pass
944
 
945
  def getSnapdealSearchResultCount(self, searchTerm):
946
    """
947
    Parameters:
948
     - searchTerm
949
    """
950
    pass
951
 
9299 kshitij.so 952
  def getPrefferedInsurerForItem(self, itemId, insurerType):
953
    """
954
    Parameters:
955
     - itemId
956
     - insurerType
957
    """
958
    pass
9242 kshitij.so 959
 
9456 vikram.rag 960
  def getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
961
    """
962
    Parameters:
963
     - skuAtSnapdeal
964
    """
965
    pass
9299 kshitij.so 966
 
9621 manish.sha 967
  def getProductFeedSubmit(self, catalogItemId):
968
    """
969
    Parameters:
970
     - catalogItemId
971
    """
972
    pass
9456 vikram.rag 973
 
9621 manish.sha 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
 
9724 kshitij.so 998
  def getMarketplacedetailsForItem(self, itemId, sourceId):
999
    """
1000
    Parameters:
1001
     - itemId
1002
     - sourceId
1003
    """
1004
    pass
9621 manish.sha 1005
 
9724 kshitij.so 1006
  def updateMarketplaceAttributesForItem(self, marketPlaceItem):
1007
    """
1008
    Parameters:
1009
     - marketPlaceItem
1010
    """
1011
    pass
1012
 
9779 kshitij.so 1013
  def getCostingForMarketplace(self, source, item_id):
1014
    """
1015
    Parameters:
1016
     - source
1017
     - item_id
1018
    """
1019
    pass
1020
 
9776 vikram.rag 1021
  def getMarketPlaceItemsForPriceUpdate(self, source):
1022
    """
1023
    Parameters:
1024
     - source
1025
    """
1026
    pass
9724 kshitij.so 1027
 
9816 kshitij.so 1028
  def updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 1029
    """
1030
    Parameters:
1031
     - skulist
1032
     - timestamp
9816 kshitij.so 1033
     - source
9776 vikram.rag 1034
    """
1035
    pass
1036
 
9861 rajveer 1037
  def updateItemHoldInventory(self, itemHoldMap):
1038
    """
1039
    Parameters:
1040
     - itemHoldMap
1041
    """
1042
    pass
9776 vikram.rag 1043
 
9895 vikram.rag 1044
  def updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
1045
    """
1046
    Parameters:
1047
     - item_id
1048
     - vendor_id
1049
     - nlc
1050
    """
1051
    pass
9861 rajveer 1052
 
9945 vikram.rag 1053
  def getAllFlipkartItems(self, ):
1054
    pass
9895 vikram.rag 1055
 
10097 kshitij.so 1056
  def addOrUpdateFlipkartItem(self, flipkartitem):
1057
    """
1058
    Parameters:
1059
     - flipkartitem
1060
    """
1061
    pass
9945 vikram.rag 1062
 
10097 kshitij.so 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
 
10140 vikram.rag 1107
  def getFlipkartItemBySkyAtFlipkart(self, sku):
1108
    """
1109
    Parameters:
1110
     - sku
1111
    """
1112
    pass
10097 kshitij.so 1113
 
11015 kshitij.so 1114
  def getMarketplaceHistory(self, source, offset, itemId):
1115
    """
1116
    Parameters:
1117
     - source
1118
     - offset
1119
     - itemId
1120
    """
1121
    pass
1122
 
10909 vikram.rag 1123
  def getAllFbbListedItems(self, ):
1124
    pass
10140 vikram.rag 1125
 
10924 vikram.rag 1126
  def getAllFbbPricingItems(self, ):
1127
    pass
10909 vikram.rag 1128
 
11015 kshitij.so 1129
  def getCountForMarketplaceHistory(self, source, itemId):
1130
    """
1131
    Parameters:
1132
     - source
1133
     - itemId
1134
    """
1135
    pass
10924 vikram.rag 1136
 
11015 kshitij.so 1137
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
1138
    """
1139
    Parameters:
1140
     - source
1141
     - startDate
1142
     - endDate
1143
     - offset
1144
     - limit
1145
     - itemId
1146
    """
1147
    pass
1148
 
11531 vikram.rag 1149
  def getPrivateDealDetails(self, item_id):
1150
    """
1151
    Parameters:
1152
     - item_id
1153
    """
1154
    pass
11015 kshitij.so 1155
 
11531 vikram.rag 1156
  def getPrivateDealItems(self, offset, limit):
1157
    """
1158
    Parameters:
1159
     - offset
1160
     - limit
1161
    """
1162
    pass
1163
 
11653 amit.gupta 1164
  def getAllActivePrivateDeals(self, itemIds, daysDelta):
1165
    """
1166
    Parameters:
1167
     - itemIds
1168
     - daysDelta
1169
    """
11592 amit.gupta 1170
    pass
1171
 
11531 vikram.rag 1172
  def addOrUpdatePrivateDeal(self, privateDeal):
1173
    """
1174
    Parameters:
1175
     - privateDeal
1176
    """
1177
    pass
1178
 
11635 vikram.rag 1179
  def getPrivateDealsCatalogIds(self, beginIndex, totalItems):
1180
    """
1181
    Parameters:
1182
     - beginIndex
1183
     - totalItems
1184
    """
1185
    pass
11531 vikram.rag 1186
 
11645 amit.gupta 1187
  def getPrivateDealsCount(self, ):
1188
    pass
11635 vikram.rag 1189
 
11905 kshitij.so 1190
  def getAmazonOutSyncItems(self, item_id):
1191
    """
1192
    Parameters:
1193
     - item_id
1194
    """
1195
    pass
11645 amit.gupta 1196
 
11905 kshitij.so 1197
  def getAllPrivateDealsComparison(self, ):
1198
    pass
1199
 
12133 kshitij.so 1200
  def getAllSnapdealMarketplaceItem(self, ):
1201
    pass
11905 kshitij.so 1202
 
12133 kshitij.so 1203
  def getAllFlipkartMarketplaceItem(self, ):
1204
    pass
1205
 
12243 kshitij.so 1206
  def addCompetitorScraping(self, competitorPricingMap):
1207
    """
1208
    Parameters:
1209
     - competitorPricingMap
1210
    """
1211
    pass
12133 kshitij.so 1212
 
12243 kshitij.so 1213
  def getPreviousCompetitorScraping(self, delta):
1214
    """
1215
    Parameters:
1216
     - delta
1217
    """
1218
    pass
1219
 
12256 kshitij.so 1220
  def getUploadResultById(self, uploadId):
1221
    """
1222
    Parameters:
1223
     - uploadId
1224
    """
1225
    pass
12243 kshitij.so 1226
 
12256 kshitij.so 1227
 
5944 mandeep.dh 1228
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1229
  def __init__(self, iprot, oprot=None):
1230
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1231
 
1232
  def addItem(self, item):
1233
    """
1234
    Availability and inventory attributes
1235
 
1236
    Parameters:
1237
     - item
1238
    """
1239
    self.send_addItem(item)
1240
    return self.recv_addItem()
1241
 
1242
  def send_addItem(self, item):
1243
    self._oprot.writeMessageBegin('addItem', TMessageType.CALL, self._seqid)
1244
    args = addItem_args()
1245
    args.item = item
1246
    args.write(self._oprot)
1247
    self._oprot.writeMessageEnd()
1248
    self._oprot.trans.flush()
1249
 
1250
  def recv_addItem(self, ):
1251
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1252
    if mtype == TMessageType.EXCEPTION:
1253
      x = TApplicationException()
1254
      x.read(self._iprot)
1255
      self._iprot.readMessageEnd()
1256
      raise x
1257
    result = addItem_result()
1258
    result.read(self._iprot)
1259
    self._iprot.readMessageEnd()
1260
    if result.success is not None:
1261
      return result.success
1262
    if result.cex is not None:
1263
      raise result.cex
1264
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addItem failed: unknown result");
1265
 
1266
  def updateItem(self, item):
1267
    """
1268
    Parameters:
1269
     - item
1270
    """
1271
    self.send_updateItem(item)
1272
    return self.recv_updateItem()
1273
 
1274
  def send_updateItem(self, item):
1275
    self._oprot.writeMessageBegin('updateItem', TMessageType.CALL, self._seqid)
1276
    args = updateItem_args()
1277
    args.item = item
1278
    args.write(self._oprot)
1279
    self._oprot.writeMessageEnd()
1280
    self._oprot.trans.flush()
1281
 
1282
  def recv_updateItem(self, ):
1283
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1284
    if mtype == TMessageType.EXCEPTION:
1285
      x = TApplicationException()
1286
      x.read(self._iprot)
1287
      self._iprot.readMessageEnd()
1288
      raise x
1289
    result = updateItem_result()
1290
    result.read(self._iprot)
1291
    self._iprot.readMessageEnd()
1292
    if result.success is not None:
1293
      return result.success
1294
    if result.cex is not None:
1295
      raise result.cex
1296
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItem failed: unknown result");
1297
 
1298
  def isActive(self, itemId):
1299
    """
1300
    Checks if the item given to the corresponding itemId is active. If it's active,
1301
    whether it's risky and if it's risky, its inventory position.
1302
 
1303
    Parameters:
1304
     - itemId
1305
    """
1306
    self.send_isActive(itemId)
1307
    return self.recv_isActive()
1308
 
1309
  def send_isActive(self, itemId):
1310
    self._oprot.writeMessageBegin('isActive', TMessageType.CALL, self._seqid)
1311
    args = isActive_args()
1312
    args.itemId = itemId
1313
    args.write(self._oprot)
1314
    self._oprot.writeMessageEnd()
1315
    self._oprot.trans.flush()
1316
 
1317
  def recv_isActive(self, ):
1318
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1319
    if mtype == TMessageType.EXCEPTION:
1320
      x = TApplicationException()
1321
      x.read(self._iprot)
1322
      self._iprot.readMessageEnd()
1323
      raise x
1324
    result = isActive_result()
1325
    result.read(self._iprot)
1326
    self._iprot.readMessageEnd()
1327
    if result.success is not None:
1328
      return result.success
1329
    if result.isex is not None:
1330
      raise result.isex
1331
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isActive failed: unknown result");
1332
 
7438 amit.gupta 1333
  def getItemsStatus(self, itemIds):
1334
    """
1335
    Parameters:
1336
     - itemIds
1337
    """
1338
    self.send_getItemsStatus(itemIds)
1339
    return self.recv_getItemsStatus()
1340
 
1341
  def send_getItemsStatus(self, itemIds):
1342
    self._oprot.writeMessageBegin('getItemsStatus', TMessageType.CALL, self._seqid)
1343
    args = getItemsStatus_args()
1344
    args.itemIds = itemIds
1345
    args.write(self._oprot)
1346
    self._oprot.writeMessageEnd()
1347
    self._oprot.trans.flush()
1348
 
1349
  def recv_getItemsStatus(self, ):
1350
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1351
    if mtype == TMessageType.EXCEPTION:
1352
      x = TApplicationException()
1353
      x.read(self._iprot)
1354
      self._iprot.readMessageEnd()
1355
      raise x
1356
    result = getItemsStatus_result()
1357
    result.read(self._iprot)
1358
    self._iprot.readMessageEnd()
1359
    if result.success is not None:
1360
      return result.success
1361
    if result.isex is not None:
1362
      raise result.isex
1363
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsStatus failed: unknown result");
1364
 
5944 mandeep.dh 1365
  def getItemStatusDescription(self, itemId):
1366
    """
1367
    Parameters:
1368
     - itemId
1369
    """
1370
    self.send_getItemStatusDescription(itemId)
1371
    return self.recv_getItemStatusDescription()
1372
 
1373
  def send_getItemStatusDescription(self, itemId):
1374
    self._oprot.writeMessageBegin('getItemStatusDescription', TMessageType.CALL, self._seqid)
1375
    args = getItemStatusDescription_args()
1376
    args.itemId = itemId
1377
    args.write(self._oprot)
1378
    self._oprot.writeMessageEnd()
1379
    self._oprot.trans.flush()
1380
 
1381
  def recv_getItemStatusDescription(self, ):
1382
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1383
    if mtype == TMessageType.EXCEPTION:
1384
      x = TApplicationException()
1385
      x.read(self._iprot)
1386
      self._iprot.readMessageEnd()
1387
      raise x
1388
    result = getItemStatusDescription_result()
1389
    result.read(self._iprot)
1390
    self._iprot.readMessageEnd()
1391
    if result.success is not None:
1392
      return result.success
1393
    if result.isex is not None:
1394
      raise result.isex
1395
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemStatusDescription failed: unknown result");
1396
 
1397
  def startItemOn(self, item_id, timestamp):
1398
    """
1399
    Parameters:
1400
     - item_id
1401
     - timestamp
1402
    """
1403
    self.send_startItemOn(item_id, timestamp)
1404
    self.recv_startItemOn()
1405
 
1406
  def send_startItemOn(self, item_id, timestamp):
1407
    self._oprot.writeMessageBegin('startItemOn', TMessageType.CALL, self._seqid)
1408
    args = startItemOn_args()
1409
    args.item_id = item_id
1410
    args.timestamp = timestamp
1411
    args.write(self._oprot)
1412
    self._oprot.writeMessageEnd()
1413
    self._oprot.trans.flush()
1414
 
1415
  def recv_startItemOn(self, ):
1416
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1417
    if mtype == TMessageType.EXCEPTION:
1418
      x = TApplicationException()
1419
      x.read(self._iprot)
1420
      self._iprot.readMessageEnd()
1421
      raise x
1422
    result = startItemOn_result()
1423
    result.read(self._iprot)
1424
    self._iprot.readMessageEnd()
1425
    if result.cex is not None:
1426
      raise result.cex
1427
    return
1428
 
1429
  def retireItemOn(self, item_id, timestamp):
1430
    """
1431
    Parameters:
1432
     - item_id
1433
     - timestamp
1434
    """
1435
    self.send_retireItemOn(item_id, timestamp)
1436
    self.recv_retireItemOn()
1437
 
1438
  def send_retireItemOn(self, item_id, timestamp):
1439
    self._oprot.writeMessageBegin('retireItemOn', TMessageType.CALL, self._seqid)
1440
    args = retireItemOn_args()
1441
    args.item_id = item_id
1442
    args.timestamp = timestamp
1443
    args.write(self._oprot)
1444
    self._oprot.writeMessageEnd()
1445
    self._oprot.trans.flush()
1446
 
1447
  def recv_retireItemOn(self, ):
1448
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1449
    if mtype == TMessageType.EXCEPTION:
1450
      x = TApplicationException()
1451
      x.read(self._iprot)
1452
      self._iprot.readMessageEnd()
1453
      raise x
1454
    result = retireItemOn_result()
1455
    result.read(self._iprot)
1456
    self._iprot.readMessageEnd()
1457
    if result.cex is not None:
1458
      raise result.cex
1459
    return
1460
 
1461
  def changeItemStatus(self, item_id, timestamp, newstatus):
1462
    """
1463
    Parameters:
1464
     - item_id
1465
     - timestamp
1466
     - newstatus
1467
    """
1468
    self.send_changeItemStatus(item_id, timestamp, newstatus)
1469
    self.recv_changeItemStatus()
1470
 
1471
  def send_changeItemStatus(self, item_id, timestamp, newstatus):
1472
    self._oprot.writeMessageBegin('changeItemStatus', TMessageType.CALL, self._seqid)
1473
    args = changeItemStatus_args()
1474
    args.item_id = item_id
1475
    args.timestamp = timestamp
1476
    args.newstatus = newstatus
1477
    args.write(self._oprot)
1478
    self._oprot.writeMessageEnd()
1479
    self._oprot.trans.flush()
1480
 
1481
  def recv_changeItemStatus(self, ):
1482
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1483
    if mtype == TMessageType.EXCEPTION:
1484
      x = TApplicationException()
1485
      x.read(self._iprot)
1486
      self._iprot.readMessageEnd()
1487
      raise x
1488
    result = changeItemStatus_result()
1489
    result.read(self._iprot)
1490
    self._iprot.readMessageEnd()
1491
    if result.cex is not None:
1492
      raise result.cex
1493
    return
1494
 
1495
  def getItem(self, item_id):
1496
    """
1497
    Parameters:
1498
     - item_id
1499
    """
1500
    self.send_getItem(item_id)
1501
    return self.recv_getItem()
1502
 
1503
  def send_getItem(self, item_id):
1504
    self._oprot.writeMessageBegin('getItem', TMessageType.CALL, self._seqid)
1505
    args = getItem_args()
1506
    args.item_id = item_id
1507
    args.write(self._oprot)
1508
    self._oprot.writeMessageEnd()
1509
    self._oprot.trans.flush()
1510
 
1511
  def recv_getItem(self, ):
1512
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1513
    if mtype == TMessageType.EXCEPTION:
1514
      x = TApplicationException()
1515
      x.read(self._iprot)
1516
      self._iprot.readMessageEnd()
1517
      raise x
1518
    result = getItem_result()
1519
    result.read(self._iprot)
1520
    self._iprot.readMessageEnd()
1521
    if result.success is not None:
1522
      return result.success
1523
    if result.cex is not None:
1524
      raise result.cex
1525
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItem failed: unknown result");
1526
 
1527
  def getItemsByCatalogId(self, catalog_item_id):
1528
    """
1529
    Parameters:
1530
     - catalog_item_id
1531
    """
1532
    self.send_getItemsByCatalogId(catalog_item_id)
1533
    return self.recv_getItemsByCatalogId()
1534
 
1535
  def send_getItemsByCatalogId(self, catalog_item_id):
1536
    self._oprot.writeMessageBegin('getItemsByCatalogId', TMessageType.CALL, self._seqid)
1537
    args = getItemsByCatalogId_args()
1538
    args.catalog_item_id = catalog_item_id
1539
    args.write(self._oprot)
1540
    self._oprot.writeMessageEnd()
1541
    self._oprot.trans.flush()
1542
 
1543
  def recv_getItemsByCatalogId(self, ):
1544
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1545
    if mtype == TMessageType.EXCEPTION:
1546
      x = TApplicationException()
1547
      x.read(self._iprot)
1548
      self._iprot.readMessageEnd()
1549
      raise x
1550
    result = getItemsByCatalogId_result()
1551
    result.read(self._iprot)
1552
    self._iprot.readMessageEnd()
1553
    if result.success is not None:
1554
      return result.success
1555
    if result.cex is not None:
1556
      raise result.cex
1557
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByCatalogId failed: unknown result");
1558
 
1559
  def getValidItemsByCatalogId(self, catalog_item_id):
1560
    """
1561
    Parameters:
1562
     - catalog_item_id
1563
    """
1564
    self.send_getValidItemsByCatalogId(catalog_item_id)
1565
    return self.recv_getValidItemsByCatalogId()
1566
 
1567
  def send_getValidItemsByCatalogId(self, catalog_item_id):
1568
    self._oprot.writeMessageBegin('getValidItemsByCatalogId', TMessageType.CALL, self._seqid)
1569
    args = getValidItemsByCatalogId_args()
1570
    args.catalog_item_id = catalog_item_id
1571
    args.write(self._oprot)
1572
    self._oprot.writeMessageEnd()
1573
    self._oprot.trans.flush()
1574
 
1575
  def recv_getValidItemsByCatalogId(self, ):
1576
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1577
    if mtype == TMessageType.EXCEPTION:
1578
      x = TApplicationException()
1579
      x.read(self._iprot)
1580
      self._iprot.readMessageEnd()
1581
      raise x
1582
    result = getValidItemsByCatalogId_result()
1583
    result.read(self._iprot)
1584
    self._iprot.readMessageEnd()
1585
    if result.success is not None:
1586
      return result.success
1587
    if result.cex is not None:
1588
      raise result.cex
1589
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getValidItemsByCatalogId failed: unknown result");
1590
 
1591
  def getAllItems(self, isActive):
1592
    """
1593
    Parameters:
1594
     - isActive
1595
    """
1596
    self.send_getAllItems(isActive)
1597
    return self.recv_getAllItems()
1598
 
1599
  def send_getAllItems(self, isActive):
1600
    self._oprot.writeMessageBegin('getAllItems', TMessageType.CALL, self._seqid)
1601
    args = getAllItems_args()
1602
    args.isActive = isActive
1603
    args.write(self._oprot)
1604
    self._oprot.writeMessageEnd()
1605
    self._oprot.trans.flush()
1606
 
1607
  def recv_getAllItems(self, ):
1608
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1609
    if mtype == TMessageType.EXCEPTION:
1610
      x = TApplicationException()
1611
      x.read(self._iprot)
1612
      self._iprot.readMessageEnd()
1613
      raise x
1614
    result = getAllItems_result()
1615
    result.read(self._iprot)
1616
    self._iprot.readMessageEnd()
1617
    if result.success is not None:
1618
      return result.success
1619
    if result.cex is not None:
1620
      raise result.cex
1621
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItems failed: unknown result");
1622
 
1623
  def getAllItemsByStatus(self, itemStatus):
1624
    """
1625
    Parameters:
1626
     - itemStatus
1627
    """
1628
    self.send_getAllItemsByStatus(itemStatus)
1629
    return self.recv_getAllItemsByStatus()
1630
 
1631
  def send_getAllItemsByStatus(self, itemStatus):
1632
    self._oprot.writeMessageBegin('getAllItemsByStatus', TMessageType.CALL, self._seqid)
1633
    args = getAllItemsByStatus_args()
1634
    args.itemStatus = itemStatus
1635
    args.write(self._oprot)
1636
    self._oprot.writeMessageEnd()
1637
    self._oprot.trans.flush()
1638
 
1639
  def recv_getAllItemsByStatus(self, ):
1640
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1641
    if mtype == TMessageType.EXCEPTION:
1642
      x = TApplicationException()
1643
      x.read(self._iprot)
1644
      self._iprot.readMessageEnd()
1645
      raise x
1646
    result = getAllItemsByStatus_result()
1647
    result.read(self._iprot)
1648
    self._iprot.readMessageEnd()
1649
    if result.success is not None:
1650
      return result.success
1651
    if result.cex is not None:
1652
      raise result.cex
1653
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatus failed: unknown result");
1654
 
9253 rajveer 1655
  def markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1656
    """
1657
    Parameters:
1658
     - entityId
1659
     - category
1660
     - brand
1661
     - modelName
1662
     - modelNumber
9253 rajveer 1663
     - isAndroid
5944 mandeep.dh 1664
    """
9253 rajveer 1665
    self.send_markItemAsContentComplete(entityId, category, brand, modelName, modelNumber, isAndroid)
5944 mandeep.dh 1666
    return self.recv_markItemAsContentComplete()
1667
 
9253 rajveer 1668
  def send_markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1669
    self._oprot.writeMessageBegin('markItemAsContentComplete', TMessageType.CALL, self._seqid)
1670
    args = markItemAsContentComplete_args()
1671
    args.entityId = entityId
1672
    args.category = category
1673
    args.brand = brand
1674
    args.modelName = modelName
1675
    args.modelNumber = modelNumber
9253 rajveer 1676
    args.isAndroid = isAndroid
5944 mandeep.dh 1677
    args.write(self._oprot)
1678
    self._oprot.writeMessageEnd()
1679
    self._oprot.trans.flush()
1680
 
1681
  def recv_markItemAsContentComplete(self, ):
1682
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1683
    if mtype == TMessageType.EXCEPTION:
1684
      x = TApplicationException()
1685
      x.read(self._iprot)
1686
      self._iprot.readMessageEnd()
1687
      raise x
1688
    result = markItemAsContentComplete_result()
1689
    result.read(self._iprot)
1690
    self._iprot.readMessageEnd()
1691
    if result.success is not None:
1692
      return result.success
1693
    if result.cex is not None:
1694
      raise result.cex
1695
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markItemAsContentComplete failed: unknown result");
1696
 
1697
  def getAllItemsInRange(self, offset, limit):
1698
    """
1699
    Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
1700
 
1701
    Parameters:
1702
     - offset
1703
     - limit
1704
    """
1705
    self.send_getAllItemsInRange(offset, limit)
1706
    return self.recv_getAllItemsInRange()
1707
 
1708
  def send_getAllItemsInRange(self, offset, limit):
1709
    self._oprot.writeMessageBegin('getAllItemsInRange', TMessageType.CALL, self._seqid)
1710
    args = getAllItemsInRange_args()
1711
    args.offset = offset
1712
    args.limit = limit
1713
    args.write(self._oprot)
1714
    self._oprot.writeMessageEnd()
1715
    self._oprot.trans.flush()
1716
 
1717
  def recv_getAllItemsInRange(self, ):
1718
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1719
    if mtype == TMessageType.EXCEPTION:
1720
      x = TApplicationException()
1721
      x.read(self._iprot)
1722
      self._iprot.readMessageEnd()
1723
      raise x
1724
    result = getAllItemsInRange_result()
1725
    result.read(self._iprot)
1726
    self._iprot.readMessageEnd()
1727
    if result.success is not None:
1728
      return result.success
1729
    if result.cex is not None:
1730
      raise result.cex
1731
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsInRange failed: unknown result");
1732
 
1733
  def getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1734
    """
1735
    Gets at most 'limit' items starting at the given offset in the given status. Returns an empty list if there are no more items at the given offset.
1736
 
1737
    Parameters:
1738
     - itemStatus
1739
     - offset
1740
     - limit
1741
    """
1742
    self.send_getAllItemsByStatusInRange(itemStatus, offset, limit)
1743
    return self.recv_getAllItemsByStatusInRange()
1744
 
1745
  def send_getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1746
    self._oprot.writeMessageBegin('getAllItemsByStatusInRange', TMessageType.CALL, self._seqid)
1747
    args = getAllItemsByStatusInRange_args()
1748
    args.itemStatus = itemStatus
1749
    args.offset = offset
1750
    args.limit = limit
1751
    args.write(self._oprot)
1752
    self._oprot.writeMessageEnd()
1753
    self._oprot.trans.flush()
1754
 
1755
  def recv_getAllItemsByStatusInRange(self, ):
1756
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1757
    if mtype == TMessageType.EXCEPTION:
1758
      x = TApplicationException()
1759
      x.read(self._iprot)
1760
      self._iprot.readMessageEnd()
1761
      raise x
1762
    result = getAllItemsByStatusInRange_result()
1763
    result.read(self._iprot)
1764
    self._iprot.readMessageEnd()
1765
    if result.success is not None:
1766
      return result.success
1767
    if result.cex is not None:
1768
      raise result.cex
1769
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatusInRange failed: unknown result");
1770
 
1771
  def getItemCountByStatus(self, useStatus, itemStatus):
1772
    """
1773
    Gets a count of all items by status
1774
 
1775
    Parameters:
1776
     - useStatus
1777
     - itemStatus
1778
    """
1779
    self.send_getItemCountByStatus(useStatus, itemStatus)
1780
    return self.recv_getItemCountByStatus()
1781
 
1782
  def send_getItemCountByStatus(self, useStatus, itemStatus):
1783
    self._oprot.writeMessageBegin('getItemCountByStatus', TMessageType.CALL, self._seqid)
1784
    args = getItemCountByStatus_args()
1785
    args.useStatus = useStatus
1786
    args.itemStatus = itemStatus
1787
    args.write(self._oprot)
1788
    self._oprot.writeMessageEnd()
1789
    self._oprot.trans.flush()
1790
 
1791
  def recv_getItemCountByStatus(self, ):
1792
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1793
    if mtype == TMessageType.EXCEPTION:
1794
      x = TApplicationException()
1795
      x.read(self._iprot)
1796
      self._iprot.readMessageEnd()
1797
      raise x
1798
    result = getItemCountByStatus_result()
1799
    result.read(self._iprot)
1800
    self._iprot.readMessageEnd()
1801
    if result.success is not None:
1802
      return result.success
1803
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemCountByStatus failed: unknown result");
1804
 
1805
  def getBestSellers(self, ):
1806
    self.send_getBestSellers()
1807
    return self.recv_getBestSellers()
1808
 
1809
  def send_getBestSellers(self, ):
1810
    self._oprot.writeMessageBegin('getBestSellers', TMessageType.CALL, self._seqid)
1811
    args = getBestSellers_args()
1812
    args.write(self._oprot)
1813
    self._oprot.writeMessageEnd()
1814
    self._oprot.trans.flush()
1815
 
1816
  def recv_getBestSellers(self, ):
1817
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1818
    if mtype == TMessageType.EXCEPTION:
1819
      x = TApplicationException()
1820
      x.read(self._iprot)
1821
      self._iprot.readMessageEnd()
1822
      raise x
1823
    result = getBestSellers_result()
1824
    result.read(self._iprot)
1825
    self._iprot.readMessageEnd()
1826
    if result.success is not None:
1827
      return result.success
1828
    if result.isex is not None:
1829
      raise result.isex
1830
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellers failed: unknown result");
1831
 
1832
  def getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
1833
    """
1834
    Parameters:
1835
     - beginIndex
1836
     - totalItems
1837
     - brand
1838
     - category
1839
    """
1840
    self.send_getBestSellersCatalogIds(beginIndex, totalItems, brand, category)
1841
    return self.recv_getBestSellersCatalogIds()
1842
 
1843
  def send_getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
1844
    self._oprot.writeMessageBegin('getBestSellersCatalogIds', TMessageType.CALL, self._seqid)
1845
    args = getBestSellersCatalogIds_args()
1846
    args.beginIndex = beginIndex
1847
    args.totalItems = totalItems
1848
    args.brand = brand
1849
    args.category = category
1850
    args.write(self._oprot)
1851
    self._oprot.writeMessageEnd()
1852
    self._oprot.trans.flush()
1853
 
1854
  def recv_getBestSellersCatalogIds(self, ):
1855
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1856
    if mtype == TMessageType.EXCEPTION:
1857
      x = TApplicationException()
1858
      x.read(self._iprot)
1859
      self._iprot.readMessageEnd()
1860
      raise x
1861
    result = getBestSellersCatalogIds_result()
1862
    result.read(self._iprot)
1863
    self._iprot.readMessageEnd()
1864
    if result.success is not None:
1865
      return result.success
1866
    if result.cex is not None:
1867
      raise result.cex
1868
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCatalogIds failed: unknown result");
1869
 
1870
  def getBestSellersCount(self, ):
1871
    self.send_getBestSellersCount()
1872
    return self.recv_getBestSellersCount()
1873
 
1874
  def send_getBestSellersCount(self, ):
1875
    self._oprot.writeMessageBegin('getBestSellersCount', TMessageType.CALL, self._seqid)
1876
    args = getBestSellersCount_args()
1877
    args.write(self._oprot)
1878
    self._oprot.writeMessageEnd()
1879
    self._oprot.trans.flush()
1880
 
1881
  def recv_getBestSellersCount(self, ):
1882
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1883
    if mtype == TMessageType.EXCEPTION:
1884
      x = TApplicationException()
1885
      x.read(self._iprot)
1886
      self._iprot.readMessageEnd()
1887
      raise x
1888
    result = getBestSellersCount_result()
1889
    result.read(self._iprot)
1890
    self._iprot.readMessageEnd()
1891
    if result.success is not None:
1892
      return result.success
1893
    if result.cex is not None:
1894
      raise result.cex
1895
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCount failed: unknown result");
1896
 
1897
  def getBestDeals(self, ):
1898
    self.send_getBestDeals()
1899
    return self.recv_getBestDeals()
1900
 
1901
  def send_getBestDeals(self, ):
1902
    self._oprot.writeMessageBegin('getBestDeals', TMessageType.CALL, self._seqid)
1903
    args = getBestDeals_args()
1904
    args.write(self._oprot)
1905
    self._oprot.writeMessageEnd()
1906
    self._oprot.trans.flush()
1907
 
1908
  def recv_getBestDeals(self, ):
1909
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1910
    if mtype == TMessageType.EXCEPTION:
1911
      x = TApplicationException()
1912
      x.read(self._iprot)
1913
      self._iprot.readMessageEnd()
1914
      raise x
1915
    result = getBestDeals_result()
1916
    result.read(self._iprot)
1917
    self._iprot.readMessageEnd()
1918
    if result.success is not None:
1919
      return result.success
1920
    if result.isex is not None:
1921
      raise result.isex
1922
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDeals failed: unknown result");
1923
 
1924
  def getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
1925
    """
1926
    Parameters:
1927
     - beginIndex
1928
     - totalItems
1929
     - brand
1930
     - category
1931
    """
1932
    self.send_getBestDealsCatalogIds(beginIndex, totalItems, brand, category)
1933
    return self.recv_getBestDealsCatalogIds()
1934
 
1935
  def send_getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
1936
    self._oprot.writeMessageBegin('getBestDealsCatalogIds', TMessageType.CALL, self._seqid)
1937
    args = getBestDealsCatalogIds_args()
1938
    args.beginIndex = beginIndex
1939
    args.totalItems = totalItems
1940
    args.brand = brand
1941
    args.category = category
1942
    args.write(self._oprot)
1943
    self._oprot.writeMessageEnd()
1944
    self._oprot.trans.flush()
1945
 
1946
  def recv_getBestDealsCatalogIds(self, ):
1947
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1948
    if mtype == TMessageType.EXCEPTION:
1949
      x = TApplicationException()
1950
      x.read(self._iprot)
1951
      self._iprot.readMessageEnd()
1952
      raise x
1953
    result = getBestDealsCatalogIds_result()
1954
    result.read(self._iprot)
1955
    self._iprot.readMessageEnd()
1956
    if result.success is not None:
1957
      return result.success
1958
    if result.cex is not None:
1959
      raise result.cex
1960
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCatalogIds failed: unknown result");
1961
 
1962
  def getBestDealsCount(self, ):
1963
    self.send_getBestDealsCount()
1964
    return self.recv_getBestDealsCount()
1965
 
1966
  def send_getBestDealsCount(self, ):
1967
    self._oprot.writeMessageBegin('getBestDealsCount', TMessageType.CALL, self._seqid)
1968
    args = getBestDealsCount_args()
1969
    args.write(self._oprot)
1970
    self._oprot.writeMessageEnd()
1971
    self._oprot.trans.flush()
1972
 
1973
  def recv_getBestDealsCount(self, ):
1974
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1975
    if mtype == TMessageType.EXCEPTION:
1976
      x = TApplicationException()
1977
      x.read(self._iprot)
1978
      self._iprot.readMessageEnd()
1979
      raise x
1980
    result = getBestDealsCount_result()
1981
    result.read(self._iprot)
1982
    self._iprot.readMessageEnd()
1983
    if result.success is not None:
1984
      return result.success
1985
    if result.cex is not None:
1986
      raise result.cex
1987
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCount failed: unknown result");
1988
 
1989
  def getComingSoon(self, ):
1990
    self.send_getComingSoon()
1991
    return self.recv_getComingSoon()
1992
 
1993
  def send_getComingSoon(self, ):
1994
    self._oprot.writeMessageBegin('getComingSoon', TMessageType.CALL, self._seqid)
1995
    args = getComingSoon_args()
1996
    args.write(self._oprot)
1997
    self._oprot.writeMessageEnd()
1998
    self._oprot.trans.flush()
1999
 
2000
  def recv_getComingSoon(self, ):
2001
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2002
    if mtype == TMessageType.EXCEPTION:
2003
      x = TApplicationException()
2004
      x.read(self._iprot)
2005
      self._iprot.readMessageEnd()
2006
      raise x
2007
    result = getComingSoon_result()
2008
    result.read(self._iprot)
2009
    self._iprot.readMessageEnd()
2010
    if result.success is not None:
2011
      return result.success
2012
    if result.isex is not None:
2013
      raise result.isex
2014
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoon failed: unknown result");
2015
 
2016
  def getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2017
    """
2018
    Parameters:
2019
     - beginIndex
2020
     - totalItems
2021
     - brand
2022
     - category
2023
    """
2024
    self.send_getComingSoonCatalogIds(beginIndex, totalItems, brand, category)
2025
    return self.recv_getComingSoonCatalogIds()
2026
 
2027
  def send_getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2028
    self._oprot.writeMessageBegin('getComingSoonCatalogIds', TMessageType.CALL, self._seqid)
2029
    args = getComingSoonCatalogIds_args()
2030
    args.beginIndex = beginIndex
2031
    args.totalItems = totalItems
2032
    args.brand = brand
2033
    args.category = category
2034
    args.write(self._oprot)
2035
    self._oprot.writeMessageEnd()
2036
    self._oprot.trans.flush()
2037
 
2038
  def recv_getComingSoonCatalogIds(self, ):
2039
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2040
    if mtype == TMessageType.EXCEPTION:
2041
      x = TApplicationException()
2042
      x.read(self._iprot)
2043
      self._iprot.readMessageEnd()
2044
      raise x
2045
    result = getComingSoonCatalogIds_result()
2046
    result.read(self._iprot)
2047
    self._iprot.readMessageEnd()
2048
    if result.success is not None:
2049
      return result.success
2050
    if result.cex is not None:
2051
      raise result.cex
2052
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCatalogIds failed: unknown result");
2053
 
2054
  def getComingSoonCount(self, ):
2055
    self.send_getComingSoonCount()
2056
    return self.recv_getComingSoonCount()
2057
 
2058
  def send_getComingSoonCount(self, ):
2059
    self._oprot.writeMessageBegin('getComingSoonCount', TMessageType.CALL, self._seqid)
2060
    args = getComingSoonCount_args()
2061
    args.write(self._oprot)
2062
    self._oprot.writeMessageEnd()
2063
    self._oprot.trans.flush()
2064
 
2065
  def recv_getComingSoonCount(self, ):
2066
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2067
    if mtype == TMessageType.EXCEPTION:
2068
      x = TApplicationException()
2069
      x.read(self._iprot)
2070
      self._iprot.readMessageEnd()
2071
      raise x
2072
    result = getComingSoonCount_result()
2073
    result.read(self._iprot)
2074
    self._iprot.readMessageEnd()
2075
    if result.success is not None:
2076
      return result.success
2077
    if result.cex is not None:
2078
      raise result.cex
2079
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCount failed: unknown result");
2080
 
2081
  def getLatestArrivals(self, ):
2082
    """
2083
    Returns a list of items sorted in the descending order by start date.
2084
    The list is limited to the 'latest_arrivals_count' configuraiton parameter.
2085
    """
2086
    self.send_getLatestArrivals()
2087
    return self.recv_getLatestArrivals()
2088
 
2089
  def send_getLatestArrivals(self, ):
2090
    self._oprot.writeMessageBegin('getLatestArrivals', TMessageType.CALL, self._seqid)
2091
    args = getLatestArrivals_args()
2092
    args.write(self._oprot)
2093
    self._oprot.writeMessageEnd()
2094
    self._oprot.trans.flush()
2095
 
2096
  def recv_getLatestArrivals(self, ):
2097
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2098
    if mtype == TMessageType.EXCEPTION:
2099
      x = TApplicationException()
2100
      x.read(self._iprot)
2101
      self._iprot.readMessageEnd()
2102
      raise x
2103
    result = getLatestArrivals_result()
2104
    result.read(self._iprot)
2105
    self._iprot.readMessageEnd()
2106
    if result.success is not None:
2107
      return result.success
2108
    if result.isex is not None:
2109
      raise result.isex
2110
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivals failed: unknown result");
2111
 
2112
  def getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2113
    """
2114
    Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
2115
    To ignore the categories, pass the list as empty. To ignore brand, pass it as null.
2116
 
2117
    Parameters:
2118
     - beginIndex
2119
     - totalItems
2120
     - brand
2121
     - categories
2122
    """
2123
    self.send_getLatestArrivalsCatalogIds(beginIndex, totalItems, brand, categories)
2124
    return self.recv_getLatestArrivalsCatalogIds()
2125
 
2126
  def send_getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2127
    self._oprot.writeMessageBegin('getLatestArrivalsCatalogIds', TMessageType.CALL, self._seqid)
2128
    args = getLatestArrivalsCatalogIds_args()
2129
    args.beginIndex = beginIndex
2130
    args.totalItems = totalItems
2131
    args.brand = brand
2132
    args.categories = categories
2133
    args.write(self._oprot)
2134
    self._oprot.writeMessageEnd()
2135
    self._oprot.trans.flush()
2136
 
2137
  def recv_getLatestArrivalsCatalogIds(self, ):
2138
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2139
    if mtype == TMessageType.EXCEPTION:
2140
      x = TApplicationException()
2141
      x.read(self._iprot)
2142
      self._iprot.readMessageEnd()
2143
      raise x
2144
    result = getLatestArrivalsCatalogIds_result()
2145
    result.read(self._iprot)
2146
    self._iprot.readMessageEnd()
2147
    if result.success is not None:
2148
      return result.success
2149
    if result.cex is not None:
2150
      raise result.cex
2151
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCatalogIds failed: unknown result");
2152
 
2153
  def getLatestArrivalsCount(self, ):
2154
    """
2155
    Get the total number of latest arrivals we are willing to show.
2156
    The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
2157
    """
2158
    self.send_getLatestArrivalsCount()
2159
    return self.recv_getLatestArrivalsCount()
2160
 
2161
  def send_getLatestArrivalsCount(self, ):
2162
    self._oprot.writeMessageBegin('getLatestArrivalsCount', TMessageType.CALL, self._seqid)
2163
    args = getLatestArrivalsCount_args()
2164
    args.write(self._oprot)
2165
    self._oprot.writeMessageEnd()
2166
    self._oprot.trans.flush()
2167
 
2168
  def recv_getLatestArrivalsCount(self, ):
2169
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2170
    if mtype == TMessageType.EXCEPTION:
2171
      x = TApplicationException()
2172
      x.read(self._iprot)
2173
      self._iprot.readMessageEnd()
2174
      raise x
2175
    result = getLatestArrivalsCount_result()
2176
    result.read(self._iprot)
2177
    self._iprot.readMessageEnd()
2178
    if result.success is not None:
2179
      return result.success
2180
    if result.cex is not None:
2181
      raise result.cex
2182
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCount failed: unknown result");
2183
 
2184
  def generateNewEntityID(self, ):
2185
    self.send_generateNewEntityID()
2186
    return self.recv_generateNewEntityID()
2187
 
2188
  def send_generateNewEntityID(self, ):
2189
    self._oprot.writeMessageBegin('generateNewEntityID', TMessageType.CALL, self._seqid)
2190
    args = generateNewEntityID_args()
2191
    args.write(self._oprot)
2192
    self._oprot.writeMessageEnd()
2193
    self._oprot.trans.flush()
2194
 
2195
  def recv_generateNewEntityID(self, ):
2196
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2197
    if mtype == TMessageType.EXCEPTION:
2198
      x = TApplicationException()
2199
      x.read(self._iprot)
2200
      self._iprot.readMessageEnd()
2201
      raise x
2202
    result = generateNewEntityID_result()
2203
    result.read(self._iprot)
2204
    self._iprot.readMessageEnd()
2205
    if result.success is not None:
2206
      return result.success
2207
    raise TApplicationException(TApplicationException.MISSING_RESULT, "generateNewEntityID failed: unknown result");
2208
 
2209
  def addCategory(self, category):
2210
    """
2211
    All category related functions
2212
 
2213
    Parameters:
2214
     - category
2215
    """
2216
    self.send_addCategory(category)
2217
    return self.recv_addCategory()
2218
 
2219
  def send_addCategory(self, category):
2220
    self._oprot.writeMessageBegin('addCategory', TMessageType.CALL, self._seqid)
2221
    args = addCategory_args()
2222
    args.category = category
2223
    args.write(self._oprot)
2224
    self._oprot.writeMessageEnd()
2225
    self._oprot.trans.flush()
2226
 
2227
  def recv_addCategory(self, ):
2228
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2229
    if mtype == TMessageType.EXCEPTION:
2230
      x = TApplicationException()
2231
      x.read(self._iprot)
2232
      self._iprot.readMessageEnd()
2233
      raise x
2234
    result = addCategory_result()
2235
    result.read(self._iprot)
2236
    self._iprot.readMessageEnd()
2237
    if result.success is not None:
2238
      return result.success
2239
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addCategory failed: unknown result");
2240
 
2241
  def getCategory(self, id):
2242
    """
2243
    Parameters:
2244
     - id
2245
    """
2246
    self.send_getCategory(id)
2247
    return self.recv_getCategory()
2248
 
2249
  def send_getCategory(self, id):
2250
    self._oprot.writeMessageBegin('getCategory', TMessageType.CALL, self._seqid)
2251
    args = getCategory_args()
2252
    args.id = id
2253
    args.write(self._oprot)
2254
    self._oprot.writeMessageEnd()
2255
    self._oprot.trans.flush()
2256
 
2257
  def recv_getCategory(self, ):
2258
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2259
    if mtype == TMessageType.EXCEPTION:
2260
      x = TApplicationException()
2261
      x.read(self._iprot)
2262
      self._iprot.readMessageEnd()
2263
      raise x
2264
    result = getCategory_result()
2265
    result.read(self._iprot)
2266
    self._iprot.readMessageEnd()
2267
    if result.success is not None:
2268
      return result.success
2269
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCategory failed: unknown result");
2270
 
2271
  def getAllCategories(self, ):
2272
    self.send_getAllCategories()
2273
    return self.recv_getAllCategories()
2274
 
2275
  def send_getAllCategories(self, ):
2276
    self._oprot.writeMessageBegin('getAllCategories', TMessageType.CALL, self._seqid)
2277
    args = getAllCategories_args()
2278
    args.write(self._oprot)
2279
    self._oprot.writeMessageEnd()
2280
    self._oprot.trans.flush()
2281
 
2282
  def recv_getAllCategories(self, ):
2283
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2284
    if mtype == TMessageType.EXCEPTION:
2285
      x = TApplicationException()
2286
      x.read(self._iprot)
2287
      self._iprot.readMessageEnd()
2288
      raise x
2289
    result = getAllCategories_result()
2290
    result.read(self._iprot)
2291
    self._iprot.readMessageEnd()
2292
    if result.success is not None:
2293
      return result.success
2294
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCategories failed: unknown result");
2295
 
2296
  def getAllSimilarItems(self, itemId):
2297
    """
2298
    Returns the list of similar items.
2299
 
2300
    Parameters:
2301
     - itemId
2302
    """
2303
    self.send_getAllSimilarItems(itemId)
2304
    return self.recv_getAllSimilarItems()
2305
 
2306
  def send_getAllSimilarItems(self, itemId):
2307
    self._oprot.writeMessageBegin('getAllSimilarItems', TMessageType.CALL, self._seqid)
2308
    args = getAllSimilarItems_args()
2309
    args.itemId = itemId
2310
    args.write(self._oprot)
2311
    self._oprot.writeMessageEnd()
2312
    self._oprot.trans.flush()
2313
 
2314
  def recv_getAllSimilarItems(self, ):
2315
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2316
    if mtype == TMessageType.EXCEPTION:
2317
      x = TApplicationException()
2318
      x.read(self._iprot)
2319
      self._iprot.readMessageEnd()
2320
      raise x
2321
    result = getAllSimilarItems_result()
2322
    result.read(self._iprot)
2323
    self._iprot.readMessageEnd()
2324
    if result.success is not None:
2325
      return result.success
2326
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSimilarItems failed: unknown result");
2327
 
2328
  def addSimilarItem(self, itemId, catalogItemId):
2329
    """
2330
    Adds similar item.
2331
 
2332
    Parameters:
2333
     - itemId
2334
     - catalogItemId
2335
    """
2336
    self.send_addSimilarItem(itemId, catalogItemId)
2337
    return self.recv_addSimilarItem()
2338
 
2339
  def send_addSimilarItem(self, itemId, catalogItemId):
2340
    self._oprot.writeMessageBegin('addSimilarItem', TMessageType.CALL, self._seqid)
2341
    args = addSimilarItem_args()
2342
    args.itemId = itemId
2343
    args.catalogItemId = catalogItemId
2344
    args.write(self._oprot)
2345
    self._oprot.writeMessageEnd()
2346
    self._oprot.trans.flush()
2347
 
2348
  def recv_addSimilarItem(self, ):
2349
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2350
    if mtype == TMessageType.EXCEPTION:
2351
      x = TApplicationException()
2352
      x.read(self._iprot)
2353
      self._iprot.readMessageEnd()
2354
      raise x
2355
    result = addSimilarItem_result()
2356
    result.read(self._iprot)
2357
    self._iprot.readMessageEnd()
2358
    if result.success is not None:
2359
      return result.success
2360
    if result.cex is not None:
2361
      raise result.cex
2362
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addSimilarItem failed: unknown result");
2363
 
6512 kshitij.so 2364
  def addTag(self, displayName, itemId):
2365
    """
2366
    Tag Related
2367
 
2368
    Parameters:
2369
     - displayName
2370
     - itemId
2371
    """
2372
    self.send_addTag(displayName, itemId)
2373
    return self.recv_addTag()
2374
 
2375
  def send_addTag(self, displayName, itemId):
2376
    self._oprot.writeMessageBegin('addTag', TMessageType.CALL, self._seqid)
2377
    args = addTag_args()
2378
    args.displayName = displayName
2379
    args.itemId = itemId
2380
    args.write(self._oprot)
2381
    self._oprot.writeMessageEnd()
2382
    self._oprot.trans.flush()
2383
 
2384
  def recv_addTag(self, ):
2385
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2386
    if mtype == TMessageType.EXCEPTION:
2387
      x = TApplicationException()
2388
      x.read(self._iprot)
2389
      self._iprot.readMessageEnd()
2390
      raise x
2391
    result = addTag_result()
2392
    result.read(self._iprot)
2393
    self._iprot.readMessageEnd()
2394
    if result.success is not None:
2395
      return result.success
2396
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addTag failed: unknown result");
2397
 
2398
  def deleteEntityTag(self, displayName, itemId):
2399
    """
2400
    Parameters:
2401
     - displayName
2402
     - itemId
2403
    """
2404
    self.send_deleteEntityTag(displayName, itemId)
2405
    return self.recv_deleteEntityTag()
2406
 
2407
  def send_deleteEntityTag(self, displayName, itemId):
2408
    self._oprot.writeMessageBegin('deleteEntityTag', TMessageType.CALL, self._seqid)
2409
    args = deleteEntityTag_args()
2410
    args.displayName = displayName
2411
    args.itemId = itemId
2412
    args.write(self._oprot)
2413
    self._oprot.writeMessageEnd()
2414
    self._oprot.trans.flush()
2415
 
2416
  def recv_deleteEntityTag(self, ):
2417
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2418
    if mtype == TMessageType.EXCEPTION:
2419
      x = TApplicationException()
2420
      x.read(self._iprot)
2421
      self._iprot.readMessageEnd()
2422
      raise x
2423
    result = deleteEntityTag_result()
2424
    result.read(self._iprot)
2425
    self._iprot.readMessageEnd()
2426
    if result.success is not None:
2427
      return result.success
2428
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteEntityTag failed: unknown result");
2429
 
2430
  def deleteTag(self, displayName):
2431
    """
2432
    Parameters:
2433
     - displayName
2434
    """
2435
    self.send_deleteTag(displayName)
2436
    return self.recv_deleteTag()
2437
 
2438
  def send_deleteTag(self, displayName):
2439
    self._oprot.writeMessageBegin('deleteTag', TMessageType.CALL, self._seqid)
2440
    args = deleteTag_args()
2441
    args.displayName = displayName
2442
    args.write(self._oprot)
2443
    self._oprot.writeMessageEnd()
2444
    self._oprot.trans.flush()
2445
 
2446
  def recv_deleteTag(self, ):
2447
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2448
    if mtype == TMessageType.EXCEPTION:
2449
      x = TApplicationException()
2450
      x.read(self._iprot)
2451
      self._iprot.readMessageEnd()
2452
      raise x
2453
    result = deleteTag_result()
2454
    result.read(self._iprot)
2455
    self._iprot.readMessageEnd()
2456
    if result.success is not None:
2457
      return result.success
2458
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteTag failed: unknown result");
2459
 
2460
  def getAllTags(self, ):
2461
    self.send_getAllTags()
2462
    return self.recv_getAllTags()
2463
 
2464
  def send_getAllTags(self, ):
2465
    self._oprot.writeMessageBegin('getAllTags', TMessageType.CALL, self._seqid)
2466
    args = getAllTags_args()
2467
    args.write(self._oprot)
2468
    self._oprot.writeMessageEnd()
2469
    self._oprot.trans.flush()
2470
 
2471
  def recv_getAllTags(self, ):
2472
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2473
    if mtype == TMessageType.EXCEPTION:
2474
      x = TApplicationException()
2475
      x.read(self._iprot)
2476
      self._iprot.readMessageEnd()
2477
      raise x
2478
    result = getAllTags_result()
2479
    result.read(self._iprot)
2480
    self._iprot.readMessageEnd()
2481
    if result.success is not None:
2482
      return result.success
2483
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllTags failed: unknown result");
2484
 
2485
  def getAllEntitiesByTagName(self, displayName):
2486
    """
2487
    Parameters:
2488
     - displayName
2489
    """
2490
    self.send_getAllEntitiesByTagName(displayName)
2491
    return self.recv_getAllEntitiesByTagName()
2492
 
2493
  def send_getAllEntitiesByTagName(self, displayName):
2494
    self._oprot.writeMessageBegin('getAllEntitiesByTagName', TMessageType.CALL, self._seqid)
2495
    args = getAllEntitiesByTagName_args()
2496
    args.displayName = displayName
2497
    args.write(self._oprot)
2498
    self._oprot.writeMessageEnd()
2499
    self._oprot.trans.flush()
2500
 
2501
  def recv_getAllEntitiesByTagName(self, ):
2502
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2503
    if mtype == TMessageType.EXCEPTION:
2504
      x = TApplicationException()
2505
      x.read(self._iprot)
2506
      self._iprot.readMessageEnd()
2507
      raise x
2508
    result = getAllEntitiesByTagName_result()
2509
    result.read(self._iprot)
2510
    self._iprot.readMessageEnd()
2511
    if result.success is not None:
2512
      return result.success
2513
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntitiesByTagName failed: unknown result");
2514
 
6845 amit.gupta 2515
  def getAllEntityTags(self, ):
2516
    self.send_getAllEntityTags()
2517
    return self.recv_getAllEntityTags()
2518
 
2519
  def send_getAllEntityTags(self, ):
2520
    self._oprot.writeMessageBegin('getAllEntityTags', TMessageType.CALL, self._seqid)
2521
    args = getAllEntityTags_args()
2522
    args.write(self._oprot)
2523
    self._oprot.writeMessageEnd()
2524
    self._oprot.trans.flush()
2525
 
2526
  def recv_getAllEntityTags(self, ):
2527
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2528
    if mtype == TMessageType.EXCEPTION:
2529
      x = TApplicationException()
2530
      x.read(self._iprot)
2531
      self._iprot.readMessageEnd()
2532
      raise x
2533
    result = getAllEntityTags_result()
2534
    result.read(self._iprot)
2535
    self._iprot.readMessageEnd()
2536
    if result.success is not None:
2537
      return result.success
2538
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
2539
 
8590 kshitij.so 2540
  def addBanner(self, bannerCongregate):
6850 kshitij.so 2541
    """
8579 kshitij.so 2542
    Banner Related
2543
 
6850 kshitij.so 2544
    Parameters:
8590 kshitij.so 2545
     - bannerCongregate
6850 kshitij.so 2546
    """
8590 kshitij.so 2547
    self.send_addBanner(bannerCongregate)
10097 kshitij.so 2548
    return self.recv_addBanner()
6850 kshitij.so 2549
 
8590 kshitij.so 2550
  def send_addBanner(self, bannerCongregate):
6850 kshitij.so 2551
    self._oprot.writeMessageBegin('addBanner', TMessageType.CALL, self._seqid)
2552
    args = addBanner_args()
8590 kshitij.so 2553
    args.bannerCongregate = bannerCongregate
6850 kshitij.so 2554
    args.write(self._oprot)
2555
    self._oprot.writeMessageEnd()
2556
    self._oprot.trans.flush()
2557
 
2558
  def recv_addBanner(self, ):
2559
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2560
    if mtype == TMessageType.EXCEPTION:
2561
      x = TApplicationException()
2562
      x.read(self._iprot)
2563
      self._iprot.readMessageEnd()
2564
      raise x
2565
    result = addBanner_result()
2566
    result.read(self._iprot)
2567
    self._iprot.readMessageEnd()
10097 kshitij.so 2568
    if result.success is not None:
2569
      return result.success
2570
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
6850 kshitij.so 2571
 
8579 kshitij.so 2572
  def updateBanner(self, banner):
2573
    """
2574
    Parameters:
2575
     - banner
2576
    """
2577
    self.send_updateBanner(banner)
2578
    return self.recv_updateBanner()
2579
 
2580
  def send_updateBanner(self, banner):
2581
    self._oprot.writeMessageBegin('updateBanner', TMessageType.CALL, self._seqid)
2582
    args = updateBanner_args()
2583
    args.banner = banner
2584
    args.write(self._oprot)
2585
    self._oprot.writeMessageEnd()
2586
    self._oprot.trans.flush()
2587
 
2588
  def recv_updateBanner(self, ):
2589
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2590
    if mtype == TMessageType.EXCEPTION:
2591
      x = TApplicationException()
2592
      x.read(self._iprot)
2593
      self._iprot.readMessageEnd()
2594
      raise x
2595
    result = updateBanner_result()
2596
    result.read(self._iprot)
2597
    self._iprot.readMessageEnd()
2598
    if result.success is not None:
2599
      return result.success
2600
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBanner failed: unknown result");
2601
 
6850 kshitij.so 2602
  def getAllBanners(self, ):
2603
    self.send_getAllBanners()
2604
    return self.recv_getAllBanners()
2605
 
2606
  def send_getAllBanners(self, ):
2607
    self._oprot.writeMessageBegin('getAllBanners', TMessageType.CALL, self._seqid)
2608
    args = getAllBanners_args()
2609
    args.write(self._oprot)
2610
    self._oprot.writeMessageEnd()
2611
    self._oprot.trans.flush()
2612
 
2613
  def recv_getAllBanners(self, ):
2614
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2615
    if mtype == TMessageType.EXCEPTION:
2616
      x = TApplicationException()
2617
      x.read(self._iprot)
2618
      self._iprot.readMessageEnd()
2619
      raise x
2620
    result = getAllBanners_result()
2621
    result.read(self._iprot)
2622
    self._iprot.readMessageEnd()
2623
    if result.success is not None:
2624
      return result.success
2625
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBanners failed: unknown result");
2626
 
9155 kshitij.so 2627
  def deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2628
    """
2629
    Parameters:
2630
     - bannerName
9155 kshitij.so 2631
     - bannerType
6850 kshitij.so 2632
    """
9155 kshitij.so 2633
    self.send_deleteBanner(bannerName, bannerType)
6850 kshitij.so 2634
    return self.recv_deleteBanner()
2635
 
9155 kshitij.so 2636
  def send_deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2637
    self._oprot.writeMessageBegin('deleteBanner', TMessageType.CALL, self._seqid)
2638
    args = deleteBanner_args()
2639
    args.bannerName = bannerName
9155 kshitij.so 2640
    args.bannerType = bannerType
6850 kshitij.so 2641
    args.write(self._oprot)
2642
    self._oprot.writeMessageEnd()
2643
    self._oprot.trans.flush()
2644
 
2645
  def recv_deleteBanner(self, ):
2646
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2647
    if mtype == TMessageType.EXCEPTION:
2648
      x = TApplicationException()
2649
      x.read(self._iprot)
2650
      self._iprot.readMessageEnd()
2651
      raise x
2652
    result = deleteBanner_result()
2653
    result.read(self._iprot)
2654
    self._iprot.readMessageEnd()
2655
    if result.success is not None:
2656
      return result.success
2657
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBanner failed: unknown result");
2658
 
9155 kshitij.so 2659
  def getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2660
    """
2661
    Parameters:
2662
     - bannerName
9155 kshitij.so 2663
     - bannerType
6850 kshitij.so 2664
    """
9155 kshitij.so 2665
    self.send_getBannerDetails(bannerName, bannerType)
6850 kshitij.so 2666
    return self.recv_getBannerDetails()
2667
 
9155 kshitij.so 2668
  def send_getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2669
    self._oprot.writeMessageBegin('getBannerDetails', TMessageType.CALL, self._seqid)
2670
    args = getBannerDetails_args()
2671
    args.bannerName = bannerName
9155 kshitij.so 2672
    args.bannerType = bannerType
6850 kshitij.so 2673
    args.write(self._oprot)
2674
    self._oprot.writeMessageEnd()
2675
    self._oprot.trans.flush()
2676
 
2677
  def recv_getBannerDetails(self, ):
2678
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2679
    if mtype == TMessageType.EXCEPTION:
2680
      x = TApplicationException()
2681
      x.read(self._iprot)
2682
      self._iprot.readMessageEnd()
2683
      raise x
2684
    result = getBannerDetails_result()
2685
    result.read(self._iprot)
2686
    self._iprot.readMessageEnd()
2687
    if result.success is not None:
2688
      return result.success
2689
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerDetails failed: unknown result");
2690
 
2691
  def getActiveBanners(self, ):
2692
    self.send_getActiveBanners()
2693
    return self.recv_getActiveBanners()
2694
 
2695
  def send_getActiveBanners(self, ):
2696
    self._oprot.writeMessageBegin('getActiveBanners', TMessageType.CALL, self._seqid)
2697
    args = getActiveBanners_args()
2698
    args.write(self._oprot)
2699
    self._oprot.writeMessageEnd()
2700
    self._oprot.trans.flush()
2701
 
2702
  def recv_getActiveBanners(self, ):
2703
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2704
    if mtype == TMessageType.EXCEPTION:
2705
      x = TApplicationException()
2706
      x.read(self._iprot)
2707
      self._iprot.readMessageEnd()
2708
      raise x
2709
    result = getActiveBanners_result()
2710
    result.read(self._iprot)
2711
    self._iprot.readMessageEnd()
2712
    if result.success is not None:
2713
      return result.success
2714
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
2715
 
8579 kshitij.so 2716
  def addBannerMap(self, bannerMaps):
6849 kshitij.so 2717
    """
2718
    Parameters:
8579 kshitij.so 2719
     - bannerMaps
6849 kshitij.so 2720
    """
8579 kshitij.so 2721
    self.send_addBannerMap(bannerMaps)
6849 kshitij.so 2722
    return self.recv_addBannerMap()
2723
 
8579 kshitij.so 2724
  def send_addBannerMap(self, bannerMaps):
6849 kshitij.so 2725
    self._oprot.writeMessageBegin('addBannerMap', TMessageType.CALL, self._seqid)
2726
    args = addBannerMap_args()
8579 kshitij.so 2727
    args.bannerMaps = bannerMaps
6849 kshitij.so 2728
    args.write(self._oprot)
2729
    self._oprot.writeMessageEnd()
2730
    self._oprot.trans.flush()
2731
 
2732
  def recv_addBannerMap(self, ):
2733
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2734
    if mtype == TMessageType.EXCEPTION:
2735
      x = TApplicationException()
2736
      x.read(self._iprot)
2737
      self._iprot.readMessageEnd()
2738
      raise x
2739
    result = addBannerMap_result()
2740
    result.read(self._iprot)
2741
    self._iprot.readMessageEnd()
2742
    if result.success is not None:
2743
      return result.success
2744
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
2745
 
8579 kshitij.so 2746
  def updateBannerMap(self, bannerMap):
2747
    """
2748
    Parameters:
2749
     - bannerMap
2750
    """
2751
    self.send_updateBannerMap(bannerMap)
2752
    return self.recv_updateBannerMap()
2753
 
2754
  def send_updateBannerMap(self, bannerMap):
2755
    self._oprot.writeMessageBegin('updateBannerMap', TMessageType.CALL, self._seqid)
2756
    args = updateBannerMap_args()
2757
    args.bannerMap = bannerMap
2758
    args.write(self._oprot)
2759
    self._oprot.writeMessageEnd()
2760
    self._oprot.trans.flush()
2761
 
2762
  def recv_updateBannerMap(self, ):
2763
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2764
    if mtype == TMessageType.EXCEPTION:
2765
      x = TApplicationException()
2766
      x.read(self._iprot)
2767
      self._iprot.readMessageEnd()
2768
      raise x
2769
    result = updateBannerMap_result()
2770
    result.read(self._iprot)
2771
    self._iprot.readMessageEnd()
2772
    if result.success is not None:
2773
      return result.success
2774
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBannerMap failed: unknown result");
2775
 
6849 kshitij.so 2776
  def deleteBannerMap(self, bannerName):
2777
    """
2778
    Parameters:
2779
     - bannerName
2780
    """
2781
    self.send_deleteBannerMap(bannerName)
2782
    return self.recv_deleteBannerMap()
2783
 
2784
  def send_deleteBannerMap(self, bannerName):
2785
    self._oprot.writeMessageBegin('deleteBannerMap', TMessageType.CALL, self._seqid)
2786
    args = deleteBannerMap_args()
2787
    args.bannerName = bannerName
2788
    args.write(self._oprot)
2789
    self._oprot.writeMessageEnd()
2790
    self._oprot.trans.flush()
2791
 
2792
  def recv_deleteBannerMap(self, ):
2793
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2794
    if mtype == TMessageType.EXCEPTION:
2795
      x = TApplicationException()
2796
      x.read(self._iprot)
2797
      self._iprot.readMessageEnd()
2798
      raise x
2799
    result = deleteBannerMap_result()
2800
    result.read(self._iprot)
2801
    self._iprot.readMessageEnd()
2802
    if result.success is not None:
2803
      return result.success
2804
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBannerMap failed: unknown result");
2805
 
9155 kshitij.so 2806
  def getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 2807
    """
2808
    Parameters:
2809
     - bannerName
9155 kshitij.so 2810
     - bannerType
6849 kshitij.so 2811
    """
9155 kshitij.so 2812
    self.send_getBannerMapDetails(bannerName, bannerType)
6849 kshitij.so 2813
    return self.recv_getBannerMapDetails()
2814
 
9155 kshitij.so 2815
  def send_getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 2816
    self._oprot.writeMessageBegin('getBannerMapDetails', TMessageType.CALL, self._seqid)
2817
    args = getBannerMapDetails_args()
2818
    args.bannerName = bannerName
9155 kshitij.so 2819
    args.bannerType = bannerType
6849 kshitij.so 2820
    args.write(self._oprot)
2821
    self._oprot.writeMessageEnd()
2822
    self._oprot.trans.flush()
2823
 
2824
  def recv_getBannerMapDetails(self, ):
2825
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2826
    if mtype == TMessageType.EXCEPTION:
2827
      x = TApplicationException()
2828
      x.read(self._iprot)
2829
      self._iprot.readMessageEnd()
2830
      raise x
2831
    result = getBannerMapDetails_result()
2832
    result.read(self._iprot)
2833
    self._iprot.readMessageEnd()
2834
    if result.success is not None:
2835
      return result.success
2836
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
2837
 
8579 kshitij.so 2838
  def addBannerUri(self, bannerUriMappings):
2839
    """
2840
    Parameters:
2841
     - bannerUriMappings
2842
    """
2843
    self.send_addBannerUri(bannerUriMappings)
2844
    self.recv_addBannerUri()
2845
 
2846
  def send_addBannerUri(self, bannerUriMappings):
2847
    self._oprot.writeMessageBegin('addBannerUri', TMessageType.CALL, self._seqid)
2848
    args = addBannerUri_args()
2849
    args.bannerUriMappings = bannerUriMappings
2850
    args.write(self._oprot)
2851
    self._oprot.writeMessageEnd()
2852
    self._oprot.trans.flush()
2853
 
2854
  def recv_addBannerUri(self, ):
2855
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2856
    if mtype == TMessageType.EXCEPTION:
2857
      x = TApplicationException()
2858
      x.read(self._iprot)
2859
      self._iprot.readMessageEnd()
2860
      raise x
2861
    result = addBannerUri_result()
2862
    result.read(self._iprot)
2863
    self._iprot.readMessageEnd()
2864
    return
2865
 
9155 kshitij.so 2866
  def getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 2867
    """
2868
    Parameters:
2869
     - bannerName
9155 kshitij.so 2870
     - bannerType
8579 kshitij.so 2871
    """
9155 kshitij.so 2872
    self.send_getUriMapping(bannerName, bannerType)
8579 kshitij.so 2873
    return self.recv_getUriMapping()
2874
 
9155 kshitij.so 2875
  def send_getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 2876
    self._oprot.writeMessageBegin('getUriMapping', TMessageType.CALL, self._seqid)
2877
    args = getUriMapping_args()
2878
    args.bannerName = bannerName
9155 kshitij.so 2879
    args.bannerType = bannerType
8579 kshitij.so 2880
    args.write(self._oprot)
2881
    self._oprot.writeMessageEnd()
2882
    self._oprot.trans.flush()
2883
 
2884
  def recv_getUriMapping(self, ):
2885
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2886
    if mtype == TMessageType.EXCEPTION:
2887
      x = TApplicationException()
2888
      x.read(self._iprot)
2889
      self._iprot.readMessageEnd()
2890
      raise x
2891
    result = getUriMapping_result()
2892
    result.read(self._iprot)
2893
    self._iprot.readMessageEnd()
2894
    if result.success is not None:
2895
      return result.success
2896
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUriMapping failed: unknown result");
2897
 
2898
  def addCampaign(self, campaign):
2899
    """
2900
    Parameters:
2901
     - campaign
2902
    """
2903
    self.send_addCampaign(campaign)
2904
    self.recv_addCampaign()
2905
 
2906
  def send_addCampaign(self, campaign):
2907
    self._oprot.writeMessageBegin('addCampaign', TMessageType.CALL, self._seqid)
2908
    args = addCampaign_args()
2909
    args.campaign = campaign
2910
    args.write(self._oprot)
2911
    self._oprot.writeMessageEnd()
2912
    self._oprot.trans.flush()
2913
 
2914
  def recv_addCampaign(self, ):
2915
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2916
    if mtype == TMessageType.EXCEPTION:
2917
      x = TApplicationException()
2918
      x.read(self._iprot)
2919
      self._iprot.readMessageEnd()
2920
      raise x
2921
    result = addCampaign_result()
2922
    result.read(self._iprot)
2923
    self._iprot.readMessageEnd()
2924
    return
2925
 
2926
  def getCampaigns(self, campaignName):
2927
    """
2928
    Parameters:
2929
     - campaignName
2930
    """
2931
    self.send_getCampaigns(campaignName)
2932
    return self.recv_getCampaigns()
2933
 
2934
  def send_getCampaigns(self, campaignName):
2935
    self._oprot.writeMessageBegin('getCampaigns', TMessageType.CALL, self._seqid)
2936
    args = getCampaigns_args()
2937
    args.campaignName = campaignName
2938
    args.write(self._oprot)
2939
    self._oprot.writeMessageEnd()
2940
    self._oprot.trans.flush()
2941
 
2942
  def recv_getCampaigns(self, ):
2943
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2944
    if mtype == TMessageType.EXCEPTION:
2945
      x = TApplicationException()
2946
      x.read(self._iprot)
2947
      self._iprot.readMessageEnd()
2948
      raise x
2949
    result = getCampaigns_result()
2950
    result.read(self._iprot)
2951
    self._iprot.readMessageEnd()
2952
    if result.success is not None:
2953
      return result.success
2954
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCampaigns failed: unknown result");
2955
 
2956
  def deleteCampaign(self, campaignId):
2957
    """
2958
    Parameters:
2959
     - campaignId
2960
    """
2961
    self.send_deleteCampaign(campaignId)
2962
    self.recv_deleteCampaign()
2963
 
2964
  def send_deleteCampaign(self, campaignId):
2965
    self._oprot.writeMessageBegin('deleteCampaign', TMessageType.CALL, self._seqid)
2966
    args = deleteCampaign_args()
2967
    args.campaignId = campaignId
2968
    args.write(self._oprot)
2969
    self._oprot.writeMessageEnd()
2970
    self._oprot.trans.flush()
2971
 
2972
  def recv_deleteCampaign(self, ):
2973
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2974
    if mtype == TMessageType.EXCEPTION:
2975
      x = TApplicationException()
2976
      x.read(self._iprot)
2977
      self._iprot.readMessageEnd()
2978
      raise x
2979
    result = deleteCampaign_result()
2980
    result.read(self._iprot)
2981
    self._iprot.readMessageEnd()
2982
    return
2983
 
2984
  def getAllCampaigns(self, ):
2985
    self.send_getAllCampaigns()
2986
    return self.recv_getAllCampaigns()
2987
 
2988
  def send_getAllCampaigns(self, ):
2989
    self._oprot.writeMessageBegin('getAllCampaigns', TMessageType.CALL, self._seqid)
2990
    args = getAllCampaigns_args()
2991
    args.write(self._oprot)
2992
    self._oprot.writeMessageEnd()
2993
    self._oprot.trans.flush()
2994
 
2995
  def recv_getAllCampaigns(self, ):
2996
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2997
    if mtype == TMessageType.EXCEPTION:
2998
      x = TApplicationException()
2999
      x.read(self._iprot)
3000
      self._iprot.readMessageEnd()
3001
      raise x
3002
    result = getAllCampaigns_result()
3003
    result.read(self._iprot)
3004
    self._iprot.readMessageEnd()
3005
    if result.success is not None:
3006
      return result.success
3007
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCampaigns failed: unknown result");
3008
 
9155 kshitij.so 3009
  def getActiveBannersForMobileSite(self, ):
3010
    self.send_getActiveBannersForMobileSite()
3011
    return self.recv_getActiveBannersForMobileSite()
3012
 
3013
  def send_getActiveBannersForMobileSite(self, ):
3014
    self._oprot.writeMessageBegin('getActiveBannersForMobileSite', TMessageType.CALL, self._seqid)
3015
    args = getActiveBannersForMobileSite_args()
3016
    args.write(self._oprot)
3017
    self._oprot.writeMessageEnd()
3018
    self._oprot.trans.flush()
3019
 
3020
  def recv_getActiveBannersForMobileSite(self, ):
3021
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3022
    if mtype == TMessageType.EXCEPTION:
3023
      x = TApplicationException()
3024
      x.read(self._iprot)
3025
      self._iprot.readMessageEnd()
3026
      raise x
3027
    result = getActiveBannersForMobileSite_result()
3028
    result.read(self._iprot)
3029
    self._iprot.readMessageEnd()
3030
    if result.success is not None:
3031
      return result.success
3032
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBannersForMobileSite failed: unknown result");
3033
 
5944 mandeep.dh 3034
  def deleteSimilarItem(self, itemId, catalogItemId):
3035
    """
3036
    Delete similar item.
3037
 
3038
    Parameters:
3039
     - itemId
3040
     - catalogItemId
3041
    """
3042
    self.send_deleteSimilarItem(itemId, catalogItemId)
3043
    return self.recv_deleteSimilarItem()
3044
 
3045
  def send_deleteSimilarItem(self, itemId, catalogItemId):
3046
    self._oprot.writeMessageBegin('deleteSimilarItem', TMessageType.CALL, self._seqid)
3047
    args = deleteSimilarItem_args()
3048
    args.itemId = itemId
3049
    args.catalogItemId = catalogItemId
3050
    args.write(self._oprot)
3051
    self._oprot.writeMessageEnd()
3052
    self._oprot.trans.flush()
3053
 
3054
  def recv_deleteSimilarItem(self, ):
3055
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3056
    if mtype == TMessageType.EXCEPTION:
3057
      x = TApplicationException()
3058
      x.read(self._iprot)
3059
      self._iprot.readMessageEnd()
3060
      raise x
3061
    result = deleteSimilarItem_result()
3062
    result.read(self._iprot)
3063
    self._iprot.readMessageEnd()
3064
    if result.success is not None:
3065
      return result.success
3066
    if result.cex is not None:
3067
      raise result.cex
3068
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteSimilarItem failed: unknown result");
3069
 
3070
  def checkSimilarItem(self, brand, modelNumber, modelName, color):
3071
    """
3072
    Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
3073
    If yes, returns the itemId else returns 0
3074
 
3075
    Parameters:
3076
     - brand
3077
     - modelNumber
3078
     - modelName
3079
     - color
3080
    """
3081
    self.send_checkSimilarItem(brand, modelNumber, modelName, color)
3082
    return self.recv_checkSimilarItem()
3083
 
3084
  def send_checkSimilarItem(self, brand, modelNumber, modelName, color):
3085
    self._oprot.writeMessageBegin('checkSimilarItem', TMessageType.CALL, self._seqid)
3086
    args = checkSimilarItem_args()
3087
    args.brand = brand
3088
    args.modelNumber = modelNumber
3089
    args.modelName = modelName
3090
    args.color = color
3091
    args.write(self._oprot)
3092
    self._oprot.writeMessageEnd()
3093
    self._oprot.trans.flush()
3094
 
3095
  def recv_checkSimilarItem(self, ):
3096
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3097
    if mtype == TMessageType.EXCEPTION:
3098
      x = TApplicationException()
3099
      x.read(self._iprot)
3100
      self._iprot.readMessageEnd()
3101
      raise x
3102
    result = checkSimilarItem_result()
3103
    result.read(self._iprot)
3104
    self._iprot.readMessageEnd()
3105
    if result.success is not None:
3106
      return result.success
3107
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkSimilarItem failed: unknown result");
3108
 
3109
  def validateRiskyStatus(self, itemId):
3110
    """
3111
    Check wether item is risky and change status if inventory is not available for risky items
3112
 
3113
    Parameters:
3114
     - itemId
3115
    """
3116
    self.send_validateRiskyStatus(itemId)
3117
    self.recv_validateRiskyStatus()
3118
 
3119
  def send_validateRiskyStatus(self, itemId):
3120
    self._oprot.writeMessageBegin('validateRiskyStatus', TMessageType.CALL, self._seqid)
3121
    args = validateRiskyStatus_args()
3122
    args.itemId = itemId
3123
    args.write(self._oprot)
3124
    self._oprot.writeMessageEnd()
3125
    self._oprot.trans.flush()
3126
 
3127
  def recv_validateRiskyStatus(self, ):
3128
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3129
    if mtype == TMessageType.EXCEPTION:
3130
      x = TApplicationException()
3131
      x.read(self._iprot)
3132
      self._iprot.readMessageEnd()
3133
      raise x
3134
    result = validateRiskyStatus_result()
3135
    result.read(self._iprot)
3136
    self._iprot.readMessageEnd()
3137
    return
3138
 
3139
  def changeItemRiskyFlag(self, itemId, risky):
3140
    """
3141
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
3142
 
3143
    Parameters:
3144
     - itemId
3145
     - risky
3146
    """
3147
    self.send_changeItemRiskyFlag(itemId, risky)
3148
    self.recv_changeItemRiskyFlag()
3149
 
3150
  def send_changeItemRiskyFlag(self, itemId, risky):
3151
    self._oprot.writeMessageBegin('changeItemRiskyFlag', TMessageType.CALL, self._seqid)
3152
    args = changeItemRiskyFlag_args()
3153
    args.itemId = itemId
3154
    args.risky = risky
3155
    args.write(self._oprot)
3156
    self._oprot.writeMessageEnd()
3157
    self._oprot.trans.flush()
3158
 
3159
  def recv_changeItemRiskyFlag(self, ):
3160
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3161
    if mtype == TMessageType.EXCEPTION:
3162
      x = TApplicationException()
3163
      x.read(self._iprot)
3164
      self._iprot.readMessageEnd()
3165
      raise x
3166
    result = changeItemRiskyFlag_result()
3167
    result.read(self._iprot)
3168
    self._iprot.readMessageEnd()
3169
    return
3170
 
3171
  def getItemsByRiskyFlag(self, ):
3172
    """
3173
    Returns list of items marked as risky.
3174
    """
3175
    self.send_getItemsByRiskyFlag()
3176
    return self.recv_getItemsByRiskyFlag()
3177
 
3178
  def send_getItemsByRiskyFlag(self, ):
3179
    self._oprot.writeMessageBegin('getItemsByRiskyFlag', TMessageType.CALL, self._seqid)
3180
    args = getItemsByRiskyFlag_args()
3181
    args.write(self._oprot)
3182
    self._oprot.writeMessageEnd()
3183
    self._oprot.trans.flush()
3184
 
3185
  def recv_getItemsByRiskyFlag(self, ):
3186
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3187
    if mtype == TMessageType.EXCEPTION:
3188
      x = TApplicationException()
3189
      x.read(self._iprot)
3190
      self._iprot.readMessageEnd()
3191
      raise x
3192
    result = getItemsByRiskyFlag_result()
3193
    result.read(self._iprot)
3194
    self._iprot.readMessageEnd()
3195
    if result.success is not None:
3196
      return result.success
3197
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByRiskyFlag failed: unknown result");
3198
 
3199
  def getItemsForMasterSheet(self, category, brand):
3200
    """
3201
    Returns list of items with any status except PHASED_OUT and filtered by category, brand.
3202
 
3203
    Parameters:
3204
     - category
3205
     - brand
3206
    """
3207
    self.send_getItemsForMasterSheet(category, brand)
3208
    return self.recv_getItemsForMasterSheet()
3209
 
3210
  def send_getItemsForMasterSheet(self, category, brand):
3211
    self._oprot.writeMessageBegin('getItemsForMasterSheet', TMessageType.CALL, self._seqid)
3212
    args = getItemsForMasterSheet_args()
3213
    args.category = category
3214
    args.brand = brand
3215
    args.write(self._oprot)
3216
    self._oprot.writeMessageEnd()
3217
    self._oprot.trans.flush()
3218
 
3219
  def recv_getItemsForMasterSheet(self, ):
3220
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3221
    if mtype == TMessageType.EXCEPTION:
3222
      x = TApplicationException()
3223
      x.read(self._iprot)
3224
      self._iprot.readMessageEnd()
3225
      raise x
3226
    result = getItemsForMasterSheet_result()
3227
    result.read(self._iprot)
3228
    self._iprot.readMessageEnd()
3229
    if result.success is not None:
3230
      return result.success
3231
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsForMasterSheet failed: unknown result");
3232
 
3233
  def getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3234
    """
3235
    Returns list of catalog ids of items with same similarity index as of the given itemId
3236
 
3237
    Parameters:
3238
     - beginIndex
3239
     - totalItems
3240
     - itemId
3241
    """
3242
    self.send_getSimilarItemsCatalogIds(beginIndex, totalItems, itemId)
3243
    return self.recv_getSimilarItemsCatalogIds()
3244
 
3245
  def send_getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3246
    self._oprot.writeMessageBegin('getSimilarItemsCatalogIds', TMessageType.CALL, self._seqid)
3247
    args = getSimilarItemsCatalogIds_args()
3248
    args.beginIndex = beginIndex
3249
    args.totalItems = totalItems
3250
    args.itemId = itemId
3251
    args.write(self._oprot)
3252
    self._oprot.writeMessageEnd()
3253
    self._oprot.trans.flush()
3254
 
3255
  def recv_getSimilarItemsCatalogIds(self, ):
3256
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3257
    if mtype == TMessageType.EXCEPTION:
3258
      x = TApplicationException()
3259
      x.read(self._iprot)
3260
      self._iprot.readMessageEnd()
3261
      raise x
3262
    result = getSimilarItemsCatalogIds_result()
3263
    result.read(self._iprot)
3264
    self._iprot.readMessageEnd()
3265
    if result.success is not None:
3266
      return result.success
3267
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSimilarItemsCatalogIds failed: unknown result");
3268
 
3269
  def addProductNotification(self, itemId, email):
3270
    """
3271
    Add user requests for out of stock items. Once user will ask for notify me an entry will
3272
 
3273
    Parameters:
3274
     - itemId
3275
     - email
3276
    """
3277
    self.send_addProductNotification(itemId, email)
3278
    return self.recv_addProductNotification()
3279
 
3280
  def send_addProductNotification(self, itemId, email):
3281
    self._oprot.writeMessageBegin('addProductNotification', TMessageType.CALL, self._seqid)
3282
    args = addProductNotification_args()
3283
    args.itemId = itemId
3284
    args.email = email
3285
    args.write(self._oprot)
3286
    self._oprot.writeMessageEnd()
3287
    self._oprot.trans.flush()
3288
 
3289
  def recv_addProductNotification(self, ):
3290
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3291
    if mtype == TMessageType.EXCEPTION:
3292
      x = TApplicationException()
3293
      x.read(self._iprot)
3294
      self._iprot.readMessageEnd()
3295
      raise x
3296
    result = addProductNotification_result()
3297
    result.read(self._iprot)
3298
    self._iprot.readMessageEnd()
3299
    if result.success is not None:
3300
      return result.success
3301
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductNotification failed: unknown result");
3302
 
3303
  def sendProductNotifications(self, ):
3304
    """
3305
    Send the product notifications to the users for items which has stock.
3306
    """
3307
    self.send_sendProductNotifications()
3308
    return self.recv_sendProductNotifications()
3309
 
3310
  def send_sendProductNotifications(self, ):
3311
    self._oprot.writeMessageBegin('sendProductNotifications', TMessageType.CALL, self._seqid)
3312
    args = sendProductNotifications_args()
3313
    args.write(self._oprot)
3314
    self._oprot.writeMessageEnd()
3315
    self._oprot.trans.flush()
3316
 
3317
  def recv_sendProductNotifications(self, ):
3318
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3319
    if mtype == TMessageType.EXCEPTION:
3320
      x = TApplicationException()
3321
      x.read(self._iprot)
3322
      self._iprot.readMessageEnd()
3323
      raise x
3324
    result = sendProductNotifications_result()
3325
    result.read(self._iprot)
3326
    self._iprot.readMessageEnd()
3327
    if result.success is not None:
3328
      return result.success
3329
    raise TApplicationException(TApplicationException.MISSING_RESULT, "sendProductNotifications failed: unknown result");
3330
 
3331
  def getAllBrandsByCategory(self, categoryId):
3332
    """
3333
    Returns list of brand names for a given category Id
3334
 
3335
    Parameters:
3336
     - categoryId
3337
    """
3338
    self.send_getAllBrandsByCategory(categoryId)
3339
    return self.recv_getAllBrandsByCategory()
3340
 
3341
  def send_getAllBrandsByCategory(self, categoryId):
3342
    self._oprot.writeMessageBegin('getAllBrandsByCategory', TMessageType.CALL, self._seqid)
3343
    args = getAllBrandsByCategory_args()
3344
    args.categoryId = categoryId
3345
    args.write(self._oprot)
3346
    self._oprot.writeMessageEnd()
3347
    self._oprot.trans.flush()
3348
 
3349
  def recv_getAllBrandsByCategory(self, ):
3350
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3351
    if mtype == TMessageType.EXCEPTION:
3352
      x = TApplicationException()
3353
      x.read(self._iprot)
3354
      self._iprot.readMessageEnd()
3355
      raise x
3356
    result = getAllBrandsByCategory_result()
3357
    result.read(self._iprot)
3358
    self._iprot.readMessageEnd()
3359
    if result.success is not None:
3360
      return result.success
3361
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrandsByCategory failed: unknown result");
3362
 
3363
  def getAllBrands(self, ):
3364
    """
3365
    Returns list of brand names
3366
    """
3367
    self.send_getAllBrands()
3368
    return self.recv_getAllBrands()
3369
 
3370
  def send_getAllBrands(self, ):
3371
    self._oprot.writeMessageBegin('getAllBrands', TMessageType.CALL, self._seqid)
3372
    args = getAllBrands_args()
3373
    args.write(self._oprot)
3374
    self._oprot.writeMessageEnd()
3375
    self._oprot.trans.flush()
3376
 
3377
  def recv_getAllBrands(self, ):
3378
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3379
    if mtype == TMessageType.EXCEPTION:
3380
      x = TApplicationException()
3381
      x.read(self._iprot)
3382
      self._iprot.readMessageEnd()
3383
      raise x
3384
    result = getAllBrands_result()
3385
    result.read(self._iprot)
3386
    self._iprot.readMessageEnd()
3387
    if result.success is not None:
3388
      return result.success
3389
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrands failed: unknown result");
3390
 
3391
  def getAllSources(self, ):
3392
    """
3393
    Return list of all sources
3394
    """
3395
    self.send_getAllSources()
3396
    return self.recv_getAllSources()
3397
 
3398
  def send_getAllSources(self, ):
3399
    self._oprot.writeMessageBegin('getAllSources', TMessageType.CALL, self._seqid)
3400
    args = getAllSources_args()
3401
    args.write(self._oprot)
3402
    self._oprot.writeMessageEnd()
3403
    self._oprot.trans.flush()
3404
 
3405
  def recv_getAllSources(self, ):
3406
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3407
    if mtype == TMessageType.EXCEPTION:
3408
      x = TApplicationException()
3409
      x.read(self._iprot)
3410
      self._iprot.readMessageEnd()
3411
      raise x
3412
    result = getAllSources_result()
3413
    result.read(self._iprot)
3414
    self._iprot.readMessageEnd()
3415
    if result.success is not None:
3416
      return result.success
3417
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSources failed: unknown result");
3418
 
3419
  def getItemPricingBySource(self, itemId, sourceId):
3420
    """
3421
    Returns the pricing information of an item. If no information is found, exception will be thrown.
3422
 
3423
    Parameters:
3424
     - itemId
3425
     - sourceId
3426
    """
3427
    self.send_getItemPricingBySource(itemId, sourceId)
3428
    return self.recv_getItemPricingBySource()
3429
 
3430
  def send_getItemPricingBySource(self, itemId, sourceId):
3431
    self._oprot.writeMessageBegin('getItemPricingBySource', TMessageType.CALL, self._seqid)
3432
    args = getItemPricingBySource_args()
3433
    args.itemId = itemId
3434
    args.sourceId = sourceId
3435
    args.write(self._oprot)
3436
    self._oprot.writeMessageEnd()
3437
    self._oprot.trans.flush()
3438
 
3439
  def recv_getItemPricingBySource(self, ):
3440
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3441
    if mtype == TMessageType.EXCEPTION:
3442
      x = TApplicationException()
3443
      x.read(self._iprot)
3444
      self._iprot.readMessageEnd()
3445
      raise x
3446
    result = getItemPricingBySource_result()
3447
    result.read(self._iprot)
3448
    self._iprot.readMessageEnd()
3449
    if result.success is not None:
3450
      return result.success
3451
    if result.cex is not None:
3452
      raise result.cex
3453
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemPricingBySource failed: unknown result");
3454
 
3455
  def addSourceItemPricing(self, sourceItemPricing):
3456
    """
3457
    Adds prices to be displayed corresponding to the item if user comes from a source.
3458
    If item is not found or source is not found, it will throw exception.
3459
 
3460
    Parameters:
3461
     - sourceItemPricing
3462
    """
3463
    self.send_addSourceItemPricing(sourceItemPricing)
3464
    self.recv_addSourceItemPricing()
3465
 
3466
  def send_addSourceItemPricing(self, sourceItemPricing):
3467
    self._oprot.writeMessageBegin('addSourceItemPricing', TMessageType.CALL, self._seqid)
3468
    args = addSourceItemPricing_args()
3469
    args.sourceItemPricing = sourceItemPricing
3470
    args.write(self._oprot)
3471
    self._oprot.writeMessageEnd()
3472
    self._oprot.trans.flush()
3473
 
3474
  def recv_addSourceItemPricing(self, ):
3475
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3476
    if mtype == TMessageType.EXCEPTION:
3477
      x = TApplicationException()
3478
      x.read(self._iprot)
3479
      self._iprot.readMessageEnd()
3480
      raise x
3481
    result = addSourceItemPricing_result()
3482
    result.read(self._iprot)
3483
    self._iprot.readMessageEnd()
3484
    if result.cex is not None:
3485
      raise result.cex
3486
    return
3487
 
3488
  def getAllSourcePricing(self, itemId):
3489
    """
3490
    Returns the list of source pricing information of an item.
3491
    Raises an exception if item not found corresponding to itemId
3492
 
3493
    Parameters:
3494
     - itemId
3495
    """
3496
    self.send_getAllSourcePricing(itemId)
3497
    return self.recv_getAllSourcePricing()
3498
 
3499
  def send_getAllSourcePricing(self, itemId):
3500
    self._oprot.writeMessageBegin('getAllSourcePricing', TMessageType.CALL, self._seqid)
3501
    args = getAllSourcePricing_args()
3502
    args.itemId = itemId
3503
    args.write(self._oprot)
3504
    self._oprot.writeMessageEnd()
3505
    self._oprot.trans.flush()
3506
 
3507
  def recv_getAllSourcePricing(self, ):
3508
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3509
    if mtype == TMessageType.EXCEPTION:
3510
      x = TApplicationException()
3511
      x.read(self._iprot)
3512
      self._iprot.readMessageEnd()
3513
      raise x
3514
    result = getAllSourcePricing_result()
3515
    result.read(self._iprot)
3516
    self._iprot.readMessageEnd()
3517
    if result.success is not None:
3518
      return result.success
3519
    if result.cex is not None:
3520
      raise result.cex
3521
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSourcePricing failed: unknown result");
3522
 
3523
  def getItemForSource(self, item_id, sourceId):
3524
    """
3525
    Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
3526
 
3527
    Parameters:
3528
     - item_id
3529
     - sourceId
3530
    """
3531
    self.send_getItemForSource(item_id, sourceId)
3532
    return self.recv_getItemForSource()
3533
 
3534
  def send_getItemForSource(self, item_id, sourceId):
3535
    self._oprot.writeMessageBegin('getItemForSource', TMessageType.CALL, self._seqid)
3536
    args = getItemForSource_args()
3537
    args.item_id = item_id
3538
    args.sourceId = sourceId
3539
    args.write(self._oprot)
3540
    self._oprot.writeMessageEnd()
3541
    self._oprot.trans.flush()
3542
 
3543
  def recv_getItemForSource(self, ):
3544
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3545
    if mtype == TMessageType.EXCEPTION:
3546
      x = TApplicationException()
3547
      x.read(self._iprot)
3548
      self._iprot.readMessageEnd()
3549
      raise x
3550
    result = getItemForSource_result()
3551
    result.read(self._iprot)
3552
    self._iprot.readMessageEnd()
3553
    if result.success is not None:
3554
      return result.success
3555
    if result.cex is not None:
3556
      raise result.cex
3557
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemForSource failed: unknown result");
3558
 
3559
  def searchItemsInRange(self, searchTerms, offset, limit):
3560
    """
3561
    Searches items matching the the given terms in the catalog and returns results within the specified range.
3562
 
3563
    Parameters:
3564
     - searchTerms
3565
     - offset
3566
     - limit
3567
    """
3568
    self.send_searchItemsInRange(searchTerms, offset, limit)
3569
    return self.recv_searchItemsInRange()
3570
 
3571
  def send_searchItemsInRange(self, searchTerms, offset, limit):
3572
    self._oprot.writeMessageBegin('searchItemsInRange', TMessageType.CALL, self._seqid)
3573
    args = searchItemsInRange_args()
3574
    args.searchTerms = searchTerms
3575
    args.offset = offset
3576
    args.limit = limit
3577
    args.write(self._oprot)
3578
    self._oprot.writeMessageEnd()
3579
    self._oprot.trans.flush()
3580
 
3581
  def recv_searchItemsInRange(self, ):
3582
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3583
    if mtype == TMessageType.EXCEPTION:
3584
      x = TApplicationException()
3585
      x.read(self._iprot)
3586
      self._iprot.readMessageEnd()
3587
      raise x
3588
    result = searchItemsInRange_result()
3589
    result.read(self._iprot)
3590
    self._iprot.readMessageEnd()
3591
    if result.success is not None:
3592
      return result.success
3593
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchItemsInRange failed: unknown result");
3594
 
3595
  def getSearchResultCount(self, searchTerms):
3596
    """
3597
    Gets the count of search results for the given search terms so that the user can go through all the pages.
3598
 
3599
    Parameters:
3600
     - searchTerms
3601
    """
3602
    self.send_getSearchResultCount(searchTerms)
3603
    return self.recv_getSearchResultCount()
3604
 
3605
  def send_getSearchResultCount(self, searchTerms):
3606
    self._oprot.writeMessageBegin('getSearchResultCount', TMessageType.CALL, self._seqid)
3607
    args = getSearchResultCount_args()
3608
    args.searchTerms = searchTerms
3609
    args.write(self._oprot)
3610
    self._oprot.writeMessageEnd()
3611
    self._oprot.trans.flush()
3612
 
3613
  def recv_getSearchResultCount(self, ):
3614
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3615
    if mtype == TMessageType.EXCEPTION:
3616
      x = TApplicationException()
3617
      x.read(self._iprot)
3618
      self._iprot.readMessageEnd()
3619
      raise x
3620
    result = getSearchResultCount_result()
3621
    result.read(self._iprot)
3622
    self._iprot.readMessageEnd()
3623
    if result.success is not None:
3624
      return result.success
3625
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSearchResultCount failed: unknown result");
3626
 
3627
  def getProductNotifications(self, startDateTime):
3628
    """
3629
    Returns a list of product notifications added after a supplied datetime
3630
 
3631
    Parameters:
3632
     - startDateTime
3633
    """
3634
    self.send_getProductNotifications(startDateTime)
3635
    return self.recv_getProductNotifications()
3636
 
3637
  def send_getProductNotifications(self, startDateTime):
3638
    self._oprot.writeMessageBegin('getProductNotifications', TMessageType.CALL, self._seqid)
3639
    args = getProductNotifications_args()
3640
    args.startDateTime = startDateTime
3641
    args.write(self._oprot)
3642
    self._oprot.writeMessageEnd()
3643
    self._oprot.trans.flush()
3644
 
3645
  def recv_getProductNotifications(self, ):
3646
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3647
    if mtype == TMessageType.EXCEPTION:
3648
      x = TApplicationException()
3649
      x.read(self._iprot)
3650
      self._iprot.readMessageEnd()
3651
      raise x
3652
    result = getProductNotifications_result()
3653
    result.read(self._iprot)
3654
    self._iprot.readMessageEnd()
3655
    if result.success is not None:
3656
      return result.success
3657
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotifications failed: unknown result");
3658
 
7897 amar.kumar 3659
  def getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3660
    """
3661
    Returns a list of count of requests for product notification against each item
3662
 
3663
    Parameters:
3664
     - startDateTime
7897 amar.kumar 3665
     - categoryId
5944 mandeep.dh 3666
    """
7897 amar.kumar 3667
    self.send_getProductNotificationRequestCount(startDateTime, categoryId)
5944 mandeep.dh 3668
    return self.recv_getProductNotificationRequestCount()
3669
 
7897 amar.kumar 3670
  def send_getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3671
    self._oprot.writeMessageBegin('getProductNotificationRequestCount', TMessageType.CALL, self._seqid)
3672
    args = getProductNotificationRequestCount_args()
3673
    args.startDateTime = startDateTime
7897 amar.kumar 3674
    args.categoryId = categoryId
5944 mandeep.dh 3675
    args.write(self._oprot)
3676
    self._oprot.writeMessageEnd()
3677
    self._oprot.trans.flush()
3678
 
3679
  def recv_getProductNotificationRequestCount(self, ):
3680
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3681
    if mtype == TMessageType.EXCEPTION:
3682
      x = TApplicationException()
3683
      x.read(self._iprot)
3684
      self._iprot.readMessageEnd()
3685
      raise x
3686
    result = getProductNotificationRequestCount_result()
3687
    result.read(self._iprot)
3688
    self._iprot.readMessageEnd()
3689
    if result.success is not None:
3690
      return result.success
3691
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotificationRequestCount failed: unknown result");
3692
 
3693
  def addAuthorizationLog(self, itemId, username, reason):
3694
    """
3695
    This method adds a log to authorize table with Item Id, username who authorized the change, reason.
3696
 
3697
    Parameters:
3698
     - itemId
3699
     - username
3700
     - reason
3701
    """
3702
    self.send_addAuthorizationLog(itemId, username, reason)
3703
    return self.recv_addAuthorizationLog()
3704
 
3705
  def send_addAuthorizationLog(self, itemId, username, reason):
3706
    self._oprot.writeMessageBegin('addAuthorizationLog', TMessageType.CALL, self._seqid)
3707
    args = addAuthorizationLog_args()
3708
    args.itemId = itemId
3709
    args.username = username
3710
    args.reason = reason
3711
    args.write(self._oprot)
3712
    self._oprot.writeMessageEnd()
3713
    self._oprot.trans.flush()
3714
 
3715
  def recv_addAuthorizationLog(self, ):
3716
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3717
    if mtype == TMessageType.EXCEPTION:
3718
      x = TApplicationException()
3719
      x.read(self._iprot)
3720
      self._iprot.readMessageEnd()
3721
      raise x
3722
    result = addAuthorizationLog_result()
3723
    result.read(self._iprot)
3724
    self._iprot.readMessageEnd()
3725
    if result.success is not None:
3726
      return result.success
3727
    if result.cex is not None:
3728
      raise result.cex
3729
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAuthorizationLog failed: unknown result");
3730
 
3731
  def addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3732
    """
3733
    Parameters:
3734
     - catalog_item_id
3735
     - voucherType
3736
     - voucherAmount
3737
    """
3738
    self.send_addupdateVoucherForItem(catalog_item_id, voucherType, voucherAmount)
3739
    return self.recv_addupdateVoucherForItem()
3740
 
3741
  def send_addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3742
    self._oprot.writeMessageBegin('addupdateVoucherForItem', TMessageType.CALL, self._seqid)
3743
    args = addupdateVoucherForItem_args()
3744
    args.catalog_item_id = catalog_item_id
3745
    args.voucherType = voucherType
3746
    args.voucherAmount = voucherAmount
3747
    args.write(self._oprot)
3748
    self._oprot.writeMessageEnd()
3749
    self._oprot.trans.flush()
3750
 
3751
  def recv_addupdateVoucherForItem(self, ):
3752
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3753
    if mtype == TMessageType.EXCEPTION:
3754
      x = TApplicationException()
3755
      x.read(self._iprot)
3756
      self._iprot.readMessageEnd()
3757
      raise x
3758
    result = addupdateVoucherForItem_result()
3759
    result.read(self._iprot)
3760
    self._iprot.readMessageEnd()
3761
    if result.success is not None:
3762
      return result.success
3763
    if result.cex is not None:
3764
      raise result.cex
3765
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addupdateVoucherForItem failed: unknown result");
3766
 
3767
  def deleteVoucherForItem(self, catalog_item_id, voucherType):
3768
    """
3769
    Parameters:
3770
     - catalog_item_id
3771
     - voucherType
3772
    """
3773
    self.send_deleteVoucherForItem(catalog_item_id, voucherType)
3774
    return self.recv_deleteVoucherForItem()
3775
 
3776
  def send_deleteVoucherForItem(self, catalog_item_id, voucherType):
3777
    self._oprot.writeMessageBegin('deleteVoucherForItem', TMessageType.CALL, self._seqid)
3778
    args = deleteVoucherForItem_args()
3779
    args.catalog_item_id = catalog_item_id
3780
    args.voucherType = voucherType
3781
    args.write(self._oprot)
3782
    self._oprot.writeMessageEnd()
3783
    self._oprot.trans.flush()
3784
 
3785
  def recv_deleteVoucherForItem(self, ):
3786
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3787
    if mtype == TMessageType.EXCEPTION:
3788
      x = TApplicationException()
3789
      x.read(self._iprot)
3790
      self._iprot.readMessageEnd()
3791
      raise x
3792
    result = deleteVoucherForItem_result()
3793
    result.read(self._iprot)
3794
    self._iprot.readMessageEnd()
3795
    if result.success is not None:
3796
      return result.success
3797
    if result.cex is not None:
3798
      raise result.cex
3799
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteVoucherForItem failed: unknown result");
3800
 
3801
  def getVoucherAmount(self, itemId, voucherType):
3802
    """
3803
    Parameters:
3804
     - itemId
3805
     - voucherType
3806
    """
3807
    self.send_getVoucherAmount(itemId, voucherType)
3808
    return self.recv_getVoucherAmount()
3809
 
3810
  def send_getVoucherAmount(self, itemId, voucherType):
3811
    self._oprot.writeMessageBegin('getVoucherAmount', TMessageType.CALL, self._seqid)
3812
    args = getVoucherAmount_args()
3813
    args.itemId = itemId
3814
    args.voucherType = voucherType
3815
    args.write(self._oprot)
3816
    self._oprot.writeMessageEnd()
3817
    self._oprot.trans.flush()
3818
 
3819
  def recv_getVoucherAmount(self, ):
3820
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3821
    if mtype == TMessageType.EXCEPTION:
3822
      x = TApplicationException()
3823
      x.read(self._iprot)
3824
      self._iprot.readMessageEnd()
3825
      raise x
3826
    result = getVoucherAmount_result()
3827
    result.read(self._iprot)
3828
    self._iprot.readMessageEnd()
3829
    if result.success is not None:
3830
      return result.success
3831
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVoucherAmount failed: unknown result");
3832
 
3833
  def getAllItemVouchers(self, itemId):
3834
    """
3835
    Parameters:
3836
     - itemId
3837
    """
3838
    self.send_getAllItemVouchers(itemId)
3839
    return self.recv_getAllItemVouchers()
3840
 
3841
  def send_getAllItemVouchers(self, itemId):
3842
    self._oprot.writeMessageBegin('getAllItemVouchers', TMessageType.CALL, self._seqid)
3843
    args = getAllItemVouchers_args()
3844
    args.itemId = itemId
3845
    args.write(self._oprot)
3846
    self._oprot.writeMessageEnd()
3847
    self._oprot.trans.flush()
3848
 
3849
  def recv_getAllItemVouchers(self, ):
3850
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3851
    if mtype == TMessageType.EXCEPTION:
3852
      x = TApplicationException()
3853
      x.read(self._iprot)
3854
      self._iprot.readMessageEnd()
3855
      raise x
3856
    result = getAllItemVouchers_result()
3857
    result.read(self._iprot)
3858
    self._iprot.readMessageEnd()
3859
    if result.success is not None:
3860
      return result.success
3861
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemVouchers failed: unknown result");
3862
 
3863
  def isValidCatalogItemId(self, catalog_item_id):
3864
    """
3865
    Parameters:
3866
     - catalog_item_id
3867
    """
3868
    self.send_isValidCatalogItemId(catalog_item_id)
3869
    return self.recv_isValidCatalogItemId()
3870
 
3871
  def send_isValidCatalogItemId(self, catalog_item_id):
3872
    self._oprot.writeMessageBegin('isValidCatalogItemId', TMessageType.CALL, self._seqid)
3873
    args = isValidCatalogItemId_args()
3874
    args.catalog_item_id = catalog_item_id
3875
    args.write(self._oprot)
3876
    self._oprot.writeMessageEnd()
3877
    self._oprot.trans.flush()
3878
 
3879
  def recv_isValidCatalogItemId(self, ):
3880
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3881
    if mtype == TMessageType.EXCEPTION:
3882
      x = TApplicationException()
3883
      x.read(self._iprot)
3884
      self._iprot.readMessageEnd()
3885
      raise x
3886
    result = isValidCatalogItemId_result()
3887
    result.read(self._iprot)
3888
    self._iprot.readMessageEnd()
3889
    if result.success is not None:
3890
      return result.success
3891
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isValidCatalogItemId failed: unknown result");
3892
 
7330 amit.gupta 3893
  def getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 3894
    """
3895
    Parameters:
3896
     - itemId
7330 amit.gupta 3897
     - stateId
6039 amit.gupta 3898
     - price
3899
    """
7330 amit.gupta 3900
    self.send_getVatPercentageForItem(itemId, stateId, price)
6039 amit.gupta 3901
    return self.recv_getVatPercentageForItem()
5944 mandeep.dh 3902
 
7330 amit.gupta 3903
  def send_getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 3904
    self._oprot.writeMessageBegin('getVatPercentageForItem', TMessageType.CALL, self._seqid)
3905
    args = getVatPercentageForItem_args()
3906
    args.itemId = itemId
7330 amit.gupta 3907
    args.stateId = stateId
6039 amit.gupta 3908
    args.price = price
3909
    args.write(self._oprot)
3910
    self._oprot.writeMessageEnd()
3911
    self._oprot.trans.flush()
3912
 
3913
  def recv_getVatPercentageForItem(self, ):
3914
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3915
    if mtype == TMessageType.EXCEPTION:
3916
      x = TApplicationException()
3917
      x.read(self._iprot)
3918
      self._iprot.readMessageEnd()
3919
      raise x
3920
    result = getVatPercentageForItem_result()
3921
    result.read(self._iprot)
3922
    self._iprot.readMessageEnd()
3923
    if result.success is not None:
3924
      return result.success
7340 amit.gupta 3925
    if result.cex is not None:
3926
      raise result.cex
6039 amit.gupta 3927
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatPercentageForItem failed: unknown result");
3928
 
3929
  def getVatAmountForItem(self, itemId, price):
3930
    """
3931
    Parameters:
3932
     - itemId
3933
     - price
3934
    """
3935
    self.send_getVatAmountForItem(itemId, price)
3936
    return self.recv_getVatAmountForItem()
3937
 
3938
  def send_getVatAmountForItem(self, itemId, price):
3939
    self._oprot.writeMessageBegin('getVatAmountForItem', TMessageType.CALL, self._seqid)
3940
    args = getVatAmountForItem_args()
3941
    args.itemId = itemId
3942
    args.price = price
3943
    args.write(self._oprot)
3944
    self._oprot.writeMessageEnd()
3945
    self._oprot.trans.flush()
3946
 
3947
  def recv_getVatAmountForItem(self, ):
3948
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3949
    if mtype == TMessageType.EXCEPTION:
3950
      x = TApplicationException()
3951
      x.read(self._iprot)
3952
      self._iprot.readMessageEnd()
3953
      raise x
3954
    result = getVatAmountForItem_result()
3955
    result.read(self._iprot)
3956
    self._iprot.readMessageEnd()
3957
    if result.success is not None:
3958
      return result.success
3959
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatAmountForItem failed: unknown result");
3960
 
6531 vikram.rag 3961
  def getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
3962
    """
3963
    Parameters:
3964
     - offset
3965
     - limit
3966
    """
3967
    self.send_getAllIgnoredInventoryUpdateItemsList(offset, limit)
3968
    return self.recv_getAllIgnoredInventoryUpdateItemsList()
6039 amit.gupta 3969
 
6531 vikram.rag 3970
  def send_getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
3971
    self._oprot.writeMessageBegin('getAllIgnoredInventoryUpdateItemsList', TMessageType.CALL, self._seqid)
3972
    args = getAllIgnoredInventoryUpdateItemsList_args()
3973
    args.offset = offset
3974
    args.limit = limit
3975
    args.write(self._oprot)
3976
    self._oprot.writeMessageEnd()
3977
    self._oprot.trans.flush()
3978
 
3979
  def recv_getAllIgnoredInventoryUpdateItemsList(self, ):
3980
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3981
    if mtype == TMessageType.EXCEPTION:
3982
      x = TApplicationException()
3983
      x.read(self._iprot)
3984
      self._iprot.readMessageEnd()
3985
      raise x
3986
    result = getAllIgnoredInventoryUpdateItemsList_result()
3987
    result.read(self._iprot)
3988
    self._iprot.readMessageEnd()
3989
    if result.success is not None:
3990
      return result.success
3991
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllIgnoredInventoryUpdateItemsList failed: unknown result");
3992
 
6821 amar.kumar 3993
  def getAllAliveItems(self, ):
3994
    self.send_getAllAliveItems()
3995
    return self.recv_getAllAliveItems()
3996
 
3997
  def send_getAllAliveItems(self, ):
3998
    self._oprot.writeMessageBegin('getAllAliveItems', TMessageType.CALL, self._seqid)
3999
    args = getAllAliveItems_args()
4000
    args.write(self._oprot)
4001
    self._oprot.writeMessageEnd()
4002
    self._oprot.trans.flush()
4003
 
4004
  def recv_getAllAliveItems(self, ):
4005
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4006
    if mtype == TMessageType.EXCEPTION:
4007
      x = TApplicationException()
4008
      x.read(self._iprot)
4009
      self._iprot.readMessageEnd()
4010
      raise x
4011
    result = getAllAliveItems_result()
4012
    result.read(self._iprot)
4013
    self._iprot.readMessageEnd()
4014
    if result.success is not None:
4015
      return result.success
4016
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAliveItems failed: unknown result");
4017
 
6921 anupam.sin 4018
  def getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4019
    """
4020
    This method returns the insurance amount needed to insure the given item for a given quantity.
6531 vikram.rag 4021
 
6805 anupam.sin 4022
    Parameters:
4023
     - itemId
6921 anupam.sin 4024
     - price
6805 anupam.sin 4025
     - insurerId
4026
     - quantity
4027
    """
6921 anupam.sin 4028
    self.send_getInsuranceAmount(itemId, price, insurerId, quantity)
6805 anupam.sin 4029
    return self.recv_getInsuranceAmount()
4030
 
6921 anupam.sin 4031
  def send_getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4032
    self._oprot.writeMessageBegin('getInsuranceAmount', TMessageType.CALL, self._seqid)
4033
    args = getInsuranceAmount_args()
4034
    args.itemId = itemId
6921 anupam.sin 4035
    args.price = price
6805 anupam.sin 4036
    args.insurerId = insurerId
4037
    args.quantity = quantity
4038
    args.write(self._oprot)
4039
    self._oprot.writeMessageEnd()
4040
    self._oprot.trans.flush()
4041
 
4042
  def recv_getInsuranceAmount(self, ):
4043
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4044
    if mtype == TMessageType.EXCEPTION:
4045
      x = TApplicationException()
4046
      x.read(self._iprot)
4047
      self._iprot.readMessageEnd()
4048
      raise x
4049
    result = getInsuranceAmount_result()
4050
    result.read(self._iprot)
4051
    self._iprot.readMessageEnd()
4052
    if result.success is not None:
4053
      return result.success
4054
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsuranceAmount failed: unknown result");
4055
 
4056
  def getInsurer(self, insurerId):
4057
    """
4058
    Parameters:
4059
     - insurerId
4060
    """
4061
    self.send_getInsurer(insurerId)
4062
    return self.recv_getInsurer()
4063
 
4064
  def send_getInsurer(self, insurerId):
4065
    self._oprot.writeMessageBegin('getInsurer', TMessageType.CALL, self._seqid)
4066
    args = getInsurer_args()
4067
    args.insurerId = insurerId
4068
    args.write(self._oprot)
4069
    self._oprot.writeMessageEnd()
4070
    self._oprot.trans.flush()
4071
 
4072
  def recv_getInsurer(self, ):
4073
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4074
    if mtype == TMessageType.EXCEPTION:
4075
      x = TApplicationException()
4076
      x.read(self._iprot)
4077
      self._iprot.readMessageEnd()
4078
      raise x
4079
    result = getInsurer_result()
4080
    result.read(self._iprot)
4081
    self._iprot.readMessageEnd()
4082
    if result.success is not None:
4083
      return result.success
4084
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsurer failed: unknown result");
4085
 
6838 vikram.rag 4086
  def getAllInsurers(self, ):
4087
    self.send_getAllInsurers()
4088
    return self.recv_getAllInsurers()
6805 anupam.sin 4089
 
6838 vikram.rag 4090
  def send_getAllInsurers(self, ):
4091
    self._oprot.writeMessageBegin('getAllInsurers', TMessageType.CALL, self._seqid)
4092
    args = getAllInsurers_args()
4093
    args.write(self._oprot)
4094
    self._oprot.writeMessageEnd()
4095
    self._oprot.trans.flush()
4096
 
4097
  def recv_getAllInsurers(self, ):
4098
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4099
    if mtype == TMessageType.EXCEPTION:
4100
      x = TApplicationException()
4101
      x.read(self._iprot)
4102
      self._iprot.readMessageEnd()
4103
      raise x
4104
    result = getAllInsurers_result()
4105
    result.read(self._iprot)
4106
    self._iprot.readMessageEnd()
4107
    if result.success is not None:
4108
      return result.success
4109
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllInsurers failed: unknown result");
4110
 
6962 rajveer 4111
  def updateInsuranceDeclaredAmount(self, insurerId, amount):
4112
    """
4113
    Parameters:
4114
     - insurerId
4115
     - amount
4116
    """
4117
    self.send_updateInsuranceDeclaredAmount(insurerId, amount)
4118
    self.recv_updateInsuranceDeclaredAmount()
6838 vikram.rag 4119
 
6962 rajveer 4120
  def send_updateInsuranceDeclaredAmount(self, insurerId, amount):
4121
    self._oprot.writeMessageBegin('updateInsuranceDeclaredAmount', TMessageType.CALL, self._seqid)
4122
    args = updateInsuranceDeclaredAmount_args()
4123
    args.insurerId = insurerId
4124
    args.amount = amount
4125
    args.write(self._oprot)
4126
    self._oprot.writeMessageEnd()
4127
    self._oprot.trans.flush()
4128
 
4129
  def recv_updateInsuranceDeclaredAmount(self, ):
4130
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4131
    if mtype == TMessageType.EXCEPTION:
4132
      x = TApplicationException()
4133
      x.read(self._iprot)
4134
      self._iprot.readMessageEnd()
4135
      raise x
4136
    result = updateInsuranceDeclaredAmount_result()
4137
    result.read(self._iprot)
4138
    self._iprot.readMessageEnd()
4139
    return
4140
 
7190 amar.kumar 4141
  def getFreebieForItem(self, itemId):
4142
    """
4143
    Parameters:
4144
     - itemId
4145
    """
4146
    self.send_getFreebieForItem(itemId)
4147
    return self.recv_getFreebieForItem()
6962 rajveer 4148
 
7190 amar.kumar 4149
  def send_getFreebieForItem(self, itemId):
4150
    self._oprot.writeMessageBegin('getFreebieForItem', TMessageType.CALL, self._seqid)
4151
    args = getFreebieForItem_args()
4152
    args.itemId = itemId
4153
    args.write(self._oprot)
4154
    self._oprot.writeMessageEnd()
4155
    self._oprot.trans.flush()
4156
 
4157
  def recv_getFreebieForItem(self, ):
4158
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4159
    if mtype == TMessageType.EXCEPTION:
4160
      x = TApplicationException()
4161
      x.read(self._iprot)
4162
      self._iprot.readMessageEnd()
4163
      raise x
4164
    result = getFreebieForItem_result()
4165
    result.read(self._iprot)
4166
    self._iprot.readMessageEnd()
4167
    if result.success is not None:
4168
      return result.success
4169
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFreebieForItem failed: unknown result");
4170
 
4171
  def addOrUpdateFreebieForItem(self, freebieItem):
4172
    """
4173
    Parameters:
4174
     - freebieItem
4175
    """
4176
    self.send_addOrUpdateFreebieForItem(freebieItem)
4177
    self.recv_addOrUpdateFreebieForItem()
4178
 
4179
  def send_addOrUpdateFreebieForItem(self, freebieItem):
4180
    self._oprot.writeMessageBegin('addOrUpdateFreebieForItem', TMessageType.CALL, self._seqid)
4181
    args = addOrUpdateFreebieForItem_args()
4182
    args.freebieItem = freebieItem
4183
    args.write(self._oprot)
4184
    self._oprot.writeMessageEnd()
4185
    self._oprot.trans.flush()
4186
 
4187
  def recv_addOrUpdateFreebieForItem(self, ):
4188
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4189
    if mtype == TMessageType.EXCEPTION:
4190
      x = TApplicationException()
4191
      x.read(self._iprot)
4192
      self._iprot.readMessageEnd()
4193
      raise x
4194
    result = addOrUpdateFreebieForItem_result()
4195
    result.read(self._iprot)
4196
    self._iprot.readMessageEnd()
4197
    return
4198
 
7272 amit.gupta 4199
  def addOrUpdateBrandInfo(self, brandInfo):
4200
    """
4201
    Parameters:
4202
     - brandInfo
4203
    """
4204
    self.send_addOrUpdateBrandInfo(brandInfo)
4205
    self.recv_addOrUpdateBrandInfo()
4206
 
4207
  def send_addOrUpdateBrandInfo(self, brandInfo):
4208
    self._oprot.writeMessageBegin('addOrUpdateBrandInfo', TMessageType.CALL, self._seqid)
4209
    args = addOrUpdateBrandInfo_args()
4210
    args.brandInfo = brandInfo
4211
    args.write(self._oprot)
4212
    self._oprot.writeMessageEnd()
4213
    self._oprot.trans.flush()
4214
 
4215
  def recv_addOrUpdateBrandInfo(self, ):
4216
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4217
    if mtype == TMessageType.EXCEPTION:
4218
      x = TApplicationException()
4219
      x.read(self._iprot)
4220
      self._iprot.readMessageEnd()
4221
      raise x
4222
    result = addOrUpdateBrandInfo_result()
4223
    result.read(self._iprot)
4224
    self._iprot.readMessageEnd()
4225
    return
4226
 
4227
  def getBrandInfo(self, ):
4228
    self.send_getBrandInfo()
4229
    return self.recv_getBrandInfo()
4230
 
4231
  def send_getBrandInfo(self, ):
4232
    self._oprot.writeMessageBegin('getBrandInfo', TMessageType.CALL, self._seqid)
4233
    args = getBrandInfo_args()
4234
    args.write(self._oprot)
4235
    self._oprot.writeMessageEnd()
4236
    self._oprot.trans.flush()
4237
 
4238
  def recv_getBrandInfo(self, ):
4239
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4240
    if mtype == TMessageType.EXCEPTION:
4241
      x = TApplicationException()
4242
      x.read(self._iprot)
4243
      self._iprot.readMessageEnd()
4244
      raise x
4245
    result = getBrandInfo_result()
4246
    result.read(self._iprot)
4247
    self._iprot.readMessageEnd()
4248
    if result.success is not None:
4249
      return result.success
4250
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBrandInfo failed: unknown result");
4251
 
7256 rajveer 4252
  def getStorePricing(self, itemId):
4253
    """
4254
    Parameters:
4255
     - itemId
4256
    """
4257
    self.send_getStorePricing(itemId)
4258
    return self.recv_getStorePricing()
7190 amar.kumar 4259
 
7256 rajveer 4260
  def send_getStorePricing(self, itemId):
4261
    self._oprot.writeMessageBegin('getStorePricing', TMessageType.CALL, self._seqid)
4262
    args = getStorePricing_args()
4263
    args.itemId = itemId
4264
    args.write(self._oprot)
4265
    self._oprot.writeMessageEnd()
4266
    self._oprot.trans.flush()
4267
 
4268
  def recv_getStorePricing(self, ):
4269
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4270
    if mtype == TMessageType.EXCEPTION:
4271
      x = TApplicationException()
4272
      x.read(self._iprot)
4273
      self._iprot.readMessageEnd()
4274
      raise x
4275
    result = getStorePricing_result()
4276
    result.read(self._iprot)
4277
    self._iprot.readMessageEnd()
4278
    if result.success is not None:
4279
      return result.success
4280
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricing failed: unknown result");
4281
 
7306 rajveer 4282
  def getStorePricings(self, itemIds):
4283
    """
4284
    Parameters:
4285
     - itemIds
4286
    """
4287
    self.send_getStorePricings(itemIds)
4288
    return self.recv_getStorePricings()
4289
 
4290
  def send_getStorePricings(self, itemIds):
4291
    self._oprot.writeMessageBegin('getStorePricings', TMessageType.CALL, self._seqid)
4292
    args = getStorePricings_args()
4293
    args.itemIds = itemIds
4294
    args.write(self._oprot)
4295
    self._oprot.writeMessageEnd()
4296
    self._oprot.trans.flush()
4297
 
4298
  def recv_getStorePricings(self, ):
4299
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4300
    if mtype == TMessageType.EXCEPTION:
4301
      x = TApplicationException()
4302
      x.read(self._iprot)
4303
      self._iprot.readMessageEnd()
4304
      raise x
4305
    result = getStorePricings_result()
4306
    result.read(self._iprot)
4307
    self._iprot.readMessageEnd()
4308
    if result.success is not None:
4309
      return result.success
4310
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricings failed: unknown result");
4311
 
7382 rajveer 4312
  def updateStorePricing(self, sp, allColors):
7265 rajveer 4313
    """
4314
    Parameters:
4315
     - sp
7382 rajveer 4316
     - allColors
7265 rajveer 4317
    """
7382 rajveer 4318
    self.send_updateStorePricing(sp, allColors)
7265 rajveer 4319
    self.recv_updateStorePricing()
7256 rajveer 4320
 
7382 rajveer 4321
  def send_updateStorePricing(self, sp, allColors):
7265 rajveer 4322
    self._oprot.writeMessageBegin('updateStorePricing', TMessageType.CALL, self._seqid)
4323
    args = updateStorePricing_args()
4324
    args.sp = sp
7382 rajveer 4325
    args.allColors = allColors
7265 rajveer 4326
    args.write(self._oprot)
4327
    self._oprot.writeMessageEnd()
4328
    self._oprot.trans.flush()
4329
 
4330
  def recv_updateStorePricing(self, ):
4331
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4332
    if mtype == TMessageType.EXCEPTION:
4333
      x = TApplicationException()
4334
      x.read(self._iprot)
4335
      self._iprot.readMessageEnd()
4336
      raise x
4337
    result = updateStorePricing_result()
4338
    result.read(self._iprot)
4339
    self._iprot.readMessageEnd()
4340
    return
4341
 
7281 kshitij.so 4342
  def getAllAmazonListedItems(self, ):
4343
    self.send_getAllAmazonListedItems()
4344
    return self.recv_getAllAmazonListedItems()
7265 rajveer 4345
 
7281 kshitij.so 4346
  def send_getAllAmazonListedItems(self, ):
4347
    self._oprot.writeMessageBegin('getAllAmazonListedItems', TMessageType.CALL, self._seqid)
4348
    args = getAllAmazonListedItems_args()
4349
    args.write(self._oprot)
4350
    self._oprot.writeMessageEnd()
4351
    self._oprot.trans.flush()
4352
 
4353
  def recv_getAllAmazonListedItems(self, ):
4354
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4355
    if mtype == TMessageType.EXCEPTION:
4356
      x = TApplicationException()
4357
      x.read(self._iprot)
4358
      self._iprot.readMessageEnd()
4359
      raise x
4360
    result = getAllAmazonListedItems_result()
4361
    result.read(self._iprot)
4362
    self._iprot.readMessageEnd()
4363
    if result.success is not None:
4364
      return result.success
4365
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAmazonListedItems failed: unknown result");
4366
 
8619 kshitij.so 4367
  def searchAmazonItems(self, searchTerm, offset, limit):
4368
    """
4369
    Parameters:
4370
     - searchTerm
4371
     - offset
4372
     - limit
4373
    """
4374
    self.send_searchAmazonItems(searchTerm, offset, limit)
4375
    return self.recv_searchAmazonItems()
4376
 
4377
  def send_searchAmazonItems(self, searchTerm, offset, limit):
4378
    self._oprot.writeMessageBegin('searchAmazonItems', TMessageType.CALL, self._seqid)
4379
    args = searchAmazonItems_args()
4380
    args.searchTerm = searchTerm
4381
    args.offset = offset
4382
    args.limit = limit
4383
    args.write(self._oprot)
4384
    self._oprot.writeMessageEnd()
4385
    self._oprot.trans.flush()
4386
 
4387
  def recv_searchAmazonItems(self, ):
4388
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4389
    if mtype == TMessageType.EXCEPTION:
4390
      x = TApplicationException()
4391
      x.read(self._iprot)
4392
      self._iprot.readMessageEnd()
4393
      raise x
4394
    result = searchAmazonItems_result()
4395
    result.read(self._iprot)
4396
    self._iprot.readMessageEnd()
4397
    if result.success is not None:
4398
      return result.success
4399
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchAmazonItems failed: unknown result");
4400
 
4401
  def getAmazonSearchResultCount(self, searchTerm):
4402
    """
4403
    Parameters:
4404
     - searchTerm
4405
    """
4406
    self.send_getAmazonSearchResultCount(searchTerm)
4407
    return self.recv_getAmazonSearchResultCount()
4408
 
4409
  def send_getAmazonSearchResultCount(self, searchTerm):
4410
    self._oprot.writeMessageBegin('getAmazonSearchResultCount', TMessageType.CALL, self._seqid)
4411
    args = getAmazonSearchResultCount_args()
4412
    args.searchTerm = searchTerm
4413
    args.write(self._oprot)
4414
    self._oprot.writeMessageEnd()
4415
    self._oprot.trans.flush()
4416
 
4417
  def recv_getAmazonSearchResultCount(self, ):
4418
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4419
    if mtype == TMessageType.EXCEPTION:
4420
      x = TApplicationException()
4421
      x.read(self._iprot)
4422
      self._iprot.readMessageEnd()
4423
      raise x
4424
    result = getAmazonSearchResultCount_result()
4425
    result.read(self._iprot)
4426
    self._iprot.readMessageEnd()
4427
    if result.success is not None:
4428
      return result.success
4429
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonSearchResultCount failed: unknown result");
4430
 
4431
  def getCountForAmazonlistedItems(self, ):
4432
    self.send_getCountForAmazonlistedItems()
4433
    return self.recv_getCountForAmazonlistedItems()
4434
 
4435
  def send_getCountForAmazonlistedItems(self, ):
4436
    self._oprot.writeMessageBegin('getCountForAmazonlistedItems', TMessageType.CALL, self._seqid)
4437
    args = getCountForAmazonlistedItems_args()
4438
    args.write(self._oprot)
4439
    self._oprot.writeMessageEnd()
4440
    self._oprot.trans.flush()
4441
 
4442
  def recv_getCountForAmazonlistedItems(self, ):
4443
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4444
    if mtype == TMessageType.EXCEPTION:
4445
      x = TApplicationException()
4446
      x.read(self._iprot)
4447
      self._iprot.readMessageEnd()
4448
      raise x
4449
    result = getCountForAmazonlistedItems_result()
4450
    result.read(self._iprot)
4451
    self._iprot.readMessageEnd()
4452
    if result.success is not None:
4453
      return result.success
4454
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForAmazonlistedItems failed: unknown result");
4455
 
7281 kshitij.so 4456
  def getAmazonItemDetails(self, itemId):
4457
    """
4458
    Parameters:
4459
     - itemId
4460
    """
4461
    self.send_getAmazonItemDetails(itemId)
4462
    return self.recv_getAmazonItemDetails()
4463
 
4464
  def send_getAmazonItemDetails(self, itemId):
4465
    self._oprot.writeMessageBegin('getAmazonItemDetails', TMessageType.CALL, self._seqid)
4466
    args = getAmazonItemDetails_args()
4467
    args.itemId = itemId
4468
    args.write(self._oprot)
4469
    self._oprot.writeMessageEnd()
4470
    self._oprot.trans.flush()
4471
 
4472
  def recv_getAmazonItemDetails(self, ):
4473
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4474
    if mtype == TMessageType.EXCEPTION:
4475
      x = TApplicationException()
4476
      x.read(self._iprot)
4477
      self._iprot.readMessageEnd()
4478
      raise x
4479
    result = getAmazonItemDetails_result()
4480
    result.read(self._iprot)
4481
    self._iprot.readMessageEnd()
4482
    if result.success is not None:
4483
      return result.success
4484
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonItemDetails failed: unknown result");
4485
 
8168 kshitij.so 4486
  def updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4487
    """
4488
    Parameters:
8168 kshitij.so 4489
     - amazonlisted
7281 kshitij.so 4490
    """
8168 kshitij.so 4491
    self.send_updateAmazonItemDetails(amazonlisted)
7281 kshitij.so 4492
    self.recv_updateAmazonItemDetails()
4493
 
8168 kshitij.so 4494
  def send_updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4495
    self._oprot.writeMessageBegin('updateAmazonItemDetails', TMessageType.CALL, self._seqid)
4496
    args = updateAmazonItemDetails_args()
8168 kshitij.so 4497
    args.amazonlisted = amazonlisted
7281 kshitij.so 4498
    args.write(self._oprot)
4499
    self._oprot.writeMessageEnd()
4500
    self._oprot.trans.flush()
4501
 
4502
  def recv_updateAmazonItemDetails(self, ):
4503
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4504
    if mtype == TMessageType.EXCEPTION:
4505
      x = TApplicationException()
4506
      x.read(self._iprot)
4507
      self._iprot.readMessageEnd()
4508
      raise x
4509
    result = updateAmazonItemDetails_result()
4510
    result.read(self._iprot)
4511
    self._iprot.readMessageEnd()
4512
    return
4513
 
4514
  def addAmazonItem(self, amazonlisted):
4515
    """
4516
    Parameters:
4517
     - amazonlisted
4518
    """
4519
    self.send_addAmazonItem(amazonlisted)
4520
    self.recv_addAmazonItem()
4521
 
4522
  def send_addAmazonItem(self, amazonlisted):
4523
    self._oprot.writeMessageBegin('addAmazonItem', TMessageType.CALL, self._seqid)
4524
    args = addAmazonItem_args()
4525
    args.amazonlisted = amazonlisted
4526
    args.write(self._oprot)
4527
    self._oprot.writeMessageEnd()
4528
    self._oprot.trans.flush()
4529
 
4530
  def recv_addAmazonItem(self, ):
4531
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4532
    if mtype == TMessageType.EXCEPTION:
4533
      x = TApplicationException()
4534
      x.read(self._iprot)
4535
      self._iprot.readMessageEnd()
4536
      raise x
4537
    result = addAmazonItem_result()
4538
    result.read(self._iprot)
4539
    self._iprot.readMessageEnd()
4540
    return
4541
 
7291 vikram.rag 4542
  def getAsinItems(self, ):
4543
    self.send_getAsinItems()
4544
    return self.recv_getAsinItems()
7281 kshitij.so 4545
 
7291 vikram.rag 4546
  def send_getAsinItems(self, ):
4547
    self._oprot.writeMessageBegin('getAsinItems', TMessageType.CALL, self._seqid)
4548
    args = getAsinItems_args()
4549
    args.write(self._oprot)
4550
    self._oprot.writeMessageEnd()
4551
    self._oprot.trans.flush()
4552
 
4553
  def recv_getAsinItems(self, ):
4554
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4555
    if mtype == TMessageType.EXCEPTION:
4556
      x = TApplicationException()
4557
      x.read(self._iprot)
4558
      self._iprot.readMessageEnd()
4559
      raise x
4560
    result = getAsinItems_result()
4561
    result.read(self._iprot)
4562
    self._iprot.readMessageEnd()
4563
    if result.success is not None:
4564
      return result.success
4565
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAsinItems failed: unknown result");
4566
 
4567
  def getAllFbaListedItems(self, ):
4568
    self.send_getAllFbaListedItems()
4569
    return self.recv_getAllFbaListedItems()
4570
 
4571
  def send_getAllFbaListedItems(self, ):
4572
    self._oprot.writeMessageBegin('getAllFbaListedItems', TMessageType.CALL, self._seqid)
4573
    args = getAllFbaListedItems_args()
4574
    args.write(self._oprot)
4575
    self._oprot.writeMessageEnd()
4576
    self._oprot.trans.flush()
4577
 
4578
  def recv_getAllFbaListedItems(self, ):
4579
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4580
    if mtype == TMessageType.EXCEPTION:
4581
      x = TApplicationException()
4582
      x.read(self._iprot)
4583
      self._iprot.readMessageEnd()
4584
      raise x
4585
    result = getAllFbaListedItems_result()
4586
    result.read(self._iprot)
4587
    self._iprot.readMessageEnd()
4588
    if result.success is not None:
4589
      return result.success
4590
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbaListedItems failed: unknown result");
4591
 
4592
  def getAllNonFbaListedItems(self, ):
4593
    self.send_getAllNonFbaListedItems()
4594
    return self.recv_getAllNonFbaListedItems()
4595
 
4596
  def send_getAllNonFbaListedItems(self, ):
4597
    self._oprot.writeMessageBegin('getAllNonFbaListedItems', TMessageType.CALL, self._seqid)
4598
    args = getAllNonFbaListedItems_args()
4599
    args.write(self._oprot)
4600
    self._oprot.writeMessageEnd()
4601
    self._oprot.trans.flush()
4602
 
4603
  def recv_getAllNonFbaListedItems(self, ):
4604
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4605
    if mtype == TMessageType.EXCEPTION:
4606
      x = TApplicationException()
4607
      x.read(self._iprot)
4608
      self._iprot.readMessageEnd()
4609
      raise x
4610
    result = getAllNonFbaListedItems_result()
4611
    result.read(self._iprot)
4612
    self._iprot.readMessageEnd()
4613
    if result.success is not None:
4614
      return result.success
4615
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllNonFbaListedItems failed: unknown result");
4616
 
7460 kshitij.so 4617
  def updateItemInventory(self, itemId, holdInventory, defaultInventory):
4618
    """
4619
    Parameters:
4620
     - itemId
4621
     - holdInventory
4622
     - defaultInventory
4623
    """
4624
    self.send_updateItemInventory(itemId, holdInventory, defaultInventory)
4625
    return self.recv_updateItemInventory()
7291 vikram.rag 4626
 
7460 kshitij.so 4627
  def send_updateItemInventory(self, itemId, holdInventory, defaultInventory):
4628
    self._oprot.writeMessageBegin('updateItemInventory', TMessageType.CALL, self._seqid)
4629
    args = updateItemInventory_args()
4630
    args.itemId = itemId
4631
    args.holdInventory = holdInventory
4632
    args.defaultInventory = defaultInventory
4633
    args.write(self._oprot)
4634
    self._oprot.writeMessageEnd()
4635
    self._oprot.trans.flush()
4636
 
4637
  def recv_updateItemInventory(self, ):
4638
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4639
    if mtype == TMessageType.EXCEPTION:
4640
      x = TApplicationException()
4641
      x.read(self._iprot)
4642
      self._iprot.readMessageEnd()
4643
      raise x
4644
    result = updateItemInventory_result()
4645
    result.read(self._iprot)
4646
    self._iprot.readMessageEnd()
4647
    if result.success is not None:
4648
      return result.success
4649
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemInventory failed: unknown result");
4650
 
7770 kshitij.so 4651
  def updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4652
    """
4653
    Parameters:
4654
     - type
4655
     - sku
4656
     - timestamp
4657
    """
4658
    self.send_updateTimestampForAmazonFeeds(type, sku, timestamp)
4659
    return self.recv_updateTimestampForAmazonFeeds()
7460 kshitij.so 4660
 
7770 kshitij.so 4661
  def send_updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4662
    self._oprot.writeMessageBegin('updateTimestampForAmazonFeeds', TMessageType.CALL, self._seqid)
4663
    args = updateTimestampForAmazonFeeds_args()
4664
    args.type = type
4665
    args.sku = sku
4666
    args.timestamp = timestamp
4667
    args.write(self._oprot)
4668
    self._oprot.writeMessageEnd()
4669
    self._oprot.trans.flush()
4670
 
4671
  def recv_updateTimestampForAmazonFeeds(self, ):
4672
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4673
    if mtype == TMessageType.EXCEPTION:
4674
      x = TApplicationException()
4675
      x.read(self._iprot)
4676
      self._iprot.readMessageEnd()
4677
      raise x
4678
    result = updateTimestampForAmazonFeeds_result()
4679
    result.read(self._iprot)
4680
    self._iprot.readMessageEnd()
4681
    if result.success is not None:
4682
      return result.success
4683
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateTimestampForAmazonFeeds failed: unknown result");
4684
 
7897 amar.kumar 4685
  def getAllParentCategories(self, ):
4686
    self.send_getAllParentCategories()
4687
    return self.recv_getAllParentCategories()
7770 kshitij.so 4688
 
7897 amar.kumar 4689
  def send_getAllParentCategories(self, ):
4690
    self._oprot.writeMessageBegin('getAllParentCategories', TMessageType.CALL, self._seqid)
4691
    args = getAllParentCategories_args()
4692
    args.write(self._oprot)
4693
    self._oprot.writeMessageEnd()
4694
    self._oprot.trans.flush()
4695
 
4696
  def recv_getAllParentCategories(self, ):
4697
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4698
    if mtype == TMessageType.EXCEPTION:
4699
      x = TApplicationException()
4700
      x.read(self._iprot)
4701
      self._iprot.readMessageEnd()
4702
      raise x
4703
    result = getAllParentCategories_result()
4704
    result.read(self._iprot)
4705
    self._iprot.readMessageEnd()
4706
    if result.success is not None:
4707
      return result.success
4708
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllParentCategories failed: unknown result");
4709
 
7977 kshitij.so 4710
  def addPageViewEvent(self, pageViewEvents):
4711
    """
4712
    Parameters:
4713
     - pageViewEvents
4714
    """
4715
    self.send_addPageViewEvent(pageViewEvents)
4716
    self.recv_addPageViewEvent()
7897 amar.kumar 4717
 
7977 kshitij.so 4718
  def send_addPageViewEvent(self, pageViewEvents):
4719
    self._oprot.writeMessageBegin('addPageViewEvent', TMessageType.CALL, self._seqid)
4720
    args = addPageViewEvent_args()
4721
    args.pageViewEvents = pageViewEvents
4722
    args.write(self._oprot)
4723
    self._oprot.writeMessageEnd()
4724
    self._oprot.trans.flush()
4725
 
4726
  def recv_addPageViewEvent(self, ):
4727
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4728
    if mtype == TMessageType.EXCEPTION:
4729
      x = TApplicationException()
4730
      x.read(self._iprot)
4731
      self._iprot.readMessageEnd()
4732
      raise x
4733
    result = addPageViewEvent_result()
4734
    result.read(self._iprot)
4735
    self._iprot.readMessageEnd()
4736
    return
4737
 
4738
  def addCartEvent(self, cartEvents):
4739
    """
4740
    Parameters:
4741
     - cartEvents
4742
    """
4743
    self.send_addCartEvent(cartEvents)
4744
    self.recv_addCartEvent()
4745
 
4746
  def send_addCartEvent(self, cartEvents):
4747
    self._oprot.writeMessageBegin('addCartEvent', TMessageType.CALL, self._seqid)
4748
    args = addCartEvent_args()
4749
    args.cartEvents = cartEvents
4750
    args.write(self._oprot)
4751
    self._oprot.writeMessageEnd()
4752
    self._oprot.trans.flush()
4753
 
4754
  def recv_addCartEvent(self, ):
4755
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4756
    if mtype == TMessageType.EXCEPTION:
4757
      x = TApplicationException()
4758
      x.read(self._iprot)
4759
      self._iprot.readMessageEnd()
4760
      raise x
4761
    result = addCartEvent_result()
4762
    result.read(self._iprot)
4763
    self._iprot.readMessageEnd()
4764
    return
4765
 
8182 amar.kumar 4766
  def addEbayItem(self, ebayItem):
4767
    """
4768
    Parameters:
4769
     - ebayItem
4770
    """
4771
    self.send_addEbayItem(ebayItem)
4772
    self.recv_addEbayItem()
4773
 
4774
  def send_addEbayItem(self, ebayItem):
4775
    self._oprot.writeMessageBegin('addEbayItem', TMessageType.CALL, self._seqid)
4776
    args = addEbayItem_args()
4777
    args.ebayItem = ebayItem
4778
    args.write(self._oprot)
4779
    self._oprot.writeMessageEnd()
4780
    self._oprot.trans.flush()
4781
 
4782
  def recv_addEbayItem(self, ):
4783
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4784
    if mtype == TMessageType.EXCEPTION:
4785
      x = TApplicationException()
4786
      x.read(self._iprot)
4787
      self._iprot.readMessageEnd()
4788
      raise x
4789
    result = addEbayItem_result()
4790
    result.read(self._iprot)
4791
    self._iprot.readMessageEnd()
4792
    return
4793
 
4794
  def getEbayItem(self, listingId):
4795
    """
4796
    Parameters:
4797
     - listingId
4798
    """
4799
    self.send_getEbayItem(listingId)
4800
    return self.recv_getEbayItem()
4801
 
4802
  def send_getEbayItem(self, listingId):
4803
    self._oprot.writeMessageBegin('getEbayItem', TMessageType.CALL, self._seqid)
4804
    args = getEbayItem_args()
4805
    args.listingId = listingId
4806
    args.write(self._oprot)
4807
    self._oprot.writeMessageEnd()
4808
    self._oprot.trans.flush()
4809
 
4810
  def recv_getEbayItem(self, ):
4811
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4812
    if mtype == TMessageType.EXCEPTION:
4813
      x = TApplicationException()
4814
      x.read(self._iprot)
4815
      self._iprot.readMessageEnd()
4816
      raise x
4817
    result = getEbayItem_result()
4818
    result.read(self._iprot)
4819
    self._iprot.readMessageEnd()
4820
    if result.success is not None:
4821
      return result.success
4822
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEbayItem failed: unknown result");
4823
 
4824
  def updateEbayItem(self, ebayItem):
4825
    """
4826
    Parameters:
4827
     - ebayItem
4828
    """
4829
    self.send_updateEbayItem(ebayItem)
4830
    self.recv_updateEbayItem()
4831
 
4832
  def send_updateEbayItem(self, ebayItem):
4833
    self._oprot.writeMessageBegin('updateEbayItem', TMessageType.CALL, self._seqid)
4834
    args = updateEbayItem_args()
4835
    args.ebayItem = ebayItem
4836
    args.write(self._oprot)
4837
    self._oprot.writeMessageEnd()
4838
    self._oprot.trans.flush()
4839
 
4840
  def recv_updateEbayItem(self, ):
4841
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4842
    if mtype == TMessageType.EXCEPTION:
4843
      x = TApplicationException()
4844
      x.read(self._iprot)
4845
      self._iprot.readMessageEnd()
4846
      raise x
4847
    result = updateEbayItem_result()
4848
    result.read(self._iprot)
4849
    self._iprot.readMessageEnd()
4850
    return
4851
 
8139 kshitij.so 4852
  def getAmazonListedItems(self, offset, limit):
4853
    """
4854
    Parameters:
4855
     - offset
4856
     - limit
4857
    """
4858
    self.send_getAmazonListedItems(offset, limit)
4859
    return self.recv_getAmazonListedItems()
7977 kshitij.so 4860
 
8139 kshitij.so 4861
  def send_getAmazonListedItems(self, offset, limit):
4862
    self._oprot.writeMessageBegin('getAmazonListedItems', TMessageType.CALL, self._seqid)
4863
    args = getAmazonListedItems_args()
4864
    args.offset = offset
4865
    args.limit = limit
4866
    args.write(self._oprot)
4867
    self._oprot.writeMessageEnd()
4868
    self._oprot.trans.flush()
4869
 
4870
  def recv_getAmazonListedItems(self, ):
4871
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4872
    if mtype == TMessageType.EXCEPTION:
4873
      x = TApplicationException()
4874
      x.read(self._iprot)
4875
      self._iprot.readMessageEnd()
4876
      raise x
4877
    result = getAmazonListedItems_result()
4878
    result.read(self._iprot)
4879
    self._iprot.readMessageEnd()
4880
    if result.success is not None:
4881
      return result.success
4882
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonListedItems failed: unknown result");
4883
 
8168 kshitij.so 4884
  def updateAmazonAttributesInBulk(self, amazonlisted):
4885
    """
4886
    Parameters:
4887
     - amazonlisted
4888
    """
4889
    self.send_updateAmazonAttributesInBulk(amazonlisted)
4890
    return self.recv_updateAmazonAttributesInBulk()
8139 kshitij.so 4891
 
8168 kshitij.so 4892
  def send_updateAmazonAttributesInBulk(self, amazonlisted):
4893
    self._oprot.writeMessageBegin('updateAmazonAttributesInBulk', TMessageType.CALL, self._seqid)
4894
    args = updateAmazonAttributesInBulk_args()
4895
    args.amazonlisted = amazonlisted
4896
    args.write(self._oprot)
4897
    self._oprot.writeMessageEnd()
4898
    self._oprot.trans.flush()
4899
 
4900
  def recv_updateAmazonAttributesInBulk(self, ):
4901
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4902
    if mtype == TMessageType.EXCEPTION:
4903
      x = TApplicationException()
4904
      x.read(self._iprot)
4905
      self._iprot.readMessageEnd()
4906
      raise x
4907
    result = updateAmazonAttributesInBulk_result()
4908
    result.read(self._iprot)
4909
    self._iprot.readMessageEnd()
4910
    if result.success is not None:
4911
      return result.success
4912
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonAttributesInBulk failed: unknown result");
4913
 
8379 vikram.rag 4914
  def getAllItemstoListOnFba(self, ):
4915
    self.send_getAllItemstoListOnFba()
4916
    return self.recv_getAllItemstoListOnFba()
8168 kshitij.so 4917
 
8379 vikram.rag 4918
  def send_getAllItemstoListOnFba(self, ):
4919
    self._oprot.writeMessageBegin('getAllItemstoListOnFba', TMessageType.CALL, self._seqid)
4920
    args = getAllItemstoListOnFba_args()
4921
    args.write(self._oprot)
4922
    self._oprot.writeMessageEnd()
4923
    self._oprot.trans.flush()
4924
 
4925
  def recv_getAllItemstoListOnFba(self, ):
4926
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4927
    if mtype == TMessageType.EXCEPTION:
4928
      x = TApplicationException()
4929
      x.read(self._iprot)
4930
      self._iprot.readMessageEnd()
4931
      raise x
4932
    result = getAllItemstoListOnFba_result()
4933
    result.read(self._iprot)
4934
    self._iprot.readMessageEnd()
4935
    if result.success is not None:
4936
      return result.success
4937
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFba failed: unknown result");
4938
 
4939
  def getAllItemstoListOnNonFba(self, ):
4940
    self.send_getAllItemstoListOnNonFba()
4941
    return self.recv_getAllItemstoListOnNonFba()
4942
 
4943
  def send_getAllItemstoListOnNonFba(self, ):
4944
    self._oprot.writeMessageBegin('getAllItemstoListOnNonFba', TMessageType.CALL, self._seqid)
4945
    args = getAllItemstoListOnNonFba_args()
4946
    args.write(self._oprot)
4947
    self._oprot.writeMessageEnd()
4948
    self._oprot.trans.flush()
4949
 
4950
  def recv_getAllItemstoListOnNonFba(self, ):
4951
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4952
    if mtype == TMessageType.EXCEPTION:
4953
      x = TApplicationException()
4954
      x.read(self._iprot)
4955
      self._iprot.readMessageEnd()
4956
      raise x
4957
    result = getAllItemstoListOnNonFba_result()
4958
    result.read(self._iprot)
4959
    self._iprot.readMessageEnd()
4960
    if result.success is not None:
4961
      return result.success
4962
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnNonFba failed: unknown result");
4963
 
8619 kshitij.so 4964
  def updateAsin(self, item):
4965
    """
4966
    Parameters:
4967
     - item
4968
    """
4969
    self.send_updateAsin(item)
4970
    self.recv_updateAsin()
8616 vikram.rag 4971
 
8619 kshitij.so 4972
  def send_updateAsin(self, item):
4973
    self._oprot.writeMessageBegin('updateAsin', TMessageType.CALL, self._seqid)
4974
    args = updateAsin_args()
4975
    args.item = item
4976
    args.write(self._oprot)
4977
    self._oprot.writeMessageEnd()
4978
    self._oprot.trans.flush()
4979
 
4980
  def recv_updateAsin(self, ):
4981
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4982
    if mtype == TMessageType.EXCEPTION:
4983
      x = TApplicationException()
4984
      x.read(self._iprot)
4985
      self._iprot.readMessageEnd()
4986
      raise x
4987
    result = updateAsin_result()
4988
    result.read(self._iprot)
4989
    self._iprot.readMessageEnd()
4990
    return
4991
 
8739 vikram.rag 4992
  def addOrUpdateSnapdealItem(self, snapdealitem):
4993
    """
4994
    Parameters:
4995
     - snapdealitem
4996
    """
4997
    self.send_addOrUpdateSnapdealItem(snapdealitem)
4998
    return self.recv_addOrUpdateSnapdealItem()
8619 kshitij.so 4999
 
8739 vikram.rag 5000
  def send_addOrUpdateSnapdealItem(self, snapdealitem):
5001
    self._oprot.writeMessageBegin('addOrUpdateSnapdealItem', TMessageType.CALL, self._seqid)
5002
    args = addOrUpdateSnapdealItem_args()
5003
    args.snapdealitem = snapdealitem
5004
    args.write(self._oprot)
5005
    self._oprot.writeMessageEnd()
5006
    self._oprot.trans.flush()
5007
 
5008
  def recv_addOrUpdateSnapdealItem(self, ):
5009
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5010
    if mtype == TMessageType.EXCEPTION:
5011
      x = TApplicationException()
5012
      x.read(self._iprot)
5013
      self._iprot.readMessageEnd()
5014
      raise x
5015
    result = addOrUpdateSnapdealItem_result()
5016
    result.read(self._iprot)
5017
    self._iprot.readMessageEnd()
5018
    if result.success is not None:
5019
      return result.success
5020
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateSnapdealItem failed: unknown result");
5021
 
5022
  def getSnapdealItem(self, item_id):
5023
    """
5024
    Parameters:
5025
     - item_id
5026
    """
5027
    self.send_getSnapdealItem(item_id)
5028
    return self.recv_getSnapdealItem()
5029
 
5030
  def send_getSnapdealItem(self, item_id):
5031
    self._oprot.writeMessageBegin('getSnapdealItem', TMessageType.CALL, self._seqid)
5032
    args = getSnapdealItem_args()
5033
    args.item_id = item_id
5034
    args.write(self._oprot)
5035
    self._oprot.writeMessageEnd()
5036
    self._oprot.trans.flush()
5037
 
5038
  def recv_getSnapdealItem(self, ):
5039
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5040
    if mtype == TMessageType.EXCEPTION:
5041
      x = TApplicationException()
5042
      x.read(self._iprot)
5043
      self._iprot.readMessageEnd()
5044
      raise x
5045
    result = getSnapdealItem_result()
5046
    result.read(self._iprot)
5047
    self._iprot.readMessageEnd()
5048
    if result.success is not None:
5049
      return result.success
5050
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItem failed: unknown result");
5051
 
9242 kshitij.so 5052
  def getSnapdealItemDetails(self, item_id):
5053
    """
5054
    Parameters:
5055
     - item_id
5056
    """
5057
    self.send_getSnapdealItemDetails(item_id)
5058
    return self.recv_getSnapdealItemDetails()
5059
 
5060
  def send_getSnapdealItemDetails(self, item_id):
5061
    self._oprot.writeMessageBegin('getSnapdealItemDetails', TMessageType.CALL, self._seqid)
5062
    args = getSnapdealItemDetails_args()
5063
    args.item_id = item_id
5064
    args.write(self._oprot)
5065
    self._oprot.writeMessageEnd()
5066
    self._oprot.trans.flush()
5067
 
5068
  def recv_getSnapdealItemDetails(self, ):
5069
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5070
    if mtype == TMessageType.EXCEPTION:
5071
      x = TApplicationException()
5072
      x.read(self._iprot)
5073
      self._iprot.readMessageEnd()
5074
      raise x
5075
    result = getSnapdealItemDetails_result()
5076
    result.read(self._iprot)
5077
    self._iprot.readMessageEnd()
5078
    if result.success is not None:
5079
      return result.success
5080
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItemDetails failed: unknown result");
5081
 
8739 vikram.rag 5082
  def getAllSnapdealItems(self, ):
5083
    self.send_getAllSnapdealItems()
5084
    return self.recv_getAllSnapdealItems()
5085
 
5086
  def send_getAllSnapdealItems(self, ):
5087
    self._oprot.writeMessageBegin('getAllSnapdealItems', TMessageType.CALL, self._seqid)
5088
    args = getAllSnapdealItems_args()
5089
    args.write(self._oprot)
5090
    self._oprot.writeMessageEnd()
5091
    self._oprot.trans.flush()
5092
 
5093
  def recv_getAllSnapdealItems(self, ):
5094
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5095
    if mtype == TMessageType.EXCEPTION:
5096
      x = TApplicationException()
5097
      x.read(self._iprot)
5098
      self._iprot.readMessageEnd()
5099
      raise x
5100
    result = getAllSnapdealItems_result()
5101
    result.read(self._iprot)
5102
    self._iprot.readMessageEnd()
5103
    if result.success is not None:
5104
      return result.success
5105
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealItems failed: unknown result");
5106
 
9242 kshitij.so 5107
  def getSnapdealItems(self, offset, limit):
5108
    """
5109
    Parameters:
5110
     - offset
5111
     - limit
5112
    """
5113
    self.send_getSnapdealItems(offset, limit)
5114
    return self.recv_getSnapdealItems()
8739 vikram.rag 5115
 
9242 kshitij.so 5116
  def send_getSnapdealItems(self, offset, limit):
5117
    self._oprot.writeMessageBegin('getSnapdealItems', TMessageType.CALL, self._seqid)
5118
    args = getSnapdealItems_args()
5119
    args.offset = offset
5120
    args.limit = limit
5121
    args.write(self._oprot)
5122
    self._oprot.writeMessageEnd()
5123
    self._oprot.trans.flush()
5124
 
5125
  def recv_getSnapdealItems(self, ):
5126
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5127
    if mtype == TMessageType.EXCEPTION:
5128
      x = TApplicationException()
5129
      x.read(self._iprot)
5130
      self._iprot.readMessageEnd()
5131
      raise x
5132
    result = getSnapdealItems_result()
5133
    result.read(self._iprot)
5134
    self._iprot.readMessageEnd()
5135
    if result.success is not None:
5136
      return result.success
5137
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItems failed: unknown result");
5138
 
5139
  def searchSnapdealItems(self, searchTerm, offset, limit):
5140
    """
5141
    Parameters:
5142
     - searchTerm
5143
     - offset
5144
     - limit
5145
    """
5146
    self.send_searchSnapdealItems(searchTerm, offset, limit)
5147
    return self.recv_searchSnapdealItems()
5148
 
5149
  def send_searchSnapdealItems(self, searchTerm, offset, limit):
5150
    self._oprot.writeMessageBegin('searchSnapdealItems', TMessageType.CALL, self._seqid)
5151
    args = searchSnapdealItems_args()
5152
    args.searchTerm = searchTerm
5153
    args.offset = offset
5154
    args.limit = limit
5155
    args.write(self._oprot)
5156
    self._oprot.writeMessageEnd()
5157
    self._oprot.trans.flush()
5158
 
5159
  def recv_searchSnapdealItems(self, ):
5160
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5161
    if mtype == TMessageType.EXCEPTION:
5162
      x = TApplicationException()
5163
      x.read(self._iprot)
5164
      self._iprot.readMessageEnd()
5165
      raise x
5166
    result = searchSnapdealItems_result()
5167
    result.read(self._iprot)
5168
    self._iprot.readMessageEnd()
5169
    if result.success is not None:
5170
      return result.success
5171
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchSnapdealItems failed: unknown result");
5172
 
5173
  def getCountForSnapdealItems(self, ):
5174
    self.send_getCountForSnapdealItems()
5175
    return self.recv_getCountForSnapdealItems()
5176
 
5177
  def send_getCountForSnapdealItems(self, ):
5178
    self._oprot.writeMessageBegin('getCountForSnapdealItems', TMessageType.CALL, self._seqid)
5179
    args = getCountForSnapdealItems_args()
5180
    args.write(self._oprot)
5181
    self._oprot.writeMessageEnd()
5182
    self._oprot.trans.flush()
5183
 
5184
  def recv_getCountForSnapdealItems(self, ):
5185
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5186
    if mtype == TMessageType.EXCEPTION:
5187
      x = TApplicationException()
5188
      x.read(self._iprot)
5189
      self._iprot.readMessageEnd()
5190
      raise x
5191
    result = getCountForSnapdealItems_result()
5192
    result.read(self._iprot)
5193
    self._iprot.readMessageEnd()
5194
    if result.success is not None:
5195
      return result.success
5196
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForSnapdealItems failed: unknown result");
5197
 
5198
  def getSnapdealSearchResultCount(self, searchTerm):
5199
    """
5200
    Parameters:
5201
     - searchTerm
5202
    """
5203
    self.send_getSnapdealSearchResultCount(searchTerm)
5204
    return self.recv_getSnapdealSearchResultCount()
5205
 
5206
  def send_getSnapdealSearchResultCount(self, searchTerm):
5207
    self._oprot.writeMessageBegin('getSnapdealSearchResultCount', TMessageType.CALL, self._seqid)
5208
    args = getSnapdealSearchResultCount_args()
5209
    args.searchTerm = searchTerm
5210
    args.write(self._oprot)
5211
    self._oprot.writeMessageEnd()
5212
    self._oprot.trans.flush()
5213
 
5214
  def recv_getSnapdealSearchResultCount(self, ):
5215
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5216
    if mtype == TMessageType.EXCEPTION:
5217
      x = TApplicationException()
5218
      x.read(self._iprot)
5219
      self._iprot.readMessageEnd()
5220
      raise x
5221
    result = getSnapdealSearchResultCount_result()
5222
    result.read(self._iprot)
5223
    self._iprot.readMessageEnd()
5224
    if result.success is not None:
5225
      return result.success
5226
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealSearchResultCount failed: unknown result");
5227
 
9299 kshitij.so 5228
  def getPrefferedInsurerForItem(self, itemId, insurerType):
5229
    """
5230
    Parameters:
5231
     - itemId
5232
     - insurerType
5233
    """
5234
    self.send_getPrefferedInsurerForItem(itemId, insurerType)
5235
    return self.recv_getPrefferedInsurerForItem()
9242 kshitij.so 5236
 
9299 kshitij.so 5237
  def send_getPrefferedInsurerForItem(self, itemId, insurerType):
5238
    self._oprot.writeMessageBegin('getPrefferedInsurerForItem', TMessageType.CALL, self._seqid)
5239
    args = getPrefferedInsurerForItem_args()
5240
    args.itemId = itemId
5241
    args.insurerType = insurerType
5242
    args.write(self._oprot)
5243
    self._oprot.writeMessageEnd()
5244
    self._oprot.trans.flush()
5245
 
5246
  def recv_getPrefferedInsurerForItem(self, ):
5247
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5248
    if mtype == TMessageType.EXCEPTION:
5249
      x = TApplicationException()
5250
      x.read(self._iprot)
5251
      self._iprot.readMessageEnd()
5252
      raise x
5253
    result = getPrefferedInsurerForItem_result()
5254
    result.read(self._iprot)
5255
    self._iprot.readMessageEnd()
5256
    if result.success is not None:
5257
      return result.success
5258
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrefferedInsurerForItem failed: unknown result");
5259
 
9456 vikram.rag 5260
  def getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5261
    """
5262
    Parameters:
5263
     - skuAtSnapdeal
5264
    """
5265
    self.send_getSnapdealItembySkuAtSnapdeal(skuAtSnapdeal)
5266
    return self.recv_getSnapdealItembySkuAtSnapdeal()
9299 kshitij.so 5267
 
9456 vikram.rag 5268
  def send_getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5269
    self._oprot.writeMessageBegin('getSnapdealItembySkuAtSnapdeal', TMessageType.CALL, self._seqid)
5270
    args = getSnapdealItembySkuAtSnapdeal_args()
5271
    args.skuAtSnapdeal = skuAtSnapdeal
5272
    args.write(self._oprot)
5273
    self._oprot.writeMessageEnd()
5274
    self._oprot.trans.flush()
5275
 
5276
  def recv_getSnapdealItembySkuAtSnapdeal(self, ):
5277
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5278
    if mtype == TMessageType.EXCEPTION:
5279
      x = TApplicationException()
5280
      x.read(self._iprot)
5281
      self._iprot.readMessageEnd()
5282
      raise x
5283
    result = getSnapdealItembySkuAtSnapdeal_result()
5284
    result.read(self._iprot)
5285
    self._iprot.readMessageEnd()
5286
    if result.success is not None:
5287
      return result.success
5288
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItembySkuAtSnapdeal failed: unknown result");
5289
 
9621 manish.sha 5290
  def getProductFeedSubmit(self, catalogItemId):
5291
    """
5292
    Parameters:
5293
     - catalogItemId
5294
    """
5295
    self.send_getProductFeedSubmit(catalogItemId)
5296
    return self.recv_getProductFeedSubmit()
9456 vikram.rag 5297
 
9621 manish.sha 5298
  def send_getProductFeedSubmit(self, catalogItemId):
5299
    self._oprot.writeMessageBegin('getProductFeedSubmit', TMessageType.CALL, self._seqid)
5300
    args = getProductFeedSubmit_args()
5301
    args.catalogItemId = catalogItemId
5302
    args.write(self._oprot)
5303
    self._oprot.writeMessageEnd()
5304
    self._oprot.trans.flush()
5305
 
5306
  def recv_getProductFeedSubmit(self, ):
5307
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5308
    if mtype == TMessageType.EXCEPTION:
5309
      x = TApplicationException()
5310
      x.read(self._iprot)
5311
      self._iprot.readMessageEnd()
5312
      raise x
5313
    result = getProductFeedSubmit_result()
5314
    result.read(self._iprot)
5315
    self._iprot.readMessageEnd()
5316
    if result.success is not None:
5317
      return result.success
5318
    if result.cex is not None:
5319
      raise result.cex
5320
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductFeedSubmit failed: unknown result");
5321
 
5322
  def addProductFeedSubmit(self, productFeedSubmit):
5323
    """
5324
    Parameters:
5325
     - productFeedSubmit
5326
    """
5327
    self.send_addProductFeedSubmit(productFeedSubmit)
5328
    return self.recv_addProductFeedSubmit()
5329
 
5330
  def send_addProductFeedSubmit(self, productFeedSubmit):
5331
    self._oprot.writeMessageBegin('addProductFeedSubmit', TMessageType.CALL, self._seqid)
5332
    args = addProductFeedSubmit_args()
5333
    args.productFeedSubmit = productFeedSubmit
5334
    args.write(self._oprot)
5335
    self._oprot.writeMessageEnd()
5336
    self._oprot.trans.flush()
5337
 
5338
  def recv_addProductFeedSubmit(self, ):
5339
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5340
    if mtype == TMessageType.EXCEPTION:
5341
      x = TApplicationException()
5342
      x.read(self._iprot)
5343
      self._iprot.readMessageEnd()
5344
      raise x
5345
    result = addProductFeedSubmit_result()
5346
    result.read(self._iprot)
5347
    self._iprot.readMessageEnd()
5348
    if result.success is not None:
5349
      return result.success
5350
    if result.cex is not None:
5351
      raise result.cex
5352
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductFeedSubmit failed: unknown result");
5353
 
5354
  def updateProductFeedSubmit(self, productFeedSubmit):
5355
    """
5356
    Parameters:
5357
     - productFeedSubmit
5358
    """
5359
    self.send_updateProductFeedSubmit(productFeedSubmit)
5360
    return self.recv_updateProductFeedSubmit()
5361
 
5362
  def send_updateProductFeedSubmit(self, productFeedSubmit):
5363
    self._oprot.writeMessageBegin('updateProductFeedSubmit', TMessageType.CALL, self._seqid)
5364
    args = updateProductFeedSubmit_args()
5365
    args.productFeedSubmit = productFeedSubmit
5366
    args.write(self._oprot)
5367
    self._oprot.writeMessageEnd()
5368
    self._oprot.trans.flush()
5369
 
5370
  def recv_updateProductFeedSubmit(self, ):
5371
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5372
    if mtype == TMessageType.EXCEPTION:
5373
      x = TApplicationException()
5374
      x.read(self._iprot)
5375
      self._iprot.readMessageEnd()
5376
      raise x
5377
    result = updateProductFeedSubmit_result()
5378
    result.read(self._iprot)
5379
    self._iprot.readMessageEnd()
5380
    if result.success is not None:
5381
      return result.success
5382
    if result.cex is not None:
5383
      raise result.cex
5384
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateProductFeedSubmit failed: unknown result");
5385
 
5386
  def deleteProductFeedSubmit(self, catalogItemId):
5387
    """
5388
    Parameters:
5389
     - catalogItemId
5390
    """
5391
    self.send_deleteProductFeedSubmit(catalogItemId)
5392
    return self.recv_deleteProductFeedSubmit()
5393
 
5394
  def send_deleteProductFeedSubmit(self, catalogItemId):
5395
    self._oprot.writeMessageBegin('deleteProductFeedSubmit', TMessageType.CALL, self._seqid)
5396
    args = deleteProductFeedSubmit_args()
5397
    args.catalogItemId = catalogItemId
5398
    args.write(self._oprot)
5399
    self._oprot.writeMessageEnd()
5400
    self._oprot.trans.flush()
5401
 
5402
  def recv_deleteProductFeedSubmit(self, ):
5403
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5404
    if mtype == TMessageType.EXCEPTION:
5405
      x = TApplicationException()
5406
      x.read(self._iprot)
5407
      self._iprot.readMessageEnd()
5408
      raise x
5409
    result = deleteProductFeedSubmit_result()
5410
    result.read(self._iprot)
5411
    self._iprot.readMessageEnd()
5412
    if result.success is not None:
5413
      return result.success
5414
    if result.cex is not None:
5415
      raise result.cex
5416
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteProductFeedSubmit failed: unknown result");
5417
 
5418
  def getAllProductFeedSubmit(self, ):
5419
    self.send_getAllProductFeedSubmit()
5420
    return self.recv_getAllProductFeedSubmit()
5421
 
5422
  def send_getAllProductFeedSubmit(self, ):
5423
    self._oprot.writeMessageBegin('getAllProductFeedSubmit', TMessageType.CALL, self._seqid)
5424
    args = getAllProductFeedSubmit_args()
5425
    args.write(self._oprot)
5426
    self._oprot.writeMessageEnd()
5427
    self._oprot.trans.flush()
5428
 
5429
  def recv_getAllProductFeedSubmit(self, ):
5430
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5431
    if mtype == TMessageType.EXCEPTION:
5432
      x = TApplicationException()
5433
      x.read(self._iprot)
5434
      self._iprot.readMessageEnd()
5435
      raise x
5436
    result = getAllProductFeedSubmit_result()
5437
    result.read(self._iprot)
5438
    self._iprot.readMessageEnd()
5439
    if result.success is not None:
5440
      return result.success
5441
    if result.cex is not None:
5442
      raise result.cex
5443
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllProductFeedSubmit failed: unknown result");
5444
 
9724 kshitij.so 5445
  def getMarketplacedetailsForItem(self, itemId, sourceId):
5446
    """
5447
    Parameters:
5448
     - itemId
5449
     - sourceId
5450
    """
5451
    self.send_getMarketplacedetailsForItem(itemId, sourceId)
5452
    return self.recv_getMarketplacedetailsForItem()
9621 manish.sha 5453
 
9724 kshitij.so 5454
  def send_getMarketplacedetailsForItem(self, itemId, sourceId):
5455
    self._oprot.writeMessageBegin('getMarketplacedetailsForItem', TMessageType.CALL, self._seqid)
5456
    args = getMarketplacedetailsForItem_args()
5457
    args.itemId = itemId
5458
    args.sourceId = sourceId
5459
    args.write(self._oprot)
5460
    self._oprot.writeMessageEnd()
5461
    self._oprot.trans.flush()
5462
 
5463
  def recv_getMarketplacedetailsForItem(self, ):
5464
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5465
    if mtype == TMessageType.EXCEPTION:
5466
      x = TApplicationException()
5467
      x.read(self._iprot)
5468
      self._iprot.readMessageEnd()
5469
      raise x
5470
    result = getMarketplacedetailsForItem_result()
5471
    result.read(self._iprot)
5472
    self._iprot.readMessageEnd()
5473
    if result.success is not None:
5474
      return result.success
5475
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplacedetailsForItem failed: unknown result");
5476
 
5477
  def updateMarketplaceAttributesForItem(self, marketPlaceItem):
5478
    """
5479
    Parameters:
5480
     - marketPlaceItem
5481
    """
5482
    self.send_updateMarketplaceAttributesForItem(marketPlaceItem)
5483
    return self.recv_updateMarketplaceAttributesForItem()
5484
 
5485
  def send_updateMarketplaceAttributesForItem(self, marketPlaceItem):
5486
    self._oprot.writeMessageBegin('updateMarketplaceAttributesForItem', TMessageType.CALL, self._seqid)
5487
    args = updateMarketplaceAttributesForItem_args()
5488
    args.marketPlaceItem = marketPlaceItem
5489
    args.write(self._oprot)
5490
    self._oprot.writeMessageEnd()
5491
    self._oprot.trans.flush()
5492
 
5493
  def recv_updateMarketplaceAttributesForItem(self, ):
5494
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5495
    if mtype == TMessageType.EXCEPTION:
5496
      x = TApplicationException()
5497
      x.read(self._iprot)
5498
      self._iprot.readMessageEnd()
5499
      raise x
5500
    result = updateMarketplaceAttributesForItem_result()
5501
    result.read(self._iprot)
5502
    self._iprot.readMessageEnd()
5503
    if result.success is not None:
5504
      return result.success
5505
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateMarketplaceAttributesForItem failed: unknown result");
5506
 
9779 kshitij.so 5507
  def getCostingForMarketplace(self, source, item_id):
5508
    """
5509
    Parameters:
5510
     - source
5511
     - item_id
5512
    """
5513
    self.send_getCostingForMarketplace(source, item_id)
5514
    return self.recv_getCostingForMarketplace()
5515
 
5516
  def send_getCostingForMarketplace(self, source, item_id):
5517
    self._oprot.writeMessageBegin('getCostingForMarketplace', TMessageType.CALL, self._seqid)
5518
    args = getCostingForMarketplace_args()
5519
    args.source = source
5520
    args.item_id = item_id
5521
    args.write(self._oprot)
5522
    self._oprot.writeMessageEnd()
5523
    self._oprot.trans.flush()
5524
 
5525
  def recv_getCostingForMarketplace(self, ):
5526
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5527
    if mtype == TMessageType.EXCEPTION:
5528
      x = TApplicationException()
5529
      x.read(self._iprot)
5530
      self._iprot.readMessageEnd()
5531
      raise x
5532
    result = getCostingForMarketplace_result()
5533
    result.read(self._iprot)
5534
    self._iprot.readMessageEnd()
5535
    if result.success is not None:
5536
      return result.success
5537
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCostingForMarketplace failed: unknown result");
5538
 
9776 vikram.rag 5539
  def getMarketPlaceItemsForPriceUpdate(self, source):
5540
    """
5541
    Parameters:
5542
     - source
5543
    """
5544
    self.send_getMarketPlaceItemsForPriceUpdate(source)
5545
    return self.recv_getMarketPlaceItemsForPriceUpdate()
9724 kshitij.so 5546
 
9776 vikram.rag 5547
  def send_getMarketPlaceItemsForPriceUpdate(self, source):
5548
    self._oprot.writeMessageBegin('getMarketPlaceItemsForPriceUpdate', TMessageType.CALL, self._seqid)
5549
    args = getMarketPlaceItemsForPriceUpdate_args()
5550
    args.source = source
5551
    args.write(self._oprot)
5552
    self._oprot.writeMessageEnd()
5553
    self._oprot.trans.flush()
5554
 
5555
  def recv_getMarketPlaceItemsForPriceUpdate(self, ):
5556
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5557
    if mtype == TMessageType.EXCEPTION:
5558
      x = TApplicationException()
5559
      x.read(self._iprot)
5560
      self._iprot.readMessageEnd()
5561
      raise x
5562
    result = getMarketPlaceItemsForPriceUpdate_result()
5563
    result.read(self._iprot)
5564
    self._iprot.readMessageEnd()
5565
    if result.success is not None:
5566
      return result.success
5567
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketPlaceItemsForPriceUpdate failed: unknown result");
5568
 
9816 kshitij.so 5569
  def updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5570
    """
5571
    Parameters:
5572
     - skulist
5573
     - timestamp
9816 kshitij.so 5574
     - source
9776 vikram.rag 5575
    """
9816 kshitij.so 5576
    self.send_updateMarketPlacePriceUpdateStatus(skulist, timestamp, source)
9776 vikram.rag 5577
    self.recv_updateMarketPlacePriceUpdateStatus()
5578
 
9816 kshitij.so 5579
  def send_updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5580
    self._oprot.writeMessageBegin('updateMarketPlacePriceUpdateStatus', TMessageType.CALL, self._seqid)
5581
    args = updateMarketPlacePriceUpdateStatus_args()
5582
    args.skulist = skulist
5583
    args.timestamp = timestamp
9816 kshitij.so 5584
    args.source = source
9776 vikram.rag 5585
    args.write(self._oprot)
5586
    self._oprot.writeMessageEnd()
5587
    self._oprot.trans.flush()
5588
 
5589
  def recv_updateMarketPlacePriceUpdateStatus(self, ):
5590
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5591
    if mtype == TMessageType.EXCEPTION:
5592
      x = TApplicationException()
5593
      x.read(self._iprot)
5594
      self._iprot.readMessageEnd()
5595
      raise x
5596
    result = updateMarketPlacePriceUpdateStatus_result()
5597
    result.read(self._iprot)
5598
    self._iprot.readMessageEnd()
5599
    return
5600
 
9861 rajveer 5601
  def updateItemHoldInventory(self, itemHoldMap):
5602
    """
5603
    Parameters:
5604
     - itemHoldMap
5605
    """
5606
    self.send_updateItemHoldInventory(itemHoldMap)
5607
    self.recv_updateItemHoldInventory()
9776 vikram.rag 5608
 
9861 rajveer 5609
  def send_updateItemHoldInventory(self, itemHoldMap):
5610
    self._oprot.writeMessageBegin('updateItemHoldInventory', TMessageType.CALL, self._seqid)
5611
    args = updateItemHoldInventory_args()
5612
    args.itemHoldMap = itemHoldMap
5613
    args.write(self._oprot)
5614
    self._oprot.writeMessageEnd()
5615
    self._oprot.trans.flush()
5616
 
5617
  def recv_updateItemHoldInventory(self, ):
5618
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5619
    if mtype == TMessageType.EXCEPTION:
5620
      x = TApplicationException()
5621
      x.read(self._iprot)
5622
      self._iprot.readMessageEnd()
5623
      raise x
5624
    result = updateItemHoldInventory_result()
5625
    result.read(self._iprot)
5626
    self._iprot.readMessageEnd()
5627
    return
5628
 
9895 vikram.rag 5629
  def updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5630
    """
5631
    Parameters:
5632
     - item_id
5633
     - vendor_id
5634
     - nlc
5635
    """
5636
    self.send_updateNlcAtMarketplaces(item_id, vendor_id, nlc)
5637
    self.recv_updateNlcAtMarketplaces()
9861 rajveer 5638
 
9895 vikram.rag 5639
  def send_updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5640
    self._oprot.writeMessageBegin('updateNlcAtMarketplaces', TMessageType.CALL, self._seqid)
5641
    args = updateNlcAtMarketplaces_args()
5642
    args.item_id = item_id
5643
    args.vendor_id = vendor_id
5644
    args.nlc = nlc
5645
    args.write(self._oprot)
5646
    self._oprot.writeMessageEnd()
5647
    self._oprot.trans.flush()
5648
 
5649
  def recv_updateNlcAtMarketplaces(self, ):
5650
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5651
    if mtype == TMessageType.EXCEPTION:
5652
      x = TApplicationException()
5653
      x.read(self._iprot)
5654
      self._iprot.readMessageEnd()
5655
      raise x
5656
    result = updateNlcAtMarketplaces_result()
5657
    result.read(self._iprot)
5658
    self._iprot.readMessageEnd()
5659
    return
5660
 
9945 vikram.rag 5661
  def getAllFlipkartItems(self, ):
5662
    self.send_getAllFlipkartItems()
5663
    return self.recv_getAllFlipkartItems()
9895 vikram.rag 5664
 
9945 vikram.rag 5665
  def send_getAllFlipkartItems(self, ):
5666
    self._oprot.writeMessageBegin('getAllFlipkartItems', TMessageType.CALL, self._seqid)
5667
    args = getAllFlipkartItems_args()
5668
    args.write(self._oprot)
5669
    self._oprot.writeMessageEnd()
5670
    self._oprot.trans.flush()
5671
 
5672
  def recv_getAllFlipkartItems(self, ):
5673
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5674
    if mtype == TMessageType.EXCEPTION:
5675
      x = TApplicationException()
5676
      x.read(self._iprot)
5677
      self._iprot.readMessageEnd()
5678
      raise x
5679
    result = getAllFlipkartItems_result()
5680
    result.read(self._iprot)
5681
    self._iprot.readMessageEnd()
5682
    if result.success is not None:
5683
      return result.success
5684
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartItems failed: unknown result");
5685
 
10097 kshitij.so 5686
  def addOrUpdateFlipkartItem(self, flipkartitem):
5687
    """
5688
    Parameters:
5689
     - flipkartitem
5690
    """
5691
    self.send_addOrUpdateFlipkartItem(flipkartitem)
5692
    return self.recv_addOrUpdateFlipkartItem()
9945 vikram.rag 5693
 
10097 kshitij.so 5694
  def send_addOrUpdateFlipkartItem(self, flipkartitem):
5695
    self._oprot.writeMessageBegin('addOrUpdateFlipkartItem', TMessageType.CALL, self._seqid)
5696
    args = addOrUpdateFlipkartItem_args()
5697
    args.flipkartitem = flipkartitem
5698
    args.write(self._oprot)
5699
    self._oprot.writeMessageEnd()
5700
    self._oprot.trans.flush()
5701
 
5702
  def recv_addOrUpdateFlipkartItem(self, ):
5703
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5704
    if mtype == TMessageType.EXCEPTION:
5705
      x = TApplicationException()
5706
      x.read(self._iprot)
5707
      self._iprot.readMessageEnd()
5708
      raise x
5709
    result = addOrUpdateFlipkartItem_result()
5710
    result.read(self._iprot)
5711
    self._iprot.readMessageEnd()
5712
    if result.success is not None:
5713
      return result.success
5714
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateFlipkartItem failed: unknown result");
5715
 
5716
  def getFlipkartItem(self, item_id):
5717
    """
5718
    Parameters:
5719
     - item_id
5720
    """
5721
    self.send_getFlipkartItem(item_id)
5722
    return self.recv_getFlipkartItem()
5723
 
5724
  def send_getFlipkartItem(self, item_id):
5725
    self._oprot.writeMessageBegin('getFlipkartItem', TMessageType.CALL, self._seqid)
5726
    args = getFlipkartItem_args()
5727
    args.item_id = item_id
5728
    args.write(self._oprot)
5729
    self._oprot.writeMessageEnd()
5730
    self._oprot.trans.flush()
5731
 
5732
  def recv_getFlipkartItem(self, ):
5733
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5734
    if mtype == TMessageType.EXCEPTION:
5735
      x = TApplicationException()
5736
      x.read(self._iprot)
5737
      self._iprot.readMessageEnd()
5738
      raise x
5739
    result = getFlipkartItem_result()
5740
    result.read(self._iprot)
5741
    self._iprot.readMessageEnd()
5742
    if result.success is not None:
5743
      return result.success
5744
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItem failed: unknown result");
5745
 
5746
  def getFlipkartItemDetails(self, item_id):
5747
    """
5748
    Parameters:
5749
     - item_id
5750
    """
5751
    self.send_getFlipkartItemDetails(item_id)
5752
    return self.recv_getFlipkartItemDetails()
5753
 
5754
  def send_getFlipkartItemDetails(self, item_id):
5755
    self._oprot.writeMessageBegin('getFlipkartItemDetails', TMessageType.CALL, self._seqid)
5756
    args = getFlipkartItemDetails_args()
5757
    args.item_id = item_id
5758
    args.write(self._oprot)
5759
    self._oprot.writeMessageEnd()
5760
    self._oprot.trans.flush()
5761
 
5762
  def recv_getFlipkartItemDetails(self, ):
5763
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5764
    if mtype == TMessageType.EXCEPTION:
5765
      x = TApplicationException()
5766
      x.read(self._iprot)
5767
      self._iprot.readMessageEnd()
5768
      raise x
5769
    result = getFlipkartItemDetails_result()
5770
    result.read(self._iprot)
5771
    self._iprot.readMessageEnd()
5772
    if result.success is not None:
5773
      return result.success
5774
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemDetails failed: unknown result");
5775
 
5776
  def getFlipkartItems(self, offset, limit):
5777
    """
5778
    Parameters:
5779
     - offset
5780
     - limit
5781
    """
5782
    self.send_getFlipkartItems(offset, limit)
5783
    return self.recv_getFlipkartItems()
5784
 
5785
  def send_getFlipkartItems(self, offset, limit):
5786
    self._oprot.writeMessageBegin('getFlipkartItems', TMessageType.CALL, self._seqid)
5787
    args = getFlipkartItems_args()
5788
    args.offset = offset
5789
    args.limit = limit
5790
    args.write(self._oprot)
5791
    self._oprot.writeMessageEnd()
5792
    self._oprot.trans.flush()
5793
 
5794
  def recv_getFlipkartItems(self, ):
5795
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5796
    if mtype == TMessageType.EXCEPTION:
5797
      x = TApplicationException()
5798
      x.read(self._iprot)
5799
      self._iprot.readMessageEnd()
5800
      raise x
5801
    result = getFlipkartItems_result()
5802
    result.read(self._iprot)
5803
    self._iprot.readMessageEnd()
5804
    if result.success is not None:
5805
      return result.success
5806
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItems failed: unknown result");
5807
 
5808
  def searchFlipkartItems(self, searchTerm, offset, limit):
5809
    """
5810
    Parameters:
5811
     - searchTerm
5812
     - offset
5813
     - limit
5814
    """
5815
    self.send_searchFlipkartItems(searchTerm, offset, limit)
5816
    return self.recv_searchFlipkartItems()
5817
 
5818
  def send_searchFlipkartItems(self, searchTerm, offset, limit):
5819
    self._oprot.writeMessageBegin('searchFlipkartItems', TMessageType.CALL, self._seqid)
5820
    args = searchFlipkartItems_args()
5821
    args.searchTerm = searchTerm
5822
    args.offset = offset
5823
    args.limit = limit
5824
    args.write(self._oprot)
5825
    self._oprot.writeMessageEnd()
5826
    self._oprot.trans.flush()
5827
 
5828
  def recv_searchFlipkartItems(self, ):
5829
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5830
    if mtype == TMessageType.EXCEPTION:
5831
      x = TApplicationException()
5832
      x.read(self._iprot)
5833
      self._iprot.readMessageEnd()
5834
      raise x
5835
    result = searchFlipkartItems_result()
5836
    result.read(self._iprot)
5837
    self._iprot.readMessageEnd()
5838
    if result.success is not None:
5839
      return result.success
5840
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchFlipkartItems failed: unknown result");
5841
 
5842
  def getCountForFlipkartItems(self, ):
5843
    self.send_getCountForFlipkartItems()
5844
    return self.recv_getCountForFlipkartItems()
5845
 
5846
  def send_getCountForFlipkartItems(self, ):
5847
    self._oprot.writeMessageBegin('getCountForFlipkartItems', TMessageType.CALL, self._seqid)
5848
    args = getCountForFlipkartItems_args()
5849
    args.write(self._oprot)
5850
    self._oprot.writeMessageEnd()
5851
    self._oprot.trans.flush()
5852
 
5853
  def recv_getCountForFlipkartItems(self, ):
5854
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5855
    if mtype == TMessageType.EXCEPTION:
5856
      x = TApplicationException()
5857
      x.read(self._iprot)
5858
      self._iprot.readMessageEnd()
5859
      raise x
5860
    result = getCountForFlipkartItems_result()
5861
    result.read(self._iprot)
5862
    self._iprot.readMessageEnd()
5863
    if result.success is not None:
5864
      return result.success
5865
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForFlipkartItems failed: unknown result");
5866
 
5867
  def getFlipkartSearchResultCount(self, searchTerm):
5868
    """
5869
    Parameters:
5870
     - searchTerm
5871
    """
5872
    self.send_getFlipkartSearchResultCount(searchTerm)
5873
    return self.recv_getFlipkartSearchResultCount()
5874
 
5875
  def send_getFlipkartSearchResultCount(self, searchTerm):
5876
    self._oprot.writeMessageBegin('getFlipkartSearchResultCount', TMessageType.CALL, self._seqid)
5877
    args = getFlipkartSearchResultCount_args()
5878
    args.searchTerm = searchTerm
5879
    args.write(self._oprot)
5880
    self._oprot.writeMessageEnd()
5881
    self._oprot.trans.flush()
5882
 
5883
  def recv_getFlipkartSearchResultCount(self, ):
5884
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5885
    if mtype == TMessageType.EXCEPTION:
5886
      x = TApplicationException()
5887
      x.read(self._iprot)
5888
      self._iprot.readMessageEnd()
5889
      raise x
5890
    result = getFlipkartSearchResultCount_result()
5891
    result.read(self._iprot)
5892
    self._iprot.readMessageEnd()
5893
    if result.success is not None:
5894
      return result.success
5895
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartSearchResultCount failed: unknown result");
5896
 
5897
  def getAllFkItems(self, ):
5898
    self.send_getAllFkItems()
5899
    return self.recv_getAllFkItems()
5900
 
5901
  def send_getAllFkItems(self, ):
5902
    self._oprot.writeMessageBegin('getAllFkItems', TMessageType.CALL, self._seqid)
5903
    args = getAllFkItems_args()
5904
    args.write(self._oprot)
5905
    self._oprot.writeMessageEnd()
5906
    self._oprot.trans.flush()
5907
 
5908
  def recv_getAllFkItems(self, ):
5909
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5910
    if mtype == TMessageType.EXCEPTION:
5911
      x = TApplicationException()
5912
      x.read(self._iprot)
5913
      self._iprot.readMessageEnd()
5914
      raise x
5915
    result = getAllFkItems_result()
5916
    result.read(self._iprot)
5917
    self._iprot.readMessageEnd()
5918
    if result.success is not None:
5919
      return result.success
5920
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFkItems failed: unknown result");
5921
 
10140 vikram.rag 5922
  def getFlipkartItemBySkyAtFlipkart(self, sku):
5923
    """
5924
    Parameters:
5925
     - sku
5926
    """
5927
    self.send_getFlipkartItemBySkyAtFlipkart(sku)
5928
    return self.recv_getFlipkartItemBySkyAtFlipkart()
10097 kshitij.so 5929
 
10140 vikram.rag 5930
  def send_getFlipkartItemBySkyAtFlipkart(self, sku):
5931
    self._oprot.writeMessageBegin('getFlipkartItemBySkyAtFlipkart', TMessageType.CALL, self._seqid)
5932
    args = getFlipkartItemBySkyAtFlipkart_args()
5933
    args.sku = sku
5934
    args.write(self._oprot)
5935
    self._oprot.writeMessageEnd()
5936
    self._oprot.trans.flush()
5937
 
5938
  def recv_getFlipkartItemBySkyAtFlipkart(self, ):
5939
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5940
    if mtype == TMessageType.EXCEPTION:
5941
      x = TApplicationException()
5942
      x.read(self._iprot)
5943
      self._iprot.readMessageEnd()
5944
      raise x
5945
    result = getFlipkartItemBySkyAtFlipkart_result()
5946
    result.read(self._iprot)
5947
    self._iprot.readMessageEnd()
5948
    if result.success is not None:
5949
      return result.success
5950
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemBySkyAtFlipkart failed: unknown result");
5951
 
11015 kshitij.so 5952
  def getMarketplaceHistory(self, source, offset, itemId):
5953
    """
5954
    Parameters:
5955
     - source
5956
     - offset
5957
     - itemId
5958
    """
5959
    self.send_getMarketplaceHistory(source, offset, itemId)
5960
    return self.recv_getMarketplaceHistory()
5961
 
5962
  def send_getMarketplaceHistory(self, source, offset, itemId):
5963
    self._oprot.writeMessageBegin('getMarketplaceHistory', TMessageType.CALL, self._seqid)
5964
    args = getMarketplaceHistory_args()
5965
    args.source = source
5966
    args.offset = offset
5967
    args.itemId = itemId
5968
    args.write(self._oprot)
5969
    self._oprot.writeMessageEnd()
5970
    self._oprot.trans.flush()
5971
 
5972
  def recv_getMarketplaceHistory(self, ):
5973
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5974
    if mtype == TMessageType.EXCEPTION:
5975
      x = TApplicationException()
5976
      x.read(self._iprot)
5977
      self._iprot.readMessageEnd()
5978
      raise x
5979
    result = getMarketplaceHistory_result()
5980
    result.read(self._iprot)
5981
    self._iprot.readMessageEnd()
5982
    if result.success is not None:
5983
      return result.success
5984
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistory failed: unknown result");
5985
 
10909 vikram.rag 5986
  def getAllFbbListedItems(self, ):
5987
    self.send_getAllFbbListedItems()
5988
    return self.recv_getAllFbbListedItems()
10140 vikram.rag 5989
 
10909 vikram.rag 5990
  def send_getAllFbbListedItems(self, ):
5991
    self._oprot.writeMessageBegin('getAllFbbListedItems', TMessageType.CALL, self._seqid)
5992
    args = getAllFbbListedItems_args()
5993
    args.write(self._oprot)
5994
    self._oprot.writeMessageEnd()
5995
    self._oprot.trans.flush()
5996
 
5997
  def recv_getAllFbbListedItems(self, ):
5998
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5999
    if mtype == TMessageType.EXCEPTION:
6000
      x = TApplicationException()
6001
      x.read(self._iprot)
6002
      self._iprot.readMessageEnd()
6003
      raise x
6004
    result = getAllFbbListedItems_result()
6005
    result.read(self._iprot)
6006
    self._iprot.readMessageEnd()
6007
    if result.success is not None:
6008
      return result.success
6009
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbListedItems failed: unknown result");
6010
 
10924 vikram.rag 6011
  def getAllFbbPricingItems(self, ):
6012
    self.send_getAllFbbPricingItems()
6013
    return self.recv_getAllFbbPricingItems()
10909 vikram.rag 6014
 
10924 vikram.rag 6015
  def send_getAllFbbPricingItems(self, ):
6016
    self._oprot.writeMessageBegin('getAllFbbPricingItems', TMessageType.CALL, self._seqid)
6017
    args = getAllFbbPricingItems_args()
6018
    args.write(self._oprot)
6019
    self._oprot.writeMessageEnd()
6020
    self._oprot.trans.flush()
6021
 
6022
  def recv_getAllFbbPricingItems(self, ):
6023
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6024
    if mtype == TMessageType.EXCEPTION:
6025
      x = TApplicationException()
6026
      x.read(self._iprot)
6027
      self._iprot.readMessageEnd()
6028
      raise x
6029
    result = getAllFbbPricingItems_result()
6030
    result.read(self._iprot)
6031
    self._iprot.readMessageEnd()
6032
    if result.success is not None:
6033
      return result.success
6034
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbPricingItems failed: unknown result");
6035
 
11015 kshitij.so 6036
  def getCountForMarketplaceHistory(self, source, itemId):
6037
    """
6038
    Parameters:
6039
     - source
6040
     - itemId
6041
    """
6042
    self.send_getCountForMarketplaceHistory(source, itemId)
6043
    return self.recv_getCountForMarketplaceHistory()
10924 vikram.rag 6044
 
11015 kshitij.so 6045
  def send_getCountForMarketplaceHistory(self, source, itemId):
6046
    self._oprot.writeMessageBegin('getCountForMarketplaceHistory', TMessageType.CALL, self._seqid)
6047
    args = getCountForMarketplaceHistory_args()
6048
    args.source = source
6049
    args.itemId = itemId
6050
    args.write(self._oprot)
6051
    self._oprot.writeMessageEnd()
6052
    self._oprot.trans.flush()
6053
 
6054
  def recv_getCountForMarketplaceHistory(self, ):
6055
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6056
    if mtype == TMessageType.EXCEPTION:
6057
      x = TApplicationException()
6058
      x.read(self._iprot)
6059
      self._iprot.readMessageEnd()
6060
      raise x
6061
    result = getCountForMarketplaceHistory_result()
6062
    result.read(self._iprot)
6063
    self._iprot.readMessageEnd()
6064
    if result.success is not None:
6065
      return result.success
6066
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForMarketplaceHistory failed: unknown result");
6067
 
6068
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6069
    """
6070
    Parameters:
6071
     - source
6072
     - startDate
6073
     - endDate
6074
     - offset
6075
     - limit
6076
     - itemId
6077
    """
6078
    self.send_getMarketplaceHistoryByDate(source, startDate, endDate, offset, limit, itemId)
6079
    return self.recv_getMarketplaceHistoryByDate()
6080
 
6081
  def send_getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6082
    self._oprot.writeMessageBegin('getMarketplaceHistoryByDate', TMessageType.CALL, self._seqid)
6083
    args = getMarketplaceHistoryByDate_args()
6084
    args.source = source
6085
    args.startDate = startDate
6086
    args.endDate = endDate
6087
    args.offset = offset
6088
    args.limit = limit
6089
    args.itemId = itemId
6090
    args.write(self._oprot)
6091
    self._oprot.writeMessageEnd()
6092
    self._oprot.trans.flush()
6093
 
6094
  def recv_getMarketplaceHistoryByDate(self, ):
6095
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6096
    if mtype == TMessageType.EXCEPTION:
6097
      x = TApplicationException()
6098
      x.read(self._iprot)
6099
      self._iprot.readMessageEnd()
6100
      raise x
6101
    result = getMarketplaceHistoryByDate_result()
6102
    result.read(self._iprot)
6103
    self._iprot.readMessageEnd()
6104
    if result.success is not None:
6105
      return result.success
6106
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistoryByDate failed: unknown result");
6107
 
11531 vikram.rag 6108
  def getPrivateDealDetails(self, item_id):
6109
    """
6110
    Parameters:
6111
     - item_id
6112
    """
6113
    self.send_getPrivateDealDetails(item_id)
6114
    return self.recv_getPrivateDealDetails()
11015 kshitij.so 6115
 
11531 vikram.rag 6116
  def send_getPrivateDealDetails(self, item_id):
6117
    self._oprot.writeMessageBegin('getPrivateDealDetails', TMessageType.CALL, self._seqid)
6118
    args = getPrivateDealDetails_args()
6119
    args.item_id = item_id
6120
    args.write(self._oprot)
6121
    self._oprot.writeMessageEnd()
6122
    self._oprot.trans.flush()
6123
 
6124
  def recv_getPrivateDealDetails(self, ):
6125
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6126
    if mtype == TMessageType.EXCEPTION:
6127
      x = TApplicationException()
6128
      x.read(self._iprot)
6129
      self._iprot.readMessageEnd()
6130
      raise x
6131
    result = getPrivateDealDetails_result()
6132
    result.read(self._iprot)
6133
    self._iprot.readMessageEnd()
6134
    if result.success is not None:
6135
      return result.success
6136
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealDetails failed: unknown result");
6137
 
6138
  def getPrivateDealItems(self, offset, limit):
6139
    """
6140
    Parameters:
6141
     - offset
6142
     - limit
6143
    """
6144
    self.send_getPrivateDealItems(offset, limit)
6145
    return self.recv_getPrivateDealItems()
6146
 
6147
  def send_getPrivateDealItems(self, offset, limit):
6148
    self._oprot.writeMessageBegin('getPrivateDealItems', TMessageType.CALL, self._seqid)
6149
    args = getPrivateDealItems_args()
6150
    args.offset = offset
6151
    args.limit = limit
6152
    args.write(self._oprot)
6153
    self._oprot.writeMessageEnd()
6154
    self._oprot.trans.flush()
6155
 
6156
  def recv_getPrivateDealItems(self, ):
6157
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6158
    if mtype == TMessageType.EXCEPTION:
6159
      x = TApplicationException()
6160
      x.read(self._iprot)
6161
      self._iprot.readMessageEnd()
6162
      raise x
6163
    result = getPrivateDealItems_result()
6164
    result.read(self._iprot)
6165
    self._iprot.readMessageEnd()
6166
    if result.success is not None:
6167
      return result.success
6168
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealItems failed: unknown result");
6169
 
11653 amit.gupta 6170
  def getAllActivePrivateDeals(self, itemIds, daysDelta):
6171
    """
6172
    Parameters:
6173
     - itemIds
6174
     - daysDelta
6175
    """
6176
    self.send_getAllActivePrivateDeals(itemIds, daysDelta)
11592 amit.gupta 6177
    return self.recv_getAllActivePrivateDeals()
6178
 
11653 amit.gupta 6179
  def send_getAllActivePrivateDeals(self, itemIds, daysDelta):
11592 amit.gupta 6180
    self._oprot.writeMessageBegin('getAllActivePrivateDeals', TMessageType.CALL, self._seqid)
6181
    args = getAllActivePrivateDeals_args()
11653 amit.gupta 6182
    args.itemIds = itemIds
6183
    args.daysDelta = daysDelta
11592 amit.gupta 6184
    args.write(self._oprot)
6185
    self._oprot.writeMessageEnd()
6186
    self._oprot.trans.flush()
6187
 
6188
  def recv_getAllActivePrivateDeals(self, ):
6189
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6190
    if mtype == TMessageType.EXCEPTION:
6191
      x = TApplicationException()
6192
      x.read(self._iprot)
6193
      self._iprot.readMessageEnd()
6194
      raise x
6195
    result = getAllActivePrivateDeals_result()
6196
    result.read(self._iprot)
6197
    self._iprot.readMessageEnd()
6198
    if result.success is not None:
6199
      return result.success
6200
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllActivePrivateDeals failed: unknown result");
6201
 
11531 vikram.rag 6202
  def addOrUpdatePrivateDeal(self, privateDeal):
6203
    """
6204
    Parameters:
6205
     - privateDeal
6206
    """
6207
    self.send_addOrUpdatePrivateDeal(privateDeal)
6208
    return self.recv_addOrUpdatePrivateDeal()
6209
 
6210
  def send_addOrUpdatePrivateDeal(self, privateDeal):
6211
    self._oprot.writeMessageBegin('addOrUpdatePrivateDeal', TMessageType.CALL, self._seqid)
6212
    args = addOrUpdatePrivateDeal_args()
6213
    args.privateDeal = privateDeal
6214
    args.write(self._oprot)
6215
    self._oprot.writeMessageEnd()
6216
    self._oprot.trans.flush()
6217
 
6218
  def recv_addOrUpdatePrivateDeal(self, ):
6219
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6220
    if mtype == TMessageType.EXCEPTION:
6221
      x = TApplicationException()
6222
      x.read(self._iprot)
6223
      self._iprot.readMessageEnd()
6224
      raise x
6225
    result = addOrUpdatePrivateDeal_result()
6226
    result.read(self._iprot)
6227
    self._iprot.readMessageEnd()
6228
    if result.success is not None:
6229
      return result.success
6230
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdatePrivateDeal failed: unknown result");
6231
 
11635 vikram.rag 6232
  def getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6233
    """
6234
    Parameters:
6235
     - beginIndex
6236
     - totalItems
6237
    """
6238
    self.send_getPrivateDealsCatalogIds(beginIndex, totalItems)
6239
    return self.recv_getPrivateDealsCatalogIds()
11531 vikram.rag 6240
 
11635 vikram.rag 6241
  def send_getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6242
    self._oprot.writeMessageBegin('getPrivateDealsCatalogIds', TMessageType.CALL, self._seqid)
6243
    args = getPrivateDealsCatalogIds_args()
6244
    args.beginIndex = beginIndex
6245
    args.totalItems = totalItems
6246
    args.write(self._oprot)
6247
    self._oprot.writeMessageEnd()
6248
    self._oprot.trans.flush()
6249
 
6250
  def recv_getPrivateDealsCatalogIds(self, ):
6251
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6252
    if mtype == TMessageType.EXCEPTION:
6253
      x = TApplicationException()
6254
      x.read(self._iprot)
6255
      self._iprot.readMessageEnd()
6256
      raise x
6257
    result = getPrivateDealsCatalogIds_result()
6258
    result.read(self._iprot)
6259
    self._iprot.readMessageEnd()
6260
    if result.success is not None:
6261
      return result.success
6262
    if result.cex is not None:
6263
      raise result.cex
6264
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCatalogIds failed: unknown result");
6265
 
11645 amit.gupta 6266
  def getPrivateDealsCount(self, ):
6267
    self.send_getPrivateDealsCount()
6268
    return self.recv_getPrivateDealsCount()
11635 vikram.rag 6269
 
11645 amit.gupta 6270
  def send_getPrivateDealsCount(self, ):
6271
    self._oprot.writeMessageBegin('getPrivateDealsCount', TMessageType.CALL, self._seqid)
6272
    args = getPrivateDealsCount_args()
6273
    args.write(self._oprot)
6274
    self._oprot.writeMessageEnd()
6275
    self._oprot.trans.flush()
6276
 
6277
  def recv_getPrivateDealsCount(self, ):
6278
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6279
    if mtype == TMessageType.EXCEPTION:
6280
      x = TApplicationException()
6281
      x.read(self._iprot)
6282
      self._iprot.readMessageEnd()
6283
      raise x
6284
    result = getPrivateDealsCount_result()
6285
    result.read(self._iprot)
6286
    self._iprot.readMessageEnd()
6287
    if result.success is not None:
6288
      return result.success
6289
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCount failed: unknown result");
6290
 
11905 kshitij.so 6291
  def getAmazonOutSyncItems(self, item_id):
6292
    """
6293
    Parameters:
6294
     - item_id
6295
    """
6296
    self.send_getAmazonOutSyncItems(item_id)
6297
    return self.recv_getAmazonOutSyncItems()
11645 amit.gupta 6298
 
11905 kshitij.so 6299
  def send_getAmazonOutSyncItems(self, item_id):
6300
    self._oprot.writeMessageBegin('getAmazonOutSyncItems', TMessageType.CALL, self._seqid)
6301
    args = getAmazonOutSyncItems_args()
6302
    args.item_id = item_id
6303
    args.write(self._oprot)
6304
    self._oprot.writeMessageEnd()
6305
    self._oprot.trans.flush()
6306
 
6307
  def recv_getAmazonOutSyncItems(self, ):
6308
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6309
    if mtype == TMessageType.EXCEPTION:
6310
      x = TApplicationException()
6311
      x.read(self._iprot)
6312
      self._iprot.readMessageEnd()
6313
      raise x
6314
    result = getAmazonOutSyncItems_result()
6315
    result.read(self._iprot)
6316
    self._iprot.readMessageEnd()
6317
    if result.success is not None:
6318
      return result.success
6319
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonOutSyncItems failed: unknown result");
6320
 
6321
  def getAllPrivateDealsComparison(self, ):
6322
    self.send_getAllPrivateDealsComparison()
6323
    return self.recv_getAllPrivateDealsComparison()
6324
 
6325
  def send_getAllPrivateDealsComparison(self, ):
6326
    self._oprot.writeMessageBegin('getAllPrivateDealsComparison', TMessageType.CALL, self._seqid)
6327
    args = getAllPrivateDealsComparison_args()
6328
    args.write(self._oprot)
6329
    self._oprot.writeMessageEnd()
6330
    self._oprot.trans.flush()
6331
 
6332
  def recv_getAllPrivateDealsComparison(self, ):
6333
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6334
    if mtype == TMessageType.EXCEPTION:
6335
      x = TApplicationException()
6336
      x.read(self._iprot)
6337
      self._iprot.readMessageEnd()
6338
      raise x
6339
    result = getAllPrivateDealsComparison_result()
6340
    result.read(self._iprot)
6341
    self._iprot.readMessageEnd()
6342
    if result.success is not None:
6343
      return result.success
6344
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllPrivateDealsComparison failed: unknown result");
6345
 
12133 kshitij.so 6346
  def getAllSnapdealMarketplaceItem(self, ):
6347
    self.send_getAllSnapdealMarketplaceItem()
6348
    return self.recv_getAllSnapdealMarketplaceItem()
11905 kshitij.so 6349
 
12133 kshitij.so 6350
  def send_getAllSnapdealMarketplaceItem(self, ):
6351
    self._oprot.writeMessageBegin('getAllSnapdealMarketplaceItem', TMessageType.CALL, self._seqid)
6352
    args = getAllSnapdealMarketplaceItem_args()
6353
    args.write(self._oprot)
6354
    self._oprot.writeMessageEnd()
6355
    self._oprot.trans.flush()
6356
 
6357
  def recv_getAllSnapdealMarketplaceItem(self, ):
6358
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6359
    if mtype == TMessageType.EXCEPTION:
6360
      x = TApplicationException()
6361
      x.read(self._iprot)
6362
      self._iprot.readMessageEnd()
6363
      raise x
6364
    result = getAllSnapdealMarketplaceItem_result()
6365
    result.read(self._iprot)
6366
    self._iprot.readMessageEnd()
6367
    if result.success is not None:
6368
      return result.success
6369
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealMarketplaceItem failed: unknown result");
6370
 
6371
  def getAllFlipkartMarketplaceItem(self, ):
6372
    self.send_getAllFlipkartMarketplaceItem()
6373
    return self.recv_getAllFlipkartMarketplaceItem()
6374
 
6375
  def send_getAllFlipkartMarketplaceItem(self, ):
6376
    self._oprot.writeMessageBegin('getAllFlipkartMarketplaceItem', TMessageType.CALL, self._seqid)
6377
    args = getAllFlipkartMarketplaceItem_args()
6378
    args.write(self._oprot)
6379
    self._oprot.writeMessageEnd()
6380
    self._oprot.trans.flush()
6381
 
6382
  def recv_getAllFlipkartMarketplaceItem(self, ):
6383
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6384
    if mtype == TMessageType.EXCEPTION:
6385
      x = TApplicationException()
6386
      x.read(self._iprot)
6387
      self._iprot.readMessageEnd()
6388
      raise x
6389
    result = getAllFlipkartMarketplaceItem_result()
6390
    result.read(self._iprot)
6391
    self._iprot.readMessageEnd()
6392
    if result.success is not None:
6393
      return result.success
6394
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartMarketplaceItem failed: unknown result");
6395
 
12243 kshitij.so 6396
  def addCompetitorScraping(self, competitorPricingMap):
6397
    """
6398
    Parameters:
6399
     - competitorPricingMap
6400
    """
6401
    self.send_addCompetitorScraping(competitorPricingMap)
6402
    self.recv_addCompetitorScraping()
12133 kshitij.so 6403
 
12243 kshitij.so 6404
  def send_addCompetitorScraping(self, competitorPricingMap):
6405
    self._oprot.writeMessageBegin('addCompetitorScraping', TMessageType.CALL, self._seqid)
6406
    args = addCompetitorScraping_args()
6407
    args.competitorPricingMap = competitorPricingMap
6408
    args.write(self._oprot)
6409
    self._oprot.writeMessageEnd()
6410
    self._oprot.trans.flush()
6411
 
6412
  def recv_addCompetitorScraping(self, ):
6413
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6414
    if mtype == TMessageType.EXCEPTION:
6415
      x = TApplicationException()
6416
      x.read(self._iprot)
6417
      self._iprot.readMessageEnd()
6418
      raise x
6419
    result = addCompetitorScraping_result()
6420
    result.read(self._iprot)
6421
    self._iprot.readMessageEnd()
6422
    return
6423
 
6424
  def getPreviousCompetitorScraping(self, delta):
6425
    """
6426
    Parameters:
6427
     - delta
6428
    """
6429
    self.send_getPreviousCompetitorScraping(delta)
6430
    return self.recv_getPreviousCompetitorScraping()
6431
 
6432
  def send_getPreviousCompetitorScraping(self, delta):
6433
    self._oprot.writeMessageBegin('getPreviousCompetitorScraping', TMessageType.CALL, self._seqid)
6434
    args = getPreviousCompetitorScraping_args()
6435
    args.delta = delta
6436
    args.write(self._oprot)
6437
    self._oprot.writeMessageEnd()
6438
    self._oprot.trans.flush()
6439
 
6440
  def recv_getPreviousCompetitorScraping(self, ):
6441
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6442
    if mtype == TMessageType.EXCEPTION:
6443
      x = TApplicationException()
6444
      x.read(self._iprot)
6445
      self._iprot.readMessageEnd()
6446
      raise x
6447
    result = getPreviousCompetitorScraping_result()
6448
    result.read(self._iprot)
6449
    self._iprot.readMessageEnd()
6450
    if result.success is not None:
6451
      return result.success
6452
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPreviousCompetitorScraping failed: unknown result");
6453
 
12256 kshitij.so 6454
  def getUploadResultById(self, uploadId):
6455
    """
6456
    Parameters:
6457
     - uploadId
6458
    """
6459
    self.send_getUploadResultById(uploadId)
6460
    return self.recv_getUploadResultById()
12243 kshitij.so 6461
 
12256 kshitij.so 6462
  def send_getUploadResultById(self, uploadId):
6463
    self._oprot.writeMessageBegin('getUploadResultById', TMessageType.CALL, self._seqid)
6464
    args = getUploadResultById_args()
6465
    args.uploadId = uploadId
6466
    args.write(self._oprot)
6467
    self._oprot.writeMessageEnd()
6468
    self._oprot.trans.flush()
6469
 
6470
  def recv_getUploadResultById(self, ):
6471
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6472
    if mtype == TMessageType.EXCEPTION:
6473
      x = TApplicationException()
6474
      x.read(self._iprot)
6475
      self._iprot.readMessageEnd()
6476
      raise x
6477
    result = getUploadResultById_result()
6478
    result.read(self._iprot)
6479
    self._iprot.readMessageEnd()
6480
    if result.success is not None:
6481
      return result.success
6482
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUploadResultById failed: unknown result");
6483
 
6484
 
5944 mandeep.dh 6485
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
6486
  def __init__(self, handler):
6487
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
6488
    self._processMap["addItem"] = Processor.process_addItem
6489
    self._processMap["updateItem"] = Processor.process_updateItem
6490
    self._processMap["isActive"] = Processor.process_isActive
7438 amit.gupta 6491
    self._processMap["getItemsStatus"] = Processor.process_getItemsStatus
5944 mandeep.dh 6492
    self._processMap["getItemStatusDescription"] = Processor.process_getItemStatusDescription
6493
    self._processMap["startItemOn"] = Processor.process_startItemOn
6494
    self._processMap["retireItemOn"] = Processor.process_retireItemOn
6495
    self._processMap["changeItemStatus"] = Processor.process_changeItemStatus
6496
    self._processMap["getItem"] = Processor.process_getItem
6497
    self._processMap["getItemsByCatalogId"] = Processor.process_getItemsByCatalogId
6498
    self._processMap["getValidItemsByCatalogId"] = Processor.process_getValidItemsByCatalogId
6499
    self._processMap["getAllItems"] = Processor.process_getAllItems
6500
    self._processMap["getAllItemsByStatus"] = Processor.process_getAllItemsByStatus
6501
    self._processMap["markItemAsContentComplete"] = Processor.process_markItemAsContentComplete
6502
    self._processMap["getAllItemsInRange"] = Processor.process_getAllItemsInRange
6503
    self._processMap["getAllItemsByStatusInRange"] = Processor.process_getAllItemsByStatusInRange
6504
    self._processMap["getItemCountByStatus"] = Processor.process_getItemCountByStatus
6505
    self._processMap["getBestSellers"] = Processor.process_getBestSellers
6506
    self._processMap["getBestSellersCatalogIds"] = Processor.process_getBestSellersCatalogIds
6507
    self._processMap["getBestSellersCount"] = Processor.process_getBestSellersCount
6508
    self._processMap["getBestDeals"] = Processor.process_getBestDeals
6509
    self._processMap["getBestDealsCatalogIds"] = Processor.process_getBestDealsCatalogIds
6510
    self._processMap["getBestDealsCount"] = Processor.process_getBestDealsCount
6511
    self._processMap["getComingSoon"] = Processor.process_getComingSoon
6512
    self._processMap["getComingSoonCatalogIds"] = Processor.process_getComingSoonCatalogIds
6513
    self._processMap["getComingSoonCount"] = Processor.process_getComingSoonCount
6514
    self._processMap["getLatestArrivals"] = Processor.process_getLatestArrivals
6515
    self._processMap["getLatestArrivalsCatalogIds"] = Processor.process_getLatestArrivalsCatalogIds
6516
    self._processMap["getLatestArrivalsCount"] = Processor.process_getLatestArrivalsCount
6517
    self._processMap["generateNewEntityID"] = Processor.process_generateNewEntityID
6518
    self._processMap["addCategory"] = Processor.process_addCategory
6519
    self._processMap["getCategory"] = Processor.process_getCategory
6520
    self._processMap["getAllCategories"] = Processor.process_getAllCategories
6521
    self._processMap["getAllSimilarItems"] = Processor.process_getAllSimilarItems
6522
    self._processMap["addSimilarItem"] = Processor.process_addSimilarItem
6512 kshitij.so 6523
    self._processMap["addTag"] = Processor.process_addTag
6524
    self._processMap["deleteEntityTag"] = Processor.process_deleteEntityTag
6525
    self._processMap["deleteTag"] = Processor.process_deleteTag
6526
    self._processMap["getAllTags"] = Processor.process_getAllTags
6527
    self._processMap["getAllEntitiesByTagName"] = Processor.process_getAllEntitiesByTagName
6845 amit.gupta 6528
    self._processMap["getAllEntityTags"] = Processor.process_getAllEntityTags
6850 kshitij.so 6529
    self._processMap["addBanner"] = Processor.process_addBanner
8579 kshitij.so 6530
    self._processMap["updateBanner"] = Processor.process_updateBanner
6850 kshitij.so 6531
    self._processMap["getAllBanners"] = Processor.process_getAllBanners
6532
    self._processMap["deleteBanner"] = Processor.process_deleteBanner
6533
    self._processMap["getBannerDetails"] = Processor.process_getBannerDetails
6534
    self._processMap["getActiveBanners"] = Processor.process_getActiveBanners
6849 kshitij.so 6535
    self._processMap["addBannerMap"] = Processor.process_addBannerMap
8579 kshitij.so 6536
    self._processMap["updateBannerMap"] = Processor.process_updateBannerMap
6849 kshitij.so 6537
    self._processMap["deleteBannerMap"] = Processor.process_deleteBannerMap
6538
    self._processMap["getBannerMapDetails"] = Processor.process_getBannerMapDetails
8579 kshitij.so 6539
    self._processMap["addBannerUri"] = Processor.process_addBannerUri
6540
    self._processMap["getUriMapping"] = Processor.process_getUriMapping
6541
    self._processMap["addCampaign"] = Processor.process_addCampaign
6542
    self._processMap["getCampaigns"] = Processor.process_getCampaigns
6543
    self._processMap["deleteCampaign"] = Processor.process_deleteCampaign
6544
    self._processMap["getAllCampaigns"] = Processor.process_getAllCampaigns
9155 kshitij.so 6545
    self._processMap["getActiveBannersForMobileSite"] = Processor.process_getActiveBannersForMobileSite
5944 mandeep.dh 6546
    self._processMap["deleteSimilarItem"] = Processor.process_deleteSimilarItem
6547
    self._processMap["checkSimilarItem"] = Processor.process_checkSimilarItem
6548
    self._processMap["validateRiskyStatus"] = Processor.process_validateRiskyStatus
6549
    self._processMap["changeItemRiskyFlag"] = Processor.process_changeItemRiskyFlag
6550
    self._processMap["getItemsByRiskyFlag"] = Processor.process_getItemsByRiskyFlag
6551
    self._processMap["getItemsForMasterSheet"] = Processor.process_getItemsForMasterSheet
6552
    self._processMap["getSimilarItemsCatalogIds"] = Processor.process_getSimilarItemsCatalogIds
6553
    self._processMap["addProductNotification"] = Processor.process_addProductNotification
6554
    self._processMap["sendProductNotifications"] = Processor.process_sendProductNotifications
6555
    self._processMap["getAllBrandsByCategory"] = Processor.process_getAllBrandsByCategory
6556
    self._processMap["getAllBrands"] = Processor.process_getAllBrands
6557
    self._processMap["getAllSources"] = Processor.process_getAllSources
6558
    self._processMap["getItemPricingBySource"] = Processor.process_getItemPricingBySource
6559
    self._processMap["addSourceItemPricing"] = Processor.process_addSourceItemPricing
6560
    self._processMap["getAllSourcePricing"] = Processor.process_getAllSourcePricing
6561
    self._processMap["getItemForSource"] = Processor.process_getItemForSource
6562
    self._processMap["searchItemsInRange"] = Processor.process_searchItemsInRange
6563
    self._processMap["getSearchResultCount"] = Processor.process_getSearchResultCount
6564
    self._processMap["getProductNotifications"] = Processor.process_getProductNotifications
6565
    self._processMap["getProductNotificationRequestCount"] = Processor.process_getProductNotificationRequestCount
6566
    self._processMap["addAuthorizationLog"] = Processor.process_addAuthorizationLog
6567
    self._processMap["addupdateVoucherForItem"] = Processor.process_addupdateVoucherForItem
6568
    self._processMap["deleteVoucherForItem"] = Processor.process_deleteVoucherForItem
6569
    self._processMap["getVoucherAmount"] = Processor.process_getVoucherAmount
6570
    self._processMap["getAllItemVouchers"] = Processor.process_getAllItemVouchers
6571
    self._processMap["isValidCatalogItemId"] = Processor.process_isValidCatalogItemId
6039 amit.gupta 6572
    self._processMap["getVatPercentageForItem"] = Processor.process_getVatPercentageForItem
6573
    self._processMap["getVatAmountForItem"] = Processor.process_getVatAmountForItem
6531 vikram.rag 6574
    self._processMap["getAllIgnoredInventoryUpdateItemsList"] = Processor.process_getAllIgnoredInventoryUpdateItemsList
6821 amar.kumar 6575
    self._processMap["getAllAliveItems"] = Processor.process_getAllAliveItems
6805 anupam.sin 6576
    self._processMap["getInsuranceAmount"] = Processor.process_getInsuranceAmount
6577
    self._processMap["getInsurer"] = Processor.process_getInsurer
6838 vikram.rag 6578
    self._processMap["getAllInsurers"] = Processor.process_getAllInsurers
6962 rajveer 6579
    self._processMap["updateInsuranceDeclaredAmount"] = Processor.process_updateInsuranceDeclaredAmount
7190 amar.kumar 6580
    self._processMap["getFreebieForItem"] = Processor.process_getFreebieForItem
6581
    self._processMap["addOrUpdateFreebieForItem"] = Processor.process_addOrUpdateFreebieForItem
7272 amit.gupta 6582
    self._processMap["addOrUpdateBrandInfo"] = Processor.process_addOrUpdateBrandInfo
6583
    self._processMap["getBrandInfo"] = Processor.process_getBrandInfo
7256 rajveer 6584
    self._processMap["getStorePricing"] = Processor.process_getStorePricing
7306 rajveer 6585
    self._processMap["getStorePricings"] = Processor.process_getStorePricings
7265 rajveer 6586
    self._processMap["updateStorePricing"] = Processor.process_updateStorePricing
7281 kshitij.so 6587
    self._processMap["getAllAmazonListedItems"] = Processor.process_getAllAmazonListedItems
8619 kshitij.so 6588
    self._processMap["searchAmazonItems"] = Processor.process_searchAmazonItems
6589
    self._processMap["getAmazonSearchResultCount"] = Processor.process_getAmazonSearchResultCount
6590
    self._processMap["getCountForAmazonlistedItems"] = Processor.process_getCountForAmazonlistedItems
7281 kshitij.so 6591
    self._processMap["getAmazonItemDetails"] = Processor.process_getAmazonItemDetails
6592
    self._processMap["updateAmazonItemDetails"] = Processor.process_updateAmazonItemDetails
6593
    self._processMap["addAmazonItem"] = Processor.process_addAmazonItem
7291 vikram.rag 6594
    self._processMap["getAsinItems"] = Processor.process_getAsinItems
6595
    self._processMap["getAllFbaListedItems"] = Processor.process_getAllFbaListedItems
6596
    self._processMap["getAllNonFbaListedItems"] = Processor.process_getAllNonFbaListedItems
7460 kshitij.so 6597
    self._processMap["updateItemInventory"] = Processor.process_updateItemInventory
7770 kshitij.so 6598
    self._processMap["updateTimestampForAmazonFeeds"] = Processor.process_updateTimestampForAmazonFeeds
7897 amar.kumar 6599
    self._processMap["getAllParentCategories"] = Processor.process_getAllParentCategories
7977 kshitij.so 6600
    self._processMap["addPageViewEvent"] = Processor.process_addPageViewEvent
6601
    self._processMap["addCartEvent"] = Processor.process_addCartEvent
8182 amar.kumar 6602
    self._processMap["addEbayItem"] = Processor.process_addEbayItem
6603
    self._processMap["getEbayItem"] = Processor.process_getEbayItem
6604
    self._processMap["updateEbayItem"] = Processor.process_updateEbayItem
8139 kshitij.so 6605
    self._processMap["getAmazonListedItems"] = Processor.process_getAmazonListedItems
8168 kshitij.so 6606
    self._processMap["updateAmazonAttributesInBulk"] = Processor.process_updateAmazonAttributesInBulk
8379 vikram.rag 6607
    self._processMap["getAllItemstoListOnFba"] = Processor.process_getAllItemstoListOnFba
6608
    self._processMap["getAllItemstoListOnNonFba"] = Processor.process_getAllItemstoListOnNonFba
8619 kshitij.so 6609
    self._processMap["updateAsin"] = Processor.process_updateAsin
8739 vikram.rag 6610
    self._processMap["addOrUpdateSnapdealItem"] = Processor.process_addOrUpdateSnapdealItem
6611
    self._processMap["getSnapdealItem"] = Processor.process_getSnapdealItem
9242 kshitij.so 6612
    self._processMap["getSnapdealItemDetails"] = Processor.process_getSnapdealItemDetails
8739 vikram.rag 6613
    self._processMap["getAllSnapdealItems"] = Processor.process_getAllSnapdealItems
9242 kshitij.so 6614
    self._processMap["getSnapdealItems"] = Processor.process_getSnapdealItems
6615
    self._processMap["searchSnapdealItems"] = Processor.process_searchSnapdealItems
6616
    self._processMap["getCountForSnapdealItems"] = Processor.process_getCountForSnapdealItems
6617
    self._processMap["getSnapdealSearchResultCount"] = Processor.process_getSnapdealSearchResultCount
9299 kshitij.so 6618
    self._processMap["getPrefferedInsurerForItem"] = Processor.process_getPrefferedInsurerForItem
9456 vikram.rag 6619
    self._processMap["getSnapdealItembySkuAtSnapdeal"] = Processor.process_getSnapdealItembySkuAtSnapdeal
9621 manish.sha 6620
    self._processMap["getProductFeedSubmit"] = Processor.process_getProductFeedSubmit
6621
    self._processMap["addProductFeedSubmit"] = Processor.process_addProductFeedSubmit
6622
    self._processMap["updateProductFeedSubmit"] = Processor.process_updateProductFeedSubmit
6623
    self._processMap["deleteProductFeedSubmit"] = Processor.process_deleteProductFeedSubmit
6624
    self._processMap["getAllProductFeedSubmit"] = Processor.process_getAllProductFeedSubmit
9724 kshitij.so 6625
    self._processMap["getMarketplacedetailsForItem"] = Processor.process_getMarketplacedetailsForItem
6626
    self._processMap["updateMarketplaceAttributesForItem"] = Processor.process_updateMarketplaceAttributesForItem
9779 kshitij.so 6627
    self._processMap["getCostingForMarketplace"] = Processor.process_getCostingForMarketplace
9776 vikram.rag 6628
    self._processMap["getMarketPlaceItemsForPriceUpdate"] = Processor.process_getMarketPlaceItemsForPriceUpdate
6629
    self._processMap["updateMarketPlacePriceUpdateStatus"] = Processor.process_updateMarketPlacePriceUpdateStatus
9861 rajveer 6630
    self._processMap["updateItemHoldInventory"] = Processor.process_updateItemHoldInventory
9895 vikram.rag 6631
    self._processMap["updateNlcAtMarketplaces"] = Processor.process_updateNlcAtMarketplaces
9945 vikram.rag 6632
    self._processMap["getAllFlipkartItems"] = Processor.process_getAllFlipkartItems
10097 kshitij.so 6633
    self._processMap["addOrUpdateFlipkartItem"] = Processor.process_addOrUpdateFlipkartItem
6634
    self._processMap["getFlipkartItem"] = Processor.process_getFlipkartItem
6635
    self._processMap["getFlipkartItemDetails"] = Processor.process_getFlipkartItemDetails
6636
    self._processMap["getFlipkartItems"] = Processor.process_getFlipkartItems
6637
    self._processMap["searchFlipkartItems"] = Processor.process_searchFlipkartItems
6638
    self._processMap["getCountForFlipkartItems"] = Processor.process_getCountForFlipkartItems
6639
    self._processMap["getFlipkartSearchResultCount"] = Processor.process_getFlipkartSearchResultCount
6640
    self._processMap["getAllFkItems"] = Processor.process_getAllFkItems
10140 vikram.rag 6641
    self._processMap["getFlipkartItemBySkyAtFlipkart"] = Processor.process_getFlipkartItemBySkyAtFlipkart
11015 kshitij.so 6642
    self._processMap["getMarketplaceHistory"] = Processor.process_getMarketplaceHistory
10909 vikram.rag 6643
    self._processMap["getAllFbbListedItems"] = Processor.process_getAllFbbListedItems
10924 vikram.rag 6644
    self._processMap["getAllFbbPricingItems"] = Processor.process_getAllFbbPricingItems
11015 kshitij.so 6645
    self._processMap["getCountForMarketplaceHistory"] = Processor.process_getCountForMarketplaceHistory
6646
    self._processMap["getMarketplaceHistoryByDate"] = Processor.process_getMarketplaceHistoryByDate
11531 vikram.rag 6647
    self._processMap["getPrivateDealDetails"] = Processor.process_getPrivateDealDetails
6648
    self._processMap["getPrivateDealItems"] = Processor.process_getPrivateDealItems
11592 amit.gupta 6649
    self._processMap["getAllActivePrivateDeals"] = Processor.process_getAllActivePrivateDeals
11531 vikram.rag 6650
    self._processMap["addOrUpdatePrivateDeal"] = Processor.process_addOrUpdatePrivateDeal
11635 vikram.rag 6651
    self._processMap["getPrivateDealsCatalogIds"] = Processor.process_getPrivateDealsCatalogIds
11645 amit.gupta 6652
    self._processMap["getPrivateDealsCount"] = Processor.process_getPrivateDealsCount
11905 kshitij.so 6653
    self._processMap["getAmazonOutSyncItems"] = Processor.process_getAmazonOutSyncItems
6654
    self._processMap["getAllPrivateDealsComparison"] = Processor.process_getAllPrivateDealsComparison
12133 kshitij.so 6655
    self._processMap["getAllSnapdealMarketplaceItem"] = Processor.process_getAllSnapdealMarketplaceItem
6656
    self._processMap["getAllFlipkartMarketplaceItem"] = Processor.process_getAllFlipkartMarketplaceItem
12243 kshitij.so 6657
    self._processMap["addCompetitorScraping"] = Processor.process_addCompetitorScraping
6658
    self._processMap["getPreviousCompetitorScraping"] = Processor.process_getPreviousCompetitorScraping
12256 kshitij.so 6659
    self._processMap["getUploadResultById"] = Processor.process_getUploadResultById
5944 mandeep.dh 6660
 
6661
  def process(self, iprot, oprot):
6662
    (name, type, seqid) = iprot.readMessageBegin()
6663
    if name not in self._processMap:
6664
      iprot.skip(TType.STRUCT)
6665
      iprot.readMessageEnd()
6666
      x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
6667
      oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
6668
      x.write(oprot)
6669
      oprot.writeMessageEnd()
6670
      oprot.trans.flush()
6671
      return
6672
    else:
6673
      self._processMap[name](self, seqid, iprot, oprot)
6674
    return True
6675
 
6676
  def process_addItem(self, seqid, iprot, oprot):
6677
    args = addItem_args()
6678
    args.read(iprot)
6679
    iprot.readMessageEnd()
6680
    result = addItem_result()
6681
    try:
6682
      result.success = self._handler.addItem(args.item)
6683
    except CatalogServiceException, cex:
6684
      result.cex = cex
6685
    oprot.writeMessageBegin("addItem", TMessageType.REPLY, seqid)
6686
    result.write(oprot)
6687
    oprot.writeMessageEnd()
6688
    oprot.trans.flush()
6689
 
6690
  def process_updateItem(self, seqid, iprot, oprot):
6691
    args = updateItem_args()
6692
    args.read(iprot)
6693
    iprot.readMessageEnd()
6694
    result = updateItem_result()
6695
    try:
6696
      result.success = self._handler.updateItem(args.item)
6697
    except CatalogServiceException, cex:
6698
      result.cex = cex
6699
    oprot.writeMessageBegin("updateItem", TMessageType.REPLY, seqid)
6700
    result.write(oprot)
6701
    oprot.writeMessageEnd()
6702
    oprot.trans.flush()
6703
 
6704
  def process_isActive(self, seqid, iprot, oprot):
6705
    args = isActive_args()
6706
    args.read(iprot)
6707
    iprot.readMessageEnd()
6708
    result = isActive_result()
6709
    try:
6710
      result.success = self._handler.isActive(args.itemId)
6711
    except CatalogServiceException, isex:
6712
      result.isex = isex
6713
    oprot.writeMessageBegin("isActive", TMessageType.REPLY, seqid)
6714
    result.write(oprot)
6715
    oprot.writeMessageEnd()
6716
    oprot.trans.flush()
6717
 
7438 amit.gupta 6718
  def process_getItemsStatus(self, seqid, iprot, oprot):
6719
    args = getItemsStatus_args()
6720
    args.read(iprot)
6721
    iprot.readMessageEnd()
6722
    result = getItemsStatus_result()
6723
    try:
6724
      result.success = self._handler.getItemsStatus(args.itemIds)
6725
    except CatalogServiceException, isex:
6726
      result.isex = isex
6727
    oprot.writeMessageBegin("getItemsStatus", TMessageType.REPLY, seqid)
6728
    result.write(oprot)
6729
    oprot.writeMessageEnd()
6730
    oprot.trans.flush()
6731
 
5944 mandeep.dh 6732
  def process_getItemStatusDescription(self, seqid, iprot, oprot):
6733
    args = getItemStatusDescription_args()
6734
    args.read(iprot)
6735
    iprot.readMessageEnd()
6736
    result = getItemStatusDescription_result()
6737
    try:
6738
      result.success = self._handler.getItemStatusDescription(args.itemId)
6739
    except CatalogServiceException, isex:
6740
      result.isex = isex
6741
    oprot.writeMessageBegin("getItemStatusDescription", TMessageType.REPLY, seqid)
6742
    result.write(oprot)
6743
    oprot.writeMessageEnd()
6744
    oprot.trans.flush()
6745
 
6746
  def process_startItemOn(self, seqid, iprot, oprot):
6747
    args = startItemOn_args()
6748
    args.read(iprot)
6749
    iprot.readMessageEnd()
6750
    result = startItemOn_result()
6751
    try:
6752
      self._handler.startItemOn(args.item_id, args.timestamp)
6753
    except CatalogServiceException, cex:
6754
      result.cex = cex
6755
    oprot.writeMessageBegin("startItemOn", TMessageType.REPLY, seqid)
6756
    result.write(oprot)
6757
    oprot.writeMessageEnd()
6758
    oprot.trans.flush()
6759
 
6760
  def process_retireItemOn(self, seqid, iprot, oprot):
6761
    args = retireItemOn_args()
6762
    args.read(iprot)
6763
    iprot.readMessageEnd()
6764
    result = retireItemOn_result()
6765
    try:
6766
      self._handler.retireItemOn(args.item_id, args.timestamp)
6767
    except CatalogServiceException, cex:
6768
      result.cex = cex
6769
    oprot.writeMessageBegin("retireItemOn", TMessageType.REPLY, seqid)
6770
    result.write(oprot)
6771
    oprot.writeMessageEnd()
6772
    oprot.trans.flush()
6773
 
6774
  def process_changeItemStatus(self, seqid, iprot, oprot):
6775
    args = changeItemStatus_args()
6776
    args.read(iprot)
6777
    iprot.readMessageEnd()
6778
    result = changeItemStatus_result()
6779
    try:
6780
      self._handler.changeItemStatus(args.item_id, args.timestamp, args.newstatus)
6781
    except CatalogServiceException, cex:
6782
      result.cex = cex
6783
    oprot.writeMessageBegin("changeItemStatus", TMessageType.REPLY, seqid)
6784
    result.write(oprot)
6785
    oprot.writeMessageEnd()
6786
    oprot.trans.flush()
6787
 
6788
  def process_getItem(self, seqid, iprot, oprot):
6789
    args = getItem_args()
6790
    args.read(iprot)
6791
    iprot.readMessageEnd()
6792
    result = getItem_result()
6793
    try:
6794
      result.success = self._handler.getItem(args.item_id)
6795
    except CatalogServiceException, cex:
6796
      result.cex = cex
6797
    oprot.writeMessageBegin("getItem", TMessageType.REPLY, seqid)
6798
    result.write(oprot)
6799
    oprot.writeMessageEnd()
6800
    oprot.trans.flush()
6801
 
6802
  def process_getItemsByCatalogId(self, seqid, iprot, oprot):
6803
    args = getItemsByCatalogId_args()
6804
    args.read(iprot)
6805
    iprot.readMessageEnd()
6806
    result = getItemsByCatalogId_result()
6807
    try:
6808
      result.success = self._handler.getItemsByCatalogId(args.catalog_item_id)
6809
    except CatalogServiceException, cex:
6810
      result.cex = cex
6811
    oprot.writeMessageBegin("getItemsByCatalogId", TMessageType.REPLY, seqid)
6812
    result.write(oprot)
6813
    oprot.writeMessageEnd()
6814
    oprot.trans.flush()
6815
 
6816
  def process_getValidItemsByCatalogId(self, seqid, iprot, oprot):
6817
    args = getValidItemsByCatalogId_args()
6818
    args.read(iprot)
6819
    iprot.readMessageEnd()
6820
    result = getValidItemsByCatalogId_result()
6821
    try:
6822
      result.success = self._handler.getValidItemsByCatalogId(args.catalog_item_id)
6823
    except CatalogServiceException, cex:
6824
      result.cex = cex
6825
    oprot.writeMessageBegin("getValidItemsByCatalogId", TMessageType.REPLY, seqid)
6826
    result.write(oprot)
6827
    oprot.writeMessageEnd()
6828
    oprot.trans.flush()
6829
 
6830
  def process_getAllItems(self, seqid, iprot, oprot):
6831
    args = getAllItems_args()
6832
    args.read(iprot)
6833
    iprot.readMessageEnd()
6834
    result = getAllItems_result()
6835
    try:
6836
      result.success = self._handler.getAllItems(args.isActive)
6837
    except CatalogServiceException, cex:
6838
      result.cex = cex
6839
    oprot.writeMessageBegin("getAllItems", TMessageType.REPLY, seqid)
6840
    result.write(oprot)
6841
    oprot.writeMessageEnd()
6842
    oprot.trans.flush()
6843
 
6844
  def process_getAllItemsByStatus(self, seqid, iprot, oprot):
6845
    args = getAllItemsByStatus_args()
6846
    args.read(iprot)
6847
    iprot.readMessageEnd()
6848
    result = getAllItemsByStatus_result()
6849
    try:
6850
      result.success = self._handler.getAllItemsByStatus(args.itemStatus)
6851
    except CatalogServiceException, cex:
6852
      result.cex = cex
6853
    oprot.writeMessageBegin("getAllItemsByStatus", TMessageType.REPLY, seqid)
6854
    result.write(oprot)
6855
    oprot.writeMessageEnd()
6856
    oprot.trans.flush()
6857
 
6858
  def process_markItemAsContentComplete(self, seqid, iprot, oprot):
6859
    args = markItemAsContentComplete_args()
6860
    args.read(iprot)
6861
    iprot.readMessageEnd()
6862
    result = markItemAsContentComplete_result()
6863
    try:
9253 rajveer 6864
      result.success = self._handler.markItemAsContentComplete(args.entityId, args.category, args.brand, args.modelName, args.modelNumber, args.isAndroid)
5944 mandeep.dh 6865
    except CatalogServiceException, cex:
6866
      result.cex = cex
6867
    oprot.writeMessageBegin("markItemAsContentComplete", TMessageType.REPLY, seqid)
6868
    result.write(oprot)
6869
    oprot.writeMessageEnd()
6870
    oprot.trans.flush()
6871
 
6872
  def process_getAllItemsInRange(self, seqid, iprot, oprot):
6873
    args = getAllItemsInRange_args()
6874
    args.read(iprot)
6875
    iprot.readMessageEnd()
6876
    result = getAllItemsInRange_result()
6877
    try:
6878
      result.success = self._handler.getAllItemsInRange(args.offset, args.limit)
6879
    except CatalogServiceException, cex:
6880
      result.cex = cex
6881
    oprot.writeMessageBegin("getAllItemsInRange", TMessageType.REPLY, seqid)
6882
    result.write(oprot)
6883
    oprot.writeMessageEnd()
6884
    oprot.trans.flush()
6885
 
6886
  def process_getAllItemsByStatusInRange(self, seqid, iprot, oprot):
6887
    args = getAllItemsByStatusInRange_args()
6888
    args.read(iprot)
6889
    iprot.readMessageEnd()
6890
    result = getAllItemsByStatusInRange_result()
6891
    try:
6892
      result.success = self._handler.getAllItemsByStatusInRange(args.itemStatus, args.offset, args.limit)
6893
    except CatalogServiceException, cex:
6894
      result.cex = cex
6895
    oprot.writeMessageBegin("getAllItemsByStatusInRange", TMessageType.REPLY, seqid)
6896
    result.write(oprot)
6897
    oprot.writeMessageEnd()
6898
    oprot.trans.flush()
6899
 
6900
  def process_getItemCountByStatus(self, seqid, iprot, oprot):
6901
    args = getItemCountByStatus_args()
6902
    args.read(iprot)
6903
    iprot.readMessageEnd()
6904
    result = getItemCountByStatus_result()
6905
    result.success = self._handler.getItemCountByStatus(args.useStatus, args.itemStatus)
6906
    oprot.writeMessageBegin("getItemCountByStatus", TMessageType.REPLY, seqid)
6907
    result.write(oprot)
6908
    oprot.writeMessageEnd()
6909
    oprot.trans.flush()
6910
 
6911
  def process_getBestSellers(self, seqid, iprot, oprot):
6912
    args = getBestSellers_args()
6913
    args.read(iprot)
6914
    iprot.readMessageEnd()
6915
    result = getBestSellers_result()
6916
    try:
6917
      result.success = self._handler.getBestSellers()
6918
    except CatalogServiceException, isex:
6919
      result.isex = isex
6920
    oprot.writeMessageBegin("getBestSellers", TMessageType.REPLY, seqid)
6921
    result.write(oprot)
6922
    oprot.writeMessageEnd()
6923
    oprot.trans.flush()
6924
 
6925
  def process_getBestSellersCatalogIds(self, seqid, iprot, oprot):
6926
    args = getBestSellersCatalogIds_args()
6927
    args.read(iprot)
6928
    iprot.readMessageEnd()
6929
    result = getBestSellersCatalogIds_result()
6930
    try:
6931
      result.success = self._handler.getBestSellersCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
6932
    except CatalogServiceException, cex:
6933
      result.cex = cex
6934
    oprot.writeMessageBegin("getBestSellersCatalogIds", TMessageType.REPLY, seqid)
6935
    result.write(oprot)
6936
    oprot.writeMessageEnd()
6937
    oprot.trans.flush()
6938
 
6939
  def process_getBestSellersCount(self, seqid, iprot, oprot):
6940
    args = getBestSellersCount_args()
6941
    args.read(iprot)
6942
    iprot.readMessageEnd()
6943
    result = getBestSellersCount_result()
6944
    try:
6945
      result.success = self._handler.getBestSellersCount()
6946
    except CatalogServiceException, cex:
6947
      result.cex = cex
6948
    oprot.writeMessageBegin("getBestSellersCount", TMessageType.REPLY, seqid)
6949
    result.write(oprot)
6950
    oprot.writeMessageEnd()
6951
    oprot.trans.flush()
6952
 
6953
  def process_getBestDeals(self, seqid, iprot, oprot):
6954
    args = getBestDeals_args()
6955
    args.read(iprot)
6956
    iprot.readMessageEnd()
6957
    result = getBestDeals_result()
6958
    try:
6959
      result.success = self._handler.getBestDeals()
6960
    except CatalogServiceException, isex:
6961
      result.isex = isex
6962
    oprot.writeMessageBegin("getBestDeals", TMessageType.REPLY, seqid)
6963
    result.write(oprot)
6964
    oprot.writeMessageEnd()
6965
    oprot.trans.flush()
6966
 
6967
  def process_getBestDealsCatalogIds(self, seqid, iprot, oprot):
6968
    args = getBestDealsCatalogIds_args()
6969
    args.read(iprot)
6970
    iprot.readMessageEnd()
6971
    result = getBestDealsCatalogIds_result()
6972
    try:
6973
      result.success = self._handler.getBestDealsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
6974
    except CatalogServiceException, cex:
6975
      result.cex = cex
6976
    oprot.writeMessageBegin("getBestDealsCatalogIds", TMessageType.REPLY, seqid)
6977
    result.write(oprot)
6978
    oprot.writeMessageEnd()
6979
    oprot.trans.flush()
6980
 
6981
  def process_getBestDealsCount(self, seqid, iprot, oprot):
6982
    args = getBestDealsCount_args()
6983
    args.read(iprot)
6984
    iprot.readMessageEnd()
6985
    result = getBestDealsCount_result()
6986
    try:
6987
      result.success = self._handler.getBestDealsCount()
6988
    except CatalogServiceException, cex:
6989
      result.cex = cex
6990
    oprot.writeMessageBegin("getBestDealsCount", TMessageType.REPLY, seqid)
6991
    result.write(oprot)
6992
    oprot.writeMessageEnd()
6993
    oprot.trans.flush()
6994
 
6995
  def process_getComingSoon(self, seqid, iprot, oprot):
6996
    args = getComingSoon_args()
6997
    args.read(iprot)
6998
    iprot.readMessageEnd()
6999
    result = getComingSoon_result()
7000
    try:
7001
      result.success = self._handler.getComingSoon()
7002
    except CatalogServiceException, isex:
7003
      result.isex = isex
7004
    oprot.writeMessageBegin("getComingSoon", TMessageType.REPLY, seqid)
7005
    result.write(oprot)
7006
    oprot.writeMessageEnd()
7007
    oprot.trans.flush()
7008
 
7009
  def process_getComingSoonCatalogIds(self, seqid, iprot, oprot):
7010
    args = getComingSoonCatalogIds_args()
7011
    args.read(iprot)
7012
    iprot.readMessageEnd()
7013
    result = getComingSoonCatalogIds_result()
7014
    try:
7015
      result.success = self._handler.getComingSoonCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7016
    except CatalogServiceException, cex:
7017
      result.cex = cex
7018
    oprot.writeMessageBegin("getComingSoonCatalogIds", TMessageType.REPLY, seqid)
7019
    result.write(oprot)
7020
    oprot.writeMessageEnd()
7021
    oprot.trans.flush()
7022
 
7023
  def process_getComingSoonCount(self, seqid, iprot, oprot):
7024
    args = getComingSoonCount_args()
7025
    args.read(iprot)
7026
    iprot.readMessageEnd()
7027
    result = getComingSoonCount_result()
7028
    try:
7029
      result.success = self._handler.getComingSoonCount()
7030
    except CatalogServiceException, cex:
7031
      result.cex = cex
7032
    oprot.writeMessageBegin("getComingSoonCount", TMessageType.REPLY, seqid)
7033
    result.write(oprot)
7034
    oprot.writeMessageEnd()
7035
    oprot.trans.flush()
7036
 
7037
  def process_getLatestArrivals(self, seqid, iprot, oprot):
7038
    args = getLatestArrivals_args()
7039
    args.read(iprot)
7040
    iprot.readMessageEnd()
7041
    result = getLatestArrivals_result()
7042
    try:
7043
      result.success = self._handler.getLatestArrivals()
7044
    except CatalogServiceException, isex:
7045
      result.isex = isex
7046
    oprot.writeMessageBegin("getLatestArrivals", TMessageType.REPLY, seqid)
7047
    result.write(oprot)
7048
    oprot.writeMessageEnd()
7049
    oprot.trans.flush()
7050
 
7051
  def process_getLatestArrivalsCatalogIds(self, seqid, iprot, oprot):
7052
    args = getLatestArrivalsCatalogIds_args()
7053
    args.read(iprot)
7054
    iprot.readMessageEnd()
7055
    result = getLatestArrivalsCatalogIds_result()
7056
    try:
7057
      result.success = self._handler.getLatestArrivalsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.categories)
7058
    except CatalogServiceException, cex:
7059
      result.cex = cex
7060
    oprot.writeMessageBegin("getLatestArrivalsCatalogIds", TMessageType.REPLY, seqid)
7061
    result.write(oprot)
7062
    oprot.writeMessageEnd()
7063
    oprot.trans.flush()
7064
 
7065
  def process_getLatestArrivalsCount(self, seqid, iprot, oprot):
7066
    args = getLatestArrivalsCount_args()
7067
    args.read(iprot)
7068
    iprot.readMessageEnd()
7069
    result = getLatestArrivalsCount_result()
7070
    try:
7071
      result.success = self._handler.getLatestArrivalsCount()
7072
    except CatalogServiceException, cex:
7073
      result.cex = cex
7074
    oprot.writeMessageBegin("getLatestArrivalsCount", TMessageType.REPLY, seqid)
7075
    result.write(oprot)
7076
    oprot.writeMessageEnd()
7077
    oprot.trans.flush()
7078
 
7079
  def process_generateNewEntityID(self, seqid, iprot, oprot):
7080
    args = generateNewEntityID_args()
7081
    args.read(iprot)
7082
    iprot.readMessageEnd()
7083
    result = generateNewEntityID_result()
7084
    result.success = self._handler.generateNewEntityID()
7085
    oprot.writeMessageBegin("generateNewEntityID", TMessageType.REPLY, seqid)
7086
    result.write(oprot)
7087
    oprot.writeMessageEnd()
7088
    oprot.trans.flush()
7089
 
7090
  def process_addCategory(self, seqid, iprot, oprot):
7091
    args = addCategory_args()
7092
    args.read(iprot)
7093
    iprot.readMessageEnd()
7094
    result = addCategory_result()
7095
    result.success = self._handler.addCategory(args.category)
7096
    oprot.writeMessageBegin("addCategory", TMessageType.REPLY, seqid)
7097
    result.write(oprot)
7098
    oprot.writeMessageEnd()
7099
    oprot.trans.flush()
7100
 
7101
  def process_getCategory(self, seqid, iprot, oprot):
7102
    args = getCategory_args()
7103
    args.read(iprot)
7104
    iprot.readMessageEnd()
7105
    result = getCategory_result()
7106
    result.success = self._handler.getCategory(args.id)
7107
    oprot.writeMessageBegin("getCategory", TMessageType.REPLY, seqid)
7108
    result.write(oprot)
7109
    oprot.writeMessageEnd()
7110
    oprot.trans.flush()
7111
 
7112
  def process_getAllCategories(self, seqid, iprot, oprot):
7113
    args = getAllCategories_args()
7114
    args.read(iprot)
7115
    iprot.readMessageEnd()
7116
    result = getAllCategories_result()
7117
    result.success = self._handler.getAllCategories()
7118
    oprot.writeMessageBegin("getAllCategories", TMessageType.REPLY, seqid)
7119
    result.write(oprot)
7120
    oprot.writeMessageEnd()
7121
    oprot.trans.flush()
7122
 
7123
  def process_getAllSimilarItems(self, seqid, iprot, oprot):
7124
    args = getAllSimilarItems_args()
7125
    args.read(iprot)
7126
    iprot.readMessageEnd()
7127
    result = getAllSimilarItems_result()
7128
    result.success = self._handler.getAllSimilarItems(args.itemId)
7129
    oprot.writeMessageBegin("getAllSimilarItems", TMessageType.REPLY, seqid)
7130
    result.write(oprot)
7131
    oprot.writeMessageEnd()
7132
    oprot.trans.flush()
7133
 
7134
  def process_addSimilarItem(self, seqid, iprot, oprot):
7135
    args = addSimilarItem_args()
7136
    args.read(iprot)
7137
    iprot.readMessageEnd()
7138
    result = addSimilarItem_result()
7139
    try:
7140
      result.success = self._handler.addSimilarItem(args.itemId, args.catalogItemId)
7141
    except CatalogServiceException, cex:
7142
      result.cex = cex
7143
    oprot.writeMessageBegin("addSimilarItem", TMessageType.REPLY, seqid)
7144
    result.write(oprot)
7145
    oprot.writeMessageEnd()
7146
    oprot.trans.flush()
7147
 
6512 kshitij.so 7148
  def process_addTag(self, seqid, iprot, oprot):
7149
    args = addTag_args()
7150
    args.read(iprot)
7151
    iprot.readMessageEnd()
7152
    result = addTag_result()
7153
    result.success = self._handler.addTag(args.displayName, args.itemId)
7154
    oprot.writeMessageBegin("addTag", TMessageType.REPLY, seqid)
7155
    result.write(oprot)
7156
    oprot.writeMessageEnd()
7157
    oprot.trans.flush()
7158
 
7159
  def process_deleteEntityTag(self, seqid, iprot, oprot):
7160
    args = deleteEntityTag_args()
7161
    args.read(iprot)
7162
    iprot.readMessageEnd()
7163
    result = deleteEntityTag_result()
7164
    result.success = self._handler.deleteEntityTag(args.displayName, args.itemId)
7165
    oprot.writeMessageBegin("deleteEntityTag", TMessageType.REPLY, seqid)
7166
    result.write(oprot)
7167
    oprot.writeMessageEnd()
7168
    oprot.trans.flush()
7169
 
7170
  def process_deleteTag(self, seqid, iprot, oprot):
7171
    args = deleteTag_args()
7172
    args.read(iprot)
7173
    iprot.readMessageEnd()
7174
    result = deleteTag_result()
7175
    result.success = self._handler.deleteTag(args.displayName)
7176
    oprot.writeMessageBegin("deleteTag", TMessageType.REPLY, seqid)
7177
    result.write(oprot)
7178
    oprot.writeMessageEnd()
7179
    oprot.trans.flush()
7180
 
7181
  def process_getAllTags(self, seqid, iprot, oprot):
7182
    args = getAllTags_args()
7183
    args.read(iprot)
7184
    iprot.readMessageEnd()
7185
    result = getAllTags_result()
7186
    result.success = self._handler.getAllTags()
7187
    oprot.writeMessageBegin("getAllTags", TMessageType.REPLY, seqid)
7188
    result.write(oprot)
7189
    oprot.writeMessageEnd()
7190
    oprot.trans.flush()
7191
 
7192
  def process_getAllEntitiesByTagName(self, seqid, iprot, oprot):
7193
    args = getAllEntitiesByTagName_args()
7194
    args.read(iprot)
7195
    iprot.readMessageEnd()
7196
    result = getAllEntitiesByTagName_result()
7197
    result.success = self._handler.getAllEntitiesByTagName(args.displayName)
7198
    oprot.writeMessageBegin("getAllEntitiesByTagName", TMessageType.REPLY, seqid)
7199
    result.write(oprot)
7200
    oprot.writeMessageEnd()
7201
    oprot.trans.flush()
7202
 
6845 amit.gupta 7203
  def process_getAllEntityTags(self, seqid, iprot, oprot):
7204
    args = getAllEntityTags_args()
7205
    args.read(iprot)
7206
    iprot.readMessageEnd()
7207
    result = getAllEntityTags_result()
7208
    result.success = self._handler.getAllEntityTags()
7209
    oprot.writeMessageBegin("getAllEntityTags", TMessageType.REPLY, seqid)
7210
    result.write(oprot)
7211
    oprot.writeMessageEnd()
7212
    oprot.trans.flush()
7213
 
6850 kshitij.so 7214
  def process_addBanner(self, seqid, iprot, oprot):
7215
    args = addBanner_args()
7216
    args.read(iprot)
7217
    iprot.readMessageEnd()
7218
    result = addBanner_result()
10097 kshitij.so 7219
    result.success = self._handler.addBanner(args.bannerCongregate)
6850 kshitij.so 7220
    oprot.writeMessageBegin("addBanner", TMessageType.REPLY, seqid)
7221
    result.write(oprot)
7222
    oprot.writeMessageEnd()
7223
    oprot.trans.flush()
7224
 
8579 kshitij.so 7225
  def process_updateBanner(self, seqid, iprot, oprot):
7226
    args = updateBanner_args()
7227
    args.read(iprot)
7228
    iprot.readMessageEnd()
7229
    result = updateBanner_result()
7230
    result.success = self._handler.updateBanner(args.banner)
7231
    oprot.writeMessageBegin("updateBanner", TMessageType.REPLY, seqid)
7232
    result.write(oprot)
7233
    oprot.writeMessageEnd()
7234
    oprot.trans.flush()
7235
 
6850 kshitij.so 7236
  def process_getAllBanners(self, seqid, iprot, oprot):
7237
    args = getAllBanners_args()
7238
    args.read(iprot)
7239
    iprot.readMessageEnd()
7240
    result = getAllBanners_result()
7241
    result.success = self._handler.getAllBanners()
7242
    oprot.writeMessageBegin("getAllBanners", TMessageType.REPLY, seqid)
7243
    result.write(oprot)
7244
    oprot.writeMessageEnd()
7245
    oprot.trans.flush()
7246
 
7247
  def process_deleteBanner(self, seqid, iprot, oprot):
7248
    args = deleteBanner_args()
7249
    args.read(iprot)
7250
    iprot.readMessageEnd()
7251
    result = deleteBanner_result()
9155 kshitij.so 7252
    result.success = self._handler.deleteBanner(args.bannerName, args.bannerType)
6850 kshitij.so 7253
    oprot.writeMessageBegin("deleteBanner", TMessageType.REPLY, seqid)
7254
    result.write(oprot)
7255
    oprot.writeMessageEnd()
7256
    oprot.trans.flush()
7257
 
7258
  def process_getBannerDetails(self, seqid, iprot, oprot):
7259
    args = getBannerDetails_args()
7260
    args.read(iprot)
7261
    iprot.readMessageEnd()
7262
    result = getBannerDetails_result()
9155 kshitij.so 7263
    result.success = self._handler.getBannerDetails(args.bannerName, args.bannerType)
6850 kshitij.so 7264
    oprot.writeMessageBegin("getBannerDetails", TMessageType.REPLY, seqid)
7265
    result.write(oprot)
7266
    oprot.writeMessageEnd()
7267
    oprot.trans.flush()
7268
 
7269
  def process_getActiveBanners(self, seqid, iprot, oprot):
7270
    args = getActiveBanners_args()
7271
    args.read(iprot)
7272
    iprot.readMessageEnd()
7273
    result = getActiveBanners_result()
7274
    result.success = self._handler.getActiveBanners()
7275
    oprot.writeMessageBegin("getActiveBanners", TMessageType.REPLY, seqid)
7276
    result.write(oprot)
7277
    oprot.writeMessageEnd()
7278
    oprot.trans.flush()
7279
 
6849 kshitij.so 7280
  def process_addBannerMap(self, seqid, iprot, oprot):
7281
    args = addBannerMap_args()
7282
    args.read(iprot)
7283
    iprot.readMessageEnd()
7284
    result = addBannerMap_result()
8579 kshitij.so 7285
    result.success = self._handler.addBannerMap(args.bannerMaps)
6849 kshitij.so 7286
    oprot.writeMessageBegin("addBannerMap", TMessageType.REPLY, seqid)
7287
    result.write(oprot)
7288
    oprot.writeMessageEnd()
7289
    oprot.trans.flush()
7290
 
8579 kshitij.so 7291
  def process_updateBannerMap(self, seqid, iprot, oprot):
7292
    args = updateBannerMap_args()
7293
    args.read(iprot)
7294
    iprot.readMessageEnd()
7295
    result = updateBannerMap_result()
7296
    result.success = self._handler.updateBannerMap(args.bannerMap)
7297
    oprot.writeMessageBegin("updateBannerMap", TMessageType.REPLY, seqid)
7298
    result.write(oprot)
7299
    oprot.writeMessageEnd()
7300
    oprot.trans.flush()
7301
 
6849 kshitij.so 7302
  def process_deleteBannerMap(self, seqid, iprot, oprot):
7303
    args = deleteBannerMap_args()
7304
    args.read(iprot)
7305
    iprot.readMessageEnd()
7306
    result = deleteBannerMap_result()
7307
    result.success = self._handler.deleteBannerMap(args.bannerName)
7308
    oprot.writeMessageBegin("deleteBannerMap", TMessageType.REPLY, seqid)
7309
    result.write(oprot)
7310
    oprot.writeMessageEnd()
7311
    oprot.trans.flush()
7312
 
7313
  def process_getBannerMapDetails(self, seqid, iprot, oprot):
7314
    args = getBannerMapDetails_args()
7315
    args.read(iprot)
7316
    iprot.readMessageEnd()
7317
    result = getBannerMapDetails_result()
9155 kshitij.so 7318
    result.success = self._handler.getBannerMapDetails(args.bannerName, args.bannerType)
6849 kshitij.so 7319
    oprot.writeMessageBegin("getBannerMapDetails", TMessageType.REPLY, seqid)
7320
    result.write(oprot)
7321
    oprot.writeMessageEnd()
7322
    oprot.trans.flush()
7323
 
8579 kshitij.so 7324
  def process_addBannerUri(self, seqid, iprot, oprot):
7325
    args = addBannerUri_args()
7326
    args.read(iprot)
7327
    iprot.readMessageEnd()
7328
    result = addBannerUri_result()
7329
    self._handler.addBannerUri(args.bannerUriMappings)
7330
    oprot.writeMessageBegin("addBannerUri", TMessageType.REPLY, seqid)
7331
    result.write(oprot)
7332
    oprot.writeMessageEnd()
7333
    oprot.trans.flush()
7334
 
7335
  def process_getUriMapping(self, seqid, iprot, oprot):
7336
    args = getUriMapping_args()
7337
    args.read(iprot)
7338
    iprot.readMessageEnd()
7339
    result = getUriMapping_result()
9155 kshitij.so 7340
    result.success = self._handler.getUriMapping(args.bannerName, args.bannerType)
8579 kshitij.so 7341
    oprot.writeMessageBegin("getUriMapping", TMessageType.REPLY, seqid)
7342
    result.write(oprot)
7343
    oprot.writeMessageEnd()
7344
    oprot.trans.flush()
7345
 
7346
  def process_addCampaign(self, seqid, iprot, oprot):
7347
    args = addCampaign_args()
7348
    args.read(iprot)
7349
    iprot.readMessageEnd()
7350
    result = addCampaign_result()
7351
    self._handler.addCampaign(args.campaign)
7352
    oprot.writeMessageBegin("addCampaign", TMessageType.REPLY, seqid)
7353
    result.write(oprot)
7354
    oprot.writeMessageEnd()
7355
    oprot.trans.flush()
7356
 
7357
  def process_getCampaigns(self, seqid, iprot, oprot):
7358
    args = getCampaigns_args()
7359
    args.read(iprot)
7360
    iprot.readMessageEnd()
7361
    result = getCampaigns_result()
7362
    result.success = self._handler.getCampaigns(args.campaignName)
7363
    oprot.writeMessageBegin("getCampaigns", TMessageType.REPLY, seqid)
7364
    result.write(oprot)
7365
    oprot.writeMessageEnd()
7366
    oprot.trans.flush()
7367
 
7368
  def process_deleteCampaign(self, seqid, iprot, oprot):
7369
    args = deleteCampaign_args()
7370
    args.read(iprot)
7371
    iprot.readMessageEnd()
7372
    result = deleteCampaign_result()
7373
    self._handler.deleteCampaign(args.campaignId)
7374
    oprot.writeMessageBegin("deleteCampaign", TMessageType.REPLY, seqid)
7375
    result.write(oprot)
7376
    oprot.writeMessageEnd()
7377
    oprot.trans.flush()
7378
 
7379
  def process_getAllCampaigns(self, seqid, iprot, oprot):
7380
    args = getAllCampaigns_args()
7381
    args.read(iprot)
7382
    iprot.readMessageEnd()
7383
    result = getAllCampaigns_result()
7384
    result.success = self._handler.getAllCampaigns()
7385
    oprot.writeMessageBegin("getAllCampaigns", TMessageType.REPLY, seqid)
7386
    result.write(oprot)
7387
    oprot.writeMessageEnd()
7388
    oprot.trans.flush()
7389
 
9155 kshitij.so 7390
  def process_getActiveBannersForMobileSite(self, seqid, iprot, oprot):
7391
    args = getActiveBannersForMobileSite_args()
7392
    args.read(iprot)
7393
    iprot.readMessageEnd()
7394
    result = getActiveBannersForMobileSite_result()
7395
    result.success = self._handler.getActiveBannersForMobileSite()
7396
    oprot.writeMessageBegin("getActiveBannersForMobileSite", TMessageType.REPLY, seqid)
7397
    result.write(oprot)
7398
    oprot.writeMessageEnd()
7399
    oprot.trans.flush()
7400
 
5944 mandeep.dh 7401
  def process_deleteSimilarItem(self, seqid, iprot, oprot):
7402
    args = deleteSimilarItem_args()
7403
    args.read(iprot)
7404
    iprot.readMessageEnd()
7405
    result = deleteSimilarItem_result()
7406
    try:
7407
      result.success = self._handler.deleteSimilarItem(args.itemId, args.catalogItemId)
7408
    except CatalogServiceException, cex:
7409
      result.cex = cex
7410
    oprot.writeMessageBegin("deleteSimilarItem", TMessageType.REPLY, seqid)
7411
    result.write(oprot)
7412
    oprot.writeMessageEnd()
7413
    oprot.trans.flush()
7414
 
7415
  def process_checkSimilarItem(self, seqid, iprot, oprot):
7416
    args = checkSimilarItem_args()
7417
    args.read(iprot)
7418
    iprot.readMessageEnd()
7419
    result = checkSimilarItem_result()
7420
    result.success = self._handler.checkSimilarItem(args.brand, args.modelNumber, args.modelName, args.color)
7421
    oprot.writeMessageBegin("checkSimilarItem", TMessageType.REPLY, seqid)
7422
    result.write(oprot)
7423
    oprot.writeMessageEnd()
7424
    oprot.trans.flush()
7425
 
7426
  def process_validateRiskyStatus(self, seqid, iprot, oprot):
7427
    args = validateRiskyStatus_args()
7428
    args.read(iprot)
7429
    iprot.readMessageEnd()
7430
    result = validateRiskyStatus_result()
7431
    self._handler.validateRiskyStatus(args.itemId)
7432
    oprot.writeMessageBegin("validateRiskyStatus", TMessageType.REPLY, seqid)
7433
    result.write(oprot)
7434
    oprot.writeMessageEnd()
7435
    oprot.trans.flush()
7436
 
7437
  def process_changeItemRiskyFlag(self, seqid, iprot, oprot):
7438
    args = changeItemRiskyFlag_args()
7439
    args.read(iprot)
7440
    iprot.readMessageEnd()
7441
    result = changeItemRiskyFlag_result()
7442
    self._handler.changeItemRiskyFlag(args.itemId, args.risky)
7443
    oprot.writeMessageBegin("changeItemRiskyFlag", TMessageType.REPLY, seqid)
7444
    result.write(oprot)
7445
    oprot.writeMessageEnd()
7446
    oprot.trans.flush()
7447
 
7448
  def process_getItemsByRiskyFlag(self, seqid, iprot, oprot):
7449
    args = getItemsByRiskyFlag_args()
7450
    args.read(iprot)
7451
    iprot.readMessageEnd()
7452
    result = getItemsByRiskyFlag_result()
7453
    result.success = self._handler.getItemsByRiskyFlag()
7454
    oprot.writeMessageBegin("getItemsByRiskyFlag", TMessageType.REPLY, seqid)
7455
    result.write(oprot)
7456
    oprot.writeMessageEnd()
7457
    oprot.trans.flush()
7458
 
7459
  def process_getItemsForMasterSheet(self, seqid, iprot, oprot):
7460
    args = getItemsForMasterSheet_args()
7461
    args.read(iprot)
7462
    iprot.readMessageEnd()
7463
    result = getItemsForMasterSheet_result()
7464
    result.success = self._handler.getItemsForMasterSheet(args.category, args.brand)
7465
    oprot.writeMessageBegin("getItemsForMasterSheet", TMessageType.REPLY, seqid)
7466
    result.write(oprot)
7467
    oprot.writeMessageEnd()
7468
    oprot.trans.flush()
7469
 
7470
  def process_getSimilarItemsCatalogIds(self, seqid, iprot, oprot):
7471
    args = getSimilarItemsCatalogIds_args()
7472
    args.read(iprot)
7473
    iprot.readMessageEnd()
7474
    result = getSimilarItemsCatalogIds_result()
7475
    result.success = self._handler.getSimilarItemsCatalogIds(args.beginIndex, args.totalItems, args.itemId)
7476
    oprot.writeMessageBegin("getSimilarItemsCatalogIds", TMessageType.REPLY, seqid)
7477
    result.write(oprot)
7478
    oprot.writeMessageEnd()
7479
    oprot.trans.flush()
7480
 
7481
  def process_addProductNotification(self, seqid, iprot, oprot):
7482
    args = addProductNotification_args()
7483
    args.read(iprot)
7484
    iprot.readMessageEnd()
7485
    result = addProductNotification_result()
7486
    result.success = self._handler.addProductNotification(args.itemId, args.email)
7487
    oprot.writeMessageBegin("addProductNotification", TMessageType.REPLY, seqid)
7488
    result.write(oprot)
7489
    oprot.writeMessageEnd()
7490
    oprot.trans.flush()
7491
 
7492
  def process_sendProductNotifications(self, seqid, iprot, oprot):
7493
    args = sendProductNotifications_args()
7494
    args.read(iprot)
7495
    iprot.readMessageEnd()
7496
    result = sendProductNotifications_result()
7497
    result.success = self._handler.sendProductNotifications()
7498
    oprot.writeMessageBegin("sendProductNotifications", TMessageType.REPLY, seqid)
7499
    result.write(oprot)
7500
    oprot.writeMessageEnd()
7501
    oprot.trans.flush()
7502
 
7503
  def process_getAllBrandsByCategory(self, seqid, iprot, oprot):
7504
    args = getAllBrandsByCategory_args()
7505
    args.read(iprot)
7506
    iprot.readMessageEnd()
7507
    result = getAllBrandsByCategory_result()
7508
    result.success = self._handler.getAllBrandsByCategory(args.categoryId)
7509
    oprot.writeMessageBegin("getAllBrandsByCategory", TMessageType.REPLY, seqid)
7510
    result.write(oprot)
7511
    oprot.writeMessageEnd()
7512
    oprot.trans.flush()
7513
 
7514
  def process_getAllBrands(self, seqid, iprot, oprot):
7515
    args = getAllBrands_args()
7516
    args.read(iprot)
7517
    iprot.readMessageEnd()
7518
    result = getAllBrands_result()
7519
    result.success = self._handler.getAllBrands()
7520
    oprot.writeMessageBegin("getAllBrands", TMessageType.REPLY, seqid)
7521
    result.write(oprot)
7522
    oprot.writeMessageEnd()
7523
    oprot.trans.flush()
7524
 
7525
  def process_getAllSources(self, seqid, iprot, oprot):
7526
    args = getAllSources_args()
7527
    args.read(iprot)
7528
    iprot.readMessageEnd()
7529
    result = getAllSources_result()
7530
    result.success = self._handler.getAllSources()
7531
    oprot.writeMessageBegin("getAllSources", TMessageType.REPLY, seqid)
7532
    result.write(oprot)
7533
    oprot.writeMessageEnd()
7534
    oprot.trans.flush()
7535
 
7536
  def process_getItemPricingBySource(self, seqid, iprot, oprot):
7537
    args = getItemPricingBySource_args()
7538
    args.read(iprot)
7539
    iprot.readMessageEnd()
7540
    result = getItemPricingBySource_result()
7541
    try:
7542
      result.success = self._handler.getItemPricingBySource(args.itemId, args.sourceId)
7543
    except CatalogServiceException, cex:
7544
      result.cex = cex
7545
    oprot.writeMessageBegin("getItemPricingBySource", TMessageType.REPLY, seqid)
7546
    result.write(oprot)
7547
    oprot.writeMessageEnd()
7548
    oprot.trans.flush()
7549
 
7550
  def process_addSourceItemPricing(self, seqid, iprot, oprot):
7551
    args = addSourceItemPricing_args()
7552
    args.read(iprot)
7553
    iprot.readMessageEnd()
7554
    result = addSourceItemPricing_result()
7555
    try:
7556
      self._handler.addSourceItemPricing(args.sourceItemPricing)
7557
    except CatalogServiceException, cex:
7558
      result.cex = cex
7559
    oprot.writeMessageBegin("addSourceItemPricing", TMessageType.REPLY, seqid)
7560
    result.write(oprot)
7561
    oprot.writeMessageEnd()
7562
    oprot.trans.flush()
7563
 
7564
  def process_getAllSourcePricing(self, seqid, iprot, oprot):
7565
    args = getAllSourcePricing_args()
7566
    args.read(iprot)
7567
    iprot.readMessageEnd()
7568
    result = getAllSourcePricing_result()
7569
    try:
7570
      result.success = self._handler.getAllSourcePricing(args.itemId)
7571
    except CatalogServiceException, cex:
7572
      result.cex = cex
7573
    oprot.writeMessageBegin("getAllSourcePricing", TMessageType.REPLY, seqid)
7574
    result.write(oprot)
7575
    oprot.writeMessageEnd()
7576
    oprot.trans.flush()
7577
 
7578
  def process_getItemForSource(self, seqid, iprot, oprot):
7579
    args = getItemForSource_args()
7580
    args.read(iprot)
7581
    iprot.readMessageEnd()
7582
    result = getItemForSource_result()
7583
    try:
7584
      result.success = self._handler.getItemForSource(args.item_id, args.sourceId)
7585
    except CatalogServiceException, cex:
7586
      result.cex = cex
7587
    oprot.writeMessageBegin("getItemForSource", TMessageType.REPLY, seqid)
7588
    result.write(oprot)
7589
    oprot.writeMessageEnd()
7590
    oprot.trans.flush()
7591
 
7592
  def process_searchItemsInRange(self, seqid, iprot, oprot):
7593
    args = searchItemsInRange_args()
7594
    args.read(iprot)
7595
    iprot.readMessageEnd()
7596
    result = searchItemsInRange_result()
7597
    result.success = self._handler.searchItemsInRange(args.searchTerms, args.offset, args.limit)
7598
    oprot.writeMessageBegin("searchItemsInRange", TMessageType.REPLY, seqid)
7599
    result.write(oprot)
7600
    oprot.writeMessageEnd()
7601
    oprot.trans.flush()
7602
 
7603
  def process_getSearchResultCount(self, seqid, iprot, oprot):
7604
    args = getSearchResultCount_args()
7605
    args.read(iprot)
7606
    iprot.readMessageEnd()
7607
    result = getSearchResultCount_result()
7608
    result.success = self._handler.getSearchResultCount(args.searchTerms)
7609
    oprot.writeMessageBegin("getSearchResultCount", TMessageType.REPLY, seqid)
7610
    result.write(oprot)
7611
    oprot.writeMessageEnd()
7612
    oprot.trans.flush()
7613
 
7614
  def process_getProductNotifications(self, seqid, iprot, oprot):
7615
    args = getProductNotifications_args()
7616
    args.read(iprot)
7617
    iprot.readMessageEnd()
7618
    result = getProductNotifications_result()
7619
    result.success = self._handler.getProductNotifications(args.startDateTime)
7620
    oprot.writeMessageBegin("getProductNotifications", TMessageType.REPLY, seqid)
7621
    result.write(oprot)
7622
    oprot.writeMessageEnd()
7623
    oprot.trans.flush()
7624
 
7625
  def process_getProductNotificationRequestCount(self, seqid, iprot, oprot):
7626
    args = getProductNotificationRequestCount_args()
7627
    args.read(iprot)
7628
    iprot.readMessageEnd()
7629
    result = getProductNotificationRequestCount_result()
7897 amar.kumar 7630
    result.success = self._handler.getProductNotificationRequestCount(args.startDateTime, args.categoryId)
5944 mandeep.dh 7631
    oprot.writeMessageBegin("getProductNotificationRequestCount", TMessageType.REPLY, seqid)
7632
    result.write(oprot)
7633
    oprot.writeMessageEnd()
7634
    oprot.trans.flush()
7635
 
7636
  def process_addAuthorizationLog(self, seqid, iprot, oprot):
7637
    args = addAuthorizationLog_args()
7638
    args.read(iprot)
7639
    iprot.readMessageEnd()
7640
    result = addAuthorizationLog_result()
7641
    try:
7642
      result.success = self._handler.addAuthorizationLog(args.itemId, args.username, args.reason)
7643
    except CatalogServiceException, cex:
7644
      result.cex = cex
7645
    oprot.writeMessageBegin("addAuthorizationLog", TMessageType.REPLY, seqid)
7646
    result.write(oprot)
7647
    oprot.writeMessageEnd()
7648
    oprot.trans.flush()
7649
 
7650
  def process_addupdateVoucherForItem(self, seqid, iprot, oprot):
7651
    args = addupdateVoucherForItem_args()
7652
    args.read(iprot)
7653
    iprot.readMessageEnd()
7654
    result = addupdateVoucherForItem_result()
7655
    try:
7656
      result.success = self._handler.addupdateVoucherForItem(args.catalog_item_id, args.voucherType, args.voucherAmount)
7657
    except CatalogServiceException, cex:
7658
      result.cex = cex
7659
    oprot.writeMessageBegin("addupdateVoucherForItem", TMessageType.REPLY, seqid)
7660
    result.write(oprot)
7661
    oprot.writeMessageEnd()
7662
    oprot.trans.flush()
7663
 
7664
  def process_deleteVoucherForItem(self, seqid, iprot, oprot):
7665
    args = deleteVoucherForItem_args()
7666
    args.read(iprot)
7667
    iprot.readMessageEnd()
7668
    result = deleteVoucherForItem_result()
7669
    try:
7670
      result.success = self._handler.deleteVoucherForItem(args.catalog_item_id, args.voucherType)
7671
    except CatalogServiceException, cex:
7672
      result.cex = cex
7673
    oprot.writeMessageBegin("deleteVoucherForItem", TMessageType.REPLY, seqid)
7674
    result.write(oprot)
7675
    oprot.writeMessageEnd()
7676
    oprot.trans.flush()
7677
 
7678
  def process_getVoucherAmount(self, seqid, iprot, oprot):
7679
    args = getVoucherAmount_args()
7680
    args.read(iprot)
7681
    iprot.readMessageEnd()
7682
    result = getVoucherAmount_result()
7683
    result.success = self._handler.getVoucherAmount(args.itemId, args.voucherType)
7684
    oprot.writeMessageBegin("getVoucherAmount", TMessageType.REPLY, seqid)
7685
    result.write(oprot)
7686
    oprot.writeMessageEnd()
7687
    oprot.trans.flush()
7688
 
7689
  def process_getAllItemVouchers(self, seqid, iprot, oprot):
7690
    args = getAllItemVouchers_args()
7691
    args.read(iprot)
7692
    iprot.readMessageEnd()
7693
    result = getAllItemVouchers_result()
7694
    result.success = self._handler.getAllItemVouchers(args.itemId)
7695
    oprot.writeMessageBegin("getAllItemVouchers", TMessageType.REPLY, seqid)
7696
    result.write(oprot)
7697
    oprot.writeMessageEnd()
7698
    oprot.trans.flush()
7699
 
7700
  def process_isValidCatalogItemId(self, seqid, iprot, oprot):
7701
    args = isValidCatalogItemId_args()
7702
    args.read(iprot)
7703
    iprot.readMessageEnd()
7704
    result = isValidCatalogItemId_result()
7705
    result.success = self._handler.isValidCatalogItemId(args.catalog_item_id)
7706
    oprot.writeMessageBegin("isValidCatalogItemId", TMessageType.REPLY, seqid)
7707
    result.write(oprot)
7708
    oprot.writeMessageEnd()
7709
    oprot.trans.flush()
7710
 
6039 amit.gupta 7711
  def process_getVatPercentageForItem(self, seqid, iprot, oprot):
7712
    args = getVatPercentageForItem_args()
7713
    args.read(iprot)
7714
    iprot.readMessageEnd()
7715
    result = getVatPercentageForItem_result()
7340 amit.gupta 7716
    try:
7717
      result.success = self._handler.getVatPercentageForItem(args.itemId, args.stateId, args.price)
7718
    except CatalogServiceException, cex:
7719
      result.cex = cex
6039 amit.gupta 7720
    oprot.writeMessageBegin("getVatPercentageForItem", TMessageType.REPLY, seqid)
7721
    result.write(oprot)
7722
    oprot.writeMessageEnd()
7723
    oprot.trans.flush()
5944 mandeep.dh 7724
 
6039 amit.gupta 7725
  def process_getVatAmountForItem(self, seqid, iprot, oprot):
7726
    args = getVatAmountForItem_args()
7727
    args.read(iprot)
7728
    iprot.readMessageEnd()
7729
    result = getVatAmountForItem_result()
7730
    result.success = self._handler.getVatAmountForItem(args.itemId, args.price)
7731
    oprot.writeMessageBegin("getVatAmountForItem", TMessageType.REPLY, seqid)
7732
    result.write(oprot)
7733
    oprot.writeMessageEnd()
7734
    oprot.trans.flush()
7735
 
6531 vikram.rag 7736
  def process_getAllIgnoredInventoryUpdateItemsList(self, seqid, iprot, oprot):
7737
    args = getAllIgnoredInventoryUpdateItemsList_args()
7738
    args.read(iprot)
7739
    iprot.readMessageEnd()
7740
    result = getAllIgnoredInventoryUpdateItemsList_result()
7741
    result.success = self._handler.getAllIgnoredInventoryUpdateItemsList(args.offset, args.limit)
7742
    oprot.writeMessageBegin("getAllIgnoredInventoryUpdateItemsList", TMessageType.REPLY, seqid)
7743
    result.write(oprot)
7744
    oprot.writeMessageEnd()
7745
    oprot.trans.flush()
6039 amit.gupta 7746
 
6821 amar.kumar 7747
  def process_getAllAliveItems(self, seqid, iprot, oprot):
7748
    args = getAllAliveItems_args()
7749
    args.read(iprot)
7750
    iprot.readMessageEnd()
7751
    result = getAllAliveItems_result()
7752
    result.success = self._handler.getAllAliveItems()
7753
    oprot.writeMessageBegin("getAllAliveItems", TMessageType.REPLY, seqid)
7754
    result.write(oprot)
7755
    oprot.writeMessageEnd()
7756
    oprot.trans.flush()
7757
 
6805 anupam.sin 7758
  def process_getInsuranceAmount(self, seqid, iprot, oprot):
7759
    args = getInsuranceAmount_args()
7760
    args.read(iprot)
7761
    iprot.readMessageEnd()
7762
    result = getInsuranceAmount_result()
6921 anupam.sin 7763
    result.success = self._handler.getInsuranceAmount(args.itemId, args.price, args.insurerId, args.quantity)
6805 anupam.sin 7764
    oprot.writeMessageBegin("getInsuranceAmount", TMessageType.REPLY, seqid)
7765
    result.write(oprot)
7766
    oprot.writeMessageEnd()
7767
    oprot.trans.flush()
6531 vikram.rag 7768
 
6805 anupam.sin 7769
  def process_getInsurer(self, seqid, iprot, oprot):
7770
    args = getInsurer_args()
7771
    args.read(iprot)
7772
    iprot.readMessageEnd()
7773
    result = getInsurer_result()
7774
    result.success = self._handler.getInsurer(args.insurerId)
7775
    oprot.writeMessageBegin("getInsurer", TMessageType.REPLY, seqid)
7776
    result.write(oprot)
7777
    oprot.writeMessageEnd()
7778
    oprot.trans.flush()
7779
 
6838 vikram.rag 7780
  def process_getAllInsurers(self, seqid, iprot, oprot):
7781
    args = getAllInsurers_args()
7782
    args.read(iprot)
7783
    iprot.readMessageEnd()
7784
    result = getAllInsurers_result()
7785
    result.success = self._handler.getAllInsurers()
7786
    oprot.writeMessageBegin("getAllInsurers", TMessageType.REPLY, seqid)
7787
    result.write(oprot)
7788
    oprot.writeMessageEnd()
7789
    oprot.trans.flush()
6805 anupam.sin 7790
 
6962 rajveer 7791
  def process_updateInsuranceDeclaredAmount(self, seqid, iprot, oprot):
7792
    args = updateInsuranceDeclaredAmount_args()
7793
    args.read(iprot)
7794
    iprot.readMessageEnd()
7795
    result = updateInsuranceDeclaredAmount_result()
7796
    self._handler.updateInsuranceDeclaredAmount(args.insurerId, args.amount)
7797
    oprot.writeMessageBegin("updateInsuranceDeclaredAmount", TMessageType.REPLY, seqid)
7798
    result.write(oprot)
7799
    oprot.writeMessageEnd()
7800
    oprot.trans.flush()
6838 vikram.rag 7801
 
7190 amar.kumar 7802
  def process_getFreebieForItem(self, seqid, iprot, oprot):
7803
    args = getFreebieForItem_args()
7804
    args.read(iprot)
7805
    iprot.readMessageEnd()
7806
    result = getFreebieForItem_result()
7807
    result.success = self._handler.getFreebieForItem(args.itemId)
7808
    oprot.writeMessageBegin("getFreebieForItem", TMessageType.REPLY, seqid)
7809
    result.write(oprot)
7810
    oprot.writeMessageEnd()
7811
    oprot.trans.flush()
6962 rajveer 7812
 
7190 amar.kumar 7813
  def process_addOrUpdateFreebieForItem(self, seqid, iprot, oprot):
7814
    args = addOrUpdateFreebieForItem_args()
7815
    args.read(iprot)
7816
    iprot.readMessageEnd()
7817
    result = addOrUpdateFreebieForItem_result()
7818
    self._handler.addOrUpdateFreebieForItem(args.freebieItem)
7819
    oprot.writeMessageBegin("addOrUpdateFreebieForItem", TMessageType.REPLY, seqid)
7820
    result.write(oprot)
7821
    oprot.writeMessageEnd()
7822
    oprot.trans.flush()
7823
 
7272 amit.gupta 7824
  def process_addOrUpdateBrandInfo(self, seqid, iprot, oprot):
7825
    args = addOrUpdateBrandInfo_args()
7826
    args.read(iprot)
7827
    iprot.readMessageEnd()
7828
    result = addOrUpdateBrandInfo_result()
7829
    self._handler.addOrUpdateBrandInfo(args.brandInfo)
7830
    oprot.writeMessageBegin("addOrUpdateBrandInfo", TMessageType.REPLY, seqid)
7831
    result.write(oprot)
7832
    oprot.writeMessageEnd()
7833
    oprot.trans.flush()
7834
 
7835
  def process_getBrandInfo(self, seqid, iprot, oprot):
7836
    args = getBrandInfo_args()
7837
    args.read(iprot)
7838
    iprot.readMessageEnd()
7839
    result = getBrandInfo_result()
7840
    result.success = self._handler.getBrandInfo()
7841
    oprot.writeMessageBegin("getBrandInfo", TMessageType.REPLY, seqid)
7842
    result.write(oprot)
7843
    oprot.writeMessageEnd()
7844
    oprot.trans.flush()
7845
 
7256 rajveer 7846
  def process_getStorePricing(self, seqid, iprot, oprot):
7847
    args = getStorePricing_args()
7848
    args.read(iprot)
7849
    iprot.readMessageEnd()
7850
    result = getStorePricing_result()
7851
    result.success = self._handler.getStorePricing(args.itemId)
7852
    oprot.writeMessageBegin("getStorePricing", TMessageType.REPLY, seqid)
7853
    result.write(oprot)
7854
    oprot.writeMessageEnd()
7855
    oprot.trans.flush()
7190 amar.kumar 7856
 
7306 rajveer 7857
  def process_getStorePricings(self, seqid, iprot, oprot):
7858
    args = getStorePricings_args()
7859
    args.read(iprot)
7860
    iprot.readMessageEnd()
7861
    result = getStorePricings_result()
7862
    result.success = self._handler.getStorePricings(args.itemIds)
7863
    oprot.writeMessageBegin("getStorePricings", TMessageType.REPLY, seqid)
7864
    result.write(oprot)
7865
    oprot.writeMessageEnd()
7866
    oprot.trans.flush()
7867
 
7265 rajveer 7868
  def process_updateStorePricing(self, seqid, iprot, oprot):
7869
    args = updateStorePricing_args()
7870
    args.read(iprot)
7871
    iprot.readMessageEnd()
7872
    result = updateStorePricing_result()
7382 rajveer 7873
    self._handler.updateStorePricing(args.sp, args.allColors)
7265 rajveer 7874
    oprot.writeMessageBegin("updateStorePricing", TMessageType.REPLY, seqid)
7875
    result.write(oprot)
7876
    oprot.writeMessageEnd()
7877
    oprot.trans.flush()
7256 rajveer 7878
 
7281 kshitij.so 7879
  def process_getAllAmazonListedItems(self, seqid, iprot, oprot):
7880
    args = getAllAmazonListedItems_args()
7881
    args.read(iprot)
7882
    iprot.readMessageEnd()
7883
    result = getAllAmazonListedItems_result()
7884
    result.success = self._handler.getAllAmazonListedItems()
7885
    oprot.writeMessageBegin("getAllAmazonListedItems", TMessageType.REPLY, seqid)
7886
    result.write(oprot)
7887
    oprot.writeMessageEnd()
7888
    oprot.trans.flush()
7265 rajveer 7889
 
8619 kshitij.so 7890
  def process_searchAmazonItems(self, seqid, iprot, oprot):
7891
    args = searchAmazonItems_args()
7892
    args.read(iprot)
7893
    iprot.readMessageEnd()
7894
    result = searchAmazonItems_result()
7895
    result.success = self._handler.searchAmazonItems(args.searchTerm, args.offset, args.limit)
7896
    oprot.writeMessageBegin("searchAmazonItems", TMessageType.REPLY, seqid)
7897
    result.write(oprot)
7898
    oprot.writeMessageEnd()
7899
    oprot.trans.flush()
7900
 
7901
  def process_getAmazonSearchResultCount(self, seqid, iprot, oprot):
7902
    args = getAmazonSearchResultCount_args()
7903
    args.read(iprot)
7904
    iprot.readMessageEnd()
7905
    result = getAmazonSearchResultCount_result()
7906
    result.success = self._handler.getAmazonSearchResultCount(args.searchTerm)
7907
    oprot.writeMessageBegin("getAmazonSearchResultCount", TMessageType.REPLY, seqid)
7908
    result.write(oprot)
7909
    oprot.writeMessageEnd()
7910
    oprot.trans.flush()
7911
 
7912
  def process_getCountForAmazonlistedItems(self, seqid, iprot, oprot):
7913
    args = getCountForAmazonlistedItems_args()
7914
    args.read(iprot)
7915
    iprot.readMessageEnd()
7916
    result = getCountForAmazonlistedItems_result()
7917
    result.success = self._handler.getCountForAmazonlistedItems()
7918
    oprot.writeMessageBegin("getCountForAmazonlistedItems", TMessageType.REPLY, seqid)
7919
    result.write(oprot)
7920
    oprot.writeMessageEnd()
7921
    oprot.trans.flush()
7922
 
7281 kshitij.so 7923
  def process_getAmazonItemDetails(self, seqid, iprot, oprot):
7924
    args = getAmazonItemDetails_args()
7925
    args.read(iprot)
7926
    iprot.readMessageEnd()
7927
    result = getAmazonItemDetails_result()
7928
    result.success = self._handler.getAmazonItemDetails(args.itemId)
7929
    oprot.writeMessageBegin("getAmazonItemDetails", TMessageType.REPLY, seqid)
7930
    result.write(oprot)
7931
    oprot.writeMessageEnd()
7932
    oprot.trans.flush()
7933
 
7934
  def process_updateAmazonItemDetails(self, seqid, iprot, oprot):
7935
    args = updateAmazonItemDetails_args()
7936
    args.read(iprot)
7937
    iprot.readMessageEnd()
7938
    result = updateAmazonItemDetails_result()
8168 kshitij.so 7939
    self._handler.updateAmazonItemDetails(args.amazonlisted)
7281 kshitij.so 7940
    oprot.writeMessageBegin("updateAmazonItemDetails", TMessageType.REPLY, seqid)
7941
    result.write(oprot)
7942
    oprot.writeMessageEnd()
7943
    oprot.trans.flush()
7944
 
7945
  def process_addAmazonItem(self, seqid, iprot, oprot):
7946
    args = addAmazonItem_args()
7947
    args.read(iprot)
7948
    iprot.readMessageEnd()
7949
    result = addAmazonItem_result()
7950
    self._handler.addAmazonItem(args.amazonlisted)
7951
    oprot.writeMessageBegin("addAmazonItem", TMessageType.REPLY, seqid)
7952
    result.write(oprot)
7953
    oprot.writeMessageEnd()
7954
    oprot.trans.flush()
7955
 
7291 vikram.rag 7956
  def process_getAsinItems(self, seqid, iprot, oprot):
7957
    args = getAsinItems_args()
7958
    args.read(iprot)
7959
    iprot.readMessageEnd()
7960
    result = getAsinItems_result()
7961
    result.success = self._handler.getAsinItems()
7962
    oprot.writeMessageBegin("getAsinItems", TMessageType.REPLY, seqid)
7963
    result.write(oprot)
7964
    oprot.writeMessageEnd()
7965
    oprot.trans.flush()
7281 kshitij.so 7966
 
7291 vikram.rag 7967
  def process_getAllFbaListedItems(self, seqid, iprot, oprot):
7968
    args = getAllFbaListedItems_args()
7969
    args.read(iprot)
7970
    iprot.readMessageEnd()
7971
    result = getAllFbaListedItems_result()
7972
    result.success = self._handler.getAllFbaListedItems()
7973
    oprot.writeMessageBegin("getAllFbaListedItems", TMessageType.REPLY, seqid)
7974
    result.write(oprot)
7975
    oprot.writeMessageEnd()
7976
    oprot.trans.flush()
7977
 
7978
  def process_getAllNonFbaListedItems(self, seqid, iprot, oprot):
7979
    args = getAllNonFbaListedItems_args()
7980
    args.read(iprot)
7981
    iprot.readMessageEnd()
7982
    result = getAllNonFbaListedItems_result()
7983
    result.success = self._handler.getAllNonFbaListedItems()
7984
    oprot.writeMessageBegin("getAllNonFbaListedItems", TMessageType.REPLY, seqid)
7985
    result.write(oprot)
7986
    oprot.writeMessageEnd()
7987
    oprot.trans.flush()
7988
 
7460 kshitij.so 7989
  def process_updateItemInventory(self, seqid, iprot, oprot):
7990
    args = updateItemInventory_args()
7991
    args.read(iprot)
7992
    iprot.readMessageEnd()
7993
    result = updateItemInventory_result()
7994
    result.success = self._handler.updateItemInventory(args.itemId, args.holdInventory, args.defaultInventory)
7995
    oprot.writeMessageBegin("updateItemInventory", TMessageType.REPLY, seqid)
7996
    result.write(oprot)
7997
    oprot.writeMessageEnd()
7998
    oprot.trans.flush()
7291 vikram.rag 7999
 
7770 kshitij.so 8000
  def process_updateTimestampForAmazonFeeds(self, seqid, iprot, oprot):
8001
    args = updateTimestampForAmazonFeeds_args()
8002
    args.read(iprot)
8003
    iprot.readMessageEnd()
8004
    result = updateTimestampForAmazonFeeds_result()
8005
    result.success = self._handler.updateTimestampForAmazonFeeds(args.type, args.sku, args.timestamp)
8006
    oprot.writeMessageBegin("updateTimestampForAmazonFeeds", TMessageType.REPLY, seqid)
8007
    result.write(oprot)
8008
    oprot.writeMessageEnd()
8009
    oprot.trans.flush()
7460 kshitij.so 8010
 
7897 amar.kumar 8011
  def process_getAllParentCategories(self, seqid, iprot, oprot):
8012
    args = getAllParentCategories_args()
8013
    args.read(iprot)
8014
    iprot.readMessageEnd()
8015
    result = getAllParentCategories_result()
8016
    result.success = self._handler.getAllParentCategories()
8017
    oprot.writeMessageBegin("getAllParentCategories", TMessageType.REPLY, seqid)
8018
    result.write(oprot)
8019
    oprot.writeMessageEnd()
8020
    oprot.trans.flush()
7770 kshitij.so 8021
 
7977 kshitij.so 8022
  def process_addPageViewEvent(self, seqid, iprot, oprot):
8023
    args = addPageViewEvent_args()
8024
    args.read(iprot)
8025
    iprot.readMessageEnd()
8026
    result = addPageViewEvent_result()
8027
    self._handler.addPageViewEvent(args.pageViewEvents)
8028
    oprot.writeMessageBegin("addPageViewEvent", TMessageType.REPLY, seqid)
8029
    result.write(oprot)
8030
    oprot.writeMessageEnd()
8031
    oprot.trans.flush()
7897 amar.kumar 8032
 
7977 kshitij.so 8033
  def process_addCartEvent(self, seqid, iprot, oprot):
8034
    args = addCartEvent_args()
8035
    args.read(iprot)
8036
    iprot.readMessageEnd()
8037
    result = addCartEvent_result()
8038
    self._handler.addCartEvent(args.cartEvents)
8039
    oprot.writeMessageBegin("addCartEvent", TMessageType.REPLY, seqid)
8040
    result.write(oprot)
8041
    oprot.writeMessageEnd()
8042
    oprot.trans.flush()
8043
 
8182 amar.kumar 8044
  def process_addEbayItem(self, seqid, iprot, oprot):
8045
    args = addEbayItem_args()
8046
    args.read(iprot)
8047
    iprot.readMessageEnd()
8048
    result = addEbayItem_result()
8049
    self._handler.addEbayItem(args.ebayItem)
8050
    oprot.writeMessageBegin("addEbayItem", TMessageType.REPLY, seqid)
8051
    result.write(oprot)
8052
    oprot.writeMessageEnd()
8053
    oprot.trans.flush()
8054
 
8055
  def process_getEbayItem(self, seqid, iprot, oprot):
8056
    args = getEbayItem_args()
8057
    args.read(iprot)
8058
    iprot.readMessageEnd()
8059
    result = getEbayItem_result()
8060
    result.success = self._handler.getEbayItem(args.listingId)
8061
    oprot.writeMessageBegin("getEbayItem", TMessageType.REPLY, seqid)
8062
    result.write(oprot)
8063
    oprot.writeMessageEnd()
8064
    oprot.trans.flush()
8065
 
8066
  def process_updateEbayItem(self, seqid, iprot, oprot):
8067
    args = updateEbayItem_args()
8068
    args.read(iprot)
8069
    iprot.readMessageEnd()
8070
    result = updateEbayItem_result()
8071
    self._handler.updateEbayItem(args.ebayItem)
8072
    oprot.writeMessageBegin("updateEbayItem", TMessageType.REPLY, seqid)
8073
    result.write(oprot)
8074
    oprot.writeMessageEnd()
8075
    oprot.trans.flush()
8076
 
8139 kshitij.so 8077
  def process_getAmazonListedItems(self, seqid, iprot, oprot):
8078
    args = getAmazonListedItems_args()
8079
    args.read(iprot)
8080
    iprot.readMessageEnd()
8081
    result = getAmazonListedItems_result()
8082
    result.success = self._handler.getAmazonListedItems(args.offset, args.limit)
8083
    oprot.writeMessageBegin("getAmazonListedItems", TMessageType.REPLY, seqid)
8084
    result.write(oprot)
8085
    oprot.writeMessageEnd()
8086
    oprot.trans.flush()
7977 kshitij.so 8087
 
8168 kshitij.so 8088
  def process_updateAmazonAttributesInBulk(self, seqid, iprot, oprot):
8089
    args = updateAmazonAttributesInBulk_args()
8090
    args.read(iprot)
8091
    iprot.readMessageEnd()
8092
    result = updateAmazonAttributesInBulk_result()
8093
    result.success = self._handler.updateAmazonAttributesInBulk(args.amazonlisted)
8094
    oprot.writeMessageBegin("updateAmazonAttributesInBulk", TMessageType.REPLY, seqid)
8095
    result.write(oprot)
8096
    oprot.writeMessageEnd()
8097
    oprot.trans.flush()
8139 kshitij.so 8098
 
8379 vikram.rag 8099
  def process_getAllItemstoListOnFba(self, seqid, iprot, oprot):
8100
    args = getAllItemstoListOnFba_args()
8101
    args.read(iprot)
8102
    iprot.readMessageEnd()
8103
    result = getAllItemstoListOnFba_result()
8104
    result.success = self._handler.getAllItemstoListOnFba()
8105
    oprot.writeMessageBegin("getAllItemstoListOnFba", TMessageType.REPLY, seqid)
8106
    result.write(oprot)
8107
    oprot.writeMessageEnd()
8108
    oprot.trans.flush()
8168 kshitij.so 8109
 
8379 vikram.rag 8110
  def process_getAllItemstoListOnNonFba(self, seqid, iprot, oprot):
8111
    args = getAllItemstoListOnNonFba_args()
8112
    args.read(iprot)
8113
    iprot.readMessageEnd()
8114
    result = getAllItemstoListOnNonFba_result()
8115
    result.success = self._handler.getAllItemstoListOnNonFba()
8116
    oprot.writeMessageBegin("getAllItemstoListOnNonFba", TMessageType.REPLY, seqid)
8117
    result.write(oprot)
8118
    oprot.writeMessageEnd()
8119
    oprot.trans.flush()
8120
 
8619 kshitij.so 8121
  def process_updateAsin(self, seqid, iprot, oprot):
8122
    args = updateAsin_args()
8123
    args.read(iprot)
8124
    iprot.readMessageEnd()
8125
    result = updateAsin_result()
8126
    self._handler.updateAsin(args.item)
8127
    oprot.writeMessageBegin("updateAsin", TMessageType.REPLY, seqid)
8128
    result.write(oprot)
8129
    oprot.writeMessageEnd()
8130
    oprot.trans.flush()
8616 vikram.rag 8131
 
8739 vikram.rag 8132
  def process_addOrUpdateSnapdealItem(self, seqid, iprot, oprot):
8133
    args = addOrUpdateSnapdealItem_args()
8134
    args.read(iprot)
8135
    iprot.readMessageEnd()
8136
    result = addOrUpdateSnapdealItem_result()
8137
    result.success = self._handler.addOrUpdateSnapdealItem(args.snapdealitem)
8138
    oprot.writeMessageBegin("addOrUpdateSnapdealItem", TMessageType.REPLY, seqid)
8139
    result.write(oprot)
8140
    oprot.writeMessageEnd()
8141
    oprot.trans.flush()
8619 kshitij.so 8142
 
8739 vikram.rag 8143
  def process_getSnapdealItem(self, seqid, iprot, oprot):
8144
    args = getSnapdealItem_args()
8145
    args.read(iprot)
8146
    iprot.readMessageEnd()
8147
    result = getSnapdealItem_result()
8148
    result.success = self._handler.getSnapdealItem(args.item_id)
8149
    oprot.writeMessageBegin("getSnapdealItem", TMessageType.REPLY, seqid)
8150
    result.write(oprot)
8151
    oprot.writeMessageEnd()
8152
    oprot.trans.flush()
8153
 
9242 kshitij.so 8154
  def process_getSnapdealItemDetails(self, seqid, iprot, oprot):
8155
    args = getSnapdealItemDetails_args()
8156
    args.read(iprot)
8157
    iprot.readMessageEnd()
8158
    result = getSnapdealItemDetails_result()
8159
    result.success = self._handler.getSnapdealItemDetails(args.item_id)
8160
    oprot.writeMessageBegin("getSnapdealItemDetails", TMessageType.REPLY, seqid)
8161
    result.write(oprot)
8162
    oprot.writeMessageEnd()
8163
    oprot.trans.flush()
8164
 
8739 vikram.rag 8165
  def process_getAllSnapdealItems(self, seqid, iprot, oprot):
8166
    args = getAllSnapdealItems_args()
8167
    args.read(iprot)
8168
    iprot.readMessageEnd()
8169
    result = getAllSnapdealItems_result()
8170
    result.success = self._handler.getAllSnapdealItems()
8171
    oprot.writeMessageBegin("getAllSnapdealItems", TMessageType.REPLY, seqid)
8172
    result.write(oprot)
8173
    oprot.writeMessageEnd()
8174
    oprot.trans.flush()
8175
 
9242 kshitij.so 8176
  def process_getSnapdealItems(self, seqid, iprot, oprot):
8177
    args = getSnapdealItems_args()
8178
    args.read(iprot)
8179
    iprot.readMessageEnd()
8180
    result = getSnapdealItems_result()
8181
    result.success = self._handler.getSnapdealItems(args.offset, args.limit)
8182
    oprot.writeMessageBegin("getSnapdealItems", TMessageType.REPLY, seqid)
8183
    result.write(oprot)
8184
    oprot.writeMessageEnd()
8185
    oprot.trans.flush()
8739 vikram.rag 8186
 
9242 kshitij.so 8187
  def process_searchSnapdealItems(self, seqid, iprot, oprot):
8188
    args = searchSnapdealItems_args()
8189
    args.read(iprot)
8190
    iprot.readMessageEnd()
8191
    result = searchSnapdealItems_result()
8192
    result.success = self._handler.searchSnapdealItems(args.searchTerm, args.offset, args.limit)
8193
    oprot.writeMessageBegin("searchSnapdealItems", TMessageType.REPLY, seqid)
8194
    result.write(oprot)
8195
    oprot.writeMessageEnd()
8196
    oprot.trans.flush()
8197
 
8198
  def process_getCountForSnapdealItems(self, seqid, iprot, oprot):
8199
    args = getCountForSnapdealItems_args()
8200
    args.read(iprot)
8201
    iprot.readMessageEnd()
8202
    result = getCountForSnapdealItems_result()
8203
    result.success = self._handler.getCountForSnapdealItems()
8204
    oprot.writeMessageBegin("getCountForSnapdealItems", TMessageType.REPLY, seqid)
8205
    result.write(oprot)
8206
    oprot.writeMessageEnd()
8207
    oprot.trans.flush()
8208
 
8209
  def process_getSnapdealSearchResultCount(self, seqid, iprot, oprot):
8210
    args = getSnapdealSearchResultCount_args()
8211
    args.read(iprot)
8212
    iprot.readMessageEnd()
8213
    result = getSnapdealSearchResultCount_result()
8214
    result.success = self._handler.getSnapdealSearchResultCount(args.searchTerm)
8215
    oprot.writeMessageBegin("getSnapdealSearchResultCount", TMessageType.REPLY, seqid)
8216
    result.write(oprot)
8217
    oprot.writeMessageEnd()
8218
    oprot.trans.flush()
8219
 
9299 kshitij.so 8220
  def process_getPrefferedInsurerForItem(self, seqid, iprot, oprot):
8221
    args = getPrefferedInsurerForItem_args()
8222
    args.read(iprot)
8223
    iprot.readMessageEnd()
8224
    result = getPrefferedInsurerForItem_result()
8225
    result.success = self._handler.getPrefferedInsurerForItem(args.itemId, args.insurerType)
8226
    oprot.writeMessageBegin("getPrefferedInsurerForItem", TMessageType.REPLY, seqid)
8227
    result.write(oprot)
8228
    oprot.writeMessageEnd()
8229
    oprot.trans.flush()
9242 kshitij.so 8230
 
9456 vikram.rag 8231
  def process_getSnapdealItembySkuAtSnapdeal(self, seqid, iprot, oprot):
8232
    args = getSnapdealItembySkuAtSnapdeal_args()
8233
    args.read(iprot)
8234
    iprot.readMessageEnd()
8235
    result = getSnapdealItembySkuAtSnapdeal_result()
8236
    result.success = self._handler.getSnapdealItembySkuAtSnapdeal(args.skuAtSnapdeal)
8237
    oprot.writeMessageBegin("getSnapdealItembySkuAtSnapdeal", TMessageType.REPLY, seqid)
8238
    result.write(oprot)
8239
    oprot.writeMessageEnd()
8240
    oprot.trans.flush()
9299 kshitij.so 8241
 
9621 manish.sha 8242
  def process_getProductFeedSubmit(self, seqid, iprot, oprot):
8243
    args = getProductFeedSubmit_args()
8244
    args.read(iprot)
8245
    iprot.readMessageEnd()
8246
    result = getProductFeedSubmit_result()
8247
    try:
8248
      result.success = self._handler.getProductFeedSubmit(args.catalogItemId)
8249
    except CatalogServiceException, cex:
8250
      result.cex = cex
8251
    oprot.writeMessageBegin("getProductFeedSubmit", TMessageType.REPLY, seqid)
8252
    result.write(oprot)
8253
    oprot.writeMessageEnd()
8254
    oprot.trans.flush()
9456 vikram.rag 8255
 
9621 manish.sha 8256
  def process_addProductFeedSubmit(self, seqid, iprot, oprot):
8257
    args = addProductFeedSubmit_args()
8258
    args.read(iprot)
8259
    iprot.readMessageEnd()
8260
    result = addProductFeedSubmit_result()
8261
    try:
8262
      result.success = self._handler.addProductFeedSubmit(args.productFeedSubmit)
8263
    except CatalogServiceException, cex:
8264
      result.cex = cex
8265
    oprot.writeMessageBegin("addProductFeedSubmit", TMessageType.REPLY, seqid)
8266
    result.write(oprot)
8267
    oprot.writeMessageEnd()
8268
    oprot.trans.flush()
8269
 
8270
  def process_updateProductFeedSubmit(self, seqid, iprot, oprot):
8271
    args = updateProductFeedSubmit_args()
8272
    args.read(iprot)
8273
    iprot.readMessageEnd()
8274
    result = updateProductFeedSubmit_result()
8275
    try:
8276
      result.success = self._handler.updateProductFeedSubmit(args.productFeedSubmit)
8277
    except CatalogServiceException, cex:
8278
      result.cex = cex
8279
    oprot.writeMessageBegin("updateProductFeedSubmit", TMessageType.REPLY, seqid)
8280
    result.write(oprot)
8281
    oprot.writeMessageEnd()
8282
    oprot.trans.flush()
8283
 
8284
  def process_deleteProductFeedSubmit(self, seqid, iprot, oprot):
8285
    args = deleteProductFeedSubmit_args()
8286
    args.read(iprot)
8287
    iprot.readMessageEnd()
8288
    result = deleteProductFeedSubmit_result()
8289
    try:
8290
      result.success = self._handler.deleteProductFeedSubmit(args.catalogItemId)
8291
    except CatalogServiceException, cex:
8292
      result.cex = cex
8293
    oprot.writeMessageBegin("deleteProductFeedSubmit", TMessageType.REPLY, seqid)
8294
    result.write(oprot)
8295
    oprot.writeMessageEnd()
8296
    oprot.trans.flush()
8297
 
8298
  def process_getAllProductFeedSubmit(self, seqid, iprot, oprot):
8299
    args = getAllProductFeedSubmit_args()
8300
    args.read(iprot)
8301
    iprot.readMessageEnd()
8302
    result = getAllProductFeedSubmit_result()
8303
    try:
8304
      result.success = self._handler.getAllProductFeedSubmit()
8305
    except CatalogServiceException, cex:
8306
      result.cex = cex
8307
    oprot.writeMessageBegin("getAllProductFeedSubmit", TMessageType.REPLY, seqid)
8308
    result.write(oprot)
8309
    oprot.writeMessageEnd()
8310
    oprot.trans.flush()
8311
 
9724 kshitij.so 8312
  def process_getMarketplacedetailsForItem(self, seqid, iprot, oprot):
8313
    args = getMarketplacedetailsForItem_args()
8314
    args.read(iprot)
8315
    iprot.readMessageEnd()
8316
    result = getMarketplacedetailsForItem_result()
8317
    result.success = self._handler.getMarketplacedetailsForItem(args.itemId, args.sourceId)
8318
    oprot.writeMessageBegin("getMarketplacedetailsForItem", TMessageType.REPLY, seqid)
8319
    result.write(oprot)
8320
    oprot.writeMessageEnd()
8321
    oprot.trans.flush()
9621 manish.sha 8322
 
9724 kshitij.so 8323
  def process_updateMarketplaceAttributesForItem(self, seqid, iprot, oprot):
8324
    args = updateMarketplaceAttributesForItem_args()
8325
    args.read(iprot)
8326
    iprot.readMessageEnd()
8327
    result = updateMarketplaceAttributesForItem_result()
8328
    result.success = self._handler.updateMarketplaceAttributesForItem(args.marketPlaceItem)
8329
    oprot.writeMessageBegin("updateMarketplaceAttributesForItem", TMessageType.REPLY, seqid)
8330
    result.write(oprot)
8331
    oprot.writeMessageEnd()
8332
    oprot.trans.flush()
8333
 
9779 kshitij.so 8334
  def process_getCostingForMarketplace(self, seqid, iprot, oprot):
8335
    args = getCostingForMarketplace_args()
8336
    args.read(iprot)
8337
    iprot.readMessageEnd()
8338
    result = getCostingForMarketplace_result()
8339
    result.success = self._handler.getCostingForMarketplace(args.source, args.item_id)
8340
    oprot.writeMessageBegin("getCostingForMarketplace", TMessageType.REPLY, seqid)
8341
    result.write(oprot)
8342
    oprot.writeMessageEnd()
8343
    oprot.trans.flush()
8344
 
9776 vikram.rag 8345
  def process_getMarketPlaceItemsForPriceUpdate(self, seqid, iprot, oprot):
8346
    args = getMarketPlaceItemsForPriceUpdate_args()
8347
    args.read(iprot)
8348
    iprot.readMessageEnd()
8349
    result = getMarketPlaceItemsForPriceUpdate_result()
8350
    result.success = self._handler.getMarketPlaceItemsForPriceUpdate(args.source)
8351
    oprot.writeMessageBegin("getMarketPlaceItemsForPriceUpdate", TMessageType.REPLY, seqid)
8352
    result.write(oprot)
8353
    oprot.writeMessageEnd()
8354
    oprot.trans.flush()
9724 kshitij.so 8355
 
9776 vikram.rag 8356
  def process_updateMarketPlacePriceUpdateStatus(self, seqid, iprot, oprot):
8357
    args = updateMarketPlacePriceUpdateStatus_args()
8358
    args.read(iprot)
8359
    iprot.readMessageEnd()
8360
    result = updateMarketPlacePriceUpdateStatus_result()
9816 kshitij.so 8361
    self._handler.updateMarketPlacePriceUpdateStatus(args.skulist, args.timestamp, args.source)
9776 vikram.rag 8362
    oprot.writeMessageBegin("updateMarketPlacePriceUpdateStatus", TMessageType.REPLY, seqid)
8363
    result.write(oprot)
8364
    oprot.writeMessageEnd()
8365
    oprot.trans.flush()
8366
 
9861 rajveer 8367
  def process_updateItemHoldInventory(self, seqid, iprot, oprot):
8368
    args = updateItemHoldInventory_args()
8369
    args.read(iprot)
8370
    iprot.readMessageEnd()
8371
    result = updateItemHoldInventory_result()
8372
    self._handler.updateItemHoldInventory(args.itemHoldMap)
8373
    oprot.writeMessageBegin("updateItemHoldInventory", TMessageType.REPLY, seqid)
8374
    result.write(oprot)
8375
    oprot.writeMessageEnd()
8376
    oprot.trans.flush()
9776 vikram.rag 8377
 
9895 vikram.rag 8378
  def process_updateNlcAtMarketplaces(self, seqid, iprot, oprot):
8379
    args = updateNlcAtMarketplaces_args()
8380
    args.read(iprot)
8381
    iprot.readMessageEnd()
8382
    result = updateNlcAtMarketplaces_result()
8383
    self._handler.updateNlcAtMarketplaces(args.item_id, args.vendor_id, args.nlc)
8384
    oprot.writeMessageBegin("updateNlcAtMarketplaces", TMessageType.REPLY, seqid)
8385
    result.write(oprot)
8386
    oprot.writeMessageEnd()
8387
    oprot.trans.flush()
9861 rajveer 8388
 
9945 vikram.rag 8389
  def process_getAllFlipkartItems(self, seqid, iprot, oprot):
8390
    args = getAllFlipkartItems_args()
8391
    args.read(iprot)
8392
    iprot.readMessageEnd()
8393
    result = getAllFlipkartItems_result()
8394
    result.success = self._handler.getAllFlipkartItems()
8395
    oprot.writeMessageBegin("getAllFlipkartItems", TMessageType.REPLY, seqid)
8396
    result.write(oprot)
8397
    oprot.writeMessageEnd()
8398
    oprot.trans.flush()
9895 vikram.rag 8399
 
10097 kshitij.so 8400
  def process_addOrUpdateFlipkartItem(self, seqid, iprot, oprot):
8401
    args = addOrUpdateFlipkartItem_args()
8402
    args.read(iprot)
8403
    iprot.readMessageEnd()
8404
    result = addOrUpdateFlipkartItem_result()
8405
    result.success = self._handler.addOrUpdateFlipkartItem(args.flipkartitem)
8406
    oprot.writeMessageBegin("addOrUpdateFlipkartItem", TMessageType.REPLY, seqid)
8407
    result.write(oprot)
8408
    oprot.writeMessageEnd()
8409
    oprot.trans.flush()
9945 vikram.rag 8410
 
10097 kshitij.so 8411
  def process_getFlipkartItem(self, seqid, iprot, oprot):
8412
    args = getFlipkartItem_args()
8413
    args.read(iprot)
8414
    iprot.readMessageEnd()
8415
    result = getFlipkartItem_result()
8416
    result.success = self._handler.getFlipkartItem(args.item_id)
8417
    oprot.writeMessageBegin("getFlipkartItem", TMessageType.REPLY, seqid)
8418
    result.write(oprot)
8419
    oprot.writeMessageEnd()
8420
    oprot.trans.flush()
8421
 
8422
  def process_getFlipkartItemDetails(self, seqid, iprot, oprot):
8423
    args = getFlipkartItemDetails_args()
8424
    args.read(iprot)
8425
    iprot.readMessageEnd()
8426
    result = getFlipkartItemDetails_result()
8427
    result.success = self._handler.getFlipkartItemDetails(args.item_id)
8428
    oprot.writeMessageBegin("getFlipkartItemDetails", TMessageType.REPLY, seqid)
8429
    result.write(oprot)
8430
    oprot.writeMessageEnd()
8431
    oprot.trans.flush()
8432
 
8433
  def process_getFlipkartItems(self, seqid, iprot, oprot):
8434
    args = getFlipkartItems_args()
8435
    args.read(iprot)
8436
    iprot.readMessageEnd()
8437
    result = getFlipkartItems_result()
8438
    result.success = self._handler.getFlipkartItems(args.offset, args.limit)
8439
    oprot.writeMessageBegin("getFlipkartItems", TMessageType.REPLY, seqid)
8440
    result.write(oprot)
8441
    oprot.writeMessageEnd()
8442
    oprot.trans.flush()
8443
 
8444
  def process_searchFlipkartItems(self, seqid, iprot, oprot):
8445
    args = searchFlipkartItems_args()
8446
    args.read(iprot)
8447
    iprot.readMessageEnd()
8448
    result = searchFlipkartItems_result()
8449
    result.success = self._handler.searchFlipkartItems(args.searchTerm, args.offset, args.limit)
8450
    oprot.writeMessageBegin("searchFlipkartItems", TMessageType.REPLY, seqid)
8451
    result.write(oprot)
8452
    oprot.writeMessageEnd()
8453
    oprot.trans.flush()
8454
 
8455
  def process_getCountForFlipkartItems(self, seqid, iprot, oprot):
8456
    args = getCountForFlipkartItems_args()
8457
    args.read(iprot)
8458
    iprot.readMessageEnd()
8459
    result = getCountForFlipkartItems_result()
8460
    result.success = self._handler.getCountForFlipkartItems()
8461
    oprot.writeMessageBegin("getCountForFlipkartItems", TMessageType.REPLY, seqid)
8462
    result.write(oprot)
8463
    oprot.writeMessageEnd()
8464
    oprot.trans.flush()
8465
 
8466
  def process_getFlipkartSearchResultCount(self, seqid, iprot, oprot):
8467
    args = getFlipkartSearchResultCount_args()
8468
    args.read(iprot)
8469
    iprot.readMessageEnd()
8470
    result = getFlipkartSearchResultCount_result()
8471
    result.success = self._handler.getFlipkartSearchResultCount(args.searchTerm)
8472
    oprot.writeMessageBegin("getFlipkartSearchResultCount", TMessageType.REPLY, seqid)
8473
    result.write(oprot)
8474
    oprot.writeMessageEnd()
8475
    oprot.trans.flush()
8476
 
8477
  def process_getAllFkItems(self, seqid, iprot, oprot):
8478
    args = getAllFkItems_args()
8479
    args.read(iprot)
8480
    iprot.readMessageEnd()
8481
    result = getAllFkItems_result()
8482
    result.success = self._handler.getAllFkItems()
8483
    oprot.writeMessageBegin("getAllFkItems", TMessageType.REPLY, seqid)
8484
    result.write(oprot)
8485
    oprot.writeMessageEnd()
8486
    oprot.trans.flush()
8487
 
10140 vikram.rag 8488
  def process_getFlipkartItemBySkyAtFlipkart(self, seqid, iprot, oprot):
8489
    args = getFlipkartItemBySkyAtFlipkart_args()
8490
    args.read(iprot)
8491
    iprot.readMessageEnd()
8492
    result = getFlipkartItemBySkyAtFlipkart_result()
8493
    result.success = self._handler.getFlipkartItemBySkyAtFlipkart(args.sku)
8494
    oprot.writeMessageBegin("getFlipkartItemBySkyAtFlipkart", TMessageType.REPLY, seqid)
8495
    result.write(oprot)
8496
    oprot.writeMessageEnd()
8497
    oprot.trans.flush()
10097 kshitij.so 8498
 
11015 kshitij.so 8499
  def process_getMarketplaceHistory(self, seqid, iprot, oprot):
8500
    args = getMarketplaceHistory_args()
8501
    args.read(iprot)
8502
    iprot.readMessageEnd()
8503
    result = getMarketplaceHistory_result()
8504
    result.success = self._handler.getMarketplaceHistory(args.source, args.offset, args.itemId)
8505
    oprot.writeMessageBegin("getMarketplaceHistory", TMessageType.REPLY, seqid)
8506
    result.write(oprot)
8507
    oprot.writeMessageEnd()
8508
    oprot.trans.flush()
8509
 
10909 vikram.rag 8510
  def process_getAllFbbListedItems(self, seqid, iprot, oprot):
8511
    args = getAllFbbListedItems_args()
8512
    args.read(iprot)
8513
    iprot.readMessageEnd()
8514
    result = getAllFbbListedItems_result()
8515
    result.success = self._handler.getAllFbbListedItems()
8516
    oprot.writeMessageBegin("getAllFbbListedItems", TMessageType.REPLY, seqid)
8517
    result.write(oprot)
8518
    oprot.writeMessageEnd()
8519
    oprot.trans.flush()
10140 vikram.rag 8520
 
10924 vikram.rag 8521
  def process_getAllFbbPricingItems(self, seqid, iprot, oprot):
8522
    args = getAllFbbPricingItems_args()
8523
    args.read(iprot)
8524
    iprot.readMessageEnd()
8525
    result = getAllFbbPricingItems_result()
8526
    result.success = self._handler.getAllFbbPricingItems()
8527
    oprot.writeMessageBegin("getAllFbbPricingItems", TMessageType.REPLY, seqid)
8528
    result.write(oprot)
8529
    oprot.writeMessageEnd()
8530
    oprot.trans.flush()
10909 vikram.rag 8531
 
11015 kshitij.so 8532
  def process_getCountForMarketplaceHistory(self, seqid, iprot, oprot):
8533
    args = getCountForMarketplaceHistory_args()
8534
    args.read(iprot)
8535
    iprot.readMessageEnd()
8536
    result = getCountForMarketplaceHistory_result()
8537
    result.success = self._handler.getCountForMarketplaceHistory(args.source, args.itemId)
8538
    oprot.writeMessageBegin("getCountForMarketplaceHistory", TMessageType.REPLY, seqid)
8539
    result.write(oprot)
8540
    oprot.writeMessageEnd()
8541
    oprot.trans.flush()
10924 vikram.rag 8542
 
11015 kshitij.so 8543
  def process_getMarketplaceHistoryByDate(self, seqid, iprot, oprot):
8544
    args = getMarketplaceHistoryByDate_args()
8545
    args.read(iprot)
8546
    iprot.readMessageEnd()
8547
    result = getMarketplaceHistoryByDate_result()
8548
    result.success = self._handler.getMarketplaceHistoryByDate(args.source, args.startDate, args.endDate, args.offset, args.limit, args.itemId)
8549
    oprot.writeMessageBegin("getMarketplaceHistoryByDate", TMessageType.REPLY, seqid)
8550
    result.write(oprot)
8551
    oprot.writeMessageEnd()
8552
    oprot.trans.flush()
8553
 
11531 vikram.rag 8554
  def process_getPrivateDealDetails(self, seqid, iprot, oprot):
8555
    args = getPrivateDealDetails_args()
8556
    args.read(iprot)
8557
    iprot.readMessageEnd()
8558
    result = getPrivateDealDetails_result()
8559
    result.success = self._handler.getPrivateDealDetails(args.item_id)
8560
    oprot.writeMessageBegin("getPrivateDealDetails", TMessageType.REPLY, seqid)
8561
    result.write(oprot)
8562
    oprot.writeMessageEnd()
8563
    oprot.trans.flush()
11015 kshitij.so 8564
 
11531 vikram.rag 8565
  def process_getPrivateDealItems(self, seqid, iprot, oprot):
8566
    args = getPrivateDealItems_args()
8567
    args.read(iprot)
8568
    iprot.readMessageEnd()
8569
    result = getPrivateDealItems_result()
8570
    result.success = self._handler.getPrivateDealItems(args.offset, args.limit)
8571
    oprot.writeMessageBegin("getPrivateDealItems", TMessageType.REPLY, seqid)
8572
    result.write(oprot)
8573
    oprot.writeMessageEnd()
8574
    oprot.trans.flush()
8575
 
11592 amit.gupta 8576
  def process_getAllActivePrivateDeals(self, seqid, iprot, oprot):
8577
    args = getAllActivePrivateDeals_args()
8578
    args.read(iprot)
8579
    iprot.readMessageEnd()
8580
    result = getAllActivePrivateDeals_result()
11653 amit.gupta 8581
    result.success = self._handler.getAllActivePrivateDeals(args.itemIds, args.daysDelta)
11592 amit.gupta 8582
    oprot.writeMessageBegin("getAllActivePrivateDeals", TMessageType.REPLY, seqid)
8583
    result.write(oprot)
8584
    oprot.writeMessageEnd()
8585
    oprot.trans.flush()
8586
 
11531 vikram.rag 8587
  def process_addOrUpdatePrivateDeal(self, seqid, iprot, oprot):
8588
    args = addOrUpdatePrivateDeal_args()
8589
    args.read(iprot)
8590
    iprot.readMessageEnd()
8591
    result = addOrUpdatePrivateDeal_result()
8592
    result.success = self._handler.addOrUpdatePrivateDeal(args.privateDeal)
8593
    oprot.writeMessageBegin("addOrUpdatePrivateDeal", TMessageType.REPLY, seqid)
8594
    result.write(oprot)
8595
    oprot.writeMessageEnd()
8596
    oprot.trans.flush()
8597
 
11635 vikram.rag 8598
  def process_getPrivateDealsCatalogIds(self, seqid, iprot, oprot):
8599
    args = getPrivateDealsCatalogIds_args()
8600
    args.read(iprot)
8601
    iprot.readMessageEnd()
8602
    result = getPrivateDealsCatalogIds_result()
8603
    try:
8604
      result.success = self._handler.getPrivateDealsCatalogIds(args.beginIndex, args.totalItems)
8605
    except CatalogServiceException, cex:
8606
      result.cex = cex
8607
    oprot.writeMessageBegin("getPrivateDealsCatalogIds", TMessageType.REPLY, seqid)
8608
    result.write(oprot)
8609
    oprot.writeMessageEnd()
8610
    oprot.trans.flush()
11531 vikram.rag 8611
 
11645 amit.gupta 8612
  def process_getPrivateDealsCount(self, seqid, iprot, oprot):
8613
    args = getPrivateDealsCount_args()
8614
    args.read(iprot)
8615
    iprot.readMessageEnd()
8616
    result = getPrivateDealsCount_result()
8617
    result.success = self._handler.getPrivateDealsCount()
8618
    oprot.writeMessageBegin("getPrivateDealsCount", TMessageType.REPLY, seqid)
8619
    result.write(oprot)
8620
    oprot.writeMessageEnd()
8621
    oprot.trans.flush()
11635 vikram.rag 8622
 
11905 kshitij.so 8623
  def process_getAmazonOutSyncItems(self, seqid, iprot, oprot):
8624
    args = getAmazonOutSyncItems_args()
8625
    args.read(iprot)
8626
    iprot.readMessageEnd()
8627
    result = getAmazonOutSyncItems_result()
8628
    result.success = self._handler.getAmazonOutSyncItems(args.item_id)
8629
    oprot.writeMessageBegin("getAmazonOutSyncItems", TMessageType.REPLY, seqid)
8630
    result.write(oprot)
8631
    oprot.writeMessageEnd()
8632
    oprot.trans.flush()
11645 amit.gupta 8633
 
11905 kshitij.so 8634
  def process_getAllPrivateDealsComparison(self, seqid, iprot, oprot):
8635
    args = getAllPrivateDealsComparison_args()
8636
    args.read(iprot)
8637
    iprot.readMessageEnd()
8638
    result = getAllPrivateDealsComparison_result()
8639
    result.success = self._handler.getAllPrivateDealsComparison()
8640
    oprot.writeMessageBegin("getAllPrivateDealsComparison", TMessageType.REPLY, seqid)
8641
    result.write(oprot)
8642
    oprot.writeMessageEnd()
8643
    oprot.trans.flush()
8644
 
12133 kshitij.so 8645
  def process_getAllSnapdealMarketplaceItem(self, seqid, iprot, oprot):
8646
    args = getAllSnapdealMarketplaceItem_args()
8647
    args.read(iprot)
8648
    iprot.readMessageEnd()
8649
    result = getAllSnapdealMarketplaceItem_result()
8650
    result.success = self._handler.getAllSnapdealMarketplaceItem()
8651
    oprot.writeMessageBegin("getAllSnapdealMarketplaceItem", TMessageType.REPLY, seqid)
8652
    result.write(oprot)
8653
    oprot.writeMessageEnd()
8654
    oprot.trans.flush()
11905 kshitij.so 8655
 
12133 kshitij.so 8656
  def process_getAllFlipkartMarketplaceItem(self, seqid, iprot, oprot):
8657
    args = getAllFlipkartMarketplaceItem_args()
8658
    args.read(iprot)
8659
    iprot.readMessageEnd()
8660
    result = getAllFlipkartMarketplaceItem_result()
8661
    result.success = self._handler.getAllFlipkartMarketplaceItem()
8662
    oprot.writeMessageBegin("getAllFlipkartMarketplaceItem", TMessageType.REPLY, seqid)
8663
    result.write(oprot)
8664
    oprot.writeMessageEnd()
8665
    oprot.trans.flush()
8666
 
12243 kshitij.so 8667
  def process_addCompetitorScraping(self, seqid, iprot, oprot):
8668
    args = addCompetitorScraping_args()
8669
    args.read(iprot)
8670
    iprot.readMessageEnd()
8671
    result = addCompetitorScraping_result()
8672
    self._handler.addCompetitorScraping(args.competitorPricingMap)
8673
    oprot.writeMessageBegin("addCompetitorScraping", TMessageType.REPLY, seqid)
8674
    result.write(oprot)
8675
    oprot.writeMessageEnd()
8676
    oprot.trans.flush()
12133 kshitij.so 8677
 
12243 kshitij.so 8678
  def process_getPreviousCompetitorScraping(self, seqid, iprot, oprot):
8679
    args = getPreviousCompetitorScraping_args()
8680
    args.read(iprot)
8681
    iprot.readMessageEnd()
8682
    result = getPreviousCompetitorScraping_result()
8683
    result.success = self._handler.getPreviousCompetitorScraping(args.delta)
8684
    oprot.writeMessageBegin("getPreviousCompetitorScraping", TMessageType.REPLY, seqid)
8685
    result.write(oprot)
8686
    oprot.writeMessageEnd()
8687
    oprot.trans.flush()
8688
 
12256 kshitij.so 8689
  def process_getUploadResultById(self, seqid, iprot, oprot):
8690
    args = getUploadResultById_args()
8691
    args.read(iprot)
8692
    iprot.readMessageEnd()
8693
    result = getUploadResultById_result()
8694
    result.success = self._handler.getUploadResultById(args.uploadId)
8695
    oprot.writeMessageBegin("getUploadResultById", TMessageType.REPLY, seqid)
8696
    result.write(oprot)
8697
    oprot.writeMessageEnd()
8698
    oprot.trans.flush()
12243 kshitij.so 8699
 
12256 kshitij.so 8700
 
5944 mandeep.dh 8701
# HELPER FUNCTIONS AND STRUCTURES
8702
 
8703
class addItem_args:
8704
  """
8705
  Attributes:
8706
   - item
8707
  """
8708
 
8709
  thrift_spec = (
8710
    None, # 0
8711
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
8712
  )
8713
 
8714
  def __init__(self, item=None,):
8715
    self.item = item
8716
 
8717
  def read(self, iprot):
8718
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
8719
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
8720
      return
8721
    iprot.readStructBegin()
8722
    while True:
8723
      (fname, ftype, fid) = iprot.readFieldBegin()
8724
      if ftype == TType.STOP:
8725
        break
8726
      if fid == 1:
8727
        if ftype == TType.STRUCT:
8728
          self.item = Item()
8729
          self.item.read(iprot)
8730
        else:
8731
          iprot.skip(ftype)
8732
      else:
8733
        iprot.skip(ftype)
8734
      iprot.readFieldEnd()
8735
    iprot.readStructEnd()
8736
 
8737
  def write(self, oprot):
8738
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8739
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8740
      return
8741
    oprot.writeStructBegin('addItem_args')
8742
    if self.item is not None:
8743
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
8744
      self.item.write(oprot)
8745
      oprot.writeFieldEnd()
8746
    oprot.writeFieldStop()
8747
    oprot.writeStructEnd()
8748
 
8749
  def validate(self):
8750
    return
8751
 
8752
 
8753
  def __repr__(self):
8754
    L = ['%s=%r' % (key, value)
8755
      for key, value in self.__dict__.iteritems()]
8756
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8757
 
8758
  def __eq__(self, other):
8759
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8760
 
8761
  def __ne__(self, other):
8762
    return not (self == other)
8763
 
8764
class addItem_result:
8765
  """
8766
  Attributes:
8767
   - success
8768
   - cex
8769
  """
8770
 
8771
  thrift_spec = (
8772
    (0, TType.I64, 'success', None, None, ), # 0
8773
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
8774
  )
8775
 
8776
  def __init__(self, success=None, cex=None,):
8777
    self.success = success
8778
    self.cex = cex
8779
 
8780
  def read(self, iprot):
8781
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
8782
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
8783
      return
8784
    iprot.readStructBegin()
8785
    while True:
8786
      (fname, ftype, fid) = iprot.readFieldBegin()
8787
      if ftype == TType.STOP:
8788
        break
8789
      if fid == 0:
8790
        if ftype == TType.I64:
8791
          self.success = iprot.readI64();
8792
        else:
8793
          iprot.skip(ftype)
8794
      elif fid == 1:
8795
        if ftype == TType.STRUCT:
8796
          self.cex = CatalogServiceException()
8797
          self.cex.read(iprot)
8798
        else:
8799
          iprot.skip(ftype)
8800
      else:
8801
        iprot.skip(ftype)
8802
      iprot.readFieldEnd()
8803
    iprot.readStructEnd()
8804
 
8805
  def write(self, oprot):
8806
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8807
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8808
      return
8809
    oprot.writeStructBegin('addItem_result')
8810
    if self.success is not None:
8811
      oprot.writeFieldBegin('success', TType.I64, 0)
8812
      oprot.writeI64(self.success)
8813
      oprot.writeFieldEnd()
8814
    if self.cex is not None:
8815
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
8816
      self.cex.write(oprot)
8817
      oprot.writeFieldEnd()
8818
    oprot.writeFieldStop()
8819
    oprot.writeStructEnd()
8820
 
8821
  def validate(self):
8822
    return
8823
 
8824
 
8825
  def __repr__(self):
8826
    L = ['%s=%r' % (key, value)
8827
      for key, value in self.__dict__.iteritems()]
8828
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8829
 
8830
  def __eq__(self, other):
8831
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8832
 
8833
  def __ne__(self, other):
8834
    return not (self == other)
8835
 
8836
class updateItem_args:
8837
  """
8838
  Attributes:
8839
   - item
8840
  """
8841
 
8842
  thrift_spec = (
8843
    None, # 0
8844
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
8845
  )
8846
 
8847
  def __init__(self, item=None,):
8848
    self.item = item
8849
 
8850
  def read(self, iprot):
8851
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
8852
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
8853
      return
8854
    iprot.readStructBegin()
8855
    while True:
8856
      (fname, ftype, fid) = iprot.readFieldBegin()
8857
      if ftype == TType.STOP:
8858
        break
8859
      if fid == 1:
8860
        if ftype == TType.STRUCT:
8861
          self.item = Item()
8862
          self.item.read(iprot)
8863
        else:
8864
          iprot.skip(ftype)
8865
      else:
8866
        iprot.skip(ftype)
8867
      iprot.readFieldEnd()
8868
    iprot.readStructEnd()
8869
 
8870
  def write(self, oprot):
8871
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8872
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8873
      return
8874
    oprot.writeStructBegin('updateItem_args')
8875
    if self.item is not None:
8876
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
8877
      self.item.write(oprot)
8878
      oprot.writeFieldEnd()
8879
    oprot.writeFieldStop()
8880
    oprot.writeStructEnd()
8881
 
8882
  def validate(self):
8883
    return
8884
 
8885
 
8886
  def __repr__(self):
8887
    L = ['%s=%r' % (key, value)
8888
      for key, value in self.__dict__.iteritems()]
8889
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8890
 
8891
  def __eq__(self, other):
8892
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8893
 
8894
  def __ne__(self, other):
8895
    return not (self == other)
8896
 
8897
class updateItem_result:
8898
  """
8899
  Attributes:
8900
   - success
8901
   - cex
8902
  """
8903
 
8904
  thrift_spec = (
8905
    (0, TType.I64, 'success', None, None, ), # 0
8906
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
8907
  )
8908
 
8909
  def __init__(self, success=None, cex=None,):
8910
    self.success = success
8911
    self.cex = cex
8912
 
8913
  def read(self, iprot):
8914
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
8915
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
8916
      return
8917
    iprot.readStructBegin()
8918
    while True:
8919
      (fname, ftype, fid) = iprot.readFieldBegin()
8920
      if ftype == TType.STOP:
8921
        break
8922
      if fid == 0:
8923
        if ftype == TType.I64:
8924
          self.success = iprot.readI64();
8925
        else:
8926
          iprot.skip(ftype)
8927
      elif fid == 1:
8928
        if ftype == TType.STRUCT:
8929
          self.cex = CatalogServiceException()
8930
          self.cex.read(iprot)
8931
        else:
8932
          iprot.skip(ftype)
8933
      else:
8934
        iprot.skip(ftype)
8935
      iprot.readFieldEnd()
8936
    iprot.readStructEnd()
8937
 
8938
  def write(self, oprot):
8939
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
8940
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
8941
      return
8942
    oprot.writeStructBegin('updateItem_result')
8943
    if self.success is not None:
8944
      oprot.writeFieldBegin('success', TType.I64, 0)
8945
      oprot.writeI64(self.success)
8946
      oprot.writeFieldEnd()
8947
    if self.cex is not None:
8948
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
8949
      self.cex.write(oprot)
8950
      oprot.writeFieldEnd()
8951
    oprot.writeFieldStop()
8952
    oprot.writeStructEnd()
8953
 
8954
  def validate(self):
8955
    return
8956
 
8957
 
8958
  def __repr__(self):
8959
    L = ['%s=%r' % (key, value)
8960
      for key, value in self.__dict__.iteritems()]
8961
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
8962
 
8963
  def __eq__(self, other):
8964
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
8965
 
8966
  def __ne__(self, other):
8967
    return not (self == other)
8968
 
8969
class isActive_args:
8970
  """
8971
  Attributes:
8972
   - itemId
8973
  """
8974
 
8975
  thrift_spec = (
8976
    None, # 0
8977
    (1, TType.I64, 'itemId', None, None, ), # 1
8978
  )
8979
 
8980
  def __init__(self, itemId=None,):
8981
    self.itemId = itemId
8982
 
8983
  def read(self, iprot):
8984
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
8985
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
8986
      return
8987
    iprot.readStructBegin()
8988
    while True:
8989
      (fname, ftype, fid) = iprot.readFieldBegin()
8990
      if ftype == TType.STOP:
8991
        break
8992
      if fid == 1:
8993
        if ftype == TType.I64:
8994
          self.itemId = iprot.readI64();
8995
        else:
8996
          iprot.skip(ftype)
8997
      else:
8998
        iprot.skip(ftype)
8999
      iprot.readFieldEnd()
9000
    iprot.readStructEnd()
9001
 
9002
  def write(self, oprot):
9003
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9004
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9005
      return
9006
    oprot.writeStructBegin('isActive_args')
9007
    if self.itemId is not None:
9008
      oprot.writeFieldBegin('itemId', TType.I64, 1)
9009
      oprot.writeI64(self.itemId)
9010
      oprot.writeFieldEnd()
9011
    oprot.writeFieldStop()
9012
    oprot.writeStructEnd()
9013
 
9014
  def validate(self):
9015
    return
9016
 
9017
 
9018
  def __repr__(self):
9019
    L = ['%s=%r' % (key, value)
9020
      for key, value in self.__dict__.iteritems()]
9021
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9022
 
9023
  def __eq__(self, other):
9024
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9025
 
9026
  def __ne__(self, other):
9027
    return not (self == other)
9028
 
9029
class isActive_result:
9030
  """
9031
  Attributes:
9032
   - success
9033
   - isex
9034
  """
9035
 
9036
  thrift_spec = (
9037
    (0, TType.STRUCT, 'success', (ItemShippingInfo, ItemShippingInfo.thrift_spec), None, ), # 0
9038
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9039
  )
9040
 
9041
  def __init__(self, success=None, isex=None,):
9042
    self.success = success
9043
    self.isex = isex
9044
 
9045
  def read(self, iprot):
9046
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9047
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9048
      return
9049
    iprot.readStructBegin()
9050
    while True:
9051
      (fname, ftype, fid) = iprot.readFieldBegin()
9052
      if ftype == TType.STOP:
9053
        break
9054
      if fid == 0:
9055
        if ftype == TType.STRUCT:
9056
          self.success = ItemShippingInfo()
9057
          self.success.read(iprot)
9058
        else:
9059
          iprot.skip(ftype)
9060
      elif fid == 1:
9061
        if ftype == TType.STRUCT:
9062
          self.isex = CatalogServiceException()
9063
          self.isex.read(iprot)
9064
        else:
9065
          iprot.skip(ftype)
9066
      else:
9067
        iprot.skip(ftype)
9068
      iprot.readFieldEnd()
9069
    iprot.readStructEnd()
9070
 
9071
  def write(self, oprot):
9072
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9073
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9074
      return
9075
    oprot.writeStructBegin('isActive_result')
9076
    if self.success is not None:
9077
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
9078
      self.success.write(oprot)
9079
      oprot.writeFieldEnd()
9080
    if self.isex is not None:
9081
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
9082
      self.isex.write(oprot)
9083
      oprot.writeFieldEnd()
9084
    oprot.writeFieldStop()
9085
    oprot.writeStructEnd()
9086
 
9087
  def validate(self):
9088
    return
9089
 
9090
 
9091
  def __repr__(self):
9092
    L = ['%s=%r' % (key, value)
9093
      for key, value in self.__dict__.iteritems()]
9094
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9095
 
9096
  def __eq__(self, other):
9097
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9098
 
9099
  def __ne__(self, other):
9100
    return not (self == other)
9101
 
7438 amit.gupta 9102
class getItemsStatus_args:
9103
  """
9104
  Attributes:
9105
   - itemIds
9106
  """
9107
 
9108
  thrift_spec = (
9109
    None, # 0
9110
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
9111
  )
9112
 
9113
  def __init__(self, itemIds=None,):
9114
    self.itemIds = itemIds
9115
 
9116
  def read(self, iprot):
9117
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9118
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9119
      return
9120
    iprot.readStructBegin()
9121
    while True:
9122
      (fname, ftype, fid) = iprot.readFieldBegin()
9123
      if ftype == TType.STOP:
9124
        break
9125
      if fid == 1:
9126
        if ftype == TType.LIST:
9127
          self.itemIds = []
8590 kshitij.so 9128
          (_etype33, _size30) = iprot.readListBegin()
9129
          for _i34 in xrange(_size30):
9130
            _elem35 = iprot.readI64();
9131
            self.itemIds.append(_elem35)
7438 amit.gupta 9132
          iprot.readListEnd()
9133
        else:
9134
          iprot.skip(ftype)
9135
      else:
9136
        iprot.skip(ftype)
9137
      iprot.readFieldEnd()
9138
    iprot.readStructEnd()
9139
 
9140
  def write(self, oprot):
9141
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9142
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9143
      return
9144
    oprot.writeStructBegin('getItemsStatus_args')
9145
    if self.itemIds is not None:
9146
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
9147
      oprot.writeListBegin(TType.I64, len(self.itemIds))
8590 kshitij.so 9148
      for iter36 in self.itemIds:
9149
        oprot.writeI64(iter36)
7438 amit.gupta 9150
      oprot.writeListEnd()
9151
      oprot.writeFieldEnd()
9152
    oprot.writeFieldStop()
9153
    oprot.writeStructEnd()
9154
 
9155
  def validate(self):
9156
    return
9157
 
9158
 
9159
  def __repr__(self):
9160
    L = ['%s=%r' % (key, value)
9161
      for key, value in self.__dict__.iteritems()]
9162
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9163
 
9164
  def __eq__(self, other):
9165
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9166
 
9167
  def __ne__(self, other):
9168
    return not (self == other)
9169
 
9170
class getItemsStatus_result:
9171
  """
9172
  Attributes:
9173
   - success
9174
   - isex
9175
  """
9176
 
9177
  thrift_spec = (
9178
    (0, TType.MAP, 'success', (TType.I64,None,TType.BOOL,None), None, ), # 0
9179
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9180
  )
9181
 
9182
  def __init__(self, success=None, isex=None,):
9183
    self.success = success
9184
    self.isex = isex
9185
 
9186
  def read(self, iprot):
9187
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9188
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9189
      return
9190
    iprot.readStructBegin()
9191
    while True:
9192
      (fname, ftype, fid) = iprot.readFieldBegin()
9193
      if ftype == TType.STOP:
9194
        break
9195
      if fid == 0:
9196
        if ftype == TType.MAP:
9197
          self.success = {}
8590 kshitij.so 9198
          (_ktype38, _vtype39, _size37 ) = iprot.readMapBegin() 
9199
          for _i41 in xrange(_size37):
9200
            _key42 = iprot.readI64();
9201
            _val43 = iprot.readBool();
9202
            self.success[_key42] = _val43
7438 amit.gupta 9203
          iprot.readMapEnd()
9204
        else:
9205
          iprot.skip(ftype)
9206
      elif fid == 1:
9207
        if ftype == TType.STRUCT:
9208
          self.isex = CatalogServiceException()
9209
          self.isex.read(iprot)
9210
        else:
9211
          iprot.skip(ftype)
9212
      else:
9213
        iprot.skip(ftype)
9214
      iprot.readFieldEnd()
9215
    iprot.readStructEnd()
9216
 
9217
  def write(self, oprot):
9218
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9219
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9220
      return
9221
    oprot.writeStructBegin('getItemsStatus_result')
9222
    if self.success is not None:
9223
      oprot.writeFieldBegin('success', TType.MAP, 0)
9224
      oprot.writeMapBegin(TType.I64, TType.BOOL, len(self.success))
8590 kshitij.so 9225
      for kiter44,viter45 in self.success.items():
9226
        oprot.writeI64(kiter44)
9227
        oprot.writeBool(viter45)
7438 amit.gupta 9228
      oprot.writeMapEnd()
9229
      oprot.writeFieldEnd()
9230
    if self.isex is not None:
9231
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
9232
      self.isex.write(oprot)
9233
      oprot.writeFieldEnd()
9234
    oprot.writeFieldStop()
9235
    oprot.writeStructEnd()
9236
 
9237
  def validate(self):
9238
    return
9239
 
9240
 
9241
  def __repr__(self):
9242
    L = ['%s=%r' % (key, value)
9243
      for key, value in self.__dict__.iteritems()]
9244
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9245
 
9246
  def __eq__(self, other):
9247
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9248
 
9249
  def __ne__(self, other):
9250
    return not (self == other)
9251
 
5944 mandeep.dh 9252
class getItemStatusDescription_args:
9253
  """
9254
  Attributes:
9255
   - itemId
9256
  """
9257
 
9258
  thrift_spec = (
9259
    None, # 0
9260
    (1, TType.I64, 'itemId', None, None, ), # 1
9261
  )
9262
 
9263
  def __init__(self, itemId=None,):
9264
    self.itemId = itemId
9265
 
9266
  def read(self, iprot):
9267
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9268
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9269
      return
9270
    iprot.readStructBegin()
9271
    while True:
9272
      (fname, ftype, fid) = iprot.readFieldBegin()
9273
      if ftype == TType.STOP:
9274
        break
9275
      if fid == 1:
9276
        if ftype == TType.I64:
9277
          self.itemId = iprot.readI64();
9278
        else:
9279
          iprot.skip(ftype)
9280
      else:
9281
        iprot.skip(ftype)
9282
      iprot.readFieldEnd()
9283
    iprot.readStructEnd()
9284
 
9285
  def write(self, oprot):
9286
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9287
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9288
      return
9289
    oprot.writeStructBegin('getItemStatusDescription_args')
9290
    if self.itemId is not None:
9291
      oprot.writeFieldBegin('itemId', TType.I64, 1)
9292
      oprot.writeI64(self.itemId)
9293
      oprot.writeFieldEnd()
9294
    oprot.writeFieldStop()
9295
    oprot.writeStructEnd()
9296
 
9297
  def validate(self):
9298
    return
9299
 
9300
 
9301
  def __repr__(self):
9302
    L = ['%s=%r' % (key, value)
9303
      for key, value in self.__dict__.iteritems()]
9304
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9305
 
9306
  def __eq__(self, other):
9307
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9308
 
9309
  def __ne__(self, other):
9310
    return not (self == other)
9311
 
9312
class getItemStatusDescription_result:
9313
  """
9314
  Attributes:
9315
   - success
9316
   - isex
9317
  """
9318
 
9319
  thrift_spec = (
9320
    (0, TType.STRING, 'success', None, None, ), # 0
9321
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9322
  )
9323
 
9324
  def __init__(self, success=None, isex=None,):
9325
    self.success = success
9326
    self.isex = isex
9327
 
9328
  def read(self, iprot):
9329
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9330
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9331
      return
9332
    iprot.readStructBegin()
9333
    while True:
9334
      (fname, ftype, fid) = iprot.readFieldBegin()
9335
      if ftype == TType.STOP:
9336
        break
9337
      if fid == 0:
9338
        if ftype == TType.STRING:
9339
          self.success = iprot.readString();
9340
        else:
9341
          iprot.skip(ftype)
9342
      elif fid == 1:
9343
        if ftype == TType.STRUCT:
9344
          self.isex = CatalogServiceException()
9345
          self.isex.read(iprot)
9346
        else:
9347
          iprot.skip(ftype)
9348
      else:
9349
        iprot.skip(ftype)
9350
      iprot.readFieldEnd()
9351
    iprot.readStructEnd()
9352
 
9353
  def write(self, oprot):
9354
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9355
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9356
      return
9357
    oprot.writeStructBegin('getItemStatusDescription_result')
9358
    if self.success is not None:
9359
      oprot.writeFieldBegin('success', TType.STRING, 0)
9360
      oprot.writeString(self.success)
9361
      oprot.writeFieldEnd()
9362
    if self.isex is not None:
9363
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
9364
      self.isex.write(oprot)
9365
      oprot.writeFieldEnd()
9366
    oprot.writeFieldStop()
9367
    oprot.writeStructEnd()
9368
 
9369
  def validate(self):
9370
    return
9371
 
9372
 
9373
  def __repr__(self):
9374
    L = ['%s=%r' % (key, value)
9375
      for key, value in self.__dict__.iteritems()]
9376
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9377
 
9378
  def __eq__(self, other):
9379
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9380
 
9381
  def __ne__(self, other):
9382
    return not (self == other)
9383
 
9384
class startItemOn_args:
9385
  """
9386
  Attributes:
9387
   - item_id
9388
   - timestamp
9389
  """
9390
 
9391
  thrift_spec = (
9392
    None, # 0
9393
    (1, TType.I64, 'item_id', None, None, ), # 1
9394
    (2, TType.I64, 'timestamp', None, None, ), # 2
9395
  )
9396
 
9397
  def __init__(self, item_id=None, timestamp=None,):
9398
    self.item_id = item_id
9399
    self.timestamp = timestamp
9400
 
9401
  def read(self, iprot):
9402
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9403
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9404
      return
9405
    iprot.readStructBegin()
9406
    while True:
9407
      (fname, ftype, fid) = iprot.readFieldBegin()
9408
      if ftype == TType.STOP:
9409
        break
9410
      if fid == 1:
9411
        if ftype == TType.I64:
9412
          self.item_id = iprot.readI64();
9413
        else:
9414
          iprot.skip(ftype)
9415
      elif fid == 2:
9416
        if ftype == TType.I64:
9417
          self.timestamp = iprot.readI64();
9418
        else:
9419
          iprot.skip(ftype)
9420
      else:
9421
        iprot.skip(ftype)
9422
      iprot.readFieldEnd()
9423
    iprot.readStructEnd()
9424
 
9425
  def write(self, oprot):
9426
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9427
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9428
      return
9429
    oprot.writeStructBegin('startItemOn_args')
9430
    if self.item_id is not None:
9431
      oprot.writeFieldBegin('item_id', TType.I64, 1)
9432
      oprot.writeI64(self.item_id)
9433
      oprot.writeFieldEnd()
9434
    if self.timestamp is not None:
9435
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
9436
      oprot.writeI64(self.timestamp)
9437
      oprot.writeFieldEnd()
9438
    oprot.writeFieldStop()
9439
    oprot.writeStructEnd()
9440
 
9441
  def validate(self):
9442
    return
9443
 
9444
 
9445
  def __repr__(self):
9446
    L = ['%s=%r' % (key, value)
9447
      for key, value in self.__dict__.iteritems()]
9448
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9449
 
9450
  def __eq__(self, other):
9451
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9452
 
9453
  def __ne__(self, other):
9454
    return not (self == other)
9455
 
9456
class startItemOn_result:
9457
  """
9458
  Attributes:
9459
   - cex
9460
  """
9461
 
9462
  thrift_spec = (
9463
    None, # 0
9464
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9465
  )
9466
 
9467
  def __init__(self, cex=None,):
9468
    self.cex = cex
9469
 
9470
  def read(self, iprot):
9471
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9472
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9473
      return
9474
    iprot.readStructBegin()
9475
    while True:
9476
      (fname, ftype, fid) = iprot.readFieldBegin()
9477
      if ftype == TType.STOP:
9478
        break
9479
      if fid == 1:
9480
        if ftype == TType.STRUCT:
9481
          self.cex = CatalogServiceException()
9482
          self.cex.read(iprot)
9483
        else:
9484
          iprot.skip(ftype)
9485
      else:
9486
        iprot.skip(ftype)
9487
      iprot.readFieldEnd()
9488
    iprot.readStructEnd()
9489
 
9490
  def write(self, oprot):
9491
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9492
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9493
      return
9494
    oprot.writeStructBegin('startItemOn_result')
9495
    if self.cex is not None:
9496
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9497
      self.cex.write(oprot)
9498
      oprot.writeFieldEnd()
9499
    oprot.writeFieldStop()
9500
    oprot.writeStructEnd()
9501
 
9502
  def validate(self):
9503
    return
9504
 
9505
 
9506
  def __repr__(self):
9507
    L = ['%s=%r' % (key, value)
9508
      for key, value in self.__dict__.iteritems()]
9509
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9510
 
9511
  def __eq__(self, other):
9512
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9513
 
9514
  def __ne__(self, other):
9515
    return not (self == other)
9516
 
9517
class retireItemOn_args:
9518
  """
9519
  Attributes:
9520
   - item_id
9521
   - timestamp
9522
  """
9523
 
9524
  thrift_spec = (
9525
    None, # 0
9526
    (1, TType.I64, 'item_id', None, None, ), # 1
9527
    (2, TType.I64, 'timestamp', None, None, ), # 2
9528
  )
9529
 
9530
  def __init__(self, item_id=None, timestamp=None,):
9531
    self.item_id = item_id
9532
    self.timestamp = timestamp
9533
 
9534
  def read(self, iprot):
9535
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9536
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9537
      return
9538
    iprot.readStructBegin()
9539
    while True:
9540
      (fname, ftype, fid) = iprot.readFieldBegin()
9541
      if ftype == TType.STOP:
9542
        break
9543
      if fid == 1:
9544
        if ftype == TType.I64:
9545
          self.item_id = iprot.readI64();
9546
        else:
9547
          iprot.skip(ftype)
9548
      elif fid == 2:
9549
        if ftype == TType.I64:
9550
          self.timestamp = iprot.readI64();
9551
        else:
9552
          iprot.skip(ftype)
9553
      else:
9554
        iprot.skip(ftype)
9555
      iprot.readFieldEnd()
9556
    iprot.readStructEnd()
9557
 
9558
  def write(self, oprot):
9559
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9560
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9561
      return
9562
    oprot.writeStructBegin('retireItemOn_args')
9563
    if self.item_id is not None:
9564
      oprot.writeFieldBegin('item_id', TType.I64, 1)
9565
      oprot.writeI64(self.item_id)
9566
      oprot.writeFieldEnd()
9567
    if self.timestamp is not None:
9568
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
9569
      oprot.writeI64(self.timestamp)
9570
      oprot.writeFieldEnd()
9571
    oprot.writeFieldStop()
9572
    oprot.writeStructEnd()
9573
 
9574
  def validate(self):
9575
    return
9576
 
9577
 
9578
  def __repr__(self):
9579
    L = ['%s=%r' % (key, value)
9580
      for key, value in self.__dict__.iteritems()]
9581
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9582
 
9583
  def __eq__(self, other):
9584
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9585
 
9586
  def __ne__(self, other):
9587
    return not (self == other)
9588
 
9589
class retireItemOn_result:
9590
  """
9591
  Attributes:
9592
   - cex
9593
  """
9594
 
9595
  thrift_spec = (
9596
    None, # 0
9597
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9598
  )
9599
 
9600
  def __init__(self, cex=None,):
9601
    self.cex = cex
9602
 
9603
  def read(self, iprot):
9604
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9605
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9606
      return
9607
    iprot.readStructBegin()
9608
    while True:
9609
      (fname, ftype, fid) = iprot.readFieldBegin()
9610
      if ftype == TType.STOP:
9611
        break
9612
      if fid == 1:
9613
        if ftype == TType.STRUCT:
9614
          self.cex = CatalogServiceException()
9615
          self.cex.read(iprot)
9616
        else:
9617
          iprot.skip(ftype)
9618
      else:
9619
        iprot.skip(ftype)
9620
      iprot.readFieldEnd()
9621
    iprot.readStructEnd()
9622
 
9623
  def write(self, oprot):
9624
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9625
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9626
      return
9627
    oprot.writeStructBegin('retireItemOn_result')
9628
    if self.cex is not None:
9629
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9630
      self.cex.write(oprot)
9631
      oprot.writeFieldEnd()
9632
    oprot.writeFieldStop()
9633
    oprot.writeStructEnd()
9634
 
9635
  def validate(self):
9636
    return
9637
 
9638
 
9639
  def __repr__(self):
9640
    L = ['%s=%r' % (key, value)
9641
      for key, value in self.__dict__.iteritems()]
9642
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9643
 
9644
  def __eq__(self, other):
9645
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9646
 
9647
  def __ne__(self, other):
9648
    return not (self == other)
9649
 
9650
class changeItemStatus_args:
9651
  """
9652
  Attributes:
9653
   - item_id
9654
   - timestamp
9655
   - newstatus
9656
  """
9657
 
9658
  thrift_spec = (
9659
    None, # 0
9660
    (1, TType.I64, 'item_id', None, None, ), # 1
9661
    (2, TType.I64, 'timestamp', None, None, ), # 2
9662
    (3, TType.I32, 'newstatus', None, None, ), # 3
9663
  )
9664
 
9665
  def __init__(self, item_id=None, timestamp=None, newstatus=None,):
9666
    self.item_id = item_id
9667
    self.timestamp = timestamp
9668
    self.newstatus = newstatus
9669
 
9670
  def read(self, iprot):
9671
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9672
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9673
      return
9674
    iprot.readStructBegin()
9675
    while True:
9676
      (fname, ftype, fid) = iprot.readFieldBegin()
9677
      if ftype == TType.STOP:
9678
        break
9679
      if fid == 1:
9680
        if ftype == TType.I64:
9681
          self.item_id = iprot.readI64();
9682
        else:
9683
          iprot.skip(ftype)
9684
      elif fid == 2:
9685
        if ftype == TType.I64:
9686
          self.timestamp = iprot.readI64();
9687
        else:
9688
          iprot.skip(ftype)
9689
      elif fid == 3:
9690
        if ftype == TType.I32:
9691
          self.newstatus = iprot.readI32();
9692
        else:
9693
          iprot.skip(ftype)
9694
      else:
9695
        iprot.skip(ftype)
9696
      iprot.readFieldEnd()
9697
    iprot.readStructEnd()
9698
 
9699
  def write(self, oprot):
9700
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9701
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9702
      return
9703
    oprot.writeStructBegin('changeItemStatus_args')
9704
    if self.item_id is not None:
9705
      oprot.writeFieldBegin('item_id', TType.I64, 1)
9706
      oprot.writeI64(self.item_id)
9707
      oprot.writeFieldEnd()
9708
    if self.timestamp is not None:
9709
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
9710
      oprot.writeI64(self.timestamp)
9711
      oprot.writeFieldEnd()
9712
    if self.newstatus is not None:
9713
      oprot.writeFieldBegin('newstatus', TType.I32, 3)
9714
      oprot.writeI32(self.newstatus)
9715
      oprot.writeFieldEnd()
9716
    oprot.writeFieldStop()
9717
    oprot.writeStructEnd()
9718
 
9719
  def validate(self):
9720
    return
9721
 
9722
 
9723
  def __repr__(self):
9724
    L = ['%s=%r' % (key, value)
9725
      for key, value in self.__dict__.iteritems()]
9726
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9727
 
9728
  def __eq__(self, other):
9729
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9730
 
9731
  def __ne__(self, other):
9732
    return not (self == other)
9733
 
9734
class changeItemStatus_result:
9735
  """
9736
  Attributes:
9737
   - cex
9738
  """
9739
 
9740
  thrift_spec = (
9741
    None, # 0
9742
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9743
  )
9744
 
9745
  def __init__(self, cex=None,):
9746
    self.cex = cex
9747
 
9748
  def read(self, iprot):
9749
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9750
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9751
      return
9752
    iprot.readStructBegin()
9753
    while True:
9754
      (fname, ftype, fid) = iprot.readFieldBegin()
9755
      if ftype == TType.STOP:
9756
        break
9757
      if fid == 1:
9758
        if ftype == TType.STRUCT:
9759
          self.cex = CatalogServiceException()
9760
          self.cex.read(iprot)
9761
        else:
9762
          iprot.skip(ftype)
9763
      else:
9764
        iprot.skip(ftype)
9765
      iprot.readFieldEnd()
9766
    iprot.readStructEnd()
9767
 
9768
  def write(self, oprot):
9769
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9770
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9771
      return
9772
    oprot.writeStructBegin('changeItemStatus_result')
9773
    if self.cex is not None:
9774
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9775
      self.cex.write(oprot)
9776
      oprot.writeFieldEnd()
9777
    oprot.writeFieldStop()
9778
    oprot.writeStructEnd()
9779
 
9780
  def validate(self):
9781
    return
9782
 
9783
 
9784
  def __repr__(self):
9785
    L = ['%s=%r' % (key, value)
9786
      for key, value in self.__dict__.iteritems()]
9787
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9788
 
9789
  def __eq__(self, other):
9790
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9791
 
9792
  def __ne__(self, other):
9793
    return not (self == other)
9794
 
9795
class getItem_args:
9796
  """
9797
  Attributes:
9798
   - item_id
9799
  """
9800
 
9801
  thrift_spec = (
9802
    None, # 0
9803
    (1, TType.I64, 'item_id', None, None, ), # 1
9804
  )
9805
 
9806
  def __init__(self, item_id=None,):
9807
    self.item_id = item_id
9808
 
9809
  def read(self, iprot):
9810
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9811
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9812
      return
9813
    iprot.readStructBegin()
9814
    while True:
9815
      (fname, ftype, fid) = iprot.readFieldBegin()
9816
      if ftype == TType.STOP:
9817
        break
9818
      if fid == 1:
9819
        if ftype == TType.I64:
9820
          self.item_id = iprot.readI64();
9821
        else:
9822
          iprot.skip(ftype)
9823
      else:
9824
        iprot.skip(ftype)
9825
      iprot.readFieldEnd()
9826
    iprot.readStructEnd()
9827
 
9828
  def write(self, oprot):
9829
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9830
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9831
      return
9832
    oprot.writeStructBegin('getItem_args')
9833
    if self.item_id is not None:
9834
      oprot.writeFieldBegin('item_id', TType.I64, 1)
9835
      oprot.writeI64(self.item_id)
9836
      oprot.writeFieldEnd()
9837
    oprot.writeFieldStop()
9838
    oprot.writeStructEnd()
9839
 
9840
  def validate(self):
9841
    return
9842
 
9843
 
9844
  def __repr__(self):
9845
    L = ['%s=%r' % (key, value)
9846
      for key, value in self.__dict__.iteritems()]
9847
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9848
 
9849
  def __eq__(self, other):
9850
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9851
 
9852
  def __ne__(self, other):
9853
    return not (self == other)
9854
 
9855
class getItem_result:
9856
  """
9857
  Attributes:
9858
   - success
9859
   - cex
9860
  """
9861
 
9862
  thrift_spec = (
9863
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
9864
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9865
  )
9866
 
9867
  def __init__(self, success=None, cex=None,):
9868
    self.success = success
9869
    self.cex = cex
9870
 
9871
  def read(self, iprot):
9872
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9873
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9874
      return
9875
    iprot.readStructBegin()
9876
    while True:
9877
      (fname, ftype, fid) = iprot.readFieldBegin()
9878
      if ftype == TType.STOP:
9879
        break
9880
      if fid == 0:
9881
        if ftype == TType.STRUCT:
9882
          self.success = Item()
9883
          self.success.read(iprot)
9884
        else:
9885
          iprot.skip(ftype)
9886
      elif fid == 1:
9887
        if ftype == TType.STRUCT:
9888
          self.cex = CatalogServiceException()
9889
          self.cex.read(iprot)
9890
        else:
9891
          iprot.skip(ftype)
9892
      else:
9893
        iprot.skip(ftype)
9894
      iprot.readFieldEnd()
9895
    iprot.readStructEnd()
9896
 
9897
  def write(self, oprot):
9898
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9899
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9900
      return
9901
    oprot.writeStructBegin('getItem_result')
9902
    if self.success is not None:
9903
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
9904
      self.success.write(oprot)
9905
      oprot.writeFieldEnd()
9906
    if self.cex is not None:
9907
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9908
      self.cex.write(oprot)
9909
      oprot.writeFieldEnd()
9910
    oprot.writeFieldStop()
9911
    oprot.writeStructEnd()
9912
 
9913
  def validate(self):
9914
    return
9915
 
9916
 
9917
  def __repr__(self):
9918
    L = ['%s=%r' % (key, value)
9919
      for key, value in self.__dict__.iteritems()]
9920
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9921
 
9922
  def __eq__(self, other):
9923
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9924
 
9925
  def __ne__(self, other):
9926
    return not (self == other)
9927
 
9928
class getItemsByCatalogId_args:
9929
  """
9930
  Attributes:
9931
   - catalog_item_id
9932
  """
9933
 
9934
  thrift_spec = (
9935
    None, # 0
9936
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
9937
  )
9938
 
9939
  def __init__(self, catalog_item_id=None,):
9940
    self.catalog_item_id = catalog_item_id
9941
 
9942
  def read(self, iprot):
9943
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9944
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9945
      return
9946
    iprot.readStructBegin()
9947
    while True:
9948
      (fname, ftype, fid) = iprot.readFieldBegin()
9949
      if ftype == TType.STOP:
9950
        break
9951
      if fid == 1:
9952
        if ftype == TType.I64:
9953
          self.catalog_item_id = iprot.readI64();
9954
        else:
9955
          iprot.skip(ftype)
9956
      else:
9957
        iprot.skip(ftype)
9958
      iprot.readFieldEnd()
9959
    iprot.readStructEnd()
9960
 
9961
  def write(self, oprot):
9962
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9963
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9964
      return
9965
    oprot.writeStructBegin('getItemsByCatalogId_args')
9966
    if self.catalog_item_id is not None:
9967
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
9968
      oprot.writeI64(self.catalog_item_id)
9969
      oprot.writeFieldEnd()
9970
    oprot.writeFieldStop()
9971
    oprot.writeStructEnd()
9972
 
9973
  def validate(self):
9974
    return
9975
 
9976
 
9977
  def __repr__(self):
9978
    L = ['%s=%r' % (key, value)
9979
      for key, value in self.__dict__.iteritems()]
9980
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9981
 
9982
  def __eq__(self, other):
9983
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9984
 
9985
  def __ne__(self, other):
9986
    return not (self == other)
9987
 
9988
class getItemsByCatalogId_result:
9989
  """
9990
  Attributes:
9991
   - success
9992
   - cex
9993
  """
9994
 
9995
  thrift_spec = (
9996
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
9997
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9998
  )
9999
 
10000
  def __init__(self, success=None, cex=None,):
10001
    self.success = success
10002
    self.cex = cex
10003
 
10004
  def read(self, iprot):
10005
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10006
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10007
      return
10008
    iprot.readStructBegin()
10009
    while True:
10010
      (fname, ftype, fid) = iprot.readFieldBegin()
10011
      if ftype == TType.STOP:
10012
        break
10013
      if fid == 0:
10014
        if ftype == TType.LIST:
10015
          self.success = []
8590 kshitij.so 10016
          (_etype49, _size46) = iprot.readListBegin()
10017
          for _i50 in xrange(_size46):
10018
            _elem51 = Item()
10019
            _elem51.read(iprot)
10020
            self.success.append(_elem51)
5944 mandeep.dh 10021
          iprot.readListEnd()
10022
        else:
10023
          iprot.skip(ftype)
10024
      elif fid == 1:
10025
        if ftype == TType.STRUCT:
10026
          self.cex = CatalogServiceException()
10027
          self.cex.read(iprot)
10028
        else:
10029
          iprot.skip(ftype)
10030
      else:
10031
        iprot.skip(ftype)
10032
      iprot.readFieldEnd()
10033
    iprot.readStructEnd()
10034
 
10035
  def write(self, oprot):
10036
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10037
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10038
      return
10039
    oprot.writeStructBegin('getItemsByCatalogId_result')
10040
    if self.success is not None:
10041
      oprot.writeFieldBegin('success', TType.LIST, 0)
10042
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 10043
      for iter52 in self.success:
10044
        iter52.write(oprot)
5944 mandeep.dh 10045
      oprot.writeListEnd()
10046
      oprot.writeFieldEnd()
10047
    if self.cex is not None:
10048
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10049
      self.cex.write(oprot)
10050
      oprot.writeFieldEnd()
10051
    oprot.writeFieldStop()
10052
    oprot.writeStructEnd()
10053
 
10054
  def validate(self):
10055
    return
10056
 
10057
 
10058
  def __repr__(self):
10059
    L = ['%s=%r' % (key, value)
10060
      for key, value in self.__dict__.iteritems()]
10061
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10062
 
10063
  def __eq__(self, other):
10064
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10065
 
10066
  def __ne__(self, other):
10067
    return not (self == other)
10068
 
10069
class getValidItemsByCatalogId_args:
10070
  """
10071
  Attributes:
10072
   - catalog_item_id
10073
  """
10074
 
10075
  thrift_spec = (
10076
    None, # 0
10077
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
10078
  )
10079
 
10080
  def __init__(self, catalog_item_id=None,):
10081
    self.catalog_item_id = catalog_item_id
10082
 
10083
  def read(self, iprot):
10084
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10085
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10086
      return
10087
    iprot.readStructBegin()
10088
    while True:
10089
      (fname, ftype, fid) = iprot.readFieldBegin()
10090
      if ftype == TType.STOP:
10091
        break
10092
      if fid == 1:
10093
        if ftype == TType.I64:
10094
          self.catalog_item_id = iprot.readI64();
10095
        else:
10096
          iprot.skip(ftype)
10097
      else:
10098
        iprot.skip(ftype)
10099
      iprot.readFieldEnd()
10100
    iprot.readStructEnd()
10101
 
10102
  def write(self, oprot):
10103
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10104
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10105
      return
10106
    oprot.writeStructBegin('getValidItemsByCatalogId_args')
10107
    if self.catalog_item_id is not None:
10108
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
10109
      oprot.writeI64(self.catalog_item_id)
10110
      oprot.writeFieldEnd()
10111
    oprot.writeFieldStop()
10112
    oprot.writeStructEnd()
10113
 
10114
  def validate(self):
10115
    return
10116
 
10117
 
10118
  def __repr__(self):
10119
    L = ['%s=%r' % (key, value)
10120
      for key, value in self.__dict__.iteritems()]
10121
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10122
 
10123
  def __eq__(self, other):
10124
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10125
 
10126
  def __ne__(self, other):
10127
    return not (self == other)
10128
 
10129
class getValidItemsByCatalogId_result:
10130
  """
10131
  Attributes:
10132
   - success
10133
   - cex
10134
  """
10135
 
10136
  thrift_spec = (
10137
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10138
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10139
  )
10140
 
10141
  def __init__(self, success=None, cex=None,):
10142
    self.success = success
10143
    self.cex = cex
10144
 
10145
  def read(self, iprot):
10146
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10147
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10148
      return
10149
    iprot.readStructBegin()
10150
    while True:
10151
      (fname, ftype, fid) = iprot.readFieldBegin()
10152
      if ftype == TType.STOP:
10153
        break
10154
      if fid == 0:
10155
        if ftype == TType.LIST:
10156
          self.success = []
8590 kshitij.so 10157
          (_etype56, _size53) = iprot.readListBegin()
10158
          for _i57 in xrange(_size53):
10159
            _elem58 = Item()
10160
            _elem58.read(iprot)
10161
            self.success.append(_elem58)
5944 mandeep.dh 10162
          iprot.readListEnd()
10163
        else:
10164
          iprot.skip(ftype)
10165
      elif fid == 1:
10166
        if ftype == TType.STRUCT:
10167
          self.cex = CatalogServiceException()
10168
          self.cex.read(iprot)
10169
        else:
10170
          iprot.skip(ftype)
10171
      else:
10172
        iprot.skip(ftype)
10173
      iprot.readFieldEnd()
10174
    iprot.readStructEnd()
10175
 
10176
  def write(self, oprot):
10177
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10178
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10179
      return
10180
    oprot.writeStructBegin('getValidItemsByCatalogId_result')
10181
    if self.success is not None:
10182
      oprot.writeFieldBegin('success', TType.LIST, 0)
10183
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 10184
      for iter59 in self.success:
10185
        iter59.write(oprot)
5944 mandeep.dh 10186
      oprot.writeListEnd()
10187
      oprot.writeFieldEnd()
10188
    if self.cex is not None:
10189
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10190
      self.cex.write(oprot)
10191
      oprot.writeFieldEnd()
10192
    oprot.writeFieldStop()
10193
    oprot.writeStructEnd()
10194
 
10195
  def validate(self):
10196
    return
10197
 
10198
 
10199
  def __repr__(self):
10200
    L = ['%s=%r' % (key, value)
10201
      for key, value in self.__dict__.iteritems()]
10202
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10203
 
10204
  def __eq__(self, other):
10205
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10206
 
10207
  def __ne__(self, other):
10208
    return not (self == other)
10209
 
10210
class getAllItems_args:
10211
  """
10212
  Attributes:
10213
   - isActive
10214
  """
10215
 
10216
  thrift_spec = (
10217
    None, # 0
10218
    (1, TType.BOOL, 'isActive', None, None, ), # 1
10219
  )
10220
 
10221
  def __init__(self, isActive=None,):
10222
    self.isActive = isActive
10223
 
10224
  def read(self, iprot):
10225
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10226
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10227
      return
10228
    iprot.readStructBegin()
10229
    while True:
10230
      (fname, ftype, fid) = iprot.readFieldBegin()
10231
      if ftype == TType.STOP:
10232
        break
10233
      if fid == 1:
10234
        if ftype == TType.BOOL:
10235
          self.isActive = iprot.readBool();
10236
        else:
10237
          iprot.skip(ftype)
10238
      else:
10239
        iprot.skip(ftype)
10240
      iprot.readFieldEnd()
10241
    iprot.readStructEnd()
10242
 
10243
  def write(self, oprot):
10244
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10245
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10246
      return
10247
    oprot.writeStructBegin('getAllItems_args')
10248
    if self.isActive is not None:
10249
      oprot.writeFieldBegin('isActive', TType.BOOL, 1)
10250
      oprot.writeBool(self.isActive)
10251
      oprot.writeFieldEnd()
10252
    oprot.writeFieldStop()
10253
    oprot.writeStructEnd()
10254
 
10255
  def validate(self):
10256
    return
10257
 
10258
 
10259
  def __repr__(self):
10260
    L = ['%s=%r' % (key, value)
10261
      for key, value in self.__dict__.iteritems()]
10262
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10263
 
10264
  def __eq__(self, other):
10265
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10266
 
10267
  def __ne__(self, other):
10268
    return not (self == other)
10269
 
10270
class getAllItems_result:
10271
  """
10272
  Attributes:
10273
   - success
10274
   - cex
10275
  """
10276
 
10277
  thrift_spec = (
10278
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10279
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10280
  )
10281
 
10282
  def __init__(self, success=None, cex=None,):
10283
    self.success = success
10284
    self.cex = cex
10285
 
10286
  def read(self, iprot):
10287
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10288
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10289
      return
10290
    iprot.readStructBegin()
10291
    while True:
10292
      (fname, ftype, fid) = iprot.readFieldBegin()
10293
      if ftype == TType.STOP:
10294
        break
10295
      if fid == 0:
10296
        if ftype == TType.LIST:
10297
          self.success = []
8590 kshitij.so 10298
          (_etype63, _size60) = iprot.readListBegin()
10299
          for _i64 in xrange(_size60):
10300
            _elem65 = Item()
10301
            _elem65.read(iprot)
10302
            self.success.append(_elem65)
5944 mandeep.dh 10303
          iprot.readListEnd()
10304
        else:
10305
          iprot.skip(ftype)
10306
      elif fid == 1:
10307
        if ftype == TType.STRUCT:
10308
          self.cex = CatalogServiceException()
10309
          self.cex.read(iprot)
10310
        else:
10311
          iprot.skip(ftype)
10312
      else:
10313
        iprot.skip(ftype)
10314
      iprot.readFieldEnd()
10315
    iprot.readStructEnd()
10316
 
10317
  def write(self, oprot):
10318
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10319
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10320
      return
10321
    oprot.writeStructBegin('getAllItems_result')
10322
    if self.success is not None:
10323
      oprot.writeFieldBegin('success', TType.LIST, 0)
10324
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 10325
      for iter66 in self.success:
10326
        iter66.write(oprot)
5944 mandeep.dh 10327
      oprot.writeListEnd()
10328
      oprot.writeFieldEnd()
10329
    if self.cex is not None:
10330
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10331
      self.cex.write(oprot)
10332
      oprot.writeFieldEnd()
10333
    oprot.writeFieldStop()
10334
    oprot.writeStructEnd()
10335
 
10336
  def validate(self):
10337
    return
10338
 
10339
 
10340
  def __repr__(self):
10341
    L = ['%s=%r' % (key, value)
10342
      for key, value in self.__dict__.iteritems()]
10343
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10344
 
10345
  def __eq__(self, other):
10346
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10347
 
10348
  def __ne__(self, other):
10349
    return not (self == other)
10350
 
10351
class getAllItemsByStatus_args:
10352
  """
10353
  Attributes:
10354
   - itemStatus
10355
  """
10356
 
10357
  thrift_spec = (
10358
    None, # 0
10359
    (1, TType.I32, 'itemStatus', None, None, ), # 1
10360
  )
10361
 
10362
  def __init__(self, itemStatus=None,):
10363
    self.itemStatus = itemStatus
10364
 
10365
  def read(self, iprot):
10366
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10367
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10368
      return
10369
    iprot.readStructBegin()
10370
    while True:
10371
      (fname, ftype, fid) = iprot.readFieldBegin()
10372
      if ftype == TType.STOP:
10373
        break
10374
      if fid == 1:
10375
        if ftype == TType.I32:
10376
          self.itemStatus = iprot.readI32();
10377
        else:
10378
          iprot.skip(ftype)
10379
      else:
10380
        iprot.skip(ftype)
10381
      iprot.readFieldEnd()
10382
    iprot.readStructEnd()
10383
 
10384
  def write(self, oprot):
10385
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10386
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10387
      return
10388
    oprot.writeStructBegin('getAllItemsByStatus_args')
10389
    if self.itemStatus is not None:
10390
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
10391
      oprot.writeI32(self.itemStatus)
10392
      oprot.writeFieldEnd()
10393
    oprot.writeFieldStop()
10394
    oprot.writeStructEnd()
10395
 
10396
  def validate(self):
10397
    return
10398
 
10399
 
10400
  def __repr__(self):
10401
    L = ['%s=%r' % (key, value)
10402
      for key, value in self.__dict__.iteritems()]
10403
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10404
 
10405
  def __eq__(self, other):
10406
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10407
 
10408
  def __ne__(self, other):
10409
    return not (self == other)
10410
 
10411
class getAllItemsByStatus_result:
10412
  """
10413
  Attributes:
10414
   - success
10415
   - cex
10416
  """
10417
 
10418
  thrift_spec = (
10419
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10420
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10421
  )
10422
 
10423
  def __init__(self, success=None, cex=None,):
10424
    self.success = success
10425
    self.cex = cex
10426
 
10427
  def read(self, iprot):
10428
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10429
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10430
      return
10431
    iprot.readStructBegin()
10432
    while True:
10433
      (fname, ftype, fid) = iprot.readFieldBegin()
10434
      if ftype == TType.STOP:
10435
        break
10436
      if fid == 0:
10437
        if ftype == TType.LIST:
10438
          self.success = []
8590 kshitij.so 10439
          (_etype70, _size67) = iprot.readListBegin()
10440
          for _i71 in xrange(_size67):
10441
            _elem72 = Item()
10442
            _elem72.read(iprot)
10443
            self.success.append(_elem72)
5944 mandeep.dh 10444
          iprot.readListEnd()
10445
        else:
10446
          iprot.skip(ftype)
10447
      elif fid == 1:
10448
        if ftype == TType.STRUCT:
10449
          self.cex = CatalogServiceException()
10450
          self.cex.read(iprot)
10451
        else:
10452
          iprot.skip(ftype)
10453
      else:
10454
        iprot.skip(ftype)
10455
      iprot.readFieldEnd()
10456
    iprot.readStructEnd()
10457
 
10458
  def write(self, oprot):
10459
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10460
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10461
      return
10462
    oprot.writeStructBegin('getAllItemsByStatus_result')
10463
    if self.success is not None:
10464
      oprot.writeFieldBegin('success', TType.LIST, 0)
10465
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 10466
      for iter73 in self.success:
10467
        iter73.write(oprot)
5944 mandeep.dh 10468
      oprot.writeListEnd()
10469
      oprot.writeFieldEnd()
10470
    if self.cex is not None:
10471
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10472
      self.cex.write(oprot)
10473
      oprot.writeFieldEnd()
10474
    oprot.writeFieldStop()
10475
    oprot.writeStructEnd()
10476
 
10477
  def validate(self):
10478
    return
10479
 
10480
 
10481
  def __repr__(self):
10482
    L = ['%s=%r' % (key, value)
10483
      for key, value in self.__dict__.iteritems()]
10484
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10485
 
10486
  def __eq__(self, other):
10487
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10488
 
10489
  def __ne__(self, other):
10490
    return not (self == other)
10491
 
10492
class markItemAsContentComplete_args:
10493
  """
10494
  Attributes:
10495
   - entityId
10496
   - category
10497
   - brand
10498
   - modelName
10499
   - modelNumber
9253 rajveer 10500
   - isAndroid
5944 mandeep.dh 10501
  """
10502
 
10503
  thrift_spec = (
10504
    None, # 0
10505
    (1, TType.I64, 'entityId', None, None, ), # 1
10506
    (2, TType.I64, 'category', None, None, ), # 2
10507
    (3, TType.STRING, 'brand', None, None, ), # 3
10508
    (4, TType.STRING, 'modelName', None, None, ), # 4
10509
    (5, TType.STRING, 'modelNumber', None, None, ), # 5
9253 rajveer 10510
    (6, TType.BOOL, 'isAndroid', None, None, ), # 6
5944 mandeep.dh 10511
  )
10512
 
9253 rajveer 10513
  def __init__(self, entityId=None, category=None, brand=None, modelName=None, modelNumber=None, isAndroid=None,):
5944 mandeep.dh 10514
    self.entityId = entityId
10515
    self.category = category
10516
    self.brand = brand
10517
    self.modelName = modelName
10518
    self.modelNumber = modelNumber
9253 rajveer 10519
    self.isAndroid = isAndroid
5944 mandeep.dh 10520
 
10521
  def read(self, iprot):
10522
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10523
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10524
      return
10525
    iprot.readStructBegin()
10526
    while True:
10527
      (fname, ftype, fid) = iprot.readFieldBegin()
10528
      if ftype == TType.STOP:
10529
        break
10530
      if fid == 1:
10531
        if ftype == TType.I64:
10532
          self.entityId = iprot.readI64();
10533
        else:
10534
          iprot.skip(ftype)
10535
      elif fid == 2:
10536
        if ftype == TType.I64:
10537
          self.category = iprot.readI64();
10538
        else:
10539
          iprot.skip(ftype)
10540
      elif fid == 3:
10541
        if ftype == TType.STRING:
10542
          self.brand = iprot.readString();
10543
        else:
10544
          iprot.skip(ftype)
10545
      elif fid == 4:
10546
        if ftype == TType.STRING:
10547
          self.modelName = iprot.readString();
10548
        else:
10549
          iprot.skip(ftype)
10550
      elif fid == 5:
10551
        if ftype == TType.STRING:
10552
          self.modelNumber = iprot.readString();
10553
        else:
10554
          iprot.skip(ftype)
9253 rajveer 10555
      elif fid == 6:
10556
        if ftype == TType.BOOL:
10557
          self.isAndroid = iprot.readBool();
10558
        else:
10559
          iprot.skip(ftype)
5944 mandeep.dh 10560
      else:
10561
        iprot.skip(ftype)
10562
      iprot.readFieldEnd()
10563
    iprot.readStructEnd()
10564
 
10565
  def write(self, oprot):
10566
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10567
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10568
      return
10569
    oprot.writeStructBegin('markItemAsContentComplete_args')
10570
    if self.entityId is not None:
10571
      oprot.writeFieldBegin('entityId', TType.I64, 1)
10572
      oprot.writeI64(self.entityId)
10573
      oprot.writeFieldEnd()
10574
    if self.category is not None:
10575
      oprot.writeFieldBegin('category', TType.I64, 2)
10576
      oprot.writeI64(self.category)
10577
      oprot.writeFieldEnd()
10578
    if self.brand is not None:
10579
      oprot.writeFieldBegin('brand', TType.STRING, 3)
10580
      oprot.writeString(self.brand)
10581
      oprot.writeFieldEnd()
10582
    if self.modelName is not None:
10583
      oprot.writeFieldBegin('modelName', TType.STRING, 4)
10584
      oprot.writeString(self.modelName)
10585
      oprot.writeFieldEnd()
10586
    if self.modelNumber is not None:
10587
      oprot.writeFieldBegin('modelNumber', TType.STRING, 5)
10588
      oprot.writeString(self.modelNumber)
10589
      oprot.writeFieldEnd()
9253 rajveer 10590
    if self.isAndroid is not None:
10591
      oprot.writeFieldBegin('isAndroid', TType.BOOL, 6)
10592
      oprot.writeBool(self.isAndroid)
10593
      oprot.writeFieldEnd()
5944 mandeep.dh 10594
    oprot.writeFieldStop()
10595
    oprot.writeStructEnd()
10596
 
10597
  def validate(self):
10598
    return
10599
 
10600
 
10601
  def __repr__(self):
10602
    L = ['%s=%r' % (key, value)
10603
      for key, value in self.__dict__.iteritems()]
10604
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10605
 
10606
  def __eq__(self, other):
10607
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10608
 
10609
  def __ne__(self, other):
10610
    return not (self == other)
10611
 
10612
class markItemAsContentComplete_result:
10613
  """
10614
  Attributes:
10615
   - success
10616
   - cex
10617
  """
10618
 
10619
  thrift_spec = (
10620
    (0, TType.BOOL, 'success', None, None, ), # 0
10621
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10622
  )
10623
 
10624
  def __init__(self, success=None, cex=None,):
10625
    self.success = success
10626
    self.cex = cex
10627
 
10628
  def read(self, iprot):
10629
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10630
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10631
      return
10632
    iprot.readStructBegin()
10633
    while True:
10634
      (fname, ftype, fid) = iprot.readFieldBegin()
10635
      if ftype == TType.STOP:
10636
        break
10637
      if fid == 0:
10638
        if ftype == TType.BOOL:
10639
          self.success = iprot.readBool();
10640
        else:
10641
          iprot.skip(ftype)
10642
      elif fid == 1:
10643
        if ftype == TType.STRUCT:
10644
          self.cex = CatalogServiceException()
10645
          self.cex.read(iprot)
10646
        else:
10647
          iprot.skip(ftype)
10648
      else:
10649
        iprot.skip(ftype)
10650
      iprot.readFieldEnd()
10651
    iprot.readStructEnd()
10652
 
10653
  def write(self, oprot):
10654
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10655
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10656
      return
10657
    oprot.writeStructBegin('markItemAsContentComplete_result')
10658
    if self.success is not None:
10659
      oprot.writeFieldBegin('success', TType.BOOL, 0)
10660
      oprot.writeBool(self.success)
10661
      oprot.writeFieldEnd()
10662
    if self.cex is not None:
10663
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10664
      self.cex.write(oprot)
10665
      oprot.writeFieldEnd()
10666
    oprot.writeFieldStop()
10667
    oprot.writeStructEnd()
10668
 
10669
  def validate(self):
10670
    return
10671
 
10672
 
10673
  def __repr__(self):
10674
    L = ['%s=%r' % (key, value)
10675
      for key, value in self.__dict__.iteritems()]
10676
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10677
 
10678
  def __eq__(self, other):
10679
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10680
 
10681
  def __ne__(self, other):
10682
    return not (self == other)
10683
 
10684
class getAllItemsInRange_args:
10685
  """
10686
  Attributes:
10687
   - offset
10688
   - limit
10689
  """
10690
 
10691
  thrift_spec = (
10692
    None, # 0
10693
    (1, TType.I64, 'offset', None, None, ), # 1
10694
    (2, TType.I64, 'limit', None, None, ), # 2
10695
  )
10696
 
10697
  def __init__(self, offset=None, limit=None,):
10698
    self.offset = offset
10699
    self.limit = limit
10700
 
10701
  def read(self, iprot):
10702
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10703
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10704
      return
10705
    iprot.readStructBegin()
10706
    while True:
10707
      (fname, ftype, fid) = iprot.readFieldBegin()
10708
      if ftype == TType.STOP:
10709
        break
10710
      if fid == 1:
10711
        if ftype == TType.I64:
10712
          self.offset = iprot.readI64();
10713
        else:
10714
          iprot.skip(ftype)
10715
      elif fid == 2:
10716
        if ftype == TType.I64:
10717
          self.limit = iprot.readI64();
10718
        else:
10719
          iprot.skip(ftype)
10720
      else:
10721
        iprot.skip(ftype)
10722
      iprot.readFieldEnd()
10723
    iprot.readStructEnd()
10724
 
10725
  def write(self, oprot):
10726
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10727
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10728
      return
10729
    oprot.writeStructBegin('getAllItemsInRange_args')
10730
    if self.offset is not None:
10731
      oprot.writeFieldBegin('offset', TType.I64, 1)
10732
      oprot.writeI64(self.offset)
10733
      oprot.writeFieldEnd()
10734
    if self.limit is not None:
10735
      oprot.writeFieldBegin('limit', TType.I64, 2)
10736
      oprot.writeI64(self.limit)
10737
      oprot.writeFieldEnd()
10738
    oprot.writeFieldStop()
10739
    oprot.writeStructEnd()
10740
 
10741
  def validate(self):
10742
    return
10743
 
10744
 
10745
  def __repr__(self):
10746
    L = ['%s=%r' % (key, value)
10747
      for key, value in self.__dict__.iteritems()]
10748
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10749
 
10750
  def __eq__(self, other):
10751
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10752
 
10753
  def __ne__(self, other):
10754
    return not (self == other)
10755
 
10756
class getAllItemsInRange_result:
10757
  """
10758
  Attributes:
10759
   - success
10760
   - cex
10761
  """
10762
 
10763
  thrift_spec = (
10764
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10765
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10766
  )
10767
 
10768
  def __init__(self, success=None, cex=None,):
10769
    self.success = success
10770
    self.cex = cex
10771
 
10772
  def read(self, iprot):
10773
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10774
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10775
      return
10776
    iprot.readStructBegin()
10777
    while True:
10778
      (fname, ftype, fid) = iprot.readFieldBegin()
10779
      if ftype == TType.STOP:
10780
        break
10781
      if fid == 0:
10782
        if ftype == TType.LIST:
10783
          self.success = []
8590 kshitij.so 10784
          (_etype77, _size74) = iprot.readListBegin()
10785
          for _i78 in xrange(_size74):
10786
            _elem79 = Item()
10787
            _elem79.read(iprot)
10788
            self.success.append(_elem79)
5944 mandeep.dh 10789
          iprot.readListEnd()
10790
        else:
10791
          iprot.skip(ftype)
10792
      elif fid == 1:
10793
        if ftype == TType.STRUCT:
10794
          self.cex = CatalogServiceException()
10795
          self.cex.read(iprot)
10796
        else:
10797
          iprot.skip(ftype)
10798
      else:
10799
        iprot.skip(ftype)
10800
      iprot.readFieldEnd()
10801
    iprot.readStructEnd()
10802
 
10803
  def write(self, oprot):
10804
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10805
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10806
      return
10807
    oprot.writeStructBegin('getAllItemsInRange_result')
10808
    if self.success is not None:
10809
      oprot.writeFieldBegin('success', TType.LIST, 0)
10810
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 10811
      for iter80 in self.success:
10812
        iter80.write(oprot)
5944 mandeep.dh 10813
      oprot.writeListEnd()
10814
      oprot.writeFieldEnd()
10815
    if self.cex is not None:
10816
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10817
      self.cex.write(oprot)
10818
      oprot.writeFieldEnd()
10819
    oprot.writeFieldStop()
10820
    oprot.writeStructEnd()
10821
 
10822
  def validate(self):
10823
    return
10824
 
10825
 
10826
  def __repr__(self):
10827
    L = ['%s=%r' % (key, value)
10828
      for key, value in self.__dict__.iteritems()]
10829
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10830
 
10831
  def __eq__(self, other):
10832
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10833
 
10834
  def __ne__(self, other):
10835
    return not (self == other)
10836
 
10837
class getAllItemsByStatusInRange_args:
10838
  """
10839
  Attributes:
10840
   - itemStatus
10841
   - offset
10842
   - limit
10843
  """
10844
 
10845
  thrift_spec = (
10846
    None, # 0
10847
    (1, TType.I32, 'itemStatus', None, None, ), # 1
10848
    (2, TType.I64, 'offset', None, None, ), # 2
10849
    (3, TType.I64, 'limit', None, None, ), # 3
10850
  )
10851
 
10852
  def __init__(self, itemStatus=None, offset=None, limit=None,):
10853
    self.itemStatus = itemStatus
10854
    self.offset = offset
10855
    self.limit = limit
10856
 
10857
  def read(self, iprot):
10858
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10859
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10860
      return
10861
    iprot.readStructBegin()
10862
    while True:
10863
      (fname, ftype, fid) = iprot.readFieldBegin()
10864
      if ftype == TType.STOP:
10865
        break
10866
      if fid == 1:
10867
        if ftype == TType.I32:
10868
          self.itemStatus = iprot.readI32();
10869
        else:
10870
          iprot.skip(ftype)
10871
      elif fid == 2:
10872
        if ftype == TType.I64:
10873
          self.offset = iprot.readI64();
10874
        else:
10875
          iprot.skip(ftype)
10876
      elif fid == 3:
10877
        if ftype == TType.I64:
10878
          self.limit = iprot.readI64();
10879
        else:
10880
          iprot.skip(ftype)
10881
      else:
10882
        iprot.skip(ftype)
10883
      iprot.readFieldEnd()
10884
    iprot.readStructEnd()
10885
 
10886
  def write(self, oprot):
10887
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10888
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10889
      return
10890
    oprot.writeStructBegin('getAllItemsByStatusInRange_args')
10891
    if self.itemStatus is not None:
10892
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
10893
      oprot.writeI32(self.itemStatus)
10894
      oprot.writeFieldEnd()
10895
    if self.offset is not None:
10896
      oprot.writeFieldBegin('offset', TType.I64, 2)
10897
      oprot.writeI64(self.offset)
10898
      oprot.writeFieldEnd()
10899
    if self.limit is not None:
10900
      oprot.writeFieldBegin('limit', TType.I64, 3)
10901
      oprot.writeI64(self.limit)
10902
      oprot.writeFieldEnd()
10903
    oprot.writeFieldStop()
10904
    oprot.writeStructEnd()
10905
 
10906
  def validate(self):
10907
    return
10908
 
10909
 
10910
  def __repr__(self):
10911
    L = ['%s=%r' % (key, value)
10912
      for key, value in self.__dict__.iteritems()]
10913
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10914
 
10915
  def __eq__(self, other):
10916
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10917
 
10918
  def __ne__(self, other):
10919
    return not (self == other)
10920
 
10921
class getAllItemsByStatusInRange_result:
10922
  """
10923
  Attributes:
10924
   - success
10925
   - cex
10926
  """
10927
 
10928
  thrift_spec = (
10929
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10930
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10931
  )
10932
 
10933
  def __init__(self, success=None, cex=None,):
10934
    self.success = success
10935
    self.cex = cex
10936
 
10937
  def read(self, iprot):
10938
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10939
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10940
      return
10941
    iprot.readStructBegin()
10942
    while True:
10943
      (fname, ftype, fid) = iprot.readFieldBegin()
10944
      if ftype == TType.STOP:
10945
        break
10946
      if fid == 0:
10947
        if ftype == TType.LIST:
10948
          self.success = []
8590 kshitij.so 10949
          (_etype84, _size81) = iprot.readListBegin()
10950
          for _i85 in xrange(_size81):
10951
            _elem86 = Item()
10952
            _elem86.read(iprot)
10953
            self.success.append(_elem86)
5944 mandeep.dh 10954
          iprot.readListEnd()
10955
        else:
10956
          iprot.skip(ftype)
10957
      elif fid == 1:
10958
        if ftype == TType.STRUCT:
10959
          self.cex = CatalogServiceException()
10960
          self.cex.read(iprot)
10961
        else:
10962
          iprot.skip(ftype)
10963
      else:
10964
        iprot.skip(ftype)
10965
      iprot.readFieldEnd()
10966
    iprot.readStructEnd()
10967
 
10968
  def write(self, oprot):
10969
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10970
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10971
      return
10972
    oprot.writeStructBegin('getAllItemsByStatusInRange_result')
10973
    if self.success is not None:
10974
      oprot.writeFieldBegin('success', TType.LIST, 0)
10975
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 10976
      for iter87 in self.success:
10977
        iter87.write(oprot)
5944 mandeep.dh 10978
      oprot.writeListEnd()
10979
      oprot.writeFieldEnd()
10980
    if self.cex is not None:
10981
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10982
      self.cex.write(oprot)
10983
      oprot.writeFieldEnd()
10984
    oprot.writeFieldStop()
10985
    oprot.writeStructEnd()
10986
 
10987
  def validate(self):
10988
    return
10989
 
10990
 
10991
  def __repr__(self):
10992
    L = ['%s=%r' % (key, value)
10993
      for key, value in self.__dict__.iteritems()]
10994
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10995
 
10996
  def __eq__(self, other):
10997
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10998
 
10999
  def __ne__(self, other):
11000
    return not (self == other)
11001
 
11002
class getItemCountByStatus_args:
11003
  """
11004
  Attributes:
11005
   - useStatus
11006
   - itemStatus
11007
  """
11008
 
11009
  thrift_spec = (
11010
    None, # 0
11011
    (1, TType.BOOL, 'useStatus', None, None, ), # 1
11012
    (2, TType.I32, 'itemStatus', None, None, ), # 2
11013
  )
11014
 
11015
  def __init__(self, useStatus=None, itemStatus=None,):
11016
    self.useStatus = useStatus
11017
    self.itemStatus = itemStatus
11018
 
11019
  def read(self, iprot):
11020
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11021
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11022
      return
11023
    iprot.readStructBegin()
11024
    while True:
11025
      (fname, ftype, fid) = iprot.readFieldBegin()
11026
      if ftype == TType.STOP:
11027
        break
11028
      if fid == 1:
11029
        if ftype == TType.BOOL:
11030
          self.useStatus = iprot.readBool();
11031
        else:
11032
          iprot.skip(ftype)
11033
      elif fid == 2:
11034
        if ftype == TType.I32:
11035
          self.itemStatus = iprot.readI32();
11036
        else:
11037
          iprot.skip(ftype)
11038
      else:
11039
        iprot.skip(ftype)
11040
      iprot.readFieldEnd()
11041
    iprot.readStructEnd()
11042
 
11043
  def write(self, oprot):
11044
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11045
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11046
      return
11047
    oprot.writeStructBegin('getItemCountByStatus_args')
11048
    if self.useStatus is not None:
11049
      oprot.writeFieldBegin('useStatus', TType.BOOL, 1)
11050
      oprot.writeBool(self.useStatus)
11051
      oprot.writeFieldEnd()
11052
    if self.itemStatus is not None:
11053
      oprot.writeFieldBegin('itemStatus', TType.I32, 2)
11054
      oprot.writeI32(self.itemStatus)
11055
      oprot.writeFieldEnd()
11056
    oprot.writeFieldStop()
11057
    oprot.writeStructEnd()
11058
 
11059
  def validate(self):
11060
    return
11061
 
11062
 
11063
  def __repr__(self):
11064
    L = ['%s=%r' % (key, value)
11065
      for key, value in self.__dict__.iteritems()]
11066
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11067
 
11068
  def __eq__(self, other):
11069
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11070
 
11071
  def __ne__(self, other):
11072
    return not (self == other)
11073
 
11074
class getItemCountByStatus_result:
11075
  """
11076
  Attributes:
11077
   - success
11078
  """
11079
 
11080
  thrift_spec = (
11081
    (0, TType.I32, 'success', None, None, ), # 0
11082
  )
11083
 
11084
  def __init__(self, success=None,):
11085
    self.success = success
11086
 
11087
  def read(self, iprot):
11088
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11089
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11090
      return
11091
    iprot.readStructBegin()
11092
    while True:
11093
      (fname, ftype, fid) = iprot.readFieldBegin()
11094
      if ftype == TType.STOP:
11095
        break
11096
      if fid == 0:
11097
        if ftype == TType.I32:
11098
          self.success = iprot.readI32();
11099
        else:
11100
          iprot.skip(ftype)
11101
      else:
11102
        iprot.skip(ftype)
11103
      iprot.readFieldEnd()
11104
    iprot.readStructEnd()
11105
 
11106
  def write(self, oprot):
11107
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11108
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11109
      return
11110
    oprot.writeStructBegin('getItemCountByStatus_result')
11111
    if self.success is not None:
11112
      oprot.writeFieldBegin('success', TType.I32, 0)
11113
      oprot.writeI32(self.success)
11114
      oprot.writeFieldEnd()
11115
    oprot.writeFieldStop()
11116
    oprot.writeStructEnd()
11117
 
11118
  def validate(self):
11119
    return
11120
 
11121
 
11122
  def __repr__(self):
11123
    L = ['%s=%r' % (key, value)
11124
      for key, value in self.__dict__.iteritems()]
11125
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11126
 
11127
  def __eq__(self, other):
11128
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11129
 
11130
  def __ne__(self, other):
11131
    return not (self == other)
11132
 
11133
class getBestSellers_args:
11134
 
11135
  thrift_spec = (
11136
  )
11137
 
11138
  def read(self, iprot):
11139
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11140
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11141
      return
11142
    iprot.readStructBegin()
11143
    while True:
11144
      (fname, ftype, fid) = iprot.readFieldBegin()
11145
      if ftype == TType.STOP:
11146
        break
11147
      else:
11148
        iprot.skip(ftype)
11149
      iprot.readFieldEnd()
11150
    iprot.readStructEnd()
11151
 
11152
  def write(self, oprot):
11153
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11154
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11155
      return
11156
    oprot.writeStructBegin('getBestSellers_args')
11157
    oprot.writeFieldStop()
11158
    oprot.writeStructEnd()
11159
 
11160
  def validate(self):
11161
    return
11162
 
11163
 
11164
  def __repr__(self):
11165
    L = ['%s=%r' % (key, value)
11166
      for key, value in self.__dict__.iteritems()]
11167
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11168
 
11169
  def __eq__(self, other):
11170
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11171
 
11172
  def __ne__(self, other):
11173
    return not (self == other)
11174
 
11175
class getBestSellers_result:
11176
  """
11177
  Attributes:
11178
   - success
11179
   - isex
11180
  """
11181
 
11182
  thrift_spec = (
11183
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11184
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11185
  )
11186
 
11187
  def __init__(self, success=None, isex=None,):
11188
    self.success = success
11189
    self.isex = isex
11190
 
11191
  def read(self, iprot):
11192
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11193
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11194
      return
11195
    iprot.readStructBegin()
11196
    while True:
11197
      (fname, ftype, fid) = iprot.readFieldBegin()
11198
      if ftype == TType.STOP:
11199
        break
11200
      if fid == 0:
11201
        if ftype == TType.LIST:
11202
          self.success = []
8590 kshitij.so 11203
          (_etype91, _size88) = iprot.readListBegin()
11204
          for _i92 in xrange(_size88):
11205
            _elem93 = Item()
11206
            _elem93.read(iprot)
11207
            self.success.append(_elem93)
5944 mandeep.dh 11208
          iprot.readListEnd()
11209
        else:
11210
          iprot.skip(ftype)
11211
      elif fid == 1:
11212
        if ftype == TType.STRUCT:
11213
          self.isex = CatalogServiceException()
11214
          self.isex.read(iprot)
11215
        else:
11216
          iprot.skip(ftype)
11217
      else:
11218
        iprot.skip(ftype)
11219
      iprot.readFieldEnd()
11220
    iprot.readStructEnd()
11221
 
11222
  def write(self, oprot):
11223
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11224
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11225
      return
11226
    oprot.writeStructBegin('getBestSellers_result')
11227
    if self.success is not None:
11228
      oprot.writeFieldBegin('success', TType.LIST, 0)
11229
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 11230
      for iter94 in self.success:
11231
        iter94.write(oprot)
5944 mandeep.dh 11232
      oprot.writeListEnd()
11233
      oprot.writeFieldEnd()
11234
    if self.isex is not None:
11235
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
11236
      self.isex.write(oprot)
11237
      oprot.writeFieldEnd()
11238
    oprot.writeFieldStop()
11239
    oprot.writeStructEnd()
11240
 
11241
  def validate(self):
11242
    return
11243
 
11244
 
11245
  def __repr__(self):
11246
    L = ['%s=%r' % (key, value)
11247
      for key, value in self.__dict__.iteritems()]
11248
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11249
 
11250
  def __eq__(self, other):
11251
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11252
 
11253
  def __ne__(self, other):
11254
    return not (self == other)
11255
 
11256
class getBestSellersCatalogIds_args:
11257
  """
11258
  Attributes:
11259
   - beginIndex
11260
   - totalItems
11261
   - brand
11262
   - category
11263
  """
11264
 
11265
  thrift_spec = (
11266
    None, # 0
11267
    (1, TType.I64, 'beginIndex', None, None, ), # 1
11268
    (2, TType.I64, 'totalItems', None, None, ), # 2
11269
    (3, TType.STRING, 'brand', None, None, ), # 3
11270
    (4, TType.I64, 'category', None, None, ), # 4
11271
  )
11272
 
11273
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
11274
    self.beginIndex = beginIndex
11275
    self.totalItems = totalItems
11276
    self.brand = brand
11277
    self.category = category
11278
 
11279
  def read(self, iprot):
11280
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11281
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11282
      return
11283
    iprot.readStructBegin()
11284
    while True:
11285
      (fname, ftype, fid) = iprot.readFieldBegin()
11286
      if ftype == TType.STOP:
11287
        break
11288
      if fid == 1:
11289
        if ftype == TType.I64:
11290
          self.beginIndex = iprot.readI64();
11291
        else:
11292
          iprot.skip(ftype)
11293
      elif fid == 2:
11294
        if ftype == TType.I64:
11295
          self.totalItems = iprot.readI64();
11296
        else:
11297
          iprot.skip(ftype)
11298
      elif fid == 3:
11299
        if ftype == TType.STRING:
11300
          self.brand = iprot.readString();
11301
        else:
11302
          iprot.skip(ftype)
11303
      elif fid == 4:
11304
        if ftype == TType.I64:
11305
          self.category = iprot.readI64();
11306
        else:
11307
          iprot.skip(ftype)
11308
      else:
11309
        iprot.skip(ftype)
11310
      iprot.readFieldEnd()
11311
    iprot.readStructEnd()
11312
 
11313
  def write(self, oprot):
11314
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11315
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11316
      return
11317
    oprot.writeStructBegin('getBestSellersCatalogIds_args')
11318
    if self.beginIndex is not None:
11319
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
11320
      oprot.writeI64(self.beginIndex)
11321
      oprot.writeFieldEnd()
11322
    if self.totalItems is not None:
11323
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
11324
      oprot.writeI64(self.totalItems)
11325
      oprot.writeFieldEnd()
11326
    if self.brand is not None:
11327
      oprot.writeFieldBegin('brand', TType.STRING, 3)
11328
      oprot.writeString(self.brand)
11329
      oprot.writeFieldEnd()
11330
    if self.category is not None:
11331
      oprot.writeFieldBegin('category', TType.I64, 4)
11332
      oprot.writeI64(self.category)
11333
      oprot.writeFieldEnd()
11334
    oprot.writeFieldStop()
11335
    oprot.writeStructEnd()
11336
 
11337
  def validate(self):
11338
    return
11339
 
11340
 
11341
  def __repr__(self):
11342
    L = ['%s=%r' % (key, value)
11343
      for key, value in self.__dict__.iteritems()]
11344
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11345
 
11346
  def __eq__(self, other):
11347
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11348
 
11349
  def __ne__(self, other):
11350
    return not (self == other)
11351
 
11352
class getBestSellersCatalogIds_result:
11353
  """
11354
  Attributes:
11355
   - success
11356
   - cex
11357
  """
11358
 
11359
  thrift_spec = (
11360
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
11361
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11362
  )
11363
 
11364
  def __init__(self, success=None, cex=None,):
11365
    self.success = success
11366
    self.cex = cex
11367
 
11368
  def read(self, iprot):
11369
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11370
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11371
      return
11372
    iprot.readStructBegin()
11373
    while True:
11374
      (fname, ftype, fid) = iprot.readFieldBegin()
11375
      if ftype == TType.STOP:
11376
        break
11377
      if fid == 0:
11378
        if ftype == TType.LIST:
11379
          self.success = []
8590 kshitij.so 11380
          (_etype98, _size95) = iprot.readListBegin()
11381
          for _i99 in xrange(_size95):
11382
            _elem100 = iprot.readI64();
11383
            self.success.append(_elem100)
5944 mandeep.dh 11384
          iprot.readListEnd()
11385
        else:
11386
          iprot.skip(ftype)
11387
      elif fid == 1:
11388
        if ftype == TType.STRUCT:
11389
          self.cex = CatalogServiceException()
11390
          self.cex.read(iprot)
11391
        else:
11392
          iprot.skip(ftype)
11393
      else:
11394
        iprot.skip(ftype)
11395
      iprot.readFieldEnd()
11396
    iprot.readStructEnd()
11397
 
11398
  def write(self, oprot):
11399
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11400
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11401
      return
11402
    oprot.writeStructBegin('getBestSellersCatalogIds_result')
11403
    if self.success is not None:
11404
      oprot.writeFieldBegin('success', TType.LIST, 0)
11405
      oprot.writeListBegin(TType.I64, len(self.success))
8590 kshitij.so 11406
      for iter101 in self.success:
11407
        oprot.writeI64(iter101)
5944 mandeep.dh 11408
      oprot.writeListEnd()
11409
      oprot.writeFieldEnd()
11410
    if self.cex is not None:
11411
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11412
      self.cex.write(oprot)
11413
      oprot.writeFieldEnd()
11414
    oprot.writeFieldStop()
11415
    oprot.writeStructEnd()
11416
 
11417
  def validate(self):
11418
    return
11419
 
11420
 
11421
  def __repr__(self):
11422
    L = ['%s=%r' % (key, value)
11423
      for key, value in self.__dict__.iteritems()]
11424
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11425
 
11426
  def __eq__(self, other):
11427
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11428
 
11429
  def __ne__(self, other):
11430
    return not (self == other)
11431
 
11432
class getBestSellersCount_args:
11433
 
11434
  thrift_spec = (
11435
  )
11436
 
11437
  def read(self, iprot):
11438
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11439
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11440
      return
11441
    iprot.readStructBegin()
11442
    while True:
11443
      (fname, ftype, fid) = iprot.readFieldBegin()
11444
      if ftype == TType.STOP:
11445
        break
11446
      else:
11447
        iprot.skip(ftype)
11448
      iprot.readFieldEnd()
11449
    iprot.readStructEnd()
11450
 
11451
  def write(self, oprot):
11452
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11453
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11454
      return
11455
    oprot.writeStructBegin('getBestSellersCount_args')
11456
    oprot.writeFieldStop()
11457
    oprot.writeStructEnd()
11458
 
11459
  def validate(self):
11460
    return
11461
 
11462
 
11463
  def __repr__(self):
11464
    L = ['%s=%r' % (key, value)
11465
      for key, value in self.__dict__.iteritems()]
11466
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11467
 
11468
  def __eq__(self, other):
11469
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11470
 
11471
  def __ne__(self, other):
11472
    return not (self == other)
11473
 
11474
class getBestSellersCount_result:
11475
  """
11476
  Attributes:
11477
   - success
11478
   - cex
11479
  """
11480
 
11481
  thrift_spec = (
11482
    (0, TType.I64, 'success', None, None, ), # 0
11483
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11484
  )
11485
 
11486
  def __init__(self, success=None, cex=None,):
11487
    self.success = success
11488
    self.cex = cex
11489
 
11490
  def read(self, iprot):
11491
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11492
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11493
      return
11494
    iprot.readStructBegin()
11495
    while True:
11496
      (fname, ftype, fid) = iprot.readFieldBegin()
11497
      if ftype == TType.STOP:
11498
        break
11499
      if fid == 0:
11500
        if ftype == TType.I64:
11501
          self.success = iprot.readI64();
11502
        else:
11503
          iprot.skip(ftype)
11504
      elif fid == 1:
11505
        if ftype == TType.STRUCT:
11506
          self.cex = CatalogServiceException()
11507
          self.cex.read(iprot)
11508
        else:
11509
          iprot.skip(ftype)
11510
      else:
11511
        iprot.skip(ftype)
11512
      iprot.readFieldEnd()
11513
    iprot.readStructEnd()
11514
 
11515
  def write(self, oprot):
11516
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11517
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11518
      return
11519
    oprot.writeStructBegin('getBestSellersCount_result')
11520
    if self.success is not None:
11521
      oprot.writeFieldBegin('success', TType.I64, 0)
11522
      oprot.writeI64(self.success)
11523
      oprot.writeFieldEnd()
11524
    if self.cex is not None:
11525
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11526
      self.cex.write(oprot)
11527
      oprot.writeFieldEnd()
11528
    oprot.writeFieldStop()
11529
    oprot.writeStructEnd()
11530
 
11531
  def validate(self):
11532
    return
11533
 
11534
 
11535
  def __repr__(self):
11536
    L = ['%s=%r' % (key, value)
11537
      for key, value in self.__dict__.iteritems()]
11538
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11539
 
11540
  def __eq__(self, other):
11541
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11542
 
11543
  def __ne__(self, other):
11544
    return not (self == other)
11545
 
11546
class getBestDeals_args:
11547
 
11548
  thrift_spec = (
11549
  )
11550
 
11551
  def read(self, iprot):
11552
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11553
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11554
      return
11555
    iprot.readStructBegin()
11556
    while True:
11557
      (fname, ftype, fid) = iprot.readFieldBegin()
11558
      if ftype == TType.STOP:
11559
        break
11560
      else:
11561
        iprot.skip(ftype)
11562
      iprot.readFieldEnd()
11563
    iprot.readStructEnd()
11564
 
11565
  def write(self, oprot):
11566
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11567
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11568
      return
11569
    oprot.writeStructBegin('getBestDeals_args')
11570
    oprot.writeFieldStop()
11571
    oprot.writeStructEnd()
11572
 
11573
  def validate(self):
11574
    return
11575
 
11576
 
11577
  def __repr__(self):
11578
    L = ['%s=%r' % (key, value)
11579
      for key, value in self.__dict__.iteritems()]
11580
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11581
 
11582
  def __eq__(self, other):
11583
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11584
 
11585
  def __ne__(self, other):
11586
    return not (self == other)
11587
 
11588
class getBestDeals_result:
11589
  """
11590
  Attributes:
11591
   - success
11592
   - isex
11593
  """
11594
 
11595
  thrift_spec = (
11596
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11597
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11598
  )
11599
 
11600
  def __init__(self, success=None, isex=None,):
11601
    self.success = success
11602
    self.isex = isex
11603
 
11604
  def read(self, iprot):
11605
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11606
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11607
      return
11608
    iprot.readStructBegin()
11609
    while True:
11610
      (fname, ftype, fid) = iprot.readFieldBegin()
11611
      if ftype == TType.STOP:
11612
        break
11613
      if fid == 0:
11614
        if ftype == TType.LIST:
11615
          self.success = []
8590 kshitij.so 11616
          (_etype105, _size102) = iprot.readListBegin()
11617
          for _i106 in xrange(_size102):
11618
            _elem107 = Item()
11619
            _elem107.read(iprot)
11620
            self.success.append(_elem107)
5944 mandeep.dh 11621
          iprot.readListEnd()
11622
        else:
11623
          iprot.skip(ftype)
11624
      elif fid == 1:
11625
        if ftype == TType.STRUCT:
11626
          self.isex = CatalogServiceException()
11627
          self.isex.read(iprot)
11628
        else:
11629
          iprot.skip(ftype)
11630
      else:
11631
        iprot.skip(ftype)
11632
      iprot.readFieldEnd()
11633
    iprot.readStructEnd()
11634
 
11635
  def write(self, oprot):
11636
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11637
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11638
      return
11639
    oprot.writeStructBegin('getBestDeals_result')
11640
    if self.success is not None:
11641
      oprot.writeFieldBegin('success', TType.LIST, 0)
11642
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 11643
      for iter108 in self.success:
11644
        iter108.write(oprot)
5944 mandeep.dh 11645
      oprot.writeListEnd()
11646
      oprot.writeFieldEnd()
11647
    if self.isex is not None:
11648
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
11649
      self.isex.write(oprot)
11650
      oprot.writeFieldEnd()
11651
    oprot.writeFieldStop()
11652
    oprot.writeStructEnd()
11653
 
11654
  def validate(self):
11655
    return
11656
 
11657
 
11658
  def __repr__(self):
11659
    L = ['%s=%r' % (key, value)
11660
      for key, value in self.__dict__.iteritems()]
11661
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11662
 
11663
  def __eq__(self, other):
11664
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11665
 
11666
  def __ne__(self, other):
11667
    return not (self == other)
11668
 
11669
class getBestDealsCatalogIds_args:
11670
  """
11671
  Attributes:
11672
   - beginIndex
11673
   - totalItems
11674
   - brand
11675
   - category
11676
  """
11677
 
11678
  thrift_spec = (
11679
    None, # 0
11680
    (1, TType.I64, 'beginIndex', None, None, ), # 1
11681
    (2, TType.I64, 'totalItems', None, None, ), # 2
11682
    (3, TType.STRING, 'brand', None, None, ), # 3
11683
    (4, TType.I64, 'category', None, None, ), # 4
11684
  )
11685
 
11686
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
11687
    self.beginIndex = beginIndex
11688
    self.totalItems = totalItems
11689
    self.brand = brand
11690
    self.category = category
11691
 
11692
  def read(self, iprot):
11693
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11694
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11695
      return
11696
    iprot.readStructBegin()
11697
    while True:
11698
      (fname, ftype, fid) = iprot.readFieldBegin()
11699
      if ftype == TType.STOP:
11700
        break
11701
      if fid == 1:
11702
        if ftype == TType.I64:
11703
          self.beginIndex = iprot.readI64();
11704
        else:
11705
          iprot.skip(ftype)
11706
      elif fid == 2:
11707
        if ftype == TType.I64:
11708
          self.totalItems = iprot.readI64();
11709
        else:
11710
          iprot.skip(ftype)
11711
      elif fid == 3:
11712
        if ftype == TType.STRING:
11713
          self.brand = iprot.readString();
11714
        else:
11715
          iprot.skip(ftype)
11716
      elif fid == 4:
11717
        if ftype == TType.I64:
11718
          self.category = iprot.readI64();
11719
        else:
11720
          iprot.skip(ftype)
11721
      else:
11722
        iprot.skip(ftype)
11723
      iprot.readFieldEnd()
11724
    iprot.readStructEnd()
11725
 
11726
  def write(self, oprot):
11727
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11728
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11729
      return
11730
    oprot.writeStructBegin('getBestDealsCatalogIds_args')
11731
    if self.beginIndex is not None:
11732
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
11733
      oprot.writeI64(self.beginIndex)
11734
      oprot.writeFieldEnd()
11735
    if self.totalItems is not None:
11736
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
11737
      oprot.writeI64(self.totalItems)
11738
      oprot.writeFieldEnd()
11739
    if self.brand is not None:
11740
      oprot.writeFieldBegin('brand', TType.STRING, 3)
11741
      oprot.writeString(self.brand)
11742
      oprot.writeFieldEnd()
11743
    if self.category is not None:
11744
      oprot.writeFieldBegin('category', TType.I64, 4)
11745
      oprot.writeI64(self.category)
11746
      oprot.writeFieldEnd()
11747
    oprot.writeFieldStop()
11748
    oprot.writeStructEnd()
11749
 
11750
  def validate(self):
11751
    return
11752
 
11753
 
11754
  def __repr__(self):
11755
    L = ['%s=%r' % (key, value)
11756
      for key, value in self.__dict__.iteritems()]
11757
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11758
 
11759
  def __eq__(self, other):
11760
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11761
 
11762
  def __ne__(self, other):
11763
    return not (self == other)
11764
 
11765
class getBestDealsCatalogIds_result:
11766
  """
11767
  Attributes:
11768
   - success
11769
   - cex
11770
  """
11771
 
11772
  thrift_spec = (
11773
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
11774
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11775
  )
11776
 
11777
  def __init__(self, success=None, cex=None,):
11778
    self.success = success
11779
    self.cex = cex
11780
 
11781
  def read(self, iprot):
11782
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11783
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11784
      return
11785
    iprot.readStructBegin()
11786
    while True:
11787
      (fname, ftype, fid) = iprot.readFieldBegin()
11788
      if ftype == TType.STOP:
11789
        break
11790
      if fid == 0:
11791
        if ftype == TType.LIST:
11792
          self.success = []
8590 kshitij.so 11793
          (_etype112, _size109) = iprot.readListBegin()
11794
          for _i113 in xrange(_size109):
11795
            _elem114 = iprot.readI64();
11796
            self.success.append(_elem114)
5944 mandeep.dh 11797
          iprot.readListEnd()
11798
        else:
11799
          iprot.skip(ftype)
11800
      elif fid == 1:
11801
        if ftype == TType.STRUCT:
11802
          self.cex = CatalogServiceException()
11803
          self.cex.read(iprot)
11804
        else:
11805
          iprot.skip(ftype)
11806
      else:
11807
        iprot.skip(ftype)
11808
      iprot.readFieldEnd()
11809
    iprot.readStructEnd()
11810
 
11811
  def write(self, oprot):
11812
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11813
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11814
      return
11815
    oprot.writeStructBegin('getBestDealsCatalogIds_result')
11816
    if self.success is not None:
11817
      oprot.writeFieldBegin('success', TType.LIST, 0)
11818
      oprot.writeListBegin(TType.I64, len(self.success))
8590 kshitij.so 11819
      for iter115 in self.success:
11820
        oprot.writeI64(iter115)
5944 mandeep.dh 11821
      oprot.writeListEnd()
11822
      oprot.writeFieldEnd()
11823
    if self.cex is not None:
11824
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11825
      self.cex.write(oprot)
11826
      oprot.writeFieldEnd()
11827
    oprot.writeFieldStop()
11828
    oprot.writeStructEnd()
11829
 
11830
  def validate(self):
11831
    return
11832
 
11833
 
11834
  def __repr__(self):
11835
    L = ['%s=%r' % (key, value)
11836
      for key, value in self.__dict__.iteritems()]
11837
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11838
 
11839
  def __eq__(self, other):
11840
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11841
 
11842
  def __ne__(self, other):
11843
    return not (self == other)
11844
 
11845
class getBestDealsCount_args:
11846
 
11847
  thrift_spec = (
11848
  )
11849
 
11850
  def read(self, iprot):
11851
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11852
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11853
      return
11854
    iprot.readStructBegin()
11855
    while True:
11856
      (fname, ftype, fid) = iprot.readFieldBegin()
11857
      if ftype == TType.STOP:
11858
        break
11859
      else:
11860
        iprot.skip(ftype)
11861
      iprot.readFieldEnd()
11862
    iprot.readStructEnd()
11863
 
11864
  def write(self, oprot):
11865
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11866
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11867
      return
11868
    oprot.writeStructBegin('getBestDealsCount_args')
11869
    oprot.writeFieldStop()
11870
    oprot.writeStructEnd()
11871
 
11872
  def validate(self):
11873
    return
11874
 
11875
 
11876
  def __repr__(self):
11877
    L = ['%s=%r' % (key, value)
11878
      for key, value in self.__dict__.iteritems()]
11879
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11880
 
11881
  def __eq__(self, other):
11882
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11883
 
11884
  def __ne__(self, other):
11885
    return not (self == other)
11886
 
11887
class getBestDealsCount_result:
11888
  """
11889
  Attributes:
11890
   - success
11891
   - cex
11892
  """
11893
 
11894
  thrift_spec = (
11895
    (0, TType.I64, 'success', None, None, ), # 0
11896
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11897
  )
11898
 
11899
  def __init__(self, success=None, cex=None,):
11900
    self.success = success
11901
    self.cex = cex
11902
 
11903
  def read(self, iprot):
11904
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11905
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11906
      return
11907
    iprot.readStructBegin()
11908
    while True:
11909
      (fname, ftype, fid) = iprot.readFieldBegin()
11910
      if ftype == TType.STOP:
11911
        break
11912
      if fid == 0:
11913
        if ftype == TType.I64:
11914
          self.success = iprot.readI64();
11915
        else:
11916
          iprot.skip(ftype)
11917
      elif fid == 1:
11918
        if ftype == TType.STRUCT:
11919
          self.cex = CatalogServiceException()
11920
          self.cex.read(iprot)
11921
        else:
11922
          iprot.skip(ftype)
11923
      else:
11924
        iprot.skip(ftype)
11925
      iprot.readFieldEnd()
11926
    iprot.readStructEnd()
11927
 
11928
  def write(self, oprot):
11929
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11930
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11931
      return
11932
    oprot.writeStructBegin('getBestDealsCount_result')
11933
    if self.success is not None:
11934
      oprot.writeFieldBegin('success', TType.I64, 0)
11935
      oprot.writeI64(self.success)
11936
      oprot.writeFieldEnd()
11937
    if self.cex is not None:
11938
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11939
      self.cex.write(oprot)
11940
      oprot.writeFieldEnd()
11941
    oprot.writeFieldStop()
11942
    oprot.writeStructEnd()
11943
 
11944
  def validate(self):
11945
    return
11946
 
11947
 
11948
  def __repr__(self):
11949
    L = ['%s=%r' % (key, value)
11950
      for key, value in self.__dict__.iteritems()]
11951
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11952
 
11953
  def __eq__(self, other):
11954
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11955
 
11956
  def __ne__(self, other):
11957
    return not (self == other)
11958
 
11959
class getComingSoon_args:
11960
 
11961
  thrift_spec = (
11962
  )
11963
 
11964
  def read(self, iprot):
11965
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11966
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11967
      return
11968
    iprot.readStructBegin()
11969
    while True:
11970
      (fname, ftype, fid) = iprot.readFieldBegin()
11971
      if ftype == TType.STOP:
11972
        break
11973
      else:
11974
        iprot.skip(ftype)
11975
      iprot.readFieldEnd()
11976
    iprot.readStructEnd()
11977
 
11978
  def write(self, oprot):
11979
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11980
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11981
      return
11982
    oprot.writeStructBegin('getComingSoon_args')
11983
    oprot.writeFieldStop()
11984
    oprot.writeStructEnd()
11985
 
11986
  def validate(self):
11987
    return
11988
 
11989
 
11990
  def __repr__(self):
11991
    L = ['%s=%r' % (key, value)
11992
      for key, value in self.__dict__.iteritems()]
11993
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11994
 
11995
  def __eq__(self, other):
11996
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11997
 
11998
  def __ne__(self, other):
11999
    return not (self == other)
12000
 
12001
class getComingSoon_result:
12002
  """
12003
  Attributes:
12004
   - success
12005
   - isex
12006
  """
12007
 
12008
  thrift_spec = (
12009
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12010
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12011
  )
12012
 
12013
  def __init__(self, success=None, isex=None,):
12014
    self.success = success
12015
    self.isex = isex
12016
 
12017
  def read(self, iprot):
12018
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12019
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12020
      return
12021
    iprot.readStructBegin()
12022
    while True:
12023
      (fname, ftype, fid) = iprot.readFieldBegin()
12024
      if ftype == TType.STOP:
12025
        break
12026
      if fid == 0:
12027
        if ftype == TType.LIST:
12028
          self.success = []
8590 kshitij.so 12029
          (_etype119, _size116) = iprot.readListBegin()
12030
          for _i120 in xrange(_size116):
12031
            _elem121 = Item()
12032
            _elem121.read(iprot)
12033
            self.success.append(_elem121)
5944 mandeep.dh 12034
          iprot.readListEnd()
12035
        else:
12036
          iprot.skip(ftype)
12037
      elif fid == 1:
12038
        if ftype == TType.STRUCT:
12039
          self.isex = CatalogServiceException()
12040
          self.isex.read(iprot)
12041
        else:
12042
          iprot.skip(ftype)
12043
      else:
12044
        iprot.skip(ftype)
12045
      iprot.readFieldEnd()
12046
    iprot.readStructEnd()
12047
 
12048
  def write(self, oprot):
12049
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12050
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12051
      return
12052
    oprot.writeStructBegin('getComingSoon_result')
12053
    if self.success is not None:
12054
      oprot.writeFieldBegin('success', TType.LIST, 0)
12055
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 12056
      for iter122 in self.success:
12057
        iter122.write(oprot)
5944 mandeep.dh 12058
      oprot.writeListEnd()
12059
      oprot.writeFieldEnd()
12060
    if self.isex is not None:
12061
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
12062
      self.isex.write(oprot)
12063
      oprot.writeFieldEnd()
12064
    oprot.writeFieldStop()
12065
    oprot.writeStructEnd()
12066
 
12067
  def validate(self):
12068
    return
12069
 
12070
 
12071
  def __repr__(self):
12072
    L = ['%s=%r' % (key, value)
12073
      for key, value in self.__dict__.iteritems()]
12074
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12075
 
12076
  def __eq__(self, other):
12077
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12078
 
12079
  def __ne__(self, other):
12080
    return not (self == other)
12081
 
12082
class getComingSoonCatalogIds_args:
12083
  """
12084
  Attributes:
12085
   - beginIndex
12086
   - totalItems
12087
   - brand
12088
   - category
12089
  """
12090
 
12091
  thrift_spec = (
12092
    None, # 0
12093
    (1, TType.I64, 'beginIndex', None, None, ), # 1
12094
    (2, TType.I64, 'totalItems', None, None, ), # 2
12095
    (3, TType.STRING, 'brand', None, None, ), # 3
12096
    (4, TType.I64, 'category', None, None, ), # 4
12097
  )
12098
 
12099
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
12100
    self.beginIndex = beginIndex
12101
    self.totalItems = totalItems
12102
    self.brand = brand
12103
    self.category = category
12104
 
12105
  def read(self, iprot):
12106
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12107
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12108
      return
12109
    iprot.readStructBegin()
12110
    while True:
12111
      (fname, ftype, fid) = iprot.readFieldBegin()
12112
      if ftype == TType.STOP:
12113
        break
12114
      if fid == 1:
12115
        if ftype == TType.I64:
12116
          self.beginIndex = iprot.readI64();
12117
        else:
12118
          iprot.skip(ftype)
12119
      elif fid == 2:
12120
        if ftype == TType.I64:
12121
          self.totalItems = iprot.readI64();
12122
        else:
12123
          iprot.skip(ftype)
12124
      elif fid == 3:
12125
        if ftype == TType.STRING:
12126
          self.brand = iprot.readString();
12127
        else:
12128
          iprot.skip(ftype)
12129
      elif fid == 4:
12130
        if ftype == TType.I64:
12131
          self.category = iprot.readI64();
12132
        else:
12133
          iprot.skip(ftype)
12134
      else:
12135
        iprot.skip(ftype)
12136
      iprot.readFieldEnd()
12137
    iprot.readStructEnd()
12138
 
12139
  def write(self, oprot):
12140
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12141
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12142
      return
12143
    oprot.writeStructBegin('getComingSoonCatalogIds_args')
12144
    if self.beginIndex is not None:
12145
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
12146
      oprot.writeI64(self.beginIndex)
12147
      oprot.writeFieldEnd()
12148
    if self.totalItems is not None:
12149
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
12150
      oprot.writeI64(self.totalItems)
12151
      oprot.writeFieldEnd()
12152
    if self.brand is not None:
12153
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12154
      oprot.writeString(self.brand)
12155
      oprot.writeFieldEnd()
12156
    if self.category is not None:
12157
      oprot.writeFieldBegin('category', TType.I64, 4)
12158
      oprot.writeI64(self.category)
12159
      oprot.writeFieldEnd()
12160
    oprot.writeFieldStop()
12161
    oprot.writeStructEnd()
12162
 
12163
  def validate(self):
12164
    return
12165
 
12166
 
12167
  def __repr__(self):
12168
    L = ['%s=%r' % (key, value)
12169
      for key, value in self.__dict__.iteritems()]
12170
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12171
 
12172
  def __eq__(self, other):
12173
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12174
 
12175
  def __ne__(self, other):
12176
    return not (self == other)
12177
 
12178
class getComingSoonCatalogIds_result:
12179
  """
12180
  Attributes:
12181
   - success
12182
   - cex
12183
  """
12184
 
12185
  thrift_spec = (
12186
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
12187
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12188
  )
12189
 
12190
  def __init__(self, success=None, cex=None,):
12191
    self.success = success
12192
    self.cex = cex
12193
 
12194
  def read(self, iprot):
12195
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12196
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12197
      return
12198
    iprot.readStructBegin()
12199
    while True:
12200
      (fname, ftype, fid) = iprot.readFieldBegin()
12201
      if ftype == TType.STOP:
12202
        break
12203
      if fid == 0:
12204
        if ftype == TType.LIST:
12205
          self.success = []
8590 kshitij.so 12206
          (_etype126, _size123) = iprot.readListBegin()
12207
          for _i127 in xrange(_size123):
12208
            _elem128 = iprot.readI64();
12209
            self.success.append(_elem128)
5944 mandeep.dh 12210
          iprot.readListEnd()
12211
        else:
12212
          iprot.skip(ftype)
12213
      elif fid == 1:
12214
        if ftype == TType.STRUCT:
12215
          self.cex = CatalogServiceException()
12216
          self.cex.read(iprot)
12217
        else:
12218
          iprot.skip(ftype)
12219
      else:
12220
        iprot.skip(ftype)
12221
      iprot.readFieldEnd()
12222
    iprot.readStructEnd()
12223
 
12224
  def write(self, oprot):
12225
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12226
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12227
      return
12228
    oprot.writeStructBegin('getComingSoonCatalogIds_result')
12229
    if self.success is not None:
12230
      oprot.writeFieldBegin('success', TType.LIST, 0)
12231
      oprot.writeListBegin(TType.I64, len(self.success))
8590 kshitij.so 12232
      for iter129 in self.success:
12233
        oprot.writeI64(iter129)
5944 mandeep.dh 12234
      oprot.writeListEnd()
12235
      oprot.writeFieldEnd()
12236
    if self.cex is not None:
12237
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12238
      self.cex.write(oprot)
12239
      oprot.writeFieldEnd()
12240
    oprot.writeFieldStop()
12241
    oprot.writeStructEnd()
12242
 
12243
  def validate(self):
12244
    return
12245
 
12246
 
12247
  def __repr__(self):
12248
    L = ['%s=%r' % (key, value)
12249
      for key, value in self.__dict__.iteritems()]
12250
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12251
 
12252
  def __eq__(self, other):
12253
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12254
 
12255
  def __ne__(self, other):
12256
    return not (self == other)
12257
 
12258
class getComingSoonCount_args:
12259
 
12260
  thrift_spec = (
12261
  )
12262
 
12263
  def read(self, iprot):
12264
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12265
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12266
      return
12267
    iprot.readStructBegin()
12268
    while True:
12269
      (fname, ftype, fid) = iprot.readFieldBegin()
12270
      if ftype == TType.STOP:
12271
        break
12272
      else:
12273
        iprot.skip(ftype)
12274
      iprot.readFieldEnd()
12275
    iprot.readStructEnd()
12276
 
12277
  def write(self, oprot):
12278
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12279
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12280
      return
12281
    oprot.writeStructBegin('getComingSoonCount_args')
12282
    oprot.writeFieldStop()
12283
    oprot.writeStructEnd()
12284
 
12285
  def validate(self):
12286
    return
12287
 
12288
 
12289
  def __repr__(self):
12290
    L = ['%s=%r' % (key, value)
12291
      for key, value in self.__dict__.iteritems()]
12292
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12293
 
12294
  def __eq__(self, other):
12295
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12296
 
12297
  def __ne__(self, other):
12298
    return not (self == other)
12299
 
12300
class getComingSoonCount_result:
12301
  """
12302
  Attributes:
12303
   - success
12304
   - cex
12305
  """
12306
 
12307
  thrift_spec = (
12308
    (0, TType.I64, 'success', None, None, ), # 0
12309
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12310
  )
12311
 
12312
  def __init__(self, success=None, cex=None,):
12313
    self.success = success
12314
    self.cex = cex
12315
 
12316
  def read(self, iprot):
12317
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12318
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12319
      return
12320
    iprot.readStructBegin()
12321
    while True:
12322
      (fname, ftype, fid) = iprot.readFieldBegin()
12323
      if ftype == TType.STOP:
12324
        break
12325
      if fid == 0:
12326
        if ftype == TType.I64:
12327
          self.success = iprot.readI64();
12328
        else:
12329
          iprot.skip(ftype)
12330
      elif fid == 1:
12331
        if ftype == TType.STRUCT:
12332
          self.cex = CatalogServiceException()
12333
          self.cex.read(iprot)
12334
        else:
12335
          iprot.skip(ftype)
12336
      else:
12337
        iprot.skip(ftype)
12338
      iprot.readFieldEnd()
12339
    iprot.readStructEnd()
12340
 
12341
  def write(self, oprot):
12342
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12343
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12344
      return
12345
    oprot.writeStructBegin('getComingSoonCount_result')
12346
    if self.success is not None:
12347
      oprot.writeFieldBegin('success', TType.I64, 0)
12348
      oprot.writeI64(self.success)
12349
      oprot.writeFieldEnd()
12350
    if self.cex is not None:
12351
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12352
      self.cex.write(oprot)
12353
      oprot.writeFieldEnd()
12354
    oprot.writeFieldStop()
12355
    oprot.writeStructEnd()
12356
 
12357
  def validate(self):
12358
    return
12359
 
12360
 
12361
  def __repr__(self):
12362
    L = ['%s=%r' % (key, value)
12363
      for key, value in self.__dict__.iteritems()]
12364
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12365
 
12366
  def __eq__(self, other):
12367
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12368
 
12369
  def __ne__(self, other):
12370
    return not (self == other)
12371
 
12372
class getLatestArrivals_args:
12373
 
12374
  thrift_spec = (
12375
  )
12376
 
12377
  def read(self, iprot):
12378
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12379
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12380
      return
12381
    iprot.readStructBegin()
12382
    while True:
12383
      (fname, ftype, fid) = iprot.readFieldBegin()
12384
      if ftype == TType.STOP:
12385
        break
12386
      else:
12387
        iprot.skip(ftype)
12388
      iprot.readFieldEnd()
12389
    iprot.readStructEnd()
12390
 
12391
  def write(self, oprot):
12392
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12393
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12394
      return
12395
    oprot.writeStructBegin('getLatestArrivals_args')
12396
    oprot.writeFieldStop()
12397
    oprot.writeStructEnd()
12398
 
12399
  def validate(self):
12400
    return
12401
 
12402
 
12403
  def __repr__(self):
12404
    L = ['%s=%r' % (key, value)
12405
      for key, value in self.__dict__.iteritems()]
12406
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12407
 
12408
  def __eq__(self, other):
12409
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12410
 
12411
  def __ne__(self, other):
12412
    return not (self == other)
12413
 
12414
class getLatestArrivals_result:
12415
  """
12416
  Attributes:
12417
   - success
12418
   - isex
12419
  """
12420
 
12421
  thrift_spec = (
12422
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12423
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12424
  )
12425
 
12426
  def __init__(self, success=None, isex=None,):
12427
    self.success = success
12428
    self.isex = isex
12429
 
12430
  def read(self, iprot):
12431
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12432
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12433
      return
12434
    iprot.readStructBegin()
12435
    while True:
12436
      (fname, ftype, fid) = iprot.readFieldBegin()
12437
      if ftype == TType.STOP:
12438
        break
12439
      if fid == 0:
12440
        if ftype == TType.LIST:
12441
          self.success = []
8590 kshitij.so 12442
          (_etype133, _size130) = iprot.readListBegin()
12443
          for _i134 in xrange(_size130):
12444
            _elem135 = Item()
12445
            _elem135.read(iprot)
12446
            self.success.append(_elem135)
5944 mandeep.dh 12447
          iprot.readListEnd()
12448
        else:
12449
          iprot.skip(ftype)
12450
      elif fid == 1:
12451
        if ftype == TType.STRUCT:
12452
          self.isex = CatalogServiceException()
12453
          self.isex.read(iprot)
12454
        else:
12455
          iprot.skip(ftype)
12456
      else:
12457
        iprot.skip(ftype)
12458
      iprot.readFieldEnd()
12459
    iprot.readStructEnd()
12460
 
12461
  def write(self, oprot):
12462
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12463
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12464
      return
12465
    oprot.writeStructBegin('getLatestArrivals_result')
12466
    if self.success is not None:
12467
      oprot.writeFieldBegin('success', TType.LIST, 0)
12468
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 12469
      for iter136 in self.success:
12470
        iter136.write(oprot)
5944 mandeep.dh 12471
      oprot.writeListEnd()
12472
      oprot.writeFieldEnd()
12473
    if self.isex is not None:
12474
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
12475
      self.isex.write(oprot)
12476
      oprot.writeFieldEnd()
12477
    oprot.writeFieldStop()
12478
    oprot.writeStructEnd()
12479
 
12480
  def validate(self):
12481
    return
12482
 
12483
 
12484
  def __repr__(self):
12485
    L = ['%s=%r' % (key, value)
12486
      for key, value in self.__dict__.iteritems()]
12487
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12488
 
12489
  def __eq__(self, other):
12490
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12491
 
12492
  def __ne__(self, other):
12493
    return not (self == other)
12494
 
12495
class getLatestArrivalsCatalogIds_args:
12496
  """
12497
  Attributes:
12498
   - beginIndex
12499
   - totalItems
12500
   - brand
12501
   - categories
12502
  """
12503
 
12504
  thrift_spec = (
12505
    None, # 0
12506
    (1, TType.I64, 'beginIndex', None, None, ), # 1
12507
    (2, TType.I64, 'totalItems', None, None, ), # 2
12508
    (3, TType.STRING, 'brand', None, None, ), # 3
12509
    (4, TType.LIST, 'categories', (TType.I64,None), None, ), # 4
12510
  )
12511
 
12512
  def __init__(self, beginIndex=None, totalItems=None, brand=None, categories=None,):
12513
    self.beginIndex = beginIndex
12514
    self.totalItems = totalItems
12515
    self.brand = brand
12516
    self.categories = categories
12517
 
12518
  def read(self, iprot):
12519
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12520
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12521
      return
12522
    iprot.readStructBegin()
12523
    while True:
12524
      (fname, ftype, fid) = iprot.readFieldBegin()
12525
      if ftype == TType.STOP:
12526
        break
12527
      if fid == 1:
12528
        if ftype == TType.I64:
12529
          self.beginIndex = iprot.readI64();
12530
        else:
12531
          iprot.skip(ftype)
12532
      elif fid == 2:
12533
        if ftype == TType.I64:
12534
          self.totalItems = iprot.readI64();
12535
        else:
12536
          iprot.skip(ftype)
12537
      elif fid == 3:
12538
        if ftype == TType.STRING:
12539
          self.brand = iprot.readString();
12540
        else:
12541
          iprot.skip(ftype)
12542
      elif fid == 4:
12543
        if ftype == TType.LIST:
12544
          self.categories = []
8590 kshitij.so 12545
          (_etype140, _size137) = iprot.readListBegin()
12546
          for _i141 in xrange(_size137):
12547
            _elem142 = iprot.readI64();
12548
            self.categories.append(_elem142)
5944 mandeep.dh 12549
          iprot.readListEnd()
12550
        else:
12551
          iprot.skip(ftype)
12552
      else:
12553
        iprot.skip(ftype)
12554
      iprot.readFieldEnd()
12555
    iprot.readStructEnd()
12556
 
12557
  def write(self, oprot):
12558
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12559
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12560
      return
12561
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_args')
12562
    if self.beginIndex is not None:
12563
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
12564
      oprot.writeI64(self.beginIndex)
12565
      oprot.writeFieldEnd()
12566
    if self.totalItems is not None:
12567
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
12568
      oprot.writeI64(self.totalItems)
12569
      oprot.writeFieldEnd()
12570
    if self.brand is not None:
12571
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12572
      oprot.writeString(self.brand)
12573
      oprot.writeFieldEnd()
12574
    if self.categories is not None:
12575
      oprot.writeFieldBegin('categories', TType.LIST, 4)
12576
      oprot.writeListBegin(TType.I64, len(self.categories))
8590 kshitij.so 12577
      for iter143 in self.categories:
12578
        oprot.writeI64(iter143)
5944 mandeep.dh 12579
      oprot.writeListEnd()
12580
      oprot.writeFieldEnd()
12581
    oprot.writeFieldStop()
12582
    oprot.writeStructEnd()
12583
 
12584
  def validate(self):
12585
    return
12586
 
12587
 
12588
  def __repr__(self):
12589
    L = ['%s=%r' % (key, value)
12590
      for key, value in self.__dict__.iteritems()]
12591
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12592
 
12593
  def __eq__(self, other):
12594
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12595
 
12596
  def __ne__(self, other):
12597
    return not (self == other)
12598
 
12599
class getLatestArrivalsCatalogIds_result:
12600
  """
12601
  Attributes:
12602
   - success
12603
   - cex
12604
  """
12605
 
12606
  thrift_spec = (
12607
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
12608
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12609
  )
12610
 
12611
  def __init__(self, success=None, cex=None,):
12612
    self.success = success
12613
    self.cex = cex
12614
 
12615
  def read(self, iprot):
12616
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12617
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12618
      return
12619
    iprot.readStructBegin()
12620
    while True:
12621
      (fname, ftype, fid) = iprot.readFieldBegin()
12622
      if ftype == TType.STOP:
12623
        break
12624
      if fid == 0:
12625
        if ftype == TType.LIST:
12626
          self.success = []
8590 kshitij.so 12627
          (_etype147, _size144) = iprot.readListBegin()
12628
          for _i148 in xrange(_size144):
12629
            _elem149 = iprot.readI64();
12630
            self.success.append(_elem149)
5944 mandeep.dh 12631
          iprot.readListEnd()
12632
        else:
12633
          iprot.skip(ftype)
12634
      elif fid == 1:
12635
        if ftype == TType.STRUCT:
12636
          self.cex = CatalogServiceException()
12637
          self.cex.read(iprot)
12638
        else:
12639
          iprot.skip(ftype)
12640
      else:
12641
        iprot.skip(ftype)
12642
      iprot.readFieldEnd()
12643
    iprot.readStructEnd()
12644
 
12645
  def write(self, oprot):
12646
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12647
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12648
      return
12649
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_result')
12650
    if self.success is not None:
12651
      oprot.writeFieldBegin('success', TType.LIST, 0)
12652
      oprot.writeListBegin(TType.I64, len(self.success))
8590 kshitij.so 12653
      for iter150 in self.success:
12654
        oprot.writeI64(iter150)
5944 mandeep.dh 12655
      oprot.writeListEnd()
12656
      oprot.writeFieldEnd()
12657
    if self.cex is not None:
12658
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12659
      self.cex.write(oprot)
12660
      oprot.writeFieldEnd()
12661
    oprot.writeFieldStop()
12662
    oprot.writeStructEnd()
12663
 
12664
  def validate(self):
12665
    return
12666
 
12667
 
12668
  def __repr__(self):
12669
    L = ['%s=%r' % (key, value)
12670
      for key, value in self.__dict__.iteritems()]
12671
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12672
 
12673
  def __eq__(self, other):
12674
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12675
 
12676
  def __ne__(self, other):
12677
    return not (self == other)
12678
 
12679
class getLatestArrivalsCount_args:
12680
 
12681
  thrift_spec = (
12682
  )
12683
 
12684
  def read(self, iprot):
12685
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12686
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12687
      return
12688
    iprot.readStructBegin()
12689
    while True:
12690
      (fname, ftype, fid) = iprot.readFieldBegin()
12691
      if ftype == TType.STOP:
12692
        break
12693
      else:
12694
        iprot.skip(ftype)
12695
      iprot.readFieldEnd()
12696
    iprot.readStructEnd()
12697
 
12698
  def write(self, oprot):
12699
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12700
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12701
      return
12702
    oprot.writeStructBegin('getLatestArrivalsCount_args')
12703
    oprot.writeFieldStop()
12704
    oprot.writeStructEnd()
12705
 
12706
  def validate(self):
12707
    return
12708
 
12709
 
12710
  def __repr__(self):
12711
    L = ['%s=%r' % (key, value)
12712
      for key, value in self.__dict__.iteritems()]
12713
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12714
 
12715
  def __eq__(self, other):
12716
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12717
 
12718
  def __ne__(self, other):
12719
    return not (self == other)
12720
 
12721
class getLatestArrivalsCount_result:
12722
  """
12723
  Attributes:
12724
   - success
12725
   - cex
12726
  """
12727
 
12728
  thrift_spec = (
12729
    (0, TType.I64, 'success', None, None, ), # 0
12730
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12731
  )
12732
 
12733
  def __init__(self, success=None, cex=None,):
12734
    self.success = success
12735
    self.cex = cex
12736
 
12737
  def read(self, iprot):
12738
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12739
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12740
      return
12741
    iprot.readStructBegin()
12742
    while True:
12743
      (fname, ftype, fid) = iprot.readFieldBegin()
12744
      if ftype == TType.STOP:
12745
        break
12746
      if fid == 0:
12747
        if ftype == TType.I64:
12748
          self.success = iprot.readI64();
12749
        else:
12750
          iprot.skip(ftype)
12751
      elif fid == 1:
12752
        if ftype == TType.STRUCT:
12753
          self.cex = CatalogServiceException()
12754
          self.cex.read(iprot)
12755
        else:
12756
          iprot.skip(ftype)
12757
      else:
12758
        iprot.skip(ftype)
12759
      iprot.readFieldEnd()
12760
    iprot.readStructEnd()
12761
 
12762
  def write(self, oprot):
12763
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12764
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12765
      return
12766
    oprot.writeStructBegin('getLatestArrivalsCount_result')
12767
    if self.success is not None:
12768
      oprot.writeFieldBegin('success', TType.I64, 0)
12769
      oprot.writeI64(self.success)
12770
      oprot.writeFieldEnd()
12771
    if self.cex is not None:
12772
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12773
      self.cex.write(oprot)
12774
      oprot.writeFieldEnd()
12775
    oprot.writeFieldStop()
12776
    oprot.writeStructEnd()
12777
 
12778
  def validate(self):
12779
    return
12780
 
12781
 
12782
  def __repr__(self):
12783
    L = ['%s=%r' % (key, value)
12784
      for key, value in self.__dict__.iteritems()]
12785
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12786
 
12787
  def __eq__(self, other):
12788
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12789
 
12790
  def __ne__(self, other):
12791
    return not (self == other)
12792
 
12793
class generateNewEntityID_args:
12794
 
12795
  thrift_spec = (
12796
  )
12797
 
12798
  def read(self, iprot):
12799
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12800
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12801
      return
12802
    iprot.readStructBegin()
12803
    while True:
12804
      (fname, ftype, fid) = iprot.readFieldBegin()
12805
      if ftype == TType.STOP:
12806
        break
12807
      else:
12808
        iprot.skip(ftype)
12809
      iprot.readFieldEnd()
12810
    iprot.readStructEnd()
12811
 
12812
  def write(self, oprot):
12813
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12814
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12815
      return
12816
    oprot.writeStructBegin('generateNewEntityID_args')
12817
    oprot.writeFieldStop()
12818
    oprot.writeStructEnd()
12819
 
12820
  def validate(self):
12821
    return
12822
 
12823
 
12824
  def __repr__(self):
12825
    L = ['%s=%r' % (key, value)
12826
      for key, value in self.__dict__.iteritems()]
12827
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12828
 
12829
  def __eq__(self, other):
12830
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12831
 
12832
  def __ne__(self, other):
12833
    return not (self == other)
12834
 
12835
class generateNewEntityID_result:
12836
  """
12837
  Attributes:
12838
   - success
12839
  """
12840
 
12841
  thrift_spec = (
12842
    (0, TType.I64, 'success', None, None, ), # 0
12843
  )
12844
 
12845
  def __init__(self, success=None,):
12846
    self.success = success
12847
 
12848
  def read(self, iprot):
12849
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12850
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12851
      return
12852
    iprot.readStructBegin()
12853
    while True:
12854
      (fname, ftype, fid) = iprot.readFieldBegin()
12855
      if ftype == TType.STOP:
12856
        break
12857
      if fid == 0:
12858
        if ftype == TType.I64:
12859
          self.success = iprot.readI64();
12860
        else:
12861
          iprot.skip(ftype)
12862
      else:
12863
        iprot.skip(ftype)
12864
      iprot.readFieldEnd()
12865
    iprot.readStructEnd()
12866
 
12867
  def write(self, oprot):
12868
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12869
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12870
      return
12871
    oprot.writeStructBegin('generateNewEntityID_result')
12872
    if self.success is not None:
12873
      oprot.writeFieldBegin('success', TType.I64, 0)
12874
      oprot.writeI64(self.success)
12875
      oprot.writeFieldEnd()
12876
    oprot.writeFieldStop()
12877
    oprot.writeStructEnd()
12878
 
12879
  def validate(self):
12880
    return
12881
 
12882
 
12883
  def __repr__(self):
12884
    L = ['%s=%r' % (key, value)
12885
      for key, value in self.__dict__.iteritems()]
12886
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12887
 
12888
  def __eq__(self, other):
12889
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12890
 
12891
  def __ne__(self, other):
12892
    return not (self == other)
12893
 
12894
class addCategory_args:
12895
  """
12896
  Attributes:
12897
   - category
12898
  """
12899
 
12900
  thrift_spec = (
12901
    None, # 0
12902
    (1, TType.STRUCT, 'category', (Category, Category.thrift_spec), None, ), # 1
12903
  )
12904
 
12905
  def __init__(self, category=None,):
12906
    self.category = category
12907
 
12908
  def read(self, iprot):
12909
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12910
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12911
      return
12912
    iprot.readStructBegin()
12913
    while True:
12914
      (fname, ftype, fid) = iprot.readFieldBegin()
12915
      if ftype == TType.STOP:
12916
        break
12917
      if fid == 1:
12918
        if ftype == TType.STRUCT:
12919
          self.category = Category()
12920
          self.category.read(iprot)
12921
        else:
12922
          iprot.skip(ftype)
12923
      else:
12924
        iprot.skip(ftype)
12925
      iprot.readFieldEnd()
12926
    iprot.readStructEnd()
12927
 
12928
  def write(self, oprot):
12929
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12930
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12931
      return
12932
    oprot.writeStructBegin('addCategory_args')
12933
    if self.category is not None:
12934
      oprot.writeFieldBegin('category', TType.STRUCT, 1)
12935
      self.category.write(oprot)
12936
      oprot.writeFieldEnd()
12937
    oprot.writeFieldStop()
12938
    oprot.writeStructEnd()
12939
 
12940
  def validate(self):
12941
    return
12942
 
12943
 
12944
  def __repr__(self):
12945
    L = ['%s=%r' % (key, value)
12946
      for key, value in self.__dict__.iteritems()]
12947
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12948
 
12949
  def __eq__(self, other):
12950
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12951
 
12952
  def __ne__(self, other):
12953
    return not (self == other)
12954
 
12955
class addCategory_result:
12956
  """
12957
  Attributes:
12958
   - success
12959
  """
12960
 
12961
  thrift_spec = (
12962
    (0, TType.BOOL, 'success', None, None, ), # 0
12963
  )
12964
 
12965
  def __init__(self, success=None,):
12966
    self.success = success
12967
 
12968
  def read(self, iprot):
12969
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12970
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12971
      return
12972
    iprot.readStructBegin()
12973
    while True:
12974
      (fname, ftype, fid) = iprot.readFieldBegin()
12975
      if ftype == TType.STOP:
12976
        break
12977
      if fid == 0:
12978
        if ftype == TType.BOOL:
12979
          self.success = iprot.readBool();
12980
        else:
12981
          iprot.skip(ftype)
12982
      else:
12983
        iprot.skip(ftype)
12984
      iprot.readFieldEnd()
12985
    iprot.readStructEnd()
12986
 
12987
  def write(self, oprot):
12988
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12989
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12990
      return
12991
    oprot.writeStructBegin('addCategory_result')
12992
    if self.success is not None:
12993
      oprot.writeFieldBegin('success', TType.BOOL, 0)
12994
      oprot.writeBool(self.success)
12995
      oprot.writeFieldEnd()
12996
    oprot.writeFieldStop()
12997
    oprot.writeStructEnd()
12998
 
12999
  def validate(self):
13000
    return
13001
 
13002
 
13003
  def __repr__(self):
13004
    L = ['%s=%r' % (key, value)
13005
      for key, value in self.__dict__.iteritems()]
13006
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13007
 
13008
  def __eq__(self, other):
13009
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13010
 
13011
  def __ne__(self, other):
13012
    return not (self == other)
13013
 
13014
class getCategory_args:
13015
  """
13016
  Attributes:
13017
   - id
13018
  """
13019
 
13020
  thrift_spec = (
13021
    None, # 0
13022
    (1, TType.I64, 'id', None, None, ), # 1
13023
  )
13024
 
13025
  def __init__(self, id=None,):
13026
    self.id = id
13027
 
13028
  def read(self, iprot):
13029
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13030
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13031
      return
13032
    iprot.readStructBegin()
13033
    while True:
13034
      (fname, ftype, fid) = iprot.readFieldBegin()
13035
      if ftype == TType.STOP:
13036
        break
13037
      if fid == 1:
13038
        if ftype == TType.I64:
13039
          self.id = iprot.readI64();
13040
        else:
13041
          iprot.skip(ftype)
13042
      else:
13043
        iprot.skip(ftype)
13044
      iprot.readFieldEnd()
13045
    iprot.readStructEnd()
13046
 
13047
  def write(self, oprot):
13048
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13049
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13050
      return
13051
    oprot.writeStructBegin('getCategory_args')
13052
    if self.id is not None:
13053
      oprot.writeFieldBegin('id', TType.I64, 1)
13054
      oprot.writeI64(self.id)
13055
      oprot.writeFieldEnd()
13056
    oprot.writeFieldStop()
13057
    oprot.writeStructEnd()
13058
 
13059
  def validate(self):
13060
    return
13061
 
13062
 
13063
  def __repr__(self):
13064
    L = ['%s=%r' % (key, value)
13065
      for key, value in self.__dict__.iteritems()]
13066
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13067
 
13068
  def __eq__(self, other):
13069
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13070
 
13071
  def __ne__(self, other):
13072
    return not (self == other)
13073
 
13074
class getCategory_result:
13075
  """
13076
  Attributes:
13077
   - success
13078
  """
13079
 
13080
  thrift_spec = (
13081
    (0, TType.STRUCT, 'success', (Category, Category.thrift_spec), None, ), # 0
13082
  )
13083
 
13084
  def __init__(self, success=None,):
13085
    self.success = success
13086
 
13087
  def read(self, iprot):
13088
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13089
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13090
      return
13091
    iprot.readStructBegin()
13092
    while True:
13093
      (fname, ftype, fid) = iprot.readFieldBegin()
13094
      if ftype == TType.STOP:
13095
        break
13096
      if fid == 0:
13097
        if ftype == TType.STRUCT:
13098
          self.success = Category()
13099
          self.success.read(iprot)
13100
        else:
13101
          iprot.skip(ftype)
13102
      else:
13103
        iprot.skip(ftype)
13104
      iprot.readFieldEnd()
13105
    iprot.readStructEnd()
13106
 
13107
  def write(self, oprot):
13108
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13109
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13110
      return
13111
    oprot.writeStructBegin('getCategory_result')
13112
    if self.success is not None:
13113
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
13114
      self.success.write(oprot)
13115
      oprot.writeFieldEnd()
13116
    oprot.writeFieldStop()
13117
    oprot.writeStructEnd()
13118
 
13119
  def validate(self):
13120
    return
13121
 
13122
 
13123
  def __repr__(self):
13124
    L = ['%s=%r' % (key, value)
13125
      for key, value in self.__dict__.iteritems()]
13126
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13127
 
13128
  def __eq__(self, other):
13129
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13130
 
13131
  def __ne__(self, other):
13132
    return not (self == other)
13133
 
13134
class getAllCategories_args:
13135
 
13136
  thrift_spec = (
13137
  )
13138
 
13139
  def read(self, iprot):
13140
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13141
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13142
      return
13143
    iprot.readStructBegin()
13144
    while True:
13145
      (fname, ftype, fid) = iprot.readFieldBegin()
13146
      if ftype == TType.STOP:
13147
        break
13148
      else:
13149
        iprot.skip(ftype)
13150
      iprot.readFieldEnd()
13151
    iprot.readStructEnd()
13152
 
13153
  def write(self, oprot):
13154
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13155
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13156
      return
13157
    oprot.writeStructBegin('getAllCategories_args')
13158
    oprot.writeFieldStop()
13159
    oprot.writeStructEnd()
13160
 
13161
  def validate(self):
13162
    return
13163
 
13164
 
13165
  def __repr__(self):
13166
    L = ['%s=%r' % (key, value)
13167
      for key, value in self.__dict__.iteritems()]
13168
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13169
 
13170
  def __eq__(self, other):
13171
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13172
 
13173
  def __ne__(self, other):
13174
    return not (self == other)
13175
 
13176
class getAllCategories_result:
13177
  """
13178
  Attributes:
13179
   - success
13180
  """
13181
 
13182
  thrift_spec = (
13183
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
13184
  )
13185
 
13186
  def __init__(self, success=None,):
13187
    self.success = success
13188
 
13189
  def read(self, iprot):
13190
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13191
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13192
      return
13193
    iprot.readStructBegin()
13194
    while True:
13195
      (fname, ftype, fid) = iprot.readFieldBegin()
13196
      if ftype == TType.STOP:
13197
        break
13198
      if fid == 0:
13199
        if ftype == TType.LIST:
13200
          self.success = []
8590 kshitij.so 13201
          (_etype154, _size151) = iprot.readListBegin()
13202
          for _i155 in xrange(_size151):
13203
            _elem156 = Category()
13204
            _elem156.read(iprot)
13205
            self.success.append(_elem156)
5944 mandeep.dh 13206
          iprot.readListEnd()
13207
        else:
13208
          iprot.skip(ftype)
13209
      else:
13210
        iprot.skip(ftype)
13211
      iprot.readFieldEnd()
13212
    iprot.readStructEnd()
13213
 
13214
  def write(self, oprot):
13215
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13216
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13217
      return
13218
    oprot.writeStructBegin('getAllCategories_result')
13219
    if self.success is not None:
13220
      oprot.writeFieldBegin('success', TType.LIST, 0)
13221
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 13222
      for iter157 in self.success:
13223
        iter157.write(oprot)
5944 mandeep.dh 13224
      oprot.writeListEnd()
13225
      oprot.writeFieldEnd()
13226
    oprot.writeFieldStop()
13227
    oprot.writeStructEnd()
13228
 
13229
  def validate(self):
13230
    return
13231
 
13232
 
13233
  def __repr__(self):
13234
    L = ['%s=%r' % (key, value)
13235
      for key, value in self.__dict__.iteritems()]
13236
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13237
 
13238
  def __eq__(self, other):
13239
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13240
 
13241
  def __ne__(self, other):
13242
    return not (self == other)
13243
 
13244
class getAllSimilarItems_args:
13245
  """
13246
  Attributes:
13247
   - itemId
13248
  """
13249
 
13250
  thrift_spec = (
13251
    None, # 0
13252
    (1, TType.I64, 'itemId', None, None, ), # 1
13253
  )
13254
 
13255
  def __init__(self, itemId=None,):
13256
    self.itemId = itemId
13257
 
13258
  def read(self, iprot):
13259
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13260
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13261
      return
13262
    iprot.readStructBegin()
13263
    while True:
13264
      (fname, ftype, fid) = iprot.readFieldBegin()
13265
      if ftype == TType.STOP:
13266
        break
13267
      if fid == 1:
13268
        if ftype == TType.I64:
13269
          self.itemId = iprot.readI64();
13270
        else:
13271
          iprot.skip(ftype)
13272
      else:
13273
        iprot.skip(ftype)
13274
      iprot.readFieldEnd()
13275
    iprot.readStructEnd()
13276
 
13277
  def write(self, oprot):
13278
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13279
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13280
      return
13281
    oprot.writeStructBegin('getAllSimilarItems_args')
13282
    if self.itemId is not None:
13283
      oprot.writeFieldBegin('itemId', TType.I64, 1)
13284
      oprot.writeI64(self.itemId)
13285
      oprot.writeFieldEnd()
13286
    oprot.writeFieldStop()
13287
    oprot.writeStructEnd()
13288
 
13289
  def validate(self):
13290
    return
13291
 
13292
 
13293
  def __repr__(self):
13294
    L = ['%s=%r' % (key, value)
13295
      for key, value in self.__dict__.iteritems()]
13296
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13297
 
13298
  def __eq__(self, other):
13299
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13300
 
13301
  def __ne__(self, other):
13302
    return not (self == other)
13303
 
13304
class getAllSimilarItems_result:
13305
  """
13306
  Attributes:
13307
   - success
13308
  """
13309
 
13310
  thrift_spec = (
13311
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13312
  )
13313
 
13314
  def __init__(self, success=None,):
13315
    self.success = success
13316
 
13317
  def read(self, iprot):
13318
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13319
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13320
      return
13321
    iprot.readStructBegin()
13322
    while True:
13323
      (fname, ftype, fid) = iprot.readFieldBegin()
13324
      if ftype == TType.STOP:
13325
        break
13326
      if fid == 0:
13327
        if ftype == TType.LIST:
13328
          self.success = []
8590 kshitij.so 13329
          (_etype161, _size158) = iprot.readListBegin()
13330
          for _i162 in xrange(_size158):
13331
            _elem163 = Item()
13332
            _elem163.read(iprot)
13333
            self.success.append(_elem163)
5944 mandeep.dh 13334
          iprot.readListEnd()
13335
        else:
13336
          iprot.skip(ftype)
13337
      else:
13338
        iprot.skip(ftype)
13339
      iprot.readFieldEnd()
13340
    iprot.readStructEnd()
13341
 
13342
  def write(self, oprot):
13343
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13344
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13345
      return
13346
    oprot.writeStructBegin('getAllSimilarItems_result')
13347
    if self.success is not None:
13348
      oprot.writeFieldBegin('success', TType.LIST, 0)
13349
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 13350
      for iter164 in self.success:
13351
        iter164.write(oprot)
5944 mandeep.dh 13352
      oprot.writeListEnd()
13353
      oprot.writeFieldEnd()
13354
    oprot.writeFieldStop()
13355
    oprot.writeStructEnd()
13356
 
13357
  def validate(self):
13358
    return
13359
 
13360
 
13361
  def __repr__(self):
13362
    L = ['%s=%r' % (key, value)
13363
      for key, value in self.__dict__.iteritems()]
13364
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13365
 
13366
  def __eq__(self, other):
13367
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13368
 
13369
  def __ne__(self, other):
13370
    return not (self == other)
13371
 
13372
class addSimilarItem_args:
13373
  """
13374
  Attributes:
13375
   - itemId
13376
   - catalogItemId
13377
  """
13378
 
13379
  thrift_spec = (
13380
    None, # 0
13381
    (1, TType.I64, 'itemId', None, None, ), # 1
13382
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
13383
  )
13384
 
13385
  def __init__(self, itemId=None, catalogItemId=None,):
13386
    self.itemId = itemId
13387
    self.catalogItemId = catalogItemId
13388
 
13389
  def read(self, iprot):
13390
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13391
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13392
      return
13393
    iprot.readStructBegin()
13394
    while True:
13395
      (fname, ftype, fid) = iprot.readFieldBegin()
13396
      if ftype == TType.STOP:
13397
        break
13398
      if fid == 1:
13399
        if ftype == TType.I64:
13400
          self.itemId = iprot.readI64();
13401
        else:
13402
          iprot.skip(ftype)
13403
      elif fid == 2:
13404
        if ftype == TType.I64:
13405
          self.catalogItemId = iprot.readI64();
13406
        else:
13407
          iprot.skip(ftype)
13408
      else:
13409
        iprot.skip(ftype)
13410
      iprot.readFieldEnd()
13411
    iprot.readStructEnd()
13412
 
13413
  def write(self, oprot):
13414
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13415
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13416
      return
13417
    oprot.writeStructBegin('addSimilarItem_args')
13418
    if self.itemId is not None:
13419
      oprot.writeFieldBegin('itemId', TType.I64, 1)
13420
      oprot.writeI64(self.itemId)
13421
      oprot.writeFieldEnd()
13422
    if self.catalogItemId is not None:
13423
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
13424
      oprot.writeI64(self.catalogItemId)
13425
      oprot.writeFieldEnd()
13426
    oprot.writeFieldStop()
13427
    oprot.writeStructEnd()
13428
 
13429
  def validate(self):
13430
    return
13431
 
13432
 
13433
  def __repr__(self):
13434
    L = ['%s=%r' % (key, value)
13435
      for key, value in self.__dict__.iteritems()]
13436
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13437
 
13438
  def __eq__(self, other):
13439
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13440
 
13441
  def __ne__(self, other):
13442
    return not (self == other)
13443
 
13444
class addSimilarItem_result:
13445
  """
13446
  Attributes:
13447
   - success
13448
   - cex
13449
  """
13450
 
13451
  thrift_spec = (
13452
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
13453
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13454
  )
13455
 
13456
  def __init__(self, success=None, cex=None,):
13457
    self.success = success
13458
    self.cex = cex
13459
 
13460
  def read(self, iprot):
13461
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13462
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13463
      return
13464
    iprot.readStructBegin()
13465
    while True:
13466
      (fname, ftype, fid) = iprot.readFieldBegin()
13467
      if ftype == TType.STOP:
13468
        break
13469
      if fid == 0:
13470
        if ftype == TType.STRUCT:
13471
          self.success = Item()
13472
          self.success.read(iprot)
13473
        else:
13474
          iprot.skip(ftype)
13475
      elif fid == 1:
13476
        if ftype == TType.STRUCT:
13477
          self.cex = CatalogServiceException()
13478
          self.cex.read(iprot)
13479
        else:
13480
          iprot.skip(ftype)
13481
      else:
13482
        iprot.skip(ftype)
13483
      iprot.readFieldEnd()
13484
    iprot.readStructEnd()
13485
 
13486
  def write(self, oprot):
13487
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13488
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13489
      return
13490
    oprot.writeStructBegin('addSimilarItem_result')
13491
    if self.success is not None:
13492
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
13493
      self.success.write(oprot)
13494
      oprot.writeFieldEnd()
13495
    if self.cex is not None:
13496
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13497
      self.cex.write(oprot)
13498
      oprot.writeFieldEnd()
13499
    oprot.writeFieldStop()
13500
    oprot.writeStructEnd()
13501
 
13502
  def validate(self):
13503
    return
13504
 
13505
 
13506
  def __repr__(self):
13507
    L = ['%s=%r' % (key, value)
13508
      for key, value in self.__dict__.iteritems()]
13509
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13510
 
13511
  def __eq__(self, other):
13512
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13513
 
13514
  def __ne__(self, other):
13515
    return not (self == other)
13516
 
6512 kshitij.so 13517
class addTag_args:
13518
  """
13519
  Attributes:
13520
   - displayName
13521
   - itemId
13522
  """
13523
 
13524
  thrift_spec = (
13525
    None, # 0
13526
    (1, TType.STRING, 'displayName', None, None, ), # 1
13527
    (2, TType.I64, 'itemId', None, None, ), # 2
13528
  )
13529
 
13530
  def __init__(self, displayName=None, itemId=None,):
13531
    self.displayName = displayName
13532
    self.itemId = itemId
13533
 
13534
  def read(self, iprot):
13535
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13536
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13537
      return
13538
    iprot.readStructBegin()
13539
    while True:
13540
      (fname, ftype, fid) = iprot.readFieldBegin()
13541
      if ftype == TType.STOP:
13542
        break
13543
      if fid == 1:
13544
        if ftype == TType.STRING:
13545
          self.displayName = iprot.readString();
13546
        else:
13547
          iprot.skip(ftype)
13548
      elif fid == 2:
13549
        if ftype == TType.I64:
13550
          self.itemId = iprot.readI64();
13551
        else:
13552
          iprot.skip(ftype)
13553
      else:
13554
        iprot.skip(ftype)
13555
      iprot.readFieldEnd()
13556
    iprot.readStructEnd()
13557
 
13558
  def write(self, oprot):
13559
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13560
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13561
      return
13562
    oprot.writeStructBegin('addTag_args')
13563
    if self.displayName is not None:
13564
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
13565
      oprot.writeString(self.displayName)
13566
      oprot.writeFieldEnd()
13567
    if self.itemId is not None:
13568
      oprot.writeFieldBegin('itemId', TType.I64, 2)
13569
      oprot.writeI64(self.itemId)
13570
      oprot.writeFieldEnd()
13571
    oprot.writeFieldStop()
13572
    oprot.writeStructEnd()
13573
 
13574
  def validate(self):
13575
    return
13576
 
13577
 
13578
  def __repr__(self):
13579
    L = ['%s=%r' % (key, value)
13580
      for key, value in self.__dict__.iteritems()]
13581
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13582
 
13583
  def __eq__(self, other):
13584
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13585
 
13586
  def __ne__(self, other):
13587
    return not (self == other)
13588
 
13589
class addTag_result:
13590
  """
13591
  Attributes:
13592
   - success
13593
  """
13594
 
13595
  thrift_spec = (
13596
    (0, TType.BOOL, 'success', None, None, ), # 0
13597
  )
13598
 
13599
  def __init__(self, success=None,):
13600
    self.success = success
13601
 
13602
  def read(self, iprot):
13603
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13604
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13605
      return
13606
    iprot.readStructBegin()
13607
    while True:
13608
      (fname, ftype, fid) = iprot.readFieldBegin()
13609
      if ftype == TType.STOP:
13610
        break
13611
      if fid == 0:
13612
        if ftype == TType.BOOL:
13613
          self.success = iprot.readBool();
13614
        else:
13615
          iprot.skip(ftype)
13616
      else:
13617
        iprot.skip(ftype)
13618
      iprot.readFieldEnd()
13619
    iprot.readStructEnd()
13620
 
13621
  def write(self, oprot):
13622
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13623
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13624
      return
13625
    oprot.writeStructBegin('addTag_result')
13626
    if self.success is not None:
13627
      oprot.writeFieldBegin('success', TType.BOOL, 0)
13628
      oprot.writeBool(self.success)
13629
      oprot.writeFieldEnd()
13630
    oprot.writeFieldStop()
13631
    oprot.writeStructEnd()
13632
 
13633
  def validate(self):
13634
    return
13635
 
13636
 
13637
  def __repr__(self):
13638
    L = ['%s=%r' % (key, value)
13639
      for key, value in self.__dict__.iteritems()]
13640
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13641
 
13642
  def __eq__(self, other):
13643
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13644
 
13645
  def __ne__(self, other):
13646
    return not (self == other)
13647
 
13648
class deleteEntityTag_args:
13649
  """
13650
  Attributes:
13651
   - displayName
13652
   - itemId
13653
  """
13654
 
13655
  thrift_spec = (
13656
    None, # 0
13657
    (1, TType.STRING, 'displayName', None, None, ), # 1
13658
    (2, TType.I64, 'itemId', None, None, ), # 2
13659
  )
13660
 
13661
  def __init__(self, displayName=None, itemId=None,):
13662
    self.displayName = displayName
13663
    self.itemId = itemId
13664
 
13665
  def read(self, iprot):
13666
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13667
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13668
      return
13669
    iprot.readStructBegin()
13670
    while True:
13671
      (fname, ftype, fid) = iprot.readFieldBegin()
13672
      if ftype == TType.STOP:
13673
        break
13674
      if fid == 1:
13675
        if ftype == TType.STRING:
13676
          self.displayName = iprot.readString();
13677
        else:
13678
          iprot.skip(ftype)
13679
      elif fid == 2:
13680
        if ftype == TType.I64:
13681
          self.itemId = iprot.readI64();
13682
        else:
13683
          iprot.skip(ftype)
13684
      else:
13685
        iprot.skip(ftype)
13686
      iprot.readFieldEnd()
13687
    iprot.readStructEnd()
13688
 
13689
  def write(self, oprot):
13690
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13691
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13692
      return
13693
    oprot.writeStructBegin('deleteEntityTag_args')
13694
    if self.displayName is not None:
13695
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
13696
      oprot.writeString(self.displayName)
13697
      oprot.writeFieldEnd()
13698
    if self.itemId is not None:
13699
      oprot.writeFieldBegin('itemId', TType.I64, 2)
13700
      oprot.writeI64(self.itemId)
13701
      oprot.writeFieldEnd()
13702
    oprot.writeFieldStop()
13703
    oprot.writeStructEnd()
13704
 
13705
  def validate(self):
13706
    return
13707
 
13708
 
13709
  def __repr__(self):
13710
    L = ['%s=%r' % (key, value)
13711
      for key, value in self.__dict__.iteritems()]
13712
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13713
 
13714
  def __eq__(self, other):
13715
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13716
 
13717
  def __ne__(self, other):
13718
    return not (self == other)
13719
 
13720
class deleteEntityTag_result:
13721
  """
13722
  Attributes:
13723
   - success
13724
  """
13725
 
13726
  thrift_spec = (
13727
    (0, TType.BOOL, 'success', None, None, ), # 0
13728
  )
13729
 
13730
  def __init__(self, success=None,):
13731
    self.success = success
13732
 
13733
  def read(self, iprot):
13734
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13735
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13736
      return
13737
    iprot.readStructBegin()
13738
    while True:
13739
      (fname, ftype, fid) = iprot.readFieldBegin()
13740
      if ftype == TType.STOP:
13741
        break
13742
      if fid == 0:
13743
        if ftype == TType.BOOL:
13744
          self.success = iprot.readBool();
13745
        else:
13746
          iprot.skip(ftype)
13747
      else:
13748
        iprot.skip(ftype)
13749
      iprot.readFieldEnd()
13750
    iprot.readStructEnd()
13751
 
13752
  def write(self, oprot):
13753
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13754
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13755
      return
13756
    oprot.writeStructBegin('deleteEntityTag_result')
13757
    if self.success is not None:
13758
      oprot.writeFieldBegin('success', TType.BOOL, 0)
13759
      oprot.writeBool(self.success)
13760
      oprot.writeFieldEnd()
13761
    oprot.writeFieldStop()
13762
    oprot.writeStructEnd()
13763
 
13764
  def validate(self):
13765
    return
13766
 
13767
 
13768
  def __repr__(self):
13769
    L = ['%s=%r' % (key, value)
13770
      for key, value in self.__dict__.iteritems()]
13771
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13772
 
13773
  def __eq__(self, other):
13774
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13775
 
13776
  def __ne__(self, other):
13777
    return not (self == other)
13778
 
13779
class deleteTag_args:
13780
  """
13781
  Attributes:
13782
   - displayName
13783
  """
13784
 
13785
  thrift_spec = (
13786
    None, # 0
13787
    (1, TType.STRING, 'displayName', None, None, ), # 1
13788
  )
13789
 
13790
  def __init__(self, displayName=None,):
13791
    self.displayName = displayName
13792
 
13793
  def read(self, iprot):
13794
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13795
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13796
      return
13797
    iprot.readStructBegin()
13798
    while True:
13799
      (fname, ftype, fid) = iprot.readFieldBegin()
13800
      if ftype == TType.STOP:
13801
        break
13802
      if fid == 1:
13803
        if ftype == TType.STRING:
13804
          self.displayName = iprot.readString();
13805
        else:
13806
          iprot.skip(ftype)
13807
      else:
13808
        iprot.skip(ftype)
13809
      iprot.readFieldEnd()
13810
    iprot.readStructEnd()
13811
 
13812
  def write(self, oprot):
13813
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13814
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13815
      return
13816
    oprot.writeStructBegin('deleteTag_args')
13817
    if self.displayName is not None:
13818
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
13819
      oprot.writeString(self.displayName)
13820
      oprot.writeFieldEnd()
13821
    oprot.writeFieldStop()
13822
    oprot.writeStructEnd()
13823
 
13824
  def validate(self):
13825
    return
13826
 
13827
 
13828
  def __repr__(self):
13829
    L = ['%s=%r' % (key, value)
13830
      for key, value in self.__dict__.iteritems()]
13831
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13832
 
13833
  def __eq__(self, other):
13834
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13835
 
13836
  def __ne__(self, other):
13837
    return not (self == other)
13838
 
13839
class deleteTag_result:
13840
  """
13841
  Attributes:
13842
   - success
13843
  """
13844
 
13845
  thrift_spec = (
13846
    (0, TType.BOOL, 'success', None, None, ), # 0
13847
  )
13848
 
13849
  def __init__(self, success=None,):
13850
    self.success = success
13851
 
13852
  def read(self, iprot):
13853
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13854
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13855
      return
13856
    iprot.readStructBegin()
13857
    while True:
13858
      (fname, ftype, fid) = iprot.readFieldBegin()
13859
      if ftype == TType.STOP:
13860
        break
13861
      if fid == 0:
13862
        if ftype == TType.BOOL:
13863
          self.success = iprot.readBool();
13864
        else:
13865
          iprot.skip(ftype)
13866
      else:
13867
        iprot.skip(ftype)
13868
      iprot.readFieldEnd()
13869
    iprot.readStructEnd()
13870
 
13871
  def write(self, oprot):
13872
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13873
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13874
      return
13875
    oprot.writeStructBegin('deleteTag_result')
13876
    if self.success is not None:
13877
      oprot.writeFieldBegin('success', TType.BOOL, 0)
13878
      oprot.writeBool(self.success)
13879
      oprot.writeFieldEnd()
13880
    oprot.writeFieldStop()
13881
    oprot.writeStructEnd()
13882
 
13883
  def validate(self):
13884
    return
13885
 
13886
 
13887
  def __repr__(self):
13888
    L = ['%s=%r' % (key, value)
13889
      for key, value in self.__dict__.iteritems()]
13890
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13891
 
13892
  def __eq__(self, other):
13893
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13894
 
13895
  def __ne__(self, other):
13896
    return not (self == other)
13897
 
13898
class getAllTags_args:
13899
 
13900
  thrift_spec = (
13901
  )
13902
 
13903
  def read(self, iprot):
13904
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13905
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13906
      return
13907
    iprot.readStructBegin()
13908
    while True:
13909
      (fname, ftype, fid) = iprot.readFieldBegin()
13910
      if ftype == TType.STOP:
13911
        break
13912
      else:
13913
        iprot.skip(ftype)
13914
      iprot.readFieldEnd()
13915
    iprot.readStructEnd()
13916
 
13917
  def write(self, oprot):
13918
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13919
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13920
      return
13921
    oprot.writeStructBegin('getAllTags_args')
13922
    oprot.writeFieldStop()
13923
    oprot.writeStructEnd()
13924
 
13925
  def validate(self):
13926
    return
13927
 
13928
 
13929
  def __repr__(self):
13930
    L = ['%s=%r' % (key, value)
13931
      for key, value in self.__dict__.iteritems()]
13932
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13933
 
13934
  def __eq__(self, other):
13935
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13936
 
13937
  def __ne__(self, other):
13938
    return not (self == other)
13939
 
13940
class getAllTags_result:
13941
  """
13942
  Attributes:
13943
   - success
13944
  """
13945
 
13946
  thrift_spec = (
13947
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
13948
  )
13949
 
13950
  def __init__(self, success=None,):
13951
    self.success = success
13952
 
13953
  def read(self, iprot):
13954
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13955
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13956
      return
13957
    iprot.readStructBegin()
13958
    while True:
13959
      (fname, ftype, fid) = iprot.readFieldBegin()
13960
      if ftype == TType.STOP:
13961
        break
13962
      if fid == 0:
13963
        if ftype == TType.LIST:
13964
          self.success = []
8590 kshitij.so 13965
          (_etype168, _size165) = iprot.readListBegin()
13966
          for _i169 in xrange(_size165):
13967
            _elem170 = iprot.readString();
13968
            self.success.append(_elem170)
6512 kshitij.so 13969
          iprot.readListEnd()
13970
        else:
13971
          iprot.skip(ftype)
13972
      else:
13973
        iprot.skip(ftype)
13974
      iprot.readFieldEnd()
13975
    iprot.readStructEnd()
13976
 
13977
  def write(self, oprot):
13978
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13979
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13980
      return
13981
    oprot.writeStructBegin('getAllTags_result')
13982
    if self.success is not None:
13983
      oprot.writeFieldBegin('success', TType.LIST, 0)
13984
      oprot.writeListBegin(TType.STRING, len(self.success))
8590 kshitij.so 13985
      for iter171 in self.success:
13986
        oprot.writeString(iter171)
6512 kshitij.so 13987
      oprot.writeListEnd()
13988
      oprot.writeFieldEnd()
13989
    oprot.writeFieldStop()
13990
    oprot.writeStructEnd()
13991
 
13992
  def validate(self):
13993
    return
13994
 
13995
 
13996
  def __repr__(self):
13997
    L = ['%s=%r' % (key, value)
13998
      for key, value in self.__dict__.iteritems()]
13999
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14000
 
14001
  def __eq__(self, other):
14002
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14003
 
14004
  def __ne__(self, other):
14005
    return not (self == other)
14006
 
14007
class getAllEntitiesByTagName_args:
14008
  """
14009
  Attributes:
14010
   - displayName
14011
  """
14012
 
14013
  thrift_spec = (
14014
    None, # 0
14015
    (1, TType.STRING, 'displayName', None, None, ), # 1
14016
  )
14017
 
14018
  def __init__(self, displayName=None,):
14019
    self.displayName = displayName
14020
 
14021
  def read(self, iprot):
14022
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14023
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14024
      return
14025
    iprot.readStructBegin()
14026
    while True:
14027
      (fname, ftype, fid) = iprot.readFieldBegin()
14028
      if ftype == TType.STOP:
14029
        break
14030
      if fid == 1:
14031
        if ftype == TType.STRING:
14032
          self.displayName = iprot.readString();
14033
        else:
14034
          iprot.skip(ftype)
14035
      else:
14036
        iprot.skip(ftype)
14037
      iprot.readFieldEnd()
14038
    iprot.readStructEnd()
14039
 
14040
  def write(self, oprot):
14041
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14042
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14043
      return
14044
    oprot.writeStructBegin('getAllEntitiesByTagName_args')
14045
    if self.displayName is not None:
14046
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14047
      oprot.writeString(self.displayName)
14048
      oprot.writeFieldEnd()
14049
    oprot.writeFieldStop()
14050
    oprot.writeStructEnd()
14051
 
14052
  def validate(self):
14053
    return
14054
 
14055
 
14056
  def __repr__(self):
14057
    L = ['%s=%r' % (key, value)
14058
      for key, value in self.__dict__.iteritems()]
14059
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14060
 
14061
  def __eq__(self, other):
14062
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14063
 
14064
  def __ne__(self, other):
14065
    return not (self == other)
14066
 
14067
class getAllEntitiesByTagName_result:
14068
  """
14069
  Attributes:
14070
   - success
14071
  """
14072
 
14073
  thrift_spec = (
14074
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
14075
  )
14076
 
14077
  def __init__(self, success=None,):
14078
    self.success = success
14079
 
14080
  def read(self, iprot):
14081
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14082
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14083
      return
14084
    iprot.readStructBegin()
14085
    while True:
14086
      (fname, ftype, fid) = iprot.readFieldBegin()
14087
      if ftype == TType.STOP:
14088
        break
14089
      if fid == 0:
14090
        if ftype == TType.LIST:
14091
          self.success = []
8590 kshitij.so 14092
          (_etype175, _size172) = iprot.readListBegin()
14093
          for _i176 in xrange(_size172):
14094
            _elem177 = iprot.readI64();
14095
            self.success.append(_elem177)
6512 kshitij.so 14096
          iprot.readListEnd()
14097
        else:
14098
          iprot.skip(ftype)
14099
      else:
14100
        iprot.skip(ftype)
14101
      iprot.readFieldEnd()
14102
    iprot.readStructEnd()
14103
 
14104
  def write(self, oprot):
14105
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14106
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14107
      return
14108
    oprot.writeStructBegin('getAllEntitiesByTagName_result')
14109
    if self.success is not None:
14110
      oprot.writeFieldBegin('success', TType.LIST, 0)
14111
      oprot.writeListBegin(TType.I64, len(self.success))
8590 kshitij.so 14112
      for iter178 in self.success:
14113
        oprot.writeI64(iter178)
6512 kshitij.so 14114
      oprot.writeListEnd()
14115
      oprot.writeFieldEnd()
14116
    oprot.writeFieldStop()
14117
    oprot.writeStructEnd()
14118
 
14119
  def validate(self):
14120
    return
14121
 
14122
 
14123
  def __repr__(self):
14124
    L = ['%s=%r' % (key, value)
14125
      for key, value in self.__dict__.iteritems()]
14126
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14127
 
14128
  def __eq__(self, other):
14129
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14130
 
14131
  def __ne__(self, other):
14132
    return not (self == other)
14133
 
6845 amit.gupta 14134
class getAllEntityTags_args:
14135
 
14136
  thrift_spec = (
14137
  )
14138
 
14139
  def read(self, iprot):
14140
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14141
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14142
      return
14143
    iprot.readStructBegin()
14144
    while True:
14145
      (fname, ftype, fid) = iprot.readFieldBegin()
14146
      if ftype == TType.STOP:
14147
        break
14148
      else:
14149
        iprot.skip(ftype)
14150
      iprot.readFieldEnd()
14151
    iprot.readStructEnd()
14152
 
14153
  def write(self, oprot):
14154
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14155
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14156
      return
14157
    oprot.writeStructBegin('getAllEntityTags_args')
14158
    oprot.writeFieldStop()
14159
    oprot.writeStructEnd()
14160
 
14161
  def validate(self):
14162
    return
14163
 
14164
 
14165
  def __repr__(self):
14166
    L = ['%s=%r' % (key, value)
14167
      for key, value in self.__dict__.iteritems()]
14168
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14169
 
14170
  def __eq__(self, other):
14171
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14172
 
14173
  def __ne__(self, other):
14174
    return not (self == other)
14175
 
14176
class getAllEntityTags_result:
14177
  """
14178
  Attributes:
14179
   - success
14180
  """
14181
 
14182
  thrift_spec = (
14183
    (0, TType.MAP, 'success', (TType.I64,None,TType.LIST,(TType.STRING,None)), None, ), # 0
14184
  )
14185
 
14186
  def __init__(self, success=None,):
14187
    self.success = success
14188
 
14189
  def read(self, iprot):
14190
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14191
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14192
      return
14193
    iprot.readStructBegin()
14194
    while True:
14195
      (fname, ftype, fid) = iprot.readFieldBegin()
14196
      if ftype == TType.STOP:
14197
        break
14198
      if fid == 0:
14199
        if ftype == TType.MAP:
14200
          self.success = {}
8590 kshitij.so 14201
          (_ktype180, _vtype181, _size179 ) = iprot.readMapBegin() 
14202
          for _i183 in xrange(_size179):
14203
            _key184 = iprot.readI64();
14204
            _val185 = []
14205
            (_etype189, _size186) = iprot.readListBegin()
14206
            for _i190 in xrange(_size186):
14207
              _elem191 = iprot.readString();
14208
              _val185.append(_elem191)
6845 amit.gupta 14209
            iprot.readListEnd()
8590 kshitij.so 14210
            self.success[_key184] = _val185
6845 amit.gupta 14211
          iprot.readMapEnd()
14212
        else:
14213
          iprot.skip(ftype)
14214
      else:
14215
        iprot.skip(ftype)
14216
      iprot.readFieldEnd()
14217
    iprot.readStructEnd()
14218
 
14219
  def write(self, oprot):
14220
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14221
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14222
      return
14223
    oprot.writeStructBegin('getAllEntityTags_result')
14224
    if self.success is not None:
14225
      oprot.writeFieldBegin('success', TType.MAP, 0)
14226
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.success))
8590 kshitij.so 14227
      for kiter192,viter193 in self.success.items():
14228
        oprot.writeI64(kiter192)
14229
        oprot.writeListBegin(TType.STRING, len(viter193))
14230
        for iter194 in viter193:
14231
          oprot.writeString(iter194)
6845 amit.gupta 14232
        oprot.writeListEnd()
14233
      oprot.writeMapEnd()
14234
      oprot.writeFieldEnd()
14235
    oprot.writeFieldStop()
14236
    oprot.writeStructEnd()
14237
 
14238
  def validate(self):
14239
    return
14240
 
14241
 
14242
  def __repr__(self):
14243
    L = ['%s=%r' % (key, value)
14244
      for key, value in self.__dict__.iteritems()]
14245
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14246
 
14247
  def __eq__(self, other):
14248
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14249
 
14250
  def __ne__(self, other):
14251
    return not (self == other)
14252
 
6850 kshitij.so 14253
class addBanner_args:
14254
  """
14255
  Attributes:
8590 kshitij.so 14256
   - bannerCongregate
6850 kshitij.so 14257
  """
14258
 
14259
  thrift_spec = (
14260
    None, # 0
8590 kshitij.so 14261
    (1, TType.STRUCT, 'bannerCongregate', (BannerCongregate, BannerCongregate.thrift_spec), None, ), # 1
6850 kshitij.so 14262
  )
14263
 
8590 kshitij.so 14264
  def __init__(self, bannerCongregate=None,):
14265
    self.bannerCongregate = bannerCongregate
6850 kshitij.so 14266
 
14267
  def read(self, iprot):
14268
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14269
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14270
      return
14271
    iprot.readStructBegin()
14272
    while True:
14273
      (fname, ftype, fid) = iprot.readFieldBegin()
14274
      if ftype == TType.STOP:
14275
        break
14276
      if fid == 1:
8579 kshitij.so 14277
        if ftype == TType.STRUCT:
8590 kshitij.so 14278
          self.bannerCongregate = BannerCongregate()
14279
          self.bannerCongregate.read(iprot)
6850 kshitij.so 14280
        else:
14281
          iprot.skip(ftype)
8579 kshitij.so 14282
      else:
14283
        iprot.skip(ftype)
14284
      iprot.readFieldEnd()
14285
    iprot.readStructEnd()
14286
 
14287
  def write(self, oprot):
14288
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14289
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14290
      return
14291
    oprot.writeStructBegin('addBanner_args')
8590 kshitij.so 14292
    if self.bannerCongregate is not None:
14293
      oprot.writeFieldBegin('bannerCongregate', TType.STRUCT, 1)
14294
      self.bannerCongregate.write(oprot)
8579 kshitij.so 14295
      oprot.writeFieldEnd()
14296
    oprot.writeFieldStop()
14297
    oprot.writeStructEnd()
14298
 
14299
  def validate(self):
14300
    return
14301
 
14302
 
14303
  def __repr__(self):
14304
    L = ['%s=%r' % (key, value)
14305
      for key, value in self.__dict__.iteritems()]
14306
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14307
 
14308
  def __eq__(self, other):
14309
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14310
 
14311
  def __ne__(self, other):
14312
    return not (self == other)
14313
 
14314
class addBanner_result:
10097 kshitij.so 14315
  """
14316
  Attributes:
14317
   - success
14318
  """
8579 kshitij.so 14319
 
14320
  thrift_spec = (
10097 kshitij.so 14321
    (0, TType.BOOL, 'success', None, None, ), # 0
8579 kshitij.so 14322
  )
14323
 
10097 kshitij.so 14324
  def __init__(self, success=None,):
14325
    self.success = success
14326
 
8579 kshitij.so 14327
  def read(self, iprot):
14328
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14329
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14330
      return
14331
    iprot.readStructBegin()
14332
    while True:
14333
      (fname, ftype, fid) = iprot.readFieldBegin()
14334
      if ftype == TType.STOP:
14335
        break
10097 kshitij.so 14336
      if fid == 0:
14337
        if ftype == TType.BOOL:
14338
          self.success = iprot.readBool();
14339
        else:
14340
          iprot.skip(ftype)
8579 kshitij.so 14341
      else:
14342
        iprot.skip(ftype)
14343
      iprot.readFieldEnd()
14344
    iprot.readStructEnd()
14345
 
14346
  def write(self, oprot):
14347
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14348
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14349
      return
14350
    oprot.writeStructBegin('addBanner_result')
10097 kshitij.so 14351
    if self.success is not None:
14352
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14353
      oprot.writeBool(self.success)
14354
      oprot.writeFieldEnd()
8579 kshitij.so 14355
    oprot.writeFieldStop()
14356
    oprot.writeStructEnd()
14357
 
14358
  def validate(self):
14359
    return
14360
 
14361
 
14362
  def __repr__(self):
14363
    L = ['%s=%r' % (key, value)
14364
      for key, value in self.__dict__.iteritems()]
14365
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14366
 
14367
  def __eq__(self, other):
14368
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14369
 
14370
  def __ne__(self, other):
14371
    return not (self == other)
14372
 
14373
class updateBanner_args:
14374
  """
14375
  Attributes:
14376
   - banner
14377
  """
14378
 
14379
  thrift_spec = (
14380
    None, # 0
14381
    (1, TType.STRUCT, 'banner', (Banner, Banner.thrift_spec), None, ), # 1
14382
  )
14383
 
14384
  def __init__(self, banner=None,):
14385
    self.banner = banner
14386
 
14387
  def read(self, iprot):
14388
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14389
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14390
      return
14391
    iprot.readStructBegin()
14392
    while True:
14393
      (fname, ftype, fid) = iprot.readFieldBegin()
14394
      if ftype == TType.STOP:
14395
        break
14396
      if fid == 1:
14397
        if ftype == TType.STRUCT:
14398
          self.banner = Banner()
14399
          self.banner.read(iprot)
6850 kshitij.so 14400
        else:
14401
          iprot.skip(ftype)
14402
      else:
14403
        iprot.skip(ftype)
14404
      iprot.readFieldEnd()
14405
    iprot.readStructEnd()
14406
 
14407
  def write(self, oprot):
14408
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14409
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14410
      return
8579 kshitij.so 14411
    oprot.writeStructBegin('updateBanner_args')
14412
    if self.banner is not None:
14413
      oprot.writeFieldBegin('banner', TType.STRUCT, 1)
14414
      self.banner.write(oprot)
6850 kshitij.so 14415
      oprot.writeFieldEnd()
14416
    oprot.writeFieldStop()
14417
    oprot.writeStructEnd()
14418
 
14419
  def validate(self):
14420
    return
14421
 
14422
 
14423
  def __repr__(self):
14424
    L = ['%s=%r' % (key, value)
14425
      for key, value in self.__dict__.iteritems()]
14426
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14427
 
14428
  def __eq__(self, other):
14429
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14430
 
14431
  def __ne__(self, other):
14432
    return not (self == other)
14433
 
8579 kshitij.so 14434
class updateBanner_result:
6850 kshitij.so 14435
  """
14436
  Attributes:
14437
   - success
14438
  """
14439
 
14440
  thrift_spec = (
14441
    (0, TType.BOOL, 'success', None, None, ), # 0
14442
  )
14443
 
14444
  def __init__(self, success=None,):
14445
    self.success = success
14446
 
14447
  def read(self, iprot):
14448
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14449
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14450
      return
14451
    iprot.readStructBegin()
14452
    while True:
14453
      (fname, ftype, fid) = iprot.readFieldBegin()
14454
      if ftype == TType.STOP:
14455
        break
14456
      if fid == 0:
14457
        if ftype == TType.BOOL:
14458
          self.success = iprot.readBool();
14459
        else:
14460
          iprot.skip(ftype)
14461
      else:
14462
        iprot.skip(ftype)
14463
      iprot.readFieldEnd()
14464
    iprot.readStructEnd()
14465
 
14466
  def write(self, oprot):
14467
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14468
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14469
      return
8579 kshitij.so 14470
    oprot.writeStructBegin('updateBanner_result')
6850 kshitij.so 14471
    if self.success is not None:
14472
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14473
      oprot.writeBool(self.success)
14474
      oprot.writeFieldEnd()
14475
    oprot.writeFieldStop()
14476
    oprot.writeStructEnd()
14477
 
14478
  def validate(self):
14479
    return
14480
 
14481
 
14482
  def __repr__(self):
14483
    L = ['%s=%r' % (key, value)
14484
      for key, value in self.__dict__.iteritems()]
14485
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14486
 
14487
  def __eq__(self, other):
14488
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14489
 
14490
  def __ne__(self, other):
14491
    return not (self == other)
14492
 
14493
class getAllBanners_args:
14494
 
14495
  thrift_spec = (
14496
  )
14497
 
14498
  def read(self, iprot):
14499
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14500
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14501
      return
14502
    iprot.readStructBegin()
14503
    while True:
14504
      (fname, ftype, fid) = iprot.readFieldBegin()
14505
      if ftype == TType.STOP:
14506
        break
14507
      else:
14508
        iprot.skip(ftype)
14509
      iprot.readFieldEnd()
14510
    iprot.readStructEnd()
14511
 
14512
  def write(self, oprot):
14513
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14514
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14515
      return
14516
    oprot.writeStructBegin('getAllBanners_args')
14517
    oprot.writeFieldStop()
14518
    oprot.writeStructEnd()
14519
 
14520
  def validate(self):
14521
    return
14522
 
14523
 
14524
  def __repr__(self):
14525
    L = ['%s=%r' % (key, value)
14526
      for key, value in self.__dict__.iteritems()]
14527
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14528
 
14529
  def __eq__(self, other):
14530
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14531
 
14532
  def __ne__(self, other):
14533
    return not (self == other)
14534
 
14535
class getAllBanners_result:
14536
  """
14537
  Attributes:
14538
   - success
14539
  """
14540
 
14541
  thrift_spec = (
8579 kshitij.so 14542
    (0, TType.LIST, 'success', (TType.STRUCT,(Banner, Banner.thrift_spec)), None, ), # 0
6850 kshitij.so 14543
  )
14544
 
14545
  def __init__(self, success=None,):
14546
    self.success = success
14547
 
14548
  def read(self, iprot):
14549
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14550
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14551
      return
14552
    iprot.readStructBegin()
14553
    while True:
14554
      (fname, ftype, fid) = iprot.readFieldBegin()
14555
      if ftype == TType.STOP:
14556
        break
14557
      if fid == 0:
14558
        if ftype == TType.LIST:
14559
          self.success = []
8590 kshitij.so 14560
          (_etype198, _size195) = iprot.readListBegin()
14561
          for _i199 in xrange(_size195):
14562
            _elem200 = Banner()
14563
            _elem200.read(iprot)
14564
            self.success.append(_elem200)
6850 kshitij.so 14565
          iprot.readListEnd()
14566
        else:
14567
          iprot.skip(ftype)
14568
      else:
14569
        iprot.skip(ftype)
14570
      iprot.readFieldEnd()
14571
    iprot.readStructEnd()
14572
 
14573
  def write(self, oprot):
14574
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14575
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14576
      return
14577
    oprot.writeStructBegin('getAllBanners_result')
14578
    if self.success is not None:
14579
      oprot.writeFieldBegin('success', TType.LIST, 0)
8579 kshitij.so 14580
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 14581
      for iter201 in self.success:
14582
        iter201.write(oprot)
6850 kshitij.so 14583
      oprot.writeListEnd()
14584
      oprot.writeFieldEnd()
14585
    oprot.writeFieldStop()
14586
    oprot.writeStructEnd()
14587
 
14588
  def validate(self):
14589
    return
14590
 
14591
 
14592
  def __repr__(self):
14593
    L = ['%s=%r' % (key, value)
14594
      for key, value in self.__dict__.iteritems()]
14595
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14596
 
14597
  def __eq__(self, other):
14598
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14599
 
14600
  def __ne__(self, other):
14601
    return not (self == other)
14602
 
14603
class deleteBanner_args:
14604
  """
14605
  Attributes:
14606
   - bannerName
9155 kshitij.so 14607
   - bannerType
6850 kshitij.so 14608
  """
14609
 
14610
  thrift_spec = (
14611
    None, # 0
14612
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 14613
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 14614
  )
14615
 
9155 kshitij.so 14616
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 14617
    self.bannerName = bannerName
9155 kshitij.so 14618
    self.bannerType = bannerType
6850 kshitij.so 14619
 
14620
  def read(self, iprot):
14621
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14622
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14623
      return
14624
    iprot.readStructBegin()
14625
    while True:
14626
      (fname, ftype, fid) = iprot.readFieldBegin()
14627
      if ftype == TType.STOP:
14628
        break
14629
      if fid == 1:
14630
        if ftype == TType.STRING:
14631
          self.bannerName = iprot.readString();
14632
        else:
14633
          iprot.skip(ftype)
9155 kshitij.so 14634
      elif fid == 2:
14635
        if ftype == TType.I32:
14636
          self.bannerType = iprot.readI32();
14637
        else:
14638
          iprot.skip(ftype)
6850 kshitij.so 14639
      else:
14640
        iprot.skip(ftype)
14641
      iprot.readFieldEnd()
14642
    iprot.readStructEnd()
14643
 
14644
  def write(self, oprot):
14645
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14646
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14647
      return
14648
    oprot.writeStructBegin('deleteBanner_args')
14649
    if self.bannerName is not None:
14650
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
14651
      oprot.writeString(self.bannerName)
14652
      oprot.writeFieldEnd()
9155 kshitij.so 14653
    if self.bannerType is not None:
14654
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
14655
      oprot.writeI32(self.bannerType)
14656
      oprot.writeFieldEnd()
6850 kshitij.so 14657
    oprot.writeFieldStop()
14658
    oprot.writeStructEnd()
14659
 
14660
  def validate(self):
14661
    return
14662
 
14663
 
14664
  def __repr__(self):
14665
    L = ['%s=%r' % (key, value)
14666
      for key, value in self.__dict__.iteritems()]
14667
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14668
 
14669
  def __eq__(self, other):
14670
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14671
 
14672
  def __ne__(self, other):
14673
    return not (self == other)
14674
 
14675
class deleteBanner_result:
14676
  """
14677
  Attributes:
14678
   - success
14679
  """
14680
 
14681
  thrift_spec = (
14682
    (0, TType.BOOL, 'success', None, None, ), # 0
14683
  )
14684
 
14685
  def __init__(self, success=None,):
14686
    self.success = success
14687
 
14688
  def read(self, iprot):
14689
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14690
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14691
      return
14692
    iprot.readStructBegin()
14693
    while True:
14694
      (fname, ftype, fid) = iprot.readFieldBegin()
14695
      if ftype == TType.STOP:
14696
        break
14697
      if fid == 0:
14698
        if ftype == TType.BOOL:
14699
          self.success = iprot.readBool();
14700
        else:
14701
          iprot.skip(ftype)
14702
      else:
14703
        iprot.skip(ftype)
14704
      iprot.readFieldEnd()
14705
    iprot.readStructEnd()
14706
 
14707
  def write(self, oprot):
14708
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14709
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14710
      return
14711
    oprot.writeStructBegin('deleteBanner_result')
14712
    if self.success is not None:
14713
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14714
      oprot.writeBool(self.success)
14715
      oprot.writeFieldEnd()
14716
    oprot.writeFieldStop()
14717
    oprot.writeStructEnd()
14718
 
14719
  def validate(self):
14720
    return
14721
 
14722
 
14723
  def __repr__(self):
14724
    L = ['%s=%r' % (key, value)
14725
      for key, value in self.__dict__.iteritems()]
14726
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14727
 
14728
  def __eq__(self, other):
14729
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14730
 
14731
  def __ne__(self, other):
14732
    return not (self == other)
14733
 
14734
class getBannerDetails_args:
14735
  """
14736
  Attributes:
14737
   - bannerName
9155 kshitij.so 14738
   - bannerType
6850 kshitij.so 14739
  """
14740
 
14741
  thrift_spec = (
14742
    None, # 0
14743
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 14744
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 14745
  )
14746
 
9155 kshitij.so 14747
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 14748
    self.bannerName = bannerName
9155 kshitij.so 14749
    self.bannerType = bannerType
6850 kshitij.so 14750
 
14751
  def read(self, iprot):
14752
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14753
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14754
      return
14755
    iprot.readStructBegin()
14756
    while True:
14757
      (fname, ftype, fid) = iprot.readFieldBegin()
14758
      if ftype == TType.STOP:
14759
        break
14760
      if fid == 1:
14761
        if ftype == TType.STRING:
14762
          self.bannerName = iprot.readString();
14763
        else:
14764
          iprot.skip(ftype)
9155 kshitij.so 14765
      elif fid == 2:
14766
        if ftype == TType.I32:
14767
          self.bannerType = iprot.readI32();
14768
        else:
14769
          iprot.skip(ftype)
6850 kshitij.so 14770
      else:
14771
        iprot.skip(ftype)
14772
      iprot.readFieldEnd()
14773
    iprot.readStructEnd()
14774
 
14775
  def write(self, oprot):
14776
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14777
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14778
      return
14779
    oprot.writeStructBegin('getBannerDetails_args')
14780
    if self.bannerName is not None:
14781
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
14782
      oprot.writeString(self.bannerName)
14783
      oprot.writeFieldEnd()
9155 kshitij.so 14784
    if self.bannerType is not None:
14785
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
14786
      oprot.writeI32(self.bannerType)
14787
      oprot.writeFieldEnd()
6850 kshitij.so 14788
    oprot.writeFieldStop()
14789
    oprot.writeStructEnd()
14790
 
14791
  def validate(self):
14792
    return
14793
 
14794
 
14795
  def __repr__(self):
14796
    L = ['%s=%r' % (key, value)
14797
      for key, value in self.__dict__.iteritems()]
14798
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14799
 
14800
  def __eq__(self, other):
14801
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14802
 
14803
  def __ne__(self, other):
14804
    return not (self == other)
14805
 
14806
class getBannerDetails_result:
14807
  """
14808
  Attributes:
14809
   - success
14810
  """
14811
 
14812
  thrift_spec = (
14813
    (0, TType.STRUCT, 'success', (Banner, Banner.thrift_spec), None, ), # 0
14814
  )
14815
 
14816
  def __init__(self, success=None,):
14817
    self.success = success
14818
 
14819
  def read(self, iprot):
14820
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14821
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14822
      return
14823
    iprot.readStructBegin()
14824
    while True:
14825
      (fname, ftype, fid) = iprot.readFieldBegin()
14826
      if ftype == TType.STOP:
14827
        break
14828
      if fid == 0:
14829
        if ftype == TType.STRUCT:
14830
          self.success = Banner()
14831
          self.success.read(iprot)
14832
        else:
14833
          iprot.skip(ftype)
14834
      else:
14835
        iprot.skip(ftype)
14836
      iprot.readFieldEnd()
14837
    iprot.readStructEnd()
14838
 
14839
  def write(self, oprot):
14840
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14841
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14842
      return
14843
    oprot.writeStructBegin('getBannerDetails_result')
14844
    if self.success is not None:
14845
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
14846
      self.success.write(oprot)
14847
      oprot.writeFieldEnd()
14848
    oprot.writeFieldStop()
14849
    oprot.writeStructEnd()
14850
 
14851
  def validate(self):
14852
    return
14853
 
14854
 
14855
  def __repr__(self):
14856
    L = ['%s=%r' % (key, value)
14857
      for key, value in self.__dict__.iteritems()]
14858
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14859
 
14860
  def __eq__(self, other):
14861
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14862
 
14863
  def __ne__(self, other):
14864
    return not (self == other)
14865
 
14866
class getActiveBanners_args:
14867
 
14868
  thrift_spec = (
14869
  )
14870
 
14871
  def read(self, iprot):
14872
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14873
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14874
      return
14875
    iprot.readStructBegin()
14876
    while True:
14877
      (fname, ftype, fid) = iprot.readFieldBegin()
14878
      if ftype == TType.STOP:
14879
        break
14880
      else:
14881
        iprot.skip(ftype)
14882
      iprot.readFieldEnd()
14883
    iprot.readStructEnd()
14884
 
14885
  def write(self, oprot):
14886
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14887
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14888
      return
14889
    oprot.writeStructBegin('getActiveBanners_args')
14890
    oprot.writeFieldStop()
14891
    oprot.writeStructEnd()
14892
 
14893
  def validate(self):
14894
    return
14895
 
14896
 
14897
  def __repr__(self):
14898
    L = ['%s=%r' % (key, value)
14899
      for key, value in self.__dict__.iteritems()]
14900
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14901
 
14902
  def __eq__(self, other):
14903
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14904
 
14905
  def __ne__(self, other):
14906
    return not (self == other)
14907
 
14908
class getActiveBanners_result:
14909
  """
14910
  Attributes:
14911
   - success
14912
  """
14913
 
14914
  thrift_spec = (
8579 kshitij.so 14915
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
6850 kshitij.so 14916
  )
14917
 
14918
  def __init__(self, success=None,):
14919
    self.success = success
14920
 
14921
  def read(self, iprot):
14922
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14923
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14924
      return
14925
    iprot.readStructBegin()
14926
    while True:
14927
      (fname, ftype, fid) = iprot.readFieldBegin()
14928
      if ftype == TType.STOP:
14929
        break
14930
      if fid == 0:
8579 kshitij.so 14931
        if ftype == TType.MAP:
14932
          self.success = {}
8590 kshitij.so 14933
          (_ktype203, _vtype204, _size202 ) = iprot.readMapBegin() 
14934
          for _i206 in xrange(_size202):
14935
            _key207 = iprot.readString();
14936
            _val208 = []
14937
            (_etype212, _size209) = iprot.readListBegin()
14938
            for _i213 in xrange(_size209):
14939
              _elem214 = Banner()
14940
              _elem214.read(iprot)
14941
              _val208.append(_elem214)
8579 kshitij.so 14942
            iprot.readListEnd()
8590 kshitij.so 14943
            self.success[_key207] = _val208
8579 kshitij.so 14944
          iprot.readMapEnd()
6850 kshitij.so 14945
        else:
14946
          iprot.skip(ftype)
14947
      else:
14948
        iprot.skip(ftype)
14949
      iprot.readFieldEnd()
14950
    iprot.readStructEnd()
14951
 
14952
  def write(self, oprot):
14953
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14954
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14955
      return
14956
    oprot.writeStructBegin('getActiveBanners_result')
14957
    if self.success is not None:
8579 kshitij.so 14958
      oprot.writeFieldBegin('success', TType.MAP, 0)
14959
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
8590 kshitij.so 14960
      for kiter215,viter216 in self.success.items():
14961
        oprot.writeString(kiter215)
14962
        oprot.writeListBegin(TType.STRUCT, len(viter216))
14963
        for iter217 in viter216:
14964
          iter217.write(oprot)
8579 kshitij.so 14965
        oprot.writeListEnd()
14966
      oprot.writeMapEnd()
6850 kshitij.so 14967
      oprot.writeFieldEnd()
14968
    oprot.writeFieldStop()
14969
    oprot.writeStructEnd()
14970
 
14971
  def validate(self):
14972
    return
14973
 
14974
 
14975
  def __repr__(self):
14976
    L = ['%s=%r' % (key, value)
14977
      for key, value in self.__dict__.iteritems()]
14978
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14979
 
14980
  def __eq__(self, other):
14981
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14982
 
14983
  def __ne__(self, other):
14984
    return not (self == other)
14985
 
6849 kshitij.so 14986
class addBannerMap_args:
14987
  """
14988
  Attributes:
8579 kshitij.so 14989
   - bannerMaps
6849 kshitij.so 14990
  """
14991
 
14992
  thrift_spec = (
14993
    None, # 0
8579 kshitij.so 14994
    (1, TType.LIST, 'bannerMaps', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 1
6849 kshitij.so 14995
  )
14996
 
8579 kshitij.so 14997
  def __init__(self, bannerMaps=None,):
14998
    self.bannerMaps = bannerMaps
6849 kshitij.so 14999
 
15000
  def read(self, iprot):
15001
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15002
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15003
      return
15004
    iprot.readStructBegin()
15005
    while True:
15006
      (fname, ftype, fid) = iprot.readFieldBegin()
15007
      if ftype == TType.STOP:
15008
        break
15009
      if fid == 1:
8579 kshitij.so 15010
        if ftype == TType.LIST:
15011
          self.bannerMaps = []
8590 kshitij.so 15012
          (_etype221, _size218) = iprot.readListBegin()
15013
          for _i222 in xrange(_size218):
15014
            _elem223 = BannerMap()
15015
            _elem223.read(iprot)
15016
            self.bannerMaps.append(_elem223)
8579 kshitij.so 15017
          iprot.readListEnd()
6849 kshitij.so 15018
        else:
15019
          iprot.skip(ftype)
8579 kshitij.so 15020
      else:
15021
        iprot.skip(ftype)
15022
      iprot.readFieldEnd()
15023
    iprot.readStructEnd()
15024
 
15025
  def write(self, oprot):
15026
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15027
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15028
      return
15029
    oprot.writeStructBegin('addBannerMap_args')
15030
    if self.bannerMaps is not None:
15031
      oprot.writeFieldBegin('bannerMaps', TType.LIST, 1)
15032
      oprot.writeListBegin(TType.STRUCT, len(self.bannerMaps))
8590 kshitij.so 15033
      for iter224 in self.bannerMaps:
15034
        iter224.write(oprot)
8579 kshitij.so 15035
      oprot.writeListEnd()
15036
      oprot.writeFieldEnd()
15037
    oprot.writeFieldStop()
15038
    oprot.writeStructEnd()
15039
 
15040
  def validate(self):
15041
    return
15042
 
15043
 
15044
  def __repr__(self):
15045
    L = ['%s=%r' % (key, value)
15046
      for key, value in self.__dict__.iteritems()]
15047
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15048
 
15049
  def __eq__(self, other):
15050
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15051
 
15052
  def __ne__(self, other):
15053
    return not (self == other)
15054
 
15055
class addBannerMap_result:
15056
  """
15057
  Attributes:
15058
   - success
15059
  """
15060
 
15061
  thrift_spec = (
15062
    (0, TType.BOOL, 'success', None, None, ), # 0
15063
  )
15064
 
15065
  def __init__(self, success=None,):
15066
    self.success = success
15067
 
15068
  def read(self, iprot):
15069
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15070
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15071
      return
15072
    iprot.readStructBegin()
15073
    while True:
15074
      (fname, ftype, fid) = iprot.readFieldBegin()
15075
      if ftype == TType.STOP:
15076
        break
15077
      if fid == 0:
15078
        if ftype == TType.BOOL:
15079
          self.success = iprot.readBool();
6849 kshitij.so 15080
        else:
15081
          iprot.skip(ftype)
8579 kshitij.so 15082
      else:
15083
        iprot.skip(ftype)
15084
      iprot.readFieldEnd()
15085
    iprot.readStructEnd()
15086
 
15087
  def write(self, oprot):
15088
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15089
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15090
      return
15091
    oprot.writeStructBegin('addBannerMap_result')
15092
    if self.success is not None:
15093
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15094
      oprot.writeBool(self.success)
15095
      oprot.writeFieldEnd()
15096
    oprot.writeFieldStop()
15097
    oprot.writeStructEnd()
15098
 
15099
  def validate(self):
15100
    return
15101
 
15102
 
15103
  def __repr__(self):
15104
    L = ['%s=%r' % (key, value)
15105
      for key, value in self.__dict__.iteritems()]
15106
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15107
 
15108
  def __eq__(self, other):
15109
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15110
 
15111
  def __ne__(self, other):
15112
    return not (self == other)
15113
 
15114
class updateBannerMap_args:
15115
  """
15116
  Attributes:
15117
   - bannerMap
15118
  """
15119
 
15120
  thrift_spec = (
15121
    None, # 0
15122
    (1, TType.STRUCT, 'bannerMap', (BannerMap, BannerMap.thrift_spec), None, ), # 1
15123
  )
15124
 
15125
  def __init__(self, bannerMap=None,):
15126
    self.bannerMap = bannerMap
15127
 
15128
  def read(self, iprot):
15129
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15130
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15131
      return
15132
    iprot.readStructBegin()
15133
    while True:
15134
      (fname, ftype, fid) = iprot.readFieldBegin()
15135
      if ftype == TType.STOP:
15136
        break
15137
      if fid == 1:
15138
        if ftype == TType.STRUCT:
15139
          self.bannerMap = BannerMap()
15140
          self.bannerMap.read(iprot)
6849 kshitij.so 15141
        else:
15142
          iprot.skip(ftype)
15143
      else:
15144
        iprot.skip(ftype)
15145
      iprot.readFieldEnd()
15146
    iprot.readStructEnd()
15147
 
15148
  def write(self, oprot):
15149
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15150
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15151
      return
8579 kshitij.so 15152
    oprot.writeStructBegin('updateBannerMap_args')
15153
    if self.bannerMap is not None:
15154
      oprot.writeFieldBegin('bannerMap', TType.STRUCT, 1)
15155
      self.bannerMap.write(oprot)
6849 kshitij.so 15156
      oprot.writeFieldEnd()
15157
    oprot.writeFieldStop()
15158
    oprot.writeStructEnd()
15159
 
15160
  def validate(self):
15161
    return
15162
 
15163
 
15164
  def __repr__(self):
15165
    L = ['%s=%r' % (key, value)
15166
      for key, value in self.__dict__.iteritems()]
15167
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15168
 
15169
  def __eq__(self, other):
15170
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15171
 
15172
  def __ne__(self, other):
15173
    return not (self == other)
15174
 
8579 kshitij.so 15175
class updateBannerMap_result:
6849 kshitij.so 15176
  """
15177
  Attributes:
15178
   - success
15179
  """
15180
 
15181
  thrift_spec = (
15182
    (0, TType.BOOL, 'success', None, None, ), # 0
15183
  )
15184
 
15185
  def __init__(self, success=None,):
15186
    self.success = success
15187
 
15188
  def read(self, iprot):
15189
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15190
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15191
      return
15192
    iprot.readStructBegin()
15193
    while True:
15194
      (fname, ftype, fid) = iprot.readFieldBegin()
15195
      if ftype == TType.STOP:
15196
        break
15197
      if fid == 0:
15198
        if ftype == TType.BOOL:
15199
          self.success = iprot.readBool();
15200
        else:
15201
          iprot.skip(ftype)
15202
      else:
15203
        iprot.skip(ftype)
15204
      iprot.readFieldEnd()
15205
    iprot.readStructEnd()
15206
 
15207
  def write(self, oprot):
15208
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15209
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15210
      return
8579 kshitij.so 15211
    oprot.writeStructBegin('updateBannerMap_result')
6849 kshitij.so 15212
    if self.success is not None:
15213
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15214
      oprot.writeBool(self.success)
15215
      oprot.writeFieldEnd()
15216
    oprot.writeFieldStop()
15217
    oprot.writeStructEnd()
15218
 
15219
  def validate(self):
15220
    return
15221
 
15222
 
15223
  def __repr__(self):
15224
    L = ['%s=%r' % (key, value)
15225
      for key, value in self.__dict__.iteritems()]
15226
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15227
 
15228
  def __eq__(self, other):
15229
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15230
 
15231
  def __ne__(self, other):
15232
    return not (self == other)
15233
 
15234
class deleteBannerMap_args:
15235
  """
15236
  Attributes:
15237
   - bannerName
15238
  """
15239
 
15240
  thrift_spec = (
15241
    None, # 0
15242
    (1, TType.STRING, 'bannerName', None, None, ), # 1
15243
  )
15244
 
15245
  def __init__(self, bannerName=None,):
15246
    self.bannerName = bannerName
15247
 
15248
  def read(self, iprot):
15249
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15250
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15251
      return
15252
    iprot.readStructBegin()
15253
    while True:
15254
      (fname, ftype, fid) = iprot.readFieldBegin()
15255
      if ftype == TType.STOP:
15256
        break
15257
      if fid == 1:
15258
        if ftype == TType.STRING:
15259
          self.bannerName = iprot.readString();
15260
        else:
15261
          iprot.skip(ftype)
15262
      else:
15263
        iprot.skip(ftype)
15264
      iprot.readFieldEnd()
15265
    iprot.readStructEnd()
15266
 
15267
  def write(self, oprot):
15268
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15269
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15270
      return
15271
    oprot.writeStructBegin('deleteBannerMap_args')
15272
    if self.bannerName is not None:
15273
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15274
      oprot.writeString(self.bannerName)
15275
      oprot.writeFieldEnd()
15276
    oprot.writeFieldStop()
15277
    oprot.writeStructEnd()
15278
 
15279
  def validate(self):
15280
    return
15281
 
15282
 
15283
  def __repr__(self):
15284
    L = ['%s=%r' % (key, value)
15285
      for key, value in self.__dict__.iteritems()]
15286
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15287
 
15288
  def __eq__(self, other):
15289
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15290
 
15291
  def __ne__(self, other):
15292
    return not (self == other)
15293
 
15294
class deleteBannerMap_result:
15295
  """
15296
  Attributes:
15297
   - success
15298
  """
15299
 
15300
  thrift_spec = (
15301
    (0, TType.BOOL, 'success', None, None, ), # 0
15302
  )
15303
 
15304
  def __init__(self, success=None,):
15305
    self.success = success
15306
 
15307
  def read(self, iprot):
15308
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15309
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15310
      return
15311
    iprot.readStructBegin()
15312
    while True:
15313
      (fname, ftype, fid) = iprot.readFieldBegin()
15314
      if ftype == TType.STOP:
15315
        break
15316
      if fid == 0:
15317
        if ftype == TType.BOOL:
15318
          self.success = iprot.readBool();
15319
        else:
15320
          iprot.skip(ftype)
15321
      else:
15322
        iprot.skip(ftype)
15323
      iprot.readFieldEnd()
15324
    iprot.readStructEnd()
15325
 
15326
  def write(self, oprot):
15327
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15328
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15329
      return
15330
    oprot.writeStructBegin('deleteBannerMap_result')
15331
    if self.success is not None:
15332
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15333
      oprot.writeBool(self.success)
15334
      oprot.writeFieldEnd()
15335
    oprot.writeFieldStop()
15336
    oprot.writeStructEnd()
15337
 
15338
  def validate(self):
15339
    return
15340
 
15341
 
15342
  def __repr__(self):
15343
    L = ['%s=%r' % (key, value)
15344
      for key, value in self.__dict__.iteritems()]
15345
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15346
 
15347
  def __eq__(self, other):
15348
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15349
 
15350
  def __ne__(self, other):
15351
    return not (self == other)
15352
 
15353
class getBannerMapDetails_args:
15354
  """
15355
  Attributes:
15356
   - bannerName
9155 kshitij.so 15357
   - bannerType
6849 kshitij.so 15358
  """
15359
 
15360
  thrift_spec = (
15361
    None, # 0
15362
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 15363
    (2, TType.I32, 'bannerType', None, None, ), # 2
6849 kshitij.so 15364
  )
15365
 
9155 kshitij.so 15366
  def __init__(self, bannerName=None, bannerType=None,):
6849 kshitij.so 15367
    self.bannerName = bannerName
9155 kshitij.so 15368
    self.bannerType = bannerType
6849 kshitij.so 15369
 
15370
  def read(self, iprot):
15371
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15372
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15373
      return
15374
    iprot.readStructBegin()
15375
    while True:
15376
      (fname, ftype, fid) = iprot.readFieldBegin()
15377
      if ftype == TType.STOP:
15378
        break
15379
      if fid == 1:
15380
        if ftype == TType.STRING:
15381
          self.bannerName = iprot.readString();
15382
        else:
15383
          iprot.skip(ftype)
9155 kshitij.so 15384
      elif fid == 2:
15385
        if ftype == TType.I32:
15386
          self.bannerType = iprot.readI32();
15387
        else:
15388
          iprot.skip(ftype)
6849 kshitij.so 15389
      else:
15390
        iprot.skip(ftype)
15391
      iprot.readFieldEnd()
15392
    iprot.readStructEnd()
15393
 
15394
  def write(self, oprot):
15395
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15396
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15397
      return
15398
    oprot.writeStructBegin('getBannerMapDetails_args')
15399
    if self.bannerName is not None:
15400
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15401
      oprot.writeString(self.bannerName)
15402
      oprot.writeFieldEnd()
9155 kshitij.so 15403
    if self.bannerType is not None:
15404
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
15405
      oprot.writeI32(self.bannerType)
15406
      oprot.writeFieldEnd()
6849 kshitij.so 15407
    oprot.writeFieldStop()
15408
    oprot.writeStructEnd()
15409
 
15410
  def validate(self):
15411
    return
15412
 
15413
 
15414
  def __repr__(self):
15415
    L = ['%s=%r' % (key, value)
15416
      for key, value in self.__dict__.iteritems()]
15417
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15418
 
15419
  def __eq__(self, other):
15420
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15421
 
15422
  def __ne__(self, other):
15423
    return not (self == other)
15424
 
15425
class getBannerMapDetails_result:
15426
  """
15427
  Attributes:
15428
   - success
15429
  """
15430
 
15431
  thrift_spec = (
15432
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 0
15433
  )
15434
 
15435
  def __init__(self, success=None,):
15436
    self.success = success
15437
 
15438
  def read(self, iprot):
15439
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15440
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15441
      return
15442
    iprot.readStructBegin()
15443
    while True:
15444
      (fname, ftype, fid) = iprot.readFieldBegin()
15445
      if ftype == TType.STOP:
15446
        break
15447
      if fid == 0:
15448
        if ftype == TType.LIST:
15449
          self.success = []
8590 kshitij.so 15450
          (_etype228, _size225) = iprot.readListBegin()
15451
          for _i229 in xrange(_size225):
15452
            _elem230 = BannerMap()
15453
            _elem230.read(iprot)
15454
            self.success.append(_elem230)
6849 kshitij.so 15455
          iprot.readListEnd()
15456
        else:
15457
          iprot.skip(ftype)
15458
      else:
15459
        iprot.skip(ftype)
15460
      iprot.readFieldEnd()
15461
    iprot.readStructEnd()
15462
 
15463
  def write(self, oprot):
15464
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15465
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15466
      return
15467
    oprot.writeStructBegin('getBannerMapDetails_result')
15468
    if self.success is not None:
15469
      oprot.writeFieldBegin('success', TType.LIST, 0)
15470
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 15471
      for iter231 in self.success:
15472
        iter231.write(oprot)
6849 kshitij.so 15473
      oprot.writeListEnd()
15474
      oprot.writeFieldEnd()
15475
    oprot.writeFieldStop()
15476
    oprot.writeStructEnd()
15477
 
15478
  def validate(self):
15479
    return
15480
 
15481
 
15482
  def __repr__(self):
15483
    L = ['%s=%r' % (key, value)
15484
      for key, value in self.__dict__.iteritems()]
15485
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15486
 
15487
  def __eq__(self, other):
15488
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15489
 
15490
  def __ne__(self, other):
15491
    return not (self == other)
15492
 
8579 kshitij.so 15493
class addBannerUri_args:
15494
  """
15495
  Attributes:
15496
   - bannerUriMappings
15497
  """
15498
 
15499
  thrift_spec = (
15500
    None, # 0
15501
    (1, TType.LIST, 'bannerUriMappings', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 1
15502
  )
15503
 
15504
  def __init__(self, bannerUriMappings=None,):
15505
    self.bannerUriMappings = bannerUriMappings
15506
 
15507
  def read(self, iprot):
15508
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15509
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15510
      return
15511
    iprot.readStructBegin()
15512
    while True:
15513
      (fname, ftype, fid) = iprot.readFieldBegin()
15514
      if ftype == TType.STOP:
15515
        break
15516
      if fid == 1:
15517
        if ftype == TType.LIST:
15518
          self.bannerUriMappings = []
8590 kshitij.so 15519
          (_etype235, _size232) = iprot.readListBegin()
15520
          for _i236 in xrange(_size232):
15521
            _elem237 = BannerUriMapping()
15522
            _elem237.read(iprot)
15523
            self.bannerUriMappings.append(_elem237)
8579 kshitij.so 15524
          iprot.readListEnd()
15525
        else:
15526
          iprot.skip(ftype)
15527
      else:
15528
        iprot.skip(ftype)
15529
      iprot.readFieldEnd()
15530
    iprot.readStructEnd()
15531
 
15532
  def write(self, oprot):
15533
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15534
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15535
      return
15536
    oprot.writeStructBegin('addBannerUri_args')
15537
    if self.bannerUriMappings is not None:
15538
      oprot.writeFieldBegin('bannerUriMappings', TType.LIST, 1)
15539
      oprot.writeListBegin(TType.STRUCT, len(self.bannerUriMappings))
8590 kshitij.so 15540
      for iter238 in self.bannerUriMappings:
15541
        iter238.write(oprot)
8579 kshitij.so 15542
      oprot.writeListEnd()
15543
      oprot.writeFieldEnd()
15544
    oprot.writeFieldStop()
15545
    oprot.writeStructEnd()
15546
 
15547
  def validate(self):
15548
    return
15549
 
15550
 
15551
  def __repr__(self):
15552
    L = ['%s=%r' % (key, value)
15553
      for key, value in self.__dict__.iteritems()]
15554
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15555
 
15556
  def __eq__(self, other):
15557
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15558
 
15559
  def __ne__(self, other):
15560
    return not (self == other)
15561
 
15562
class addBannerUri_result:
15563
 
15564
  thrift_spec = (
15565
  )
15566
 
15567
  def read(self, iprot):
15568
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15569
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15570
      return
15571
    iprot.readStructBegin()
15572
    while True:
15573
      (fname, ftype, fid) = iprot.readFieldBegin()
15574
      if ftype == TType.STOP:
15575
        break
15576
      else:
15577
        iprot.skip(ftype)
15578
      iprot.readFieldEnd()
15579
    iprot.readStructEnd()
15580
 
15581
  def write(self, oprot):
15582
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15583
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15584
      return
15585
    oprot.writeStructBegin('addBannerUri_result')
15586
    oprot.writeFieldStop()
15587
    oprot.writeStructEnd()
15588
 
15589
  def validate(self):
15590
    return
15591
 
15592
 
15593
  def __repr__(self):
15594
    L = ['%s=%r' % (key, value)
15595
      for key, value in self.__dict__.iteritems()]
15596
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15597
 
15598
  def __eq__(self, other):
15599
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15600
 
15601
  def __ne__(self, other):
15602
    return not (self == other)
15603
 
15604
class getUriMapping_args:
15605
  """
15606
  Attributes:
15607
   - bannerName
9155 kshitij.so 15608
   - bannerType
8579 kshitij.so 15609
  """
15610
 
15611
  thrift_spec = (
15612
    None, # 0
15613
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 15614
    (2, TType.I32, 'bannerType', None, None, ), # 2
8579 kshitij.so 15615
  )
15616
 
9155 kshitij.so 15617
  def __init__(self, bannerName=None, bannerType=None,):
8579 kshitij.so 15618
    self.bannerName = bannerName
9155 kshitij.so 15619
    self.bannerType = bannerType
8579 kshitij.so 15620
 
15621
  def read(self, iprot):
15622
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15623
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15624
      return
15625
    iprot.readStructBegin()
15626
    while True:
15627
      (fname, ftype, fid) = iprot.readFieldBegin()
15628
      if ftype == TType.STOP:
15629
        break
15630
      if fid == 1:
15631
        if ftype == TType.STRING:
15632
          self.bannerName = iprot.readString();
15633
        else:
15634
          iprot.skip(ftype)
9155 kshitij.so 15635
      elif fid == 2:
15636
        if ftype == TType.I32:
15637
          self.bannerType = iprot.readI32();
15638
        else:
15639
          iprot.skip(ftype)
8579 kshitij.so 15640
      else:
15641
        iprot.skip(ftype)
15642
      iprot.readFieldEnd()
15643
    iprot.readStructEnd()
15644
 
15645
  def write(self, oprot):
15646
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15647
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15648
      return
15649
    oprot.writeStructBegin('getUriMapping_args')
15650
    if self.bannerName is not None:
15651
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15652
      oprot.writeString(self.bannerName)
15653
      oprot.writeFieldEnd()
9155 kshitij.so 15654
    if self.bannerType is not None:
15655
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
15656
      oprot.writeI32(self.bannerType)
15657
      oprot.writeFieldEnd()
8579 kshitij.so 15658
    oprot.writeFieldStop()
15659
    oprot.writeStructEnd()
15660
 
15661
  def validate(self):
15662
    return
15663
 
15664
 
15665
  def __repr__(self):
15666
    L = ['%s=%r' % (key, value)
15667
      for key, value in self.__dict__.iteritems()]
15668
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15669
 
15670
  def __eq__(self, other):
15671
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15672
 
15673
  def __ne__(self, other):
15674
    return not (self == other)
15675
 
15676
class getUriMapping_result:
15677
  """
15678
  Attributes:
15679
   - success
15680
  """
15681
 
15682
  thrift_spec = (
15683
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 0
15684
  )
15685
 
15686
  def __init__(self, success=None,):
15687
    self.success = success
15688
 
15689
  def read(self, iprot):
15690
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15691
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15692
      return
15693
    iprot.readStructBegin()
15694
    while True:
15695
      (fname, ftype, fid) = iprot.readFieldBegin()
15696
      if ftype == TType.STOP:
15697
        break
15698
      if fid == 0:
15699
        if ftype == TType.LIST:
15700
          self.success = []
8590 kshitij.so 15701
          (_etype242, _size239) = iprot.readListBegin()
15702
          for _i243 in xrange(_size239):
15703
            _elem244 = BannerUriMapping()
15704
            _elem244.read(iprot)
15705
            self.success.append(_elem244)
8579 kshitij.so 15706
          iprot.readListEnd()
15707
        else:
15708
          iprot.skip(ftype)
15709
      else:
15710
        iprot.skip(ftype)
15711
      iprot.readFieldEnd()
15712
    iprot.readStructEnd()
15713
 
15714
  def write(self, oprot):
15715
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15716
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15717
      return
15718
    oprot.writeStructBegin('getUriMapping_result')
15719
    if self.success is not None:
15720
      oprot.writeFieldBegin('success', TType.LIST, 0)
15721
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 15722
      for iter245 in self.success:
15723
        iter245.write(oprot)
8579 kshitij.so 15724
      oprot.writeListEnd()
15725
      oprot.writeFieldEnd()
15726
    oprot.writeFieldStop()
15727
    oprot.writeStructEnd()
15728
 
15729
  def validate(self):
15730
    return
15731
 
15732
 
15733
  def __repr__(self):
15734
    L = ['%s=%r' % (key, value)
15735
      for key, value in self.__dict__.iteritems()]
15736
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15737
 
15738
  def __eq__(self, other):
15739
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15740
 
15741
  def __ne__(self, other):
15742
    return not (self == other)
15743
 
15744
class addCampaign_args:
15745
  """
15746
  Attributes:
15747
   - campaign
15748
  """
15749
 
15750
  thrift_spec = (
15751
    None, # 0
15752
    (1, TType.STRUCT, 'campaign', (Campaign, Campaign.thrift_spec), None, ), # 1
15753
  )
15754
 
15755
  def __init__(self, campaign=None,):
15756
    self.campaign = campaign
15757
 
15758
  def read(self, iprot):
15759
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15760
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15761
      return
15762
    iprot.readStructBegin()
15763
    while True:
15764
      (fname, ftype, fid) = iprot.readFieldBegin()
15765
      if ftype == TType.STOP:
15766
        break
15767
      if fid == 1:
15768
        if ftype == TType.STRUCT:
15769
          self.campaign = Campaign()
15770
          self.campaign.read(iprot)
15771
        else:
15772
          iprot.skip(ftype)
15773
      else:
15774
        iprot.skip(ftype)
15775
      iprot.readFieldEnd()
15776
    iprot.readStructEnd()
15777
 
15778
  def write(self, oprot):
15779
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15780
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15781
      return
15782
    oprot.writeStructBegin('addCampaign_args')
15783
    if self.campaign is not None:
15784
      oprot.writeFieldBegin('campaign', TType.STRUCT, 1)
15785
      self.campaign.write(oprot)
15786
      oprot.writeFieldEnd()
15787
    oprot.writeFieldStop()
15788
    oprot.writeStructEnd()
15789
 
15790
  def validate(self):
15791
    return
15792
 
15793
 
15794
  def __repr__(self):
15795
    L = ['%s=%r' % (key, value)
15796
      for key, value in self.__dict__.iteritems()]
15797
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15798
 
15799
  def __eq__(self, other):
15800
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15801
 
15802
  def __ne__(self, other):
15803
    return not (self == other)
15804
 
15805
class addCampaign_result:
15806
 
15807
  thrift_spec = (
15808
  )
15809
 
15810
  def read(self, iprot):
15811
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15812
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15813
      return
15814
    iprot.readStructBegin()
15815
    while True:
15816
      (fname, ftype, fid) = iprot.readFieldBegin()
15817
      if ftype == TType.STOP:
15818
        break
15819
      else:
15820
        iprot.skip(ftype)
15821
      iprot.readFieldEnd()
15822
    iprot.readStructEnd()
15823
 
15824
  def write(self, oprot):
15825
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15826
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15827
      return
15828
    oprot.writeStructBegin('addCampaign_result')
15829
    oprot.writeFieldStop()
15830
    oprot.writeStructEnd()
15831
 
15832
  def validate(self):
15833
    return
15834
 
15835
 
15836
  def __repr__(self):
15837
    L = ['%s=%r' % (key, value)
15838
      for key, value in self.__dict__.iteritems()]
15839
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15840
 
15841
  def __eq__(self, other):
15842
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15843
 
15844
  def __ne__(self, other):
15845
    return not (self == other)
15846
 
15847
class getCampaigns_args:
15848
  """
15849
  Attributes:
15850
   - campaignName
15851
  """
15852
 
15853
  thrift_spec = (
15854
    None, # 0
15855
    (1, TType.STRING, 'campaignName', None, None, ), # 1
15856
  )
15857
 
15858
  def __init__(self, campaignName=None,):
15859
    self.campaignName = campaignName
15860
 
15861
  def read(self, iprot):
15862
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15863
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15864
      return
15865
    iprot.readStructBegin()
15866
    while True:
15867
      (fname, ftype, fid) = iprot.readFieldBegin()
15868
      if ftype == TType.STOP:
15869
        break
15870
      if fid == 1:
15871
        if ftype == TType.STRING:
15872
          self.campaignName = iprot.readString();
15873
        else:
15874
          iprot.skip(ftype)
15875
      else:
15876
        iprot.skip(ftype)
15877
      iprot.readFieldEnd()
15878
    iprot.readStructEnd()
15879
 
15880
  def write(self, oprot):
15881
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15882
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15883
      return
15884
    oprot.writeStructBegin('getCampaigns_args')
15885
    if self.campaignName is not None:
15886
      oprot.writeFieldBegin('campaignName', TType.STRING, 1)
15887
      oprot.writeString(self.campaignName)
15888
      oprot.writeFieldEnd()
15889
    oprot.writeFieldStop()
15890
    oprot.writeStructEnd()
15891
 
15892
  def validate(self):
15893
    return
15894
 
15895
 
15896
  def __repr__(self):
15897
    L = ['%s=%r' % (key, value)
15898
      for key, value in self.__dict__.iteritems()]
15899
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15900
 
15901
  def __eq__(self, other):
15902
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15903
 
15904
  def __ne__(self, other):
15905
    return not (self == other)
15906
 
15907
class getCampaigns_result:
15908
  """
15909
  Attributes:
15910
   - success
15911
  """
15912
 
15913
  thrift_spec = (
15914
    (0, TType.LIST, 'success', (TType.STRUCT,(Campaign, Campaign.thrift_spec)), None, ), # 0
15915
  )
15916
 
15917
  def __init__(self, success=None,):
15918
    self.success = success
15919
 
15920
  def read(self, iprot):
15921
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15922
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15923
      return
15924
    iprot.readStructBegin()
15925
    while True:
15926
      (fname, ftype, fid) = iprot.readFieldBegin()
15927
      if ftype == TType.STOP:
15928
        break
15929
      if fid == 0:
15930
        if ftype == TType.LIST:
15931
          self.success = []
8590 kshitij.so 15932
          (_etype249, _size246) = iprot.readListBegin()
15933
          for _i250 in xrange(_size246):
15934
            _elem251 = Campaign()
15935
            _elem251.read(iprot)
15936
            self.success.append(_elem251)
8579 kshitij.so 15937
          iprot.readListEnd()
15938
        else:
15939
          iprot.skip(ftype)
15940
      else:
15941
        iprot.skip(ftype)
15942
      iprot.readFieldEnd()
15943
    iprot.readStructEnd()
15944
 
15945
  def write(self, oprot):
15946
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15947
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15948
      return
15949
    oprot.writeStructBegin('getCampaigns_result')
15950
    if self.success is not None:
15951
      oprot.writeFieldBegin('success', TType.LIST, 0)
15952
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 15953
      for iter252 in self.success:
15954
        iter252.write(oprot)
8579 kshitij.so 15955
      oprot.writeListEnd()
15956
      oprot.writeFieldEnd()
15957
    oprot.writeFieldStop()
15958
    oprot.writeStructEnd()
15959
 
15960
  def validate(self):
15961
    return
15962
 
15963
 
15964
  def __repr__(self):
15965
    L = ['%s=%r' % (key, value)
15966
      for key, value in self.__dict__.iteritems()]
15967
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15968
 
15969
  def __eq__(self, other):
15970
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15971
 
15972
  def __ne__(self, other):
15973
    return not (self == other)
15974
 
15975
class deleteCampaign_args:
15976
  """
15977
  Attributes:
15978
   - campaignId
15979
  """
15980
 
15981
  thrift_spec = (
15982
    None, # 0
15983
    (1, TType.I64, 'campaignId', None, None, ), # 1
15984
  )
15985
 
15986
  def __init__(self, campaignId=None,):
15987
    self.campaignId = campaignId
15988
 
15989
  def read(self, iprot):
15990
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15991
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15992
      return
15993
    iprot.readStructBegin()
15994
    while True:
15995
      (fname, ftype, fid) = iprot.readFieldBegin()
15996
      if ftype == TType.STOP:
15997
        break
15998
      if fid == 1:
15999
        if ftype == TType.I64:
16000
          self.campaignId = iprot.readI64();
16001
        else:
16002
          iprot.skip(ftype)
16003
      else:
16004
        iprot.skip(ftype)
16005
      iprot.readFieldEnd()
16006
    iprot.readStructEnd()
16007
 
16008
  def write(self, oprot):
16009
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16010
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16011
      return
16012
    oprot.writeStructBegin('deleteCampaign_args')
16013
    if self.campaignId is not None:
16014
      oprot.writeFieldBegin('campaignId', TType.I64, 1)
16015
      oprot.writeI64(self.campaignId)
16016
      oprot.writeFieldEnd()
16017
    oprot.writeFieldStop()
16018
    oprot.writeStructEnd()
16019
 
16020
  def validate(self):
16021
    return
16022
 
16023
 
16024
  def __repr__(self):
16025
    L = ['%s=%r' % (key, value)
16026
      for key, value in self.__dict__.iteritems()]
16027
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16028
 
16029
  def __eq__(self, other):
16030
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16031
 
16032
  def __ne__(self, other):
16033
    return not (self == other)
16034
 
16035
class deleteCampaign_result:
16036
 
16037
  thrift_spec = (
16038
  )
16039
 
16040
  def read(self, iprot):
16041
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16042
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16043
      return
16044
    iprot.readStructBegin()
16045
    while True:
16046
      (fname, ftype, fid) = iprot.readFieldBegin()
16047
      if ftype == TType.STOP:
16048
        break
16049
      else:
16050
        iprot.skip(ftype)
16051
      iprot.readFieldEnd()
16052
    iprot.readStructEnd()
16053
 
16054
  def write(self, oprot):
16055
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16056
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16057
      return
16058
    oprot.writeStructBegin('deleteCampaign_result')
16059
    oprot.writeFieldStop()
16060
    oprot.writeStructEnd()
16061
 
16062
  def validate(self):
16063
    return
16064
 
16065
 
16066
  def __repr__(self):
16067
    L = ['%s=%r' % (key, value)
16068
      for key, value in self.__dict__.iteritems()]
16069
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16070
 
16071
  def __eq__(self, other):
16072
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16073
 
16074
  def __ne__(self, other):
16075
    return not (self == other)
16076
 
16077
class getAllCampaigns_args:
16078
 
16079
  thrift_spec = (
16080
  )
16081
 
16082
  def read(self, iprot):
16083
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16084
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16085
      return
16086
    iprot.readStructBegin()
16087
    while True:
16088
      (fname, ftype, fid) = iprot.readFieldBegin()
16089
      if ftype == TType.STOP:
16090
        break
16091
      else:
16092
        iprot.skip(ftype)
16093
      iprot.readFieldEnd()
16094
    iprot.readStructEnd()
16095
 
16096
  def write(self, oprot):
16097
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16098
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16099
      return
16100
    oprot.writeStructBegin('getAllCampaigns_args')
16101
    oprot.writeFieldStop()
16102
    oprot.writeStructEnd()
16103
 
16104
  def validate(self):
16105
    return
16106
 
16107
 
16108
  def __repr__(self):
16109
    L = ['%s=%r' % (key, value)
16110
      for key, value in self.__dict__.iteritems()]
16111
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16112
 
16113
  def __eq__(self, other):
16114
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16115
 
16116
  def __ne__(self, other):
16117
    return not (self == other)
16118
 
16119
class getAllCampaigns_result:
16120
  """
16121
  Attributes:
16122
   - success
16123
  """
16124
 
16125
  thrift_spec = (
16126
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
16127
  )
16128
 
16129
  def __init__(self, success=None,):
16130
    self.success = success
16131
 
16132
  def read(self, iprot):
16133
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16134
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16135
      return
16136
    iprot.readStructBegin()
16137
    while True:
16138
      (fname, ftype, fid) = iprot.readFieldBegin()
16139
      if ftype == TType.STOP:
16140
        break
16141
      if fid == 0:
16142
        if ftype == TType.LIST:
16143
          self.success = []
8590 kshitij.so 16144
          (_etype256, _size253) = iprot.readListBegin()
16145
          for _i257 in xrange(_size253):
16146
            _elem258 = iprot.readString();
16147
            self.success.append(_elem258)
8579 kshitij.so 16148
          iprot.readListEnd()
16149
        else:
16150
          iprot.skip(ftype)
16151
      else:
16152
        iprot.skip(ftype)
16153
      iprot.readFieldEnd()
16154
    iprot.readStructEnd()
16155
 
16156
  def write(self, oprot):
16157
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16158
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16159
      return
16160
    oprot.writeStructBegin('getAllCampaigns_result')
16161
    if self.success is not None:
16162
      oprot.writeFieldBegin('success', TType.LIST, 0)
16163
      oprot.writeListBegin(TType.STRING, len(self.success))
8590 kshitij.so 16164
      for iter259 in self.success:
16165
        oprot.writeString(iter259)
8579 kshitij.so 16166
      oprot.writeListEnd()
16167
      oprot.writeFieldEnd()
16168
    oprot.writeFieldStop()
16169
    oprot.writeStructEnd()
16170
 
16171
  def validate(self):
16172
    return
16173
 
16174
 
16175
  def __repr__(self):
16176
    L = ['%s=%r' % (key, value)
16177
      for key, value in self.__dict__.iteritems()]
16178
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16179
 
16180
  def __eq__(self, other):
16181
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16182
 
16183
  def __ne__(self, other):
16184
    return not (self == other)
16185
 
9155 kshitij.so 16186
class getActiveBannersForMobileSite_args:
16187
 
16188
  thrift_spec = (
16189
  )
16190
 
16191
  def read(self, iprot):
16192
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16193
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16194
      return
16195
    iprot.readStructBegin()
16196
    while True:
16197
      (fname, ftype, fid) = iprot.readFieldBegin()
16198
      if ftype == TType.STOP:
16199
        break
16200
      else:
16201
        iprot.skip(ftype)
16202
      iprot.readFieldEnd()
16203
    iprot.readStructEnd()
16204
 
16205
  def write(self, oprot):
16206
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16207
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16208
      return
16209
    oprot.writeStructBegin('getActiveBannersForMobileSite_args')
16210
    oprot.writeFieldStop()
16211
    oprot.writeStructEnd()
16212
 
16213
  def validate(self):
16214
    return
16215
 
16216
 
16217
  def __repr__(self):
16218
    L = ['%s=%r' % (key, value)
16219
      for key, value in self.__dict__.iteritems()]
16220
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16221
 
16222
  def __eq__(self, other):
16223
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16224
 
16225
  def __ne__(self, other):
16226
    return not (self == other)
16227
 
16228
class getActiveBannersForMobileSite_result:
16229
  """
16230
  Attributes:
16231
   - success
16232
  """
16233
 
16234
  thrift_spec = (
16235
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
16236
  )
16237
 
16238
  def __init__(self, success=None,):
16239
    self.success = success
16240
 
16241
  def read(self, iprot):
16242
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16243
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16244
      return
16245
    iprot.readStructBegin()
16246
    while True:
16247
      (fname, ftype, fid) = iprot.readFieldBegin()
16248
      if ftype == TType.STOP:
16249
        break
16250
      if fid == 0:
16251
        if ftype == TType.MAP:
16252
          self.success = {}
16253
          (_ktype261, _vtype262, _size260 ) = iprot.readMapBegin() 
16254
          for _i264 in xrange(_size260):
16255
            _key265 = iprot.readString();
16256
            _val266 = []
16257
            (_etype270, _size267) = iprot.readListBegin()
16258
            for _i271 in xrange(_size267):
16259
              _elem272 = Banner()
16260
              _elem272.read(iprot)
16261
              _val266.append(_elem272)
16262
            iprot.readListEnd()
16263
            self.success[_key265] = _val266
16264
          iprot.readMapEnd()
16265
        else:
16266
          iprot.skip(ftype)
16267
      else:
16268
        iprot.skip(ftype)
16269
      iprot.readFieldEnd()
16270
    iprot.readStructEnd()
16271
 
16272
  def write(self, oprot):
16273
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16274
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16275
      return
16276
    oprot.writeStructBegin('getActiveBannersForMobileSite_result')
16277
    if self.success is not None:
16278
      oprot.writeFieldBegin('success', TType.MAP, 0)
16279
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
16280
      for kiter273,viter274 in self.success.items():
16281
        oprot.writeString(kiter273)
16282
        oprot.writeListBegin(TType.STRUCT, len(viter274))
16283
        for iter275 in viter274:
16284
          iter275.write(oprot)
16285
        oprot.writeListEnd()
16286
      oprot.writeMapEnd()
16287
      oprot.writeFieldEnd()
16288
    oprot.writeFieldStop()
16289
    oprot.writeStructEnd()
16290
 
16291
  def validate(self):
16292
    return
16293
 
16294
 
16295
  def __repr__(self):
16296
    L = ['%s=%r' % (key, value)
16297
      for key, value in self.__dict__.iteritems()]
16298
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16299
 
16300
  def __eq__(self, other):
16301
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16302
 
16303
  def __ne__(self, other):
16304
    return not (self == other)
16305
 
5944 mandeep.dh 16306
class deleteSimilarItem_args:
16307
  """
16308
  Attributes:
16309
   - itemId
16310
   - catalogItemId
16311
  """
16312
 
16313
  thrift_spec = (
16314
    None, # 0
16315
    (1, TType.I64, 'itemId', None, None, ), # 1
16316
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
16317
  )
16318
 
16319
  def __init__(self, itemId=None, catalogItemId=None,):
16320
    self.itemId = itemId
16321
    self.catalogItemId = catalogItemId
16322
 
16323
  def read(self, iprot):
16324
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16325
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16326
      return
16327
    iprot.readStructBegin()
16328
    while True:
16329
      (fname, ftype, fid) = iprot.readFieldBegin()
16330
      if ftype == TType.STOP:
16331
        break
16332
      if fid == 1:
16333
        if ftype == TType.I64:
16334
          self.itemId = iprot.readI64();
16335
        else:
16336
          iprot.skip(ftype)
16337
      elif fid == 2:
16338
        if ftype == TType.I64:
16339
          self.catalogItemId = iprot.readI64();
16340
        else:
16341
          iprot.skip(ftype)
16342
      else:
16343
        iprot.skip(ftype)
16344
      iprot.readFieldEnd()
16345
    iprot.readStructEnd()
16346
 
16347
  def write(self, oprot):
16348
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16349
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16350
      return
16351
    oprot.writeStructBegin('deleteSimilarItem_args')
16352
    if self.itemId is not None:
16353
      oprot.writeFieldBegin('itemId', TType.I64, 1)
16354
      oprot.writeI64(self.itemId)
16355
      oprot.writeFieldEnd()
16356
    if self.catalogItemId is not None:
16357
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
16358
      oprot.writeI64(self.catalogItemId)
16359
      oprot.writeFieldEnd()
16360
    oprot.writeFieldStop()
16361
    oprot.writeStructEnd()
16362
 
16363
  def validate(self):
16364
    return
16365
 
16366
 
16367
  def __repr__(self):
16368
    L = ['%s=%r' % (key, value)
16369
      for key, value in self.__dict__.iteritems()]
16370
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16371
 
16372
  def __eq__(self, other):
16373
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16374
 
16375
  def __ne__(self, other):
16376
    return not (self == other)
16377
 
16378
class deleteSimilarItem_result:
16379
  """
16380
  Attributes:
16381
   - success
16382
   - cex
16383
  """
16384
 
16385
  thrift_spec = (
16386
    (0, TType.BOOL, 'success', None, None, ), # 0
16387
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
16388
  )
16389
 
16390
  def __init__(self, success=None, cex=None,):
16391
    self.success = success
16392
    self.cex = cex
16393
 
16394
  def read(self, iprot):
16395
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16396
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16397
      return
16398
    iprot.readStructBegin()
16399
    while True:
16400
      (fname, ftype, fid) = iprot.readFieldBegin()
16401
      if ftype == TType.STOP:
16402
        break
16403
      if fid == 0:
16404
        if ftype == TType.BOOL:
16405
          self.success = iprot.readBool();
16406
        else:
16407
          iprot.skip(ftype)
16408
      elif fid == 1:
16409
        if ftype == TType.STRUCT:
16410
          self.cex = CatalogServiceException()
16411
          self.cex.read(iprot)
16412
        else:
16413
          iprot.skip(ftype)
16414
      else:
16415
        iprot.skip(ftype)
16416
      iprot.readFieldEnd()
16417
    iprot.readStructEnd()
16418
 
16419
  def write(self, oprot):
16420
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16421
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16422
      return
16423
    oprot.writeStructBegin('deleteSimilarItem_result')
16424
    if self.success is not None:
16425
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16426
      oprot.writeBool(self.success)
16427
      oprot.writeFieldEnd()
16428
    if self.cex is not None:
16429
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
16430
      self.cex.write(oprot)
16431
      oprot.writeFieldEnd()
16432
    oprot.writeFieldStop()
16433
    oprot.writeStructEnd()
16434
 
16435
  def validate(self):
16436
    return
16437
 
16438
 
16439
  def __repr__(self):
16440
    L = ['%s=%r' % (key, value)
16441
      for key, value in self.__dict__.iteritems()]
16442
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16443
 
16444
  def __eq__(self, other):
16445
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16446
 
16447
  def __ne__(self, other):
16448
    return not (self == other)
16449
 
16450
class checkSimilarItem_args:
16451
  """
16452
  Attributes:
16453
   - brand
16454
   - modelNumber
16455
   - modelName
16456
   - color
16457
  """
16458
 
16459
  thrift_spec = (
16460
    None, # 0
16461
    (1, TType.STRING, 'brand', None, None, ), # 1
16462
    (2, TType.STRING, 'modelNumber', None, None, ), # 2
16463
    (3, TType.STRING, 'modelName', None, None, ), # 3
16464
    (4, TType.STRING, 'color', None, None, ), # 4
16465
  )
16466
 
16467
  def __init__(self, brand=None, modelNumber=None, modelName=None, color=None,):
16468
    self.brand = brand
16469
    self.modelNumber = modelNumber
16470
    self.modelName = modelName
16471
    self.color = color
16472
 
16473
  def read(self, iprot):
16474
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16475
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16476
      return
16477
    iprot.readStructBegin()
16478
    while True:
16479
      (fname, ftype, fid) = iprot.readFieldBegin()
16480
      if ftype == TType.STOP:
16481
        break
16482
      if fid == 1:
16483
        if ftype == TType.STRING:
16484
          self.brand = iprot.readString();
16485
        else:
16486
          iprot.skip(ftype)
16487
      elif fid == 2:
16488
        if ftype == TType.STRING:
16489
          self.modelNumber = iprot.readString();
16490
        else:
16491
          iprot.skip(ftype)
16492
      elif fid == 3:
16493
        if ftype == TType.STRING:
16494
          self.modelName = iprot.readString();
16495
        else:
16496
          iprot.skip(ftype)
16497
      elif fid == 4:
16498
        if ftype == TType.STRING:
16499
          self.color = iprot.readString();
16500
        else:
16501
          iprot.skip(ftype)
16502
      else:
16503
        iprot.skip(ftype)
16504
      iprot.readFieldEnd()
16505
    iprot.readStructEnd()
16506
 
16507
  def write(self, oprot):
16508
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16509
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16510
      return
16511
    oprot.writeStructBegin('checkSimilarItem_args')
16512
    if self.brand is not None:
16513
      oprot.writeFieldBegin('brand', TType.STRING, 1)
16514
      oprot.writeString(self.brand)
16515
      oprot.writeFieldEnd()
16516
    if self.modelNumber is not None:
16517
      oprot.writeFieldBegin('modelNumber', TType.STRING, 2)
16518
      oprot.writeString(self.modelNumber)
16519
      oprot.writeFieldEnd()
16520
    if self.modelName is not None:
16521
      oprot.writeFieldBegin('modelName', TType.STRING, 3)
16522
      oprot.writeString(self.modelName)
16523
      oprot.writeFieldEnd()
16524
    if self.color is not None:
16525
      oprot.writeFieldBegin('color', TType.STRING, 4)
16526
      oprot.writeString(self.color)
16527
      oprot.writeFieldEnd()
16528
    oprot.writeFieldStop()
16529
    oprot.writeStructEnd()
16530
 
16531
  def validate(self):
16532
    return
16533
 
16534
 
16535
  def __repr__(self):
16536
    L = ['%s=%r' % (key, value)
16537
      for key, value in self.__dict__.iteritems()]
16538
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16539
 
16540
  def __eq__(self, other):
16541
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16542
 
16543
  def __ne__(self, other):
16544
    return not (self == other)
16545
 
16546
class checkSimilarItem_result:
16547
  """
16548
  Attributes:
16549
   - success
16550
  """
16551
 
16552
  thrift_spec = (
16553
    (0, TType.I64, 'success', None, None, ), # 0
16554
  )
16555
 
16556
  def __init__(self, success=None,):
16557
    self.success = success
16558
 
16559
  def read(self, iprot):
16560
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16561
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16562
      return
16563
    iprot.readStructBegin()
16564
    while True:
16565
      (fname, ftype, fid) = iprot.readFieldBegin()
16566
      if ftype == TType.STOP:
16567
        break
16568
      if fid == 0:
16569
        if ftype == TType.I64:
16570
          self.success = iprot.readI64();
16571
        else:
16572
          iprot.skip(ftype)
16573
      else:
16574
        iprot.skip(ftype)
16575
      iprot.readFieldEnd()
16576
    iprot.readStructEnd()
16577
 
16578
  def write(self, oprot):
16579
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16580
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16581
      return
16582
    oprot.writeStructBegin('checkSimilarItem_result')
16583
    if self.success is not None:
16584
      oprot.writeFieldBegin('success', TType.I64, 0)
16585
      oprot.writeI64(self.success)
16586
      oprot.writeFieldEnd()
16587
    oprot.writeFieldStop()
16588
    oprot.writeStructEnd()
16589
 
16590
  def validate(self):
16591
    return
16592
 
16593
 
16594
  def __repr__(self):
16595
    L = ['%s=%r' % (key, value)
16596
      for key, value in self.__dict__.iteritems()]
16597
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16598
 
16599
  def __eq__(self, other):
16600
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16601
 
16602
  def __ne__(self, other):
16603
    return not (self == other)
16604
 
16605
class validateRiskyStatus_args:
16606
  """
16607
  Attributes:
16608
   - itemId
16609
  """
16610
 
16611
  thrift_spec = (
16612
    None, # 0
16613
    (1, TType.I64, 'itemId', None, None, ), # 1
16614
  )
16615
 
16616
  def __init__(self, itemId=None,):
16617
    self.itemId = itemId
16618
 
16619
  def read(self, iprot):
16620
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16621
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16622
      return
16623
    iprot.readStructBegin()
16624
    while True:
16625
      (fname, ftype, fid) = iprot.readFieldBegin()
16626
      if ftype == TType.STOP:
16627
        break
16628
      if fid == 1:
16629
        if ftype == TType.I64:
16630
          self.itemId = iprot.readI64();
16631
        else:
16632
          iprot.skip(ftype)
16633
      else:
16634
        iprot.skip(ftype)
16635
      iprot.readFieldEnd()
16636
    iprot.readStructEnd()
16637
 
16638
  def write(self, oprot):
16639
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16640
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16641
      return
16642
    oprot.writeStructBegin('validateRiskyStatus_args')
16643
    if self.itemId is not None:
16644
      oprot.writeFieldBegin('itemId', TType.I64, 1)
16645
      oprot.writeI64(self.itemId)
16646
      oprot.writeFieldEnd()
16647
    oprot.writeFieldStop()
16648
    oprot.writeStructEnd()
16649
 
16650
  def validate(self):
16651
    return
16652
 
16653
 
16654
  def __repr__(self):
16655
    L = ['%s=%r' % (key, value)
16656
      for key, value in self.__dict__.iteritems()]
16657
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16658
 
16659
  def __eq__(self, other):
16660
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16661
 
16662
  def __ne__(self, other):
16663
    return not (self == other)
16664
 
16665
class validateRiskyStatus_result:
16666
 
16667
  thrift_spec = (
16668
  )
16669
 
16670
  def read(self, iprot):
16671
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16672
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16673
      return
16674
    iprot.readStructBegin()
16675
    while True:
16676
      (fname, ftype, fid) = iprot.readFieldBegin()
16677
      if ftype == TType.STOP:
16678
        break
16679
      else:
16680
        iprot.skip(ftype)
16681
      iprot.readFieldEnd()
16682
    iprot.readStructEnd()
16683
 
16684
  def write(self, oprot):
16685
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16686
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16687
      return
16688
    oprot.writeStructBegin('validateRiskyStatus_result')
16689
    oprot.writeFieldStop()
16690
    oprot.writeStructEnd()
16691
 
16692
  def validate(self):
16693
    return
16694
 
16695
 
16696
  def __repr__(self):
16697
    L = ['%s=%r' % (key, value)
16698
      for key, value in self.__dict__.iteritems()]
16699
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16700
 
16701
  def __eq__(self, other):
16702
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16703
 
16704
  def __ne__(self, other):
16705
    return not (self == other)
16706
 
16707
class changeItemRiskyFlag_args:
16708
  """
16709
  Attributes:
16710
   - itemId
16711
   - risky
16712
  """
16713
 
16714
  thrift_spec = (
16715
    None, # 0
16716
    (1, TType.I64, 'itemId', None, None, ), # 1
16717
    (2, TType.BOOL, 'risky', None, None, ), # 2
16718
  )
16719
 
16720
  def __init__(self, itemId=None, risky=None,):
16721
    self.itemId = itemId
16722
    self.risky = risky
16723
 
16724
  def read(self, iprot):
16725
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16726
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16727
      return
16728
    iprot.readStructBegin()
16729
    while True:
16730
      (fname, ftype, fid) = iprot.readFieldBegin()
16731
      if ftype == TType.STOP:
16732
        break
16733
      if fid == 1:
16734
        if ftype == TType.I64:
16735
          self.itemId = iprot.readI64();
16736
        else:
16737
          iprot.skip(ftype)
16738
      elif fid == 2:
16739
        if ftype == TType.BOOL:
16740
          self.risky = iprot.readBool();
16741
        else:
16742
          iprot.skip(ftype)
16743
      else:
16744
        iprot.skip(ftype)
16745
      iprot.readFieldEnd()
16746
    iprot.readStructEnd()
16747
 
16748
  def write(self, oprot):
16749
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16750
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16751
      return
16752
    oprot.writeStructBegin('changeItemRiskyFlag_args')
16753
    if self.itemId is not None:
16754
      oprot.writeFieldBegin('itemId', TType.I64, 1)
16755
      oprot.writeI64(self.itemId)
16756
      oprot.writeFieldEnd()
16757
    if self.risky is not None:
16758
      oprot.writeFieldBegin('risky', TType.BOOL, 2)
16759
      oprot.writeBool(self.risky)
16760
      oprot.writeFieldEnd()
16761
    oprot.writeFieldStop()
16762
    oprot.writeStructEnd()
16763
 
16764
  def validate(self):
16765
    return
16766
 
16767
 
16768
  def __repr__(self):
16769
    L = ['%s=%r' % (key, value)
16770
      for key, value in self.__dict__.iteritems()]
16771
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16772
 
16773
  def __eq__(self, other):
16774
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16775
 
16776
  def __ne__(self, other):
16777
    return not (self == other)
16778
 
16779
class changeItemRiskyFlag_result:
16780
 
16781
  thrift_spec = (
16782
  )
16783
 
16784
  def read(self, iprot):
16785
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16786
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16787
      return
16788
    iprot.readStructBegin()
16789
    while True:
16790
      (fname, ftype, fid) = iprot.readFieldBegin()
16791
      if ftype == TType.STOP:
16792
        break
16793
      else:
16794
        iprot.skip(ftype)
16795
      iprot.readFieldEnd()
16796
    iprot.readStructEnd()
16797
 
16798
  def write(self, oprot):
16799
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16800
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16801
      return
16802
    oprot.writeStructBegin('changeItemRiskyFlag_result')
16803
    oprot.writeFieldStop()
16804
    oprot.writeStructEnd()
16805
 
16806
  def validate(self):
16807
    return
16808
 
16809
 
16810
  def __repr__(self):
16811
    L = ['%s=%r' % (key, value)
16812
      for key, value in self.__dict__.iteritems()]
16813
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16814
 
16815
  def __eq__(self, other):
16816
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16817
 
16818
  def __ne__(self, other):
16819
    return not (self == other)
16820
 
16821
class getItemsByRiskyFlag_args:
16822
 
16823
  thrift_spec = (
16824
  )
16825
 
16826
  def read(self, iprot):
16827
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16828
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16829
      return
16830
    iprot.readStructBegin()
16831
    while True:
16832
      (fname, ftype, fid) = iprot.readFieldBegin()
16833
      if ftype == TType.STOP:
16834
        break
16835
      else:
16836
        iprot.skip(ftype)
16837
      iprot.readFieldEnd()
16838
    iprot.readStructEnd()
16839
 
16840
  def write(self, oprot):
16841
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16842
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16843
      return
16844
    oprot.writeStructBegin('getItemsByRiskyFlag_args')
16845
    oprot.writeFieldStop()
16846
    oprot.writeStructEnd()
16847
 
16848
  def validate(self):
16849
    return
16850
 
16851
 
16852
  def __repr__(self):
16853
    L = ['%s=%r' % (key, value)
16854
      for key, value in self.__dict__.iteritems()]
16855
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16856
 
16857
  def __eq__(self, other):
16858
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16859
 
16860
  def __ne__(self, other):
16861
    return not (self == other)
16862
 
16863
class getItemsByRiskyFlag_result:
16864
  """
16865
  Attributes:
16866
   - success
16867
  """
16868
 
16869
  thrift_spec = (
16870
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
16871
  )
16872
 
16873
  def __init__(self, success=None,):
16874
    self.success = success
16875
 
16876
  def read(self, iprot):
16877
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16878
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16879
      return
16880
    iprot.readStructBegin()
16881
    while True:
16882
      (fname, ftype, fid) = iprot.readFieldBegin()
16883
      if ftype == TType.STOP:
16884
        break
16885
      if fid == 0:
16886
        if ftype == TType.LIST:
16887
          self.success = []
9155 kshitij.so 16888
          (_etype279, _size276) = iprot.readListBegin()
16889
          for _i280 in xrange(_size276):
16890
            _elem281 = Item()
16891
            _elem281.read(iprot)
16892
            self.success.append(_elem281)
5944 mandeep.dh 16893
          iprot.readListEnd()
16894
        else:
16895
          iprot.skip(ftype)
16896
      else:
16897
        iprot.skip(ftype)
16898
      iprot.readFieldEnd()
16899
    iprot.readStructEnd()
16900
 
16901
  def write(self, oprot):
16902
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16903
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16904
      return
16905
    oprot.writeStructBegin('getItemsByRiskyFlag_result')
16906
    if self.success is not None:
16907
      oprot.writeFieldBegin('success', TType.LIST, 0)
16908
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 16909
      for iter282 in self.success:
16910
        iter282.write(oprot)
5944 mandeep.dh 16911
      oprot.writeListEnd()
16912
      oprot.writeFieldEnd()
16913
    oprot.writeFieldStop()
16914
    oprot.writeStructEnd()
16915
 
16916
  def validate(self):
16917
    return
16918
 
16919
 
16920
  def __repr__(self):
16921
    L = ['%s=%r' % (key, value)
16922
      for key, value in self.__dict__.iteritems()]
16923
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16924
 
16925
  def __eq__(self, other):
16926
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16927
 
16928
  def __ne__(self, other):
16929
    return not (self == other)
16930
 
16931
class getItemsForMasterSheet_args:
16932
  """
16933
  Attributes:
16934
   - category
16935
   - brand
16936
  """
16937
 
16938
  thrift_spec = (
16939
    None, # 0
16940
    (1, TType.STRING, 'category', None, None, ), # 1
16941
    (2, TType.STRING, 'brand', None, None, ), # 2
16942
  )
16943
 
16944
  def __init__(self, category=None, brand=None,):
16945
    self.category = category
16946
    self.brand = brand
16947
 
16948
  def read(self, iprot):
16949
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16950
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16951
      return
16952
    iprot.readStructBegin()
16953
    while True:
16954
      (fname, ftype, fid) = iprot.readFieldBegin()
16955
      if ftype == TType.STOP:
16956
        break
16957
      if fid == 1:
16958
        if ftype == TType.STRING:
16959
          self.category = iprot.readString();
16960
        else:
16961
          iprot.skip(ftype)
16962
      elif fid == 2:
16963
        if ftype == TType.STRING:
16964
          self.brand = iprot.readString();
16965
        else:
16966
          iprot.skip(ftype)
16967
      else:
16968
        iprot.skip(ftype)
16969
      iprot.readFieldEnd()
16970
    iprot.readStructEnd()
16971
 
16972
  def write(self, oprot):
16973
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16974
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16975
      return
16976
    oprot.writeStructBegin('getItemsForMasterSheet_args')
16977
    if self.category is not None:
16978
      oprot.writeFieldBegin('category', TType.STRING, 1)
16979
      oprot.writeString(self.category)
16980
      oprot.writeFieldEnd()
16981
    if self.brand is not None:
16982
      oprot.writeFieldBegin('brand', TType.STRING, 2)
16983
      oprot.writeString(self.brand)
16984
      oprot.writeFieldEnd()
16985
    oprot.writeFieldStop()
16986
    oprot.writeStructEnd()
16987
 
16988
  def validate(self):
16989
    return
16990
 
16991
 
16992
  def __repr__(self):
16993
    L = ['%s=%r' % (key, value)
16994
      for key, value in self.__dict__.iteritems()]
16995
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16996
 
16997
  def __eq__(self, other):
16998
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16999
 
17000
  def __ne__(self, other):
17001
    return not (self == other)
17002
 
17003
class getItemsForMasterSheet_result:
17004
  """
17005
  Attributes:
17006
   - success
17007
  """
17008
 
17009
  thrift_spec = (
17010
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
17011
  )
17012
 
17013
  def __init__(self, success=None,):
17014
    self.success = success
17015
 
17016
  def read(self, iprot):
17017
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17018
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17019
      return
17020
    iprot.readStructBegin()
17021
    while True:
17022
      (fname, ftype, fid) = iprot.readFieldBegin()
17023
      if ftype == TType.STOP:
17024
        break
17025
      if fid == 0:
17026
        if ftype == TType.LIST:
17027
          self.success = []
9155 kshitij.so 17028
          (_etype286, _size283) = iprot.readListBegin()
17029
          for _i287 in xrange(_size283):
17030
            _elem288 = Item()
17031
            _elem288.read(iprot)
17032
            self.success.append(_elem288)
5944 mandeep.dh 17033
          iprot.readListEnd()
17034
        else:
17035
          iprot.skip(ftype)
17036
      else:
17037
        iprot.skip(ftype)
17038
      iprot.readFieldEnd()
17039
    iprot.readStructEnd()
17040
 
17041
  def write(self, oprot):
17042
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17043
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17044
      return
17045
    oprot.writeStructBegin('getItemsForMasterSheet_result')
17046
    if self.success is not None:
17047
      oprot.writeFieldBegin('success', TType.LIST, 0)
17048
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 17049
      for iter289 in self.success:
17050
        iter289.write(oprot)
5944 mandeep.dh 17051
      oprot.writeListEnd()
17052
      oprot.writeFieldEnd()
17053
    oprot.writeFieldStop()
17054
    oprot.writeStructEnd()
17055
 
17056
  def validate(self):
17057
    return
17058
 
17059
 
17060
  def __repr__(self):
17061
    L = ['%s=%r' % (key, value)
17062
      for key, value in self.__dict__.iteritems()]
17063
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17064
 
17065
  def __eq__(self, other):
17066
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17067
 
17068
  def __ne__(self, other):
17069
    return not (self == other)
17070
 
17071
class getSimilarItemsCatalogIds_args:
17072
  """
17073
  Attributes:
17074
   - beginIndex
17075
   - totalItems
17076
   - itemId
17077
  """
17078
 
17079
  thrift_spec = (
17080
    None, # 0
17081
    (1, TType.I64, 'beginIndex', None, None, ), # 1
17082
    (2, TType.I64, 'totalItems', None, None, ), # 2
17083
    (3, TType.I64, 'itemId', None, None, ), # 3
17084
  )
17085
 
17086
  def __init__(self, beginIndex=None, totalItems=None, itemId=None,):
17087
    self.beginIndex = beginIndex
17088
    self.totalItems = totalItems
17089
    self.itemId = itemId
17090
 
17091
  def read(self, iprot):
17092
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17093
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17094
      return
17095
    iprot.readStructBegin()
17096
    while True:
17097
      (fname, ftype, fid) = iprot.readFieldBegin()
17098
      if ftype == TType.STOP:
17099
        break
17100
      if fid == 1:
17101
        if ftype == TType.I64:
17102
          self.beginIndex = iprot.readI64();
17103
        else:
17104
          iprot.skip(ftype)
17105
      elif fid == 2:
17106
        if ftype == TType.I64:
17107
          self.totalItems = iprot.readI64();
17108
        else:
17109
          iprot.skip(ftype)
17110
      elif fid == 3:
17111
        if ftype == TType.I64:
17112
          self.itemId = iprot.readI64();
17113
        else:
17114
          iprot.skip(ftype)
17115
      else:
17116
        iprot.skip(ftype)
17117
      iprot.readFieldEnd()
17118
    iprot.readStructEnd()
17119
 
17120
  def write(self, oprot):
17121
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17122
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17123
      return
17124
    oprot.writeStructBegin('getSimilarItemsCatalogIds_args')
17125
    if self.beginIndex is not None:
17126
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
17127
      oprot.writeI64(self.beginIndex)
17128
      oprot.writeFieldEnd()
17129
    if self.totalItems is not None:
17130
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
17131
      oprot.writeI64(self.totalItems)
17132
      oprot.writeFieldEnd()
17133
    if self.itemId is not None:
17134
      oprot.writeFieldBegin('itemId', TType.I64, 3)
17135
      oprot.writeI64(self.itemId)
17136
      oprot.writeFieldEnd()
17137
    oprot.writeFieldStop()
17138
    oprot.writeStructEnd()
17139
 
17140
  def validate(self):
17141
    return
17142
 
17143
 
17144
  def __repr__(self):
17145
    L = ['%s=%r' % (key, value)
17146
      for key, value in self.__dict__.iteritems()]
17147
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17148
 
17149
  def __eq__(self, other):
17150
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17151
 
17152
  def __ne__(self, other):
17153
    return not (self == other)
17154
 
17155
class getSimilarItemsCatalogIds_result:
17156
  """
17157
  Attributes:
17158
   - success
17159
  """
17160
 
17161
  thrift_spec = (
17162
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
17163
  )
17164
 
17165
  def __init__(self, success=None,):
17166
    self.success = success
17167
 
17168
  def read(self, iprot):
17169
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17170
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17171
      return
17172
    iprot.readStructBegin()
17173
    while True:
17174
      (fname, ftype, fid) = iprot.readFieldBegin()
17175
      if ftype == TType.STOP:
17176
        break
17177
      if fid == 0:
17178
        if ftype == TType.LIST:
17179
          self.success = []
9155 kshitij.so 17180
          (_etype293, _size290) = iprot.readListBegin()
17181
          for _i294 in xrange(_size290):
17182
            _elem295 = iprot.readI64();
17183
            self.success.append(_elem295)
5944 mandeep.dh 17184
          iprot.readListEnd()
17185
        else:
17186
          iprot.skip(ftype)
17187
      else:
17188
        iprot.skip(ftype)
17189
      iprot.readFieldEnd()
17190
    iprot.readStructEnd()
17191
 
17192
  def write(self, oprot):
17193
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17194
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17195
      return
17196
    oprot.writeStructBegin('getSimilarItemsCatalogIds_result')
17197
    if self.success is not None:
17198
      oprot.writeFieldBegin('success', TType.LIST, 0)
17199
      oprot.writeListBegin(TType.I64, len(self.success))
9155 kshitij.so 17200
      for iter296 in self.success:
17201
        oprot.writeI64(iter296)
5944 mandeep.dh 17202
      oprot.writeListEnd()
17203
      oprot.writeFieldEnd()
17204
    oprot.writeFieldStop()
17205
    oprot.writeStructEnd()
17206
 
17207
  def validate(self):
17208
    return
17209
 
17210
 
17211
  def __repr__(self):
17212
    L = ['%s=%r' % (key, value)
17213
      for key, value in self.__dict__.iteritems()]
17214
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17215
 
17216
  def __eq__(self, other):
17217
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17218
 
17219
  def __ne__(self, other):
17220
    return not (self == other)
17221
 
17222
class addProductNotification_args:
17223
  """
17224
  Attributes:
17225
   - itemId
17226
   - email
17227
  """
17228
 
17229
  thrift_spec = None
17230
  def __init__(self, itemId=None, email=None,):
17231
    self.itemId = itemId
17232
    self.email = email
17233
 
17234
  def read(self, iprot):
17235
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17236
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17237
      return
17238
    iprot.readStructBegin()
17239
    while True:
17240
      (fname, ftype, fid) = iprot.readFieldBegin()
17241
      if ftype == TType.STOP:
17242
        break
17243
      if fid == -1:
17244
        if ftype == TType.I64:
17245
          self.itemId = iprot.readI64();
17246
        else:
17247
          iprot.skip(ftype)
17248
      elif fid == -2:
17249
        if ftype == TType.STRING:
17250
          self.email = iprot.readString();
17251
        else:
17252
          iprot.skip(ftype)
17253
      else:
17254
        iprot.skip(ftype)
17255
      iprot.readFieldEnd()
17256
    iprot.readStructEnd()
17257
 
17258
  def write(self, oprot):
17259
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17260
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17261
      return
17262
    oprot.writeStructBegin('addProductNotification_args')
17263
    if self.email is not None:
17264
      oprot.writeFieldBegin('email', TType.STRING, -2)
17265
      oprot.writeString(self.email)
17266
      oprot.writeFieldEnd()
17267
    if self.itemId is not None:
17268
      oprot.writeFieldBegin('itemId', TType.I64, -1)
17269
      oprot.writeI64(self.itemId)
17270
      oprot.writeFieldEnd()
17271
    oprot.writeFieldStop()
17272
    oprot.writeStructEnd()
17273
 
17274
  def validate(self):
17275
    return
17276
 
17277
 
17278
  def __repr__(self):
17279
    L = ['%s=%r' % (key, value)
17280
      for key, value in self.__dict__.iteritems()]
17281
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17282
 
17283
  def __eq__(self, other):
17284
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17285
 
17286
  def __ne__(self, other):
17287
    return not (self == other)
17288
 
17289
class addProductNotification_result:
17290
  """
17291
  Attributes:
17292
   - success
17293
  """
17294
 
17295
  thrift_spec = (
17296
    (0, TType.BOOL, 'success', None, None, ), # 0
17297
  )
17298
 
17299
  def __init__(self, success=None,):
17300
    self.success = success
17301
 
17302
  def read(self, iprot):
17303
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17304
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17305
      return
17306
    iprot.readStructBegin()
17307
    while True:
17308
      (fname, ftype, fid) = iprot.readFieldBegin()
17309
      if ftype == TType.STOP:
17310
        break
17311
      if fid == 0:
17312
        if ftype == TType.BOOL:
17313
          self.success = iprot.readBool();
17314
        else:
17315
          iprot.skip(ftype)
17316
      else:
17317
        iprot.skip(ftype)
17318
      iprot.readFieldEnd()
17319
    iprot.readStructEnd()
17320
 
17321
  def write(self, oprot):
17322
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17323
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17324
      return
17325
    oprot.writeStructBegin('addProductNotification_result')
17326
    if self.success is not None:
17327
      oprot.writeFieldBegin('success', TType.BOOL, 0)
17328
      oprot.writeBool(self.success)
17329
      oprot.writeFieldEnd()
17330
    oprot.writeFieldStop()
17331
    oprot.writeStructEnd()
17332
 
17333
  def validate(self):
17334
    return
17335
 
17336
 
17337
  def __repr__(self):
17338
    L = ['%s=%r' % (key, value)
17339
      for key, value in self.__dict__.iteritems()]
17340
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17341
 
17342
  def __eq__(self, other):
17343
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17344
 
17345
  def __ne__(self, other):
17346
    return not (self == other)
17347
 
17348
class sendProductNotifications_args:
17349
 
17350
  thrift_spec = (
17351
  )
17352
 
17353
  def read(self, iprot):
17354
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17355
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17356
      return
17357
    iprot.readStructBegin()
17358
    while True:
17359
      (fname, ftype, fid) = iprot.readFieldBegin()
17360
      if ftype == TType.STOP:
17361
        break
17362
      else:
17363
        iprot.skip(ftype)
17364
      iprot.readFieldEnd()
17365
    iprot.readStructEnd()
17366
 
17367
  def write(self, oprot):
17368
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17369
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17370
      return
17371
    oprot.writeStructBegin('sendProductNotifications_args')
17372
    oprot.writeFieldStop()
17373
    oprot.writeStructEnd()
17374
 
17375
  def validate(self):
17376
    return
17377
 
17378
 
17379
  def __repr__(self):
17380
    L = ['%s=%r' % (key, value)
17381
      for key, value in self.__dict__.iteritems()]
17382
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17383
 
17384
  def __eq__(self, other):
17385
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17386
 
17387
  def __ne__(self, other):
17388
    return not (self == other)
17389
 
17390
class sendProductNotifications_result:
17391
  """
17392
  Attributes:
17393
   - success
17394
  """
17395
 
17396
  thrift_spec = (
17397
    (0, TType.BOOL, 'success', None, None, ), # 0
17398
  )
17399
 
17400
  def __init__(self, success=None,):
17401
    self.success = success
17402
 
17403
  def read(self, iprot):
17404
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17405
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17406
      return
17407
    iprot.readStructBegin()
17408
    while True:
17409
      (fname, ftype, fid) = iprot.readFieldBegin()
17410
      if ftype == TType.STOP:
17411
        break
17412
      if fid == 0:
17413
        if ftype == TType.BOOL:
17414
          self.success = iprot.readBool();
17415
        else:
17416
          iprot.skip(ftype)
17417
      else:
17418
        iprot.skip(ftype)
17419
      iprot.readFieldEnd()
17420
    iprot.readStructEnd()
17421
 
17422
  def write(self, oprot):
17423
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17424
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17425
      return
17426
    oprot.writeStructBegin('sendProductNotifications_result')
17427
    if self.success is not None:
17428
      oprot.writeFieldBegin('success', TType.BOOL, 0)
17429
      oprot.writeBool(self.success)
17430
      oprot.writeFieldEnd()
17431
    oprot.writeFieldStop()
17432
    oprot.writeStructEnd()
17433
 
17434
  def validate(self):
17435
    return
17436
 
17437
 
17438
  def __repr__(self):
17439
    L = ['%s=%r' % (key, value)
17440
      for key, value in self.__dict__.iteritems()]
17441
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17442
 
17443
  def __eq__(self, other):
17444
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17445
 
17446
  def __ne__(self, other):
17447
    return not (self == other)
17448
 
17449
class getAllBrandsByCategory_args:
17450
  """
17451
  Attributes:
17452
   - categoryId
17453
  """
17454
 
17455
  thrift_spec = (
17456
    None, # 0
17457
    (1, TType.I64, 'categoryId', None, None, ), # 1
17458
  )
17459
 
17460
  def __init__(self, categoryId=None,):
17461
    self.categoryId = categoryId
17462
 
17463
  def read(self, iprot):
17464
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17465
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17466
      return
17467
    iprot.readStructBegin()
17468
    while True:
17469
      (fname, ftype, fid) = iprot.readFieldBegin()
17470
      if ftype == TType.STOP:
17471
        break
17472
      if fid == 1:
17473
        if ftype == TType.I64:
17474
          self.categoryId = iprot.readI64();
17475
        else:
17476
          iprot.skip(ftype)
17477
      else:
17478
        iprot.skip(ftype)
17479
      iprot.readFieldEnd()
17480
    iprot.readStructEnd()
17481
 
17482
  def write(self, oprot):
17483
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17484
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17485
      return
17486
    oprot.writeStructBegin('getAllBrandsByCategory_args')
17487
    if self.categoryId is not None:
17488
      oprot.writeFieldBegin('categoryId', TType.I64, 1)
17489
      oprot.writeI64(self.categoryId)
17490
      oprot.writeFieldEnd()
17491
    oprot.writeFieldStop()
17492
    oprot.writeStructEnd()
17493
 
17494
  def validate(self):
17495
    return
17496
 
17497
 
17498
  def __repr__(self):
17499
    L = ['%s=%r' % (key, value)
17500
      for key, value in self.__dict__.iteritems()]
17501
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17502
 
17503
  def __eq__(self, other):
17504
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17505
 
17506
  def __ne__(self, other):
17507
    return not (self == other)
17508
 
17509
class getAllBrandsByCategory_result:
17510
  """
17511
  Attributes:
17512
   - success
17513
  """
17514
 
17515
  thrift_spec = (
17516
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
17517
  )
17518
 
17519
  def __init__(self, success=None,):
17520
    self.success = success
17521
 
17522
  def read(self, iprot):
17523
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17524
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17525
      return
17526
    iprot.readStructBegin()
17527
    while True:
17528
      (fname, ftype, fid) = iprot.readFieldBegin()
17529
      if ftype == TType.STOP:
17530
        break
17531
      if fid == 0:
17532
        if ftype == TType.LIST:
17533
          self.success = []
9155 kshitij.so 17534
          (_etype300, _size297) = iprot.readListBegin()
17535
          for _i301 in xrange(_size297):
17536
            _elem302 = iprot.readString();
17537
            self.success.append(_elem302)
5944 mandeep.dh 17538
          iprot.readListEnd()
17539
        else:
17540
          iprot.skip(ftype)
17541
      else:
17542
        iprot.skip(ftype)
17543
      iprot.readFieldEnd()
17544
    iprot.readStructEnd()
17545
 
17546
  def write(self, oprot):
17547
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17548
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17549
      return
17550
    oprot.writeStructBegin('getAllBrandsByCategory_result')
17551
    if self.success is not None:
17552
      oprot.writeFieldBegin('success', TType.LIST, 0)
17553
      oprot.writeListBegin(TType.STRING, len(self.success))
9155 kshitij.so 17554
      for iter303 in self.success:
17555
        oprot.writeString(iter303)
5944 mandeep.dh 17556
      oprot.writeListEnd()
17557
      oprot.writeFieldEnd()
17558
    oprot.writeFieldStop()
17559
    oprot.writeStructEnd()
17560
 
17561
  def validate(self):
17562
    return
17563
 
17564
 
17565
  def __repr__(self):
17566
    L = ['%s=%r' % (key, value)
17567
      for key, value in self.__dict__.iteritems()]
17568
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17569
 
17570
  def __eq__(self, other):
17571
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17572
 
17573
  def __ne__(self, other):
17574
    return not (self == other)
17575
 
17576
class getAllBrands_args:
17577
 
17578
  thrift_spec = (
17579
  )
17580
 
17581
  def read(self, iprot):
17582
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17583
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17584
      return
17585
    iprot.readStructBegin()
17586
    while True:
17587
      (fname, ftype, fid) = iprot.readFieldBegin()
17588
      if ftype == TType.STOP:
17589
        break
17590
      else:
17591
        iprot.skip(ftype)
17592
      iprot.readFieldEnd()
17593
    iprot.readStructEnd()
17594
 
17595
  def write(self, oprot):
17596
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17597
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17598
      return
17599
    oprot.writeStructBegin('getAllBrands_args')
17600
    oprot.writeFieldStop()
17601
    oprot.writeStructEnd()
17602
 
17603
  def validate(self):
17604
    return
17605
 
17606
 
17607
  def __repr__(self):
17608
    L = ['%s=%r' % (key, value)
17609
      for key, value in self.__dict__.iteritems()]
17610
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17611
 
17612
  def __eq__(self, other):
17613
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17614
 
17615
  def __ne__(self, other):
17616
    return not (self == other)
17617
 
17618
class getAllBrands_result:
17619
  """
17620
  Attributes:
17621
   - success
17622
  """
17623
 
17624
  thrift_spec = (
17625
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
17626
  )
17627
 
17628
  def __init__(self, success=None,):
17629
    self.success = success
17630
 
17631
  def read(self, iprot):
17632
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17633
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17634
      return
17635
    iprot.readStructBegin()
17636
    while True:
17637
      (fname, ftype, fid) = iprot.readFieldBegin()
17638
      if ftype == TType.STOP:
17639
        break
17640
      if fid == 0:
17641
        if ftype == TType.LIST:
17642
          self.success = []
9155 kshitij.so 17643
          (_etype307, _size304) = iprot.readListBegin()
17644
          for _i308 in xrange(_size304):
17645
            _elem309 = iprot.readString();
17646
            self.success.append(_elem309)
5944 mandeep.dh 17647
          iprot.readListEnd()
17648
        else:
17649
          iprot.skip(ftype)
17650
      else:
17651
        iprot.skip(ftype)
17652
      iprot.readFieldEnd()
17653
    iprot.readStructEnd()
17654
 
17655
  def write(self, oprot):
17656
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17657
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17658
      return
17659
    oprot.writeStructBegin('getAllBrands_result')
17660
    if self.success is not None:
17661
      oprot.writeFieldBegin('success', TType.LIST, 0)
17662
      oprot.writeListBegin(TType.STRING, len(self.success))
9155 kshitij.so 17663
      for iter310 in self.success:
17664
        oprot.writeString(iter310)
5944 mandeep.dh 17665
      oprot.writeListEnd()
17666
      oprot.writeFieldEnd()
17667
    oprot.writeFieldStop()
17668
    oprot.writeStructEnd()
17669
 
17670
  def validate(self):
17671
    return
17672
 
17673
 
17674
  def __repr__(self):
17675
    L = ['%s=%r' % (key, value)
17676
      for key, value in self.__dict__.iteritems()]
17677
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17678
 
17679
  def __eq__(self, other):
17680
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17681
 
17682
  def __ne__(self, other):
17683
    return not (self == other)
17684
 
17685
class getAllSources_args:
17686
 
17687
  thrift_spec = (
17688
  )
17689
 
17690
  def read(self, iprot):
17691
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17692
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17693
      return
17694
    iprot.readStructBegin()
17695
    while True:
17696
      (fname, ftype, fid) = iprot.readFieldBegin()
17697
      if ftype == TType.STOP:
17698
        break
17699
      else:
17700
        iprot.skip(ftype)
17701
      iprot.readFieldEnd()
17702
    iprot.readStructEnd()
17703
 
17704
  def write(self, oprot):
17705
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17706
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17707
      return
17708
    oprot.writeStructBegin('getAllSources_args')
17709
    oprot.writeFieldStop()
17710
    oprot.writeStructEnd()
17711
 
17712
  def validate(self):
17713
    return
17714
 
17715
 
17716
  def __repr__(self):
17717
    L = ['%s=%r' % (key, value)
17718
      for key, value in self.__dict__.iteritems()]
17719
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17720
 
17721
  def __eq__(self, other):
17722
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17723
 
17724
  def __ne__(self, other):
17725
    return not (self == other)
17726
 
17727
class getAllSources_result:
17728
  """
17729
  Attributes:
17730
   - success
17731
  """
17732
 
17733
  thrift_spec = (
17734
    (0, TType.LIST, 'success', (TType.STRUCT,(Source, Source.thrift_spec)), None, ), # 0
17735
  )
17736
 
17737
  def __init__(self, success=None,):
17738
    self.success = success
17739
 
17740
  def read(self, iprot):
17741
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17742
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17743
      return
17744
    iprot.readStructBegin()
17745
    while True:
17746
      (fname, ftype, fid) = iprot.readFieldBegin()
17747
      if ftype == TType.STOP:
17748
        break
17749
      if fid == 0:
17750
        if ftype == TType.LIST:
17751
          self.success = []
9155 kshitij.so 17752
          (_etype314, _size311) = iprot.readListBegin()
17753
          for _i315 in xrange(_size311):
17754
            _elem316 = Source()
17755
            _elem316.read(iprot)
17756
            self.success.append(_elem316)
5944 mandeep.dh 17757
          iprot.readListEnd()
17758
        else:
17759
          iprot.skip(ftype)
17760
      else:
17761
        iprot.skip(ftype)
17762
      iprot.readFieldEnd()
17763
    iprot.readStructEnd()
17764
 
17765
  def write(self, oprot):
17766
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17767
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17768
      return
17769
    oprot.writeStructBegin('getAllSources_result')
17770
    if self.success is not None:
17771
      oprot.writeFieldBegin('success', TType.LIST, 0)
17772
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 17773
      for iter317 in self.success:
17774
        iter317.write(oprot)
5944 mandeep.dh 17775
      oprot.writeListEnd()
17776
      oprot.writeFieldEnd()
17777
    oprot.writeFieldStop()
17778
    oprot.writeStructEnd()
17779
 
17780
  def validate(self):
17781
    return
17782
 
17783
 
17784
  def __repr__(self):
17785
    L = ['%s=%r' % (key, value)
17786
      for key, value in self.__dict__.iteritems()]
17787
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17788
 
17789
  def __eq__(self, other):
17790
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17791
 
17792
  def __ne__(self, other):
17793
    return not (self == other)
17794
 
17795
class getItemPricingBySource_args:
17796
  """
17797
  Attributes:
17798
   - itemId
17799
   - sourceId
17800
  """
17801
 
17802
  thrift_spec = (
17803
    None, # 0
17804
    (1, TType.I64, 'itemId', None, None, ), # 1
17805
    (2, TType.I64, 'sourceId', None, None, ), # 2
17806
  )
17807
 
17808
  def __init__(self, itemId=None, sourceId=None,):
17809
    self.itemId = itemId
17810
    self.sourceId = sourceId
17811
 
17812
  def read(self, iprot):
17813
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17814
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17815
      return
17816
    iprot.readStructBegin()
17817
    while True:
17818
      (fname, ftype, fid) = iprot.readFieldBegin()
17819
      if ftype == TType.STOP:
17820
        break
17821
      if fid == 1:
17822
        if ftype == TType.I64:
17823
          self.itemId = iprot.readI64();
17824
        else:
17825
          iprot.skip(ftype)
17826
      elif fid == 2:
17827
        if ftype == TType.I64:
17828
          self.sourceId = iprot.readI64();
17829
        else:
17830
          iprot.skip(ftype)
17831
      else:
17832
        iprot.skip(ftype)
17833
      iprot.readFieldEnd()
17834
    iprot.readStructEnd()
17835
 
17836
  def write(self, oprot):
17837
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17838
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17839
      return
17840
    oprot.writeStructBegin('getItemPricingBySource_args')
17841
    if self.itemId is not None:
17842
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17843
      oprot.writeI64(self.itemId)
17844
      oprot.writeFieldEnd()
17845
    if self.sourceId is not None:
17846
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
17847
      oprot.writeI64(self.sourceId)
17848
      oprot.writeFieldEnd()
17849
    oprot.writeFieldStop()
17850
    oprot.writeStructEnd()
17851
 
17852
  def validate(self):
17853
    return
17854
 
17855
 
17856
  def __repr__(self):
17857
    L = ['%s=%r' % (key, value)
17858
      for key, value in self.__dict__.iteritems()]
17859
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17860
 
17861
  def __eq__(self, other):
17862
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17863
 
17864
  def __ne__(self, other):
17865
    return not (self == other)
17866
 
17867
class getItemPricingBySource_result:
17868
  """
17869
  Attributes:
17870
   - success
17871
   - cex
17872
  """
17873
 
17874
  thrift_spec = (
17875
    (0, TType.STRUCT, 'success', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 0
17876
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
17877
  )
17878
 
17879
  def __init__(self, success=None, cex=None,):
17880
    self.success = success
17881
    self.cex = cex
17882
 
17883
  def read(self, iprot):
17884
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17885
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17886
      return
17887
    iprot.readStructBegin()
17888
    while True:
17889
      (fname, ftype, fid) = iprot.readFieldBegin()
17890
      if ftype == TType.STOP:
17891
        break
17892
      if fid == 0:
17893
        if ftype == TType.STRUCT:
17894
          self.success = SourceItemPricing()
17895
          self.success.read(iprot)
17896
        else:
17897
          iprot.skip(ftype)
17898
      elif fid == 1:
17899
        if ftype == TType.STRUCT:
17900
          self.cex = CatalogServiceException()
17901
          self.cex.read(iprot)
17902
        else:
17903
          iprot.skip(ftype)
17904
      else:
17905
        iprot.skip(ftype)
17906
      iprot.readFieldEnd()
17907
    iprot.readStructEnd()
17908
 
17909
  def write(self, oprot):
17910
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17911
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17912
      return
17913
    oprot.writeStructBegin('getItemPricingBySource_result')
17914
    if self.success is not None:
17915
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
17916
      self.success.write(oprot)
17917
      oprot.writeFieldEnd()
17918
    if self.cex is not None:
17919
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
17920
      self.cex.write(oprot)
17921
      oprot.writeFieldEnd()
17922
    oprot.writeFieldStop()
17923
    oprot.writeStructEnd()
17924
 
17925
  def validate(self):
17926
    return
17927
 
17928
 
17929
  def __repr__(self):
17930
    L = ['%s=%r' % (key, value)
17931
      for key, value in self.__dict__.iteritems()]
17932
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17933
 
17934
  def __eq__(self, other):
17935
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17936
 
17937
  def __ne__(self, other):
17938
    return not (self == other)
17939
 
17940
class addSourceItemPricing_args:
17941
  """
17942
  Attributes:
17943
   - sourceItemPricing
17944
  """
17945
 
17946
  thrift_spec = (
17947
    None, # 0
17948
    (1, TType.STRUCT, 'sourceItemPricing', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 1
17949
  )
17950
 
17951
  def __init__(self, sourceItemPricing=None,):
17952
    self.sourceItemPricing = sourceItemPricing
17953
 
17954
  def read(self, iprot):
17955
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17956
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17957
      return
17958
    iprot.readStructBegin()
17959
    while True:
17960
      (fname, ftype, fid) = iprot.readFieldBegin()
17961
      if ftype == TType.STOP:
17962
        break
17963
      if fid == 1:
17964
        if ftype == TType.STRUCT:
17965
          self.sourceItemPricing = SourceItemPricing()
17966
          self.sourceItemPricing.read(iprot)
17967
        else:
17968
          iprot.skip(ftype)
17969
      else:
17970
        iprot.skip(ftype)
17971
      iprot.readFieldEnd()
17972
    iprot.readStructEnd()
17973
 
17974
  def write(self, oprot):
17975
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17976
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17977
      return
17978
    oprot.writeStructBegin('addSourceItemPricing_args')
17979
    if self.sourceItemPricing is not None:
17980
      oprot.writeFieldBegin('sourceItemPricing', TType.STRUCT, 1)
17981
      self.sourceItemPricing.write(oprot)
17982
      oprot.writeFieldEnd()
17983
    oprot.writeFieldStop()
17984
    oprot.writeStructEnd()
17985
 
17986
  def validate(self):
17987
    return
17988
 
17989
 
17990
  def __repr__(self):
17991
    L = ['%s=%r' % (key, value)
17992
      for key, value in self.__dict__.iteritems()]
17993
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17994
 
17995
  def __eq__(self, other):
17996
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17997
 
17998
  def __ne__(self, other):
17999
    return not (self == other)
18000
 
18001
class addSourceItemPricing_result:
18002
  """
18003
  Attributes:
18004
   - cex
18005
  """
18006
 
18007
  thrift_spec = (
18008
    None, # 0
18009
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18010
  )
18011
 
18012
  def __init__(self, cex=None,):
18013
    self.cex = cex
18014
 
18015
  def read(self, iprot):
18016
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18017
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18018
      return
18019
    iprot.readStructBegin()
18020
    while True:
18021
      (fname, ftype, fid) = iprot.readFieldBegin()
18022
      if ftype == TType.STOP:
18023
        break
18024
      if fid == 1:
18025
        if ftype == TType.STRUCT:
18026
          self.cex = CatalogServiceException()
18027
          self.cex.read(iprot)
18028
        else:
18029
          iprot.skip(ftype)
18030
      else:
18031
        iprot.skip(ftype)
18032
      iprot.readFieldEnd()
18033
    iprot.readStructEnd()
18034
 
18035
  def write(self, oprot):
18036
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18037
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18038
      return
18039
    oprot.writeStructBegin('addSourceItemPricing_result')
18040
    if self.cex is not None:
18041
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
18042
      self.cex.write(oprot)
18043
      oprot.writeFieldEnd()
18044
    oprot.writeFieldStop()
18045
    oprot.writeStructEnd()
18046
 
18047
  def validate(self):
18048
    return
18049
 
18050
 
18051
  def __repr__(self):
18052
    L = ['%s=%r' % (key, value)
18053
      for key, value in self.__dict__.iteritems()]
18054
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18055
 
18056
  def __eq__(self, other):
18057
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18058
 
18059
  def __ne__(self, other):
18060
    return not (self == other)
18061
 
18062
class getAllSourcePricing_args:
18063
  """
18064
  Attributes:
18065
   - itemId
18066
  """
18067
 
18068
  thrift_spec = (
18069
    None, # 0
18070
    (1, TType.I64, 'itemId', None, None, ), # 1
18071
  )
18072
 
18073
  def __init__(self, itemId=None,):
18074
    self.itemId = itemId
18075
 
18076
  def read(self, iprot):
18077
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18078
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18079
      return
18080
    iprot.readStructBegin()
18081
    while True:
18082
      (fname, ftype, fid) = iprot.readFieldBegin()
18083
      if ftype == TType.STOP:
18084
        break
18085
      if fid == 1:
18086
        if ftype == TType.I64:
18087
          self.itemId = iprot.readI64();
18088
        else:
18089
          iprot.skip(ftype)
18090
      else:
18091
        iprot.skip(ftype)
18092
      iprot.readFieldEnd()
18093
    iprot.readStructEnd()
18094
 
18095
  def write(self, oprot):
18096
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18097
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18098
      return
18099
    oprot.writeStructBegin('getAllSourcePricing_args')
18100
    if self.itemId is not None:
18101
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18102
      oprot.writeI64(self.itemId)
18103
      oprot.writeFieldEnd()
18104
    oprot.writeFieldStop()
18105
    oprot.writeStructEnd()
18106
 
18107
  def validate(self):
18108
    return
18109
 
18110
 
18111
  def __repr__(self):
18112
    L = ['%s=%r' % (key, value)
18113
      for key, value in self.__dict__.iteritems()]
18114
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18115
 
18116
  def __eq__(self, other):
18117
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18118
 
18119
  def __ne__(self, other):
18120
    return not (self == other)
18121
 
18122
class getAllSourcePricing_result:
18123
  """
18124
  Attributes:
18125
   - success
18126
   - cex
18127
  """
18128
 
18129
  thrift_spec = (
18130
    (0, TType.LIST, 'success', (TType.STRUCT,(SourceItemPricing, SourceItemPricing.thrift_spec)), None, ), # 0
18131
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18132
  )
18133
 
18134
  def __init__(self, success=None, cex=None,):
18135
    self.success = success
18136
    self.cex = cex
18137
 
18138
  def read(self, iprot):
18139
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18140
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18141
      return
18142
    iprot.readStructBegin()
18143
    while True:
18144
      (fname, ftype, fid) = iprot.readFieldBegin()
18145
      if ftype == TType.STOP:
18146
        break
18147
      if fid == 0:
18148
        if ftype == TType.LIST:
18149
          self.success = []
9155 kshitij.so 18150
          (_etype321, _size318) = iprot.readListBegin()
18151
          for _i322 in xrange(_size318):
18152
            _elem323 = SourceItemPricing()
18153
            _elem323.read(iprot)
18154
            self.success.append(_elem323)
5944 mandeep.dh 18155
          iprot.readListEnd()
18156
        else:
18157
          iprot.skip(ftype)
18158
      elif fid == 1:
18159
        if ftype == TType.STRUCT:
18160
          self.cex = CatalogServiceException()
18161
          self.cex.read(iprot)
18162
        else:
18163
          iprot.skip(ftype)
18164
      else:
18165
        iprot.skip(ftype)
18166
      iprot.readFieldEnd()
18167
    iprot.readStructEnd()
18168
 
18169
  def write(self, oprot):
18170
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18171
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18172
      return
18173
    oprot.writeStructBegin('getAllSourcePricing_result')
18174
    if self.success is not None:
18175
      oprot.writeFieldBegin('success', TType.LIST, 0)
18176
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 18177
      for iter324 in self.success:
18178
        iter324.write(oprot)
5944 mandeep.dh 18179
      oprot.writeListEnd()
18180
      oprot.writeFieldEnd()
18181
    if self.cex is not None:
18182
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
18183
      self.cex.write(oprot)
18184
      oprot.writeFieldEnd()
18185
    oprot.writeFieldStop()
18186
    oprot.writeStructEnd()
18187
 
18188
  def validate(self):
18189
    return
18190
 
18191
 
18192
  def __repr__(self):
18193
    L = ['%s=%r' % (key, value)
18194
      for key, value in self.__dict__.iteritems()]
18195
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18196
 
18197
  def __eq__(self, other):
18198
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18199
 
18200
  def __ne__(self, other):
18201
    return not (self == other)
18202
 
18203
class getItemForSource_args:
18204
  """
18205
  Attributes:
18206
   - item_id
18207
   - sourceId
18208
  """
18209
 
18210
  thrift_spec = (
18211
    None, # 0
18212
    (1, TType.I64, 'item_id', None, None, ), # 1
18213
    (2, TType.I64, 'sourceId', None, None, ), # 2
18214
  )
18215
 
18216
  def __init__(self, item_id=None, sourceId=None,):
18217
    self.item_id = item_id
18218
    self.sourceId = sourceId
18219
 
18220
  def read(self, iprot):
18221
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18222
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18223
      return
18224
    iprot.readStructBegin()
18225
    while True:
18226
      (fname, ftype, fid) = iprot.readFieldBegin()
18227
      if ftype == TType.STOP:
18228
        break
18229
      if fid == 1:
18230
        if ftype == TType.I64:
18231
          self.item_id = iprot.readI64();
18232
        else:
18233
          iprot.skip(ftype)
18234
      elif fid == 2:
18235
        if ftype == TType.I64:
18236
          self.sourceId = iprot.readI64();
18237
        else:
18238
          iprot.skip(ftype)
18239
      else:
18240
        iprot.skip(ftype)
18241
      iprot.readFieldEnd()
18242
    iprot.readStructEnd()
18243
 
18244
  def write(self, oprot):
18245
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18246
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18247
      return
18248
    oprot.writeStructBegin('getItemForSource_args')
18249
    if self.item_id is not None:
18250
      oprot.writeFieldBegin('item_id', TType.I64, 1)
18251
      oprot.writeI64(self.item_id)
18252
      oprot.writeFieldEnd()
18253
    if self.sourceId is not None:
18254
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
18255
      oprot.writeI64(self.sourceId)
18256
      oprot.writeFieldEnd()
18257
    oprot.writeFieldStop()
18258
    oprot.writeStructEnd()
18259
 
18260
  def validate(self):
18261
    return
18262
 
18263
 
18264
  def __repr__(self):
18265
    L = ['%s=%r' % (key, value)
18266
      for key, value in self.__dict__.iteritems()]
18267
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18268
 
18269
  def __eq__(self, other):
18270
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18271
 
18272
  def __ne__(self, other):
18273
    return not (self == other)
18274
 
18275
class getItemForSource_result:
18276
  """
18277
  Attributes:
18278
   - success
18279
   - cex
18280
  """
18281
 
18282
  thrift_spec = (
18283
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
18284
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18285
  )
18286
 
18287
  def __init__(self, success=None, cex=None,):
18288
    self.success = success
18289
    self.cex = cex
18290
 
18291
  def read(self, iprot):
18292
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18293
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18294
      return
18295
    iprot.readStructBegin()
18296
    while True:
18297
      (fname, ftype, fid) = iprot.readFieldBegin()
18298
      if ftype == TType.STOP:
18299
        break
18300
      if fid == 0:
18301
        if ftype == TType.STRUCT:
18302
          self.success = Item()
18303
          self.success.read(iprot)
18304
        else:
18305
          iprot.skip(ftype)
18306
      elif fid == 1:
18307
        if ftype == TType.STRUCT:
18308
          self.cex = CatalogServiceException()
18309
          self.cex.read(iprot)
18310
        else:
18311
          iprot.skip(ftype)
18312
      else:
18313
        iprot.skip(ftype)
18314
      iprot.readFieldEnd()
18315
    iprot.readStructEnd()
18316
 
18317
  def write(self, oprot):
18318
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18319
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18320
      return
18321
    oprot.writeStructBegin('getItemForSource_result')
18322
    if self.success is not None:
18323
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
18324
      self.success.write(oprot)
18325
      oprot.writeFieldEnd()
18326
    if self.cex is not None:
18327
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
18328
      self.cex.write(oprot)
18329
      oprot.writeFieldEnd()
18330
    oprot.writeFieldStop()
18331
    oprot.writeStructEnd()
18332
 
18333
  def validate(self):
18334
    return
18335
 
18336
 
18337
  def __repr__(self):
18338
    L = ['%s=%r' % (key, value)
18339
      for key, value in self.__dict__.iteritems()]
18340
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18341
 
18342
  def __eq__(self, other):
18343
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18344
 
18345
  def __ne__(self, other):
18346
    return not (self == other)
18347
 
18348
class searchItemsInRange_args:
18349
  """
18350
  Attributes:
18351
   - searchTerms
18352
   - offset
18353
   - limit
18354
  """
18355
 
18356
  thrift_spec = (
18357
    None, # 0
18358
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
18359
    (2, TType.I64, 'offset', None, None, ), # 2
18360
    (3, TType.I64, 'limit', None, None, ), # 3
18361
  )
18362
 
18363
  def __init__(self, searchTerms=None, offset=None, limit=None,):
18364
    self.searchTerms = searchTerms
18365
    self.offset = offset
18366
    self.limit = limit
18367
 
18368
  def read(self, iprot):
18369
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18370
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18371
      return
18372
    iprot.readStructBegin()
18373
    while True:
18374
      (fname, ftype, fid) = iprot.readFieldBegin()
18375
      if ftype == TType.STOP:
18376
        break
18377
      if fid == 1:
18378
        if ftype == TType.LIST:
18379
          self.searchTerms = []
9155 kshitij.so 18380
          (_etype328, _size325) = iprot.readListBegin()
18381
          for _i329 in xrange(_size325):
18382
            _elem330 = iprot.readString();
18383
            self.searchTerms.append(_elem330)
5944 mandeep.dh 18384
          iprot.readListEnd()
18385
        else:
18386
          iprot.skip(ftype)
18387
      elif fid == 2:
18388
        if ftype == TType.I64:
18389
          self.offset = iprot.readI64();
18390
        else:
18391
          iprot.skip(ftype)
18392
      elif fid == 3:
18393
        if ftype == TType.I64:
18394
          self.limit = iprot.readI64();
18395
        else:
18396
          iprot.skip(ftype)
18397
      else:
18398
        iprot.skip(ftype)
18399
      iprot.readFieldEnd()
18400
    iprot.readStructEnd()
18401
 
18402
  def write(self, oprot):
18403
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18404
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18405
      return
18406
    oprot.writeStructBegin('searchItemsInRange_args')
18407
    if self.searchTerms is not None:
18408
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
18409
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
9155 kshitij.so 18410
      for iter331 in self.searchTerms:
18411
        oprot.writeString(iter331)
5944 mandeep.dh 18412
      oprot.writeListEnd()
18413
      oprot.writeFieldEnd()
18414
    if self.offset is not None:
18415
      oprot.writeFieldBegin('offset', TType.I64, 2)
18416
      oprot.writeI64(self.offset)
18417
      oprot.writeFieldEnd()
18418
    if self.limit is not None:
18419
      oprot.writeFieldBegin('limit', TType.I64, 3)
18420
      oprot.writeI64(self.limit)
18421
      oprot.writeFieldEnd()
18422
    oprot.writeFieldStop()
18423
    oprot.writeStructEnd()
18424
 
18425
  def validate(self):
18426
    return
18427
 
18428
 
18429
  def __repr__(self):
18430
    L = ['%s=%r' % (key, value)
18431
      for key, value in self.__dict__.iteritems()]
18432
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18433
 
18434
  def __eq__(self, other):
18435
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18436
 
18437
  def __ne__(self, other):
18438
    return not (self == other)
18439
 
18440
class searchItemsInRange_result:
18441
  """
18442
  Attributes:
18443
   - success
18444
  """
18445
 
18446
  thrift_spec = (
18447
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
18448
  )
18449
 
18450
  def __init__(self, success=None,):
18451
    self.success = success
18452
 
18453
  def read(self, iprot):
18454
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18455
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18456
      return
18457
    iprot.readStructBegin()
18458
    while True:
18459
      (fname, ftype, fid) = iprot.readFieldBegin()
18460
      if ftype == TType.STOP:
18461
        break
18462
      if fid == 0:
18463
        if ftype == TType.LIST:
18464
          self.success = []
9155 kshitij.so 18465
          (_etype335, _size332) = iprot.readListBegin()
18466
          for _i336 in xrange(_size332):
18467
            _elem337 = Item()
18468
            _elem337.read(iprot)
18469
            self.success.append(_elem337)
5944 mandeep.dh 18470
          iprot.readListEnd()
18471
        else:
18472
          iprot.skip(ftype)
18473
      else:
18474
        iprot.skip(ftype)
18475
      iprot.readFieldEnd()
18476
    iprot.readStructEnd()
18477
 
18478
  def write(self, oprot):
18479
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18480
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18481
      return
18482
    oprot.writeStructBegin('searchItemsInRange_result')
18483
    if self.success is not None:
18484
      oprot.writeFieldBegin('success', TType.LIST, 0)
18485
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 18486
      for iter338 in self.success:
18487
        iter338.write(oprot)
5944 mandeep.dh 18488
      oprot.writeListEnd()
18489
      oprot.writeFieldEnd()
18490
    oprot.writeFieldStop()
18491
    oprot.writeStructEnd()
18492
 
18493
  def validate(self):
18494
    return
18495
 
18496
 
18497
  def __repr__(self):
18498
    L = ['%s=%r' % (key, value)
18499
      for key, value in self.__dict__.iteritems()]
18500
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18501
 
18502
  def __eq__(self, other):
18503
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18504
 
18505
  def __ne__(self, other):
18506
    return not (self == other)
18507
 
18508
class getSearchResultCount_args:
18509
  """
18510
  Attributes:
18511
   - searchTerms
18512
  """
18513
 
18514
  thrift_spec = (
18515
    None, # 0
18516
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
18517
  )
18518
 
18519
  def __init__(self, searchTerms=None,):
18520
    self.searchTerms = searchTerms
18521
 
18522
  def read(self, iprot):
18523
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18524
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18525
      return
18526
    iprot.readStructBegin()
18527
    while True:
18528
      (fname, ftype, fid) = iprot.readFieldBegin()
18529
      if ftype == TType.STOP:
18530
        break
18531
      if fid == 1:
18532
        if ftype == TType.LIST:
18533
          self.searchTerms = []
9155 kshitij.so 18534
          (_etype342, _size339) = iprot.readListBegin()
18535
          for _i343 in xrange(_size339):
18536
            _elem344 = iprot.readString();
18537
            self.searchTerms.append(_elem344)
5944 mandeep.dh 18538
          iprot.readListEnd()
18539
        else:
18540
          iprot.skip(ftype)
18541
      else:
18542
        iprot.skip(ftype)
18543
      iprot.readFieldEnd()
18544
    iprot.readStructEnd()
18545
 
18546
  def write(self, oprot):
18547
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18548
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18549
      return
18550
    oprot.writeStructBegin('getSearchResultCount_args')
18551
    if self.searchTerms is not None:
18552
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
18553
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
9155 kshitij.so 18554
      for iter345 in self.searchTerms:
18555
        oprot.writeString(iter345)
5944 mandeep.dh 18556
      oprot.writeListEnd()
18557
      oprot.writeFieldEnd()
18558
    oprot.writeFieldStop()
18559
    oprot.writeStructEnd()
18560
 
18561
  def validate(self):
18562
    return
18563
 
18564
 
18565
  def __repr__(self):
18566
    L = ['%s=%r' % (key, value)
18567
      for key, value in self.__dict__.iteritems()]
18568
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18569
 
18570
  def __eq__(self, other):
18571
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18572
 
18573
  def __ne__(self, other):
18574
    return not (self == other)
18575
 
18576
class getSearchResultCount_result:
18577
  """
18578
  Attributes:
18579
   - success
18580
  """
18581
 
18582
  thrift_spec = (
18583
    (0, TType.I32, 'success', None, None, ), # 0
18584
  )
18585
 
18586
  def __init__(self, success=None,):
18587
    self.success = success
18588
 
18589
  def read(self, iprot):
18590
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18591
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18592
      return
18593
    iprot.readStructBegin()
18594
    while True:
18595
      (fname, ftype, fid) = iprot.readFieldBegin()
18596
      if ftype == TType.STOP:
18597
        break
18598
      if fid == 0:
18599
        if ftype == TType.I32:
18600
          self.success = iprot.readI32();
18601
        else:
18602
          iprot.skip(ftype)
18603
      else:
18604
        iprot.skip(ftype)
18605
      iprot.readFieldEnd()
18606
    iprot.readStructEnd()
18607
 
18608
  def write(self, oprot):
18609
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18610
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18611
      return
18612
    oprot.writeStructBegin('getSearchResultCount_result')
18613
    if self.success is not None:
18614
      oprot.writeFieldBegin('success', TType.I32, 0)
18615
      oprot.writeI32(self.success)
18616
      oprot.writeFieldEnd()
18617
    oprot.writeFieldStop()
18618
    oprot.writeStructEnd()
18619
 
18620
  def validate(self):
18621
    return
18622
 
18623
 
18624
  def __repr__(self):
18625
    L = ['%s=%r' % (key, value)
18626
      for key, value in self.__dict__.iteritems()]
18627
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18628
 
18629
  def __eq__(self, other):
18630
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18631
 
18632
  def __ne__(self, other):
18633
    return not (self == other)
18634
 
18635
class getProductNotifications_args:
18636
  """
18637
  Attributes:
18638
   - startDateTime
18639
  """
18640
 
18641
  thrift_spec = (
18642
    None, # 0
18643
    (1, TType.I64, 'startDateTime', None, None, ), # 1
18644
  )
18645
 
18646
  def __init__(self, startDateTime=None,):
18647
    self.startDateTime = startDateTime
18648
 
18649
  def read(self, iprot):
18650
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18651
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18652
      return
18653
    iprot.readStructBegin()
18654
    while True:
18655
      (fname, ftype, fid) = iprot.readFieldBegin()
18656
      if ftype == TType.STOP:
18657
        break
18658
      if fid == 1:
18659
        if ftype == TType.I64:
18660
          self.startDateTime = iprot.readI64();
18661
        else:
18662
          iprot.skip(ftype)
18663
      else:
18664
        iprot.skip(ftype)
18665
      iprot.readFieldEnd()
18666
    iprot.readStructEnd()
18667
 
18668
  def write(self, oprot):
18669
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18670
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18671
      return
18672
    oprot.writeStructBegin('getProductNotifications_args')
18673
    if self.startDateTime is not None:
18674
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
18675
      oprot.writeI64(self.startDateTime)
18676
      oprot.writeFieldEnd()
18677
    oprot.writeFieldStop()
18678
    oprot.writeStructEnd()
18679
 
18680
  def validate(self):
18681
    return
18682
 
18683
 
18684
  def __repr__(self):
18685
    L = ['%s=%r' % (key, value)
18686
      for key, value in self.__dict__.iteritems()]
18687
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18688
 
18689
  def __eq__(self, other):
18690
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18691
 
18692
  def __ne__(self, other):
18693
    return not (self == other)
18694
 
18695
class getProductNotifications_result:
18696
  """
18697
  Attributes:
18698
   - success
18699
  """
18700
 
18701
  thrift_spec = (
18702
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequest, ProductNotificationRequest.thrift_spec)), None, ), # 0
18703
  )
18704
 
18705
  def __init__(self, success=None,):
18706
    self.success = success
18707
 
18708
  def read(self, iprot):
18709
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18710
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18711
      return
18712
    iprot.readStructBegin()
18713
    while True:
18714
      (fname, ftype, fid) = iprot.readFieldBegin()
18715
      if ftype == TType.STOP:
18716
        break
18717
      if fid == 0:
18718
        if ftype == TType.LIST:
18719
          self.success = []
9155 kshitij.so 18720
          (_etype349, _size346) = iprot.readListBegin()
18721
          for _i350 in xrange(_size346):
18722
            _elem351 = ProductNotificationRequest()
18723
            _elem351.read(iprot)
18724
            self.success.append(_elem351)
5944 mandeep.dh 18725
          iprot.readListEnd()
18726
        else:
18727
          iprot.skip(ftype)
18728
      else:
18729
        iprot.skip(ftype)
18730
      iprot.readFieldEnd()
18731
    iprot.readStructEnd()
18732
 
18733
  def write(self, oprot):
18734
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18735
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18736
      return
18737
    oprot.writeStructBegin('getProductNotifications_result')
18738
    if self.success is not None:
18739
      oprot.writeFieldBegin('success', TType.LIST, 0)
18740
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 18741
      for iter352 in self.success:
18742
        iter352.write(oprot)
5944 mandeep.dh 18743
      oprot.writeListEnd()
18744
      oprot.writeFieldEnd()
18745
    oprot.writeFieldStop()
18746
    oprot.writeStructEnd()
18747
 
18748
  def validate(self):
18749
    return
18750
 
18751
 
18752
  def __repr__(self):
18753
    L = ['%s=%r' % (key, value)
18754
      for key, value in self.__dict__.iteritems()]
18755
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18756
 
18757
  def __eq__(self, other):
18758
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18759
 
18760
  def __ne__(self, other):
18761
    return not (self == other)
18762
 
18763
class getProductNotificationRequestCount_args:
18764
  """
18765
  Attributes:
18766
   - startDateTime
7897 amar.kumar 18767
   - categoryId
5944 mandeep.dh 18768
  """
18769
 
18770
  thrift_spec = (
18771
    None, # 0
18772
    (1, TType.I64, 'startDateTime', None, None, ), # 1
7897 amar.kumar 18773
    (2, TType.I64, 'categoryId', None, None, ), # 2
5944 mandeep.dh 18774
  )
18775
 
7897 amar.kumar 18776
  def __init__(self, startDateTime=None, categoryId=None,):
5944 mandeep.dh 18777
    self.startDateTime = startDateTime
7897 amar.kumar 18778
    self.categoryId = categoryId
5944 mandeep.dh 18779
 
18780
  def read(self, iprot):
18781
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18782
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18783
      return
18784
    iprot.readStructBegin()
18785
    while True:
18786
      (fname, ftype, fid) = iprot.readFieldBegin()
18787
      if ftype == TType.STOP:
18788
        break
18789
      if fid == 1:
18790
        if ftype == TType.I64:
18791
          self.startDateTime = iprot.readI64();
18792
        else:
18793
          iprot.skip(ftype)
7897 amar.kumar 18794
      elif fid == 2:
18795
        if ftype == TType.I64:
18796
          self.categoryId = iprot.readI64();
18797
        else:
18798
          iprot.skip(ftype)
5944 mandeep.dh 18799
      else:
18800
        iprot.skip(ftype)
18801
      iprot.readFieldEnd()
18802
    iprot.readStructEnd()
18803
 
18804
  def write(self, oprot):
18805
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18806
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18807
      return
18808
    oprot.writeStructBegin('getProductNotificationRequestCount_args')
18809
    if self.startDateTime is not None:
18810
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
18811
      oprot.writeI64(self.startDateTime)
18812
      oprot.writeFieldEnd()
7897 amar.kumar 18813
    if self.categoryId is not None:
18814
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
18815
      oprot.writeI64(self.categoryId)
18816
      oprot.writeFieldEnd()
5944 mandeep.dh 18817
    oprot.writeFieldStop()
18818
    oprot.writeStructEnd()
18819
 
18820
  def validate(self):
18821
    return
18822
 
18823
 
18824
  def __repr__(self):
18825
    L = ['%s=%r' % (key, value)
18826
      for key, value in self.__dict__.iteritems()]
18827
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18828
 
18829
  def __eq__(self, other):
18830
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18831
 
18832
  def __ne__(self, other):
18833
    return not (self == other)
18834
 
18835
class getProductNotificationRequestCount_result:
18836
  """
18837
  Attributes:
18838
   - success
18839
  """
18840
 
18841
  thrift_spec = (
18842
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequestCount, ProductNotificationRequestCount.thrift_spec)), None, ), # 0
18843
  )
18844
 
18845
  def __init__(self, success=None,):
18846
    self.success = success
18847
 
18848
  def read(self, iprot):
18849
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18850
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18851
      return
18852
    iprot.readStructBegin()
18853
    while True:
18854
      (fname, ftype, fid) = iprot.readFieldBegin()
18855
      if ftype == TType.STOP:
18856
        break
18857
      if fid == 0:
18858
        if ftype == TType.LIST:
18859
          self.success = []
9155 kshitij.so 18860
          (_etype356, _size353) = iprot.readListBegin()
18861
          for _i357 in xrange(_size353):
18862
            _elem358 = ProductNotificationRequestCount()
18863
            _elem358.read(iprot)
18864
            self.success.append(_elem358)
5944 mandeep.dh 18865
          iprot.readListEnd()
18866
        else:
18867
          iprot.skip(ftype)
18868
      else:
18869
        iprot.skip(ftype)
18870
      iprot.readFieldEnd()
18871
    iprot.readStructEnd()
18872
 
18873
  def write(self, oprot):
18874
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18875
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18876
      return
18877
    oprot.writeStructBegin('getProductNotificationRequestCount_result')
18878
    if self.success is not None:
18879
      oprot.writeFieldBegin('success', TType.LIST, 0)
18880
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 18881
      for iter359 in self.success:
18882
        iter359.write(oprot)
5944 mandeep.dh 18883
      oprot.writeListEnd()
18884
      oprot.writeFieldEnd()
18885
    oprot.writeFieldStop()
18886
    oprot.writeStructEnd()
18887
 
18888
  def validate(self):
18889
    return
18890
 
18891
 
18892
  def __repr__(self):
18893
    L = ['%s=%r' % (key, value)
18894
      for key, value in self.__dict__.iteritems()]
18895
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18896
 
18897
  def __eq__(self, other):
18898
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18899
 
18900
  def __ne__(self, other):
18901
    return not (self == other)
18902
 
18903
class addAuthorizationLog_args:
18904
  """
18905
  Attributes:
18906
   - itemId
18907
   - username
18908
   - reason
18909
  """
18910
 
18911
  thrift_spec = (
18912
    None, # 0
18913
    (1, TType.I64, 'itemId', None, None, ), # 1
18914
    (2, TType.STRING, 'username', None, None, ), # 2
18915
    (3, TType.STRING, 'reason', None, None, ), # 3
18916
  )
18917
 
18918
  def __init__(self, itemId=None, username=None, reason=None,):
18919
    self.itemId = itemId
18920
    self.username = username
18921
    self.reason = reason
18922
 
18923
  def read(self, iprot):
18924
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18925
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18926
      return
18927
    iprot.readStructBegin()
18928
    while True:
18929
      (fname, ftype, fid) = iprot.readFieldBegin()
18930
      if ftype == TType.STOP:
18931
        break
18932
      if fid == 1:
18933
        if ftype == TType.I64:
18934
          self.itemId = iprot.readI64();
18935
        else:
18936
          iprot.skip(ftype)
18937
      elif fid == 2:
18938
        if ftype == TType.STRING:
18939
          self.username = iprot.readString();
18940
        else:
18941
          iprot.skip(ftype)
18942
      elif fid == 3:
18943
        if ftype == TType.STRING:
18944
          self.reason = iprot.readString();
18945
        else:
18946
          iprot.skip(ftype)
18947
      else:
18948
        iprot.skip(ftype)
18949
      iprot.readFieldEnd()
18950
    iprot.readStructEnd()
18951
 
18952
  def write(self, oprot):
18953
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18954
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18955
      return
18956
    oprot.writeStructBegin('addAuthorizationLog_args')
18957
    if self.itemId is not None:
18958
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18959
      oprot.writeI64(self.itemId)
18960
      oprot.writeFieldEnd()
18961
    if self.username is not None:
18962
      oprot.writeFieldBegin('username', TType.STRING, 2)
18963
      oprot.writeString(self.username)
18964
      oprot.writeFieldEnd()
18965
    if self.reason is not None:
18966
      oprot.writeFieldBegin('reason', TType.STRING, 3)
18967
      oprot.writeString(self.reason)
18968
      oprot.writeFieldEnd()
18969
    oprot.writeFieldStop()
18970
    oprot.writeStructEnd()
18971
 
18972
  def validate(self):
18973
    return
18974
 
18975
 
18976
  def __repr__(self):
18977
    L = ['%s=%r' % (key, value)
18978
      for key, value in self.__dict__.iteritems()]
18979
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18980
 
18981
  def __eq__(self, other):
18982
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18983
 
18984
  def __ne__(self, other):
18985
    return not (self == other)
18986
 
18987
class addAuthorizationLog_result:
18988
  """
18989
  Attributes:
18990
   - success
18991
   - cex
18992
  """
18993
 
18994
  thrift_spec = (
18995
    (0, TType.BOOL, 'success', None, None, ), # 0
18996
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18997
  )
18998
 
18999
  def __init__(self, success=None, cex=None,):
19000
    self.success = success
19001
    self.cex = cex
19002
 
19003
  def read(self, iprot):
19004
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19005
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19006
      return
19007
    iprot.readStructBegin()
19008
    while True:
19009
      (fname, ftype, fid) = iprot.readFieldBegin()
19010
      if ftype == TType.STOP:
19011
        break
19012
      if fid == 0:
19013
        if ftype == TType.BOOL:
19014
          self.success = iprot.readBool();
19015
        else:
19016
          iprot.skip(ftype)
19017
      elif fid == 1:
19018
        if ftype == TType.STRUCT:
19019
          self.cex = CatalogServiceException()
19020
          self.cex.read(iprot)
19021
        else:
19022
          iprot.skip(ftype)
19023
      else:
19024
        iprot.skip(ftype)
19025
      iprot.readFieldEnd()
19026
    iprot.readStructEnd()
19027
 
19028
  def write(self, oprot):
19029
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19030
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19031
      return
19032
    oprot.writeStructBegin('addAuthorizationLog_result')
19033
    if self.success is not None:
19034
      oprot.writeFieldBegin('success', TType.BOOL, 0)
19035
      oprot.writeBool(self.success)
19036
      oprot.writeFieldEnd()
19037
    if self.cex is not None:
19038
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19039
      self.cex.write(oprot)
19040
      oprot.writeFieldEnd()
19041
    oprot.writeFieldStop()
19042
    oprot.writeStructEnd()
19043
 
19044
  def validate(self):
19045
    return
19046
 
19047
 
19048
  def __repr__(self):
19049
    L = ['%s=%r' % (key, value)
19050
      for key, value in self.__dict__.iteritems()]
19051
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19052
 
19053
  def __eq__(self, other):
19054
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19055
 
19056
  def __ne__(self, other):
19057
    return not (self == other)
19058
 
19059
class addupdateVoucherForItem_args:
19060
  """
19061
  Attributes:
19062
   - catalog_item_id
19063
   - voucherType
19064
   - voucherAmount
19065
  """
19066
 
19067
  thrift_spec = (
19068
    None, # 0
19069
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
19070
    (2, TType.I64, 'voucherType', None, None, ), # 2
19071
    (3, TType.I64, 'voucherAmount', None, None, ), # 3
19072
  )
19073
 
19074
  def __init__(self, catalog_item_id=None, voucherType=None, voucherAmount=None,):
19075
    self.catalog_item_id = catalog_item_id
19076
    self.voucherType = voucherType
19077
    self.voucherAmount = voucherAmount
19078
 
19079
  def read(self, iprot):
19080
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19081
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19082
      return
19083
    iprot.readStructBegin()
19084
    while True:
19085
      (fname, ftype, fid) = iprot.readFieldBegin()
19086
      if ftype == TType.STOP:
19087
        break
19088
      if fid == 1:
19089
        if ftype == TType.I64:
19090
          self.catalog_item_id = iprot.readI64();
19091
        else:
19092
          iprot.skip(ftype)
19093
      elif fid == 2:
19094
        if ftype == TType.I64:
19095
          self.voucherType = iprot.readI64();
19096
        else:
19097
          iprot.skip(ftype)
19098
      elif fid == 3:
19099
        if ftype == TType.I64:
19100
          self.voucherAmount = iprot.readI64();
19101
        else:
19102
          iprot.skip(ftype)
19103
      else:
19104
        iprot.skip(ftype)
19105
      iprot.readFieldEnd()
19106
    iprot.readStructEnd()
19107
 
19108
  def write(self, oprot):
19109
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19110
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19111
      return
19112
    oprot.writeStructBegin('addupdateVoucherForItem_args')
19113
    if self.catalog_item_id is not None:
19114
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
19115
      oprot.writeI64(self.catalog_item_id)
19116
      oprot.writeFieldEnd()
19117
    if self.voucherType is not None:
19118
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
19119
      oprot.writeI64(self.voucherType)
19120
      oprot.writeFieldEnd()
19121
    if self.voucherAmount is not None:
19122
      oprot.writeFieldBegin('voucherAmount', TType.I64, 3)
19123
      oprot.writeI64(self.voucherAmount)
19124
      oprot.writeFieldEnd()
19125
    oprot.writeFieldStop()
19126
    oprot.writeStructEnd()
19127
 
19128
  def validate(self):
19129
    return
19130
 
19131
 
19132
  def __repr__(self):
19133
    L = ['%s=%r' % (key, value)
19134
      for key, value in self.__dict__.iteritems()]
19135
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19136
 
19137
  def __eq__(self, other):
19138
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19139
 
19140
  def __ne__(self, other):
19141
    return not (self == other)
19142
 
19143
class addupdateVoucherForItem_result:
19144
  """
19145
  Attributes:
19146
   - success
19147
   - cex
19148
  """
19149
 
19150
  thrift_spec = (
19151
    (0, TType.BOOL, 'success', None, None, ), # 0
19152
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19153
  )
19154
 
19155
  def __init__(self, success=None, cex=None,):
19156
    self.success = success
19157
    self.cex = cex
19158
 
19159
  def read(self, iprot):
19160
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19161
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19162
      return
19163
    iprot.readStructBegin()
19164
    while True:
19165
      (fname, ftype, fid) = iprot.readFieldBegin()
19166
      if ftype == TType.STOP:
19167
        break
19168
      if fid == 0:
19169
        if ftype == TType.BOOL:
19170
          self.success = iprot.readBool();
19171
        else:
19172
          iprot.skip(ftype)
19173
      elif fid == 1:
19174
        if ftype == TType.STRUCT:
19175
          self.cex = CatalogServiceException()
19176
          self.cex.read(iprot)
19177
        else:
19178
          iprot.skip(ftype)
19179
      else:
19180
        iprot.skip(ftype)
19181
      iprot.readFieldEnd()
19182
    iprot.readStructEnd()
19183
 
19184
  def write(self, oprot):
19185
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19186
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19187
      return
19188
    oprot.writeStructBegin('addupdateVoucherForItem_result')
19189
    if self.success is not None:
19190
      oprot.writeFieldBegin('success', TType.BOOL, 0)
19191
      oprot.writeBool(self.success)
19192
      oprot.writeFieldEnd()
19193
    if self.cex is not None:
19194
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19195
      self.cex.write(oprot)
19196
      oprot.writeFieldEnd()
19197
    oprot.writeFieldStop()
19198
    oprot.writeStructEnd()
19199
 
19200
  def validate(self):
19201
    return
19202
 
19203
 
19204
  def __repr__(self):
19205
    L = ['%s=%r' % (key, value)
19206
      for key, value in self.__dict__.iteritems()]
19207
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19208
 
19209
  def __eq__(self, other):
19210
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19211
 
19212
  def __ne__(self, other):
19213
    return not (self == other)
19214
 
19215
class deleteVoucherForItem_args:
19216
  """
19217
  Attributes:
19218
   - catalog_item_id
19219
   - voucherType
19220
  """
19221
 
19222
  thrift_spec = (
19223
    None, # 0
19224
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
19225
    (2, TType.I64, 'voucherType', None, None, ), # 2
19226
  )
19227
 
19228
  def __init__(self, catalog_item_id=None, voucherType=None,):
19229
    self.catalog_item_id = catalog_item_id
19230
    self.voucherType = voucherType
19231
 
19232
  def read(self, iprot):
19233
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19234
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19235
      return
19236
    iprot.readStructBegin()
19237
    while True:
19238
      (fname, ftype, fid) = iprot.readFieldBegin()
19239
      if ftype == TType.STOP:
19240
        break
19241
      if fid == 1:
19242
        if ftype == TType.I64:
19243
          self.catalog_item_id = iprot.readI64();
19244
        else:
19245
          iprot.skip(ftype)
19246
      elif fid == 2:
19247
        if ftype == TType.I64:
19248
          self.voucherType = iprot.readI64();
19249
        else:
19250
          iprot.skip(ftype)
19251
      else:
19252
        iprot.skip(ftype)
19253
      iprot.readFieldEnd()
19254
    iprot.readStructEnd()
19255
 
19256
  def write(self, oprot):
19257
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19258
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19259
      return
19260
    oprot.writeStructBegin('deleteVoucherForItem_args')
19261
    if self.catalog_item_id is not None:
19262
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
19263
      oprot.writeI64(self.catalog_item_id)
19264
      oprot.writeFieldEnd()
19265
    if self.voucherType is not None:
19266
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
19267
      oprot.writeI64(self.voucherType)
19268
      oprot.writeFieldEnd()
19269
    oprot.writeFieldStop()
19270
    oprot.writeStructEnd()
19271
 
19272
  def validate(self):
19273
    return
19274
 
19275
 
19276
  def __repr__(self):
19277
    L = ['%s=%r' % (key, value)
19278
      for key, value in self.__dict__.iteritems()]
19279
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19280
 
19281
  def __eq__(self, other):
19282
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19283
 
19284
  def __ne__(self, other):
19285
    return not (self == other)
19286
 
19287
class deleteVoucherForItem_result:
19288
  """
19289
  Attributes:
19290
   - success
19291
   - cex
19292
  """
19293
 
19294
  thrift_spec = (
19295
    (0, TType.BOOL, 'success', None, None, ), # 0
19296
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19297
  )
19298
 
19299
  def __init__(self, success=None, cex=None,):
19300
    self.success = success
19301
    self.cex = cex
19302
 
19303
  def read(self, iprot):
19304
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19305
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19306
      return
19307
    iprot.readStructBegin()
19308
    while True:
19309
      (fname, ftype, fid) = iprot.readFieldBegin()
19310
      if ftype == TType.STOP:
19311
        break
19312
      if fid == 0:
19313
        if ftype == TType.BOOL:
19314
          self.success = iprot.readBool();
19315
        else:
19316
          iprot.skip(ftype)
19317
      elif fid == 1:
19318
        if ftype == TType.STRUCT:
19319
          self.cex = CatalogServiceException()
19320
          self.cex.read(iprot)
19321
        else:
19322
          iprot.skip(ftype)
19323
      else:
19324
        iprot.skip(ftype)
19325
      iprot.readFieldEnd()
19326
    iprot.readStructEnd()
19327
 
19328
  def write(self, oprot):
19329
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19330
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19331
      return
19332
    oprot.writeStructBegin('deleteVoucherForItem_result')
19333
    if self.success is not None:
19334
      oprot.writeFieldBegin('success', TType.BOOL, 0)
19335
      oprot.writeBool(self.success)
19336
      oprot.writeFieldEnd()
19337
    if self.cex is not None:
19338
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19339
      self.cex.write(oprot)
19340
      oprot.writeFieldEnd()
19341
    oprot.writeFieldStop()
19342
    oprot.writeStructEnd()
19343
 
19344
  def validate(self):
19345
    return
19346
 
19347
 
19348
  def __repr__(self):
19349
    L = ['%s=%r' % (key, value)
19350
      for key, value in self.__dict__.iteritems()]
19351
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19352
 
19353
  def __eq__(self, other):
19354
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19355
 
19356
  def __ne__(self, other):
19357
    return not (self == other)
19358
 
19359
class getVoucherAmount_args:
19360
  """
19361
  Attributes:
19362
   - itemId
19363
   - voucherType
19364
  """
19365
 
19366
  thrift_spec = (
19367
    None, # 0
19368
    (1, TType.I64, 'itemId', None, None, ), # 1
19369
    (2, TType.I64, 'voucherType', None, None, ), # 2
19370
  )
19371
 
19372
  def __init__(self, itemId=None, voucherType=None,):
19373
    self.itemId = itemId
19374
    self.voucherType = voucherType
19375
 
19376
  def read(self, iprot):
19377
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19378
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19379
      return
19380
    iprot.readStructBegin()
19381
    while True:
19382
      (fname, ftype, fid) = iprot.readFieldBegin()
19383
      if ftype == TType.STOP:
19384
        break
19385
      if fid == 1:
19386
        if ftype == TType.I64:
19387
          self.itemId = iprot.readI64();
19388
        else:
19389
          iprot.skip(ftype)
19390
      elif fid == 2:
19391
        if ftype == TType.I64:
19392
          self.voucherType = iprot.readI64();
19393
        else:
19394
          iprot.skip(ftype)
19395
      else:
19396
        iprot.skip(ftype)
19397
      iprot.readFieldEnd()
19398
    iprot.readStructEnd()
19399
 
19400
  def write(self, oprot):
19401
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19402
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19403
      return
19404
    oprot.writeStructBegin('getVoucherAmount_args')
19405
    if self.itemId is not None:
19406
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19407
      oprot.writeI64(self.itemId)
19408
      oprot.writeFieldEnd()
19409
    if self.voucherType is not None:
19410
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
19411
      oprot.writeI64(self.voucherType)
19412
      oprot.writeFieldEnd()
19413
    oprot.writeFieldStop()
19414
    oprot.writeStructEnd()
19415
 
19416
  def validate(self):
19417
    return
19418
 
19419
 
19420
  def __repr__(self):
19421
    L = ['%s=%r' % (key, value)
19422
      for key, value in self.__dict__.iteritems()]
19423
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19424
 
19425
  def __eq__(self, other):
19426
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19427
 
19428
  def __ne__(self, other):
19429
    return not (self == other)
19430
 
19431
class getVoucherAmount_result:
19432
  """
19433
  Attributes:
19434
   - success
19435
  """
19436
 
19437
  thrift_spec = (
19438
    (0, TType.I64, 'success', None, None, ), # 0
19439
  )
19440
 
19441
  def __init__(self, success=None,):
19442
    self.success = success
19443
 
19444
  def read(self, iprot):
19445
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19446
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19447
      return
19448
    iprot.readStructBegin()
19449
    while True:
19450
      (fname, ftype, fid) = iprot.readFieldBegin()
19451
      if ftype == TType.STOP:
19452
        break
19453
      if fid == 0:
19454
        if ftype == TType.I64:
19455
          self.success = iprot.readI64();
19456
        else:
19457
          iprot.skip(ftype)
19458
      else:
19459
        iprot.skip(ftype)
19460
      iprot.readFieldEnd()
19461
    iprot.readStructEnd()
19462
 
19463
  def write(self, oprot):
19464
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19465
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19466
      return
19467
    oprot.writeStructBegin('getVoucherAmount_result')
19468
    if self.success is not None:
19469
      oprot.writeFieldBegin('success', TType.I64, 0)
19470
      oprot.writeI64(self.success)
19471
      oprot.writeFieldEnd()
19472
    oprot.writeFieldStop()
19473
    oprot.writeStructEnd()
19474
 
19475
  def validate(self):
19476
    return
19477
 
19478
 
19479
  def __repr__(self):
19480
    L = ['%s=%r' % (key, value)
19481
      for key, value in self.__dict__.iteritems()]
19482
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19483
 
19484
  def __eq__(self, other):
19485
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19486
 
19487
  def __ne__(self, other):
19488
    return not (self == other)
19489
 
19490
class getAllItemVouchers_args:
19491
  """
19492
  Attributes:
19493
   - itemId
19494
  """
19495
 
19496
  thrift_spec = (
19497
    None, # 0
19498
    (1, TType.I64, 'itemId', None, None, ), # 1
19499
  )
19500
 
19501
  def __init__(self, itemId=None,):
19502
    self.itemId = itemId
19503
 
19504
  def read(self, iprot):
19505
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19506
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19507
      return
19508
    iprot.readStructBegin()
19509
    while True:
19510
      (fname, ftype, fid) = iprot.readFieldBegin()
19511
      if ftype == TType.STOP:
19512
        break
19513
      if fid == 1:
19514
        if ftype == TType.I64:
19515
          self.itemId = iprot.readI64();
19516
        else:
19517
          iprot.skip(ftype)
19518
      else:
19519
        iprot.skip(ftype)
19520
      iprot.readFieldEnd()
19521
    iprot.readStructEnd()
19522
 
19523
  def write(self, oprot):
19524
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19525
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19526
      return
19527
    oprot.writeStructBegin('getAllItemVouchers_args')
19528
    if self.itemId is not None:
19529
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19530
      oprot.writeI64(self.itemId)
19531
      oprot.writeFieldEnd()
19532
    oprot.writeFieldStop()
19533
    oprot.writeStructEnd()
19534
 
19535
  def validate(self):
19536
    return
19537
 
19538
 
19539
  def __repr__(self):
19540
    L = ['%s=%r' % (key, value)
19541
      for key, value in self.__dict__.iteritems()]
19542
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19543
 
19544
  def __eq__(self, other):
19545
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19546
 
19547
  def __ne__(self, other):
19548
    return not (self == other)
19549
 
19550
class getAllItemVouchers_result:
19551
  """
19552
  Attributes:
19553
   - success
19554
  """
19555
 
19556
  thrift_spec = (
19557
    (0, TType.LIST, 'success', (TType.STRUCT,(VoucherItemMapping, VoucherItemMapping.thrift_spec)), None, ), # 0
19558
  )
19559
 
19560
  def __init__(self, success=None,):
19561
    self.success = success
19562
 
19563
  def read(self, iprot):
19564
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19565
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19566
      return
19567
    iprot.readStructBegin()
19568
    while True:
19569
      (fname, ftype, fid) = iprot.readFieldBegin()
19570
      if ftype == TType.STOP:
19571
        break
19572
      if fid == 0:
19573
        if ftype == TType.LIST:
19574
          self.success = []
9155 kshitij.so 19575
          (_etype363, _size360) = iprot.readListBegin()
19576
          for _i364 in xrange(_size360):
19577
            _elem365 = VoucherItemMapping()
19578
            _elem365.read(iprot)
19579
            self.success.append(_elem365)
5944 mandeep.dh 19580
          iprot.readListEnd()
19581
        else:
19582
          iprot.skip(ftype)
19583
      else:
19584
        iprot.skip(ftype)
19585
      iprot.readFieldEnd()
19586
    iprot.readStructEnd()
19587
 
19588
  def write(self, oprot):
19589
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19590
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19591
      return
19592
    oprot.writeStructBegin('getAllItemVouchers_result')
19593
    if self.success is not None:
19594
      oprot.writeFieldBegin('success', TType.LIST, 0)
19595
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 19596
      for iter366 in self.success:
19597
        iter366.write(oprot)
5944 mandeep.dh 19598
      oprot.writeListEnd()
19599
      oprot.writeFieldEnd()
19600
    oprot.writeFieldStop()
19601
    oprot.writeStructEnd()
19602
 
19603
  def validate(self):
19604
    return
19605
 
19606
 
19607
  def __repr__(self):
19608
    L = ['%s=%r' % (key, value)
19609
      for key, value in self.__dict__.iteritems()]
19610
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19611
 
19612
  def __eq__(self, other):
19613
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19614
 
19615
  def __ne__(self, other):
19616
    return not (self == other)
19617
 
19618
class isValidCatalogItemId_args:
19619
  """
19620
  Attributes:
19621
   - catalog_item_id
19622
  """
19623
 
19624
  thrift_spec = (
19625
    None, # 0
19626
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
19627
  )
19628
 
19629
  def __init__(self, catalog_item_id=None,):
19630
    self.catalog_item_id = catalog_item_id
19631
 
19632
  def read(self, iprot):
19633
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19634
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19635
      return
19636
    iprot.readStructBegin()
19637
    while True:
19638
      (fname, ftype, fid) = iprot.readFieldBegin()
19639
      if ftype == TType.STOP:
19640
        break
19641
      if fid == 1:
19642
        if ftype == TType.I64:
19643
          self.catalog_item_id = iprot.readI64();
19644
        else:
19645
          iprot.skip(ftype)
19646
      else:
19647
        iprot.skip(ftype)
19648
      iprot.readFieldEnd()
19649
    iprot.readStructEnd()
19650
 
19651
  def write(self, oprot):
19652
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19653
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19654
      return
19655
    oprot.writeStructBegin('isValidCatalogItemId_args')
19656
    if self.catalog_item_id is not None:
19657
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
19658
      oprot.writeI64(self.catalog_item_id)
19659
      oprot.writeFieldEnd()
19660
    oprot.writeFieldStop()
19661
    oprot.writeStructEnd()
19662
 
19663
  def validate(self):
19664
    return
19665
 
19666
 
19667
  def __repr__(self):
19668
    L = ['%s=%r' % (key, value)
19669
      for key, value in self.__dict__.iteritems()]
19670
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19671
 
19672
  def __eq__(self, other):
19673
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19674
 
19675
  def __ne__(self, other):
19676
    return not (self == other)
19677
 
19678
class isValidCatalogItemId_result:
19679
  """
19680
  Attributes:
19681
   - success
19682
  """
19683
 
19684
  thrift_spec = (
19685
    (0, TType.BOOL, 'success', None, None, ), # 0
19686
  )
19687
 
19688
  def __init__(self, success=None,):
19689
    self.success = success
19690
 
19691
  def read(self, iprot):
19692
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19693
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19694
      return
19695
    iprot.readStructBegin()
19696
    while True:
19697
      (fname, ftype, fid) = iprot.readFieldBegin()
19698
      if ftype == TType.STOP:
19699
        break
19700
      if fid == 0:
19701
        if ftype == TType.BOOL:
19702
          self.success = iprot.readBool();
19703
        else:
19704
          iprot.skip(ftype)
19705
      else:
19706
        iprot.skip(ftype)
19707
      iprot.readFieldEnd()
19708
    iprot.readStructEnd()
19709
 
19710
  def write(self, oprot):
19711
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19712
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19713
      return
19714
    oprot.writeStructBegin('isValidCatalogItemId_result')
19715
    if self.success is not None:
19716
      oprot.writeFieldBegin('success', TType.BOOL, 0)
19717
      oprot.writeBool(self.success)
19718
      oprot.writeFieldEnd()
19719
    oprot.writeFieldStop()
19720
    oprot.writeStructEnd()
19721
 
19722
  def validate(self):
19723
    return
19724
 
19725
 
19726
  def __repr__(self):
19727
    L = ['%s=%r' % (key, value)
19728
      for key, value in self.__dict__.iteritems()]
19729
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19730
 
19731
  def __eq__(self, other):
19732
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19733
 
19734
  def __ne__(self, other):
19735
    return not (self == other)
6039 amit.gupta 19736
 
19737
class getVatPercentageForItem_args:
19738
  """
19739
  Attributes:
19740
   - itemId
7330 amit.gupta 19741
   - stateId
6039 amit.gupta 19742
   - price
19743
  """
19744
 
19745
  thrift_spec = (
19746
    None, # 0
19747
    (1, TType.I64, 'itemId', None, None, ), # 1
7330 amit.gupta 19748
    (2, TType.I64, 'stateId', None, None, ), # 2
19749
    (3, TType.DOUBLE, 'price', None, None, ), # 3
6039 amit.gupta 19750
  )
19751
 
7330 amit.gupta 19752
  def __init__(self, itemId=None, stateId=None, price=None,):
6039 amit.gupta 19753
    self.itemId = itemId
7330 amit.gupta 19754
    self.stateId = stateId
6039 amit.gupta 19755
    self.price = price
19756
 
19757
  def read(self, iprot):
19758
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19759
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19760
      return
19761
    iprot.readStructBegin()
19762
    while True:
19763
      (fname, ftype, fid) = iprot.readFieldBegin()
19764
      if ftype == TType.STOP:
19765
        break
19766
      if fid == 1:
19767
        if ftype == TType.I64:
19768
          self.itemId = iprot.readI64();
19769
        else:
19770
          iprot.skip(ftype)
19771
      elif fid == 2:
7330 amit.gupta 19772
        if ftype == TType.I64:
19773
          self.stateId = iprot.readI64();
19774
        else:
19775
          iprot.skip(ftype)
19776
      elif fid == 3:
6039 amit.gupta 19777
        if ftype == TType.DOUBLE:
19778
          self.price = iprot.readDouble();
19779
        else:
19780
          iprot.skip(ftype)
19781
      else:
19782
        iprot.skip(ftype)
19783
      iprot.readFieldEnd()
19784
    iprot.readStructEnd()
19785
 
19786
  def write(self, oprot):
19787
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19788
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19789
      return
19790
    oprot.writeStructBegin('getVatPercentageForItem_args')
19791
    if self.itemId is not None:
19792
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19793
      oprot.writeI64(self.itemId)
19794
      oprot.writeFieldEnd()
7330 amit.gupta 19795
    if self.stateId is not None:
19796
      oprot.writeFieldBegin('stateId', TType.I64, 2)
19797
      oprot.writeI64(self.stateId)
19798
      oprot.writeFieldEnd()
6039 amit.gupta 19799
    if self.price is not None:
7330 amit.gupta 19800
      oprot.writeFieldBegin('price', TType.DOUBLE, 3)
6039 amit.gupta 19801
      oprot.writeDouble(self.price)
19802
      oprot.writeFieldEnd()
19803
    oprot.writeFieldStop()
19804
    oprot.writeStructEnd()
19805
 
19806
  def validate(self):
19807
    return
19808
 
19809
 
19810
  def __repr__(self):
19811
    L = ['%s=%r' % (key, value)
19812
      for key, value in self.__dict__.iteritems()]
19813
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19814
 
19815
  def __eq__(self, other):
19816
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19817
 
19818
  def __ne__(self, other):
19819
    return not (self == other)
19820
 
19821
class getVatPercentageForItem_result:
19822
  """
19823
  Attributes:
19824
   - success
7340 amit.gupta 19825
   - cex
6039 amit.gupta 19826
  """
19827
 
19828
  thrift_spec = (
19829
    (0, TType.DOUBLE, 'success', None, None, ), # 0
7340 amit.gupta 19830
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
6039 amit.gupta 19831
  )
19832
 
7340 amit.gupta 19833
  def __init__(self, success=None, cex=None,):
6039 amit.gupta 19834
    self.success = success
7340 amit.gupta 19835
    self.cex = cex
6039 amit.gupta 19836
 
19837
  def read(self, iprot):
19838
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19839
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19840
      return
19841
    iprot.readStructBegin()
19842
    while True:
19843
      (fname, ftype, fid) = iprot.readFieldBegin()
19844
      if ftype == TType.STOP:
19845
        break
19846
      if fid == 0:
19847
        if ftype == TType.DOUBLE:
19848
          self.success = iprot.readDouble();
19849
        else:
19850
          iprot.skip(ftype)
7340 amit.gupta 19851
      elif fid == 1:
19852
        if ftype == TType.STRUCT:
19853
          self.cex = CatalogServiceException()
19854
          self.cex.read(iprot)
19855
        else:
19856
          iprot.skip(ftype)
6039 amit.gupta 19857
      else:
19858
        iprot.skip(ftype)
19859
      iprot.readFieldEnd()
19860
    iprot.readStructEnd()
19861
 
19862
  def write(self, oprot):
19863
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19864
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19865
      return
19866
    oprot.writeStructBegin('getVatPercentageForItem_result')
19867
    if self.success is not None:
19868
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
19869
      oprot.writeDouble(self.success)
19870
      oprot.writeFieldEnd()
7340 amit.gupta 19871
    if self.cex is not None:
19872
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19873
      self.cex.write(oprot)
19874
      oprot.writeFieldEnd()
6039 amit.gupta 19875
    oprot.writeFieldStop()
19876
    oprot.writeStructEnd()
19877
 
19878
  def validate(self):
19879
    return
19880
 
19881
 
19882
  def __repr__(self):
19883
    L = ['%s=%r' % (key, value)
19884
      for key, value in self.__dict__.iteritems()]
19885
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19886
 
19887
  def __eq__(self, other):
19888
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19889
 
19890
  def __ne__(self, other):
19891
    return not (self == other)
19892
 
19893
class getVatAmountForItem_args:
19894
  """
19895
  Attributes:
19896
   - itemId
19897
   - price
19898
  """
19899
 
19900
  thrift_spec = (
19901
    None, # 0
19902
    (1, TType.I64, 'itemId', None, None, ), # 1
19903
    (2, TType.DOUBLE, 'price', None, None, ), # 2
19904
  )
19905
 
19906
  def __init__(self, itemId=None, price=None,):
19907
    self.itemId = itemId
19908
    self.price = price
19909
 
19910
  def read(self, iprot):
19911
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19912
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19913
      return
19914
    iprot.readStructBegin()
19915
    while True:
19916
      (fname, ftype, fid) = iprot.readFieldBegin()
19917
      if ftype == TType.STOP:
19918
        break
19919
      if fid == 1:
19920
        if ftype == TType.I64:
19921
          self.itemId = iprot.readI64();
19922
        else:
19923
          iprot.skip(ftype)
19924
      elif fid == 2:
19925
        if ftype == TType.DOUBLE:
19926
          self.price = iprot.readDouble();
19927
        else:
19928
          iprot.skip(ftype)
19929
      else:
19930
        iprot.skip(ftype)
19931
      iprot.readFieldEnd()
19932
    iprot.readStructEnd()
19933
 
19934
  def write(self, oprot):
19935
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19936
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19937
      return
19938
    oprot.writeStructBegin('getVatAmountForItem_args')
19939
    if self.itemId is not None:
19940
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19941
      oprot.writeI64(self.itemId)
19942
      oprot.writeFieldEnd()
19943
    if self.price is not None:
19944
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
19945
      oprot.writeDouble(self.price)
19946
      oprot.writeFieldEnd()
19947
    oprot.writeFieldStop()
19948
    oprot.writeStructEnd()
19949
 
19950
  def validate(self):
19951
    return
19952
 
19953
 
19954
  def __repr__(self):
19955
    L = ['%s=%r' % (key, value)
19956
      for key, value in self.__dict__.iteritems()]
19957
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19958
 
19959
  def __eq__(self, other):
19960
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19961
 
19962
  def __ne__(self, other):
19963
    return not (self == other)
19964
 
19965
class getVatAmountForItem_result:
19966
  """
19967
  Attributes:
19968
   - success
19969
  """
19970
 
19971
  thrift_spec = (
19972
    (0, TType.DOUBLE, 'success', None, None, ), # 0
19973
  )
19974
 
19975
  def __init__(self, success=None,):
19976
    self.success = success
19977
 
19978
  def read(self, iprot):
19979
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19980
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19981
      return
19982
    iprot.readStructBegin()
19983
    while True:
19984
      (fname, ftype, fid) = iprot.readFieldBegin()
19985
      if ftype == TType.STOP:
19986
        break
19987
      if fid == 0:
19988
        if ftype == TType.DOUBLE:
19989
          self.success = iprot.readDouble();
19990
        else:
19991
          iprot.skip(ftype)
19992
      else:
19993
        iprot.skip(ftype)
19994
      iprot.readFieldEnd()
19995
    iprot.readStructEnd()
19996
 
19997
  def write(self, oprot):
19998
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19999
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20000
      return
20001
    oprot.writeStructBegin('getVatAmountForItem_result')
20002
    if self.success is not None:
20003
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
20004
      oprot.writeDouble(self.success)
20005
      oprot.writeFieldEnd()
20006
    oprot.writeFieldStop()
20007
    oprot.writeStructEnd()
20008
 
20009
  def validate(self):
20010
    return
20011
 
20012
 
20013
  def __repr__(self):
20014
    L = ['%s=%r' % (key, value)
20015
      for key, value in self.__dict__.iteritems()]
20016
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20017
 
20018
  def __eq__(self, other):
20019
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20020
 
20021
  def __ne__(self, other):
20022
    return not (self == other)
6531 vikram.rag 20023
 
20024
class getAllIgnoredInventoryUpdateItemsList_args:
20025
  """
20026
  Attributes:
20027
   - offset
20028
   - limit
20029
  """
20030
 
20031
  thrift_spec = (
20032
    None, # 0
20033
    (1, TType.I32, 'offset', None, None, ), # 1
20034
    (2, TType.I32, 'limit', None, None, ), # 2
20035
  )
20036
 
20037
  def __init__(self, offset=None, limit=None,):
20038
    self.offset = offset
20039
    self.limit = limit
20040
 
20041
  def read(self, iprot):
20042
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20043
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20044
      return
20045
    iprot.readStructBegin()
20046
    while True:
20047
      (fname, ftype, fid) = iprot.readFieldBegin()
20048
      if ftype == TType.STOP:
20049
        break
20050
      if fid == 1:
20051
        if ftype == TType.I32:
20052
          self.offset = iprot.readI32();
20053
        else:
20054
          iprot.skip(ftype)
20055
      elif fid == 2:
20056
        if ftype == TType.I32:
20057
          self.limit = iprot.readI32();
20058
        else:
20059
          iprot.skip(ftype)
20060
      else:
20061
        iprot.skip(ftype)
20062
      iprot.readFieldEnd()
20063
    iprot.readStructEnd()
20064
 
20065
  def write(self, oprot):
20066
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20067
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20068
      return
20069
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_args')
20070
    if self.offset is not None:
20071
      oprot.writeFieldBegin('offset', TType.I32, 1)
20072
      oprot.writeI32(self.offset)
20073
      oprot.writeFieldEnd()
20074
    if self.limit is not None:
20075
      oprot.writeFieldBegin('limit', TType.I32, 2)
20076
      oprot.writeI32(self.limit)
20077
      oprot.writeFieldEnd()
20078
    oprot.writeFieldStop()
20079
    oprot.writeStructEnd()
20080
 
20081
  def validate(self):
20082
    return
20083
 
20084
 
20085
  def __repr__(self):
20086
    L = ['%s=%r' % (key, value)
20087
      for key, value in self.__dict__.iteritems()]
20088
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20089
 
20090
  def __eq__(self, other):
20091
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20092
 
20093
  def __ne__(self, other):
20094
    return not (self == other)
20095
 
20096
class getAllIgnoredInventoryUpdateItemsList_result:
20097
  """
20098
  Attributes:
20099
   - success
20100
  """
20101
 
20102
  thrift_spec = (
20103
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
20104
  )
20105
 
20106
  def __init__(self, success=None,):
20107
    self.success = success
20108
 
20109
  def read(self, iprot):
20110
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20111
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20112
      return
20113
    iprot.readStructBegin()
20114
    while True:
20115
      (fname, ftype, fid) = iprot.readFieldBegin()
20116
      if ftype == TType.STOP:
20117
        break
20118
      if fid == 0:
20119
        if ftype == TType.LIST:
20120
          self.success = []
9155 kshitij.so 20121
          (_etype370, _size367) = iprot.readListBegin()
20122
          for _i371 in xrange(_size367):
20123
            _elem372 = Item()
20124
            _elem372.read(iprot)
20125
            self.success.append(_elem372)
6531 vikram.rag 20126
          iprot.readListEnd()
20127
        else:
20128
          iprot.skip(ftype)
20129
      else:
20130
        iprot.skip(ftype)
20131
      iprot.readFieldEnd()
20132
    iprot.readStructEnd()
20133
 
20134
  def write(self, oprot):
20135
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20136
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20137
      return
20138
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_result')
20139
    if self.success is not None:
20140
      oprot.writeFieldBegin('success', TType.LIST, 0)
20141
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 20142
      for iter373 in self.success:
20143
        iter373.write(oprot)
6531 vikram.rag 20144
      oprot.writeListEnd()
20145
      oprot.writeFieldEnd()
20146
    oprot.writeFieldStop()
20147
    oprot.writeStructEnd()
20148
 
20149
  def validate(self):
20150
    return
20151
 
20152
 
20153
  def __repr__(self):
20154
    L = ['%s=%r' % (key, value)
20155
      for key, value in self.__dict__.iteritems()]
20156
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20157
 
20158
  def __eq__(self, other):
20159
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20160
 
20161
  def __ne__(self, other):
20162
    return not (self == other)
6805 anupam.sin 20163
 
6821 amar.kumar 20164
class getAllAliveItems_args:
20165
 
20166
  thrift_spec = (
20167
  )
20168
 
20169
  def read(self, iprot):
20170
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20171
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20172
      return
20173
    iprot.readStructBegin()
20174
    while True:
20175
      (fname, ftype, fid) = iprot.readFieldBegin()
20176
      if ftype == TType.STOP:
20177
        break
20178
      else:
20179
        iprot.skip(ftype)
20180
      iprot.readFieldEnd()
20181
    iprot.readStructEnd()
20182
 
20183
  def write(self, oprot):
20184
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20185
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20186
      return
20187
    oprot.writeStructBegin('getAllAliveItems_args')
20188
    oprot.writeFieldStop()
20189
    oprot.writeStructEnd()
20190
 
20191
  def validate(self):
20192
    return
20193
 
20194
 
20195
  def __repr__(self):
20196
    L = ['%s=%r' % (key, value)
20197
      for key, value in self.__dict__.iteritems()]
20198
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20199
 
20200
  def __eq__(self, other):
20201
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20202
 
20203
  def __ne__(self, other):
20204
    return not (self == other)
20205
 
20206
class getAllAliveItems_result:
20207
  """
20208
  Attributes:
20209
   - success
20210
  """
20211
 
20212
  thrift_spec = (
20213
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
20214
  )
20215
 
20216
  def __init__(self, success=None,):
20217
    self.success = success
20218
 
20219
  def read(self, iprot):
20220
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20221
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20222
      return
20223
    iprot.readStructBegin()
20224
    while True:
20225
      (fname, ftype, fid) = iprot.readFieldBegin()
20226
      if ftype == TType.STOP:
20227
        break
20228
      if fid == 0:
20229
        if ftype == TType.LIST:
20230
          self.success = []
9155 kshitij.so 20231
          (_etype377, _size374) = iprot.readListBegin()
20232
          for _i378 in xrange(_size374):
20233
            _elem379 = Item()
20234
            _elem379.read(iprot)
20235
            self.success.append(_elem379)
6821 amar.kumar 20236
          iprot.readListEnd()
20237
        else:
20238
          iprot.skip(ftype)
20239
      else:
20240
        iprot.skip(ftype)
20241
      iprot.readFieldEnd()
20242
    iprot.readStructEnd()
20243
 
20244
  def write(self, oprot):
20245
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20246
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20247
      return
20248
    oprot.writeStructBegin('getAllAliveItems_result')
20249
    if self.success is not None:
20250
      oprot.writeFieldBegin('success', TType.LIST, 0)
20251
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 20252
      for iter380 in self.success:
20253
        iter380.write(oprot)
6821 amar.kumar 20254
      oprot.writeListEnd()
20255
      oprot.writeFieldEnd()
20256
    oprot.writeFieldStop()
20257
    oprot.writeStructEnd()
20258
 
20259
  def validate(self):
20260
    return
20261
 
20262
 
20263
  def __repr__(self):
20264
    L = ['%s=%r' % (key, value)
20265
      for key, value in self.__dict__.iteritems()]
20266
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20267
 
20268
  def __eq__(self, other):
20269
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20270
 
20271
  def __ne__(self, other):
20272
    return not (self == other)
20273
 
6805 anupam.sin 20274
class getInsuranceAmount_args:
20275
  """
20276
  Attributes:
20277
   - itemId
6921 anupam.sin 20278
   - price
6805 anupam.sin 20279
   - insurerId
20280
   - quantity
20281
  """
20282
 
20283
  thrift_spec = (
20284
    None, # 0
20285
    (1, TType.I64, 'itemId', None, None, ), # 1
6921 anupam.sin 20286
    (2, TType.DOUBLE, 'price', None, None, ), # 2
20287
    (3, TType.I64, 'insurerId', None, None, ), # 3
20288
    (4, TType.I64, 'quantity', None, None, ), # 4
6805 anupam.sin 20289
  )
20290
 
6921 anupam.sin 20291
  def __init__(self, itemId=None, price=None, insurerId=None, quantity=None,):
6805 anupam.sin 20292
    self.itemId = itemId
6921 anupam.sin 20293
    self.price = price
6805 anupam.sin 20294
    self.insurerId = insurerId
20295
    self.quantity = quantity
20296
 
20297
  def read(self, iprot):
20298
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20299
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20300
      return
20301
    iprot.readStructBegin()
20302
    while True:
20303
      (fname, ftype, fid) = iprot.readFieldBegin()
20304
      if ftype == TType.STOP:
20305
        break
20306
      if fid == 1:
20307
        if ftype == TType.I64:
20308
          self.itemId = iprot.readI64();
20309
        else:
20310
          iprot.skip(ftype)
20311
      elif fid == 2:
6921 anupam.sin 20312
        if ftype == TType.DOUBLE:
20313
          self.price = iprot.readDouble();
20314
        else:
20315
          iprot.skip(ftype)
20316
      elif fid == 3:
6805 anupam.sin 20317
        if ftype == TType.I64:
20318
          self.insurerId = iprot.readI64();
20319
        else:
20320
          iprot.skip(ftype)
6921 anupam.sin 20321
      elif fid == 4:
6805 anupam.sin 20322
        if ftype == TType.I64:
20323
          self.quantity = iprot.readI64();
20324
        else:
20325
          iprot.skip(ftype)
20326
      else:
20327
        iprot.skip(ftype)
20328
      iprot.readFieldEnd()
20329
    iprot.readStructEnd()
20330
 
20331
  def write(self, oprot):
20332
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20333
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20334
      return
20335
    oprot.writeStructBegin('getInsuranceAmount_args')
20336
    if self.itemId is not None:
20337
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20338
      oprot.writeI64(self.itemId)
20339
      oprot.writeFieldEnd()
6921 anupam.sin 20340
    if self.price is not None:
20341
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
20342
      oprot.writeDouble(self.price)
20343
      oprot.writeFieldEnd()
6805 anupam.sin 20344
    if self.insurerId is not None:
6921 anupam.sin 20345
      oprot.writeFieldBegin('insurerId', TType.I64, 3)
6805 anupam.sin 20346
      oprot.writeI64(self.insurerId)
20347
      oprot.writeFieldEnd()
20348
    if self.quantity is not None:
6921 anupam.sin 20349
      oprot.writeFieldBegin('quantity', TType.I64, 4)
6805 anupam.sin 20350
      oprot.writeI64(self.quantity)
20351
      oprot.writeFieldEnd()
20352
    oprot.writeFieldStop()
20353
    oprot.writeStructEnd()
20354
 
20355
  def validate(self):
20356
    return
20357
 
20358
 
20359
  def __repr__(self):
20360
    L = ['%s=%r' % (key, value)
20361
      for key, value in self.__dict__.iteritems()]
20362
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20363
 
20364
  def __eq__(self, other):
20365
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20366
 
20367
  def __ne__(self, other):
20368
    return not (self == other)
20369
 
20370
class getInsuranceAmount_result:
20371
  """
20372
  Attributes:
20373
   - success
20374
  """
20375
 
20376
  thrift_spec = (
20377
    (0, TType.I64, 'success', None, None, ), # 0
20378
  )
20379
 
20380
  def __init__(self, success=None,):
20381
    self.success = success
20382
 
20383
  def read(self, iprot):
20384
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20385
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20386
      return
20387
    iprot.readStructBegin()
20388
    while True:
20389
      (fname, ftype, fid) = iprot.readFieldBegin()
20390
      if ftype == TType.STOP:
20391
        break
20392
      if fid == 0:
20393
        if ftype == TType.I64:
20394
          self.success = iprot.readI64();
20395
        else:
20396
          iprot.skip(ftype)
20397
      else:
20398
        iprot.skip(ftype)
20399
      iprot.readFieldEnd()
20400
    iprot.readStructEnd()
20401
 
20402
  def write(self, oprot):
20403
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20404
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20405
      return
20406
    oprot.writeStructBegin('getInsuranceAmount_result')
20407
    if self.success is not None:
20408
      oprot.writeFieldBegin('success', TType.I64, 0)
20409
      oprot.writeI64(self.success)
20410
      oprot.writeFieldEnd()
20411
    oprot.writeFieldStop()
20412
    oprot.writeStructEnd()
20413
 
20414
  def validate(self):
20415
    return
20416
 
20417
 
20418
  def __repr__(self):
20419
    L = ['%s=%r' % (key, value)
20420
      for key, value in self.__dict__.iteritems()]
20421
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20422
 
20423
  def __eq__(self, other):
20424
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20425
 
20426
  def __ne__(self, other):
20427
    return not (self == other)
20428
 
20429
class getInsurer_args:
20430
  """
20431
  Attributes:
20432
   - insurerId
20433
  """
20434
 
20435
  thrift_spec = (
20436
    None, # 0
20437
    (1, TType.I64, 'insurerId', None, None, ), # 1
20438
  )
20439
 
20440
  def __init__(self, insurerId=None,):
20441
    self.insurerId = insurerId
20442
 
20443
  def read(self, iprot):
20444
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20445
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20446
      return
20447
    iprot.readStructBegin()
20448
    while True:
20449
      (fname, ftype, fid) = iprot.readFieldBegin()
20450
      if ftype == TType.STOP:
20451
        break
20452
      if fid == 1:
20453
        if ftype == TType.I64:
20454
          self.insurerId = iprot.readI64();
20455
        else:
20456
          iprot.skip(ftype)
20457
      else:
20458
        iprot.skip(ftype)
20459
      iprot.readFieldEnd()
20460
    iprot.readStructEnd()
20461
 
20462
  def write(self, oprot):
20463
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20464
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20465
      return
20466
    oprot.writeStructBegin('getInsurer_args')
20467
    if self.insurerId is not None:
20468
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
20469
      oprot.writeI64(self.insurerId)
20470
      oprot.writeFieldEnd()
20471
    oprot.writeFieldStop()
20472
    oprot.writeStructEnd()
20473
 
20474
  def validate(self):
20475
    return
20476
 
20477
 
20478
  def __repr__(self):
20479
    L = ['%s=%r' % (key, value)
20480
      for key, value in self.__dict__.iteritems()]
20481
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20482
 
20483
  def __eq__(self, other):
20484
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20485
 
20486
  def __ne__(self, other):
20487
    return not (self == other)
20488
 
20489
class getInsurer_result:
20490
  """
20491
  Attributes:
20492
   - success
20493
  """
20494
 
20495
  thrift_spec = (
20496
    (0, TType.STRUCT, 'success', (Insurer, Insurer.thrift_spec), None, ), # 0
20497
  )
20498
 
20499
  def __init__(self, success=None,):
20500
    self.success = success
20501
 
20502
  def read(self, iprot):
20503
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20504
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20505
      return
20506
    iprot.readStructBegin()
20507
    while True:
20508
      (fname, ftype, fid) = iprot.readFieldBegin()
20509
      if ftype == TType.STOP:
20510
        break
20511
      if fid == 0:
20512
        if ftype == TType.STRUCT:
20513
          self.success = Insurer()
20514
          self.success.read(iprot)
20515
        else:
20516
          iprot.skip(ftype)
20517
      else:
20518
        iprot.skip(ftype)
20519
      iprot.readFieldEnd()
20520
    iprot.readStructEnd()
20521
 
20522
  def write(self, oprot):
20523
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20524
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20525
      return
20526
    oprot.writeStructBegin('getInsurer_result')
20527
    if self.success is not None:
20528
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
20529
      self.success.write(oprot)
20530
      oprot.writeFieldEnd()
20531
    oprot.writeFieldStop()
20532
    oprot.writeStructEnd()
20533
 
20534
  def validate(self):
20535
    return
20536
 
20537
 
20538
  def __repr__(self):
20539
    L = ['%s=%r' % (key, value)
20540
      for key, value in self.__dict__.iteritems()]
20541
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20542
 
20543
  def __eq__(self, other):
20544
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20545
 
20546
  def __ne__(self, other):
20547
    return not (self == other)
6838 vikram.rag 20548
 
20549
class getAllInsurers_args:
20550
 
20551
  thrift_spec = (
20552
  )
20553
 
20554
  def read(self, iprot):
20555
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20556
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20557
      return
20558
    iprot.readStructBegin()
20559
    while True:
20560
      (fname, ftype, fid) = iprot.readFieldBegin()
20561
      if ftype == TType.STOP:
20562
        break
20563
      else:
20564
        iprot.skip(ftype)
20565
      iprot.readFieldEnd()
20566
    iprot.readStructEnd()
20567
 
20568
  def write(self, oprot):
20569
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20570
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20571
      return
20572
    oprot.writeStructBegin('getAllInsurers_args')
20573
    oprot.writeFieldStop()
20574
    oprot.writeStructEnd()
20575
 
20576
  def validate(self):
20577
    return
20578
 
20579
 
20580
  def __repr__(self):
20581
    L = ['%s=%r' % (key, value)
20582
      for key, value in self.__dict__.iteritems()]
20583
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20584
 
20585
  def __eq__(self, other):
20586
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20587
 
20588
  def __ne__(self, other):
20589
    return not (self == other)
20590
 
20591
class getAllInsurers_result:
20592
  """
20593
  Attributes:
20594
   - success
20595
  """
20596
 
20597
  thrift_spec = (
20598
    (0, TType.LIST, 'success', (TType.STRUCT,(Insurer, Insurer.thrift_spec)), None, ), # 0
20599
  )
20600
 
20601
  def __init__(self, success=None,):
20602
    self.success = success
20603
 
20604
  def read(self, iprot):
20605
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20606
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20607
      return
20608
    iprot.readStructBegin()
20609
    while True:
20610
      (fname, ftype, fid) = iprot.readFieldBegin()
20611
      if ftype == TType.STOP:
20612
        break
20613
      if fid == 0:
20614
        if ftype == TType.LIST:
20615
          self.success = []
9155 kshitij.so 20616
          (_etype384, _size381) = iprot.readListBegin()
20617
          for _i385 in xrange(_size381):
20618
            _elem386 = Insurer()
20619
            _elem386.read(iprot)
20620
            self.success.append(_elem386)
6838 vikram.rag 20621
          iprot.readListEnd()
20622
        else:
20623
          iprot.skip(ftype)
20624
      else:
20625
        iprot.skip(ftype)
20626
      iprot.readFieldEnd()
20627
    iprot.readStructEnd()
20628
 
20629
  def write(self, oprot):
20630
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20631
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20632
      return
20633
    oprot.writeStructBegin('getAllInsurers_result')
20634
    if self.success is not None:
20635
      oprot.writeFieldBegin('success', TType.LIST, 0)
20636
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 20637
      for iter387 in self.success:
20638
        iter387.write(oprot)
6838 vikram.rag 20639
      oprot.writeListEnd()
20640
      oprot.writeFieldEnd()
20641
    oprot.writeFieldStop()
20642
    oprot.writeStructEnd()
20643
 
20644
  def validate(self):
20645
    return
20646
 
20647
 
20648
  def __repr__(self):
20649
    L = ['%s=%r' % (key, value)
20650
      for key, value in self.__dict__.iteritems()]
20651
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20652
 
20653
  def __eq__(self, other):
20654
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20655
 
20656
  def __ne__(self, other):
20657
    return not (self == other)
6962 rajveer 20658
 
20659
class updateInsuranceDeclaredAmount_args:
20660
  """
20661
  Attributes:
20662
   - insurerId
20663
   - amount
20664
  """
20665
 
20666
  thrift_spec = (
20667
    None, # 0
20668
    (1, TType.I64, 'insurerId', None, None, ), # 1
20669
    (2, TType.DOUBLE, 'amount', None, None, ), # 2
20670
  )
20671
 
20672
  def __init__(self, insurerId=None, amount=None,):
20673
    self.insurerId = insurerId
20674
    self.amount = amount
20675
 
20676
  def read(self, iprot):
20677
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20678
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20679
      return
20680
    iprot.readStructBegin()
20681
    while True:
20682
      (fname, ftype, fid) = iprot.readFieldBegin()
20683
      if ftype == TType.STOP:
20684
        break
20685
      if fid == 1:
20686
        if ftype == TType.I64:
20687
          self.insurerId = iprot.readI64();
20688
        else:
20689
          iprot.skip(ftype)
20690
      elif fid == 2:
20691
        if ftype == TType.DOUBLE:
20692
          self.amount = iprot.readDouble();
20693
        else:
20694
          iprot.skip(ftype)
20695
      else:
20696
        iprot.skip(ftype)
20697
      iprot.readFieldEnd()
20698
    iprot.readStructEnd()
20699
 
20700
  def write(self, oprot):
20701
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20702
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20703
      return
20704
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_args')
20705
    if self.insurerId is not None:
20706
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
20707
      oprot.writeI64(self.insurerId)
20708
      oprot.writeFieldEnd()
20709
    if self.amount is not None:
20710
      oprot.writeFieldBegin('amount', TType.DOUBLE, 2)
20711
      oprot.writeDouble(self.amount)
20712
      oprot.writeFieldEnd()
20713
    oprot.writeFieldStop()
20714
    oprot.writeStructEnd()
20715
 
20716
  def validate(self):
20717
    return
20718
 
20719
 
20720
  def __repr__(self):
20721
    L = ['%s=%r' % (key, value)
20722
      for key, value in self.__dict__.iteritems()]
20723
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20724
 
20725
  def __eq__(self, other):
20726
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20727
 
20728
  def __ne__(self, other):
20729
    return not (self == other)
20730
 
20731
class updateInsuranceDeclaredAmount_result:
20732
 
20733
  thrift_spec = (
20734
  )
20735
 
20736
  def read(self, iprot):
20737
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20738
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20739
      return
20740
    iprot.readStructBegin()
20741
    while True:
20742
      (fname, ftype, fid) = iprot.readFieldBegin()
20743
      if ftype == TType.STOP:
20744
        break
20745
      else:
20746
        iprot.skip(ftype)
20747
      iprot.readFieldEnd()
20748
    iprot.readStructEnd()
20749
 
20750
  def write(self, oprot):
20751
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20752
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20753
      return
20754
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_result')
20755
    oprot.writeFieldStop()
20756
    oprot.writeStructEnd()
20757
 
20758
  def validate(self):
20759
    return
20760
 
20761
 
20762
  def __repr__(self):
20763
    L = ['%s=%r' % (key, value)
20764
      for key, value in self.__dict__.iteritems()]
20765
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20766
 
20767
  def __eq__(self, other):
20768
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20769
 
20770
  def __ne__(self, other):
20771
    return not (self == other)
7190 amar.kumar 20772
 
20773
class getFreebieForItem_args:
20774
  """
20775
  Attributes:
20776
   - itemId
20777
  """
20778
 
20779
  thrift_spec = (
20780
    None, # 0
20781
    (1, TType.I64, 'itemId', None, None, ), # 1
20782
  )
20783
 
20784
  def __init__(self, itemId=None,):
20785
    self.itemId = itemId
20786
 
20787
  def read(self, iprot):
20788
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20789
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20790
      return
20791
    iprot.readStructBegin()
20792
    while True:
20793
      (fname, ftype, fid) = iprot.readFieldBegin()
20794
      if ftype == TType.STOP:
20795
        break
20796
      if fid == 1:
20797
        if ftype == TType.I64:
20798
          self.itemId = iprot.readI64();
20799
        else:
20800
          iprot.skip(ftype)
20801
      else:
20802
        iprot.skip(ftype)
20803
      iprot.readFieldEnd()
20804
    iprot.readStructEnd()
20805
 
20806
  def write(self, oprot):
20807
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20808
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20809
      return
20810
    oprot.writeStructBegin('getFreebieForItem_args')
20811
    if self.itemId is not None:
20812
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20813
      oprot.writeI64(self.itemId)
20814
      oprot.writeFieldEnd()
20815
    oprot.writeFieldStop()
20816
    oprot.writeStructEnd()
20817
 
20818
  def validate(self):
20819
    return
20820
 
20821
 
20822
  def __repr__(self):
20823
    L = ['%s=%r' % (key, value)
20824
      for key, value in self.__dict__.iteritems()]
20825
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20826
 
20827
  def __eq__(self, other):
20828
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20829
 
20830
  def __ne__(self, other):
20831
    return not (self == other)
20832
 
20833
class getFreebieForItem_result:
20834
  """
20835
  Attributes:
20836
   - success
20837
  """
20838
 
20839
  thrift_spec = (
20840
    (0, TType.I64, 'success', None, None, ), # 0
20841
  )
20842
 
20843
  def __init__(self, success=None,):
20844
    self.success = success
20845
 
20846
  def read(self, iprot):
20847
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20848
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20849
      return
20850
    iprot.readStructBegin()
20851
    while True:
20852
      (fname, ftype, fid) = iprot.readFieldBegin()
20853
      if ftype == TType.STOP:
20854
        break
20855
      if fid == 0:
20856
        if ftype == TType.I64:
20857
          self.success = iprot.readI64();
20858
        else:
20859
          iprot.skip(ftype)
20860
      else:
20861
        iprot.skip(ftype)
20862
      iprot.readFieldEnd()
20863
    iprot.readStructEnd()
20864
 
20865
  def write(self, oprot):
20866
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20867
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20868
      return
20869
    oprot.writeStructBegin('getFreebieForItem_result')
20870
    if self.success is not None:
20871
      oprot.writeFieldBegin('success', TType.I64, 0)
20872
      oprot.writeI64(self.success)
20873
      oprot.writeFieldEnd()
20874
    oprot.writeFieldStop()
20875
    oprot.writeStructEnd()
20876
 
20877
  def validate(self):
20878
    return
20879
 
20880
 
20881
  def __repr__(self):
20882
    L = ['%s=%r' % (key, value)
20883
      for key, value in self.__dict__.iteritems()]
20884
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20885
 
20886
  def __eq__(self, other):
20887
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20888
 
20889
  def __ne__(self, other):
20890
    return not (self == other)
20891
 
20892
class addOrUpdateFreebieForItem_args:
20893
  """
20894
  Attributes:
20895
   - freebieItem
20896
  """
20897
 
20898
  thrift_spec = (
20899
    None, # 0
20900
    (1, TType.STRUCT, 'freebieItem', (FreebieItem, FreebieItem.thrift_spec), None, ), # 1
20901
  )
20902
 
20903
  def __init__(self, freebieItem=None,):
20904
    self.freebieItem = freebieItem
20905
 
20906
  def read(self, iprot):
20907
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20908
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20909
      return
20910
    iprot.readStructBegin()
20911
    while True:
20912
      (fname, ftype, fid) = iprot.readFieldBegin()
20913
      if ftype == TType.STOP:
20914
        break
20915
      if fid == 1:
20916
        if ftype == TType.STRUCT:
20917
          self.freebieItem = FreebieItem()
20918
          self.freebieItem.read(iprot)
20919
        else:
20920
          iprot.skip(ftype)
20921
      else:
20922
        iprot.skip(ftype)
20923
      iprot.readFieldEnd()
20924
    iprot.readStructEnd()
20925
 
20926
  def write(self, oprot):
20927
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20928
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20929
      return
20930
    oprot.writeStructBegin('addOrUpdateFreebieForItem_args')
20931
    if self.freebieItem is not None:
20932
      oprot.writeFieldBegin('freebieItem', TType.STRUCT, 1)
20933
      self.freebieItem.write(oprot)
20934
      oprot.writeFieldEnd()
20935
    oprot.writeFieldStop()
20936
    oprot.writeStructEnd()
20937
 
20938
  def validate(self):
20939
    return
20940
 
20941
 
20942
  def __repr__(self):
20943
    L = ['%s=%r' % (key, value)
20944
      for key, value in self.__dict__.iteritems()]
20945
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20946
 
20947
  def __eq__(self, other):
20948
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20949
 
20950
  def __ne__(self, other):
20951
    return not (self == other)
20952
 
20953
class addOrUpdateFreebieForItem_result:
20954
 
20955
  thrift_spec = (
20956
  )
20957
 
20958
  def read(self, iprot):
20959
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20960
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20961
      return
20962
    iprot.readStructBegin()
20963
    while True:
20964
      (fname, ftype, fid) = iprot.readFieldBegin()
20965
      if ftype == TType.STOP:
20966
        break
20967
      else:
20968
        iprot.skip(ftype)
20969
      iprot.readFieldEnd()
20970
    iprot.readStructEnd()
20971
 
20972
  def write(self, oprot):
20973
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20974
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20975
      return
20976
    oprot.writeStructBegin('addOrUpdateFreebieForItem_result')
20977
    oprot.writeFieldStop()
20978
    oprot.writeStructEnd()
20979
 
20980
  def validate(self):
20981
    return
20982
 
20983
 
20984
  def __repr__(self):
20985
    L = ['%s=%r' % (key, value)
20986
      for key, value in self.__dict__.iteritems()]
20987
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20988
 
20989
  def __eq__(self, other):
20990
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20991
 
20992
  def __ne__(self, other):
20993
    return not (self == other)
7256 rajveer 20994
 
7272 amit.gupta 20995
class addOrUpdateBrandInfo_args:
20996
  """
20997
  Attributes:
20998
   - brandInfo
20999
  """
21000
 
21001
  thrift_spec = (
21002
    None, # 0
21003
    (1, TType.STRUCT, 'brandInfo', (BrandInfo, BrandInfo.thrift_spec), None, ), # 1
21004
  )
21005
 
21006
  def __init__(self, brandInfo=None,):
21007
    self.brandInfo = brandInfo
21008
 
21009
  def read(self, iprot):
21010
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21011
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21012
      return
21013
    iprot.readStructBegin()
21014
    while True:
21015
      (fname, ftype, fid) = iprot.readFieldBegin()
21016
      if ftype == TType.STOP:
21017
        break
21018
      if fid == 1:
21019
        if ftype == TType.STRUCT:
21020
          self.brandInfo = BrandInfo()
21021
          self.brandInfo.read(iprot)
21022
        else:
21023
          iprot.skip(ftype)
21024
      else:
21025
        iprot.skip(ftype)
21026
      iprot.readFieldEnd()
21027
    iprot.readStructEnd()
21028
 
21029
  def write(self, oprot):
21030
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21031
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21032
      return
21033
    oprot.writeStructBegin('addOrUpdateBrandInfo_args')
21034
    if self.brandInfo is not None:
21035
      oprot.writeFieldBegin('brandInfo', TType.STRUCT, 1)
21036
      self.brandInfo.write(oprot)
21037
      oprot.writeFieldEnd()
21038
    oprot.writeFieldStop()
21039
    oprot.writeStructEnd()
21040
 
21041
  def validate(self):
21042
    return
21043
 
21044
 
21045
  def __repr__(self):
21046
    L = ['%s=%r' % (key, value)
21047
      for key, value in self.__dict__.iteritems()]
21048
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21049
 
21050
  def __eq__(self, other):
21051
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21052
 
21053
  def __ne__(self, other):
21054
    return not (self == other)
21055
 
21056
class addOrUpdateBrandInfo_result:
21057
 
21058
  thrift_spec = (
21059
  )
21060
 
21061
  def read(self, iprot):
21062
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21063
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21064
      return
21065
    iprot.readStructBegin()
21066
    while True:
21067
      (fname, ftype, fid) = iprot.readFieldBegin()
21068
      if ftype == TType.STOP:
21069
        break
21070
      else:
21071
        iprot.skip(ftype)
21072
      iprot.readFieldEnd()
21073
    iprot.readStructEnd()
21074
 
21075
  def write(self, oprot):
21076
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21077
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21078
      return
21079
    oprot.writeStructBegin('addOrUpdateBrandInfo_result')
21080
    oprot.writeFieldStop()
21081
    oprot.writeStructEnd()
21082
 
21083
  def validate(self):
21084
    return
21085
 
21086
 
21087
  def __repr__(self):
21088
    L = ['%s=%r' % (key, value)
21089
      for key, value in self.__dict__.iteritems()]
21090
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21091
 
21092
  def __eq__(self, other):
21093
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21094
 
21095
  def __ne__(self, other):
21096
    return not (self == other)
21097
 
21098
class getBrandInfo_args:
21099
 
21100
  thrift_spec = (
21101
  )
21102
 
21103
  def read(self, iprot):
21104
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21105
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21106
      return
21107
    iprot.readStructBegin()
21108
    while True:
21109
      (fname, ftype, fid) = iprot.readFieldBegin()
21110
      if ftype == TType.STOP:
21111
        break
21112
      else:
21113
        iprot.skip(ftype)
21114
      iprot.readFieldEnd()
21115
    iprot.readStructEnd()
21116
 
21117
  def write(self, oprot):
21118
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21119
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21120
      return
21121
    oprot.writeStructBegin('getBrandInfo_args')
21122
    oprot.writeFieldStop()
21123
    oprot.writeStructEnd()
21124
 
21125
  def validate(self):
21126
    return
21127
 
21128
 
21129
  def __repr__(self):
21130
    L = ['%s=%r' % (key, value)
21131
      for key, value in self.__dict__.iteritems()]
21132
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21133
 
21134
  def __eq__(self, other):
21135
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21136
 
21137
  def __ne__(self, other):
21138
    return not (self == other)
21139
 
21140
class getBrandInfo_result:
21141
  """
21142
  Attributes:
21143
   - success
21144
  """
21145
 
21146
  thrift_spec = (
21147
    (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(BrandInfo, BrandInfo.thrift_spec)), None, ), # 0
21148
  )
21149
 
21150
  def __init__(self, success=None,):
21151
    self.success = success
21152
 
21153
  def read(self, iprot):
21154
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21155
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21156
      return
21157
    iprot.readStructBegin()
21158
    while True:
21159
      (fname, ftype, fid) = iprot.readFieldBegin()
21160
      if ftype == TType.STOP:
21161
        break
21162
      if fid == 0:
21163
        if ftype == TType.MAP:
21164
          self.success = {}
9155 kshitij.so 21165
          (_ktype389, _vtype390, _size388 ) = iprot.readMapBegin() 
21166
          for _i392 in xrange(_size388):
21167
            _key393 = iprot.readString();
21168
            _val394 = BrandInfo()
21169
            _val394.read(iprot)
21170
            self.success[_key393] = _val394
7272 amit.gupta 21171
          iprot.readMapEnd()
21172
        else:
21173
          iprot.skip(ftype)
21174
      else:
21175
        iprot.skip(ftype)
21176
      iprot.readFieldEnd()
21177
    iprot.readStructEnd()
21178
 
21179
  def write(self, oprot):
21180
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21181
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21182
      return
21183
    oprot.writeStructBegin('getBrandInfo_result')
21184
    if self.success is not None:
21185
      oprot.writeFieldBegin('success', TType.MAP, 0)
21186
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
9155 kshitij.so 21187
      for kiter395,viter396 in self.success.items():
21188
        oprot.writeString(kiter395)
21189
        viter396.write(oprot)
7272 amit.gupta 21190
      oprot.writeMapEnd()
21191
      oprot.writeFieldEnd()
21192
    oprot.writeFieldStop()
21193
    oprot.writeStructEnd()
21194
 
21195
  def validate(self):
21196
    return
21197
 
21198
 
21199
  def __repr__(self):
21200
    L = ['%s=%r' % (key, value)
21201
      for key, value in self.__dict__.iteritems()]
21202
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21203
 
21204
  def __eq__(self, other):
21205
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21206
 
21207
  def __ne__(self, other):
21208
    return not (self == other)
21209
 
7256 rajveer 21210
class getStorePricing_args:
21211
  """
21212
  Attributes:
21213
   - itemId
21214
  """
21215
 
21216
  thrift_spec = (
21217
    None, # 0
21218
    (1, TType.I64, 'itemId', None, None, ), # 1
21219
  )
21220
 
21221
  def __init__(self, itemId=None,):
21222
    self.itemId = itemId
21223
 
21224
  def read(self, iprot):
21225
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21226
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21227
      return
21228
    iprot.readStructBegin()
21229
    while True:
21230
      (fname, ftype, fid) = iprot.readFieldBegin()
21231
      if ftype == TType.STOP:
21232
        break
21233
      if fid == 1:
21234
        if ftype == TType.I64:
21235
          self.itemId = iprot.readI64();
21236
        else:
21237
          iprot.skip(ftype)
21238
      else:
21239
        iprot.skip(ftype)
21240
      iprot.readFieldEnd()
21241
    iprot.readStructEnd()
21242
 
21243
  def write(self, oprot):
21244
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21245
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21246
      return
21247
    oprot.writeStructBegin('getStorePricing_args')
21248
    if self.itemId is not None:
21249
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21250
      oprot.writeI64(self.itemId)
21251
      oprot.writeFieldEnd()
21252
    oprot.writeFieldStop()
21253
    oprot.writeStructEnd()
21254
 
21255
  def validate(self):
21256
    return
21257
 
21258
 
21259
  def __repr__(self):
21260
    L = ['%s=%r' % (key, value)
21261
      for key, value in self.__dict__.iteritems()]
21262
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21263
 
21264
  def __eq__(self, other):
21265
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21266
 
21267
  def __ne__(self, other):
21268
    return not (self == other)
21269
 
21270
class getStorePricing_result:
21271
  """
21272
  Attributes:
21273
   - success
21274
  """
21275
 
21276
  thrift_spec = (
21277
    (0, TType.STRUCT, 'success', (StorePricing, StorePricing.thrift_spec), None, ), # 0
21278
  )
21279
 
21280
  def __init__(self, success=None,):
21281
    self.success = success
21282
 
21283
  def read(self, iprot):
21284
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21285
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21286
      return
21287
    iprot.readStructBegin()
21288
    while True:
21289
      (fname, ftype, fid) = iprot.readFieldBegin()
21290
      if ftype == TType.STOP:
21291
        break
21292
      if fid == 0:
21293
        if ftype == TType.STRUCT:
21294
          self.success = StorePricing()
21295
          self.success.read(iprot)
21296
        else:
21297
          iprot.skip(ftype)
21298
      else:
21299
        iprot.skip(ftype)
21300
      iprot.readFieldEnd()
21301
    iprot.readStructEnd()
21302
 
21303
  def write(self, oprot):
21304
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21305
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21306
      return
21307
    oprot.writeStructBegin('getStorePricing_result')
21308
    if self.success is not None:
21309
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
21310
      self.success.write(oprot)
21311
      oprot.writeFieldEnd()
21312
    oprot.writeFieldStop()
21313
    oprot.writeStructEnd()
21314
 
21315
  def validate(self):
21316
    return
21317
 
21318
 
21319
  def __repr__(self):
21320
    L = ['%s=%r' % (key, value)
21321
      for key, value in self.__dict__.iteritems()]
21322
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21323
 
21324
  def __eq__(self, other):
21325
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21326
 
21327
  def __ne__(self, other):
21328
    return not (self == other)
7265 rajveer 21329
 
7306 rajveer 21330
class getStorePricings_args:
21331
  """
21332
  Attributes:
21333
   - itemIds
21334
  """
21335
 
21336
  thrift_spec = (
21337
    None, # 0
21338
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
21339
  )
21340
 
21341
  def __init__(self, itemIds=None,):
21342
    self.itemIds = itemIds
21343
 
21344
  def read(self, iprot):
21345
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21346
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21347
      return
21348
    iprot.readStructBegin()
21349
    while True:
21350
      (fname, ftype, fid) = iprot.readFieldBegin()
21351
      if ftype == TType.STOP:
21352
        break
21353
      if fid == 1:
21354
        if ftype == TType.LIST:
21355
          self.itemIds = []
9155 kshitij.so 21356
          (_etype400, _size397) = iprot.readListBegin()
21357
          for _i401 in xrange(_size397):
21358
            _elem402 = iprot.readI64();
21359
            self.itemIds.append(_elem402)
7306 rajveer 21360
          iprot.readListEnd()
21361
        else:
21362
          iprot.skip(ftype)
21363
      else:
21364
        iprot.skip(ftype)
21365
      iprot.readFieldEnd()
21366
    iprot.readStructEnd()
21367
 
21368
  def write(self, oprot):
21369
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21370
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21371
      return
21372
    oprot.writeStructBegin('getStorePricings_args')
21373
    if self.itemIds is not None:
21374
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
21375
      oprot.writeListBegin(TType.I64, len(self.itemIds))
9155 kshitij.so 21376
      for iter403 in self.itemIds:
21377
        oprot.writeI64(iter403)
7306 rajveer 21378
      oprot.writeListEnd()
21379
      oprot.writeFieldEnd()
21380
    oprot.writeFieldStop()
21381
    oprot.writeStructEnd()
21382
 
21383
  def validate(self):
21384
    return
21385
 
21386
 
21387
  def __repr__(self):
21388
    L = ['%s=%r' % (key, value)
21389
      for key, value in self.__dict__.iteritems()]
21390
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21391
 
21392
  def __eq__(self, other):
21393
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21394
 
21395
  def __ne__(self, other):
21396
    return not (self == other)
21397
 
21398
class getStorePricings_result:
21399
  """
21400
  Attributes:
21401
   - success
21402
  """
21403
 
21404
  thrift_spec = (
21405
    (0, TType.LIST, 'success', (TType.STRUCT,(StorePricing, StorePricing.thrift_spec)), None, ), # 0
21406
  )
21407
 
21408
  def __init__(self, success=None,):
21409
    self.success = success
21410
 
21411
  def read(self, iprot):
21412
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21413
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21414
      return
21415
    iprot.readStructBegin()
21416
    while True:
21417
      (fname, ftype, fid) = iprot.readFieldBegin()
21418
      if ftype == TType.STOP:
21419
        break
21420
      if fid == 0:
21421
        if ftype == TType.LIST:
21422
          self.success = []
9155 kshitij.so 21423
          (_etype407, _size404) = iprot.readListBegin()
21424
          for _i408 in xrange(_size404):
21425
            _elem409 = StorePricing()
21426
            _elem409.read(iprot)
21427
            self.success.append(_elem409)
7306 rajveer 21428
          iprot.readListEnd()
21429
        else:
21430
          iprot.skip(ftype)
21431
      else:
21432
        iprot.skip(ftype)
21433
      iprot.readFieldEnd()
21434
    iprot.readStructEnd()
21435
 
21436
  def write(self, oprot):
21437
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21438
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21439
      return
21440
    oprot.writeStructBegin('getStorePricings_result')
21441
    if self.success is not None:
21442
      oprot.writeFieldBegin('success', TType.LIST, 0)
21443
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 21444
      for iter410 in self.success:
21445
        iter410.write(oprot)
7306 rajveer 21446
      oprot.writeListEnd()
21447
      oprot.writeFieldEnd()
21448
    oprot.writeFieldStop()
21449
    oprot.writeStructEnd()
21450
 
21451
  def validate(self):
21452
    return
21453
 
21454
 
21455
  def __repr__(self):
21456
    L = ['%s=%r' % (key, value)
21457
      for key, value in self.__dict__.iteritems()]
21458
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21459
 
21460
  def __eq__(self, other):
21461
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21462
 
21463
  def __ne__(self, other):
21464
    return not (self == other)
21465
 
7265 rajveer 21466
class updateStorePricing_args:
21467
  """
21468
  Attributes:
21469
   - sp
7382 rajveer 21470
   - allColors
7265 rajveer 21471
  """
21472
 
21473
  thrift_spec = (
21474
    None, # 0
21475
    (1, TType.STRUCT, 'sp', (StorePricing, StorePricing.thrift_spec), None, ), # 1
7382 rajveer 21476
    (2, TType.BOOL, 'allColors', None, None, ), # 2
7265 rajveer 21477
  )
21478
 
7382 rajveer 21479
  def __init__(self, sp=None, allColors=None,):
7265 rajveer 21480
    self.sp = sp
7382 rajveer 21481
    self.allColors = allColors
7265 rajveer 21482
 
21483
  def read(self, iprot):
21484
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21485
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21486
      return
21487
    iprot.readStructBegin()
21488
    while True:
21489
      (fname, ftype, fid) = iprot.readFieldBegin()
21490
      if ftype == TType.STOP:
21491
        break
21492
      if fid == 1:
21493
        if ftype == TType.STRUCT:
21494
          self.sp = StorePricing()
21495
          self.sp.read(iprot)
21496
        else:
21497
          iprot.skip(ftype)
7382 rajveer 21498
      elif fid == 2:
21499
        if ftype == TType.BOOL:
21500
          self.allColors = iprot.readBool();
21501
        else:
21502
          iprot.skip(ftype)
7265 rajveer 21503
      else:
21504
        iprot.skip(ftype)
21505
      iprot.readFieldEnd()
21506
    iprot.readStructEnd()
21507
 
21508
  def write(self, oprot):
21509
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21510
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21511
      return
21512
    oprot.writeStructBegin('updateStorePricing_args')
21513
    if self.sp is not None:
21514
      oprot.writeFieldBegin('sp', TType.STRUCT, 1)
21515
      self.sp.write(oprot)
21516
      oprot.writeFieldEnd()
7382 rajveer 21517
    if self.allColors is not None:
21518
      oprot.writeFieldBegin('allColors', TType.BOOL, 2)
21519
      oprot.writeBool(self.allColors)
21520
      oprot.writeFieldEnd()
7265 rajveer 21521
    oprot.writeFieldStop()
21522
    oprot.writeStructEnd()
21523
 
21524
  def validate(self):
21525
    return
21526
 
21527
 
21528
  def __repr__(self):
21529
    L = ['%s=%r' % (key, value)
21530
      for key, value in self.__dict__.iteritems()]
21531
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21532
 
21533
  def __eq__(self, other):
21534
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21535
 
21536
  def __ne__(self, other):
21537
    return not (self == other)
21538
 
21539
class updateStorePricing_result:
21540
 
21541
  thrift_spec = (
21542
  )
21543
 
21544
  def read(self, iprot):
21545
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21546
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21547
      return
21548
    iprot.readStructBegin()
21549
    while True:
21550
      (fname, ftype, fid) = iprot.readFieldBegin()
21551
      if ftype == TType.STOP:
21552
        break
21553
      else:
21554
        iprot.skip(ftype)
21555
      iprot.readFieldEnd()
21556
    iprot.readStructEnd()
21557
 
21558
  def write(self, oprot):
21559
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21560
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21561
      return
21562
    oprot.writeStructBegin('updateStorePricing_result')
21563
    oprot.writeFieldStop()
21564
    oprot.writeStructEnd()
21565
 
21566
  def validate(self):
21567
    return
21568
 
21569
 
21570
  def __repr__(self):
21571
    L = ['%s=%r' % (key, value)
21572
      for key, value in self.__dict__.iteritems()]
21573
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21574
 
21575
  def __eq__(self, other):
21576
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21577
 
21578
  def __ne__(self, other):
21579
    return not (self == other)
7281 kshitij.so 21580
 
21581
class getAllAmazonListedItems_args:
21582
 
21583
  thrift_spec = (
21584
  )
21585
 
21586
  def read(self, iprot):
21587
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21588
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21589
      return
21590
    iprot.readStructBegin()
21591
    while True:
21592
      (fname, ftype, fid) = iprot.readFieldBegin()
21593
      if ftype == TType.STOP:
21594
        break
21595
      else:
21596
        iprot.skip(ftype)
21597
      iprot.readFieldEnd()
21598
    iprot.readStructEnd()
21599
 
21600
  def write(self, oprot):
21601
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21602
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21603
      return
21604
    oprot.writeStructBegin('getAllAmazonListedItems_args')
21605
    oprot.writeFieldStop()
21606
    oprot.writeStructEnd()
21607
 
21608
  def validate(self):
21609
    return
21610
 
21611
 
21612
  def __repr__(self):
21613
    L = ['%s=%r' % (key, value)
21614
      for key, value in self.__dict__.iteritems()]
21615
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21616
 
21617
  def __eq__(self, other):
21618
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21619
 
21620
  def __ne__(self, other):
21621
    return not (self == other)
21622
 
21623
class getAllAmazonListedItems_result:
21624
  """
21625
  Attributes:
21626
   - success
21627
  """
21628
 
21629
  thrift_spec = (
21630
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
21631
  )
21632
 
21633
  def __init__(self, success=None,):
21634
    self.success = success
21635
 
21636
  def read(self, iprot):
21637
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21638
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21639
      return
21640
    iprot.readStructBegin()
21641
    while True:
21642
      (fname, ftype, fid) = iprot.readFieldBegin()
21643
      if ftype == TType.STOP:
21644
        break
21645
      if fid == 0:
21646
        if ftype == TType.LIST:
21647
          self.success = []
9155 kshitij.so 21648
          (_etype414, _size411) = iprot.readListBegin()
21649
          for _i415 in xrange(_size411):
21650
            _elem416 = Amazonlisted()
21651
            _elem416.read(iprot)
21652
            self.success.append(_elem416)
7281 kshitij.so 21653
          iprot.readListEnd()
21654
        else:
21655
          iprot.skip(ftype)
21656
      else:
21657
        iprot.skip(ftype)
21658
      iprot.readFieldEnd()
21659
    iprot.readStructEnd()
21660
 
21661
  def write(self, oprot):
21662
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21663
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21664
      return
21665
    oprot.writeStructBegin('getAllAmazonListedItems_result')
21666
    if self.success is not None:
21667
      oprot.writeFieldBegin('success', TType.LIST, 0)
21668
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 21669
      for iter417 in self.success:
21670
        iter417.write(oprot)
7281 kshitij.so 21671
      oprot.writeListEnd()
21672
      oprot.writeFieldEnd()
21673
    oprot.writeFieldStop()
21674
    oprot.writeStructEnd()
21675
 
21676
  def validate(self):
21677
    return
21678
 
21679
 
21680
  def __repr__(self):
21681
    L = ['%s=%r' % (key, value)
21682
      for key, value in self.__dict__.iteritems()]
21683
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21684
 
21685
  def __eq__(self, other):
21686
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21687
 
21688
  def __ne__(self, other):
21689
    return not (self == other)
21690
 
8619 kshitij.so 21691
class searchAmazonItems_args:
21692
  """
21693
  Attributes:
21694
   - searchTerm
21695
   - offset
21696
   - limit
21697
  """
21698
 
21699
  thrift_spec = (
21700
    None, # 0
21701
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
21702
    (2, TType.I64, 'offset', None, None, ), # 2
21703
    (3, TType.I64, 'limit', None, None, ), # 3
21704
  )
21705
 
21706
  def __init__(self, searchTerm=None, offset=None, limit=None,):
21707
    self.searchTerm = searchTerm
21708
    self.offset = offset
21709
    self.limit = limit
21710
 
21711
  def read(self, iprot):
21712
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21713
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21714
      return
21715
    iprot.readStructBegin()
21716
    while True:
21717
      (fname, ftype, fid) = iprot.readFieldBegin()
21718
      if ftype == TType.STOP:
21719
        break
21720
      if fid == 1:
21721
        if ftype == TType.LIST:
21722
          self.searchTerm = []
9155 kshitij.so 21723
          (_etype421, _size418) = iprot.readListBegin()
21724
          for _i422 in xrange(_size418):
21725
            _elem423 = iprot.readString();
21726
            self.searchTerm.append(_elem423)
8619 kshitij.so 21727
          iprot.readListEnd()
21728
        else:
21729
          iprot.skip(ftype)
21730
      elif fid == 2:
21731
        if ftype == TType.I64:
21732
          self.offset = iprot.readI64();
21733
        else:
21734
          iprot.skip(ftype)
21735
      elif fid == 3:
21736
        if ftype == TType.I64:
21737
          self.limit = iprot.readI64();
21738
        else:
21739
          iprot.skip(ftype)
21740
      else:
21741
        iprot.skip(ftype)
21742
      iprot.readFieldEnd()
21743
    iprot.readStructEnd()
21744
 
21745
  def write(self, oprot):
21746
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21747
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21748
      return
21749
    oprot.writeStructBegin('searchAmazonItems_args')
21750
    if self.searchTerm is not None:
21751
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
21752
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
9155 kshitij.so 21753
      for iter424 in self.searchTerm:
21754
        oprot.writeString(iter424)
8619 kshitij.so 21755
      oprot.writeListEnd()
21756
      oprot.writeFieldEnd()
21757
    if self.offset is not None:
21758
      oprot.writeFieldBegin('offset', TType.I64, 2)
21759
      oprot.writeI64(self.offset)
21760
      oprot.writeFieldEnd()
21761
    if self.limit is not None:
21762
      oprot.writeFieldBegin('limit', TType.I64, 3)
21763
      oprot.writeI64(self.limit)
21764
      oprot.writeFieldEnd()
21765
    oprot.writeFieldStop()
21766
    oprot.writeStructEnd()
21767
 
21768
  def validate(self):
21769
    return
21770
 
21771
 
21772
  def __repr__(self):
21773
    L = ['%s=%r' % (key, value)
21774
      for key, value in self.__dict__.iteritems()]
21775
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21776
 
21777
  def __eq__(self, other):
21778
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21779
 
21780
  def __ne__(self, other):
21781
    return not (self == other)
21782
 
21783
class searchAmazonItems_result:
21784
  """
21785
  Attributes:
21786
   - success
21787
  """
21788
 
21789
  thrift_spec = (
21790
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
21791
  )
21792
 
21793
  def __init__(self, success=None,):
21794
    self.success = success
21795
 
21796
  def read(self, iprot):
21797
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21798
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21799
      return
21800
    iprot.readStructBegin()
21801
    while True:
21802
      (fname, ftype, fid) = iprot.readFieldBegin()
21803
      if ftype == TType.STOP:
21804
        break
21805
      if fid == 0:
21806
        if ftype == TType.LIST:
21807
          self.success = []
9155 kshitij.so 21808
          (_etype428, _size425) = iprot.readListBegin()
21809
          for _i429 in xrange(_size425):
21810
            _elem430 = Amazonlisted()
21811
            _elem430.read(iprot)
21812
            self.success.append(_elem430)
8619 kshitij.so 21813
          iprot.readListEnd()
21814
        else:
21815
          iprot.skip(ftype)
21816
      else:
21817
        iprot.skip(ftype)
21818
      iprot.readFieldEnd()
21819
    iprot.readStructEnd()
21820
 
21821
  def write(self, oprot):
21822
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21823
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21824
      return
21825
    oprot.writeStructBegin('searchAmazonItems_result')
21826
    if self.success is not None:
21827
      oprot.writeFieldBegin('success', TType.LIST, 0)
21828
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 21829
      for iter431 in self.success:
21830
        iter431.write(oprot)
8619 kshitij.so 21831
      oprot.writeListEnd()
21832
      oprot.writeFieldEnd()
21833
    oprot.writeFieldStop()
21834
    oprot.writeStructEnd()
21835
 
21836
  def validate(self):
21837
    return
21838
 
21839
 
21840
  def __repr__(self):
21841
    L = ['%s=%r' % (key, value)
21842
      for key, value in self.__dict__.iteritems()]
21843
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21844
 
21845
  def __eq__(self, other):
21846
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21847
 
21848
  def __ne__(self, other):
21849
    return not (self == other)
21850
 
21851
class getAmazonSearchResultCount_args:
21852
  """
21853
  Attributes:
21854
   - searchTerm
21855
  """
21856
 
21857
  thrift_spec = (
21858
    None, # 0
21859
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
21860
  )
21861
 
21862
  def __init__(self, searchTerm=None,):
21863
    self.searchTerm = searchTerm
21864
 
21865
  def read(self, iprot):
21866
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21867
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21868
      return
21869
    iprot.readStructBegin()
21870
    while True:
21871
      (fname, ftype, fid) = iprot.readFieldBegin()
21872
      if ftype == TType.STOP:
21873
        break
21874
      if fid == 1:
21875
        if ftype == TType.LIST:
21876
          self.searchTerm = []
9155 kshitij.so 21877
          (_etype435, _size432) = iprot.readListBegin()
21878
          for _i436 in xrange(_size432):
21879
            _elem437 = iprot.readString();
21880
            self.searchTerm.append(_elem437)
8619 kshitij.so 21881
          iprot.readListEnd()
21882
        else:
21883
          iprot.skip(ftype)
21884
      else:
21885
        iprot.skip(ftype)
21886
      iprot.readFieldEnd()
21887
    iprot.readStructEnd()
21888
 
21889
  def write(self, oprot):
21890
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21891
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21892
      return
21893
    oprot.writeStructBegin('getAmazonSearchResultCount_args')
21894
    if self.searchTerm is not None:
21895
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
21896
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
9155 kshitij.so 21897
      for iter438 in self.searchTerm:
21898
        oprot.writeString(iter438)
8619 kshitij.so 21899
      oprot.writeListEnd()
21900
      oprot.writeFieldEnd()
21901
    oprot.writeFieldStop()
21902
    oprot.writeStructEnd()
21903
 
21904
  def validate(self):
21905
    return
21906
 
21907
 
21908
  def __repr__(self):
21909
    L = ['%s=%r' % (key, value)
21910
      for key, value in self.__dict__.iteritems()]
21911
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21912
 
21913
  def __eq__(self, other):
21914
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21915
 
21916
  def __ne__(self, other):
21917
    return not (self == other)
21918
 
21919
class getAmazonSearchResultCount_result:
21920
  """
21921
  Attributes:
21922
   - success
21923
  """
21924
 
21925
  thrift_spec = (
21926
    (0, TType.I64, 'success', None, None, ), # 0
21927
  )
21928
 
21929
  def __init__(self, success=None,):
21930
    self.success = success
21931
 
21932
  def read(self, iprot):
21933
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21934
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21935
      return
21936
    iprot.readStructBegin()
21937
    while True:
21938
      (fname, ftype, fid) = iprot.readFieldBegin()
21939
      if ftype == TType.STOP:
21940
        break
21941
      if fid == 0:
21942
        if ftype == TType.I64:
21943
          self.success = iprot.readI64();
21944
        else:
21945
          iprot.skip(ftype)
21946
      else:
21947
        iprot.skip(ftype)
21948
      iprot.readFieldEnd()
21949
    iprot.readStructEnd()
21950
 
21951
  def write(self, oprot):
21952
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21953
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21954
      return
21955
    oprot.writeStructBegin('getAmazonSearchResultCount_result')
21956
    if self.success is not None:
21957
      oprot.writeFieldBegin('success', TType.I64, 0)
21958
      oprot.writeI64(self.success)
21959
      oprot.writeFieldEnd()
21960
    oprot.writeFieldStop()
21961
    oprot.writeStructEnd()
21962
 
21963
  def validate(self):
21964
    return
21965
 
21966
 
21967
  def __repr__(self):
21968
    L = ['%s=%r' % (key, value)
21969
      for key, value in self.__dict__.iteritems()]
21970
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21971
 
21972
  def __eq__(self, other):
21973
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21974
 
21975
  def __ne__(self, other):
21976
    return not (self == other)
21977
 
21978
class getCountForAmazonlistedItems_args:
21979
 
21980
  thrift_spec = (
21981
  )
21982
 
21983
  def read(self, iprot):
21984
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21985
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21986
      return
21987
    iprot.readStructBegin()
21988
    while True:
21989
      (fname, ftype, fid) = iprot.readFieldBegin()
21990
      if ftype == TType.STOP:
21991
        break
21992
      else:
21993
        iprot.skip(ftype)
21994
      iprot.readFieldEnd()
21995
    iprot.readStructEnd()
21996
 
21997
  def write(self, oprot):
21998
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21999
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22000
      return
22001
    oprot.writeStructBegin('getCountForAmazonlistedItems_args')
22002
    oprot.writeFieldStop()
22003
    oprot.writeStructEnd()
22004
 
22005
  def validate(self):
22006
    return
22007
 
22008
 
22009
  def __repr__(self):
22010
    L = ['%s=%r' % (key, value)
22011
      for key, value in self.__dict__.iteritems()]
22012
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22013
 
22014
  def __eq__(self, other):
22015
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22016
 
22017
  def __ne__(self, other):
22018
    return not (self == other)
22019
 
22020
class getCountForAmazonlistedItems_result:
22021
  """
22022
  Attributes:
22023
   - success
22024
  """
22025
 
22026
  thrift_spec = (
22027
    (0, TType.I64, 'success', None, None, ), # 0
22028
  )
22029
 
22030
  def __init__(self, success=None,):
22031
    self.success = success
22032
 
22033
  def read(self, iprot):
22034
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22035
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22036
      return
22037
    iprot.readStructBegin()
22038
    while True:
22039
      (fname, ftype, fid) = iprot.readFieldBegin()
22040
      if ftype == TType.STOP:
22041
        break
22042
      if fid == 0:
22043
        if ftype == TType.I64:
22044
          self.success = iprot.readI64();
22045
        else:
22046
          iprot.skip(ftype)
22047
      else:
22048
        iprot.skip(ftype)
22049
      iprot.readFieldEnd()
22050
    iprot.readStructEnd()
22051
 
22052
  def write(self, oprot):
22053
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22054
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22055
      return
22056
    oprot.writeStructBegin('getCountForAmazonlistedItems_result')
22057
    if self.success is not None:
22058
      oprot.writeFieldBegin('success', TType.I64, 0)
22059
      oprot.writeI64(self.success)
22060
      oprot.writeFieldEnd()
22061
    oprot.writeFieldStop()
22062
    oprot.writeStructEnd()
22063
 
22064
  def validate(self):
22065
    return
22066
 
22067
 
22068
  def __repr__(self):
22069
    L = ['%s=%r' % (key, value)
22070
      for key, value in self.__dict__.iteritems()]
22071
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22072
 
22073
  def __eq__(self, other):
22074
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22075
 
22076
  def __ne__(self, other):
22077
    return not (self == other)
22078
 
7281 kshitij.so 22079
class getAmazonItemDetails_args:
22080
  """
22081
  Attributes:
22082
   - itemId
22083
  """
22084
 
22085
  thrift_spec = (
22086
    None, # 0
22087
    (1, TType.I64, 'itemId', None, None, ), # 1
22088
  )
22089
 
22090
  def __init__(self, itemId=None,):
22091
    self.itemId = itemId
22092
 
22093
  def read(self, iprot):
22094
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22095
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22096
      return
22097
    iprot.readStructBegin()
22098
    while True:
22099
      (fname, ftype, fid) = iprot.readFieldBegin()
22100
      if ftype == TType.STOP:
22101
        break
22102
      if fid == 1:
22103
        if ftype == TType.I64:
22104
          self.itemId = iprot.readI64();
22105
        else:
22106
          iprot.skip(ftype)
22107
      else:
22108
        iprot.skip(ftype)
22109
      iprot.readFieldEnd()
22110
    iprot.readStructEnd()
22111
 
22112
  def write(self, oprot):
22113
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22114
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22115
      return
22116
    oprot.writeStructBegin('getAmazonItemDetails_args')
22117
    if self.itemId is not None:
22118
      oprot.writeFieldBegin('itemId', TType.I64, 1)
22119
      oprot.writeI64(self.itemId)
22120
      oprot.writeFieldEnd()
22121
    oprot.writeFieldStop()
22122
    oprot.writeStructEnd()
22123
 
22124
  def validate(self):
22125
    return
22126
 
22127
 
22128
  def __repr__(self):
22129
    L = ['%s=%r' % (key, value)
22130
      for key, value in self.__dict__.iteritems()]
22131
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22132
 
22133
  def __eq__(self, other):
22134
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22135
 
22136
  def __ne__(self, other):
22137
    return not (self == other)
22138
 
22139
class getAmazonItemDetails_result:
22140
  """
22141
  Attributes:
22142
   - success
22143
  """
22144
 
22145
  thrift_spec = (
22146
    (0, TType.STRUCT, 'success', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 0
22147
  )
22148
 
22149
  def __init__(self, success=None,):
22150
    self.success = success
22151
 
22152
  def read(self, iprot):
22153
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22154
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22155
      return
22156
    iprot.readStructBegin()
22157
    while True:
22158
      (fname, ftype, fid) = iprot.readFieldBegin()
22159
      if ftype == TType.STOP:
22160
        break
22161
      if fid == 0:
22162
        if ftype == TType.STRUCT:
22163
          self.success = Amazonlisted()
22164
          self.success.read(iprot)
22165
        else:
22166
          iprot.skip(ftype)
22167
      else:
22168
        iprot.skip(ftype)
22169
      iprot.readFieldEnd()
22170
    iprot.readStructEnd()
22171
 
22172
  def write(self, oprot):
22173
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22174
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22175
      return
22176
    oprot.writeStructBegin('getAmazonItemDetails_result')
22177
    if self.success is not None:
22178
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
22179
      self.success.write(oprot)
22180
      oprot.writeFieldEnd()
22181
    oprot.writeFieldStop()
22182
    oprot.writeStructEnd()
22183
 
22184
  def validate(self):
22185
    return
22186
 
22187
 
22188
  def __repr__(self):
22189
    L = ['%s=%r' % (key, value)
22190
      for key, value in self.__dict__.iteritems()]
22191
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22192
 
22193
  def __eq__(self, other):
22194
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22195
 
22196
  def __ne__(self, other):
22197
    return not (self == other)
22198
 
22199
class updateAmazonItemDetails_args:
22200
  """
22201
  Attributes:
8168 kshitij.so 22202
   - amazonlisted
7281 kshitij.so 22203
  """
22204
 
22205
  thrift_spec = (
22206
    None, # 0
8168 kshitij.so 22207
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
7281 kshitij.so 22208
  )
22209
 
8168 kshitij.so 22210
  def __init__(self, amazonlisted=None,):
22211
    self.amazonlisted = amazonlisted
7281 kshitij.so 22212
 
22213
  def read(self, iprot):
22214
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22215
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22216
      return
22217
    iprot.readStructBegin()
22218
    while True:
22219
      (fname, ftype, fid) = iprot.readFieldBegin()
22220
      if ftype == TType.STOP:
22221
        break
22222
      if fid == 1:
8168 kshitij.so 22223
        if ftype == TType.STRUCT:
22224
          self.amazonlisted = Amazonlisted()
22225
          self.amazonlisted.read(iprot)
7281 kshitij.so 22226
        else:
22227
          iprot.skip(ftype)
22228
      else:
22229
        iprot.skip(ftype)
22230
      iprot.readFieldEnd()
22231
    iprot.readStructEnd()
22232
 
22233
  def write(self, oprot):
22234
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22235
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22236
      return
22237
    oprot.writeStructBegin('updateAmazonItemDetails_args')
8168 kshitij.so 22238
    if self.amazonlisted is not None:
22239
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
22240
      self.amazonlisted.write(oprot)
7281 kshitij.so 22241
      oprot.writeFieldEnd()
22242
    oprot.writeFieldStop()
22243
    oprot.writeStructEnd()
22244
 
22245
  def validate(self):
22246
    return
22247
 
22248
 
22249
  def __repr__(self):
22250
    L = ['%s=%r' % (key, value)
22251
      for key, value in self.__dict__.iteritems()]
22252
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22253
 
22254
  def __eq__(self, other):
22255
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22256
 
22257
  def __ne__(self, other):
22258
    return not (self == other)
22259
 
22260
class updateAmazonItemDetails_result:
22261
 
22262
  thrift_spec = (
22263
  )
22264
 
22265
  def read(self, iprot):
22266
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22267
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22268
      return
22269
    iprot.readStructBegin()
22270
    while True:
22271
      (fname, ftype, fid) = iprot.readFieldBegin()
22272
      if ftype == TType.STOP:
22273
        break
22274
      else:
22275
        iprot.skip(ftype)
22276
      iprot.readFieldEnd()
22277
    iprot.readStructEnd()
22278
 
22279
  def write(self, oprot):
22280
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22281
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22282
      return
22283
    oprot.writeStructBegin('updateAmazonItemDetails_result')
22284
    oprot.writeFieldStop()
22285
    oprot.writeStructEnd()
22286
 
22287
  def validate(self):
22288
    return
22289
 
22290
 
22291
  def __repr__(self):
22292
    L = ['%s=%r' % (key, value)
22293
      for key, value in self.__dict__.iteritems()]
22294
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22295
 
22296
  def __eq__(self, other):
22297
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22298
 
22299
  def __ne__(self, other):
22300
    return not (self == other)
22301
 
22302
class addAmazonItem_args:
22303
  """
22304
  Attributes:
22305
   - amazonlisted
22306
  """
22307
 
22308
  thrift_spec = (
22309
    None, # 0
22310
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
22311
  )
22312
 
22313
  def __init__(self, amazonlisted=None,):
22314
    self.amazonlisted = amazonlisted
22315
 
22316
  def read(self, iprot):
22317
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22318
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22319
      return
22320
    iprot.readStructBegin()
22321
    while True:
22322
      (fname, ftype, fid) = iprot.readFieldBegin()
22323
      if ftype == TType.STOP:
22324
        break
22325
      if fid == 1:
22326
        if ftype == TType.STRUCT:
22327
          self.amazonlisted = Amazonlisted()
22328
          self.amazonlisted.read(iprot)
22329
        else:
22330
          iprot.skip(ftype)
22331
      else:
22332
        iprot.skip(ftype)
22333
      iprot.readFieldEnd()
22334
    iprot.readStructEnd()
22335
 
22336
  def write(self, oprot):
22337
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22338
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22339
      return
22340
    oprot.writeStructBegin('addAmazonItem_args')
22341
    if self.amazonlisted is not None:
22342
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
22343
      self.amazonlisted.write(oprot)
22344
      oprot.writeFieldEnd()
22345
    oprot.writeFieldStop()
22346
    oprot.writeStructEnd()
22347
 
22348
  def validate(self):
22349
    return
22350
 
22351
 
22352
  def __repr__(self):
22353
    L = ['%s=%r' % (key, value)
22354
      for key, value in self.__dict__.iteritems()]
22355
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22356
 
22357
  def __eq__(self, other):
22358
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22359
 
22360
  def __ne__(self, other):
22361
    return not (self == other)
22362
 
22363
class addAmazonItem_result:
22364
 
22365
  thrift_spec = (
22366
  )
22367
 
22368
  def read(self, iprot):
22369
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22370
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22371
      return
22372
    iprot.readStructBegin()
22373
    while True:
22374
      (fname, ftype, fid) = iprot.readFieldBegin()
22375
      if ftype == TType.STOP:
22376
        break
22377
      else:
22378
        iprot.skip(ftype)
22379
      iprot.readFieldEnd()
22380
    iprot.readStructEnd()
22381
 
22382
  def write(self, oprot):
22383
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22384
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22385
      return
22386
    oprot.writeStructBegin('addAmazonItem_result')
22387
    oprot.writeFieldStop()
22388
    oprot.writeStructEnd()
22389
 
22390
  def validate(self):
22391
    return
22392
 
22393
 
22394
  def __repr__(self):
22395
    L = ['%s=%r' % (key, value)
22396
      for key, value in self.__dict__.iteritems()]
22397
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22398
 
22399
  def __eq__(self, other):
22400
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22401
 
22402
  def __ne__(self, other):
22403
    return not (self == other)
7291 vikram.rag 22404
 
22405
class getAsinItems_args:
22406
 
22407
  thrift_spec = (
22408
  )
22409
 
22410
  def read(self, iprot):
22411
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22412
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22413
      return
22414
    iprot.readStructBegin()
22415
    while True:
22416
      (fname, ftype, fid) = iprot.readFieldBegin()
22417
      if ftype == TType.STOP:
22418
        break
22419
      else:
22420
        iprot.skip(ftype)
22421
      iprot.readFieldEnd()
22422
    iprot.readStructEnd()
22423
 
22424
  def write(self, oprot):
22425
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22426
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22427
      return
22428
    oprot.writeStructBegin('getAsinItems_args')
22429
    oprot.writeFieldStop()
22430
    oprot.writeStructEnd()
22431
 
22432
  def validate(self):
22433
    return
22434
 
22435
 
22436
  def __repr__(self):
22437
    L = ['%s=%r' % (key, value)
22438
      for key, value in self.__dict__.iteritems()]
22439
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22440
 
22441
  def __eq__(self, other):
22442
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22443
 
22444
  def __ne__(self, other):
22445
    return not (self == other)
22446
 
22447
class getAsinItems_result:
22448
  """
22449
  Attributes:
22450
   - success
22451
  """
22452
 
22453
  thrift_spec = (
22454
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
22455
  )
22456
 
22457
  def __init__(self, success=None,):
22458
    self.success = success
22459
 
22460
  def read(self, iprot):
22461
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22462
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22463
      return
22464
    iprot.readStructBegin()
22465
    while True:
22466
      (fname, ftype, fid) = iprot.readFieldBegin()
22467
      if ftype == TType.STOP:
22468
        break
22469
      if fid == 0:
22470
        if ftype == TType.LIST:
22471
          self.success = []
9155 kshitij.so 22472
          (_etype442, _size439) = iprot.readListBegin()
22473
          for _i443 in xrange(_size439):
22474
            _elem444 = Item()
22475
            _elem444.read(iprot)
22476
            self.success.append(_elem444)
7291 vikram.rag 22477
          iprot.readListEnd()
22478
        else:
22479
          iprot.skip(ftype)
22480
      else:
22481
        iprot.skip(ftype)
22482
      iprot.readFieldEnd()
22483
    iprot.readStructEnd()
22484
 
22485
  def write(self, oprot):
22486
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22487
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22488
      return
22489
    oprot.writeStructBegin('getAsinItems_result')
22490
    if self.success is not None:
22491
      oprot.writeFieldBegin('success', TType.LIST, 0)
22492
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 22493
      for iter445 in self.success:
22494
        iter445.write(oprot)
7291 vikram.rag 22495
      oprot.writeListEnd()
22496
      oprot.writeFieldEnd()
22497
    oprot.writeFieldStop()
22498
    oprot.writeStructEnd()
22499
 
22500
  def validate(self):
22501
    return
22502
 
22503
 
22504
  def __repr__(self):
22505
    L = ['%s=%r' % (key, value)
22506
      for key, value in self.__dict__.iteritems()]
22507
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22508
 
22509
  def __eq__(self, other):
22510
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22511
 
22512
  def __ne__(self, other):
22513
    return not (self == other)
22514
 
22515
class getAllFbaListedItems_args:
22516
 
22517
  thrift_spec = (
22518
  )
22519
 
22520
  def read(self, iprot):
22521
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22522
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22523
      return
22524
    iprot.readStructBegin()
22525
    while True:
22526
      (fname, ftype, fid) = iprot.readFieldBegin()
22527
      if ftype == TType.STOP:
22528
        break
22529
      else:
22530
        iprot.skip(ftype)
22531
      iprot.readFieldEnd()
22532
    iprot.readStructEnd()
22533
 
22534
  def write(self, oprot):
22535
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22536
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22537
      return
22538
    oprot.writeStructBegin('getAllFbaListedItems_args')
22539
    oprot.writeFieldStop()
22540
    oprot.writeStructEnd()
22541
 
22542
  def validate(self):
22543
    return
22544
 
22545
 
22546
  def __repr__(self):
22547
    L = ['%s=%r' % (key, value)
22548
      for key, value in self.__dict__.iteritems()]
22549
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22550
 
22551
  def __eq__(self, other):
22552
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22553
 
22554
  def __ne__(self, other):
22555
    return not (self == other)
22556
 
22557
class getAllFbaListedItems_result:
22558
  """
22559
  Attributes:
22560
   - success
22561
  """
22562
 
22563
  thrift_spec = (
22564
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
22565
  )
22566
 
22567
  def __init__(self, success=None,):
22568
    self.success = success
22569
 
22570
  def read(self, iprot):
22571
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22572
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22573
      return
22574
    iprot.readStructBegin()
22575
    while True:
22576
      (fname, ftype, fid) = iprot.readFieldBegin()
22577
      if ftype == TType.STOP:
22578
        break
22579
      if fid == 0:
22580
        if ftype == TType.LIST:
22581
          self.success = []
9155 kshitij.so 22582
          (_etype449, _size446) = iprot.readListBegin()
22583
          for _i450 in xrange(_size446):
22584
            _elem451 = Amazonlisted()
22585
            _elem451.read(iprot)
22586
            self.success.append(_elem451)
7291 vikram.rag 22587
          iprot.readListEnd()
22588
        else:
22589
          iprot.skip(ftype)
22590
      else:
22591
        iprot.skip(ftype)
22592
      iprot.readFieldEnd()
22593
    iprot.readStructEnd()
22594
 
22595
  def write(self, oprot):
22596
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22597
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22598
      return
22599
    oprot.writeStructBegin('getAllFbaListedItems_result')
22600
    if self.success is not None:
22601
      oprot.writeFieldBegin('success', TType.LIST, 0)
22602
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 22603
      for iter452 in self.success:
22604
        iter452.write(oprot)
7291 vikram.rag 22605
      oprot.writeListEnd()
22606
      oprot.writeFieldEnd()
22607
    oprot.writeFieldStop()
22608
    oprot.writeStructEnd()
22609
 
22610
  def validate(self):
22611
    return
22612
 
22613
 
22614
  def __repr__(self):
22615
    L = ['%s=%r' % (key, value)
22616
      for key, value in self.__dict__.iteritems()]
22617
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22618
 
22619
  def __eq__(self, other):
22620
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22621
 
22622
  def __ne__(self, other):
22623
    return not (self == other)
22624
 
22625
class getAllNonFbaListedItems_args:
22626
 
22627
  thrift_spec = (
22628
  )
22629
 
22630
  def read(self, iprot):
22631
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22632
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22633
      return
22634
    iprot.readStructBegin()
22635
    while True:
22636
      (fname, ftype, fid) = iprot.readFieldBegin()
22637
      if ftype == TType.STOP:
22638
        break
22639
      else:
22640
        iprot.skip(ftype)
22641
      iprot.readFieldEnd()
22642
    iprot.readStructEnd()
22643
 
22644
  def write(self, oprot):
22645
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22646
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22647
      return
22648
    oprot.writeStructBegin('getAllNonFbaListedItems_args')
22649
    oprot.writeFieldStop()
22650
    oprot.writeStructEnd()
22651
 
22652
  def validate(self):
22653
    return
22654
 
22655
 
22656
  def __repr__(self):
22657
    L = ['%s=%r' % (key, value)
22658
      for key, value in self.__dict__.iteritems()]
22659
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22660
 
22661
  def __eq__(self, other):
22662
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22663
 
22664
  def __ne__(self, other):
22665
    return not (self == other)
22666
 
22667
class getAllNonFbaListedItems_result:
22668
  """
22669
  Attributes:
22670
   - success
22671
  """
22672
 
22673
  thrift_spec = (
22674
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
22675
  )
22676
 
22677
  def __init__(self, success=None,):
22678
    self.success = success
22679
 
22680
  def read(self, iprot):
22681
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22682
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22683
      return
22684
    iprot.readStructBegin()
22685
    while True:
22686
      (fname, ftype, fid) = iprot.readFieldBegin()
22687
      if ftype == TType.STOP:
22688
        break
22689
      if fid == 0:
22690
        if ftype == TType.LIST:
22691
          self.success = []
9155 kshitij.so 22692
          (_etype456, _size453) = iprot.readListBegin()
22693
          for _i457 in xrange(_size453):
22694
            _elem458 = Amazonlisted()
22695
            _elem458.read(iprot)
22696
            self.success.append(_elem458)
7291 vikram.rag 22697
          iprot.readListEnd()
22698
        else:
22699
          iprot.skip(ftype)
22700
      else:
22701
        iprot.skip(ftype)
22702
      iprot.readFieldEnd()
22703
    iprot.readStructEnd()
22704
 
22705
  def write(self, oprot):
22706
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22707
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22708
      return
22709
    oprot.writeStructBegin('getAllNonFbaListedItems_result')
22710
    if self.success is not None:
22711
      oprot.writeFieldBegin('success', TType.LIST, 0)
22712
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 22713
      for iter459 in self.success:
22714
        iter459.write(oprot)
7291 vikram.rag 22715
      oprot.writeListEnd()
22716
      oprot.writeFieldEnd()
22717
    oprot.writeFieldStop()
22718
    oprot.writeStructEnd()
22719
 
22720
  def validate(self):
22721
    return
22722
 
22723
 
22724
  def __repr__(self):
22725
    L = ['%s=%r' % (key, value)
22726
      for key, value in self.__dict__.iteritems()]
22727
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22728
 
22729
  def __eq__(self, other):
22730
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22731
 
22732
  def __ne__(self, other):
22733
    return not (self == other)
7460 kshitij.so 22734
 
22735
class updateItemInventory_args:
22736
  """
22737
  Attributes:
22738
   - itemId
22739
   - holdInventory
22740
   - defaultInventory
22741
  """
22742
 
22743
  thrift_spec = (
22744
    None, # 0
22745
    (1, TType.I64, 'itemId', None, None, ), # 1
22746
    (2, TType.I64, 'holdInventory', None, None, ), # 2
22747
    (3, TType.I64, 'defaultInventory', None, None, ), # 3
22748
  )
22749
 
22750
  def __init__(self, itemId=None, holdInventory=None, defaultInventory=None,):
22751
    self.itemId = itemId
22752
    self.holdInventory = holdInventory
22753
    self.defaultInventory = defaultInventory
22754
 
22755
  def read(self, iprot):
22756
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22757
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22758
      return
22759
    iprot.readStructBegin()
22760
    while True:
22761
      (fname, ftype, fid) = iprot.readFieldBegin()
22762
      if ftype == TType.STOP:
22763
        break
22764
      if fid == 1:
22765
        if ftype == TType.I64:
22766
          self.itemId = iprot.readI64();
22767
        else:
22768
          iprot.skip(ftype)
22769
      elif fid == 2:
22770
        if ftype == TType.I64:
22771
          self.holdInventory = iprot.readI64();
22772
        else:
22773
          iprot.skip(ftype)
22774
      elif fid == 3:
22775
        if ftype == TType.I64:
22776
          self.defaultInventory = iprot.readI64();
22777
        else:
22778
          iprot.skip(ftype)
22779
      else:
22780
        iprot.skip(ftype)
22781
      iprot.readFieldEnd()
22782
    iprot.readStructEnd()
22783
 
22784
  def write(self, oprot):
22785
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22786
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22787
      return
22788
    oprot.writeStructBegin('updateItemInventory_args')
22789
    if self.itemId is not None:
22790
      oprot.writeFieldBegin('itemId', TType.I64, 1)
22791
      oprot.writeI64(self.itemId)
22792
      oprot.writeFieldEnd()
22793
    if self.holdInventory is not None:
22794
      oprot.writeFieldBegin('holdInventory', TType.I64, 2)
22795
      oprot.writeI64(self.holdInventory)
22796
      oprot.writeFieldEnd()
22797
    if self.defaultInventory is not None:
22798
      oprot.writeFieldBegin('defaultInventory', TType.I64, 3)
22799
      oprot.writeI64(self.defaultInventory)
22800
      oprot.writeFieldEnd()
22801
    oprot.writeFieldStop()
22802
    oprot.writeStructEnd()
22803
 
22804
  def validate(self):
22805
    return
22806
 
22807
 
22808
  def __repr__(self):
22809
    L = ['%s=%r' % (key, value)
22810
      for key, value in self.__dict__.iteritems()]
22811
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22812
 
22813
  def __eq__(self, other):
22814
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22815
 
22816
  def __ne__(self, other):
22817
    return not (self == other)
22818
 
22819
class updateItemInventory_result:
22820
  """
22821
  Attributes:
22822
   - success
22823
  """
22824
 
22825
  thrift_spec = (
22826
    (0, TType.BOOL, 'success', None, None, ), # 0
22827
  )
22828
 
22829
  def __init__(self, success=None,):
22830
    self.success = success
22831
 
22832
  def read(self, iprot):
22833
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22834
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22835
      return
22836
    iprot.readStructBegin()
22837
    while True:
22838
      (fname, ftype, fid) = iprot.readFieldBegin()
22839
      if ftype == TType.STOP:
22840
        break
22841
      if fid == 0:
22842
        if ftype == TType.BOOL:
22843
          self.success = iprot.readBool();
22844
        else:
22845
          iprot.skip(ftype)
22846
      else:
22847
        iprot.skip(ftype)
22848
      iprot.readFieldEnd()
22849
    iprot.readStructEnd()
22850
 
22851
  def write(self, oprot):
22852
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22853
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22854
      return
22855
    oprot.writeStructBegin('updateItemInventory_result')
22856
    if self.success is not None:
22857
      oprot.writeFieldBegin('success', TType.BOOL, 0)
22858
      oprot.writeBool(self.success)
22859
      oprot.writeFieldEnd()
22860
    oprot.writeFieldStop()
22861
    oprot.writeStructEnd()
22862
 
22863
  def validate(self):
22864
    return
22865
 
22866
 
22867
  def __repr__(self):
22868
    L = ['%s=%r' % (key, value)
22869
      for key, value in self.__dict__.iteritems()]
22870
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22871
 
22872
  def __eq__(self, other):
22873
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22874
 
22875
  def __ne__(self, other):
22876
    return not (self == other)
7770 kshitij.so 22877
 
22878
class updateTimestampForAmazonFeeds_args:
22879
  """
22880
  Attributes:
22881
   - type
22882
   - sku
22883
   - timestamp
22884
  """
22885
 
22886
  thrift_spec = (
22887
    None, # 0
22888
    (1, TType.STRING, 'type', None, None, ), # 1
22889
    (2, TType.LIST, 'sku', (TType.I64,None), None, ), # 2
22890
    (3, TType.I64, 'timestamp', None, None, ), # 3
22891
  )
22892
 
22893
  def __init__(self, type=None, sku=None, timestamp=None,):
22894
    self.type = type
22895
    self.sku = sku
22896
    self.timestamp = timestamp
22897
 
22898
  def read(self, iprot):
22899
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22900
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22901
      return
22902
    iprot.readStructBegin()
22903
    while True:
22904
      (fname, ftype, fid) = iprot.readFieldBegin()
22905
      if ftype == TType.STOP:
22906
        break
22907
      if fid == 1:
22908
        if ftype == TType.STRING:
22909
          self.type = iprot.readString();
22910
        else:
22911
          iprot.skip(ftype)
22912
      elif fid == 2:
22913
        if ftype == TType.LIST:
22914
          self.sku = []
9155 kshitij.so 22915
          (_etype463, _size460) = iprot.readListBegin()
22916
          for _i464 in xrange(_size460):
22917
            _elem465 = iprot.readI64();
22918
            self.sku.append(_elem465)
7770 kshitij.so 22919
          iprot.readListEnd()
22920
        else:
22921
          iprot.skip(ftype)
22922
      elif fid == 3:
22923
        if ftype == TType.I64:
22924
          self.timestamp = iprot.readI64();
22925
        else:
22926
          iprot.skip(ftype)
22927
      else:
22928
        iprot.skip(ftype)
22929
      iprot.readFieldEnd()
22930
    iprot.readStructEnd()
22931
 
22932
  def write(self, oprot):
22933
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22934
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22935
      return
22936
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_args')
22937
    if self.type is not None:
22938
      oprot.writeFieldBegin('type', TType.STRING, 1)
22939
      oprot.writeString(self.type)
22940
      oprot.writeFieldEnd()
22941
    if self.sku is not None:
22942
      oprot.writeFieldBegin('sku', TType.LIST, 2)
22943
      oprot.writeListBegin(TType.I64, len(self.sku))
9155 kshitij.so 22944
      for iter466 in self.sku:
22945
        oprot.writeI64(iter466)
7770 kshitij.so 22946
      oprot.writeListEnd()
22947
      oprot.writeFieldEnd()
22948
    if self.timestamp is not None:
22949
      oprot.writeFieldBegin('timestamp', TType.I64, 3)
22950
      oprot.writeI64(self.timestamp)
22951
      oprot.writeFieldEnd()
22952
    oprot.writeFieldStop()
22953
    oprot.writeStructEnd()
22954
 
22955
  def validate(self):
22956
    return
22957
 
22958
 
22959
  def __repr__(self):
22960
    L = ['%s=%r' % (key, value)
22961
      for key, value in self.__dict__.iteritems()]
22962
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22963
 
22964
  def __eq__(self, other):
22965
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22966
 
22967
  def __ne__(self, other):
22968
    return not (self == other)
22969
 
22970
class updateTimestampForAmazonFeeds_result:
22971
  """
22972
  Attributes:
22973
   - success
22974
  """
22975
 
22976
  thrift_spec = (
22977
    (0, TType.BOOL, 'success', None, None, ), # 0
22978
  )
22979
 
22980
  def __init__(self, success=None,):
22981
    self.success = success
22982
 
22983
  def read(self, iprot):
22984
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22985
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22986
      return
22987
    iprot.readStructBegin()
22988
    while True:
22989
      (fname, ftype, fid) = iprot.readFieldBegin()
22990
      if ftype == TType.STOP:
22991
        break
22992
      if fid == 0:
22993
        if ftype == TType.BOOL:
22994
          self.success = iprot.readBool();
22995
        else:
22996
          iprot.skip(ftype)
22997
      else:
22998
        iprot.skip(ftype)
22999
      iprot.readFieldEnd()
23000
    iprot.readStructEnd()
23001
 
23002
  def write(self, oprot):
23003
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23004
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23005
      return
23006
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_result')
23007
    if self.success is not None:
23008
      oprot.writeFieldBegin('success', TType.BOOL, 0)
23009
      oprot.writeBool(self.success)
23010
      oprot.writeFieldEnd()
23011
    oprot.writeFieldStop()
23012
    oprot.writeStructEnd()
23013
 
23014
  def validate(self):
23015
    return
23016
 
23017
 
23018
  def __repr__(self):
23019
    L = ['%s=%r' % (key, value)
23020
      for key, value in self.__dict__.iteritems()]
23021
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23022
 
23023
  def __eq__(self, other):
23024
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23025
 
23026
  def __ne__(self, other):
23027
    return not (self == other)
7897 amar.kumar 23028
 
23029
class getAllParentCategories_args:
23030
 
23031
  thrift_spec = (
23032
  )
23033
 
23034
  def read(self, iprot):
23035
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23036
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23037
      return
23038
    iprot.readStructBegin()
23039
    while True:
23040
      (fname, ftype, fid) = iprot.readFieldBegin()
23041
      if ftype == TType.STOP:
23042
        break
23043
      else:
23044
        iprot.skip(ftype)
23045
      iprot.readFieldEnd()
23046
    iprot.readStructEnd()
23047
 
23048
  def write(self, oprot):
23049
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23050
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23051
      return
23052
    oprot.writeStructBegin('getAllParentCategories_args')
23053
    oprot.writeFieldStop()
23054
    oprot.writeStructEnd()
23055
 
23056
  def validate(self):
23057
    return
23058
 
23059
 
23060
  def __repr__(self):
23061
    L = ['%s=%r' % (key, value)
23062
      for key, value in self.__dict__.iteritems()]
23063
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23064
 
23065
  def __eq__(self, other):
23066
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23067
 
23068
  def __ne__(self, other):
23069
    return not (self == other)
23070
 
23071
class getAllParentCategories_result:
23072
  """
23073
  Attributes:
23074
   - success
23075
  """
23076
 
23077
  thrift_spec = (
23078
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
23079
  )
23080
 
23081
  def __init__(self, success=None,):
23082
    self.success = success
23083
 
23084
  def read(self, iprot):
23085
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23086
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23087
      return
23088
    iprot.readStructBegin()
23089
    while True:
23090
      (fname, ftype, fid) = iprot.readFieldBegin()
23091
      if ftype == TType.STOP:
23092
        break
23093
      if fid == 0:
23094
        if ftype == TType.LIST:
23095
          self.success = []
9155 kshitij.so 23096
          (_etype470, _size467) = iprot.readListBegin()
23097
          for _i471 in xrange(_size467):
23098
            _elem472 = Category()
23099
            _elem472.read(iprot)
23100
            self.success.append(_elem472)
7897 amar.kumar 23101
          iprot.readListEnd()
23102
        else:
23103
          iprot.skip(ftype)
23104
      else:
23105
        iprot.skip(ftype)
23106
      iprot.readFieldEnd()
23107
    iprot.readStructEnd()
23108
 
23109
  def write(self, oprot):
23110
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23111
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23112
      return
23113
    oprot.writeStructBegin('getAllParentCategories_result')
23114
    if self.success is not None:
23115
      oprot.writeFieldBegin('success', TType.LIST, 0)
23116
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 23117
      for iter473 in self.success:
23118
        iter473.write(oprot)
7897 amar.kumar 23119
      oprot.writeListEnd()
23120
      oprot.writeFieldEnd()
23121
    oprot.writeFieldStop()
23122
    oprot.writeStructEnd()
23123
 
23124
  def validate(self):
23125
    return
23126
 
23127
 
23128
  def __repr__(self):
23129
    L = ['%s=%r' % (key, value)
23130
      for key, value in self.__dict__.iteritems()]
23131
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23132
 
23133
  def __eq__(self, other):
23134
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23135
 
23136
  def __ne__(self, other):
23137
    return not (self == other)
7977 kshitij.so 23138
 
23139
class addPageViewEvent_args:
23140
  """
23141
  Attributes:
23142
   - pageViewEvents
23143
  """
23144
 
23145
  thrift_spec = (
23146
    None, # 0
23147
    (1, TType.STRUCT, 'pageViewEvents', (PageViewEvents, PageViewEvents.thrift_spec), None, ), # 1
23148
  )
23149
 
23150
  def __init__(self, pageViewEvents=None,):
23151
    self.pageViewEvents = pageViewEvents
23152
 
23153
  def read(self, iprot):
23154
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23155
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23156
      return
23157
    iprot.readStructBegin()
23158
    while True:
23159
      (fname, ftype, fid) = iprot.readFieldBegin()
23160
      if ftype == TType.STOP:
23161
        break
23162
      if fid == 1:
23163
        if ftype == TType.STRUCT:
23164
          self.pageViewEvents = PageViewEvents()
23165
          self.pageViewEvents.read(iprot)
23166
        else:
23167
          iprot.skip(ftype)
23168
      else:
23169
        iprot.skip(ftype)
23170
      iprot.readFieldEnd()
23171
    iprot.readStructEnd()
23172
 
23173
  def write(self, oprot):
23174
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23175
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23176
      return
23177
    oprot.writeStructBegin('addPageViewEvent_args')
23178
    if self.pageViewEvents is not None:
23179
      oprot.writeFieldBegin('pageViewEvents', TType.STRUCT, 1)
23180
      self.pageViewEvents.write(oprot)
23181
      oprot.writeFieldEnd()
23182
    oprot.writeFieldStop()
23183
    oprot.writeStructEnd()
23184
 
23185
  def validate(self):
23186
    return
23187
 
23188
 
23189
  def __repr__(self):
23190
    L = ['%s=%r' % (key, value)
23191
      for key, value in self.__dict__.iteritems()]
23192
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23193
 
23194
  def __eq__(self, other):
23195
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23196
 
23197
  def __ne__(self, other):
23198
    return not (self == other)
23199
 
23200
class addPageViewEvent_result:
23201
 
23202
  thrift_spec = (
23203
  )
23204
 
23205
  def read(self, iprot):
23206
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23207
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23208
      return
23209
    iprot.readStructBegin()
23210
    while True:
23211
      (fname, ftype, fid) = iprot.readFieldBegin()
23212
      if ftype == TType.STOP:
23213
        break
23214
      else:
23215
        iprot.skip(ftype)
23216
      iprot.readFieldEnd()
23217
    iprot.readStructEnd()
23218
 
23219
  def write(self, oprot):
23220
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23221
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23222
      return
23223
    oprot.writeStructBegin('addPageViewEvent_result')
23224
    oprot.writeFieldStop()
23225
    oprot.writeStructEnd()
23226
 
23227
  def validate(self):
23228
    return
23229
 
23230
 
23231
  def __repr__(self):
23232
    L = ['%s=%r' % (key, value)
23233
      for key, value in self.__dict__.iteritems()]
23234
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23235
 
23236
  def __eq__(self, other):
23237
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23238
 
23239
  def __ne__(self, other):
23240
    return not (self == other)
23241
 
23242
class addCartEvent_args:
23243
  """
23244
  Attributes:
23245
   - cartEvents
23246
  """
23247
 
23248
  thrift_spec = (
23249
    None, # 0
23250
    (1, TType.STRUCT, 'cartEvents', (CartEvents, CartEvents.thrift_spec), None, ), # 1
23251
  )
23252
 
23253
  def __init__(self, cartEvents=None,):
23254
    self.cartEvents = cartEvents
23255
 
23256
  def read(self, iprot):
23257
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23258
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23259
      return
23260
    iprot.readStructBegin()
23261
    while True:
23262
      (fname, ftype, fid) = iprot.readFieldBegin()
23263
      if ftype == TType.STOP:
23264
        break
23265
      if fid == 1:
23266
        if ftype == TType.STRUCT:
23267
          self.cartEvents = CartEvents()
23268
          self.cartEvents.read(iprot)
23269
        else:
23270
          iprot.skip(ftype)
23271
      else:
23272
        iprot.skip(ftype)
23273
      iprot.readFieldEnd()
23274
    iprot.readStructEnd()
23275
 
23276
  def write(self, oprot):
23277
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23278
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23279
      return
23280
    oprot.writeStructBegin('addCartEvent_args')
23281
    if self.cartEvents is not None:
23282
      oprot.writeFieldBegin('cartEvents', TType.STRUCT, 1)
23283
      self.cartEvents.write(oprot)
23284
      oprot.writeFieldEnd()
23285
    oprot.writeFieldStop()
23286
    oprot.writeStructEnd()
23287
 
23288
  def validate(self):
23289
    return
23290
 
23291
 
23292
  def __repr__(self):
23293
    L = ['%s=%r' % (key, value)
23294
      for key, value in self.__dict__.iteritems()]
23295
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23296
 
23297
  def __eq__(self, other):
23298
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23299
 
23300
  def __ne__(self, other):
23301
    return not (self == other)
23302
 
23303
class addCartEvent_result:
23304
 
23305
  thrift_spec = (
23306
  )
23307
 
23308
  def read(self, iprot):
23309
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23310
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23311
      return
23312
    iprot.readStructBegin()
23313
    while True:
23314
      (fname, ftype, fid) = iprot.readFieldBegin()
23315
      if ftype == TType.STOP:
23316
        break
23317
      else:
23318
        iprot.skip(ftype)
23319
      iprot.readFieldEnd()
23320
    iprot.readStructEnd()
23321
 
23322
  def write(self, oprot):
23323
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23324
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23325
      return
23326
    oprot.writeStructBegin('addCartEvent_result')
23327
    oprot.writeFieldStop()
23328
    oprot.writeStructEnd()
23329
 
23330
  def validate(self):
23331
    return
23332
 
23333
 
23334
  def __repr__(self):
23335
    L = ['%s=%r' % (key, value)
23336
      for key, value in self.__dict__.iteritems()]
23337
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23338
 
23339
  def __eq__(self, other):
23340
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23341
 
23342
  def __ne__(self, other):
23343
    return not (self == other)
8139 kshitij.so 23344
 
8182 amar.kumar 23345
class addEbayItem_args:
23346
  """
23347
  Attributes:
23348
   - ebayItem
23349
  """
23350
 
23351
  thrift_spec = (
23352
    None, # 0
23353
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
23354
  )
23355
 
23356
  def __init__(self, ebayItem=None,):
23357
    self.ebayItem = ebayItem
23358
 
23359
  def read(self, iprot):
23360
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23361
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23362
      return
23363
    iprot.readStructBegin()
23364
    while True:
23365
      (fname, ftype, fid) = iprot.readFieldBegin()
23366
      if ftype == TType.STOP:
23367
        break
23368
      if fid == 1:
23369
        if ftype == TType.STRUCT:
23370
          self.ebayItem = EbayItem()
23371
          self.ebayItem.read(iprot)
23372
        else:
23373
          iprot.skip(ftype)
23374
      else:
23375
        iprot.skip(ftype)
23376
      iprot.readFieldEnd()
23377
    iprot.readStructEnd()
23378
 
23379
  def write(self, oprot):
23380
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23381
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23382
      return
23383
    oprot.writeStructBegin('addEbayItem_args')
23384
    if self.ebayItem is not None:
23385
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
23386
      self.ebayItem.write(oprot)
23387
      oprot.writeFieldEnd()
23388
    oprot.writeFieldStop()
23389
    oprot.writeStructEnd()
23390
 
23391
  def validate(self):
23392
    return
23393
 
23394
 
23395
  def __repr__(self):
23396
    L = ['%s=%r' % (key, value)
23397
      for key, value in self.__dict__.iteritems()]
23398
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23399
 
23400
  def __eq__(self, other):
23401
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23402
 
23403
  def __ne__(self, other):
23404
    return not (self == other)
23405
 
23406
class addEbayItem_result:
23407
 
23408
  thrift_spec = (
23409
  )
23410
 
23411
  def read(self, iprot):
23412
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23413
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23414
      return
23415
    iprot.readStructBegin()
23416
    while True:
23417
      (fname, ftype, fid) = iprot.readFieldBegin()
23418
      if ftype == TType.STOP:
23419
        break
23420
      else:
23421
        iprot.skip(ftype)
23422
      iprot.readFieldEnd()
23423
    iprot.readStructEnd()
23424
 
23425
  def write(self, oprot):
23426
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23427
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23428
      return
23429
    oprot.writeStructBegin('addEbayItem_result')
23430
    oprot.writeFieldStop()
23431
    oprot.writeStructEnd()
23432
 
23433
  def validate(self):
23434
    return
23435
 
23436
 
23437
  def __repr__(self):
23438
    L = ['%s=%r' % (key, value)
23439
      for key, value in self.__dict__.iteritems()]
23440
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23441
 
23442
  def __eq__(self, other):
23443
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23444
 
23445
  def __ne__(self, other):
23446
    return not (self == other)
23447
 
23448
class getEbayItem_args:
23449
  """
23450
  Attributes:
23451
   - listingId
23452
  """
23453
 
23454
  thrift_spec = (
23455
    None, # 0
23456
    (1, TType.STRING, 'listingId', None, None, ), # 1
23457
  )
23458
 
23459
  def __init__(self, listingId=None,):
23460
    self.listingId = listingId
23461
 
23462
  def read(self, iprot):
23463
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23464
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23465
      return
23466
    iprot.readStructBegin()
23467
    while True:
23468
      (fname, ftype, fid) = iprot.readFieldBegin()
23469
      if ftype == TType.STOP:
23470
        break
23471
      if fid == 1:
23472
        if ftype == TType.STRING:
23473
          self.listingId = iprot.readString();
23474
        else:
23475
          iprot.skip(ftype)
23476
      else:
23477
        iprot.skip(ftype)
23478
      iprot.readFieldEnd()
23479
    iprot.readStructEnd()
23480
 
23481
  def write(self, oprot):
23482
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23483
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23484
      return
23485
    oprot.writeStructBegin('getEbayItem_args')
23486
    if self.listingId is not None:
23487
      oprot.writeFieldBegin('listingId', TType.STRING, 1)
23488
      oprot.writeString(self.listingId)
23489
      oprot.writeFieldEnd()
23490
    oprot.writeFieldStop()
23491
    oprot.writeStructEnd()
23492
 
23493
  def validate(self):
23494
    return
23495
 
23496
 
23497
  def __repr__(self):
23498
    L = ['%s=%r' % (key, value)
23499
      for key, value in self.__dict__.iteritems()]
23500
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23501
 
23502
  def __eq__(self, other):
23503
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23504
 
23505
  def __ne__(self, other):
23506
    return not (self == other)
23507
 
23508
class getEbayItem_result:
23509
  """
23510
  Attributes:
23511
   - success
23512
  """
23513
 
23514
  thrift_spec = (
23515
    (0, TType.STRUCT, 'success', (EbayItem, EbayItem.thrift_spec), None, ), # 0
23516
  )
23517
 
23518
  def __init__(self, success=None,):
23519
    self.success = success
23520
 
23521
  def read(self, iprot):
23522
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23523
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23524
      return
23525
    iprot.readStructBegin()
23526
    while True:
23527
      (fname, ftype, fid) = iprot.readFieldBegin()
23528
      if ftype == TType.STOP:
23529
        break
23530
      if fid == 0:
23531
        if ftype == TType.STRUCT:
23532
          self.success = EbayItem()
23533
          self.success.read(iprot)
23534
        else:
23535
          iprot.skip(ftype)
23536
      else:
23537
        iprot.skip(ftype)
23538
      iprot.readFieldEnd()
23539
    iprot.readStructEnd()
23540
 
23541
  def write(self, oprot):
23542
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23543
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23544
      return
23545
    oprot.writeStructBegin('getEbayItem_result')
23546
    if self.success is not None:
23547
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
23548
      self.success.write(oprot)
23549
      oprot.writeFieldEnd()
23550
    oprot.writeFieldStop()
23551
    oprot.writeStructEnd()
23552
 
23553
  def validate(self):
23554
    return
23555
 
23556
 
23557
  def __repr__(self):
23558
    L = ['%s=%r' % (key, value)
23559
      for key, value in self.__dict__.iteritems()]
23560
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23561
 
23562
  def __eq__(self, other):
23563
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23564
 
23565
  def __ne__(self, other):
23566
    return not (self == other)
23567
 
23568
class updateEbayItem_args:
23569
  """
23570
  Attributes:
23571
   - ebayItem
23572
  """
23573
 
23574
  thrift_spec = (
23575
    None, # 0
23576
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
23577
  )
23578
 
23579
  def __init__(self, ebayItem=None,):
23580
    self.ebayItem = ebayItem
23581
 
23582
  def read(self, iprot):
23583
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23584
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23585
      return
23586
    iprot.readStructBegin()
23587
    while True:
23588
      (fname, ftype, fid) = iprot.readFieldBegin()
23589
      if ftype == TType.STOP:
23590
        break
23591
      if fid == 1:
23592
        if ftype == TType.STRUCT:
23593
          self.ebayItem = EbayItem()
23594
          self.ebayItem.read(iprot)
23595
        else:
23596
          iprot.skip(ftype)
23597
      else:
23598
        iprot.skip(ftype)
23599
      iprot.readFieldEnd()
23600
    iprot.readStructEnd()
23601
 
23602
  def write(self, oprot):
23603
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23604
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23605
      return
23606
    oprot.writeStructBegin('updateEbayItem_args')
23607
    if self.ebayItem is not None:
23608
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
23609
      self.ebayItem.write(oprot)
23610
      oprot.writeFieldEnd()
23611
    oprot.writeFieldStop()
23612
    oprot.writeStructEnd()
23613
 
23614
  def validate(self):
23615
    return
23616
 
23617
 
23618
  def __repr__(self):
23619
    L = ['%s=%r' % (key, value)
23620
      for key, value in self.__dict__.iteritems()]
23621
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23622
 
23623
  def __eq__(self, other):
23624
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23625
 
23626
  def __ne__(self, other):
23627
    return not (self == other)
23628
 
23629
class updateEbayItem_result:
23630
 
23631
  thrift_spec = (
23632
  )
23633
 
23634
  def read(self, iprot):
23635
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23636
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23637
      return
23638
    iprot.readStructBegin()
23639
    while True:
23640
      (fname, ftype, fid) = iprot.readFieldBegin()
23641
      if ftype == TType.STOP:
23642
        break
23643
      else:
23644
        iprot.skip(ftype)
23645
      iprot.readFieldEnd()
23646
    iprot.readStructEnd()
23647
 
23648
  def write(self, oprot):
23649
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23650
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23651
      return
23652
    oprot.writeStructBegin('updateEbayItem_result')
23653
    oprot.writeFieldStop()
23654
    oprot.writeStructEnd()
23655
 
23656
  def validate(self):
23657
    return
23658
 
23659
 
23660
  def __repr__(self):
23661
    L = ['%s=%r' % (key, value)
23662
      for key, value in self.__dict__.iteritems()]
23663
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23664
 
23665
  def __eq__(self, other):
23666
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23667
 
23668
  def __ne__(self, other):
23669
    return not (self == other)
23670
 
8139 kshitij.so 23671
class getAmazonListedItems_args:
23672
  """
23673
  Attributes:
23674
   - offset
23675
   - limit
23676
  """
23677
 
23678
  thrift_spec = (
23679
    None, # 0
23680
    (1, TType.I64, 'offset', None, None, ), # 1
23681
    (2, TType.I64, 'limit', None, None, ), # 2
23682
  )
23683
 
23684
  def __init__(self, offset=None, limit=None,):
23685
    self.offset = offset
23686
    self.limit = limit
23687
 
23688
  def read(self, iprot):
23689
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23690
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23691
      return
23692
    iprot.readStructBegin()
23693
    while True:
23694
      (fname, ftype, fid) = iprot.readFieldBegin()
23695
      if ftype == TType.STOP:
23696
        break
23697
      if fid == 1:
23698
        if ftype == TType.I64:
23699
          self.offset = iprot.readI64();
23700
        else:
23701
          iprot.skip(ftype)
23702
      elif fid == 2:
23703
        if ftype == TType.I64:
23704
          self.limit = iprot.readI64();
23705
        else:
23706
          iprot.skip(ftype)
23707
      else:
23708
        iprot.skip(ftype)
23709
      iprot.readFieldEnd()
23710
    iprot.readStructEnd()
23711
 
23712
  def write(self, oprot):
23713
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23714
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23715
      return
23716
    oprot.writeStructBegin('getAmazonListedItems_args')
23717
    if self.offset is not None:
23718
      oprot.writeFieldBegin('offset', TType.I64, 1)
23719
      oprot.writeI64(self.offset)
23720
      oprot.writeFieldEnd()
23721
    if self.limit is not None:
23722
      oprot.writeFieldBegin('limit', TType.I64, 2)
23723
      oprot.writeI64(self.limit)
23724
      oprot.writeFieldEnd()
23725
    oprot.writeFieldStop()
23726
    oprot.writeStructEnd()
23727
 
23728
  def validate(self):
23729
    return
23730
 
23731
 
23732
  def __repr__(self):
23733
    L = ['%s=%r' % (key, value)
23734
      for key, value in self.__dict__.iteritems()]
23735
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23736
 
23737
  def __eq__(self, other):
23738
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23739
 
23740
  def __ne__(self, other):
23741
    return not (self == other)
23742
 
23743
class getAmazonListedItems_result:
23744
  """
23745
  Attributes:
23746
   - success
23747
  """
23748
 
23749
  thrift_spec = (
23750
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23751
  )
23752
 
23753
  def __init__(self, success=None,):
23754
    self.success = success
23755
 
23756
  def read(self, iprot):
23757
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23758
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23759
      return
23760
    iprot.readStructBegin()
23761
    while True:
23762
      (fname, ftype, fid) = iprot.readFieldBegin()
23763
      if ftype == TType.STOP:
23764
        break
23765
      if fid == 0:
23766
        if ftype == TType.LIST:
23767
          self.success = []
9155 kshitij.so 23768
          (_etype477, _size474) = iprot.readListBegin()
23769
          for _i478 in xrange(_size474):
23770
            _elem479 = Amazonlisted()
23771
            _elem479.read(iprot)
23772
            self.success.append(_elem479)
8139 kshitij.so 23773
          iprot.readListEnd()
23774
        else:
23775
          iprot.skip(ftype)
23776
      else:
23777
        iprot.skip(ftype)
23778
      iprot.readFieldEnd()
23779
    iprot.readStructEnd()
23780
 
23781
  def write(self, oprot):
23782
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23783
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23784
      return
23785
    oprot.writeStructBegin('getAmazonListedItems_result')
23786
    if self.success is not None:
23787
      oprot.writeFieldBegin('success', TType.LIST, 0)
23788
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 23789
      for iter480 in self.success:
23790
        iter480.write(oprot)
8139 kshitij.so 23791
      oprot.writeListEnd()
23792
      oprot.writeFieldEnd()
23793
    oprot.writeFieldStop()
23794
    oprot.writeStructEnd()
23795
 
23796
  def validate(self):
23797
    return
23798
 
23799
 
23800
  def __repr__(self):
23801
    L = ['%s=%r' % (key, value)
23802
      for key, value in self.__dict__.iteritems()]
23803
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23804
 
23805
  def __eq__(self, other):
23806
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23807
 
23808
  def __ne__(self, other):
23809
    return not (self == other)
8168 kshitij.so 23810
 
23811
class updateAmazonAttributesInBulk_args:
23812
  """
23813
  Attributes:
23814
   - amazonlisted
23815
  """
23816
 
23817
  thrift_spec = (
23818
    None, # 0
23819
    (1, TType.MAP, 'amazonlisted', (TType.I64,None,TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 1
23820
  )
23821
 
23822
  def __init__(self, amazonlisted=None,):
23823
    self.amazonlisted = amazonlisted
23824
 
23825
  def read(self, iprot):
23826
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23827
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23828
      return
23829
    iprot.readStructBegin()
23830
    while True:
23831
      (fname, ftype, fid) = iprot.readFieldBegin()
23832
      if ftype == TType.STOP:
23833
        break
23834
      if fid == 1:
23835
        if ftype == TType.MAP:
23836
          self.amazonlisted = {}
9155 kshitij.so 23837
          (_ktype482, _vtype483, _size481 ) = iprot.readMapBegin() 
23838
          for _i485 in xrange(_size481):
23839
            _key486 = iprot.readI64();
23840
            _val487 = Amazonlisted()
23841
            _val487.read(iprot)
23842
            self.amazonlisted[_key486] = _val487
8168 kshitij.so 23843
          iprot.readMapEnd()
23844
        else:
23845
          iprot.skip(ftype)
23846
      else:
23847
        iprot.skip(ftype)
23848
      iprot.readFieldEnd()
23849
    iprot.readStructEnd()
23850
 
23851
  def write(self, oprot):
23852
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23853
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23854
      return
23855
    oprot.writeStructBegin('updateAmazonAttributesInBulk_args')
23856
    if self.amazonlisted is not None:
23857
      oprot.writeFieldBegin('amazonlisted', TType.MAP, 1)
23858
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.amazonlisted))
9155 kshitij.so 23859
      for kiter488,viter489 in self.amazonlisted.items():
23860
        oprot.writeI64(kiter488)
23861
        viter489.write(oprot)
8168 kshitij.so 23862
      oprot.writeMapEnd()
23863
      oprot.writeFieldEnd()
23864
    oprot.writeFieldStop()
23865
    oprot.writeStructEnd()
23866
 
23867
  def validate(self):
23868
    return
23869
 
23870
 
23871
  def __repr__(self):
23872
    L = ['%s=%r' % (key, value)
23873
      for key, value in self.__dict__.iteritems()]
23874
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23875
 
23876
  def __eq__(self, other):
23877
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23878
 
23879
  def __ne__(self, other):
23880
    return not (self == other)
23881
 
23882
class updateAmazonAttributesInBulk_result:
23883
  """
23884
  Attributes:
23885
   - success
23886
  """
23887
 
23888
  thrift_spec = (
23889
    (0, TType.BOOL, 'success', None, None, ), # 0
23890
  )
23891
 
23892
  def __init__(self, success=None,):
23893
    self.success = success
23894
 
23895
  def read(self, iprot):
23896
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23897
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23898
      return
23899
    iprot.readStructBegin()
23900
    while True:
23901
      (fname, ftype, fid) = iprot.readFieldBegin()
23902
      if ftype == TType.STOP:
23903
        break
23904
      if fid == 0:
23905
        if ftype == TType.BOOL:
23906
          self.success = iprot.readBool();
23907
        else:
23908
          iprot.skip(ftype)
23909
      else:
23910
        iprot.skip(ftype)
23911
      iprot.readFieldEnd()
23912
    iprot.readStructEnd()
23913
 
23914
  def write(self, oprot):
23915
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23916
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23917
      return
23918
    oprot.writeStructBegin('updateAmazonAttributesInBulk_result')
23919
    if self.success is not None:
23920
      oprot.writeFieldBegin('success', TType.BOOL, 0)
23921
      oprot.writeBool(self.success)
23922
      oprot.writeFieldEnd()
23923
    oprot.writeFieldStop()
23924
    oprot.writeStructEnd()
23925
 
23926
  def validate(self):
23927
    return
23928
 
23929
 
23930
  def __repr__(self):
23931
    L = ['%s=%r' % (key, value)
23932
      for key, value in self.__dict__.iteritems()]
23933
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23934
 
23935
  def __eq__(self, other):
23936
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23937
 
23938
  def __ne__(self, other):
23939
    return not (self == other)
8379 vikram.rag 23940
 
23941
class getAllItemstoListOnFba_args:
23942
 
23943
  thrift_spec = (
23944
  )
23945
 
23946
  def read(self, iprot):
23947
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23948
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23949
      return
23950
    iprot.readStructBegin()
23951
    while True:
23952
      (fname, ftype, fid) = iprot.readFieldBegin()
23953
      if ftype == TType.STOP:
23954
        break
23955
      else:
23956
        iprot.skip(ftype)
23957
      iprot.readFieldEnd()
23958
    iprot.readStructEnd()
23959
 
23960
  def write(self, oprot):
23961
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23962
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23963
      return
23964
    oprot.writeStructBegin('getAllItemstoListOnFba_args')
23965
    oprot.writeFieldStop()
23966
    oprot.writeStructEnd()
23967
 
23968
  def validate(self):
23969
    return
23970
 
23971
 
23972
  def __repr__(self):
23973
    L = ['%s=%r' % (key, value)
23974
      for key, value in self.__dict__.iteritems()]
23975
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23976
 
23977
  def __eq__(self, other):
23978
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23979
 
23980
  def __ne__(self, other):
23981
    return not (self == other)
23982
 
23983
class getAllItemstoListOnFba_result:
23984
  """
23985
  Attributes:
23986
   - success
23987
  """
23988
 
23989
  thrift_spec = (
23990
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23991
  )
23992
 
23993
  def __init__(self, success=None,):
23994
    self.success = success
23995
 
23996
  def read(self, iprot):
23997
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23998
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23999
      return
24000
    iprot.readStructBegin()
24001
    while True:
24002
      (fname, ftype, fid) = iprot.readFieldBegin()
24003
      if ftype == TType.STOP:
24004
        break
24005
      if fid == 0:
24006
        if ftype == TType.LIST:
24007
          self.success = []
9155 kshitij.so 24008
          (_etype493, _size490) = iprot.readListBegin()
24009
          for _i494 in xrange(_size490):
24010
            _elem495 = Amazonlisted()
24011
            _elem495.read(iprot)
24012
            self.success.append(_elem495)
8379 vikram.rag 24013
          iprot.readListEnd()
24014
        else:
24015
          iprot.skip(ftype)
24016
      else:
24017
        iprot.skip(ftype)
24018
      iprot.readFieldEnd()
24019
    iprot.readStructEnd()
24020
 
24021
  def write(self, oprot):
24022
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24023
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24024
      return
24025
    oprot.writeStructBegin('getAllItemstoListOnFba_result')
24026
    if self.success is not None:
24027
      oprot.writeFieldBegin('success', TType.LIST, 0)
24028
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 24029
      for iter496 in self.success:
24030
        iter496.write(oprot)
8379 vikram.rag 24031
      oprot.writeListEnd()
24032
      oprot.writeFieldEnd()
24033
    oprot.writeFieldStop()
24034
    oprot.writeStructEnd()
24035
 
24036
  def validate(self):
24037
    return
24038
 
24039
 
24040
  def __repr__(self):
24041
    L = ['%s=%r' % (key, value)
24042
      for key, value in self.__dict__.iteritems()]
24043
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24044
 
24045
  def __eq__(self, other):
24046
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24047
 
24048
  def __ne__(self, other):
24049
    return not (self == other)
24050
 
24051
class getAllItemstoListOnNonFba_args:
24052
 
24053
  thrift_spec = (
24054
  )
24055
 
24056
  def read(self, iprot):
24057
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24058
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24059
      return
24060
    iprot.readStructBegin()
24061
    while True:
24062
      (fname, ftype, fid) = iprot.readFieldBegin()
24063
      if ftype == TType.STOP:
24064
        break
24065
      else:
24066
        iprot.skip(ftype)
24067
      iprot.readFieldEnd()
24068
    iprot.readStructEnd()
24069
 
24070
  def write(self, oprot):
24071
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24072
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24073
      return
24074
    oprot.writeStructBegin('getAllItemstoListOnNonFba_args')
24075
    oprot.writeFieldStop()
24076
    oprot.writeStructEnd()
24077
 
24078
  def validate(self):
24079
    return
24080
 
24081
 
24082
  def __repr__(self):
24083
    L = ['%s=%r' % (key, value)
24084
      for key, value in self.__dict__.iteritems()]
24085
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24086
 
24087
  def __eq__(self, other):
24088
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24089
 
24090
  def __ne__(self, other):
24091
    return not (self == other)
24092
 
24093
class getAllItemstoListOnNonFba_result:
24094
  """
24095
  Attributes:
24096
   - success
24097
  """
24098
 
24099
  thrift_spec = (
24100
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
24101
  )
24102
 
24103
  def __init__(self, success=None,):
24104
    self.success = success
24105
 
24106
  def read(self, iprot):
24107
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24108
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24109
      return
24110
    iprot.readStructBegin()
24111
    while True:
24112
      (fname, ftype, fid) = iprot.readFieldBegin()
24113
      if ftype == TType.STOP:
24114
        break
24115
      if fid == 0:
24116
        if ftype == TType.LIST:
24117
          self.success = []
9155 kshitij.so 24118
          (_etype500, _size497) = iprot.readListBegin()
24119
          for _i501 in xrange(_size497):
24120
            _elem502 = Amazonlisted()
24121
            _elem502.read(iprot)
24122
            self.success.append(_elem502)
8379 vikram.rag 24123
          iprot.readListEnd()
24124
        else:
24125
          iprot.skip(ftype)
24126
      else:
24127
        iprot.skip(ftype)
24128
      iprot.readFieldEnd()
24129
    iprot.readStructEnd()
24130
 
24131
  def write(self, oprot):
24132
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24133
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24134
      return
24135
    oprot.writeStructBegin('getAllItemstoListOnNonFba_result')
24136
    if self.success is not None:
24137
      oprot.writeFieldBegin('success', TType.LIST, 0)
24138
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 24139
      for iter503 in self.success:
24140
        iter503.write(oprot)
8379 vikram.rag 24141
      oprot.writeListEnd()
24142
      oprot.writeFieldEnd()
24143
    oprot.writeFieldStop()
24144
    oprot.writeStructEnd()
24145
 
24146
  def validate(self):
24147
    return
24148
 
24149
 
24150
  def __repr__(self):
24151
    L = ['%s=%r' % (key, value)
24152
      for key, value in self.__dict__.iteritems()]
24153
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24154
 
24155
  def __eq__(self, other):
24156
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24157
 
24158
  def __ne__(self, other):
24159
    return not (self == other)
8616 vikram.rag 24160
 
9242 kshitij.so 24161
class updateAsin_args:
24162
  """
24163
  Attributes:
24164
   - item
24165
  """
8616 vikram.rag 24166
 
24167
  thrift_spec = (
9242 kshitij.so 24168
    None, # 0
24169
    (1, TType.MAP, 'item', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 1
8616 vikram.rag 24170
  )
24171
 
9242 kshitij.so 24172
  def __init__(self, item=None,):
24173
    self.item = item
24174
 
8616 vikram.rag 24175
  def read(self, iprot):
24176
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24177
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24178
      return
24179
    iprot.readStructBegin()
24180
    while True:
24181
      (fname, ftype, fid) = iprot.readFieldBegin()
24182
      if ftype == TType.STOP:
24183
        break
9242 kshitij.so 24184
      if fid == 1:
24185
        if ftype == TType.MAP:
24186
          self.item = {}
24187
          (_ktype505, _vtype506, _size504 ) = iprot.readMapBegin() 
24188
          for _i508 in xrange(_size504):
24189
            _key509 = iprot.readI64();
24190
            _val510 = Item()
24191
            _val510.read(iprot)
24192
            self.item[_key509] = _val510
24193
          iprot.readMapEnd()
24194
        else:
24195
          iprot.skip(ftype)
8616 vikram.rag 24196
      else:
24197
        iprot.skip(ftype)
24198
      iprot.readFieldEnd()
24199
    iprot.readStructEnd()
24200
 
24201
  def write(self, oprot):
24202
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24203
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24204
      return
9242 kshitij.so 24205
    oprot.writeStructBegin('updateAsin_args')
24206
    if self.item is not None:
24207
      oprot.writeFieldBegin('item', TType.MAP, 1)
24208
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.item))
24209
      for kiter511,viter512 in self.item.items():
24210
        oprot.writeI64(kiter511)
24211
        viter512.write(oprot)
24212
      oprot.writeMapEnd()
24213
      oprot.writeFieldEnd()
8616 vikram.rag 24214
    oprot.writeFieldStop()
24215
    oprot.writeStructEnd()
24216
 
24217
  def validate(self):
24218
    return
24219
 
24220
 
24221
  def __repr__(self):
24222
    L = ['%s=%r' % (key, value)
24223
      for key, value in self.__dict__.iteritems()]
24224
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24225
 
24226
  def __eq__(self, other):
24227
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24228
 
24229
  def __ne__(self, other):
24230
    return not (self == other)
24231
 
9242 kshitij.so 24232
class updateAsin_result:
8616 vikram.rag 24233
 
24234
  thrift_spec = (
24235
  )
24236
 
24237
  def read(self, iprot):
24238
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24239
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24240
      return
24241
    iprot.readStructBegin()
24242
    while True:
24243
      (fname, ftype, fid) = iprot.readFieldBegin()
24244
      if ftype == TType.STOP:
24245
        break
24246
      else:
24247
        iprot.skip(ftype)
24248
      iprot.readFieldEnd()
24249
    iprot.readStructEnd()
24250
 
24251
  def write(self, oprot):
24252
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24253
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24254
      return
9242 kshitij.so 24255
    oprot.writeStructBegin('updateAsin_result')
8616 vikram.rag 24256
    oprot.writeFieldStop()
24257
    oprot.writeStructEnd()
24258
 
24259
  def validate(self):
24260
    return
24261
 
24262
 
24263
  def __repr__(self):
24264
    L = ['%s=%r' % (key, value)
24265
      for key, value in self.__dict__.iteritems()]
24266
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24267
 
24268
  def __eq__(self, other):
24269
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24270
 
24271
  def __ne__(self, other):
24272
    return not (self == other)
8619 kshitij.so 24273
 
9242 kshitij.so 24274
class addOrUpdateSnapdealItem_args:
8619 kshitij.so 24275
  """
24276
  Attributes:
9242 kshitij.so 24277
   - snapdealitem
8619 kshitij.so 24278
  """
24279
 
9242 kshitij.so 24280
  thrift_spec = None
24281
  def __init__(self, snapdealitem=None,):
24282
    self.snapdealitem = snapdealitem
8619 kshitij.so 24283
 
24284
  def read(self, iprot):
24285
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24286
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24287
      return
24288
    iprot.readStructBegin()
24289
    while True:
24290
      (fname, ftype, fid) = iprot.readFieldBegin()
24291
      if ftype == TType.STOP:
24292
        break
9242 kshitij.so 24293
      if fid == -1:
24294
        if ftype == TType.STRUCT:
24295
          self.snapdealitem = SnapdealItem()
24296
          self.snapdealitem.read(iprot)
8619 kshitij.so 24297
        else:
24298
          iprot.skip(ftype)
24299
      else:
24300
        iprot.skip(ftype)
24301
      iprot.readFieldEnd()
24302
    iprot.readStructEnd()
24303
 
24304
  def write(self, oprot):
24305
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24306
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24307
      return
9242 kshitij.so 24308
    oprot.writeStructBegin('addOrUpdateSnapdealItem_args')
24309
    if self.snapdealitem is not None:
24310
      oprot.writeFieldBegin('snapdealitem', TType.STRUCT, -1)
24311
      self.snapdealitem.write(oprot)
8619 kshitij.so 24312
      oprot.writeFieldEnd()
24313
    oprot.writeFieldStop()
24314
    oprot.writeStructEnd()
24315
 
24316
  def validate(self):
24317
    return
24318
 
24319
 
24320
  def __repr__(self):
24321
    L = ['%s=%r' % (key, value)
24322
      for key, value in self.__dict__.iteritems()]
24323
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24324
 
24325
  def __eq__(self, other):
24326
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24327
 
24328
  def __ne__(self, other):
24329
    return not (self == other)
24330
 
9242 kshitij.so 24331
class addOrUpdateSnapdealItem_result:
24332
  """
24333
  Attributes:
24334
   - success
24335
  """
8619 kshitij.so 24336
 
24337
  thrift_spec = (
9242 kshitij.so 24338
    (0, TType.BOOL, 'success', None, None, ), # 0
8619 kshitij.so 24339
  )
24340
 
9242 kshitij.so 24341
  def __init__(self, success=None,):
24342
    self.success = success
24343
 
8619 kshitij.so 24344
  def read(self, iprot):
24345
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24346
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24347
      return
24348
    iprot.readStructBegin()
24349
    while True:
24350
      (fname, ftype, fid) = iprot.readFieldBegin()
24351
      if ftype == TType.STOP:
24352
        break
9242 kshitij.so 24353
      if fid == 0:
24354
        if ftype == TType.BOOL:
24355
          self.success = iprot.readBool();
24356
        else:
24357
          iprot.skip(ftype)
8619 kshitij.so 24358
      else:
24359
        iprot.skip(ftype)
24360
      iprot.readFieldEnd()
24361
    iprot.readStructEnd()
24362
 
24363
  def write(self, oprot):
24364
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24365
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24366
      return
9242 kshitij.so 24367
    oprot.writeStructBegin('addOrUpdateSnapdealItem_result')
24368
    if self.success is not None:
24369
      oprot.writeFieldBegin('success', TType.BOOL, 0)
24370
      oprot.writeBool(self.success)
24371
      oprot.writeFieldEnd()
8619 kshitij.so 24372
    oprot.writeFieldStop()
24373
    oprot.writeStructEnd()
24374
 
24375
  def validate(self):
24376
    return
24377
 
24378
 
24379
  def __repr__(self):
24380
    L = ['%s=%r' % (key, value)
24381
      for key, value in self.__dict__.iteritems()]
24382
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24383
 
24384
  def __eq__(self, other):
24385
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24386
 
24387
  def __ne__(self, other):
24388
    return not (self == other)
8739 vikram.rag 24389
 
9242 kshitij.so 24390
class getSnapdealItem_args:
8739 vikram.rag 24391
  """
24392
  Attributes:
9242 kshitij.so 24393
   - item_id
8739 vikram.rag 24394
  """
24395
 
9242 kshitij.so 24396
  thrift_spec = (
24397
    None, # 0
24398
    (1, TType.I64, 'item_id', None, None, ), # 1
24399
  )
8739 vikram.rag 24400
 
9242 kshitij.so 24401
  def __init__(self, item_id=None,):
24402
    self.item_id = item_id
24403
 
8739 vikram.rag 24404
  def read(self, iprot):
24405
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24406
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24407
      return
24408
    iprot.readStructBegin()
24409
    while True:
24410
      (fname, ftype, fid) = iprot.readFieldBegin()
24411
      if ftype == TType.STOP:
24412
        break
9242 kshitij.so 24413
      if fid == 1:
24414
        if ftype == TType.I64:
24415
          self.item_id = iprot.readI64();
8739 vikram.rag 24416
        else:
24417
          iprot.skip(ftype)
24418
      else:
24419
        iprot.skip(ftype)
24420
      iprot.readFieldEnd()
24421
    iprot.readStructEnd()
24422
 
24423
  def write(self, oprot):
24424
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24425
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24426
      return
9242 kshitij.so 24427
    oprot.writeStructBegin('getSnapdealItem_args')
24428
    if self.item_id is not None:
24429
      oprot.writeFieldBegin('item_id', TType.I64, 1)
24430
      oprot.writeI64(self.item_id)
8739 vikram.rag 24431
      oprot.writeFieldEnd()
24432
    oprot.writeFieldStop()
24433
    oprot.writeStructEnd()
24434
 
24435
  def validate(self):
24436
    return
24437
 
24438
 
24439
  def __repr__(self):
24440
    L = ['%s=%r' % (key, value)
24441
      for key, value in self.__dict__.iteritems()]
24442
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24443
 
24444
  def __eq__(self, other):
24445
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24446
 
24447
  def __ne__(self, other):
24448
    return not (self == other)
24449
 
9242 kshitij.so 24450
class getSnapdealItem_result:
8739 vikram.rag 24451
  """
24452
  Attributes:
24453
   - success
24454
  """
24455
 
24456
  thrift_spec = (
9242 kshitij.so 24457
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
8739 vikram.rag 24458
  )
24459
 
24460
  def __init__(self, success=None,):
24461
    self.success = success
24462
 
24463
  def read(self, iprot):
24464
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24465
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24466
      return
24467
    iprot.readStructBegin()
24468
    while True:
24469
      (fname, ftype, fid) = iprot.readFieldBegin()
24470
      if ftype == TType.STOP:
24471
        break
24472
      if fid == 0:
9242 kshitij.so 24473
        if ftype == TType.STRUCT:
24474
          self.success = SnapdealItem()
24475
          self.success.read(iprot)
8739 vikram.rag 24476
        else:
24477
          iprot.skip(ftype)
24478
      else:
24479
        iprot.skip(ftype)
24480
      iprot.readFieldEnd()
24481
    iprot.readStructEnd()
24482
 
24483
  def write(self, oprot):
24484
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24485
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24486
      return
9242 kshitij.so 24487
    oprot.writeStructBegin('getSnapdealItem_result')
8739 vikram.rag 24488
    if self.success is not None:
9242 kshitij.so 24489
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
24490
      self.success.write(oprot)
8739 vikram.rag 24491
      oprot.writeFieldEnd()
24492
    oprot.writeFieldStop()
24493
    oprot.writeStructEnd()
24494
 
24495
  def validate(self):
24496
    return
24497
 
24498
 
24499
  def __repr__(self):
24500
    L = ['%s=%r' % (key, value)
24501
      for key, value in self.__dict__.iteritems()]
24502
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24503
 
24504
  def __eq__(self, other):
24505
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24506
 
24507
  def __ne__(self, other):
24508
    return not (self == other)
24509
 
9242 kshitij.so 24510
class getSnapdealItemDetails_args:
8739 vikram.rag 24511
  """
24512
  Attributes:
24513
   - item_id
24514
  """
24515
 
24516
  thrift_spec = (
24517
    None, # 0
24518
    (1, TType.I64, 'item_id', None, None, ), # 1
24519
  )
24520
 
24521
  def __init__(self, item_id=None,):
24522
    self.item_id = item_id
24523
 
24524
  def read(self, iprot):
24525
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24526
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24527
      return
24528
    iprot.readStructBegin()
24529
    while True:
24530
      (fname, ftype, fid) = iprot.readFieldBegin()
24531
      if ftype == TType.STOP:
24532
        break
24533
      if fid == 1:
24534
        if ftype == TType.I64:
24535
          self.item_id = iprot.readI64();
24536
        else:
24537
          iprot.skip(ftype)
24538
      else:
24539
        iprot.skip(ftype)
24540
      iprot.readFieldEnd()
24541
    iprot.readStructEnd()
24542
 
24543
  def write(self, oprot):
24544
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24545
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24546
      return
9242 kshitij.so 24547
    oprot.writeStructBegin('getSnapdealItemDetails_args')
8739 vikram.rag 24548
    if self.item_id is not None:
24549
      oprot.writeFieldBegin('item_id', TType.I64, 1)
24550
      oprot.writeI64(self.item_id)
24551
      oprot.writeFieldEnd()
24552
    oprot.writeFieldStop()
24553
    oprot.writeStructEnd()
24554
 
24555
  def validate(self):
24556
    return
24557
 
24558
 
24559
  def __repr__(self):
24560
    L = ['%s=%r' % (key, value)
24561
      for key, value in self.__dict__.iteritems()]
24562
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24563
 
24564
  def __eq__(self, other):
24565
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24566
 
24567
  def __ne__(self, other):
24568
    return not (self == other)
24569
 
9242 kshitij.so 24570
class getSnapdealItemDetails_result:
8739 vikram.rag 24571
  """
24572
  Attributes:
24573
   - success
24574
  """
24575
 
24576
  thrift_spec = (
9242 kshitij.so 24577
    (0, TType.STRUCT, 'success', (SnapdealItemDetails, SnapdealItemDetails.thrift_spec), None, ), # 0
8739 vikram.rag 24578
  )
24579
 
24580
  def __init__(self, success=None,):
24581
    self.success = success
24582
 
24583
  def read(self, iprot):
24584
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24585
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24586
      return
24587
    iprot.readStructBegin()
24588
    while True:
24589
      (fname, ftype, fid) = iprot.readFieldBegin()
24590
      if ftype == TType.STOP:
24591
        break
24592
      if fid == 0:
24593
        if ftype == TType.STRUCT:
9242 kshitij.so 24594
          self.success = SnapdealItemDetails()
8739 vikram.rag 24595
          self.success.read(iprot)
24596
        else:
24597
          iprot.skip(ftype)
24598
      else:
24599
        iprot.skip(ftype)
24600
      iprot.readFieldEnd()
24601
    iprot.readStructEnd()
24602
 
24603
  def write(self, oprot):
24604
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24605
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24606
      return
9242 kshitij.so 24607
    oprot.writeStructBegin('getSnapdealItemDetails_result')
8739 vikram.rag 24608
    if self.success is not None:
24609
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
24610
      self.success.write(oprot)
24611
      oprot.writeFieldEnd()
24612
    oprot.writeFieldStop()
24613
    oprot.writeStructEnd()
24614
 
24615
  def validate(self):
24616
    return
24617
 
24618
 
24619
  def __repr__(self):
24620
    L = ['%s=%r' % (key, value)
24621
      for key, value in self.__dict__.iteritems()]
24622
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24623
 
24624
  def __eq__(self, other):
24625
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24626
 
24627
  def __ne__(self, other):
24628
    return not (self == other)
24629
 
24630
class getAllSnapdealItems_args:
24631
 
24632
  thrift_spec = (
24633
  )
24634
 
24635
  def read(self, iprot):
24636
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24637
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24638
      return
24639
    iprot.readStructBegin()
24640
    while True:
24641
      (fname, ftype, fid) = iprot.readFieldBegin()
24642
      if ftype == TType.STOP:
24643
        break
24644
      else:
24645
        iprot.skip(ftype)
24646
      iprot.readFieldEnd()
24647
    iprot.readStructEnd()
24648
 
24649
  def write(self, oprot):
24650
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24651
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24652
      return
24653
    oprot.writeStructBegin('getAllSnapdealItems_args')
24654
    oprot.writeFieldStop()
24655
    oprot.writeStructEnd()
24656
 
24657
  def validate(self):
24658
    return
24659
 
24660
 
24661
  def __repr__(self):
24662
    L = ['%s=%r' % (key, value)
24663
      for key, value in self.__dict__.iteritems()]
24664
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24665
 
24666
  def __eq__(self, other):
24667
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24668
 
24669
  def __ne__(self, other):
24670
    return not (self == other)
24671
 
24672
class getAllSnapdealItems_result:
24673
  """
24674
  Attributes:
24675
   - success
24676
  """
24677
 
24678
  thrift_spec = (
9242 kshitij.so 24679
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
8739 vikram.rag 24680
  )
24681
 
24682
  def __init__(self, success=None,):
24683
    self.success = success
24684
 
24685
  def read(self, iprot):
24686
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24687
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24688
      return
24689
    iprot.readStructBegin()
24690
    while True:
24691
      (fname, ftype, fid) = iprot.readFieldBegin()
24692
      if ftype == TType.STOP:
24693
        break
24694
      if fid == 0:
24695
        if ftype == TType.LIST:
24696
          self.success = []
9242 kshitij.so 24697
          (_etype516, _size513) = iprot.readListBegin()
24698
          for _i517 in xrange(_size513):
24699
            _elem518 = SnapdealItemDetails()
24700
            _elem518.read(iprot)
24701
            self.success.append(_elem518)
24702
          iprot.readListEnd()
24703
        else:
24704
          iprot.skip(ftype)
24705
      else:
24706
        iprot.skip(ftype)
24707
      iprot.readFieldEnd()
24708
    iprot.readStructEnd()
24709
 
24710
  def write(self, oprot):
24711
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24712
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24713
      return
24714
    oprot.writeStructBegin('getAllSnapdealItems_result')
24715
    if self.success is not None:
24716
      oprot.writeFieldBegin('success', TType.LIST, 0)
24717
      oprot.writeListBegin(TType.STRUCT, len(self.success))
24718
      for iter519 in self.success:
24719
        iter519.write(oprot)
24720
      oprot.writeListEnd()
24721
      oprot.writeFieldEnd()
24722
    oprot.writeFieldStop()
24723
    oprot.writeStructEnd()
24724
 
24725
  def validate(self):
24726
    return
24727
 
24728
 
24729
  def __repr__(self):
24730
    L = ['%s=%r' % (key, value)
24731
      for key, value in self.__dict__.iteritems()]
24732
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24733
 
24734
  def __eq__(self, other):
24735
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24736
 
24737
  def __ne__(self, other):
24738
    return not (self == other)
24739
 
24740
class getSnapdealItems_args:
24741
  """
24742
  Attributes:
24743
   - offset
24744
   - limit
24745
  """
24746
 
24747
  thrift_spec = (
24748
    None, # 0
24749
    (1, TType.I64, 'offset', None, None, ), # 1
24750
    (2, TType.I64, 'limit', None, None, ), # 2
24751
  )
24752
 
24753
  def __init__(self, offset=None, limit=None,):
24754
    self.offset = offset
24755
    self.limit = limit
24756
 
24757
  def read(self, iprot):
24758
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24759
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24760
      return
24761
    iprot.readStructBegin()
24762
    while True:
24763
      (fname, ftype, fid) = iprot.readFieldBegin()
24764
      if ftype == TType.STOP:
24765
        break
24766
      if fid == 1:
24767
        if ftype == TType.I64:
24768
          self.offset = iprot.readI64();
24769
        else:
24770
          iprot.skip(ftype)
24771
      elif fid == 2:
24772
        if ftype == TType.I64:
24773
          self.limit = iprot.readI64();
24774
        else:
24775
          iprot.skip(ftype)
24776
      else:
24777
        iprot.skip(ftype)
24778
      iprot.readFieldEnd()
24779
    iprot.readStructEnd()
24780
 
24781
  def write(self, oprot):
24782
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24783
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24784
      return
24785
    oprot.writeStructBegin('getSnapdealItems_args')
24786
    if self.offset is not None:
24787
      oprot.writeFieldBegin('offset', TType.I64, 1)
24788
      oprot.writeI64(self.offset)
24789
      oprot.writeFieldEnd()
24790
    if self.limit is not None:
24791
      oprot.writeFieldBegin('limit', TType.I64, 2)
24792
      oprot.writeI64(self.limit)
24793
      oprot.writeFieldEnd()
24794
    oprot.writeFieldStop()
24795
    oprot.writeStructEnd()
24796
 
24797
  def validate(self):
24798
    return
24799
 
24800
 
24801
  def __repr__(self):
24802
    L = ['%s=%r' % (key, value)
24803
      for key, value in self.__dict__.iteritems()]
24804
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24805
 
24806
  def __eq__(self, other):
24807
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24808
 
24809
  def __ne__(self, other):
24810
    return not (self == other)
24811
 
24812
class getSnapdealItems_result:
24813
  """
24814
  Attributes:
24815
   - success
24816
  """
24817
 
24818
  thrift_spec = (
24819
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
24820
  )
24821
 
24822
  def __init__(self, success=None,):
24823
    self.success = success
24824
 
24825
  def read(self, iprot):
24826
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24827
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24828
      return
24829
    iprot.readStructBegin()
24830
    while True:
24831
      (fname, ftype, fid) = iprot.readFieldBegin()
24832
      if ftype == TType.STOP:
24833
        break
24834
      if fid == 0:
24835
        if ftype == TType.LIST:
24836
          self.success = []
9155 kshitij.so 24837
          (_etype523, _size520) = iprot.readListBegin()
24838
          for _i524 in xrange(_size520):
9242 kshitij.so 24839
            _elem525 = SnapdealItemDetails()
9155 kshitij.so 24840
            _elem525.read(iprot)
24841
            self.success.append(_elem525)
8739 vikram.rag 24842
          iprot.readListEnd()
24843
        else:
24844
          iprot.skip(ftype)
24845
      else:
24846
        iprot.skip(ftype)
24847
      iprot.readFieldEnd()
24848
    iprot.readStructEnd()
24849
 
24850
  def write(self, oprot):
24851
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24852
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24853
      return
9242 kshitij.so 24854
    oprot.writeStructBegin('getSnapdealItems_result')
8739 vikram.rag 24855
    if self.success is not None:
24856
      oprot.writeFieldBegin('success', TType.LIST, 0)
24857
      oprot.writeListBegin(TType.STRUCT, len(self.success))
9155 kshitij.so 24858
      for iter526 in self.success:
24859
        iter526.write(oprot)
8739 vikram.rag 24860
      oprot.writeListEnd()
24861
      oprot.writeFieldEnd()
24862
    oprot.writeFieldStop()
24863
    oprot.writeStructEnd()
24864
 
24865
  def validate(self):
24866
    return
24867
 
24868
 
24869
  def __repr__(self):
24870
    L = ['%s=%r' % (key, value)
24871
      for key, value in self.__dict__.iteritems()]
24872
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24873
 
24874
  def __eq__(self, other):
24875
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24876
 
24877
  def __ne__(self, other):
24878
    return not (self == other)
9242 kshitij.so 24879
 
24880
class searchSnapdealItems_args:
24881
  """
24882
  Attributes:
24883
   - searchTerm
24884
   - offset
24885
   - limit
24886
  """
24887
 
24888
  thrift_spec = (
24889
    None, # 0
24890
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
24891
    (2, TType.I64, 'offset', None, None, ), # 2
24892
    (3, TType.I64, 'limit', None, None, ), # 3
24893
  )
24894
 
24895
  def __init__(self, searchTerm=None, offset=None, limit=None,):
24896
    self.searchTerm = searchTerm
24897
    self.offset = offset
24898
    self.limit = limit
24899
 
24900
  def read(self, iprot):
24901
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24902
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24903
      return
24904
    iprot.readStructBegin()
24905
    while True:
24906
      (fname, ftype, fid) = iprot.readFieldBegin()
24907
      if ftype == TType.STOP:
24908
        break
24909
      if fid == 1:
24910
        if ftype == TType.LIST:
24911
          self.searchTerm = []
24912
          (_etype530, _size527) = iprot.readListBegin()
24913
          for _i531 in xrange(_size527):
24914
            _elem532 = iprot.readString();
24915
            self.searchTerm.append(_elem532)
24916
          iprot.readListEnd()
24917
        else:
24918
          iprot.skip(ftype)
24919
      elif fid == 2:
24920
        if ftype == TType.I64:
24921
          self.offset = iprot.readI64();
24922
        else:
24923
          iprot.skip(ftype)
24924
      elif fid == 3:
24925
        if ftype == TType.I64:
24926
          self.limit = iprot.readI64();
24927
        else:
24928
          iprot.skip(ftype)
24929
      else:
24930
        iprot.skip(ftype)
24931
      iprot.readFieldEnd()
24932
    iprot.readStructEnd()
24933
 
24934
  def write(self, oprot):
24935
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24936
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24937
      return
24938
    oprot.writeStructBegin('searchSnapdealItems_args')
24939
    if self.searchTerm is not None:
24940
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
24941
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
24942
      for iter533 in self.searchTerm:
24943
        oprot.writeString(iter533)
24944
      oprot.writeListEnd()
24945
      oprot.writeFieldEnd()
24946
    if self.offset is not None:
24947
      oprot.writeFieldBegin('offset', TType.I64, 2)
24948
      oprot.writeI64(self.offset)
24949
      oprot.writeFieldEnd()
24950
    if self.limit is not None:
24951
      oprot.writeFieldBegin('limit', TType.I64, 3)
24952
      oprot.writeI64(self.limit)
24953
      oprot.writeFieldEnd()
24954
    oprot.writeFieldStop()
24955
    oprot.writeStructEnd()
24956
 
24957
  def validate(self):
24958
    return
24959
 
24960
 
24961
  def __repr__(self):
24962
    L = ['%s=%r' % (key, value)
24963
      for key, value in self.__dict__.iteritems()]
24964
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24965
 
24966
  def __eq__(self, other):
24967
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24968
 
24969
  def __ne__(self, other):
24970
    return not (self == other)
24971
 
24972
class searchSnapdealItems_result:
24973
  """
24974
  Attributes:
24975
   - success
24976
  """
24977
 
24978
  thrift_spec = (
24979
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
24980
  )
24981
 
24982
  def __init__(self, success=None,):
24983
    self.success = success
24984
 
24985
  def read(self, iprot):
24986
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24987
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24988
      return
24989
    iprot.readStructBegin()
24990
    while True:
24991
      (fname, ftype, fid) = iprot.readFieldBegin()
24992
      if ftype == TType.STOP:
24993
        break
24994
      if fid == 0:
24995
        if ftype == TType.LIST:
24996
          self.success = []
24997
          (_etype537, _size534) = iprot.readListBegin()
24998
          for _i538 in xrange(_size534):
24999
            _elem539 = SnapdealItemDetails()
25000
            _elem539.read(iprot)
25001
            self.success.append(_elem539)
25002
          iprot.readListEnd()
25003
        else:
25004
          iprot.skip(ftype)
25005
      else:
25006
        iprot.skip(ftype)
25007
      iprot.readFieldEnd()
25008
    iprot.readStructEnd()
25009
 
25010
  def write(self, oprot):
25011
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25012
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25013
      return
25014
    oprot.writeStructBegin('searchSnapdealItems_result')
25015
    if self.success is not None:
25016
      oprot.writeFieldBegin('success', TType.LIST, 0)
25017
      oprot.writeListBegin(TType.STRUCT, len(self.success))
25018
      for iter540 in self.success:
25019
        iter540.write(oprot)
25020
      oprot.writeListEnd()
25021
      oprot.writeFieldEnd()
25022
    oprot.writeFieldStop()
25023
    oprot.writeStructEnd()
25024
 
25025
  def validate(self):
25026
    return
25027
 
25028
 
25029
  def __repr__(self):
25030
    L = ['%s=%r' % (key, value)
25031
      for key, value in self.__dict__.iteritems()]
25032
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25033
 
25034
  def __eq__(self, other):
25035
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25036
 
25037
  def __ne__(self, other):
25038
    return not (self == other)
25039
 
25040
class getCountForSnapdealItems_args:
25041
 
25042
  thrift_spec = (
25043
  )
25044
 
25045
  def read(self, iprot):
25046
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25047
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25048
      return
25049
    iprot.readStructBegin()
25050
    while True:
25051
      (fname, ftype, fid) = iprot.readFieldBegin()
25052
      if ftype == TType.STOP:
25053
        break
25054
      else:
25055
        iprot.skip(ftype)
25056
      iprot.readFieldEnd()
25057
    iprot.readStructEnd()
25058
 
25059
  def write(self, oprot):
25060
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25061
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25062
      return
25063
    oprot.writeStructBegin('getCountForSnapdealItems_args')
25064
    oprot.writeFieldStop()
25065
    oprot.writeStructEnd()
25066
 
25067
  def validate(self):
25068
    return
25069
 
25070
 
25071
  def __repr__(self):
25072
    L = ['%s=%r' % (key, value)
25073
      for key, value in self.__dict__.iteritems()]
25074
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25075
 
25076
  def __eq__(self, other):
25077
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25078
 
25079
  def __ne__(self, other):
25080
    return not (self == other)
25081
 
25082
class getCountForSnapdealItems_result:
25083
  """
25084
  Attributes:
25085
   - success
25086
  """
25087
 
25088
  thrift_spec = (
25089
    (0, TType.I64, 'success', None, None, ), # 0
25090
  )
25091
 
25092
  def __init__(self, success=None,):
25093
    self.success = success
25094
 
25095
  def read(self, iprot):
25096
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25097
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25098
      return
25099
    iprot.readStructBegin()
25100
    while True:
25101
      (fname, ftype, fid) = iprot.readFieldBegin()
25102
      if ftype == TType.STOP:
25103
        break
25104
      if fid == 0:
25105
        if ftype == TType.I64:
25106
          self.success = iprot.readI64();
25107
        else:
25108
          iprot.skip(ftype)
25109
      else:
25110
        iprot.skip(ftype)
25111
      iprot.readFieldEnd()
25112
    iprot.readStructEnd()
25113
 
25114
  def write(self, oprot):
25115
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25116
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25117
      return
25118
    oprot.writeStructBegin('getCountForSnapdealItems_result')
25119
    if self.success is not None:
25120
      oprot.writeFieldBegin('success', TType.I64, 0)
25121
      oprot.writeI64(self.success)
25122
      oprot.writeFieldEnd()
25123
    oprot.writeFieldStop()
25124
    oprot.writeStructEnd()
25125
 
25126
  def validate(self):
25127
    return
25128
 
25129
 
25130
  def __repr__(self):
25131
    L = ['%s=%r' % (key, value)
25132
      for key, value in self.__dict__.iteritems()]
25133
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25134
 
25135
  def __eq__(self, other):
25136
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25137
 
25138
  def __ne__(self, other):
25139
    return not (self == other)
25140
 
25141
class getSnapdealSearchResultCount_args:
25142
  """
25143
  Attributes:
25144
   - searchTerm
25145
  """
25146
 
25147
  thrift_spec = (
25148
    None, # 0
25149
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
25150
  )
25151
 
25152
  def __init__(self, searchTerm=None,):
25153
    self.searchTerm = searchTerm
25154
 
25155
  def read(self, iprot):
25156
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25157
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25158
      return
25159
    iprot.readStructBegin()
25160
    while True:
25161
      (fname, ftype, fid) = iprot.readFieldBegin()
25162
      if ftype == TType.STOP:
25163
        break
25164
      if fid == 1:
25165
        if ftype == TType.LIST:
25166
          self.searchTerm = []
25167
          (_etype544, _size541) = iprot.readListBegin()
25168
          for _i545 in xrange(_size541):
25169
            _elem546 = iprot.readString();
25170
            self.searchTerm.append(_elem546)
25171
          iprot.readListEnd()
25172
        else:
25173
          iprot.skip(ftype)
25174
      else:
25175
        iprot.skip(ftype)
25176
      iprot.readFieldEnd()
25177
    iprot.readStructEnd()
25178
 
25179
  def write(self, oprot):
25180
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25181
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25182
      return
25183
    oprot.writeStructBegin('getSnapdealSearchResultCount_args')
25184
    if self.searchTerm is not None:
25185
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
25186
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
25187
      for iter547 in self.searchTerm:
25188
        oprot.writeString(iter547)
25189
      oprot.writeListEnd()
25190
      oprot.writeFieldEnd()
25191
    oprot.writeFieldStop()
25192
    oprot.writeStructEnd()
25193
 
25194
  def validate(self):
25195
    return
25196
 
25197
 
25198
  def __repr__(self):
25199
    L = ['%s=%r' % (key, value)
25200
      for key, value in self.__dict__.iteritems()]
25201
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25202
 
25203
  def __eq__(self, other):
25204
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25205
 
25206
  def __ne__(self, other):
25207
    return not (self == other)
25208
 
25209
class getSnapdealSearchResultCount_result:
25210
  """
25211
  Attributes:
25212
   - success
25213
  """
25214
 
25215
  thrift_spec = (
25216
    (0, TType.I64, 'success', None, None, ), # 0
25217
  )
25218
 
25219
  def __init__(self, success=None,):
25220
    self.success = success
25221
 
25222
  def read(self, iprot):
25223
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25224
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25225
      return
25226
    iprot.readStructBegin()
25227
    while True:
25228
      (fname, ftype, fid) = iprot.readFieldBegin()
25229
      if ftype == TType.STOP:
25230
        break
25231
      if fid == 0:
25232
        if ftype == TType.I64:
25233
          self.success = iprot.readI64();
25234
        else:
25235
          iprot.skip(ftype)
25236
      else:
25237
        iprot.skip(ftype)
25238
      iprot.readFieldEnd()
25239
    iprot.readStructEnd()
25240
 
25241
  def write(self, oprot):
25242
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25243
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25244
      return
25245
    oprot.writeStructBegin('getSnapdealSearchResultCount_result')
25246
    if self.success is not None:
25247
      oprot.writeFieldBegin('success', TType.I64, 0)
25248
      oprot.writeI64(self.success)
25249
      oprot.writeFieldEnd()
25250
    oprot.writeFieldStop()
25251
    oprot.writeStructEnd()
25252
 
25253
  def validate(self):
25254
    return
25255
 
25256
 
25257
  def __repr__(self):
25258
    L = ['%s=%r' % (key, value)
25259
      for key, value in self.__dict__.iteritems()]
25260
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25261
 
25262
  def __eq__(self, other):
25263
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25264
 
25265
  def __ne__(self, other):
25266
    return not (self == other)
9299 kshitij.so 25267
 
25268
class getPrefferedInsurerForItem_args:
25269
  """
25270
  Attributes:
25271
   - itemId
25272
   - insurerType
25273
  """
25274
 
25275
  thrift_spec = (
25276
    None, # 0
25277
    (1, TType.I64, 'itemId', None, None, ), # 1
25278
    (2, TType.I32, 'insurerType', None, None, ), # 2
25279
  )
25280
 
25281
  def __init__(self, itemId=None, insurerType=None,):
25282
    self.itemId = itemId
25283
    self.insurerType = insurerType
25284
 
25285
  def read(self, iprot):
25286
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25287
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25288
      return
25289
    iprot.readStructBegin()
25290
    while True:
25291
      (fname, ftype, fid) = iprot.readFieldBegin()
25292
      if ftype == TType.STOP:
25293
        break
25294
      if fid == 1:
25295
        if ftype == TType.I64:
25296
          self.itemId = iprot.readI64();
25297
        else:
25298
          iprot.skip(ftype)
25299
      elif fid == 2:
25300
        if ftype == TType.I32:
25301
          self.insurerType = iprot.readI32();
25302
        else:
25303
          iprot.skip(ftype)
25304
      else:
25305
        iprot.skip(ftype)
25306
      iprot.readFieldEnd()
25307
    iprot.readStructEnd()
25308
 
25309
  def write(self, oprot):
25310
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25311
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25312
      return
25313
    oprot.writeStructBegin('getPrefferedInsurerForItem_args')
25314
    if self.itemId is not None:
25315
      oprot.writeFieldBegin('itemId', TType.I64, 1)
25316
      oprot.writeI64(self.itemId)
25317
      oprot.writeFieldEnd()
25318
    if self.insurerType is not None:
25319
      oprot.writeFieldBegin('insurerType', TType.I32, 2)
25320
      oprot.writeI32(self.insurerType)
25321
      oprot.writeFieldEnd()
25322
    oprot.writeFieldStop()
25323
    oprot.writeStructEnd()
25324
 
25325
  def validate(self):
25326
    return
25327
 
25328
 
25329
  def __repr__(self):
25330
    L = ['%s=%r' % (key, value)
25331
      for key, value in self.__dict__.iteritems()]
25332
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25333
 
25334
  def __eq__(self, other):
25335
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25336
 
25337
  def __ne__(self, other):
25338
    return not (self == other)
25339
 
25340
class getPrefferedInsurerForItem_result:
25341
  """
25342
  Attributes:
25343
   - success
25344
  """
25345
 
25346
  thrift_spec = (
25347
    (0, TType.I64, 'success', None, None, ), # 0
25348
  )
25349
 
25350
  def __init__(self, success=None,):
25351
    self.success = success
25352
 
25353
  def read(self, iprot):
25354
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25355
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25356
      return
25357
    iprot.readStructBegin()
25358
    while True:
25359
      (fname, ftype, fid) = iprot.readFieldBegin()
25360
      if ftype == TType.STOP:
25361
        break
25362
      if fid == 0:
25363
        if ftype == TType.I64:
25364
          self.success = iprot.readI64();
25365
        else:
25366
          iprot.skip(ftype)
25367
      else:
25368
        iprot.skip(ftype)
25369
      iprot.readFieldEnd()
25370
    iprot.readStructEnd()
25371
 
25372
  def write(self, oprot):
25373
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25374
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25375
      return
25376
    oprot.writeStructBegin('getPrefferedInsurerForItem_result')
25377
    if self.success is not None:
25378
      oprot.writeFieldBegin('success', TType.I64, 0)
25379
      oprot.writeI64(self.success)
25380
      oprot.writeFieldEnd()
25381
    oprot.writeFieldStop()
25382
    oprot.writeStructEnd()
25383
 
25384
  def validate(self):
25385
    return
25386
 
25387
 
25388
  def __repr__(self):
25389
    L = ['%s=%r' % (key, value)
25390
      for key, value in self.__dict__.iteritems()]
25391
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25392
 
25393
  def __eq__(self, other):
25394
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25395
 
25396
  def __ne__(self, other):
25397
    return not (self == other)
9456 vikram.rag 25398
 
25399
class getSnapdealItembySkuAtSnapdeal_args:
25400
  """
25401
  Attributes:
25402
   - skuAtSnapdeal
25403
  """
25404
 
25405
  thrift_spec = None
25406
  def __init__(self, skuAtSnapdeal=None,):
25407
    self.skuAtSnapdeal = skuAtSnapdeal
25408
 
25409
  def read(self, iprot):
25410
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25411
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25412
      return
25413
    iprot.readStructBegin()
25414
    while True:
25415
      (fname, ftype, fid) = iprot.readFieldBegin()
25416
      if ftype == TType.STOP:
25417
        break
25418
      if fid == -1:
25419
        if ftype == TType.STRING:
25420
          self.skuAtSnapdeal = iprot.readString();
25421
        else:
25422
          iprot.skip(ftype)
25423
      else:
25424
        iprot.skip(ftype)
25425
      iprot.readFieldEnd()
25426
    iprot.readStructEnd()
25427
 
25428
  def write(self, oprot):
25429
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25430
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25431
      return
25432
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_args')
25433
    if self.skuAtSnapdeal is not None:
25434
      oprot.writeFieldBegin('skuAtSnapdeal', TType.STRING, -1)
25435
      oprot.writeString(self.skuAtSnapdeal)
25436
      oprot.writeFieldEnd()
25437
    oprot.writeFieldStop()
25438
    oprot.writeStructEnd()
25439
 
25440
  def validate(self):
25441
    return
25442
 
25443
 
25444
  def __repr__(self):
25445
    L = ['%s=%r' % (key, value)
25446
      for key, value in self.__dict__.iteritems()]
25447
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25448
 
25449
  def __eq__(self, other):
25450
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25451
 
25452
  def __ne__(self, other):
25453
    return not (self == other)
25454
 
25455
class getSnapdealItembySkuAtSnapdeal_result:
25456
  """
25457
  Attributes:
25458
   - success
25459
  """
25460
 
25461
  thrift_spec = (
25462
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
25463
  )
25464
 
25465
  def __init__(self, success=None,):
25466
    self.success = success
25467
 
25468
  def read(self, iprot):
25469
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25470
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25471
      return
25472
    iprot.readStructBegin()
25473
    while True:
25474
      (fname, ftype, fid) = iprot.readFieldBegin()
25475
      if ftype == TType.STOP:
25476
        break
25477
      if fid == 0:
25478
        if ftype == TType.STRUCT:
25479
          self.success = SnapdealItem()
25480
          self.success.read(iprot)
25481
        else:
25482
          iprot.skip(ftype)
25483
      else:
25484
        iprot.skip(ftype)
25485
      iprot.readFieldEnd()
25486
    iprot.readStructEnd()
25487
 
25488
  def write(self, oprot):
25489
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25490
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25491
      return
25492
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_result')
25493
    if self.success is not None:
25494
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25495
      self.success.write(oprot)
25496
      oprot.writeFieldEnd()
25497
    oprot.writeFieldStop()
25498
    oprot.writeStructEnd()
25499
 
25500
  def validate(self):
25501
    return
25502
 
25503
 
25504
  def __repr__(self):
25505
    L = ['%s=%r' % (key, value)
25506
      for key, value in self.__dict__.iteritems()]
25507
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25508
 
25509
  def __eq__(self, other):
25510
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25511
 
25512
  def __ne__(self, other):
25513
    return not (self == other)
9621 manish.sha 25514
 
25515
class getProductFeedSubmit_args:
25516
  """
25517
  Attributes:
25518
   - catalogItemId
25519
  """
25520
 
25521
  thrift_spec = (
25522
    None, # 0
25523
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
25524
  )
25525
 
25526
  def __init__(self, catalogItemId=None,):
25527
    self.catalogItemId = catalogItemId
25528
 
25529
  def read(self, iprot):
25530
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25531
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25532
      return
25533
    iprot.readStructBegin()
25534
    while True:
25535
      (fname, ftype, fid) = iprot.readFieldBegin()
25536
      if ftype == TType.STOP:
25537
        break
25538
      if fid == 1:
25539
        if ftype == TType.I64:
25540
          self.catalogItemId = iprot.readI64();
25541
        else:
25542
          iprot.skip(ftype)
25543
      else:
25544
        iprot.skip(ftype)
25545
      iprot.readFieldEnd()
25546
    iprot.readStructEnd()
25547
 
25548
  def write(self, oprot):
25549
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25550
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25551
      return
25552
    oprot.writeStructBegin('getProductFeedSubmit_args')
25553
    if self.catalogItemId is not None:
25554
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
25555
      oprot.writeI64(self.catalogItemId)
25556
      oprot.writeFieldEnd()
25557
    oprot.writeFieldStop()
25558
    oprot.writeStructEnd()
25559
 
25560
  def validate(self):
25561
    return
25562
 
25563
 
25564
  def __repr__(self):
25565
    L = ['%s=%r' % (key, value)
25566
      for key, value in self.__dict__.iteritems()]
25567
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25568
 
25569
  def __eq__(self, other):
25570
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25571
 
25572
  def __ne__(self, other):
25573
    return not (self == other)
25574
 
25575
class getProductFeedSubmit_result:
25576
  """
25577
  Attributes:
25578
   - success
25579
   - cex
25580
  """
25581
 
25582
  thrift_spec = (
25583
    (0, TType.STRUCT, 'success', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 0
25584
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
25585
  )
25586
 
25587
  def __init__(self, success=None, cex=None,):
25588
    self.success = success
25589
    self.cex = cex
25590
 
25591
  def read(self, iprot):
25592
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25593
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25594
      return
25595
    iprot.readStructBegin()
25596
    while True:
25597
      (fname, ftype, fid) = iprot.readFieldBegin()
25598
      if ftype == TType.STOP:
25599
        break
25600
      if fid == 0:
25601
        if ftype == TType.STRUCT:
25602
          self.success = ProductFeedSubmit()
25603
          self.success.read(iprot)
25604
        else:
25605
          iprot.skip(ftype)
25606
      elif fid == 1:
25607
        if ftype == TType.STRUCT:
25608
          self.cex = CatalogServiceException()
25609
          self.cex.read(iprot)
25610
        else:
25611
          iprot.skip(ftype)
25612
      else:
25613
        iprot.skip(ftype)
25614
      iprot.readFieldEnd()
25615
    iprot.readStructEnd()
25616
 
25617
  def write(self, oprot):
25618
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25619
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25620
      return
25621
    oprot.writeStructBegin('getProductFeedSubmit_result')
25622
    if self.success is not None:
25623
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25624
      self.success.write(oprot)
25625
      oprot.writeFieldEnd()
25626
    if self.cex is not None:
25627
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
25628
      self.cex.write(oprot)
25629
      oprot.writeFieldEnd()
25630
    oprot.writeFieldStop()
25631
    oprot.writeStructEnd()
25632
 
25633
  def validate(self):
25634
    return
25635
 
25636
 
25637
  def __repr__(self):
25638
    L = ['%s=%r' % (key, value)
25639
      for key, value in self.__dict__.iteritems()]
25640
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25641
 
25642
  def __eq__(self, other):
25643
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25644
 
25645
  def __ne__(self, other):
25646
    return not (self == other)
25647
 
25648
class addProductFeedSubmit_args:
25649
  """
25650
  Attributes:
25651
   - productFeedSubmit
25652
  """
25653
 
25654
  thrift_spec = (
25655
    None, # 0
25656
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
25657
  )
25658
 
25659
  def __init__(self, productFeedSubmit=None,):
25660
    self.productFeedSubmit = productFeedSubmit
25661
 
25662
  def read(self, iprot):
25663
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25664
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25665
      return
25666
    iprot.readStructBegin()
25667
    while True:
25668
      (fname, ftype, fid) = iprot.readFieldBegin()
25669
      if ftype == TType.STOP:
25670
        break
25671
      if fid == 1:
25672
        if ftype == TType.STRUCT:
25673
          self.productFeedSubmit = ProductFeedSubmit()
25674
          self.productFeedSubmit.read(iprot)
25675
        else:
25676
          iprot.skip(ftype)
25677
      else:
25678
        iprot.skip(ftype)
25679
      iprot.readFieldEnd()
25680
    iprot.readStructEnd()
25681
 
25682
  def write(self, oprot):
25683
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25684
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25685
      return
25686
    oprot.writeStructBegin('addProductFeedSubmit_args')
25687
    if self.productFeedSubmit is not None:
25688
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
25689
      self.productFeedSubmit.write(oprot)
25690
      oprot.writeFieldEnd()
25691
    oprot.writeFieldStop()
25692
    oprot.writeStructEnd()
25693
 
25694
  def validate(self):
25695
    return
25696
 
25697
 
25698
  def __repr__(self):
25699
    L = ['%s=%r' % (key, value)
25700
      for key, value in self.__dict__.iteritems()]
25701
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25702
 
25703
  def __eq__(self, other):
25704
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25705
 
25706
  def __ne__(self, other):
25707
    return not (self == other)
25708
 
25709
class addProductFeedSubmit_result:
25710
  """
25711
  Attributes:
25712
   - success
25713
   - cex
25714
  """
25715
 
25716
  thrift_spec = (
25717
    (0, TType.BOOL, 'success', None, None, ), # 0
25718
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
25719
  )
25720
 
25721
  def __init__(self, success=None, cex=None,):
25722
    self.success = success
25723
    self.cex = cex
25724
 
25725
  def read(self, iprot):
25726
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25727
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25728
      return
25729
    iprot.readStructBegin()
25730
    while True:
25731
      (fname, ftype, fid) = iprot.readFieldBegin()
25732
      if ftype == TType.STOP:
25733
        break
25734
      if fid == 0:
25735
        if ftype == TType.BOOL:
25736
          self.success = iprot.readBool();
25737
        else:
25738
          iprot.skip(ftype)
25739
      elif fid == 1:
25740
        if ftype == TType.STRUCT:
25741
          self.cex = CatalogServiceException()
25742
          self.cex.read(iprot)
25743
        else:
25744
          iprot.skip(ftype)
25745
      else:
25746
        iprot.skip(ftype)
25747
      iprot.readFieldEnd()
25748
    iprot.readStructEnd()
25749
 
25750
  def write(self, oprot):
25751
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25752
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25753
      return
25754
    oprot.writeStructBegin('addProductFeedSubmit_result')
25755
    if self.success is not None:
25756
      oprot.writeFieldBegin('success', TType.BOOL, 0)
25757
      oprot.writeBool(self.success)
25758
      oprot.writeFieldEnd()
25759
    if self.cex is not None:
25760
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
25761
      self.cex.write(oprot)
25762
      oprot.writeFieldEnd()
25763
    oprot.writeFieldStop()
25764
    oprot.writeStructEnd()
25765
 
25766
  def validate(self):
25767
    return
25768
 
25769
 
25770
  def __repr__(self):
25771
    L = ['%s=%r' % (key, value)
25772
      for key, value in self.__dict__.iteritems()]
25773
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25774
 
25775
  def __eq__(self, other):
25776
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25777
 
25778
  def __ne__(self, other):
25779
    return not (self == other)
25780
 
25781
class updateProductFeedSubmit_args:
25782
  """
25783
  Attributes:
25784
   - productFeedSubmit
25785
  """
25786
 
25787
  thrift_spec = (
25788
    None, # 0
25789
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
25790
  )
25791
 
25792
  def __init__(self, productFeedSubmit=None,):
25793
    self.productFeedSubmit = productFeedSubmit
25794
 
25795
  def read(self, iprot):
25796
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25797
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25798
      return
25799
    iprot.readStructBegin()
25800
    while True:
25801
      (fname, ftype, fid) = iprot.readFieldBegin()
25802
      if ftype == TType.STOP:
25803
        break
25804
      if fid == 1:
25805
        if ftype == TType.STRUCT:
25806
          self.productFeedSubmit = ProductFeedSubmit()
25807
          self.productFeedSubmit.read(iprot)
25808
        else:
25809
          iprot.skip(ftype)
25810
      else:
25811
        iprot.skip(ftype)
25812
      iprot.readFieldEnd()
25813
    iprot.readStructEnd()
25814
 
25815
  def write(self, oprot):
25816
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25817
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25818
      return
25819
    oprot.writeStructBegin('updateProductFeedSubmit_args')
25820
    if self.productFeedSubmit is not None:
25821
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
25822
      self.productFeedSubmit.write(oprot)
25823
      oprot.writeFieldEnd()
25824
    oprot.writeFieldStop()
25825
    oprot.writeStructEnd()
25826
 
25827
  def validate(self):
25828
    return
25829
 
25830
 
25831
  def __repr__(self):
25832
    L = ['%s=%r' % (key, value)
25833
      for key, value in self.__dict__.iteritems()]
25834
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25835
 
25836
  def __eq__(self, other):
25837
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25838
 
25839
  def __ne__(self, other):
25840
    return not (self == other)
25841
 
25842
class updateProductFeedSubmit_result:
25843
  """
25844
  Attributes:
25845
   - success
25846
   - cex
25847
  """
25848
 
25849
  thrift_spec = (
25850
    (0, TType.BOOL, 'success', None, None, ), # 0
25851
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
25852
  )
25853
 
25854
  def __init__(self, success=None, cex=None,):
25855
    self.success = success
25856
    self.cex = cex
25857
 
25858
  def read(self, iprot):
25859
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25860
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25861
      return
25862
    iprot.readStructBegin()
25863
    while True:
25864
      (fname, ftype, fid) = iprot.readFieldBegin()
25865
      if ftype == TType.STOP:
25866
        break
25867
      if fid == 0:
25868
        if ftype == TType.BOOL:
25869
          self.success = iprot.readBool();
25870
        else:
25871
          iprot.skip(ftype)
25872
      elif fid == 1:
25873
        if ftype == TType.STRUCT:
25874
          self.cex = CatalogServiceException()
25875
          self.cex.read(iprot)
25876
        else:
25877
          iprot.skip(ftype)
25878
      else:
25879
        iprot.skip(ftype)
25880
      iprot.readFieldEnd()
25881
    iprot.readStructEnd()
25882
 
25883
  def write(self, oprot):
25884
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25885
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25886
      return
25887
    oprot.writeStructBegin('updateProductFeedSubmit_result')
25888
    if self.success is not None:
25889
      oprot.writeFieldBegin('success', TType.BOOL, 0)
25890
      oprot.writeBool(self.success)
25891
      oprot.writeFieldEnd()
25892
    if self.cex is not None:
25893
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
25894
      self.cex.write(oprot)
25895
      oprot.writeFieldEnd()
25896
    oprot.writeFieldStop()
25897
    oprot.writeStructEnd()
25898
 
25899
  def validate(self):
25900
    return
25901
 
25902
 
25903
  def __repr__(self):
25904
    L = ['%s=%r' % (key, value)
25905
      for key, value in self.__dict__.iteritems()]
25906
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25907
 
25908
  def __eq__(self, other):
25909
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25910
 
25911
  def __ne__(self, other):
25912
    return not (self == other)
25913
 
25914
class deleteProductFeedSubmit_args:
25915
  """
25916
  Attributes:
25917
   - catalogItemId
25918
  """
25919
 
25920
  thrift_spec = (
25921
    None, # 0
25922
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
25923
  )
25924
 
25925
  def __init__(self, catalogItemId=None,):
25926
    self.catalogItemId = catalogItemId
25927
 
25928
  def read(self, iprot):
25929
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25930
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25931
      return
25932
    iprot.readStructBegin()
25933
    while True:
25934
      (fname, ftype, fid) = iprot.readFieldBegin()
25935
      if ftype == TType.STOP:
25936
        break
25937
      if fid == 1:
25938
        if ftype == TType.I64:
25939
          self.catalogItemId = iprot.readI64();
25940
        else:
25941
          iprot.skip(ftype)
25942
      else:
25943
        iprot.skip(ftype)
25944
      iprot.readFieldEnd()
25945
    iprot.readStructEnd()
25946
 
25947
  def write(self, oprot):
25948
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25949
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25950
      return
25951
    oprot.writeStructBegin('deleteProductFeedSubmit_args')
25952
    if self.catalogItemId is not None:
25953
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
25954
      oprot.writeI64(self.catalogItemId)
25955
      oprot.writeFieldEnd()
25956
    oprot.writeFieldStop()
25957
    oprot.writeStructEnd()
25958
 
25959
  def validate(self):
25960
    return
25961
 
25962
 
25963
  def __repr__(self):
25964
    L = ['%s=%r' % (key, value)
25965
      for key, value in self.__dict__.iteritems()]
25966
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25967
 
25968
  def __eq__(self, other):
25969
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25970
 
25971
  def __ne__(self, other):
25972
    return not (self == other)
25973
 
25974
class deleteProductFeedSubmit_result:
25975
  """
25976
  Attributes:
25977
   - success
25978
   - cex
25979
  """
25980
 
25981
  thrift_spec = (
25982
    (0, TType.BOOL, 'success', None, None, ), # 0
25983
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
25984
  )
25985
 
25986
  def __init__(self, success=None, cex=None,):
25987
    self.success = success
25988
    self.cex = cex
25989
 
25990
  def read(self, iprot):
25991
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25992
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25993
      return
25994
    iprot.readStructBegin()
25995
    while True:
25996
      (fname, ftype, fid) = iprot.readFieldBegin()
25997
      if ftype == TType.STOP:
25998
        break
25999
      if fid == 0:
26000
        if ftype == TType.BOOL:
26001
          self.success = iprot.readBool();
26002
        else:
26003
          iprot.skip(ftype)
26004
      elif fid == 1:
26005
        if ftype == TType.STRUCT:
26006
          self.cex = CatalogServiceException()
26007
          self.cex.read(iprot)
26008
        else:
26009
          iprot.skip(ftype)
26010
      else:
26011
        iprot.skip(ftype)
26012
      iprot.readFieldEnd()
26013
    iprot.readStructEnd()
26014
 
26015
  def write(self, oprot):
26016
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26017
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26018
      return
26019
    oprot.writeStructBegin('deleteProductFeedSubmit_result')
26020
    if self.success is not None:
26021
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26022
      oprot.writeBool(self.success)
26023
      oprot.writeFieldEnd()
26024
    if self.cex is not None:
26025
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26026
      self.cex.write(oprot)
26027
      oprot.writeFieldEnd()
26028
    oprot.writeFieldStop()
26029
    oprot.writeStructEnd()
26030
 
26031
  def validate(self):
26032
    return
26033
 
26034
 
26035
  def __repr__(self):
26036
    L = ['%s=%r' % (key, value)
26037
      for key, value in self.__dict__.iteritems()]
26038
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26039
 
26040
  def __eq__(self, other):
26041
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26042
 
26043
  def __ne__(self, other):
26044
    return not (self == other)
26045
 
26046
class getAllProductFeedSubmit_args:
26047
 
26048
  thrift_spec = (
26049
  )
26050
 
26051
  def read(self, iprot):
26052
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26053
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26054
      return
26055
    iprot.readStructBegin()
26056
    while True:
26057
      (fname, ftype, fid) = iprot.readFieldBegin()
26058
      if ftype == TType.STOP:
26059
        break
26060
      else:
26061
        iprot.skip(ftype)
26062
      iprot.readFieldEnd()
26063
    iprot.readStructEnd()
26064
 
26065
  def write(self, oprot):
26066
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26067
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26068
      return
26069
    oprot.writeStructBegin('getAllProductFeedSubmit_args')
26070
    oprot.writeFieldStop()
26071
    oprot.writeStructEnd()
26072
 
26073
  def validate(self):
26074
    return
26075
 
26076
 
26077
  def __repr__(self):
26078
    L = ['%s=%r' % (key, value)
26079
      for key, value in self.__dict__.iteritems()]
26080
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26081
 
26082
  def __eq__(self, other):
26083
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26084
 
26085
  def __ne__(self, other):
26086
    return not (self == other)
26087
 
26088
class getAllProductFeedSubmit_result:
26089
  """
26090
  Attributes:
26091
   - success
26092
   - cex
26093
  """
26094
 
26095
  thrift_spec = (
26096
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductFeedSubmit, ProductFeedSubmit.thrift_spec)), None, ), # 0
26097
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26098
  )
26099
 
26100
  def __init__(self, success=None, cex=None,):
26101
    self.success = success
26102
    self.cex = cex
26103
 
26104
  def read(self, iprot):
26105
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26106
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26107
      return
26108
    iprot.readStructBegin()
26109
    while True:
26110
      (fname, ftype, fid) = iprot.readFieldBegin()
26111
      if ftype == TType.STOP:
26112
        break
26113
      if fid == 0:
26114
        if ftype == TType.LIST:
26115
          self.success = []
26116
          (_etype551, _size548) = iprot.readListBegin()
26117
          for _i552 in xrange(_size548):
26118
            _elem553 = ProductFeedSubmit()
26119
            _elem553.read(iprot)
26120
            self.success.append(_elem553)
26121
          iprot.readListEnd()
26122
        else:
26123
          iprot.skip(ftype)
26124
      elif fid == 1:
26125
        if ftype == TType.STRUCT:
26126
          self.cex = CatalogServiceException()
26127
          self.cex.read(iprot)
26128
        else:
26129
          iprot.skip(ftype)
26130
      else:
26131
        iprot.skip(ftype)
26132
      iprot.readFieldEnd()
26133
    iprot.readStructEnd()
26134
 
26135
  def write(self, oprot):
26136
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26137
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26138
      return
26139
    oprot.writeStructBegin('getAllProductFeedSubmit_result')
26140
    if self.success is not None:
26141
      oprot.writeFieldBegin('success', TType.LIST, 0)
26142
      oprot.writeListBegin(TType.STRUCT, len(self.success))
26143
      for iter554 in self.success:
26144
        iter554.write(oprot)
26145
      oprot.writeListEnd()
26146
      oprot.writeFieldEnd()
26147
    if self.cex is not None:
26148
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26149
      self.cex.write(oprot)
26150
      oprot.writeFieldEnd()
26151
    oprot.writeFieldStop()
26152
    oprot.writeStructEnd()
26153
 
26154
  def validate(self):
26155
    return
26156
 
26157
 
26158
  def __repr__(self):
26159
    L = ['%s=%r' % (key, value)
26160
      for key, value in self.__dict__.iteritems()]
26161
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26162
 
26163
  def __eq__(self, other):
26164
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26165
 
26166
  def __ne__(self, other):
26167
    return not (self == other)
9724 kshitij.so 26168
 
26169
class getMarketplacedetailsForItem_args:
26170
  """
26171
  Attributes:
26172
   - itemId
26173
   - sourceId
26174
  """
26175
 
26176
  thrift_spec = (
26177
    None, # 0
26178
    (1, TType.I64, 'itemId', None, None, ), # 1
26179
    (2, TType.I64, 'sourceId', None, None, ), # 2
26180
  )
26181
 
26182
  def __init__(self, itemId=None, sourceId=None,):
26183
    self.itemId = itemId
26184
    self.sourceId = sourceId
26185
 
26186
  def read(self, iprot):
26187
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26188
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26189
      return
26190
    iprot.readStructBegin()
26191
    while True:
26192
      (fname, ftype, fid) = iprot.readFieldBegin()
26193
      if ftype == TType.STOP:
26194
        break
26195
      if fid == 1:
26196
        if ftype == TType.I64:
26197
          self.itemId = iprot.readI64();
26198
        else:
26199
          iprot.skip(ftype)
26200
      elif fid == 2:
26201
        if ftype == TType.I64:
26202
          self.sourceId = iprot.readI64();
26203
        else:
26204
          iprot.skip(ftype)
26205
      else:
26206
        iprot.skip(ftype)
26207
      iprot.readFieldEnd()
26208
    iprot.readStructEnd()
26209
 
26210
  def write(self, oprot):
26211
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26212
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26213
      return
26214
    oprot.writeStructBegin('getMarketplacedetailsForItem_args')
26215
    if self.itemId is not None:
26216
      oprot.writeFieldBegin('itemId', TType.I64, 1)
26217
      oprot.writeI64(self.itemId)
26218
      oprot.writeFieldEnd()
26219
    if self.sourceId is not None:
26220
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
26221
      oprot.writeI64(self.sourceId)
26222
      oprot.writeFieldEnd()
26223
    oprot.writeFieldStop()
26224
    oprot.writeStructEnd()
26225
 
26226
  def validate(self):
26227
    return
26228
 
26229
 
26230
  def __repr__(self):
26231
    L = ['%s=%r' % (key, value)
26232
      for key, value in self.__dict__.iteritems()]
26233
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26234
 
26235
  def __eq__(self, other):
26236
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26237
 
26238
  def __ne__(self, other):
26239
    return not (self == other)
26240
 
26241
class getMarketplacedetailsForItem_result:
26242
  """
26243
  Attributes:
26244
   - success
26245
  """
26246
 
26247
  thrift_spec = (
26248
    (0, TType.STRUCT, 'success', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 0
26249
  )
26250
 
26251
  def __init__(self, success=None,):
26252
    self.success = success
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 == 0:
26264
        if ftype == TType.STRUCT:
26265
          self.success = MarketplaceItems()
26266
          self.success.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('getMarketplacedetailsForItem_result')
26279
    if self.success is not None:
26280
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26281
      self.success.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 updateMarketplaceAttributesForItem_args:
26302
  """
26303
  Attributes:
26304
   - marketPlaceItem
26305
  """
26306
 
26307
  thrift_spec = (
26308
    None, # 0
26309
    (1, TType.STRUCT, 'marketPlaceItem', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 1
26310
  )
26311
 
26312
  def __init__(self, marketPlaceItem=None,):
26313
    self.marketPlaceItem = marketPlaceItem
26314
 
26315
  def read(self, iprot):
26316
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26317
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26318
      return
26319
    iprot.readStructBegin()
26320
    while True:
26321
      (fname, ftype, fid) = iprot.readFieldBegin()
26322
      if ftype == TType.STOP:
26323
        break
26324
      if fid == 1:
26325
        if ftype == TType.STRUCT:
26326
          self.marketPlaceItem = MarketplaceItems()
26327
          self.marketPlaceItem.read(iprot)
26328
        else:
26329
          iprot.skip(ftype)
26330
      else:
26331
        iprot.skip(ftype)
26332
      iprot.readFieldEnd()
26333
    iprot.readStructEnd()
26334
 
26335
  def write(self, oprot):
26336
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26337
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26338
      return
26339
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_args')
26340
    if self.marketPlaceItem is not None:
26341
      oprot.writeFieldBegin('marketPlaceItem', TType.STRUCT, 1)
26342
      self.marketPlaceItem.write(oprot)
26343
      oprot.writeFieldEnd()
26344
    oprot.writeFieldStop()
26345
    oprot.writeStructEnd()
26346
 
26347
  def validate(self):
26348
    return
26349
 
26350
 
26351
  def __repr__(self):
26352
    L = ['%s=%r' % (key, value)
26353
      for key, value in self.__dict__.iteritems()]
26354
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26355
 
26356
  def __eq__(self, other):
26357
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26358
 
26359
  def __ne__(self, other):
26360
    return not (self == other)
26361
 
26362
class updateMarketplaceAttributesForItem_result:
26363
  """
26364
  Attributes:
26365
   - success
26366
  """
26367
 
26368
  thrift_spec = (
26369
    (0, TType.BOOL, 'success', None, None, ), # 0
26370
  )
26371
 
26372
  def __init__(self, success=None,):
26373
    self.success = success
26374
 
26375
  def read(self, iprot):
26376
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26377
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26378
      return
26379
    iprot.readStructBegin()
26380
    while True:
26381
      (fname, ftype, fid) = iprot.readFieldBegin()
26382
      if ftype == TType.STOP:
26383
        break
26384
      if fid == 0:
26385
        if ftype == TType.BOOL:
26386
          self.success = iprot.readBool();
26387
        else:
26388
          iprot.skip(ftype)
26389
      else:
26390
        iprot.skip(ftype)
26391
      iprot.readFieldEnd()
26392
    iprot.readStructEnd()
26393
 
26394
  def write(self, oprot):
26395
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26396
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26397
      return
26398
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_result')
26399
    if self.success is not None:
26400
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26401
      oprot.writeBool(self.success)
26402
      oprot.writeFieldEnd()
26403
    oprot.writeFieldStop()
26404
    oprot.writeStructEnd()
26405
 
26406
  def validate(self):
26407
    return
26408
 
26409
 
26410
  def __repr__(self):
26411
    L = ['%s=%r' % (key, value)
26412
      for key, value in self.__dict__.iteritems()]
26413
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26414
 
26415
  def __eq__(self, other):
26416
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26417
 
26418
  def __ne__(self, other):
26419
    return not (self == other)
9776 vikram.rag 26420
 
9779 kshitij.so 26421
class getCostingForMarketplace_args:
26422
  """
26423
  Attributes:
26424
   - source
26425
   - item_id
26426
  """
26427
 
26428
  thrift_spec = (
26429
    None, # 0
26430
    (1, TType.I64, 'source', None, None, ), # 1
26431
    (2, TType.I64, 'item_id', None, None, ), # 2
26432
  )
26433
 
26434
  def __init__(self, source=None, item_id=None,):
26435
    self.source = source
26436
    self.item_id = item_id
26437
 
26438
  def read(self, iprot):
26439
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26440
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26441
      return
26442
    iprot.readStructBegin()
26443
    while True:
26444
      (fname, ftype, fid) = iprot.readFieldBegin()
26445
      if ftype == TType.STOP:
26446
        break
26447
      if fid == 1:
26448
        if ftype == TType.I64:
26449
          self.source = iprot.readI64();
26450
        else:
26451
          iprot.skip(ftype)
26452
      elif fid == 2:
26453
        if ftype == TType.I64:
26454
          self.item_id = iprot.readI64();
26455
        else:
26456
          iprot.skip(ftype)
26457
      else:
26458
        iprot.skip(ftype)
26459
      iprot.readFieldEnd()
26460
    iprot.readStructEnd()
26461
 
26462
  def write(self, oprot):
26463
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26464
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26465
      return
26466
    oprot.writeStructBegin('getCostingForMarketplace_args')
26467
    if self.source is not None:
26468
      oprot.writeFieldBegin('source', TType.I64, 1)
26469
      oprot.writeI64(self.source)
26470
      oprot.writeFieldEnd()
26471
    if self.item_id is not None:
26472
      oprot.writeFieldBegin('item_id', TType.I64, 2)
26473
      oprot.writeI64(self.item_id)
26474
      oprot.writeFieldEnd()
26475
    oprot.writeFieldStop()
26476
    oprot.writeStructEnd()
26477
 
26478
  def validate(self):
26479
    return
26480
 
26481
 
26482
  def __repr__(self):
26483
    L = ['%s=%r' % (key, value)
26484
      for key, value in self.__dict__.iteritems()]
26485
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26486
 
26487
  def __eq__(self, other):
26488
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26489
 
26490
  def __ne__(self, other):
26491
    return not (self == other)
26492
 
26493
class getCostingForMarketplace_result:
26494
  """
26495
  Attributes:
26496
   - success
26497
  """
26498
 
26499
  thrift_spec = (
26500
    (0, TType.STRUCT, 'success', (MarketplacePercentage, MarketplacePercentage.thrift_spec), None, ), # 0
26501
  )
26502
 
26503
  def __init__(self, success=None,):
26504
    self.success = success
26505
 
26506
  def read(self, iprot):
26507
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26508
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26509
      return
26510
    iprot.readStructBegin()
26511
    while True:
26512
      (fname, ftype, fid) = iprot.readFieldBegin()
26513
      if ftype == TType.STOP:
26514
        break
26515
      if fid == 0:
26516
        if ftype == TType.STRUCT:
26517
          self.success = MarketplacePercentage()
26518
          self.success.read(iprot)
26519
        else:
26520
          iprot.skip(ftype)
26521
      else:
26522
        iprot.skip(ftype)
26523
      iprot.readFieldEnd()
26524
    iprot.readStructEnd()
26525
 
26526
  def write(self, oprot):
26527
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26528
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26529
      return
26530
    oprot.writeStructBegin('getCostingForMarketplace_result')
26531
    if self.success is not None:
26532
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26533
      self.success.write(oprot)
26534
      oprot.writeFieldEnd()
26535
    oprot.writeFieldStop()
26536
    oprot.writeStructEnd()
26537
 
26538
  def validate(self):
26539
    return
26540
 
26541
 
26542
  def __repr__(self):
26543
    L = ['%s=%r' % (key, value)
26544
      for key, value in self.__dict__.iteritems()]
26545
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26546
 
26547
  def __eq__(self, other):
26548
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26549
 
26550
  def __ne__(self, other):
26551
    return not (self == other)
26552
 
9776 vikram.rag 26553
class getMarketPlaceItemsForPriceUpdate_args:
26554
  """
26555
  Attributes:
26556
   - source
26557
  """
26558
 
26559
  thrift_spec = (
26560
    None, # 0
26561
    (1, TType.I64, 'source', None, None, ), # 1
26562
  )
26563
 
26564
  def __init__(self, source=None,):
26565
    self.source = source
26566
 
26567
  def read(self, iprot):
26568
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26569
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26570
      return
26571
    iprot.readStructBegin()
26572
    while True:
26573
      (fname, ftype, fid) = iprot.readFieldBegin()
26574
      if ftype == TType.STOP:
26575
        break
26576
      if fid == 1:
26577
        if ftype == TType.I64:
26578
          self.source = iprot.readI64();
26579
        else:
26580
          iprot.skip(ftype)
26581
      else:
26582
        iprot.skip(ftype)
26583
      iprot.readFieldEnd()
26584
    iprot.readStructEnd()
26585
 
26586
  def write(self, oprot):
26587
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26588
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26589
      return
26590
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_args')
26591
    if self.source is not None:
26592
      oprot.writeFieldBegin('source', TType.I64, 1)
26593
      oprot.writeI64(self.source)
26594
      oprot.writeFieldEnd()
26595
    oprot.writeFieldStop()
26596
    oprot.writeStructEnd()
26597
 
26598
  def validate(self):
26599
    return
26600
 
26601
 
26602
  def __repr__(self):
26603
    L = ['%s=%r' % (key, value)
26604
      for key, value in self.__dict__.iteritems()]
26605
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26606
 
26607
  def __eq__(self, other):
26608
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26609
 
26610
  def __ne__(self, other):
26611
    return not (self == other)
26612
 
26613
class getMarketPlaceItemsForPriceUpdate_result:
26614
  """
26615
  Attributes:
26616
   - success
26617
  """
26618
 
26619
  thrift_spec = (
26620
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketPlaceItemPrice, MarketPlaceItemPrice.thrift_spec)), None, ), # 0
26621
  )
26622
 
26623
  def __init__(self, success=None,):
26624
    self.success = success
26625
 
26626
  def read(self, iprot):
26627
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26628
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26629
      return
26630
    iprot.readStructBegin()
26631
    while True:
26632
      (fname, ftype, fid) = iprot.readFieldBegin()
26633
      if ftype == TType.STOP:
26634
        break
26635
      if fid == 0:
26636
        if ftype == TType.LIST:
26637
          self.success = []
26638
          (_etype558, _size555) = iprot.readListBegin()
26639
          for _i559 in xrange(_size555):
26640
            _elem560 = MarketPlaceItemPrice()
26641
            _elem560.read(iprot)
26642
            self.success.append(_elem560)
26643
          iprot.readListEnd()
26644
        else:
26645
          iprot.skip(ftype)
26646
      else:
26647
        iprot.skip(ftype)
26648
      iprot.readFieldEnd()
26649
    iprot.readStructEnd()
26650
 
26651
  def write(self, oprot):
26652
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26653
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26654
      return
26655
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_result')
26656
    if self.success is not None:
26657
      oprot.writeFieldBegin('success', TType.LIST, 0)
26658
      oprot.writeListBegin(TType.STRUCT, len(self.success))
26659
      for iter561 in self.success:
26660
        iter561.write(oprot)
26661
      oprot.writeListEnd()
26662
      oprot.writeFieldEnd()
26663
    oprot.writeFieldStop()
26664
    oprot.writeStructEnd()
26665
 
26666
  def validate(self):
26667
    return
26668
 
26669
 
26670
  def __repr__(self):
26671
    L = ['%s=%r' % (key, value)
26672
      for key, value in self.__dict__.iteritems()]
26673
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26674
 
26675
  def __eq__(self, other):
26676
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26677
 
26678
  def __ne__(self, other):
26679
    return not (self == other)
26680
 
26681
class updateMarketPlacePriceUpdateStatus_args:
26682
  """
26683
  Attributes:
26684
   - skulist
26685
   - timestamp
9816 kshitij.so 26686
   - source
9776 vikram.rag 26687
  """
26688
 
26689
  thrift_spec = (
26690
    None, # 0
26691
    (1, TType.LIST, 'skulist', (TType.I64,None), None, ), # 1
26692
    (2, TType.I64, 'timestamp', None, None, ), # 2
9816 kshitij.so 26693
    (3, TType.I64, 'source', None, None, ), # 3
9776 vikram.rag 26694
  )
26695
 
9816 kshitij.so 26696
  def __init__(self, skulist=None, timestamp=None, source=None,):
9776 vikram.rag 26697
    self.skulist = skulist
26698
    self.timestamp = timestamp
9816 kshitij.so 26699
    self.source = source
9776 vikram.rag 26700
 
26701
  def read(self, iprot):
26702
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26703
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26704
      return
26705
    iprot.readStructBegin()
26706
    while True:
26707
      (fname, ftype, fid) = iprot.readFieldBegin()
26708
      if ftype == TType.STOP:
26709
        break
26710
      if fid == 1:
26711
        if ftype == TType.LIST:
26712
          self.skulist = []
26713
          (_etype565, _size562) = iprot.readListBegin()
26714
          for _i566 in xrange(_size562):
26715
            _elem567 = iprot.readI64();
26716
            self.skulist.append(_elem567)
26717
          iprot.readListEnd()
26718
        else:
26719
          iprot.skip(ftype)
26720
      elif fid == 2:
26721
        if ftype == TType.I64:
26722
          self.timestamp = iprot.readI64();
26723
        else:
26724
          iprot.skip(ftype)
9816 kshitij.so 26725
      elif fid == 3:
26726
        if ftype == TType.I64:
26727
          self.source = iprot.readI64();
26728
        else:
26729
          iprot.skip(ftype)
9776 vikram.rag 26730
      else:
26731
        iprot.skip(ftype)
26732
      iprot.readFieldEnd()
26733
    iprot.readStructEnd()
26734
 
26735
  def write(self, oprot):
26736
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26737
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26738
      return
26739
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_args')
26740
    if self.skulist is not None:
26741
      oprot.writeFieldBegin('skulist', TType.LIST, 1)
26742
      oprot.writeListBegin(TType.I64, len(self.skulist))
26743
      for iter568 in self.skulist:
26744
        oprot.writeI64(iter568)
26745
      oprot.writeListEnd()
26746
      oprot.writeFieldEnd()
26747
    if self.timestamp is not None:
26748
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
26749
      oprot.writeI64(self.timestamp)
26750
      oprot.writeFieldEnd()
9816 kshitij.so 26751
    if self.source is not None:
26752
      oprot.writeFieldBegin('source', TType.I64, 3)
26753
      oprot.writeI64(self.source)
26754
      oprot.writeFieldEnd()
9776 vikram.rag 26755
    oprot.writeFieldStop()
26756
    oprot.writeStructEnd()
26757
 
26758
  def validate(self):
26759
    return
26760
 
26761
 
26762
  def __repr__(self):
26763
    L = ['%s=%r' % (key, value)
26764
      for key, value in self.__dict__.iteritems()]
26765
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26766
 
26767
  def __eq__(self, other):
26768
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26769
 
26770
  def __ne__(self, other):
26771
    return not (self == other)
26772
 
26773
class updateMarketPlacePriceUpdateStatus_result:
26774
 
26775
  thrift_spec = (
26776
  )
26777
 
26778
  def read(self, iprot):
26779
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26780
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26781
      return
26782
    iprot.readStructBegin()
26783
    while True:
26784
      (fname, ftype, fid) = iprot.readFieldBegin()
26785
      if ftype == TType.STOP:
26786
        break
26787
      else:
26788
        iprot.skip(ftype)
26789
      iprot.readFieldEnd()
26790
    iprot.readStructEnd()
26791
 
26792
  def write(self, oprot):
26793
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26794
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26795
      return
26796
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_result')
26797
    oprot.writeFieldStop()
26798
    oprot.writeStructEnd()
26799
 
26800
  def validate(self):
26801
    return
26802
 
26803
 
26804
  def __repr__(self):
26805
    L = ['%s=%r' % (key, value)
26806
      for key, value in self.__dict__.iteritems()]
26807
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26808
 
26809
  def __eq__(self, other):
26810
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26811
 
26812
  def __ne__(self, other):
26813
    return not (self == other)
9861 rajveer 26814
 
26815
class updateItemHoldInventory_args:
26816
  """
26817
  Attributes:
26818
   - itemHoldMap
26819
  """
26820
 
26821
  thrift_spec = (
26822
    None, # 0
26823
    (1, TType.MAP, 'itemHoldMap', (TType.I64,None,TType.I64,None), None, ), # 1
26824
  )
26825
 
26826
  def __init__(self, itemHoldMap=None,):
26827
    self.itemHoldMap = itemHoldMap
26828
 
26829
  def read(self, iprot):
26830
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26831
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26832
      return
26833
    iprot.readStructBegin()
26834
    while True:
26835
      (fname, ftype, fid) = iprot.readFieldBegin()
26836
      if ftype == TType.STOP:
26837
        break
26838
      if fid == 1:
26839
        if ftype == TType.MAP:
26840
          self.itemHoldMap = {}
26841
          (_ktype570, _vtype571, _size569 ) = iprot.readMapBegin() 
26842
          for _i573 in xrange(_size569):
26843
            _key574 = iprot.readI64();
26844
            _val575 = iprot.readI64();
26845
            self.itemHoldMap[_key574] = _val575
26846
          iprot.readMapEnd()
26847
        else:
26848
          iprot.skip(ftype)
26849
      else:
26850
        iprot.skip(ftype)
26851
      iprot.readFieldEnd()
26852
    iprot.readStructEnd()
26853
 
26854
  def write(self, oprot):
26855
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26856
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26857
      return
26858
    oprot.writeStructBegin('updateItemHoldInventory_args')
26859
    if self.itemHoldMap is not None:
26860
      oprot.writeFieldBegin('itemHoldMap', TType.MAP, 1)
26861
      oprot.writeMapBegin(TType.I64, TType.I64, len(self.itemHoldMap))
26862
      for kiter576,viter577 in self.itemHoldMap.items():
26863
        oprot.writeI64(kiter576)
26864
        oprot.writeI64(viter577)
26865
      oprot.writeMapEnd()
26866
      oprot.writeFieldEnd()
26867
    oprot.writeFieldStop()
26868
    oprot.writeStructEnd()
26869
 
26870
  def validate(self):
26871
    return
26872
 
26873
 
26874
  def __repr__(self):
26875
    L = ['%s=%r' % (key, value)
26876
      for key, value in self.__dict__.iteritems()]
26877
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26878
 
26879
  def __eq__(self, other):
26880
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26881
 
26882
  def __ne__(self, other):
26883
    return not (self == other)
26884
 
26885
class updateItemHoldInventory_result:
26886
 
26887
  thrift_spec = (
26888
  )
26889
 
26890
  def read(self, iprot):
26891
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26892
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26893
      return
26894
    iprot.readStructBegin()
26895
    while True:
26896
      (fname, ftype, fid) = iprot.readFieldBegin()
26897
      if ftype == TType.STOP:
26898
        break
26899
      else:
26900
        iprot.skip(ftype)
26901
      iprot.readFieldEnd()
26902
    iprot.readStructEnd()
26903
 
26904
  def write(self, oprot):
26905
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26906
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26907
      return
26908
    oprot.writeStructBegin('updateItemHoldInventory_result')
26909
    oprot.writeFieldStop()
26910
    oprot.writeStructEnd()
26911
 
26912
  def validate(self):
26913
    return
26914
 
26915
 
26916
  def __repr__(self):
26917
    L = ['%s=%r' % (key, value)
26918
      for key, value in self.__dict__.iteritems()]
26919
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26920
 
26921
  def __eq__(self, other):
26922
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26923
 
26924
  def __ne__(self, other):
26925
    return not (self == other)
9895 vikram.rag 26926
 
26927
class updateNlcAtMarketplaces_args:
26928
  """
26929
  Attributes:
26930
   - item_id
26931
   - vendor_id
26932
   - nlc
26933
  """
26934
 
26935
  thrift_spec = None
26936
  def __init__(self, item_id=None, vendor_id=None, nlc=None,):
26937
    self.item_id = item_id
26938
    self.vendor_id = vendor_id
26939
    self.nlc = nlc
26940
 
26941
  def read(self, iprot):
26942
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26943
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26944
      return
26945
    iprot.readStructBegin()
26946
    while True:
26947
      (fname, ftype, fid) = iprot.readFieldBegin()
26948
      if ftype == TType.STOP:
26949
        break
26950
      if fid == 1:
26951
        if ftype == TType.I64:
26952
          self.item_id = iprot.readI64();
26953
        else:
26954
          iprot.skip(ftype)
26955
      elif fid == 2:
26956
        if ftype == TType.I64:
26957
          self.vendor_id = iprot.readI64();
26958
        else:
26959
          iprot.skip(ftype)
26960
      elif fid == -1:
26961
        if ftype == TType.DOUBLE:
26962
          self.nlc = iprot.readDouble();
26963
        else:
26964
          iprot.skip(ftype)
26965
      else:
26966
        iprot.skip(ftype)
26967
      iprot.readFieldEnd()
26968
    iprot.readStructEnd()
26969
 
26970
  def write(self, oprot):
26971
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26972
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26973
      return
26974
    oprot.writeStructBegin('updateNlcAtMarketplaces_args')
26975
    if self.nlc is not None:
26976
      oprot.writeFieldBegin('nlc', TType.DOUBLE, -1)
26977
      oprot.writeDouble(self.nlc)
26978
      oprot.writeFieldEnd()
26979
    if self.item_id is not None:
26980
      oprot.writeFieldBegin('item_id', TType.I64, 1)
26981
      oprot.writeI64(self.item_id)
26982
      oprot.writeFieldEnd()
26983
    if self.vendor_id is not None:
26984
      oprot.writeFieldBegin('vendor_id', TType.I64, 2)
26985
      oprot.writeI64(self.vendor_id)
26986
      oprot.writeFieldEnd()
26987
    oprot.writeFieldStop()
26988
    oprot.writeStructEnd()
26989
 
26990
  def validate(self):
26991
    return
26992
 
26993
 
26994
  def __repr__(self):
26995
    L = ['%s=%r' % (key, value)
26996
      for key, value in self.__dict__.iteritems()]
26997
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26998
 
26999
  def __eq__(self, other):
27000
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27001
 
27002
  def __ne__(self, other):
27003
    return not (self == other)
27004
 
27005
class updateNlcAtMarketplaces_result:
27006
 
27007
  thrift_spec = (
27008
  )
27009
 
27010
  def read(self, iprot):
27011
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27012
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27013
      return
27014
    iprot.readStructBegin()
27015
    while True:
27016
      (fname, ftype, fid) = iprot.readFieldBegin()
27017
      if ftype == TType.STOP:
27018
        break
27019
      else:
27020
        iprot.skip(ftype)
27021
      iprot.readFieldEnd()
27022
    iprot.readStructEnd()
27023
 
27024
  def write(self, oprot):
27025
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27026
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27027
      return
27028
    oprot.writeStructBegin('updateNlcAtMarketplaces_result')
27029
    oprot.writeFieldStop()
27030
    oprot.writeStructEnd()
27031
 
27032
  def validate(self):
27033
    return
27034
 
27035
 
27036
  def __repr__(self):
27037
    L = ['%s=%r' % (key, value)
27038
      for key, value in self.__dict__.iteritems()]
27039
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27040
 
27041
  def __eq__(self, other):
27042
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27043
 
27044
  def __ne__(self, other):
27045
    return not (self == other)
9945 vikram.rag 27046
 
27047
class getAllFlipkartItems_args:
27048
 
27049
  thrift_spec = (
27050
  )
27051
 
27052
  def read(self, iprot):
27053
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27054
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27055
      return
27056
    iprot.readStructBegin()
27057
    while True:
27058
      (fname, ftype, fid) = iprot.readFieldBegin()
27059
      if ftype == TType.STOP:
27060
        break
27061
      else:
27062
        iprot.skip(ftype)
27063
      iprot.readFieldEnd()
27064
    iprot.readStructEnd()
27065
 
27066
  def write(self, oprot):
27067
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27068
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27069
      return
27070
    oprot.writeStructBegin('getAllFlipkartItems_args')
27071
    oprot.writeFieldStop()
27072
    oprot.writeStructEnd()
27073
 
27074
  def validate(self):
27075
    return
27076
 
27077
 
27078
  def __repr__(self):
27079
    L = ['%s=%r' % (key, value)
27080
      for key, value in self.__dict__.iteritems()]
27081
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27082
 
27083
  def __eq__(self, other):
27084
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27085
 
27086
  def __ne__(self, other):
27087
    return not (self == other)
27088
 
27089
class getAllFlipkartItems_result:
27090
  """
27091
  Attributes:
27092
   - success
27093
  """
27094
 
27095
  thrift_spec = (
27096
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
27097
  )
27098
 
27099
  def __init__(self, success=None,):
27100
    self.success = success
27101
 
27102
  def read(self, iprot):
27103
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27104
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27105
      return
27106
    iprot.readStructBegin()
27107
    while True:
27108
      (fname, ftype, fid) = iprot.readFieldBegin()
27109
      if ftype == TType.STOP:
27110
        break
27111
      if fid == 0:
27112
        if ftype == TType.LIST:
27113
          self.success = []
27114
          (_etype581, _size578) = iprot.readListBegin()
27115
          for _i582 in xrange(_size578):
27116
            _elem583 = FlipkartItem()
27117
            _elem583.read(iprot)
27118
            self.success.append(_elem583)
27119
          iprot.readListEnd()
27120
        else:
27121
          iprot.skip(ftype)
27122
      else:
27123
        iprot.skip(ftype)
27124
      iprot.readFieldEnd()
27125
    iprot.readStructEnd()
27126
 
27127
  def write(self, oprot):
27128
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27129
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27130
      return
27131
    oprot.writeStructBegin('getAllFlipkartItems_result')
27132
    if self.success is not None:
27133
      oprot.writeFieldBegin('success', TType.LIST, 0)
27134
      oprot.writeListBegin(TType.STRUCT, len(self.success))
27135
      for iter584 in self.success:
27136
        iter584.write(oprot)
27137
      oprot.writeListEnd()
27138
      oprot.writeFieldEnd()
27139
    oprot.writeFieldStop()
27140
    oprot.writeStructEnd()
27141
 
27142
  def validate(self):
27143
    return
27144
 
27145
 
27146
  def __repr__(self):
27147
    L = ['%s=%r' % (key, value)
27148
      for key, value in self.__dict__.iteritems()]
27149
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27150
 
27151
  def __eq__(self, other):
27152
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27153
 
27154
  def __ne__(self, other):
27155
    return not (self == other)
10097 kshitij.so 27156
 
27157
class addOrUpdateFlipkartItem_args:
27158
  """
27159
  Attributes:
27160
   - flipkartitem
27161
  """
27162
 
27163
  thrift_spec = None
27164
  def __init__(self, flipkartitem=None,):
27165
    self.flipkartitem = flipkartitem
27166
 
27167
  def read(self, iprot):
27168
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27169
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27170
      return
27171
    iprot.readStructBegin()
27172
    while True:
27173
      (fname, ftype, fid) = iprot.readFieldBegin()
27174
      if ftype == TType.STOP:
27175
        break
27176
      if fid == -1:
27177
        if ftype == TType.STRUCT:
27178
          self.flipkartitem = FlipkartItem()
27179
          self.flipkartitem.read(iprot)
27180
        else:
27181
          iprot.skip(ftype)
27182
      else:
27183
        iprot.skip(ftype)
27184
      iprot.readFieldEnd()
27185
    iprot.readStructEnd()
27186
 
27187
  def write(self, oprot):
27188
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27189
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27190
      return
27191
    oprot.writeStructBegin('addOrUpdateFlipkartItem_args')
27192
    if self.flipkartitem is not None:
27193
      oprot.writeFieldBegin('flipkartitem', TType.STRUCT, -1)
27194
      self.flipkartitem.write(oprot)
27195
      oprot.writeFieldEnd()
27196
    oprot.writeFieldStop()
27197
    oprot.writeStructEnd()
27198
 
27199
  def validate(self):
27200
    return
27201
 
27202
 
27203
  def __repr__(self):
27204
    L = ['%s=%r' % (key, value)
27205
      for key, value in self.__dict__.iteritems()]
27206
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27207
 
27208
  def __eq__(self, other):
27209
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27210
 
27211
  def __ne__(self, other):
27212
    return not (self == other)
27213
 
27214
class addOrUpdateFlipkartItem_result:
27215
  """
27216
  Attributes:
27217
   - success
27218
  """
27219
 
27220
  thrift_spec = (
27221
    (0, TType.BOOL, 'success', None, None, ), # 0
27222
  )
27223
 
27224
  def __init__(self, success=None,):
27225
    self.success = success
27226
 
27227
  def read(self, iprot):
27228
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27229
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27230
      return
27231
    iprot.readStructBegin()
27232
    while True:
27233
      (fname, ftype, fid) = iprot.readFieldBegin()
27234
      if ftype == TType.STOP:
27235
        break
27236
      if fid == 0:
27237
        if ftype == TType.BOOL:
27238
          self.success = iprot.readBool();
27239
        else:
27240
          iprot.skip(ftype)
27241
      else:
27242
        iprot.skip(ftype)
27243
      iprot.readFieldEnd()
27244
    iprot.readStructEnd()
27245
 
27246
  def write(self, oprot):
27247
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27248
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27249
      return
27250
    oprot.writeStructBegin('addOrUpdateFlipkartItem_result')
27251
    if self.success is not None:
27252
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27253
      oprot.writeBool(self.success)
27254
      oprot.writeFieldEnd()
27255
    oprot.writeFieldStop()
27256
    oprot.writeStructEnd()
27257
 
27258
  def validate(self):
27259
    return
27260
 
27261
 
27262
  def __repr__(self):
27263
    L = ['%s=%r' % (key, value)
27264
      for key, value in self.__dict__.iteritems()]
27265
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27266
 
27267
  def __eq__(self, other):
27268
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27269
 
27270
  def __ne__(self, other):
27271
    return not (self == other)
27272
 
27273
class getFlipkartItem_args:
27274
  """
27275
  Attributes:
27276
   - item_id
27277
  """
27278
 
27279
  thrift_spec = (
27280
    None, # 0
27281
    (1, TType.I64, 'item_id', None, None, ), # 1
27282
  )
27283
 
27284
  def __init__(self, item_id=None,):
27285
    self.item_id = item_id
27286
 
27287
  def read(self, iprot):
27288
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27289
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27290
      return
27291
    iprot.readStructBegin()
27292
    while True:
27293
      (fname, ftype, fid) = iprot.readFieldBegin()
27294
      if ftype == TType.STOP:
27295
        break
27296
      if fid == 1:
27297
        if ftype == TType.I64:
27298
          self.item_id = iprot.readI64();
27299
        else:
27300
          iprot.skip(ftype)
27301
      else:
27302
        iprot.skip(ftype)
27303
      iprot.readFieldEnd()
27304
    iprot.readStructEnd()
27305
 
27306
  def write(self, oprot):
27307
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27308
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27309
      return
27310
    oprot.writeStructBegin('getFlipkartItem_args')
27311
    if self.item_id is not None:
27312
      oprot.writeFieldBegin('item_id', TType.I64, 1)
27313
      oprot.writeI64(self.item_id)
27314
      oprot.writeFieldEnd()
27315
    oprot.writeFieldStop()
27316
    oprot.writeStructEnd()
27317
 
27318
  def validate(self):
27319
    return
27320
 
27321
 
27322
  def __repr__(self):
27323
    L = ['%s=%r' % (key, value)
27324
      for key, value in self.__dict__.iteritems()]
27325
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27326
 
27327
  def __eq__(self, other):
27328
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27329
 
27330
  def __ne__(self, other):
27331
    return not (self == other)
27332
 
27333
class getFlipkartItem_result:
27334
  """
27335
  Attributes:
27336
   - success
27337
  """
27338
 
27339
  thrift_spec = (
27340
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
27341
  )
27342
 
27343
  def __init__(self, success=None,):
27344
    self.success = success
27345
 
27346
  def read(self, iprot):
27347
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27348
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27349
      return
27350
    iprot.readStructBegin()
27351
    while True:
27352
      (fname, ftype, fid) = iprot.readFieldBegin()
27353
      if ftype == TType.STOP:
27354
        break
27355
      if fid == 0:
27356
        if ftype == TType.STRUCT:
27357
          self.success = FlipkartItem()
27358
          self.success.read(iprot)
27359
        else:
27360
          iprot.skip(ftype)
27361
      else:
27362
        iprot.skip(ftype)
27363
      iprot.readFieldEnd()
27364
    iprot.readStructEnd()
27365
 
27366
  def write(self, oprot):
27367
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27368
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27369
      return
27370
    oprot.writeStructBegin('getFlipkartItem_result')
27371
    if self.success is not None:
27372
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27373
      self.success.write(oprot)
27374
      oprot.writeFieldEnd()
27375
    oprot.writeFieldStop()
27376
    oprot.writeStructEnd()
27377
 
27378
  def validate(self):
27379
    return
27380
 
27381
 
27382
  def __repr__(self):
27383
    L = ['%s=%r' % (key, value)
27384
      for key, value in self.__dict__.iteritems()]
27385
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27386
 
27387
  def __eq__(self, other):
27388
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27389
 
27390
  def __ne__(self, other):
27391
    return not (self == other)
27392
 
27393
class getFlipkartItemDetails_args:
27394
  """
27395
  Attributes:
27396
   - item_id
27397
  """
27398
 
27399
  thrift_spec = (
27400
    None, # 0
27401
    (1, TType.I64, 'item_id', None, None, ), # 1
27402
  )
27403
 
27404
  def __init__(self, item_id=None,):
27405
    self.item_id = item_id
27406
 
27407
  def read(self, iprot):
27408
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27409
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27410
      return
27411
    iprot.readStructBegin()
27412
    while True:
27413
      (fname, ftype, fid) = iprot.readFieldBegin()
27414
      if ftype == TType.STOP:
27415
        break
27416
      if fid == 1:
27417
        if ftype == TType.I64:
27418
          self.item_id = iprot.readI64();
27419
        else:
27420
          iprot.skip(ftype)
27421
      else:
27422
        iprot.skip(ftype)
27423
      iprot.readFieldEnd()
27424
    iprot.readStructEnd()
27425
 
27426
  def write(self, oprot):
27427
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27428
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27429
      return
27430
    oprot.writeStructBegin('getFlipkartItemDetails_args')
27431
    if self.item_id is not None:
27432
      oprot.writeFieldBegin('item_id', TType.I64, 1)
27433
      oprot.writeI64(self.item_id)
27434
      oprot.writeFieldEnd()
27435
    oprot.writeFieldStop()
27436
    oprot.writeStructEnd()
27437
 
27438
  def validate(self):
27439
    return
27440
 
27441
 
27442
  def __repr__(self):
27443
    L = ['%s=%r' % (key, value)
27444
      for key, value in self.__dict__.iteritems()]
27445
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27446
 
27447
  def __eq__(self, other):
27448
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27449
 
27450
  def __ne__(self, other):
27451
    return not (self == other)
27452
 
27453
class getFlipkartItemDetails_result:
27454
  """
27455
  Attributes:
27456
   - success
27457
  """
27458
 
27459
  thrift_spec = (
27460
    (0, TType.STRUCT, 'success', (FlipkartItemDetails, FlipkartItemDetails.thrift_spec), None, ), # 0
27461
  )
27462
 
27463
  def __init__(self, success=None,):
27464
    self.success = success
27465
 
27466
  def read(self, iprot):
27467
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27468
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27469
      return
27470
    iprot.readStructBegin()
27471
    while True:
27472
      (fname, ftype, fid) = iprot.readFieldBegin()
27473
      if ftype == TType.STOP:
27474
        break
27475
      if fid == 0:
27476
        if ftype == TType.STRUCT:
27477
          self.success = FlipkartItemDetails()
27478
          self.success.read(iprot)
27479
        else:
27480
          iprot.skip(ftype)
27481
      else:
27482
        iprot.skip(ftype)
27483
      iprot.readFieldEnd()
27484
    iprot.readStructEnd()
27485
 
27486
  def write(self, oprot):
27487
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27488
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27489
      return
27490
    oprot.writeStructBegin('getFlipkartItemDetails_result')
27491
    if self.success is not None:
27492
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27493
      self.success.write(oprot)
27494
      oprot.writeFieldEnd()
27495
    oprot.writeFieldStop()
27496
    oprot.writeStructEnd()
27497
 
27498
  def validate(self):
27499
    return
27500
 
27501
 
27502
  def __repr__(self):
27503
    L = ['%s=%r' % (key, value)
27504
      for key, value in self.__dict__.iteritems()]
27505
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27506
 
27507
  def __eq__(self, other):
27508
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27509
 
27510
  def __ne__(self, other):
27511
    return not (self == other)
27512
 
27513
class getFlipkartItems_args:
27514
  """
27515
  Attributes:
27516
   - offset
27517
   - limit
27518
  """
27519
 
27520
  thrift_spec = (
27521
    None, # 0
27522
    (1, TType.I64, 'offset', None, None, ), # 1
27523
    (2, TType.I64, 'limit', None, None, ), # 2
27524
  )
27525
 
27526
  def __init__(self, offset=None, limit=None,):
27527
    self.offset = offset
27528
    self.limit = limit
27529
 
27530
  def read(self, iprot):
27531
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27532
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27533
      return
27534
    iprot.readStructBegin()
27535
    while True:
27536
      (fname, ftype, fid) = iprot.readFieldBegin()
27537
      if ftype == TType.STOP:
27538
        break
27539
      if fid == 1:
27540
        if ftype == TType.I64:
27541
          self.offset = iprot.readI64();
27542
        else:
27543
          iprot.skip(ftype)
27544
      elif fid == 2:
27545
        if ftype == TType.I64:
27546
          self.limit = iprot.readI64();
27547
        else:
27548
          iprot.skip(ftype)
27549
      else:
27550
        iprot.skip(ftype)
27551
      iprot.readFieldEnd()
27552
    iprot.readStructEnd()
27553
 
27554
  def write(self, oprot):
27555
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27556
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27557
      return
27558
    oprot.writeStructBegin('getFlipkartItems_args')
27559
    if self.offset is not None:
27560
      oprot.writeFieldBegin('offset', TType.I64, 1)
27561
      oprot.writeI64(self.offset)
27562
      oprot.writeFieldEnd()
27563
    if self.limit is not None:
27564
      oprot.writeFieldBegin('limit', TType.I64, 2)
27565
      oprot.writeI64(self.limit)
27566
      oprot.writeFieldEnd()
27567
    oprot.writeFieldStop()
27568
    oprot.writeStructEnd()
27569
 
27570
  def validate(self):
27571
    return
27572
 
27573
 
27574
  def __repr__(self):
27575
    L = ['%s=%r' % (key, value)
27576
      for key, value in self.__dict__.iteritems()]
27577
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27578
 
27579
  def __eq__(self, other):
27580
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27581
 
27582
  def __ne__(self, other):
27583
    return not (self == other)
27584
 
27585
class getFlipkartItems_result:
27586
  """
27587
  Attributes:
27588
   - success
27589
  """
27590
 
27591
  thrift_spec = (
27592
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
27593
  )
27594
 
27595
  def __init__(self, success=None,):
27596
    self.success = success
27597
 
27598
  def read(self, iprot):
27599
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27600
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27601
      return
27602
    iprot.readStructBegin()
27603
    while True:
27604
      (fname, ftype, fid) = iprot.readFieldBegin()
27605
      if ftype == TType.STOP:
27606
        break
27607
      if fid == 0:
27608
        if ftype == TType.LIST:
27609
          self.success = []
27610
          (_etype588, _size585) = iprot.readListBegin()
27611
          for _i589 in xrange(_size585):
27612
            _elem590 = FlipkartItemDetails()
27613
            _elem590.read(iprot)
27614
            self.success.append(_elem590)
27615
          iprot.readListEnd()
27616
        else:
27617
          iprot.skip(ftype)
27618
      else:
27619
        iprot.skip(ftype)
27620
      iprot.readFieldEnd()
27621
    iprot.readStructEnd()
27622
 
27623
  def write(self, oprot):
27624
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27625
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27626
      return
27627
    oprot.writeStructBegin('getFlipkartItems_result')
27628
    if self.success is not None:
27629
      oprot.writeFieldBegin('success', TType.LIST, 0)
27630
      oprot.writeListBegin(TType.STRUCT, len(self.success))
27631
      for iter591 in self.success:
27632
        iter591.write(oprot)
27633
      oprot.writeListEnd()
27634
      oprot.writeFieldEnd()
27635
    oprot.writeFieldStop()
27636
    oprot.writeStructEnd()
27637
 
27638
  def validate(self):
27639
    return
27640
 
27641
 
27642
  def __repr__(self):
27643
    L = ['%s=%r' % (key, value)
27644
      for key, value in self.__dict__.iteritems()]
27645
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27646
 
27647
  def __eq__(self, other):
27648
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27649
 
27650
  def __ne__(self, other):
27651
    return not (self == other)
27652
 
27653
class searchFlipkartItems_args:
27654
  """
27655
  Attributes:
27656
   - searchTerm
27657
   - offset
27658
   - limit
27659
  """
27660
 
27661
  thrift_spec = (
27662
    None, # 0
27663
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
27664
    (2, TType.I64, 'offset', None, None, ), # 2
27665
    (3, TType.I64, 'limit', None, None, ), # 3
27666
  )
27667
 
27668
  def __init__(self, searchTerm=None, offset=None, limit=None,):
27669
    self.searchTerm = searchTerm
27670
    self.offset = offset
27671
    self.limit = limit
27672
 
27673
  def read(self, iprot):
27674
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27675
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27676
      return
27677
    iprot.readStructBegin()
27678
    while True:
27679
      (fname, ftype, fid) = iprot.readFieldBegin()
27680
      if ftype == TType.STOP:
27681
        break
27682
      if fid == 1:
27683
        if ftype == TType.LIST:
27684
          self.searchTerm = []
27685
          (_etype595, _size592) = iprot.readListBegin()
27686
          for _i596 in xrange(_size592):
27687
            _elem597 = iprot.readString();
27688
            self.searchTerm.append(_elem597)
27689
          iprot.readListEnd()
27690
        else:
27691
          iprot.skip(ftype)
27692
      elif fid == 2:
27693
        if ftype == TType.I64:
27694
          self.offset = iprot.readI64();
27695
        else:
27696
          iprot.skip(ftype)
27697
      elif fid == 3:
27698
        if ftype == TType.I64:
27699
          self.limit = iprot.readI64();
27700
        else:
27701
          iprot.skip(ftype)
27702
      else:
27703
        iprot.skip(ftype)
27704
      iprot.readFieldEnd()
27705
    iprot.readStructEnd()
27706
 
27707
  def write(self, oprot):
27708
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27709
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27710
      return
27711
    oprot.writeStructBegin('searchFlipkartItems_args')
27712
    if self.searchTerm is not None:
27713
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
27714
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
27715
      for iter598 in self.searchTerm:
27716
        oprot.writeString(iter598)
27717
      oprot.writeListEnd()
27718
      oprot.writeFieldEnd()
27719
    if self.offset is not None:
27720
      oprot.writeFieldBegin('offset', TType.I64, 2)
27721
      oprot.writeI64(self.offset)
27722
      oprot.writeFieldEnd()
27723
    if self.limit is not None:
27724
      oprot.writeFieldBegin('limit', TType.I64, 3)
27725
      oprot.writeI64(self.limit)
27726
      oprot.writeFieldEnd()
27727
    oprot.writeFieldStop()
27728
    oprot.writeStructEnd()
27729
 
27730
  def validate(self):
27731
    return
27732
 
27733
 
27734
  def __repr__(self):
27735
    L = ['%s=%r' % (key, value)
27736
      for key, value in self.__dict__.iteritems()]
27737
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27738
 
27739
  def __eq__(self, other):
27740
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27741
 
27742
  def __ne__(self, other):
27743
    return not (self == other)
27744
 
27745
class searchFlipkartItems_result:
27746
  """
27747
  Attributes:
27748
   - success
27749
  """
27750
 
27751
  thrift_spec = (
27752
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
27753
  )
27754
 
27755
  def __init__(self, success=None,):
27756
    self.success = success
27757
 
27758
  def read(self, iprot):
27759
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27760
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27761
      return
27762
    iprot.readStructBegin()
27763
    while True:
27764
      (fname, ftype, fid) = iprot.readFieldBegin()
27765
      if ftype == TType.STOP:
27766
        break
27767
      if fid == 0:
27768
        if ftype == TType.LIST:
27769
          self.success = []
27770
          (_etype602, _size599) = iprot.readListBegin()
27771
          for _i603 in xrange(_size599):
27772
            _elem604 = FlipkartItemDetails()
27773
            _elem604.read(iprot)
27774
            self.success.append(_elem604)
27775
          iprot.readListEnd()
27776
        else:
27777
          iprot.skip(ftype)
27778
      else:
27779
        iprot.skip(ftype)
27780
      iprot.readFieldEnd()
27781
    iprot.readStructEnd()
27782
 
27783
  def write(self, oprot):
27784
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27785
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27786
      return
27787
    oprot.writeStructBegin('searchFlipkartItems_result')
27788
    if self.success is not None:
27789
      oprot.writeFieldBegin('success', TType.LIST, 0)
27790
      oprot.writeListBegin(TType.STRUCT, len(self.success))
27791
      for iter605 in self.success:
27792
        iter605.write(oprot)
27793
      oprot.writeListEnd()
27794
      oprot.writeFieldEnd()
27795
    oprot.writeFieldStop()
27796
    oprot.writeStructEnd()
27797
 
27798
  def validate(self):
27799
    return
27800
 
27801
 
27802
  def __repr__(self):
27803
    L = ['%s=%r' % (key, value)
27804
      for key, value in self.__dict__.iteritems()]
27805
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27806
 
27807
  def __eq__(self, other):
27808
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27809
 
27810
  def __ne__(self, other):
27811
    return not (self == other)
27812
 
27813
class getCountForFlipkartItems_args:
27814
 
27815
  thrift_spec = (
27816
  )
27817
 
27818
  def read(self, iprot):
27819
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27820
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27821
      return
27822
    iprot.readStructBegin()
27823
    while True:
27824
      (fname, ftype, fid) = iprot.readFieldBegin()
27825
      if ftype == TType.STOP:
27826
        break
27827
      else:
27828
        iprot.skip(ftype)
27829
      iprot.readFieldEnd()
27830
    iprot.readStructEnd()
27831
 
27832
  def write(self, oprot):
27833
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27834
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27835
      return
27836
    oprot.writeStructBegin('getCountForFlipkartItems_args')
27837
    oprot.writeFieldStop()
27838
    oprot.writeStructEnd()
27839
 
27840
  def validate(self):
27841
    return
27842
 
27843
 
27844
  def __repr__(self):
27845
    L = ['%s=%r' % (key, value)
27846
      for key, value in self.__dict__.iteritems()]
27847
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27848
 
27849
  def __eq__(self, other):
27850
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27851
 
27852
  def __ne__(self, other):
27853
    return not (self == other)
27854
 
27855
class getCountForFlipkartItems_result:
27856
  """
27857
  Attributes:
27858
   - success
27859
  """
27860
 
27861
  thrift_spec = (
27862
    (0, TType.I64, 'success', None, None, ), # 0
27863
  )
27864
 
27865
  def __init__(self, success=None,):
27866
    self.success = success
27867
 
27868
  def read(self, iprot):
27869
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27870
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27871
      return
27872
    iprot.readStructBegin()
27873
    while True:
27874
      (fname, ftype, fid) = iprot.readFieldBegin()
27875
      if ftype == TType.STOP:
27876
        break
27877
      if fid == 0:
27878
        if ftype == TType.I64:
27879
          self.success = iprot.readI64();
27880
        else:
27881
          iprot.skip(ftype)
27882
      else:
27883
        iprot.skip(ftype)
27884
      iprot.readFieldEnd()
27885
    iprot.readStructEnd()
27886
 
27887
  def write(self, oprot):
27888
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27889
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27890
      return
27891
    oprot.writeStructBegin('getCountForFlipkartItems_result')
27892
    if self.success is not None:
27893
      oprot.writeFieldBegin('success', TType.I64, 0)
27894
      oprot.writeI64(self.success)
27895
      oprot.writeFieldEnd()
27896
    oprot.writeFieldStop()
27897
    oprot.writeStructEnd()
27898
 
27899
  def validate(self):
27900
    return
27901
 
27902
 
27903
  def __repr__(self):
27904
    L = ['%s=%r' % (key, value)
27905
      for key, value in self.__dict__.iteritems()]
27906
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27907
 
27908
  def __eq__(self, other):
27909
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27910
 
27911
  def __ne__(self, other):
27912
    return not (self == other)
27913
 
27914
class getFlipkartSearchResultCount_args:
27915
  """
27916
  Attributes:
27917
   - searchTerm
27918
  """
27919
 
27920
  thrift_spec = (
27921
    None, # 0
27922
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
27923
  )
27924
 
27925
  def __init__(self, searchTerm=None,):
27926
    self.searchTerm = searchTerm
27927
 
27928
  def read(self, iprot):
27929
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27930
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27931
      return
27932
    iprot.readStructBegin()
27933
    while True:
27934
      (fname, ftype, fid) = iprot.readFieldBegin()
27935
      if ftype == TType.STOP:
27936
        break
27937
      if fid == 1:
27938
        if ftype == TType.LIST:
27939
          self.searchTerm = []
27940
          (_etype609, _size606) = iprot.readListBegin()
27941
          for _i610 in xrange(_size606):
27942
            _elem611 = iprot.readString();
27943
            self.searchTerm.append(_elem611)
27944
          iprot.readListEnd()
27945
        else:
27946
          iprot.skip(ftype)
27947
      else:
27948
        iprot.skip(ftype)
27949
      iprot.readFieldEnd()
27950
    iprot.readStructEnd()
27951
 
27952
  def write(self, oprot):
27953
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27954
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27955
      return
27956
    oprot.writeStructBegin('getFlipkartSearchResultCount_args')
27957
    if self.searchTerm is not None:
27958
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
27959
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
27960
      for iter612 in self.searchTerm:
27961
        oprot.writeString(iter612)
27962
      oprot.writeListEnd()
27963
      oprot.writeFieldEnd()
27964
    oprot.writeFieldStop()
27965
    oprot.writeStructEnd()
27966
 
27967
  def validate(self):
27968
    return
27969
 
27970
 
27971
  def __repr__(self):
27972
    L = ['%s=%r' % (key, value)
27973
      for key, value in self.__dict__.iteritems()]
27974
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27975
 
27976
  def __eq__(self, other):
27977
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27978
 
27979
  def __ne__(self, other):
27980
    return not (self == other)
27981
 
27982
class getFlipkartSearchResultCount_result:
27983
  """
27984
  Attributes:
27985
   - success
27986
  """
27987
 
27988
  thrift_spec = (
27989
    (0, TType.I64, 'success', None, None, ), # 0
27990
  )
27991
 
27992
  def __init__(self, success=None,):
27993
    self.success = success
27994
 
27995
  def read(self, iprot):
27996
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27997
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27998
      return
27999
    iprot.readStructBegin()
28000
    while True:
28001
      (fname, ftype, fid) = iprot.readFieldBegin()
28002
      if ftype == TType.STOP:
28003
        break
28004
      if fid == 0:
28005
        if ftype == TType.I64:
28006
          self.success = iprot.readI64();
28007
        else:
28008
          iprot.skip(ftype)
28009
      else:
28010
        iprot.skip(ftype)
28011
      iprot.readFieldEnd()
28012
    iprot.readStructEnd()
28013
 
28014
  def write(self, oprot):
28015
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28016
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28017
      return
28018
    oprot.writeStructBegin('getFlipkartSearchResultCount_result')
28019
    if self.success is not None:
28020
      oprot.writeFieldBegin('success', TType.I64, 0)
28021
      oprot.writeI64(self.success)
28022
      oprot.writeFieldEnd()
28023
    oprot.writeFieldStop()
28024
    oprot.writeStructEnd()
28025
 
28026
  def validate(self):
28027
    return
28028
 
28029
 
28030
  def __repr__(self):
28031
    L = ['%s=%r' % (key, value)
28032
      for key, value in self.__dict__.iteritems()]
28033
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28034
 
28035
  def __eq__(self, other):
28036
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28037
 
28038
  def __ne__(self, other):
28039
    return not (self == other)
28040
 
28041
class getAllFkItems_args:
28042
 
28043
  thrift_spec = (
28044
  )
28045
 
28046
  def read(self, iprot):
28047
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28048
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28049
      return
28050
    iprot.readStructBegin()
28051
    while True:
28052
      (fname, ftype, fid) = iprot.readFieldBegin()
28053
      if ftype == TType.STOP:
28054
        break
28055
      else:
28056
        iprot.skip(ftype)
28057
      iprot.readFieldEnd()
28058
    iprot.readStructEnd()
28059
 
28060
  def write(self, oprot):
28061
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28062
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28063
      return
28064
    oprot.writeStructBegin('getAllFkItems_args')
28065
    oprot.writeFieldStop()
28066
    oprot.writeStructEnd()
28067
 
28068
  def validate(self):
28069
    return
28070
 
28071
 
28072
  def __repr__(self):
28073
    L = ['%s=%r' % (key, value)
28074
      for key, value in self.__dict__.iteritems()]
28075
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28076
 
28077
  def __eq__(self, other):
28078
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28079
 
28080
  def __ne__(self, other):
28081
    return not (self == other)
28082
 
28083
class getAllFkItems_result:
28084
  """
28085
  Attributes:
28086
   - success
28087
  """
28088
 
28089
  thrift_spec = (
28090
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
28091
  )
28092
 
28093
  def __init__(self, success=None,):
28094
    self.success = success
28095
 
28096
  def read(self, iprot):
28097
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28098
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28099
      return
28100
    iprot.readStructBegin()
28101
    while True:
28102
      (fname, ftype, fid) = iprot.readFieldBegin()
28103
      if ftype == TType.STOP:
28104
        break
28105
      if fid == 0:
28106
        if ftype == TType.LIST:
28107
          self.success = []
28108
          (_etype616, _size613) = iprot.readListBegin()
28109
          for _i617 in xrange(_size613):
28110
            _elem618 = FlipkartItemDetails()
28111
            _elem618.read(iprot)
28112
            self.success.append(_elem618)
28113
          iprot.readListEnd()
28114
        else:
28115
          iprot.skip(ftype)
28116
      else:
28117
        iprot.skip(ftype)
28118
      iprot.readFieldEnd()
28119
    iprot.readStructEnd()
28120
 
28121
  def write(self, oprot):
28122
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28123
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28124
      return
28125
    oprot.writeStructBegin('getAllFkItems_result')
28126
    if self.success is not None:
28127
      oprot.writeFieldBegin('success', TType.LIST, 0)
28128
      oprot.writeListBegin(TType.STRUCT, len(self.success))
28129
      for iter619 in self.success:
28130
        iter619.write(oprot)
28131
      oprot.writeListEnd()
28132
      oprot.writeFieldEnd()
28133
    oprot.writeFieldStop()
28134
    oprot.writeStructEnd()
28135
 
28136
  def validate(self):
28137
    return
28138
 
28139
 
28140
  def __repr__(self):
28141
    L = ['%s=%r' % (key, value)
28142
      for key, value in self.__dict__.iteritems()]
28143
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28144
 
28145
  def __eq__(self, other):
28146
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28147
 
28148
  def __ne__(self, other):
28149
    return not (self == other)
10140 vikram.rag 28150
 
28151
class getFlipkartItemBySkyAtFlipkart_args:
28152
  """
28153
  Attributes:
28154
   - sku
28155
  """
28156
 
11531 vikram.rag 28157
  thrift_spec = None
10140 vikram.rag 28158
  def __init__(self, sku=None,):
28159
    self.sku = sku
28160
 
28161
  def read(self, iprot):
28162
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28163
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28164
      return
28165
    iprot.readStructBegin()
28166
    while True:
28167
      (fname, ftype, fid) = iprot.readFieldBegin()
28168
      if ftype == TType.STOP:
28169
        break
11531 vikram.rag 28170
      if fid == -1:
10140 vikram.rag 28171
        if ftype == TType.STRING:
28172
          self.sku = iprot.readString();
28173
        else:
28174
          iprot.skip(ftype)
28175
      else:
28176
        iprot.skip(ftype)
28177
      iprot.readFieldEnd()
28178
    iprot.readStructEnd()
28179
 
28180
  def write(self, oprot):
28181
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28182
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28183
      return
28184
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_args')
28185
    if self.sku is not None:
11531 vikram.rag 28186
      oprot.writeFieldBegin('sku', TType.STRING, -1)
10140 vikram.rag 28187
      oprot.writeString(self.sku)
28188
      oprot.writeFieldEnd()
28189
    oprot.writeFieldStop()
28190
    oprot.writeStructEnd()
28191
 
28192
  def validate(self):
28193
    return
28194
 
28195
 
28196
  def __repr__(self):
28197
    L = ['%s=%r' % (key, value)
28198
      for key, value in self.__dict__.iteritems()]
28199
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28200
 
28201
  def __eq__(self, other):
28202
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28203
 
28204
  def __ne__(self, other):
28205
    return not (self == other)
28206
 
28207
class getFlipkartItemBySkyAtFlipkart_result:
28208
  """
28209
  Attributes:
28210
   - success
28211
  """
28212
 
28213
  thrift_spec = (
28214
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
28215
  )
28216
 
28217
  def __init__(self, success=None,):
28218
    self.success = success
28219
 
28220
  def read(self, iprot):
28221
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28222
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28223
      return
28224
    iprot.readStructBegin()
28225
    while True:
28226
      (fname, ftype, fid) = iprot.readFieldBegin()
28227
      if ftype == TType.STOP:
28228
        break
28229
      if fid == 0:
28230
        if ftype == TType.STRUCT:
28231
          self.success = FlipkartItem()
28232
          self.success.read(iprot)
28233
        else:
28234
          iprot.skip(ftype)
28235
      else:
28236
        iprot.skip(ftype)
28237
      iprot.readFieldEnd()
28238
    iprot.readStructEnd()
28239
 
28240
  def write(self, oprot):
28241
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28242
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28243
      return
28244
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_result')
28245
    if self.success is not None:
28246
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28247
      self.success.write(oprot)
28248
      oprot.writeFieldEnd()
28249
    oprot.writeFieldStop()
28250
    oprot.writeStructEnd()
28251
 
28252
  def validate(self):
28253
    return
28254
 
28255
 
28256
  def __repr__(self):
28257
    L = ['%s=%r' % (key, value)
28258
      for key, value in self.__dict__.iteritems()]
28259
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28260
 
28261
  def __eq__(self, other):
28262
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28263
 
28264
  def __ne__(self, other):
28265
    return not (self == other)
10909 vikram.rag 28266
 
11015 kshitij.so 28267
class getMarketplaceHistory_args:
28268
  """
28269
  Attributes:
28270
   - source
28271
   - offset
28272
   - itemId
28273
  """
10909 vikram.rag 28274
 
28275
  thrift_spec = (
11015 kshitij.so 28276
    None, # 0
28277
    (1, TType.I64, 'source', None, None, ), # 1
28278
    (2, TType.I64, 'offset', None, None, ), # 2
28279
    (3, TType.I64, 'itemId', None, None, ), # 3
10909 vikram.rag 28280
  )
28281
 
11015 kshitij.so 28282
  def __init__(self, source=None, offset=None, itemId=None,):
28283
    self.source = source
28284
    self.offset = offset
28285
    self.itemId = itemId
28286
 
10909 vikram.rag 28287
  def read(self, iprot):
28288
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28289
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28290
      return
28291
    iprot.readStructBegin()
28292
    while True:
28293
      (fname, ftype, fid) = iprot.readFieldBegin()
28294
      if ftype == TType.STOP:
28295
        break
11015 kshitij.so 28296
      if fid == 1:
28297
        if ftype == TType.I64:
28298
          self.source = iprot.readI64();
28299
        else:
28300
          iprot.skip(ftype)
28301
      elif fid == 2:
28302
        if ftype == TType.I64:
28303
          self.offset = iprot.readI64();
28304
        else:
28305
          iprot.skip(ftype)
28306
      elif fid == 3:
28307
        if ftype == TType.I64:
28308
          self.itemId = iprot.readI64();
28309
        else:
28310
          iprot.skip(ftype)
10909 vikram.rag 28311
      else:
28312
        iprot.skip(ftype)
28313
      iprot.readFieldEnd()
28314
    iprot.readStructEnd()
28315
 
28316
  def write(self, oprot):
28317
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28318
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28319
      return
11015 kshitij.so 28320
    oprot.writeStructBegin('getMarketplaceHistory_args')
28321
    if self.source is not None:
28322
      oprot.writeFieldBegin('source', TType.I64, 1)
28323
      oprot.writeI64(self.source)
28324
      oprot.writeFieldEnd()
28325
    if self.offset is not None:
28326
      oprot.writeFieldBegin('offset', TType.I64, 2)
28327
      oprot.writeI64(self.offset)
28328
      oprot.writeFieldEnd()
28329
    if self.itemId is not None:
28330
      oprot.writeFieldBegin('itemId', TType.I64, 3)
28331
      oprot.writeI64(self.itemId)
28332
      oprot.writeFieldEnd()
10909 vikram.rag 28333
    oprot.writeFieldStop()
28334
    oprot.writeStructEnd()
28335
 
28336
  def validate(self):
28337
    return
28338
 
28339
 
28340
  def __repr__(self):
28341
    L = ['%s=%r' % (key, value)
28342
      for key, value in self.__dict__.iteritems()]
28343
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28344
 
28345
  def __eq__(self, other):
28346
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28347
 
28348
  def __ne__(self, other):
28349
    return not (self == other)
28350
 
11015 kshitij.so 28351
class getMarketplaceHistory_result:
10909 vikram.rag 28352
  """
28353
  Attributes:
28354
   - success
28355
  """
28356
 
28357
  thrift_spec = (
11015 kshitij.so 28358
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
10909 vikram.rag 28359
  )
28360
 
28361
  def __init__(self, success=None,):
28362
    self.success = success
28363
 
28364
  def read(self, iprot):
28365
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28366
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28367
      return
28368
    iprot.readStructBegin()
28369
    while True:
28370
      (fname, ftype, fid) = iprot.readFieldBegin()
28371
      if ftype == TType.STOP:
28372
        break
28373
      if fid == 0:
28374
        if ftype == TType.LIST:
28375
          self.success = []
28376
          (_etype623, _size620) = iprot.readListBegin()
28377
          for _i624 in xrange(_size620):
11015 kshitij.so 28378
            _elem625 = MarketplaceHistory()
10909 vikram.rag 28379
            _elem625.read(iprot)
28380
            self.success.append(_elem625)
28381
          iprot.readListEnd()
28382
        else:
28383
          iprot.skip(ftype)
28384
      else:
28385
        iprot.skip(ftype)
28386
      iprot.readFieldEnd()
28387
    iprot.readStructEnd()
28388
 
28389
  def write(self, oprot):
28390
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28391
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28392
      return
11015 kshitij.so 28393
    oprot.writeStructBegin('getMarketplaceHistory_result')
10909 vikram.rag 28394
    if self.success is not None:
28395
      oprot.writeFieldBegin('success', TType.LIST, 0)
28396
      oprot.writeListBegin(TType.STRUCT, len(self.success))
28397
      for iter626 in self.success:
28398
        iter626.write(oprot)
28399
      oprot.writeListEnd()
28400
      oprot.writeFieldEnd()
28401
    oprot.writeFieldStop()
28402
    oprot.writeStructEnd()
28403
 
28404
  def validate(self):
28405
    return
28406
 
28407
 
28408
  def __repr__(self):
28409
    L = ['%s=%r' % (key, value)
28410
      for key, value in self.__dict__.iteritems()]
28411
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28412
 
28413
  def __eq__(self, other):
28414
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28415
 
28416
  def __ne__(self, other):
28417
    return not (self == other)
10924 vikram.rag 28418
 
11015 kshitij.so 28419
class getAllFbbListedItems_args:
10924 vikram.rag 28420
 
28421
  thrift_spec = (
28422
  )
28423
 
28424
  def read(self, iprot):
28425
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28426
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28427
      return
28428
    iprot.readStructBegin()
28429
    while True:
28430
      (fname, ftype, fid) = iprot.readFieldBegin()
28431
      if ftype == TType.STOP:
28432
        break
28433
      else:
28434
        iprot.skip(ftype)
28435
      iprot.readFieldEnd()
28436
    iprot.readStructEnd()
28437
 
28438
  def write(self, oprot):
28439
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28440
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28441
      return
11015 kshitij.so 28442
    oprot.writeStructBegin('getAllFbbListedItems_args')
10924 vikram.rag 28443
    oprot.writeFieldStop()
28444
    oprot.writeStructEnd()
28445
 
28446
  def validate(self):
28447
    return
28448
 
28449
 
28450
  def __repr__(self):
28451
    L = ['%s=%r' % (key, value)
28452
      for key, value in self.__dict__.iteritems()]
28453
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28454
 
28455
  def __eq__(self, other):
28456
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28457
 
28458
  def __ne__(self, other):
28459
    return not (self == other)
28460
 
11015 kshitij.so 28461
class getAllFbbListedItems_result:
10924 vikram.rag 28462
  """
28463
  Attributes:
28464
   - success
28465
  """
28466
 
28467
  thrift_spec = (
28468
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
28469
  )
28470
 
28471
  def __init__(self, success=None,):
28472
    self.success = success
28473
 
28474
  def read(self, iprot):
28475
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28476
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28477
      return
28478
    iprot.readStructBegin()
28479
    while True:
28480
      (fname, ftype, fid) = iprot.readFieldBegin()
28481
      if ftype == TType.STOP:
28482
        break
28483
      if fid == 0:
28484
        if ftype == TType.LIST:
28485
          self.success = []
28486
          (_etype630, _size627) = iprot.readListBegin()
28487
          for _i631 in xrange(_size627):
28488
            _elem632 = Amazonlisted()
28489
            _elem632.read(iprot)
28490
            self.success.append(_elem632)
28491
          iprot.readListEnd()
28492
        else:
28493
          iprot.skip(ftype)
28494
      else:
28495
        iprot.skip(ftype)
28496
      iprot.readFieldEnd()
28497
    iprot.readStructEnd()
28498
 
28499
  def write(self, oprot):
28500
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28501
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28502
      return
11015 kshitij.so 28503
    oprot.writeStructBegin('getAllFbbListedItems_result')
10924 vikram.rag 28504
    if self.success is not None:
28505
      oprot.writeFieldBegin('success', TType.LIST, 0)
28506
      oprot.writeListBegin(TType.STRUCT, len(self.success))
28507
      for iter633 in self.success:
28508
        iter633.write(oprot)
28509
      oprot.writeListEnd()
28510
      oprot.writeFieldEnd()
28511
    oprot.writeFieldStop()
28512
    oprot.writeStructEnd()
28513
 
28514
  def validate(self):
28515
    return
28516
 
28517
 
28518
  def __repr__(self):
28519
    L = ['%s=%r' % (key, value)
28520
      for key, value in self.__dict__.iteritems()]
28521
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28522
 
28523
  def __eq__(self, other):
28524
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28525
 
28526
  def __ne__(self, other):
28527
    return not (self == other)
11015 kshitij.so 28528
 
28529
class getAllFbbPricingItems_args:
28530
 
28531
  thrift_spec = (
28532
  )
28533
 
28534
  def read(self, iprot):
28535
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28536
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28537
      return
28538
    iprot.readStructBegin()
28539
    while True:
28540
      (fname, ftype, fid) = iprot.readFieldBegin()
28541
      if ftype == TType.STOP:
28542
        break
28543
      else:
28544
        iprot.skip(ftype)
28545
      iprot.readFieldEnd()
28546
    iprot.readStructEnd()
28547
 
28548
  def write(self, oprot):
28549
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28550
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28551
      return
28552
    oprot.writeStructBegin('getAllFbbPricingItems_args')
28553
    oprot.writeFieldStop()
28554
    oprot.writeStructEnd()
28555
 
28556
  def validate(self):
28557
    return
28558
 
28559
 
28560
  def __repr__(self):
28561
    L = ['%s=%r' % (key, value)
28562
      for key, value in self.__dict__.iteritems()]
28563
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28564
 
28565
  def __eq__(self, other):
28566
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28567
 
28568
  def __ne__(self, other):
28569
    return not (self == other)
28570
 
28571
class getAllFbbPricingItems_result:
28572
  """
28573
  Attributes:
28574
   - success
28575
  """
28576
 
28577
  thrift_spec = (
28578
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
28579
  )
28580
 
28581
  def __init__(self, success=None,):
28582
    self.success = success
28583
 
28584
  def read(self, iprot):
28585
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28586
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28587
      return
28588
    iprot.readStructBegin()
28589
    while True:
28590
      (fname, ftype, fid) = iprot.readFieldBegin()
28591
      if ftype == TType.STOP:
28592
        break
28593
      if fid == 0:
28594
        if ftype == TType.LIST:
28595
          self.success = []
28596
          (_etype637, _size634) = iprot.readListBegin()
28597
          for _i638 in xrange(_size634):
28598
            _elem639 = Amazonlisted()
28599
            _elem639.read(iprot)
28600
            self.success.append(_elem639)
28601
          iprot.readListEnd()
28602
        else:
28603
          iprot.skip(ftype)
28604
      else:
28605
        iprot.skip(ftype)
28606
      iprot.readFieldEnd()
28607
    iprot.readStructEnd()
28608
 
28609
  def write(self, oprot):
28610
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28611
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28612
      return
28613
    oprot.writeStructBegin('getAllFbbPricingItems_result')
28614
    if self.success is not None:
28615
      oprot.writeFieldBegin('success', TType.LIST, 0)
28616
      oprot.writeListBegin(TType.STRUCT, len(self.success))
28617
      for iter640 in self.success:
28618
        iter640.write(oprot)
28619
      oprot.writeListEnd()
28620
      oprot.writeFieldEnd()
28621
    oprot.writeFieldStop()
28622
    oprot.writeStructEnd()
28623
 
28624
  def validate(self):
28625
    return
28626
 
28627
 
28628
  def __repr__(self):
28629
    L = ['%s=%r' % (key, value)
28630
      for key, value in self.__dict__.iteritems()]
28631
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28632
 
28633
  def __eq__(self, other):
28634
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28635
 
28636
  def __ne__(self, other):
28637
    return not (self == other)
28638
 
28639
class getCountForMarketplaceHistory_args:
28640
  """
28641
  Attributes:
28642
   - source
28643
   - itemId
28644
  """
28645
 
28646
  thrift_spec = (
28647
    None, # 0
28648
    (1, TType.I64, 'source', None, None, ), # 1
28649
    (2, TType.I64, 'itemId', None, None, ), # 2
28650
  )
28651
 
28652
  def __init__(self, source=None, itemId=None,):
28653
    self.source = source
28654
    self.itemId = itemId
28655
 
28656
  def read(self, iprot):
28657
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28658
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28659
      return
28660
    iprot.readStructBegin()
28661
    while True:
28662
      (fname, ftype, fid) = iprot.readFieldBegin()
28663
      if ftype == TType.STOP:
28664
        break
28665
      if fid == 1:
28666
        if ftype == TType.I64:
28667
          self.source = iprot.readI64();
28668
        else:
28669
          iprot.skip(ftype)
28670
      elif fid == 2:
28671
        if ftype == TType.I64:
28672
          self.itemId = iprot.readI64();
28673
        else:
28674
          iprot.skip(ftype)
28675
      else:
28676
        iprot.skip(ftype)
28677
      iprot.readFieldEnd()
28678
    iprot.readStructEnd()
28679
 
28680
  def write(self, oprot):
28681
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28682
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28683
      return
28684
    oprot.writeStructBegin('getCountForMarketplaceHistory_args')
28685
    if self.source is not None:
28686
      oprot.writeFieldBegin('source', TType.I64, 1)
28687
      oprot.writeI64(self.source)
28688
      oprot.writeFieldEnd()
28689
    if self.itemId is not None:
28690
      oprot.writeFieldBegin('itemId', TType.I64, 2)
28691
      oprot.writeI64(self.itemId)
28692
      oprot.writeFieldEnd()
28693
    oprot.writeFieldStop()
28694
    oprot.writeStructEnd()
28695
 
28696
  def validate(self):
28697
    return
28698
 
28699
 
28700
  def __repr__(self):
28701
    L = ['%s=%r' % (key, value)
28702
      for key, value in self.__dict__.iteritems()]
28703
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28704
 
28705
  def __eq__(self, other):
28706
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28707
 
28708
  def __ne__(self, other):
28709
    return not (self == other)
28710
 
28711
class getCountForMarketplaceHistory_result:
28712
  """
28713
  Attributes:
28714
   - success
28715
  """
28716
 
28717
  thrift_spec = (
28718
    (0, TType.I64, 'success', None, None, ), # 0
28719
  )
28720
 
28721
  def __init__(self, success=None,):
28722
    self.success = success
28723
 
28724
  def read(self, iprot):
28725
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28726
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28727
      return
28728
    iprot.readStructBegin()
28729
    while True:
28730
      (fname, ftype, fid) = iprot.readFieldBegin()
28731
      if ftype == TType.STOP:
28732
        break
28733
      if fid == 0:
28734
        if ftype == TType.I64:
28735
          self.success = iprot.readI64();
28736
        else:
28737
          iprot.skip(ftype)
28738
      else:
28739
        iprot.skip(ftype)
28740
      iprot.readFieldEnd()
28741
    iprot.readStructEnd()
28742
 
28743
  def write(self, oprot):
28744
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28745
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28746
      return
28747
    oprot.writeStructBegin('getCountForMarketplaceHistory_result')
28748
    if self.success is not None:
28749
      oprot.writeFieldBegin('success', TType.I64, 0)
28750
      oprot.writeI64(self.success)
28751
      oprot.writeFieldEnd()
28752
    oprot.writeFieldStop()
28753
    oprot.writeStructEnd()
28754
 
28755
  def validate(self):
28756
    return
28757
 
28758
 
28759
  def __repr__(self):
28760
    L = ['%s=%r' % (key, value)
28761
      for key, value in self.__dict__.iteritems()]
28762
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28763
 
28764
  def __eq__(self, other):
28765
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28766
 
28767
  def __ne__(self, other):
28768
    return not (self == other)
28769
 
28770
class getMarketplaceHistoryByDate_args:
28771
  """
28772
  Attributes:
28773
   - source
28774
   - startDate
28775
   - endDate
28776
   - offset
28777
   - limit
28778
   - itemId
28779
  """
28780
 
28781
  thrift_spec = (
28782
    None, # 0
28783
    (1, TType.I64, 'source', None, None, ), # 1
28784
    (2, TType.I64, 'startDate', None, None, ), # 2
28785
    (3, TType.I64, 'endDate', None, None, ), # 3
28786
    (4, TType.I64, 'offset', None, None, ), # 4
28787
    (5, TType.I64, 'limit', None, None, ), # 5
28788
    (6, TType.I64, 'itemId', None, None, ), # 6
28789
  )
28790
 
28791
  def __init__(self, source=None, startDate=None, endDate=None, offset=None, limit=None, itemId=None,):
28792
    self.source = source
28793
    self.startDate = startDate
28794
    self.endDate = endDate
28795
    self.offset = offset
28796
    self.limit = limit
28797
    self.itemId = itemId
28798
 
28799
  def read(self, iprot):
28800
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28801
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28802
      return
28803
    iprot.readStructBegin()
28804
    while True:
28805
      (fname, ftype, fid) = iprot.readFieldBegin()
28806
      if ftype == TType.STOP:
28807
        break
28808
      if fid == 1:
28809
        if ftype == TType.I64:
28810
          self.source = iprot.readI64();
28811
        else:
28812
          iprot.skip(ftype)
28813
      elif fid == 2:
28814
        if ftype == TType.I64:
28815
          self.startDate = iprot.readI64();
28816
        else:
28817
          iprot.skip(ftype)
28818
      elif fid == 3:
28819
        if ftype == TType.I64:
28820
          self.endDate = iprot.readI64();
28821
        else:
28822
          iprot.skip(ftype)
28823
      elif fid == 4:
28824
        if ftype == TType.I64:
28825
          self.offset = iprot.readI64();
28826
        else:
28827
          iprot.skip(ftype)
28828
      elif fid == 5:
28829
        if ftype == TType.I64:
28830
          self.limit = iprot.readI64();
28831
        else:
28832
          iprot.skip(ftype)
28833
      elif fid == 6:
28834
        if ftype == TType.I64:
28835
          self.itemId = iprot.readI64();
28836
        else:
28837
          iprot.skip(ftype)
28838
      else:
28839
        iprot.skip(ftype)
28840
      iprot.readFieldEnd()
28841
    iprot.readStructEnd()
28842
 
28843
  def write(self, oprot):
28844
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28845
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28846
      return
28847
    oprot.writeStructBegin('getMarketplaceHistoryByDate_args')
28848
    if self.source is not None:
28849
      oprot.writeFieldBegin('source', TType.I64, 1)
28850
      oprot.writeI64(self.source)
28851
      oprot.writeFieldEnd()
28852
    if self.startDate is not None:
28853
      oprot.writeFieldBegin('startDate', TType.I64, 2)
28854
      oprot.writeI64(self.startDate)
28855
      oprot.writeFieldEnd()
28856
    if self.endDate is not None:
28857
      oprot.writeFieldBegin('endDate', TType.I64, 3)
28858
      oprot.writeI64(self.endDate)
28859
      oprot.writeFieldEnd()
28860
    if self.offset is not None:
28861
      oprot.writeFieldBegin('offset', TType.I64, 4)
28862
      oprot.writeI64(self.offset)
28863
      oprot.writeFieldEnd()
28864
    if self.limit is not None:
28865
      oprot.writeFieldBegin('limit', TType.I64, 5)
28866
      oprot.writeI64(self.limit)
28867
      oprot.writeFieldEnd()
28868
    if self.itemId is not None:
28869
      oprot.writeFieldBegin('itemId', TType.I64, 6)
28870
      oprot.writeI64(self.itemId)
28871
      oprot.writeFieldEnd()
28872
    oprot.writeFieldStop()
28873
    oprot.writeStructEnd()
28874
 
28875
  def validate(self):
28876
    return
28877
 
28878
 
28879
  def __repr__(self):
28880
    L = ['%s=%r' % (key, value)
28881
      for key, value in self.__dict__.iteritems()]
28882
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28883
 
28884
  def __eq__(self, other):
28885
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28886
 
28887
  def __ne__(self, other):
28888
    return not (self == other)
28889
 
28890
class getMarketplaceHistoryByDate_result:
28891
  """
28892
  Attributes:
28893
   - success
28894
  """
28895
 
28896
  thrift_spec = (
28897
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
28898
  )
28899
 
28900
  def __init__(self, success=None,):
28901
    self.success = success
28902
 
28903
  def read(self, iprot):
28904
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28905
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28906
      return
28907
    iprot.readStructBegin()
28908
    while True:
28909
      (fname, ftype, fid) = iprot.readFieldBegin()
28910
      if ftype == TType.STOP:
28911
        break
28912
      if fid == 0:
28913
        if ftype == TType.LIST:
28914
          self.success = []
28915
          (_etype644, _size641) = iprot.readListBegin()
28916
          for _i645 in xrange(_size641):
28917
            _elem646 = MarketplaceHistory()
28918
            _elem646.read(iprot)
28919
            self.success.append(_elem646)
28920
          iprot.readListEnd()
28921
        else:
28922
          iprot.skip(ftype)
28923
      else:
28924
        iprot.skip(ftype)
28925
      iprot.readFieldEnd()
28926
    iprot.readStructEnd()
28927
 
28928
  def write(self, oprot):
28929
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28930
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28931
      return
28932
    oprot.writeStructBegin('getMarketplaceHistoryByDate_result')
28933
    if self.success is not None:
28934
      oprot.writeFieldBegin('success', TType.LIST, 0)
28935
      oprot.writeListBegin(TType.STRUCT, len(self.success))
28936
      for iter647 in self.success:
28937
        iter647.write(oprot)
28938
      oprot.writeListEnd()
28939
      oprot.writeFieldEnd()
28940
    oprot.writeFieldStop()
28941
    oprot.writeStructEnd()
28942
 
28943
  def validate(self):
28944
    return
28945
 
28946
 
28947
  def __repr__(self):
28948
    L = ['%s=%r' % (key, value)
28949
      for key, value in self.__dict__.iteritems()]
28950
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28951
 
28952
  def __eq__(self, other):
28953
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28954
 
28955
  def __ne__(self, other):
28956
    return not (self == other)
11531 vikram.rag 28957
 
28958
class getPrivateDealDetails_args:
28959
  """
28960
  Attributes:
28961
   - item_id
28962
  """
28963
 
28964
  thrift_spec = (
28965
    None, # 0
28966
    (1, TType.I64, 'item_id', None, None, ), # 1
28967
  )
28968
 
28969
  def __init__(self, item_id=None,):
28970
    self.item_id = item_id
28971
 
28972
  def read(self, iprot):
28973
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28974
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28975
      return
28976
    iprot.readStructBegin()
28977
    while True:
28978
      (fname, ftype, fid) = iprot.readFieldBegin()
28979
      if ftype == TType.STOP:
28980
        break
28981
      if fid == 1:
28982
        if ftype == TType.I64:
28983
          self.item_id = iprot.readI64();
28984
        else:
28985
          iprot.skip(ftype)
28986
      else:
28987
        iprot.skip(ftype)
28988
      iprot.readFieldEnd()
28989
    iprot.readStructEnd()
28990
 
28991
  def write(self, oprot):
28992
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28993
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28994
      return
28995
    oprot.writeStructBegin('getPrivateDealDetails_args')
28996
    if self.item_id is not None:
28997
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28998
      oprot.writeI64(self.item_id)
28999
      oprot.writeFieldEnd()
29000
    oprot.writeFieldStop()
29001
    oprot.writeStructEnd()
29002
 
29003
  def validate(self):
29004
    return
29005
 
29006
 
29007
  def __repr__(self):
29008
    L = ['%s=%r' % (key, value)
29009
      for key, value in self.__dict__.iteritems()]
29010
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29011
 
29012
  def __eq__(self, other):
29013
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29014
 
29015
  def __ne__(self, other):
29016
    return not (self == other)
29017
 
29018
class getPrivateDealDetails_result:
29019
  """
29020
  Attributes:
29021
   - success
29022
  """
29023
 
29024
  thrift_spec = (
29025
    (0, TType.STRUCT, 'success', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 0
29026
  )
29027
 
29028
  def __init__(self, success=None,):
29029
    self.success = success
29030
 
29031
  def read(self, iprot):
29032
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29033
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29034
      return
29035
    iprot.readStructBegin()
29036
    while True:
29037
      (fname, ftype, fid) = iprot.readFieldBegin()
29038
      if ftype == TType.STOP:
29039
        break
29040
      if fid == 0:
29041
        if ftype == TType.STRUCT:
29042
          self.success = PrivateDeal()
29043
          self.success.read(iprot)
29044
        else:
29045
          iprot.skip(ftype)
29046
      else:
29047
        iprot.skip(ftype)
29048
      iprot.readFieldEnd()
29049
    iprot.readStructEnd()
29050
 
29051
  def write(self, oprot):
29052
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29053
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29054
      return
29055
    oprot.writeStructBegin('getPrivateDealDetails_result')
29056
    if self.success is not None:
29057
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
29058
      self.success.write(oprot)
29059
      oprot.writeFieldEnd()
29060
    oprot.writeFieldStop()
29061
    oprot.writeStructEnd()
29062
 
29063
  def validate(self):
29064
    return
29065
 
29066
 
29067
  def __repr__(self):
29068
    L = ['%s=%r' % (key, value)
29069
      for key, value in self.__dict__.iteritems()]
29070
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29071
 
29072
  def __eq__(self, other):
29073
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29074
 
29075
  def __ne__(self, other):
29076
    return not (self == other)
29077
 
29078
class getPrivateDealItems_args:
29079
  """
29080
  Attributes:
29081
   - offset
29082
   - limit
29083
  """
29084
 
29085
  thrift_spec = (
29086
    None, # 0
29087
    (1, TType.I64, 'offset', None, None, ), # 1
29088
    (2, TType.I64, 'limit', None, None, ), # 2
29089
  )
29090
 
29091
  def __init__(self, offset=None, limit=None,):
29092
    self.offset = offset
29093
    self.limit = limit
29094
 
29095
  def read(self, iprot):
29096
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29097
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29098
      return
29099
    iprot.readStructBegin()
29100
    while True:
29101
      (fname, ftype, fid) = iprot.readFieldBegin()
29102
      if ftype == TType.STOP:
29103
        break
29104
      if fid == 1:
29105
        if ftype == TType.I64:
29106
          self.offset = iprot.readI64();
29107
        else:
29108
          iprot.skip(ftype)
29109
      elif fid == 2:
29110
        if ftype == TType.I64:
29111
          self.limit = iprot.readI64();
29112
        else:
29113
          iprot.skip(ftype)
29114
      else:
29115
        iprot.skip(ftype)
29116
      iprot.readFieldEnd()
29117
    iprot.readStructEnd()
29118
 
29119
  def write(self, oprot):
29120
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29121
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29122
      return
29123
    oprot.writeStructBegin('getPrivateDealItems_args')
29124
    if self.offset is not None:
29125
      oprot.writeFieldBegin('offset', TType.I64, 1)
29126
      oprot.writeI64(self.offset)
29127
      oprot.writeFieldEnd()
29128
    if self.limit is not None:
29129
      oprot.writeFieldBegin('limit', TType.I64, 2)
29130
      oprot.writeI64(self.limit)
29131
      oprot.writeFieldEnd()
29132
    oprot.writeFieldStop()
29133
    oprot.writeStructEnd()
29134
 
29135
  def validate(self):
29136
    return
29137
 
29138
 
29139
  def __repr__(self):
29140
    L = ['%s=%r' % (key, value)
29141
      for key, value in self.__dict__.iteritems()]
29142
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29143
 
29144
  def __eq__(self, other):
29145
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29146
 
29147
  def __ne__(self, other):
29148
    return not (self == other)
29149
 
29150
class getPrivateDealItems_result:
29151
  """
29152
  Attributes:
29153
   - success
29154
  """
29155
 
29156
  thrift_spec = (
29157
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
29158
  )
29159
 
29160
  def __init__(self, success=None,):
29161
    self.success = success
29162
 
29163
  def read(self, iprot):
29164
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29165
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29166
      return
29167
    iprot.readStructBegin()
29168
    while True:
29169
      (fname, ftype, fid) = iprot.readFieldBegin()
29170
      if ftype == TType.STOP:
29171
        break
29172
      if fid == 0:
29173
        if ftype == TType.LIST:
29174
          self.success = []
29175
          (_etype651, _size648) = iprot.readListBegin()
29176
          for _i652 in xrange(_size648):
29177
            _elem653 = Item()
29178
            _elem653.read(iprot)
29179
            self.success.append(_elem653)
29180
          iprot.readListEnd()
29181
        else:
29182
          iprot.skip(ftype)
29183
      else:
29184
        iprot.skip(ftype)
29185
      iprot.readFieldEnd()
29186
    iprot.readStructEnd()
29187
 
29188
  def write(self, oprot):
29189
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29190
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29191
      return
29192
    oprot.writeStructBegin('getPrivateDealItems_result')
29193
    if self.success is not None:
29194
      oprot.writeFieldBegin('success', TType.LIST, 0)
29195
      oprot.writeListBegin(TType.STRUCT, len(self.success))
29196
      for iter654 in self.success:
29197
        iter654.write(oprot)
29198
      oprot.writeListEnd()
29199
      oprot.writeFieldEnd()
29200
    oprot.writeFieldStop()
29201
    oprot.writeStructEnd()
29202
 
29203
  def validate(self):
29204
    return
29205
 
29206
 
29207
  def __repr__(self):
29208
    L = ['%s=%r' % (key, value)
29209
      for key, value in self.__dict__.iteritems()]
29210
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29211
 
29212
  def __eq__(self, other):
29213
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29214
 
29215
  def __ne__(self, other):
29216
    return not (self == other)
29217
 
11592 amit.gupta 29218
class getAllActivePrivateDeals_args:
11653 amit.gupta 29219
  """
29220
  Attributes:
29221
   - itemIds
29222
   - daysDelta
29223
  """
11592 amit.gupta 29224
 
29225
  thrift_spec = (
11653 amit.gupta 29226
    None, # 0
29227
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
29228
    (2, TType.I64, 'daysDelta', None, None, ), # 2
11592 amit.gupta 29229
  )
29230
 
11653 amit.gupta 29231
  def __init__(self, itemIds=None, daysDelta=None,):
29232
    self.itemIds = itemIds
29233
    self.daysDelta = daysDelta
29234
 
11592 amit.gupta 29235
  def read(self, iprot):
29236
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29237
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29238
      return
29239
    iprot.readStructBegin()
29240
    while True:
29241
      (fname, ftype, fid) = iprot.readFieldBegin()
29242
      if ftype == TType.STOP:
29243
        break
11653 amit.gupta 29244
      if fid == 1:
29245
        if ftype == TType.LIST:
29246
          self.itemIds = []
29247
          (_etype658, _size655) = iprot.readListBegin()
29248
          for _i659 in xrange(_size655):
29249
            _elem660 = iprot.readI64();
29250
            self.itemIds.append(_elem660)
29251
          iprot.readListEnd()
29252
        else:
29253
          iprot.skip(ftype)
29254
      elif fid == 2:
29255
        if ftype == TType.I64:
29256
          self.daysDelta = iprot.readI64();
29257
        else:
29258
          iprot.skip(ftype)
11592 amit.gupta 29259
      else:
29260
        iprot.skip(ftype)
29261
      iprot.readFieldEnd()
29262
    iprot.readStructEnd()
29263
 
29264
  def write(self, oprot):
29265
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29266
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29267
      return
29268
    oprot.writeStructBegin('getAllActivePrivateDeals_args')
11653 amit.gupta 29269
    if self.itemIds is not None:
29270
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
29271
      oprot.writeListBegin(TType.I64, len(self.itemIds))
29272
      for iter661 in self.itemIds:
29273
        oprot.writeI64(iter661)
29274
      oprot.writeListEnd()
29275
      oprot.writeFieldEnd()
29276
    if self.daysDelta is not None:
29277
      oprot.writeFieldBegin('daysDelta', TType.I64, 2)
29278
      oprot.writeI64(self.daysDelta)
29279
      oprot.writeFieldEnd()
11592 amit.gupta 29280
    oprot.writeFieldStop()
29281
    oprot.writeStructEnd()
29282
 
29283
  def validate(self):
29284
    return
29285
 
29286
 
29287
  def __repr__(self):
29288
    L = ['%s=%r' % (key, value)
29289
      for key, value in self.__dict__.iteritems()]
29290
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29291
 
29292
  def __eq__(self, other):
29293
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29294
 
29295
  def __ne__(self, other):
29296
    return not (self == other)
29297
 
29298
class getAllActivePrivateDeals_result:
29299
  """
29300
  Attributes:
29301
   - success
29302
  """
29303
 
29304
  thrift_spec = (
29305
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(PrivateDeal, PrivateDeal.thrift_spec)), None, ), # 0
29306
  )
29307
 
29308
  def __init__(self, success=None,):
29309
    self.success = success
29310
 
29311
  def read(self, iprot):
29312
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29313
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29314
      return
29315
    iprot.readStructBegin()
29316
    while True:
29317
      (fname, ftype, fid) = iprot.readFieldBegin()
29318
      if ftype == TType.STOP:
29319
        break
29320
      if fid == 0:
29321
        if ftype == TType.MAP:
29322
          self.success = {}
11653 amit.gupta 29323
          (_ktype663, _vtype664, _size662 ) = iprot.readMapBegin() 
29324
          for _i666 in xrange(_size662):
29325
            _key667 = iprot.readI64();
29326
            _val668 = PrivateDeal()
29327
            _val668.read(iprot)
29328
            self.success[_key667] = _val668
11592 amit.gupta 29329
          iprot.readMapEnd()
29330
        else:
29331
          iprot.skip(ftype)
29332
      else:
29333
        iprot.skip(ftype)
29334
      iprot.readFieldEnd()
29335
    iprot.readStructEnd()
29336
 
29337
  def write(self, oprot):
29338
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29339
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29340
      return
29341
    oprot.writeStructBegin('getAllActivePrivateDeals_result')
29342
    if self.success is not None:
29343
      oprot.writeFieldBegin('success', TType.MAP, 0)
29344
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
11653 amit.gupta 29345
      for kiter669,viter670 in self.success.items():
29346
        oprot.writeI64(kiter669)
29347
        viter670.write(oprot)
11592 amit.gupta 29348
      oprot.writeMapEnd()
29349
      oprot.writeFieldEnd()
29350
    oprot.writeFieldStop()
29351
    oprot.writeStructEnd()
29352
 
29353
  def validate(self):
29354
    return
29355
 
29356
 
29357
  def __repr__(self):
29358
    L = ['%s=%r' % (key, value)
29359
      for key, value in self.__dict__.iteritems()]
29360
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29361
 
29362
  def __eq__(self, other):
29363
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29364
 
29365
  def __ne__(self, other):
29366
    return not (self == other)
29367
 
11531 vikram.rag 29368
class addOrUpdatePrivateDeal_args:
29369
  """
29370
  Attributes:
29371
   - privateDeal
29372
  """
29373
 
29374
  thrift_spec = (
29375
    None, # 0
29376
    (1, TType.STRUCT, 'privateDeal', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 1
29377
  )
29378
 
29379
  def __init__(self, privateDeal=None,):
29380
    self.privateDeal = privateDeal
29381
 
29382
  def read(self, iprot):
29383
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29384
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29385
      return
29386
    iprot.readStructBegin()
29387
    while True:
29388
      (fname, ftype, fid) = iprot.readFieldBegin()
29389
      if ftype == TType.STOP:
29390
        break
29391
      if fid == 1:
29392
        if ftype == TType.STRUCT:
29393
          self.privateDeal = PrivateDeal()
29394
          self.privateDeal.read(iprot)
29395
        else:
29396
          iprot.skip(ftype)
29397
      else:
29398
        iprot.skip(ftype)
29399
      iprot.readFieldEnd()
29400
    iprot.readStructEnd()
29401
 
29402
  def write(self, oprot):
29403
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29404
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29405
      return
29406
    oprot.writeStructBegin('addOrUpdatePrivateDeal_args')
29407
    if self.privateDeal is not None:
29408
      oprot.writeFieldBegin('privateDeal', TType.STRUCT, 1)
29409
      self.privateDeal.write(oprot)
29410
      oprot.writeFieldEnd()
29411
    oprot.writeFieldStop()
29412
    oprot.writeStructEnd()
29413
 
29414
  def validate(self):
29415
    return
29416
 
29417
 
29418
  def __repr__(self):
29419
    L = ['%s=%r' % (key, value)
29420
      for key, value in self.__dict__.iteritems()]
29421
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29422
 
29423
  def __eq__(self, other):
29424
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29425
 
29426
  def __ne__(self, other):
29427
    return not (self == other)
29428
 
29429
class addOrUpdatePrivateDeal_result:
29430
  """
29431
  Attributes:
29432
   - success
29433
  """
29434
 
29435
  thrift_spec = (
29436
    (0, TType.BOOL, 'success', None, None, ), # 0
29437
  )
29438
 
29439
  def __init__(self, success=None,):
29440
    self.success = success
29441
 
29442
  def read(self, iprot):
29443
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29444
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29445
      return
29446
    iprot.readStructBegin()
29447
    while True:
29448
      (fname, ftype, fid) = iprot.readFieldBegin()
29449
      if ftype == TType.STOP:
29450
        break
29451
      if fid == 0:
29452
        if ftype == TType.BOOL:
29453
          self.success = iprot.readBool();
29454
        else:
29455
          iprot.skip(ftype)
29456
      else:
29457
        iprot.skip(ftype)
29458
      iprot.readFieldEnd()
29459
    iprot.readStructEnd()
29460
 
29461
  def write(self, oprot):
29462
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29463
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29464
      return
29465
    oprot.writeStructBegin('addOrUpdatePrivateDeal_result')
29466
    if self.success is not None:
29467
      oprot.writeFieldBegin('success', TType.BOOL, 0)
29468
      oprot.writeBool(self.success)
29469
      oprot.writeFieldEnd()
29470
    oprot.writeFieldStop()
29471
    oprot.writeStructEnd()
29472
 
29473
  def validate(self):
29474
    return
29475
 
29476
 
29477
  def __repr__(self):
29478
    L = ['%s=%r' % (key, value)
29479
      for key, value in self.__dict__.iteritems()]
29480
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29481
 
29482
  def __eq__(self, other):
29483
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29484
 
29485
  def __ne__(self, other):
29486
    return not (self == other)
11635 vikram.rag 29487
 
29488
class getPrivateDealsCatalogIds_args:
29489
  """
29490
  Attributes:
29491
   - beginIndex
29492
   - totalItems
29493
  """
29494
 
29495
  thrift_spec = (
29496
    None, # 0
29497
    (1, TType.I64, 'beginIndex', None, None, ), # 1
29498
    (2, TType.I64, 'totalItems', None, None, ), # 2
29499
  )
29500
 
29501
  def __init__(self, beginIndex=None, totalItems=None,):
29502
    self.beginIndex = beginIndex
29503
    self.totalItems = totalItems
29504
 
29505
  def read(self, iprot):
29506
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29507
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29508
      return
29509
    iprot.readStructBegin()
29510
    while True:
29511
      (fname, ftype, fid) = iprot.readFieldBegin()
29512
      if ftype == TType.STOP:
29513
        break
29514
      if fid == 1:
29515
        if ftype == TType.I64:
29516
          self.beginIndex = iprot.readI64();
29517
        else:
29518
          iprot.skip(ftype)
29519
      elif fid == 2:
29520
        if ftype == TType.I64:
29521
          self.totalItems = iprot.readI64();
29522
        else:
29523
          iprot.skip(ftype)
29524
      else:
29525
        iprot.skip(ftype)
29526
      iprot.readFieldEnd()
29527
    iprot.readStructEnd()
29528
 
29529
  def write(self, oprot):
29530
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29531
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29532
      return
29533
    oprot.writeStructBegin('getPrivateDealsCatalogIds_args')
29534
    if self.beginIndex is not None:
29535
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
29536
      oprot.writeI64(self.beginIndex)
29537
      oprot.writeFieldEnd()
29538
    if self.totalItems is not None:
29539
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
29540
      oprot.writeI64(self.totalItems)
29541
      oprot.writeFieldEnd()
29542
    oprot.writeFieldStop()
29543
    oprot.writeStructEnd()
29544
 
29545
  def validate(self):
29546
    return
29547
 
29548
 
29549
  def __repr__(self):
29550
    L = ['%s=%r' % (key, value)
29551
      for key, value in self.__dict__.iteritems()]
29552
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29553
 
29554
  def __eq__(self, other):
29555
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29556
 
29557
  def __ne__(self, other):
29558
    return not (self == other)
29559
 
29560
class getPrivateDealsCatalogIds_result:
29561
  """
29562
  Attributes:
29563
   - success
29564
   - cex
29565
  """
29566
 
29567
  thrift_spec = (
29568
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
29569
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
29570
  )
29571
 
29572
  def __init__(self, success=None, cex=None,):
29573
    self.success = success
29574
    self.cex = cex
29575
 
29576
  def read(self, iprot):
29577
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29578
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29579
      return
29580
    iprot.readStructBegin()
29581
    while True:
29582
      (fname, ftype, fid) = iprot.readFieldBegin()
29583
      if ftype == TType.STOP:
29584
        break
29585
      if fid == 0:
29586
        if ftype == TType.LIST:
29587
          self.success = []
11653 amit.gupta 29588
          (_etype674, _size671) = iprot.readListBegin()
29589
          for _i675 in xrange(_size671):
29590
            _elem676 = iprot.readI64();
29591
            self.success.append(_elem676)
11635 vikram.rag 29592
          iprot.readListEnd()
29593
        else:
29594
          iprot.skip(ftype)
29595
      elif fid == 1:
29596
        if ftype == TType.STRUCT:
29597
          self.cex = CatalogServiceException()
29598
          self.cex.read(iprot)
29599
        else:
29600
          iprot.skip(ftype)
29601
      else:
29602
        iprot.skip(ftype)
29603
      iprot.readFieldEnd()
29604
    iprot.readStructEnd()
29605
 
29606
  def write(self, oprot):
29607
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29608
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29609
      return
29610
    oprot.writeStructBegin('getPrivateDealsCatalogIds_result')
29611
    if self.success is not None:
29612
      oprot.writeFieldBegin('success', TType.LIST, 0)
29613
      oprot.writeListBegin(TType.I64, len(self.success))
11653 amit.gupta 29614
      for iter677 in self.success:
29615
        oprot.writeI64(iter677)
11635 vikram.rag 29616
      oprot.writeListEnd()
29617
      oprot.writeFieldEnd()
29618
    if self.cex is not None:
29619
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
29620
      self.cex.write(oprot)
29621
      oprot.writeFieldEnd()
29622
    oprot.writeFieldStop()
29623
    oprot.writeStructEnd()
29624
 
29625
  def validate(self):
29626
    return
29627
 
29628
 
29629
  def __repr__(self):
29630
    L = ['%s=%r' % (key, value)
29631
      for key, value in self.__dict__.iteritems()]
29632
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29633
 
29634
  def __eq__(self, other):
29635
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29636
 
29637
  def __ne__(self, other):
29638
    return not (self == other)
11645 amit.gupta 29639
 
29640
class getPrivateDealsCount_args:
29641
 
29642
  thrift_spec = (
29643
  )
29644
 
29645
  def read(self, iprot):
29646
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29647
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29648
      return
29649
    iprot.readStructBegin()
29650
    while True:
29651
      (fname, ftype, fid) = iprot.readFieldBegin()
29652
      if ftype == TType.STOP:
29653
        break
29654
      else:
29655
        iprot.skip(ftype)
29656
      iprot.readFieldEnd()
29657
    iprot.readStructEnd()
29658
 
29659
  def write(self, oprot):
29660
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29661
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29662
      return
29663
    oprot.writeStructBegin('getPrivateDealsCount_args')
29664
    oprot.writeFieldStop()
29665
    oprot.writeStructEnd()
29666
 
29667
  def validate(self):
29668
    return
29669
 
29670
 
29671
  def __repr__(self):
29672
    L = ['%s=%r' % (key, value)
29673
      for key, value in self.__dict__.iteritems()]
29674
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29675
 
29676
  def __eq__(self, other):
29677
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29678
 
29679
  def __ne__(self, other):
29680
    return not (self == other)
29681
 
29682
class getPrivateDealsCount_result:
29683
  """
29684
  Attributes:
29685
   - success
29686
  """
29687
 
29688
  thrift_spec = (
29689
    (0, TType.I32, 'success', None, None, ), # 0
29690
  )
29691
 
29692
  def __init__(self, success=None,):
29693
    self.success = success
29694
 
29695
  def read(self, iprot):
29696
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29697
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29698
      return
29699
    iprot.readStructBegin()
29700
    while True:
29701
      (fname, ftype, fid) = iprot.readFieldBegin()
29702
      if ftype == TType.STOP:
29703
        break
29704
      if fid == 0:
29705
        if ftype == TType.I32:
29706
          self.success = iprot.readI32();
29707
        else:
29708
          iprot.skip(ftype)
29709
      else:
29710
        iprot.skip(ftype)
29711
      iprot.readFieldEnd()
29712
    iprot.readStructEnd()
29713
 
29714
  def write(self, oprot):
29715
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29716
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29717
      return
29718
    oprot.writeStructBegin('getPrivateDealsCount_result')
29719
    if self.success is not None:
29720
      oprot.writeFieldBegin('success', TType.I32, 0)
29721
      oprot.writeI32(self.success)
29722
      oprot.writeFieldEnd()
29723
    oprot.writeFieldStop()
29724
    oprot.writeStructEnd()
29725
 
29726
  def validate(self):
29727
    return
29728
 
29729
 
29730
  def __repr__(self):
29731
    L = ['%s=%r' % (key, value)
29732
      for key, value in self.__dict__.iteritems()]
29733
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29734
 
29735
  def __eq__(self, other):
29736
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29737
 
29738
  def __ne__(self, other):
29739
    return not (self == other)
11905 kshitij.so 29740
 
29741
class getAmazonOutSyncItems_args:
29742
  """
29743
  Attributes:
29744
   - item_id
29745
  """
29746
 
29747
  thrift_spec = (
29748
    None, # 0
29749
    (1, TType.I64, 'item_id', None, None, ), # 1
29750
  )
29751
 
29752
  def __init__(self, item_id=None,):
29753
    self.item_id = item_id
29754
 
29755
  def read(self, iprot):
29756
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29757
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29758
      return
29759
    iprot.readStructBegin()
29760
    while True:
29761
      (fname, ftype, fid) = iprot.readFieldBegin()
29762
      if ftype == TType.STOP:
29763
        break
29764
      if fid == 1:
29765
        if ftype == TType.I64:
29766
          self.item_id = iprot.readI64();
29767
        else:
29768
          iprot.skip(ftype)
29769
      else:
29770
        iprot.skip(ftype)
29771
      iprot.readFieldEnd()
29772
    iprot.readStructEnd()
29773
 
29774
  def write(self, oprot):
29775
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29776
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29777
      return
29778
    oprot.writeStructBegin('getAmazonOutSyncItems_args')
29779
    if self.item_id is not None:
29780
      oprot.writeFieldBegin('item_id', TType.I64, 1)
29781
      oprot.writeI64(self.item_id)
29782
      oprot.writeFieldEnd()
29783
    oprot.writeFieldStop()
29784
    oprot.writeStructEnd()
29785
 
29786
  def validate(self):
29787
    return
29788
 
29789
 
29790
  def __repr__(self):
29791
    L = ['%s=%r' % (key, value)
29792
      for key, value in self.__dict__.iteritems()]
29793
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29794
 
29795
  def __eq__(self, other):
29796
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29797
 
29798
  def __ne__(self, other):
29799
    return not (self == other)
29800
 
29801
class getAmazonOutSyncItems_result:
29802
  """
29803
  Attributes:
29804
   - success
29805
  """
29806
 
29807
  thrift_spec = (
29808
    (0, TType.STRUCT, 'success', (AmazonOutOfSync, AmazonOutOfSync.thrift_spec), None, ), # 0
29809
  )
29810
 
29811
  def __init__(self, success=None,):
29812
    self.success = success
29813
 
29814
  def read(self, iprot):
29815
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29816
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29817
      return
29818
    iprot.readStructBegin()
29819
    while True:
29820
      (fname, ftype, fid) = iprot.readFieldBegin()
29821
      if ftype == TType.STOP:
29822
        break
29823
      if fid == 0:
29824
        if ftype == TType.STRUCT:
29825
          self.success = AmazonOutOfSync()
29826
          self.success.read(iprot)
29827
        else:
29828
          iprot.skip(ftype)
29829
      else:
29830
        iprot.skip(ftype)
29831
      iprot.readFieldEnd()
29832
    iprot.readStructEnd()
29833
 
29834
  def write(self, oprot):
29835
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29836
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29837
      return
29838
    oprot.writeStructBegin('getAmazonOutSyncItems_result')
29839
    if self.success is not None:
29840
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
29841
      self.success.write(oprot)
29842
      oprot.writeFieldEnd()
29843
    oprot.writeFieldStop()
29844
    oprot.writeStructEnd()
29845
 
29846
  def validate(self):
29847
    return
29848
 
29849
 
29850
  def __repr__(self):
29851
    L = ['%s=%r' % (key, value)
29852
      for key, value in self.__dict__.iteritems()]
29853
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29854
 
29855
  def __eq__(self, other):
29856
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29857
 
29858
  def __ne__(self, other):
29859
    return not (self == other)
29860
 
29861
class getAllPrivateDealsComparison_args:
29862
 
29863
  thrift_spec = (
29864
  )
29865
 
29866
  def read(self, iprot):
29867
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29868
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29869
      return
29870
    iprot.readStructBegin()
29871
    while True:
29872
      (fname, ftype, fid) = iprot.readFieldBegin()
29873
      if ftype == TType.STOP:
29874
        break
29875
      else:
29876
        iprot.skip(ftype)
29877
      iprot.readFieldEnd()
29878
    iprot.readStructEnd()
29879
 
29880
  def write(self, oprot):
29881
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29882
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29883
      return
29884
    oprot.writeStructBegin('getAllPrivateDealsComparison_args')
29885
    oprot.writeFieldStop()
29886
    oprot.writeStructEnd()
29887
 
29888
  def validate(self):
29889
    return
29890
 
29891
 
29892
  def __repr__(self):
29893
    L = ['%s=%r' % (key, value)
29894
      for key, value in self.__dict__.iteritems()]
29895
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29896
 
29897
  def __eq__(self, other):
29898
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29899
 
29900
  def __ne__(self, other):
29901
    return not (self == other)
29902
 
29903
class getAllPrivateDealsComparison_result:
29904
  """
29905
  Attributes:
29906
   - success
29907
  """
29908
 
29909
  thrift_spec = (
29910
    (0, TType.LIST, 'success', (TType.STRUCT,(PdPriceComp, PdPriceComp.thrift_spec)), None, ), # 0
29911
  )
29912
 
29913
  def __init__(self, success=None,):
29914
    self.success = success
29915
 
29916
  def read(self, iprot):
29917
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29918
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29919
      return
29920
    iprot.readStructBegin()
29921
    while True:
29922
      (fname, ftype, fid) = iprot.readFieldBegin()
29923
      if ftype == TType.STOP:
29924
        break
29925
      if fid == 0:
29926
        if ftype == TType.LIST:
29927
          self.success = []
29928
          (_etype681, _size678) = iprot.readListBegin()
29929
          for _i682 in xrange(_size678):
29930
            _elem683 = PdPriceComp()
29931
            _elem683.read(iprot)
29932
            self.success.append(_elem683)
29933
          iprot.readListEnd()
29934
        else:
29935
          iprot.skip(ftype)
29936
      else:
29937
        iprot.skip(ftype)
29938
      iprot.readFieldEnd()
29939
    iprot.readStructEnd()
29940
 
29941
  def write(self, oprot):
29942
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29943
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29944
      return
29945
    oprot.writeStructBegin('getAllPrivateDealsComparison_result')
29946
    if self.success is not None:
29947
      oprot.writeFieldBegin('success', TType.LIST, 0)
29948
      oprot.writeListBegin(TType.STRUCT, len(self.success))
29949
      for iter684 in self.success:
29950
        iter684.write(oprot)
29951
      oprot.writeListEnd()
29952
      oprot.writeFieldEnd()
29953
    oprot.writeFieldStop()
29954
    oprot.writeStructEnd()
29955
 
29956
  def validate(self):
29957
    return
29958
 
29959
 
29960
  def __repr__(self):
29961
    L = ['%s=%r' % (key, value)
29962
      for key, value in self.__dict__.iteritems()]
29963
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29964
 
29965
  def __eq__(self, other):
29966
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29967
 
29968
  def __ne__(self, other):
29969
    return not (self == other)
12133 kshitij.so 29970
 
29971
class getAllSnapdealMarketplaceItem_args:
29972
 
29973
  thrift_spec = (
29974
  )
29975
 
29976
  def read(self, iprot):
29977
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29978
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29979
      return
29980
    iprot.readStructBegin()
29981
    while True:
29982
      (fname, ftype, fid) = iprot.readFieldBegin()
29983
      if ftype == TType.STOP:
29984
        break
29985
      else:
29986
        iprot.skip(ftype)
29987
      iprot.readFieldEnd()
29988
    iprot.readStructEnd()
29989
 
29990
  def write(self, oprot):
29991
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29992
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29993
      return
29994
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_args')
29995
    oprot.writeFieldStop()
29996
    oprot.writeStructEnd()
29997
 
29998
  def validate(self):
29999
    return
30000
 
30001
 
30002
  def __repr__(self):
30003
    L = ['%s=%r' % (key, value)
30004
      for key, value in self.__dict__.iteritems()]
30005
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30006
 
30007
  def __eq__(self, other):
30008
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30009
 
30010
  def __ne__(self, other):
30011
    return not (self == other)
30012
 
30013
class getAllSnapdealMarketplaceItem_result:
30014
  """
30015
  Attributes:
30016
   - success
30017
  """
30018
 
30019
  thrift_spec = (
30020
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItem, SnapdealItem.thrift_spec)), None, ), # 0
30021
  )
30022
 
30023
  def __init__(self, success=None,):
30024
    self.success = success
30025
 
30026
  def read(self, iprot):
30027
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30028
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30029
      return
30030
    iprot.readStructBegin()
30031
    while True:
30032
      (fname, ftype, fid) = iprot.readFieldBegin()
30033
      if ftype == TType.STOP:
30034
        break
30035
      if fid == 0:
30036
        if ftype == TType.LIST:
30037
          self.success = []
30038
          (_etype688, _size685) = iprot.readListBegin()
30039
          for _i689 in xrange(_size685):
30040
            _elem690 = SnapdealItem()
30041
            _elem690.read(iprot)
30042
            self.success.append(_elem690)
30043
          iprot.readListEnd()
30044
        else:
30045
          iprot.skip(ftype)
30046
      else:
30047
        iprot.skip(ftype)
30048
      iprot.readFieldEnd()
30049
    iprot.readStructEnd()
30050
 
30051
  def write(self, oprot):
30052
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30053
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30054
      return
30055
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_result')
30056
    if self.success is not None:
30057
      oprot.writeFieldBegin('success', TType.LIST, 0)
30058
      oprot.writeListBegin(TType.STRUCT, len(self.success))
30059
      for iter691 in self.success:
30060
        iter691.write(oprot)
30061
      oprot.writeListEnd()
30062
      oprot.writeFieldEnd()
30063
    oprot.writeFieldStop()
30064
    oprot.writeStructEnd()
30065
 
30066
  def validate(self):
30067
    return
30068
 
30069
 
30070
  def __repr__(self):
30071
    L = ['%s=%r' % (key, value)
30072
      for key, value in self.__dict__.iteritems()]
30073
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30074
 
30075
  def __eq__(self, other):
30076
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30077
 
30078
  def __ne__(self, other):
30079
    return not (self == other)
30080
 
30081
class getAllFlipkartMarketplaceItem_args:
30082
 
30083
  thrift_spec = (
30084
  )
30085
 
30086
  def read(self, iprot):
30087
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30088
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30089
      return
30090
    iprot.readStructBegin()
30091
    while True:
30092
      (fname, ftype, fid) = iprot.readFieldBegin()
30093
      if ftype == TType.STOP:
30094
        break
30095
      else:
30096
        iprot.skip(ftype)
30097
      iprot.readFieldEnd()
30098
    iprot.readStructEnd()
30099
 
30100
  def write(self, oprot):
30101
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30102
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30103
      return
30104
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_args')
30105
    oprot.writeFieldStop()
30106
    oprot.writeStructEnd()
30107
 
30108
  def validate(self):
30109
    return
30110
 
30111
 
30112
  def __repr__(self):
30113
    L = ['%s=%r' % (key, value)
30114
      for key, value in self.__dict__.iteritems()]
30115
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30116
 
30117
  def __eq__(self, other):
30118
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30119
 
30120
  def __ne__(self, other):
30121
    return not (self == other)
30122
 
30123
class getAllFlipkartMarketplaceItem_result:
30124
  """
30125
  Attributes:
30126
   - success
30127
  """
30128
 
30129
  thrift_spec = (
30130
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
30131
  )
30132
 
30133
  def __init__(self, success=None,):
30134
    self.success = success
30135
 
30136
  def read(self, iprot):
30137
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30138
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30139
      return
30140
    iprot.readStructBegin()
30141
    while True:
30142
      (fname, ftype, fid) = iprot.readFieldBegin()
30143
      if ftype == TType.STOP:
30144
        break
30145
      if fid == 0:
30146
        if ftype == TType.LIST:
30147
          self.success = []
30148
          (_etype695, _size692) = iprot.readListBegin()
30149
          for _i696 in xrange(_size692):
30150
            _elem697 = FlipkartItem()
30151
            _elem697.read(iprot)
30152
            self.success.append(_elem697)
30153
          iprot.readListEnd()
30154
        else:
30155
          iprot.skip(ftype)
30156
      else:
30157
        iprot.skip(ftype)
30158
      iprot.readFieldEnd()
30159
    iprot.readStructEnd()
30160
 
30161
  def write(self, oprot):
30162
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30163
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30164
      return
30165
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_result')
30166
    if self.success is not None:
30167
      oprot.writeFieldBegin('success', TType.LIST, 0)
30168
      oprot.writeListBegin(TType.STRUCT, len(self.success))
30169
      for iter698 in self.success:
30170
        iter698.write(oprot)
30171
      oprot.writeListEnd()
30172
      oprot.writeFieldEnd()
30173
    oprot.writeFieldStop()
30174
    oprot.writeStructEnd()
30175
 
30176
  def validate(self):
30177
    return
30178
 
30179
 
30180
  def __repr__(self):
30181
    L = ['%s=%r' % (key, value)
30182
      for key, value in self.__dict__.iteritems()]
30183
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30184
 
30185
  def __eq__(self, other):
30186
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30187
 
30188
  def __ne__(self, other):
30189
    return not (self == other)
12243 kshitij.so 30190
 
30191
class addCompetitorScraping_args:
30192
  """
30193
  Attributes:
30194
   - competitorPricingMap
30195
  """
30196
 
30197
  thrift_spec = (
30198
    None, # 0
30199
    (1, TType.MAP, 'competitorPricingMap', (TType.I64,None,TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 1
30200
  )
30201
 
30202
  def __init__(self, competitorPricingMap=None,):
30203
    self.competitorPricingMap = competitorPricingMap
30204
 
30205
  def read(self, iprot):
30206
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30207
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30208
      return
30209
    iprot.readStructBegin()
30210
    while True:
30211
      (fname, ftype, fid) = iprot.readFieldBegin()
30212
      if ftype == TType.STOP:
30213
        break
30214
      if fid == 1:
30215
        if ftype == TType.MAP:
30216
          self.competitorPricingMap = {}
30217
          (_ktype700, _vtype701, _size699 ) = iprot.readMapBegin() 
30218
          for _i703 in xrange(_size699):
30219
            _key704 = iprot.readI64();
30220
            _val705 = CompetitorPricing()
30221
            _val705.read(iprot)
30222
            self.competitorPricingMap[_key704] = _val705
30223
          iprot.readMapEnd()
30224
        else:
30225
          iprot.skip(ftype)
30226
      else:
30227
        iprot.skip(ftype)
30228
      iprot.readFieldEnd()
30229
    iprot.readStructEnd()
30230
 
30231
  def write(self, oprot):
30232
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30233
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30234
      return
30235
    oprot.writeStructBegin('addCompetitorScraping_args')
30236
    if self.competitorPricingMap is not None:
30237
      oprot.writeFieldBegin('competitorPricingMap', TType.MAP, 1)
30238
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.competitorPricingMap))
30239
      for kiter706,viter707 in self.competitorPricingMap.items():
30240
        oprot.writeI64(kiter706)
30241
        viter707.write(oprot)
30242
      oprot.writeMapEnd()
30243
      oprot.writeFieldEnd()
30244
    oprot.writeFieldStop()
30245
    oprot.writeStructEnd()
30246
 
30247
  def validate(self):
30248
    return
30249
 
30250
 
30251
  def __repr__(self):
30252
    L = ['%s=%r' % (key, value)
30253
      for key, value in self.__dict__.iteritems()]
30254
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30255
 
30256
  def __eq__(self, other):
30257
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30258
 
30259
  def __ne__(self, other):
30260
    return not (self == other)
30261
 
30262
class addCompetitorScraping_result:
30263
 
30264
  thrift_spec = (
30265
  )
30266
 
30267
  def read(self, iprot):
30268
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30269
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30270
      return
30271
    iprot.readStructBegin()
30272
    while True:
30273
      (fname, ftype, fid) = iprot.readFieldBegin()
30274
      if ftype == TType.STOP:
30275
        break
30276
      else:
30277
        iprot.skip(ftype)
30278
      iprot.readFieldEnd()
30279
    iprot.readStructEnd()
30280
 
30281
  def write(self, oprot):
30282
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30283
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30284
      return
30285
    oprot.writeStructBegin('addCompetitorScraping_result')
30286
    oprot.writeFieldStop()
30287
    oprot.writeStructEnd()
30288
 
30289
  def validate(self):
30290
    return
30291
 
30292
 
30293
  def __repr__(self):
30294
    L = ['%s=%r' % (key, value)
30295
      for key, value in self.__dict__.iteritems()]
30296
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30297
 
30298
  def __eq__(self, other):
30299
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30300
 
30301
  def __ne__(self, other):
30302
    return not (self == other)
30303
 
30304
class getPreviousCompetitorScraping_args:
30305
  """
30306
  Attributes:
30307
   - delta
30308
  """
30309
 
30310
  thrift_spec = (
30311
    None, # 0
30312
    (1, TType.I64, 'delta', None, None, ), # 1
30313
  )
30314
 
30315
  def __init__(self, delta=None,):
30316
    self.delta = delta
30317
 
30318
  def read(self, iprot):
30319
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30320
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30321
      return
30322
    iprot.readStructBegin()
30323
    while True:
30324
      (fname, ftype, fid) = iprot.readFieldBegin()
30325
      if ftype == TType.STOP:
30326
        break
30327
      if fid == 1:
30328
        if ftype == TType.I64:
30329
          self.delta = iprot.readI64();
30330
        else:
30331
          iprot.skip(ftype)
30332
      else:
30333
        iprot.skip(ftype)
30334
      iprot.readFieldEnd()
30335
    iprot.readStructEnd()
30336
 
30337
  def write(self, oprot):
30338
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30339
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30340
      return
30341
    oprot.writeStructBegin('getPreviousCompetitorScraping_args')
30342
    if self.delta is not None:
30343
      oprot.writeFieldBegin('delta', TType.I64, 1)
30344
      oprot.writeI64(self.delta)
30345
      oprot.writeFieldEnd()
30346
    oprot.writeFieldStop()
30347
    oprot.writeStructEnd()
30348
 
30349
  def validate(self):
30350
    return
30351
 
30352
 
30353
  def __repr__(self):
30354
    L = ['%s=%r' % (key, value)
30355
      for key, value in self.__dict__.iteritems()]
30356
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30357
 
30358
  def __eq__(self, other):
30359
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30360
 
30361
  def __ne__(self, other):
30362
    return not (self == other)
30363
 
30364
class getPreviousCompetitorScraping_result:
30365
  """
30366
  Attributes:
30367
   - success
30368
  """
30369
 
30370
  thrift_spec = (
30371
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
30372
  )
30373
 
30374
  def __init__(self, success=None,):
30375
    self.success = success
30376
 
30377
  def read(self, iprot):
30378
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30379
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30380
      return
30381
    iprot.readStructBegin()
30382
    while True:
30383
      (fname, ftype, fid) = iprot.readFieldBegin()
30384
      if ftype == TType.STOP:
30385
        break
30386
      if fid == 0:
30387
        if ftype == TType.LIST:
30388
          self.success = []
30389
          (_etype711, _size708) = iprot.readListBegin()
30390
          for _i712 in xrange(_size708):
30391
            _elem713 = CompetitorPricing()
30392
            _elem713.read(iprot)
30393
            self.success.append(_elem713)
30394
          iprot.readListEnd()
30395
        else:
30396
          iprot.skip(ftype)
30397
      else:
30398
        iprot.skip(ftype)
30399
      iprot.readFieldEnd()
30400
    iprot.readStructEnd()
30401
 
30402
  def write(self, oprot):
30403
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30404
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30405
      return
30406
    oprot.writeStructBegin('getPreviousCompetitorScraping_result')
30407
    if self.success is not None:
30408
      oprot.writeFieldBegin('success', TType.LIST, 0)
30409
      oprot.writeListBegin(TType.STRUCT, len(self.success))
30410
      for iter714 in self.success:
30411
        iter714.write(oprot)
30412
      oprot.writeListEnd()
30413
      oprot.writeFieldEnd()
30414
    oprot.writeFieldStop()
30415
    oprot.writeStructEnd()
30416
 
30417
  def validate(self):
30418
    return
30419
 
30420
 
30421
  def __repr__(self):
30422
    L = ['%s=%r' % (key, value)
30423
      for key, value in self.__dict__.iteritems()]
30424
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30425
 
30426
  def __eq__(self, other):
30427
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30428
 
30429
  def __ne__(self, other):
30430
    return not (self == other)
12256 kshitij.so 30431
 
30432
class getUploadResultById_args:
30433
  """
30434
  Attributes:
30435
   - uploadId
30436
  """
30437
 
30438
  thrift_spec = (
30439
    None, # 0
30440
    (1, TType.I64, 'uploadId', None, None, ), # 1
30441
  )
30442
 
30443
  def __init__(self, uploadId=None,):
30444
    self.uploadId = uploadId
30445
 
30446
  def read(self, iprot):
30447
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30448
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30449
      return
30450
    iprot.readStructBegin()
30451
    while True:
30452
      (fname, ftype, fid) = iprot.readFieldBegin()
30453
      if ftype == TType.STOP:
30454
        break
30455
      if fid == 1:
30456
        if ftype == TType.I64:
30457
          self.uploadId = iprot.readI64();
30458
        else:
30459
          iprot.skip(ftype)
30460
      else:
30461
        iprot.skip(ftype)
30462
      iprot.readFieldEnd()
30463
    iprot.readStructEnd()
30464
 
30465
  def write(self, oprot):
30466
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30467
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30468
      return
30469
    oprot.writeStructBegin('getUploadResultById_args')
30470
    if self.uploadId is not None:
30471
      oprot.writeFieldBegin('uploadId', TType.I64, 1)
30472
      oprot.writeI64(self.uploadId)
30473
      oprot.writeFieldEnd()
30474
    oprot.writeFieldStop()
30475
    oprot.writeStructEnd()
30476
 
30477
  def validate(self):
30478
    return
30479
 
30480
 
30481
  def __repr__(self):
30482
    L = ['%s=%r' % (key, value)
30483
      for key, value in self.__dict__.iteritems()]
30484
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30485
 
30486
  def __eq__(self, other):
30487
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30488
 
30489
  def __ne__(self, other):
30490
    return not (self == other)
30491
 
30492
class getUploadResultById_result:
30493
  """
30494
  Attributes:
30495
   - success
30496
  """
30497
 
30498
  thrift_spec = (
30499
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
30500
  )
30501
 
30502
  def __init__(self, success=None,):
30503
    self.success = success
30504
 
30505
  def read(self, iprot):
30506
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30507
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30508
      return
30509
    iprot.readStructBegin()
30510
    while True:
30511
      (fname, ftype, fid) = iprot.readFieldBegin()
30512
      if ftype == TType.STOP:
30513
        break
30514
      if fid == 0:
30515
        if ftype == TType.LIST:
30516
          self.success = []
30517
          (_etype718, _size715) = iprot.readListBegin()
30518
          for _i719 in xrange(_size715):
30519
            _elem720 = CompetitorPricing()
30520
            _elem720.read(iprot)
30521
            self.success.append(_elem720)
30522
          iprot.readListEnd()
30523
        else:
30524
          iprot.skip(ftype)
30525
      else:
30526
        iprot.skip(ftype)
30527
      iprot.readFieldEnd()
30528
    iprot.readStructEnd()
30529
 
30530
  def write(self, oprot):
30531
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30532
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30533
      return
30534
    oprot.writeStructBegin('getUploadResultById_result')
30535
    if self.success is not None:
30536
      oprot.writeFieldBegin('success', TType.LIST, 0)
30537
      oprot.writeListBegin(TType.STRUCT, len(self.success))
30538
      for iter721 in self.success:
30539
        iter721.write(oprot)
30540
      oprot.writeListEnd()
30541
      oprot.writeFieldEnd()
30542
    oprot.writeFieldStop()
30543
    oprot.writeStructEnd()
30544
 
30545
  def validate(self):
30546
    return
30547
 
30548
 
30549
  def __repr__(self):
30550
    L = ['%s=%r' % (key, value)
30551
      for key, value in self.__dict__.iteritems()]
30552
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30553
 
30554
  def __eq__(self, other):
30555
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30556
 
30557
  def __ne__(self, other):
30558
    return not (self == other)