Subversion Repositories SmartDukaan

Rev

Rev 19686 | Rev 19714 | 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
 
13493 amit.gupta 92
  def getItems(self, item_ids):
93
    """
94
    Parameters:
95
     - item_ids
96
    """
97
    pass
98
 
5944 mandeep.dh 99
  def getItemsByCatalogId(self, catalog_item_id):
100
    """
101
    Parameters:
102
     - catalog_item_id
103
    """
104
    pass
105
 
106
  def getValidItemsByCatalogId(self, catalog_item_id):
107
    """
108
    Parameters:
109
     - catalog_item_id
110
    """
111
    pass
112
 
113
  def getAllItems(self, isActive):
114
    """
115
    Parameters:
116
     - isActive
117
    """
118
    pass
119
 
120
  def getAllItemsByStatus(self, itemStatus):
121
    """
122
    Parameters:
123
     - itemStatus
124
    """
125
    pass
126
 
9253 rajveer 127
  def markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 128
    """
129
    Parameters:
130
     - entityId
131
     - category
132
     - brand
133
     - modelName
134
     - modelNumber
9253 rajveer 135
     - isAndroid
5944 mandeep.dh 136
    """
137
    pass
138
 
12567 amit.gupta 139
  def getVatRates(self, itemId, categoryId):
140
    """
141
    Parameters:
142
     - itemId
143
     - categoryId
144
    """
145
    pass
146
 
5944 mandeep.dh 147
  def getAllItemsInRange(self, offset, limit):
148
    """
149
    Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
150
 
151
    Parameters:
152
     - offset
153
     - limit
154
    """
155
    pass
156
 
157
  def getAllItemsByStatusInRange(self, itemStatus, offset, limit):
158
    """
159
    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.
160
 
161
    Parameters:
162
     - itemStatus
163
     - offset
164
     - limit
165
    """
166
    pass
167
 
168
  def getItemCountByStatus(self, useStatus, itemStatus):
169
    """
170
    Gets a count of all items by status
171
 
172
    Parameters:
173
     - useStatus
174
     - itemStatus
175
    """
176
    pass
177
 
178
  def getBestSellers(self, ):
179
    pass
180
 
181
  def getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
182
    """
183
    Parameters:
184
     - beginIndex
185
     - totalItems
186
     - brand
187
     - category
188
    """
189
    pass
190
 
191
  def getBestSellersCount(self, ):
192
    pass
193
 
194
  def getBestDeals(self, ):
195
    pass
196
 
197
  def getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
198
    """
199
    Parameters:
200
     - beginIndex
201
     - totalItems
202
     - brand
203
     - category
204
    """
205
    pass
206
 
207
  def getBestDealsCount(self, ):
208
    pass
209
 
210
  def getComingSoon(self, ):
211
    pass
212
 
213
  def getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
214
    """
215
    Parameters:
216
     - beginIndex
217
     - totalItems
218
     - brand
219
     - category
220
    """
221
    pass
222
 
223
  def getComingSoonCount(self, ):
224
    pass
225
 
226
  def getLatestArrivals(self, ):
227
    """
228
    Returns a list of items sorted in the descending order by start date.
229
    The list is limited to the 'latest_arrivals_count' configuraiton parameter.
230
    """
231
    pass
232
 
233
  def getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
234
    """
235
    Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
236
    To ignore the categories, pass the list as empty. To ignore brand, pass it as null.
237
 
238
    Parameters:
239
     - beginIndex
240
     - totalItems
241
     - brand
242
     - categories
243
    """
244
    pass
245
 
246
  def getLatestArrivalsCount(self, ):
247
    """
248
    Get the total number of latest arrivals we are willing to show.
249
    The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
250
    """
251
    pass
252
 
253
  def generateNewEntityID(self, ):
254
    pass
255
 
256
  def addCategory(self, category):
257
    """
258
    All category related functions
259
 
260
    Parameters:
261
     - category
262
    """
263
    pass
264
 
265
  def getCategory(self, id):
266
    """
267
    Parameters:
268
     - id
269
    """
270
    pass
271
 
272
  def getAllCategories(self, ):
273
    pass
274
 
275
  def getAllSimilarItems(self, itemId):
276
    """
277
    Returns the list of similar items.
278
 
279
    Parameters:
280
     - itemId
281
    """
282
    pass
283
 
284
  def addSimilarItem(self, itemId, catalogItemId):
285
    """
286
    Adds similar item.
287
 
288
    Parameters:
289
     - itemId
290
     - catalogItemId
291
    """
292
    pass
293
 
6512 kshitij.so 294
  def addTag(self, displayName, itemId):
295
    """
296
    Tag Related
297
 
298
    Parameters:
299
     - displayName
300
     - itemId
301
    """
302
    pass
303
 
304
  def deleteEntityTag(self, displayName, itemId):
305
    """
306
    Parameters:
307
     - displayName
308
     - itemId
309
    """
310
    pass
311
 
312
  def deleteTag(self, displayName):
313
    """
314
    Parameters:
315
     - displayName
316
    """
317
    pass
318
 
319
  def getAllTags(self, ):
320
    pass
321
 
322
  def getAllEntitiesByTagName(self, displayName):
323
    """
324
    Parameters:
325
     - displayName
326
    """
327
    pass
328
 
6845 amit.gupta 329
  def getAllEntityTags(self, ):
330
    pass
331
 
8590 kshitij.so 332
  def addBanner(self, bannerCongregate):
6850 kshitij.so 333
    """
8579 kshitij.so 334
    Banner Related
335
 
6850 kshitij.so 336
    Parameters:
8590 kshitij.so 337
     - bannerCongregate
6850 kshitij.so 338
    """
339
    pass
340
 
8579 kshitij.so 341
  def updateBanner(self, banner):
342
    """
343
    Parameters:
344
     - banner
345
    """
346
    pass
347
 
6850 kshitij.so 348
  def getAllBanners(self, ):
349
    pass
350
 
9155 kshitij.so 351
  def deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 352
    """
353
    Parameters:
354
     - bannerName
9155 kshitij.so 355
     - bannerType
6850 kshitij.so 356
    """
357
    pass
358
 
9155 kshitij.so 359
  def getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 360
    """
361
    Parameters:
362
     - bannerName
9155 kshitij.so 363
     - bannerType
6850 kshitij.so 364
    """
365
    pass
366
 
367
  def getActiveBanners(self, ):
368
    pass
369
 
8579 kshitij.so 370
  def addBannerMap(self, bannerMaps):
6849 kshitij.so 371
    """
372
    Parameters:
8579 kshitij.so 373
     - bannerMaps
6849 kshitij.so 374
    """
375
    pass
376
 
8579 kshitij.so 377
  def updateBannerMap(self, bannerMap):
378
    """
379
    Parameters:
380
     - bannerMap
381
    """
382
    pass
383
 
6849 kshitij.so 384
  def deleteBannerMap(self, bannerName):
385
    """
386
    Parameters:
387
     - bannerName
388
    """
389
    pass
390
 
9155 kshitij.so 391
  def getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 392
    """
393
    Parameters:
394
     - bannerName
9155 kshitij.so 395
     - bannerType
6849 kshitij.so 396
    """
397
    pass
398
 
8579 kshitij.so 399
  def addBannerUri(self, bannerUriMappings):
400
    """
401
    Parameters:
402
     - bannerUriMappings
403
    """
404
    pass
405
 
9155 kshitij.so 406
  def getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 407
    """
408
    Parameters:
409
     - bannerName
9155 kshitij.so 410
     - bannerType
8579 kshitij.so 411
    """
412
    pass
413
 
414
  def addCampaign(self, campaign):
415
    """
416
    Parameters:
417
     - campaign
418
    """
419
    pass
420
 
421
  def getCampaigns(self, campaignName):
422
    """
423
    Parameters:
424
     - campaignName
425
    """
426
    pass
427
 
428
  def deleteCampaign(self, campaignId):
429
    """
430
    Parameters:
431
     - campaignId
432
    """
433
    pass
434
 
435
  def getAllCampaigns(self, ):
436
    pass
437
 
9155 kshitij.so 438
  def getActiveBannersForMobileSite(self, ):
439
    pass
440
 
5944 mandeep.dh 441
  def deleteSimilarItem(self, itemId, catalogItemId):
442
    """
443
    Delete similar item.
444
 
445
    Parameters:
446
     - itemId
447
     - catalogItemId
448
    """
449
    pass
450
 
451
  def checkSimilarItem(self, brand, modelNumber, modelName, color):
452
    """
453
    Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
454
    If yes, returns the itemId else returns 0
455
 
456
    Parameters:
457
     - brand
458
     - modelNumber
459
     - modelName
460
     - color
461
    """
462
    pass
463
 
464
  def validateRiskyStatus(self, itemId):
465
    """
466
    Check wether item is risky and change status if inventory is not available for risky items
467
 
468
    Parameters:
469
     - itemId
470
    """
471
    pass
472
 
473
  def changeItemRiskyFlag(self, itemId, risky):
474
    """
475
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
476
 
477
    Parameters:
478
     - itemId
479
     - risky
480
    """
481
    pass
482
 
483
  def getItemsByRiskyFlag(self, ):
484
    """
485
    Returns list of items marked as risky.
486
    """
487
    pass
488
 
489
  def getItemsForMasterSheet(self, category, brand):
490
    """
491
    Returns list of items with any status except PHASED_OUT and filtered by category, brand.
492
 
493
    Parameters:
494
     - category
495
     - brand
496
    """
497
    pass
498
 
499
  def getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
500
    """
501
    Returns list of catalog ids of items with same similarity index as of the given itemId
502
 
503
    Parameters:
504
     - beginIndex
505
     - totalItems
506
     - itemId
507
    """
508
    pass
509
 
510
  def addProductNotification(self, itemId, email):
511
    """
512
    Add user requests for out of stock items. Once user will ask for notify me an entry will
513
 
514
    Parameters:
515
     - itemId
516
     - email
517
    """
518
    pass
519
 
520
  def sendProductNotifications(self, ):
521
    """
522
    Send the product notifications to the users for items which has stock.
523
    """
524
    pass
525
 
526
  def getAllBrandsByCategory(self, categoryId):
527
    """
528
    Returns list of brand names for a given category Id
529
 
530
    Parameters:
531
     - categoryId
532
    """
533
    pass
534
 
535
  def getAllBrands(self, ):
536
    """
537
    Returns list of brand names
538
    """
539
    pass
540
 
541
  def getAllSources(self, ):
542
    """
543
    Return list of all sources
544
    """
545
    pass
546
 
547
  def getItemPricingBySource(self, itemId, sourceId):
548
    """
549
    Returns the pricing information of an item. If no information is found, exception will be thrown.
550
 
551
    Parameters:
552
     - itemId
553
     - sourceId
554
    """
555
    pass
556
 
557
  def addSourceItemPricing(self, sourceItemPricing):
558
    """
559
    Adds prices to be displayed corresponding to the item if user comes from a source.
560
    If item is not found or source is not found, it will throw exception.
561
 
562
    Parameters:
563
     - sourceItemPricing
564
    """
565
    pass
566
 
567
  def getAllSourcePricing(self, itemId):
568
    """
569
    Returns the list of source pricing information of an item.
570
    Raises an exception if item not found corresponding to itemId
571
 
572
    Parameters:
573
     - itemId
574
    """
575
    pass
576
 
577
  def getItemForSource(self, item_id, sourceId):
578
    """
579
    Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
580
 
581
    Parameters:
582
     - item_id
583
     - sourceId
584
    """
585
    pass
586
 
587
  def searchItemsInRange(self, searchTerms, offset, limit):
588
    """
589
    Searches items matching the the given terms in the catalog and returns results within the specified range.
590
 
591
    Parameters:
592
     - searchTerms
593
     - offset
594
     - limit
595
    """
596
    pass
597
 
598
  def getSearchResultCount(self, searchTerms):
599
    """
600
    Gets the count of search results for the given search terms so that the user can go through all the pages.
601
 
602
    Parameters:
603
     - searchTerms
604
    """
605
    pass
606
 
607
  def getProductNotifications(self, startDateTime):
608
    """
609
    Returns a list of product notifications added after a supplied datetime
610
 
611
    Parameters:
612
     - startDateTime
613
    """
614
    pass
615
 
7897 amar.kumar 616
  def getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 617
    """
618
    Returns a list of count of requests for product notification against each item
619
 
620
    Parameters:
621
     - startDateTime
7897 amar.kumar 622
     - categoryId
5944 mandeep.dh 623
    """
624
    pass
625
 
626
  def addAuthorizationLog(self, itemId, username, reason):
627
    """
628
    This method adds a log to authorize table with Item Id, username who authorized the change, reason.
629
 
630
    Parameters:
631
     - itemId
632
     - username
633
     - reason
634
    """
635
    pass
636
 
637
  def addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
638
    """
639
    Parameters:
640
     - catalog_item_id
641
     - voucherType
642
     - voucherAmount
643
    """
644
    pass
645
 
646
  def deleteVoucherForItem(self, catalog_item_id, voucherType):
647
    """
648
    Parameters:
649
     - catalog_item_id
650
     - voucherType
651
    """
652
    pass
653
 
654
  def getVoucherAmount(self, itemId, voucherType):
655
    """
656
    Parameters:
657
     - itemId
658
     - voucherType
659
    """
660
    pass
661
 
662
  def getAllItemVouchers(self, itemId):
663
    """
664
    Parameters:
665
     - itemId
666
    """
667
    pass
668
 
669
  def isValidCatalogItemId(self, catalog_item_id):
670
    """
671
    Parameters:
672
     - catalog_item_id
673
    """
674
    pass
675
 
7330 amit.gupta 676
  def getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 677
    """
678
    Parameters:
679
     - itemId
7330 amit.gupta 680
     - stateId
6039 amit.gupta 681
     - price
682
    """
683
    pass
5944 mandeep.dh 684
 
6039 amit.gupta 685
  def getVatAmountForItem(self, itemId, price):
686
    """
687
    Parameters:
688
     - itemId
689
     - price
690
    """
691
    pass
692
 
6531 vikram.rag 693
  def getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
694
    """
695
    Parameters:
696
     - offset
697
     - limit
698
    """
699
    pass
6039 amit.gupta 700
 
6821 amar.kumar 701
  def getAllAliveItems(self, ):
702
    pass
703
 
6921 anupam.sin 704
  def getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 705
    """
706
    This method returns the insurance amount needed to insure the given item for a given quantity.
6531 vikram.rag 707
 
6805 anupam.sin 708
    Parameters:
709
     - itemId
6921 anupam.sin 710
     - price
6805 anupam.sin 711
     - insurerId
712
     - quantity
713
    """
714
    pass
715
 
716
  def getInsurer(self, insurerId):
717
    """
718
    Parameters:
719
     - insurerId
720
    """
721
    pass
722
 
6838 vikram.rag 723
  def getAllInsurers(self, ):
724
    pass
6805 anupam.sin 725
 
6962 rajveer 726
  def updateInsuranceDeclaredAmount(self, insurerId, amount):
727
    """
728
    Parameters:
729
     - insurerId
730
     - amount
731
    """
732
    pass
6838 vikram.rag 733
 
7190 amar.kumar 734
  def getFreebieForItem(self, itemId):
735
    """
736
    Parameters:
737
     - itemId
738
    """
739
    pass
6962 rajveer 740
 
7190 amar.kumar 741
  def addOrUpdateFreebieForItem(self, freebieItem):
742
    """
743
    Parameters:
744
     - freebieItem
745
    """
746
    pass
747
 
7272 amit.gupta 748
  def addOrUpdateBrandInfo(self, brandInfo):
749
    """
750
    Parameters:
751
     - brandInfo
752
    """
753
    pass
754
 
755
  def getBrandInfo(self, ):
756
    pass
757
 
7256 rajveer 758
  def getStorePricing(self, itemId):
759
    """
760
    Parameters:
761
     - itemId
762
    """
763
    pass
7190 amar.kumar 764
 
7306 rajveer 765
  def getStorePricings(self, itemIds):
766
    """
767
    Parameters:
768
     - itemIds
769
    """
770
    pass
771
 
7382 rajveer 772
  def updateStorePricing(self, sp, allColors):
7265 rajveer 773
    """
774
    Parameters:
775
     - sp
7382 rajveer 776
     - allColors
7265 rajveer 777
    """
778
    pass
7256 rajveer 779
 
7281 kshitij.so 780
  def getAllAmazonListedItems(self, ):
781
    pass
7265 rajveer 782
 
8619 kshitij.so 783
  def searchAmazonItems(self, searchTerm, offset, limit):
784
    """
785
    Parameters:
786
     - searchTerm
787
     - offset
788
     - limit
789
    """
790
    pass
791
 
792
  def getAmazonSearchResultCount(self, searchTerm):
793
    """
794
    Parameters:
795
     - searchTerm
796
    """
797
    pass
798
 
799
  def getCountForAmazonlistedItems(self, ):
800
    pass
801
 
7281 kshitij.so 802
  def getAmazonItemDetails(self, itemId):
803
    """
804
    Parameters:
805
     - itemId
806
    """
807
    pass
808
 
8168 kshitij.so 809
  def updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 810
    """
811
    Parameters:
8168 kshitij.so 812
     - amazonlisted
7281 kshitij.so 813
    """
814
    pass
815
 
816
  def addAmazonItem(self, amazonlisted):
817
    """
818
    Parameters:
819
     - amazonlisted
820
    """
821
    pass
822
 
7291 vikram.rag 823
  def getAsinItems(self, ):
824
    pass
7281 kshitij.so 825
 
7291 vikram.rag 826
  def getAllFbaListedItems(self, ):
827
    pass
828
 
829
  def getAllNonFbaListedItems(self, ):
830
    pass
831
 
7460 kshitij.so 832
  def updateItemInventory(self, itemId, holdInventory, defaultInventory):
833
    """
834
    Parameters:
835
     - itemId
836
     - holdInventory
837
     - defaultInventory
838
    """
839
    pass
7291 vikram.rag 840
 
7770 kshitij.so 841
  def updateTimestampForAmazonFeeds(self, type, sku, timestamp):
842
    """
843
    Parameters:
844
     - type
845
     - sku
846
     - timestamp
847
    """
848
    pass
7460 kshitij.so 849
 
7897 amar.kumar 850
  def getAllParentCategories(self, ):
851
    pass
7770 kshitij.so 852
 
7977 kshitij.so 853
  def addPageViewEvent(self, pageViewEvents):
854
    """
855
    Parameters:
856
     - pageViewEvents
857
    """
858
    pass
7897 amar.kumar 859
 
7977 kshitij.so 860
  def addCartEvent(self, cartEvents):
861
    """
862
    Parameters:
863
     - cartEvents
864
    """
865
    pass
866
 
8182 amar.kumar 867
  def addEbayItem(self, ebayItem):
868
    """
869
    Parameters:
870
     - ebayItem
871
    """
872
    pass
873
 
874
  def getEbayItem(self, listingId):
875
    """
876
    Parameters:
877
     - listingId
878
    """
879
    pass
880
 
881
  def updateEbayItem(self, ebayItem):
882
    """
883
    Parameters:
884
     - ebayItem
885
    """
886
    pass
887
 
8139 kshitij.so 888
  def getAmazonListedItems(self, offset, limit):
889
    """
890
    Parameters:
891
     - offset
892
     - limit
893
    """
894
    pass
7977 kshitij.so 895
 
8168 kshitij.so 896
  def updateAmazonAttributesInBulk(self, amazonlisted):
897
    """
898
    Parameters:
899
     - amazonlisted
900
    """
901
    pass
8139 kshitij.so 902
 
8379 vikram.rag 903
  def getAllItemstoListOnFba(self, ):
904
    pass
8168 kshitij.so 905
 
8379 vikram.rag 906
  def getAllItemstoListOnNonFba(self, ):
907
    pass
908
 
8619 kshitij.so 909
  def updateAsin(self, item):
910
    """
911
    Parameters:
912
     - item
913
    """
914
    pass
8616 vikram.rag 915
 
8739 vikram.rag 916
  def addOrUpdateSnapdealItem(self, snapdealitem):
917
    """
918
    Parameters:
919
     - snapdealitem
920
    """
921
    pass
8619 kshitij.so 922
 
8739 vikram.rag 923
  def getSnapdealItem(self, item_id):
924
    """
925
    Parameters:
926
     - item_id
927
    """
928
    pass
929
 
9242 kshitij.so 930
  def getSnapdealItemDetails(self, item_id):
931
    """
932
    Parameters:
933
     - item_id
934
    """
935
    pass
936
 
8739 vikram.rag 937
  def getAllSnapdealItems(self, ):
938
    pass
939
 
9242 kshitij.so 940
  def getSnapdealItems(self, offset, limit):
941
    """
942
    Parameters:
943
     - offset
944
     - limit
945
    """
946
    pass
8739 vikram.rag 947
 
9242 kshitij.so 948
  def searchSnapdealItems(self, searchTerm, offset, limit):
949
    """
950
    Parameters:
951
     - searchTerm
952
     - offset
953
     - limit
954
    """
955
    pass
956
 
957
  def getCountForSnapdealItems(self, ):
958
    pass
959
 
960
  def getSnapdealSearchResultCount(self, searchTerm):
961
    """
962
    Parameters:
963
     - searchTerm
964
    """
965
    pass
966
 
9299 kshitij.so 967
  def getPrefferedInsurerForItem(self, itemId, insurerType):
968
    """
969
    Parameters:
970
     - itemId
971
     - insurerType
972
    """
973
    pass
9242 kshitij.so 974
 
9456 vikram.rag 975
  def getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
976
    """
977
    Parameters:
978
     - skuAtSnapdeal
979
    """
980
    pass
9299 kshitij.so 981
 
9621 manish.sha 982
  def getProductFeedSubmit(self, catalogItemId):
983
    """
984
    Parameters:
985
     - catalogItemId
986
    """
987
    pass
9456 vikram.rag 988
 
9621 manish.sha 989
  def addProductFeedSubmit(self, productFeedSubmit):
990
    """
991
    Parameters:
992
     - productFeedSubmit
993
    """
994
    pass
995
 
996
  def updateProductFeedSubmit(self, productFeedSubmit):
997
    """
998
    Parameters:
999
     - productFeedSubmit
1000
    """
1001
    pass
1002
 
1003
  def deleteProductFeedSubmit(self, catalogItemId):
1004
    """
1005
    Parameters:
1006
     - catalogItemId
1007
    """
1008
    pass
1009
 
1010
  def getAllProductFeedSubmit(self, ):
1011
    pass
1012
 
9724 kshitij.so 1013
  def getMarketplacedetailsForItem(self, itemId, sourceId):
1014
    """
1015
    Parameters:
1016
     - itemId
1017
     - sourceId
1018
    """
1019
    pass
9621 manish.sha 1020
 
9724 kshitij.so 1021
  def updateMarketplaceAttributesForItem(self, marketPlaceItem):
1022
    """
1023
    Parameters:
1024
     - marketPlaceItem
1025
    """
1026
    pass
1027
 
9779 kshitij.so 1028
  def getCostingForMarketplace(self, source, item_id):
1029
    """
1030
    Parameters:
1031
     - source
1032
     - item_id
1033
    """
1034
    pass
1035
 
9776 vikram.rag 1036
  def getMarketPlaceItemsForPriceUpdate(self, source):
1037
    """
1038
    Parameters:
1039
     - source
1040
    """
1041
    pass
9724 kshitij.so 1042
 
9816 kshitij.so 1043
  def updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 1044
    """
1045
    Parameters:
1046
     - skulist
1047
     - timestamp
9816 kshitij.so 1048
     - source
9776 vikram.rag 1049
    """
1050
    pass
1051
 
9861 rajveer 1052
  def updateItemHoldInventory(self, itemHoldMap):
1053
    """
1054
    Parameters:
1055
     - itemHoldMap
1056
    """
1057
    pass
9776 vikram.rag 1058
 
9895 vikram.rag 1059
  def updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
1060
    """
1061
    Parameters:
1062
     - item_id
1063
     - vendor_id
1064
     - nlc
1065
    """
1066
    pass
9861 rajveer 1067
 
9945 vikram.rag 1068
  def getAllFlipkartItems(self, ):
1069
    pass
9895 vikram.rag 1070
 
10097 kshitij.so 1071
  def addOrUpdateFlipkartItem(self, flipkartitem):
1072
    """
1073
    Parameters:
1074
     - flipkartitem
1075
    """
1076
    pass
9945 vikram.rag 1077
 
10097 kshitij.so 1078
  def getFlipkartItem(self, item_id):
1079
    """
1080
    Parameters:
1081
     - item_id
1082
    """
1083
    pass
1084
 
1085
  def getFlipkartItemDetails(self, item_id):
1086
    """
1087
    Parameters:
1088
     - item_id
1089
    """
1090
    pass
1091
 
1092
  def getFlipkartItems(self, offset, limit):
1093
    """
1094
    Parameters:
1095
     - offset
1096
     - limit
1097
    """
1098
    pass
1099
 
1100
  def searchFlipkartItems(self, searchTerm, offset, limit):
1101
    """
1102
    Parameters:
1103
     - searchTerm
1104
     - offset
1105
     - limit
1106
    """
1107
    pass
1108
 
1109
  def getCountForFlipkartItems(self, ):
1110
    pass
1111
 
1112
  def getFlipkartSearchResultCount(self, searchTerm):
1113
    """
1114
    Parameters:
1115
     - searchTerm
1116
    """
1117
    pass
1118
 
1119
  def getAllFkItems(self, ):
1120
    pass
1121
 
10140 vikram.rag 1122
  def getFlipkartItemBySkyAtFlipkart(self, sku):
1123
    """
1124
    Parameters:
1125
     - sku
1126
    """
1127
    pass
10097 kshitij.so 1128
 
11015 kshitij.so 1129
  def getMarketplaceHistory(self, source, offset, itemId):
1130
    """
1131
    Parameters:
1132
     - source
1133
     - offset
1134
     - itemId
1135
    """
1136
    pass
1137
 
10909 vikram.rag 1138
  def getAllFbbListedItems(self, ):
1139
    pass
10140 vikram.rag 1140
 
10924 vikram.rag 1141
  def getAllFbbPricingItems(self, ):
1142
    pass
10909 vikram.rag 1143
 
11015 kshitij.so 1144
  def getCountForMarketplaceHistory(self, source, itemId):
1145
    """
1146
    Parameters:
1147
     - source
1148
     - itemId
1149
    """
1150
    pass
10924 vikram.rag 1151
 
11015 kshitij.so 1152
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
1153
    """
1154
    Parameters:
1155
     - source
1156
     - startDate
1157
     - endDate
1158
     - offset
1159
     - limit
1160
     - itemId
1161
    """
1162
    pass
1163
 
11531 vikram.rag 1164
  def getPrivateDealDetails(self, item_id):
1165
    """
1166
    Parameters:
1167
     - item_id
1168
    """
1169
    pass
11015 kshitij.so 1170
 
11531 vikram.rag 1171
  def getPrivateDealItems(self, offset, limit):
1172
    """
1173
    Parameters:
1174
     - offset
1175
     - limit
1176
    """
1177
    pass
1178
 
11653 amit.gupta 1179
  def getAllActivePrivateDeals(self, itemIds, daysDelta):
1180
    """
1181
    Parameters:
1182
     - itemIds
1183
     - daysDelta
1184
    """
11592 amit.gupta 1185
    pass
1186
 
11531 vikram.rag 1187
  def addOrUpdatePrivateDeal(self, privateDeal):
1188
    """
1189
    Parameters:
1190
     - privateDeal
1191
    """
1192
    pass
1193
 
11635 vikram.rag 1194
  def getPrivateDealsCatalogIds(self, beginIndex, totalItems):
1195
    """
1196
    Parameters:
1197
     - beginIndex
1198
     - totalItems
1199
    """
1200
    pass
11531 vikram.rag 1201
 
11645 amit.gupta 1202
  def getPrivateDealsCount(self, ):
1203
    pass
11635 vikram.rag 1204
 
11905 kshitij.so 1205
  def getAmazonOutSyncItems(self, item_id):
1206
    """
1207
    Parameters:
1208
     - item_id
1209
    """
1210
    pass
11645 amit.gupta 1211
 
11905 kshitij.so 1212
  def getAllPrivateDealsComparison(self, ):
1213
    pass
1214
 
12133 kshitij.so 1215
  def getAllSnapdealMarketplaceItem(self, ):
1216
    pass
11905 kshitij.so 1217
 
12133 kshitij.so 1218
  def getAllFlipkartMarketplaceItem(self, ):
1219
    pass
1220
 
12243 kshitij.so 1221
  def addCompetitorScraping(self, competitorPricingMap):
1222
    """
1223
    Parameters:
1224
     - competitorPricingMap
1225
    """
1226
    pass
12133 kshitij.so 1227
 
12243 kshitij.so 1228
  def getPreviousCompetitorScraping(self, delta):
1229
    """
1230
    Parameters:
1231
     - delta
1232
    """
1233
    pass
1234
 
12256 kshitij.so 1235
  def getUploadResultById(self, uploadId):
1236
    """
1237
    Parameters:
1238
     - uploadId
1239
    """
1240
    pass
12243 kshitij.so 1241
 
12363 kshitij.so 1242
  def addAmazonPromotion(self, amazonPromotions):
1243
    """
1244
    Parameters:
1245
     - amazonPromotions
1246
    """
1247
    pass
12256 kshitij.so 1248
 
12363 kshitij.so 1249
  def getAmazonPromotion(self, startDate, endDate):
1250
    """
1251
    Parameters:
1252
     - startDate
1253
     - endDate
1254
    """
1255
    pass
1256
 
1257
  def updateAmazonPromotion(self, amazonPromotions):
1258
    """
1259
    Parameters:
1260
     - amazonPromotions
1261
    """
1262
    pass
1263
 
12567 amit.gupta 1264
  def markPartiallyActive(self, itemId, categoryId):
1265
    """
1266
    Parameters:
1267
     - itemId
1268
     - categoryId
1269
    """
1270
    pass
12363 kshitij.so 1271
 
12567 amit.gupta 1272
  def updateItemStateVat(self, itemId, statevat):
1273
    """
1274
    Parameters:
1275
     - itemId
1276
     - statevat
1277
    """
1278
    pass
1279
 
12620 amit.gupta 1280
  def getExAffiliateItemInfo(self, ):
1281
    pass
12567 amit.gupta 1282
 
12888 kshitij.so 1283
  def getAllItemstoListOnFbg(self, ):
1284
    pass
12620 amit.gupta 1285
 
12892 kshitij.so 1286
  def getAllFbgListedItems(self, ):
1287
    pass
12888 kshitij.so 1288
 
13136 amit.gupta 1289
  def checkServices(self, lines):
1290
    """
1291
    Parameters:
1292
     - lines
1293
    """
1294
    pass
12892 kshitij.so 1295
 
13709 manish.sha 1296
  def addHsItem(self, hsItems):
1297
    """
1298
    Parameters:
1299
     - hsItems
1300
    """
1301
    pass
13136 amit.gupta 1302
 
13709 manish.sha 1303
  def getHsItem(self, hsItemId):
1304
    """
1305
    Parameters:
1306
     - hsItemId
1307
    """
1308
    pass
1309
 
1310
  def updateHsItem(self, hsItem):
1311
    """
1312
    Parameters:
1313
     - hsItem
1314
    """
1315
    pass
1316
 
14182 kshitij.so 1317
  def getPricingForDtr(self, catalogItemId):
1318
    """
1319
    Parameters:
1320
     - catalogItemId
1321
    """
1322
    pass
13709 manish.sha 1323
 
15702 kshitij.so 1324
  def getAllItemstoListOnFbd(self, ):
1325
    pass
14182 kshitij.so 1326
 
15706 kshitij.so 1327
  def getAllFbdListedItems(self, ):
1328
    pass
15702 kshitij.so 1329
 
18150 kshitij.so 1330
  def getBulkPricingForItems(self, itemIds):
1331
    """
1332
    Parameters:
1333
     - itemIds
1334
    """
1335
    pass
15706 kshitij.so 1336
 
18150 kshitij.so 1337
  def addBulkPricingForItem(self, bulkItemPricing):
1338
    """
1339
    Parameters:
1340
     - bulkItemPricing
1341
    """
1342
    pass
1343
 
1344
  def deleteBulkPricingForItemById(self, id):
1345
    """
1346
    Parameters:
1347
     - id
1348
    """
1349
    pass
1350
 
1351
  def deleteBulkPricingForItem(self, item_id):
1352
    """
1353
    Parameters:
1354
     - item_id
1355
    """
1356
    pass
1357
 
1358
  def getBulkPricingByItemId(self, item_id):
1359
    """
1360
    Parameters:
1361
     - item_id
1362
    """
1363
    pass
1364
 
18602 kshitij.so 1365
  def updateBulkPricesOnProduction(self, item_id, bulkItemPricingList):
1366
    """
1367
    Parameters:
1368
     - item_id
1369
     - bulkItemPricingList
1370
    """
1371
    pass
18150 kshitij.so 1372
 
18764 kshitij.so 1373
  def getCartByValue(self, cartIds):
1374
    """
1375
    Parameters:
1376
     - cartIds
1377
    """
1378
    pass
18602 kshitij.so 1379
 
19247 kshitij.so 1380
  def updateItemPricing(self, itemPricingList):
1381
    """
1382
    Parameters:
1383
     - itemPricingList
1384
    """
1385
    pass
18764 kshitij.so 1386
 
19686 kshitij.so 1387
  def bulkUpdateCatalog(self, bulkUploadCatalog):
1388
    """
1389
    Parameters:
1390
     - bulkUploadCatalog
1391
    """
1392
    pass
19247 kshitij.so 1393
 
19691 manish.sha 1394
  def getWarrantyInfoForItem(self, itemId, itemCondition):
1395
    """
1396
    Parameters:
1397
     - itemId
1398
     - itemCondition
1399
    """
1400
    pass
19686 kshitij.so 1401
 
19691 manish.sha 1402
 
5944 mandeep.dh 1403
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1404
  def __init__(self, iprot, oprot=None):
1405
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1406
 
1407
  def addItem(self, item):
1408
    """
1409
    Availability and inventory attributes
1410
 
1411
    Parameters:
1412
     - item
1413
    """
1414
    self.send_addItem(item)
1415
    return self.recv_addItem()
1416
 
1417
  def send_addItem(self, item):
1418
    self._oprot.writeMessageBegin('addItem', TMessageType.CALL, self._seqid)
1419
    args = addItem_args()
1420
    args.item = item
1421
    args.write(self._oprot)
1422
    self._oprot.writeMessageEnd()
1423
    self._oprot.trans.flush()
1424
 
1425
  def recv_addItem(self, ):
1426
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1427
    if mtype == TMessageType.EXCEPTION:
1428
      x = TApplicationException()
1429
      x.read(self._iprot)
1430
      self._iprot.readMessageEnd()
1431
      raise x
1432
    result = addItem_result()
1433
    result.read(self._iprot)
1434
    self._iprot.readMessageEnd()
1435
    if result.success is not None:
1436
      return result.success
1437
    if result.cex is not None:
1438
      raise result.cex
1439
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addItem failed: unknown result");
1440
 
1441
  def updateItem(self, item):
1442
    """
1443
    Parameters:
1444
     - item
1445
    """
1446
    self.send_updateItem(item)
1447
    return self.recv_updateItem()
1448
 
1449
  def send_updateItem(self, item):
1450
    self._oprot.writeMessageBegin('updateItem', TMessageType.CALL, self._seqid)
1451
    args = updateItem_args()
1452
    args.item = item
1453
    args.write(self._oprot)
1454
    self._oprot.writeMessageEnd()
1455
    self._oprot.trans.flush()
1456
 
1457
  def recv_updateItem(self, ):
1458
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1459
    if mtype == TMessageType.EXCEPTION:
1460
      x = TApplicationException()
1461
      x.read(self._iprot)
1462
      self._iprot.readMessageEnd()
1463
      raise x
1464
    result = updateItem_result()
1465
    result.read(self._iprot)
1466
    self._iprot.readMessageEnd()
1467
    if result.success is not None:
1468
      return result.success
1469
    if result.cex is not None:
1470
      raise result.cex
1471
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItem failed: unknown result");
1472
 
1473
  def isActive(self, itemId):
1474
    """
1475
    Checks if the item given to the corresponding itemId is active. If it's active,
1476
    whether it's risky and if it's risky, its inventory position.
1477
 
1478
    Parameters:
1479
     - itemId
1480
    """
1481
    self.send_isActive(itemId)
1482
    return self.recv_isActive()
1483
 
1484
  def send_isActive(self, itemId):
1485
    self._oprot.writeMessageBegin('isActive', TMessageType.CALL, self._seqid)
1486
    args = isActive_args()
1487
    args.itemId = itemId
1488
    args.write(self._oprot)
1489
    self._oprot.writeMessageEnd()
1490
    self._oprot.trans.flush()
1491
 
1492
  def recv_isActive(self, ):
1493
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1494
    if mtype == TMessageType.EXCEPTION:
1495
      x = TApplicationException()
1496
      x.read(self._iprot)
1497
      self._iprot.readMessageEnd()
1498
      raise x
1499
    result = isActive_result()
1500
    result.read(self._iprot)
1501
    self._iprot.readMessageEnd()
1502
    if result.success is not None:
1503
      return result.success
1504
    if result.isex is not None:
1505
      raise result.isex
1506
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isActive failed: unknown result");
1507
 
7438 amit.gupta 1508
  def getItemsStatus(self, itemIds):
1509
    """
1510
    Parameters:
1511
     - itemIds
1512
    """
1513
    self.send_getItemsStatus(itemIds)
1514
    return self.recv_getItemsStatus()
1515
 
1516
  def send_getItemsStatus(self, itemIds):
1517
    self._oprot.writeMessageBegin('getItemsStatus', TMessageType.CALL, self._seqid)
1518
    args = getItemsStatus_args()
1519
    args.itemIds = itemIds
1520
    args.write(self._oprot)
1521
    self._oprot.writeMessageEnd()
1522
    self._oprot.trans.flush()
1523
 
1524
  def recv_getItemsStatus(self, ):
1525
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1526
    if mtype == TMessageType.EXCEPTION:
1527
      x = TApplicationException()
1528
      x.read(self._iprot)
1529
      self._iprot.readMessageEnd()
1530
      raise x
1531
    result = getItemsStatus_result()
1532
    result.read(self._iprot)
1533
    self._iprot.readMessageEnd()
1534
    if result.success is not None:
1535
      return result.success
1536
    if result.isex is not None:
1537
      raise result.isex
1538
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsStatus failed: unknown result");
1539
 
5944 mandeep.dh 1540
  def getItemStatusDescription(self, itemId):
1541
    """
1542
    Parameters:
1543
     - itemId
1544
    """
1545
    self.send_getItemStatusDescription(itemId)
1546
    return self.recv_getItemStatusDescription()
1547
 
1548
  def send_getItemStatusDescription(self, itemId):
1549
    self._oprot.writeMessageBegin('getItemStatusDescription', TMessageType.CALL, self._seqid)
1550
    args = getItemStatusDescription_args()
1551
    args.itemId = itemId
1552
    args.write(self._oprot)
1553
    self._oprot.writeMessageEnd()
1554
    self._oprot.trans.flush()
1555
 
1556
  def recv_getItemStatusDescription(self, ):
1557
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1558
    if mtype == TMessageType.EXCEPTION:
1559
      x = TApplicationException()
1560
      x.read(self._iprot)
1561
      self._iprot.readMessageEnd()
1562
      raise x
1563
    result = getItemStatusDescription_result()
1564
    result.read(self._iprot)
1565
    self._iprot.readMessageEnd()
1566
    if result.success is not None:
1567
      return result.success
1568
    if result.isex is not None:
1569
      raise result.isex
1570
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemStatusDescription failed: unknown result");
1571
 
1572
  def startItemOn(self, item_id, timestamp):
1573
    """
1574
    Parameters:
1575
     - item_id
1576
     - timestamp
1577
    """
1578
    self.send_startItemOn(item_id, timestamp)
1579
    self.recv_startItemOn()
1580
 
1581
  def send_startItemOn(self, item_id, timestamp):
1582
    self._oprot.writeMessageBegin('startItemOn', TMessageType.CALL, self._seqid)
1583
    args = startItemOn_args()
1584
    args.item_id = item_id
1585
    args.timestamp = timestamp
1586
    args.write(self._oprot)
1587
    self._oprot.writeMessageEnd()
1588
    self._oprot.trans.flush()
1589
 
1590
  def recv_startItemOn(self, ):
1591
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1592
    if mtype == TMessageType.EXCEPTION:
1593
      x = TApplicationException()
1594
      x.read(self._iprot)
1595
      self._iprot.readMessageEnd()
1596
      raise x
1597
    result = startItemOn_result()
1598
    result.read(self._iprot)
1599
    self._iprot.readMessageEnd()
1600
    if result.cex is not None:
1601
      raise result.cex
1602
    return
1603
 
1604
  def retireItemOn(self, item_id, timestamp):
1605
    """
1606
    Parameters:
1607
     - item_id
1608
     - timestamp
1609
    """
1610
    self.send_retireItemOn(item_id, timestamp)
1611
    self.recv_retireItemOn()
1612
 
1613
  def send_retireItemOn(self, item_id, timestamp):
1614
    self._oprot.writeMessageBegin('retireItemOn', TMessageType.CALL, self._seqid)
1615
    args = retireItemOn_args()
1616
    args.item_id = item_id
1617
    args.timestamp = timestamp
1618
    args.write(self._oprot)
1619
    self._oprot.writeMessageEnd()
1620
    self._oprot.trans.flush()
1621
 
1622
  def recv_retireItemOn(self, ):
1623
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1624
    if mtype == TMessageType.EXCEPTION:
1625
      x = TApplicationException()
1626
      x.read(self._iprot)
1627
      self._iprot.readMessageEnd()
1628
      raise x
1629
    result = retireItemOn_result()
1630
    result.read(self._iprot)
1631
    self._iprot.readMessageEnd()
1632
    if result.cex is not None:
1633
      raise result.cex
1634
    return
1635
 
1636
  def changeItemStatus(self, item_id, timestamp, newstatus):
1637
    """
1638
    Parameters:
1639
     - item_id
1640
     - timestamp
1641
     - newstatus
1642
    """
1643
    self.send_changeItemStatus(item_id, timestamp, newstatus)
1644
    self.recv_changeItemStatus()
1645
 
1646
  def send_changeItemStatus(self, item_id, timestamp, newstatus):
1647
    self._oprot.writeMessageBegin('changeItemStatus', TMessageType.CALL, self._seqid)
1648
    args = changeItemStatus_args()
1649
    args.item_id = item_id
1650
    args.timestamp = timestamp
1651
    args.newstatus = newstatus
1652
    args.write(self._oprot)
1653
    self._oprot.writeMessageEnd()
1654
    self._oprot.trans.flush()
1655
 
1656
  def recv_changeItemStatus(self, ):
1657
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1658
    if mtype == TMessageType.EXCEPTION:
1659
      x = TApplicationException()
1660
      x.read(self._iprot)
1661
      self._iprot.readMessageEnd()
1662
      raise x
1663
    result = changeItemStatus_result()
1664
    result.read(self._iprot)
1665
    self._iprot.readMessageEnd()
1666
    if result.cex is not None:
1667
      raise result.cex
1668
    return
1669
 
1670
  def getItem(self, item_id):
1671
    """
1672
    Parameters:
1673
     - item_id
1674
    """
1675
    self.send_getItem(item_id)
1676
    return self.recv_getItem()
1677
 
1678
  def send_getItem(self, item_id):
1679
    self._oprot.writeMessageBegin('getItem', TMessageType.CALL, self._seqid)
1680
    args = getItem_args()
1681
    args.item_id = item_id
1682
    args.write(self._oprot)
1683
    self._oprot.writeMessageEnd()
1684
    self._oprot.trans.flush()
1685
 
1686
  def recv_getItem(self, ):
1687
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1688
    if mtype == TMessageType.EXCEPTION:
1689
      x = TApplicationException()
1690
      x.read(self._iprot)
1691
      self._iprot.readMessageEnd()
1692
      raise x
1693
    result = getItem_result()
1694
    result.read(self._iprot)
1695
    self._iprot.readMessageEnd()
1696
    if result.success is not None:
1697
      return result.success
1698
    if result.cex is not None:
1699
      raise result.cex
1700
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItem failed: unknown result");
1701
 
13493 amit.gupta 1702
  def getItems(self, item_ids):
1703
    """
1704
    Parameters:
1705
     - item_ids
1706
    """
1707
    self.send_getItems(item_ids)
1708
    return self.recv_getItems()
1709
 
1710
  def send_getItems(self, item_ids):
1711
    self._oprot.writeMessageBegin('getItems', TMessageType.CALL, self._seqid)
1712
    args = getItems_args()
1713
    args.item_ids = item_ids
1714
    args.write(self._oprot)
1715
    self._oprot.writeMessageEnd()
1716
    self._oprot.trans.flush()
1717
 
1718
  def recv_getItems(self, ):
1719
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1720
    if mtype == TMessageType.EXCEPTION:
1721
      x = TApplicationException()
1722
      x.read(self._iprot)
1723
      self._iprot.readMessageEnd()
1724
      raise x
1725
    result = getItems_result()
1726
    result.read(self._iprot)
1727
    self._iprot.readMessageEnd()
1728
    if result.success is not None:
1729
      return result.success
1730
    if result.cex is not None:
1731
      raise result.cex
1732
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItems failed: unknown result");
1733
 
5944 mandeep.dh 1734
  def getItemsByCatalogId(self, catalog_item_id):
1735
    """
1736
    Parameters:
1737
     - catalog_item_id
1738
    """
1739
    self.send_getItemsByCatalogId(catalog_item_id)
1740
    return self.recv_getItemsByCatalogId()
1741
 
1742
  def send_getItemsByCatalogId(self, catalog_item_id):
1743
    self._oprot.writeMessageBegin('getItemsByCatalogId', TMessageType.CALL, self._seqid)
1744
    args = getItemsByCatalogId_args()
1745
    args.catalog_item_id = catalog_item_id
1746
    args.write(self._oprot)
1747
    self._oprot.writeMessageEnd()
1748
    self._oprot.trans.flush()
1749
 
1750
  def recv_getItemsByCatalogId(self, ):
1751
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1752
    if mtype == TMessageType.EXCEPTION:
1753
      x = TApplicationException()
1754
      x.read(self._iprot)
1755
      self._iprot.readMessageEnd()
1756
      raise x
1757
    result = getItemsByCatalogId_result()
1758
    result.read(self._iprot)
1759
    self._iprot.readMessageEnd()
1760
    if result.success is not None:
1761
      return result.success
1762
    if result.cex is not None:
1763
      raise result.cex
1764
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByCatalogId failed: unknown result");
1765
 
1766
  def getValidItemsByCatalogId(self, catalog_item_id):
1767
    """
1768
    Parameters:
1769
     - catalog_item_id
1770
    """
1771
    self.send_getValidItemsByCatalogId(catalog_item_id)
1772
    return self.recv_getValidItemsByCatalogId()
1773
 
1774
  def send_getValidItemsByCatalogId(self, catalog_item_id):
1775
    self._oprot.writeMessageBegin('getValidItemsByCatalogId', TMessageType.CALL, self._seqid)
1776
    args = getValidItemsByCatalogId_args()
1777
    args.catalog_item_id = catalog_item_id
1778
    args.write(self._oprot)
1779
    self._oprot.writeMessageEnd()
1780
    self._oprot.trans.flush()
1781
 
1782
  def recv_getValidItemsByCatalogId(self, ):
1783
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1784
    if mtype == TMessageType.EXCEPTION:
1785
      x = TApplicationException()
1786
      x.read(self._iprot)
1787
      self._iprot.readMessageEnd()
1788
      raise x
1789
    result = getValidItemsByCatalogId_result()
1790
    result.read(self._iprot)
1791
    self._iprot.readMessageEnd()
1792
    if result.success is not None:
1793
      return result.success
1794
    if result.cex is not None:
1795
      raise result.cex
1796
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getValidItemsByCatalogId failed: unknown result");
1797
 
1798
  def getAllItems(self, isActive):
1799
    """
1800
    Parameters:
1801
     - isActive
1802
    """
1803
    self.send_getAllItems(isActive)
1804
    return self.recv_getAllItems()
1805
 
1806
  def send_getAllItems(self, isActive):
1807
    self._oprot.writeMessageBegin('getAllItems', TMessageType.CALL, self._seqid)
1808
    args = getAllItems_args()
1809
    args.isActive = isActive
1810
    args.write(self._oprot)
1811
    self._oprot.writeMessageEnd()
1812
    self._oprot.trans.flush()
1813
 
1814
  def recv_getAllItems(self, ):
1815
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1816
    if mtype == TMessageType.EXCEPTION:
1817
      x = TApplicationException()
1818
      x.read(self._iprot)
1819
      self._iprot.readMessageEnd()
1820
      raise x
1821
    result = getAllItems_result()
1822
    result.read(self._iprot)
1823
    self._iprot.readMessageEnd()
1824
    if result.success is not None:
1825
      return result.success
1826
    if result.cex is not None:
1827
      raise result.cex
1828
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItems failed: unknown result");
1829
 
1830
  def getAllItemsByStatus(self, itemStatus):
1831
    """
1832
    Parameters:
1833
     - itemStatus
1834
    """
1835
    self.send_getAllItemsByStatus(itemStatus)
1836
    return self.recv_getAllItemsByStatus()
1837
 
1838
  def send_getAllItemsByStatus(self, itemStatus):
1839
    self._oprot.writeMessageBegin('getAllItemsByStatus', TMessageType.CALL, self._seqid)
1840
    args = getAllItemsByStatus_args()
1841
    args.itemStatus = itemStatus
1842
    args.write(self._oprot)
1843
    self._oprot.writeMessageEnd()
1844
    self._oprot.trans.flush()
1845
 
1846
  def recv_getAllItemsByStatus(self, ):
1847
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1848
    if mtype == TMessageType.EXCEPTION:
1849
      x = TApplicationException()
1850
      x.read(self._iprot)
1851
      self._iprot.readMessageEnd()
1852
      raise x
1853
    result = getAllItemsByStatus_result()
1854
    result.read(self._iprot)
1855
    self._iprot.readMessageEnd()
1856
    if result.success is not None:
1857
      return result.success
1858
    if result.cex is not None:
1859
      raise result.cex
1860
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatus failed: unknown result");
1861
 
9253 rajveer 1862
  def markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1863
    """
1864
    Parameters:
1865
     - entityId
1866
     - category
1867
     - brand
1868
     - modelName
1869
     - modelNumber
9253 rajveer 1870
     - isAndroid
5944 mandeep.dh 1871
    """
9253 rajveer 1872
    self.send_markItemAsContentComplete(entityId, category, brand, modelName, modelNumber, isAndroid)
5944 mandeep.dh 1873
    return self.recv_markItemAsContentComplete()
1874
 
9253 rajveer 1875
  def send_markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1876
    self._oprot.writeMessageBegin('markItemAsContentComplete', TMessageType.CALL, self._seqid)
1877
    args = markItemAsContentComplete_args()
1878
    args.entityId = entityId
1879
    args.category = category
1880
    args.brand = brand
1881
    args.modelName = modelName
1882
    args.modelNumber = modelNumber
9253 rajveer 1883
    args.isAndroid = isAndroid
5944 mandeep.dh 1884
    args.write(self._oprot)
1885
    self._oprot.writeMessageEnd()
1886
    self._oprot.trans.flush()
1887
 
1888
  def recv_markItemAsContentComplete(self, ):
1889
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1890
    if mtype == TMessageType.EXCEPTION:
1891
      x = TApplicationException()
1892
      x.read(self._iprot)
1893
      self._iprot.readMessageEnd()
1894
      raise x
1895
    result = markItemAsContentComplete_result()
1896
    result.read(self._iprot)
1897
    self._iprot.readMessageEnd()
1898
    if result.success is not None:
1899
      return result.success
1900
    if result.cex is not None:
1901
      raise result.cex
1902
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markItemAsContentComplete failed: unknown result");
1903
 
12567 amit.gupta 1904
  def getVatRates(self, itemId, categoryId):
1905
    """
1906
    Parameters:
1907
     - itemId
1908
     - categoryId
1909
    """
1910
    self.send_getVatRates(itemId, categoryId)
1911
    return self.recv_getVatRates()
1912
 
1913
  def send_getVatRates(self, itemId, categoryId):
1914
    self._oprot.writeMessageBegin('getVatRates', TMessageType.CALL, self._seqid)
1915
    args = getVatRates_args()
1916
    args.itemId = itemId
1917
    args.categoryId = categoryId
1918
    args.write(self._oprot)
1919
    self._oprot.writeMessageEnd()
1920
    self._oprot.trans.flush()
1921
 
1922
  def recv_getVatRates(self, ):
1923
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1924
    if mtype == TMessageType.EXCEPTION:
1925
      x = TApplicationException()
1926
      x.read(self._iprot)
1927
      self._iprot.readMessageEnd()
1928
      raise x
1929
    result = getVatRates_result()
1930
    result.read(self._iprot)
1931
    self._iprot.readMessageEnd()
1932
    if result.success is not None:
1933
      return result.success
1934
    if result.cex is not None:
1935
      raise result.cex
1936
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatRates failed: unknown result");
1937
 
5944 mandeep.dh 1938
  def getAllItemsInRange(self, offset, limit):
1939
    """
1940
    Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
1941
 
1942
    Parameters:
1943
     - offset
1944
     - limit
1945
    """
1946
    self.send_getAllItemsInRange(offset, limit)
1947
    return self.recv_getAllItemsInRange()
1948
 
1949
  def send_getAllItemsInRange(self, offset, limit):
1950
    self._oprot.writeMessageBegin('getAllItemsInRange', TMessageType.CALL, self._seqid)
1951
    args = getAllItemsInRange_args()
1952
    args.offset = offset
1953
    args.limit = limit
1954
    args.write(self._oprot)
1955
    self._oprot.writeMessageEnd()
1956
    self._oprot.trans.flush()
1957
 
1958
  def recv_getAllItemsInRange(self, ):
1959
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1960
    if mtype == TMessageType.EXCEPTION:
1961
      x = TApplicationException()
1962
      x.read(self._iprot)
1963
      self._iprot.readMessageEnd()
1964
      raise x
1965
    result = getAllItemsInRange_result()
1966
    result.read(self._iprot)
1967
    self._iprot.readMessageEnd()
1968
    if result.success is not None:
1969
      return result.success
1970
    if result.cex is not None:
1971
      raise result.cex
1972
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsInRange failed: unknown result");
1973
 
1974
  def getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1975
    """
1976
    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.
1977
 
1978
    Parameters:
1979
     - itemStatus
1980
     - offset
1981
     - limit
1982
    """
1983
    self.send_getAllItemsByStatusInRange(itemStatus, offset, limit)
1984
    return self.recv_getAllItemsByStatusInRange()
1985
 
1986
  def send_getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1987
    self._oprot.writeMessageBegin('getAllItemsByStatusInRange', TMessageType.CALL, self._seqid)
1988
    args = getAllItemsByStatusInRange_args()
1989
    args.itemStatus = itemStatus
1990
    args.offset = offset
1991
    args.limit = limit
1992
    args.write(self._oprot)
1993
    self._oprot.writeMessageEnd()
1994
    self._oprot.trans.flush()
1995
 
1996
  def recv_getAllItemsByStatusInRange(self, ):
1997
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1998
    if mtype == TMessageType.EXCEPTION:
1999
      x = TApplicationException()
2000
      x.read(self._iprot)
2001
      self._iprot.readMessageEnd()
2002
      raise x
2003
    result = getAllItemsByStatusInRange_result()
2004
    result.read(self._iprot)
2005
    self._iprot.readMessageEnd()
2006
    if result.success is not None:
2007
      return result.success
2008
    if result.cex is not None:
2009
      raise result.cex
2010
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatusInRange failed: unknown result");
2011
 
2012
  def getItemCountByStatus(self, useStatus, itemStatus):
2013
    """
2014
    Gets a count of all items by status
2015
 
2016
    Parameters:
2017
     - useStatus
2018
     - itemStatus
2019
    """
2020
    self.send_getItemCountByStatus(useStatus, itemStatus)
2021
    return self.recv_getItemCountByStatus()
2022
 
2023
  def send_getItemCountByStatus(self, useStatus, itemStatus):
2024
    self._oprot.writeMessageBegin('getItemCountByStatus', TMessageType.CALL, self._seqid)
2025
    args = getItemCountByStatus_args()
2026
    args.useStatus = useStatus
2027
    args.itemStatus = itemStatus
2028
    args.write(self._oprot)
2029
    self._oprot.writeMessageEnd()
2030
    self._oprot.trans.flush()
2031
 
2032
  def recv_getItemCountByStatus(self, ):
2033
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2034
    if mtype == TMessageType.EXCEPTION:
2035
      x = TApplicationException()
2036
      x.read(self._iprot)
2037
      self._iprot.readMessageEnd()
2038
      raise x
2039
    result = getItemCountByStatus_result()
2040
    result.read(self._iprot)
2041
    self._iprot.readMessageEnd()
2042
    if result.success is not None:
2043
      return result.success
2044
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemCountByStatus failed: unknown result");
2045
 
2046
  def getBestSellers(self, ):
2047
    self.send_getBestSellers()
2048
    return self.recv_getBestSellers()
2049
 
2050
  def send_getBestSellers(self, ):
2051
    self._oprot.writeMessageBegin('getBestSellers', TMessageType.CALL, self._seqid)
2052
    args = getBestSellers_args()
2053
    args.write(self._oprot)
2054
    self._oprot.writeMessageEnd()
2055
    self._oprot.trans.flush()
2056
 
2057
  def recv_getBestSellers(self, ):
2058
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2059
    if mtype == TMessageType.EXCEPTION:
2060
      x = TApplicationException()
2061
      x.read(self._iprot)
2062
      self._iprot.readMessageEnd()
2063
      raise x
2064
    result = getBestSellers_result()
2065
    result.read(self._iprot)
2066
    self._iprot.readMessageEnd()
2067
    if result.success is not None:
2068
      return result.success
2069
    if result.isex is not None:
2070
      raise result.isex
2071
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellers failed: unknown result");
2072
 
2073
  def getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
2074
    """
2075
    Parameters:
2076
     - beginIndex
2077
     - totalItems
2078
     - brand
2079
     - category
2080
    """
2081
    self.send_getBestSellersCatalogIds(beginIndex, totalItems, brand, category)
2082
    return self.recv_getBestSellersCatalogIds()
2083
 
2084
  def send_getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
2085
    self._oprot.writeMessageBegin('getBestSellersCatalogIds', TMessageType.CALL, self._seqid)
2086
    args = getBestSellersCatalogIds_args()
2087
    args.beginIndex = beginIndex
2088
    args.totalItems = totalItems
2089
    args.brand = brand
2090
    args.category = category
2091
    args.write(self._oprot)
2092
    self._oprot.writeMessageEnd()
2093
    self._oprot.trans.flush()
2094
 
2095
  def recv_getBestSellersCatalogIds(self, ):
2096
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2097
    if mtype == TMessageType.EXCEPTION:
2098
      x = TApplicationException()
2099
      x.read(self._iprot)
2100
      self._iprot.readMessageEnd()
2101
      raise x
2102
    result = getBestSellersCatalogIds_result()
2103
    result.read(self._iprot)
2104
    self._iprot.readMessageEnd()
2105
    if result.success is not None:
2106
      return result.success
2107
    if result.cex is not None:
2108
      raise result.cex
2109
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCatalogIds failed: unknown result");
2110
 
2111
  def getBestSellersCount(self, ):
2112
    self.send_getBestSellersCount()
2113
    return self.recv_getBestSellersCount()
2114
 
2115
  def send_getBestSellersCount(self, ):
2116
    self._oprot.writeMessageBegin('getBestSellersCount', TMessageType.CALL, self._seqid)
2117
    args = getBestSellersCount_args()
2118
    args.write(self._oprot)
2119
    self._oprot.writeMessageEnd()
2120
    self._oprot.trans.flush()
2121
 
2122
  def recv_getBestSellersCount(self, ):
2123
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2124
    if mtype == TMessageType.EXCEPTION:
2125
      x = TApplicationException()
2126
      x.read(self._iprot)
2127
      self._iprot.readMessageEnd()
2128
      raise x
2129
    result = getBestSellersCount_result()
2130
    result.read(self._iprot)
2131
    self._iprot.readMessageEnd()
2132
    if result.success is not None:
2133
      return result.success
2134
    if result.cex is not None:
2135
      raise result.cex
2136
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCount failed: unknown result");
2137
 
2138
  def getBestDeals(self, ):
2139
    self.send_getBestDeals()
2140
    return self.recv_getBestDeals()
2141
 
2142
  def send_getBestDeals(self, ):
2143
    self._oprot.writeMessageBegin('getBestDeals', TMessageType.CALL, self._seqid)
2144
    args = getBestDeals_args()
2145
    args.write(self._oprot)
2146
    self._oprot.writeMessageEnd()
2147
    self._oprot.trans.flush()
2148
 
2149
  def recv_getBestDeals(self, ):
2150
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2151
    if mtype == TMessageType.EXCEPTION:
2152
      x = TApplicationException()
2153
      x.read(self._iprot)
2154
      self._iprot.readMessageEnd()
2155
      raise x
2156
    result = getBestDeals_result()
2157
    result.read(self._iprot)
2158
    self._iprot.readMessageEnd()
2159
    if result.success is not None:
2160
      return result.success
2161
    if result.isex is not None:
2162
      raise result.isex
2163
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDeals failed: unknown result");
2164
 
2165
  def getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2166
    """
2167
    Parameters:
2168
     - beginIndex
2169
     - totalItems
2170
     - brand
2171
     - category
2172
    """
2173
    self.send_getBestDealsCatalogIds(beginIndex, totalItems, brand, category)
2174
    return self.recv_getBestDealsCatalogIds()
2175
 
2176
  def send_getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2177
    self._oprot.writeMessageBegin('getBestDealsCatalogIds', TMessageType.CALL, self._seqid)
2178
    args = getBestDealsCatalogIds_args()
2179
    args.beginIndex = beginIndex
2180
    args.totalItems = totalItems
2181
    args.brand = brand
2182
    args.category = category
2183
    args.write(self._oprot)
2184
    self._oprot.writeMessageEnd()
2185
    self._oprot.trans.flush()
2186
 
2187
  def recv_getBestDealsCatalogIds(self, ):
2188
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2189
    if mtype == TMessageType.EXCEPTION:
2190
      x = TApplicationException()
2191
      x.read(self._iprot)
2192
      self._iprot.readMessageEnd()
2193
      raise x
2194
    result = getBestDealsCatalogIds_result()
2195
    result.read(self._iprot)
2196
    self._iprot.readMessageEnd()
2197
    if result.success is not None:
2198
      return result.success
2199
    if result.cex is not None:
2200
      raise result.cex
2201
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCatalogIds failed: unknown result");
2202
 
2203
  def getBestDealsCount(self, ):
2204
    self.send_getBestDealsCount()
2205
    return self.recv_getBestDealsCount()
2206
 
2207
  def send_getBestDealsCount(self, ):
2208
    self._oprot.writeMessageBegin('getBestDealsCount', TMessageType.CALL, self._seqid)
2209
    args = getBestDealsCount_args()
2210
    args.write(self._oprot)
2211
    self._oprot.writeMessageEnd()
2212
    self._oprot.trans.flush()
2213
 
2214
  def recv_getBestDealsCount(self, ):
2215
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2216
    if mtype == TMessageType.EXCEPTION:
2217
      x = TApplicationException()
2218
      x.read(self._iprot)
2219
      self._iprot.readMessageEnd()
2220
      raise x
2221
    result = getBestDealsCount_result()
2222
    result.read(self._iprot)
2223
    self._iprot.readMessageEnd()
2224
    if result.success is not None:
2225
      return result.success
2226
    if result.cex is not None:
2227
      raise result.cex
2228
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCount failed: unknown result");
2229
 
2230
  def getComingSoon(self, ):
2231
    self.send_getComingSoon()
2232
    return self.recv_getComingSoon()
2233
 
2234
  def send_getComingSoon(self, ):
2235
    self._oprot.writeMessageBegin('getComingSoon', TMessageType.CALL, self._seqid)
2236
    args = getComingSoon_args()
2237
    args.write(self._oprot)
2238
    self._oprot.writeMessageEnd()
2239
    self._oprot.trans.flush()
2240
 
2241
  def recv_getComingSoon(self, ):
2242
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2243
    if mtype == TMessageType.EXCEPTION:
2244
      x = TApplicationException()
2245
      x.read(self._iprot)
2246
      self._iprot.readMessageEnd()
2247
      raise x
2248
    result = getComingSoon_result()
2249
    result.read(self._iprot)
2250
    self._iprot.readMessageEnd()
2251
    if result.success is not None:
2252
      return result.success
2253
    if result.isex is not None:
2254
      raise result.isex
2255
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoon failed: unknown result");
2256
 
2257
  def getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2258
    """
2259
    Parameters:
2260
     - beginIndex
2261
     - totalItems
2262
     - brand
2263
     - category
2264
    """
2265
    self.send_getComingSoonCatalogIds(beginIndex, totalItems, brand, category)
2266
    return self.recv_getComingSoonCatalogIds()
2267
 
2268
  def send_getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2269
    self._oprot.writeMessageBegin('getComingSoonCatalogIds', TMessageType.CALL, self._seqid)
2270
    args = getComingSoonCatalogIds_args()
2271
    args.beginIndex = beginIndex
2272
    args.totalItems = totalItems
2273
    args.brand = brand
2274
    args.category = category
2275
    args.write(self._oprot)
2276
    self._oprot.writeMessageEnd()
2277
    self._oprot.trans.flush()
2278
 
2279
  def recv_getComingSoonCatalogIds(self, ):
2280
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2281
    if mtype == TMessageType.EXCEPTION:
2282
      x = TApplicationException()
2283
      x.read(self._iprot)
2284
      self._iprot.readMessageEnd()
2285
      raise x
2286
    result = getComingSoonCatalogIds_result()
2287
    result.read(self._iprot)
2288
    self._iprot.readMessageEnd()
2289
    if result.success is not None:
2290
      return result.success
2291
    if result.cex is not None:
2292
      raise result.cex
2293
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCatalogIds failed: unknown result");
2294
 
2295
  def getComingSoonCount(self, ):
2296
    self.send_getComingSoonCount()
2297
    return self.recv_getComingSoonCount()
2298
 
2299
  def send_getComingSoonCount(self, ):
2300
    self._oprot.writeMessageBegin('getComingSoonCount', TMessageType.CALL, self._seqid)
2301
    args = getComingSoonCount_args()
2302
    args.write(self._oprot)
2303
    self._oprot.writeMessageEnd()
2304
    self._oprot.trans.flush()
2305
 
2306
  def recv_getComingSoonCount(self, ):
2307
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2308
    if mtype == TMessageType.EXCEPTION:
2309
      x = TApplicationException()
2310
      x.read(self._iprot)
2311
      self._iprot.readMessageEnd()
2312
      raise x
2313
    result = getComingSoonCount_result()
2314
    result.read(self._iprot)
2315
    self._iprot.readMessageEnd()
2316
    if result.success is not None:
2317
      return result.success
2318
    if result.cex is not None:
2319
      raise result.cex
2320
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCount failed: unknown result");
2321
 
2322
  def getLatestArrivals(self, ):
2323
    """
2324
    Returns a list of items sorted in the descending order by start date.
2325
    The list is limited to the 'latest_arrivals_count' configuraiton parameter.
2326
    """
2327
    self.send_getLatestArrivals()
2328
    return self.recv_getLatestArrivals()
2329
 
2330
  def send_getLatestArrivals(self, ):
2331
    self._oprot.writeMessageBegin('getLatestArrivals', TMessageType.CALL, self._seqid)
2332
    args = getLatestArrivals_args()
2333
    args.write(self._oprot)
2334
    self._oprot.writeMessageEnd()
2335
    self._oprot.trans.flush()
2336
 
2337
  def recv_getLatestArrivals(self, ):
2338
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2339
    if mtype == TMessageType.EXCEPTION:
2340
      x = TApplicationException()
2341
      x.read(self._iprot)
2342
      self._iprot.readMessageEnd()
2343
      raise x
2344
    result = getLatestArrivals_result()
2345
    result.read(self._iprot)
2346
    self._iprot.readMessageEnd()
2347
    if result.success is not None:
2348
      return result.success
2349
    if result.isex is not None:
2350
      raise result.isex
2351
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivals failed: unknown result");
2352
 
2353
  def getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2354
    """
2355
    Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
2356
    To ignore the categories, pass the list as empty. To ignore brand, pass it as null.
2357
 
2358
    Parameters:
2359
     - beginIndex
2360
     - totalItems
2361
     - brand
2362
     - categories
2363
    """
2364
    self.send_getLatestArrivalsCatalogIds(beginIndex, totalItems, brand, categories)
2365
    return self.recv_getLatestArrivalsCatalogIds()
2366
 
2367
  def send_getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2368
    self._oprot.writeMessageBegin('getLatestArrivalsCatalogIds', TMessageType.CALL, self._seqid)
2369
    args = getLatestArrivalsCatalogIds_args()
2370
    args.beginIndex = beginIndex
2371
    args.totalItems = totalItems
2372
    args.brand = brand
2373
    args.categories = categories
2374
    args.write(self._oprot)
2375
    self._oprot.writeMessageEnd()
2376
    self._oprot.trans.flush()
2377
 
2378
  def recv_getLatestArrivalsCatalogIds(self, ):
2379
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2380
    if mtype == TMessageType.EXCEPTION:
2381
      x = TApplicationException()
2382
      x.read(self._iprot)
2383
      self._iprot.readMessageEnd()
2384
      raise x
2385
    result = getLatestArrivalsCatalogIds_result()
2386
    result.read(self._iprot)
2387
    self._iprot.readMessageEnd()
2388
    if result.success is not None:
2389
      return result.success
2390
    if result.cex is not None:
2391
      raise result.cex
2392
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCatalogIds failed: unknown result");
2393
 
2394
  def getLatestArrivalsCount(self, ):
2395
    """
2396
    Get the total number of latest arrivals we are willing to show.
2397
    The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
2398
    """
2399
    self.send_getLatestArrivalsCount()
2400
    return self.recv_getLatestArrivalsCount()
2401
 
2402
  def send_getLatestArrivalsCount(self, ):
2403
    self._oprot.writeMessageBegin('getLatestArrivalsCount', TMessageType.CALL, self._seqid)
2404
    args = getLatestArrivalsCount_args()
2405
    args.write(self._oprot)
2406
    self._oprot.writeMessageEnd()
2407
    self._oprot.trans.flush()
2408
 
2409
  def recv_getLatestArrivalsCount(self, ):
2410
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2411
    if mtype == TMessageType.EXCEPTION:
2412
      x = TApplicationException()
2413
      x.read(self._iprot)
2414
      self._iprot.readMessageEnd()
2415
      raise x
2416
    result = getLatestArrivalsCount_result()
2417
    result.read(self._iprot)
2418
    self._iprot.readMessageEnd()
2419
    if result.success is not None:
2420
      return result.success
2421
    if result.cex is not None:
2422
      raise result.cex
2423
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCount failed: unknown result");
2424
 
2425
  def generateNewEntityID(self, ):
2426
    self.send_generateNewEntityID()
2427
    return self.recv_generateNewEntityID()
2428
 
2429
  def send_generateNewEntityID(self, ):
2430
    self._oprot.writeMessageBegin('generateNewEntityID', TMessageType.CALL, self._seqid)
2431
    args = generateNewEntityID_args()
2432
    args.write(self._oprot)
2433
    self._oprot.writeMessageEnd()
2434
    self._oprot.trans.flush()
2435
 
2436
  def recv_generateNewEntityID(self, ):
2437
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2438
    if mtype == TMessageType.EXCEPTION:
2439
      x = TApplicationException()
2440
      x.read(self._iprot)
2441
      self._iprot.readMessageEnd()
2442
      raise x
2443
    result = generateNewEntityID_result()
2444
    result.read(self._iprot)
2445
    self._iprot.readMessageEnd()
2446
    if result.success is not None:
2447
      return result.success
2448
    raise TApplicationException(TApplicationException.MISSING_RESULT, "generateNewEntityID failed: unknown result");
2449
 
2450
  def addCategory(self, category):
2451
    """
2452
    All category related functions
2453
 
2454
    Parameters:
2455
     - category
2456
    """
2457
    self.send_addCategory(category)
2458
    return self.recv_addCategory()
2459
 
2460
  def send_addCategory(self, category):
2461
    self._oprot.writeMessageBegin('addCategory', TMessageType.CALL, self._seqid)
2462
    args = addCategory_args()
2463
    args.category = category
2464
    args.write(self._oprot)
2465
    self._oprot.writeMessageEnd()
2466
    self._oprot.trans.flush()
2467
 
2468
  def recv_addCategory(self, ):
2469
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2470
    if mtype == TMessageType.EXCEPTION:
2471
      x = TApplicationException()
2472
      x.read(self._iprot)
2473
      self._iprot.readMessageEnd()
2474
      raise x
2475
    result = addCategory_result()
2476
    result.read(self._iprot)
2477
    self._iprot.readMessageEnd()
2478
    if result.success is not None:
2479
      return result.success
2480
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addCategory failed: unknown result");
2481
 
2482
  def getCategory(self, id):
2483
    """
2484
    Parameters:
2485
     - id
2486
    """
2487
    self.send_getCategory(id)
2488
    return self.recv_getCategory()
2489
 
2490
  def send_getCategory(self, id):
2491
    self._oprot.writeMessageBegin('getCategory', TMessageType.CALL, self._seqid)
2492
    args = getCategory_args()
2493
    args.id = id
2494
    args.write(self._oprot)
2495
    self._oprot.writeMessageEnd()
2496
    self._oprot.trans.flush()
2497
 
2498
  def recv_getCategory(self, ):
2499
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2500
    if mtype == TMessageType.EXCEPTION:
2501
      x = TApplicationException()
2502
      x.read(self._iprot)
2503
      self._iprot.readMessageEnd()
2504
      raise x
2505
    result = getCategory_result()
2506
    result.read(self._iprot)
2507
    self._iprot.readMessageEnd()
2508
    if result.success is not None:
2509
      return result.success
2510
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCategory failed: unknown result");
2511
 
2512
  def getAllCategories(self, ):
2513
    self.send_getAllCategories()
2514
    return self.recv_getAllCategories()
2515
 
2516
  def send_getAllCategories(self, ):
2517
    self._oprot.writeMessageBegin('getAllCategories', TMessageType.CALL, self._seqid)
2518
    args = getAllCategories_args()
2519
    args.write(self._oprot)
2520
    self._oprot.writeMessageEnd()
2521
    self._oprot.trans.flush()
2522
 
2523
  def recv_getAllCategories(self, ):
2524
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2525
    if mtype == TMessageType.EXCEPTION:
2526
      x = TApplicationException()
2527
      x.read(self._iprot)
2528
      self._iprot.readMessageEnd()
2529
      raise x
2530
    result = getAllCategories_result()
2531
    result.read(self._iprot)
2532
    self._iprot.readMessageEnd()
2533
    if result.success is not None:
2534
      return result.success
2535
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCategories failed: unknown result");
2536
 
2537
  def getAllSimilarItems(self, itemId):
2538
    """
2539
    Returns the list of similar items.
2540
 
2541
    Parameters:
2542
     - itemId
2543
    """
2544
    self.send_getAllSimilarItems(itemId)
2545
    return self.recv_getAllSimilarItems()
2546
 
2547
  def send_getAllSimilarItems(self, itemId):
2548
    self._oprot.writeMessageBegin('getAllSimilarItems', TMessageType.CALL, self._seqid)
2549
    args = getAllSimilarItems_args()
2550
    args.itemId = itemId
2551
    args.write(self._oprot)
2552
    self._oprot.writeMessageEnd()
2553
    self._oprot.trans.flush()
2554
 
2555
  def recv_getAllSimilarItems(self, ):
2556
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2557
    if mtype == TMessageType.EXCEPTION:
2558
      x = TApplicationException()
2559
      x.read(self._iprot)
2560
      self._iprot.readMessageEnd()
2561
      raise x
2562
    result = getAllSimilarItems_result()
2563
    result.read(self._iprot)
2564
    self._iprot.readMessageEnd()
2565
    if result.success is not None:
2566
      return result.success
2567
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSimilarItems failed: unknown result");
2568
 
2569
  def addSimilarItem(self, itemId, catalogItemId):
2570
    """
2571
    Adds similar item.
2572
 
2573
    Parameters:
2574
     - itemId
2575
     - catalogItemId
2576
    """
2577
    self.send_addSimilarItem(itemId, catalogItemId)
2578
    return self.recv_addSimilarItem()
2579
 
2580
  def send_addSimilarItem(self, itemId, catalogItemId):
2581
    self._oprot.writeMessageBegin('addSimilarItem', TMessageType.CALL, self._seqid)
2582
    args = addSimilarItem_args()
2583
    args.itemId = itemId
2584
    args.catalogItemId = catalogItemId
2585
    args.write(self._oprot)
2586
    self._oprot.writeMessageEnd()
2587
    self._oprot.trans.flush()
2588
 
2589
  def recv_addSimilarItem(self, ):
2590
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2591
    if mtype == TMessageType.EXCEPTION:
2592
      x = TApplicationException()
2593
      x.read(self._iprot)
2594
      self._iprot.readMessageEnd()
2595
      raise x
2596
    result = addSimilarItem_result()
2597
    result.read(self._iprot)
2598
    self._iprot.readMessageEnd()
2599
    if result.success is not None:
2600
      return result.success
2601
    if result.cex is not None:
2602
      raise result.cex
2603
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addSimilarItem failed: unknown result");
2604
 
6512 kshitij.so 2605
  def addTag(self, displayName, itemId):
2606
    """
2607
    Tag Related
2608
 
2609
    Parameters:
2610
     - displayName
2611
     - itemId
2612
    """
2613
    self.send_addTag(displayName, itemId)
2614
    return self.recv_addTag()
2615
 
2616
  def send_addTag(self, displayName, itemId):
2617
    self._oprot.writeMessageBegin('addTag', TMessageType.CALL, self._seqid)
2618
    args = addTag_args()
2619
    args.displayName = displayName
2620
    args.itemId = itemId
2621
    args.write(self._oprot)
2622
    self._oprot.writeMessageEnd()
2623
    self._oprot.trans.flush()
2624
 
2625
  def recv_addTag(self, ):
2626
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2627
    if mtype == TMessageType.EXCEPTION:
2628
      x = TApplicationException()
2629
      x.read(self._iprot)
2630
      self._iprot.readMessageEnd()
2631
      raise x
2632
    result = addTag_result()
2633
    result.read(self._iprot)
2634
    self._iprot.readMessageEnd()
2635
    if result.success is not None:
2636
      return result.success
2637
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addTag failed: unknown result");
2638
 
2639
  def deleteEntityTag(self, displayName, itemId):
2640
    """
2641
    Parameters:
2642
     - displayName
2643
     - itemId
2644
    """
2645
    self.send_deleteEntityTag(displayName, itemId)
2646
    return self.recv_deleteEntityTag()
2647
 
2648
  def send_deleteEntityTag(self, displayName, itemId):
2649
    self._oprot.writeMessageBegin('deleteEntityTag', TMessageType.CALL, self._seqid)
2650
    args = deleteEntityTag_args()
2651
    args.displayName = displayName
2652
    args.itemId = itemId
2653
    args.write(self._oprot)
2654
    self._oprot.writeMessageEnd()
2655
    self._oprot.trans.flush()
2656
 
2657
  def recv_deleteEntityTag(self, ):
2658
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2659
    if mtype == TMessageType.EXCEPTION:
2660
      x = TApplicationException()
2661
      x.read(self._iprot)
2662
      self._iprot.readMessageEnd()
2663
      raise x
2664
    result = deleteEntityTag_result()
2665
    result.read(self._iprot)
2666
    self._iprot.readMessageEnd()
2667
    if result.success is not None:
2668
      return result.success
2669
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteEntityTag failed: unknown result");
2670
 
2671
  def deleteTag(self, displayName):
2672
    """
2673
    Parameters:
2674
     - displayName
2675
    """
2676
    self.send_deleteTag(displayName)
2677
    return self.recv_deleteTag()
2678
 
2679
  def send_deleteTag(self, displayName):
2680
    self._oprot.writeMessageBegin('deleteTag', TMessageType.CALL, self._seqid)
2681
    args = deleteTag_args()
2682
    args.displayName = displayName
2683
    args.write(self._oprot)
2684
    self._oprot.writeMessageEnd()
2685
    self._oprot.trans.flush()
2686
 
2687
  def recv_deleteTag(self, ):
2688
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2689
    if mtype == TMessageType.EXCEPTION:
2690
      x = TApplicationException()
2691
      x.read(self._iprot)
2692
      self._iprot.readMessageEnd()
2693
      raise x
2694
    result = deleteTag_result()
2695
    result.read(self._iprot)
2696
    self._iprot.readMessageEnd()
2697
    if result.success is not None:
2698
      return result.success
2699
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteTag failed: unknown result");
2700
 
2701
  def getAllTags(self, ):
2702
    self.send_getAllTags()
2703
    return self.recv_getAllTags()
2704
 
2705
  def send_getAllTags(self, ):
2706
    self._oprot.writeMessageBegin('getAllTags', TMessageType.CALL, self._seqid)
2707
    args = getAllTags_args()
2708
    args.write(self._oprot)
2709
    self._oprot.writeMessageEnd()
2710
    self._oprot.trans.flush()
2711
 
2712
  def recv_getAllTags(self, ):
2713
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2714
    if mtype == TMessageType.EXCEPTION:
2715
      x = TApplicationException()
2716
      x.read(self._iprot)
2717
      self._iprot.readMessageEnd()
2718
      raise x
2719
    result = getAllTags_result()
2720
    result.read(self._iprot)
2721
    self._iprot.readMessageEnd()
2722
    if result.success is not None:
2723
      return result.success
2724
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllTags failed: unknown result");
2725
 
2726
  def getAllEntitiesByTagName(self, displayName):
2727
    """
2728
    Parameters:
2729
     - displayName
2730
    """
2731
    self.send_getAllEntitiesByTagName(displayName)
2732
    return self.recv_getAllEntitiesByTagName()
2733
 
2734
  def send_getAllEntitiesByTagName(self, displayName):
2735
    self._oprot.writeMessageBegin('getAllEntitiesByTagName', TMessageType.CALL, self._seqid)
2736
    args = getAllEntitiesByTagName_args()
2737
    args.displayName = displayName
2738
    args.write(self._oprot)
2739
    self._oprot.writeMessageEnd()
2740
    self._oprot.trans.flush()
2741
 
2742
  def recv_getAllEntitiesByTagName(self, ):
2743
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2744
    if mtype == TMessageType.EXCEPTION:
2745
      x = TApplicationException()
2746
      x.read(self._iprot)
2747
      self._iprot.readMessageEnd()
2748
      raise x
2749
    result = getAllEntitiesByTagName_result()
2750
    result.read(self._iprot)
2751
    self._iprot.readMessageEnd()
2752
    if result.success is not None:
2753
      return result.success
2754
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntitiesByTagName failed: unknown result");
2755
 
6845 amit.gupta 2756
  def getAllEntityTags(self, ):
2757
    self.send_getAllEntityTags()
2758
    return self.recv_getAllEntityTags()
2759
 
2760
  def send_getAllEntityTags(self, ):
2761
    self._oprot.writeMessageBegin('getAllEntityTags', TMessageType.CALL, self._seqid)
2762
    args = getAllEntityTags_args()
2763
    args.write(self._oprot)
2764
    self._oprot.writeMessageEnd()
2765
    self._oprot.trans.flush()
2766
 
2767
  def recv_getAllEntityTags(self, ):
2768
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2769
    if mtype == TMessageType.EXCEPTION:
2770
      x = TApplicationException()
2771
      x.read(self._iprot)
2772
      self._iprot.readMessageEnd()
2773
      raise x
2774
    result = getAllEntityTags_result()
2775
    result.read(self._iprot)
2776
    self._iprot.readMessageEnd()
2777
    if result.success is not None:
2778
      return result.success
2779
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
2780
 
8590 kshitij.so 2781
  def addBanner(self, bannerCongregate):
6850 kshitij.so 2782
    """
8579 kshitij.so 2783
    Banner Related
2784
 
6850 kshitij.so 2785
    Parameters:
8590 kshitij.so 2786
     - bannerCongregate
6850 kshitij.so 2787
    """
8590 kshitij.so 2788
    self.send_addBanner(bannerCongregate)
10097 kshitij.so 2789
    return self.recv_addBanner()
6850 kshitij.so 2790
 
8590 kshitij.so 2791
  def send_addBanner(self, bannerCongregate):
6850 kshitij.so 2792
    self._oprot.writeMessageBegin('addBanner', TMessageType.CALL, self._seqid)
2793
    args = addBanner_args()
8590 kshitij.so 2794
    args.bannerCongregate = bannerCongregate
6850 kshitij.so 2795
    args.write(self._oprot)
2796
    self._oprot.writeMessageEnd()
2797
    self._oprot.trans.flush()
2798
 
2799
  def recv_addBanner(self, ):
2800
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2801
    if mtype == TMessageType.EXCEPTION:
2802
      x = TApplicationException()
2803
      x.read(self._iprot)
2804
      self._iprot.readMessageEnd()
2805
      raise x
2806
    result = addBanner_result()
2807
    result.read(self._iprot)
2808
    self._iprot.readMessageEnd()
10097 kshitij.so 2809
    if result.success is not None:
2810
      return result.success
2811
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
6850 kshitij.so 2812
 
8579 kshitij.so 2813
  def updateBanner(self, banner):
2814
    """
2815
    Parameters:
2816
     - banner
2817
    """
2818
    self.send_updateBanner(banner)
2819
    return self.recv_updateBanner()
2820
 
2821
  def send_updateBanner(self, banner):
2822
    self._oprot.writeMessageBegin('updateBanner', TMessageType.CALL, self._seqid)
2823
    args = updateBanner_args()
2824
    args.banner = banner
2825
    args.write(self._oprot)
2826
    self._oprot.writeMessageEnd()
2827
    self._oprot.trans.flush()
2828
 
2829
  def recv_updateBanner(self, ):
2830
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2831
    if mtype == TMessageType.EXCEPTION:
2832
      x = TApplicationException()
2833
      x.read(self._iprot)
2834
      self._iprot.readMessageEnd()
2835
      raise x
2836
    result = updateBanner_result()
2837
    result.read(self._iprot)
2838
    self._iprot.readMessageEnd()
2839
    if result.success is not None:
2840
      return result.success
2841
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBanner failed: unknown result");
2842
 
6850 kshitij.so 2843
  def getAllBanners(self, ):
2844
    self.send_getAllBanners()
2845
    return self.recv_getAllBanners()
2846
 
2847
  def send_getAllBanners(self, ):
2848
    self._oprot.writeMessageBegin('getAllBanners', TMessageType.CALL, self._seqid)
2849
    args = getAllBanners_args()
2850
    args.write(self._oprot)
2851
    self._oprot.writeMessageEnd()
2852
    self._oprot.trans.flush()
2853
 
2854
  def recv_getAllBanners(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 = getAllBanners_result()
2862
    result.read(self._iprot)
2863
    self._iprot.readMessageEnd()
2864
    if result.success is not None:
2865
      return result.success
2866
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBanners failed: unknown result");
2867
 
9155 kshitij.so 2868
  def deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2869
    """
2870
    Parameters:
2871
     - bannerName
9155 kshitij.so 2872
     - bannerType
6850 kshitij.so 2873
    """
9155 kshitij.so 2874
    self.send_deleteBanner(bannerName, bannerType)
6850 kshitij.so 2875
    return self.recv_deleteBanner()
2876
 
9155 kshitij.so 2877
  def send_deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2878
    self._oprot.writeMessageBegin('deleteBanner', TMessageType.CALL, self._seqid)
2879
    args = deleteBanner_args()
2880
    args.bannerName = bannerName
9155 kshitij.so 2881
    args.bannerType = bannerType
6850 kshitij.so 2882
    args.write(self._oprot)
2883
    self._oprot.writeMessageEnd()
2884
    self._oprot.trans.flush()
2885
 
2886
  def recv_deleteBanner(self, ):
2887
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2888
    if mtype == TMessageType.EXCEPTION:
2889
      x = TApplicationException()
2890
      x.read(self._iprot)
2891
      self._iprot.readMessageEnd()
2892
      raise x
2893
    result = deleteBanner_result()
2894
    result.read(self._iprot)
2895
    self._iprot.readMessageEnd()
2896
    if result.success is not None:
2897
      return result.success
2898
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBanner failed: unknown result");
2899
 
9155 kshitij.so 2900
  def getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2901
    """
2902
    Parameters:
2903
     - bannerName
9155 kshitij.so 2904
     - bannerType
6850 kshitij.so 2905
    """
9155 kshitij.so 2906
    self.send_getBannerDetails(bannerName, bannerType)
6850 kshitij.so 2907
    return self.recv_getBannerDetails()
2908
 
9155 kshitij.so 2909
  def send_getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2910
    self._oprot.writeMessageBegin('getBannerDetails', TMessageType.CALL, self._seqid)
2911
    args = getBannerDetails_args()
2912
    args.bannerName = bannerName
9155 kshitij.so 2913
    args.bannerType = bannerType
6850 kshitij.so 2914
    args.write(self._oprot)
2915
    self._oprot.writeMessageEnd()
2916
    self._oprot.trans.flush()
2917
 
2918
  def recv_getBannerDetails(self, ):
2919
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2920
    if mtype == TMessageType.EXCEPTION:
2921
      x = TApplicationException()
2922
      x.read(self._iprot)
2923
      self._iprot.readMessageEnd()
2924
      raise x
2925
    result = getBannerDetails_result()
2926
    result.read(self._iprot)
2927
    self._iprot.readMessageEnd()
2928
    if result.success is not None:
2929
      return result.success
2930
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerDetails failed: unknown result");
2931
 
2932
  def getActiveBanners(self, ):
2933
    self.send_getActiveBanners()
2934
    return self.recv_getActiveBanners()
2935
 
2936
  def send_getActiveBanners(self, ):
2937
    self._oprot.writeMessageBegin('getActiveBanners', TMessageType.CALL, self._seqid)
2938
    args = getActiveBanners_args()
2939
    args.write(self._oprot)
2940
    self._oprot.writeMessageEnd()
2941
    self._oprot.trans.flush()
2942
 
2943
  def recv_getActiveBanners(self, ):
2944
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2945
    if mtype == TMessageType.EXCEPTION:
2946
      x = TApplicationException()
2947
      x.read(self._iprot)
2948
      self._iprot.readMessageEnd()
2949
      raise x
2950
    result = getActiveBanners_result()
2951
    result.read(self._iprot)
2952
    self._iprot.readMessageEnd()
2953
    if result.success is not None:
2954
      return result.success
2955
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
2956
 
8579 kshitij.so 2957
  def addBannerMap(self, bannerMaps):
6849 kshitij.so 2958
    """
2959
    Parameters:
8579 kshitij.so 2960
     - bannerMaps
6849 kshitij.so 2961
    """
8579 kshitij.so 2962
    self.send_addBannerMap(bannerMaps)
6849 kshitij.so 2963
    return self.recv_addBannerMap()
2964
 
8579 kshitij.so 2965
  def send_addBannerMap(self, bannerMaps):
6849 kshitij.so 2966
    self._oprot.writeMessageBegin('addBannerMap', TMessageType.CALL, self._seqid)
2967
    args = addBannerMap_args()
8579 kshitij.so 2968
    args.bannerMaps = bannerMaps
6849 kshitij.so 2969
    args.write(self._oprot)
2970
    self._oprot.writeMessageEnd()
2971
    self._oprot.trans.flush()
2972
 
2973
  def recv_addBannerMap(self, ):
2974
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2975
    if mtype == TMessageType.EXCEPTION:
2976
      x = TApplicationException()
2977
      x.read(self._iprot)
2978
      self._iprot.readMessageEnd()
2979
      raise x
2980
    result = addBannerMap_result()
2981
    result.read(self._iprot)
2982
    self._iprot.readMessageEnd()
2983
    if result.success is not None:
2984
      return result.success
2985
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
2986
 
8579 kshitij.so 2987
  def updateBannerMap(self, bannerMap):
2988
    """
2989
    Parameters:
2990
     - bannerMap
2991
    """
2992
    self.send_updateBannerMap(bannerMap)
2993
    return self.recv_updateBannerMap()
2994
 
2995
  def send_updateBannerMap(self, bannerMap):
2996
    self._oprot.writeMessageBegin('updateBannerMap', TMessageType.CALL, self._seqid)
2997
    args = updateBannerMap_args()
2998
    args.bannerMap = bannerMap
2999
    args.write(self._oprot)
3000
    self._oprot.writeMessageEnd()
3001
    self._oprot.trans.flush()
3002
 
3003
  def recv_updateBannerMap(self, ):
3004
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3005
    if mtype == TMessageType.EXCEPTION:
3006
      x = TApplicationException()
3007
      x.read(self._iprot)
3008
      self._iprot.readMessageEnd()
3009
      raise x
3010
    result = updateBannerMap_result()
3011
    result.read(self._iprot)
3012
    self._iprot.readMessageEnd()
3013
    if result.success is not None:
3014
      return result.success
3015
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBannerMap failed: unknown result");
3016
 
6849 kshitij.so 3017
  def deleteBannerMap(self, bannerName):
3018
    """
3019
    Parameters:
3020
     - bannerName
3021
    """
3022
    self.send_deleteBannerMap(bannerName)
3023
    return self.recv_deleteBannerMap()
3024
 
3025
  def send_deleteBannerMap(self, bannerName):
3026
    self._oprot.writeMessageBegin('deleteBannerMap', TMessageType.CALL, self._seqid)
3027
    args = deleteBannerMap_args()
3028
    args.bannerName = bannerName
3029
    args.write(self._oprot)
3030
    self._oprot.writeMessageEnd()
3031
    self._oprot.trans.flush()
3032
 
3033
  def recv_deleteBannerMap(self, ):
3034
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3035
    if mtype == TMessageType.EXCEPTION:
3036
      x = TApplicationException()
3037
      x.read(self._iprot)
3038
      self._iprot.readMessageEnd()
3039
      raise x
3040
    result = deleteBannerMap_result()
3041
    result.read(self._iprot)
3042
    self._iprot.readMessageEnd()
3043
    if result.success is not None:
3044
      return result.success
3045
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBannerMap failed: unknown result");
3046
 
9155 kshitij.so 3047
  def getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 3048
    """
3049
    Parameters:
3050
     - bannerName
9155 kshitij.so 3051
     - bannerType
6849 kshitij.so 3052
    """
9155 kshitij.so 3053
    self.send_getBannerMapDetails(bannerName, bannerType)
6849 kshitij.so 3054
    return self.recv_getBannerMapDetails()
3055
 
9155 kshitij.so 3056
  def send_getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 3057
    self._oprot.writeMessageBegin('getBannerMapDetails', TMessageType.CALL, self._seqid)
3058
    args = getBannerMapDetails_args()
3059
    args.bannerName = bannerName
9155 kshitij.so 3060
    args.bannerType = bannerType
6849 kshitij.so 3061
    args.write(self._oprot)
3062
    self._oprot.writeMessageEnd()
3063
    self._oprot.trans.flush()
3064
 
3065
  def recv_getBannerMapDetails(self, ):
3066
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3067
    if mtype == TMessageType.EXCEPTION:
3068
      x = TApplicationException()
3069
      x.read(self._iprot)
3070
      self._iprot.readMessageEnd()
3071
      raise x
3072
    result = getBannerMapDetails_result()
3073
    result.read(self._iprot)
3074
    self._iprot.readMessageEnd()
3075
    if result.success is not None:
3076
      return result.success
3077
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
3078
 
8579 kshitij.so 3079
  def addBannerUri(self, bannerUriMappings):
3080
    """
3081
    Parameters:
3082
     - bannerUriMappings
3083
    """
3084
    self.send_addBannerUri(bannerUriMappings)
3085
    self.recv_addBannerUri()
3086
 
3087
  def send_addBannerUri(self, bannerUriMappings):
3088
    self._oprot.writeMessageBegin('addBannerUri', TMessageType.CALL, self._seqid)
3089
    args = addBannerUri_args()
3090
    args.bannerUriMappings = bannerUriMappings
3091
    args.write(self._oprot)
3092
    self._oprot.writeMessageEnd()
3093
    self._oprot.trans.flush()
3094
 
3095
  def recv_addBannerUri(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 = addBannerUri_result()
3103
    result.read(self._iprot)
3104
    self._iprot.readMessageEnd()
3105
    return
3106
 
9155 kshitij.so 3107
  def getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 3108
    """
3109
    Parameters:
3110
     - bannerName
9155 kshitij.so 3111
     - bannerType
8579 kshitij.so 3112
    """
9155 kshitij.so 3113
    self.send_getUriMapping(bannerName, bannerType)
8579 kshitij.so 3114
    return self.recv_getUriMapping()
3115
 
9155 kshitij.so 3116
  def send_getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 3117
    self._oprot.writeMessageBegin('getUriMapping', TMessageType.CALL, self._seqid)
3118
    args = getUriMapping_args()
3119
    args.bannerName = bannerName
9155 kshitij.so 3120
    args.bannerType = bannerType
8579 kshitij.so 3121
    args.write(self._oprot)
3122
    self._oprot.writeMessageEnd()
3123
    self._oprot.trans.flush()
3124
 
3125
  def recv_getUriMapping(self, ):
3126
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3127
    if mtype == TMessageType.EXCEPTION:
3128
      x = TApplicationException()
3129
      x.read(self._iprot)
3130
      self._iprot.readMessageEnd()
3131
      raise x
3132
    result = getUriMapping_result()
3133
    result.read(self._iprot)
3134
    self._iprot.readMessageEnd()
3135
    if result.success is not None:
3136
      return result.success
3137
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUriMapping failed: unknown result");
3138
 
3139
  def addCampaign(self, campaign):
3140
    """
3141
    Parameters:
3142
     - campaign
3143
    """
3144
    self.send_addCampaign(campaign)
3145
    self.recv_addCampaign()
3146
 
3147
  def send_addCampaign(self, campaign):
3148
    self._oprot.writeMessageBegin('addCampaign', TMessageType.CALL, self._seqid)
3149
    args = addCampaign_args()
3150
    args.campaign = campaign
3151
    args.write(self._oprot)
3152
    self._oprot.writeMessageEnd()
3153
    self._oprot.trans.flush()
3154
 
3155
  def recv_addCampaign(self, ):
3156
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3157
    if mtype == TMessageType.EXCEPTION:
3158
      x = TApplicationException()
3159
      x.read(self._iprot)
3160
      self._iprot.readMessageEnd()
3161
      raise x
3162
    result = addCampaign_result()
3163
    result.read(self._iprot)
3164
    self._iprot.readMessageEnd()
3165
    return
3166
 
3167
  def getCampaigns(self, campaignName):
3168
    """
3169
    Parameters:
3170
     - campaignName
3171
    """
3172
    self.send_getCampaigns(campaignName)
3173
    return self.recv_getCampaigns()
3174
 
3175
  def send_getCampaigns(self, campaignName):
3176
    self._oprot.writeMessageBegin('getCampaigns', TMessageType.CALL, self._seqid)
3177
    args = getCampaigns_args()
3178
    args.campaignName = campaignName
3179
    args.write(self._oprot)
3180
    self._oprot.writeMessageEnd()
3181
    self._oprot.trans.flush()
3182
 
3183
  def recv_getCampaigns(self, ):
3184
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3185
    if mtype == TMessageType.EXCEPTION:
3186
      x = TApplicationException()
3187
      x.read(self._iprot)
3188
      self._iprot.readMessageEnd()
3189
      raise x
3190
    result = getCampaigns_result()
3191
    result.read(self._iprot)
3192
    self._iprot.readMessageEnd()
3193
    if result.success is not None:
3194
      return result.success
3195
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCampaigns failed: unknown result");
3196
 
3197
  def deleteCampaign(self, campaignId):
3198
    """
3199
    Parameters:
3200
     - campaignId
3201
    """
3202
    self.send_deleteCampaign(campaignId)
3203
    self.recv_deleteCampaign()
3204
 
3205
  def send_deleteCampaign(self, campaignId):
3206
    self._oprot.writeMessageBegin('deleteCampaign', TMessageType.CALL, self._seqid)
3207
    args = deleteCampaign_args()
3208
    args.campaignId = campaignId
3209
    args.write(self._oprot)
3210
    self._oprot.writeMessageEnd()
3211
    self._oprot.trans.flush()
3212
 
3213
  def recv_deleteCampaign(self, ):
3214
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3215
    if mtype == TMessageType.EXCEPTION:
3216
      x = TApplicationException()
3217
      x.read(self._iprot)
3218
      self._iprot.readMessageEnd()
3219
      raise x
3220
    result = deleteCampaign_result()
3221
    result.read(self._iprot)
3222
    self._iprot.readMessageEnd()
3223
    return
3224
 
3225
  def getAllCampaigns(self, ):
3226
    self.send_getAllCampaigns()
3227
    return self.recv_getAllCampaigns()
3228
 
3229
  def send_getAllCampaigns(self, ):
3230
    self._oprot.writeMessageBegin('getAllCampaigns', TMessageType.CALL, self._seqid)
3231
    args = getAllCampaigns_args()
3232
    args.write(self._oprot)
3233
    self._oprot.writeMessageEnd()
3234
    self._oprot.trans.flush()
3235
 
3236
  def recv_getAllCampaigns(self, ):
3237
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3238
    if mtype == TMessageType.EXCEPTION:
3239
      x = TApplicationException()
3240
      x.read(self._iprot)
3241
      self._iprot.readMessageEnd()
3242
      raise x
3243
    result = getAllCampaigns_result()
3244
    result.read(self._iprot)
3245
    self._iprot.readMessageEnd()
3246
    if result.success is not None:
3247
      return result.success
3248
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCampaigns failed: unknown result");
3249
 
9155 kshitij.so 3250
  def getActiveBannersForMobileSite(self, ):
3251
    self.send_getActiveBannersForMobileSite()
3252
    return self.recv_getActiveBannersForMobileSite()
3253
 
3254
  def send_getActiveBannersForMobileSite(self, ):
3255
    self._oprot.writeMessageBegin('getActiveBannersForMobileSite', TMessageType.CALL, self._seqid)
3256
    args = getActiveBannersForMobileSite_args()
3257
    args.write(self._oprot)
3258
    self._oprot.writeMessageEnd()
3259
    self._oprot.trans.flush()
3260
 
3261
  def recv_getActiveBannersForMobileSite(self, ):
3262
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3263
    if mtype == TMessageType.EXCEPTION:
3264
      x = TApplicationException()
3265
      x.read(self._iprot)
3266
      self._iprot.readMessageEnd()
3267
      raise x
3268
    result = getActiveBannersForMobileSite_result()
3269
    result.read(self._iprot)
3270
    self._iprot.readMessageEnd()
3271
    if result.success is not None:
3272
      return result.success
3273
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBannersForMobileSite failed: unknown result");
3274
 
5944 mandeep.dh 3275
  def deleteSimilarItem(self, itemId, catalogItemId):
3276
    """
3277
    Delete similar item.
3278
 
3279
    Parameters:
3280
     - itemId
3281
     - catalogItemId
3282
    """
3283
    self.send_deleteSimilarItem(itemId, catalogItemId)
3284
    return self.recv_deleteSimilarItem()
3285
 
3286
  def send_deleteSimilarItem(self, itemId, catalogItemId):
3287
    self._oprot.writeMessageBegin('deleteSimilarItem', TMessageType.CALL, self._seqid)
3288
    args = deleteSimilarItem_args()
3289
    args.itemId = itemId
3290
    args.catalogItemId = catalogItemId
3291
    args.write(self._oprot)
3292
    self._oprot.writeMessageEnd()
3293
    self._oprot.trans.flush()
3294
 
3295
  def recv_deleteSimilarItem(self, ):
3296
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3297
    if mtype == TMessageType.EXCEPTION:
3298
      x = TApplicationException()
3299
      x.read(self._iprot)
3300
      self._iprot.readMessageEnd()
3301
      raise x
3302
    result = deleteSimilarItem_result()
3303
    result.read(self._iprot)
3304
    self._iprot.readMessageEnd()
3305
    if result.success is not None:
3306
      return result.success
3307
    if result.cex is not None:
3308
      raise result.cex
3309
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteSimilarItem failed: unknown result");
3310
 
3311
  def checkSimilarItem(self, brand, modelNumber, modelName, color):
3312
    """
3313
    Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
3314
    If yes, returns the itemId else returns 0
3315
 
3316
    Parameters:
3317
     - brand
3318
     - modelNumber
3319
     - modelName
3320
     - color
3321
    """
3322
    self.send_checkSimilarItem(brand, modelNumber, modelName, color)
3323
    return self.recv_checkSimilarItem()
3324
 
3325
  def send_checkSimilarItem(self, brand, modelNumber, modelName, color):
3326
    self._oprot.writeMessageBegin('checkSimilarItem', TMessageType.CALL, self._seqid)
3327
    args = checkSimilarItem_args()
3328
    args.brand = brand
3329
    args.modelNumber = modelNumber
3330
    args.modelName = modelName
3331
    args.color = color
3332
    args.write(self._oprot)
3333
    self._oprot.writeMessageEnd()
3334
    self._oprot.trans.flush()
3335
 
3336
  def recv_checkSimilarItem(self, ):
3337
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3338
    if mtype == TMessageType.EXCEPTION:
3339
      x = TApplicationException()
3340
      x.read(self._iprot)
3341
      self._iprot.readMessageEnd()
3342
      raise x
3343
    result = checkSimilarItem_result()
3344
    result.read(self._iprot)
3345
    self._iprot.readMessageEnd()
3346
    if result.success is not None:
3347
      return result.success
3348
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkSimilarItem failed: unknown result");
3349
 
3350
  def validateRiskyStatus(self, itemId):
3351
    """
3352
    Check wether item is risky and change status if inventory is not available for risky items
3353
 
3354
    Parameters:
3355
     - itemId
3356
    """
3357
    self.send_validateRiskyStatus(itemId)
3358
    self.recv_validateRiskyStatus()
3359
 
3360
  def send_validateRiskyStatus(self, itemId):
3361
    self._oprot.writeMessageBegin('validateRiskyStatus', TMessageType.CALL, self._seqid)
3362
    args = validateRiskyStatus_args()
3363
    args.itemId = itemId
3364
    args.write(self._oprot)
3365
    self._oprot.writeMessageEnd()
3366
    self._oprot.trans.flush()
3367
 
3368
  def recv_validateRiskyStatus(self, ):
3369
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3370
    if mtype == TMessageType.EXCEPTION:
3371
      x = TApplicationException()
3372
      x.read(self._iprot)
3373
      self._iprot.readMessageEnd()
3374
      raise x
3375
    result = validateRiskyStatus_result()
3376
    result.read(self._iprot)
3377
    self._iprot.readMessageEnd()
3378
    return
3379
 
3380
  def changeItemRiskyFlag(self, itemId, risky):
3381
    """
3382
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
3383
 
3384
    Parameters:
3385
     - itemId
3386
     - risky
3387
    """
3388
    self.send_changeItemRiskyFlag(itemId, risky)
3389
    self.recv_changeItemRiskyFlag()
3390
 
3391
  def send_changeItemRiskyFlag(self, itemId, risky):
3392
    self._oprot.writeMessageBegin('changeItemRiskyFlag', TMessageType.CALL, self._seqid)
3393
    args = changeItemRiskyFlag_args()
3394
    args.itemId = itemId
3395
    args.risky = risky
3396
    args.write(self._oprot)
3397
    self._oprot.writeMessageEnd()
3398
    self._oprot.trans.flush()
3399
 
3400
  def recv_changeItemRiskyFlag(self, ):
3401
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3402
    if mtype == TMessageType.EXCEPTION:
3403
      x = TApplicationException()
3404
      x.read(self._iprot)
3405
      self._iprot.readMessageEnd()
3406
      raise x
3407
    result = changeItemRiskyFlag_result()
3408
    result.read(self._iprot)
3409
    self._iprot.readMessageEnd()
3410
    return
3411
 
3412
  def getItemsByRiskyFlag(self, ):
3413
    """
3414
    Returns list of items marked as risky.
3415
    """
3416
    self.send_getItemsByRiskyFlag()
3417
    return self.recv_getItemsByRiskyFlag()
3418
 
3419
  def send_getItemsByRiskyFlag(self, ):
3420
    self._oprot.writeMessageBegin('getItemsByRiskyFlag', TMessageType.CALL, self._seqid)
3421
    args = getItemsByRiskyFlag_args()
3422
    args.write(self._oprot)
3423
    self._oprot.writeMessageEnd()
3424
    self._oprot.trans.flush()
3425
 
3426
  def recv_getItemsByRiskyFlag(self, ):
3427
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3428
    if mtype == TMessageType.EXCEPTION:
3429
      x = TApplicationException()
3430
      x.read(self._iprot)
3431
      self._iprot.readMessageEnd()
3432
      raise x
3433
    result = getItemsByRiskyFlag_result()
3434
    result.read(self._iprot)
3435
    self._iprot.readMessageEnd()
3436
    if result.success is not None:
3437
      return result.success
3438
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByRiskyFlag failed: unknown result");
3439
 
3440
  def getItemsForMasterSheet(self, category, brand):
3441
    """
3442
    Returns list of items with any status except PHASED_OUT and filtered by category, brand.
3443
 
3444
    Parameters:
3445
     - category
3446
     - brand
3447
    """
3448
    self.send_getItemsForMasterSheet(category, brand)
3449
    return self.recv_getItemsForMasterSheet()
3450
 
3451
  def send_getItemsForMasterSheet(self, category, brand):
3452
    self._oprot.writeMessageBegin('getItemsForMasterSheet', TMessageType.CALL, self._seqid)
3453
    args = getItemsForMasterSheet_args()
3454
    args.category = category
3455
    args.brand = brand
3456
    args.write(self._oprot)
3457
    self._oprot.writeMessageEnd()
3458
    self._oprot.trans.flush()
3459
 
3460
  def recv_getItemsForMasterSheet(self, ):
3461
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3462
    if mtype == TMessageType.EXCEPTION:
3463
      x = TApplicationException()
3464
      x.read(self._iprot)
3465
      self._iprot.readMessageEnd()
3466
      raise x
3467
    result = getItemsForMasterSheet_result()
3468
    result.read(self._iprot)
3469
    self._iprot.readMessageEnd()
3470
    if result.success is not None:
3471
      return result.success
3472
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsForMasterSheet failed: unknown result");
3473
 
3474
  def getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3475
    """
3476
    Returns list of catalog ids of items with same similarity index as of the given itemId
3477
 
3478
    Parameters:
3479
     - beginIndex
3480
     - totalItems
3481
     - itemId
3482
    """
3483
    self.send_getSimilarItemsCatalogIds(beginIndex, totalItems, itemId)
3484
    return self.recv_getSimilarItemsCatalogIds()
3485
 
3486
  def send_getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3487
    self._oprot.writeMessageBegin('getSimilarItemsCatalogIds', TMessageType.CALL, self._seqid)
3488
    args = getSimilarItemsCatalogIds_args()
3489
    args.beginIndex = beginIndex
3490
    args.totalItems = totalItems
3491
    args.itemId = itemId
3492
    args.write(self._oprot)
3493
    self._oprot.writeMessageEnd()
3494
    self._oprot.trans.flush()
3495
 
3496
  def recv_getSimilarItemsCatalogIds(self, ):
3497
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3498
    if mtype == TMessageType.EXCEPTION:
3499
      x = TApplicationException()
3500
      x.read(self._iprot)
3501
      self._iprot.readMessageEnd()
3502
      raise x
3503
    result = getSimilarItemsCatalogIds_result()
3504
    result.read(self._iprot)
3505
    self._iprot.readMessageEnd()
3506
    if result.success is not None:
3507
      return result.success
3508
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSimilarItemsCatalogIds failed: unknown result");
3509
 
3510
  def addProductNotification(self, itemId, email):
3511
    """
3512
    Add user requests for out of stock items. Once user will ask for notify me an entry will
3513
 
3514
    Parameters:
3515
     - itemId
3516
     - email
3517
    """
3518
    self.send_addProductNotification(itemId, email)
3519
    return self.recv_addProductNotification()
3520
 
3521
  def send_addProductNotification(self, itemId, email):
3522
    self._oprot.writeMessageBegin('addProductNotification', TMessageType.CALL, self._seqid)
3523
    args = addProductNotification_args()
3524
    args.itemId = itemId
3525
    args.email = email
3526
    args.write(self._oprot)
3527
    self._oprot.writeMessageEnd()
3528
    self._oprot.trans.flush()
3529
 
3530
  def recv_addProductNotification(self, ):
3531
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3532
    if mtype == TMessageType.EXCEPTION:
3533
      x = TApplicationException()
3534
      x.read(self._iprot)
3535
      self._iprot.readMessageEnd()
3536
      raise x
3537
    result = addProductNotification_result()
3538
    result.read(self._iprot)
3539
    self._iprot.readMessageEnd()
3540
    if result.success is not None:
3541
      return result.success
3542
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductNotification failed: unknown result");
3543
 
3544
  def sendProductNotifications(self, ):
3545
    """
3546
    Send the product notifications to the users for items which has stock.
3547
    """
3548
    self.send_sendProductNotifications()
3549
    return self.recv_sendProductNotifications()
3550
 
3551
  def send_sendProductNotifications(self, ):
3552
    self._oprot.writeMessageBegin('sendProductNotifications', TMessageType.CALL, self._seqid)
3553
    args = sendProductNotifications_args()
3554
    args.write(self._oprot)
3555
    self._oprot.writeMessageEnd()
3556
    self._oprot.trans.flush()
3557
 
3558
  def recv_sendProductNotifications(self, ):
3559
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3560
    if mtype == TMessageType.EXCEPTION:
3561
      x = TApplicationException()
3562
      x.read(self._iprot)
3563
      self._iprot.readMessageEnd()
3564
      raise x
3565
    result = sendProductNotifications_result()
3566
    result.read(self._iprot)
3567
    self._iprot.readMessageEnd()
3568
    if result.success is not None:
3569
      return result.success
3570
    raise TApplicationException(TApplicationException.MISSING_RESULT, "sendProductNotifications failed: unknown result");
3571
 
3572
  def getAllBrandsByCategory(self, categoryId):
3573
    """
3574
    Returns list of brand names for a given category Id
3575
 
3576
    Parameters:
3577
     - categoryId
3578
    """
3579
    self.send_getAllBrandsByCategory(categoryId)
3580
    return self.recv_getAllBrandsByCategory()
3581
 
3582
  def send_getAllBrandsByCategory(self, categoryId):
3583
    self._oprot.writeMessageBegin('getAllBrandsByCategory', TMessageType.CALL, self._seqid)
3584
    args = getAllBrandsByCategory_args()
3585
    args.categoryId = categoryId
3586
    args.write(self._oprot)
3587
    self._oprot.writeMessageEnd()
3588
    self._oprot.trans.flush()
3589
 
3590
  def recv_getAllBrandsByCategory(self, ):
3591
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3592
    if mtype == TMessageType.EXCEPTION:
3593
      x = TApplicationException()
3594
      x.read(self._iprot)
3595
      self._iprot.readMessageEnd()
3596
      raise x
3597
    result = getAllBrandsByCategory_result()
3598
    result.read(self._iprot)
3599
    self._iprot.readMessageEnd()
3600
    if result.success is not None:
3601
      return result.success
3602
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrandsByCategory failed: unknown result");
3603
 
3604
  def getAllBrands(self, ):
3605
    """
3606
    Returns list of brand names
3607
    """
3608
    self.send_getAllBrands()
3609
    return self.recv_getAllBrands()
3610
 
3611
  def send_getAllBrands(self, ):
3612
    self._oprot.writeMessageBegin('getAllBrands', TMessageType.CALL, self._seqid)
3613
    args = getAllBrands_args()
3614
    args.write(self._oprot)
3615
    self._oprot.writeMessageEnd()
3616
    self._oprot.trans.flush()
3617
 
3618
  def recv_getAllBrands(self, ):
3619
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3620
    if mtype == TMessageType.EXCEPTION:
3621
      x = TApplicationException()
3622
      x.read(self._iprot)
3623
      self._iprot.readMessageEnd()
3624
      raise x
3625
    result = getAllBrands_result()
3626
    result.read(self._iprot)
3627
    self._iprot.readMessageEnd()
3628
    if result.success is not None:
3629
      return result.success
3630
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrands failed: unknown result");
3631
 
3632
  def getAllSources(self, ):
3633
    """
3634
    Return list of all sources
3635
    """
3636
    self.send_getAllSources()
3637
    return self.recv_getAllSources()
3638
 
3639
  def send_getAllSources(self, ):
3640
    self._oprot.writeMessageBegin('getAllSources', TMessageType.CALL, self._seqid)
3641
    args = getAllSources_args()
3642
    args.write(self._oprot)
3643
    self._oprot.writeMessageEnd()
3644
    self._oprot.trans.flush()
3645
 
3646
  def recv_getAllSources(self, ):
3647
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3648
    if mtype == TMessageType.EXCEPTION:
3649
      x = TApplicationException()
3650
      x.read(self._iprot)
3651
      self._iprot.readMessageEnd()
3652
      raise x
3653
    result = getAllSources_result()
3654
    result.read(self._iprot)
3655
    self._iprot.readMessageEnd()
3656
    if result.success is not None:
3657
      return result.success
3658
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSources failed: unknown result");
3659
 
3660
  def getItemPricingBySource(self, itemId, sourceId):
3661
    """
3662
    Returns the pricing information of an item. If no information is found, exception will be thrown.
3663
 
3664
    Parameters:
3665
     - itemId
3666
     - sourceId
3667
    """
3668
    self.send_getItemPricingBySource(itemId, sourceId)
3669
    return self.recv_getItemPricingBySource()
3670
 
3671
  def send_getItemPricingBySource(self, itemId, sourceId):
3672
    self._oprot.writeMessageBegin('getItemPricingBySource', TMessageType.CALL, self._seqid)
3673
    args = getItemPricingBySource_args()
3674
    args.itemId = itemId
3675
    args.sourceId = sourceId
3676
    args.write(self._oprot)
3677
    self._oprot.writeMessageEnd()
3678
    self._oprot.trans.flush()
3679
 
3680
  def recv_getItemPricingBySource(self, ):
3681
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3682
    if mtype == TMessageType.EXCEPTION:
3683
      x = TApplicationException()
3684
      x.read(self._iprot)
3685
      self._iprot.readMessageEnd()
3686
      raise x
3687
    result = getItemPricingBySource_result()
3688
    result.read(self._iprot)
3689
    self._iprot.readMessageEnd()
3690
    if result.success is not None:
3691
      return result.success
3692
    if result.cex is not None:
3693
      raise result.cex
3694
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemPricingBySource failed: unknown result");
3695
 
3696
  def addSourceItemPricing(self, sourceItemPricing):
3697
    """
3698
    Adds prices to be displayed corresponding to the item if user comes from a source.
3699
    If item is not found or source is not found, it will throw exception.
3700
 
3701
    Parameters:
3702
     - sourceItemPricing
3703
    """
3704
    self.send_addSourceItemPricing(sourceItemPricing)
3705
    self.recv_addSourceItemPricing()
3706
 
3707
  def send_addSourceItemPricing(self, sourceItemPricing):
3708
    self._oprot.writeMessageBegin('addSourceItemPricing', TMessageType.CALL, self._seqid)
3709
    args = addSourceItemPricing_args()
3710
    args.sourceItemPricing = sourceItemPricing
3711
    args.write(self._oprot)
3712
    self._oprot.writeMessageEnd()
3713
    self._oprot.trans.flush()
3714
 
3715
  def recv_addSourceItemPricing(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 = addSourceItemPricing_result()
3723
    result.read(self._iprot)
3724
    self._iprot.readMessageEnd()
3725
    if result.cex is not None:
3726
      raise result.cex
3727
    return
3728
 
3729
  def getAllSourcePricing(self, itemId):
3730
    """
3731
    Returns the list of source pricing information of an item.
3732
    Raises an exception if item not found corresponding to itemId
3733
 
3734
    Parameters:
3735
     - itemId
3736
    """
3737
    self.send_getAllSourcePricing(itemId)
3738
    return self.recv_getAllSourcePricing()
3739
 
3740
  def send_getAllSourcePricing(self, itemId):
3741
    self._oprot.writeMessageBegin('getAllSourcePricing', TMessageType.CALL, self._seqid)
3742
    args = getAllSourcePricing_args()
3743
    args.itemId = itemId
3744
    args.write(self._oprot)
3745
    self._oprot.writeMessageEnd()
3746
    self._oprot.trans.flush()
3747
 
3748
  def recv_getAllSourcePricing(self, ):
3749
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3750
    if mtype == TMessageType.EXCEPTION:
3751
      x = TApplicationException()
3752
      x.read(self._iprot)
3753
      self._iprot.readMessageEnd()
3754
      raise x
3755
    result = getAllSourcePricing_result()
3756
    result.read(self._iprot)
3757
    self._iprot.readMessageEnd()
3758
    if result.success is not None:
3759
      return result.success
3760
    if result.cex is not None:
3761
      raise result.cex
3762
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSourcePricing failed: unknown result");
3763
 
3764
  def getItemForSource(self, item_id, sourceId):
3765
    """
3766
    Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
3767
 
3768
    Parameters:
3769
     - item_id
3770
     - sourceId
3771
    """
3772
    self.send_getItemForSource(item_id, sourceId)
3773
    return self.recv_getItemForSource()
3774
 
3775
  def send_getItemForSource(self, item_id, sourceId):
3776
    self._oprot.writeMessageBegin('getItemForSource', TMessageType.CALL, self._seqid)
3777
    args = getItemForSource_args()
3778
    args.item_id = item_id
3779
    args.sourceId = sourceId
3780
    args.write(self._oprot)
3781
    self._oprot.writeMessageEnd()
3782
    self._oprot.trans.flush()
3783
 
3784
  def recv_getItemForSource(self, ):
3785
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3786
    if mtype == TMessageType.EXCEPTION:
3787
      x = TApplicationException()
3788
      x.read(self._iprot)
3789
      self._iprot.readMessageEnd()
3790
      raise x
3791
    result = getItemForSource_result()
3792
    result.read(self._iprot)
3793
    self._iprot.readMessageEnd()
3794
    if result.success is not None:
3795
      return result.success
3796
    if result.cex is not None:
3797
      raise result.cex
3798
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemForSource failed: unknown result");
3799
 
3800
  def searchItemsInRange(self, searchTerms, offset, limit):
3801
    """
3802
    Searches items matching the the given terms in the catalog and returns results within the specified range.
3803
 
3804
    Parameters:
3805
     - searchTerms
3806
     - offset
3807
     - limit
3808
    """
3809
    self.send_searchItemsInRange(searchTerms, offset, limit)
3810
    return self.recv_searchItemsInRange()
3811
 
3812
  def send_searchItemsInRange(self, searchTerms, offset, limit):
3813
    self._oprot.writeMessageBegin('searchItemsInRange', TMessageType.CALL, self._seqid)
3814
    args = searchItemsInRange_args()
3815
    args.searchTerms = searchTerms
3816
    args.offset = offset
3817
    args.limit = limit
3818
    args.write(self._oprot)
3819
    self._oprot.writeMessageEnd()
3820
    self._oprot.trans.flush()
3821
 
3822
  def recv_searchItemsInRange(self, ):
3823
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3824
    if mtype == TMessageType.EXCEPTION:
3825
      x = TApplicationException()
3826
      x.read(self._iprot)
3827
      self._iprot.readMessageEnd()
3828
      raise x
3829
    result = searchItemsInRange_result()
3830
    result.read(self._iprot)
3831
    self._iprot.readMessageEnd()
3832
    if result.success is not None:
3833
      return result.success
3834
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchItemsInRange failed: unknown result");
3835
 
3836
  def getSearchResultCount(self, searchTerms):
3837
    """
3838
    Gets the count of search results for the given search terms so that the user can go through all the pages.
3839
 
3840
    Parameters:
3841
     - searchTerms
3842
    """
3843
    self.send_getSearchResultCount(searchTerms)
3844
    return self.recv_getSearchResultCount()
3845
 
3846
  def send_getSearchResultCount(self, searchTerms):
3847
    self._oprot.writeMessageBegin('getSearchResultCount', TMessageType.CALL, self._seqid)
3848
    args = getSearchResultCount_args()
3849
    args.searchTerms = searchTerms
3850
    args.write(self._oprot)
3851
    self._oprot.writeMessageEnd()
3852
    self._oprot.trans.flush()
3853
 
3854
  def recv_getSearchResultCount(self, ):
3855
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3856
    if mtype == TMessageType.EXCEPTION:
3857
      x = TApplicationException()
3858
      x.read(self._iprot)
3859
      self._iprot.readMessageEnd()
3860
      raise x
3861
    result = getSearchResultCount_result()
3862
    result.read(self._iprot)
3863
    self._iprot.readMessageEnd()
3864
    if result.success is not None:
3865
      return result.success
3866
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSearchResultCount failed: unknown result");
3867
 
3868
  def getProductNotifications(self, startDateTime):
3869
    """
3870
    Returns a list of product notifications added after a supplied datetime
3871
 
3872
    Parameters:
3873
     - startDateTime
3874
    """
3875
    self.send_getProductNotifications(startDateTime)
3876
    return self.recv_getProductNotifications()
3877
 
3878
  def send_getProductNotifications(self, startDateTime):
3879
    self._oprot.writeMessageBegin('getProductNotifications', TMessageType.CALL, self._seqid)
3880
    args = getProductNotifications_args()
3881
    args.startDateTime = startDateTime
3882
    args.write(self._oprot)
3883
    self._oprot.writeMessageEnd()
3884
    self._oprot.trans.flush()
3885
 
3886
  def recv_getProductNotifications(self, ):
3887
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3888
    if mtype == TMessageType.EXCEPTION:
3889
      x = TApplicationException()
3890
      x.read(self._iprot)
3891
      self._iprot.readMessageEnd()
3892
      raise x
3893
    result = getProductNotifications_result()
3894
    result.read(self._iprot)
3895
    self._iprot.readMessageEnd()
3896
    if result.success is not None:
3897
      return result.success
3898
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotifications failed: unknown result");
3899
 
7897 amar.kumar 3900
  def getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3901
    """
3902
    Returns a list of count of requests for product notification against each item
3903
 
3904
    Parameters:
3905
     - startDateTime
7897 amar.kumar 3906
     - categoryId
5944 mandeep.dh 3907
    """
7897 amar.kumar 3908
    self.send_getProductNotificationRequestCount(startDateTime, categoryId)
5944 mandeep.dh 3909
    return self.recv_getProductNotificationRequestCount()
3910
 
7897 amar.kumar 3911
  def send_getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3912
    self._oprot.writeMessageBegin('getProductNotificationRequestCount', TMessageType.CALL, self._seqid)
3913
    args = getProductNotificationRequestCount_args()
3914
    args.startDateTime = startDateTime
7897 amar.kumar 3915
    args.categoryId = categoryId
5944 mandeep.dh 3916
    args.write(self._oprot)
3917
    self._oprot.writeMessageEnd()
3918
    self._oprot.trans.flush()
3919
 
3920
  def recv_getProductNotificationRequestCount(self, ):
3921
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3922
    if mtype == TMessageType.EXCEPTION:
3923
      x = TApplicationException()
3924
      x.read(self._iprot)
3925
      self._iprot.readMessageEnd()
3926
      raise x
3927
    result = getProductNotificationRequestCount_result()
3928
    result.read(self._iprot)
3929
    self._iprot.readMessageEnd()
3930
    if result.success is not None:
3931
      return result.success
3932
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotificationRequestCount failed: unknown result");
3933
 
3934
  def addAuthorizationLog(self, itemId, username, reason):
3935
    """
3936
    This method adds a log to authorize table with Item Id, username who authorized the change, reason.
3937
 
3938
    Parameters:
3939
     - itemId
3940
     - username
3941
     - reason
3942
    """
3943
    self.send_addAuthorizationLog(itemId, username, reason)
3944
    return self.recv_addAuthorizationLog()
3945
 
3946
  def send_addAuthorizationLog(self, itemId, username, reason):
3947
    self._oprot.writeMessageBegin('addAuthorizationLog', TMessageType.CALL, self._seqid)
3948
    args = addAuthorizationLog_args()
3949
    args.itemId = itemId
3950
    args.username = username
3951
    args.reason = reason
3952
    args.write(self._oprot)
3953
    self._oprot.writeMessageEnd()
3954
    self._oprot.trans.flush()
3955
 
3956
  def recv_addAuthorizationLog(self, ):
3957
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3958
    if mtype == TMessageType.EXCEPTION:
3959
      x = TApplicationException()
3960
      x.read(self._iprot)
3961
      self._iprot.readMessageEnd()
3962
      raise x
3963
    result = addAuthorizationLog_result()
3964
    result.read(self._iprot)
3965
    self._iprot.readMessageEnd()
3966
    if result.success is not None:
3967
      return result.success
3968
    if result.cex is not None:
3969
      raise result.cex
3970
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAuthorizationLog failed: unknown result");
3971
 
3972
  def addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3973
    """
3974
    Parameters:
3975
     - catalog_item_id
3976
     - voucherType
3977
     - voucherAmount
3978
    """
3979
    self.send_addupdateVoucherForItem(catalog_item_id, voucherType, voucherAmount)
3980
    return self.recv_addupdateVoucherForItem()
3981
 
3982
  def send_addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3983
    self._oprot.writeMessageBegin('addupdateVoucherForItem', TMessageType.CALL, self._seqid)
3984
    args = addupdateVoucherForItem_args()
3985
    args.catalog_item_id = catalog_item_id
3986
    args.voucherType = voucherType
3987
    args.voucherAmount = voucherAmount
3988
    args.write(self._oprot)
3989
    self._oprot.writeMessageEnd()
3990
    self._oprot.trans.flush()
3991
 
3992
  def recv_addupdateVoucherForItem(self, ):
3993
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3994
    if mtype == TMessageType.EXCEPTION:
3995
      x = TApplicationException()
3996
      x.read(self._iprot)
3997
      self._iprot.readMessageEnd()
3998
      raise x
3999
    result = addupdateVoucherForItem_result()
4000
    result.read(self._iprot)
4001
    self._iprot.readMessageEnd()
4002
    if result.success is not None:
4003
      return result.success
4004
    if result.cex is not None:
4005
      raise result.cex
4006
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addupdateVoucherForItem failed: unknown result");
4007
 
4008
  def deleteVoucherForItem(self, catalog_item_id, voucherType):
4009
    """
4010
    Parameters:
4011
     - catalog_item_id
4012
     - voucherType
4013
    """
4014
    self.send_deleteVoucherForItem(catalog_item_id, voucherType)
4015
    return self.recv_deleteVoucherForItem()
4016
 
4017
  def send_deleteVoucherForItem(self, catalog_item_id, voucherType):
4018
    self._oprot.writeMessageBegin('deleteVoucherForItem', TMessageType.CALL, self._seqid)
4019
    args = deleteVoucherForItem_args()
4020
    args.catalog_item_id = catalog_item_id
4021
    args.voucherType = voucherType
4022
    args.write(self._oprot)
4023
    self._oprot.writeMessageEnd()
4024
    self._oprot.trans.flush()
4025
 
4026
  def recv_deleteVoucherForItem(self, ):
4027
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4028
    if mtype == TMessageType.EXCEPTION:
4029
      x = TApplicationException()
4030
      x.read(self._iprot)
4031
      self._iprot.readMessageEnd()
4032
      raise x
4033
    result = deleteVoucherForItem_result()
4034
    result.read(self._iprot)
4035
    self._iprot.readMessageEnd()
4036
    if result.success is not None:
4037
      return result.success
4038
    if result.cex is not None:
4039
      raise result.cex
4040
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteVoucherForItem failed: unknown result");
4041
 
4042
  def getVoucherAmount(self, itemId, voucherType):
4043
    """
4044
    Parameters:
4045
     - itemId
4046
     - voucherType
4047
    """
4048
    self.send_getVoucherAmount(itemId, voucherType)
4049
    return self.recv_getVoucherAmount()
4050
 
4051
  def send_getVoucherAmount(self, itemId, voucherType):
4052
    self._oprot.writeMessageBegin('getVoucherAmount', TMessageType.CALL, self._seqid)
4053
    args = getVoucherAmount_args()
4054
    args.itemId = itemId
4055
    args.voucherType = voucherType
4056
    args.write(self._oprot)
4057
    self._oprot.writeMessageEnd()
4058
    self._oprot.trans.flush()
4059
 
4060
  def recv_getVoucherAmount(self, ):
4061
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4062
    if mtype == TMessageType.EXCEPTION:
4063
      x = TApplicationException()
4064
      x.read(self._iprot)
4065
      self._iprot.readMessageEnd()
4066
      raise x
4067
    result = getVoucherAmount_result()
4068
    result.read(self._iprot)
4069
    self._iprot.readMessageEnd()
4070
    if result.success is not None:
4071
      return result.success
4072
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVoucherAmount failed: unknown result");
4073
 
4074
  def getAllItemVouchers(self, itemId):
4075
    """
4076
    Parameters:
4077
     - itemId
4078
    """
4079
    self.send_getAllItemVouchers(itemId)
4080
    return self.recv_getAllItemVouchers()
4081
 
4082
  def send_getAllItemVouchers(self, itemId):
4083
    self._oprot.writeMessageBegin('getAllItemVouchers', TMessageType.CALL, self._seqid)
4084
    args = getAllItemVouchers_args()
4085
    args.itemId = itemId
4086
    args.write(self._oprot)
4087
    self._oprot.writeMessageEnd()
4088
    self._oprot.trans.flush()
4089
 
4090
  def recv_getAllItemVouchers(self, ):
4091
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4092
    if mtype == TMessageType.EXCEPTION:
4093
      x = TApplicationException()
4094
      x.read(self._iprot)
4095
      self._iprot.readMessageEnd()
4096
      raise x
4097
    result = getAllItemVouchers_result()
4098
    result.read(self._iprot)
4099
    self._iprot.readMessageEnd()
4100
    if result.success is not None:
4101
      return result.success
4102
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemVouchers failed: unknown result");
4103
 
4104
  def isValidCatalogItemId(self, catalog_item_id):
4105
    """
4106
    Parameters:
4107
     - catalog_item_id
4108
    """
4109
    self.send_isValidCatalogItemId(catalog_item_id)
4110
    return self.recv_isValidCatalogItemId()
4111
 
4112
  def send_isValidCatalogItemId(self, catalog_item_id):
4113
    self._oprot.writeMessageBegin('isValidCatalogItemId', TMessageType.CALL, self._seqid)
4114
    args = isValidCatalogItemId_args()
4115
    args.catalog_item_id = catalog_item_id
4116
    args.write(self._oprot)
4117
    self._oprot.writeMessageEnd()
4118
    self._oprot.trans.flush()
4119
 
4120
  def recv_isValidCatalogItemId(self, ):
4121
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4122
    if mtype == TMessageType.EXCEPTION:
4123
      x = TApplicationException()
4124
      x.read(self._iprot)
4125
      self._iprot.readMessageEnd()
4126
      raise x
4127
    result = isValidCatalogItemId_result()
4128
    result.read(self._iprot)
4129
    self._iprot.readMessageEnd()
4130
    if result.success is not None:
4131
      return result.success
4132
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isValidCatalogItemId failed: unknown result");
4133
 
7330 amit.gupta 4134
  def getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 4135
    """
4136
    Parameters:
4137
     - itemId
7330 amit.gupta 4138
     - stateId
6039 amit.gupta 4139
     - price
4140
    """
7330 amit.gupta 4141
    self.send_getVatPercentageForItem(itemId, stateId, price)
6039 amit.gupta 4142
    return self.recv_getVatPercentageForItem()
5944 mandeep.dh 4143
 
7330 amit.gupta 4144
  def send_getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 4145
    self._oprot.writeMessageBegin('getVatPercentageForItem', TMessageType.CALL, self._seqid)
4146
    args = getVatPercentageForItem_args()
4147
    args.itemId = itemId
7330 amit.gupta 4148
    args.stateId = stateId
6039 amit.gupta 4149
    args.price = price
4150
    args.write(self._oprot)
4151
    self._oprot.writeMessageEnd()
4152
    self._oprot.trans.flush()
4153
 
4154
  def recv_getVatPercentageForItem(self, ):
4155
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4156
    if mtype == TMessageType.EXCEPTION:
4157
      x = TApplicationException()
4158
      x.read(self._iprot)
4159
      self._iprot.readMessageEnd()
4160
      raise x
4161
    result = getVatPercentageForItem_result()
4162
    result.read(self._iprot)
4163
    self._iprot.readMessageEnd()
4164
    if result.success is not None:
4165
      return result.success
7340 amit.gupta 4166
    if result.cex is not None:
4167
      raise result.cex
6039 amit.gupta 4168
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatPercentageForItem failed: unknown result");
4169
 
4170
  def getVatAmountForItem(self, itemId, price):
4171
    """
4172
    Parameters:
4173
     - itemId
4174
     - price
4175
    """
4176
    self.send_getVatAmountForItem(itemId, price)
4177
    return self.recv_getVatAmountForItem()
4178
 
4179
  def send_getVatAmountForItem(self, itemId, price):
4180
    self._oprot.writeMessageBegin('getVatAmountForItem', TMessageType.CALL, self._seqid)
4181
    args = getVatAmountForItem_args()
4182
    args.itemId = itemId
4183
    args.price = price
4184
    args.write(self._oprot)
4185
    self._oprot.writeMessageEnd()
4186
    self._oprot.trans.flush()
4187
 
4188
  def recv_getVatAmountForItem(self, ):
4189
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4190
    if mtype == TMessageType.EXCEPTION:
4191
      x = TApplicationException()
4192
      x.read(self._iprot)
4193
      self._iprot.readMessageEnd()
4194
      raise x
4195
    result = getVatAmountForItem_result()
4196
    result.read(self._iprot)
4197
    self._iprot.readMessageEnd()
4198
    if result.success is not None:
4199
      return result.success
4200
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatAmountForItem failed: unknown result");
4201
 
6531 vikram.rag 4202
  def getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4203
    """
4204
    Parameters:
4205
     - offset
4206
     - limit
4207
    """
4208
    self.send_getAllIgnoredInventoryUpdateItemsList(offset, limit)
4209
    return self.recv_getAllIgnoredInventoryUpdateItemsList()
6039 amit.gupta 4210
 
6531 vikram.rag 4211
  def send_getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4212
    self._oprot.writeMessageBegin('getAllIgnoredInventoryUpdateItemsList', TMessageType.CALL, self._seqid)
4213
    args = getAllIgnoredInventoryUpdateItemsList_args()
4214
    args.offset = offset
4215
    args.limit = limit
4216
    args.write(self._oprot)
4217
    self._oprot.writeMessageEnd()
4218
    self._oprot.trans.flush()
4219
 
4220
  def recv_getAllIgnoredInventoryUpdateItemsList(self, ):
4221
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4222
    if mtype == TMessageType.EXCEPTION:
4223
      x = TApplicationException()
4224
      x.read(self._iprot)
4225
      self._iprot.readMessageEnd()
4226
      raise x
4227
    result = getAllIgnoredInventoryUpdateItemsList_result()
4228
    result.read(self._iprot)
4229
    self._iprot.readMessageEnd()
4230
    if result.success is not None:
4231
      return result.success
4232
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllIgnoredInventoryUpdateItemsList failed: unknown result");
4233
 
6821 amar.kumar 4234
  def getAllAliveItems(self, ):
4235
    self.send_getAllAliveItems()
4236
    return self.recv_getAllAliveItems()
4237
 
4238
  def send_getAllAliveItems(self, ):
4239
    self._oprot.writeMessageBegin('getAllAliveItems', TMessageType.CALL, self._seqid)
4240
    args = getAllAliveItems_args()
4241
    args.write(self._oprot)
4242
    self._oprot.writeMessageEnd()
4243
    self._oprot.trans.flush()
4244
 
4245
  def recv_getAllAliveItems(self, ):
4246
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4247
    if mtype == TMessageType.EXCEPTION:
4248
      x = TApplicationException()
4249
      x.read(self._iprot)
4250
      self._iprot.readMessageEnd()
4251
      raise x
4252
    result = getAllAliveItems_result()
4253
    result.read(self._iprot)
4254
    self._iprot.readMessageEnd()
4255
    if result.success is not None:
4256
      return result.success
4257
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAliveItems failed: unknown result");
4258
 
6921 anupam.sin 4259
  def getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4260
    """
4261
    This method returns the insurance amount needed to insure the given item for a given quantity.
6531 vikram.rag 4262
 
6805 anupam.sin 4263
    Parameters:
4264
     - itemId
6921 anupam.sin 4265
     - price
6805 anupam.sin 4266
     - insurerId
4267
     - quantity
4268
    """
6921 anupam.sin 4269
    self.send_getInsuranceAmount(itemId, price, insurerId, quantity)
6805 anupam.sin 4270
    return self.recv_getInsuranceAmount()
4271
 
6921 anupam.sin 4272
  def send_getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4273
    self._oprot.writeMessageBegin('getInsuranceAmount', TMessageType.CALL, self._seqid)
4274
    args = getInsuranceAmount_args()
4275
    args.itemId = itemId
6921 anupam.sin 4276
    args.price = price
6805 anupam.sin 4277
    args.insurerId = insurerId
4278
    args.quantity = quantity
4279
    args.write(self._oprot)
4280
    self._oprot.writeMessageEnd()
4281
    self._oprot.trans.flush()
4282
 
4283
  def recv_getInsuranceAmount(self, ):
4284
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4285
    if mtype == TMessageType.EXCEPTION:
4286
      x = TApplicationException()
4287
      x.read(self._iprot)
4288
      self._iprot.readMessageEnd()
4289
      raise x
4290
    result = getInsuranceAmount_result()
4291
    result.read(self._iprot)
4292
    self._iprot.readMessageEnd()
4293
    if result.success is not None:
4294
      return result.success
4295
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsuranceAmount failed: unknown result");
4296
 
4297
  def getInsurer(self, insurerId):
4298
    """
4299
    Parameters:
4300
     - insurerId
4301
    """
4302
    self.send_getInsurer(insurerId)
4303
    return self.recv_getInsurer()
4304
 
4305
  def send_getInsurer(self, insurerId):
4306
    self._oprot.writeMessageBegin('getInsurer', TMessageType.CALL, self._seqid)
4307
    args = getInsurer_args()
4308
    args.insurerId = insurerId
4309
    args.write(self._oprot)
4310
    self._oprot.writeMessageEnd()
4311
    self._oprot.trans.flush()
4312
 
4313
  def recv_getInsurer(self, ):
4314
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4315
    if mtype == TMessageType.EXCEPTION:
4316
      x = TApplicationException()
4317
      x.read(self._iprot)
4318
      self._iprot.readMessageEnd()
4319
      raise x
4320
    result = getInsurer_result()
4321
    result.read(self._iprot)
4322
    self._iprot.readMessageEnd()
4323
    if result.success is not None:
4324
      return result.success
4325
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsurer failed: unknown result");
4326
 
6838 vikram.rag 4327
  def getAllInsurers(self, ):
4328
    self.send_getAllInsurers()
4329
    return self.recv_getAllInsurers()
6805 anupam.sin 4330
 
6838 vikram.rag 4331
  def send_getAllInsurers(self, ):
4332
    self._oprot.writeMessageBegin('getAllInsurers', TMessageType.CALL, self._seqid)
4333
    args = getAllInsurers_args()
4334
    args.write(self._oprot)
4335
    self._oprot.writeMessageEnd()
4336
    self._oprot.trans.flush()
4337
 
4338
  def recv_getAllInsurers(self, ):
4339
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4340
    if mtype == TMessageType.EXCEPTION:
4341
      x = TApplicationException()
4342
      x.read(self._iprot)
4343
      self._iprot.readMessageEnd()
4344
      raise x
4345
    result = getAllInsurers_result()
4346
    result.read(self._iprot)
4347
    self._iprot.readMessageEnd()
4348
    if result.success is not None:
4349
      return result.success
4350
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllInsurers failed: unknown result");
4351
 
6962 rajveer 4352
  def updateInsuranceDeclaredAmount(self, insurerId, amount):
4353
    """
4354
    Parameters:
4355
     - insurerId
4356
     - amount
4357
    """
4358
    self.send_updateInsuranceDeclaredAmount(insurerId, amount)
4359
    self.recv_updateInsuranceDeclaredAmount()
6838 vikram.rag 4360
 
6962 rajveer 4361
  def send_updateInsuranceDeclaredAmount(self, insurerId, amount):
4362
    self._oprot.writeMessageBegin('updateInsuranceDeclaredAmount', TMessageType.CALL, self._seqid)
4363
    args = updateInsuranceDeclaredAmount_args()
4364
    args.insurerId = insurerId
4365
    args.amount = amount
4366
    args.write(self._oprot)
4367
    self._oprot.writeMessageEnd()
4368
    self._oprot.trans.flush()
4369
 
4370
  def recv_updateInsuranceDeclaredAmount(self, ):
4371
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4372
    if mtype == TMessageType.EXCEPTION:
4373
      x = TApplicationException()
4374
      x.read(self._iprot)
4375
      self._iprot.readMessageEnd()
4376
      raise x
4377
    result = updateInsuranceDeclaredAmount_result()
4378
    result.read(self._iprot)
4379
    self._iprot.readMessageEnd()
4380
    return
4381
 
7190 amar.kumar 4382
  def getFreebieForItem(self, itemId):
4383
    """
4384
    Parameters:
4385
     - itemId
4386
    """
4387
    self.send_getFreebieForItem(itemId)
4388
    return self.recv_getFreebieForItem()
6962 rajveer 4389
 
7190 amar.kumar 4390
  def send_getFreebieForItem(self, itemId):
4391
    self._oprot.writeMessageBegin('getFreebieForItem', TMessageType.CALL, self._seqid)
4392
    args = getFreebieForItem_args()
4393
    args.itemId = itemId
4394
    args.write(self._oprot)
4395
    self._oprot.writeMessageEnd()
4396
    self._oprot.trans.flush()
4397
 
4398
  def recv_getFreebieForItem(self, ):
4399
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4400
    if mtype == TMessageType.EXCEPTION:
4401
      x = TApplicationException()
4402
      x.read(self._iprot)
4403
      self._iprot.readMessageEnd()
4404
      raise x
4405
    result = getFreebieForItem_result()
4406
    result.read(self._iprot)
4407
    self._iprot.readMessageEnd()
4408
    if result.success is not None:
4409
      return result.success
4410
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFreebieForItem failed: unknown result");
4411
 
4412
  def addOrUpdateFreebieForItem(self, freebieItem):
4413
    """
4414
    Parameters:
4415
     - freebieItem
4416
    """
4417
    self.send_addOrUpdateFreebieForItem(freebieItem)
4418
    self.recv_addOrUpdateFreebieForItem()
4419
 
4420
  def send_addOrUpdateFreebieForItem(self, freebieItem):
4421
    self._oprot.writeMessageBegin('addOrUpdateFreebieForItem', TMessageType.CALL, self._seqid)
4422
    args = addOrUpdateFreebieForItem_args()
4423
    args.freebieItem = freebieItem
4424
    args.write(self._oprot)
4425
    self._oprot.writeMessageEnd()
4426
    self._oprot.trans.flush()
4427
 
4428
  def recv_addOrUpdateFreebieForItem(self, ):
4429
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4430
    if mtype == TMessageType.EXCEPTION:
4431
      x = TApplicationException()
4432
      x.read(self._iprot)
4433
      self._iprot.readMessageEnd()
4434
      raise x
4435
    result = addOrUpdateFreebieForItem_result()
4436
    result.read(self._iprot)
4437
    self._iprot.readMessageEnd()
4438
    return
4439
 
7272 amit.gupta 4440
  def addOrUpdateBrandInfo(self, brandInfo):
4441
    """
4442
    Parameters:
4443
     - brandInfo
4444
    """
4445
    self.send_addOrUpdateBrandInfo(brandInfo)
4446
    self.recv_addOrUpdateBrandInfo()
4447
 
4448
  def send_addOrUpdateBrandInfo(self, brandInfo):
4449
    self._oprot.writeMessageBegin('addOrUpdateBrandInfo', TMessageType.CALL, self._seqid)
4450
    args = addOrUpdateBrandInfo_args()
4451
    args.brandInfo = brandInfo
4452
    args.write(self._oprot)
4453
    self._oprot.writeMessageEnd()
4454
    self._oprot.trans.flush()
4455
 
4456
  def recv_addOrUpdateBrandInfo(self, ):
4457
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4458
    if mtype == TMessageType.EXCEPTION:
4459
      x = TApplicationException()
4460
      x.read(self._iprot)
4461
      self._iprot.readMessageEnd()
4462
      raise x
4463
    result = addOrUpdateBrandInfo_result()
4464
    result.read(self._iprot)
4465
    self._iprot.readMessageEnd()
4466
    return
4467
 
4468
  def getBrandInfo(self, ):
4469
    self.send_getBrandInfo()
4470
    return self.recv_getBrandInfo()
4471
 
4472
  def send_getBrandInfo(self, ):
4473
    self._oprot.writeMessageBegin('getBrandInfo', TMessageType.CALL, self._seqid)
4474
    args = getBrandInfo_args()
4475
    args.write(self._oprot)
4476
    self._oprot.writeMessageEnd()
4477
    self._oprot.trans.flush()
4478
 
4479
  def recv_getBrandInfo(self, ):
4480
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4481
    if mtype == TMessageType.EXCEPTION:
4482
      x = TApplicationException()
4483
      x.read(self._iprot)
4484
      self._iprot.readMessageEnd()
4485
      raise x
4486
    result = getBrandInfo_result()
4487
    result.read(self._iprot)
4488
    self._iprot.readMessageEnd()
4489
    if result.success is not None:
4490
      return result.success
4491
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBrandInfo failed: unknown result");
4492
 
7256 rajveer 4493
  def getStorePricing(self, itemId):
4494
    """
4495
    Parameters:
4496
     - itemId
4497
    """
4498
    self.send_getStorePricing(itemId)
4499
    return self.recv_getStorePricing()
7190 amar.kumar 4500
 
7256 rajveer 4501
  def send_getStorePricing(self, itemId):
4502
    self._oprot.writeMessageBegin('getStorePricing', TMessageType.CALL, self._seqid)
4503
    args = getStorePricing_args()
4504
    args.itemId = itemId
4505
    args.write(self._oprot)
4506
    self._oprot.writeMessageEnd()
4507
    self._oprot.trans.flush()
4508
 
4509
  def recv_getStorePricing(self, ):
4510
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4511
    if mtype == TMessageType.EXCEPTION:
4512
      x = TApplicationException()
4513
      x.read(self._iprot)
4514
      self._iprot.readMessageEnd()
4515
      raise x
4516
    result = getStorePricing_result()
4517
    result.read(self._iprot)
4518
    self._iprot.readMessageEnd()
4519
    if result.success is not None:
4520
      return result.success
4521
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricing failed: unknown result");
4522
 
7306 rajveer 4523
  def getStorePricings(self, itemIds):
4524
    """
4525
    Parameters:
4526
     - itemIds
4527
    """
4528
    self.send_getStorePricings(itemIds)
4529
    return self.recv_getStorePricings()
4530
 
4531
  def send_getStorePricings(self, itemIds):
4532
    self._oprot.writeMessageBegin('getStorePricings', TMessageType.CALL, self._seqid)
4533
    args = getStorePricings_args()
4534
    args.itemIds = itemIds
4535
    args.write(self._oprot)
4536
    self._oprot.writeMessageEnd()
4537
    self._oprot.trans.flush()
4538
 
4539
  def recv_getStorePricings(self, ):
4540
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4541
    if mtype == TMessageType.EXCEPTION:
4542
      x = TApplicationException()
4543
      x.read(self._iprot)
4544
      self._iprot.readMessageEnd()
4545
      raise x
4546
    result = getStorePricings_result()
4547
    result.read(self._iprot)
4548
    self._iprot.readMessageEnd()
4549
    if result.success is not None:
4550
      return result.success
4551
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricings failed: unknown result");
4552
 
7382 rajveer 4553
  def updateStorePricing(self, sp, allColors):
7265 rajveer 4554
    """
4555
    Parameters:
4556
     - sp
7382 rajveer 4557
     - allColors
7265 rajveer 4558
    """
7382 rajveer 4559
    self.send_updateStorePricing(sp, allColors)
7265 rajveer 4560
    self.recv_updateStorePricing()
7256 rajveer 4561
 
7382 rajveer 4562
  def send_updateStorePricing(self, sp, allColors):
7265 rajveer 4563
    self._oprot.writeMessageBegin('updateStorePricing', TMessageType.CALL, self._seqid)
4564
    args = updateStorePricing_args()
4565
    args.sp = sp
7382 rajveer 4566
    args.allColors = allColors
7265 rajveer 4567
    args.write(self._oprot)
4568
    self._oprot.writeMessageEnd()
4569
    self._oprot.trans.flush()
4570
 
4571
  def recv_updateStorePricing(self, ):
4572
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4573
    if mtype == TMessageType.EXCEPTION:
4574
      x = TApplicationException()
4575
      x.read(self._iprot)
4576
      self._iprot.readMessageEnd()
4577
      raise x
4578
    result = updateStorePricing_result()
4579
    result.read(self._iprot)
4580
    self._iprot.readMessageEnd()
4581
    return
4582
 
7281 kshitij.so 4583
  def getAllAmazonListedItems(self, ):
4584
    self.send_getAllAmazonListedItems()
4585
    return self.recv_getAllAmazonListedItems()
7265 rajveer 4586
 
7281 kshitij.so 4587
  def send_getAllAmazonListedItems(self, ):
4588
    self._oprot.writeMessageBegin('getAllAmazonListedItems', TMessageType.CALL, self._seqid)
4589
    args = getAllAmazonListedItems_args()
4590
    args.write(self._oprot)
4591
    self._oprot.writeMessageEnd()
4592
    self._oprot.trans.flush()
4593
 
4594
  def recv_getAllAmazonListedItems(self, ):
4595
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4596
    if mtype == TMessageType.EXCEPTION:
4597
      x = TApplicationException()
4598
      x.read(self._iprot)
4599
      self._iprot.readMessageEnd()
4600
      raise x
4601
    result = getAllAmazonListedItems_result()
4602
    result.read(self._iprot)
4603
    self._iprot.readMessageEnd()
4604
    if result.success is not None:
4605
      return result.success
4606
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAmazonListedItems failed: unknown result");
4607
 
8619 kshitij.so 4608
  def searchAmazonItems(self, searchTerm, offset, limit):
4609
    """
4610
    Parameters:
4611
     - searchTerm
4612
     - offset
4613
     - limit
4614
    """
4615
    self.send_searchAmazonItems(searchTerm, offset, limit)
4616
    return self.recv_searchAmazonItems()
4617
 
4618
  def send_searchAmazonItems(self, searchTerm, offset, limit):
4619
    self._oprot.writeMessageBegin('searchAmazonItems', TMessageType.CALL, self._seqid)
4620
    args = searchAmazonItems_args()
4621
    args.searchTerm = searchTerm
4622
    args.offset = offset
4623
    args.limit = limit
4624
    args.write(self._oprot)
4625
    self._oprot.writeMessageEnd()
4626
    self._oprot.trans.flush()
4627
 
4628
  def recv_searchAmazonItems(self, ):
4629
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4630
    if mtype == TMessageType.EXCEPTION:
4631
      x = TApplicationException()
4632
      x.read(self._iprot)
4633
      self._iprot.readMessageEnd()
4634
      raise x
4635
    result = searchAmazonItems_result()
4636
    result.read(self._iprot)
4637
    self._iprot.readMessageEnd()
4638
    if result.success is not None:
4639
      return result.success
4640
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchAmazonItems failed: unknown result");
4641
 
4642
  def getAmazonSearchResultCount(self, searchTerm):
4643
    """
4644
    Parameters:
4645
     - searchTerm
4646
    """
4647
    self.send_getAmazonSearchResultCount(searchTerm)
4648
    return self.recv_getAmazonSearchResultCount()
4649
 
4650
  def send_getAmazonSearchResultCount(self, searchTerm):
4651
    self._oprot.writeMessageBegin('getAmazonSearchResultCount', TMessageType.CALL, self._seqid)
4652
    args = getAmazonSearchResultCount_args()
4653
    args.searchTerm = searchTerm
4654
    args.write(self._oprot)
4655
    self._oprot.writeMessageEnd()
4656
    self._oprot.trans.flush()
4657
 
4658
  def recv_getAmazonSearchResultCount(self, ):
4659
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4660
    if mtype == TMessageType.EXCEPTION:
4661
      x = TApplicationException()
4662
      x.read(self._iprot)
4663
      self._iprot.readMessageEnd()
4664
      raise x
4665
    result = getAmazonSearchResultCount_result()
4666
    result.read(self._iprot)
4667
    self._iprot.readMessageEnd()
4668
    if result.success is not None:
4669
      return result.success
4670
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonSearchResultCount failed: unknown result");
4671
 
4672
  def getCountForAmazonlistedItems(self, ):
4673
    self.send_getCountForAmazonlistedItems()
4674
    return self.recv_getCountForAmazonlistedItems()
4675
 
4676
  def send_getCountForAmazonlistedItems(self, ):
4677
    self._oprot.writeMessageBegin('getCountForAmazonlistedItems', TMessageType.CALL, self._seqid)
4678
    args = getCountForAmazonlistedItems_args()
4679
    args.write(self._oprot)
4680
    self._oprot.writeMessageEnd()
4681
    self._oprot.trans.flush()
4682
 
4683
  def recv_getCountForAmazonlistedItems(self, ):
4684
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4685
    if mtype == TMessageType.EXCEPTION:
4686
      x = TApplicationException()
4687
      x.read(self._iprot)
4688
      self._iprot.readMessageEnd()
4689
      raise x
4690
    result = getCountForAmazonlistedItems_result()
4691
    result.read(self._iprot)
4692
    self._iprot.readMessageEnd()
4693
    if result.success is not None:
4694
      return result.success
4695
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForAmazonlistedItems failed: unknown result");
4696
 
7281 kshitij.so 4697
  def getAmazonItemDetails(self, itemId):
4698
    """
4699
    Parameters:
4700
     - itemId
4701
    """
4702
    self.send_getAmazonItemDetails(itemId)
4703
    return self.recv_getAmazonItemDetails()
4704
 
4705
  def send_getAmazonItemDetails(self, itemId):
4706
    self._oprot.writeMessageBegin('getAmazonItemDetails', TMessageType.CALL, self._seqid)
4707
    args = getAmazonItemDetails_args()
4708
    args.itemId = itemId
4709
    args.write(self._oprot)
4710
    self._oprot.writeMessageEnd()
4711
    self._oprot.trans.flush()
4712
 
4713
  def recv_getAmazonItemDetails(self, ):
4714
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4715
    if mtype == TMessageType.EXCEPTION:
4716
      x = TApplicationException()
4717
      x.read(self._iprot)
4718
      self._iprot.readMessageEnd()
4719
      raise x
4720
    result = getAmazonItemDetails_result()
4721
    result.read(self._iprot)
4722
    self._iprot.readMessageEnd()
4723
    if result.success is not None:
4724
      return result.success
4725
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonItemDetails failed: unknown result");
4726
 
8168 kshitij.so 4727
  def updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4728
    """
4729
    Parameters:
8168 kshitij.so 4730
     - amazonlisted
7281 kshitij.so 4731
    """
8168 kshitij.so 4732
    self.send_updateAmazonItemDetails(amazonlisted)
7281 kshitij.so 4733
    self.recv_updateAmazonItemDetails()
4734
 
8168 kshitij.so 4735
  def send_updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4736
    self._oprot.writeMessageBegin('updateAmazonItemDetails', TMessageType.CALL, self._seqid)
4737
    args = updateAmazonItemDetails_args()
8168 kshitij.so 4738
    args.amazonlisted = amazonlisted
7281 kshitij.so 4739
    args.write(self._oprot)
4740
    self._oprot.writeMessageEnd()
4741
    self._oprot.trans.flush()
4742
 
4743
  def recv_updateAmazonItemDetails(self, ):
4744
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4745
    if mtype == TMessageType.EXCEPTION:
4746
      x = TApplicationException()
4747
      x.read(self._iprot)
4748
      self._iprot.readMessageEnd()
4749
      raise x
4750
    result = updateAmazonItemDetails_result()
4751
    result.read(self._iprot)
4752
    self._iprot.readMessageEnd()
4753
    return
4754
 
4755
  def addAmazonItem(self, amazonlisted):
4756
    """
4757
    Parameters:
4758
     - amazonlisted
4759
    """
4760
    self.send_addAmazonItem(amazonlisted)
4761
    self.recv_addAmazonItem()
4762
 
4763
  def send_addAmazonItem(self, amazonlisted):
4764
    self._oprot.writeMessageBegin('addAmazonItem', TMessageType.CALL, self._seqid)
4765
    args = addAmazonItem_args()
4766
    args.amazonlisted = amazonlisted
4767
    args.write(self._oprot)
4768
    self._oprot.writeMessageEnd()
4769
    self._oprot.trans.flush()
4770
 
4771
  def recv_addAmazonItem(self, ):
4772
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4773
    if mtype == TMessageType.EXCEPTION:
4774
      x = TApplicationException()
4775
      x.read(self._iprot)
4776
      self._iprot.readMessageEnd()
4777
      raise x
4778
    result = addAmazonItem_result()
4779
    result.read(self._iprot)
4780
    self._iprot.readMessageEnd()
4781
    return
4782
 
7291 vikram.rag 4783
  def getAsinItems(self, ):
4784
    self.send_getAsinItems()
4785
    return self.recv_getAsinItems()
7281 kshitij.so 4786
 
7291 vikram.rag 4787
  def send_getAsinItems(self, ):
4788
    self._oprot.writeMessageBegin('getAsinItems', TMessageType.CALL, self._seqid)
4789
    args = getAsinItems_args()
4790
    args.write(self._oprot)
4791
    self._oprot.writeMessageEnd()
4792
    self._oprot.trans.flush()
4793
 
4794
  def recv_getAsinItems(self, ):
4795
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4796
    if mtype == TMessageType.EXCEPTION:
4797
      x = TApplicationException()
4798
      x.read(self._iprot)
4799
      self._iprot.readMessageEnd()
4800
      raise x
4801
    result = getAsinItems_result()
4802
    result.read(self._iprot)
4803
    self._iprot.readMessageEnd()
4804
    if result.success is not None:
4805
      return result.success
4806
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAsinItems failed: unknown result");
4807
 
4808
  def getAllFbaListedItems(self, ):
4809
    self.send_getAllFbaListedItems()
4810
    return self.recv_getAllFbaListedItems()
4811
 
4812
  def send_getAllFbaListedItems(self, ):
4813
    self._oprot.writeMessageBegin('getAllFbaListedItems', TMessageType.CALL, self._seqid)
4814
    args = getAllFbaListedItems_args()
4815
    args.write(self._oprot)
4816
    self._oprot.writeMessageEnd()
4817
    self._oprot.trans.flush()
4818
 
4819
  def recv_getAllFbaListedItems(self, ):
4820
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4821
    if mtype == TMessageType.EXCEPTION:
4822
      x = TApplicationException()
4823
      x.read(self._iprot)
4824
      self._iprot.readMessageEnd()
4825
      raise x
4826
    result = getAllFbaListedItems_result()
4827
    result.read(self._iprot)
4828
    self._iprot.readMessageEnd()
4829
    if result.success is not None:
4830
      return result.success
4831
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbaListedItems failed: unknown result");
4832
 
4833
  def getAllNonFbaListedItems(self, ):
4834
    self.send_getAllNonFbaListedItems()
4835
    return self.recv_getAllNonFbaListedItems()
4836
 
4837
  def send_getAllNonFbaListedItems(self, ):
4838
    self._oprot.writeMessageBegin('getAllNonFbaListedItems', TMessageType.CALL, self._seqid)
4839
    args = getAllNonFbaListedItems_args()
4840
    args.write(self._oprot)
4841
    self._oprot.writeMessageEnd()
4842
    self._oprot.trans.flush()
4843
 
4844
  def recv_getAllNonFbaListedItems(self, ):
4845
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4846
    if mtype == TMessageType.EXCEPTION:
4847
      x = TApplicationException()
4848
      x.read(self._iprot)
4849
      self._iprot.readMessageEnd()
4850
      raise x
4851
    result = getAllNonFbaListedItems_result()
4852
    result.read(self._iprot)
4853
    self._iprot.readMessageEnd()
4854
    if result.success is not None:
4855
      return result.success
4856
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllNonFbaListedItems failed: unknown result");
4857
 
7460 kshitij.so 4858
  def updateItemInventory(self, itemId, holdInventory, defaultInventory):
4859
    """
4860
    Parameters:
4861
     - itemId
4862
     - holdInventory
4863
     - defaultInventory
4864
    """
4865
    self.send_updateItemInventory(itemId, holdInventory, defaultInventory)
4866
    return self.recv_updateItemInventory()
7291 vikram.rag 4867
 
7460 kshitij.so 4868
  def send_updateItemInventory(self, itemId, holdInventory, defaultInventory):
4869
    self._oprot.writeMessageBegin('updateItemInventory', TMessageType.CALL, self._seqid)
4870
    args = updateItemInventory_args()
4871
    args.itemId = itemId
4872
    args.holdInventory = holdInventory
4873
    args.defaultInventory = defaultInventory
4874
    args.write(self._oprot)
4875
    self._oprot.writeMessageEnd()
4876
    self._oprot.trans.flush()
4877
 
4878
  def recv_updateItemInventory(self, ):
4879
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4880
    if mtype == TMessageType.EXCEPTION:
4881
      x = TApplicationException()
4882
      x.read(self._iprot)
4883
      self._iprot.readMessageEnd()
4884
      raise x
4885
    result = updateItemInventory_result()
4886
    result.read(self._iprot)
4887
    self._iprot.readMessageEnd()
4888
    if result.success is not None:
4889
      return result.success
4890
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemInventory failed: unknown result");
4891
 
7770 kshitij.so 4892
  def updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4893
    """
4894
    Parameters:
4895
     - type
4896
     - sku
4897
     - timestamp
4898
    """
4899
    self.send_updateTimestampForAmazonFeeds(type, sku, timestamp)
4900
    return self.recv_updateTimestampForAmazonFeeds()
7460 kshitij.so 4901
 
7770 kshitij.so 4902
  def send_updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4903
    self._oprot.writeMessageBegin('updateTimestampForAmazonFeeds', TMessageType.CALL, self._seqid)
4904
    args = updateTimestampForAmazonFeeds_args()
4905
    args.type = type
4906
    args.sku = sku
4907
    args.timestamp = timestamp
4908
    args.write(self._oprot)
4909
    self._oprot.writeMessageEnd()
4910
    self._oprot.trans.flush()
4911
 
4912
  def recv_updateTimestampForAmazonFeeds(self, ):
4913
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4914
    if mtype == TMessageType.EXCEPTION:
4915
      x = TApplicationException()
4916
      x.read(self._iprot)
4917
      self._iprot.readMessageEnd()
4918
      raise x
4919
    result = updateTimestampForAmazonFeeds_result()
4920
    result.read(self._iprot)
4921
    self._iprot.readMessageEnd()
4922
    if result.success is not None:
4923
      return result.success
4924
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateTimestampForAmazonFeeds failed: unknown result");
4925
 
7897 amar.kumar 4926
  def getAllParentCategories(self, ):
4927
    self.send_getAllParentCategories()
4928
    return self.recv_getAllParentCategories()
7770 kshitij.so 4929
 
7897 amar.kumar 4930
  def send_getAllParentCategories(self, ):
4931
    self._oprot.writeMessageBegin('getAllParentCategories', TMessageType.CALL, self._seqid)
4932
    args = getAllParentCategories_args()
4933
    args.write(self._oprot)
4934
    self._oprot.writeMessageEnd()
4935
    self._oprot.trans.flush()
4936
 
4937
  def recv_getAllParentCategories(self, ):
4938
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4939
    if mtype == TMessageType.EXCEPTION:
4940
      x = TApplicationException()
4941
      x.read(self._iprot)
4942
      self._iprot.readMessageEnd()
4943
      raise x
4944
    result = getAllParentCategories_result()
4945
    result.read(self._iprot)
4946
    self._iprot.readMessageEnd()
4947
    if result.success is not None:
4948
      return result.success
4949
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllParentCategories failed: unknown result");
4950
 
7977 kshitij.so 4951
  def addPageViewEvent(self, pageViewEvents):
4952
    """
4953
    Parameters:
4954
     - pageViewEvents
4955
    """
4956
    self.send_addPageViewEvent(pageViewEvents)
4957
    self.recv_addPageViewEvent()
7897 amar.kumar 4958
 
7977 kshitij.so 4959
  def send_addPageViewEvent(self, pageViewEvents):
4960
    self._oprot.writeMessageBegin('addPageViewEvent', TMessageType.CALL, self._seqid)
4961
    args = addPageViewEvent_args()
4962
    args.pageViewEvents = pageViewEvents
4963
    args.write(self._oprot)
4964
    self._oprot.writeMessageEnd()
4965
    self._oprot.trans.flush()
4966
 
4967
  def recv_addPageViewEvent(self, ):
4968
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4969
    if mtype == TMessageType.EXCEPTION:
4970
      x = TApplicationException()
4971
      x.read(self._iprot)
4972
      self._iprot.readMessageEnd()
4973
      raise x
4974
    result = addPageViewEvent_result()
4975
    result.read(self._iprot)
4976
    self._iprot.readMessageEnd()
4977
    return
4978
 
4979
  def addCartEvent(self, cartEvents):
4980
    """
4981
    Parameters:
4982
     - cartEvents
4983
    """
4984
    self.send_addCartEvent(cartEvents)
4985
    self.recv_addCartEvent()
4986
 
4987
  def send_addCartEvent(self, cartEvents):
4988
    self._oprot.writeMessageBegin('addCartEvent', TMessageType.CALL, self._seqid)
4989
    args = addCartEvent_args()
4990
    args.cartEvents = cartEvents
4991
    args.write(self._oprot)
4992
    self._oprot.writeMessageEnd()
4993
    self._oprot.trans.flush()
4994
 
4995
  def recv_addCartEvent(self, ):
4996
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4997
    if mtype == TMessageType.EXCEPTION:
4998
      x = TApplicationException()
4999
      x.read(self._iprot)
5000
      self._iprot.readMessageEnd()
5001
      raise x
5002
    result = addCartEvent_result()
5003
    result.read(self._iprot)
5004
    self._iprot.readMessageEnd()
5005
    return
5006
 
8182 amar.kumar 5007
  def addEbayItem(self, ebayItem):
5008
    """
5009
    Parameters:
5010
     - ebayItem
5011
    """
5012
    self.send_addEbayItem(ebayItem)
5013
    self.recv_addEbayItem()
5014
 
5015
  def send_addEbayItem(self, ebayItem):
5016
    self._oprot.writeMessageBegin('addEbayItem', TMessageType.CALL, self._seqid)
5017
    args = addEbayItem_args()
5018
    args.ebayItem = ebayItem
5019
    args.write(self._oprot)
5020
    self._oprot.writeMessageEnd()
5021
    self._oprot.trans.flush()
5022
 
5023
  def recv_addEbayItem(self, ):
5024
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5025
    if mtype == TMessageType.EXCEPTION:
5026
      x = TApplicationException()
5027
      x.read(self._iprot)
5028
      self._iprot.readMessageEnd()
5029
      raise x
5030
    result = addEbayItem_result()
5031
    result.read(self._iprot)
5032
    self._iprot.readMessageEnd()
5033
    return
5034
 
5035
  def getEbayItem(self, listingId):
5036
    """
5037
    Parameters:
5038
     - listingId
5039
    """
5040
    self.send_getEbayItem(listingId)
5041
    return self.recv_getEbayItem()
5042
 
5043
  def send_getEbayItem(self, listingId):
5044
    self._oprot.writeMessageBegin('getEbayItem', TMessageType.CALL, self._seqid)
5045
    args = getEbayItem_args()
5046
    args.listingId = listingId
5047
    args.write(self._oprot)
5048
    self._oprot.writeMessageEnd()
5049
    self._oprot.trans.flush()
5050
 
5051
  def recv_getEbayItem(self, ):
5052
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5053
    if mtype == TMessageType.EXCEPTION:
5054
      x = TApplicationException()
5055
      x.read(self._iprot)
5056
      self._iprot.readMessageEnd()
5057
      raise x
5058
    result = getEbayItem_result()
5059
    result.read(self._iprot)
5060
    self._iprot.readMessageEnd()
5061
    if result.success is not None:
5062
      return result.success
5063
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEbayItem failed: unknown result");
5064
 
5065
  def updateEbayItem(self, ebayItem):
5066
    """
5067
    Parameters:
5068
     - ebayItem
5069
    """
5070
    self.send_updateEbayItem(ebayItem)
5071
    self.recv_updateEbayItem()
5072
 
5073
  def send_updateEbayItem(self, ebayItem):
5074
    self._oprot.writeMessageBegin('updateEbayItem', TMessageType.CALL, self._seqid)
5075
    args = updateEbayItem_args()
5076
    args.ebayItem = ebayItem
5077
    args.write(self._oprot)
5078
    self._oprot.writeMessageEnd()
5079
    self._oprot.trans.flush()
5080
 
5081
  def recv_updateEbayItem(self, ):
5082
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5083
    if mtype == TMessageType.EXCEPTION:
5084
      x = TApplicationException()
5085
      x.read(self._iprot)
5086
      self._iprot.readMessageEnd()
5087
      raise x
5088
    result = updateEbayItem_result()
5089
    result.read(self._iprot)
5090
    self._iprot.readMessageEnd()
5091
    return
5092
 
8139 kshitij.so 5093
  def getAmazonListedItems(self, offset, limit):
5094
    """
5095
    Parameters:
5096
     - offset
5097
     - limit
5098
    """
5099
    self.send_getAmazonListedItems(offset, limit)
5100
    return self.recv_getAmazonListedItems()
7977 kshitij.so 5101
 
8139 kshitij.so 5102
  def send_getAmazonListedItems(self, offset, limit):
5103
    self._oprot.writeMessageBegin('getAmazonListedItems', TMessageType.CALL, self._seqid)
5104
    args = getAmazonListedItems_args()
5105
    args.offset = offset
5106
    args.limit = limit
5107
    args.write(self._oprot)
5108
    self._oprot.writeMessageEnd()
5109
    self._oprot.trans.flush()
5110
 
5111
  def recv_getAmazonListedItems(self, ):
5112
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5113
    if mtype == TMessageType.EXCEPTION:
5114
      x = TApplicationException()
5115
      x.read(self._iprot)
5116
      self._iprot.readMessageEnd()
5117
      raise x
5118
    result = getAmazonListedItems_result()
5119
    result.read(self._iprot)
5120
    self._iprot.readMessageEnd()
5121
    if result.success is not None:
5122
      return result.success
5123
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonListedItems failed: unknown result");
5124
 
8168 kshitij.so 5125
  def updateAmazonAttributesInBulk(self, amazonlisted):
5126
    """
5127
    Parameters:
5128
     - amazonlisted
5129
    """
5130
    self.send_updateAmazonAttributesInBulk(amazonlisted)
5131
    return self.recv_updateAmazonAttributesInBulk()
8139 kshitij.so 5132
 
8168 kshitij.so 5133
  def send_updateAmazonAttributesInBulk(self, amazonlisted):
5134
    self._oprot.writeMessageBegin('updateAmazonAttributesInBulk', TMessageType.CALL, self._seqid)
5135
    args = updateAmazonAttributesInBulk_args()
5136
    args.amazonlisted = amazonlisted
5137
    args.write(self._oprot)
5138
    self._oprot.writeMessageEnd()
5139
    self._oprot.trans.flush()
5140
 
5141
  def recv_updateAmazonAttributesInBulk(self, ):
5142
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5143
    if mtype == TMessageType.EXCEPTION:
5144
      x = TApplicationException()
5145
      x.read(self._iprot)
5146
      self._iprot.readMessageEnd()
5147
      raise x
5148
    result = updateAmazonAttributesInBulk_result()
5149
    result.read(self._iprot)
5150
    self._iprot.readMessageEnd()
5151
    if result.success is not None:
5152
      return result.success
5153
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonAttributesInBulk failed: unknown result");
5154
 
8379 vikram.rag 5155
  def getAllItemstoListOnFba(self, ):
5156
    self.send_getAllItemstoListOnFba()
5157
    return self.recv_getAllItemstoListOnFba()
8168 kshitij.so 5158
 
8379 vikram.rag 5159
  def send_getAllItemstoListOnFba(self, ):
5160
    self._oprot.writeMessageBegin('getAllItemstoListOnFba', TMessageType.CALL, self._seqid)
5161
    args = getAllItemstoListOnFba_args()
5162
    args.write(self._oprot)
5163
    self._oprot.writeMessageEnd()
5164
    self._oprot.trans.flush()
5165
 
5166
  def recv_getAllItemstoListOnFba(self, ):
5167
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5168
    if mtype == TMessageType.EXCEPTION:
5169
      x = TApplicationException()
5170
      x.read(self._iprot)
5171
      self._iprot.readMessageEnd()
5172
      raise x
5173
    result = getAllItemstoListOnFba_result()
5174
    result.read(self._iprot)
5175
    self._iprot.readMessageEnd()
5176
    if result.success is not None:
5177
      return result.success
5178
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFba failed: unknown result");
5179
 
5180
  def getAllItemstoListOnNonFba(self, ):
5181
    self.send_getAllItemstoListOnNonFba()
5182
    return self.recv_getAllItemstoListOnNonFba()
5183
 
5184
  def send_getAllItemstoListOnNonFba(self, ):
5185
    self._oprot.writeMessageBegin('getAllItemstoListOnNonFba', TMessageType.CALL, self._seqid)
5186
    args = getAllItemstoListOnNonFba_args()
5187
    args.write(self._oprot)
5188
    self._oprot.writeMessageEnd()
5189
    self._oprot.trans.flush()
5190
 
5191
  def recv_getAllItemstoListOnNonFba(self, ):
5192
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5193
    if mtype == TMessageType.EXCEPTION:
5194
      x = TApplicationException()
5195
      x.read(self._iprot)
5196
      self._iprot.readMessageEnd()
5197
      raise x
5198
    result = getAllItemstoListOnNonFba_result()
5199
    result.read(self._iprot)
5200
    self._iprot.readMessageEnd()
5201
    if result.success is not None:
5202
      return result.success
5203
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnNonFba failed: unknown result");
5204
 
8619 kshitij.so 5205
  def updateAsin(self, item):
5206
    """
5207
    Parameters:
5208
     - item
5209
    """
5210
    self.send_updateAsin(item)
5211
    self.recv_updateAsin()
8616 vikram.rag 5212
 
8619 kshitij.so 5213
  def send_updateAsin(self, item):
5214
    self._oprot.writeMessageBegin('updateAsin', TMessageType.CALL, self._seqid)
5215
    args = updateAsin_args()
5216
    args.item = item
5217
    args.write(self._oprot)
5218
    self._oprot.writeMessageEnd()
5219
    self._oprot.trans.flush()
5220
 
5221
  def recv_updateAsin(self, ):
5222
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5223
    if mtype == TMessageType.EXCEPTION:
5224
      x = TApplicationException()
5225
      x.read(self._iprot)
5226
      self._iprot.readMessageEnd()
5227
      raise x
5228
    result = updateAsin_result()
5229
    result.read(self._iprot)
5230
    self._iprot.readMessageEnd()
5231
    return
5232
 
8739 vikram.rag 5233
  def addOrUpdateSnapdealItem(self, snapdealitem):
5234
    """
5235
    Parameters:
5236
     - snapdealitem
5237
    """
5238
    self.send_addOrUpdateSnapdealItem(snapdealitem)
5239
    return self.recv_addOrUpdateSnapdealItem()
8619 kshitij.so 5240
 
8739 vikram.rag 5241
  def send_addOrUpdateSnapdealItem(self, snapdealitem):
5242
    self._oprot.writeMessageBegin('addOrUpdateSnapdealItem', TMessageType.CALL, self._seqid)
5243
    args = addOrUpdateSnapdealItem_args()
5244
    args.snapdealitem = snapdealitem
5245
    args.write(self._oprot)
5246
    self._oprot.writeMessageEnd()
5247
    self._oprot.trans.flush()
5248
 
5249
  def recv_addOrUpdateSnapdealItem(self, ):
5250
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5251
    if mtype == TMessageType.EXCEPTION:
5252
      x = TApplicationException()
5253
      x.read(self._iprot)
5254
      self._iprot.readMessageEnd()
5255
      raise x
5256
    result = addOrUpdateSnapdealItem_result()
5257
    result.read(self._iprot)
5258
    self._iprot.readMessageEnd()
5259
    if result.success is not None:
5260
      return result.success
5261
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateSnapdealItem failed: unknown result");
5262
 
5263
  def getSnapdealItem(self, item_id):
5264
    """
5265
    Parameters:
5266
     - item_id
5267
    """
5268
    self.send_getSnapdealItem(item_id)
5269
    return self.recv_getSnapdealItem()
5270
 
5271
  def send_getSnapdealItem(self, item_id):
5272
    self._oprot.writeMessageBegin('getSnapdealItem', TMessageType.CALL, self._seqid)
5273
    args = getSnapdealItem_args()
5274
    args.item_id = item_id
5275
    args.write(self._oprot)
5276
    self._oprot.writeMessageEnd()
5277
    self._oprot.trans.flush()
5278
 
5279
  def recv_getSnapdealItem(self, ):
5280
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5281
    if mtype == TMessageType.EXCEPTION:
5282
      x = TApplicationException()
5283
      x.read(self._iprot)
5284
      self._iprot.readMessageEnd()
5285
      raise x
5286
    result = getSnapdealItem_result()
5287
    result.read(self._iprot)
5288
    self._iprot.readMessageEnd()
5289
    if result.success is not None:
5290
      return result.success
5291
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItem failed: unknown result");
5292
 
9242 kshitij.so 5293
  def getSnapdealItemDetails(self, item_id):
5294
    """
5295
    Parameters:
5296
     - item_id
5297
    """
5298
    self.send_getSnapdealItemDetails(item_id)
5299
    return self.recv_getSnapdealItemDetails()
5300
 
5301
  def send_getSnapdealItemDetails(self, item_id):
5302
    self._oprot.writeMessageBegin('getSnapdealItemDetails', TMessageType.CALL, self._seqid)
5303
    args = getSnapdealItemDetails_args()
5304
    args.item_id = item_id
5305
    args.write(self._oprot)
5306
    self._oprot.writeMessageEnd()
5307
    self._oprot.trans.flush()
5308
 
5309
  def recv_getSnapdealItemDetails(self, ):
5310
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5311
    if mtype == TMessageType.EXCEPTION:
5312
      x = TApplicationException()
5313
      x.read(self._iprot)
5314
      self._iprot.readMessageEnd()
5315
      raise x
5316
    result = getSnapdealItemDetails_result()
5317
    result.read(self._iprot)
5318
    self._iprot.readMessageEnd()
5319
    if result.success is not None:
5320
      return result.success
5321
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItemDetails failed: unknown result");
5322
 
8739 vikram.rag 5323
  def getAllSnapdealItems(self, ):
5324
    self.send_getAllSnapdealItems()
5325
    return self.recv_getAllSnapdealItems()
5326
 
5327
  def send_getAllSnapdealItems(self, ):
5328
    self._oprot.writeMessageBegin('getAllSnapdealItems', TMessageType.CALL, self._seqid)
5329
    args = getAllSnapdealItems_args()
5330
    args.write(self._oprot)
5331
    self._oprot.writeMessageEnd()
5332
    self._oprot.trans.flush()
5333
 
5334
  def recv_getAllSnapdealItems(self, ):
5335
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5336
    if mtype == TMessageType.EXCEPTION:
5337
      x = TApplicationException()
5338
      x.read(self._iprot)
5339
      self._iprot.readMessageEnd()
5340
      raise x
5341
    result = getAllSnapdealItems_result()
5342
    result.read(self._iprot)
5343
    self._iprot.readMessageEnd()
5344
    if result.success is not None:
5345
      return result.success
5346
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealItems failed: unknown result");
5347
 
9242 kshitij.so 5348
  def getSnapdealItems(self, offset, limit):
5349
    """
5350
    Parameters:
5351
     - offset
5352
     - limit
5353
    """
5354
    self.send_getSnapdealItems(offset, limit)
5355
    return self.recv_getSnapdealItems()
8739 vikram.rag 5356
 
9242 kshitij.so 5357
  def send_getSnapdealItems(self, offset, limit):
5358
    self._oprot.writeMessageBegin('getSnapdealItems', TMessageType.CALL, self._seqid)
5359
    args = getSnapdealItems_args()
5360
    args.offset = offset
5361
    args.limit = limit
5362
    args.write(self._oprot)
5363
    self._oprot.writeMessageEnd()
5364
    self._oprot.trans.flush()
5365
 
5366
  def recv_getSnapdealItems(self, ):
5367
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5368
    if mtype == TMessageType.EXCEPTION:
5369
      x = TApplicationException()
5370
      x.read(self._iprot)
5371
      self._iprot.readMessageEnd()
5372
      raise x
5373
    result = getSnapdealItems_result()
5374
    result.read(self._iprot)
5375
    self._iprot.readMessageEnd()
5376
    if result.success is not None:
5377
      return result.success
5378
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItems failed: unknown result");
5379
 
5380
  def searchSnapdealItems(self, searchTerm, offset, limit):
5381
    """
5382
    Parameters:
5383
     - searchTerm
5384
     - offset
5385
     - limit
5386
    """
5387
    self.send_searchSnapdealItems(searchTerm, offset, limit)
5388
    return self.recv_searchSnapdealItems()
5389
 
5390
  def send_searchSnapdealItems(self, searchTerm, offset, limit):
5391
    self._oprot.writeMessageBegin('searchSnapdealItems', TMessageType.CALL, self._seqid)
5392
    args = searchSnapdealItems_args()
5393
    args.searchTerm = searchTerm
5394
    args.offset = offset
5395
    args.limit = limit
5396
    args.write(self._oprot)
5397
    self._oprot.writeMessageEnd()
5398
    self._oprot.trans.flush()
5399
 
5400
  def recv_searchSnapdealItems(self, ):
5401
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5402
    if mtype == TMessageType.EXCEPTION:
5403
      x = TApplicationException()
5404
      x.read(self._iprot)
5405
      self._iprot.readMessageEnd()
5406
      raise x
5407
    result = searchSnapdealItems_result()
5408
    result.read(self._iprot)
5409
    self._iprot.readMessageEnd()
5410
    if result.success is not None:
5411
      return result.success
5412
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchSnapdealItems failed: unknown result");
5413
 
5414
  def getCountForSnapdealItems(self, ):
5415
    self.send_getCountForSnapdealItems()
5416
    return self.recv_getCountForSnapdealItems()
5417
 
5418
  def send_getCountForSnapdealItems(self, ):
5419
    self._oprot.writeMessageBegin('getCountForSnapdealItems', TMessageType.CALL, self._seqid)
5420
    args = getCountForSnapdealItems_args()
5421
    args.write(self._oprot)
5422
    self._oprot.writeMessageEnd()
5423
    self._oprot.trans.flush()
5424
 
5425
  def recv_getCountForSnapdealItems(self, ):
5426
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5427
    if mtype == TMessageType.EXCEPTION:
5428
      x = TApplicationException()
5429
      x.read(self._iprot)
5430
      self._iprot.readMessageEnd()
5431
      raise x
5432
    result = getCountForSnapdealItems_result()
5433
    result.read(self._iprot)
5434
    self._iprot.readMessageEnd()
5435
    if result.success is not None:
5436
      return result.success
5437
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForSnapdealItems failed: unknown result");
5438
 
5439
  def getSnapdealSearchResultCount(self, searchTerm):
5440
    """
5441
    Parameters:
5442
     - searchTerm
5443
    """
5444
    self.send_getSnapdealSearchResultCount(searchTerm)
5445
    return self.recv_getSnapdealSearchResultCount()
5446
 
5447
  def send_getSnapdealSearchResultCount(self, searchTerm):
5448
    self._oprot.writeMessageBegin('getSnapdealSearchResultCount', TMessageType.CALL, self._seqid)
5449
    args = getSnapdealSearchResultCount_args()
5450
    args.searchTerm = searchTerm
5451
    args.write(self._oprot)
5452
    self._oprot.writeMessageEnd()
5453
    self._oprot.trans.flush()
5454
 
5455
  def recv_getSnapdealSearchResultCount(self, ):
5456
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5457
    if mtype == TMessageType.EXCEPTION:
5458
      x = TApplicationException()
5459
      x.read(self._iprot)
5460
      self._iprot.readMessageEnd()
5461
      raise x
5462
    result = getSnapdealSearchResultCount_result()
5463
    result.read(self._iprot)
5464
    self._iprot.readMessageEnd()
5465
    if result.success is not None:
5466
      return result.success
5467
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealSearchResultCount failed: unknown result");
5468
 
9299 kshitij.so 5469
  def getPrefferedInsurerForItem(self, itemId, insurerType):
5470
    """
5471
    Parameters:
5472
     - itemId
5473
     - insurerType
5474
    """
5475
    self.send_getPrefferedInsurerForItem(itemId, insurerType)
5476
    return self.recv_getPrefferedInsurerForItem()
9242 kshitij.so 5477
 
9299 kshitij.so 5478
  def send_getPrefferedInsurerForItem(self, itemId, insurerType):
5479
    self._oprot.writeMessageBegin('getPrefferedInsurerForItem', TMessageType.CALL, self._seqid)
5480
    args = getPrefferedInsurerForItem_args()
5481
    args.itemId = itemId
5482
    args.insurerType = insurerType
5483
    args.write(self._oprot)
5484
    self._oprot.writeMessageEnd()
5485
    self._oprot.trans.flush()
5486
 
5487
  def recv_getPrefferedInsurerForItem(self, ):
5488
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5489
    if mtype == TMessageType.EXCEPTION:
5490
      x = TApplicationException()
5491
      x.read(self._iprot)
5492
      self._iprot.readMessageEnd()
5493
      raise x
5494
    result = getPrefferedInsurerForItem_result()
5495
    result.read(self._iprot)
5496
    self._iprot.readMessageEnd()
5497
    if result.success is not None:
5498
      return result.success
5499
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrefferedInsurerForItem failed: unknown result");
5500
 
9456 vikram.rag 5501
  def getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5502
    """
5503
    Parameters:
5504
     - skuAtSnapdeal
5505
    """
5506
    self.send_getSnapdealItembySkuAtSnapdeal(skuAtSnapdeal)
5507
    return self.recv_getSnapdealItembySkuAtSnapdeal()
9299 kshitij.so 5508
 
9456 vikram.rag 5509
  def send_getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5510
    self._oprot.writeMessageBegin('getSnapdealItembySkuAtSnapdeal', TMessageType.CALL, self._seqid)
5511
    args = getSnapdealItembySkuAtSnapdeal_args()
5512
    args.skuAtSnapdeal = skuAtSnapdeal
5513
    args.write(self._oprot)
5514
    self._oprot.writeMessageEnd()
5515
    self._oprot.trans.flush()
5516
 
5517
  def recv_getSnapdealItembySkuAtSnapdeal(self, ):
5518
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5519
    if mtype == TMessageType.EXCEPTION:
5520
      x = TApplicationException()
5521
      x.read(self._iprot)
5522
      self._iprot.readMessageEnd()
5523
      raise x
5524
    result = getSnapdealItembySkuAtSnapdeal_result()
5525
    result.read(self._iprot)
5526
    self._iprot.readMessageEnd()
5527
    if result.success is not None:
5528
      return result.success
5529
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItembySkuAtSnapdeal failed: unknown result");
5530
 
9621 manish.sha 5531
  def getProductFeedSubmit(self, catalogItemId):
5532
    """
5533
    Parameters:
5534
     - catalogItemId
5535
    """
5536
    self.send_getProductFeedSubmit(catalogItemId)
5537
    return self.recv_getProductFeedSubmit()
9456 vikram.rag 5538
 
9621 manish.sha 5539
  def send_getProductFeedSubmit(self, catalogItemId):
5540
    self._oprot.writeMessageBegin('getProductFeedSubmit', TMessageType.CALL, self._seqid)
5541
    args = getProductFeedSubmit_args()
5542
    args.catalogItemId = catalogItemId
5543
    args.write(self._oprot)
5544
    self._oprot.writeMessageEnd()
5545
    self._oprot.trans.flush()
5546
 
5547
  def recv_getProductFeedSubmit(self, ):
5548
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5549
    if mtype == TMessageType.EXCEPTION:
5550
      x = TApplicationException()
5551
      x.read(self._iprot)
5552
      self._iprot.readMessageEnd()
5553
      raise x
5554
    result = getProductFeedSubmit_result()
5555
    result.read(self._iprot)
5556
    self._iprot.readMessageEnd()
5557
    if result.success is not None:
5558
      return result.success
5559
    if result.cex is not None:
5560
      raise result.cex
5561
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductFeedSubmit failed: unknown result");
5562
 
5563
  def addProductFeedSubmit(self, productFeedSubmit):
5564
    """
5565
    Parameters:
5566
     - productFeedSubmit
5567
    """
5568
    self.send_addProductFeedSubmit(productFeedSubmit)
5569
    return self.recv_addProductFeedSubmit()
5570
 
5571
  def send_addProductFeedSubmit(self, productFeedSubmit):
5572
    self._oprot.writeMessageBegin('addProductFeedSubmit', TMessageType.CALL, self._seqid)
5573
    args = addProductFeedSubmit_args()
5574
    args.productFeedSubmit = productFeedSubmit
5575
    args.write(self._oprot)
5576
    self._oprot.writeMessageEnd()
5577
    self._oprot.trans.flush()
5578
 
5579
  def recv_addProductFeedSubmit(self, ):
5580
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5581
    if mtype == TMessageType.EXCEPTION:
5582
      x = TApplicationException()
5583
      x.read(self._iprot)
5584
      self._iprot.readMessageEnd()
5585
      raise x
5586
    result = addProductFeedSubmit_result()
5587
    result.read(self._iprot)
5588
    self._iprot.readMessageEnd()
5589
    if result.success is not None:
5590
      return result.success
5591
    if result.cex is not None:
5592
      raise result.cex
5593
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductFeedSubmit failed: unknown result");
5594
 
5595
  def updateProductFeedSubmit(self, productFeedSubmit):
5596
    """
5597
    Parameters:
5598
     - productFeedSubmit
5599
    """
5600
    self.send_updateProductFeedSubmit(productFeedSubmit)
5601
    return self.recv_updateProductFeedSubmit()
5602
 
5603
  def send_updateProductFeedSubmit(self, productFeedSubmit):
5604
    self._oprot.writeMessageBegin('updateProductFeedSubmit', TMessageType.CALL, self._seqid)
5605
    args = updateProductFeedSubmit_args()
5606
    args.productFeedSubmit = productFeedSubmit
5607
    args.write(self._oprot)
5608
    self._oprot.writeMessageEnd()
5609
    self._oprot.trans.flush()
5610
 
5611
  def recv_updateProductFeedSubmit(self, ):
5612
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5613
    if mtype == TMessageType.EXCEPTION:
5614
      x = TApplicationException()
5615
      x.read(self._iprot)
5616
      self._iprot.readMessageEnd()
5617
      raise x
5618
    result = updateProductFeedSubmit_result()
5619
    result.read(self._iprot)
5620
    self._iprot.readMessageEnd()
5621
    if result.success is not None:
5622
      return result.success
5623
    if result.cex is not None:
5624
      raise result.cex
5625
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateProductFeedSubmit failed: unknown result");
5626
 
5627
  def deleteProductFeedSubmit(self, catalogItemId):
5628
    """
5629
    Parameters:
5630
     - catalogItemId
5631
    """
5632
    self.send_deleteProductFeedSubmit(catalogItemId)
5633
    return self.recv_deleteProductFeedSubmit()
5634
 
5635
  def send_deleteProductFeedSubmit(self, catalogItemId):
5636
    self._oprot.writeMessageBegin('deleteProductFeedSubmit', TMessageType.CALL, self._seqid)
5637
    args = deleteProductFeedSubmit_args()
5638
    args.catalogItemId = catalogItemId
5639
    args.write(self._oprot)
5640
    self._oprot.writeMessageEnd()
5641
    self._oprot.trans.flush()
5642
 
5643
  def recv_deleteProductFeedSubmit(self, ):
5644
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5645
    if mtype == TMessageType.EXCEPTION:
5646
      x = TApplicationException()
5647
      x.read(self._iprot)
5648
      self._iprot.readMessageEnd()
5649
      raise x
5650
    result = deleteProductFeedSubmit_result()
5651
    result.read(self._iprot)
5652
    self._iprot.readMessageEnd()
5653
    if result.success is not None:
5654
      return result.success
5655
    if result.cex is not None:
5656
      raise result.cex
5657
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteProductFeedSubmit failed: unknown result");
5658
 
5659
  def getAllProductFeedSubmit(self, ):
5660
    self.send_getAllProductFeedSubmit()
5661
    return self.recv_getAllProductFeedSubmit()
5662
 
5663
  def send_getAllProductFeedSubmit(self, ):
5664
    self._oprot.writeMessageBegin('getAllProductFeedSubmit', TMessageType.CALL, self._seqid)
5665
    args = getAllProductFeedSubmit_args()
5666
    args.write(self._oprot)
5667
    self._oprot.writeMessageEnd()
5668
    self._oprot.trans.flush()
5669
 
5670
  def recv_getAllProductFeedSubmit(self, ):
5671
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5672
    if mtype == TMessageType.EXCEPTION:
5673
      x = TApplicationException()
5674
      x.read(self._iprot)
5675
      self._iprot.readMessageEnd()
5676
      raise x
5677
    result = getAllProductFeedSubmit_result()
5678
    result.read(self._iprot)
5679
    self._iprot.readMessageEnd()
5680
    if result.success is not None:
5681
      return result.success
5682
    if result.cex is not None:
5683
      raise result.cex
5684
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllProductFeedSubmit failed: unknown result");
5685
 
9724 kshitij.so 5686
  def getMarketplacedetailsForItem(self, itemId, sourceId):
5687
    """
5688
    Parameters:
5689
     - itemId
5690
     - sourceId
5691
    """
5692
    self.send_getMarketplacedetailsForItem(itemId, sourceId)
5693
    return self.recv_getMarketplacedetailsForItem()
9621 manish.sha 5694
 
9724 kshitij.so 5695
  def send_getMarketplacedetailsForItem(self, itemId, sourceId):
5696
    self._oprot.writeMessageBegin('getMarketplacedetailsForItem', TMessageType.CALL, self._seqid)
5697
    args = getMarketplacedetailsForItem_args()
5698
    args.itemId = itemId
5699
    args.sourceId = sourceId
5700
    args.write(self._oprot)
5701
    self._oprot.writeMessageEnd()
5702
    self._oprot.trans.flush()
5703
 
5704
  def recv_getMarketplacedetailsForItem(self, ):
5705
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5706
    if mtype == TMessageType.EXCEPTION:
5707
      x = TApplicationException()
5708
      x.read(self._iprot)
5709
      self._iprot.readMessageEnd()
5710
      raise x
5711
    result = getMarketplacedetailsForItem_result()
5712
    result.read(self._iprot)
5713
    self._iprot.readMessageEnd()
5714
    if result.success is not None:
5715
      return result.success
5716
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplacedetailsForItem failed: unknown result");
5717
 
5718
  def updateMarketplaceAttributesForItem(self, marketPlaceItem):
5719
    """
5720
    Parameters:
5721
     - marketPlaceItem
5722
    """
5723
    self.send_updateMarketplaceAttributesForItem(marketPlaceItem)
5724
    return self.recv_updateMarketplaceAttributesForItem()
5725
 
5726
  def send_updateMarketplaceAttributesForItem(self, marketPlaceItem):
5727
    self._oprot.writeMessageBegin('updateMarketplaceAttributesForItem', TMessageType.CALL, self._seqid)
5728
    args = updateMarketplaceAttributesForItem_args()
5729
    args.marketPlaceItem = marketPlaceItem
5730
    args.write(self._oprot)
5731
    self._oprot.writeMessageEnd()
5732
    self._oprot.trans.flush()
5733
 
5734
  def recv_updateMarketplaceAttributesForItem(self, ):
5735
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5736
    if mtype == TMessageType.EXCEPTION:
5737
      x = TApplicationException()
5738
      x.read(self._iprot)
5739
      self._iprot.readMessageEnd()
5740
      raise x
5741
    result = updateMarketplaceAttributesForItem_result()
5742
    result.read(self._iprot)
5743
    self._iprot.readMessageEnd()
5744
    if result.success is not None:
5745
      return result.success
5746
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateMarketplaceAttributesForItem failed: unknown result");
5747
 
9779 kshitij.so 5748
  def getCostingForMarketplace(self, source, item_id):
5749
    """
5750
    Parameters:
5751
     - source
5752
     - item_id
5753
    """
5754
    self.send_getCostingForMarketplace(source, item_id)
5755
    return self.recv_getCostingForMarketplace()
5756
 
5757
  def send_getCostingForMarketplace(self, source, item_id):
5758
    self._oprot.writeMessageBegin('getCostingForMarketplace', TMessageType.CALL, self._seqid)
5759
    args = getCostingForMarketplace_args()
5760
    args.source = source
5761
    args.item_id = item_id
5762
    args.write(self._oprot)
5763
    self._oprot.writeMessageEnd()
5764
    self._oprot.trans.flush()
5765
 
5766
  def recv_getCostingForMarketplace(self, ):
5767
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5768
    if mtype == TMessageType.EXCEPTION:
5769
      x = TApplicationException()
5770
      x.read(self._iprot)
5771
      self._iprot.readMessageEnd()
5772
      raise x
5773
    result = getCostingForMarketplace_result()
5774
    result.read(self._iprot)
5775
    self._iprot.readMessageEnd()
5776
    if result.success is not None:
5777
      return result.success
5778
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCostingForMarketplace failed: unknown result");
5779
 
9776 vikram.rag 5780
  def getMarketPlaceItemsForPriceUpdate(self, source):
5781
    """
5782
    Parameters:
5783
     - source
5784
    """
5785
    self.send_getMarketPlaceItemsForPriceUpdate(source)
5786
    return self.recv_getMarketPlaceItemsForPriceUpdate()
9724 kshitij.so 5787
 
9776 vikram.rag 5788
  def send_getMarketPlaceItemsForPriceUpdate(self, source):
5789
    self._oprot.writeMessageBegin('getMarketPlaceItemsForPriceUpdate', TMessageType.CALL, self._seqid)
5790
    args = getMarketPlaceItemsForPriceUpdate_args()
5791
    args.source = source
5792
    args.write(self._oprot)
5793
    self._oprot.writeMessageEnd()
5794
    self._oprot.trans.flush()
5795
 
5796
  def recv_getMarketPlaceItemsForPriceUpdate(self, ):
5797
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5798
    if mtype == TMessageType.EXCEPTION:
5799
      x = TApplicationException()
5800
      x.read(self._iprot)
5801
      self._iprot.readMessageEnd()
5802
      raise x
5803
    result = getMarketPlaceItemsForPriceUpdate_result()
5804
    result.read(self._iprot)
5805
    self._iprot.readMessageEnd()
5806
    if result.success is not None:
5807
      return result.success
5808
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketPlaceItemsForPriceUpdate failed: unknown result");
5809
 
9816 kshitij.so 5810
  def updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5811
    """
5812
    Parameters:
5813
     - skulist
5814
     - timestamp
9816 kshitij.so 5815
     - source
9776 vikram.rag 5816
    """
9816 kshitij.so 5817
    self.send_updateMarketPlacePriceUpdateStatus(skulist, timestamp, source)
9776 vikram.rag 5818
    self.recv_updateMarketPlacePriceUpdateStatus()
5819
 
9816 kshitij.so 5820
  def send_updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5821
    self._oprot.writeMessageBegin('updateMarketPlacePriceUpdateStatus', TMessageType.CALL, self._seqid)
5822
    args = updateMarketPlacePriceUpdateStatus_args()
5823
    args.skulist = skulist
5824
    args.timestamp = timestamp
9816 kshitij.so 5825
    args.source = source
9776 vikram.rag 5826
    args.write(self._oprot)
5827
    self._oprot.writeMessageEnd()
5828
    self._oprot.trans.flush()
5829
 
5830
  def recv_updateMarketPlacePriceUpdateStatus(self, ):
5831
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5832
    if mtype == TMessageType.EXCEPTION:
5833
      x = TApplicationException()
5834
      x.read(self._iprot)
5835
      self._iprot.readMessageEnd()
5836
      raise x
5837
    result = updateMarketPlacePriceUpdateStatus_result()
5838
    result.read(self._iprot)
5839
    self._iprot.readMessageEnd()
5840
    return
5841
 
9861 rajveer 5842
  def updateItemHoldInventory(self, itemHoldMap):
5843
    """
5844
    Parameters:
5845
     - itemHoldMap
5846
    """
5847
    self.send_updateItemHoldInventory(itemHoldMap)
5848
    self.recv_updateItemHoldInventory()
9776 vikram.rag 5849
 
9861 rajveer 5850
  def send_updateItemHoldInventory(self, itemHoldMap):
5851
    self._oprot.writeMessageBegin('updateItemHoldInventory', TMessageType.CALL, self._seqid)
5852
    args = updateItemHoldInventory_args()
5853
    args.itemHoldMap = itemHoldMap
5854
    args.write(self._oprot)
5855
    self._oprot.writeMessageEnd()
5856
    self._oprot.trans.flush()
5857
 
5858
  def recv_updateItemHoldInventory(self, ):
5859
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5860
    if mtype == TMessageType.EXCEPTION:
5861
      x = TApplicationException()
5862
      x.read(self._iprot)
5863
      self._iprot.readMessageEnd()
5864
      raise x
5865
    result = updateItemHoldInventory_result()
5866
    result.read(self._iprot)
5867
    self._iprot.readMessageEnd()
5868
    return
5869
 
9895 vikram.rag 5870
  def updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5871
    """
5872
    Parameters:
5873
     - item_id
5874
     - vendor_id
5875
     - nlc
5876
    """
5877
    self.send_updateNlcAtMarketplaces(item_id, vendor_id, nlc)
5878
    self.recv_updateNlcAtMarketplaces()
9861 rajveer 5879
 
9895 vikram.rag 5880
  def send_updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5881
    self._oprot.writeMessageBegin('updateNlcAtMarketplaces', TMessageType.CALL, self._seqid)
5882
    args = updateNlcAtMarketplaces_args()
5883
    args.item_id = item_id
5884
    args.vendor_id = vendor_id
5885
    args.nlc = nlc
5886
    args.write(self._oprot)
5887
    self._oprot.writeMessageEnd()
5888
    self._oprot.trans.flush()
5889
 
5890
  def recv_updateNlcAtMarketplaces(self, ):
5891
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5892
    if mtype == TMessageType.EXCEPTION:
5893
      x = TApplicationException()
5894
      x.read(self._iprot)
5895
      self._iprot.readMessageEnd()
5896
      raise x
5897
    result = updateNlcAtMarketplaces_result()
5898
    result.read(self._iprot)
5899
    self._iprot.readMessageEnd()
5900
    return
5901
 
9945 vikram.rag 5902
  def getAllFlipkartItems(self, ):
5903
    self.send_getAllFlipkartItems()
5904
    return self.recv_getAllFlipkartItems()
9895 vikram.rag 5905
 
9945 vikram.rag 5906
  def send_getAllFlipkartItems(self, ):
5907
    self._oprot.writeMessageBegin('getAllFlipkartItems', TMessageType.CALL, self._seqid)
5908
    args = getAllFlipkartItems_args()
5909
    args.write(self._oprot)
5910
    self._oprot.writeMessageEnd()
5911
    self._oprot.trans.flush()
5912
 
5913
  def recv_getAllFlipkartItems(self, ):
5914
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5915
    if mtype == TMessageType.EXCEPTION:
5916
      x = TApplicationException()
5917
      x.read(self._iprot)
5918
      self._iprot.readMessageEnd()
5919
      raise x
5920
    result = getAllFlipkartItems_result()
5921
    result.read(self._iprot)
5922
    self._iprot.readMessageEnd()
5923
    if result.success is not None:
5924
      return result.success
5925
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartItems failed: unknown result");
5926
 
10097 kshitij.so 5927
  def addOrUpdateFlipkartItem(self, flipkartitem):
5928
    """
5929
    Parameters:
5930
     - flipkartitem
5931
    """
5932
    self.send_addOrUpdateFlipkartItem(flipkartitem)
5933
    return self.recv_addOrUpdateFlipkartItem()
9945 vikram.rag 5934
 
10097 kshitij.so 5935
  def send_addOrUpdateFlipkartItem(self, flipkartitem):
5936
    self._oprot.writeMessageBegin('addOrUpdateFlipkartItem', TMessageType.CALL, self._seqid)
5937
    args = addOrUpdateFlipkartItem_args()
5938
    args.flipkartitem = flipkartitem
5939
    args.write(self._oprot)
5940
    self._oprot.writeMessageEnd()
5941
    self._oprot.trans.flush()
5942
 
5943
  def recv_addOrUpdateFlipkartItem(self, ):
5944
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5945
    if mtype == TMessageType.EXCEPTION:
5946
      x = TApplicationException()
5947
      x.read(self._iprot)
5948
      self._iprot.readMessageEnd()
5949
      raise x
5950
    result = addOrUpdateFlipkartItem_result()
5951
    result.read(self._iprot)
5952
    self._iprot.readMessageEnd()
5953
    if result.success is not None:
5954
      return result.success
5955
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateFlipkartItem failed: unknown result");
5956
 
5957
  def getFlipkartItem(self, item_id):
5958
    """
5959
    Parameters:
5960
     - item_id
5961
    """
5962
    self.send_getFlipkartItem(item_id)
5963
    return self.recv_getFlipkartItem()
5964
 
5965
  def send_getFlipkartItem(self, item_id):
5966
    self._oprot.writeMessageBegin('getFlipkartItem', TMessageType.CALL, self._seqid)
5967
    args = getFlipkartItem_args()
5968
    args.item_id = item_id
5969
    args.write(self._oprot)
5970
    self._oprot.writeMessageEnd()
5971
    self._oprot.trans.flush()
5972
 
5973
  def recv_getFlipkartItem(self, ):
5974
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5975
    if mtype == TMessageType.EXCEPTION:
5976
      x = TApplicationException()
5977
      x.read(self._iprot)
5978
      self._iprot.readMessageEnd()
5979
      raise x
5980
    result = getFlipkartItem_result()
5981
    result.read(self._iprot)
5982
    self._iprot.readMessageEnd()
5983
    if result.success is not None:
5984
      return result.success
5985
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItem failed: unknown result");
5986
 
5987
  def getFlipkartItemDetails(self, item_id):
5988
    """
5989
    Parameters:
5990
     - item_id
5991
    """
5992
    self.send_getFlipkartItemDetails(item_id)
5993
    return self.recv_getFlipkartItemDetails()
5994
 
5995
  def send_getFlipkartItemDetails(self, item_id):
5996
    self._oprot.writeMessageBegin('getFlipkartItemDetails', TMessageType.CALL, self._seqid)
5997
    args = getFlipkartItemDetails_args()
5998
    args.item_id = item_id
5999
    args.write(self._oprot)
6000
    self._oprot.writeMessageEnd()
6001
    self._oprot.trans.flush()
6002
 
6003
  def recv_getFlipkartItemDetails(self, ):
6004
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6005
    if mtype == TMessageType.EXCEPTION:
6006
      x = TApplicationException()
6007
      x.read(self._iprot)
6008
      self._iprot.readMessageEnd()
6009
      raise x
6010
    result = getFlipkartItemDetails_result()
6011
    result.read(self._iprot)
6012
    self._iprot.readMessageEnd()
6013
    if result.success is not None:
6014
      return result.success
6015
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemDetails failed: unknown result");
6016
 
6017
  def getFlipkartItems(self, offset, limit):
6018
    """
6019
    Parameters:
6020
     - offset
6021
     - limit
6022
    """
6023
    self.send_getFlipkartItems(offset, limit)
6024
    return self.recv_getFlipkartItems()
6025
 
6026
  def send_getFlipkartItems(self, offset, limit):
6027
    self._oprot.writeMessageBegin('getFlipkartItems', TMessageType.CALL, self._seqid)
6028
    args = getFlipkartItems_args()
6029
    args.offset = offset
6030
    args.limit = limit
6031
    args.write(self._oprot)
6032
    self._oprot.writeMessageEnd()
6033
    self._oprot.trans.flush()
6034
 
6035
  def recv_getFlipkartItems(self, ):
6036
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6037
    if mtype == TMessageType.EXCEPTION:
6038
      x = TApplicationException()
6039
      x.read(self._iprot)
6040
      self._iprot.readMessageEnd()
6041
      raise x
6042
    result = getFlipkartItems_result()
6043
    result.read(self._iprot)
6044
    self._iprot.readMessageEnd()
6045
    if result.success is not None:
6046
      return result.success
6047
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItems failed: unknown result");
6048
 
6049
  def searchFlipkartItems(self, searchTerm, offset, limit):
6050
    """
6051
    Parameters:
6052
     - searchTerm
6053
     - offset
6054
     - limit
6055
    """
6056
    self.send_searchFlipkartItems(searchTerm, offset, limit)
6057
    return self.recv_searchFlipkartItems()
6058
 
6059
  def send_searchFlipkartItems(self, searchTerm, offset, limit):
6060
    self._oprot.writeMessageBegin('searchFlipkartItems', TMessageType.CALL, self._seqid)
6061
    args = searchFlipkartItems_args()
6062
    args.searchTerm = searchTerm
6063
    args.offset = offset
6064
    args.limit = limit
6065
    args.write(self._oprot)
6066
    self._oprot.writeMessageEnd()
6067
    self._oprot.trans.flush()
6068
 
6069
  def recv_searchFlipkartItems(self, ):
6070
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6071
    if mtype == TMessageType.EXCEPTION:
6072
      x = TApplicationException()
6073
      x.read(self._iprot)
6074
      self._iprot.readMessageEnd()
6075
      raise x
6076
    result = searchFlipkartItems_result()
6077
    result.read(self._iprot)
6078
    self._iprot.readMessageEnd()
6079
    if result.success is not None:
6080
      return result.success
6081
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchFlipkartItems failed: unknown result");
6082
 
6083
  def getCountForFlipkartItems(self, ):
6084
    self.send_getCountForFlipkartItems()
6085
    return self.recv_getCountForFlipkartItems()
6086
 
6087
  def send_getCountForFlipkartItems(self, ):
6088
    self._oprot.writeMessageBegin('getCountForFlipkartItems', TMessageType.CALL, self._seqid)
6089
    args = getCountForFlipkartItems_args()
6090
    args.write(self._oprot)
6091
    self._oprot.writeMessageEnd()
6092
    self._oprot.trans.flush()
6093
 
6094
  def recv_getCountForFlipkartItems(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 = getCountForFlipkartItems_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, "getCountForFlipkartItems failed: unknown result");
6107
 
6108
  def getFlipkartSearchResultCount(self, searchTerm):
6109
    """
6110
    Parameters:
6111
     - searchTerm
6112
    """
6113
    self.send_getFlipkartSearchResultCount(searchTerm)
6114
    return self.recv_getFlipkartSearchResultCount()
6115
 
6116
  def send_getFlipkartSearchResultCount(self, searchTerm):
6117
    self._oprot.writeMessageBegin('getFlipkartSearchResultCount', TMessageType.CALL, self._seqid)
6118
    args = getFlipkartSearchResultCount_args()
6119
    args.searchTerm = searchTerm
6120
    args.write(self._oprot)
6121
    self._oprot.writeMessageEnd()
6122
    self._oprot.trans.flush()
6123
 
6124
  def recv_getFlipkartSearchResultCount(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 = getFlipkartSearchResultCount_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, "getFlipkartSearchResultCount failed: unknown result");
6137
 
6138
  def getAllFkItems(self, ):
6139
    self.send_getAllFkItems()
6140
    return self.recv_getAllFkItems()
6141
 
6142
  def send_getAllFkItems(self, ):
6143
    self._oprot.writeMessageBegin('getAllFkItems', TMessageType.CALL, self._seqid)
6144
    args = getAllFkItems_args()
6145
    args.write(self._oprot)
6146
    self._oprot.writeMessageEnd()
6147
    self._oprot.trans.flush()
6148
 
6149
  def recv_getAllFkItems(self, ):
6150
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6151
    if mtype == TMessageType.EXCEPTION:
6152
      x = TApplicationException()
6153
      x.read(self._iprot)
6154
      self._iprot.readMessageEnd()
6155
      raise x
6156
    result = getAllFkItems_result()
6157
    result.read(self._iprot)
6158
    self._iprot.readMessageEnd()
6159
    if result.success is not None:
6160
      return result.success
6161
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFkItems failed: unknown result");
6162
 
10140 vikram.rag 6163
  def getFlipkartItemBySkyAtFlipkart(self, sku):
6164
    """
6165
    Parameters:
6166
     - sku
6167
    """
6168
    self.send_getFlipkartItemBySkyAtFlipkart(sku)
6169
    return self.recv_getFlipkartItemBySkyAtFlipkart()
10097 kshitij.so 6170
 
10140 vikram.rag 6171
  def send_getFlipkartItemBySkyAtFlipkart(self, sku):
6172
    self._oprot.writeMessageBegin('getFlipkartItemBySkyAtFlipkart', TMessageType.CALL, self._seqid)
6173
    args = getFlipkartItemBySkyAtFlipkart_args()
6174
    args.sku = sku
6175
    args.write(self._oprot)
6176
    self._oprot.writeMessageEnd()
6177
    self._oprot.trans.flush()
6178
 
6179
  def recv_getFlipkartItemBySkyAtFlipkart(self, ):
6180
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6181
    if mtype == TMessageType.EXCEPTION:
6182
      x = TApplicationException()
6183
      x.read(self._iprot)
6184
      self._iprot.readMessageEnd()
6185
      raise x
6186
    result = getFlipkartItemBySkyAtFlipkart_result()
6187
    result.read(self._iprot)
6188
    self._iprot.readMessageEnd()
6189
    if result.success is not None:
6190
      return result.success
6191
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemBySkyAtFlipkart failed: unknown result");
6192
 
11015 kshitij.so 6193
  def getMarketplaceHistory(self, source, offset, itemId):
6194
    """
6195
    Parameters:
6196
     - source
6197
     - offset
6198
     - itemId
6199
    """
6200
    self.send_getMarketplaceHistory(source, offset, itemId)
6201
    return self.recv_getMarketplaceHistory()
6202
 
6203
  def send_getMarketplaceHistory(self, source, offset, itemId):
6204
    self._oprot.writeMessageBegin('getMarketplaceHistory', TMessageType.CALL, self._seqid)
6205
    args = getMarketplaceHistory_args()
6206
    args.source = source
6207
    args.offset = offset
6208
    args.itemId = itemId
6209
    args.write(self._oprot)
6210
    self._oprot.writeMessageEnd()
6211
    self._oprot.trans.flush()
6212
 
6213
  def recv_getMarketplaceHistory(self, ):
6214
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6215
    if mtype == TMessageType.EXCEPTION:
6216
      x = TApplicationException()
6217
      x.read(self._iprot)
6218
      self._iprot.readMessageEnd()
6219
      raise x
6220
    result = getMarketplaceHistory_result()
6221
    result.read(self._iprot)
6222
    self._iprot.readMessageEnd()
6223
    if result.success is not None:
6224
      return result.success
6225
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistory failed: unknown result");
6226
 
10909 vikram.rag 6227
  def getAllFbbListedItems(self, ):
6228
    self.send_getAllFbbListedItems()
6229
    return self.recv_getAllFbbListedItems()
10140 vikram.rag 6230
 
10909 vikram.rag 6231
  def send_getAllFbbListedItems(self, ):
6232
    self._oprot.writeMessageBegin('getAllFbbListedItems', TMessageType.CALL, self._seqid)
6233
    args = getAllFbbListedItems_args()
6234
    args.write(self._oprot)
6235
    self._oprot.writeMessageEnd()
6236
    self._oprot.trans.flush()
6237
 
6238
  def recv_getAllFbbListedItems(self, ):
6239
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6240
    if mtype == TMessageType.EXCEPTION:
6241
      x = TApplicationException()
6242
      x.read(self._iprot)
6243
      self._iprot.readMessageEnd()
6244
      raise x
6245
    result = getAllFbbListedItems_result()
6246
    result.read(self._iprot)
6247
    self._iprot.readMessageEnd()
6248
    if result.success is not None:
6249
      return result.success
6250
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbListedItems failed: unknown result");
6251
 
10924 vikram.rag 6252
  def getAllFbbPricingItems(self, ):
6253
    self.send_getAllFbbPricingItems()
6254
    return self.recv_getAllFbbPricingItems()
10909 vikram.rag 6255
 
10924 vikram.rag 6256
  def send_getAllFbbPricingItems(self, ):
6257
    self._oprot.writeMessageBegin('getAllFbbPricingItems', TMessageType.CALL, self._seqid)
6258
    args = getAllFbbPricingItems_args()
6259
    args.write(self._oprot)
6260
    self._oprot.writeMessageEnd()
6261
    self._oprot.trans.flush()
6262
 
6263
  def recv_getAllFbbPricingItems(self, ):
6264
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6265
    if mtype == TMessageType.EXCEPTION:
6266
      x = TApplicationException()
6267
      x.read(self._iprot)
6268
      self._iprot.readMessageEnd()
6269
      raise x
6270
    result = getAllFbbPricingItems_result()
6271
    result.read(self._iprot)
6272
    self._iprot.readMessageEnd()
6273
    if result.success is not None:
6274
      return result.success
6275
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbPricingItems failed: unknown result");
6276
 
11015 kshitij.so 6277
  def getCountForMarketplaceHistory(self, source, itemId):
6278
    """
6279
    Parameters:
6280
     - source
6281
     - itemId
6282
    """
6283
    self.send_getCountForMarketplaceHistory(source, itemId)
6284
    return self.recv_getCountForMarketplaceHistory()
10924 vikram.rag 6285
 
11015 kshitij.so 6286
  def send_getCountForMarketplaceHistory(self, source, itemId):
6287
    self._oprot.writeMessageBegin('getCountForMarketplaceHistory', TMessageType.CALL, self._seqid)
6288
    args = getCountForMarketplaceHistory_args()
6289
    args.source = source
6290
    args.itemId = itemId
6291
    args.write(self._oprot)
6292
    self._oprot.writeMessageEnd()
6293
    self._oprot.trans.flush()
6294
 
6295
  def recv_getCountForMarketplaceHistory(self, ):
6296
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6297
    if mtype == TMessageType.EXCEPTION:
6298
      x = TApplicationException()
6299
      x.read(self._iprot)
6300
      self._iprot.readMessageEnd()
6301
      raise x
6302
    result = getCountForMarketplaceHistory_result()
6303
    result.read(self._iprot)
6304
    self._iprot.readMessageEnd()
6305
    if result.success is not None:
6306
      return result.success
6307
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForMarketplaceHistory failed: unknown result");
6308
 
6309
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6310
    """
6311
    Parameters:
6312
     - source
6313
     - startDate
6314
     - endDate
6315
     - offset
6316
     - limit
6317
     - itemId
6318
    """
6319
    self.send_getMarketplaceHistoryByDate(source, startDate, endDate, offset, limit, itemId)
6320
    return self.recv_getMarketplaceHistoryByDate()
6321
 
6322
  def send_getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6323
    self._oprot.writeMessageBegin('getMarketplaceHistoryByDate', TMessageType.CALL, self._seqid)
6324
    args = getMarketplaceHistoryByDate_args()
6325
    args.source = source
6326
    args.startDate = startDate
6327
    args.endDate = endDate
6328
    args.offset = offset
6329
    args.limit = limit
6330
    args.itemId = itemId
6331
    args.write(self._oprot)
6332
    self._oprot.writeMessageEnd()
6333
    self._oprot.trans.flush()
6334
 
6335
  def recv_getMarketplaceHistoryByDate(self, ):
6336
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6337
    if mtype == TMessageType.EXCEPTION:
6338
      x = TApplicationException()
6339
      x.read(self._iprot)
6340
      self._iprot.readMessageEnd()
6341
      raise x
6342
    result = getMarketplaceHistoryByDate_result()
6343
    result.read(self._iprot)
6344
    self._iprot.readMessageEnd()
6345
    if result.success is not None:
6346
      return result.success
6347
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistoryByDate failed: unknown result");
6348
 
11531 vikram.rag 6349
  def getPrivateDealDetails(self, item_id):
6350
    """
6351
    Parameters:
6352
     - item_id
6353
    """
6354
    self.send_getPrivateDealDetails(item_id)
6355
    return self.recv_getPrivateDealDetails()
11015 kshitij.so 6356
 
11531 vikram.rag 6357
  def send_getPrivateDealDetails(self, item_id):
6358
    self._oprot.writeMessageBegin('getPrivateDealDetails', TMessageType.CALL, self._seqid)
6359
    args = getPrivateDealDetails_args()
6360
    args.item_id = item_id
6361
    args.write(self._oprot)
6362
    self._oprot.writeMessageEnd()
6363
    self._oprot.trans.flush()
6364
 
6365
  def recv_getPrivateDealDetails(self, ):
6366
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6367
    if mtype == TMessageType.EXCEPTION:
6368
      x = TApplicationException()
6369
      x.read(self._iprot)
6370
      self._iprot.readMessageEnd()
6371
      raise x
6372
    result = getPrivateDealDetails_result()
6373
    result.read(self._iprot)
6374
    self._iprot.readMessageEnd()
6375
    if result.success is not None:
6376
      return result.success
6377
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealDetails failed: unknown result");
6378
 
6379
  def getPrivateDealItems(self, offset, limit):
6380
    """
6381
    Parameters:
6382
     - offset
6383
     - limit
6384
    """
6385
    self.send_getPrivateDealItems(offset, limit)
6386
    return self.recv_getPrivateDealItems()
6387
 
6388
  def send_getPrivateDealItems(self, offset, limit):
6389
    self._oprot.writeMessageBegin('getPrivateDealItems', TMessageType.CALL, self._seqid)
6390
    args = getPrivateDealItems_args()
6391
    args.offset = offset
6392
    args.limit = limit
6393
    args.write(self._oprot)
6394
    self._oprot.writeMessageEnd()
6395
    self._oprot.trans.flush()
6396
 
6397
  def recv_getPrivateDealItems(self, ):
6398
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6399
    if mtype == TMessageType.EXCEPTION:
6400
      x = TApplicationException()
6401
      x.read(self._iprot)
6402
      self._iprot.readMessageEnd()
6403
      raise x
6404
    result = getPrivateDealItems_result()
6405
    result.read(self._iprot)
6406
    self._iprot.readMessageEnd()
6407
    if result.success is not None:
6408
      return result.success
6409
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealItems failed: unknown result");
6410
 
11653 amit.gupta 6411
  def getAllActivePrivateDeals(self, itemIds, daysDelta):
6412
    """
6413
    Parameters:
6414
     - itemIds
6415
     - daysDelta
6416
    """
6417
    self.send_getAllActivePrivateDeals(itemIds, daysDelta)
11592 amit.gupta 6418
    return self.recv_getAllActivePrivateDeals()
6419
 
11653 amit.gupta 6420
  def send_getAllActivePrivateDeals(self, itemIds, daysDelta):
11592 amit.gupta 6421
    self._oprot.writeMessageBegin('getAllActivePrivateDeals', TMessageType.CALL, self._seqid)
6422
    args = getAllActivePrivateDeals_args()
11653 amit.gupta 6423
    args.itemIds = itemIds
6424
    args.daysDelta = daysDelta
11592 amit.gupta 6425
    args.write(self._oprot)
6426
    self._oprot.writeMessageEnd()
6427
    self._oprot.trans.flush()
6428
 
6429
  def recv_getAllActivePrivateDeals(self, ):
6430
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6431
    if mtype == TMessageType.EXCEPTION:
6432
      x = TApplicationException()
6433
      x.read(self._iprot)
6434
      self._iprot.readMessageEnd()
6435
      raise x
6436
    result = getAllActivePrivateDeals_result()
6437
    result.read(self._iprot)
6438
    self._iprot.readMessageEnd()
6439
    if result.success is not None:
6440
      return result.success
6441
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllActivePrivateDeals failed: unknown result");
6442
 
11531 vikram.rag 6443
  def addOrUpdatePrivateDeal(self, privateDeal):
6444
    """
6445
    Parameters:
6446
     - privateDeal
6447
    """
6448
    self.send_addOrUpdatePrivateDeal(privateDeal)
6449
    return self.recv_addOrUpdatePrivateDeal()
6450
 
6451
  def send_addOrUpdatePrivateDeal(self, privateDeal):
6452
    self._oprot.writeMessageBegin('addOrUpdatePrivateDeal', TMessageType.CALL, self._seqid)
6453
    args = addOrUpdatePrivateDeal_args()
6454
    args.privateDeal = privateDeal
6455
    args.write(self._oprot)
6456
    self._oprot.writeMessageEnd()
6457
    self._oprot.trans.flush()
6458
 
6459
  def recv_addOrUpdatePrivateDeal(self, ):
6460
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6461
    if mtype == TMessageType.EXCEPTION:
6462
      x = TApplicationException()
6463
      x.read(self._iprot)
6464
      self._iprot.readMessageEnd()
6465
      raise x
6466
    result = addOrUpdatePrivateDeal_result()
6467
    result.read(self._iprot)
6468
    self._iprot.readMessageEnd()
6469
    if result.success is not None:
6470
      return result.success
6471
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdatePrivateDeal failed: unknown result");
6472
 
11635 vikram.rag 6473
  def getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6474
    """
6475
    Parameters:
6476
     - beginIndex
6477
     - totalItems
6478
    """
6479
    self.send_getPrivateDealsCatalogIds(beginIndex, totalItems)
6480
    return self.recv_getPrivateDealsCatalogIds()
11531 vikram.rag 6481
 
11635 vikram.rag 6482
  def send_getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6483
    self._oprot.writeMessageBegin('getPrivateDealsCatalogIds', TMessageType.CALL, self._seqid)
6484
    args = getPrivateDealsCatalogIds_args()
6485
    args.beginIndex = beginIndex
6486
    args.totalItems = totalItems
6487
    args.write(self._oprot)
6488
    self._oprot.writeMessageEnd()
6489
    self._oprot.trans.flush()
6490
 
6491
  def recv_getPrivateDealsCatalogIds(self, ):
6492
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6493
    if mtype == TMessageType.EXCEPTION:
6494
      x = TApplicationException()
6495
      x.read(self._iprot)
6496
      self._iprot.readMessageEnd()
6497
      raise x
6498
    result = getPrivateDealsCatalogIds_result()
6499
    result.read(self._iprot)
6500
    self._iprot.readMessageEnd()
6501
    if result.success is not None:
6502
      return result.success
6503
    if result.cex is not None:
6504
      raise result.cex
6505
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCatalogIds failed: unknown result");
6506
 
11645 amit.gupta 6507
  def getPrivateDealsCount(self, ):
6508
    self.send_getPrivateDealsCount()
6509
    return self.recv_getPrivateDealsCount()
11635 vikram.rag 6510
 
11645 amit.gupta 6511
  def send_getPrivateDealsCount(self, ):
6512
    self._oprot.writeMessageBegin('getPrivateDealsCount', TMessageType.CALL, self._seqid)
6513
    args = getPrivateDealsCount_args()
6514
    args.write(self._oprot)
6515
    self._oprot.writeMessageEnd()
6516
    self._oprot.trans.flush()
6517
 
6518
  def recv_getPrivateDealsCount(self, ):
6519
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6520
    if mtype == TMessageType.EXCEPTION:
6521
      x = TApplicationException()
6522
      x.read(self._iprot)
6523
      self._iprot.readMessageEnd()
6524
      raise x
6525
    result = getPrivateDealsCount_result()
6526
    result.read(self._iprot)
6527
    self._iprot.readMessageEnd()
6528
    if result.success is not None:
6529
      return result.success
6530
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCount failed: unknown result");
6531
 
11905 kshitij.so 6532
  def getAmazonOutSyncItems(self, item_id):
6533
    """
6534
    Parameters:
6535
     - item_id
6536
    """
6537
    self.send_getAmazonOutSyncItems(item_id)
6538
    return self.recv_getAmazonOutSyncItems()
11645 amit.gupta 6539
 
11905 kshitij.so 6540
  def send_getAmazonOutSyncItems(self, item_id):
6541
    self._oprot.writeMessageBegin('getAmazonOutSyncItems', TMessageType.CALL, self._seqid)
6542
    args = getAmazonOutSyncItems_args()
6543
    args.item_id = item_id
6544
    args.write(self._oprot)
6545
    self._oprot.writeMessageEnd()
6546
    self._oprot.trans.flush()
6547
 
6548
  def recv_getAmazonOutSyncItems(self, ):
6549
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6550
    if mtype == TMessageType.EXCEPTION:
6551
      x = TApplicationException()
6552
      x.read(self._iprot)
6553
      self._iprot.readMessageEnd()
6554
      raise x
6555
    result = getAmazonOutSyncItems_result()
6556
    result.read(self._iprot)
6557
    self._iprot.readMessageEnd()
6558
    if result.success is not None:
6559
      return result.success
6560
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonOutSyncItems failed: unknown result");
6561
 
6562
  def getAllPrivateDealsComparison(self, ):
6563
    self.send_getAllPrivateDealsComparison()
6564
    return self.recv_getAllPrivateDealsComparison()
6565
 
6566
  def send_getAllPrivateDealsComparison(self, ):
6567
    self._oprot.writeMessageBegin('getAllPrivateDealsComparison', TMessageType.CALL, self._seqid)
6568
    args = getAllPrivateDealsComparison_args()
6569
    args.write(self._oprot)
6570
    self._oprot.writeMessageEnd()
6571
    self._oprot.trans.flush()
6572
 
6573
  def recv_getAllPrivateDealsComparison(self, ):
6574
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6575
    if mtype == TMessageType.EXCEPTION:
6576
      x = TApplicationException()
6577
      x.read(self._iprot)
6578
      self._iprot.readMessageEnd()
6579
      raise x
6580
    result = getAllPrivateDealsComparison_result()
6581
    result.read(self._iprot)
6582
    self._iprot.readMessageEnd()
6583
    if result.success is not None:
6584
      return result.success
6585
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllPrivateDealsComparison failed: unknown result");
6586
 
12133 kshitij.so 6587
  def getAllSnapdealMarketplaceItem(self, ):
6588
    self.send_getAllSnapdealMarketplaceItem()
6589
    return self.recv_getAllSnapdealMarketplaceItem()
11905 kshitij.so 6590
 
12133 kshitij.so 6591
  def send_getAllSnapdealMarketplaceItem(self, ):
6592
    self._oprot.writeMessageBegin('getAllSnapdealMarketplaceItem', TMessageType.CALL, self._seqid)
6593
    args = getAllSnapdealMarketplaceItem_args()
6594
    args.write(self._oprot)
6595
    self._oprot.writeMessageEnd()
6596
    self._oprot.trans.flush()
6597
 
6598
  def recv_getAllSnapdealMarketplaceItem(self, ):
6599
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6600
    if mtype == TMessageType.EXCEPTION:
6601
      x = TApplicationException()
6602
      x.read(self._iprot)
6603
      self._iprot.readMessageEnd()
6604
      raise x
6605
    result = getAllSnapdealMarketplaceItem_result()
6606
    result.read(self._iprot)
6607
    self._iprot.readMessageEnd()
6608
    if result.success is not None:
6609
      return result.success
6610
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealMarketplaceItem failed: unknown result");
6611
 
6612
  def getAllFlipkartMarketplaceItem(self, ):
6613
    self.send_getAllFlipkartMarketplaceItem()
6614
    return self.recv_getAllFlipkartMarketplaceItem()
6615
 
6616
  def send_getAllFlipkartMarketplaceItem(self, ):
6617
    self._oprot.writeMessageBegin('getAllFlipkartMarketplaceItem', TMessageType.CALL, self._seqid)
6618
    args = getAllFlipkartMarketplaceItem_args()
6619
    args.write(self._oprot)
6620
    self._oprot.writeMessageEnd()
6621
    self._oprot.trans.flush()
6622
 
6623
  def recv_getAllFlipkartMarketplaceItem(self, ):
6624
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6625
    if mtype == TMessageType.EXCEPTION:
6626
      x = TApplicationException()
6627
      x.read(self._iprot)
6628
      self._iprot.readMessageEnd()
6629
      raise x
6630
    result = getAllFlipkartMarketplaceItem_result()
6631
    result.read(self._iprot)
6632
    self._iprot.readMessageEnd()
6633
    if result.success is not None:
6634
      return result.success
6635
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartMarketplaceItem failed: unknown result");
6636
 
12243 kshitij.so 6637
  def addCompetitorScraping(self, competitorPricingMap):
6638
    """
6639
    Parameters:
6640
     - competitorPricingMap
6641
    """
6642
    self.send_addCompetitorScraping(competitorPricingMap)
6643
    self.recv_addCompetitorScraping()
12133 kshitij.so 6644
 
12243 kshitij.so 6645
  def send_addCompetitorScraping(self, competitorPricingMap):
6646
    self._oprot.writeMessageBegin('addCompetitorScraping', TMessageType.CALL, self._seqid)
6647
    args = addCompetitorScraping_args()
6648
    args.competitorPricingMap = competitorPricingMap
6649
    args.write(self._oprot)
6650
    self._oprot.writeMessageEnd()
6651
    self._oprot.trans.flush()
6652
 
6653
  def recv_addCompetitorScraping(self, ):
6654
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6655
    if mtype == TMessageType.EXCEPTION:
6656
      x = TApplicationException()
6657
      x.read(self._iprot)
6658
      self._iprot.readMessageEnd()
6659
      raise x
6660
    result = addCompetitorScraping_result()
6661
    result.read(self._iprot)
6662
    self._iprot.readMessageEnd()
6663
    return
6664
 
6665
  def getPreviousCompetitorScraping(self, delta):
6666
    """
6667
    Parameters:
6668
     - delta
6669
    """
6670
    self.send_getPreviousCompetitorScraping(delta)
6671
    return self.recv_getPreviousCompetitorScraping()
6672
 
6673
  def send_getPreviousCompetitorScraping(self, delta):
6674
    self._oprot.writeMessageBegin('getPreviousCompetitorScraping', TMessageType.CALL, self._seqid)
6675
    args = getPreviousCompetitorScraping_args()
6676
    args.delta = delta
6677
    args.write(self._oprot)
6678
    self._oprot.writeMessageEnd()
6679
    self._oprot.trans.flush()
6680
 
6681
  def recv_getPreviousCompetitorScraping(self, ):
6682
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6683
    if mtype == TMessageType.EXCEPTION:
6684
      x = TApplicationException()
6685
      x.read(self._iprot)
6686
      self._iprot.readMessageEnd()
6687
      raise x
6688
    result = getPreviousCompetitorScraping_result()
6689
    result.read(self._iprot)
6690
    self._iprot.readMessageEnd()
6691
    if result.success is not None:
6692
      return result.success
6693
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPreviousCompetitorScraping failed: unknown result");
6694
 
12256 kshitij.so 6695
  def getUploadResultById(self, uploadId):
6696
    """
6697
    Parameters:
6698
     - uploadId
6699
    """
6700
    self.send_getUploadResultById(uploadId)
6701
    return self.recv_getUploadResultById()
12243 kshitij.so 6702
 
12256 kshitij.so 6703
  def send_getUploadResultById(self, uploadId):
6704
    self._oprot.writeMessageBegin('getUploadResultById', TMessageType.CALL, self._seqid)
6705
    args = getUploadResultById_args()
6706
    args.uploadId = uploadId
6707
    args.write(self._oprot)
6708
    self._oprot.writeMessageEnd()
6709
    self._oprot.trans.flush()
6710
 
6711
  def recv_getUploadResultById(self, ):
6712
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6713
    if mtype == TMessageType.EXCEPTION:
6714
      x = TApplicationException()
6715
      x.read(self._iprot)
6716
      self._iprot.readMessageEnd()
6717
      raise x
6718
    result = getUploadResultById_result()
6719
    result.read(self._iprot)
6720
    self._iprot.readMessageEnd()
6721
    if result.success is not None:
6722
      return result.success
6723
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUploadResultById failed: unknown result");
6724
 
12363 kshitij.so 6725
  def addAmazonPromotion(self, amazonPromotions):
6726
    """
6727
    Parameters:
6728
     - amazonPromotions
6729
    """
6730
    self.send_addAmazonPromotion(amazonPromotions)
6731
    return self.recv_addAmazonPromotion()
12256 kshitij.so 6732
 
12363 kshitij.so 6733
  def send_addAmazonPromotion(self, amazonPromotions):
6734
    self._oprot.writeMessageBegin('addAmazonPromotion', TMessageType.CALL, self._seqid)
6735
    args = addAmazonPromotion_args()
6736
    args.amazonPromotions = amazonPromotions
6737
    args.write(self._oprot)
6738
    self._oprot.writeMessageEnd()
6739
    self._oprot.trans.flush()
6740
 
6741
  def recv_addAmazonPromotion(self, ):
6742
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6743
    if mtype == TMessageType.EXCEPTION:
6744
      x = TApplicationException()
6745
      x.read(self._iprot)
6746
      self._iprot.readMessageEnd()
6747
      raise x
6748
    result = addAmazonPromotion_result()
6749
    result.read(self._iprot)
6750
    self._iprot.readMessageEnd()
6751
    if result.success is not None:
6752
      return result.success
12947 kshitij.so 6753
    if result.cex is not None:
6754
      raise result.cex
12363 kshitij.so 6755
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAmazonPromotion failed: unknown result");
6756
 
6757
  def getAmazonPromotion(self, startDate, endDate):
6758
    """
6759
    Parameters:
6760
     - startDate
6761
     - endDate
6762
    """
6763
    self.send_getAmazonPromotion(startDate, endDate)
6764
    return self.recv_getAmazonPromotion()
6765
 
6766
  def send_getAmazonPromotion(self, startDate, endDate):
6767
    self._oprot.writeMessageBegin('getAmazonPromotion', TMessageType.CALL, self._seqid)
6768
    args = getAmazonPromotion_args()
6769
    args.startDate = startDate
6770
    args.endDate = endDate
6771
    args.write(self._oprot)
6772
    self._oprot.writeMessageEnd()
6773
    self._oprot.trans.flush()
6774
 
6775
  def recv_getAmazonPromotion(self, ):
6776
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6777
    if mtype == TMessageType.EXCEPTION:
6778
      x = TApplicationException()
6779
      x.read(self._iprot)
6780
      self._iprot.readMessageEnd()
6781
      raise x
6782
    result = getAmazonPromotion_result()
6783
    result.read(self._iprot)
6784
    self._iprot.readMessageEnd()
6785
    if result.success is not None:
6786
      return result.success
6787
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonPromotion failed: unknown result");
6788
 
6789
  def updateAmazonPromotion(self, amazonPromotions):
6790
    """
6791
    Parameters:
6792
     - amazonPromotions
6793
    """
6794
    self.send_updateAmazonPromotion(amazonPromotions)
6795
    return self.recv_updateAmazonPromotion()
6796
 
6797
  def send_updateAmazonPromotion(self, amazonPromotions):
6798
    self._oprot.writeMessageBegin('updateAmazonPromotion', TMessageType.CALL, self._seqid)
6799
    args = updateAmazonPromotion_args()
6800
    args.amazonPromotions = amazonPromotions
6801
    args.write(self._oprot)
6802
    self._oprot.writeMessageEnd()
6803
    self._oprot.trans.flush()
6804
 
6805
  def recv_updateAmazonPromotion(self, ):
6806
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6807
    if mtype == TMessageType.EXCEPTION:
6808
      x = TApplicationException()
6809
      x.read(self._iprot)
6810
      self._iprot.readMessageEnd()
6811
      raise x
6812
    result = updateAmazonPromotion_result()
6813
    result.read(self._iprot)
6814
    self._iprot.readMessageEnd()
6815
    if result.success is not None:
6816
      return result.success
6817
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonPromotion failed: unknown result");
6818
 
12567 amit.gupta 6819
  def markPartiallyActive(self, itemId, categoryId):
6820
    """
6821
    Parameters:
6822
     - itemId
6823
     - categoryId
6824
    """
6825
    self.send_markPartiallyActive(itemId, categoryId)
6826
    return self.recv_markPartiallyActive()
12363 kshitij.so 6827
 
12567 amit.gupta 6828
  def send_markPartiallyActive(self, itemId, categoryId):
6829
    self._oprot.writeMessageBegin('markPartiallyActive', TMessageType.CALL, self._seqid)
6830
    args = markPartiallyActive_args()
6831
    args.itemId = itemId
6832
    args.categoryId = categoryId
6833
    args.write(self._oprot)
6834
    self._oprot.writeMessageEnd()
6835
    self._oprot.trans.flush()
6836
 
6837
  def recv_markPartiallyActive(self, ):
6838
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6839
    if mtype == TMessageType.EXCEPTION:
6840
      x = TApplicationException()
6841
      x.read(self._iprot)
6842
      self._iprot.readMessageEnd()
6843
      raise x
6844
    result = markPartiallyActive_result()
6845
    result.read(self._iprot)
6846
    self._iprot.readMessageEnd()
6847
    if result.success is not None:
6848
      return result.success
6849
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markPartiallyActive failed: unknown result");
6850
 
6851
  def updateItemStateVat(self, itemId, statevat):
6852
    """
6853
    Parameters:
6854
     - itemId
6855
     - statevat
6856
    """
6857
    self.send_updateItemStateVat(itemId, statevat)
6858
    return self.recv_updateItemStateVat()
6859
 
6860
  def send_updateItemStateVat(self, itemId, statevat):
6861
    self._oprot.writeMessageBegin('updateItemStateVat', TMessageType.CALL, self._seqid)
6862
    args = updateItemStateVat_args()
6863
    args.itemId = itemId
6864
    args.statevat = statevat
6865
    args.write(self._oprot)
6866
    self._oprot.writeMessageEnd()
6867
    self._oprot.trans.flush()
6868
 
6869
  def recv_updateItemStateVat(self, ):
6870
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6871
    if mtype == TMessageType.EXCEPTION:
6872
      x = TApplicationException()
6873
      x.read(self._iprot)
6874
      self._iprot.readMessageEnd()
6875
      raise x
6876
    result = updateItemStateVat_result()
6877
    result.read(self._iprot)
6878
    self._iprot.readMessageEnd()
6879
    if result.success is not None:
6880
      return result.success
6881
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemStateVat failed: unknown result");
6882
 
12620 amit.gupta 6883
  def getExAffiliateItemInfo(self, ):
6884
    self.send_getExAffiliateItemInfo()
6885
    return self.recv_getExAffiliateItemInfo()
12567 amit.gupta 6886
 
12620 amit.gupta 6887
  def send_getExAffiliateItemInfo(self, ):
6888
    self._oprot.writeMessageBegin('getExAffiliateItemInfo', TMessageType.CALL, self._seqid)
6889
    args = getExAffiliateItemInfo_args()
6890
    args.write(self._oprot)
6891
    self._oprot.writeMessageEnd()
6892
    self._oprot.trans.flush()
6893
 
6894
  def recv_getExAffiliateItemInfo(self, ):
6895
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6896
    if mtype == TMessageType.EXCEPTION:
6897
      x = TApplicationException()
6898
      x.read(self._iprot)
6899
      self._iprot.readMessageEnd()
6900
      raise x
6901
    result = getExAffiliateItemInfo_result()
6902
    result.read(self._iprot)
6903
    self._iprot.readMessageEnd()
6904
    if result.success is not None:
6905
      return result.success
6906
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getExAffiliateItemInfo failed: unknown result");
6907
 
12888 kshitij.so 6908
  def getAllItemstoListOnFbg(self, ):
6909
    self.send_getAllItemstoListOnFbg()
6910
    return self.recv_getAllItemstoListOnFbg()
12620 amit.gupta 6911
 
12888 kshitij.so 6912
  def send_getAllItemstoListOnFbg(self, ):
6913
    self._oprot.writeMessageBegin('getAllItemstoListOnFbg', TMessageType.CALL, self._seqid)
6914
    args = getAllItemstoListOnFbg_args()
6915
    args.write(self._oprot)
6916
    self._oprot.writeMessageEnd()
6917
    self._oprot.trans.flush()
6918
 
6919
  def recv_getAllItemstoListOnFbg(self, ):
6920
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6921
    if mtype == TMessageType.EXCEPTION:
6922
      x = TApplicationException()
6923
      x.read(self._iprot)
6924
      self._iprot.readMessageEnd()
6925
      raise x
6926
    result = getAllItemstoListOnFbg_result()
6927
    result.read(self._iprot)
6928
    self._iprot.readMessageEnd()
6929
    if result.success is not None:
6930
      return result.success
6931
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFbg failed: unknown result");
6932
 
12892 kshitij.so 6933
  def getAllFbgListedItems(self, ):
6934
    self.send_getAllFbgListedItems()
6935
    return self.recv_getAllFbgListedItems()
12888 kshitij.so 6936
 
12892 kshitij.so 6937
  def send_getAllFbgListedItems(self, ):
6938
    self._oprot.writeMessageBegin('getAllFbgListedItems', TMessageType.CALL, self._seqid)
6939
    args = getAllFbgListedItems_args()
6940
    args.write(self._oprot)
6941
    self._oprot.writeMessageEnd()
6942
    self._oprot.trans.flush()
6943
 
6944
  def recv_getAllFbgListedItems(self, ):
6945
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6946
    if mtype == TMessageType.EXCEPTION:
6947
      x = TApplicationException()
6948
      x.read(self._iprot)
6949
      self._iprot.readMessageEnd()
6950
      raise x
6951
    result = getAllFbgListedItems_result()
6952
    result.read(self._iprot)
6953
    self._iprot.readMessageEnd()
6954
    if result.success is not None:
6955
      return result.success
6956
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbgListedItems failed: unknown result");
6957
 
13136 amit.gupta 6958
  def checkServices(self, lines):
6959
    """
6960
    Parameters:
6961
     - lines
6962
    """
6963
    self.send_checkServices(lines)
6964
    return self.recv_checkServices()
12892 kshitij.so 6965
 
13136 amit.gupta 6966
  def send_checkServices(self, lines):
6967
    self._oprot.writeMessageBegin('checkServices', TMessageType.CALL, self._seqid)
6968
    args = checkServices_args()
6969
    args.lines = lines
6970
    args.write(self._oprot)
6971
    self._oprot.writeMessageEnd()
6972
    self._oprot.trans.flush()
6973
 
6974
  def recv_checkServices(self, ):
6975
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6976
    if mtype == TMessageType.EXCEPTION:
6977
      x = TApplicationException()
6978
      x.read(self._iprot)
6979
      self._iprot.readMessageEnd()
6980
      raise x
6981
    result = checkServices_result()
6982
    result.read(self._iprot)
6983
    self._iprot.readMessageEnd()
6984
    if result.success is not None:
6985
      return result.success
6986
    if result.cex is not None:
6987
      raise result.cex
6988
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkServices failed: unknown result");
6989
 
13709 manish.sha 6990
  def addHsItem(self, hsItems):
6991
    """
6992
    Parameters:
6993
     - hsItems
6994
    """
6995
    self.send_addHsItem(hsItems)
6996
    self.recv_addHsItem()
13136 amit.gupta 6997
 
13709 manish.sha 6998
  def send_addHsItem(self, hsItems):
6999
    self._oprot.writeMessageBegin('addHsItem', TMessageType.CALL, self._seqid)
7000
    args = addHsItem_args()
7001
    args.hsItems = hsItems
7002
    args.write(self._oprot)
7003
    self._oprot.writeMessageEnd()
7004
    self._oprot.trans.flush()
7005
 
7006
  def recv_addHsItem(self, ):
7007
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7008
    if mtype == TMessageType.EXCEPTION:
7009
      x = TApplicationException()
7010
      x.read(self._iprot)
7011
      self._iprot.readMessageEnd()
7012
      raise x
7013
    result = addHsItem_result()
7014
    result.read(self._iprot)
7015
    self._iprot.readMessageEnd()
7016
    return
7017
 
7018
  def getHsItem(self, hsItemId):
7019
    """
7020
    Parameters:
7021
     - hsItemId
7022
    """
7023
    self.send_getHsItem(hsItemId)
7024
    return self.recv_getHsItem()
7025
 
7026
  def send_getHsItem(self, hsItemId):
7027
    self._oprot.writeMessageBegin('getHsItem', TMessageType.CALL, self._seqid)
7028
    args = getHsItem_args()
7029
    args.hsItemId = hsItemId
7030
    args.write(self._oprot)
7031
    self._oprot.writeMessageEnd()
7032
    self._oprot.trans.flush()
7033
 
7034
  def recv_getHsItem(self, ):
7035
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7036
    if mtype == TMessageType.EXCEPTION:
7037
      x = TApplicationException()
7038
      x.read(self._iprot)
7039
      self._iprot.readMessageEnd()
7040
      raise x
7041
    result = getHsItem_result()
7042
    result.read(self._iprot)
7043
    self._iprot.readMessageEnd()
7044
    if result.success is not None:
7045
      return result.success
7046
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getHsItem failed: unknown result");
7047
 
7048
  def updateHsItem(self, hsItem):
7049
    """
7050
    Parameters:
7051
     - hsItem
7052
    """
7053
    self.send_updateHsItem(hsItem)
7054
    self.recv_updateHsItem()
7055
 
7056
  def send_updateHsItem(self, hsItem):
7057
    self._oprot.writeMessageBegin('updateHsItem', TMessageType.CALL, self._seqid)
7058
    args = updateHsItem_args()
7059
    args.hsItem = hsItem
7060
    args.write(self._oprot)
7061
    self._oprot.writeMessageEnd()
7062
    self._oprot.trans.flush()
7063
 
7064
  def recv_updateHsItem(self, ):
7065
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7066
    if mtype == TMessageType.EXCEPTION:
7067
      x = TApplicationException()
7068
      x.read(self._iprot)
7069
      self._iprot.readMessageEnd()
7070
      raise x
7071
    result = updateHsItem_result()
7072
    result.read(self._iprot)
7073
    self._iprot.readMessageEnd()
7074
    return
7075
 
14182 kshitij.so 7076
  def getPricingForDtr(self, catalogItemId):
7077
    """
7078
    Parameters:
7079
     - catalogItemId
7080
    """
7081
    self.send_getPricingForDtr(catalogItemId)
7082
    return self.recv_getPricingForDtr()
13709 manish.sha 7083
 
14182 kshitij.so 7084
  def send_getPricingForDtr(self, catalogItemId):
7085
    self._oprot.writeMessageBegin('getPricingForDtr', TMessageType.CALL, self._seqid)
7086
    args = getPricingForDtr_args()
7087
    args.catalogItemId = catalogItemId
7088
    args.write(self._oprot)
7089
    self._oprot.writeMessageEnd()
7090
    self._oprot.trans.flush()
7091
 
7092
  def recv_getPricingForDtr(self, ):
7093
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7094
    if mtype == TMessageType.EXCEPTION:
7095
      x = TApplicationException()
7096
      x.read(self._iprot)
7097
      self._iprot.readMessageEnd()
7098
      raise x
7099
    result = getPricingForDtr_result()
7100
    result.read(self._iprot)
7101
    self._iprot.readMessageEnd()
7102
    if result.success is not None:
7103
      return result.success
7104
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPricingForDtr failed: unknown result");
7105
 
15702 kshitij.so 7106
  def getAllItemstoListOnFbd(self, ):
7107
    self.send_getAllItemstoListOnFbd()
7108
    return self.recv_getAllItemstoListOnFbd()
14182 kshitij.so 7109
 
15702 kshitij.so 7110
  def send_getAllItemstoListOnFbd(self, ):
7111
    self._oprot.writeMessageBegin('getAllItemstoListOnFbd', TMessageType.CALL, self._seqid)
7112
    args = getAllItemstoListOnFbd_args()
7113
    args.write(self._oprot)
7114
    self._oprot.writeMessageEnd()
7115
    self._oprot.trans.flush()
7116
 
7117
  def recv_getAllItemstoListOnFbd(self, ):
7118
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7119
    if mtype == TMessageType.EXCEPTION:
7120
      x = TApplicationException()
7121
      x.read(self._iprot)
7122
      self._iprot.readMessageEnd()
7123
      raise x
7124
    result = getAllItemstoListOnFbd_result()
7125
    result.read(self._iprot)
7126
    self._iprot.readMessageEnd()
7127
    if result.success is not None:
7128
      return result.success
7129
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFbd failed: unknown result");
7130
 
15706 kshitij.so 7131
  def getAllFbdListedItems(self, ):
7132
    self.send_getAllFbdListedItems()
7133
    return self.recv_getAllFbdListedItems()
15702 kshitij.so 7134
 
15706 kshitij.so 7135
  def send_getAllFbdListedItems(self, ):
7136
    self._oprot.writeMessageBegin('getAllFbdListedItems', TMessageType.CALL, self._seqid)
7137
    args = getAllFbdListedItems_args()
7138
    args.write(self._oprot)
7139
    self._oprot.writeMessageEnd()
7140
    self._oprot.trans.flush()
7141
 
7142
  def recv_getAllFbdListedItems(self, ):
7143
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7144
    if mtype == TMessageType.EXCEPTION:
7145
      x = TApplicationException()
7146
      x.read(self._iprot)
7147
      self._iprot.readMessageEnd()
7148
      raise x
7149
    result = getAllFbdListedItems_result()
7150
    result.read(self._iprot)
7151
    self._iprot.readMessageEnd()
7152
    if result.success is not None:
7153
      return result.success
7154
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbdListedItems failed: unknown result");
7155
 
18150 kshitij.so 7156
  def getBulkPricingForItems(self, itemIds):
7157
    """
7158
    Parameters:
7159
     - itemIds
7160
    """
7161
    self.send_getBulkPricingForItems(itemIds)
7162
    return self.recv_getBulkPricingForItems()
15706 kshitij.so 7163
 
18150 kshitij.so 7164
  def send_getBulkPricingForItems(self, itemIds):
7165
    self._oprot.writeMessageBegin('getBulkPricingForItems', TMessageType.CALL, self._seqid)
7166
    args = getBulkPricingForItems_args()
7167
    args.itemIds = itemIds
7168
    args.write(self._oprot)
7169
    self._oprot.writeMessageEnd()
7170
    self._oprot.trans.flush()
7171
 
7172
  def recv_getBulkPricingForItems(self, ):
7173
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7174
    if mtype == TMessageType.EXCEPTION:
7175
      x = TApplicationException()
7176
      x.read(self._iprot)
7177
      self._iprot.readMessageEnd()
7178
      raise x
7179
    result = getBulkPricingForItems_result()
7180
    result.read(self._iprot)
7181
    self._iprot.readMessageEnd()
7182
    if result.success is not None:
7183
      return result.success
7184
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBulkPricingForItems failed: unknown result");
7185
 
7186
  def addBulkPricingForItem(self, bulkItemPricing):
7187
    """
7188
    Parameters:
7189
     - bulkItemPricing
7190
    """
7191
    self.send_addBulkPricingForItem(bulkItemPricing)
7192
    return self.recv_addBulkPricingForItem()
7193
 
7194
  def send_addBulkPricingForItem(self, bulkItemPricing):
7195
    self._oprot.writeMessageBegin('addBulkPricingForItem', TMessageType.CALL, self._seqid)
7196
    args = addBulkPricingForItem_args()
7197
    args.bulkItemPricing = bulkItemPricing
7198
    args.write(self._oprot)
7199
    self._oprot.writeMessageEnd()
7200
    self._oprot.trans.flush()
7201
 
7202
  def recv_addBulkPricingForItem(self, ):
7203
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7204
    if mtype == TMessageType.EXCEPTION:
7205
      x = TApplicationException()
7206
      x.read(self._iprot)
7207
      self._iprot.readMessageEnd()
7208
      raise x
7209
    result = addBulkPricingForItem_result()
7210
    result.read(self._iprot)
7211
    self._iprot.readMessageEnd()
7212
    if result.success is not None:
7213
      return result.success
7214
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBulkPricingForItem failed: unknown result");
7215
 
7216
  def deleteBulkPricingForItemById(self, id):
7217
    """
7218
    Parameters:
7219
     - id
7220
    """
7221
    self.send_deleteBulkPricingForItemById(id)
7222
    return self.recv_deleteBulkPricingForItemById()
7223
 
7224
  def send_deleteBulkPricingForItemById(self, id):
7225
    self._oprot.writeMessageBegin('deleteBulkPricingForItemById', TMessageType.CALL, self._seqid)
7226
    args = deleteBulkPricingForItemById_args()
7227
    args.id = id
7228
    args.write(self._oprot)
7229
    self._oprot.writeMessageEnd()
7230
    self._oprot.trans.flush()
7231
 
7232
  def recv_deleteBulkPricingForItemById(self, ):
7233
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7234
    if mtype == TMessageType.EXCEPTION:
7235
      x = TApplicationException()
7236
      x.read(self._iprot)
7237
      self._iprot.readMessageEnd()
7238
      raise x
7239
    result = deleteBulkPricingForItemById_result()
7240
    result.read(self._iprot)
7241
    self._iprot.readMessageEnd()
7242
    if result.success is not None:
7243
      return result.success
7244
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBulkPricingForItemById failed: unknown result");
7245
 
7246
  def deleteBulkPricingForItem(self, item_id):
7247
    """
7248
    Parameters:
7249
     - item_id
7250
    """
7251
    self.send_deleteBulkPricingForItem(item_id)
7252
    return self.recv_deleteBulkPricingForItem()
7253
 
7254
  def send_deleteBulkPricingForItem(self, item_id):
7255
    self._oprot.writeMessageBegin('deleteBulkPricingForItem', TMessageType.CALL, self._seqid)
7256
    args = deleteBulkPricingForItem_args()
7257
    args.item_id = item_id
7258
    args.write(self._oprot)
7259
    self._oprot.writeMessageEnd()
7260
    self._oprot.trans.flush()
7261
 
7262
  def recv_deleteBulkPricingForItem(self, ):
7263
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7264
    if mtype == TMessageType.EXCEPTION:
7265
      x = TApplicationException()
7266
      x.read(self._iprot)
7267
      self._iprot.readMessageEnd()
7268
      raise x
7269
    result = deleteBulkPricingForItem_result()
7270
    result.read(self._iprot)
7271
    self._iprot.readMessageEnd()
7272
    if result.success is not None:
7273
      return result.success
7274
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBulkPricingForItem failed: unknown result");
7275
 
7276
  def getBulkPricingByItemId(self, item_id):
7277
    """
7278
    Parameters:
7279
     - item_id
7280
    """
7281
    self.send_getBulkPricingByItemId(item_id)
7282
    return self.recv_getBulkPricingByItemId()
7283
 
7284
  def send_getBulkPricingByItemId(self, item_id):
7285
    self._oprot.writeMessageBegin('getBulkPricingByItemId', TMessageType.CALL, self._seqid)
7286
    args = getBulkPricingByItemId_args()
7287
    args.item_id = item_id
7288
    args.write(self._oprot)
7289
    self._oprot.writeMessageEnd()
7290
    self._oprot.trans.flush()
7291
 
7292
  def recv_getBulkPricingByItemId(self, ):
7293
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7294
    if mtype == TMessageType.EXCEPTION:
7295
      x = TApplicationException()
7296
      x.read(self._iprot)
7297
      self._iprot.readMessageEnd()
7298
      raise x
7299
    result = getBulkPricingByItemId_result()
7300
    result.read(self._iprot)
7301
    self._iprot.readMessageEnd()
7302
    if result.success is not None:
7303
      return result.success
7304
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBulkPricingByItemId failed: unknown result");
7305
 
18602 kshitij.so 7306
  def updateBulkPricesOnProduction(self, item_id, bulkItemPricingList):
7307
    """
7308
    Parameters:
7309
     - item_id
7310
     - bulkItemPricingList
7311
    """
7312
    self.send_updateBulkPricesOnProduction(item_id, bulkItemPricingList)
7313
    return self.recv_updateBulkPricesOnProduction()
18150 kshitij.so 7314
 
18602 kshitij.so 7315
  def send_updateBulkPricesOnProduction(self, item_id, bulkItemPricingList):
7316
    self._oprot.writeMessageBegin('updateBulkPricesOnProduction', TMessageType.CALL, self._seqid)
7317
    args = updateBulkPricesOnProduction_args()
7318
    args.item_id = item_id
7319
    args.bulkItemPricingList = bulkItemPricingList
7320
    args.write(self._oprot)
7321
    self._oprot.writeMessageEnd()
7322
    self._oprot.trans.flush()
7323
 
7324
  def recv_updateBulkPricesOnProduction(self, ):
7325
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7326
    if mtype == TMessageType.EXCEPTION:
7327
      x = TApplicationException()
7328
      x.read(self._iprot)
7329
      self._iprot.readMessageEnd()
7330
      raise x
7331
    result = updateBulkPricesOnProduction_result()
7332
    result.read(self._iprot)
7333
    self._iprot.readMessageEnd()
7334
    if result.success is not None:
7335
      return result.success
7336
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBulkPricesOnProduction failed: unknown result");
7337
 
18764 kshitij.so 7338
  def getCartByValue(self, cartIds):
7339
    """
7340
    Parameters:
7341
     - cartIds
7342
    """
7343
    self.send_getCartByValue(cartIds)
7344
    return self.recv_getCartByValue()
18602 kshitij.so 7345
 
18764 kshitij.so 7346
  def send_getCartByValue(self, cartIds):
7347
    self._oprot.writeMessageBegin('getCartByValue', TMessageType.CALL, self._seqid)
7348
    args = getCartByValue_args()
7349
    args.cartIds = cartIds
7350
    args.write(self._oprot)
7351
    self._oprot.writeMessageEnd()
7352
    self._oprot.trans.flush()
7353
 
7354
  def recv_getCartByValue(self, ):
7355
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7356
    if mtype == TMessageType.EXCEPTION:
7357
      x = TApplicationException()
7358
      x.read(self._iprot)
7359
      self._iprot.readMessageEnd()
7360
      raise x
7361
    result = getCartByValue_result()
7362
    result.read(self._iprot)
7363
    self._iprot.readMessageEnd()
7364
    if result.success is not None:
7365
      return result.success
7366
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCartByValue failed: unknown result");
7367
 
19247 kshitij.so 7368
  def updateItemPricing(self, itemPricingList):
7369
    """
7370
    Parameters:
7371
     - itemPricingList
7372
    """
7373
    self.send_updateItemPricing(itemPricingList)
7374
    return self.recv_updateItemPricing()
18764 kshitij.so 7375
 
19247 kshitij.so 7376
  def send_updateItemPricing(self, itemPricingList):
7377
    self._oprot.writeMessageBegin('updateItemPricing', TMessageType.CALL, self._seqid)
7378
    args = updateItemPricing_args()
7379
    args.itemPricingList = itemPricingList
7380
    args.write(self._oprot)
7381
    self._oprot.writeMessageEnd()
7382
    self._oprot.trans.flush()
7383
 
7384
  def recv_updateItemPricing(self, ):
7385
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7386
    if mtype == TMessageType.EXCEPTION:
7387
      x = TApplicationException()
7388
      x.read(self._iprot)
7389
      self._iprot.readMessageEnd()
7390
      raise x
7391
    result = updateItemPricing_result()
7392
    result.read(self._iprot)
7393
    self._iprot.readMessageEnd()
7394
    if result.success is not None:
7395
      return result.success
7396
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemPricing failed: unknown result");
7397
 
19686 kshitij.so 7398
  def bulkUpdateCatalog(self, bulkUploadCatalog):
7399
    """
7400
    Parameters:
7401
     - bulkUploadCatalog
7402
    """
7403
    self.send_bulkUpdateCatalog(bulkUploadCatalog)
7404
    self.recv_bulkUpdateCatalog()
19247 kshitij.so 7405
 
19686 kshitij.so 7406
  def send_bulkUpdateCatalog(self, bulkUploadCatalog):
7407
    self._oprot.writeMessageBegin('bulkUpdateCatalog', TMessageType.CALL, self._seqid)
7408
    args = bulkUpdateCatalog_args()
7409
    args.bulkUploadCatalog = bulkUploadCatalog
7410
    args.write(self._oprot)
7411
    self._oprot.writeMessageEnd()
7412
    self._oprot.trans.flush()
7413
 
7414
  def recv_bulkUpdateCatalog(self, ):
7415
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7416
    if mtype == TMessageType.EXCEPTION:
7417
      x = TApplicationException()
7418
      x.read(self._iprot)
7419
      self._iprot.readMessageEnd()
7420
      raise x
7421
    result = bulkUpdateCatalog_result()
7422
    result.read(self._iprot)
7423
    self._iprot.readMessageEnd()
7424
    if result.cex is not None:
7425
      raise result.cex
7426
    return
7427
 
19691 manish.sha 7428
  def getWarrantyInfoForItem(self, itemId, itemCondition):
7429
    """
7430
    Parameters:
7431
     - itemId
7432
     - itemCondition
7433
    """
7434
    self.send_getWarrantyInfoForItem(itemId, itemCondition)
7435
    return self.recv_getWarrantyInfoForItem()
19686 kshitij.so 7436
 
19691 manish.sha 7437
  def send_getWarrantyInfoForItem(self, itemId, itemCondition):
7438
    self._oprot.writeMessageBegin('getWarrantyInfoForItem', TMessageType.CALL, self._seqid)
7439
    args = getWarrantyInfoForItem_args()
7440
    args.itemId = itemId
7441
    args.itemCondition = itemCondition
7442
    args.write(self._oprot)
7443
    self._oprot.writeMessageEnd()
7444
    self._oprot.trans.flush()
7445
 
7446
  def recv_getWarrantyInfoForItem(self, ):
7447
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7448
    if mtype == TMessageType.EXCEPTION:
7449
      x = TApplicationException()
7450
      x.read(self._iprot)
7451
      self._iprot.readMessageEnd()
7452
      raise x
7453
    result = getWarrantyInfoForItem_result()
7454
    result.read(self._iprot)
7455
    self._iprot.readMessageEnd()
7456
    if result.success is not None:
7457
      return result.success
7458
    if result.cex is not None:
7459
      raise result.cex
7460
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getWarrantyInfoForItem failed: unknown result");
7461
 
7462
 
5944 mandeep.dh 7463
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
7464
  def __init__(self, handler):
7465
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
7466
    self._processMap["addItem"] = Processor.process_addItem
7467
    self._processMap["updateItem"] = Processor.process_updateItem
7468
    self._processMap["isActive"] = Processor.process_isActive
7438 amit.gupta 7469
    self._processMap["getItemsStatus"] = Processor.process_getItemsStatus
5944 mandeep.dh 7470
    self._processMap["getItemStatusDescription"] = Processor.process_getItemStatusDescription
7471
    self._processMap["startItemOn"] = Processor.process_startItemOn
7472
    self._processMap["retireItemOn"] = Processor.process_retireItemOn
7473
    self._processMap["changeItemStatus"] = Processor.process_changeItemStatus
7474
    self._processMap["getItem"] = Processor.process_getItem
13493 amit.gupta 7475
    self._processMap["getItems"] = Processor.process_getItems
5944 mandeep.dh 7476
    self._processMap["getItemsByCatalogId"] = Processor.process_getItemsByCatalogId
7477
    self._processMap["getValidItemsByCatalogId"] = Processor.process_getValidItemsByCatalogId
7478
    self._processMap["getAllItems"] = Processor.process_getAllItems
7479
    self._processMap["getAllItemsByStatus"] = Processor.process_getAllItemsByStatus
7480
    self._processMap["markItemAsContentComplete"] = Processor.process_markItemAsContentComplete
12567 amit.gupta 7481
    self._processMap["getVatRates"] = Processor.process_getVatRates
5944 mandeep.dh 7482
    self._processMap["getAllItemsInRange"] = Processor.process_getAllItemsInRange
7483
    self._processMap["getAllItemsByStatusInRange"] = Processor.process_getAllItemsByStatusInRange
7484
    self._processMap["getItemCountByStatus"] = Processor.process_getItemCountByStatus
7485
    self._processMap["getBestSellers"] = Processor.process_getBestSellers
7486
    self._processMap["getBestSellersCatalogIds"] = Processor.process_getBestSellersCatalogIds
7487
    self._processMap["getBestSellersCount"] = Processor.process_getBestSellersCount
7488
    self._processMap["getBestDeals"] = Processor.process_getBestDeals
7489
    self._processMap["getBestDealsCatalogIds"] = Processor.process_getBestDealsCatalogIds
7490
    self._processMap["getBestDealsCount"] = Processor.process_getBestDealsCount
7491
    self._processMap["getComingSoon"] = Processor.process_getComingSoon
7492
    self._processMap["getComingSoonCatalogIds"] = Processor.process_getComingSoonCatalogIds
7493
    self._processMap["getComingSoonCount"] = Processor.process_getComingSoonCount
7494
    self._processMap["getLatestArrivals"] = Processor.process_getLatestArrivals
7495
    self._processMap["getLatestArrivalsCatalogIds"] = Processor.process_getLatestArrivalsCatalogIds
7496
    self._processMap["getLatestArrivalsCount"] = Processor.process_getLatestArrivalsCount
7497
    self._processMap["generateNewEntityID"] = Processor.process_generateNewEntityID
7498
    self._processMap["addCategory"] = Processor.process_addCategory
7499
    self._processMap["getCategory"] = Processor.process_getCategory
7500
    self._processMap["getAllCategories"] = Processor.process_getAllCategories
7501
    self._processMap["getAllSimilarItems"] = Processor.process_getAllSimilarItems
7502
    self._processMap["addSimilarItem"] = Processor.process_addSimilarItem
6512 kshitij.so 7503
    self._processMap["addTag"] = Processor.process_addTag
7504
    self._processMap["deleteEntityTag"] = Processor.process_deleteEntityTag
7505
    self._processMap["deleteTag"] = Processor.process_deleteTag
7506
    self._processMap["getAllTags"] = Processor.process_getAllTags
7507
    self._processMap["getAllEntitiesByTagName"] = Processor.process_getAllEntitiesByTagName
6845 amit.gupta 7508
    self._processMap["getAllEntityTags"] = Processor.process_getAllEntityTags
6850 kshitij.so 7509
    self._processMap["addBanner"] = Processor.process_addBanner
8579 kshitij.so 7510
    self._processMap["updateBanner"] = Processor.process_updateBanner
6850 kshitij.so 7511
    self._processMap["getAllBanners"] = Processor.process_getAllBanners
7512
    self._processMap["deleteBanner"] = Processor.process_deleteBanner
7513
    self._processMap["getBannerDetails"] = Processor.process_getBannerDetails
7514
    self._processMap["getActiveBanners"] = Processor.process_getActiveBanners
6849 kshitij.so 7515
    self._processMap["addBannerMap"] = Processor.process_addBannerMap
8579 kshitij.so 7516
    self._processMap["updateBannerMap"] = Processor.process_updateBannerMap
6849 kshitij.so 7517
    self._processMap["deleteBannerMap"] = Processor.process_deleteBannerMap
7518
    self._processMap["getBannerMapDetails"] = Processor.process_getBannerMapDetails
8579 kshitij.so 7519
    self._processMap["addBannerUri"] = Processor.process_addBannerUri
7520
    self._processMap["getUriMapping"] = Processor.process_getUriMapping
7521
    self._processMap["addCampaign"] = Processor.process_addCampaign
7522
    self._processMap["getCampaigns"] = Processor.process_getCampaigns
7523
    self._processMap["deleteCampaign"] = Processor.process_deleteCampaign
7524
    self._processMap["getAllCampaigns"] = Processor.process_getAllCampaigns
9155 kshitij.so 7525
    self._processMap["getActiveBannersForMobileSite"] = Processor.process_getActiveBannersForMobileSite
5944 mandeep.dh 7526
    self._processMap["deleteSimilarItem"] = Processor.process_deleteSimilarItem
7527
    self._processMap["checkSimilarItem"] = Processor.process_checkSimilarItem
7528
    self._processMap["validateRiskyStatus"] = Processor.process_validateRiskyStatus
7529
    self._processMap["changeItemRiskyFlag"] = Processor.process_changeItemRiskyFlag
7530
    self._processMap["getItemsByRiskyFlag"] = Processor.process_getItemsByRiskyFlag
7531
    self._processMap["getItemsForMasterSheet"] = Processor.process_getItemsForMasterSheet
7532
    self._processMap["getSimilarItemsCatalogIds"] = Processor.process_getSimilarItemsCatalogIds
7533
    self._processMap["addProductNotification"] = Processor.process_addProductNotification
7534
    self._processMap["sendProductNotifications"] = Processor.process_sendProductNotifications
7535
    self._processMap["getAllBrandsByCategory"] = Processor.process_getAllBrandsByCategory
7536
    self._processMap["getAllBrands"] = Processor.process_getAllBrands
7537
    self._processMap["getAllSources"] = Processor.process_getAllSources
7538
    self._processMap["getItemPricingBySource"] = Processor.process_getItemPricingBySource
7539
    self._processMap["addSourceItemPricing"] = Processor.process_addSourceItemPricing
7540
    self._processMap["getAllSourcePricing"] = Processor.process_getAllSourcePricing
7541
    self._processMap["getItemForSource"] = Processor.process_getItemForSource
7542
    self._processMap["searchItemsInRange"] = Processor.process_searchItemsInRange
7543
    self._processMap["getSearchResultCount"] = Processor.process_getSearchResultCount
7544
    self._processMap["getProductNotifications"] = Processor.process_getProductNotifications
7545
    self._processMap["getProductNotificationRequestCount"] = Processor.process_getProductNotificationRequestCount
7546
    self._processMap["addAuthorizationLog"] = Processor.process_addAuthorizationLog
7547
    self._processMap["addupdateVoucherForItem"] = Processor.process_addupdateVoucherForItem
7548
    self._processMap["deleteVoucherForItem"] = Processor.process_deleteVoucherForItem
7549
    self._processMap["getVoucherAmount"] = Processor.process_getVoucherAmount
7550
    self._processMap["getAllItemVouchers"] = Processor.process_getAllItemVouchers
7551
    self._processMap["isValidCatalogItemId"] = Processor.process_isValidCatalogItemId
6039 amit.gupta 7552
    self._processMap["getVatPercentageForItem"] = Processor.process_getVatPercentageForItem
7553
    self._processMap["getVatAmountForItem"] = Processor.process_getVatAmountForItem
6531 vikram.rag 7554
    self._processMap["getAllIgnoredInventoryUpdateItemsList"] = Processor.process_getAllIgnoredInventoryUpdateItemsList
6821 amar.kumar 7555
    self._processMap["getAllAliveItems"] = Processor.process_getAllAliveItems
6805 anupam.sin 7556
    self._processMap["getInsuranceAmount"] = Processor.process_getInsuranceAmount
7557
    self._processMap["getInsurer"] = Processor.process_getInsurer
6838 vikram.rag 7558
    self._processMap["getAllInsurers"] = Processor.process_getAllInsurers
6962 rajveer 7559
    self._processMap["updateInsuranceDeclaredAmount"] = Processor.process_updateInsuranceDeclaredAmount
7190 amar.kumar 7560
    self._processMap["getFreebieForItem"] = Processor.process_getFreebieForItem
7561
    self._processMap["addOrUpdateFreebieForItem"] = Processor.process_addOrUpdateFreebieForItem
7272 amit.gupta 7562
    self._processMap["addOrUpdateBrandInfo"] = Processor.process_addOrUpdateBrandInfo
7563
    self._processMap["getBrandInfo"] = Processor.process_getBrandInfo
7256 rajveer 7564
    self._processMap["getStorePricing"] = Processor.process_getStorePricing
7306 rajveer 7565
    self._processMap["getStorePricings"] = Processor.process_getStorePricings
7265 rajveer 7566
    self._processMap["updateStorePricing"] = Processor.process_updateStorePricing
7281 kshitij.so 7567
    self._processMap["getAllAmazonListedItems"] = Processor.process_getAllAmazonListedItems
8619 kshitij.so 7568
    self._processMap["searchAmazonItems"] = Processor.process_searchAmazonItems
7569
    self._processMap["getAmazonSearchResultCount"] = Processor.process_getAmazonSearchResultCount
7570
    self._processMap["getCountForAmazonlistedItems"] = Processor.process_getCountForAmazonlistedItems
7281 kshitij.so 7571
    self._processMap["getAmazonItemDetails"] = Processor.process_getAmazonItemDetails
7572
    self._processMap["updateAmazonItemDetails"] = Processor.process_updateAmazonItemDetails
7573
    self._processMap["addAmazonItem"] = Processor.process_addAmazonItem
7291 vikram.rag 7574
    self._processMap["getAsinItems"] = Processor.process_getAsinItems
7575
    self._processMap["getAllFbaListedItems"] = Processor.process_getAllFbaListedItems
7576
    self._processMap["getAllNonFbaListedItems"] = Processor.process_getAllNonFbaListedItems
7460 kshitij.so 7577
    self._processMap["updateItemInventory"] = Processor.process_updateItemInventory
7770 kshitij.so 7578
    self._processMap["updateTimestampForAmazonFeeds"] = Processor.process_updateTimestampForAmazonFeeds
7897 amar.kumar 7579
    self._processMap["getAllParentCategories"] = Processor.process_getAllParentCategories
7977 kshitij.so 7580
    self._processMap["addPageViewEvent"] = Processor.process_addPageViewEvent
7581
    self._processMap["addCartEvent"] = Processor.process_addCartEvent
8182 amar.kumar 7582
    self._processMap["addEbayItem"] = Processor.process_addEbayItem
7583
    self._processMap["getEbayItem"] = Processor.process_getEbayItem
7584
    self._processMap["updateEbayItem"] = Processor.process_updateEbayItem
8139 kshitij.so 7585
    self._processMap["getAmazonListedItems"] = Processor.process_getAmazonListedItems
8168 kshitij.so 7586
    self._processMap["updateAmazonAttributesInBulk"] = Processor.process_updateAmazonAttributesInBulk
8379 vikram.rag 7587
    self._processMap["getAllItemstoListOnFba"] = Processor.process_getAllItemstoListOnFba
7588
    self._processMap["getAllItemstoListOnNonFba"] = Processor.process_getAllItemstoListOnNonFba
8619 kshitij.so 7589
    self._processMap["updateAsin"] = Processor.process_updateAsin
8739 vikram.rag 7590
    self._processMap["addOrUpdateSnapdealItem"] = Processor.process_addOrUpdateSnapdealItem
7591
    self._processMap["getSnapdealItem"] = Processor.process_getSnapdealItem
9242 kshitij.so 7592
    self._processMap["getSnapdealItemDetails"] = Processor.process_getSnapdealItemDetails
8739 vikram.rag 7593
    self._processMap["getAllSnapdealItems"] = Processor.process_getAllSnapdealItems
9242 kshitij.so 7594
    self._processMap["getSnapdealItems"] = Processor.process_getSnapdealItems
7595
    self._processMap["searchSnapdealItems"] = Processor.process_searchSnapdealItems
7596
    self._processMap["getCountForSnapdealItems"] = Processor.process_getCountForSnapdealItems
7597
    self._processMap["getSnapdealSearchResultCount"] = Processor.process_getSnapdealSearchResultCount
9299 kshitij.so 7598
    self._processMap["getPrefferedInsurerForItem"] = Processor.process_getPrefferedInsurerForItem
9456 vikram.rag 7599
    self._processMap["getSnapdealItembySkuAtSnapdeal"] = Processor.process_getSnapdealItembySkuAtSnapdeal
9621 manish.sha 7600
    self._processMap["getProductFeedSubmit"] = Processor.process_getProductFeedSubmit
7601
    self._processMap["addProductFeedSubmit"] = Processor.process_addProductFeedSubmit
7602
    self._processMap["updateProductFeedSubmit"] = Processor.process_updateProductFeedSubmit
7603
    self._processMap["deleteProductFeedSubmit"] = Processor.process_deleteProductFeedSubmit
7604
    self._processMap["getAllProductFeedSubmit"] = Processor.process_getAllProductFeedSubmit
9724 kshitij.so 7605
    self._processMap["getMarketplacedetailsForItem"] = Processor.process_getMarketplacedetailsForItem
7606
    self._processMap["updateMarketplaceAttributesForItem"] = Processor.process_updateMarketplaceAttributesForItem
9779 kshitij.so 7607
    self._processMap["getCostingForMarketplace"] = Processor.process_getCostingForMarketplace
9776 vikram.rag 7608
    self._processMap["getMarketPlaceItemsForPriceUpdate"] = Processor.process_getMarketPlaceItemsForPriceUpdate
7609
    self._processMap["updateMarketPlacePriceUpdateStatus"] = Processor.process_updateMarketPlacePriceUpdateStatus
9861 rajveer 7610
    self._processMap["updateItemHoldInventory"] = Processor.process_updateItemHoldInventory
9895 vikram.rag 7611
    self._processMap["updateNlcAtMarketplaces"] = Processor.process_updateNlcAtMarketplaces
9945 vikram.rag 7612
    self._processMap["getAllFlipkartItems"] = Processor.process_getAllFlipkartItems
10097 kshitij.so 7613
    self._processMap["addOrUpdateFlipkartItem"] = Processor.process_addOrUpdateFlipkartItem
7614
    self._processMap["getFlipkartItem"] = Processor.process_getFlipkartItem
7615
    self._processMap["getFlipkartItemDetails"] = Processor.process_getFlipkartItemDetails
7616
    self._processMap["getFlipkartItems"] = Processor.process_getFlipkartItems
7617
    self._processMap["searchFlipkartItems"] = Processor.process_searchFlipkartItems
7618
    self._processMap["getCountForFlipkartItems"] = Processor.process_getCountForFlipkartItems
7619
    self._processMap["getFlipkartSearchResultCount"] = Processor.process_getFlipkartSearchResultCount
7620
    self._processMap["getAllFkItems"] = Processor.process_getAllFkItems
10140 vikram.rag 7621
    self._processMap["getFlipkartItemBySkyAtFlipkart"] = Processor.process_getFlipkartItemBySkyAtFlipkart
11015 kshitij.so 7622
    self._processMap["getMarketplaceHistory"] = Processor.process_getMarketplaceHistory
10909 vikram.rag 7623
    self._processMap["getAllFbbListedItems"] = Processor.process_getAllFbbListedItems
10924 vikram.rag 7624
    self._processMap["getAllFbbPricingItems"] = Processor.process_getAllFbbPricingItems
11015 kshitij.so 7625
    self._processMap["getCountForMarketplaceHistory"] = Processor.process_getCountForMarketplaceHistory
7626
    self._processMap["getMarketplaceHistoryByDate"] = Processor.process_getMarketplaceHistoryByDate
11531 vikram.rag 7627
    self._processMap["getPrivateDealDetails"] = Processor.process_getPrivateDealDetails
7628
    self._processMap["getPrivateDealItems"] = Processor.process_getPrivateDealItems
11592 amit.gupta 7629
    self._processMap["getAllActivePrivateDeals"] = Processor.process_getAllActivePrivateDeals
11531 vikram.rag 7630
    self._processMap["addOrUpdatePrivateDeal"] = Processor.process_addOrUpdatePrivateDeal
11635 vikram.rag 7631
    self._processMap["getPrivateDealsCatalogIds"] = Processor.process_getPrivateDealsCatalogIds
11645 amit.gupta 7632
    self._processMap["getPrivateDealsCount"] = Processor.process_getPrivateDealsCount
11905 kshitij.so 7633
    self._processMap["getAmazonOutSyncItems"] = Processor.process_getAmazonOutSyncItems
7634
    self._processMap["getAllPrivateDealsComparison"] = Processor.process_getAllPrivateDealsComparison
12133 kshitij.so 7635
    self._processMap["getAllSnapdealMarketplaceItem"] = Processor.process_getAllSnapdealMarketplaceItem
7636
    self._processMap["getAllFlipkartMarketplaceItem"] = Processor.process_getAllFlipkartMarketplaceItem
12243 kshitij.so 7637
    self._processMap["addCompetitorScraping"] = Processor.process_addCompetitorScraping
7638
    self._processMap["getPreviousCompetitorScraping"] = Processor.process_getPreviousCompetitorScraping
12256 kshitij.so 7639
    self._processMap["getUploadResultById"] = Processor.process_getUploadResultById
12363 kshitij.so 7640
    self._processMap["addAmazonPromotion"] = Processor.process_addAmazonPromotion
7641
    self._processMap["getAmazonPromotion"] = Processor.process_getAmazonPromotion
7642
    self._processMap["updateAmazonPromotion"] = Processor.process_updateAmazonPromotion
12567 amit.gupta 7643
    self._processMap["markPartiallyActive"] = Processor.process_markPartiallyActive
7644
    self._processMap["updateItemStateVat"] = Processor.process_updateItemStateVat
12620 amit.gupta 7645
    self._processMap["getExAffiliateItemInfo"] = Processor.process_getExAffiliateItemInfo
12888 kshitij.so 7646
    self._processMap["getAllItemstoListOnFbg"] = Processor.process_getAllItemstoListOnFbg
12892 kshitij.so 7647
    self._processMap["getAllFbgListedItems"] = Processor.process_getAllFbgListedItems
13136 amit.gupta 7648
    self._processMap["checkServices"] = Processor.process_checkServices
13709 manish.sha 7649
    self._processMap["addHsItem"] = Processor.process_addHsItem
7650
    self._processMap["getHsItem"] = Processor.process_getHsItem
7651
    self._processMap["updateHsItem"] = Processor.process_updateHsItem
14182 kshitij.so 7652
    self._processMap["getPricingForDtr"] = Processor.process_getPricingForDtr
15702 kshitij.so 7653
    self._processMap["getAllItemstoListOnFbd"] = Processor.process_getAllItemstoListOnFbd
15706 kshitij.so 7654
    self._processMap["getAllFbdListedItems"] = Processor.process_getAllFbdListedItems
18150 kshitij.so 7655
    self._processMap["getBulkPricingForItems"] = Processor.process_getBulkPricingForItems
7656
    self._processMap["addBulkPricingForItem"] = Processor.process_addBulkPricingForItem
7657
    self._processMap["deleteBulkPricingForItemById"] = Processor.process_deleteBulkPricingForItemById
7658
    self._processMap["deleteBulkPricingForItem"] = Processor.process_deleteBulkPricingForItem
7659
    self._processMap["getBulkPricingByItemId"] = Processor.process_getBulkPricingByItemId
18602 kshitij.so 7660
    self._processMap["updateBulkPricesOnProduction"] = Processor.process_updateBulkPricesOnProduction
18764 kshitij.so 7661
    self._processMap["getCartByValue"] = Processor.process_getCartByValue
19247 kshitij.so 7662
    self._processMap["updateItemPricing"] = Processor.process_updateItemPricing
19686 kshitij.so 7663
    self._processMap["bulkUpdateCatalog"] = Processor.process_bulkUpdateCatalog
19691 manish.sha 7664
    self._processMap["getWarrantyInfoForItem"] = Processor.process_getWarrantyInfoForItem
5944 mandeep.dh 7665
 
7666
  def process(self, iprot, oprot):
7667
    (name, type, seqid) = iprot.readMessageBegin()
7668
    if name not in self._processMap:
7669
      iprot.skip(TType.STRUCT)
7670
      iprot.readMessageEnd()
7671
      x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
7672
      oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
7673
      x.write(oprot)
7674
      oprot.writeMessageEnd()
7675
      oprot.trans.flush()
7676
      return
7677
    else:
7678
      self._processMap[name](self, seqid, iprot, oprot)
7679
    return True
7680
 
7681
  def process_addItem(self, seqid, iprot, oprot):
7682
    args = addItem_args()
7683
    args.read(iprot)
7684
    iprot.readMessageEnd()
7685
    result = addItem_result()
7686
    try:
7687
      result.success = self._handler.addItem(args.item)
7688
    except CatalogServiceException, cex:
7689
      result.cex = cex
7690
    oprot.writeMessageBegin("addItem", TMessageType.REPLY, seqid)
7691
    result.write(oprot)
7692
    oprot.writeMessageEnd()
7693
    oprot.trans.flush()
7694
 
7695
  def process_updateItem(self, seqid, iprot, oprot):
7696
    args = updateItem_args()
7697
    args.read(iprot)
7698
    iprot.readMessageEnd()
7699
    result = updateItem_result()
7700
    try:
7701
      result.success = self._handler.updateItem(args.item)
7702
    except CatalogServiceException, cex:
7703
      result.cex = cex
7704
    oprot.writeMessageBegin("updateItem", TMessageType.REPLY, seqid)
7705
    result.write(oprot)
7706
    oprot.writeMessageEnd()
7707
    oprot.trans.flush()
7708
 
7709
  def process_isActive(self, seqid, iprot, oprot):
7710
    args = isActive_args()
7711
    args.read(iprot)
7712
    iprot.readMessageEnd()
7713
    result = isActive_result()
7714
    try:
7715
      result.success = self._handler.isActive(args.itemId)
7716
    except CatalogServiceException, isex:
7717
      result.isex = isex
7718
    oprot.writeMessageBegin("isActive", TMessageType.REPLY, seqid)
7719
    result.write(oprot)
7720
    oprot.writeMessageEnd()
7721
    oprot.trans.flush()
7722
 
7438 amit.gupta 7723
  def process_getItemsStatus(self, seqid, iprot, oprot):
7724
    args = getItemsStatus_args()
7725
    args.read(iprot)
7726
    iprot.readMessageEnd()
7727
    result = getItemsStatus_result()
7728
    try:
7729
      result.success = self._handler.getItemsStatus(args.itemIds)
7730
    except CatalogServiceException, isex:
7731
      result.isex = isex
7732
    oprot.writeMessageBegin("getItemsStatus", TMessageType.REPLY, seqid)
7733
    result.write(oprot)
7734
    oprot.writeMessageEnd()
7735
    oprot.trans.flush()
7736
 
5944 mandeep.dh 7737
  def process_getItemStatusDescription(self, seqid, iprot, oprot):
7738
    args = getItemStatusDescription_args()
7739
    args.read(iprot)
7740
    iprot.readMessageEnd()
7741
    result = getItemStatusDescription_result()
7742
    try:
7743
      result.success = self._handler.getItemStatusDescription(args.itemId)
7744
    except CatalogServiceException, isex:
7745
      result.isex = isex
7746
    oprot.writeMessageBegin("getItemStatusDescription", TMessageType.REPLY, seqid)
7747
    result.write(oprot)
7748
    oprot.writeMessageEnd()
7749
    oprot.trans.flush()
7750
 
7751
  def process_startItemOn(self, seqid, iprot, oprot):
7752
    args = startItemOn_args()
7753
    args.read(iprot)
7754
    iprot.readMessageEnd()
7755
    result = startItemOn_result()
7756
    try:
7757
      self._handler.startItemOn(args.item_id, args.timestamp)
7758
    except CatalogServiceException, cex:
7759
      result.cex = cex
7760
    oprot.writeMessageBegin("startItemOn", TMessageType.REPLY, seqid)
7761
    result.write(oprot)
7762
    oprot.writeMessageEnd()
7763
    oprot.trans.flush()
7764
 
7765
  def process_retireItemOn(self, seqid, iprot, oprot):
7766
    args = retireItemOn_args()
7767
    args.read(iprot)
7768
    iprot.readMessageEnd()
7769
    result = retireItemOn_result()
7770
    try:
7771
      self._handler.retireItemOn(args.item_id, args.timestamp)
7772
    except CatalogServiceException, cex:
7773
      result.cex = cex
7774
    oprot.writeMessageBegin("retireItemOn", TMessageType.REPLY, seqid)
7775
    result.write(oprot)
7776
    oprot.writeMessageEnd()
7777
    oprot.trans.flush()
7778
 
7779
  def process_changeItemStatus(self, seqid, iprot, oprot):
7780
    args = changeItemStatus_args()
7781
    args.read(iprot)
7782
    iprot.readMessageEnd()
7783
    result = changeItemStatus_result()
7784
    try:
7785
      self._handler.changeItemStatus(args.item_id, args.timestamp, args.newstatus)
7786
    except CatalogServiceException, cex:
7787
      result.cex = cex
7788
    oprot.writeMessageBegin("changeItemStatus", TMessageType.REPLY, seqid)
7789
    result.write(oprot)
7790
    oprot.writeMessageEnd()
7791
    oprot.trans.flush()
7792
 
7793
  def process_getItem(self, seqid, iprot, oprot):
7794
    args = getItem_args()
7795
    args.read(iprot)
7796
    iprot.readMessageEnd()
7797
    result = getItem_result()
7798
    try:
7799
      result.success = self._handler.getItem(args.item_id)
7800
    except CatalogServiceException, cex:
7801
      result.cex = cex
7802
    oprot.writeMessageBegin("getItem", TMessageType.REPLY, seqid)
7803
    result.write(oprot)
7804
    oprot.writeMessageEnd()
7805
    oprot.trans.flush()
7806
 
13493 amit.gupta 7807
  def process_getItems(self, seqid, iprot, oprot):
7808
    args = getItems_args()
7809
    args.read(iprot)
7810
    iprot.readMessageEnd()
7811
    result = getItems_result()
7812
    try:
7813
      result.success = self._handler.getItems(args.item_ids)
7814
    except CatalogServiceException, cex:
7815
      result.cex = cex
7816
    oprot.writeMessageBegin("getItems", TMessageType.REPLY, seqid)
7817
    result.write(oprot)
7818
    oprot.writeMessageEnd()
7819
    oprot.trans.flush()
7820
 
5944 mandeep.dh 7821
  def process_getItemsByCatalogId(self, seqid, iprot, oprot):
7822
    args = getItemsByCatalogId_args()
7823
    args.read(iprot)
7824
    iprot.readMessageEnd()
7825
    result = getItemsByCatalogId_result()
7826
    try:
7827
      result.success = self._handler.getItemsByCatalogId(args.catalog_item_id)
7828
    except CatalogServiceException, cex:
7829
      result.cex = cex
7830
    oprot.writeMessageBegin("getItemsByCatalogId", TMessageType.REPLY, seqid)
7831
    result.write(oprot)
7832
    oprot.writeMessageEnd()
7833
    oprot.trans.flush()
7834
 
7835
  def process_getValidItemsByCatalogId(self, seqid, iprot, oprot):
7836
    args = getValidItemsByCatalogId_args()
7837
    args.read(iprot)
7838
    iprot.readMessageEnd()
7839
    result = getValidItemsByCatalogId_result()
7840
    try:
7841
      result.success = self._handler.getValidItemsByCatalogId(args.catalog_item_id)
7842
    except CatalogServiceException, cex:
7843
      result.cex = cex
7844
    oprot.writeMessageBegin("getValidItemsByCatalogId", TMessageType.REPLY, seqid)
7845
    result.write(oprot)
7846
    oprot.writeMessageEnd()
7847
    oprot.trans.flush()
7848
 
7849
  def process_getAllItems(self, seqid, iprot, oprot):
7850
    args = getAllItems_args()
7851
    args.read(iprot)
7852
    iprot.readMessageEnd()
7853
    result = getAllItems_result()
7854
    try:
7855
      result.success = self._handler.getAllItems(args.isActive)
7856
    except CatalogServiceException, cex:
7857
      result.cex = cex
7858
    oprot.writeMessageBegin("getAllItems", TMessageType.REPLY, seqid)
7859
    result.write(oprot)
7860
    oprot.writeMessageEnd()
7861
    oprot.trans.flush()
7862
 
7863
  def process_getAllItemsByStatus(self, seqid, iprot, oprot):
7864
    args = getAllItemsByStatus_args()
7865
    args.read(iprot)
7866
    iprot.readMessageEnd()
7867
    result = getAllItemsByStatus_result()
7868
    try:
7869
      result.success = self._handler.getAllItemsByStatus(args.itemStatus)
7870
    except CatalogServiceException, cex:
7871
      result.cex = cex
7872
    oprot.writeMessageBegin("getAllItemsByStatus", TMessageType.REPLY, seqid)
7873
    result.write(oprot)
7874
    oprot.writeMessageEnd()
7875
    oprot.trans.flush()
7876
 
7877
  def process_markItemAsContentComplete(self, seqid, iprot, oprot):
7878
    args = markItemAsContentComplete_args()
7879
    args.read(iprot)
7880
    iprot.readMessageEnd()
7881
    result = markItemAsContentComplete_result()
7882
    try:
9253 rajveer 7883
      result.success = self._handler.markItemAsContentComplete(args.entityId, args.category, args.brand, args.modelName, args.modelNumber, args.isAndroid)
5944 mandeep.dh 7884
    except CatalogServiceException, cex:
7885
      result.cex = cex
7886
    oprot.writeMessageBegin("markItemAsContentComplete", TMessageType.REPLY, seqid)
7887
    result.write(oprot)
7888
    oprot.writeMessageEnd()
7889
    oprot.trans.flush()
7890
 
12567 amit.gupta 7891
  def process_getVatRates(self, seqid, iprot, oprot):
7892
    args = getVatRates_args()
7893
    args.read(iprot)
7894
    iprot.readMessageEnd()
7895
    result = getVatRates_result()
7896
    try:
7897
      result.success = self._handler.getVatRates(args.itemId, args.categoryId)
7898
    except CatalogServiceException, cex:
7899
      result.cex = cex
7900
    oprot.writeMessageBegin("getVatRates", TMessageType.REPLY, seqid)
7901
    result.write(oprot)
7902
    oprot.writeMessageEnd()
7903
    oprot.trans.flush()
7904
 
5944 mandeep.dh 7905
  def process_getAllItemsInRange(self, seqid, iprot, oprot):
7906
    args = getAllItemsInRange_args()
7907
    args.read(iprot)
7908
    iprot.readMessageEnd()
7909
    result = getAllItemsInRange_result()
7910
    try:
7911
      result.success = self._handler.getAllItemsInRange(args.offset, args.limit)
7912
    except CatalogServiceException, cex:
7913
      result.cex = cex
7914
    oprot.writeMessageBegin("getAllItemsInRange", TMessageType.REPLY, seqid)
7915
    result.write(oprot)
7916
    oprot.writeMessageEnd()
7917
    oprot.trans.flush()
7918
 
7919
  def process_getAllItemsByStatusInRange(self, seqid, iprot, oprot):
7920
    args = getAllItemsByStatusInRange_args()
7921
    args.read(iprot)
7922
    iprot.readMessageEnd()
7923
    result = getAllItemsByStatusInRange_result()
7924
    try:
7925
      result.success = self._handler.getAllItemsByStatusInRange(args.itemStatus, args.offset, args.limit)
7926
    except CatalogServiceException, cex:
7927
      result.cex = cex
7928
    oprot.writeMessageBegin("getAllItemsByStatusInRange", TMessageType.REPLY, seqid)
7929
    result.write(oprot)
7930
    oprot.writeMessageEnd()
7931
    oprot.trans.flush()
7932
 
7933
  def process_getItemCountByStatus(self, seqid, iprot, oprot):
7934
    args = getItemCountByStatus_args()
7935
    args.read(iprot)
7936
    iprot.readMessageEnd()
7937
    result = getItemCountByStatus_result()
7938
    result.success = self._handler.getItemCountByStatus(args.useStatus, args.itemStatus)
7939
    oprot.writeMessageBegin("getItemCountByStatus", TMessageType.REPLY, seqid)
7940
    result.write(oprot)
7941
    oprot.writeMessageEnd()
7942
    oprot.trans.flush()
7943
 
7944
  def process_getBestSellers(self, seqid, iprot, oprot):
7945
    args = getBestSellers_args()
7946
    args.read(iprot)
7947
    iprot.readMessageEnd()
7948
    result = getBestSellers_result()
7949
    try:
7950
      result.success = self._handler.getBestSellers()
7951
    except CatalogServiceException, isex:
7952
      result.isex = isex
7953
    oprot.writeMessageBegin("getBestSellers", TMessageType.REPLY, seqid)
7954
    result.write(oprot)
7955
    oprot.writeMessageEnd()
7956
    oprot.trans.flush()
7957
 
7958
  def process_getBestSellersCatalogIds(self, seqid, iprot, oprot):
7959
    args = getBestSellersCatalogIds_args()
7960
    args.read(iprot)
7961
    iprot.readMessageEnd()
7962
    result = getBestSellersCatalogIds_result()
7963
    try:
7964
      result.success = self._handler.getBestSellersCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7965
    except CatalogServiceException, cex:
7966
      result.cex = cex
7967
    oprot.writeMessageBegin("getBestSellersCatalogIds", TMessageType.REPLY, seqid)
7968
    result.write(oprot)
7969
    oprot.writeMessageEnd()
7970
    oprot.trans.flush()
7971
 
7972
  def process_getBestSellersCount(self, seqid, iprot, oprot):
7973
    args = getBestSellersCount_args()
7974
    args.read(iprot)
7975
    iprot.readMessageEnd()
7976
    result = getBestSellersCount_result()
7977
    try:
7978
      result.success = self._handler.getBestSellersCount()
7979
    except CatalogServiceException, cex:
7980
      result.cex = cex
7981
    oprot.writeMessageBegin("getBestSellersCount", TMessageType.REPLY, seqid)
7982
    result.write(oprot)
7983
    oprot.writeMessageEnd()
7984
    oprot.trans.flush()
7985
 
7986
  def process_getBestDeals(self, seqid, iprot, oprot):
7987
    args = getBestDeals_args()
7988
    args.read(iprot)
7989
    iprot.readMessageEnd()
7990
    result = getBestDeals_result()
7991
    try:
7992
      result.success = self._handler.getBestDeals()
7993
    except CatalogServiceException, isex:
7994
      result.isex = isex
7995
    oprot.writeMessageBegin("getBestDeals", TMessageType.REPLY, seqid)
7996
    result.write(oprot)
7997
    oprot.writeMessageEnd()
7998
    oprot.trans.flush()
7999
 
8000
  def process_getBestDealsCatalogIds(self, seqid, iprot, oprot):
8001
    args = getBestDealsCatalogIds_args()
8002
    args.read(iprot)
8003
    iprot.readMessageEnd()
8004
    result = getBestDealsCatalogIds_result()
8005
    try:
8006
      result.success = self._handler.getBestDealsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
8007
    except CatalogServiceException, cex:
8008
      result.cex = cex
8009
    oprot.writeMessageBegin("getBestDealsCatalogIds", TMessageType.REPLY, seqid)
8010
    result.write(oprot)
8011
    oprot.writeMessageEnd()
8012
    oprot.trans.flush()
8013
 
8014
  def process_getBestDealsCount(self, seqid, iprot, oprot):
8015
    args = getBestDealsCount_args()
8016
    args.read(iprot)
8017
    iprot.readMessageEnd()
8018
    result = getBestDealsCount_result()
8019
    try:
8020
      result.success = self._handler.getBestDealsCount()
8021
    except CatalogServiceException, cex:
8022
      result.cex = cex
8023
    oprot.writeMessageBegin("getBestDealsCount", TMessageType.REPLY, seqid)
8024
    result.write(oprot)
8025
    oprot.writeMessageEnd()
8026
    oprot.trans.flush()
8027
 
8028
  def process_getComingSoon(self, seqid, iprot, oprot):
8029
    args = getComingSoon_args()
8030
    args.read(iprot)
8031
    iprot.readMessageEnd()
8032
    result = getComingSoon_result()
8033
    try:
8034
      result.success = self._handler.getComingSoon()
8035
    except CatalogServiceException, isex:
8036
      result.isex = isex
8037
    oprot.writeMessageBegin("getComingSoon", TMessageType.REPLY, seqid)
8038
    result.write(oprot)
8039
    oprot.writeMessageEnd()
8040
    oprot.trans.flush()
8041
 
8042
  def process_getComingSoonCatalogIds(self, seqid, iprot, oprot):
8043
    args = getComingSoonCatalogIds_args()
8044
    args.read(iprot)
8045
    iprot.readMessageEnd()
8046
    result = getComingSoonCatalogIds_result()
8047
    try:
8048
      result.success = self._handler.getComingSoonCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
8049
    except CatalogServiceException, cex:
8050
      result.cex = cex
8051
    oprot.writeMessageBegin("getComingSoonCatalogIds", TMessageType.REPLY, seqid)
8052
    result.write(oprot)
8053
    oprot.writeMessageEnd()
8054
    oprot.trans.flush()
8055
 
8056
  def process_getComingSoonCount(self, seqid, iprot, oprot):
8057
    args = getComingSoonCount_args()
8058
    args.read(iprot)
8059
    iprot.readMessageEnd()
8060
    result = getComingSoonCount_result()
8061
    try:
8062
      result.success = self._handler.getComingSoonCount()
8063
    except CatalogServiceException, cex:
8064
      result.cex = cex
8065
    oprot.writeMessageBegin("getComingSoonCount", TMessageType.REPLY, seqid)
8066
    result.write(oprot)
8067
    oprot.writeMessageEnd()
8068
    oprot.trans.flush()
8069
 
8070
  def process_getLatestArrivals(self, seqid, iprot, oprot):
8071
    args = getLatestArrivals_args()
8072
    args.read(iprot)
8073
    iprot.readMessageEnd()
8074
    result = getLatestArrivals_result()
8075
    try:
8076
      result.success = self._handler.getLatestArrivals()
8077
    except CatalogServiceException, isex:
8078
      result.isex = isex
8079
    oprot.writeMessageBegin("getLatestArrivals", TMessageType.REPLY, seqid)
8080
    result.write(oprot)
8081
    oprot.writeMessageEnd()
8082
    oprot.trans.flush()
8083
 
8084
  def process_getLatestArrivalsCatalogIds(self, seqid, iprot, oprot):
8085
    args = getLatestArrivalsCatalogIds_args()
8086
    args.read(iprot)
8087
    iprot.readMessageEnd()
8088
    result = getLatestArrivalsCatalogIds_result()
8089
    try:
8090
      result.success = self._handler.getLatestArrivalsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.categories)
8091
    except CatalogServiceException, cex:
8092
      result.cex = cex
8093
    oprot.writeMessageBegin("getLatestArrivalsCatalogIds", TMessageType.REPLY, seqid)
8094
    result.write(oprot)
8095
    oprot.writeMessageEnd()
8096
    oprot.trans.flush()
8097
 
8098
  def process_getLatestArrivalsCount(self, seqid, iprot, oprot):
8099
    args = getLatestArrivalsCount_args()
8100
    args.read(iprot)
8101
    iprot.readMessageEnd()
8102
    result = getLatestArrivalsCount_result()
8103
    try:
8104
      result.success = self._handler.getLatestArrivalsCount()
8105
    except CatalogServiceException, cex:
8106
      result.cex = cex
8107
    oprot.writeMessageBegin("getLatestArrivalsCount", TMessageType.REPLY, seqid)
8108
    result.write(oprot)
8109
    oprot.writeMessageEnd()
8110
    oprot.trans.flush()
8111
 
8112
  def process_generateNewEntityID(self, seqid, iprot, oprot):
8113
    args = generateNewEntityID_args()
8114
    args.read(iprot)
8115
    iprot.readMessageEnd()
8116
    result = generateNewEntityID_result()
8117
    result.success = self._handler.generateNewEntityID()
8118
    oprot.writeMessageBegin("generateNewEntityID", TMessageType.REPLY, seqid)
8119
    result.write(oprot)
8120
    oprot.writeMessageEnd()
8121
    oprot.trans.flush()
8122
 
8123
  def process_addCategory(self, seqid, iprot, oprot):
8124
    args = addCategory_args()
8125
    args.read(iprot)
8126
    iprot.readMessageEnd()
8127
    result = addCategory_result()
8128
    result.success = self._handler.addCategory(args.category)
8129
    oprot.writeMessageBegin("addCategory", TMessageType.REPLY, seqid)
8130
    result.write(oprot)
8131
    oprot.writeMessageEnd()
8132
    oprot.trans.flush()
8133
 
8134
  def process_getCategory(self, seqid, iprot, oprot):
8135
    args = getCategory_args()
8136
    args.read(iprot)
8137
    iprot.readMessageEnd()
8138
    result = getCategory_result()
8139
    result.success = self._handler.getCategory(args.id)
8140
    oprot.writeMessageBegin("getCategory", TMessageType.REPLY, seqid)
8141
    result.write(oprot)
8142
    oprot.writeMessageEnd()
8143
    oprot.trans.flush()
8144
 
8145
  def process_getAllCategories(self, seqid, iprot, oprot):
8146
    args = getAllCategories_args()
8147
    args.read(iprot)
8148
    iprot.readMessageEnd()
8149
    result = getAllCategories_result()
8150
    result.success = self._handler.getAllCategories()
8151
    oprot.writeMessageBegin("getAllCategories", TMessageType.REPLY, seqid)
8152
    result.write(oprot)
8153
    oprot.writeMessageEnd()
8154
    oprot.trans.flush()
8155
 
8156
  def process_getAllSimilarItems(self, seqid, iprot, oprot):
8157
    args = getAllSimilarItems_args()
8158
    args.read(iprot)
8159
    iprot.readMessageEnd()
8160
    result = getAllSimilarItems_result()
8161
    result.success = self._handler.getAllSimilarItems(args.itemId)
8162
    oprot.writeMessageBegin("getAllSimilarItems", TMessageType.REPLY, seqid)
8163
    result.write(oprot)
8164
    oprot.writeMessageEnd()
8165
    oprot.trans.flush()
8166
 
8167
  def process_addSimilarItem(self, seqid, iprot, oprot):
8168
    args = addSimilarItem_args()
8169
    args.read(iprot)
8170
    iprot.readMessageEnd()
8171
    result = addSimilarItem_result()
8172
    try:
8173
      result.success = self._handler.addSimilarItem(args.itemId, args.catalogItemId)
8174
    except CatalogServiceException, cex:
8175
      result.cex = cex
8176
    oprot.writeMessageBegin("addSimilarItem", TMessageType.REPLY, seqid)
8177
    result.write(oprot)
8178
    oprot.writeMessageEnd()
8179
    oprot.trans.flush()
8180
 
6512 kshitij.so 8181
  def process_addTag(self, seqid, iprot, oprot):
8182
    args = addTag_args()
8183
    args.read(iprot)
8184
    iprot.readMessageEnd()
8185
    result = addTag_result()
8186
    result.success = self._handler.addTag(args.displayName, args.itemId)
8187
    oprot.writeMessageBegin("addTag", TMessageType.REPLY, seqid)
8188
    result.write(oprot)
8189
    oprot.writeMessageEnd()
8190
    oprot.trans.flush()
8191
 
8192
  def process_deleteEntityTag(self, seqid, iprot, oprot):
8193
    args = deleteEntityTag_args()
8194
    args.read(iprot)
8195
    iprot.readMessageEnd()
8196
    result = deleteEntityTag_result()
8197
    result.success = self._handler.deleteEntityTag(args.displayName, args.itemId)
8198
    oprot.writeMessageBegin("deleteEntityTag", TMessageType.REPLY, seqid)
8199
    result.write(oprot)
8200
    oprot.writeMessageEnd()
8201
    oprot.trans.flush()
8202
 
8203
  def process_deleteTag(self, seqid, iprot, oprot):
8204
    args = deleteTag_args()
8205
    args.read(iprot)
8206
    iprot.readMessageEnd()
8207
    result = deleteTag_result()
8208
    result.success = self._handler.deleteTag(args.displayName)
8209
    oprot.writeMessageBegin("deleteTag", TMessageType.REPLY, seqid)
8210
    result.write(oprot)
8211
    oprot.writeMessageEnd()
8212
    oprot.trans.flush()
8213
 
8214
  def process_getAllTags(self, seqid, iprot, oprot):
8215
    args = getAllTags_args()
8216
    args.read(iprot)
8217
    iprot.readMessageEnd()
8218
    result = getAllTags_result()
8219
    result.success = self._handler.getAllTags()
8220
    oprot.writeMessageBegin("getAllTags", TMessageType.REPLY, seqid)
8221
    result.write(oprot)
8222
    oprot.writeMessageEnd()
8223
    oprot.trans.flush()
8224
 
8225
  def process_getAllEntitiesByTagName(self, seqid, iprot, oprot):
8226
    args = getAllEntitiesByTagName_args()
8227
    args.read(iprot)
8228
    iprot.readMessageEnd()
8229
    result = getAllEntitiesByTagName_result()
8230
    result.success = self._handler.getAllEntitiesByTagName(args.displayName)
8231
    oprot.writeMessageBegin("getAllEntitiesByTagName", TMessageType.REPLY, seqid)
8232
    result.write(oprot)
8233
    oprot.writeMessageEnd()
8234
    oprot.trans.flush()
8235
 
6845 amit.gupta 8236
  def process_getAllEntityTags(self, seqid, iprot, oprot):
8237
    args = getAllEntityTags_args()
8238
    args.read(iprot)
8239
    iprot.readMessageEnd()
8240
    result = getAllEntityTags_result()
8241
    result.success = self._handler.getAllEntityTags()
8242
    oprot.writeMessageBegin("getAllEntityTags", TMessageType.REPLY, seqid)
8243
    result.write(oprot)
8244
    oprot.writeMessageEnd()
8245
    oprot.trans.flush()
8246
 
6850 kshitij.so 8247
  def process_addBanner(self, seqid, iprot, oprot):
8248
    args = addBanner_args()
8249
    args.read(iprot)
8250
    iprot.readMessageEnd()
8251
    result = addBanner_result()
10097 kshitij.so 8252
    result.success = self._handler.addBanner(args.bannerCongregate)
6850 kshitij.so 8253
    oprot.writeMessageBegin("addBanner", TMessageType.REPLY, seqid)
8254
    result.write(oprot)
8255
    oprot.writeMessageEnd()
8256
    oprot.trans.flush()
8257
 
8579 kshitij.so 8258
  def process_updateBanner(self, seqid, iprot, oprot):
8259
    args = updateBanner_args()
8260
    args.read(iprot)
8261
    iprot.readMessageEnd()
8262
    result = updateBanner_result()
8263
    result.success = self._handler.updateBanner(args.banner)
8264
    oprot.writeMessageBegin("updateBanner", TMessageType.REPLY, seqid)
8265
    result.write(oprot)
8266
    oprot.writeMessageEnd()
8267
    oprot.trans.flush()
8268
 
6850 kshitij.so 8269
  def process_getAllBanners(self, seqid, iprot, oprot):
8270
    args = getAllBanners_args()
8271
    args.read(iprot)
8272
    iprot.readMessageEnd()
8273
    result = getAllBanners_result()
8274
    result.success = self._handler.getAllBanners()
8275
    oprot.writeMessageBegin("getAllBanners", TMessageType.REPLY, seqid)
8276
    result.write(oprot)
8277
    oprot.writeMessageEnd()
8278
    oprot.trans.flush()
8279
 
8280
  def process_deleteBanner(self, seqid, iprot, oprot):
8281
    args = deleteBanner_args()
8282
    args.read(iprot)
8283
    iprot.readMessageEnd()
8284
    result = deleteBanner_result()
9155 kshitij.so 8285
    result.success = self._handler.deleteBanner(args.bannerName, args.bannerType)
6850 kshitij.so 8286
    oprot.writeMessageBegin("deleteBanner", TMessageType.REPLY, seqid)
8287
    result.write(oprot)
8288
    oprot.writeMessageEnd()
8289
    oprot.trans.flush()
8290
 
8291
  def process_getBannerDetails(self, seqid, iprot, oprot):
8292
    args = getBannerDetails_args()
8293
    args.read(iprot)
8294
    iprot.readMessageEnd()
8295
    result = getBannerDetails_result()
9155 kshitij.so 8296
    result.success = self._handler.getBannerDetails(args.bannerName, args.bannerType)
6850 kshitij.so 8297
    oprot.writeMessageBegin("getBannerDetails", TMessageType.REPLY, seqid)
8298
    result.write(oprot)
8299
    oprot.writeMessageEnd()
8300
    oprot.trans.flush()
8301
 
8302
  def process_getActiveBanners(self, seqid, iprot, oprot):
8303
    args = getActiveBanners_args()
8304
    args.read(iprot)
8305
    iprot.readMessageEnd()
8306
    result = getActiveBanners_result()
8307
    result.success = self._handler.getActiveBanners()
8308
    oprot.writeMessageBegin("getActiveBanners", TMessageType.REPLY, seqid)
8309
    result.write(oprot)
8310
    oprot.writeMessageEnd()
8311
    oprot.trans.flush()
8312
 
6849 kshitij.so 8313
  def process_addBannerMap(self, seqid, iprot, oprot):
8314
    args = addBannerMap_args()
8315
    args.read(iprot)
8316
    iprot.readMessageEnd()
8317
    result = addBannerMap_result()
8579 kshitij.so 8318
    result.success = self._handler.addBannerMap(args.bannerMaps)
6849 kshitij.so 8319
    oprot.writeMessageBegin("addBannerMap", TMessageType.REPLY, seqid)
8320
    result.write(oprot)
8321
    oprot.writeMessageEnd()
8322
    oprot.trans.flush()
8323
 
8579 kshitij.so 8324
  def process_updateBannerMap(self, seqid, iprot, oprot):
8325
    args = updateBannerMap_args()
8326
    args.read(iprot)
8327
    iprot.readMessageEnd()
8328
    result = updateBannerMap_result()
8329
    result.success = self._handler.updateBannerMap(args.bannerMap)
8330
    oprot.writeMessageBegin("updateBannerMap", TMessageType.REPLY, seqid)
8331
    result.write(oprot)
8332
    oprot.writeMessageEnd()
8333
    oprot.trans.flush()
8334
 
6849 kshitij.so 8335
  def process_deleteBannerMap(self, seqid, iprot, oprot):
8336
    args = deleteBannerMap_args()
8337
    args.read(iprot)
8338
    iprot.readMessageEnd()
8339
    result = deleteBannerMap_result()
8340
    result.success = self._handler.deleteBannerMap(args.bannerName)
8341
    oprot.writeMessageBegin("deleteBannerMap", TMessageType.REPLY, seqid)
8342
    result.write(oprot)
8343
    oprot.writeMessageEnd()
8344
    oprot.trans.flush()
8345
 
8346
  def process_getBannerMapDetails(self, seqid, iprot, oprot):
8347
    args = getBannerMapDetails_args()
8348
    args.read(iprot)
8349
    iprot.readMessageEnd()
8350
    result = getBannerMapDetails_result()
9155 kshitij.so 8351
    result.success = self._handler.getBannerMapDetails(args.bannerName, args.bannerType)
6849 kshitij.so 8352
    oprot.writeMessageBegin("getBannerMapDetails", TMessageType.REPLY, seqid)
8353
    result.write(oprot)
8354
    oprot.writeMessageEnd()
8355
    oprot.trans.flush()
8356
 
8579 kshitij.so 8357
  def process_addBannerUri(self, seqid, iprot, oprot):
8358
    args = addBannerUri_args()
8359
    args.read(iprot)
8360
    iprot.readMessageEnd()
8361
    result = addBannerUri_result()
8362
    self._handler.addBannerUri(args.bannerUriMappings)
8363
    oprot.writeMessageBegin("addBannerUri", TMessageType.REPLY, seqid)
8364
    result.write(oprot)
8365
    oprot.writeMessageEnd()
8366
    oprot.trans.flush()
8367
 
8368
  def process_getUriMapping(self, seqid, iprot, oprot):
8369
    args = getUriMapping_args()
8370
    args.read(iprot)
8371
    iprot.readMessageEnd()
8372
    result = getUriMapping_result()
9155 kshitij.so 8373
    result.success = self._handler.getUriMapping(args.bannerName, args.bannerType)
8579 kshitij.so 8374
    oprot.writeMessageBegin("getUriMapping", TMessageType.REPLY, seqid)
8375
    result.write(oprot)
8376
    oprot.writeMessageEnd()
8377
    oprot.trans.flush()
8378
 
8379
  def process_addCampaign(self, seqid, iprot, oprot):
8380
    args = addCampaign_args()
8381
    args.read(iprot)
8382
    iprot.readMessageEnd()
8383
    result = addCampaign_result()
8384
    self._handler.addCampaign(args.campaign)
8385
    oprot.writeMessageBegin("addCampaign", TMessageType.REPLY, seqid)
8386
    result.write(oprot)
8387
    oprot.writeMessageEnd()
8388
    oprot.trans.flush()
8389
 
8390
  def process_getCampaigns(self, seqid, iprot, oprot):
8391
    args = getCampaigns_args()
8392
    args.read(iprot)
8393
    iprot.readMessageEnd()
8394
    result = getCampaigns_result()
8395
    result.success = self._handler.getCampaigns(args.campaignName)
8396
    oprot.writeMessageBegin("getCampaigns", TMessageType.REPLY, seqid)
8397
    result.write(oprot)
8398
    oprot.writeMessageEnd()
8399
    oprot.trans.flush()
8400
 
8401
  def process_deleteCampaign(self, seqid, iprot, oprot):
8402
    args = deleteCampaign_args()
8403
    args.read(iprot)
8404
    iprot.readMessageEnd()
8405
    result = deleteCampaign_result()
8406
    self._handler.deleteCampaign(args.campaignId)
8407
    oprot.writeMessageBegin("deleteCampaign", TMessageType.REPLY, seqid)
8408
    result.write(oprot)
8409
    oprot.writeMessageEnd()
8410
    oprot.trans.flush()
8411
 
8412
  def process_getAllCampaigns(self, seqid, iprot, oprot):
8413
    args = getAllCampaigns_args()
8414
    args.read(iprot)
8415
    iprot.readMessageEnd()
8416
    result = getAllCampaigns_result()
8417
    result.success = self._handler.getAllCampaigns()
8418
    oprot.writeMessageBegin("getAllCampaigns", TMessageType.REPLY, seqid)
8419
    result.write(oprot)
8420
    oprot.writeMessageEnd()
8421
    oprot.trans.flush()
8422
 
9155 kshitij.so 8423
  def process_getActiveBannersForMobileSite(self, seqid, iprot, oprot):
8424
    args = getActiveBannersForMobileSite_args()
8425
    args.read(iprot)
8426
    iprot.readMessageEnd()
8427
    result = getActiveBannersForMobileSite_result()
8428
    result.success = self._handler.getActiveBannersForMobileSite()
8429
    oprot.writeMessageBegin("getActiveBannersForMobileSite", TMessageType.REPLY, seqid)
8430
    result.write(oprot)
8431
    oprot.writeMessageEnd()
8432
    oprot.trans.flush()
8433
 
5944 mandeep.dh 8434
  def process_deleteSimilarItem(self, seqid, iprot, oprot):
8435
    args = deleteSimilarItem_args()
8436
    args.read(iprot)
8437
    iprot.readMessageEnd()
8438
    result = deleteSimilarItem_result()
8439
    try:
8440
      result.success = self._handler.deleteSimilarItem(args.itemId, args.catalogItemId)
8441
    except CatalogServiceException, cex:
8442
      result.cex = cex
8443
    oprot.writeMessageBegin("deleteSimilarItem", TMessageType.REPLY, seqid)
8444
    result.write(oprot)
8445
    oprot.writeMessageEnd()
8446
    oprot.trans.flush()
8447
 
8448
  def process_checkSimilarItem(self, seqid, iprot, oprot):
8449
    args = checkSimilarItem_args()
8450
    args.read(iprot)
8451
    iprot.readMessageEnd()
8452
    result = checkSimilarItem_result()
8453
    result.success = self._handler.checkSimilarItem(args.brand, args.modelNumber, args.modelName, args.color)
8454
    oprot.writeMessageBegin("checkSimilarItem", TMessageType.REPLY, seqid)
8455
    result.write(oprot)
8456
    oprot.writeMessageEnd()
8457
    oprot.trans.flush()
8458
 
8459
  def process_validateRiskyStatus(self, seqid, iprot, oprot):
8460
    args = validateRiskyStatus_args()
8461
    args.read(iprot)
8462
    iprot.readMessageEnd()
8463
    result = validateRiskyStatus_result()
8464
    self._handler.validateRiskyStatus(args.itemId)
8465
    oprot.writeMessageBegin("validateRiskyStatus", TMessageType.REPLY, seqid)
8466
    result.write(oprot)
8467
    oprot.writeMessageEnd()
8468
    oprot.trans.flush()
8469
 
8470
  def process_changeItemRiskyFlag(self, seqid, iprot, oprot):
8471
    args = changeItemRiskyFlag_args()
8472
    args.read(iprot)
8473
    iprot.readMessageEnd()
8474
    result = changeItemRiskyFlag_result()
8475
    self._handler.changeItemRiskyFlag(args.itemId, args.risky)
8476
    oprot.writeMessageBegin("changeItemRiskyFlag", TMessageType.REPLY, seqid)
8477
    result.write(oprot)
8478
    oprot.writeMessageEnd()
8479
    oprot.trans.flush()
8480
 
8481
  def process_getItemsByRiskyFlag(self, seqid, iprot, oprot):
8482
    args = getItemsByRiskyFlag_args()
8483
    args.read(iprot)
8484
    iprot.readMessageEnd()
8485
    result = getItemsByRiskyFlag_result()
8486
    result.success = self._handler.getItemsByRiskyFlag()
8487
    oprot.writeMessageBegin("getItemsByRiskyFlag", TMessageType.REPLY, seqid)
8488
    result.write(oprot)
8489
    oprot.writeMessageEnd()
8490
    oprot.trans.flush()
8491
 
8492
  def process_getItemsForMasterSheet(self, seqid, iprot, oprot):
8493
    args = getItemsForMasterSheet_args()
8494
    args.read(iprot)
8495
    iprot.readMessageEnd()
8496
    result = getItemsForMasterSheet_result()
8497
    result.success = self._handler.getItemsForMasterSheet(args.category, args.brand)
8498
    oprot.writeMessageBegin("getItemsForMasterSheet", TMessageType.REPLY, seqid)
8499
    result.write(oprot)
8500
    oprot.writeMessageEnd()
8501
    oprot.trans.flush()
8502
 
8503
  def process_getSimilarItemsCatalogIds(self, seqid, iprot, oprot):
8504
    args = getSimilarItemsCatalogIds_args()
8505
    args.read(iprot)
8506
    iprot.readMessageEnd()
8507
    result = getSimilarItemsCatalogIds_result()
8508
    result.success = self._handler.getSimilarItemsCatalogIds(args.beginIndex, args.totalItems, args.itemId)
8509
    oprot.writeMessageBegin("getSimilarItemsCatalogIds", TMessageType.REPLY, seqid)
8510
    result.write(oprot)
8511
    oprot.writeMessageEnd()
8512
    oprot.trans.flush()
8513
 
8514
  def process_addProductNotification(self, seqid, iprot, oprot):
8515
    args = addProductNotification_args()
8516
    args.read(iprot)
8517
    iprot.readMessageEnd()
8518
    result = addProductNotification_result()
8519
    result.success = self._handler.addProductNotification(args.itemId, args.email)
8520
    oprot.writeMessageBegin("addProductNotification", TMessageType.REPLY, seqid)
8521
    result.write(oprot)
8522
    oprot.writeMessageEnd()
8523
    oprot.trans.flush()
8524
 
8525
  def process_sendProductNotifications(self, seqid, iprot, oprot):
8526
    args = sendProductNotifications_args()
8527
    args.read(iprot)
8528
    iprot.readMessageEnd()
8529
    result = sendProductNotifications_result()
8530
    result.success = self._handler.sendProductNotifications()
8531
    oprot.writeMessageBegin("sendProductNotifications", TMessageType.REPLY, seqid)
8532
    result.write(oprot)
8533
    oprot.writeMessageEnd()
8534
    oprot.trans.flush()
8535
 
8536
  def process_getAllBrandsByCategory(self, seqid, iprot, oprot):
8537
    args = getAllBrandsByCategory_args()
8538
    args.read(iprot)
8539
    iprot.readMessageEnd()
8540
    result = getAllBrandsByCategory_result()
8541
    result.success = self._handler.getAllBrandsByCategory(args.categoryId)
8542
    oprot.writeMessageBegin("getAllBrandsByCategory", TMessageType.REPLY, seqid)
8543
    result.write(oprot)
8544
    oprot.writeMessageEnd()
8545
    oprot.trans.flush()
8546
 
8547
  def process_getAllBrands(self, seqid, iprot, oprot):
8548
    args = getAllBrands_args()
8549
    args.read(iprot)
8550
    iprot.readMessageEnd()
8551
    result = getAllBrands_result()
8552
    result.success = self._handler.getAllBrands()
8553
    oprot.writeMessageBegin("getAllBrands", TMessageType.REPLY, seqid)
8554
    result.write(oprot)
8555
    oprot.writeMessageEnd()
8556
    oprot.trans.flush()
8557
 
8558
  def process_getAllSources(self, seqid, iprot, oprot):
8559
    args = getAllSources_args()
8560
    args.read(iprot)
8561
    iprot.readMessageEnd()
8562
    result = getAllSources_result()
8563
    result.success = self._handler.getAllSources()
8564
    oprot.writeMessageBegin("getAllSources", TMessageType.REPLY, seqid)
8565
    result.write(oprot)
8566
    oprot.writeMessageEnd()
8567
    oprot.trans.flush()
8568
 
8569
  def process_getItemPricingBySource(self, seqid, iprot, oprot):
8570
    args = getItemPricingBySource_args()
8571
    args.read(iprot)
8572
    iprot.readMessageEnd()
8573
    result = getItemPricingBySource_result()
8574
    try:
8575
      result.success = self._handler.getItemPricingBySource(args.itemId, args.sourceId)
8576
    except CatalogServiceException, cex:
8577
      result.cex = cex
8578
    oprot.writeMessageBegin("getItemPricingBySource", TMessageType.REPLY, seqid)
8579
    result.write(oprot)
8580
    oprot.writeMessageEnd()
8581
    oprot.trans.flush()
8582
 
8583
  def process_addSourceItemPricing(self, seqid, iprot, oprot):
8584
    args = addSourceItemPricing_args()
8585
    args.read(iprot)
8586
    iprot.readMessageEnd()
8587
    result = addSourceItemPricing_result()
8588
    try:
8589
      self._handler.addSourceItemPricing(args.sourceItemPricing)
8590
    except CatalogServiceException, cex:
8591
      result.cex = cex
8592
    oprot.writeMessageBegin("addSourceItemPricing", TMessageType.REPLY, seqid)
8593
    result.write(oprot)
8594
    oprot.writeMessageEnd()
8595
    oprot.trans.flush()
8596
 
8597
  def process_getAllSourcePricing(self, seqid, iprot, oprot):
8598
    args = getAllSourcePricing_args()
8599
    args.read(iprot)
8600
    iprot.readMessageEnd()
8601
    result = getAllSourcePricing_result()
8602
    try:
8603
      result.success = self._handler.getAllSourcePricing(args.itemId)
8604
    except CatalogServiceException, cex:
8605
      result.cex = cex
8606
    oprot.writeMessageBegin("getAllSourcePricing", TMessageType.REPLY, seqid)
8607
    result.write(oprot)
8608
    oprot.writeMessageEnd()
8609
    oprot.trans.flush()
8610
 
8611
  def process_getItemForSource(self, seqid, iprot, oprot):
8612
    args = getItemForSource_args()
8613
    args.read(iprot)
8614
    iprot.readMessageEnd()
8615
    result = getItemForSource_result()
8616
    try:
8617
      result.success = self._handler.getItemForSource(args.item_id, args.sourceId)
8618
    except CatalogServiceException, cex:
8619
      result.cex = cex
8620
    oprot.writeMessageBegin("getItemForSource", TMessageType.REPLY, seqid)
8621
    result.write(oprot)
8622
    oprot.writeMessageEnd()
8623
    oprot.trans.flush()
8624
 
8625
  def process_searchItemsInRange(self, seqid, iprot, oprot):
8626
    args = searchItemsInRange_args()
8627
    args.read(iprot)
8628
    iprot.readMessageEnd()
8629
    result = searchItemsInRange_result()
8630
    result.success = self._handler.searchItemsInRange(args.searchTerms, args.offset, args.limit)
8631
    oprot.writeMessageBegin("searchItemsInRange", TMessageType.REPLY, seqid)
8632
    result.write(oprot)
8633
    oprot.writeMessageEnd()
8634
    oprot.trans.flush()
8635
 
8636
  def process_getSearchResultCount(self, seqid, iprot, oprot):
8637
    args = getSearchResultCount_args()
8638
    args.read(iprot)
8639
    iprot.readMessageEnd()
8640
    result = getSearchResultCount_result()
8641
    result.success = self._handler.getSearchResultCount(args.searchTerms)
8642
    oprot.writeMessageBegin("getSearchResultCount", TMessageType.REPLY, seqid)
8643
    result.write(oprot)
8644
    oprot.writeMessageEnd()
8645
    oprot.trans.flush()
8646
 
8647
  def process_getProductNotifications(self, seqid, iprot, oprot):
8648
    args = getProductNotifications_args()
8649
    args.read(iprot)
8650
    iprot.readMessageEnd()
8651
    result = getProductNotifications_result()
8652
    result.success = self._handler.getProductNotifications(args.startDateTime)
8653
    oprot.writeMessageBegin("getProductNotifications", TMessageType.REPLY, seqid)
8654
    result.write(oprot)
8655
    oprot.writeMessageEnd()
8656
    oprot.trans.flush()
8657
 
8658
  def process_getProductNotificationRequestCount(self, seqid, iprot, oprot):
8659
    args = getProductNotificationRequestCount_args()
8660
    args.read(iprot)
8661
    iprot.readMessageEnd()
8662
    result = getProductNotificationRequestCount_result()
7897 amar.kumar 8663
    result.success = self._handler.getProductNotificationRequestCount(args.startDateTime, args.categoryId)
5944 mandeep.dh 8664
    oprot.writeMessageBegin("getProductNotificationRequestCount", TMessageType.REPLY, seqid)
8665
    result.write(oprot)
8666
    oprot.writeMessageEnd()
8667
    oprot.trans.flush()
8668
 
8669
  def process_addAuthorizationLog(self, seqid, iprot, oprot):
8670
    args = addAuthorizationLog_args()
8671
    args.read(iprot)
8672
    iprot.readMessageEnd()
8673
    result = addAuthorizationLog_result()
8674
    try:
8675
      result.success = self._handler.addAuthorizationLog(args.itemId, args.username, args.reason)
8676
    except CatalogServiceException, cex:
8677
      result.cex = cex
8678
    oprot.writeMessageBegin("addAuthorizationLog", TMessageType.REPLY, seqid)
8679
    result.write(oprot)
8680
    oprot.writeMessageEnd()
8681
    oprot.trans.flush()
8682
 
8683
  def process_addupdateVoucherForItem(self, seqid, iprot, oprot):
8684
    args = addupdateVoucherForItem_args()
8685
    args.read(iprot)
8686
    iprot.readMessageEnd()
8687
    result = addupdateVoucherForItem_result()
8688
    try:
8689
      result.success = self._handler.addupdateVoucherForItem(args.catalog_item_id, args.voucherType, args.voucherAmount)
8690
    except CatalogServiceException, cex:
8691
      result.cex = cex
8692
    oprot.writeMessageBegin("addupdateVoucherForItem", TMessageType.REPLY, seqid)
8693
    result.write(oprot)
8694
    oprot.writeMessageEnd()
8695
    oprot.trans.flush()
8696
 
8697
  def process_deleteVoucherForItem(self, seqid, iprot, oprot):
8698
    args = deleteVoucherForItem_args()
8699
    args.read(iprot)
8700
    iprot.readMessageEnd()
8701
    result = deleteVoucherForItem_result()
8702
    try:
8703
      result.success = self._handler.deleteVoucherForItem(args.catalog_item_id, args.voucherType)
8704
    except CatalogServiceException, cex:
8705
      result.cex = cex
8706
    oprot.writeMessageBegin("deleteVoucherForItem", TMessageType.REPLY, seqid)
8707
    result.write(oprot)
8708
    oprot.writeMessageEnd()
8709
    oprot.trans.flush()
8710
 
8711
  def process_getVoucherAmount(self, seqid, iprot, oprot):
8712
    args = getVoucherAmount_args()
8713
    args.read(iprot)
8714
    iprot.readMessageEnd()
8715
    result = getVoucherAmount_result()
8716
    result.success = self._handler.getVoucherAmount(args.itemId, args.voucherType)
8717
    oprot.writeMessageBegin("getVoucherAmount", TMessageType.REPLY, seqid)
8718
    result.write(oprot)
8719
    oprot.writeMessageEnd()
8720
    oprot.trans.flush()
8721
 
8722
  def process_getAllItemVouchers(self, seqid, iprot, oprot):
8723
    args = getAllItemVouchers_args()
8724
    args.read(iprot)
8725
    iprot.readMessageEnd()
8726
    result = getAllItemVouchers_result()
8727
    result.success = self._handler.getAllItemVouchers(args.itemId)
8728
    oprot.writeMessageBegin("getAllItemVouchers", TMessageType.REPLY, seqid)
8729
    result.write(oprot)
8730
    oprot.writeMessageEnd()
8731
    oprot.trans.flush()
8732
 
8733
  def process_isValidCatalogItemId(self, seqid, iprot, oprot):
8734
    args = isValidCatalogItemId_args()
8735
    args.read(iprot)
8736
    iprot.readMessageEnd()
8737
    result = isValidCatalogItemId_result()
8738
    result.success = self._handler.isValidCatalogItemId(args.catalog_item_id)
8739
    oprot.writeMessageBegin("isValidCatalogItemId", TMessageType.REPLY, seqid)
8740
    result.write(oprot)
8741
    oprot.writeMessageEnd()
8742
    oprot.trans.flush()
8743
 
6039 amit.gupta 8744
  def process_getVatPercentageForItem(self, seqid, iprot, oprot):
8745
    args = getVatPercentageForItem_args()
8746
    args.read(iprot)
8747
    iprot.readMessageEnd()
8748
    result = getVatPercentageForItem_result()
7340 amit.gupta 8749
    try:
8750
      result.success = self._handler.getVatPercentageForItem(args.itemId, args.stateId, args.price)
8751
    except CatalogServiceException, cex:
8752
      result.cex = cex
6039 amit.gupta 8753
    oprot.writeMessageBegin("getVatPercentageForItem", TMessageType.REPLY, seqid)
8754
    result.write(oprot)
8755
    oprot.writeMessageEnd()
8756
    oprot.trans.flush()
5944 mandeep.dh 8757
 
6039 amit.gupta 8758
  def process_getVatAmountForItem(self, seqid, iprot, oprot):
8759
    args = getVatAmountForItem_args()
8760
    args.read(iprot)
8761
    iprot.readMessageEnd()
8762
    result = getVatAmountForItem_result()
8763
    result.success = self._handler.getVatAmountForItem(args.itemId, args.price)
8764
    oprot.writeMessageBegin("getVatAmountForItem", TMessageType.REPLY, seqid)
8765
    result.write(oprot)
8766
    oprot.writeMessageEnd()
8767
    oprot.trans.flush()
8768
 
6531 vikram.rag 8769
  def process_getAllIgnoredInventoryUpdateItemsList(self, seqid, iprot, oprot):
8770
    args = getAllIgnoredInventoryUpdateItemsList_args()
8771
    args.read(iprot)
8772
    iprot.readMessageEnd()
8773
    result = getAllIgnoredInventoryUpdateItemsList_result()
8774
    result.success = self._handler.getAllIgnoredInventoryUpdateItemsList(args.offset, args.limit)
8775
    oprot.writeMessageBegin("getAllIgnoredInventoryUpdateItemsList", TMessageType.REPLY, seqid)
8776
    result.write(oprot)
8777
    oprot.writeMessageEnd()
8778
    oprot.trans.flush()
6039 amit.gupta 8779
 
6821 amar.kumar 8780
  def process_getAllAliveItems(self, seqid, iprot, oprot):
8781
    args = getAllAliveItems_args()
8782
    args.read(iprot)
8783
    iprot.readMessageEnd()
8784
    result = getAllAliveItems_result()
8785
    result.success = self._handler.getAllAliveItems()
8786
    oprot.writeMessageBegin("getAllAliveItems", TMessageType.REPLY, seqid)
8787
    result.write(oprot)
8788
    oprot.writeMessageEnd()
8789
    oprot.trans.flush()
8790
 
6805 anupam.sin 8791
  def process_getInsuranceAmount(self, seqid, iprot, oprot):
8792
    args = getInsuranceAmount_args()
8793
    args.read(iprot)
8794
    iprot.readMessageEnd()
8795
    result = getInsuranceAmount_result()
6921 anupam.sin 8796
    result.success = self._handler.getInsuranceAmount(args.itemId, args.price, args.insurerId, args.quantity)
6805 anupam.sin 8797
    oprot.writeMessageBegin("getInsuranceAmount", TMessageType.REPLY, seqid)
8798
    result.write(oprot)
8799
    oprot.writeMessageEnd()
8800
    oprot.trans.flush()
6531 vikram.rag 8801
 
6805 anupam.sin 8802
  def process_getInsurer(self, seqid, iprot, oprot):
8803
    args = getInsurer_args()
8804
    args.read(iprot)
8805
    iprot.readMessageEnd()
8806
    result = getInsurer_result()
8807
    result.success = self._handler.getInsurer(args.insurerId)
8808
    oprot.writeMessageBegin("getInsurer", TMessageType.REPLY, seqid)
8809
    result.write(oprot)
8810
    oprot.writeMessageEnd()
8811
    oprot.trans.flush()
8812
 
6838 vikram.rag 8813
  def process_getAllInsurers(self, seqid, iprot, oprot):
8814
    args = getAllInsurers_args()
8815
    args.read(iprot)
8816
    iprot.readMessageEnd()
8817
    result = getAllInsurers_result()
8818
    result.success = self._handler.getAllInsurers()
8819
    oprot.writeMessageBegin("getAllInsurers", TMessageType.REPLY, seqid)
8820
    result.write(oprot)
8821
    oprot.writeMessageEnd()
8822
    oprot.trans.flush()
6805 anupam.sin 8823
 
6962 rajveer 8824
  def process_updateInsuranceDeclaredAmount(self, seqid, iprot, oprot):
8825
    args = updateInsuranceDeclaredAmount_args()
8826
    args.read(iprot)
8827
    iprot.readMessageEnd()
8828
    result = updateInsuranceDeclaredAmount_result()
8829
    self._handler.updateInsuranceDeclaredAmount(args.insurerId, args.amount)
8830
    oprot.writeMessageBegin("updateInsuranceDeclaredAmount", TMessageType.REPLY, seqid)
8831
    result.write(oprot)
8832
    oprot.writeMessageEnd()
8833
    oprot.trans.flush()
6838 vikram.rag 8834
 
7190 amar.kumar 8835
  def process_getFreebieForItem(self, seqid, iprot, oprot):
8836
    args = getFreebieForItem_args()
8837
    args.read(iprot)
8838
    iprot.readMessageEnd()
8839
    result = getFreebieForItem_result()
8840
    result.success = self._handler.getFreebieForItem(args.itemId)
8841
    oprot.writeMessageBegin("getFreebieForItem", TMessageType.REPLY, seqid)
8842
    result.write(oprot)
8843
    oprot.writeMessageEnd()
8844
    oprot.trans.flush()
6962 rajveer 8845
 
7190 amar.kumar 8846
  def process_addOrUpdateFreebieForItem(self, seqid, iprot, oprot):
8847
    args = addOrUpdateFreebieForItem_args()
8848
    args.read(iprot)
8849
    iprot.readMessageEnd()
8850
    result = addOrUpdateFreebieForItem_result()
8851
    self._handler.addOrUpdateFreebieForItem(args.freebieItem)
8852
    oprot.writeMessageBegin("addOrUpdateFreebieForItem", TMessageType.REPLY, seqid)
8853
    result.write(oprot)
8854
    oprot.writeMessageEnd()
8855
    oprot.trans.flush()
8856
 
7272 amit.gupta 8857
  def process_addOrUpdateBrandInfo(self, seqid, iprot, oprot):
8858
    args = addOrUpdateBrandInfo_args()
8859
    args.read(iprot)
8860
    iprot.readMessageEnd()
8861
    result = addOrUpdateBrandInfo_result()
8862
    self._handler.addOrUpdateBrandInfo(args.brandInfo)
8863
    oprot.writeMessageBegin("addOrUpdateBrandInfo", TMessageType.REPLY, seqid)
8864
    result.write(oprot)
8865
    oprot.writeMessageEnd()
8866
    oprot.trans.flush()
8867
 
8868
  def process_getBrandInfo(self, seqid, iprot, oprot):
8869
    args = getBrandInfo_args()
8870
    args.read(iprot)
8871
    iprot.readMessageEnd()
8872
    result = getBrandInfo_result()
8873
    result.success = self._handler.getBrandInfo()
8874
    oprot.writeMessageBegin("getBrandInfo", TMessageType.REPLY, seqid)
8875
    result.write(oprot)
8876
    oprot.writeMessageEnd()
8877
    oprot.trans.flush()
8878
 
7256 rajveer 8879
  def process_getStorePricing(self, seqid, iprot, oprot):
8880
    args = getStorePricing_args()
8881
    args.read(iprot)
8882
    iprot.readMessageEnd()
8883
    result = getStorePricing_result()
8884
    result.success = self._handler.getStorePricing(args.itemId)
8885
    oprot.writeMessageBegin("getStorePricing", TMessageType.REPLY, seqid)
8886
    result.write(oprot)
8887
    oprot.writeMessageEnd()
8888
    oprot.trans.flush()
7190 amar.kumar 8889
 
7306 rajveer 8890
  def process_getStorePricings(self, seqid, iprot, oprot):
8891
    args = getStorePricings_args()
8892
    args.read(iprot)
8893
    iprot.readMessageEnd()
8894
    result = getStorePricings_result()
8895
    result.success = self._handler.getStorePricings(args.itemIds)
8896
    oprot.writeMessageBegin("getStorePricings", TMessageType.REPLY, seqid)
8897
    result.write(oprot)
8898
    oprot.writeMessageEnd()
8899
    oprot.trans.flush()
8900
 
7265 rajveer 8901
  def process_updateStorePricing(self, seqid, iprot, oprot):
8902
    args = updateStorePricing_args()
8903
    args.read(iprot)
8904
    iprot.readMessageEnd()
8905
    result = updateStorePricing_result()
7382 rajveer 8906
    self._handler.updateStorePricing(args.sp, args.allColors)
7265 rajveer 8907
    oprot.writeMessageBegin("updateStorePricing", TMessageType.REPLY, seqid)
8908
    result.write(oprot)
8909
    oprot.writeMessageEnd()
8910
    oprot.trans.flush()
7256 rajveer 8911
 
7281 kshitij.so 8912
  def process_getAllAmazonListedItems(self, seqid, iprot, oprot):
8913
    args = getAllAmazonListedItems_args()
8914
    args.read(iprot)
8915
    iprot.readMessageEnd()
8916
    result = getAllAmazonListedItems_result()
8917
    result.success = self._handler.getAllAmazonListedItems()
8918
    oprot.writeMessageBegin("getAllAmazonListedItems", TMessageType.REPLY, seqid)
8919
    result.write(oprot)
8920
    oprot.writeMessageEnd()
8921
    oprot.trans.flush()
7265 rajveer 8922
 
8619 kshitij.so 8923
  def process_searchAmazonItems(self, seqid, iprot, oprot):
8924
    args = searchAmazonItems_args()
8925
    args.read(iprot)
8926
    iprot.readMessageEnd()
8927
    result = searchAmazonItems_result()
8928
    result.success = self._handler.searchAmazonItems(args.searchTerm, args.offset, args.limit)
8929
    oprot.writeMessageBegin("searchAmazonItems", TMessageType.REPLY, seqid)
8930
    result.write(oprot)
8931
    oprot.writeMessageEnd()
8932
    oprot.trans.flush()
8933
 
8934
  def process_getAmazonSearchResultCount(self, seqid, iprot, oprot):
8935
    args = getAmazonSearchResultCount_args()
8936
    args.read(iprot)
8937
    iprot.readMessageEnd()
8938
    result = getAmazonSearchResultCount_result()
8939
    result.success = self._handler.getAmazonSearchResultCount(args.searchTerm)
8940
    oprot.writeMessageBegin("getAmazonSearchResultCount", TMessageType.REPLY, seqid)
8941
    result.write(oprot)
8942
    oprot.writeMessageEnd()
8943
    oprot.trans.flush()
8944
 
8945
  def process_getCountForAmazonlistedItems(self, seqid, iprot, oprot):
8946
    args = getCountForAmazonlistedItems_args()
8947
    args.read(iprot)
8948
    iprot.readMessageEnd()
8949
    result = getCountForAmazonlistedItems_result()
8950
    result.success = self._handler.getCountForAmazonlistedItems()
8951
    oprot.writeMessageBegin("getCountForAmazonlistedItems", TMessageType.REPLY, seqid)
8952
    result.write(oprot)
8953
    oprot.writeMessageEnd()
8954
    oprot.trans.flush()
8955
 
7281 kshitij.so 8956
  def process_getAmazonItemDetails(self, seqid, iprot, oprot):
8957
    args = getAmazonItemDetails_args()
8958
    args.read(iprot)
8959
    iprot.readMessageEnd()
8960
    result = getAmazonItemDetails_result()
8961
    result.success = self._handler.getAmazonItemDetails(args.itemId)
8962
    oprot.writeMessageBegin("getAmazonItemDetails", TMessageType.REPLY, seqid)
8963
    result.write(oprot)
8964
    oprot.writeMessageEnd()
8965
    oprot.trans.flush()
8966
 
8967
  def process_updateAmazonItemDetails(self, seqid, iprot, oprot):
8968
    args = updateAmazonItemDetails_args()
8969
    args.read(iprot)
8970
    iprot.readMessageEnd()
8971
    result = updateAmazonItemDetails_result()
8168 kshitij.so 8972
    self._handler.updateAmazonItemDetails(args.amazonlisted)
7281 kshitij.so 8973
    oprot.writeMessageBegin("updateAmazonItemDetails", TMessageType.REPLY, seqid)
8974
    result.write(oprot)
8975
    oprot.writeMessageEnd()
8976
    oprot.trans.flush()
8977
 
8978
  def process_addAmazonItem(self, seqid, iprot, oprot):
8979
    args = addAmazonItem_args()
8980
    args.read(iprot)
8981
    iprot.readMessageEnd()
8982
    result = addAmazonItem_result()
8983
    self._handler.addAmazonItem(args.amazonlisted)
8984
    oprot.writeMessageBegin("addAmazonItem", TMessageType.REPLY, seqid)
8985
    result.write(oprot)
8986
    oprot.writeMessageEnd()
8987
    oprot.trans.flush()
8988
 
7291 vikram.rag 8989
  def process_getAsinItems(self, seqid, iprot, oprot):
8990
    args = getAsinItems_args()
8991
    args.read(iprot)
8992
    iprot.readMessageEnd()
8993
    result = getAsinItems_result()
8994
    result.success = self._handler.getAsinItems()
8995
    oprot.writeMessageBegin("getAsinItems", TMessageType.REPLY, seqid)
8996
    result.write(oprot)
8997
    oprot.writeMessageEnd()
8998
    oprot.trans.flush()
7281 kshitij.so 8999
 
7291 vikram.rag 9000
  def process_getAllFbaListedItems(self, seqid, iprot, oprot):
9001
    args = getAllFbaListedItems_args()
9002
    args.read(iprot)
9003
    iprot.readMessageEnd()
9004
    result = getAllFbaListedItems_result()
9005
    result.success = self._handler.getAllFbaListedItems()
9006
    oprot.writeMessageBegin("getAllFbaListedItems", TMessageType.REPLY, seqid)
9007
    result.write(oprot)
9008
    oprot.writeMessageEnd()
9009
    oprot.trans.flush()
9010
 
9011
  def process_getAllNonFbaListedItems(self, seqid, iprot, oprot):
9012
    args = getAllNonFbaListedItems_args()
9013
    args.read(iprot)
9014
    iprot.readMessageEnd()
9015
    result = getAllNonFbaListedItems_result()
9016
    result.success = self._handler.getAllNonFbaListedItems()
9017
    oprot.writeMessageBegin("getAllNonFbaListedItems", TMessageType.REPLY, seqid)
9018
    result.write(oprot)
9019
    oprot.writeMessageEnd()
9020
    oprot.trans.flush()
9021
 
7460 kshitij.so 9022
  def process_updateItemInventory(self, seqid, iprot, oprot):
9023
    args = updateItemInventory_args()
9024
    args.read(iprot)
9025
    iprot.readMessageEnd()
9026
    result = updateItemInventory_result()
9027
    result.success = self._handler.updateItemInventory(args.itemId, args.holdInventory, args.defaultInventory)
9028
    oprot.writeMessageBegin("updateItemInventory", TMessageType.REPLY, seqid)
9029
    result.write(oprot)
9030
    oprot.writeMessageEnd()
9031
    oprot.trans.flush()
7291 vikram.rag 9032
 
7770 kshitij.so 9033
  def process_updateTimestampForAmazonFeeds(self, seqid, iprot, oprot):
9034
    args = updateTimestampForAmazonFeeds_args()
9035
    args.read(iprot)
9036
    iprot.readMessageEnd()
9037
    result = updateTimestampForAmazonFeeds_result()
9038
    result.success = self._handler.updateTimestampForAmazonFeeds(args.type, args.sku, args.timestamp)
9039
    oprot.writeMessageBegin("updateTimestampForAmazonFeeds", TMessageType.REPLY, seqid)
9040
    result.write(oprot)
9041
    oprot.writeMessageEnd()
9042
    oprot.trans.flush()
7460 kshitij.so 9043
 
7897 amar.kumar 9044
  def process_getAllParentCategories(self, seqid, iprot, oprot):
9045
    args = getAllParentCategories_args()
9046
    args.read(iprot)
9047
    iprot.readMessageEnd()
9048
    result = getAllParentCategories_result()
9049
    result.success = self._handler.getAllParentCategories()
9050
    oprot.writeMessageBegin("getAllParentCategories", TMessageType.REPLY, seqid)
9051
    result.write(oprot)
9052
    oprot.writeMessageEnd()
9053
    oprot.trans.flush()
7770 kshitij.so 9054
 
7977 kshitij.so 9055
  def process_addPageViewEvent(self, seqid, iprot, oprot):
9056
    args = addPageViewEvent_args()
9057
    args.read(iprot)
9058
    iprot.readMessageEnd()
9059
    result = addPageViewEvent_result()
9060
    self._handler.addPageViewEvent(args.pageViewEvents)
9061
    oprot.writeMessageBegin("addPageViewEvent", TMessageType.REPLY, seqid)
9062
    result.write(oprot)
9063
    oprot.writeMessageEnd()
9064
    oprot.trans.flush()
7897 amar.kumar 9065
 
7977 kshitij.so 9066
  def process_addCartEvent(self, seqid, iprot, oprot):
9067
    args = addCartEvent_args()
9068
    args.read(iprot)
9069
    iprot.readMessageEnd()
9070
    result = addCartEvent_result()
9071
    self._handler.addCartEvent(args.cartEvents)
9072
    oprot.writeMessageBegin("addCartEvent", TMessageType.REPLY, seqid)
9073
    result.write(oprot)
9074
    oprot.writeMessageEnd()
9075
    oprot.trans.flush()
9076
 
8182 amar.kumar 9077
  def process_addEbayItem(self, seqid, iprot, oprot):
9078
    args = addEbayItem_args()
9079
    args.read(iprot)
9080
    iprot.readMessageEnd()
9081
    result = addEbayItem_result()
9082
    self._handler.addEbayItem(args.ebayItem)
9083
    oprot.writeMessageBegin("addEbayItem", TMessageType.REPLY, seqid)
9084
    result.write(oprot)
9085
    oprot.writeMessageEnd()
9086
    oprot.trans.flush()
9087
 
9088
  def process_getEbayItem(self, seqid, iprot, oprot):
9089
    args = getEbayItem_args()
9090
    args.read(iprot)
9091
    iprot.readMessageEnd()
9092
    result = getEbayItem_result()
9093
    result.success = self._handler.getEbayItem(args.listingId)
9094
    oprot.writeMessageBegin("getEbayItem", TMessageType.REPLY, seqid)
9095
    result.write(oprot)
9096
    oprot.writeMessageEnd()
9097
    oprot.trans.flush()
9098
 
9099
  def process_updateEbayItem(self, seqid, iprot, oprot):
9100
    args = updateEbayItem_args()
9101
    args.read(iprot)
9102
    iprot.readMessageEnd()
9103
    result = updateEbayItem_result()
9104
    self._handler.updateEbayItem(args.ebayItem)
9105
    oprot.writeMessageBegin("updateEbayItem", TMessageType.REPLY, seqid)
9106
    result.write(oprot)
9107
    oprot.writeMessageEnd()
9108
    oprot.trans.flush()
9109
 
8139 kshitij.so 9110
  def process_getAmazonListedItems(self, seqid, iprot, oprot):
9111
    args = getAmazonListedItems_args()
9112
    args.read(iprot)
9113
    iprot.readMessageEnd()
9114
    result = getAmazonListedItems_result()
9115
    result.success = self._handler.getAmazonListedItems(args.offset, args.limit)
9116
    oprot.writeMessageBegin("getAmazonListedItems", TMessageType.REPLY, seqid)
9117
    result.write(oprot)
9118
    oprot.writeMessageEnd()
9119
    oprot.trans.flush()
7977 kshitij.so 9120
 
8168 kshitij.so 9121
  def process_updateAmazonAttributesInBulk(self, seqid, iprot, oprot):
9122
    args = updateAmazonAttributesInBulk_args()
9123
    args.read(iprot)
9124
    iprot.readMessageEnd()
9125
    result = updateAmazonAttributesInBulk_result()
9126
    result.success = self._handler.updateAmazonAttributesInBulk(args.amazonlisted)
9127
    oprot.writeMessageBegin("updateAmazonAttributesInBulk", TMessageType.REPLY, seqid)
9128
    result.write(oprot)
9129
    oprot.writeMessageEnd()
9130
    oprot.trans.flush()
8139 kshitij.so 9131
 
8379 vikram.rag 9132
  def process_getAllItemstoListOnFba(self, seqid, iprot, oprot):
9133
    args = getAllItemstoListOnFba_args()
9134
    args.read(iprot)
9135
    iprot.readMessageEnd()
9136
    result = getAllItemstoListOnFba_result()
9137
    result.success = self._handler.getAllItemstoListOnFba()
9138
    oprot.writeMessageBegin("getAllItemstoListOnFba", TMessageType.REPLY, seqid)
9139
    result.write(oprot)
9140
    oprot.writeMessageEnd()
9141
    oprot.trans.flush()
8168 kshitij.so 9142
 
8379 vikram.rag 9143
  def process_getAllItemstoListOnNonFba(self, seqid, iprot, oprot):
9144
    args = getAllItemstoListOnNonFba_args()
9145
    args.read(iprot)
9146
    iprot.readMessageEnd()
9147
    result = getAllItemstoListOnNonFba_result()
9148
    result.success = self._handler.getAllItemstoListOnNonFba()
9149
    oprot.writeMessageBegin("getAllItemstoListOnNonFba", TMessageType.REPLY, seqid)
9150
    result.write(oprot)
9151
    oprot.writeMessageEnd()
9152
    oprot.trans.flush()
9153
 
8619 kshitij.so 9154
  def process_updateAsin(self, seqid, iprot, oprot):
9155
    args = updateAsin_args()
9156
    args.read(iprot)
9157
    iprot.readMessageEnd()
9158
    result = updateAsin_result()
9159
    self._handler.updateAsin(args.item)
9160
    oprot.writeMessageBegin("updateAsin", TMessageType.REPLY, seqid)
9161
    result.write(oprot)
9162
    oprot.writeMessageEnd()
9163
    oprot.trans.flush()
8616 vikram.rag 9164
 
8739 vikram.rag 9165
  def process_addOrUpdateSnapdealItem(self, seqid, iprot, oprot):
9166
    args = addOrUpdateSnapdealItem_args()
9167
    args.read(iprot)
9168
    iprot.readMessageEnd()
9169
    result = addOrUpdateSnapdealItem_result()
9170
    result.success = self._handler.addOrUpdateSnapdealItem(args.snapdealitem)
9171
    oprot.writeMessageBegin("addOrUpdateSnapdealItem", TMessageType.REPLY, seqid)
9172
    result.write(oprot)
9173
    oprot.writeMessageEnd()
9174
    oprot.trans.flush()
8619 kshitij.so 9175
 
8739 vikram.rag 9176
  def process_getSnapdealItem(self, seqid, iprot, oprot):
9177
    args = getSnapdealItem_args()
9178
    args.read(iprot)
9179
    iprot.readMessageEnd()
9180
    result = getSnapdealItem_result()
9181
    result.success = self._handler.getSnapdealItem(args.item_id)
9182
    oprot.writeMessageBegin("getSnapdealItem", TMessageType.REPLY, seqid)
9183
    result.write(oprot)
9184
    oprot.writeMessageEnd()
9185
    oprot.trans.flush()
9186
 
9242 kshitij.so 9187
  def process_getSnapdealItemDetails(self, seqid, iprot, oprot):
9188
    args = getSnapdealItemDetails_args()
9189
    args.read(iprot)
9190
    iprot.readMessageEnd()
9191
    result = getSnapdealItemDetails_result()
9192
    result.success = self._handler.getSnapdealItemDetails(args.item_id)
9193
    oprot.writeMessageBegin("getSnapdealItemDetails", TMessageType.REPLY, seqid)
9194
    result.write(oprot)
9195
    oprot.writeMessageEnd()
9196
    oprot.trans.flush()
9197
 
8739 vikram.rag 9198
  def process_getAllSnapdealItems(self, seqid, iprot, oprot):
9199
    args = getAllSnapdealItems_args()
9200
    args.read(iprot)
9201
    iprot.readMessageEnd()
9202
    result = getAllSnapdealItems_result()
9203
    result.success = self._handler.getAllSnapdealItems()
9204
    oprot.writeMessageBegin("getAllSnapdealItems", TMessageType.REPLY, seqid)
9205
    result.write(oprot)
9206
    oprot.writeMessageEnd()
9207
    oprot.trans.flush()
9208
 
9242 kshitij.so 9209
  def process_getSnapdealItems(self, seqid, iprot, oprot):
9210
    args = getSnapdealItems_args()
9211
    args.read(iprot)
9212
    iprot.readMessageEnd()
9213
    result = getSnapdealItems_result()
9214
    result.success = self._handler.getSnapdealItems(args.offset, args.limit)
9215
    oprot.writeMessageBegin("getSnapdealItems", TMessageType.REPLY, seqid)
9216
    result.write(oprot)
9217
    oprot.writeMessageEnd()
9218
    oprot.trans.flush()
8739 vikram.rag 9219
 
9242 kshitij.so 9220
  def process_searchSnapdealItems(self, seqid, iprot, oprot):
9221
    args = searchSnapdealItems_args()
9222
    args.read(iprot)
9223
    iprot.readMessageEnd()
9224
    result = searchSnapdealItems_result()
9225
    result.success = self._handler.searchSnapdealItems(args.searchTerm, args.offset, args.limit)
9226
    oprot.writeMessageBegin("searchSnapdealItems", TMessageType.REPLY, seqid)
9227
    result.write(oprot)
9228
    oprot.writeMessageEnd()
9229
    oprot.trans.flush()
9230
 
9231
  def process_getCountForSnapdealItems(self, seqid, iprot, oprot):
9232
    args = getCountForSnapdealItems_args()
9233
    args.read(iprot)
9234
    iprot.readMessageEnd()
9235
    result = getCountForSnapdealItems_result()
9236
    result.success = self._handler.getCountForSnapdealItems()
9237
    oprot.writeMessageBegin("getCountForSnapdealItems", TMessageType.REPLY, seqid)
9238
    result.write(oprot)
9239
    oprot.writeMessageEnd()
9240
    oprot.trans.flush()
9241
 
9242
  def process_getSnapdealSearchResultCount(self, seqid, iprot, oprot):
9243
    args = getSnapdealSearchResultCount_args()
9244
    args.read(iprot)
9245
    iprot.readMessageEnd()
9246
    result = getSnapdealSearchResultCount_result()
9247
    result.success = self._handler.getSnapdealSearchResultCount(args.searchTerm)
9248
    oprot.writeMessageBegin("getSnapdealSearchResultCount", TMessageType.REPLY, seqid)
9249
    result.write(oprot)
9250
    oprot.writeMessageEnd()
9251
    oprot.trans.flush()
9252
 
9299 kshitij.so 9253
  def process_getPrefferedInsurerForItem(self, seqid, iprot, oprot):
9254
    args = getPrefferedInsurerForItem_args()
9255
    args.read(iprot)
9256
    iprot.readMessageEnd()
9257
    result = getPrefferedInsurerForItem_result()
9258
    result.success = self._handler.getPrefferedInsurerForItem(args.itemId, args.insurerType)
9259
    oprot.writeMessageBegin("getPrefferedInsurerForItem", TMessageType.REPLY, seqid)
9260
    result.write(oprot)
9261
    oprot.writeMessageEnd()
9262
    oprot.trans.flush()
9242 kshitij.so 9263
 
9456 vikram.rag 9264
  def process_getSnapdealItembySkuAtSnapdeal(self, seqid, iprot, oprot):
9265
    args = getSnapdealItembySkuAtSnapdeal_args()
9266
    args.read(iprot)
9267
    iprot.readMessageEnd()
9268
    result = getSnapdealItembySkuAtSnapdeal_result()
9269
    result.success = self._handler.getSnapdealItembySkuAtSnapdeal(args.skuAtSnapdeal)
9270
    oprot.writeMessageBegin("getSnapdealItembySkuAtSnapdeal", TMessageType.REPLY, seqid)
9271
    result.write(oprot)
9272
    oprot.writeMessageEnd()
9273
    oprot.trans.flush()
9299 kshitij.so 9274
 
9621 manish.sha 9275
  def process_getProductFeedSubmit(self, seqid, iprot, oprot):
9276
    args = getProductFeedSubmit_args()
9277
    args.read(iprot)
9278
    iprot.readMessageEnd()
9279
    result = getProductFeedSubmit_result()
9280
    try:
9281
      result.success = self._handler.getProductFeedSubmit(args.catalogItemId)
9282
    except CatalogServiceException, cex:
9283
      result.cex = cex
9284
    oprot.writeMessageBegin("getProductFeedSubmit", TMessageType.REPLY, seqid)
9285
    result.write(oprot)
9286
    oprot.writeMessageEnd()
9287
    oprot.trans.flush()
9456 vikram.rag 9288
 
9621 manish.sha 9289
  def process_addProductFeedSubmit(self, seqid, iprot, oprot):
9290
    args = addProductFeedSubmit_args()
9291
    args.read(iprot)
9292
    iprot.readMessageEnd()
9293
    result = addProductFeedSubmit_result()
9294
    try:
9295
      result.success = self._handler.addProductFeedSubmit(args.productFeedSubmit)
9296
    except CatalogServiceException, cex:
9297
      result.cex = cex
9298
    oprot.writeMessageBegin("addProductFeedSubmit", TMessageType.REPLY, seqid)
9299
    result.write(oprot)
9300
    oprot.writeMessageEnd()
9301
    oprot.trans.flush()
9302
 
9303
  def process_updateProductFeedSubmit(self, seqid, iprot, oprot):
9304
    args = updateProductFeedSubmit_args()
9305
    args.read(iprot)
9306
    iprot.readMessageEnd()
9307
    result = updateProductFeedSubmit_result()
9308
    try:
9309
      result.success = self._handler.updateProductFeedSubmit(args.productFeedSubmit)
9310
    except CatalogServiceException, cex:
9311
      result.cex = cex
9312
    oprot.writeMessageBegin("updateProductFeedSubmit", TMessageType.REPLY, seqid)
9313
    result.write(oprot)
9314
    oprot.writeMessageEnd()
9315
    oprot.trans.flush()
9316
 
9317
  def process_deleteProductFeedSubmit(self, seqid, iprot, oprot):
9318
    args = deleteProductFeedSubmit_args()
9319
    args.read(iprot)
9320
    iprot.readMessageEnd()
9321
    result = deleteProductFeedSubmit_result()
9322
    try:
9323
      result.success = self._handler.deleteProductFeedSubmit(args.catalogItemId)
9324
    except CatalogServiceException, cex:
9325
      result.cex = cex
9326
    oprot.writeMessageBegin("deleteProductFeedSubmit", TMessageType.REPLY, seqid)
9327
    result.write(oprot)
9328
    oprot.writeMessageEnd()
9329
    oprot.trans.flush()
9330
 
9331
  def process_getAllProductFeedSubmit(self, seqid, iprot, oprot):
9332
    args = getAllProductFeedSubmit_args()
9333
    args.read(iprot)
9334
    iprot.readMessageEnd()
9335
    result = getAllProductFeedSubmit_result()
9336
    try:
9337
      result.success = self._handler.getAllProductFeedSubmit()
9338
    except CatalogServiceException, cex:
9339
      result.cex = cex
9340
    oprot.writeMessageBegin("getAllProductFeedSubmit", TMessageType.REPLY, seqid)
9341
    result.write(oprot)
9342
    oprot.writeMessageEnd()
9343
    oprot.trans.flush()
9344
 
9724 kshitij.so 9345
  def process_getMarketplacedetailsForItem(self, seqid, iprot, oprot):
9346
    args = getMarketplacedetailsForItem_args()
9347
    args.read(iprot)
9348
    iprot.readMessageEnd()
9349
    result = getMarketplacedetailsForItem_result()
9350
    result.success = self._handler.getMarketplacedetailsForItem(args.itemId, args.sourceId)
9351
    oprot.writeMessageBegin("getMarketplacedetailsForItem", TMessageType.REPLY, seqid)
9352
    result.write(oprot)
9353
    oprot.writeMessageEnd()
9354
    oprot.trans.flush()
9621 manish.sha 9355
 
9724 kshitij.so 9356
  def process_updateMarketplaceAttributesForItem(self, seqid, iprot, oprot):
9357
    args = updateMarketplaceAttributesForItem_args()
9358
    args.read(iprot)
9359
    iprot.readMessageEnd()
9360
    result = updateMarketplaceAttributesForItem_result()
9361
    result.success = self._handler.updateMarketplaceAttributesForItem(args.marketPlaceItem)
9362
    oprot.writeMessageBegin("updateMarketplaceAttributesForItem", TMessageType.REPLY, seqid)
9363
    result.write(oprot)
9364
    oprot.writeMessageEnd()
9365
    oprot.trans.flush()
9366
 
9779 kshitij.so 9367
  def process_getCostingForMarketplace(self, seqid, iprot, oprot):
9368
    args = getCostingForMarketplace_args()
9369
    args.read(iprot)
9370
    iprot.readMessageEnd()
9371
    result = getCostingForMarketplace_result()
9372
    result.success = self._handler.getCostingForMarketplace(args.source, args.item_id)
9373
    oprot.writeMessageBegin("getCostingForMarketplace", TMessageType.REPLY, seqid)
9374
    result.write(oprot)
9375
    oprot.writeMessageEnd()
9376
    oprot.trans.flush()
9377
 
9776 vikram.rag 9378
  def process_getMarketPlaceItemsForPriceUpdate(self, seqid, iprot, oprot):
9379
    args = getMarketPlaceItemsForPriceUpdate_args()
9380
    args.read(iprot)
9381
    iprot.readMessageEnd()
9382
    result = getMarketPlaceItemsForPriceUpdate_result()
9383
    result.success = self._handler.getMarketPlaceItemsForPriceUpdate(args.source)
9384
    oprot.writeMessageBegin("getMarketPlaceItemsForPriceUpdate", TMessageType.REPLY, seqid)
9385
    result.write(oprot)
9386
    oprot.writeMessageEnd()
9387
    oprot.trans.flush()
9724 kshitij.so 9388
 
9776 vikram.rag 9389
  def process_updateMarketPlacePriceUpdateStatus(self, seqid, iprot, oprot):
9390
    args = updateMarketPlacePriceUpdateStatus_args()
9391
    args.read(iprot)
9392
    iprot.readMessageEnd()
9393
    result = updateMarketPlacePriceUpdateStatus_result()
9816 kshitij.so 9394
    self._handler.updateMarketPlacePriceUpdateStatus(args.skulist, args.timestamp, args.source)
9776 vikram.rag 9395
    oprot.writeMessageBegin("updateMarketPlacePriceUpdateStatus", TMessageType.REPLY, seqid)
9396
    result.write(oprot)
9397
    oprot.writeMessageEnd()
9398
    oprot.trans.flush()
9399
 
9861 rajveer 9400
  def process_updateItemHoldInventory(self, seqid, iprot, oprot):
9401
    args = updateItemHoldInventory_args()
9402
    args.read(iprot)
9403
    iprot.readMessageEnd()
9404
    result = updateItemHoldInventory_result()
9405
    self._handler.updateItemHoldInventory(args.itemHoldMap)
9406
    oprot.writeMessageBegin("updateItemHoldInventory", TMessageType.REPLY, seqid)
9407
    result.write(oprot)
9408
    oprot.writeMessageEnd()
9409
    oprot.trans.flush()
9776 vikram.rag 9410
 
9895 vikram.rag 9411
  def process_updateNlcAtMarketplaces(self, seqid, iprot, oprot):
9412
    args = updateNlcAtMarketplaces_args()
9413
    args.read(iprot)
9414
    iprot.readMessageEnd()
9415
    result = updateNlcAtMarketplaces_result()
9416
    self._handler.updateNlcAtMarketplaces(args.item_id, args.vendor_id, args.nlc)
9417
    oprot.writeMessageBegin("updateNlcAtMarketplaces", TMessageType.REPLY, seqid)
9418
    result.write(oprot)
9419
    oprot.writeMessageEnd()
9420
    oprot.trans.flush()
9861 rajveer 9421
 
9945 vikram.rag 9422
  def process_getAllFlipkartItems(self, seqid, iprot, oprot):
9423
    args = getAllFlipkartItems_args()
9424
    args.read(iprot)
9425
    iprot.readMessageEnd()
9426
    result = getAllFlipkartItems_result()
9427
    result.success = self._handler.getAllFlipkartItems()
9428
    oprot.writeMessageBegin("getAllFlipkartItems", TMessageType.REPLY, seqid)
9429
    result.write(oprot)
9430
    oprot.writeMessageEnd()
9431
    oprot.trans.flush()
9895 vikram.rag 9432
 
10097 kshitij.so 9433
  def process_addOrUpdateFlipkartItem(self, seqid, iprot, oprot):
9434
    args = addOrUpdateFlipkartItem_args()
9435
    args.read(iprot)
9436
    iprot.readMessageEnd()
9437
    result = addOrUpdateFlipkartItem_result()
9438
    result.success = self._handler.addOrUpdateFlipkartItem(args.flipkartitem)
9439
    oprot.writeMessageBegin("addOrUpdateFlipkartItem", TMessageType.REPLY, seqid)
9440
    result.write(oprot)
9441
    oprot.writeMessageEnd()
9442
    oprot.trans.flush()
9945 vikram.rag 9443
 
10097 kshitij.so 9444
  def process_getFlipkartItem(self, seqid, iprot, oprot):
9445
    args = getFlipkartItem_args()
9446
    args.read(iprot)
9447
    iprot.readMessageEnd()
9448
    result = getFlipkartItem_result()
9449
    result.success = self._handler.getFlipkartItem(args.item_id)
9450
    oprot.writeMessageBegin("getFlipkartItem", TMessageType.REPLY, seqid)
9451
    result.write(oprot)
9452
    oprot.writeMessageEnd()
9453
    oprot.trans.flush()
9454
 
9455
  def process_getFlipkartItemDetails(self, seqid, iprot, oprot):
9456
    args = getFlipkartItemDetails_args()
9457
    args.read(iprot)
9458
    iprot.readMessageEnd()
9459
    result = getFlipkartItemDetails_result()
9460
    result.success = self._handler.getFlipkartItemDetails(args.item_id)
9461
    oprot.writeMessageBegin("getFlipkartItemDetails", TMessageType.REPLY, seqid)
9462
    result.write(oprot)
9463
    oprot.writeMessageEnd()
9464
    oprot.trans.flush()
9465
 
9466
  def process_getFlipkartItems(self, seqid, iprot, oprot):
9467
    args = getFlipkartItems_args()
9468
    args.read(iprot)
9469
    iprot.readMessageEnd()
9470
    result = getFlipkartItems_result()
9471
    result.success = self._handler.getFlipkartItems(args.offset, args.limit)
9472
    oprot.writeMessageBegin("getFlipkartItems", TMessageType.REPLY, seqid)
9473
    result.write(oprot)
9474
    oprot.writeMessageEnd()
9475
    oprot.trans.flush()
9476
 
9477
  def process_searchFlipkartItems(self, seqid, iprot, oprot):
9478
    args = searchFlipkartItems_args()
9479
    args.read(iprot)
9480
    iprot.readMessageEnd()
9481
    result = searchFlipkartItems_result()
9482
    result.success = self._handler.searchFlipkartItems(args.searchTerm, args.offset, args.limit)
9483
    oprot.writeMessageBegin("searchFlipkartItems", TMessageType.REPLY, seqid)
9484
    result.write(oprot)
9485
    oprot.writeMessageEnd()
9486
    oprot.trans.flush()
9487
 
9488
  def process_getCountForFlipkartItems(self, seqid, iprot, oprot):
9489
    args = getCountForFlipkartItems_args()
9490
    args.read(iprot)
9491
    iprot.readMessageEnd()
9492
    result = getCountForFlipkartItems_result()
9493
    result.success = self._handler.getCountForFlipkartItems()
9494
    oprot.writeMessageBegin("getCountForFlipkartItems", TMessageType.REPLY, seqid)
9495
    result.write(oprot)
9496
    oprot.writeMessageEnd()
9497
    oprot.trans.flush()
9498
 
9499
  def process_getFlipkartSearchResultCount(self, seqid, iprot, oprot):
9500
    args = getFlipkartSearchResultCount_args()
9501
    args.read(iprot)
9502
    iprot.readMessageEnd()
9503
    result = getFlipkartSearchResultCount_result()
9504
    result.success = self._handler.getFlipkartSearchResultCount(args.searchTerm)
9505
    oprot.writeMessageBegin("getFlipkartSearchResultCount", TMessageType.REPLY, seqid)
9506
    result.write(oprot)
9507
    oprot.writeMessageEnd()
9508
    oprot.trans.flush()
9509
 
9510
  def process_getAllFkItems(self, seqid, iprot, oprot):
9511
    args = getAllFkItems_args()
9512
    args.read(iprot)
9513
    iprot.readMessageEnd()
9514
    result = getAllFkItems_result()
9515
    result.success = self._handler.getAllFkItems()
9516
    oprot.writeMessageBegin("getAllFkItems", TMessageType.REPLY, seqid)
9517
    result.write(oprot)
9518
    oprot.writeMessageEnd()
9519
    oprot.trans.flush()
9520
 
10140 vikram.rag 9521
  def process_getFlipkartItemBySkyAtFlipkart(self, seqid, iprot, oprot):
9522
    args = getFlipkartItemBySkyAtFlipkart_args()
9523
    args.read(iprot)
9524
    iprot.readMessageEnd()
9525
    result = getFlipkartItemBySkyAtFlipkart_result()
9526
    result.success = self._handler.getFlipkartItemBySkyAtFlipkart(args.sku)
9527
    oprot.writeMessageBegin("getFlipkartItemBySkyAtFlipkart", TMessageType.REPLY, seqid)
9528
    result.write(oprot)
9529
    oprot.writeMessageEnd()
9530
    oprot.trans.flush()
10097 kshitij.so 9531
 
11015 kshitij.so 9532
  def process_getMarketplaceHistory(self, seqid, iprot, oprot):
9533
    args = getMarketplaceHistory_args()
9534
    args.read(iprot)
9535
    iprot.readMessageEnd()
9536
    result = getMarketplaceHistory_result()
9537
    result.success = self._handler.getMarketplaceHistory(args.source, args.offset, args.itemId)
9538
    oprot.writeMessageBegin("getMarketplaceHistory", TMessageType.REPLY, seqid)
9539
    result.write(oprot)
9540
    oprot.writeMessageEnd()
9541
    oprot.trans.flush()
9542
 
10909 vikram.rag 9543
  def process_getAllFbbListedItems(self, seqid, iprot, oprot):
9544
    args = getAllFbbListedItems_args()
9545
    args.read(iprot)
9546
    iprot.readMessageEnd()
9547
    result = getAllFbbListedItems_result()
9548
    result.success = self._handler.getAllFbbListedItems()
9549
    oprot.writeMessageBegin("getAllFbbListedItems", TMessageType.REPLY, seqid)
9550
    result.write(oprot)
9551
    oprot.writeMessageEnd()
9552
    oprot.trans.flush()
10140 vikram.rag 9553
 
10924 vikram.rag 9554
  def process_getAllFbbPricingItems(self, seqid, iprot, oprot):
9555
    args = getAllFbbPricingItems_args()
9556
    args.read(iprot)
9557
    iprot.readMessageEnd()
9558
    result = getAllFbbPricingItems_result()
9559
    result.success = self._handler.getAllFbbPricingItems()
9560
    oprot.writeMessageBegin("getAllFbbPricingItems", TMessageType.REPLY, seqid)
9561
    result.write(oprot)
9562
    oprot.writeMessageEnd()
9563
    oprot.trans.flush()
10909 vikram.rag 9564
 
11015 kshitij.so 9565
  def process_getCountForMarketplaceHistory(self, seqid, iprot, oprot):
9566
    args = getCountForMarketplaceHistory_args()
9567
    args.read(iprot)
9568
    iprot.readMessageEnd()
9569
    result = getCountForMarketplaceHistory_result()
9570
    result.success = self._handler.getCountForMarketplaceHistory(args.source, args.itemId)
9571
    oprot.writeMessageBegin("getCountForMarketplaceHistory", TMessageType.REPLY, seqid)
9572
    result.write(oprot)
9573
    oprot.writeMessageEnd()
9574
    oprot.trans.flush()
10924 vikram.rag 9575
 
11015 kshitij.so 9576
  def process_getMarketplaceHistoryByDate(self, seqid, iprot, oprot):
9577
    args = getMarketplaceHistoryByDate_args()
9578
    args.read(iprot)
9579
    iprot.readMessageEnd()
9580
    result = getMarketplaceHistoryByDate_result()
9581
    result.success = self._handler.getMarketplaceHistoryByDate(args.source, args.startDate, args.endDate, args.offset, args.limit, args.itemId)
9582
    oprot.writeMessageBegin("getMarketplaceHistoryByDate", TMessageType.REPLY, seqid)
9583
    result.write(oprot)
9584
    oprot.writeMessageEnd()
9585
    oprot.trans.flush()
9586
 
11531 vikram.rag 9587
  def process_getPrivateDealDetails(self, seqid, iprot, oprot):
9588
    args = getPrivateDealDetails_args()
9589
    args.read(iprot)
9590
    iprot.readMessageEnd()
9591
    result = getPrivateDealDetails_result()
9592
    result.success = self._handler.getPrivateDealDetails(args.item_id)
9593
    oprot.writeMessageBegin("getPrivateDealDetails", TMessageType.REPLY, seqid)
9594
    result.write(oprot)
9595
    oprot.writeMessageEnd()
9596
    oprot.trans.flush()
11015 kshitij.so 9597
 
11531 vikram.rag 9598
  def process_getPrivateDealItems(self, seqid, iprot, oprot):
9599
    args = getPrivateDealItems_args()
9600
    args.read(iprot)
9601
    iprot.readMessageEnd()
9602
    result = getPrivateDealItems_result()
9603
    result.success = self._handler.getPrivateDealItems(args.offset, args.limit)
9604
    oprot.writeMessageBegin("getPrivateDealItems", TMessageType.REPLY, seqid)
9605
    result.write(oprot)
9606
    oprot.writeMessageEnd()
9607
    oprot.trans.flush()
9608
 
11592 amit.gupta 9609
  def process_getAllActivePrivateDeals(self, seqid, iprot, oprot):
9610
    args = getAllActivePrivateDeals_args()
9611
    args.read(iprot)
9612
    iprot.readMessageEnd()
9613
    result = getAllActivePrivateDeals_result()
11653 amit.gupta 9614
    result.success = self._handler.getAllActivePrivateDeals(args.itemIds, args.daysDelta)
11592 amit.gupta 9615
    oprot.writeMessageBegin("getAllActivePrivateDeals", TMessageType.REPLY, seqid)
9616
    result.write(oprot)
9617
    oprot.writeMessageEnd()
9618
    oprot.trans.flush()
9619
 
11531 vikram.rag 9620
  def process_addOrUpdatePrivateDeal(self, seqid, iprot, oprot):
9621
    args = addOrUpdatePrivateDeal_args()
9622
    args.read(iprot)
9623
    iprot.readMessageEnd()
9624
    result = addOrUpdatePrivateDeal_result()
9625
    result.success = self._handler.addOrUpdatePrivateDeal(args.privateDeal)
9626
    oprot.writeMessageBegin("addOrUpdatePrivateDeal", TMessageType.REPLY, seqid)
9627
    result.write(oprot)
9628
    oprot.writeMessageEnd()
9629
    oprot.trans.flush()
9630
 
11635 vikram.rag 9631
  def process_getPrivateDealsCatalogIds(self, seqid, iprot, oprot):
9632
    args = getPrivateDealsCatalogIds_args()
9633
    args.read(iprot)
9634
    iprot.readMessageEnd()
9635
    result = getPrivateDealsCatalogIds_result()
9636
    try:
9637
      result.success = self._handler.getPrivateDealsCatalogIds(args.beginIndex, args.totalItems)
9638
    except CatalogServiceException, cex:
9639
      result.cex = cex
9640
    oprot.writeMessageBegin("getPrivateDealsCatalogIds", TMessageType.REPLY, seqid)
9641
    result.write(oprot)
9642
    oprot.writeMessageEnd()
9643
    oprot.trans.flush()
11531 vikram.rag 9644
 
11645 amit.gupta 9645
  def process_getPrivateDealsCount(self, seqid, iprot, oprot):
9646
    args = getPrivateDealsCount_args()
9647
    args.read(iprot)
9648
    iprot.readMessageEnd()
9649
    result = getPrivateDealsCount_result()
9650
    result.success = self._handler.getPrivateDealsCount()
9651
    oprot.writeMessageBegin("getPrivateDealsCount", TMessageType.REPLY, seqid)
9652
    result.write(oprot)
9653
    oprot.writeMessageEnd()
9654
    oprot.trans.flush()
11635 vikram.rag 9655
 
11905 kshitij.so 9656
  def process_getAmazonOutSyncItems(self, seqid, iprot, oprot):
9657
    args = getAmazonOutSyncItems_args()
9658
    args.read(iprot)
9659
    iprot.readMessageEnd()
9660
    result = getAmazonOutSyncItems_result()
9661
    result.success = self._handler.getAmazonOutSyncItems(args.item_id)
9662
    oprot.writeMessageBegin("getAmazonOutSyncItems", TMessageType.REPLY, seqid)
9663
    result.write(oprot)
9664
    oprot.writeMessageEnd()
9665
    oprot.trans.flush()
11645 amit.gupta 9666
 
11905 kshitij.so 9667
  def process_getAllPrivateDealsComparison(self, seqid, iprot, oprot):
9668
    args = getAllPrivateDealsComparison_args()
9669
    args.read(iprot)
9670
    iprot.readMessageEnd()
9671
    result = getAllPrivateDealsComparison_result()
9672
    result.success = self._handler.getAllPrivateDealsComparison()
9673
    oprot.writeMessageBegin("getAllPrivateDealsComparison", TMessageType.REPLY, seqid)
9674
    result.write(oprot)
9675
    oprot.writeMessageEnd()
9676
    oprot.trans.flush()
9677
 
12133 kshitij.so 9678
  def process_getAllSnapdealMarketplaceItem(self, seqid, iprot, oprot):
9679
    args = getAllSnapdealMarketplaceItem_args()
9680
    args.read(iprot)
9681
    iprot.readMessageEnd()
9682
    result = getAllSnapdealMarketplaceItem_result()
9683
    result.success = self._handler.getAllSnapdealMarketplaceItem()
9684
    oprot.writeMessageBegin("getAllSnapdealMarketplaceItem", TMessageType.REPLY, seqid)
9685
    result.write(oprot)
9686
    oprot.writeMessageEnd()
9687
    oprot.trans.flush()
11905 kshitij.so 9688
 
12133 kshitij.so 9689
  def process_getAllFlipkartMarketplaceItem(self, seqid, iprot, oprot):
9690
    args = getAllFlipkartMarketplaceItem_args()
9691
    args.read(iprot)
9692
    iprot.readMessageEnd()
9693
    result = getAllFlipkartMarketplaceItem_result()
9694
    result.success = self._handler.getAllFlipkartMarketplaceItem()
9695
    oprot.writeMessageBegin("getAllFlipkartMarketplaceItem", TMessageType.REPLY, seqid)
9696
    result.write(oprot)
9697
    oprot.writeMessageEnd()
9698
    oprot.trans.flush()
9699
 
12243 kshitij.so 9700
  def process_addCompetitorScraping(self, seqid, iprot, oprot):
9701
    args = addCompetitorScraping_args()
9702
    args.read(iprot)
9703
    iprot.readMessageEnd()
9704
    result = addCompetitorScraping_result()
9705
    self._handler.addCompetitorScraping(args.competitorPricingMap)
9706
    oprot.writeMessageBegin("addCompetitorScraping", TMessageType.REPLY, seqid)
9707
    result.write(oprot)
9708
    oprot.writeMessageEnd()
9709
    oprot.trans.flush()
12133 kshitij.so 9710
 
12243 kshitij.so 9711
  def process_getPreviousCompetitorScraping(self, seqid, iprot, oprot):
9712
    args = getPreviousCompetitorScraping_args()
9713
    args.read(iprot)
9714
    iprot.readMessageEnd()
9715
    result = getPreviousCompetitorScraping_result()
9716
    result.success = self._handler.getPreviousCompetitorScraping(args.delta)
9717
    oprot.writeMessageBegin("getPreviousCompetitorScraping", TMessageType.REPLY, seqid)
9718
    result.write(oprot)
9719
    oprot.writeMessageEnd()
9720
    oprot.trans.flush()
9721
 
12256 kshitij.so 9722
  def process_getUploadResultById(self, seqid, iprot, oprot):
9723
    args = getUploadResultById_args()
9724
    args.read(iprot)
9725
    iprot.readMessageEnd()
9726
    result = getUploadResultById_result()
9727
    result.success = self._handler.getUploadResultById(args.uploadId)
9728
    oprot.writeMessageBegin("getUploadResultById", TMessageType.REPLY, seqid)
9729
    result.write(oprot)
9730
    oprot.writeMessageEnd()
9731
    oprot.trans.flush()
12243 kshitij.so 9732
 
12363 kshitij.so 9733
  def process_addAmazonPromotion(self, seqid, iprot, oprot):
9734
    args = addAmazonPromotion_args()
9735
    args.read(iprot)
9736
    iprot.readMessageEnd()
9737
    result = addAmazonPromotion_result()
12947 kshitij.so 9738
    try:
9739
      result.success = self._handler.addAmazonPromotion(args.amazonPromotions)
9740
    except CatalogServiceException, cex:
9741
      result.cex = cex
12363 kshitij.so 9742
    oprot.writeMessageBegin("addAmazonPromotion", TMessageType.REPLY, seqid)
9743
    result.write(oprot)
9744
    oprot.writeMessageEnd()
9745
    oprot.trans.flush()
12256 kshitij.so 9746
 
12363 kshitij.so 9747
  def process_getAmazonPromotion(self, seqid, iprot, oprot):
9748
    args = getAmazonPromotion_args()
9749
    args.read(iprot)
9750
    iprot.readMessageEnd()
9751
    result = getAmazonPromotion_result()
9752
    result.success = self._handler.getAmazonPromotion(args.startDate, args.endDate)
9753
    oprot.writeMessageBegin("getAmazonPromotion", TMessageType.REPLY, seqid)
9754
    result.write(oprot)
9755
    oprot.writeMessageEnd()
9756
    oprot.trans.flush()
9757
 
9758
  def process_updateAmazonPromotion(self, seqid, iprot, oprot):
9759
    args = updateAmazonPromotion_args()
9760
    args.read(iprot)
9761
    iprot.readMessageEnd()
9762
    result = updateAmazonPromotion_result()
9763
    result.success = self._handler.updateAmazonPromotion(args.amazonPromotions)
9764
    oprot.writeMessageBegin("updateAmazonPromotion", TMessageType.REPLY, seqid)
9765
    result.write(oprot)
9766
    oprot.writeMessageEnd()
9767
    oprot.trans.flush()
9768
 
12567 amit.gupta 9769
  def process_markPartiallyActive(self, seqid, iprot, oprot):
9770
    args = markPartiallyActive_args()
9771
    args.read(iprot)
9772
    iprot.readMessageEnd()
9773
    result = markPartiallyActive_result()
9774
    result.success = self._handler.markPartiallyActive(args.itemId, args.categoryId)
9775
    oprot.writeMessageBegin("markPartiallyActive", TMessageType.REPLY, seqid)
9776
    result.write(oprot)
9777
    oprot.writeMessageEnd()
9778
    oprot.trans.flush()
12363 kshitij.so 9779
 
12567 amit.gupta 9780
  def process_updateItemStateVat(self, seqid, iprot, oprot):
9781
    args = updateItemStateVat_args()
9782
    args.read(iprot)
9783
    iprot.readMessageEnd()
9784
    result = updateItemStateVat_result()
9785
    result.success = self._handler.updateItemStateVat(args.itemId, args.statevat)
9786
    oprot.writeMessageBegin("updateItemStateVat", TMessageType.REPLY, seqid)
9787
    result.write(oprot)
9788
    oprot.writeMessageEnd()
9789
    oprot.trans.flush()
9790
 
12620 amit.gupta 9791
  def process_getExAffiliateItemInfo(self, seqid, iprot, oprot):
9792
    args = getExAffiliateItemInfo_args()
9793
    args.read(iprot)
9794
    iprot.readMessageEnd()
9795
    result = getExAffiliateItemInfo_result()
9796
    result.success = self._handler.getExAffiliateItemInfo()
9797
    oprot.writeMessageBegin("getExAffiliateItemInfo", TMessageType.REPLY, seqid)
9798
    result.write(oprot)
9799
    oprot.writeMessageEnd()
9800
    oprot.trans.flush()
12567 amit.gupta 9801
 
12888 kshitij.so 9802
  def process_getAllItemstoListOnFbg(self, seqid, iprot, oprot):
9803
    args = getAllItemstoListOnFbg_args()
9804
    args.read(iprot)
9805
    iprot.readMessageEnd()
9806
    result = getAllItemstoListOnFbg_result()
9807
    result.success = self._handler.getAllItemstoListOnFbg()
9808
    oprot.writeMessageBegin("getAllItemstoListOnFbg", TMessageType.REPLY, seqid)
9809
    result.write(oprot)
9810
    oprot.writeMessageEnd()
9811
    oprot.trans.flush()
12620 amit.gupta 9812
 
12892 kshitij.so 9813
  def process_getAllFbgListedItems(self, seqid, iprot, oprot):
9814
    args = getAllFbgListedItems_args()
9815
    args.read(iprot)
9816
    iprot.readMessageEnd()
9817
    result = getAllFbgListedItems_result()
9818
    result.success = self._handler.getAllFbgListedItems()
9819
    oprot.writeMessageBegin("getAllFbgListedItems", TMessageType.REPLY, seqid)
9820
    result.write(oprot)
9821
    oprot.writeMessageEnd()
9822
    oprot.trans.flush()
12888 kshitij.so 9823
 
13136 amit.gupta 9824
  def process_checkServices(self, seqid, iprot, oprot):
9825
    args = checkServices_args()
9826
    args.read(iprot)
9827
    iprot.readMessageEnd()
9828
    result = checkServices_result()
9829
    try:
9830
      result.success = self._handler.checkServices(args.lines)
9831
    except CatalogServiceException, cex:
9832
      result.cex = cex
9833
    oprot.writeMessageBegin("checkServices", TMessageType.REPLY, seqid)
9834
    result.write(oprot)
9835
    oprot.writeMessageEnd()
9836
    oprot.trans.flush()
12892 kshitij.so 9837
 
13709 manish.sha 9838
  def process_addHsItem(self, seqid, iprot, oprot):
9839
    args = addHsItem_args()
9840
    args.read(iprot)
9841
    iprot.readMessageEnd()
9842
    result = addHsItem_result()
9843
    self._handler.addHsItem(args.hsItems)
9844
    oprot.writeMessageBegin("addHsItem", TMessageType.REPLY, seqid)
9845
    result.write(oprot)
9846
    oprot.writeMessageEnd()
9847
    oprot.trans.flush()
13136 amit.gupta 9848
 
13709 manish.sha 9849
  def process_getHsItem(self, seqid, iprot, oprot):
9850
    args = getHsItem_args()
9851
    args.read(iprot)
9852
    iprot.readMessageEnd()
9853
    result = getHsItem_result()
9854
    result.success = self._handler.getHsItem(args.hsItemId)
9855
    oprot.writeMessageBegin("getHsItem", TMessageType.REPLY, seqid)
9856
    result.write(oprot)
9857
    oprot.writeMessageEnd()
9858
    oprot.trans.flush()
9859
 
9860
  def process_updateHsItem(self, seqid, iprot, oprot):
9861
    args = updateHsItem_args()
9862
    args.read(iprot)
9863
    iprot.readMessageEnd()
9864
    result = updateHsItem_result()
9865
    self._handler.updateHsItem(args.hsItem)
9866
    oprot.writeMessageBegin("updateHsItem", TMessageType.REPLY, seqid)
9867
    result.write(oprot)
9868
    oprot.writeMessageEnd()
9869
    oprot.trans.flush()
9870
 
14182 kshitij.so 9871
  def process_getPricingForDtr(self, seqid, iprot, oprot):
9872
    args = getPricingForDtr_args()
9873
    args.read(iprot)
9874
    iprot.readMessageEnd()
9875
    result = getPricingForDtr_result()
9876
    result.success = self._handler.getPricingForDtr(args.catalogItemId)
9877
    oprot.writeMessageBegin("getPricingForDtr", TMessageType.REPLY, seqid)
9878
    result.write(oprot)
9879
    oprot.writeMessageEnd()
9880
    oprot.trans.flush()
13709 manish.sha 9881
 
15702 kshitij.so 9882
  def process_getAllItemstoListOnFbd(self, seqid, iprot, oprot):
9883
    args = getAllItemstoListOnFbd_args()
9884
    args.read(iprot)
9885
    iprot.readMessageEnd()
9886
    result = getAllItemstoListOnFbd_result()
9887
    result.success = self._handler.getAllItemstoListOnFbd()
9888
    oprot.writeMessageBegin("getAllItemstoListOnFbd", TMessageType.REPLY, seqid)
9889
    result.write(oprot)
9890
    oprot.writeMessageEnd()
9891
    oprot.trans.flush()
14182 kshitij.so 9892
 
15706 kshitij.so 9893
  def process_getAllFbdListedItems(self, seqid, iprot, oprot):
9894
    args = getAllFbdListedItems_args()
9895
    args.read(iprot)
9896
    iprot.readMessageEnd()
9897
    result = getAllFbdListedItems_result()
9898
    result.success = self._handler.getAllFbdListedItems()
9899
    oprot.writeMessageBegin("getAllFbdListedItems", TMessageType.REPLY, seqid)
9900
    result.write(oprot)
9901
    oprot.writeMessageEnd()
9902
    oprot.trans.flush()
15702 kshitij.so 9903
 
18150 kshitij.so 9904
  def process_getBulkPricingForItems(self, seqid, iprot, oprot):
9905
    args = getBulkPricingForItems_args()
9906
    args.read(iprot)
9907
    iprot.readMessageEnd()
9908
    result = getBulkPricingForItems_result()
9909
    result.success = self._handler.getBulkPricingForItems(args.itemIds)
9910
    oprot.writeMessageBegin("getBulkPricingForItems", TMessageType.REPLY, seqid)
9911
    result.write(oprot)
9912
    oprot.writeMessageEnd()
9913
    oprot.trans.flush()
15706 kshitij.so 9914
 
18150 kshitij.so 9915
  def process_addBulkPricingForItem(self, seqid, iprot, oprot):
9916
    args = addBulkPricingForItem_args()
9917
    args.read(iprot)
9918
    iprot.readMessageEnd()
9919
    result = addBulkPricingForItem_result()
9920
    result.success = self._handler.addBulkPricingForItem(args.bulkItemPricing)
9921
    oprot.writeMessageBegin("addBulkPricingForItem", TMessageType.REPLY, seqid)
9922
    result.write(oprot)
9923
    oprot.writeMessageEnd()
9924
    oprot.trans.flush()
9925
 
9926
  def process_deleteBulkPricingForItemById(self, seqid, iprot, oprot):
9927
    args = deleteBulkPricingForItemById_args()
9928
    args.read(iprot)
9929
    iprot.readMessageEnd()
9930
    result = deleteBulkPricingForItemById_result()
9931
    result.success = self._handler.deleteBulkPricingForItemById(args.id)
9932
    oprot.writeMessageBegin("deleteBulkPricingForItemById", TMessageType.REPLY, seqid)
9933
    result.write(oprot)
9934
    oprot.writeMessageEnd()
9935
    oprot.trans.flush()
9936
 
9937
  def process_deleteBulkPricingForItem(self, seqid, iprot, oprot):
9938
    args = deleteBulkPricingForItem_args()
9939
    args.read(iprot)
9940
    iprot.readMessageEnd()
9941
    result = deleteBulkPricingForItem_result()
9942
    result.success = self._handler.deleteBulkPricingForItem(args.item_id)
9943
    oprot.writeMessageBegin("deleteBulkPricingForItem", TMessageType.REPLY, seqid)
9944
    result.write(oprot)
9945
    oprot.writeMessageEnd()
9946
    oprot.trans.flush()
9947
 
9948
  def process_getBulkPricingByItemId(self, seqid, iprot, oprot):
9949
    args = getBulkPricingByItemId_args()
9950
    args.read(iprot)
9951
    iprot.readMessageEnd()
9952
    result = getBulkPricingByItemId_result()
9953
    result.success = self._handler.getBulkPricingByItemId(args.item_id)
9954
    oprot.writeMessageBegin("getBulkPricingByItemId", TMessageType.REPLY, seqid)
9955
    result.write(oprot)
9956
    oprot.writeMessageEnd()
9957
    oprot.trans.flush()
9958
 
18602 kshitij.so 9959
  def process_updateBulkPricesOnProduction(self, seqid, iprot, oprot):
9960
    args = updateBulkPricesOnProduction_args()
9961
    args.read(iprot)
9962
    iprot.readMessageEnd()
9963
    result = updateBulkPricesOnProduction_result()
9964
    result.success = self._handler.updateBulkPricesOnProduction(args.item_id, args.bulkItemPricingList)
9965
    oprot.writeMessageBegin("updateBulkPricesOnProduction", TMessageType.REPLY, seqid)
9966
    result.write(oprot)
9967
    oprot.writeMessageEnd()
9968
    oprot.trans.flush()
18150 kshitij.so 9969
 
18764 kshitij.so 9970
  def process_getCartByValue(self, seqid, iprot, oprot):
9971
    args = getCartByValue_args()
9972
    args.read(iprot)
9973
    iprot.readMessageEnd()
9974
    result = getCartByValue_result()
9975
    result.success = self._handler.getCartByValue(args.cartIds)
9976
    oprot.writeMessageBegin("getCartByValue", TMessageType.REPLY, seqid)
9977
    result.write(oprot)
9978
    oprot.writeMessageEnd()
9979
    oprot.trans.flush()
18602 kshitij.so 9980
 
19247 kshitij.so 9981
  def process_updateItemPricing(self, seqid, iprot, oprot):
9982
    args = updateItemPricing_args()
9983
    args.read(iprot)
9984
    iprot.readMessageEnd()
9985
    result = updateItemPricing_result()
9986
    result.success = self._handler.updateItemPricing(args.itemPricingList)
9987
    oprot.writeMessageBegin("updateItemPricing", TMessageType.REPLY, seqid)
9988
    result.write(oprot)
9989
    oprot.writeMessageEnd()
9990
    oprot.trans.flush()
18764 kshitij.so 9991
 
19686 kshitij.so 9992
  def process_bulkUpdateCatalog(self, seqid, iprot, oprot):
9993
    args = bulkUpdateCatalog_args()
9994
    args.read(iprot)
9995
    iprot.readMessageEnd()
9996
    result = bulkUpdateCatalog_result()
9997
    try:
9998
      self._handler.bulkUpdateCatalog(args.bulkUploadCatalog)
9999
    except CatalogServiceException, cex:
10000
      result.cex = cex
10001
    oprot.writeMessageBegin("bulkUpdateCatalog", TMessageType.REPLY, seqid)
10002
    result.write(oprot)
10003
    oprot.writeMessageEnd()
10004
    oprot.trans.flush()
19247 kshitij.so 10005
 
19691 manish.sha 10006
  def process_getWarrantyInfoForItem(self, seqid, iprot, oprot):
10007
    args = getWarrantyInfoForItem_args()
10008
    args.read(iprot)
10009
    iprot.readMessageEnd()
10010
    result = getWarrantyInfoForItem_result()
10011
    try:
10012
      result.success = self._handler.getWarrantyInfoForItem(args.itemId, args.itemCondition)
10013
    except CatalogServiceException, cex:
10014
      result.cex = cex
10015
    oprot.writeMessageBegin("getWarrantyInfoForItem", TMessageType.REPLY, seqid)
10016
    result.write(oprot)
10017
    oprot.writeMessageEnd()
10018
    oprot.trans.flush()
19686 kshitij.so 10019
 
19691 manish.sha 10020
 
5944 mandeep.dh 10021
# HELPER FUNCTIONS AND STRUCTURES
10022
 
10023
class addItem_args:
10024
  """
10025
  Attributes:
10026
   - item
10027
  """
10028
 
10029
  thrift_spec = (
10030
    None, # 0
10031
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
10032
  )
10033
 
10034
  def __init__(self, item=None,):
10035
    self.item = item
10036
 
10037
  def read(self, iprot):
10038
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10039
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10040
      return
10041
    iprot.readStructBegin()
10042
    while True:
10043
      (fname, ftype, fid) = iprot.readFieldBegin()
10044
      if ftype == TType.STOP:
10045
        break
10046
      if fid == 1:
10047
        if ftype == TType.STRUCT:
10048
          self.item = Item()
10049
          self.item.read(iprot)
10050
        else:
10051
          iprot.skip(ftype)
10052
      else:
10053
        iprot.skip(ftype)
10054
      iprot.readFieldEnd()
10055
    iprot.readStructEnd()
10056
 
10057
  def write(self, oprot):
10058
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10059
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10060
      return
10061
    oprot.writeStructBegin('addItem_args')
10062
    if self.item is not None:
10063
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
10064
      self.item.write(oprot)
10065
      oprot.writeFieldEnd()
10066
    oprot.writeFieldStop()
10067
    oprot.writeStructEnd()
10068
 
10069
  def validate(self):
10070
    return
10071
 
10072
 
10073
  def __repr__(self):
10074
    L = ['%s=%r' % (key, value)
10075
      for key, value in self.__dict__.iteritems()]
10076
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10077
 
10078
  def __eq__(self, other):
10079
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10080
 
10081
  def __ne__(self, other):
10082
    return not (self == other)
10083
 
10084
class addItem_result:
10085
  """
10086
  Attributes:
10087
   - success
10088
   - cex
10089
  """
10090
 
10091
  thrift_spec = (
10092
    (0, TType.I64, 'success', None, None, ), # 0
10093
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10094
  )
10095
 
10096
  def __init__(self, success=None, cex=None,):
10097
    self.success = success
10098
    self.cex = cex
10099
 
10100
  def read(self, iprot):
10101
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10102
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10103
      return
10104
    iprot.readStructBegin()
10105
    while True:
10106
      (fname, ftype, fid) = iprot.readFieldBegin()
10107
      if ftype == TType.STOP:
10108
        break
10109
      if fid == 0:
10110
        if ftype == TType.I64:
10111
          self.success = iprot.readI64();
10112
        else:
10113
          iprot.skip(ftype)
10114
      elif fid == 1:
10115
        if ftype == TType.STRUCT:
10116
          self.cex = CatalogServiceException()
10117
          self.cex.read(iprot)
10118
        else:
10119
          iprot.skip(ftype)
10120
      else:
10121
        iprot.skip(ftype)
10122
      iprot.readFieldEnd()
10123
    iprot.readStructEnd()
10124
 
10125
  def write(self, oprot):
10126
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10127
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10128
      return
10129
    oprot.writeStructBegin('addItem_result')
10130
    if self.success is not None:
10131
      oprot.writeFieldBegin('success', TType.I64, 0)
10132
      oprot.writeI64(self.success)
10133
      oprot.writeFieldEnd()
10134
    if self.cex is not None:
10135
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10136
      self.cex.write(oprot)
10137
      oprot.writeFieldEnd()
10138
    oprot.writeFieldStop()
10139
    oprot.writeStructEnd()
10140
 
10141
  def validate(self):
10142
    return
10143
 
10144
 
10145
  def __repr__(self):
10146
    L = ['%s=%r' % (key, value)
10147
      for key, value in self.__dict__.iteritems()]
10148
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10149
 
10150
  def __eq__(self, other):
10151
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10152
 
10153
  def __ne__(self, other):
10154
    return not (self == other)
10155
 
10156
class updateItem_args:
10157
  """
10158
  Attributes:
10159
   - item
10160
  """
10161
 
10162
  thrift_spec = (
10163
    None, # 0
10164
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
10165
  )
10166
 
10167
  def __init__(self, item=None,):
10168
    self.item = item
10169
 
10170
  def read(self, iprot):
10171
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10172
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10173
      return
10174
    iprot.readStructBegin()
10175
    while True:
10176
      (fname, ftype, fid) = iprot.readFieldBegin()
10177
      if ftype == TType.STOP:
10178
        break
10179
      if fid == 1:
10180
        if ftype == TType.STRUCT:
10181
          self.item = Item()
10182
          self.item.read(iprot)
10183
        else:
10184
          iprot.skip(ftype)
10185
      else:
10186
        iprot.skip(ftype)
10187
      iprot.readFieldEnd()
10188
    iprot.readStructEnd()
10189
 
10190
  def write(self, oprot):
10191
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10192
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10193
      return
10194
    oprot.writeStructBegin('updateItem_args')
10195
    if self.item is not None:
10196
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
10197
      self.item.write(oprot)
10198
      oprot.writeFieldEnd()
10199
    oprot.writeFieldStop()
10200
    oprot.writeStructEnd()
10201
 
10202
  def validate(self):
10203
    return
10204
 
10205
 
10206
  def __repr__(self):
10207
    L = ['%s=%r' % (key, value)
10208
      for key, value in self.__dict__.iteritems()]
10209
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10210
 
10211
  def __eq__(self, other):
10212
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10213
 
10214
  def __ne__(self, other):
10215
    return not (self == other)
10216
 
10217
class updateItem_result:
10218
  """
10219
  Attributes:
10220
   - success
10221
   - cex
10222
  """
10223
 
10224
  thrift_spec = (
10225
    (0, TType.I64, 'success', None, None, ), # 0
10226
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10227
  )
10228
 
10229
  def __init__(self, success=None, cex=None,):
10230
    self.success = success
10231
    self.cex = cex
10232
 
10233
  def read(self, iprot):
10234
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10235
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10236
      return
10237
    iprot.readStructBegin()
10238
    while True:
10239
      (fname, ftype, fid) = iprot.readFieldBegin()
10240
      if ftype == TType.STOP:
10241
        break
10242
      if fid == 0:
10243
        if ftype == TType.I64:
10244
          self.success = iprot.readI64();
10245
        else:
10246
          iprot.skip(ftype)
10247
      elif fid == 1:
10248
        if ftype == TType.STRUCT:
10249
          self.cex = CatalogServiceException()
10250
          self.cex.read(iprot)
10251
        else:
10252
          iprot.skip(ftype)
10253
      else:
10254
        iprot.skip(ftype)
10255
      iprot.readFieldEnd()
10256
    iprot.readStructEnd()
10257
 
10258
  def write(self, oprot):
10259
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10260
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10261
      return
10262
    oprot.writeStructBegin('updateItem_result')
10263
    if self.success is not None:
10264
      oprot.writeFieldBegin('success', TType.I64, 0)
10265
      oprot.writeI64(self.success)
10266
      oprot.writeFieldEnd()
10267
    if self.cex is not None:
10268
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10269
      self.cex.write(oprot)
10270
      oprot.writeFieldEnd()
10271
    oprot.writeFieldStop()
10272
    oprot.writeStructEnd()
10273
 
10274
  def validate(self):
10275
    return
10276
 
10277
 
10278
  def __repr__(self):
10279
    L = ['%s=%r' % (key, value)
10280
      for key, value in self.__dict__.iteritems()]
10281
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10282
 
10283
  def __eq__(self, other):
10284
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10285
 
10286
  def __ne__(self, other):
10287
    return not (self == other)
10288
 
10289
class isActive_args:
10290
  """
10291
  Attributes:
10292
   - itemId
10293
  """
10294
 
10295
  thrift_spec = (
10296
    None, # 0
10297
    (1, TType.I64, 'itemId', None, None, ), # 1
10298
  )
10299
 
10300
  def __init__(self, itemId=None,):
10301
    self.itemId = itemId
10302
 
10303
  def read(self, iprot):
10304
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10305
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10306
      return
10307
    iprot.readStructBegin()
10308
    while True:
10309
      (fname, ftype, fid) = iprot.readFieldBegin()
10310
      if ftype == TType.STOP:
10311
        break
10312
      if fid == 1:
10313
        if ftype == TType.I64:
10314
          self.itemId = iprot.readI64();
10315
        else:
10316
          iprot.skip(ftype)
10317
      else:
10318
        iprot.skip(ftype)
10319
      iprot.readFieldEnd()
10320
    iprot.readStructEnd()
10321
 
10322
  def write(self, oprot):
10323
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10324
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10325
      return
10326
    oprot.writeStructBegin('isActive_args')
10327
    if self.itemId is not None:
10328
      oprot.writeFieldBegin('itemId', TType.I64, 1)
10329
      oprot.writeI64(self.itemId)
10330
      oprot.writeFieldEnd()
10331
    oprot.writeFieldStop()
10332
    oprot.writeStructEnd()
10333
 
10334
  def validate(self):
10335
    return
10336
 
10337
 
10338
  def __repr__(self):
10339
    L = ['%s=%r' % (key, value)
10340
      for key, value in self.__dict__.iteritems()]
10341
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10342
 
10343
  def __eq__(self, other):
10344
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10345
 
10346
  def __ne__(self, other):
10347
    return not (self == other)
10348
 
10349
class isActive_result:
10350
  """
10351
  Attributes:
10352
   - success
10353
   - isex
10354
  """
10355
 
10356
  thrift_spec = (
10357
    (0, TType.STRUCT, 'success', (ItemShippingInfo, ItemShippingInfo.thrift_spec), None, ), # 0
10358
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10359
  )
10360
 
10361
  def __init__(self, success=None, isex=None,):
10362
    self.success = success
10363
    self.isex = isex
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 == 0:
10375
        if ftype == TType.STRUCT:
10376
          self.success = ItemShippingInfo()
10377
          self.success.read(iprot)
10378
        else:
10379
          iprot.skip(ftype)
10380
      elif fid == 1:
10381
        if ftype == TType.STRUCT:
10382
          self.isex = CatalogServiceException()
10383
          self.isex.read(iprot)
10384
        else:
10385
          iprot.skip(ftype)
10386
      else:
10387
        iprot.skip(ftype)
10388
      iprot.readFieldEnd()
10389
    iprot.readStructEnd()
10390
 
10391
  def write(self, oprot):
10392
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10393
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10394
      return
10395
    oprot.writeStructBegin('isActive_result')
10396
    if self.success is not None:
10397
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
10398
      self.success.write(oprot)
10399
      oprot.writeFieldEnd()
10400
    if self.isex is not None:
10401
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10402
      self.isex.write(oprot)
10403
      oprot.writeFieldEnd()
10404
    oprot.writeFieldStop()
10405
    oprot.writeStructEnd()
10406
 
10407
  def validate(self):
10408
    return
10409
 
10410
 
10411
  def __repr__(self):
10412
    L = ['%s=%r' % (key, value)
10413
      for key, value in self.__dict__.iteritems()]
10414
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10415
 
10416
  def __eq__(self, other):
10417
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10418
 
10419
  def __ne__(self, other):
10420
    return not (self == other)
10421
 
7438 amit.gupta 10422
class getItemsStatus_args:
10423
  """
10424
  Attributes:
10425
   - itemIds
10426
  """
10427
 
10428
  thrift_spec = (
10429
    None, # 0
10430
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
10431
  )
10432
 
10433
  def __init__(self, itemIds=None,):
10434
    self.itemIds = itemIds
10435
 
10436
  def read(self, iprot):
10437
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10438
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10439
      return
10440
    iprot.readStructBegin()
10441
    while True:
10442
      (fname, ftype, fid) = iprot.readFieldBegin()
10443
      if ftype == TType.STOP:
10444
        break
10445
      if fid == 1:
10446
        if ftype == TType.LIST:
10447
          self.itemIds = []
18719 kshitij.so 10448
          (_etype42, _size39) = iprot.readListBegin()
10449
          for _i43 in xrange(_size39):
10450
            _elem44 = iprot.readI64();
10451
            self.itemIds.append(_elem44)
7438 amit.gupta 10452
          iprot.readListEnd()
10453
        else:
10454
          iprot.skip(ftype)
10455
      else:
10456
        iprot.skip(ftype)
10457
      iprot.readFieldEnd()
10458
    iprot.readStructEnd()
10459
 
10460
  def write(self, oprot):
10461
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10462
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10463
      return
10464
    oprot.writeStructBegin('getItemsStatus_args')
10465
    if self.itemIds is not None:
10466
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
10467
      oprot.writeListBegin(TType.I64, len(self.itemIds))
18719 kshitij.so 10468
      for iter45 in self.itemIds:
10469
        oprot.writeI64(iter45)
7438 amit.gupta 10470
      oprot.writeListEnd()
10471
      oprot.writeFieldEnd()
10472
    oprot.writeFieldStop()
10473
    oprot.writeStructEnd()
10474
 
10475
  def validate(self):
10476
    return
10477
 
10478
 
10479
  def __repr__(self):
10480
    L = ['%s=%r' % (key, value)
10481
      for key, value in self.__dict__.iteritems()]
10482
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10483
 
10484
  def __eq__(self, other):
10485
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10486
 
10487
  def __ne__(self, other):
10488
    return not (self == other)
10489
 
10490
class getItemsStatus_result:
10491
  """
10492
  Attributes:
10493
   - success
10494
   - isex
10495
  """
10496
 
10497
  thrift_spec = (
10498
    (0, TType.MAP, 'success', (TType.I64,None,TType.BOOL,None), None, ), # 0
10499
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10500
  )
10501
 
10502
  def __init__(self, success=None, isex=None,):
10503
    self.success = success
10504
    self.isex = isex
10505
 
10506
  def read(self, iprot):
10507
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10508
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10509
      return
10510
    iprot.readStructBegin()
10511
    while True:
10512
      (fname, ftype, fid) = iprot.readFieldBegin()
10513
      if ftype == TType.STOP:
10514
        break
10515
      if fid == 0:
10516
        if ftype == TType.MAP:
10517
          self.success = {}
18719 kshitij.so 10518
          (_ktype47, _vtype48, _size46 ) = iprot.readMapBegin() 
10519
          for _i50 in xrange(_size46):
10520
            _key51 = iprot.readI64();
10521
            _val52 = iprot.readBool();
10522
            self.success[_key51] = _val52
7438 amit.gupta 10523
          iprot.readMapEnd()
10524
        else:
10525
          iprot.skip(ftype)
10526
      elif fid == 1:
10527
        if ftype == TType.STRUCT:
10528
          self.isex = CatalogServiceException()
10529
          self.isex.read(iprot)
10530
        else:
10531
          iprot.skip(ftype)
10532
      else:
10533
        iprot.skip(ftype)
10534
      iprot.readFieldEnd()
10535
    iprot.readStructEnd()
10536
 
10537
  def write(self, oprot):
10538
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10539
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10540
      return
10541
    oprot.writeStructBegin('getItemsStatus_result')
10542
    if self.success is not None:
10543
      oprot.writeFieldBegin('success', TType.MAP, 0)
10544
      oprot.writeMapBegin(TType.I64, TType.BOOL, len(self.success))
18719 kshitij.so 10545
      for kiter53,viter54 in self.success.items():
10546
        oprot.writeI64(kiter53)
10547
        oprot.writeBool(viter54)
7438 amit.gupta 10548
      oprot.writeMapEnd()
10549
      oprot.writeFieldEnd()
10550
    if self.isex is not None:
10551
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10552
      self.isex.write(oprot)
10553
      oprot.writeFieldEnd()
10554
    oprot.writeFieldStop()
10555
    oprot.writeStructEnd()
10556
 
10557
  def validate(self):
10558
    return
10559
 
10560
 
10561
  def __repr__(self):
10562
    L = ['%s=%r' % (key, value)
10563
      for key, value in self.__dict__.iteritems()]
10564
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10565
 
10566
  def __eq__(self, other):
10567
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10568
 
10569
  def __ne__(self, other):
10570
    return not (self == other)
10571
 
5944 mandeep.dh 10572
class getItemStatusDescription_args:
10573
  """
10574
  Attributes:
10575
   - itemId
10576
  """
10577
 
10578
  thrift_spec = (
10579
    None, # 0
10580
    (1, TType.I64, 'itemId', None, None, ), # 1
10581
  )
10582
 
10583
  def __init__(self, itemId=None,):
10584
    self.itemId = itemId
10585
 
10586
  def read(self, iprot):
10587
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10588
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10589
      return
10590
    iprot.readStructBegin()
10591
    while True:
10592
      (fname, ftype, fid) = iprot.readFieldBegin()
10593
      if ftype == TType.STOP:
10594
        break
10595
      if fid == 1:
10596
        if ftype == TType.I64:
10597
          self.itemId = iprot.readI64();
10598
        else:
10599
          iprot.skip(ftype)
10600
      else:
10601
        iprot.skip(ftype)
10602
      iprot.readFieldEnd()
10603
    iprot.readStructEnd()
10604
 
10605
  def write(self, oprot):
10606
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10607
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10608
      return
10609
    oprot.writeStructBegin('getItemStatusDescription_args')
10610
    if self.itemId is not None:
10611
      oprot.writeFieldBegin('itemId', TType.I64, 1)
10612
      oprot.writeI64(self.itemId)
10613
      oprot.writeFieldEnd()
10614
    oprot.writeFieldStop()
10615
    oprot.writeStructEnd()
10616
 
10617
  def validate(self):
10618
    return
10619
 
10620
 
10621
  def __repr__(self):
10622
    L = ['%s=%r' % (key, value)
10623
      for key, value in self.__dict__.iteritems()]
10624
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10625
 
10626
  def __eq__(self, other):
10627
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10628
 
10629
  def __ne__(self, other):
10630
    return not (self == other)
10631
 
10632
class getItemStatusDescription_result:
10633
  """
10634
  Attributes:
10635
   - success
10636
   - isex
10637
  """
10638
 
10639
  thrift_spec = (
10640
    (0, TType.STRING, 'success', None, None, ), # 0
10641
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10642
  )
10643
 
10644
  def __init__(self, success=None, isex=None,):
10645
    self.success = success
10646
    self.isex = isex
10647
 
10648
  def read(self, iprot):
10649
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10650
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10651
      return
10652
    iprot.readStructBegin()
10653
    while True:
10654
      (fname, ftype, fid) = iprot.readFieldBegin()
10655
      if ftype == TType.STOP:
10656
        break
10657
      if fid == 0:
10658
        if ftype == TType.STRING:
10659
          self.success = iprot.readString();
10660
        else:
10661
          iprot.skip(ftype)
10662
      elif fid == 1:
10663
        if ftype == TType.STRUCT:
10664
          self.isex = CatalogServiceException()
10665
          self.isex.read(iprot)
10666
        else:
10667
          iprot.skip(ftype)
10668
      else:
10669
        iprot.skip(ftype)
10670
      iprot.readFieldEnd()
10671
    iprot.readStructEnd()
10672
 
10673
  def write(self, oprot):
10674
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10675
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10676
      return
10677
    oprot.writeStructBegin('getItemStatusDescription_result')
10678
    if self.success is not None:
10679
      oprot.writeFieldBegin('success', TType.STRING, 0)
10680
      oprot.writeString(self.success)
10681
      oprot.writeFieldEnd()
10682
    if self.isex is not None:
10683
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10684
      self.isex.write(oprot)
10685
      oprot.writeFieldEnd()
10686
    oprot.writeFieldStop()
10687
    oprot.writeStructEnd()
10688
 
10689
  def validate(self):
10690
    return
10691
 
10692
 
10693
  def __repr__(self):
10694
    L = ['%s=%r' % (key, value)
10695
      for key, value in self.__dict__.iteritems()]
10696
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10697
 
10698
  def __eq__(self, other):
10699
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10700
 
10701
  def __ne__(self, other):
10702
    return not (self == other)
10703
 
10704
class startItemOn_args:
10705
  """
10706
  Attributes:
10707
   - item_id
10708
   - timestamp
10709
  """
10710
 
10711
  thrift_spec = (
10712
    None, # 0
10713
    (1, TType.I64, 'item_id', None, None, ), # 1
10714
    (2, TType.I64, 'timestamp', None, None, ), # 2
10715
  )
10716
 
10717
  def __init__(self, item_id=None, timestamp=None,):
10718
    self.item_id = item_id
10719
    self.timestamp = timestamp
10720
 
10721
  def read(self, iprot):
10722
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10723
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10724
      return
10725
    iprot.readStructBegin()
10726
    while True:
10727
      (fname, ftype, fid) = iprot.readFieldBegin()
10728
      if ftype == TType.STOP:
10729
        break
10730
      if fid == 1:
10731
        if ftype == TType.I64:
10732
          self.item_id = iprot.readI64();
10733
        else:
10734
          iprot.skip(ftype)
10735
      elif fid == 2:
10736
        if ftype == TType.I64:
10737
          self.timestamp = iprot.readI64();
10738
        else:
10739
          iprot.skip(ftype)
10740
      else:
10741
        iprot.skip(ftype)
10742
      iprot.readFieldEnd()
10743
    iprot.readStructEnd()
10744
 
10745
  def write(self, oprot):
10746
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10747
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10748
      return
10749
    oprot.writeStructBegin('startItemOn_args')
10750
    if self.item_id is not None:
10751
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10752
      oprot.writeI64(self.item_id)
10753
      oprot.writeFieldEnd()
10754
    if self.timestamp is not None:
10755
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10756
      oprot.writeI64(self.timestamp)
10757
      oprot.writeFieldEnd()
10758
    oprot.writeFieldStop()
10759
    oprot.writeStructEnd()
10760
 
10761
  def validate(self):
10762
    return
10763
 
10764
 
10765
  def __repr__(self):
10766
    L = ['%s=%r' % (key, value)
10767
      for key, value in self.__dict__.iteritems()]
10768
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10769
 
10770
  def __eq__(self, other):
10771
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10772
 
10773
  def __ne__(self, other):
10774
    return not (self == other)
10775
 
10776
class startItemOn_result:
10777
  """
10778
  Attributes:
10779
   - cex
10780
  """
10781
 
10782
  thrift_spec = (
10783
    None, # 0
10784
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10785
  )
10786
 
10787
  def __init__(self, cex=None,):
10788
    self.cex = cex
10789
 
10790
  def read(self, iprot):
10791
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10792
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10793
      return
10794
    iprot.readStructBegin()
10795
    while True:
10796
      (fname, ftype, fid) = iprot.readFieldBegin()
10797
      if ftype == TType.STOP:
10798
        break
10799
      if fid == 1:
10800
        if ftype == TType.STRUCT:
10801
          self.cex = CatalogServiceException()
10802
          self.cex.read(iprot)
10803
        else:
10804
          iprot.skip(ftype)
10805
      else:
10806
        iprot.skip(ftype)
10807
      iprot.readFieldEnd()
10808
    iprot.readStructEnd()
10809
 
10810
  def write(self, oprot):
10811
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10812
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10813
      return
10814
    oprot.writeStructBegin('startItemOn_result')
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 retireItemOn_args:
10838
  """
10839
  Attributes:
10840
   - item_id
10841
   - timestamp
10842
  """
10843
 
10844
  thrift_spec = (
10845
    None, # 0
10846
    (1, TType.I64, 'item_id', None, None, ), # 1
10847
    (2, TType.I64, 'timestamp', None, None, ), # 2
10848
  )
10849
 
10850
  def __init__(self, item_id=None, timestamp=None,):
10851
    self.item_id = item_id
10852
    self.timestamp = timestamp
10853
 
10854
  def read(self, iprot):
10855
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10856
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10857
      return
10858
    iprot.readStructBegin()
10859
    while True:
10860
      (fname, ftype, fid) = iprot.readFieldBegin()
10861
      if ftype == TType.STOP:
10862
        break
10863
      if fid == 1:
10864
        if ftype == TType.I64:
10865
          self.item_id = iprot.readI64();
10866
        else:
10867
          iprot.skip(ftype)
10868
      elif fid == 2:
10869
        if ftype == TType.I64:
10870
          self.timestamp = iprot.readI64();
10871
        else:
10872
          iprot.skip(ftype)
10873
      else:
10874
        iprot.skip(ftype)
10875
      iprot.readFieldEnd()
10876
    iprot.readStructEnd()
10877
 
10878
  def write(self, oprot):
10879
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10880
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10881
      return
10882
    oprot.writeStructBegin('retireItemOn_args')
10883
    if self.item_id is not None:
10884
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10885
      oprot.writeI64(self.item_id)
10886
      oprot.writeFieldEnd()
10887
    if self.timestamp is not None:
10888
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10889
      oprot.writeI64(self.timestamp)
10890
      oprot.writeFieldEnd()
10891
    oprot.writeFieldStop()
10892
    oprot.writeStructEnd()
10893
 
10894
  def validate(self):
10895
    return
10896
 
10897
 
10898
  def __repr__(self):
10899
    L = ['%s=%r' % (key, value)
10900
      for key, value in self.__dict__.iteritems()]
10901
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10902
 
10903
  def __eq__(self, other):
10904
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10905
 
10906
  def __ne__(self, other):
10907
    return not (self == other)
10908
 
10909
class retireItemOn_result:
10910
  """
10911
  Attributes:
10912
   - cex
10913
  """
10914
 
10915
  thrift_spec = (
10916
    None, # 0
10917
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10918
  )
10919
 
10920
  def __init__(self, cex=None,):
10921
    self.cex = cex
10922
 
10923
  def read(self, iprot):
10924
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10925
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10926
      return
10927
    iprot.readStructBegin()
10928
    while True:
10929
      (fname, ftype, fid) = iprot.readFieldBegin()
10930
      if ftype == TType.STOP:
10931
        break
10932
      if fid == 1:
10933
        if ftype == TType.STRUCT:
10934
          self.cex = CatalogServiceException()
10935
          self.cex.read(iprot)
10936
        else:
10937
          iprot.skip(ftype)
10938
      else:
10939
        iprot.skip(ftype)
10940
      iprot.readFieldEnd()
10941
    iprot.readStructEnd()
10942
 
10943
  def write(self, oprot):
10944
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10945
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10946
      return
10947
    oprot.writeStructBegin('retireItemOn_result')
10948
    if self.cex is not None:
10949
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10950
      self.cex.write(oprot)
10951
      oprot.writeFieldEnd()
10952
    oprot.writeFieldStop()
10953
    oprot.writeStructEnd()
10954
 
10955
  def validate(self):
10956
    return
10957
 
10958
 
10959
  def __repr__(self):
10960
    L = ['%s=%r' % (key, value)
10961
      for key, value in self.__dict__.iteritems()]
10962
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10963
 
10964
  def __eq__(self, other):
10965
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10966
 
10967
  def __ne__(self, other):
10968
    return not (self == other)
10969
 
10970
class changeItemStatus_args:
10971
  """
10972
  Attributes:
10973
   - item_id
10974
   - timestamp
10975
   - newstatus
10976
  """
10977
 
10978
  thrift_spec = (
10979
    None, # 0
10980
    (1, TType.I64, 'item_id', None, None, ), # 1
10981
    (2, TType.I64, 'timestamp', None, None, ), # 2
10982
    (3, TType.I32, 'newstatus', None, None, ), # 3
10983
  )
10984
 
10985
  def __init__(self, item_id=None, timestamp=None, newstatus=None,):
10986
    self.item_id = item_id
10987
    self.timestamp = timestamp
10988
    self.newstatus = newstatus
10989
 
10990
  def read(self, iprot):
10991
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10992
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10993
      return
10994
    iprot.readStructBegin()
10995
    while True:
10996
      (fname, ftype, fid) = iprot.readFieldBegin()
10997
      if ftype == TType.STOP:
10998
        break
10999
      if fid == 1:
11000
        if ftype == TType.I64:
11001
          self.item_id = iprot.readI64();
11002
        else:
11003
          iprot.skip(ftype)
11004
      elif fid == 2:
11005
        if ftype == TType.I64:
11006
          self.timestamp = iprot.readI64();
11007
        else:
11008
          iprot.skip(ftype)
11009
      elif fid == 3:
11010
        if ftype == TType.I32:
11011
          self.newstatus = iprot.readI32();
11012
        else:
11013
          iprot.skip(ftype)
11014
      else:
11015
        iprot.skip(ftype)
11016
      iprot.readFieldEnd()
11017
    iprot.readStructEnd()
11018
 
11019
  def write(self, oprot):
11020
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11021
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11022
      return
11023
    oprot.writeStructBegin('changeItemStatus_args')
11024
    if self.item_id is not None:
11025
      oprot.writeFieldBegin('item_id', TType.I64, 1)
11026
      oprot.writeI64(self.item_id)
11027
      oprot.writeFieldEnd()
11028
    if self.timestamp is not None:
11029
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
11030
      oprot.writeI64(self.timestamp)
11031
      oprot.writeFieldEnd()
11032
    if self.newstatus is not None:
11033
      oprot.writeFieldBegin('newstatus', TType.I32, 3)
11034
      oprot.writeI32(self.newstatus)
11035
      oprot.writeFieldEnd()
11036
    oprot.writeFieldStop()
11037
    oprot.writeStructEnd()
11038
 
11039
  def validate(self):
11040
    return
11041
 
11042
 
11043
  def __repr__(self):
11044
    L = ['%s=%r' % (key, value)
11045
      for key, value in self.__dict__.iteritems()]
11046
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11047
 
11048
  def __eq__(self, other):
11049
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11050
 
11051
  def __ne__(self, other):
11052
    return not (self == other)
11053
 
11054
class changeItemStatus_result:
11055
  """
11056
  Attributes:
11057
   - cex
11058
  """
11059
 
11060
  thrift_spec = (
11061
    None, # 0
11062
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11063
  )
11064
 
11065
  def __init__(self, cex=None,):
11066
    self.cex = cex
11067
 
11068
  def read(self, iprot):
11069
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11070
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11071
      return
11072
    iprot.readStructBegin()
11073
    while True:
11074
      (fname, ftype, fid) = iprot.readFieldBegin()
11075
      if ftype == TType.STOP:
11076
        break
11077
      if fid == 1:
11078
        if ftype == TType.STRUCT:
11079
          self.cex = CatalogServiceException()
11080
          self.cex.read(iprot)
11081
        else:
11082
          iprot.skip(ftype)
11083
      else:
11084
        iprot.skip(ftype)
11085
      iprot.readFieldEnd()
11086
    iprot.readStructEnd()
11087
 
11088
  def write(self, oprot):
11089
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11090
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11091
      return
11092
    oprot.writeStructBegin('changeItemStatus_result')
11093
    if self.cex is not None:
11094
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11095
      self.cex.write(oprot)
11096
      oprot.writeFieldEnd()
11097
    oprot.writeFieldStop()
11098
    oprot.writeStructEnd()
11099
 
11100
  def validate(self):
11101
    return
11102
 
11103
 
11104
  def __repr__(self):
11105
    L = ['%s=%r' % (key, value)
11106
      for key, value in self.__dict__.iteritems()]
11107
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11108
 
11109
  def __eq__(self, other):
11110
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11111
 
11112
  def __ne__(self, other):
11113
    return not (self == other)
11114
 
11115
class getItem_args:
11116
  """
11117
  Attributes:
11118
   - item_id
11119
  """
11120
 
11121
  thrift_spec = (
11122
    None, # 0
11123
    (1, TType.I64, 'item_id', None, None, ), # 1
11124
  )
11125
 
11126
  def __init__(self, item_id=None,):
11127
    self.item_id = item_id
11128
 
11129
  def read(self, iprot):
11130
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11131
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11132
      return
11133
    iprot.readStructBegin()
11134
    while True:
11135
      (fname, ftype, fid) = iprot.readFieldBegin()
11136
      if ftype == TType.STOP:
11137
        break
11138
      if fid == 1:
11139
        if ftype == TType.I64:
11140
          self.item_id = iprot.readI64();
11141
        else:
11142
          iprot.skip(ftype)
11143
      else:
11144
        iprot.skip(ftype)
11145
      iprot.readFieldEnd()
11146
    iprot.readStructEnd()
11147
 
11148
  def write(self, oprot):
11149
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11150
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11151
      return
11152
    oprot.writeStructBegin('getItem_args')
11153
    if self.item_id is not None:
11154
      oprot.writeFieldBegin('item_id', TType.I64, 1)
11155
      oprot.writeI64(self.item_id)
11156
      oprot.writeFieldEnd()
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 getItem_result:
11176
  """
11177
  Attributes:
11178
   - success
11179
   - cex
11180
  """
11181
 
11182
  thrift_spec = (
11183
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
11184
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11185
  )
11186
 
11187
  def __init__(self, success=None, cex=None,):
11188
    self.success = success
11189
    self.cex = cex
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.STRUCT:
11202
          self.success = Item()
11203
          self.success.read(iprot)
11204
        else:
11205
          iprot.skip(ftype)
11206
      elif fid == 1:
11207
        if ftype == TType.STRUCT:
11208
          self.cex = CatalogServiceException()
11209
          self.cex.read(iprot)
11210
        else:
11211
          iprot.skip(ftype)
11212
      else:
11213
        iprot.skip(ftype)
11214
      iprot.readFieldEnd()
11215
    iprot.readStructEnd()
11216
 
11217
  def write(self, oprot):
11218
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11219
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11220
      return
11221
    oprot.writeStructBegin('getItem_result')
11222
    if self.success is not None:
11223
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
11224
      self.success.write(oprot)
11225
      oprot.writeFieldEnd()
11226
    if self.cex is not None:
11227
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11228
      self.cex.write(oprot)
11229
      oprot.writeFieldEnd()
11230
    oprot.writeFieldStop()
11231
    oprot.writeStructEnd()
11232
 
11233
  def validate(self):
11234
    return
11235
 
11236
 
11237
  def __repr__(self):
11238
    L = ['%s=%r' % (key, value)
11239
      for key, value in self.__dict__.iteritems()]
11240
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11241
 
11242
  def __eq__(self, other):
11243
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11244
 
11245
  def __ne__(self, other):
11246
    return not (self == other)
11247
 
13493 amit.gupta 11248
class getItems_args:
11249
  """
11250
  Attributes:
11251
   - item_ids
11252
  """
11253
 
11254
  thrift_spec = (
11255
    None, # 0
11256
    (1, TType.LIST, 'item_ids', (TType.I64,None), None, ), # 1
11257
  )
11258
 
11259
  def __init__(self, item_ids=None,):
11260
    self.item_ids = item_ids
11261
 
11262
  def read(self, iprot):
11263
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11264
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11265
      return
11266
    iprot.readStructBegin()
11267
    while True:
11268
      (fname, ftype, fid) = iprot.readFieldBegin()
11269
      if ftype == TType.STOP:
11270
        break
11271
      if fid == 1:
11272
        if ftype == TType.LIST:
11273
          self.item_ids = []
18719 kshitij.so 11274
          (_etype58, _size55) = iprot.readListBegin()
11275
          for _i59 in xrange(_size55):
11276
            _elem60 = iprot.readI64();
11277
            self.item_ids.append(_elem60)
13493 amit.gupta 11278
          iprot.readListEnd()
11279
        else:
11280
          iprot.skip(ftype)
11281
      else:
11282
        iprot.skip(ftype)
11283
      iprot.readFieldEnd()
11284
    iprot.readStructEnd()
11285
 
11286
  def write(self, oprot):
11287
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11288
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11289
      return
11290
    oprot.writeStructBegin('getItems_args')
11291
    if self.item_ids is not None:
11292
      oprot.writeFieldBegin('item_ids', TType.LIST, 1)
11293
      oprot.writeListBegin(TType.I64, len(self.item_ids))
18719 kshitij.so 11294
      for iter61 in self.item_ids:
11295
        oprot.writeI64(iter61)
13493 amit.gupta 11296
      oprot.writeListEnd()
11297
      oprot.writeFieldEnd()
11298
    oprot.writeFieldStop()
11299
    oprot.writeStructEnd()
11300
 
11301
  def validate(self):
11302
    return
11303
 
11304
 
11305
  def __repr__(self):
11306
    L = ['%s=%r' % (key, value)
11307
      for key, value in self.__dict__.iteritems()]
11308
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11309
 
11310
  def __eq__(self, other):
11311
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11312
 
11313
  def __ne__(self, other):
11314
    return not (self == other)
11315
 
11316
class getItems_result:
11317
  """
11318
  Attributes:
11319
   - success
11320
   - cex
11321
  """
11322
 
11323
  thrift_spec = (
11324
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11325
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11326
  )
11327
 
11328
  def __init__(self, success=None, cex=None,):
11329
    self.success = success
11330
    self.cex = cex
11331
 
11332
  def read(self, iprot):
11333
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11334
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11335
      return
11336
    iprot.readStructBegin()
11337
    while True:
11338
      (fname, ftype, fid) = iprot.readFieldBegin()
11339
      if ftype == TType.STOP:
11340
        break
11341
      if fid == 0:
11342
        if ftype == TType.MAP:
11343
          self.success = {}
18719 kshitij.so 11344
          (_ktype63, _vtype64, _size62 ) = iprot.readMapBegin() 
11345
          for _i66 in xrange(_size62):
11346
            _key67 = iprot.readI64();
11347
            _val68 = Item()
11348
            _val68.read(iprot)
11349
            self.success[_key67] = _val68
13493 amit.gupta 11350
          iprot.readMapEnd()
11351
        else:
11352
          iprot.skip(ftype)
11353
      elif fid == 1:
11354
        if ftype == TType.STRUCT:
11355
          self.cex = CatalogServiceException()
11356
          self.cex.read(iprot)
11357
        else:
11358
          iprot.skip(ftype)
11359
      else:
11360
        iprot.skip(ftype)
11361
      iprot.readFieldEnd()
11362
    iprot.readStructEnd()
11363
 
11364
  def write(self, oprot):
11365
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11366
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11367
      return
11368
    oprot.writeStructBegin('getItems_result')
11369
    if self.success is not None:
11370
      oprot.writeFieldBegin('success', TType.MAP, 0)
11371
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
18719 kshitij.so 11372
      for kiter69,viter70 in self.success.items():
11373
        oprot.writeI64(kiter69)
11374
        viter70.write(oprot)
13493 amit.gupta 11375
      oprot.writeMapEnd()
11376
      oprot.writeFieldEnd()
11377
    if self.cex is not None:
11378
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11379
      self.cex.write(oprot)
11380
      oprot.writeFieldEnd()
11381
    oprot.writeFieldStop()
11382
    oprot.writeStructEnd()
11383
 
11384
  def validate(self):
11385
    return
11386
 
11387
 
11388
  def __repr__(self):
11389
    L = ['%s=%r' % (key, value)
11390
      for key, value in self.__dict__.iteritems()]
11391
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11392
 
11393
  def __eq__(self, other):
11394
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11395
 
11396
  def __ne__(self, other):
11397
    return not (self == other)
11398
 
5944 mandeep.dh 11399
class getItemsByCatalogId_args:
11400
  """
11401
  Attributes:
11402
   - catalog_item_id
11403
  """
11404
 
11405
  thrift_spec = (
11406
    None, # 0
11407
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
11408
  )
11409
 
11410
  def __init__(self, catalog_item_id=None,):
11411
    self.catalog_item_id = catalog_item_id
11412
 
11413
  def read(self, iprot):
11414
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11415
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11416
      return
11417
    iprot.readStructBegin()
11418
    while True:
11419
      (fname, ftype, fid) = iprot.readFieldBegin()
11420
      if ftype == TType.STOP:
11421
        break
11422
      if fid == 1:
11423
        if ftype == TType.I64:
11424
          self.catalog_item_id = iprot.readI64();
11425
        else:
11426
          iprot.skip(ftype)
11427
      else:
11428
        iprot.skip(ftype)
11429
      iprot.readFieldEnd()
11430
    iprot.readStructEnd()
11431
 
11432
  def write(self, oprot):
11433
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11434
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11435
      return
11436
    oprot.writeStructBegin('getItemsByCatalogId_args')
11437
    if self.catalog_item_id is not None:
11438
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
11439
      oprot.writeI64(self.catalog_item_id)
11440
      oprot.writeFieldEnd()
11441
    oprot.writeFieldStop()
11442
    oprot.writeStructEnd()
11443
 
11444
  def validate(self):
11445
    return
11446
 
11447
 
11448
  def __repr__(self):
11449
    L = ['%s=%r' % (key, value)
11450
      for key, value in self.__dict__.iteritems()]
11451
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11452
 
11453
  def __eq__(self, other):
11454
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11455
 
11456
  def __ne__(self, other):
11457
    return not (self == other)
11458
 
11459
class getItemsByCatalogId_result:
11460
  """
11461
  Attributes:
11462
   - success
11463
   - cex
11464
  """
11465
 
11466
  thrift_spec = (
11467
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11468
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11469
  )
11470
 
11471
  def __init__(self, success=None, cex=None,):
11472
    self.success = success
11473
    self.cex = cex
11474
 
11475
  def read(self, iprot):
11476
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11477
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11478
      return
11479
    iprot.readStructBegin()
11480
    while True:
11481
      (fname, ftype, fid) = iprot.readFieldBegin()
11482
      if ftype == TType.STOP:
11483
        break
11484
      if fid == 0:
11485
        if ftype == TType.LIST:
11486
          self.success = []
18719 kshitij.so 11487
          (_etype74, _size71) = iprot.readListBegin()
11488
          for _i75 in xrange(_size71):
11489
            _elem76 = Item()
11490
            _elem76.read(iprot)
11491
            self.success.append(_elem76)
5944 mandeep.dh 11492
          iprot.readListEnd()
11493
        else:
11494
          iprot.skip(ftype)
11495
      elif fid == 1:
11496
        if ftype == TType.STRUCT:
11497
          self.cex = CatalogServiceException()
11498
          self.cex.read(iprot)
11499
        else:
11500
          iprot.skip(ftype)
11501
      else:
11502
        iprot.skip(ftype)
11503
      iprot.readFieldEnd()
11504
    iprot.readStructEnd()
11505
 
11506
  def write(self, oprot):
11507
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11508
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11509
      return
11510
    oprot.writeStructBegin('getItemsByCatalogId_result')
11511
    if self.success is not None:
11512
      oprot.writeFieldBegin('success', TType.LIST, 0)
11513
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 11514
      for iter77 in self.success:
11515
        iter77.write(oprot)
5944 mandeep.dh 11516
      oprot.writeListEnd()
11517
      oprot.writeFieldEnd()
11518
    if self.cex is not None:
11519
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11520
      self.cex.write(oprot)
11521
      oprot.writeFieldEnd()
11522
    oprot.writeFieldStop()
11523
    oprot.writeStructEnd()
11524
 
11525
  def validate(self):
11526
    return
11527
 
11528
 
11529
  def __repr__(self):
11530
    L = ['%s=%r' % (key, value)
11531
      for key, value in self.__dict__.iteritems()]
11532
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11533
 
11534
  def __eq__(self, other):
11535
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11536
 
11537
  def __ne__(self, other):
11538
    return not (self == other)
11539
 
11540
class getValidItemsByCatalogId_args:
11541
  """
11542
  Attributes:
11543
   - catalog_item_id
11544
  """
11545
 
11546
  thrift_spec = (
11547
    None, # 0
11548
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
11549
  )
11550
 
11551
  def __init__(self, catalog_item_id=None,):
11552
    self.catalog_item_id = catalog_item_id
11553
 
11554
  def read(self, iprot):
11555
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11556
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11557
      return
11558
    iprot.readStructBegin()
11559
    while True:
11560
      (fname, ftype, fid) = iprot.readFieldBegin()
11561
      if ftype == TType.STOP:
11562
        break
11563
      if fid == 1:
11564
        if ftype == TType.I64:
11565
          self.catalog_item_id = iprot.readI64();
11566
        else:
11567
          iprot.skip(ftype)
11568
      else:
11569
        iprot.skip(ftype)
11570
      iprot.readFieldEnd()
11571
    iprot.readStructEnd()
11572
 
11573
  def write(self, oprot):
11574
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11575
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11576
      return
11577
    oprot.writeStructBegin('getValidItemsByCatalogId_args')
11578
    if self.catalog_item_id is not None:
11579
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
11580
      oprot.writeI64(self.catalog_item_id)
11581
      oprot.writeFieldEnd()
11582
    oprot.writeFieldStop()
11583
    oprot.writeStructEnd()
11584
 
11585
  def validate(self):
11586
    return
11587
 
11588
 
11589
  def __repr__(self):
11590
    L = ['%s=%r' % (key, value)
11591
      for key, value in self.__dict__.iteritems()]
11592
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11593
 
11594
  def __eq__(self, other):
11595
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11596
 
11597
  def __ne__(self, other):
11598
    return not (self == other)
11599
 
11600
class getValidItemsByCatalogId_result:
11601
  """
11602
  Attributes:
11603
   - success
11604
   - cex
11605
  """
11606
 
11607
  thrift_spec = (
11608
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11609
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11610
  )
11611
 
11612
  def __init__(self, success=None, cex=None,):
11613
    self.success = success
11614
    self.cex = cex
11615
 
11616
  def read(self, iprot):
11617
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11618
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11619
      return
11620
    iprot.readStructBegin()
11621
    while True:
11622
      (fname, ftype, fid) = iprot.readFieldBegin()
11623
      if ftype == TType.STOP:
11624
        break
11625
      if fid == 0:
11626
        if ftype == TType.LIST:
11627
          self.success = []
18719 kshitij.so 11628
          (_etype81, _size78) = iprot.readListBegin()
11629
          for _i82 in xrange(_size78):
11630
            _elem83 = Item()
11631
            _elem83.read(iprot)
11632
            self.success.append(_elem83)
5944 mandeep.dh 11633
          iprot.readListEnd()
11634
        else:
11635
          iprot.skip(ftype)
11636
      elif fid == 1:
11637
        if ftype == TType.STRUCT:
11638
          self.cex = CatalogServiceException()
11639
          self.cex.read(iprot)
11640
        else:
11641
          iprot.skip(ftype)
11642
      else:
11643
        iprot.skip(ftype)
11644
      iprot.readFieldEnd()
11645
    iprot.readStructEnd()
11646
 
11647
  def write(self, oprot):
11648
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11649
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11650
      return
11651
    oprot.writeStructBegin('getValidItemsByCatalogId_result')
11652
    if self.success is not None:
11653
      oprot.writeFieldBegin('success', TType.LIST, 0)
11654
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 11655
      for iter84 in self.success:
11656
        iter84.write(oprot)
5944 mandeep.dh 11657
      oprot.writeListEnd()
11658
      oprot.writeFieldEnd()
11659
    if self.cex is not None:
11660
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11661
      self.cex.write(oprot)
11662
      oprot.writeFieldEnd()
11663
    oprot.writeFieldStop()
11664
    oprot.writeStructEnd()
11665
 
11666
  def validate(self):
11667
    return
11668
 
11669
 
11670
  def __repr__(self):
11671
    L = ['%s=%r' % (key, value)
11672
      for key, value in self.__dict__.iteritems()]
11673
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11674
 
11675
  def __eq__(self, other):
11676
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11677
 
11678
  def __ne__(self, other):
11679
    return not (self == other)
11680
 
11681
class getAllItems_args:
11682
  """
11683
  Attributes:
11684
   - isActive
11685
  """
11686
 
11687
  thrift_spec = (
11688
    None, # 0
11689
    (1, TType.BOOL, 'isActive', None, None, ), # 1
11690
  )
11691
 
11692
  def __init__(self, isActive=None,):
11693
    self.isActive = isActive
11694
 
11695
  def read(self, iprot):
11696
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11697
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11698
      return
11699
    iprot.readStructBegin()
11700
    while True:
11701
      (fname, ftype, fid) = iprot.readFieldBegin()
11702
      if ftype == TType.STOP:
11703
        break
11704
      if fid == 1:
11705
        if ftype == TType.BOOL:
11706
          self.isActive = iprot.readBool();
11707
        else:
11708
          iprot.skip(ftype)
11709
      else:
11710
        iprot.skip(ftype)
11711
      iprot.readFieldEnd()
11712
    iprot.readStructEnd()
11713
 
11714
  def write(self, oprot):
11715
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11716
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11717
      return
11718
    oprot.writeStructBegin('getAllItems_args')
11719
    if self.isActive is not None:
11720
      oprot.writeFieldBegin('isActive', TType.BOOL, 1)
11721
      oprot.writeBool(self.isActive)
11722
      oprot.writeFieldEnd()
11723
    oprot.writeFieldStop()
11724
    oprot.writeStructEnd()
11725
 
11726
  def validate(self):
11727
    return
11728
 
11729
 
11730
  def __repr__(self):
11731
    L = ['%s=%r' % (key, value)
11732
      for key, value in self.__dict__.iteritems()]
11733
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11734
 
11735
  def __eq__(self, other):
11736
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11737
 
11738
  def __ne__(self, other):
11739
    return not (self == other)
11740
 
11741
class getAllItems_result:
11742
  """
11743
  Attributes:
11744
   - success
11745
   - cex
11746
  """
11747
 
11748
  thrift_spec = (
11749
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11750
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11751
  )
11752
 
11753
  def __init__(self, success=None, cex=None,):
11754
    self.success = success
11755
    self.cex = cex
11756
 
11757
  def read(self, iprot):
11758
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11759
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11760
      return
11761
    iprot.readStructBegin()
11762
    while True:
11763
      (fname, ftype, fid) = iprot.readFieldBegin()
11764
      if ftype == TType.STOP:
11765
        break
11766
      if fid == 0:
11767
        if ftype == TType.LIST:
11768
          self.success = []
18719 kshitij.so 11769
          (_etype88, _size85) = iprot.readListBegin()
11770
          for _i89 in xrange(_size85):
11771
            _elem90 = Item()
11772
            _elem90.read(iprot)
11773
            self.success.append(_elem90)
5944 mandeep.dh 11774
          iprot.readListEnd()
11775
        else:
11776
          iprot.skip(ftype)
11777
      elif fid == 1:
11778
        if ftype == TType.STRUCT:
11779
          self.cex = CatalogServiceException()
11780
          self.cex.read(iprot)
11781
        else:
11782
          iprot.skip(ftype)
11783
      else:
11784
        iprot.skip(ftype)
11785
      iprot.readFieldEnd()
11786
    iprot.readStructEnd()
11787
 
11788
  def write(self, oprot):
11789
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11790
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11791
      return
11792
    oprot.writeStructBegin('getAllItems_result')
11793
    if self.success is not None:
11794
      oprot.writeFieldBegin('success', TType.LIST, 0)
11795
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 11796
      for iter91 in self.success:
11797
        iter91.write(oprot)
5944 mandeep.dh 11798
      oprot.writeListEnd()
11799
      oprot.writeFieldEnd()
11800
    if self.cex is not None:
11801
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11802
      self.cex.write(oprot)
11803
      oprot.writeFieldEnd()
11804
    oprot.writeFieldStop()
11805
    oprot.writeStructEnd()
11806
 
11807
  def validate(self):
11808
    return
11809
 
11810
 
11811
  def __repr__(self):
11812
    L = ['%s=%r' % (key, value)
11813
      for key, value in self.__dict__.iteritems()]
11814
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11815
 
11816
  def __eq__(self, other):
11817
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11818
 
11819
  def __ne__(self, other):
11820
    return not (self == other)
11821
 
11822
class getAllItemsByStatus_args:
11823
  """
11824
  Attributes:
11825
   - itemStatus
11826
  """
11827
 
11828
  thrift_spec = (
11829
    None, # 0
11830
    (1, TType.I32, 'itemStatus', None, None, ), # 1
11831
  )
11832
 
11833
  def __init__(self, itemStatus=None,):
11834
    self.itemStatus = itemStatus
11835
 
11836
  def read(self, iprot):
11837
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11838
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11839
      return
11840
    iprot.readStructBegin()
11841
    while True:
11842
      (fname, ftype, fid) = iprot.readFieldBegin()
11843
      if ftype == TType.STOP:
11844
        break
11845
      if fid == 1:
11846
        if ftype == TType.I32:
11847
          self.itemStatus = iprot.readI32();
11848
        else:
11849
          iprot.skip(ftype)
11850
      else:
11851
        iprot.skip(ftype)
11852
      iprot.readFieldEnd()
11853
    iprot.readStructEnd()
11854
 
11855
  def write(self, oprot):
11856
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11857
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11858
      return
11859
    oprot.writeStructBegin('getAllItemsByStatus_args')
11860
    if self.itemStatus is not None:
11861
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
11862
      oprot.writeI32(self.itemStatus)
11863
      oprot.writeFieldEnd()
11864
    oprot.writeFieldStop()
11865
    oprot.writeStructEnd()
11866
 
11867
  def validate(self):
11868
    return
11869
 
11870
 
11871
  def __repr__(self):
11872
    L = ['%s=%r' % (key, value)
11873
      for key, value in self.__dict__.iteritems()]
11874
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11875
 
11876
  def __eq__(self, other):
11877
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11878
 
11879
  def __ne__(self, other):
11880
    return not (self == other)
11881
 
11882
class getAllItemsByStatus_result:
11883
  """
11884
  Attributes:
11885
   - success
11886
   - cex
11887
  """
11888
 
11889
  thrift_spec = (
11890
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11891
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11892
  )
11893
 
11894
  def __init__(self, success=None, cex=None,):
11895
    self.success = success
11896
    self.cex = cex
11897
 
11898
  def read(self, iprot):
11899
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11900
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11901
      return
11902
    iprot.readStructBegin()
11903
    while True:
11904
      (fname, ftype, fid) = iprot.readFieldBegin()
11905
      if ftype == TType.STOP:
11906
        break
11907
      if fid == 0:
11908
        if ftype == TType.LIST:
11909
          self.success = []
18719 kshitij.so 11910
          (_etype95, _size92) = iprot.readListBegin()
11911
          for _i96 in xrange(_size92):
11912
            _elem97 = Item()
11913
            _elem97.read(iprot)
11914
            self.success.append(_elem97)
5944 mandeep.dh 11915
          iprot.readListEnd()
11916
        else:
11917
          iprot.skip(ftype)
11918
      elif fid == 1:
11919
        if ftype == TType.STRUCT:
11920
          self.cex = CatalogServiceException()
11921
          self.cex.read(iprot)
11922
        else:
11923
          iprot.skip(ftype)
11924
      else:
11925
        iprot.skip(ftype)
11926
      iprot.readFieldEnd()
11927
    iprot.readStructEnd()
11928
 
11929
  def write(self, oprot):
11930
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11931
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11932
      return
11933
    oprot.writeStructBegin('getAllItemsByStatus_result')
11934
    if self.success is not None:
11935
      oprot.writeFieldBegin('success', TType.LIST, 0)
11936
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 11937
      for iter98 in self.success:
11938
        iter98.write(oprot)
5944 mandeep.dh 11939
      oprot.writeListEnd()
11940
      oprot.writeFieldEnd()
11941
    if self.cex is not None:
11942
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11943
      self.cex.write(oprot)
11944
      oprot.writeFieldEnd()
11945
    oprot.writeFieldStop()
11946
    oprot.writeStructEnd()
11947
 
11948
  def validate(self):
11949
    return
11950
 
11951
 
11952
  def __repr__(self):
11953
    L = ['%s=%r' % (key, value)
11954
      for key, value in self.__dict__.iteritems()]
11955
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11956
 
11957
  def __eq__(self, other):
11958
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11959
 
11960
  def __ne__(self, other):
11961
    return not (self == other)
11962
 
11963
class markItemAsContentComplete_args:
11964
  """
11965
  Attributes:
11966
   - entityId
11967
   - category
11968
   - brand
11969
   - modelName
11970
   - modelNumber
9253 rajveer 11971
   - isAndroid
5944 mandeep.dh 11972
  """
11973
 
11974
  thrift_spec = (
11975
    None, # 0
11976
    (1, TType.I64, 'entityId', None, None, ), # 1
11977
    (2, TType.I64, 'category', None, None, ), # 2
11978
    (3, TType.STRING, 'brand', None, None, ), # 3
11979
    (4, TType.STRING, 'modelName', None, None, ), # 4
11980
    (5, TType.STRING, 'modelNumber', None, None, ), # 5
9253 rajveer 11981
    (6, TType.BOOL, 'isAndroid', None, None, ), # 6
5944 mandeep.dh 11982
  )
11983
 
9253 rajveer 11984
  def __init__(self, entityId=None, category=None, brand=None, modelName=None, modelNumber=None, isAndroid=None,):
5944 mandeep.dh 11985
    self.entityId = entityId
11986
    self.category = category
11987
    self.brand = brand
11988
    self.modelName = modelName
11989
    self.modelNumber = modelNumber
9253 rajveer 11990
    self.isAndroid = isAndroid
5944 mandeep.dh 11991
 
11992
  def read(self, iprot):
11993
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11994
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11995
      return
11996
    iprot.readStructBegin()
11997
    while True:
11998
      (fname, ftype, fid) = iprot.readFieldBegin()
11999
      if ftype == TType.STOP:
12000
        break
12001
      if fid == 1:
12002
        if ftype == TType.I64:
12003
          self.entityId = iprot.readI64();
12004
        else:
12005
          iprot.skip(ftype)
12006
      elif fid == 2:
12007
        if ftype == TType.I64:
12008
          self.category = iprot.readI64();
12009
        else:
12010
          iprot.skip(ftype)
12011
      elif fid == 3:
12012
        if ftype == TType.STRING:
12013
          self.brand = iprot.readString();
12014
        else:
12015
          iprot.skip(ftype)
12016
      elif fid == 4:
12017
        if ftype == TType.STRING:
12018
          self.modelName = iprot.readString();
12019
        else:
12020
          iprot.skip(ftype)
12021
      elif fid == 5:
12022
        if ftype == TType.STRING:
12023
          self.modelNumber = iprot.readString();
12024
        else:
12025
          iprot.skip(ftype)
9253 rajveer 12026
      elif fid == 6:
12027
        if ftype == TType.BOOL:
12028
          self.isAndroid = iprot.readBool();
12029
        else:
12030
          iprot.skip(ftype)
5944 mandeep.dh 12031
      else:
12032
        iprot.skip(ftype)
12033
      iprot.readFieldEnd()
12034
    iprot.readStructEnd()
12035
 
12036
  def write(self, oprot):
12037
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12038
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12039
      return
12040
    oprot.writeStructBegin('markItemAsContentComplete_args')
12041
    if self.entityId is not None:
12042
      oprot.writeFieldBegin('entityId', TType.I64, 1)
12043
      oprot.writeI64(self.entityId)
12044
      oprot.writeFieldEnd()
12045
    if self.category is not None:
12046
      oprot.writeFieldBegin('category', TType.I64, 2)
12047
      oprot.writeI64(self.category)
12048
      oprot.writeFieldEnd()
12049
    if self.brand is not None:
12050
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12051
      oprot.writeString(self.brand)
12052
      oprot.writeFieldEnd()
12053
    if self.modelName is not None:
12054
      oprot.writeFieldBegin('modelName', TType.STRING, 4)
12055
      oprot.writeString(self.modelName)
12056
      oprot.writeFieldEnd()
12057
    if self.modelNumber is not None:
12058
      oprot.writeFieldBegin('modelNumber', TType.STRING, 5)
12059
      oprot.writeString(self.modelNumber)
12060
      oprot.writeFieldEnd()
9253 rajveer 12061
    if self.isAndroid is not None:
12062
      oprot.writeFieldBegin('isAndroid', TType.BOOL, 6)
12063
      oprot.writeBool(self.isAndroid)
12064
      oprot.writeFieldEnd()
5944 mandeep.dh 12065
    oprot.writeFieldStop()
12066
    oprot.writeStructEnd()
12067
 
12068
  def validate(self):
12069
    return
12070
 
12071
 
12072
  def __repr__(self):
12073
    L = ['%s=%r' % (key, value)
12074
      for key, value in self.__dict__.iteritems()]
12075
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12076
 
12077
  def __eq__(self, other):
12078
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12079
 
12080
  def __ne__(self, other):
12081
    return not (self == other)
12082
 
12083
class markItemAsContentComplete_result:
12084
  """
12085
  Attributes:
12086
   - success
12087
   - cex
12088
  """
12089
 
12090
  thrift_spec = (
12091
    (0, TType.BOOL, 'success', None, None, ), # 0
12092
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12093
  )
12094
 
12095
  def __init__(self, success=None, cex=None,):
12096
    self.success = success
12097
    self.cex = cex
12098
 
12099
  def read(self, iprot):
12100
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12101
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12102
      return
12103
    iprot.readStructBegin()
12104
    while True:
12105
      (fname, ftype, fid) = iprot.readFieldBegin()
12106
      if ftype == TType.STOP:
12107
        break
12108
      if fid == 0:
12109
        if ftype == TType.BOOL:
12110
          self.success = iprot.readBool();
12111
        else:
12112
          iprot.skip(ftype)
12113
      elif fid == 1:
12114
        if ftype == TType.STRUCT:
12115
          self.cex = CatalogServiceException()
12116
          self.cex.read(iprot)
12117
        else:
12118
          iprot.skip(ftype)
12119
      else:
12120
        iprot.skip(ftype)
12121
      iprot.readFieldEnd()
12122
    iprot.readStructEnd()
12123
 
12124
  def write(self, oprot):
12125
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12126
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12127
      return
12128
    oprot.writeStructBegin('markItemAsContentComplete_result')
12129
    if self.success is not None:
12130
      oprot.writeFieldBegin('success', TType.BOOL, 0)
12131
      oprot.writeBool(self.success)
12132
      oprot.writeFieldEnd()
12133
    if self.cex is not None:
12134
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12135
      self.cex.write(oprot)
12136
      oprot.writeFieldEnd()
12137
    oprot.writeFieldStop()
12138
    oprot.writeStructEnd()
12139
 
12140
  def validate(self):
12141
    return
12142
 
12143
 
12144
  def __repr__(self):
12145
    L = ['%s=%r' % (key, value)
12146
      for key, value in self.__dict__.iteritems()]
12147
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12148
 
12149
  def __eq__(self, other):
12150
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12151
 
12152
  def __ne__(self, other):
12153
    return not (self == other)
12154
 
12567 amit.gupta 12155
class getVatRates_args:
12156
  """
12157
  Attributes:
12158
   - itemId
12159
   - categoryId
12160
  """
12161
 
12162
  thrift_spec = (
12163
    None, # 0
12164
    (1, TType.I64, 'itemId', None, None, ), # 1
12165
    (2, TType.I64, 'categoryId', None, None, ), # 2
12166
  )
12167
 
12168
  def __init__(self, itemId=None, categoryId=None,):
12169
    self.itemId = itemId
12170
    self.categoryId = categoryId
12171
 
12172
  def read(self, iprot):
12173
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12174
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12175
      return
12176
    iprot.readStructBegin()
12177
    while True:
12178
      (fname, ftype, fid) = iprot.readFieldBegin()
12179
      if ftype == TType.STOP:
12180
        break
12181
      if fid == 1:
12182
        if ftype == TType.I64:
12183
          self.itemId = iprot.readI64();
12184
        else:
12185
          iprot.skip(ftype)
12186
      elif fid == 2:
12187
        if ftype == TType.I64:
12188
          self.categoryId = iprot.readI64();
12189
        else:
12190
          iprot.skip(ftype)
12191
      else:
12192
        iprot.skip(ftype)
12193
      iprot.readFieldEnd()
12194
    iprot.readStructEnd()
12195
 
12196
  def write(self, oprot):
12197
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12198
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12199
      return
12200
    oprot.writeStructBegin('getVatRates_args')
12201
    if self.itemId is not None:
12202
      oprot.writeFieldBegin('itemId', TType.I64, 1)
12203
      oprot.writeI64(self.itemId)
12204
      oprot.writeFieldEnd()
12205
    if self.categoryId is not None:
12206
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
12207
      oprot.writeI64(self.categoryId)
12208
      oprot.writeFieldEnd()
12209
    oprot.writeFieldStop()
12210
    oprot.writeStructEnd()
12211
 
12212
  def validate(self):
12213
    return
12214
 
12215
 
12216
  def __repr__(self):
12217
    L = ['%s=%r' % (key, value)
12218
      for key, value in self.__dict__.iteritems()]
12219
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12220
 
12221
  def __eq__(self, other):
12222
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12223
 
12224
  def __ne__(self, other):
12225
    return not (self == other)
12226
 
12227
class getVatRates_result:
12228
  """
12229
  Attributes:
12230
   - success
12231
   - cex
12232
  """
12233
 
12234
  thrift_spec = (
12235
    (0, TType.MAP, 'success', (TType.I64,None,TType.DOUBLE,None), None, ), # 0
12236
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12237
  )
12238
 
12239
  def __init__(self, success=None, cex=None,):
12240
    self.success = success
12241
    self.cex = cex
12242
 
12243
  def read(self, iprot):
12244
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12245
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12246
      return
12247
    iprot.readStructBegin()
12248
    while True:
12249
      (fname, ftype, fid) = iprot.readFieldBegin()
12250
      if ftype == TType.STOP:
12251
        break
12252
      if fid == 0:
12253
        if ftype == TType.MAP:
12254
          self.success = {}
18719 kshitij.so 12255
          (_ktype100, _vtype101, _size99 ) = iprot.readMapBegin() 
12256
          for _i103 in xrange(_size99):
12257
            _key104 = iprot.readI64();
12258
            _val105 = iprot.readDouble();
12259
            self.success[_key104] = _val105
12567 amit.gupta 12260
          iprot.readMapEnd()
12261
        else:
12262
          iprot.skip(ftype)
12263
      elif fid == 1:
12264
        if ftype == TType.STRUCT:
12265
          self.cex = CatalogServiceException()
12266
          self.cex.read(iprot)
12267
        else:
12268
          iprot.skip(ftype)
12269
      else:
12270
        iprot.skip(ftype)
12271
      iprot.readFieldEnd()
12272
    iprot.readStructEnd()
12273
 
12274
  def write(self, oprot):
12275
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12276
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12277
      return
12278
    oprot.writeStructBegin('getVatRates_result')
12279
    if self.success is not None:
12280
      oprot.writeFieldBegin('success', TType.MAP, 0)
12281
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.success))
18719 kshitij.so 12282
      for kiter106,viter107 in self.success.items():
12283
        oprot.writeI64(kiter106)
12284
        oprot.writeDouble(viter107)
12567 amit.gupta 12285
      oprot.writeMapEnd()
12286
      oprot.writeFieldEnd()
12287
    if self.cex is not None:
12288
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12289
      self.cex.write(oprot)
12290
      oprot.writeFieldEnd()
12291
    oprot.writeFieldStop()
12292
    oprot.writeStructEnd()
12293
 
12294
  def validate(self):
12295
    return
12296
 
12297
 
12298
  def __repr__(self):
12299
    L = ['%s=%r' % (key, value)
12300
      for key, value in self.__dict__.iteritems()]
12301
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12302
 
12303
  def __eq__(self, other):
12304
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12305
 
12306
  def __ne__(self, other):
12307
    return not (self == other)
12308
 
5944 mandeep.dh 12309
class getAllItemsInRange_args:
12310
  """
12311
  Attributes:
12312
   - offset
12313
   - limit
12314
  """
12315
 
12316
  thrift_spec = (
12317
    None, # 0
12318
    (1, TType.I64, 'offset', None, None, ), # 1
12319
    (2, TType.I64, 'limit', None, None, ), # 2
12320
  )
12321
 
12322
  def __init__(self, offset=None, limit=None,):
12323
    self.offset = offset
12324
    self.limit = limit
12325
 
12326
  def read(self, iprot):
12327
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12328
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12329
      return
12330
    iprot.readStructBegin()
12331
    while True:
12332
      (fname, ftype, fid) = iprot.readFieldBegin()
12333
      if ftype == TType.STOP:
12334
        break
12335
      if fid == 1:
12336
        if ftype == TType.I64:
12337
          self.offset = iprot.readI64();
12338
        else:
12339
          iprot.skip(ftype)
12340
      elif fid == 2:
12341
        if ftype == TType.I64:
12342
          self.limit = iprot.readI64();
12343
        else:
12344
          iprot.skip(ftype)
12345
      else:
12346
        iprot.skip(ftype)
12347
      iprot.readFieldEnd()
12348
    iprot.readStructEnd()
12349
 
12350
  def write(self, oprot):
12351
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12352
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12353
      return
12354
    oprot.writeStructBegin('getAllItemsInRange_args')
12355
    if self.offset is not None:
12356
      oprot.writeFieldBegin('offset', TType.I64, 1)
12357
      oprot.writeI64(self.offset)
12358
      oprot.writeFieldEnd()
12359
    if self.limit is not None:
12360
      oprot.writeFieldBegin('limit', TType.I64, 2)
12361
      oprot.writeI64(self.limit)
12362
      oprot.writeFieldEnd()
12363
    oprot.writeFieldStop()
12364
    oprot.writeStructEnd()
12365
 
12366
  def validate(self):
12367
    return
12368
 
12369
 
12370
  def __repr__(self):
12371
    L = ['%s=%r' % (key, value)
12372
      for key, value in self.__dict__.iteritems()]
12373
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12374
 
12375
  def __eq__(self, other):
12376
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12377
 
12378
  def __ne__(self, other):
12379
    return not (self == other)
12380
 
12381
class getAllItemsInRange_result:
12382
  """
12383
  Attributes:
12384
   - success
12385
   - cex
12386
  """
12387
 
12388
  thrift_spec = (
12389
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12390
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12391
  )
12392
 
12393
  def __init__(self, success=None, cex=None,):
12394
    self.success = success
12395
    self.cex = cex
12396
 
12397
  def read(self, iprot):
12398
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12399
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12400
      return
12401
    iprot.readStructBegin()
12402
    while True:
12403
      (fname, ftype, fid) = iprot.readFieldBegin()
12404
      if ftype == TType.STOP:
12405
        break
12406
      if fid == 0:
12407
        if ftype == TType.LIST:
12408
          self.success = []
18719 kshitij.so 12409
          (_etype111, _size108) = iprot.readListBegin()
12410
          for _i112 in xrange(_size108):
12411
            _elem113 = Item()
12412
            _elem113.read(iprot)
12413
            self.success.append(_elem113)
5944 mandeep.dh 12414
          iprot.readListEnd()
12415
        else:
12416
          iprot.skip(ftype)
12417
      elif fid == 1:
12418
        if ftype == TType.STRUCT:
12419
          self.cex = CatalogServiceException()
12420
          self.cex.read(iprot)
12421
        else:
12422
          iprot.skip(ftype)
12423
      else:
12424
        iprot.skip(ftype)
12425
      iprot.readFieldEnd()
12426
    iprot.readStructEnd()
12427
 
12428
  def write(self, oprot):
12429
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12430
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12431
      return
12432
    oprot.writeStructBegin('getAllItemsInRange_result')
12433
    if self.success is not None:
12434
      oprot.writeFieldBegin('success', TType.LIST, 0)
12435
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 12436
      for iter114 in self.success:
12437
        iter114.write(oprot)
5944 mandeep.dh 12438
      oprot.writeListEnd()
12439
      oprot.writeFieldEnd()
12440
    if self.cex is not None:
12441
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12442
      self.cex.write(oprot)
12443
      oprot.writeFieldEnd()
12444
    oprot.writeFieldStop()
12445
    oprot.writeStructEnd()
12446
 
12447
  def validate(self):
12448
    return
12449
 
12450
 
12451
  def __repr__(self):
12452
    L = ['%s=%r' % (key, value)
12453
      for key, value in self.__dict__.iteritems()]
12454
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12455
 
12456
  def __eq__(self, other):
12457
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12458
 
12459
  def __ne__(self, other):
12460
    return not (self == other)
12461
 
12462
class getAllItemsByStatusInRange_args:
12463
  """
12464
  Attributes:
12465
   - itemStatus
12466
   - offset
12467
   - limit
12468
  """
12469
 
12470
  thrift_spec = (
12471
    None, # 0
12472
    (1, TType.I32, 'itemStatus', None, None, ), # 1
12473
    (2, TType.I64, 'offset', None, None, ), # 2
12474
    (3, TType.I64, 'limit', None, None, ), # 3
12475
  )
12476
 
12477
  def __init__(self, itemStatus=None, offset=None, limit=None,):
12478
    self.itemStatus = itemStatus
12479
    self.offset = offset
12480
    self.limit = limit
12481
 
12482
  def read(self, iprot):
12483
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12484
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12485
      return
12486
    iprot.readStructBegin()
12487
    while True:
12488
      (fname, ftype, fid) = iprot.readFieldBegin()
12489
      if ftype == TType.STOP:
12490
        break
12491
      if fid == 1:
12492
        if ftype == TType.I32:
12493
          self.itemStatus = iprot.readI32();
12494
        else:
12495
          iprot.skip(ftype)
12496
      elif fid == 2:
12497
        if ftype == TType.I64:
12498
          self.offset = iprot.readI64();
12499
        else:
12500
          iprot.skip(ftype)
12501
      elif fid == 3:
12502
        if ftype == TType.I64:
12503
          self.limit = iprot.readI64();
12504
        else:
12505
          iprot.skip(ftype)
12506
      else:
12507
        iprot.skip(ftype)
12508
      iprot.readFieldEnd()
12509
    iprot.readStructEnd()
12510
 
12511
  def write(self, oprot):
12512
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12513
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12514
      return
12515
    oprot.writeStructBegin('getAllItemsByStatusInRange_args')
12516
    if self.itemStatus is not None:
12517
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
12518
      oprot.writeI32(self.itemStatus)
12519
      oprot.writeFieldEnd()
12520
    if self.offset is not None:
12521
      oprot.writeFieldBegin('offset', TType.I64, 2)
12522
      oprot.writeI64(self.offset)
12523
      oprot.writeFieldEnd()
12524
    if self.limit is not None:
12525
      oprot.writeFieldBegin('limit', TType.I64, 3)
12526
      oprot.writeI64(self.limit)
12527
      oprot.writeFieldEnd()
12528
    oprot.writeFieldStop()
12529
    oprot.writeStructEnd()
12530
 
12531
  def validate(self):
12532
    return
12533
 
12534
 
12535
  def __repr__(self):
12536
    L = ['%s=%r' % (key, value)
12537
      for key, value in self.__dict__.iteritems()]
12538
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12539
 
12540
  def __eq__(self, other):
12541
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12542
 
12543
  def __ne__(self, other):
12544
    return not (self == other)
12545
 
12546
class getAllItemsByStatusInRange_result:
12547
  """
12548
  Attributes:
12549
   - success
12550
   - cex
12551
  """
12552
 
12553
  thrift_spec = (
12554
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12555
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12556
  )
12557
 
12558
  def __init__(self, success=None, cex=None,):
12559
    self.success = success
12560
    self.cex = cex
12561
 
12562
  def read(self, iprot):
12563
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12564
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12565
      return
12566
    iprot.readStructBegin()
12567
    while True:
12568
      (fname, ftype, fid) = iprot.readFieldBegin()
12569
      if ftype == TType.STOP:
12570
        break
12571
      if fid == 0:
12572
        if ftype == TType.LIST:
12573
          self.success = []
18719 kshitij.so 12574
          (_etype118, _size115) = iprot.readListBegin()
12575
          for _i119 in xrange(_size115):
12576
            _elem120 = Item()
12577
            _elem120.read(iprot)
12578
            self.success.append(_elem120)
5944 mandeep.dh 12579
          iprot.readListEnd()
12580
        else:
12581
          iprot.skip(ftype)
12582
      elif fid == 1:
12583
        if ftype == TType.STRUCT:
12584
          self.cex = CatalogServiceException()
12585
          self.cex.read(iprot)
12586
        else:
12587
          iprot.skip(ftype)
12588
      else:
12589
        iprot.skip(ftype)
12590
      iprot.readFieldEnd()
12591
    iprot.readStructEnd()
12592
 
12593
  def write(self, oprot):
12594
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12595
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12596
      return
12597
    oprot.writeStructBegin('getAllItemsByStatusInRange_result')
12598
    if self.success is not None:
12599
      oprot.writeFieldBegin('success', TType.LIST, 0)
12600
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 12601
      for iter121 in self.success:
12602
        iter121.write(oprot)
5944 mandeep.dh 12603
      oprot.writeListEnd()
12604
      oprot.writeFieldEnd()
12605
    if self.cex is not None:
12606
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12607
      self.cex.write(oprot)
12608
      oprot.writeFieldEnd()
12609
    oprot.writeFieldStop()
12610
    oprot.writeStructEnd()
12611
 
12612
  def validate(self):
12613
    return
12614
 
12615
 
12616
  def __repr__(self):
12617
    L = ['%s=%r' % (key, value)
12618
      for key, value in self.__dict__.iteritems()]
12619
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12620
 
12621
  def __eq__(self, other):
12622
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12623
 
12624
  def __ne__(self, other):
12625
    return not (self == other)
12626
 
12627
class getItemCountByStatus_args:
12628
  """
12629
  Attributes:
12630
   - useStatus
12631
   - itemStatus
12632
  """
12633
 
12634
  thrift_spec = (
12635
    None, # 0
12636
    (1, TType.BOOL, 'useStatus', None, None, ), # 1
12637
    (2, TType.I32, 'itemStatus', None, None, ), # 2
12638
  )
12639
 
12640
  def __init__(self, useStatus=None, itemStatus=None,):
12641
    self.useStatus = useStatus
12642
    self.itemStatus = itemStatus
12643
 
12644
  def read(self, iprot):
12645
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12646
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12647
      return
12648
    iprot.readStructBegin()
12649
    while True:
12650
      (fname, ftype, fid) = iprot.readFieldBegin()
12651
      if ftype == TType.STOP:
12652
        break
12653
      if fid == 1:
12654
        if ftype == TType.BOOL:
12655
          self.useStatus = iprot.readBool();
12656
        else:
12657
          iprot.skip(ftype)
12658
      elif fid == 2:
12659
        if ftype == TType.I32:
12660
          self.itemStatus = iprot.readI32();
12661
        else:
12662
          iprot.skip(ftype)
12663
      else:
12664
        iprot.skip(ftype)
12665
      iprot.readFieldEnd()
12666
    iprot.readStructEnd()
12667
 
12668
  def write(self, oprot):
12669
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12670
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12671
      return
12672
    oprot.writeStructBegin('getItemCountByStatus_args')
12673
    if self.useStatus is not None:
12674
      oprot.writeFieldBegin('useStatus', TType.BOOL, 1)
12675
      oprot.writeBool(self.useStatus)
12676
      oprot.writeFieldEnd()
12677
    if self.itemStatus is not None:
12678
      oprot.writeFieldBegin('itemStatus', TType.I32, 2)
12679
      oprot.writeI32(self.itemStatus)
12680
      oprot.writeFieldEnd()
12681
    oprot.writeFieldStop()
12682
    oprot.writeStructEnd()
12683
 
12684
  def validate(self):
12685
    return
12686
 
12687
 
12688
  def __repr__(self):
12689
    L = ['%s=%r' % (key, value)
12690
      for key, value in self.__dict__.iteritems()]
12691
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12692
 
12693
  def __eq__(self, other):
12694
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12695
 
12696
  def __ne__(self, other):
12697
    return not (self == other)
12698
 
12699
class getItemCountByStatus_result:
12700
  """
12701
  Attributes:
12702
   - success
12703
  """
12704
 
12705
  thrift_spec = (
12706
    (0, TType.I32, 'success', None, None, ), # 0
12707
  )
12708
 
12709
  def __init__(self, success=None,):
12710
    self.success = success
12711
 
12712
  def read(self, iprot):
12713
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12714
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12715
      return
12716
    iprot.readStructBegin()
12717
    while True:
12718
      (fname, ftype, fid) = iprot.readFieldBegin()
12719
      if ftype == TType.STOP:
12720
        break
12721
      if fid == 0:
12722
        if ftype == TType.I32:
12723
          self.success = iprot.readI32();
12724
        else:
12725
          iprot.skip(ftype)
12726
      else:
12727
        iprot.skip(ftype)
12728
      iprot.readFieldEnd()
12729
    iprot.readStructEnd()
12730
 
12731
  def write(self, oprot):
12732
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12733
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12734
      return
12735
    oprot.writeStructBegin('getItemCountByStatus_result')
12736
    if self.success is not None:
12737
      oprot.writeFieldBegin('success', TType.I32, 0)
12738
      oprot.writeI32(self.success)
12739
      oprot.writeFieldEnd()
12740
    oprot.writeFieldStop()
12741
    oprot.writeStructEnd()
12742
 
12743
  def validate(self):
12744
    return
12745
 
12746
 
12747
  def __repr__(self):
12748
    L = ['%s=%r' % (key, value)
12749
      for key, value in self.__dict__.iteritems()]
12750
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12751
 
12752
  def __eq__(self, other):
12753
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12754
 
12755
  def __ne__(self, other):
12756
    return not (self == other)
12757
 
12758
class getBestSellers_args:
12759
 
12760
  thrift_spec = (
12761
  )
12762
 
12763
  def read(self, iprot):
12764
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12765
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12766
      return
12767
    iprot.readStructBegin()
12768
    while True:
12769
      (fname, ftype, fid) = iprot.readFieldBegin()
12770
      if ftype == TType.STOP:
12771
        break
12772
      else:
12773
        iprot.skip(ftype)
12774
      iprot.readFieldEnd()
12775
    iprot.readStructEnd()
12776
 
12777
  def write(self, oprot):
12778
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12779
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12780
      return
12781
    oprot.writeStructBegin('getBestSellers_args')
12782
    oprot.writeFieldStop()
12783
    oprot.writeStructEnd()
12784
 
12785
  def validate(self):
12786
    return
12787
 
12788
 
12789
  def __repr__(self):
12790
    L = ['%s=%r' % (key, value)
12791
      for key, value in self.__dict__.iteritems()]
12792
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12793
 
12794
  def __eq__(self, other):
12795
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12796
 
12797
  def __ne__(self, other):
12798
    return not (self == other)
12799
 
12800
class getBestSellers_result:
12801
  """
12802
  Attributes:
12803
   - success
12804
   - isex
12805
  """
12806
 
12807
  thrift_spec = (
12808
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12809
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12810
  )
12811
 
12812
  def __init__(self, success=None, isex=None,):
12813
    self.success = success
12814
    self.isex = isex
12815
 
12816
  def read(self, iprot):
12817
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12818
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12819
      return
12820
    iprot.readStructBegin()
12821
    while True:
12822
      (fname, ftype, fid) = iprot.readFieldBegin()
12823
      if ftype == TType.STOP:
12824
        break
12825
      if fid == 0:
12826
        if ftype == TType.LIST:
12827
          self.success = []
18719 kshitij.so 12828
          (_etype125, _size122) = iprot.readListBegin()
12829
          for _i126 in xrange(_size122):
12830
            _elem127 = Item()
12831
            _elem127.read(iprot)
12832
            self.success.append(_elem127)
5944 mandeep.dh 12833
          iprot.readListEnd()
12834
        else:
12835
          iprot.skip(ftype)
12836
      elif fid == 1:
12837
        if ftype == TType.STRUCT:
12838
          self.isex = CatalogServiceException()
12839
          self.isex.read(iprot)
12840
        else:
12841
          iprot.skip(ftype)
12842
      else:
12843
        iprot.skip(ftype)
12844
      iprot.readFieldEnd()
12845
    iprot.readStructEnd()
12846
 
12847
  def write(self, oprot):
12848
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12849
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12850
      return
12851
    oprot.writeStructBegin('getBestSellers_result')
12852
    if self.success is not None:
12853
      oprot.writeFieldBegin('success', TType.LIST, 0)
12854
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 12855
      for iter128 in self.success:
12856
        iter128.write(oprot)
5944 mandeep.dh 12857
      oprot.writeListEnd()
12858
      oprot.writeFieldEnd()
12859
    if self.isex is not None:
12860
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
12861
      self.isex.write(oprot)
12862
      oprot.writeFieldEnd()
12863
    oprot.writeFieldStop()
12864
    oprot.writeStructEnd()
12865
 
12866
  def validate(self):
12867
    return
12868
 
12869
 
12870
  def __repr__(self):
12871
    L = ['%s=%r' % (key, value)
12872
      for key, value in self.__dict__.iteritems()]
12873
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12874
 
12875
  def __eq__(self, other):
12876
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12877
 
12878
  def __ne__(self, other):
12879
    return not (self == other)
12880
 
12881
class getBestSellersCatalogIds_args:
12882
  """
12883
  Attributes:
12884
   - beginIndex
12885
   - totalItems
12886
   - brand
12887
   - category
12888
  """
12889
 
12890
  thrift_spec = (
12891
    None, # 0
12892
    (1, TType.I64, 'beginIndex', None, None, ), # 1
12893
    (2, TType.I64, 'totalItems', None, None, ), # 2
12894
    (3, TType.STRING, 'brand', None, None, ), # 3
12895
    (4, TType.I64, 'category', None, None, ), # 4
12896
  )
12897
 
12898
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
12899
    self.beginIndex = beginIndex
12900
    self.totalItems = totalItems
12901
    self.brand = brand
12902
    self.category = category
12903
 
12904
  def read(self, iprot):
12905
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12906
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12907
      return
12908
    iprot.readStructBegin()
12909
    while True:
12910
      (fname, ftype, fid) = iprot.readFieldBegin()
12911
      if ftype == TType.STOP:
12912
        break
12913
      if fid == 1:
12914
        if ftype == TType.I64:
12915
          self.beginIndex = iprot.readI64();
12916
        else:
12917
          iprot.skip(ftype)
12918
      elif fid == 2:
12919
        if ftype == TType.I64:
12920
          self.totalItems = iprot.readI64();
12921
        else:
12922
          iprot.skip(ftype)
12923
      elif fid == 3:
12924
        if ftype == TType.STRING:
12925
          self.brand = iprot.readString();
12926
        else:
12927
          iprot.skip(ftype)
12928
      elif fid == 4:
12929
        if ftype == TType.I64:
12930
          self.category = iprot.readI64();
12931
        else:
12932
          iprot.skip(ftype)
12933
      else:
12934
        iprot.skip(ftype)
12935
      iprot.readFieldEnd()
12936
    iprot.readStructEnd()
12937
 
12938
  def write(self, oprot):
12939
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12940
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12941
      return
12942
    oprot.writeStructBegin('getBestSellersCatalogIds_args')
12943
    if self.beginIndex is not None:
12944
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
12945
      oprot.writeI64(self.beginIndex)
12946
      oprot.writeFieldEnd()
12947
    if self.totalItems is not None:
12948
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
12949
      oprot.writeI64(self.totalItems)
12950
      oprot.writeFieldEnd()
12951
    if self.brand is not None:
12952
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12953
      oprot.writeString(self.brand)
12954
      oprot.writeFieldEnd()
12955
    if self.category is not None:
12956
      oprot.writeFieldBegin('category', TType.I64, 4)
12957
      oprot.writeI64(self.category)
12958
      oprot.writeFieldEnd()
12959
    oprot.writeFieldStop()
12960
    oprot.writeStructEnd()
12961
 
12962
  def validate(self):
12963
    return
12964
 
12965
 
12966
  def __repr__(self):
12967
    L = ['%s=%r' % (key, value)
12968
      for key, value in self.__dict__.iteritems()]
12969
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12970
 
12971
  def __eq__(self, other):
12972
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12973
 
12974
  def __ne__(self, other):
12975
    return not (self == other)
12976
 
12977
class getBestSellersCatalogIds_result:
12978
  """
12979
  Attributes:
12980
   - success
12981
   - cex
12982
  """
12983
 
12984
  thrift_spec = (
12985
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
12986
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12987
  )
12988
 
12989
  def __init__(self, success=None, cex=None,):
12990
    self.success = success
12991
    self.cex = cex
12992
 
12993
  def read(self, iprot):
12994
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12995
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12996
      return
12997
    iprot.readStructBegin()
12998
    while True:
12999
      (fname, ftype, fid) = iprot.readFieldBegin()
13000
      if ftype == TType.STOP:
13001
        break
13002
      if fid == 0:
13003
        if ftype == TType.LIST:
13004
          self.success = []
18719 kshitij.so 13005
          (_etype132, _size129) = iprot.readListBegin()
13006
          for _i133 in xrange(_size129):
13007
            _elem134 = iprot.readI64();
13008
            self.success.append(_elem134)
5944 mandeep.dh 13009
          iprot.readListEnd()
13010
        else:
13011
          iprot.skip(ftype)
13012
      elif fid == 1:
13013
        if ftype == TType.STRUCT:
13014
          self.cex = CatalogServiceException()
13015
          self.cex.read(iprot)
13016
        else:
13017
          iprot.skip(ftype)
13018
      else:
13019
        iprot.skip(ftype)
13020
      iprot.readFieldEnd()
13021
    iprot.readStructEnd()
13022
 
13023
  def write(self, oprot):
13024
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13025
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13026
      return
13027
    oprot.writeStructBegin('getBestSellersCatalogIds_result')
13028
    if self.success is not None:
13029
      oprot.writeFieldBegin('success', TType.LIST, 0)
13030
      oprot.writeListBegin(TType.I64, len(self.success))
18719 kshitij.so 13031
      for iter135 in self.success:
13032
        oprot.writeI64(iter135)
5944 mandeep.dh 13033
      oprot.writeListEnd()
13034
      oprot.writeFieldEnd()
13035
    if self.cex is not None:
13036
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13037
      self.cex.write(oprot)
13038
      oprot.writeFieldEnd()
13039
    oprot.writeFieldStop()
13040
    oprot.writeStructEnd()
13041
 
13042
  def validate(self):
13043
    return
13044
 
13045
 
13046
  def __repr__(self):
13047
    L = ['%s=%r' % (key, value)
13048
      for key, value in self.__dict__.iteritems()]
13049
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13050
 
13051
  def __eq__(self, other):
13052
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13053
 
13054
  def __ne__(self, other):
13055
    return not (self == other)
13056
 
13057
class getBestSellersCount_args:
13058
 
13059
  thrift_spec = (
13060
  )
13061
 
13062
  def read(self, iprot):
13063
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13064
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13065
      return
13066
    iprot.readStructBegin()
13067
    while True:
13068
      (fname, ftype, fid) = iprot.readFieldBegin()
13069
      if ftype == TType.STOP:
13070
        break
13071
      else:
13072
        iprot.skip(ftype)
13073
      iprot.readFieldEnd()
13074
    iprot.readStructEnd()
13075
 
13076
  def write(self, oprot):
13077
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13078
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13079
      return
13080
    oprot.writeStructBegin('getBestSellersCount_args')
13081
    oprot.writeFieldStop()
13082
    oprot.writeStructEnd()
13083
 
13084
  def validate(self):
13085
    return
13086
 
13087
 
13088
  def __repr__(self):
13089
    L = ['%s=%r' % (key, value)
13090
      for key, value in self.__dict__.iteritems()]
13091
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13092
 
13093
  def __eq__(self, other):
13094
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13095
 
13096
  def __ne__(self, other):
13097
    return not (self == other)
13098
 
13099
class getBestSellersCount_result:
13100
  """
13101
  Attributes:
13102
   - success
13103
   - cex
13104
  """
13105
 
13106
  thrift_spec = (
13107
    (0, TType.I64, 'success', None, None, ), # 0
13108
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13109
  )
13110
 
13111
  def __init__(self, success=None, cex=None,):
13112
    self.success = success
13113
    self.cex = cex
13114
 
13115
  def read(self, iprot):
13116
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13117
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13118
      return
13119
    iprot.readStructBegin()
13120
    while True:
13121
      (fname, ftype, fid) = iprot.readFieldBegin()
13122
      if ftype == TType.STOP:
13123
        break
13124
      if fid == 0:
13125
        if ftype == TType.I64:
13126
          self.success = iprot.readI64();
13127
        else:
13128
          iprot.skip(ftype)
13129
      elif fid == 1:
13130
        if ftype == TType.STRUCT:
13131
          self.cex = CatalogServiceException()
13132
          self.cex.read(iprot)
13133
        else:
13134
          iprot.skip(ftype)
13135
      else:
13136
        iprot.skip(ftype)
13137
      iprot.readFieldEnd()
13138
    iprot.readStructEnd()
13139
 
13140
  def write(self, oprot):
13141
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13142
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13143
      return
13144
    oprot.writeStructBegin('getBestSellersCount_result')
13145
    if self.success is not None:
13146
      oprot.writeFieldBegin('success', TType.I64, 0)
13147
      oprot.writeI64(self.success)
13148
      oprot.writeFieldEnd()
13149
    if self.cex is not None:
13150
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13151
      self.cex.write(oprot)
13152
      oprot.writeFieldEnd()
13153
    oprot.writeFieldStop()
13154
    oprot.writeStructEnd()
13155
 
13156
  def validate(self):
13157
    return
13158
 
13159
 
13160
  def __repr__(self):
13161
    L = ['%s=%r' % (key, value)
13162
      for key, value in self.__dict__.iteritems()]
13163
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13164
 
13165
  def __eq__(self, other):
13166
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13167
 
13168
  def __ne__(self, other):
13169
    return not (self == other)
13170
 
13171
class getBestDeals_args:
13172
 
13173
  thrift_spec = (
13174
  )
13175
 
13176
  def read(self, iprot):
13177
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13178
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13179
      return
13180
    iprot.readStructBegin()
13181
    while True:
13182
      (fname, ftype, fid) = iprot.readFieldBegin()
13183
      if ftype == TType.STOP:
13184
        break
13185
      else:
13186
        iprot.skip(ftype)
13187
      iprot.readFieldEnd()
13188
    iprot.readStructEnd()
13189
 
13190
  def write(self, oprot):
13191
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13192
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13193
      return
13194
    oprot.writeStructBegin('getBestDeals_args')
13195
    oprot.writeFieldStop()
13196
    oprot.writeStructEnd()
13197
 
13198
  def validate(self):
13199
    return
13200
 
13201
 
13202
  def __repr__(self):
13203
    L = ['%s=%r' % (key, value)
13204
      for key, value in self.__dict__.iteritems()]
13205
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13206
 
13207
  def __eq__(self, other):
13208
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13209
 
13210
  def __ne__(self, other):
13211
    return not (self == other)
13212
 
13213
class getBestDeals_result:
13214
  """
13215
  Attributes:
13216
   - success
13217
   - isex
13218
  """
13219
 
13220
  thrift_spec = (
13221
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13222
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13223
  )
13224
 
13225
  def __init__(self, success=None, isex=None,):
13226
    self.success = success
13227
    self.isex = isex
13228
 
13229
  def read(self, iprot):
13230
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13231
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13232
      return
13233
    iprot.readStructBegin()
13234
    while True:
13235
      (fname, ftype, fid) = iprot.readFieldBegin()
13236
      if ftype == TType.STOP:
13237
        break
13238
      if fid == 0:
13239
        if ftype == TType.LIST:
13240
          self.success = []
18719 kshitij.so 13241
          (_etype139, _size136) = iprot.readListBegin()
13242
          for _i140 in xrange(_size136):
13243
            _elem141 = Item()
13244
            _elem141.read(iprot)
13245
            self.success.append(_elem141)
5944 mandeep.dh 13246
          iprot.readListEnd()
13247
        else:
13248
          iprot.skip(ftype)
13249
      elif fid == 1:
13250
        if ftype == TType.STRUCT:
13251
          self.isex = CatalogServiceException()
13252
          self.isex.read(iprot)
13253
        else:
13254
          iprot.skip(ftype)
13255
      else:
13256
        iprot.skip(ftype)
13257
      iprot.readFieldEnd()
13258
    iprot.readStructEnd()
13259
 
13260
  def write(self, oprot):
13261
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13262
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13263
      return
13264
    oprot.writeStructBegin('getBestDeals_result')
13265
    if self.success is not None:
13266
      oprot.writeFieldBegin('success', TType.LIST, 0)
13267
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 13268
      for iter142 in self.success:
13269
        iter142.write(oprot)
5944 mandeep.dh 13270
      oprot.writeListEnd()
13271
      oprot.writeFieldEnd()
13272
    if self.isex is not None:
13273
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13274
      self.isex.write(oprot)
13275
      oprot.writeFieldEnd()
13276
    oprot.writeFieldStop()
13277
    oprot.writeStructEnd()
13278
 
13279
  def validate(self):
13280
    return
13281
 
13282
 
13283
  def __repr__(self):
13284
    L = ['%s=%r' % (key, value)
13285
      for key, value in self.__dict__.iteritems()]
13286
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13287
 
13288
  def __eq__(self, other):
13289
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13290
 
13291
  def __ne__(self, other):
13292
    return not (self == other)
13293
 
13294
class getBestDealsCatalogIds_args:
13295
  """
13296
  Attributes:
13297
   - beginIndex
13298
   - totalItems
13299
   - brand
13300
   - category
13301
  """
13302
 
13303
  thrift_spec = (
13304
    None, # 0
13305
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13306
    (2, TType.I64, 'totalItems', None, None, ), # 2
13307
    (3, TType.STRING, 'brand', None, None, ), # 3
13308
    (4, TType.I64, 'category', None, None, ), # 4
13309
  )
13310
 
13311
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
13312
    self.beginIndex = beginIndex
13313
    self.totalItems = totalItems
13314
    self.brand = brand
13315
    self.category = category
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 == 1:
13327
        if ftype == TType.I64:
13328
          self.beginIndex = iprot.readI64();
13329
        else:
13330
          iprot.skip(ftype)
13331
      elif fid == 2:
13332
        if ftype == TType.I64:
13333
          self.totalItems = iprot.readI64();
13334
        else:
13335
          iprot.skip(ftype)
13336
      elif fid == 3:
13337
        if ftype == TType.STRING:
13338
          self.brand = iprot.readString();
13339
        else:
13340
          iprot.skip(ftype)
13341
      elif fid == 4:
13342
        if ftype == TType.I64:
13343
          self.category = iprot.readI64();
13344
        else:
13345
          iprot.skip(ftype)
13346
      else:
13347
        iprot.skip(ftype)
13348
      iprot.readFieldEnd()
13349
    iprot.readStructEnd()
13350
 
13351
  def write(self, oprot):
13352
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13353
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13354
      return
13355
    oprot.writeStructBegin('getBestDealsCatalogIds_args')
13356
    if self.beginIndex is not None:
13357
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13358
      oprot.writeI64(self.beginIndex)
13359
      oprot.writeFieldEnd()
13360
    if self.totalItems is not None:
13361
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13362
      oprot.writeI64(self.totalItems)
13363
      oprot.writeFieldEnd()
13364
    if self.brand is not None:
13365
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13366
      oprot.writeString(self.brand)
13367
      oprot.writeFieldEnd()
13368
    if self.category is not None:
13369
      oprot.writeFieldBegin('category', TType.I64, 4)
13370
      oprot.writeI64(self.category)
13371
      oprot.writeFieldEnd()
13372
    oprot.writeFieldStop()
13373
    oprot.writeStructEnd()
13374
 
13375
  def validate(self):
13376
    return
13377
 
13378
 
13379
  def __repr__(self):
13380
    L = ['%s=%r' % (key, value)
13381
      for key, value in self.__dict__.iteritems()]
13382
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13383
 
13384
  def __eq__(self, other):
13385
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13386
 
13387
  def __ne__(self, other):
13388
    return not (self == other)
13389
 
13390
class getBestDealsCatalogIds_result:
13391
  """
13392
  Attributes:
13393
   - success
13394
   - cex
13395
  """
13396
 
13397
  thrift_spec = (
13398
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
13399
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13400
  )
13401
 
13402
  def __init__(self, success=None, cex=None,):
13403
    self.success = success
13404
    self.cex = cex
13405
 
13406
  def read(self, iprot):
13407
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13408
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13409
      return
13410
    iprot.readStructBegin()
13411
    while True:
13412
      (fname, ftype, fid) = iprot.readFieldBegin()
13413
      if ftype == TType.STOP:
13414
        break
13415
      if fid == 0:
13416
        if ftype == TType.LIST:
13417
          self.success = []
18719 kshitij.so 13418
          (_etype146, _size143) = iprot.readListBegin()
13419
          for _i147 in xrange(_size143):
13420
            _elem148 = iprot.readI64();
13421
            self.success.append(_elem148)
5944 mandeep.dh 13422
          iprot.readListEnd()
13423
        else:
13424
          iprot.skip(ftype)
13425
      elif fid == 1:
13426
        if ftype == TType.STRUCT:
13427
          self.cex = CatalogServiceException()
13428
          self.cex.read(iprot)
13429
        else:
13430
          iprot.skip(ftype)
13431
      else:
13432
        iprot.skip(ftype)
13433
      iprot.readFieldEnd()
13434
    iprot.readStructEnd()
13435
 
13436
  def write(self, oprot):
13437
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13438
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13439
      return
13440
    oprot.writeStructBegin('getBestDealsCatalogIds_result')
13441
    if self.success is not None:
13442
      oprot.writeFieldBegin('success', TType.LIST, 0)
13443
      oprot.writeListBegin(TType.I64, len(self.success))
18719 kshitij.so 13444
      for iter149 in self.success:
13445
        oprot.writeI64(iter149)
5944 mandeep.dh 13446
      oprot.writeListEnd()
13447
      oprot.writeFieldEnd()
13448
    if self.cex is not None:
13449
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13450
      self.cex.write(oprot)
13451
      oprot.writeFieldEnd()
13452
    oprot.writeFieldStop()
13453
    oprot.writeStructEnd()
13454
 
13455
  def validate(self):
13456
    return
13457
 
13458
 
13459
  def __repr__(self):
13460
    L = ['%s=%r' % (key, value)
13461
      for key, value in self.__dict__.iteritems()]
13462
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13463
 
13464
  def __eq__(self, other):
13465
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13466
 
13467
  def __ne__(self, other):
13468
    return not (self == other)
13469
 
13470
class getBestDealsCount_args:
13471
 
13472
  thrift_spec = (
13473
  )
13474
 
13475
  def read(self, iprot):
13476
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13477
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13478
      return
13479
    iprot.readStructBegin()
13480
    while True:
13481
      (fname, ftype, fid) = iprot.readFieldBegin()
13482
      if ftype == TType.STOP:
13483
        break
13484
      else:
13485
        iprot.skip(ftype)
13486
      iprot.readFieldEnd()
13487
    iprot.readStructEnd()
13488
 
13489
  def write(self, oprot):
13490
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13491
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13492
      return
13493
    oprot.writeStructBegin('getBestDealsCount_args')
13494
    oprot.writeFieldStop()
13495
    oprot.writeStructEnd()
13496
 
13497
  def validate(self):
13498
    return
13499
 
13500
 
13501
  def __repr__(self):
13502
    L = ['%s=%r' % (key, value)
13503
      for key, value in self.__dict__.iteritems()]
13504
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13505
 
13506
  def __eq__(self, other):
13507
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13508
 
13509
  def __ne__(self, other):
13510
    return not (self == other)
13511
 
13512
class getBestDealsCount_result:
13513
  """
13514
  Attributes:
13515
   - success
13516
   - cex
13517
  """
13518
 
13519
  thrift_spec = (
13520
    (0, TType.I64, 'success', None, None, ), # 0
13521
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13522
  )
13523
 
13524
  def __init__(self, success=None, cex=None,):
13525
    self.success = success
13526
    self.cex = cex
13527
 
13528
  def read(self, iprot):
13529
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13530
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13531
      return
13532
    iprot.readStructBegin()
13533
    while True:
13534
      (fname, ftype, fid) = iprot.readFieldBegin()
13535
      if ftype == TType.STOP:
13536
        break
13537
      if fid == 0:
13538
        if ftype == TType.I64:
13539
          self.success = iprot.readI64();
13540
        else:
13541
          iprot.skip(ftype)
13542
      elif fid == 1:
13543
        if ftype == TType.STRUCT:
13544
          self.cex = CatalogServiceException()
13545
          self.cex.read(iprot)
13546
        else:
13547
          iprot.skip(ftype)
13548
      else:
13549
        iprot.skip(ftype)
13550
      iprot.readFieldEnd()
13551
    iprot.readStructEnd()
13552
 
13553
  def write(self, oprot):
13554
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13555
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13556
      return
13557
    oprot.writeStructBegin('getBestDealsCount_result')
13558
    if self.success is not None:
13559
      oprot.writeFieldBegin('success', TType.I64, 0)
13560
      oprot.writeI64(self.success)
13561
      oprot.writeFieldEnd()
13562
    if self.cex is not None:
13563
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13564
      self.cex.write(oprot)
13565
      oprot.writeFieldEnd()
13566
    oprot.writeFieldStop()
13567
    oprot.writeStructEnd()
13568
 
13569
  def validate(self):
13570
    return
13571
 
13572
 
13573
  def __repr__(self):
13574
    L = ['%s=%r' % (key, value)
13575
      for key, value in self.__dict__.iteritems()]
13576
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13577
 
13578
  def __eq__(self, other):
13579
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13580
 
13581
  def __ne__(self, other):
13582
    return not (self == other)
13583
 
13584
class getComingSoon_args:
13585
 
13586
  thrift_spec = (
13587
  )
13588
 
13589
  def read(self, iprot):
13590
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13591
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13592
      return
13593
    iprot.readStructBegin()
13594
    while True:
13595
      (fname, ftype, fid) = iprot.readFieldBegin()
13596
      if ftype == TType.STOP:
13597
        break
13598
      else:
13599
        iprot.skip(ftype)
13600
      iprot.readFieldEnd()
13601
    iprot.readStructEnd()
13602
 
13603
  def write(self, oprot):
13604
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13605
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13606
      return
13607
    oprot.writeStructBegin('getComingSoon_args')
13608
    oprot.writeFieldStop()
13609
    oprot.writeStructEnd()
13610
 
13611
  def validate(self):
13612
    return
13613
 
13614
 
13615
  def __repr__(self):
13616
    L = ['%s=%r' % (key, value)
13617
      for key, value in self.__dict__.iteritems()]
13618
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13619
 
13620
  def __eq__(self, other):
13621
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13622
 
13623
  def __ne__(self, other):
13624
    return not (self == other)
13625
 
13626
class getComingSoon_result:
13627
  """
13628
  Attributes:
13629
   - success
13630
   - isex
13631
  """
13632
 
13633
  thrift_spec = (
13634
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13635
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13636
  )
13637
 
13638
  def __init__(self, success=None, isex=None,):
13639
    self.success = success
13640
    self.isex = isex
13641
 
13642
  def read(self, iprot):
13643
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13644
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13645
      return
13646
    iprot.readStructBegin()
13647
    while True:
13648
      (fname, ftype, fid) = iprot.readFieldBegin()
13649
      if ftype == TType.STOP:
13650
        break
13651
      if fid == 0:
13652
        if ftype == TType.LIST:
13653
          self.success = []
18719 kshitij.so 13654
          (_etype153, _size150) = iprot.readListBegin()
13655
          for _i154 in xrange(_size150):
13656
            _elem155 = Item()
13657
            _elem155.read(iprot)
13658
            self.success.append(_elem155)
5944 mandeep.dh 13659
          iprot.readListEnd()
13660
        else:
13661
          iprot.skip(ftype)
13662
      elif fid == 1:
13663
        if ftype == TType.STRUCT:
13664
          self.isex = CatalogServiceException()
13665
          self.isex.read(iprot)
13666
        else:
13667
          iprot.skip(ftype)
13668
      else:
13669
        iprot.skip(ftype)
13670
      iprot.readFieldEnd()
13671
    iprot.readStructEnd()
13672
 
13673
  def write(self, oprot):
13674
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13675
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13676
      return
13677
    oprot.writeStructBegin('getComingSoon_result')
13678
    if self.success is not None:
13679
      oprot.writeFieldBegin('success', TType.LIST, 0)
13680
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 13681
      for iter156 in self.success:
13682
        iter156.write(oprot)
5944 mandeep.dh 13683
      oprot.writeListEnd()
13684
      oprot.writeFieldEnd()
13685
    if self.isex is not None:
13686
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13687
      self.isex.write(oprot)
13688
      oprot.writeFieldEnd()
13689
    oprot.writeFieldStop()
13690
    oprot.writeStructEnd()
13691
 
13692
  def validate(self):
13693
    return
13694
 
13695
 
13696
  def __repr__(self):
13697
    L = ['%s=%r' % (key, value)
13698
      for key, value in self.__dict__.iteritems()]
13699
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13700
 
13701
  def __eq__(self, other):
13702
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13703
 
13704
  def __ne__(self, other):
13705
    return not (self == other)
13706
 
13707
class getComingSoonCatalogIds_args:
13708
  """
13709
  Attributes:
13710
   - beginIndex
13711
   - totalItems
13712
   - brand
13713
   - category
13714
  """
13715
 
13716
  thrift_spec = (
13717
    None, # 0
13718
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13719
    (2, TType.I64, 'totalItems', None, None, ), # 2
13720
    (3, TType.STRING, 'brand', None, None, ), # 3
13721
    (4, TType.I64, 'category', None, None, ), # 4
13722
  )
13723
 
13724
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
13725
    self.beginIndex = beginIndex
13726
    self.totalItems = totalItems
13727
    self.brand = brand
13728
    self.category = category
13729
 
13730
  def read(self, iprot):
13731
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13732
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13733
      return
13734
    iprot.readStructBegin()
13735
    while True:
13736
      (fname, ftype, fid) = iprot.readFieldBegin()
13737
      if ftype == TType.STOP:
13738
        break
13739
      if fid == 1:
13740
        if ftype == TType.I64:
13741
          self.beginIndex = iprot.readI64();
13742
        else:
13743
          iprot.skip(ftype)
13744
      elif fid == 2:
13745
        if ftype == TType.I64:
13746
          self.totalItems = iprot.readI64();
13747
        else:
13748
          iprot.skip(ftype)
13749
      elif fid == 3:
13750
        if ftype == TType.STRING:
13751
          self.brand = iprot.readString();
13752
        else:
13753
          iprot.skip(ftype)
13754
      elif fid == 4:
13755
        if ftype == TType.I64:
13756
          self.category = iprot.readI64();
13757
        else:
13758
          iprot.skip(ftype)
13759
      else:
13760
        iprot.skip(ftype)
13761
      iprot.readFieldEnd()
13762
    iprot.readStructEnd()
13763
 
13764
  def write(self, oprot):
13765
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13766
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13767
      return
13768
    oprot.writeStructBegin('getComingSoonCatalogIds_args')
13769
    if self.beginIndex is not None:
13770
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13771
      oprot.writeI64(self.beginIndex)
13772
      oprot.writeFieldEnd()
13773
    if self.totalItems is not None:
13774
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13775
      oprot.writeI64(self.totalItems)
13776
      oprot.writeFieldEnd()
13777
    if self.brand is not None:
13778
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13779
      oprot.writeString(self.brand)
13780
      oprot.writeFieldEnd()
13781
    if self.category is not None:
13782
      oprot.writeFieldBegin('category', TType.I64, 4)
13783
      oprot.writeI64(self.category)
13784
      oprot.writeFieldEnd()
13785
    oprot.writeFieldStop()
13786
    oprot.writeStructEnd()
13787
 
13788
  def validate(self):
13789
    return
13790
 
13791
 
13792
  def __repr__(self):
13793
    L = ['%s=%r' % (key, value)
13794
      for key, value in self.__dict__.iteritems()]
13795
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13796
 
13797
  def __eq__(self, other):
13798
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13799
 
13800
  def __ne__(self, other):
13801
    return not (self == other)
13802
 
13803
class getComingSoonCatalogIds_result:
13804
  """
13805
  Attributes:
13806
   - success
13807
   - cex
13808
  """
13809
 
13810
  thrift_spec = (
13811
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
13812
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13813
  )
13814
 
13815
  def __init__(self, success=None, cex=None,):
13816
    self.success = success
13817
    self.cex = cex
13818
 
13819
  def read(self, iprot):
13820
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13821
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13822
      return
13823
    iprot.readStructBegin()
13824
    while True:
13825
      (fname, ftype, fid) = iprot.readFieldBegin()
13826
      if ftype == TType.STOP:
13827
        break
13828
      if fid == 0:
13829
        if ftype == TType.LIST:
13830
          self.success = []
18719 kshitij.so 13831
          (_etype160, _size157) = iprot.readListBegin()
13832
          for _i161 in xrange(_size157):
13833
            _elem162 = iprot.readI64();
13834
            self.success.append(_elem162)
5944 mandeep.dh 13835
          iprot.readListEnd()
13836
        else:
13837
          iprot.skip(ftype)
13838
      elif fid == 1:
13839
        if ftype == TType.STRUCT:
13840
          self.cex = CatalogServiceException()
13841
          self.cex.read(iprot)
13842
        else:
13843
          iprot.skip(ftype)
13844
      else:
13845
        iprot.skip(ftype)
13846
      iprot.readFieldEnd()
13847
    iprot.readStructEnd()
13848
 
13849
  def write(self, oprot):
13850
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13851
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13852
      return
13853
    oprot.writeStructBegin('getComingSoonCatalogIds_result')
13854
    if self.success is not None:
13855
      oprot.writeFieldBegin('success', TType.LIST, 0)
13856
      oprot.writeListBegin(TType.I64, len(self.success))
18719 kshitij.so 13857
      for iter163 in self.success:
13858
        oprot.writeI64(iter163)
5944 mandeep.dh 13859
      oprot.writeListEnd()
13860
      oprot.writeFieldEnd()
13861
    if self.cex is not None:
13862
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13863
      self.cex.write(oprot)
13864
      oprot.writeFieldEnd()
13865
    oprot.writeFieldStop()
13866
    oprot.writeStructEnd()
13867
 
13868
  def validate(self):
13869
    return
13870
 
13871
 
13872
  def __repr__(self):
13873
    L = ['%s=%r' % (key, value)
13874
      for key, value in self.__dict__.iteritems()]
13875
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13876
 
13877
  def __eq__(self, other):
13878
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13879
 
13880
  def __ne__(self, other):
13881
    return not (self == other)
13882
 
13883
class getComingSoonCount_args:
13884
 
13885
  thrift_spec = (
13886
  )
13887
 
13888
  def read(self, iprot):
13889
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13890
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13891
      return
13892
    iprot.readStructBegin()
13893
    while True:
13894
      (fname, ftype, fid) = iprot.readFieldBegin()
13895
      if ftype == TType.STOP:
13896
        break
13897
      else:
13898
        iprot.skip(ftype)
13899
      iprot.readFieldEnd()
13900
    iprot.readStructEnd()
13901
 
13902
  def write(self, oprot):
13903
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13904
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13905
      return
13906
    oprot.writeStructBegin('getComingSoonCount_args')
13907
    oprot.writeFieldStop()
13908
    oprot.writeStructEnd()
13909
 
13910
  def validate(self):
13911
    return
13912
 
13913
 
13914
  def __repr__(self):
13915
    L = ['%s=%r' % (key, value)
13916
      for key, value in self.__dict__.iteritems()]
13917
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13918
 
13919
  def __eq__(self, other):
13920
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13921
 
13922
  def __ne__(self, other):
13923
    return not (self == other)
13924
 
13925
class getComingSoonCount_result:
13926
  """
13927
  Attributes:
13928
   - success
13929
   - cex
13930
  """
13931
 
13932
  thrift_spec = (
13933
    (0, TType.I64, 'success', None, None, ), # 0
13934
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13935
  )
13936
 
13937
  def __init__(self, success=None, cex=None,):
13938
    self.success = success
13939
    self.cex = cex
13940
 
13941
  def read(self, iprot):
13942
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13943
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13944
      return
13945
    iprot.readStructBegin()
13946
    while True:
13947
      (fname, ftype, fid) = iprot.readFieldBegin()
13948
      if ftype == TType.STOP:
13949
        break
13950
      if fid == 0:
13951
        if ftype == TType.I64:
13952
          self.success = iprot.readI64();
13953
        else:
13954
          iprot.skip(ftype)
13955
      elif fid == 1:
13956
        if ftype == TType.STRUCT:
13957
          self.cex = CatalogServiceException()
13958
          self.cex.read(iprot)
13959
        else:
13960
          iprot.skip(ftype)
13961
      else:
13962
        iprot.skip(ftype)
13963
      iprot.readFieldEnd()
13964
    iprot.readStructEnd()
13965
 
13966
  def write(self, oprot):
13967
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13968
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13969
      return
13970
    oprot.writeStructBegin('getComingSoonCount_result')
13971
    if self.success is not None:
13972
      oprot.writeFieldBegin('success', TType.I64, 0)
13973
      oprot.writeI64(self.success)
13974
      oprot.writeFieldEnd()
13975
    if self.cex is not None:
13976
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13977
      self.cex.write(oprot)
13978
      oprot.writeFieldEnd()
13979
    oprot.writeFieldStop()
13980
    oprot.writeStructEnd()
13981
 
13982
  def validate(self):
13983
    return
13984
 
13985
 
13986
  def __repr__(self):
13987
    L = ['%s=%r' % (key, value)
13988
      for key, value in self.__dict__.iteritems()]
13989
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13990
 
13991
  def __eq__(self, other):
13992
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13993
 
13994
  def __ne__(self, other):
13995
    return not (self == other)
13996
 
13997
class getLatestArrivals_args:
13998
 
13999
  thrift_spec = (
14000
  )
14001
 
14002
  def read(self, iprot):
14003
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14004
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14005
      return
14006
    iprot.readStructBegin()
14007
    while True:
14008
      (fname, ftype, fid) = iprot.readFieldBegin()
14009
      if ftype == TType.STOP:
14010
        break
14011
      else:
14012
        iprot.skip(ftype)
14013
      iprot.readFieldEnd()
14014
    iprot.readStructEnd()
14015
 
14016
  def write(self, oprot):
14017
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14018
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14019
      return
14020
    oprot.writeStructBegin('getLatestArrivals_args')
14021
    oprot.writeFieldStop()
14022
    oprot.writeStructEnd()
14023
 
14024
  def validate(self):
14025
    return
14026
 
14027
 
14028
  def __repr__(self):
14029
    L = ['%s=%r' % (key, value)
14030
      for key, value in self.__dict__.iteritems()]
14031
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14032
 
14033
  def __eq__(self, other):
14034
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14035
 
14036
  def __ne__(self, other):
14037
    return not (self == other)
14038
 
14039
class getLatestArrivals_result:
14040
  """
14041
  Attributes:
14042
   - success
14043
   - isex
14044
  """
14045
 
14046
  thrift_spec = (
14047
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
14048
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14049
  )
14050
 
14051
  def __init__(self, success=None, isex=None,):
14052
    self.success = success
14053
    self.isex = isex
14054
 
14055
  def read(self, iprot):
14056
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14057
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14058
      return
14059
    iprot.readStructBegin()
14060
    while True:
14061
      (fname, ftype, fid) = iprot.readFieldBegin()
14062
      if ftype == TType.STOP:
14063
        break
14064
      if fid == 0:
14065
        if ftype == TType.LIST:
14066
          self.success = []
18719 kshitij.so 14067
          (_etype167, _size164) = iprot.readListBegin()
14068
          for _i168 in xrange(_size164):
14069
            _elem169 = Item()
14070
            _elem169.read(iprot)
14071
            self.success.append(_elem169)
5944 mandeep.dh 14072
          iprot.readListEnd()
14073
        else:
14074
          iprot.skip(ftype)
14075
      elif fid == 1:
14076
        if ftype == TType.STRUCT:
14077
          self.isex = CatalogServiceException()
14078
          self.isex.read(iprot)
14079
        else:
14080
          iprot.skip(ftype)
14081
      else:
14082
        iprot.skip(ftype)
14083
      iprot.readFieldEnd()
14084
    iprot.readStructEnd()
14085
 
14086
  def write(self, oprot):
14087
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14088
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14089
      return
14090
    oprot.writeStructBegin('getLatestArrivals_result')
14091
    if self.success is not None:
14092
      oprot.writeFieldBegin('success', TType.LIST, 0)
14093
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 14094
      for iter170 in self.success:
14095
        iter170.write(oprot)
5944 mandeep.dh 14096
      oprot.writeListEnd()
14097
      oprot.writeFieldEnd()
14098
    if self.isex is not None:
14099
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
14100
      self.isex.write(oprot)
14101
      oprot.writeFieldEnd()
14102
    oprot.writeFieldStop()
14103
    oprot.writeStructEnd()
14104
 
14105
  def validate(self):
14106
    return
14107
 
14108
 
14109
  def __repr__(self):
14110
    L = ['%s=%r' % (key, value)
14111
      for key, value in self.__dict__.iteritems()]
14112
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14113
 
14114
  def __eq__(self, other):
14115
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14116
 
14117
  def __ne__(self, other):
14118
    return not (self == other)
14119
 
14120
class getLatestArrivalsCatalogIds_args:
14121
  """
14122
  Attributes:
14123
   - beginIndex
14124
   - totalItems
14125
   - brand
14126
   - categories
14127
  """
14128
 
14129
  thrift_spec = (
14130
    None, # 0
14131
    (1, TType.I64, 'beginIndex', None, None, ), # 1
14132
    (2, TType.I64, 'totalItems', None, None, ), # 2
14133
    (3, TType.STRING, 'brand', None, None, ), # 3
14134
    (4, TType.LIST, 'categories', (TType.I64,None), None, ), # 4
14135
  )
14136
 
14137
  def __init__(self, beginIndex=None, totalItems=None, brand=None, categories=None,):
14138
    self.beginIndex = beginIndex
14139
    self.totalItems = totalItems
14140
    self.brand = brand
14141
    self.categories = categories
14142
 
14143
  def read(self, iprot):
14144
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14145
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14146
      return
14147
    iprot.readStructBegin()
14148
    while True:
14149
      (fname, ftype, fid) = iprot.readFieldBegin()
14150
      if ftype == TType.STOP:
14151
        break
14152
      if fid == 1:
14153
        if ftype == TType.I64:
14154
          self.beginIndex = iprot.readI64();
14155
        else:
14156
          iprot.skip(ftype)
14157
      elif fid == 2:
14158
        if ftype == TType.I64:
14159
          self.totalItems = iprot.readI64();
14160
        else:
14161
          iprot.skip(ftype)
14162
      elif fid == 3:
14163
        if ftype == TType.STRING:
14164
          self.brand = iprot.readString();
14165
        else:
14166
          iprot.skip(ftype)
14167
      elif fid == 4:
14168
        if ftype == TType.LIST:
14169
          self.categories = []
18719 kshitij.so 14170
          (_etype174, _size171) = iprot.readListBegin()
14171
          for _i175 in xrange(_size171):
14172
            _elem176 = iprot.readI64();
14173
            self.categories.append(_elem176)
5944 mandeep.dh 14174
          iprot.readListEnd()
14175
        else:
14176
          iprot.skip(ftype)
14177
      else:
14178
        iprot.skip(ftype)
14179
      iprot.readFieldEnd()
14180
    iprot.readStructEnd()
14181
 
14182
  def write(self, oprot):
14183
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14184
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14185
      return
14186
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_args')
14187
    if self.beginIndex is not None:
14188
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
14189
      oprot.writeI64(self.beginIndex)
14190
      oprot.writeFieldEnd()
14191
    if self.totalItems is not None:
14192
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
14193
      oprot.writeI64(self.totalItems)
14194
      oprot.writeFieldEnd()
14195
    if self.brand is not None:
14196
      oprot.writeFieldBegin('brand', TType.STRING, 3)
14197
      oprot.writeString(self.brand)
14198
      oprot.writeFieldEnd()
14199
    if self.categories is not None:
14200
      oprot.writeFieldBegin('categories', TType.LIST, 4)
14201
      oprot.writeListBegin(TType.I64, len(self.categories))
18719 kshitij.so 14202
      for iter177 in self.categories:
14203
        oprot.writeI64(iter177)
5944 mandeep.dh 14204
      oprot.writeListEnd()
14205
      oprot.writeFieldEnd()
14206
    oprot.writeFieldStop()
14207
    oprot.writeStructEnd()
14208
 
14209
  def validate(self):
14210
    return
14211
 
14212
 
14213
  def __repr__(self):
14214
    L = ['%s=%r' % (key, value)
14215
      for key, value in self.__dict__.iteritems()]
14216
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14217
 
14218
  def __eq__(self, other):
14219
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14220
 
14221
  def __ne__(self, other):
14222
    return not (self == other)
14223
 
14224
class getLatestArrivalsCatalogIds_result:
14225
  """
14226
  Attributes:
14227
   - success
14228
   - cex
14229
  """
14230
 
14231
  thrift_spec = (
14232
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
14233
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14234
  )
14235
 
14236
  def __init__(self, success=None, cex=None,):
14237
    self.success = success
14238
    self.cex = cex
14239
 
14240
  def read(self, iprot):
14241
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14242
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14243
      return
14244
    iprot.readStructBegin()
14245
    while True:
14246
      (fname, ftype, fid) = iprot.readFieldBegin()
14247
      if ftype == TType.STOP:
14248
        break
14249
      if fid == 0:
14250
        if ftype == TType.LIST:
14251
          self.success = []
18719 kshitij.so 14252
          (_etype181, _size178) = iprot.readListBegin()
14253
          for _i182 in xrange(_size178):
14254
            _elem183 = iprot.readI64();
14255
            self.success.append(_elem183)
5944 mandeep.dh 14256
          iprot.readListEnd()
14257
        else:
14258
          iprot.skip(ftype)
14259
      elif fid == 1:
14260
        if ftype == TType.STRUCT:
14261
          self.cex = CatalogServiceException()
14262
          self.cex.read(iprot)
14263
        else:
14264
          iprot.skip(ftype)
14265
      else:
14266
        iprot.skip(ftype)
14267
      iprot.readFieldEnd()
14268
    iprot.readStructEnd()
14269
 
14270
  def write(self, oprot):
14271
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14272
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14273
      return
14274
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_result')
14275
    if self.success is not None:
14276
      oprot.writeFieldBegin('success', TType.LIST, 0)
14277
      oprot.writeListBegin(TType.I64, len(self.success))
18719 kshitij.so 14278
      for iter184 in self.success:
14279
        oprot.writeI64(iter184)
5944 mandeep.dh 14280
      oprot.writeListEnd()
14281
      oprot.writeFieldEnd()
14282
    if self.cex is not None:
14283
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
14284
      self.cex.write(oprot)
14285
      oprot.writeFieldEnd()
14286
    oprot.writeFieldStop()
14287
    oprot.writeStructEnd()
14288
 
14289
  def validate(self):
14290
    return
14291
 
14292
 
14293
  def __repr__(self):
14294
    L = ['%s=%r' % (key, value)
14295
      for key, value in self.__dict__.iteritems()]
14296
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14297
 
14298
  def __eq__(self, other):
14299
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14300
 
14301
  def __ne__(self, other):
14302
    return not (self == other)
14303
 
14304
class getLatestArrivalsCount_args:
14305
 
14306
  thrift_spec = (
14307
  )
14308
 
14309
  def read(self, iprot):
14310
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14311
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14312
      return
14313
    iprot.readStructBegin()
14314
    while True:
14315
      (fname, ftype, fid) = iprot.readFieldBegin()
14316
      if ftype == TType.STOP:
14317
        break
14318
      else:
14319
        iprot.skip(ftype)
14320
      iprot.readFieldEnd()
14321
    iprot.readStructEnd()
14322
 
14323
  def write(self, oprot):
14324
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14325
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14326
      return
14327
    oprot.writeStructBegin('getLatestArrivalsCount_args')
14328
    oprot.writeFieldStop()
14329
    oprot.writeStructEnd()
14330
 
14331
  def validate(self):
14332
    return
14333
 
14334
 
14335
  def __repr__(self):
14336
    L = ['%s=%r' % (key, value)
14337
      for key, value in self.__dict__.iteritems()]
14338
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14339
 
14340
  def __eq__(self, other):
14341
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14342
 
14343
  def __ne__(self, other):
14344
    return not (self == other)
14345
 
14346
class getLatestArrivalsCount_result:
14347
  """
14348
  Attributes:
14349
   - success
14350
   - cex
14351
  """
14352
 
14353
  thrift_spec = (
14354
    (0, TType.I64, 'success', None, None, ), # 0
14355
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14356
  )
14357
 
14358
  def __init__(self, success=None, cex=None,):
14359
    self.success = success
14360
    self.cex = cex
14361
 
14362
  def read(self, iprot):
14363
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14364
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14365
      return
14366
    iprot.readStructBegin()
14367
    while True:
14368
      (fname, ftype, fid) = iprot.readFieldBegin()
14369
      if ftype == TType.STOP:
14370
        break
14371
      if fid == 0:
14372
        if ftype == TType.I64:
14373
          self.success = iprot.readI64();
14374
        else:
14375
          iprot.skip(ftype)
14376
      elif fid == 1:
14377
        if ftype == TType.STRUCT:
14378
          self.cex = CatalogServiceException()
14379
          self.cex.read(iprot)
14380
        else:
14381
          iprot.skip(ftype)
14382
      else:
14383
        iprot.skip(ftype)
14384
      iprot.readFieldEnd()
14385
    iprot.readStructEnd()
14386
 
14387
  def write(self, oprot):
14388
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14389
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14390
      return
14391
    oprot.writeStructBegin('getLatestArrivalsCount_result')
14392
    if self.success is not None:
14393
      oprot.writeFieldBegin('success', TType.I64, 0)
14394
      oprot.writeI64(self.success)
14395
      oprot.writeFieldEnd()
14396
    if self.cex is not None:
14397
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
14398
      self.cex.write(oprot)
14399
      oprot.writeFieldEnd()
14400
    oprot.writeFieldStop()
14401
    oprot.writeStructEnd()
14402
 
14403
  def validate(self):
14404
    return
14405
 
14406
 
14407
  def __repr__(self):
14408
    L = ['%s=%r' % (key, value)
14409
      for key, value in self.__dict__.iteritems()]
14410
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14411
 
14412
  def __eq__(self, other):
14413
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14414
 
14415
  def __ne__(self, other):
14416
    return not (self == other)
14417
 
14418
class generateNewEntityID_args:
14419
 
14420
  thrift_spec = (
14421
  )
14422
 
14423
  def read(self, iprot):
14424
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14425
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14426
      return
14427
    iprot.readStructBegin()
14428
    while True:
14429
      (fname, ftype, fid) = iprot.readFieldBegin()
14430
      if ftype == TType.STOP:
14431
        break
14432
      else:
14433
        iprot.skip(ftype)
14434
      iprot.readFieldEnd()
14435
    iprot.readStructEnd()
14436
 
14437
  def write(self, oprot):
14438
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14439
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14440
      return
14441
    oprot.writeStructBegin('generateNewEntityID_args')
14442
    oprot.writeFieldStop()
14443
    oprot.writeStructEnd()
14444
 
14445
  def validate(self):
14446
    return
14447
 
14448
 
14449
  def __repr__(self):
14450
    L = ['%s=%r' % (key, value)
14451
      for key, value in self.__dict__.iteritems()]
14452
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14453
 
14454
  def __eq__(self, other):
14455
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14456
 
14457
  def __ne__(self, other):
14458
    return not (self == other)
14459
 
14460
class generateNewEntityID_result:
14461
  """
14462
  Attributes:
14463
   - success
14464
  """
14465
 
14466
  thrift_spec = (
14467
    (0, TType.I64, 'success', None, None, ), # 0
14468
  )
14469
 
14470
  def __init__(self, success=None,):
14471
    self.success = success
14472
 
14473
  def read(self, iprot):
14474
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14475
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14476
      return
14477
    iprot.readStructBegin()
14478
    while True:
14479
      (fname, ftype, fid) = iprot.readFieldBegin()
14480
      if ftype == TType.STOP:
14481
        break
14482
      if fid == 0:
14483
        if ftype == TType.I64:
14484
          self.success = iprot.readI64();
14485
        else:
14486
          iprot.skip(ftype)
14487
      else:
14488
        iprot.skip(ftype)
14489
      iprot.readFieldEnd()
14490
    iprot.readStructEnd()
14491
 
14492
  def write(self, oprot):
14493
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14494
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14495
      return
14496
    oprot.writeStructBegin('generateNewEntityID_result')
14497
    if self.success is not None:
14498
      oprot.writeFieldBegin('success', TType.I64, 0)
14499
      oprot.writeI64(self.success)
14500
      oprot.writeFieldEnd()
14501
    oprot.writeFieldStop()
14502
    oprot.writeStructEnd()
14503
 
14504
  def validate(self):
14505
    return
14506
 
14507
 
14508
  def __repr__(self):
14509
    L = ['%s=%r' % (key, value)
14510
      for key, value in self.__dict__.iteritems()]
14511
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14512
 
14513
  def __eq__(self, other):
14514
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14515
 
14516
  def __ne__(self, other):
14517
    return not (self == other)
14518
 
14519
class addCategory_args:
14520
  """
14521
  Attributes:
14522
   - category
14523
  """
14524
 
14525
  thrift_spec = (
14526
    None, # 0
14527
    (1, TType.STRUCT, 'category', (Category, Category.thrift_spec), None, ), # 1
14528
  )
14529
 
14530
  def __init__(self, category=None,):
14531
    self.category = category
14532
 
14533
  def read(self, iprot):
14534
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14535
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14536
      return
14537
    iprot.readStructBegin()
14538
    while True:
14539
      (fname, ftype, fid) = iprot.readFieldBegin()
14540
      if ftype == TType.STOP:
14541
        break
14542
      if fid == 1:
14543
        if ftype == TType.STRUCT:
14544
          self.category = Category()
14545
          self.category.read(iprot)
14546
        else:
14547
          iprot.skip(ftype)
14548
      else:
14549
        iprot.skip(ftype)
14550
      iprot.readFieldEnd()
14551
    iprot.readStructEnd()
14552
 
14553
  def write(self, oprot):
14554
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14555
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14556
      return
14557
    oprot.writeStructBegin('addCategory_args')
14558
    if self.category is not None:
14559
      oprot.writeFieldBegin('category', TType.STRUCT, 1)
14560
      self.category.write(oprot)
14561
      oprot.writeFieldEnd()
14562
    oprot.writeFieldStop()
14563
    oprot.writeStructEnd()
14564
 
14565
  def validate(self):
14566
    return
14567
 
14568
 
14569
  def __repr__(self):
14570
    L = ['%s=%r' % (key, value)
14571
      for key, value in self.__dict__.iteritems()]
14572
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14573
 
14574
  def __eq__(self, other):
14575
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14576
 
14577
  def __ne__(self, other):
14578
    return not (self == other)
14579
 
14580
class addCategory_result:
14581
  """
14582
  Attributes:
14583
   - success
14584
  """
14585
 
14586
  thrift_spec = (
14587
    (0, TType.BOOL, 'success', None, None, ), # 0
14588
  )
14589
 
14590
  def __init__(self, success=None,):
14591
    self.success = success
14592
 
14593
  def read(self, iprot):
14594
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14595
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14596
      return
14597
    iprot.readStructBegin()
14598
    while True:
14599
      (fname, ftype, fid) = iprot.readFieldBegin()
14600
      if ftype == TType.STOP:
14601
        break
14602
      if fid == 0:
14603
        if ftype == TType.BOOL:
14604
          self.success = iprot.readBool();
14605
        else:
14606
          iprot.skip(ftype)
14607
      else:
14608
        iprot.skip(ftype)
14609
      iprot.readFieldEnd()
14610
    iprot.readStructEnd()
14611
 
14612
  def write(self, oprot):
14613
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14614
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14615
      return
14616
    oprot.writeStructBegin('addCategory_result')
14617
    if self.success is not None:
14618
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14619
      oprot.writeBool(self.success)
14620
      oprot.writeFieldEnd()
14621
    oprot.writeFieldStop()
14622
    oprot.writeStructEnd()
14623
 
14624
  def validate(self):
14625
    return
14626
 
14627
 
14628
  def __repr__(self):
14629
    L = ['%s=%r' % (key, value)
14630
      for key, value in self.__dict__.iteritems()]
14631
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14632
 
14633
  def __eq__(self, other):
14634
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14635
 
14636
  def __ne__(self, other):
14637
    return not (self == other)
14638
 
14639
class getCategory_args:
14640
  """
14641
  Attributes:
14642
   - id
14643
  """
14644
 
14645
  thrift_spec = (
14646
    None, # 0
14647
    (1, TType.I64, 'id', None, None, ), # 1
14648
  )
14649
 
14650
  def __init__(self, id=None,):
14651
    self.id = id
14652
 
14653
  def read(self, iprot):
14654
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14655
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14656
      return
14657
    iprot.readStructBegin()
14658
    while True:
14659
      (fname, ftype, fid) = iprot.readFieldBegin()
14660
      if ftype == TType.STOP:
14661
        break
14662
      if fid == 1:
14663
        if ftype == TType.I64:
14664
          self.id = iprot.readI64();
14665
        else:
14666
          iprot.skip(ftype)
14667
      else:
14668
        iprot.skip(ftype)
14669
      iprot.readFieldEnd()
14670
    iprot.readStructEnd()
14671
 
14672
  def write(self, oprot):
14673
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14674
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14675
      return
14676
    oprot.writeStructBegin('getCategory_args')
14677
    if self.id is not None:
14678
      oprot.writeFieldBegin('id', TType.I64, 1)
14679
      oprot.writeI64(self.id)
14680
      oprot.writeFieldEnd()
14681
    oprot.writeFieldStop()
14682
    oprot.writeStructEnd()
14683
 
14684
  def validate(self):
14685
    return
14686
 
14687
 
14688
  def __repr__(self):
14689
    L = ['%s=%r' % (key, value)
14690
      for key, value in self.__dict__.iteritems()]
14691
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14692
 
14693
  def __eq__(self, other):
14694
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14695
 
14696
  def __ne__(self, other):
14697
    return not (self == other)
14698
 
14699
class getCategory_result:
14700
  """
14701
  Attributes:
14702
   - success
14703
  """
14704
 
14705
  thrift_spec = (
14706
    (0, TType.STRUCT, 'success', (Category, Category.thrift_spec), None, ), # 0
14707
  )
14708
 
14709
  def __init__(self, success=None,):
14710
    self.success = success
14711
 
14712
  def read(self, iprot):
14713
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14714
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14715
      return
14716
    iprot.readStructBegin()
14717
    while True:
14718
      (fname, ftype, fid) = iprot.readFieldBegin()
14719
      if ftype == TType.STOP:
14720
        break
14721
      if fid == 0:
14722
        if ftype == TType.STRUCT:
14723
          self.success = Category()
14724
          self.success.read(iprot)
14725
        else:
14726
          iprot.skip(ftype)
14727
      else:
14728
        iprot.skip(ftype)
14729
      iprot.readFieldEnd()
14730
    iprot.readStructEnd()
14731
 
14732
  def write(self, oprot):
14733
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14734
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14735
      return
14736
    oprot.writeStructBegin('getCategory_result')
14737
    if self.success is not None:
14738
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
14739
      self.success.write(oprot)
14740
      oprot.writeFieldEnd()
14741
    oprot.writeFieldStop()
14742
    oprot.writeStructEnd()
14743
 
14744
  def validate(self):
14745
    return
14746
 
14747
 
14748
  def __repr__(self):
14749
    L = ['%s=%r' % (key, value)
14750
      for key, value in self.__dict__.iteritems()]
14751
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14752
 
14753
  def __eq__(self, other):
14754
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14755
 
14756
  def __ne__(self, other):
14757
    return not (self == other)
14758
 
14759
class getAllCategories_args:
14760
 
14761
  thrift_spec = (
14762
  )
14763
 
14764
  def read(self, iprot):
14765
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14766
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14767
      return
14768
    iprot.readStructBegin()
14769
    while True:
14770
      (fname, ftype, fid) = iprot.readFieldBegin()
14771
      if ftype == TType.STOP:
14772
        break
14773
      else:
14774
        iprot.skip(ftype)
14775
      iprot.readFieldEnd()
14776
    iprot.readStructEnd()
14777
 
14778
  def write(self, oprot):
14779
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14780
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14781
      return
14782
    oprot.writeStructBegin('getAllCategories_args')
14783
    oprot.writeFieldStop()
14784
    oprot.writeStructEnd()
14785
 
14786
  def validate(self):
14787
    return
14788
 
14789
 
14790
  def __repr__(self):
14791
    L = ['%s=%r' % (key, value)
14792
      for key, value in self.__dict__.iteritems()]
14793
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14794
 
14795
  def __eq__(self, other):
14796
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14797
 
14798
  def __ne__(self, other):
14799
    return not (self == other)
14800
 
14801
class getAllCategories_result:
14802
  """
14803
  Attributes:
14804
   - success
14805
  """
14806
 
14807
  thrift_spec = (
14808
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
14809
  )
14810
 
14811
  def __init__(self, success=None,):
14812
    self.success = success
14813
 
14814
  def read(self, iprot):
14815
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14816
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14817
      return
14818
    iprot.readStructBegin()
14819
    while True:
14820
      (fname, ftype, fid) = iprot.readFieldBegin()
14821
      if ftype == TType.STOP:
14822
        break
14823
      if fid == 0:
14824
        if ftype == TType.LIST:
14825
          self.success = []
18719 kshitij.so 14826
          (_etype188, _size185) = iprot.readListBegin()
14827
          for _i189 in xrange(_size185):
14828
            _elem190 = Category()
14829
            _elem190.read(iprot)
14830
            self.success.append(_elem190)
5944 mandeep.dh 14831
          iprot.readListEnd()
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('getAllCategories_result')
14844
    if self.success is not None:
14845
      oprot.writeFieldBegin('success', TType.LIST, 0)
14846
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 14847
      for iter191 in self.success:
14848
        iter191.write(oprot)
5944 mandeep.dh 14849
      oprot.writeListEnd()
14850
      oprot.writeFieldEnd()
14851
    oprot.writeFieldStop()
14852
    oprot.writeStructEnd()
14853
 
14854
  def validate(self):
14855
    return
14856
 
14857
 
14858
  def __repr__(self):
14859
    L = ['%s=%r' % (key, value)
14860
      for key, value in self.__dict__.iteritems()]
14861
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14862
 
14863
  def __eq__(self, other):
14864
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14865
 
14866
  def __ne__(self, other):
14867
    return not (self == other)
14868
 
14869
class getAllSimilarItems_args:
14870
  """
14871
  Attributes:
14872
   - itemId
14873
  """
14874
 
14875
  thrift_spec = (
14876
    None, # 0
14877
    (1, TType.I64, 'itemId', None, None, ), # 1
14878
  )
14879
 
14880
  def __init__(self, itemId=None,):
14881
    self.itemId = itemId
14882
 
14883
  def read(self, iprot):
14884
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14885
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14886
      return
14887
    iprot.readStructBegin()
14888
    while True:
14889
      (fname, ftype, fid) = iprot.readFieldBegin()
14890
      if ftype == TType.STOP:
14891
        break
14892
      if fid == 1:
14893
        if ftype == TType.I64:
14894
          self.itemId = iprot.readI64();
14895
        else:
14896
          iprot.skip(ftype)
14897
      else:
14898
        iprot.skip(ftype)
14899
      iprot.readFieldEnd()
14900
    iprot.readStructEnd()
14901
 
14902
  def write(self, oprot):
14903
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14904
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14905
      return
14906
    oprot.writeStructBegin('getAllSimilarItems_args')
14907
    if self.itemId is not None:
14908
      oprot.writeFieldBegin('itemId', TType.I64, 1)
14909
      oprot.writeI64(self.itemId)
14910
      oprot.writeFieldEnd()
14911
    oprot.writeFieldStop()
14912
    oprot.writeStructEnd()
14913
 
14914
  def validate(self):
14915
    return
14916
 
14917
 
14918
  def __repr__(self):
14919
    L = ['%s=%r' % (key, value)
14920
      for key, value in self.__dict__.iteritems()]
14921
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14922
 
14923
  def __eq__(self, other):
14924
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14925
 
14926
  def __ne__(self, other):
14927
    return not (self == other)
14928
 
14929
class getAllSimilarItems_result:
14930
  """
14931
  Attributes:
14932
   - success
14933
  """
14934
 
14935
  thrift_spec = (
14936
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
14937
  )
14938
 
14939
  def __init__(self, success=None,):
14940
    self.success = success
14941
 
14942
  def read(self, iprot):
14943
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14944
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14945
      return
14946
    iprot.readStructBegin()
14947
    while True:
14948
      (fname, ftype, fid) = iprot.readFieldBegin()
14949
      if ftype == TType.STOP:
14950
        break
14951
      if fid == 0:
14952
        if ftype == TType.LIST:
14953
          self.success = []
18719 kshitij.so 14954
          (_etype195, _size192) = iprot.readListBegin()
14955
          for _i196 in xrange(_size192):
14956
            _elem197 = Item()
14957
            _elem197.read(iprot)
14958
            self.success.append(_elem197)
5944 mandeep.dh 14959
          iprot.readListEnd()
14960
        else:
14961
          iprot.skip(ftype)
14962
      else:
14963
        iprot.skip(ftype)
14964
      iprot.readFieldEnd()
14965
    iprot.readStructEnd()
14966
 
14967
  def write(self, oprot):
14968
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14969
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14970
      return
14971
    oprot.writeStructBegin('getAllSimilarItems_result')
14972
    if self.success is not None:
14973
      oprot.writeFieldBegin('success', TType.LIST, 0)
14974
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 14975
      for iter198 in self.success:
14976
        iter198.write(oprot)
5944 mandeep.dh 14977
      oprot.writeListEnd()
14978
      oprot.writeFieldEnd()
14979
    oprot.writeFieldStop()
14980
    oprot.writeStructEnd()
14981
 
14982
  def validate(self):
14983
    return
14984
 
14985
 
14986
  def __repr__(self):
14987
    L = ['%s=%r' % (key, value)
14988
      for key, value in self.__dict__.iteritems()]
14989
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14990
 
14991
  def __eq__(self, other):
14992
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14993
 
14994
  def __ne__(self, other):
14995
    return not (self == other)
14996
 
14997
class addSimilarItem_args:
14998
  """
14999
  Attributes:
15000
   - itemId
15001
   - catalogItemId
15002
  """
15003
 
15004
  thrift_spec = (
15005
    None, # 0
15006
    (1, TType.I64, 'itemId', None, None, ), # 1
15007
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
15008
  )
15009
 
15010
  def __init__(self, itemId=None, catalogItemId=None,):
15011
    self.itemId = itemId
15012
    self.catalogItemId = catalogItemId
15013
 
15014
  def read(self, iprot):
15015
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15016
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15017
      return
15018
    iprot.readStructBegin()
15019
    while True:
15020
      (fname, ftype, fid) = iprot.readFieldBegin()
15021
      if ftype == TType.STOP:
15022
        break
15023
      if fid == 1:
15024
        if ftype == TType.I64:
15025
          self.itemId = iprot.readI64();
15026
        else:
15027
          iprot.skip(ftype)
15028
      elif fid == 2:
15029
        if ftype == TType.I64:
15030
          self.catalogItemId = iprot.readI64();
15031
        else:
15032
          iprot.skip(ftype)
15033
      else:
15034
        iprot.skip(ftype)
15035
      iprot.readFieldEnd()
15036
    iprot.readStructEnd()
15037
 
15038
  def write(self, oprot):
15039
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15040
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15041
      return
15042
    oprot.writeStructBegin('addSimilarItem_args')
15043
    if self.itemId is not None:
15044
      oprot.writeFieldBegin('itemId', TType.I64, 1)
15045
      oprot.writeI64(self.itemId)
15046
      oprot.writeFieldEnd()
15047
    if self.catalogItemId is not None:
15048
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
15049
      oprot.writeI64(self.catalogItemId)
15050
      oprot.writeFieldEnd()
15051
    oprot.writeFieldStop()
15052
    oprot.writeStructEnd()
15053
 
15054
  def validate(self):
15055
    return
15056
 
15057
 
15058
  def __repr__(self):
15059
    L = ['%s=%r' % (key, value)
15060
      for key, value in self.__dict__.iteritems()]
15061
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15062
 
15063
  def __eq__(self, other):
15064
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15065
 
15066
  def __ne__(self, other):
15067
    return not (self == other)
15068
 
15069
class addSimilarItem_result:
15070
  """
15071
  Attributes:
15072
   - success
15073
   - cex
15074
  """
15075
 
15076
  thrift_spec = (
15077
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
15078
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
15079
  )
15080
 
15081
  def __init__(self, success=None, cex=None,):
15082
    self.success = success
15083
    self.cex = cex
15084
 
15085
  def read(self, iprot):
15086
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15087
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15088
      return
15089
    iprot.readStructBegin()
15090
    while True:
15091
      (fname, ftype, fid) = iprot.readFieldBegin()
15092
      if ftype == TType.STOP:
15093
        break
15094
      if fid == 0:
15095
        if ftype == TType.STRUCT:
15096
          self.success = Item()
15097
          self.success.read(iprot)
15098
        else:
15099
          iprot.skip(ftype)
15100
      elif fid == 1:
15101
        if ftype == TType.STRUCT:
15102
          self.cex = CatalogServiceException()
15103
          self.cex.read(iprot)
15104
        else:
15105
          iprot.skip(ftype)
15106
      else:
15107
        iprot.skip(ftype)
15108
      iprot.readFieldEnd()
15109
    iprot.readStructEnd()
15110
 
15111
  def write(self, oprot):
15112
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15113
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15114
      return
15115
    oprot.writeStructBegin('addSimilarItem_result')
15116
    if self.success is not None:
15117
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
15118
      self.success.write(oprot)
15119
      oprot.writeFieldEnd()
15120
    if self.cex is not None:
15121
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
15122
      self.cex.write(oprot)
15123
      oprot.writeFieldEnd()
15124
    oprot.writeFieldStop()
15125
    oprot.writeStructEnd()
15126
 
15127
  def validate(self):
15128
    return
15129
 
15130
 
15131
  def __repr__(self):
15132
    L = ['%s=%r' % (key, value)
15133
      for key, value in self.__dict__.iteritems()]
15134
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15135
 
15136
  def __eq__(self, other):
15137
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15138
 
15139
  def __ne__(self, other):
15140
    return not (self == other)
15141
 
6512 kshitij.so 15142
class addTag_args:
15143
  """
15144
  Attributes:
15145
   - displayName
15146
   - itemId
15147
  """
15148
 
15149
  thrift_spec = (
15150
    None, # 0
15151
    (1, TType.STRING, 'displayName', None, None, ), # 1
15152
    (2, TType.I64, 'itemId', None, None, ), # 2
15153
  )
15154
 
15155
  def __init__(self, displayName=None, itemId=None,):
15156
    self.displayName = displayName
15157
    self.itemId = itemId
15158
 
15159
  def read(self, iprot):
15160
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15161
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15162
      return
15163
    iprot.readStructBegin()
15164
    while True:
15165
      (fname, ftype, fid) = iprot.readFieldBegin()
15166
      if ftype == TType.STOP:
15167
        break
15168
      if fid == 1:
15169
        if ftype == TType.STRING:
15170
          self.displayName = iprot.readString();
15171
        else:
15172
          iprot.skip(ftype)
15173
      elif fid == 2:
15174
        if ftype == TType.I64:
15175
          self.itemId = iprot.readI64();
15176
        else:
15177
          iprot.skip(ftype)
15178
      else:
15179
        iprot.skip(ftype)
15180
      iprot.readFieldEnd()
15181
    iprot.readStructEnd()
15182
 
15183
  def write(self, oprot):
15184
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15185
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15186
      return
15187
    oprot.writeStructBegin('addTag_args')
15188
    if self.displayName is not None:
15189
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
15190
      oprot.writeString(self.displayName)
15191
      oprot.writeFieldEnd()
15192
    if self.itemId is not None:
15193
      oprot.writeFieldBegin('itemId', TType.I64, 2)
15194
      oprot.writeI64(self.itemId)
15195
      oprot.writeFieldEnd()
15196
    oprot.writeFieldStop()
15197
    oprot.writeStructEnd()
15198
 
15199
  def validate(self):
15200
    return
15201
 
15202
 
15203
  def __repr__(self):
15204
    L = ['%s=%r' % (key, value)
15205
      for key, value in self.__dict__.iteritems()]
15206
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15207
 
15208
  def __eq__(self, other):
15209
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15210
 
15211
  def __ne__(self, other):
15212
    return not (self == other)
15213
 
15214
class addTag_result:
15215
  """
15216
  Attributes:
15217
   - success
15218
  """
15219
 
15220
  thrift_spec = (
15221
    (0, TType.BOOL, 'success', None, None, ), # 0
15222
  )
15223
 
15224
  def __init__(self, success=None,):
15225
    self.success = success
15226
 
15227
  def read(self, iprot):
15228
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15229
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15230
      return
15231
    iprot.readStructBegin()
15232
    while True:
15233
      (fname, ftype, fid) = iprot.readFieldBegin()
15234
      if ftype == TType.STOP:
15235
        break
15236
      if fid == 0:
15237
        if ftype == TType.BOOL:
15238
          self.success = iprot.readBool();
15239
        else:
15240
          iprot.skip(ftype)
15241
      else:
15242
        iprot.skip(ftype)
15243
      iprot.readFieldEnd()
15244
    iprot.readStructEnd()
15245
 
15246
  def write(self, oprot):
15247
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15248
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15249
      return
15250
    oprot.writeStructBegin('addTag_result')
15251
    if self.success is not None:
15252
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15253
      oprot.writeBool(self.success)
15254
      oprot.writeFieldEnd()
15255
    oprot.writeFieldStop()
15256
    oprot.writeStructEnd()
15257
 
15258
  def validate(self):
15259
    return
15260
 
15261
 
15262
  def __repr__(self):
15263
    L = ['%s=%r' % (key, value)
15264
      for key, value in self.__dict__.iteritems()]
15265
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15266
 
15267
  def __eq__(self, other):
15268
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15269
 
15270
  def __ne__(self, other):
15271
    return not (self == other)
15272
 
15273
class deleteEntityTag_args:
15274
  """
15275
  Attributes:
15276
   - displayName
15277
   - itemId
15278
  """
15279
 
15280
  thrift_spec = (
15281
    None, # 0
15282
    (1, TType.STRING, 'displayName', None, None, ), # 1
15283
    (2, TType.I64, 'itemId', None, None, ), # 2
15284
  )
15285
 
15286
  def __init__(self, displayName=None, itemId=None,):
15287
    self.displayName = displayName
15288
    self.itemId = itemId
15289
 
15290
  def read(self, iprot):
15291
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15292
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15293
      return
15294
    iprot.readStructBegin()
15295
    while True:
15296
      (fname, ftype, fid) = iprot.readFieldBegin()
15297
      if ftype == TType.STOP:
15298
        break
15299
      if fid == 1:
15300
        if ftype == TType.STRING:
15301
          self.displayName = iprot.readString();
15302
        else:
15303
          iprot.skip(ftype)
15304
      elif fid == 2:
15305
        if ftype == TType.I64:
15306
          self.itemId = iprot.readI64();
15307
        else:
15308
          iprot.skip(ftype)
15309
      else:
15310
        iprot.skip(ftype)
15311
      iprot.readFieldEnd()
15312
    iprot.readStructEnd()
15313
 
15314
  def write(self, oprot):
15315
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15316
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15317
      return
15318
    oprot.writeStructBegin('deleteEntityTag_args')
15319
    if self.displayName is not None:
15320
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
15321
      oprot.writeString(self.displayName)
15322
      oprot.writeFieldEnd()
15323
    if self.itemId is not None:
15324
      oprot.writeFieldBegin('itemId', TType.I64, 2)
15325
      oprot.writeI64(self.itemId)
15326
      oprot.writeFieldEnd()
15327
    oprot.writeFieldStop()
15328
    oprot.writeStructEnd()
15329
 
15330
  def validate(self):
15331
    return
15332
 
15333
 
15334
  def __repr__(self):
15335
    L = ['%s=%r' % (key, value)
15336
      for key, value in self.__dict__.iteritems()]
15337
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15338
 
15339
  def __eq__(self, other):
15340
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15341
 
15342
  def __ne__(self, other):
15343
    return not (self == other)
15344
 
15345
class deleteEntityTag_result:
15346
  """
15347
  Attributes:
15348
   - success
15349
  """
15350
 
15351
  thrift_spec = (
15352
    (0, TType.BOOL, 'success', None, None, ), # 0
15353
  )
15354
 
15355
  def __init__(self, success=None,):
15356
    self.success = success
15357
 
15358
  def read(self, iprot):
15359
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15360
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15361
      return
15362
    iprot.readStructBegin()
15363
    while True:
15364
      (fname, ftype, fid) = iprot.readFieldBegin()
15365
      if ftype == TType.STOP:
15366
        break
15367
      if fid == 0:
15368
        if ftype == TType.BOOL:
15369
          self.success = iprot.readBool();
15370
        else:
15371
          iprot.skip(ftype)
15372
      else:
15373
        iprot.skip(ftype)
15374
      iprot.readFieldEnd()
15375
    iprot.readStructEnd()
15376
 
15377
  def write(self, oprot):
15378
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15379
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15380
      return
15381
    oprot.writeStructBegin('deleteEntityTag_result')
15382
    if self.success is not None:
15383
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15384
      oprot.writeBool(self.success)
15385
      oprot.writeFieldEnd()
15386
    oprot.writeFieldStop()
15387
    oprot.writeStructEnd()
15388
 
15389
  def validate(self):
15390
    return
15391
 
15392
 
15393
  def __repr__(self):
15394
    L = ['%s=%r' % (key, value)
15395
      for key, value in self.__dict__.iteritems()]
15396
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15397
 
15398
  def __eq__(self, other):
15399
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15400
 
15401
  def __ne__(self, other):
15402
    return not (self == other)
15403
 
15404
class deleteTag_args:
15405
  """
15406
  Attributes:
15407
   - displayName
15408
  """
15409
 
15410
  thrift_spec = (
15411
    None, # 0
15412
    (1, TType.STRING, 'displayName', None, None, ), # 1
15413
  )
15414
 
15415
  def __init__(self, displayName=None,):
15416
    self.displayName = displayName
15417
 
15418
  def read(self, iprot):
15419
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15420
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15421
      return
15422
    iprot.readStructBegin()
15423
    while True:
15424
      (fname, ftype, fid) = iprot.readFieldBegin()
15425
      if ftype == TType.STOP:
15426
        break
15427
      if fid == 1:
15428
        if ftype == TType.STRING:
15429
          self.displayName = iprot.readString();
15430
        else:
15431
          iprot.skip(ftype)
15432
      else:
15433
        iprot.skip(ftype)
15434
      iprot.readFieldEnd()
15435
    iprot.readStructEnd()
15436
 
15437
  def write(self, oprot):
15438
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15439
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15440
      return
15441
    oprot.writeStructBegin('deleteTag_args')
15442
    if self.displayName is not None:
15443
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
15444
      oprot.writeString(self.displayName)
15445
      oprot.writeFieldEnd()
15446
    oprot.writeFieldStop()
15447
    oprot.writeStructEnd()
15448
 
15449
  def validate(self):
15450
    return
15451
 
15452
 
15453
  def __repr__(self):
15454
    L = ['%s=%r' % (key, value)
15455
      for key, value in self.__dict__.iteritems()]
15456
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15457
 
15458
  def __eq__(self, other):
15459
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15460
 
15461
  def __ne__(self, other):
15462
    return not (self == other)
15463
 
15464
class deleteTag_result:
15465
  """
15466
  Attributes:
15467
   - success
15468
  """
15469
 
15470
  thrift_spec = (
15471
    (0, TType.BOOL, 'success', None, None, ), # 0
15472
  )
15473
 
15474
  def __init__(self, success=None,):
15475
    self.success = success
15476
 
15477
  def read(self, iprot):
15478
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15479
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15480
      return
15481
    iprot.readStructBegin()
15482
    while True:
15483
      (fname, ftype, fid) = iprot.readFieldBegin()
15484
      if ftype == TType.STOP:
15485
        break
15486
      if fid == 0:
15487
        if ftype == TType.BOOL:
15488
          self.success = iprot.readBool();
15489
        else:
15490
          iprot.skip(ftype)
15491
      else:
15492
        iprot.skip(ftype)
15493
      iprot.readFieldEnd()
15494
    iprot.readStructEnd()
15495
 
15496
  def write(self, oprot):
15497
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15498
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15499
      return
15500
    oprot.writeStructBegin('deleteTag_result')
15501
    if self.success is not None:
15502
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15503
      oprot.writeBool(self.success)
15504
      oprot.writeFieldEnd()
15505
    oprot.writeFieldStop()
15506
    oprot.writeStructEnd()
15507
 
15508
  def validate(self):
15509
    return
15510
 
15511
 
15512
  def __repr__(self):
15513
    L = ['%s=%r' % (key, value)
15514
      for key, value in self.__dict__.iteritems()]
15515
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15516
 
15517
  def __eq__(self, other):
15518
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15519
 
15520
  def __ne__(self, other):
15521
    return not (self == other)
15522
 
15523
class getAllTags_args:
15524
 
15525
  thrift_spec = (
15526
  )
15527
 
15528
  def read(self, iprot):
15529
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15530
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15531
      return
15532
    iprot.readStructBegin()
15533
    while True:
15534
      (fname, ftype, fid) = iprot.readFieldBegin()
15535
      if ftype == TType.STOP:
15536
        break
15537
      else:
15538
        iprot.skip(ftype)
15539
      iprot.readFieldEnd()
15540
    iprot.readStructEnd()
15541
 
15542
  def write(self, oprot):
15543
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15544
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15545
      return
15546
    oprot.writeStructBegin('getAllTags_args')
15547
    oprot.writeFieldStop()
15548
    oprot.writeStructEnd()
15549
 
15550
  def validate(self):
15551
    return
15552
 
15553
 
15554
  def __repr__(self):
15555
    L = ['%s=%r' % (key, value)
15556
      for key, value in self.__dict__.iteritems()]
15557
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15558
 
15559
  def __eq__(self, other):
15560
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15561
 
15562
  def __ne__(self, other):
15563
    return not (self == other)
15564
 
15565
class getAllTags_result:
15566
  """
15567
  Attributes:
15568
   - success
15569
  """
15570
 
15571
  thrift_spec = (
15572
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
15573
  )
15574
 
15575
  def __init__(self, success=None,):
15576
    self.success = success
15577
 
15578
  def read(self, iprot):
15579
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15580
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15581
      return
15582
    iprot.readStructBegin()
15583
    while True:
15584
      (fname, ftype, fid) = iprot.readFieldBegin()
15585
      if ftype == TType.STOP:
15586
        break
15587
      if fid == 0:
15588
        if ftype == TType.LIST:
15589
          self.success = []
18719 kshitij.so 15590
          (_etype202, _size199) = iprot.readListBegin()
15591
          for _i203 in xrange(_size199):
15592
            _elem204 = iprot.readString();
15593
            self.success.append(_elem204)
6512 kshitij.so 15594
          iprot.readListEnd()
15595
        else:
15596
          iprot.skip(ftype)
15597
      else:
15598
        iprot.skip(ftype)
15599
      iprot.readFieldEnd()
15600
    iprot.readStructEnd()
15601
 
15602
  def write(self, oprot):
15603
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15604
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15605
      return
15606
    oprot.writeStructBegin('getAllTags_result')
15607
    if self.success is not None:
15608
      oprot.writeFieldBegin('success', TType.LIST, 0)
15609
      oprot.writeListBegin(TType.STRING, len(self.success))
18719 kshitij.so 15610
      for iter205 in self.success:
15611
        oprot.writeString(iter205)
6512 kshitij.so 15612
      oprot.writeListEnd()
15613
      oprot.writeFieldEnd()
15614
    oprot.writeFieldStop()
15615
    oprot.writeStructEnd()
15616
 
15617
  def validate(self):
15618
    return
15619
 
15620
 
15621
  def __repr__(self):
15622
    L = ['%s=%r' % (key, value)
15623
      for key, value in self.__dict__.iteritems()]
15624
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15625
 
15626
  def __eq__(self, other):
15627
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15628
 
15629
  def __ne__(self, other):
15630
    return not (self == other)
15631
 
15632
class getAllEntitiesByTagName_args:
15633
  """
15634
  Attributes:
15635
   - displayName
15636
  """
15637
 
15638
  thrift_spec = (
15639
    None, # 0
15640
    (1, TType.STRING, 'displayName', None, None, ), # 1
15641
  )
15642
 
15643
  def __init__(self, displayName=None,):
15644
    self.displayName = displayName
15645
 
15646
  def read(self, iprot):
15647
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15648
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15649
      return
15650
    iprot.readStructBegin()
15651
    while True:
15652
      (fname, ftype, fid) = iprot.readFieldBegin()
15653
      if ftype == TType.STOP:
15654
        break
15655
      if fid == 1:
15656
        if ftype == TType.STRING:
15657
          self.displayName = iprot.readString();
15658
        else:
15659
          iprot.skip(ftype)
15660
      else:
15661
        iprot.skip(ftype)
15662
      iprot.readFieldEnd()
15663
    iprot.readStructEnd()
15664
 
15665
  def write(self, oprot):
15666
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15667
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15668
      return
15669
    oprot.writeStructBegin('getAllEntitiesByTagName_args')
15670
    if self.displayName is not None:
15671
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
15672
      oprot.writeString(self.displayName)
15673
      oprot.writeFieldEnd()
15674
    oprot.writeFieldStop()
15675
    oprot.writeStructEnd()
15676
 
15677
  def validate(self):
15678
    return
15679
 
15680
 
15681
  def __repr__(self):
15682
    L = ['%s=%r' % (key, value)
15683
      for key, value in self.__dict__.iteritems()]
15684
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15685
 
15686
  def __eq__(self, other):
15687
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15688
 
15689
  def __ne__(self, other):
15690
    return not (self == other)
15691
 
15692
class getAllEntitiesByTagName_result:
15693
  """
15694
  Attributes:
15695
   - success
15696
  """
15697
 
15698
  thrift_spec = (
15699
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
15700
  )
15701
 
15702
  def __init__(self, success=None,):
15703
    self.success = success
15704
 
15705
  def read(self, iprot):
15706
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15707
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15708
      return
15709
    iprot.readStructBegin()
15710
    while True:
15711
      (fname, ftype, fid) = iprot.readFieldBegin()
15712
      if ftype == TType.STOP:
15713
        break
15714
      if fid == 0:
15715
        if ftype == TType.LIST:
15716
          self.success = []
18719 kshitij.so 15717
          (_etype209, _size206) = iprot.readListBegin()
15718
          for _i210 in xrange(_size206):
15719
            _elem211 = iprot.readI64();
15720
            self.success.append(_elem211)
6512 kshitij.so 15721
          iprot.readListEnd()
15722
        else:
15723
          iprot.skip(ftype)
15724
      else:
15725
        iprot.skip(ftype)
15726
      iprot.readFieldEnd()
15727
    iprot.readStructEnd()
15728
 
15729
  def write(self, oprot):
15730
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15731
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15732
      return
15733
    oprot.writeStructBegin('getAllEntitiesByTagName_result')
15734
    if self.success is not None:
15735
      oprot.writeFieldBegin('success', TType.LIST, 0)
15736
      oprot.writeListBegin(TType.I64, len(self.success))
18719 kshitij.so 15737
      for iter212 in self.success:
15738
        oprot.writeI64(iter212)
6512 kshitij.so 15739
      oprot.writeListEnd()
15740
      oprot.writeFieldEnd()
15741
    oprot.writeFieldStop()
15742
    oprot.writeStructEnd()
15743
 
15744
  def validate(self):
15745
    return
15746
 
15747
 
15748
  def __repr__(self):
15749
    L = ['%s=%r' % (key, value)
15750
      for key, value in self.__dict__.iteritems()]
15751
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15752
 
15753
  def __eq__(self, other):
15754
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15755
 
15756
  def __ne__(self, other):
15757
    return not (self == other)
15758
 
6845 amit.gupta 15759
class getAllEntityTags_args:
15760
 
15761
  thrift_spec = (
15762
  )
15763
 
15764
  def read(self, iprot):
15765
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15766
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15767
      return
15768
    iprot.readStructBegin()
15769
    while True:
15770
      (fname, ftype, fid) = iprot.readFieldBegin()
15771
      if ftype == TType.STOP:
15772
        break
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('getAllEntityTags_args')
15783
    oprot.writeFieldStop()
15784
    oprot.writeStructEnd()
15785
 
15786
  def validate(self):
15787
    return
15788
 
15789
 
15790
  def __repr__(self):
15791
    L = ['%s=%r' % (key, value)
15792
      for key, value in self.__dict__.iteritems()]
15793
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15794
 
15795
  def __eq__(self, other):
15796
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15797
 
15798
  def __ne__(self, other):
15799
    return not (self == other)
15800
 
15801
class getAllEntityTags_result:
15802
  """
15803
  Attributes:
15804
   - success
15805
  """
15806
 
15807
  thrift_spec = (
15808
    (0, TType.MAP, 'success', (TType.I64,None,TType.LIST,(TType.STRING,None)), None, ), # 0
15809
  )
15810
 
15811
  def __init__(self, success=None,):
15812
    self.success = success
15813
 
15814
  def read(self, iprot):
15815
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15816
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15817
      return
15818
    iprot.readStructBegin()
15819
    while True:
15820
      (fname, ftype, fid) = iprot.readFieldBegin()
15821
      if ftype == TType.STOP:
15822
        break
15823
      if fid == 0:
15824
        if ftype == TType.MAP:
15825
          self.success = {}
18719 kshitij.so 15826
          (_ktype214, _vtype215, _size213 ) = iprot.readMapBegin() 
15827
          for _i217 in xrange(_size213):
15828
            _key218 = iprot.readI64();
15829
            _val219 = []
15830
            (_etype223, _size220) = iprot.readListBegin()
15831
            for _i224 in xrange(_size220):
15832
              _elem225 = iprot.readString();
15833
              _val219.append(_elem225)
6845 amit.gupta 15834
            iprot.readListEnd()
18719 kshitij.so 15835
            self.success[_key218] = _val219
6845 amit.gupta 15836
          iprot.readMapEnd()
15837
        else:
15838
          iprot.skip(ftype)
15839
      else:
15840
        iprot.skip(ftype)
15841
      iprot.readFieldEnd()
15842
    iprot.readStructEnd()
15843
 
15844
  def write(self, oprot):
15845
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15846
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15847
      return
15848
    oprot.writeStructBegin('getAllEntityTags_result')
15849
    if self.success is not None:
15850
      oprot.writeFieldBegin('success', TType.MAP, 0)
15851
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.success))
18719 kshitij.so 15852
      for kiter226,viter227 in self.success.items():
15853
        oprot.writeI64(kiter226)
15854
        oprot.writeListBegin(TType.STRING, len(viter227))
15855
        for iter228 in viter227:
15856
          oprot.writeString(iter228)
6845 amit.gupta 15857
        oprot.writeListEnd()
15858
      oprot.writeMapEnd()
15859
      oprot.writeFieldEnd()
15860
    oprot.writeFieldStop()
15861
    oprot.writeStructEnd()
15862
 
15863
  def validate(self):
15864
    return
15865
 
15866
 
15867
  def __repr__(self):
15868
    L = ['%s=%r' % (key, value)
15869
      for key, value in self.__dict__.iteritems()]
15870
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15871
 
15872
  def __eq__(self, other):
15873
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15874
 
15875
  def __ne__(self, other):
15876
    return not (self == other)
15877
 
6850 kshitij.so 15878
class addBanner_args:
15879
  """
15880
  Attributes:
8590 kshitij.so 15881
   - bannerCongregate
6850 kshitij.so 15882
  """
15883
 
15884
  thrift_spec = (
15885
    None, # 0
8590 kshitij.so 15886
    (1, TType.STRUCT, 'bannerCongregate', (BannerCongregate, BannerCongregate.thrift_spec), None, ), # 1
6850 kshitij.so 15887
  )
15888
 
8590 kshitij.so 15889
  def __init__(self, bannerCongregate=None,):
15890
    self.bannerCongregate = bannerCongregate
6850 kshitij.so 15891
 
15892
  def read(self, iprot):
15893
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15894
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15895
      return
15896
    iprot.readStructBegin()
15897
    while True:
15898
      (fname, ftype, fid) = iprot.readFieldBegin()
15899
      if ftype == TType.STOP:
15900
        break
15901
      if fid == 1:
8579 kshitij.so 15902
        if ftype == TType.STRUCT:
8590 kshitij.so 15903
          self.bannerCongregate = BannerCongregate()
15904
          self.bannerCongregate.read(iprot)
6850 kshitij.so 15905
        else:
15906
          iprot.skip(ftype)
8579 kshitij.so 15907
      else:
15908
        iprot.skip(ftype)
15909
      iprot.readFieldEnd()
15910
    iprot.readStructEnd()
15911
 
15912
  def write(self, oprot):
15913
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15914
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15915
      return
15916
    oprot.writeStructBegin('addBanner_args')
8590 kshitij.so 15917
    if self.bannerCongregate is not None:
15918
      oprot.writeFieldBegin('bannerCongregate', TType.STRUCT, 1)
15919
      self.bannerCongregate.write(oprot)
8579 kshitij.so 15920
      oprot.writeFieldEnd()
15921
    oprot.writeFieldStop()
15922
    oprot.writeStructEnd()
15923
 
15924
  def validate(self):
15925
    return
15926
 
15927
 
15928
  def __repr__(self):
15929
    L = ['%s=%r' % (key, value)
15930
      for key, value in self.__dict__.iteritems()]
15931
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15932
 
15933
  def __eq__(self, other):
15934
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15935
 
15936
  def __ne__(self, other):
15937
    return not (self == other)
15938
 
15939
class addBanner_result:
10097 kshitij.so 15940
  """
15941
  Attributes:
15942
   - success
15943
  """
8579 kshitij.so 15944
 
15945
  thrift_spec = (
10097 kshitij.so 15946
    (0, TType.BOOL, 'success', None, None, ), # 0
8579 kshitij.so 15947
  )
15948
 
10097 kshitij.so 15949
  def __init__(self, success=None,):
15950
    self.success = success
15951
 
8579 kshitij.so 15952
  def read(self, iprot):
15953
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15954
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15955
      return
15956
    iprot.readStructBegin()
15957
    while True:
15958
      (fname, ftype, fid) = iprot.readFieldBegin()
15959
      if ftype == TType.STOP:
15960
        break
10097 kshitij.so 15961
      if fid == 0:
15962
        if ftype == TType.BOOL:
15963
          self.success = iprot.readBool();
15964
        else:
15965
          iprot.skip(ftype)
8579 kshitij.so 15966
      else:
15967
        iprot.skip(ftype)
15968
      iprot.readFieldEnd()
15969
    iprot.readStructEnd()
15970
 
15971
  def write(self, oprot):
15972
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15973
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15974
      return
15975
    oprot.writeStructBegin('addBanner_result')
10097 kshitij.so 15976
    if self.success is not None:
15977
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15978
      oprot.writeBool(self.success)
15979
      oprot.writeFieldEnd()
8579 kshitij.so 15980
    oprot.writeFieldStop()
15981
    oprot.writeStructEnd()
15982
 
15983
  def validate(self):
15984
    return
15985
 
15986
 
15987
  def __repr__(self):
15988
    L = ['%s=%r' % (key, value)
15989
      for key, value in self.__dict__.iteritems()]
15990
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15991
 
15992
  def __eq__(self, other):
15993
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15994
 
15995
  def __ne__(self, other):
15996
    return not (self == other)
15997
 
15998
class updateBanner_args:
15999
  """
16000
  Attributes:
16001
   - banner
16002
  """
16003
 
16004
  thrift_spec = (
16005
    None, # 0
16006
    (1, TType.STRUCT, 'banner', (Banner, Banner.thrift_spec), None, ), # 1
16007
  )
16008
 
16009
  def __init__(self, banner=None,):
16010
    self.banner = banner
16011
 
16012
  def read(self, iprot):
16013
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16014
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16015
      return
16016
    iprot.readStructBegin()
16017
    while True:
16018
      (fname, ftype, fid) = iprot.readFieldBegin()
16019
      if ftype == TType.STOP:
16020
        break
16021
      if fid == 1:
16022
        if ftype == TType.STRUCT:
16023
          self.banner = Banner()
16024
          self.banner.read(iprot)
6850 kshitij.so 16025
        else:
16026
          iprot.skip(ftype)
16027
      else:
16028
        iprot.skip(ftype)
16029
      iprot.readFieldEnd()
16030
    iprot.readStructEnd()
16031
 
16032
  def write(self, oprot):
16033
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16034
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16035
      return
8579 kshitij.so 16036
    oprot.writeStructBegin('updateBanner_args')
16037
    if self.banner is not None:
16038
      oprot.writeFieldBegin('banner', TType.STRUCT, 1)
16039
      self.banner.write(oprot)
6850 kshitij.so 16040
      oprot.writeFieldEnd()
16041
    oprot.writeFieldStop()
16042
    oprot.writeStructEnd()
16043
 
16044
  def validate(self):
16045
    return
16046
 
16047
 
16048
  def __repr__(self):
16049
    L = ['%s=%r' % (key, value)
16050
      for key, value in self.__dict__.iteritems()]
16051
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16052
 
16053
  def __eq__(self, other):
16054
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16055
 
16056
  def __ne__(self, other):
16057
    return not (self == other)
16058
 
8579 kshitij.so 16059
class updateBanner_result:
6850 kshitij.so 16060
  """
16061
  Attributes:
16062
   - success
16063
  """
16064
 
16065
  thrift_spec = (
16066
    (0, TType.BOOL, 'success', None, None, ), # 0
16067
  )
16068
 
16069
  def __init__(self, success=None,):
16070
    self.success = success
16071
 
16072
  def read(self, iprot):
16073
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16074
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16075
      return
16076
    iprot.readStructBegin()
16077
    while True:
16078
      (fname, ftype, fid) = iprot.readFieldBegin()
16079
      if ftype == TType.STOP:
16080
        break
16081
      if fid == 0:
16082
        if ftype == TType.BOOL:
16083
          self.success = iprot.readBool();
16084
        else:
16085
          iprot.skip(ftype)
16086
      else:
16087
        iprot.skip(ftype)
16088
      iprot.readFieldEnd()
16089
    iprot.readStructEnd()
16090
 
16091
  def write(self, oprot):
16092
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16093
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16094
      return
8579 kshitij.so 16095
    oprot.writeStructBegin('updateBanner_result')
6850 kshitij.so 16096
    if self.success is not None:
16097
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16098
      oprot.writeBool(self.success)
16099
      oprot.writeFieldEnd()
16100
    oprot.writeFieldStop()
16101
    oprot.writeStructEnd()
16102
 
16103
  def validate(self):
16104
    return
16105
 
16106
 
16107
  def __repr__(self):
16108
    L = ['%s=%r' % (key, value)
16109
      for key, value in self.__dict__.iteritems()]
16110
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16111
 
16112
  def __eq__(self, other):
16113
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16114
 
16115
  def __ne__(self, other):
16116
    return not (self == other)
16117
 
16118
class getAllBanners_args:
16119
 
16120
  thrift_spec = (
16121
  )
16122
 
16123
  def read(self, iprot):
16124
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16125
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16126
      return
16127
    iprot.readStructBegin()
16128
    while True:
16129
      (fname, ftype, fid) = iprot.readFieldBegin()
16130
      if ftype == TType.STOP:
16131
        break
16132
      else:
16133
        iprot.skip(ftype)
16134
      iprot.readFieldEnd()
16135
    iprot.readStructEnd()
16136
 
16137
  def write(self, oprot):
16138
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16139
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16140
      return
16141
    oprot.writeStructBegin('getAllBanners_args')
16142
    oprot.writeFieldStop()
16143
    oprot.writeStructEnd()
16144
 
16145
  def validate(self):
16146
    return
16147
 
16148
 
16149
  def __repr__(self):
16150
    L = ['%s=%r' % (key, value)
16151
      for key, value in self.__dict__.iteritems()]
16152
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16153
 
16154
  def __eq__(self, other):
16155
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16156
 
16157
  def __ne__(self, other):
16158
    return not (self == other)
16159
 
16160
class getAllBanners_result:
16161
  """
16162
  Attributes:
16163
   - success
16164
  """
16165
 
16166
  thrift_spec = (
8579 kshitij.so 16167
    (0, TType.LIST, 'success', (TType.STRUCT,(Banner, Banner.thrift_spec)), None, ), # 0
6850 kshitij.so 16168
  )
16169
 
16170
  def __init__(self, success=None,):
16171
    self.success = success
16172
 
16173
  def read(self, iprot):
16174
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16175
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16176
      return
16177
    iprot.readStructBegin()
16178
    while True:
16179
      (fname, ftype, fid) = iprot.readFieldBegin()
16180
      if ftype == TType.STOP:
16181
        break
16182
      if fid == 0:
16183
        if ftype == TType.LIST:
16184
          self.success = []
18719 kshitij.so 16185
          (_etype232, _size229) = iprot.readListBegin()
16186
          for _i233 in xrange(_size229):
16187
            _elem234 = Banner()
16188
            _elem234.read(iprot)
16189
            self.success.append(_elem234)
6850 kshitij.so 16190
          iprot.readListEnd()
16191
        else:
16192
          iprot.skip(ftype)
16193
      else:
16194
        iprot.skip(ftype)
16195
      iprot.readFieldEnd()
16196
    iprot.readStructEnd()
16197
 
16198
  def write(self, oprot):
16199
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16200
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16201
      return
16202
    oprot.writeStructBegin('getAllBanners_result')
16203
    if self.success is not None:
16204
      oprot.writeFieldBegin('success', TType.LIST, 0)
8579 kshitij.so 16205
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 16206
      for iter235 in self.success:
16207
        iter235.write(oprot)
6850 kshitij.so 16208
      oprot.writeListEnd()
16209
      oprot.writeFieldEnd()
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 deleteBanner_args:
16229
  """
16230
  Attributes:
16231
   - bannerName
9155 kshitij.so 16232
   - bannerType
6850 kshitij.so 16233
  """
16234
 
16235
  thrift_spec = (
16236
    None, # 0
16237
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16238
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 16239
  )
16240
 
9155 kshitij.so 16241
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 16242
    self.bannerName = bannerName
9155 kshitij.so 16243
    self.bannerType = bannerType
6850 kshitij.so 16244
 
16245
  def read(self, iprot):
16246
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16247
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16248
      return
16249
    iprot.readStructBegin()
16250
    while True:
16251
      (fname, ftype, fid) = iprot.readFieldBegin()
16252
      if ftype == TType.STOP:
16253
        break
16254
      if fid == 1:
16255
        if ftype == TType.STRING:
16256
          self.bannerName = iprot.readString();
16257
        else:
16258
          iprot.skip(ftype)
9155 kshitij.so 16259
      elif fid == 2:
16260
        if ftype == TType.I32:
16261
          self.bannerType = iprot.readI32();
16262
        else:
16263
          iprot.skip(ftype)
6850 kshitij.so 16264
      else:
16265
        iprot.skip(ftype)
16266
      iprot.readFieldEnd()
16267
    iprot.readStructEnd()
16268
 
16269
  def write(self, oprot):
16270
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16271
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16272
      return
16273
    oprot.writeStructBegin('deleteBanner_args')
16274
    if self.bannerName is not None:
16275
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16276
      oprot.writeString(self.bannerName)
16277
      oprot.writeFieldEnd()
9155 kshitij.so 16278
    if self.bannerType is not None:
16279
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
16280
      oprot.writeI32(self.bannerType)
16281
      oprot.writeFieldEnd()
6850 kshitij.so 16282
    oprot.writeFieldStop()
16283
    oprot.writeStructEnd()
16284
 
16285
  def validate(self):
16286
    return
16287
 
16288
 
16289
  def __repr__(self):
16290
    L = ['%s=%r' % (key, value)
16291
      for key, value in self.__dict__.iteritems()]
16292
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16293
 
16294
  def __eq__(self, other):
16295
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16296
 
16297
  def __ne__(self, other):
16298
    return not (self == other)
16299
 
16300
class deleteBanner_result:
16301
  """
16302
  Attributes:
16303
   - success
16304
  """
16305
 
16306
  thrift_spec = (
16307
    (0, TType.BOOL, 'success', None, None, ), # 0
16308
  )
16309
 
16310
  def __init__(self, success=None,):
16311
    self.success = success
16312
 
16313
  def read(self, iprot):
16314
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16315
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16316
      return
16317
    iprot.readStructBegin()
16318
    while True:
16319
      (fname, ftype, fid) = iprot.readFieldBegin()
16320
      if ftype == TType.STOP:
16321
        break
16322
      if fid == 0:
16323
        if ftype == TType.BOOL:
16324
          self.success = iprot.readBool();
16325
        else:
16326
          iprot.skip(ftype)
16327
      else:
16328
        iprot.skip(ftype)
16329
      iprot.readFieldEnd()
16330
    iprot.readStructEnd()
16331
 
16332
  def write(self, oprot):
16333
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16334
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16335
      return
16336
    oprot.writeStructBegin('deleteBanner_result')
16337
    if self.success is not None:
16338
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16339
      oprot.writeBool(self.success)
16340
      oprot.writeFieldEnd()
16341
    oprot.writeFieldStop()
16342
    oprot.writeStructEnd()
16343
 
16344
  def validate(self):
16345
    return
16346
 
16347
 
16348
  def __repr__(self):
16349
    L = ['%s=%r' % (key, value)
16350
      for key, value in self.__dict__.iteritems()]
16351
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16352
 
16353
  def __eq__(self, other):
16354
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16355
 
16356
  def __ne__(self, other):
16357
    return not (self == other)
16358
 
16359
class getBannerDetails_args:
16360
  """
16361
  Attributes:
16362
   - bannerName
9155 kshitij.so 16363
   - bannerType
6850 kshitij.so 16364
  """
16365
 
16366
  thrift_spec = (
16367
    None, # 0
16368
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16369
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 16370
  )
16371
 
9155 kshitij.so 16372
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 16373
    self.bannerName = bannerName
9155 kshitij.so 16374
    self.bannerType = bannerType
6850 kshitij.so 16375
 
16376
  def read(self, iprot):
16377
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16378
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16379
      return
16380
    iprot.readStructBegin()
16381
    while True:
16382
      (fname, ftype, fid) = iprot.readFieldBegin()
16383
      if ftype == TType.STOP:
16384
        break
16385
      if fid == 1:
16386
        if ftype == TType.STRING:
16387
          self.bannerName = iprot.readString();
16388
        else:
16389
          iprot.skip(ftype)
9155 kshitij.so 16390
      elif fid == 2:
16391
        if ftype == TType.I32:
16392
          self.bannerType = iprot.readI32();
16393
        else:
16394
          iprot.skip(ftype)
6850 kshitij.so 16395
      else:
16396
        iprot.skip(ftype)
16397
      iprot.readFieldEnd()
16398
    iprot.readStructEnd()
16399
 
16400
  def write(self, oprot):
16401
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16402
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16403
      return
16404
    oprot.writeStructBegin('getBannerDetails_args')
16405
    if self.bannerName is not None:
16406
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16407
      oprot.writeString(self.bannerName)
16408
      oprot.writeFieldEnd()
9155 kshitij.so 16409
    if self.bannerType is not None:
16410
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
16411
      oprot.writeI32(self.bannerType)
16412
      oprot.writeFieldEnd()
6850 kshitij.so 16413
    oprot.writeFieldStop()
16414
    oprot.writeStructEnd()
16415
 
16416
  def validate(self):
16417
    return
16418
 
16419
 
16420
  def __repr__(self):
16421
    L = ['%s=%r' % (key, value)
16422
      for key, value in self.__dict__.iteritems()]
16423
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16424
 
16425
  def __eq__(self, other):
16426
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16427
 
16428
  def __ne__(self, other):
16429
    return not (self == other)
16430
 
16431
class getBannerDetails_result:
16432
  """
16433
  Attributes:
16434
   - success
16435
  """
16436
 
16437
  thrift_spec = (
16438
    (0, TType.STRUCT, 'success', (Banner, Banner.thrift_spec), None, ), # 0
16439
  )
16440
 
16441
  def __init__(self, success=None,):
16442
    self.success = success
16443
 
16444
  def read(self, iprot):
16445
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16446
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16447
      return
16448
    iprot.readStructBegin()
16449
    while True:
16450
      (fname, ftype, fid) = iprot.readFieldBegin()
16451
      if ftype == TType.STOP:
16452
        break
16453
      if fid == 0:
16454
        if ftype == TType.STRUCT:
16455
          self.success = Banner()
16456
          self.success.read(iprot)
16457
        else:
16458
          iprot.skip(ftype)
16459
      else:
16460
        iprot.skip(ftype)
16461
      iprot.readFieldEnd()
16462
    iprot.readStructEnd()
16463
 
16464
  def write(self, oprot):
16465
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16466
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16467
      return
16468
    oprot.writeStructBegin('getBannerDetails_result')
16469
    if self.success is not None:
16470
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
16471
      self.success.write(oprot)
16472
      oprot.writeFieldEnd()
16473
    oprot.writeFieldStop()
16474
    oprot.writeStructEnd()
16475
 
16476
  def validate(self):
16477
    return
16478
 
16479
 
16480
  def __repr__(self):
16481
    L = ['%s=%r' % (key, value)
16482
      for key, value in self.__dict__.iteritems()]
16483
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16484
 
16485
  def __eq__(self, other):
16486
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16487
 
16488
  def __ne__(self, other):
16489
    return not (self == other)
16490
 
16491
class getActiveBanners_args:
16492
 
16493
  thrift_spec = (
16494
  )
16495
 
16496
  def read(self, iprot):
16497
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16498
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16499
      return
16500
    iprot.readStructBegin()
16501
    while True:
16502
      (fname, ftype, fid) = iprot.readFieldBegin()
16503
      if ftype == TType.STOP:
16504
        break
16505
      else:
16506
        iprot.skip(ftype)
16507
      iprot.readFieldEnd()
16508
    iprot.readStructEnd()
16509
 
16510
  def write(self, oprot):
16511
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16512
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16513
      return
16514
    oprot.writeStructBegin('getActiveBanners_args')
16515
    oprot.writeFieldStop()
16516
    oprot.writeStructEnd()
16517
 
16518
  def validate(self):
16519
    return
16520
 
16521
 
16522
  def __repr__(self):
16523
    L = ['%s=%r' % (key, value)
16524
      for key, value in self.__dict__.iteritems()]
16525
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16526
 
16527
  def __eq__(self, other):
16528
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16529
 
16530
  def __ne__(self, other):
16531
    return not (self == other)
16532
 
16533
class getActiveBanners_result:
16534
  """
16535
  Attributes:
16536
   - success
16537
  """
16538
 
16539
  thrift_spec = (
8579 kshitij.so 16540
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
6850 kshitij.so 16541
  )
16542
 
16543
  def __init__(self, success=None,):
16544
    self.success = success
16545
 
16546
  def read(self, iprot):
16547
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16548
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16549
      return
16550
    iprot.readStructBegin()
16551
    while True:
16552
      (fname, ftype, fid) = iprot.readFieldBegin()
16553
      if ftype == TType.STOP:
16554
        break
16555
      if fid == 0:
8579 kshitij.so 16556
        if ftype == TType.MAP:
16557
          self.success = {}
18719 kshitij.so 16558
          (_ktype237, _vtype238, _size236 ) = iprot.readMapBegin() 
16559
          for _i240 in xrange(_size236):
16560
            _key241 = iprot.readString();
16561
            _val242 = []
16562
            (_etype246, _size243) = iprot.readListBegin()
16563
            for _i247 in xrange(_size243):
16564
              _elem248 = Banner()
16565
              _elem248.read(iprot)
16566
              _val242.append(_elem248)
8579 kshitij.so 16567
            iprot.readListEnd()
18719 kshitij.so 16568
            self.success[_key241] = _val242
8579 kshitij.so 16569
          iprot.readMapEnd()
6850 kshitij.so 16570
        else:
16571
          iprot.skip(ftype)
16572
      else:
16573
        iprot.skip(ftype)
16574
      iprot.readFieldEnd()
16575
    iprot.readStructEnd()
16576
 
16577
  def write(self, oprot):
16578
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16579
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16580
      return
16581
    oprot.writeStructBegin('getActiveBanners_result')
16582
    if self.success is not None:
8579 kshitij.so 16583
      oprot.writeFieldBegin('success', TType.MAP, 0)
16584
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
18719 kshitij.so 16585
      for kiter249,viter250 in self.success.items():
16586
        oprot.writeString(kiter249)
16587
        oprot.writeListBegin(TType.STRUCT, len(viter250))
16588
        for iter251 in viter250:
16589
          iter251.write(oprot)
8579 kshitij.so 16590
        oprot.writeListEnd()
16591
      oprot.writeMapEnd()
6850 kshitij.so 16592
      oprot.writeFieldEnd()
16593
    oprot.writeFieldStop()
16594
    oprot.writeStructEnd()
16595
 
16596
  def validate(self):
16597
    return
16598
 
16599
 
16600
  def __repr__(self):
16601
    L = ['%s=%r' % (key, value)
16602
      for key, value in self.__dict__.iteritems()]
16603
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16604
 
16605
  def __eq__(self, other):
16606
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16607
 
16608
  def __ne__(self, other):
16609
    return not (self == other)
16610
 
6849 kshitij.so 16611
class addBannerMap_args:
16612
  """
16613
  Attributes:
8579 kshitij.so 16614
   - bannerMaps
6849 kshitij.so 16615
  """
16616
 
16617
  thrift_spec = (
16618
    None, # 0
8579 kshitij.so 16619
    (1, TType.LIST, 'bannerMaps', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 1
6849 kshitij.so 16620
  )
16621
 
8579 kshitij.so 16622
  def __init__(self, bannerMaps=None,):
16623
    self.bannerMaps = bannerMaps
6849 kshitij.so 16624
 
16625
  def read(self, iprot):
16626
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16627
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16628
      return
16629
    iprot.readStructBegin()
16630
    while True:
16631
      (fname, ftype, fid) = iprot.readFieldBegin()
16632
      if ftype == TType.STOP:
16633
        break
16634
      if fid == 1:
8579 kshitij.so 16635
        if ftype == TType.LIST:
16636
          self.bannerMaps = []
18719 kshitij.so 16637
          (_etype255, _size252) = iprot.readListBegin()
16638
          for _i256 in xrange(_size252):
16639
            _elem257 = BannerMap()
16640
            _elem257.read(iprot)
16641
            self.bannerMaps.append(_elem257)
8579 kshitij.so 16642
          iprot.readListEnd()
6849 kshitij.so 16643
        else:
16644
          iprot.skip(ftype)
8579 kshitij.so 16645
      else:
16646
        iprot.skip(ftype)
16647
      iprot.readFieldEnd()
16648
    iprot.readStructEnd()
16649
 
16650
  def write(self, oprot):
16651
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16652
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16653
      return
16654
    oprot.writeStructBegin('addBannerMap_args')
16655
    if self.bannerMaps is not None:
16656
      oprot.writeFieldBegin('bannerMaps', TType.LIST, 1)
16657
      oprot.writeListBegin(TType.STRUCT, len(self.bannerMaps))
18719 kshitij.so 16658
      for iter258 in self.bannerMaps:
16659
        iter258.write(oprot)
8579 kshitij.so 16660
      oprot.writeListEnd()
16661
      oprot.writeFieldEnd()
16662
    oprot.writeFieldStop()
16663
    oprot.writeStructEnd()
16664
 
16665
  def validate(self):
16666
    return
16667
 
16668
 
16669
  def __repr__(self):
16670
    L = ['%s=%r' % (key, value)
16671
      for key, value in self.__dict__.iteritems()]
16672
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16673
 
16674
  def __eq__(self, other):
16675
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16676
 
16677
  def __ne__(self, other):
16678
    return not (self == other)
16679
 
16680
class addBannerMap_result:
16681
  """
16682
  Attributes:
16683
   - success
16684
  """
16685
 
16686
  thrift_spec = (
16687
    (0, TType.BOOL, 'success', None, None, ), # 0
16688
  )
16689
 
16690
  def __init__(self, success=None,):
16691
    self.success = success
16692
 
16693
  def read(self, iprot):
16694
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16695
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16696
      return
16697
    iprot.readStructBegin()
16698
    while True:
16699
      (fname, ftype, fid) = iprot.readFieldBegin()
16700
      if ftype == TType.STOP:
16701
        break
16702
      if fid == 0:
16703
        if ftype == TType.BOOL:
16704
          self.success = iprot.readBool();
6849 kshitij.so 16705
        else:
16706
          iprot.skip(ftype)
8579 kshitij.so 16707
      else:
16708
        iprot.skip(ftype)
16709
      iprot.readFieldEnd()
16710
    iprot.readStructEnd()
16711
 
16712
  def write(self, oprot):
16713
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16714
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16715
      return
16716
    oprot.writeStructBegin('addBannerMap_result')
16717
    if self.success is not None:
16718
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16719
      oprot.writeBool(self.success)
16720
      oprot.writeFieldEnd()
16721
    oprot.writeFieldStop()
16722
    oprot.writeStructEnd()
16723
 
16724
  def validate(self):
16725
    return
16726
 
16727
 
16728
  def __repr__(self):
16729
    L = ['%s=%r' % (key, value)
16730
      for key, value in self.__dict__.iteritems()]
16731
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16732
 
16733
  def __eq__(self, other):
16734
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16735
 
16736
  def __ne__(self, other):
16737
    return not (self == other)
16738
 
16739
class updateBannerMap_args:
16740
  """
16741
  Attributes:
16742
   - bannerMap
16743
  """
16744
 
16745
  thrift_spec = (
16746
    None, # 0
16747
    (1, TType.STRUCT, 'bannerMap', (BannerMap, BannerMap.thrift_spec), None, ), # 1
16748
  )
16749
 
16750
  def __init__(self, bannerMap=None,):
16751
    self.bannerMap = bannerMap
16752
 
16753
  def read(self, iprot):
16754
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16755
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16756
      return
16757
    iprot.readStructBegin()
16758
    while True:
16759
      (fname, ftype, fid) = iprot.readFieldBegin()
16760
      if ftype == TType.STOP:
16761
        break
16762
      if fid == 1:
16763
        if ftype == TType.STRUCT:
16764
          self.bannerMap = BannerMap()
16765
          self.bannerMap.read(iprot)
6849 kshitij.so 16766
        else:
16767
          iprot.skip(ftype)
16768
      else:
16769
        iprot.skip(ftype)
16770
      iprot.readFieldEnd()
16771
    iprot.readStructEnd()
16772
 
16773
  def write(self, oprot):
16774
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16775
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16776
      return
8579 kshitij.so 16777
    oprot.writeStructBegin('updateBannerMap_args')
16778
    if self.bannerMap is not None:
16779
      oprot.writeFieldBegin('bannerMap', TType.STRUCT, 1)
16780
      self.bannerMap.write(oprot)
6849 kshitij.so 16781
      oprot.writeFieldEnd()
16782
    oprot.writeFieldStop()
16783
    oprot.writeStructEnd()
16784
 
16785
  def validate(self):
16786
    return
16787
 
16788
 
16789
  def __repr__(self):
16790
    L = ['%s=%r' % (key, value)
16791
      for key, value in self.__dict__.iteritems()]
16792
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16793
 
16794
  def __eq__(self, other):
16795
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16796
 
16797
  def __ne__(self, other):
16798
    return not (self == other)
16799
 
8579 kshitij.so 16800
class updateBannerMap_result:
6849 kshitij.so 16801
  """
16802
  Attributes:
16803
   - success
16804
  """
16805
 
16806
  thrift_spec = (
16807
    (0, TType.BOOL, 'success', None, None, ), # 0
16808
  )
16809
 
16810
  def __init__(self, success=None,):
16811
    self.success = success
16812
 
16813
  def read(self, iprot):
16814
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16815
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16816
      return
16817
    iprot.readStructBegin()
16818
    while True:
16819
      (fname, ftype, fid) = iprot.readFieldBegin()
16820
      if ftype == TType.STOP:
16821
        break
16822
      if fid == 0:
16823
        if ftype == TType.BOOL:
16824
          self.success = iprot.readBool();
16825
        else:
16826
          iprot.skip(ftype)
16827
      else:
16828
        iprot.skip(ftype)
16829
      iprot.readFieldEnd()
16830
    iprot.readStructEnd()
16831
 
16832
  def write(self, oprot):
16833
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16834
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16835
      return
8579 kshitij.so 16836
    oprot.writeStructBegin('updateBannerMap_result')
6849 kshitij.so 16837
    if self.success is not None:
16838
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16839
      oprot.writeBool(self.success)
16840
      oprot.writeFieldEnd()
16841
    oprot.writeFieldStop()
16842
    oprot.writeStructEnd()
16843
 
16844
  def validate(self):
16845
    return
16846
 
16847
 
16848
  def __repr__(self):
16849
    L = ['%s=%r' % (key, value)
16850
      for key, value in self.__dict__.iteritems()]
16851
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16852
 
16853
  def __eq__(self, other):
16854
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16855
 
16856
  def __ne__(self, other):
16857
    return not (self == other)
16858
 
16859
class deleteBannerMap_args:
16860
  """
16861
  Attributes:
16862
   - bannerName
16863
  """
16864
 
16865
  thrift_spec = (
16866
    None, # 0
16867
    (1, TType.STRING, 'bannerName', None, None, ), # 1
16868
  )
16869
 
16870
  def __init__(self, bannerName=None,):
16871
    self.bannerName = bannerName
16872
 
16873
  def read(self, iprot):
16874
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16875
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16876
      return
16877
    iprot.readStructBegin()
16878
    while True:
16879
      (fname, ftype, fid) = iprot.readFieldBegin()
16880
      if ftype == TType.STOP:
16881
        break
16882
      if fid == 1:
16883
        if ftype == TType.STRING:
16884
          self.bannerName = iprot.readString();
16885
        else:
16886
          iprot.skip(ftype)
16887
      else:
16888
        iprot.skip(ftype)
16889
      iprot.readFieldEnd()
16890
    iprot.readStructEnd()
16891
 
16892
  def write(self, oprot):
16893
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16894
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16895
      return
16896
    oprot.writeStructBegin('deleteBannerMap_args')
16897
    if self.bannerName is not None:
16898
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16899
      oprot.writeString(self.bannerName)
16900
      oprot.writeFieldEnd()
16901
    oprot.writeFieldStop()
16902
    oprot.writeStructEnd()
16903
 
16904
  def validate(self):
16905
    return
16906
 
16907
 
16908
  def __repr__(self):
16909
    L = ['%s=%r' % (key, value)
16910
      for key, value in self.__dict__.iteritems()]
16911
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16912
 
16913
  def __eq__(self, other):
16914
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16915
 
16916
  def __ne__(self, other):
16917
    return not (self == other)
16918
 
16919
class deleteBannerMap_result:
16920
  """
16921
  Attributes:
16922
   - success
16923
  """
16924
 
16925
  thrift_spec = (
16926
    (0, TType.BOOL, 'success', None, None, ), # 0
16927
  )
16928
 
16929
  def __init__(self, success=None,):
16930
    self.success = success
16931
 
16932
  def read(self, iprot):
16933
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16934
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16935
      return
16936
    iprot.readStructBegin()
16937
    while True:
16938
      (fname, ftype, fid) = iprot.readFieldBegin()
16939
      if ftype == TType.STOP:
16940
        break
16941
      if fid == 0:
16942
        if ftype == TType.BOOL:
16943
          self.success = iprot.readBool();
16944
        else:
16945
          iprot.skip(ftype)
16946
      else:
16947
        iprot.skip(ftype)
16948
      iprot.readFieldEnd()
16949
    iprot.readStructEnd()
16950
 
16951
  def write(self, oprot):
16952
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16953
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16954
      return
16955
    oprot.writeStructBegin('deleteBannerMap_result')
16956
    if self.success is not None:
16957
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16958
      oprot.writeBool(self.success)
16959
      oprot.writeFieldEnd()
16960
    oprot.writeFieldStop()
16961
    oprot.writeStructEnd()
16962
 
16963
  def validate(self):
16964
    return
16965
 
16966
 
16967
  def __repr__(self):
16968
    L = ['%s=%r' % (key, value)
16969
      for key, value in self.__dict__.iteritems()]
16970
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16971
 
16972
  def __eq__(self, other):
16973
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16974
 
16975
  def __ne__(self, other):
16976
    return not (self == other)
16977
 
16978
class getBannerMapDetails_args:
16979
  """
16980
  Attributes:
16981
   - bannerName
9155 kshitij.so 16982
   - bannerType
6849 kshitij.so 16983
  """
16984
 
16985
  thrift_spec = (
16986
    None, # 0
16987
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16988
    (2, TType.I32, 'bannerType', None, None, ), # 2
6849 kshitij.so 16989
  )
16990
 
9155 kshitij.so 16991
  def __init__(self, bannerName=None, bannerType=None,):
6849 kshitij.so 16992
    self.bannerName = bannerName
9155 kshitij.so 16993
    self.bannerType = bannerType
6849 kshitij.so 16994
 
16995
  def read(self, iprot):
16996
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16997
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16998
      return
16999
    iprot.readStructBegin()
17000
    while True:
17001
      (fname, ftype, fid) = iprot.readFieldBegin()
17002
      if ftype == TType.STOP:
17003
        break
17004
      if fid == 1:
17005
        if ftype == TType.STRING:
17006
          self.bannerName = iprot.readString();
17007
        else:
17008
          iprot.skip(ftype)
9155 kshitij.so 17009
      elif fid == 2:
17010
        if ftype == TType.I32:
17011
          self.bannerType = iprot.readI32();
17012
        else:
17013
          iprot.skip(ftype)
6849 kshitij.so 17014
      else:
17015
        iprot.skip(ftype)
17016
      iprot.readFieldEnd()
17017
    iprot.readStructEnd()
17018
 
17019
  def write(self, oprot):
17020
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17021
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17022
      return
17023
    oprot.writeStructBegin('getBannerMapDetails_args')
17024
    if self.bannerName is not None:
17025
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
17026
      oprot.writeString(self.bannerName)
17027
      oprot.writeFieldEnd()
9155 kshitij.so 17028
    if self.bannerType is not None:
17029
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
17030
      oprot.writeI32(self.bannerType)
17031
      oprot.writeFieldEnd()
6849 kshitij.so 17032
    oprot.writeFieldStop()
17033
    oprot.writeStructEnd()
17034
 
17035
  def validate(self):
17036
    return
17037
 
17038
 
17039
  def __repr__(self):
17040
    L = ['%s=%r' % (key, value)
17041
      for key, value in self.__dict__.iteritems()]
17042
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17043
 
17044
  def __eq__(self, other):
17045
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17046
 
17047
  def __ne__(self, other):
17048
    return not (self == other)
17049
 
17050
class getBannerMapDetails_result:
17051
  """
17052
  Attributes:
17053
   - success
17054
  """
17055
 
17056
  thrift_spec = (
17057
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 0
17058
  )
17059
 
17060
  def __init__(self, success=None,):
17061
    self.success = success
17062
 
17063
  def read(self, iprot):
17064
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17065
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17066
      return
17067
    iprot.readStructBegin()
17068
    while True:
17069
      (fname, ftype, fid) = iprot.readFieldBegin()
17070
      if ftype == TType.STOP:
17071
        break
17072
      if fid == 0:
17073
        if ftype == TType.LIST:
17074
          self.success = []
18719 kshitij.so 17075
          (_etype262, _size259) = iprot.readListBegin()
17076
          for _i263 in xrange(_size259):
17077
            _elem264 = BannerMap()
17078
            _elem264.read(iprot)
17079
            self.success.append(_elem264)
6849 kshitij.so 17080
          iprot.readListEnd()
17081
        else:
17082
          iprot.skip(ftype)
17083
      else:
17084
        iprot.skip(ftype)
17085
      iprot.readFieldEnd()
17086
    iprot.readStructEnd()
17087
 
17088
  def write(self, oprot):
17089
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17090
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17091
      return
17092
    oprot.writeStructBegin('getBannerMapDetails_result')
17093
    if self.success is not None:
17094
      oprot.writeFieldBegin('success', TType.LIST, 0)
17095
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 17096
      for iter265 in self.success:
17097
        iter265.write(oprot)
6849 kshitij.so 17098
      oprot.writeListEnd()
17099
      oprot.writeFieldEnd()
17100
    oprot.writeFieldStop()
17101
    oprot.writeStructEnd()
17102
 
17103
  def validate(self):
17104
    return
17105
 
17106
 
17107
  def __repr__(self):
17108
    L = ['%s=%r' % (key, value)
17109
      for key, value in self.__dict__.iteritems()]
17110
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17111
 
17112
  def __eq__(self, other):
17113
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17114
 
17115
  def __ne__(self, other):
17116
    return not (self == other)
17117
 
8579 kshitij.so 17118
class addBannerUri_args:
17119
  """
17120
  Attributes:
17121
   - bannerUriMappings
17122
  """
17123
 
17124
  thrift_spec = (
17125
    None, # 0
17126
    (1, TType.LIST, 'bannerUriMappings', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 1
17127
  )
17128
 
17129
  def __init__(self, bannerUriMappings=None,):
17130
    self.bannerUriMappings = bannerUriMappings
17131
 
17132
  def read(self, iprot):
17133
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17134
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17135
      return
17136
    iprot.readStructBegin()
17137
    while True:
17138
      (fname, ftype, fid) = iprot.readFieldBegin()
17139
      if ftype == TType.STOP:
17140
        break
17141
      if fid == 1:
17142
        if ftype == TType.LIST:
17143
          self.bannerUriMappings = []
18719 kshitij.so 17144
          (_etype269, _size266) = iprot.readListBegin()
17145
          for _i270 in xrange(_size266):
17146
            _elem271 = BannerUriMapping()
17147
            _elem271.read(iprot)
17148
            self.bannerUriMappings.append(_elem271)
8579 kshitij.so 17149
          iprot.readListEnd()
17150
        else:
17151
          iprot.skip(ftype)
17152
      else:
17153
        iprot.skip(ftype)
17154
      iprot.readFieldEnd()
17155
    iprot.readStructEnd()
17156
 
17157
  def write(self, oprot):
17158
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17159
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17160
      return
17161
    oprot.writeStructBegin('addBannerUri_args')
17162
    if self.bannerUriMappings is not None:
17163
      oprot.writeFieldBegin('bannerUriMappings', TType.LIST, 1)
17164
      oprot.writeListBegin(TType.STRUCT, len(self.bannerUriMappings))
18719 kshitij.so 17165
      for iter272 in self.bannerUriMappings:
17166
        iter272.write(oprot)
8579 kshitij.so 17167
      oprot.writeListEnd()
17168
      oprot.writeFieldEnd()
17169
    oprot.writeFieldStop()
17170
    oprot.writeStructEnd()
17171
 
17172
  def validate(self):
17173
    return
17174
 
17175
 
17176
  def __repr__(self):
17177
    L = ['%s=%r' % (key, value)
17178
      for key, value in self.__dict__.iteritems()]
17179
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17180
 
17181
  def __eq__(self, other):
17182
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17183
 
17184
  def __ne__(self, other):
17185
    return not (self == other)
17186
 
17187
class addBannerUri_result:
17188
 
17189
  thrift_spec = (
17190
  )
17191
 
17192
  def read(self, iprot):
17193
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17194
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17195
      return
17196
    iprot.readStructBegin()
17197
    while True:
17198
      (fname, ftype, fid) = iprot.readFieldBegin()
17199
      if ftype == TType.STOP:
17200
        break
17201
      else:
17202
        iprot.skip(ftype)
17203
      iprot.readFieldEnd()
17204
    iprot.readStructEnd()
17205
 
17206
  def write(self, oprot):
17207
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17208
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17209
      return
17210
    oprot.writeStructBegin('addBannerUri_result')
17211
    oprot.writeFieldStop()
17212
    oprot.writeStructEnd()
17213
 
17214
  def validate(self):
17215
    return
17216
 
17217
 
17218
  def __repr__(self):
17219
    L = ['%s=%r' % (key, value)
17220
      for key, value in self.__dict__.iteritems()]
17221
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17222
 
17223
  def __eq__(self, other):
17224
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17225
 
17226
  def __ne__(self, other):
17227
    return not (self == other)
17228
 
17229
class getUriMapping_args:
17230
  """
17231
  Attributes:
17232
   - bannerName
9155 kshitij.so 17233
   - bannerType
8579 kshitij.so 17234
  """
17235
 
17236
  thrift_spec = (
17237
    None, # 0
17238
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 17239
    (2, TType.I32, 'bannerType', None, None, ), # 2
8579 kshitij.so 17240
  )
17241
 
9155 kshitij.so 17242
  def __init__(self, bannerName=None, bannerType=None,):
8579 kshitij.so 17243
    self.bannerName = bannerName
9155 kshitij.so 17244
    self.bannerType = bannerType
8579 kshitij.so 17245
 
17246
  def read(self, iprot):
17247
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17248
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17249
      return
17250
    iprot.readStructBegin()
17251
    while True:
17252
      (fname, ftype, fid) = iprot.readFieldBegin()
17253
      if ftype == TType.STOP:
17254
        break
17255
      if fid == 1:
17256
        if ftype == TType.STRING:
17257
          self.bannerName = iprot.readString();
17258
        else:
17259
          iprot.skip(ftype)
9155 kshitij.so 17260
      elif fid == 2:
17261
        if ftype == TType.I32:
17262
          self.bannerType = iprot.readI32();
17263
        else:
17264
          iprot.skip(ftype)
8579 kshitij.so 17265
      else:
17266
        iprot.skip(ftype)
17267
      iprot.readFieldEnd()
17268
    iprot.readStructEnd()
17269
 
17270
  def write(self, oprot):
17271
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17272
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17273
      return
17274
    oprot.writeStructBegin('getUriMapping_args')
17275
    if self.bannerName is not None:
17276
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
17277
      oprot.writeString(self.bannerName)
17278
      oprot.writeFieldEnd()
9155 kshitij.so 17279
    if self.bannerType is not None:
17280
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
17281
      oprot.writeI32(self.bannerType)
17282
      oprot.writeFieldEnd()
8579 kshitij.so 17283
    oprot.writeFieldStop()
17284
    oprot.writeStructEnd()
17285
 
17286
  def validate(self):
17287
    return
17288
 
17289
 
17290
  def __repr__(self):
17291
    L = ['%s=%r' % (key, value)
17292
      for key, value in self.__dict__.iteritems()]
17293
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17294
 
17295
  def __eq__(self, other):
17296
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17297
 
17298
  def __ne__(self, other):
17299
    return not (self == other)
17300
 
17301
class getUriMapping_result:
17302
  """
17303
  Attributes:
17304
   - success
17305
  """
17306
 
17307
  thrift_spec = (
17308
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 0
17309
  )
17310
 
17311
  def __init__(self, success=None,):
17312
    self.success = success
17313
 
17314
  def read(self, iprot):
17315
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17316
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17317
      return
17318
    iprot.readStructBegin()
17319
    while True:
17320
      (fname, ftype, fid) = iprot.readFieldBegin()
17321
      if ftype == TType.STOP:
17322
        break
17323
      if fid == 0:
17324
        if ftype == TType.LIST:
17325
          self.success = []
18719 kshitij.so 17326
          (_etype276, _size273) = iprot.readListBegin()
17327
          for _i277 in xrange(_size273):
17328
            _elem278 = BannerUriMapping()
17329
            _elem278.read(iprot)
17330
            self.success.append(_elem278)
8579 kshitij.so 17331
          iprot.readListEnd()
17332
        else:
17333
          iprot.skip(ftype)
17334
      else:
17335
        iprot.skip(ftype)
17336
      iprot.readFieldEnd()
17337
    iprot.readStructEnd()
17338
 
17339
  def write(self, oprot):
17340
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17341
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17342
      return
17343
    oprot.writeStructBegin('getUriMapping_result')
17344
    if self.success is not None:
17345
      oprot.writeFieldBegin('success', TType.LIST, 0)
17346
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 17347
      for iter279 in self.success:
17348
        iter279.write(oprot)
8579 kshitij.so 17349
      oprot.writeListEnd()
17350
      oprot.writeFieldEnd()
17351
    oprot.writeFieldStop()
17352
    oprot.writeStructEnd()
17353
 
17354
  def validate(self):
17355
    return
17356
 
17357
 
17358
  def __repr__(self):
17359
    L = ['%s=%r' % (key, value)
17360
      for key, value in self.__dict__.iteritems()]
17361
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17362
 
17363
  def __eq__(self, other):
17364
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17365
 
17366
  def __ne__(self, other):
17367
    return not (self == other)
17368
 
17369
class addCampaign_args:
17370
  """
17371
  Attributes:
17372
   - campaign
17373
  """
17374
 
17375
  thrift_spec = (
17376
    None, # 0
17377
    (1, TType.STRUCT, 'campaign', (Campaign, Campaign.thrift_spec), None, ), # 1
17378
  )
17379
 
17380
  def __init__(self, campaign=None,):
17381
    self.campaign = campaign
17382
 
17383
  def read(self, iprot):
17384
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17385
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17386
      return
17387
    iprot.readStructBegin()
17388
    while True:
17389
      (fname, ftype, fid) = iprot.readFieldBegin()
17390
      if ftype == TType.STOP:
17391
        break
17392
      if fid == 1:
17393
        if ftype == TType.STRUCT:
17394
          self.campaign = Campaign()
17395
          self.campaign.read(iprot)
17396
        else:
17397
          iprot.skip(ftype)
17398
      else:
17399
        iprot.skip(ftype)
17400
      iprot.readFieldEnd()
17401
    iprot.readStructEnd()
17402
 
17403
  def write(self, oprot):
17404
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17405
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17406
      return
17407
    oprot.writeStructBegin('addCampaign_args')
17408
    if self.campaign is not None:
17409
      oprot.writeFieldBegin('campaign', TType.STRUCT, 1)
17410
      self.campaign.write(oprot)
17411
      oprot.writeFieldEnd()
17412
    oprot.writeFieldStop()
17413
    oprot.writeStructEnd()
17414
 
17415
  def validate(self):
17416
    return
17417
 
17418
 
17419
  def __repr__(self):
17420
    L = ['%s=%r' % (key, value)
17421
      for key, value in self.__dict__.iteritems()]
17422
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17423
 
17424
  def __eq__(self, other):
17425
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17426
 
17427
  def __ne__(self, other):
17428
    return not (self == other)
17429
 
17430
class addCampaign_result:
17431
 
17432
  thrift_spec = (
17433
  )
17434
 
17435
  def read(self, iprot):
17436
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17437
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17438
      return
17439
    iprot.readStructBegin()
17440
    while True:
17441
      (fname, ftype, fid) = iprot.readFieldBegin()
17442
      if ftype == TType.STOP:
17443
        break
17444
      else:
17445
        iprot.skip(ftype)
17446
      iprot.readFieldEnd()
17447
    iprot.readStructEnd()
17448
 
17449
  def write(self, oprot):
17450
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17451
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17452
      return
17453
    oprot.writeStructBegin('addCampaign_result')
17454
    oprot.writeFieldStop()
17455
    oprot.writeStructEnd()
17456
 
17457
  def validate(self):
17458
    return
17459
 
17460
 
17461
  def __repr__(self):
17462
    L = ['%s=%r' % (key, value)
17463
      for key, value in self.__dict__.iteritems()]
17464
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17465
 
17466
  def __eq__(self, other):
17467
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17468
 
17469
  def __ne__(self, other):
17470
    return not (self == other)
17471
 
17472
class getCampaigns_args:
17473
  """
17474
  Attributes:
17475
   - campaignName
17476
  """
17477
 
17478
  thrift_spec = (
17479
    None, # 0
17480
    (1, TType.STRING, 'campaignName', None, None, ), # 1
17481
  )
17482
 
17483
  def __init__(self, campaignName=None,):
17484
    self.campaignName = campaignName
17485
 
17486
  def read(self, iprot):
17487
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17488
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17489
      return
17490
    iprot.readStructBegin()
17491
    while True:
17492
      (fname, ftype, fid) = iprot.readFieldBegin()
17493
      if ftype == TType.STOP:
17494
        break
17495
      if fid == 1:
17496
        if ftype == TType.STRING:
17497
          self.campaignName = iprot.readString();
17498
        else:
17499
          iprot.skip(ftype)
17500
      else:
17501
        iprot.skip(ftype)
17502
      iprot.readFieldEnd()
17503
    iprot.readStructEnd()
17504
 
17505
  def write(self, oprot):
17506
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17507
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17508
      return
17509
    oprot.writeStructBegin('getCampaigns_args')
17510
    if self.campaignName is not None:
17511
      oprot.writeFieldBegin('campaignName', TType.STRING, 1)
17512
      oprot.writeString(self.campaignName)
17513
      oprot.writeFieldEnd()
17514
    oprot.writeFieldStop()
17515
    oprot.writeStructEnd()
17516
 
17517
  def validate(self):
17518
    return
17519
 
17520
 
17521
  def __repr__(self):
17522
    L = ['%s=%r' % (key, value)
17523
      for key, value in self.__dict__.iteritems()]
17524
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17525
 
17526
  def __eq__(self, other):
17527
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17528
 
17529
  def __ne__(self, other):
17530
    return not (self == other)
17531
 
17532
class getCampaigns_result:
17533
  """
17534
  Attributes:
17535
   - success
17536
  """
17537
 
17538
  thrift_spec = (
17539
    (0, TType.LIST, 'success', (TType.STRUCT,(Campaign, Campaign.thrift_spec)), None, ), # 0
17540
  )
17541
 
17542
  def __init__(self, success=None,):
17543
    self.success = success
17544
 
17545
  def read(self, iprot):
17546
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17547
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17548
      return
17549
    iprot.readStructBegin()
17550
    while True:
17551
      (fname, ftype, fid) = iprot.readFieldBegin()
17552
      if ftype == TType.STOP:
17553
        break
17554
      if fid == 0:
17555
        if ftype == TType.LIST:
17556
          self.success = []
18719 kshitij.so 17557
          (_etype283, _size280) = iprot.readListBegin()
17558
          for _i284 in xrange(_size280):
17559
            _elem285 = Campaign()
17560
            _elem285.read(iprot)
17561
            self.success.append(_elem285)
8579 kshitij.so 17562
          iprot.readListEnd()
17563
        else:
17564
          iprot.skip(ftype)
17565
      else:
17566
        iprot.skip(ftype)
17567
      iprot.readFieldEnd()
17568
    iprot.readStructEnd()
17569
 
17570
  def write(self, oprot):
17571
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17572
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17573
      return
17574
    oprot.writeStructBegin('getCampaigns_result')
17575
    if self.success is not None:
17576
      oprot.writeFieldBegin('success', TType.LIST, 0)
17577
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 17578
      for iter286 in self.success:
17579
        iter286.write(oprot)
8579 kshitij.so 17580
      oprot.writeListEnd()
17581
      oprot.writeFieldEnd()
17582
    oprot.writeFieldStop()
17583
    oprot.writeStructEnd()
17584
 
17585
  def validate(self):
17586
    return
17587
 
17588
 
17589
  def __repr__(self):
17590
    L = ['%s=%r' % (key, value)
17591
      for key, value in self.__dict__.iteritems()]
17592
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17593
 
17594
  def __eq__(self, other):
17595
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17596
 
17597
  def __ne__(self, other):
17598
    return not (self == other)
17599
 
17600
class deleteCampaign_args:
17601
  """
17602
  Attributes:
17603
   - campaignId
17604
  """
17605
 
17606
  thrift_spec = (
17607
    None, # 0
17608
    (1, TType.I64, 'campaignId', None, None, ), # 1
17609
  )
17610
 
17611
  def __init__(self, campaignId=None,):
17612
    self.campaignId = campaignId
17613
 
17614
  def read(self, iprot):
17615
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17616
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17617
      return
17618
    iprot.readStructBegin()
17619
    while True:
17620
      (fname, ftype, fid) = iprot.readFieldBegin()
17621
      if ftype == TType.STOP:
17622
        break
17623
      if fid == 1:
17624
        if ftype == TType.I64:
17625
          self.campaignId = iprot.readI64();
17626
        else:
17627
          iprot.skip(ftype)
17628
      else:
17629
        iprot.skip(ftype)
17630
      iprot.readFieldEnd()
17631
    iprot.readStructEnd()
17632
 
17633
  def write(self, oprot):
17634
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17635
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17636
      return
17637
    oprot.writeStructBegin('deleteCampaign_args')
17638
    if self.campaignId is not None:
17639
      oprot.writeFieldBegin('campaignId', TType.I64, 1)
17640
      oprot.writeI64(self.campaignId)
17641
      oprot.writeFieldEnd()
17642
    oprot.writeFieldStop()
17643
    oprot.writeStructEnd()
17644
 
17645
  def validate(self):
17646
    return
17647
 
17648
 
17649
  def __repr__(self):
17650
    L = ['%s=%r' % (key, value)
17651
      for key, value in self.__dict__.iteritems()]
17652
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17653
 
17654
  def __eq__(self, other):
17655
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17656
 
17657
  def __ne__(self, other):
17658
    return not (self == other)
17659
 
17660
class deleteCampaign_result:
17661
 
17662
  thrift_spec = (
17663
  )
17664
 
17665
  def read(self, iprot):
17666
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17667
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17668
      return
17669
    iprot.readStructBegin()
17670
    while True:
17671
      (fname, ftype, fid) = iprot.readFieldBegin()
17672
      if ftype == TType.STOP:
17673
        break
17674
      else:
17675
        iprot.skip(ftype)
17676
      iprot.readFieldEnd()
17677
    iprot.readStructEnd()
17678
 
17679
  def write(self, oprot):
17680
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17681
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17682
      return
17683
    oprot.writeStructBegin('deleteCampaign_result')
17684
    oprot.writeFieldStop()
17685
    oprot.writeStructEnd()
17686
 
17687
  def validate(self):
17688
    return
17689
 
17690
 
17691
  def __repr__(self):
17692
    L = ['%s=%r' % (key, value)
17693
      for key, value in self.__dict__.iteritems()]
17694
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17695
 
17696
  def __eq__(self, other):
17697
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17698
 
17699
  def __ne__(self, other):
17700
    return not (self == other)
17701
 
17702
class getAllCampaigns_args:
17703
 
17704
  thrift_spec = (
17705
  )
17706
 
17707
  def read(self, iprot):
17708
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17709
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17710
      return
17711
    iprot.readStructBegin()
17712
    while True:
17713
      (fname, ftype, fid) = iprot.readFieldBegin()
17714
      if ftype == TType.STOP:
17715
        break
17716
      else:
17717
        iprot.skip(ftype)
17718
      iprot.readFieldEnd()
17719
    iprot.readStructEnd()
17720
 
17721
  def write(self, oprot):
17722
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17723
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17724
      return
17725
    oprot.writeStructBegin('getAllCampaigns_args')
17726
    oprot.writeFieldStop()
17727
    oprot.writeStructEnd()
17728
 
17729
  def validate(self):
17730
    return
17731
 
17732
 
17733
  def __repr__(self):
17734
    L = ['%s=%r' % (key, value)
17735
      for key, value in self.__dict__.iteritems()]
17736
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17737
 
17738
  def __eq__(self, other):
17739
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17740
 
17741
  def __ne__(self, other):
17742
    return not (self == other)
17743
 
17744
class getAllCampaigns_result:
17745
  """
17746
  Attributes:
17747
   - success
17748
  """
17749
 
17750
  thrift_spec = (
17751
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
17752
  )
17753
 
17754
  def __init__(self, success=None,):
17755
    self.success = success
17756
 
17757
  def read(self, iprot):
17758
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17759
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17760
      return
17761
    iprot.readStructBegin()
17762
    while True:
17763
      (fname, ftype, fid) = iprot.readFieldBegin()
17764
      if ftype == TType.STOP:
17765
        break
17766
      if fid == 0:
17767
        if ftype == TType.LIST:
17768
          self.success = []
18719 kshitij.so 17769
          (_etype290, _size287) = iprot.readListBegin()
17770
          for _i291 in xrange(_size287):
17771
            _elem292 = iprot.readString();
17772
            self.success.append(_elem292)
8579 kshitij.so 17773
          iprot.readListEnd()
17774
        else:
17775
          iprot.skip(ftype)
17776
      else:
17777
        iprot.skip(ftype)
17778
      iprot.readFieldEnd()
17779
    iprot.readStructEnd()
17780
 
17781
  def write(self, oprot):
17782
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17783
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17784
      return
17785
    oprot.writeStructBegin('getAllCampaigns_result')
17786
    if self.success is not None:
17787
      oprot.writeFieldBegin('success', TType.LIST, 0)
17788
      oprot.writeListBegin(TType.STRING, len(self.success))
18719 kshitij.so 17789
      for iter293 in self.success:
17790
        oprot.writeString(iter293)
8579 kshitij.so 17791
      oprot.writeListEnd()
17792
      oprot.writeFieldEnd()
17793
    oprot.writeFieldStop()
17794
    oprot.writeStructEnd()
17795
 
17796
  def validate(self):
17797
    return
17798
 
17799
 
17800
  def __repr__(self):
17801
    L = ['%s=%r' % (key, value)
17802
      for key, value in self.__dict__.iteritems()]
17803
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17804
 
17805
  def __eq__(self, other):
17806
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17807
 
17808
  def __ne__(self, other):
17809
    return not (self == other)
17810
 
9155 kshitij.so 17811
class getActiveBannersForMobileSite_args:
17812
 
17813
  thrift_spec = (
17814
  )
17815
 
17816
  def read(self, iprot):
17817
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17818
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17819
      return
17820
    iprot.readStructBegin()
17821
    while True:
17822
      (fname, ftype, fid) = iprot.readFieldBegin()
17823
      if ftype == TType.STOP:
17824
        break
17825
      else:
17826
        iprot.skip(ftype)
17827
      iprot.readFieldEnd()
17828
    iprot.readStructEnd()
17829
 
17830
  def write(self, oprot):
17831
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17832
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17833
      return
17834
    oprot.writeStructBegin('getActiveBannersForMobileSite_args')
17835
    oprot.writeFieldStop()
17836
    oprot.writeStructEnd()
17837
 
17838
  def validate(self):
17839
    return
17840
 
17841
 
17842
  def __repr__(self):
17843
    L = ['%s=%r' % (key, value)
17844
      for key, value in self.__dict__.iteritems()]
17845
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17846
 
17847
  def __eq__(self, other):
17848
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17849
 
17850
  def __ne__(self, other):
17851
    return not (self == other)
17852
 
17853
class getActiveBannersForMobileSite_result:
17854
  """
17855
  Attributes:
17856
   - success
17857
  """
17858
 
17859
  thrift_spec = (
17860
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
17861
  )
17862
 
17863
  def __init__(self, success=None,):
17864
    self.success = success
17865
 
17866
  def read(self, iprot):
17867
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17868
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17869
      return
17870
    iprot.readStructBegin()
17871
    while True:
17872
      (fname, ftype, fid) = iprot.readFieldBegin()
17873
      if ftype == TType.STOP:
17874
        break
17875
      if fid == 0:
17876
        if ftype == TType.MAP:
17877
          self.success = {}
18719 kshitij.so 17878
          (_ktype295, _vtype296, _size294 ) = iprot.readMapBegin() 
17879
          for _i298 in xrange(_size294):
17880
            _key299 = iprot.readString();
17881
            _val300 = []
17882
            (_etype304, _size301) = iprot.readListBegin()
17883
            for _i305 in xrange(_size301):
17884
              _elem306 = Banner()
17885
              _elem306.read(iprot)
17886
              _val300.append(_elem306)
9155 kshitij.so 17887
            iprot.readListEnd()
18719 kshitij.so 17888
            self.success[_key299] = _val300
9155 kshitij.so 17889
          iprot.readMapEnd()
17890
        else:
17891
          iprot.skip(ftype)
17892
      else:
17893
        iprot.skip(ftype)
17894
      iprot.readFieldEnd()
17895
    iprot.readStructEnd()
17896
 
17897
  def write(self, oprot):
17898
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17899
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17900
      return
17901
    oprot.writeStructBegin('getActiveBannersForMobileSite_result')
17902
    if self.success is not None:
17903
      oprot.writeFieldBegin('success', TType.MAP, 0)
17904
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
18719 kshitij.so 17905
      for kiter307,viter308 in self.success.items():
17906
        oprot.writeString(kiter307)
17907
        oprot.writeListBegin(TType.STRUCT, len(viter308))
17908
        for iter309 in viter308:
17909
          iter309.write(oprot)
9155 kshitij.so 17910
        oprot.writeListEnd()
17911
      oprot.writeMapEnd()
17912
      oprot.writeFieldEnd()
17913
    oprot.writeFieldStop()
17914
    oprot.writeStructEnd()
17915
 
17916
  def validate(self):
17917
    return
17918
 
17919
 
17920
  def __repr__(self):
17921
    L = ['%s=%r' % (key, value)
17922
      for key, value in self.__dict__.iteritems()]
17923
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17924
 
17925
  def __eq__(self, other):
17926
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17927
 
17928
  def __ne__(self, other):
17929
    return not (self == other)
17930
 
5944 mandeep.dh 17931
class deleteSimilarItem_args:
17932
  """
17933
  Attributes:
17934
   - itemId
17935
   - catalogItemId
17936
  """
17937
 
17938
  thrift_spec = (
17939
    None, # 0
17940
    (1, TType.I64, 'itemId', None, None, ), # 1
17941
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
17942
  )
17943
 
17944
  def __init__(self, itemId=None, catalogItemId=None,):
17945
    self.itemId = itemId
17946
    self.catalogItemId = catalogItemId
17947
 
17948
  def read(self, iprot):
17949
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17950
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17951
      return
17952
    iprot.readStructBegin()
17953
    while True:
17954
      (fname, ftype, fid) = iprot.readFieldBegin()
17955
      if ftype == TType.STOP:
17956
        break
17957
      if fid == 1:
17958
        if ftype == TType.I64:
17959
          self.itemId = iprot.readI64();
17960
        else:
17961
          iprot.skip(ftype)
17962
      elif fid == 2:
17963
        if ftype == TType.I64:
17964
          self.catalogItemId = iprot.readI64();
17965
        else:
17966
          iprot.skip(ftype)
17967
      else:
17968
        iprot.skip(ftype)
17969
      iprot.readFieldEnd()
17970
    iprot.readStructEnd()
17971
 
17972
  def write(self, oprot):
17973
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17974
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17975
      return
17976
    oprot.writeStructBegin('deleteSimilarItem_args')
17977
    if self.itemId is not None:
17978
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17979
      oprot.writeI64(self.itemId)
17980
      oprot.writeFieldEnd()
17981
    if self.catalogItemId is not None:
17982
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
17983
      oprot.writeI64(self.catalogItemId)
17984
      oprot.writeFieldEnd()
17985
    oprot.writeFieldStop()
17986
    oprot.writeStructEnd()
17987
 
17988
  def validate(self):
17989
    return
17990
 
17991
 
17992
  def __repr__(self):
17993
    L = ['%s=%r' % (key, value)
17994
      for key, value in self.__dict__.iteritems()]
17995
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17996
 
17997
  def __eq__(self, other):
17998
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17999
 
18000
  def __ne__(self, other):
18001
    return not (self == other)
18002
 
18003
class deleteSimilarItem_result:
18004
  """
18005
  Attributes:
18006
   - success
18007
   - cex
18008
  """
18009
 
18010
  thrift_spec = (
18011
    (0, TType.BOOL, 'success', None, None, ), # 0
18012
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18013
  )
18014
 
18015
  def __init__(self, success=None, cex=None,):
18016
    self.success = success
18017
    self.cex = cex
18018
 
18019
  def read(self, iprot):
18020
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18021
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18022
      return
18023
    iprot.readStructBegin()
18024
    while True:
18025
      (fname, ftype, fid) = iprot.readFieldBegin()
18026
      if ftype == TType.STOP:
18027
        break
18028
      if fid == 0:
18029
        if ftype == TType.BOOL:
18030
          self.success = iprot.readBool();
18031
        else:
18032
          iprot.skip(ftype)
18033
      elif fid == 1:
18034
        if ftype == TType.STRUCT:
18035
          self.cex = CatalogServiceException()
18036
          self.cex.read(iprot)
18037
        else:
18038
          iprot.skip(ftype)
18039
      else:
18040
        iprot.skip(ftype)
18041
      iprot.readFieldEnd()
18042
    iprot.readStructEnd()
18043
 
18044
  def write(self, oprot):
18045
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18046
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18047
      return
18048
    oprot.writeStructBegin('deleteSimilarItem_result')
18049
    if self.success is not None:
18050
      oprot.writeFieldBegin('success', TType.BOOL, 0)
18051
      oprot.writeBool(self.success)
18052
      oprot.writeFieldEnd()
18053
    if self.cex is not None:
18054
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
18055
      self.cex.write(oprot)
18056
      oprot.writeFieldEnd()
18057
    oprot.writeFieldStop()
18058
    oprot.writeStructEnd()
18059
 
18060
  def validate(self):
18061
    return
18062
 
18063
 
18064
  def __repr__(self):
18065
    L = ['%s=%r' % (key, value)
18066
      for key, value in self.__dict__.iteritems()]
18067
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18068
 
18069
  def __eq__(self, other):
18070
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18071
 
18072
  def __ne__(self, other):
18073
    return not (self == other)
18074
 
18075
class checkSimilarItem_args:
18076
  """
18077
  Attributes:
18078
   - brand
18079
   - modelNumber
18080
   - modelName
18081
   - color
18082
  """
18083
 
18084
  thrift_spec = (
18085
    None, # 0
18086
    (1, TType.STRING, 'brand', None, None, ), # 1
18087
    (2, TType.STRING, 'modelNumber', None, None, ), # 2
18088
    (3, TType.STRING, 'modelName', None, None, ), # 3
18089
    (4, TType.STRING, 'color', None, None, ), # 4
18090
  )
18091
 
18092
  def __init__(self, brand=None, modelNumber=None, modelName=None, color=None,):
18093
    self.brand = brand
18094
    self.modelNumber = modelNumber
18095
    self.modelName = modelName
18096
    self.color = color
18097
 
18098
  def read(self, iprot):
18099
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18100
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18101
      return
18102
    iprot.readStructBegin()
18103
    while True:
18104
      (fname, ftype, fid) = iprot.readFieldBegin()
18105
      if ftype == TType.STOP:
18106
        break
18107
      if fid == 1:
18108
        if ftype == TType.STRING:
18109
          self.brand = iprot.readString();
18110
        else:
18111
          iprot.skip(ftype)
18112
      elif fid == 2:
18113
        if ftype == TType.STRING:
18114
          self.modelNumber = iprot.readString();
18115
        else:
18116
          iprot.skip(ftype)
18117
      elif fid == 3:
18118
        if ftype == TType.STRING:
18119
          self.modelName = iprot.readString();
18120
        else:
18121
          iprot.skip(ftype)
18122
      elif fid == 4:
18123
        if ftype == TType.STRING:
18124
          self.color = iprot.readString();
18125
        else:
18126
          iprot.skip(ftype)
18127
      else:
18128
        iprot.skip(ftype)
18129
      iprot.readFieldEnd()
18130
    iprot.readStructEnd()
18131
 
18132
  def write(self, oprot):
18133
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18134
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18135
      return
18136
    oprot.writeStructBegin('checkSimilarItem_args')
18137
    if self.brand is not None:
18138
      oprot.writeFieldBegin('brand', TType.STRING, 1)
18139
      oprot.writeString(self.brand)
18140
      oprot.writeFieldEnd()
18141
    if self.modelNumber is not None:
18142
      oprot.writeFieldBegin('modelNumber', TType.STRING, 2)
18143
      oprot.writeString(self.modelNumber)
18144
      oprot.writeFieldEnd()
18145
    if self.modelName is not None:
18146
      oprot.writeFieldBegin('modelName', TType.STRING, 3)
18147
      oprot.writeString(self.modelName)
18148
      oprot.writeFieldEnd()
18149
    if self.color is not None:
18150
      oprot.writeFieldBegin('color', TType.STRING, 4)
18151
      oprot.writeString(self.color)
18152
      oprot.writeFieldEnd()
18153
    oprot.writeFieldStop()
18154
    oprot.writeStructEnd()
18155
 
18156
  def validate(self):
18157
    return
18158
 
18159
 
18160
  def __repr__(self):
18161
    L = ['%s=%r' % (key, value)
18162
      for key, value in self.__dict__.iteritems()]
18163
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18164
 
18165
  def __eq__(self, other):
18166
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18167
 
18168
  def __ne__(self, other):
18169
    return not (self == other)
18170
 
18171
class checkSimilarItem_result:
18172
  """
18173
  Attributes:
18174
   - success
18175
  """
18176
 
18177
  thrift_spec = (
18178
    (0, TType.I64, 'success', None, None, ), # 0
18179
  )
18180
 
18181
  def __init__(self, success=None,):
18182
    self.success = success
18183
 
18184
  def read(self, iprot):
18185
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18186
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18187
      return
18188
    iprot.readStructBegin()
18189
    while True:
18190
      (fname, ftype, fid) = iprot.readFieldBegin()
18191
      if ftype == TType.STOP:
18192
        break
18193
      if fid == 0:
18194
        if ftype == TType.I64:
18195
          self.success = iprot.readI64();
18196
        else:
18197
          iprot.skip(ftype)
18198
      else:
18199
        iprot.skip(ftype)
18200
      iprot.readFieldEnd()
18201
    iprot.readStructEnd()
18202
 
18203
  def write(self, oprot):
18204
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18205
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18206
      return
18207
    oprot.writeStructBegin('checkSimilarItem_result')
18208
    if self.success is not None:
18209
      oprot.writeFieldBegin('success', TType.I64, 0)
18210
      oprot.writeI64(self.success)
18211
      oprot.writeFieldEnd()
18212
    oprot.writeFieldStop()
18213
    oprot.writeStructEnd()
18214
 
18215
  def validate(self):
18216
    return
18217
 
18218
 
18219
  def __repr__(self):
18220
    L = ['%s=%r' % (key, value)
18221
      for key, value in self.__dict__.iteritems()]
18222
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18223
 
18224
  def __eq__(self, other):
18225
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18226
 
18227
  def __ne__(self, other):
18228
    return not (self == other)
18229
 
18230
class validateRiskyStatus_args:
18231
  """
18232
  Attributes:
18233
   - itemId
18234
  """
18235
 
18236
  thrift_spec = (
18237
    None, # 0
18238
    (1, TType.I64, 'itemId', None, None, ), # 1
18239
  )
18240
 
18241
  def __init__(self, itemId=None,):
18242
    self.itemId = itemId
18243
 
18244
  def read(self, iprot):
18245
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18246
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18247
      return
18248
    iprot.readStructBegin()
18249
    while True:
18250
      (fname, ftype, fid) = iprot.readFieldBegin()
18251
      if ftype == TType.STOP:
18252
        break
18253
      if fid == 1:
18254
        if ftype == TType.I64:
18255
          self.itemId = iprot.readI64();
18256
        else:
18257
          iprot.skip(ftype)
18258
      else:
18259
        iprot.skip(ftype)
18260
      iprot.readFieldEnd()
18261
    iprot.readStructEnd()
18262
 
18263
  def write(self, oprot):
18264
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18265
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18266
      return
18267
    oprot.writeStructBegin('validateRiskyStatus_args')
18268
    if self.itemId is not None:
18269
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18270
      oprot.writeI64(self.itemId)
18271
      oprot.writeFieldEnd()
18272
    oprot.writeFieldStop()
18273
    oprot.writeStructEnd()
18274
 
18275
  def validate(self):
18276
    return
18277
 
18278
 
18279
  def __repr__(self):
18280
    L = ['%s=%r' % (key, value)
18281
      for key, value in self.__dict__.iteritems()]
18282
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18283
 
18284
  def __eq__(self, other):
18285
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18286
 
18287
  def __ne__(self, other):
18288
    return not (self == other)
18289
 
18290
class validateRiskyStatus_result:
18291
 
18292
  thrift_spec = (
18293
  )
18294
 
18295
  def read(self, iprot):
18296
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18297
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18298
      return
18299
    iprot.readStructBegin()
18300
    while True:
18301
      (fname, ftype, fid) = iprot.readFieldBegin()
18302
      if ftype == TType.STOP:
18303
        break
18304
      else:
18305
        iprot.skip(ftype)
18306
      iprot.readFieldEnd()
18307
    iprot.readStructEnd()
18308
 
18309
  def write(self, oprot):
18310
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18311
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18312
      return
18313
    oprot.writeStructBegin('validateRiskyStatus_result')
18314
    oprot.writeFieldStop()
18315
    oprot.writeStructEnd()
18316
 
18317
  def validate(self):
18318
    return
18319
 
18320
 
18321
  def __repr__(self):
18322
    L = ['%s=%r' % (key, value)
18323
      for key, value in self.__dict__.iteritems()]
18324
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18325
 
18326
  def __eq__(self, other):
18327
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18328
 
18329
  def __ne__(self, other):
18330
    return not (self == other)
18331
 
18332
class changeItemRiskyFlag_args:
18333
  """
18334
  Attributes:
18335
   - itemId
18336
   - risky
18337
  """
18338
 
18339
  thrift_spec = (
18340
    None, # 0
18341
    (1, TType.I64, 'itemId', None, None, ), # 1
18342
    (2, TType.BOOL, 'risky', None, None, ), # 2
18343
  )
18344
 
18345
  def __init__(self, itemId=None, risky=None,):
18346
    self.itemId = itemId
18347
    self.risky = risky
18348
 
18349
  def read(self, iprot):
18350
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18351
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18352
      return
18353
    iprot.readStructBegin()
18354
    while True:
18355
      (fname, ftype, fid) = iprot.readFieldBegin()
18356
      if ftype == TType.STOP:
18357
        break
18358
      if fid == 1:
18359
        if ftype == TType.I64:
18360
          self.itemId = iprot.readI64();
18361
        else:
18362
          iprot.skip(ftype)
18363
      elif fid == 2:
18364
        if ftype == TType.BOOL:
18365
          self.risky = iprot.readBool();
18366
        else:
18367
          iprot.skip(ftype)
18368
      else:
18369
        iprot.skip(ftype)
18370
      iprot.readFieldEnd()
18371
    iprot.readStructEnd()
18372
 
18373
  def write(self, oprot):
18374
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18375
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18376
      return
18377
    oprot.writeStructBegin('changeItemRiskyFlag_args')
18378
    if self.itemId is not None:
18379
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18380
      oprot.writeI64(self.itemId)
18381
      oprot.writeFieldEnd()
18382
    if self.risky is not None:
18383
      oprot.writeFieldBegin('risky', TType.BOOL, 2)
18384
      oprot.writeBool(self.risky)
18385
      oprot.writeFieldEnd()
18386
    oprot.writeFieldStop()
18387
    oprot.writeStructEnd()
18388
 
18389
  def validate(self):
18390
    return
18391
 
18392
 
18393
  def __repr__(self):
18394
    L = ['%s=%r' % (key, value)
18395
      for key, value in self.__dict__.iteritems()]
18396
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18397
 
18398
  def __eq__(self, other):
18399
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18400
 
18401
  def __ne__(self, other):
18402
    return not (self == other)
18403
 
18404
class changeItemRiskyFlag_result:
18405
 
18406
  thrift_spec = (
18407
  )
18408
 
18409
  def read(self, iprot):
18410
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18411
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18412
      return
18413
    iprot.readStructBegin()
18414
    while True:
18415
      (fname, ftype, fid) = iprot.readFieldBegin()
18416
      if ftype == TType.STOP:
18417
        break
18418
      else:
18419
        iprot.skip(ftype)
18420
      iprot.readFieldEnd()
18421
    iprot.readStructEnd()
18422
 
18423
  def write(self, oprot):
18424
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18425
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18426
      return
18427
    oprot.writeStructBegin('changeItemRiskyFlag_result')
18428
    oprot.writeFieldStop()
18429
    oprot.writeStructEnd()
18430
 
18431
  def validate(self):
18432
    return
18433
 
18434
 
18435
  def __repr__(self):
18436
    L = ['%s=%r' % (key, value)
18437
      for key, value in self.__dict__.iteritems()]
18438
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18439
 
18440
  def __eq__(self, other):
18441
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18442
 
18443
  def __ne__(self, other):
18444
    return not (self == other)
18445
 
18446
class getItemsByRiskyFlag_args:
18447
 
18448
  thrift_spec = (
18449
  )
18450
 
18451
  def read(self, iprot):
18452
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18453
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18454
      return
18455
    iprot.readStructBegin()
18456
    while True:
18457
      (fname, ftype, fid) = iprot.readFieldBegin()
18458
      if ftype == TType.STOP:
18459
        break
18460
      else:
18461
        iprot.skip(ftype)
18462
      iprot.readFieldEnd()
18463
    iprot.readStructEnd()
18464
 
18465
  def write(self, oprot):
18466
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18467
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18468
      return
18469
    oprot.writeStructBegin('getItemsByRiskyFlag_args')
18470
    oprot.writeFieldStop()
18471
    oprot.writeStructEnd()
18472
 
18473
  def validate(self):
18474
    return
18475
 
18476
 
18477
  def __repr__(self):
18478
    L = ['%s=%r' % (key, value)
18479
      for key, value in self.__dict__.iteritems()]
18480
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18481
 
18482
  def __eq__(self, other):
18483
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18484
 
18485
  def __ne__(self, other):
18486
    return not (self == other)
18487
 
18488
class getItemsByRiskyFlag_result:
18489
  """
18490
  Attributes:
18491
   - success
18492
  """
18493
 
18494
  thrift_spec = (
18495
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
18496
  )
18497
 
18498
  def __init__(self, success=None,):
18499
    self.success = success
18500
 
18501
  def read(self, iprot):
18502
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18503
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18504
      return
18505
    iprot.readStructBegin()
18506
    while True:
18507
      (fname, ftype, fid) = iprot.readFieldBegin()
18508
      if ftype == TType.STOP:
18509
        break
18510
      if fid == 0:
18511
        if ftype == TType.LIST:
18512
          self.success = []
18719 kshitij.so 18513
          (_etype313, _size310) = iprot.readListBegin()
18514
          for _i314 in xrange(_size310):
18515
            _elem315 = Item()
18516
            _elem315.read(iprot)
18517
            self.success.append(_elem315)
5944 mandeep.dh 18518
          iprot.readListEnd()
18519
        else:
18520
          iprot.skip(ftype)
18521
      else:
18522
        iprot.skip(ftype)
18523
      iprot.readFieldEnd()
18524
    iprot.readStructEnd()
18525
 
18526
  def write(self, oprot):
18527
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18528
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18529
      return
18530
    oprot.writeStructBegin('getItemsByRiskyFlag_result')
18531
    if self.success is not None:
18532
      oprot.writeFieldBegin('success', TType.LIST, 0)
18533
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 18534
      for iter316 in self.success:
18535
        iter316.write(oprot)
5944 mandeep.dh 18536
      oprot.writeListEnd()
18537
      oprot.writeFieldEnd()
18538
    oprot.writeFieldStop()
18539
    oprot.writeStructEnd()
18540
 
18541
  def validate(self):
18542
    return
18543
 
18544
 
18545
  def __repr__(self):
18546
    L = ['%s=%r' % (key, value)
18547
      for key, value in self.__dict__.iteritems()]
18548
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18549
 
18550
  def __eq__(self, other):
18551
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18552
 
18553
  def __ne__(self, other):
18554
    return not (self == other)
18555
 
18556
class getItemsForMasterSheet_args:
18557
  """
18558
  Attributes:
18559
   - category
18560
   - brand
18561
  """
18562
 
18563
  thrift_spec = (
18564
    None, # 0
18565
    (1, TType.STRING, 'category', None, None, ), # 1
18566
    (2, TType.STRING, 'brand', None, None, ), # 2
18567
  )
18568
 
18569
  def __init__(self, category=None, brand=None,):
18570
    self.category = category
18571
    self.brand = brand
18572
 
18573
  def read(self, iprot):
18574
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18575
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18576
      return
18577
    iprot.readStructBegin()
18578
    while True:
18579
      (fname, ftype, fid) = iprot.readFieldBegin()
18580
      if ftype == TType.STOP:
18581
        break
18582
      if fid == 1:
18583
        if ftype == TType.STRING:
18584
          self.category = iprot.readString();
18585
        else:
18586
          iprot.skip(ftype)
18587
      elif fid == 2:
18588
        if ftype == TType.STRING:
18589
          self.brand = iprot.readString();
18590
        else:
18591
          iprot.skip(ftype)
18592
      else:
18593
        iprot.skip(ftype)
18594
      iprot.readFieldEnd()
18595
    iprot.readStructEnd()
18596
 
18597
  def write(self, oprot):
18598
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18599
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18600
      return
18601
    oprot.writeStructBegin('getItemsForMasterSheet_args')
18602
    if self.category is not None:
18603
      oprot.writeFieldBegin('category', TType.STRING, 1)
18604
      oprot.writeString(self.category)
18605
      oprot.writeFieldEnd()
18606
    if self.brand is not None:
18607
      oprot.writeFieldBegin('brand', TType.STRING, 2)
18608
      oprot.writeString(self.brand)
18609
      oprot.writeFieldEnd()
18610
    oprot.writeFieldStop()
18611
    oprot.writeStructEnd()
18612
 
18613
  def validate(self):
18614
    return
18615
 
18616
 
18617
  def __repr__(self):
18618
    L = ['%s=%r' % (key, value)
18619
      for key, value in self.__dict__.iteritems()]
18620
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18621
 
18622
  def __eq__(self, other):
18623
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18624
 
18625
  def __ne__(self, other):
18626
    return not (self == other)
18627
 
18628
class getItemsForMasterSheet_result:
18629
  """
18630
  Attributes:
18631
   - success
18632
  """
18633
 
18634
  thrift_spec = (
18635
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
18636
  )
18637
 
18638
  def __init__(self, success=None,):
18639
    self.success = success
18640
 
18641
  def read(self, iprot):
18642
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18643
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18644
      return
18645
    iprot.readStructBegin()
18646
    while True:
18647
      (fname, ftype, fid) = iprot.readFieldBegin()
18648
      if ftype == TType.STOP:
18649
        break
18650
      if fid == 0:
18651
        if ftype == TType.LIST:
18652
          self.success = []
18719 kshitij.so 18653
          (_etype320, _size317) = iprot.readListBegin()
18654
          for _i321 in xrange(_size317):
18655
            _elem322 = Item()
18656
            _elem322.read(iprot)
18657
            self.success.append(_elem322)
5944 mandeep.dh 18658
          iprot.readListEnd()
18659
        else:
18660
          iprot.skip(ftype)
18661
      else:
18662
        iprot.skip(ftype)
18663
      iprot.readFieldEnd()
18664
    iprot.readStructEnd()
18665
 
18666
  def write(self, oprot):
18667
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18668
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18669
      return
18670
    oprot.writeStructBegin('getItemsForMasterSheet_result')
18671
    if self.success is not None:
18672
      oprot.writeFieldBegin('success', TType.LIST, 0)
18673
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 18674
      for iter323 in self.success:
18675
        iter323.write(oprot)
5944 mandeep.dh 18676
      oprot.writeListEnd()
18677
      oprot.writeFieldEnd()
18678
    oprot.writeFieldStop()
18679
    oprot.writeStructEnd()
18680
 
18681
  def validate(self):
18682
    return
18683
 
18684
 
18685
  def __repr__(self):
18686
    L = ['%s=%r' % (key, value)
18687
      for key, value in self.__dict__.iteritems()]
18688
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18689
 
18690
  def __eq__(self, other):
18691
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18692
 
18693
  def __ne__(self, other):
18694
    return not (self == other)
18695
 
18696
class getSimilarItemsCatalogIds_args:
18697
  """
18698
  Attributes:
18699
   - beginIndex
18700
   - totalItems
18701
   - itemId
18702
  """
18703
 
18704
  thrift_spec = (
18705
    None, # 0
18706
    (1, TType.I64, 'beginIndex', None, None, ), # 1
18707
    (2, TType.I64, 'totalItems', None, None, ), # 2
18708
    (3, TType.I64, 'itemId', None, None, ), # 3
18709
  )
18710
 
18711
  def __init__(self, beginIndex=None, totalItems=None, itemId=None,):
18712
    self.beginIndex = beginIndex
18713
    self.totalItems = totalItems
18714
    self.itemId = itemId
18715
 
18716
  def read(self, iprot):
18717
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18718
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18719
      return
18720
    iprot.readStructBegin()
18721
    while True:
18722
      (fname, ftype, fid) = iprot.readFieldBegin()
18723
      if ftype == TType.STOP:
18724
        break
18725
      if fid == 1:
18726
        if ftype == TType.I64:
18727
          self.beginIndex = iprot.readI64();
18728
        else:
18729
          iprot.skip(ftype)
18730
      elif fid == 2:
18731
        if ftype == TType.I64:
18732
          self.totalItems = iprot.readI64();
18733
        else:
18734
          iprot.skip(ftype)
18735
      elif fid == 3:
18736
        if ftype == TType.I64:
18737
          self.itemId = iprot.readI64();
18738
        else:
18739
          iprot.skip(ftype)
18740
      else:
18741
        iprot.skip(ftype)
18742
      iprot.readFieldEnd()
18743
    iprot.readStructEnd()
18744
 
18745
  def write(self, oprot):
18746
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18747
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18748
      return
18749
    oprot.writeStructBegin('getSimilarItemsCatalogIds_args')
18750
    if self.beginIndex is not None:
18751
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
18752
      oprot.writeI64(self.beginIndex)
18753
      oprot.writeFieldEnd()
18754
    if self.totalItems is not None:
18755
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
18756
      oprot.writeI64(self.totalItems)
18757
      oprot.writeFieldEnd()
18758
    if self.itemId is not None:
18759
      oprot.writeFieldBegin('itemId', TType.I64, 3)
18760
      oprot.writeI64(self.itemId)
18761
      oprot.writeFieldEnd()
18762
    oprot.writeFieldStop()
18763
    oprot.writeStructEnd()
18764
 
18765
  def validate(self):
18766
    return
18767
 
18768
 
18769
  def __repr__(self):
18770
    L = ['%s=%r' % (key, value)
18771
      for key, value in self.__dict__.iteritems()]
18772
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18773
 
18774
  def __eq__(self, other):
18775
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18776
 
18777
  def __ne__(self, other):
18778
    return not (self == other)
18779
 
18780
class getSimilarItemsCatalogIds_result:
18781
  """
18782
  Attributes:
18783
   - success
18784
  """
18785
 
18786
  thrift_spec = (
18787
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
18788
  )
18789
 
18790
  def __init__(self, success=None,):
18791
    self.success = success
18792
 
18793
  def read(self, iprot):
18794
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18795
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18796
      return
18797
    iprot.readStructBegin()
18798
    while True:
18799
      (fname, ftype, fid) = iprot.readFieldBegin()
18800
      if ftype == TType.STOP:
18801
        break
18802
      if fid == 0:
18803
        if ftype == TType.LIST:
18804
          self.success = []
18719 kshitij.so 18805
          (_etype327, _size324) = iprot.readListBegin()
18806
          for _i328 in xrange(_size324):
18807
            _elem329 = iprot.readI64();
18808
            self.success.append(_elem329)
5944 mandeep.dh 18809
          iprot.readListEnd()
18810
        else:
18811
          iprot.skip(ftype)
18812
      else:
18813
        iprot.skip(ftype)
18814
      iprot.readFieldEnd()
18815
    iprot.readStructEnd()
18816
 
18817
  def write(self, oprot):
18818
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18819
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18820
      return
18821
    oprot.writeStructBegin('getSimilarItemsCatalogIds_result')
18822
    if self.success is not None:
18823
      oprot.writeFieldBegin('success', TType.LIST, 0)
18824
      oprot.writeListBegin(TType.I64, len(self.success))
18719 kshitij.so 18825
      for iter330 in self.success:
18826
        oprot.writeI64(iter330)
5944 mandeep.dh 18827
      oprot.writeListEnd()
18828
      oprot.writeFieldEnd()
18829
    oprot.writeFieldStop()
18830
    oprot.writeStructEnd()
18831
 
18832
  def validate(self):
18833
    return
18834
 
18835
 
18836
  def __repr__(self):
18837
    L = ['%s=%r' % (key, value)
18838
      for key, value in self.__dict__.iteritems()]
18839
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18840
 
18841
  def __eq__(self, other):
18842
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18843
 
18844
  def __ne__(self, other):
18845
    return not (self == other)
18846
 
18847
class addProductNotification_args:
18848
  """
18849
  Attributes:
18850
   - itemId
18851
   - email
18852
  """
18853
 
18854
  thrift_spec = None
18855
  def __init__(self, itemId=None, email=None,):
18856
    self.itemId = itemId
18857
    self.email = email
18858
 
18859
  def read(self, iprot):
18860
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18861
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18862
      return
18863
    iprot.readStructBegin()
18864
    while True:
18865
      (fname, ftype, fid) = iprot.readFieldBegin()
18866
      if ftype == TType.STOP:
18867
        break
18868
      if fid == -1:
18869
        if ftype == TType.I64:
18870
          self.itemId = iprot.readI64();
18871
        else:
18872
          iprot.skip(ftype)
18873
      elif fid == -2:
18874
        if ftype == TType.STRING:
18875
          self.email = iprot.readString();
18876
        else:
18877
          iprot.skip(ftype)
18878
      else:
18879
        iprot.skip(ftype)
18880
      iprot.readFieldEnd()
18881
    iprot.readStructEnd()
18882
 
18883
  def write(self, oprot):
18884
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18885
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18886
      return
18887
    oprot.writeStructBegin('addProductNotification_args')
18888
    if self.email is not None:
18889
      oprot.writeFieldBegin('email', TType.STRING, -2)
18890
      oprot.writeString(self.email)
18891
      oprot.writeFieldEnd()
18892
    if self.itemId is not None:
18893
      oprot.writeFieldBegin('itemId', TType.I64, -1)
18894
      oprot.writeI64(self.itemId)
18895
      oprot.writeFieldEnd()
18896
    oprot.writeFieldStop()
18897
    oprot.writeStructEnd()
18898
 
18899
  def validate(self):
18900
    return
18901
 
18902
 
18903
  def __repr__(self):
18904
    L = ['%s=%r' % (key, value)
18905
      for key, value in self.__dict__.iteritems()]
18906
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18907
 
18908
  def __eq__(self, other):
18909
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18910
 
18911
  def __ne__(self, other):
18912
    return not (self == other)
18913
 
18914
class addProductNotification_result:
18915
  """
18916
  Attributes:
18917
   - success
18918
  """
18919
 
18920
  thrift_spec = (
18921
    (0, TType.BOOL, 'success', None, None, ), # 0
18922
  )
18923
 
18924
  def __init__(self, success=None,):
18925
    self.success = success
18926
 
18927
  def read(self, iprot):
18928
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18929
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18930
      return
18931
    iprot.readStructBegin()
18932
    while True:
18933
      (fname, ftype, fid) = iprot.readFieldBegin()
18934
      if ftype == TType.STOP:
18935
        break
18936
      if fid == 0:
18937
        if ftype == TType.BOOL:
18938
          self.success = iprot.readBool();
18939
        else:
18940
          iprot.skip(ftype)
18941
      else:
18942
        iprot.skip(ftype)
18943
      iprot.readFieldEnd()
18944
    iprot.readStructEnd()
18945
 
18946
  def write(self, oprot):
18947
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18948
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18949
      return
18950
    oprot.writeStructBegin('addProductNotification_result')
18951
    if self.success is not None:
18952
      oprot.writeFieldBegin('success', TType.BOOL, 0)
18953
      oprot.writeBool(self.success)
18954
      oprot.writeFieldEnd()
18955
    oprot.writeFieldStop()
18956
    oprot.writeStructEnd()
18957
 
18958
  def validate(self):
18959
    return
18960
 
18961
 
18962
  def __repr__(self):
18963
    L = ['%s=%r' % (key, value)
18964
      for key, value in self.__dict__.iteritems()]
18965
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18966
 
18967
  def __eq__(self, other):
18968
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18969
 
18970
  def __ne__(self, other):
18971
    return not (self == other)
18972
 
18973
class sendProductNotifications_args:
18974
 
18975
  thrift_spec = (
18976
  )
18977
 
18978
  def read(self, iprot):
18979
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18980
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18981
      return
18982
    iprot.readStructBegin()
18983
    while True:
18984
      (fname, ftype, fid) = iprot.readFieldBegin()
18985
      if ftype == TType.STOP:
18986
        break
18987
      else:
18988
        iprot.skip(ftype)
18989
      iprot.readFieldEnd()
18990
    iprot.readStructEnd()
18991
 
18992
  def write(self, oprot):
18993
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18994
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18995
      return
18996
    oprot.writeStructBegin('sendProductNotifications_args')
18997
    oprot.writeFieldStop()
18998
    oprot.writeStructEnd()
18999
 
19000
  def validate(self):
19001
    return
19002
 
19003
 
19004
  def __repr__(self):
19005
    L = ['%s=%r' % (key, value)
19006
      for key, value in self.__dict__.iteritems()]
19007
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19008
 
19009
  def __eq__(self, other):
19010
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19011
 
19012
  def __ne__(self, other):
19013
    return not (self == other)
19014
 
19015
class sendProductNotifications_result:
19016
  """
19017
  Attributes:
19018
   - success
19019
  """
19020
 
19021
  thrift_spec = (
19022
    (0, TType.BOOL, 'success', None, None, ), # 0
19023
  )
19024
 
19025
  def __init__(self, success=None,):
19026
    self.success = success
19027
 
19028
  def read(self, iprot):
19029
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19030
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19031
      return
19032
    iprot.readStructBegin()
19033
    while True:
19034
      (fname, ftype, fid) = iprot.readFieldBegin()
19035
      if ftype == TType.STOP:
19036
        break
19037
      if fid == 0:
19038
        if ftype == TType.BOOL:
19039
          self.success = iprot.readBool();
19040
        else:
19041
          iprot.skip(ftype)
19042
      else:
19043
        iprot.skip(ftype)
19044
      iprot.readFieldEnd()
19045
    iprot.readStructEnd()
19046
 
19047
  def write(self, oprot):
19048
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19049
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19050
      return
19051
    oprot.writeStructBegin('sendProductNotifications_result')
19052
    if self.success is not None:
19053
      oprot.writeFieldBegin('success', TType.BOOL, 0)
19054
      oprot.writeBool(self.success)
19055
      oprot.writeFieldEnd()
19056
    oprot.writeFieldStop()
19057
    oprot.writeStructEnd()
19058
 
19059
  def validate(self):
19060
    return
19061
 
19062
 
19063
  def __repr__(self):
19064
    L = ['%s=%r' % (key, value)
19065
      for key, value in self.__dict__.iteritems()]
19066
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19067
 
19068
  def __eq__(self, other):
19069
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19070
 
19071
  def __ne__(self, other):
19072
    return not (self == other)
19073
 
19074
class getAllBrandsByCategory_args:
19075
  """
19076
  Attributes:
19077
   - categoryId
19078
  """
19079
 
19080
  thrift_spec = (
19081
    None, # 0
19082
    (1, TType.I64, 'categoryId', None, None, ), # 1
19083
  )
19084
 
19085
  def __init__(self, categoryId=None,):
19086
    self.categoryId = categoryId
19087
 
19088
  def read(self, iprot):
19089
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19090
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19091
      return
19092
    iprot.readStructBegin()
19093
    while True:
19094
      (fname, ftype, fid) = iprot.readFieldBegin()
19095
      if ftype == TType.STOP:
19096
        break
19097
      if fid == 1:
19098
        if ftype == TType.I64:
19099
          self.categoryId = iprot.readI64();
19100
        else:
19101
          iprot.skip(ftype)
19102
      else:
19103
        iprot.skip(ftype)
19104
      iprot.readFieldEnd()
19105
    iprot.readStructEnd()
19106
 
19107
  def write(self, oprot):
19108
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19109
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19110
      return
19111
    oprot.writeStructBegin('getAllBrandsByCategory_args')
19112
    if self.categoryId is not None:
19113
      oprot.writeFieldBegin('categoryId', TType.I64, 1)
19114
      oprot.writeI64(self.categoryId)
19115
      oprot.writeFieldEnd()
19116
    oprot.writeFieldStop()
19117
    oprot.writeStructEnd()
19118
 
19119
  def validate(self):
19120
    return
19121
 
19122
 
19123
  def __repr__(self):
19124
    L = ['%s=%r' % (key, value)
19125
      for key, value in self.__dict__.iteritems()]
19126
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19127
 
19128
  def __eq__(self, other):
19129
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19130
 
19131
  def __ne__(self, other):
19132
    return not (self == other)
19133
 
19134
class getAllBrandsByCategory_result:
19135
  """
19136
  Attributes:
19137
   - success
19138
  """
19139
 
19140
  thrift_spec = (
19141
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
19142
  )
19143
 
19144
  def __init__(self, success=None,):
19145
    self.success = success
19146
 
19147
  def read(self, iprot):
19148
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19149
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19150
      return
19151
    iprot.readStructBegin()
19152
    while True:
19153
      (fname, ftype, fid) = iprot.readFieldBegin()
19154
      if ftype == TType.STOP:
19155
        break
19156
      if fid == 0:
19157
        if ftype == TType.LIST:
19158
          self.success = []
18719 kshitij.so 19159
          (_etype334, _size331) = iprot.readListBegin()
19160
          for _i335 in xrange(_size331):
19161
            _elem336 = iprot.readString();
19162
            self.success.append(_elem336)
5944 mandeep.dh 19163
          iprot.readListEnd()
19164
        else:
19165
          iprot.skip(ftype)
19166
      else:
19167
        iprot.skip(ftype)
19168
      iprot.readFieldEnd()
19169
    iprot.readStructEnd()
19170
 
19171
  def write(self, oprot):
19172
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19173
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19174
      return
19175
    oprot.writeStructBegin('getAllBrandsByCategory_result')
19176
    if self.success is not None:
19177
      oprot.writeFieldBegin('success', TType.LIST, 0)
19178
      oprot.writeListBegin(TType.STRING, len(self.success))
18719 kshitij.so 19179
      for iter337 in self.success:
19180
        oprot.writeString(iter337)
5944 mandeep.dh 19181
      oprot.writeListEnd()
19182
      oprot.writeFieldEnd()
19183
    oprot.writeFieldStop()
19184
    oprot.writeStructEnd()
19185
 
19186
  def validate(self):
19187
    return
19188
 
19189
 
19190
  def __repr__(self):
19191
    L = ['%s=%r' % (key, value)
19192
      for key, value in self.__dict__.iteritems()]
19193
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19194
 
19195
  def __eq__(self, other):
19196
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19197
 
19198
  def __ne__(self, other):
19199
    return not (self == other)
19200
 
19201
class getAllBrands_args:
19202
 
19203
  thrift_spec = (
19204
  )
19205
 
19206
  def read(self, iprot):
19207
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19208
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19209
      return
19210
    iprot.readStructBegin()
19211
    while True:
19212
      (fname, ftype, fid) = iprot.readFieldBegin()
19213
      if ftype == TType.STOP:
19214
        break
19215
      else:
19216
        iprot.skip(ftype)
19217
      iprot.readFieldEnd()
19218
    iprot.readStructEnd()
19219
 
19220
  def write(self, oprot):
19221
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19222
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19223
      return
19224
    oprot.writeStructBegin('getAllBrands_args')
19225
    oprot.writeFieldStop()
19226
    oprot.writeStructEnd()
19227
 
19228
  def validate(self):
19229
    return
19230
 
19231
 
19232
  def __repr__(self):
19233
    L = ['%s=%r' % (key, value)
19234
      for key, value in self.__dict__.iteritems()]
19235
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19236
 
19237
  def __eq__(self, other):
19238
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19239
 
19240
  def __ne__(self, other):
19241
    return not (self == other)
19242
 
19243
class getAllBrands_result:
19244
  """
19245
  Attributes:
19246
   - success
19247
  """
19248
 
19249
  thrift_spec = (
19250
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
19251
  )
19252
 
19253
  def __init__(self, success=None,):
19254
    self.success = success
19255
 
19256
  def read(self, iprot):
19257
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19258
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19259
      return
19260
    iprot.readStructBegin()
19261
    while True:
19262
      (fname, ftype, fid) = iprot.readFieldBegin()
19263
      if ftype == TType.STOP:
19264
        break
19265
      if fid == 0:
19266
        if ftype == TType.LIST:
19267
          self.success = []
18719 kshitij.so 19268
          (_etype341, _size338) = iprot.readListBegin()
19269
          for _i342 in xrange(_size338):
19270
            _elem343 = iprot.readString();
19271
            self.success.append(_elem343)
5944 mandeep.dh 19272
          iprot.readListEnd()
19273
        else:
19274
          iprot.skip(ftype)
19275
      else:
19276
        iprot.skip(ftype)
19277
      iprot.readFieldEnd()
19278
    iprot.readStructEnd()
19279
 
19280
  def write(self, oprot):
19281
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19282
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19283
      return
19284
    oprot.writeStructBegin('getAllBrands_result')
19285
    if self.success is not None:
19286
      oprot.writeFieldBegin('success', TType.LIST, 0)
19287
      oprot.writeListBegin(TType.STRING, len(self.success))
18719 kshitij.so 19288
      for iter344 in self.success:
19289
        oprot.writeString(iter344)
5944 mandeep.dh 19290
      oprot.writeListEnd()
19291
      oprot.writeFieldEnd()
19292
    oprot.writeFieldStop()
19293
    oprot.writeStructEnd()
19294
 
19295
  def validate(self):
19296
    return
19297
 
19298
 
19299
  def __repr__(self):
19300
    L = ['%s=%r' % (key, value)
19301
      for key, value in self.__dict__.iteritems()]
19302
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19303
 
19304
  def __eq__(self, other):
19305
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19306
 
19307
  def __ne__(self, other):
19308
    return not (self == other)
19309
 
19310
class getAllSources_args:
19311
 
19312
  thrift_spec = (
19313
  )
19314
 
19315
  def read(self, iprot):
19316
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19317
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19318
      return
19319
    iprot.readStructBegin()
19320
    while True:
19321
      (fname, ftype, fid) = iprot.readFieldBegin()
19322
      if ftype == TType.STOP:
19323
        break
19324
      else:
19325
        iprot.skip(ftype)
19326
      iprot.readFieldEnd()
19327
    iprot.readStructEnd()
19328
 
19329
  def write(self, oprot):
19330
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19331
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19332
      return
19333
    oprot.writeStructBegin('getAllSources_args')
19334
    oprot.writeFieldStop()
19335
    oprot.writeStructEnd()
19336
 
19337
  def validate(self):
19338
    return
19339
 
19340
 
19341
  def __repr__(self):
19342
    L = ['%s=%r' % (key, value)
19343
      for key, value in self.__dict__.iteritems()]
19344
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19345
 
19346
  def __eq__(self, other):
19347
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19348
 
19349
  def __ne__(self, other):
19350
    return not (self == other)
19351
 
19352
class getAllSources_result:
19353
  """
19354
  Attributes:
19355
   - success
19356
  """
19357
 
19358
  thrift_spec = (
19359
    (0, TType.LIST, 'success', (TType.STRUCT,(Source, Source.thrift_spec)), None, ), # 0
19360
  )
19361
 
19362
  def __init__(self, success=None,):
19363
    self.success = success
19364
 
19365
  def read(self, iprot):
19366
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19367
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19368
      return
19369
    iprot.readStructBegin()
19370
    while True:
19371
      (fname, ftype, fid) = iprot.readFieldBegin()
19372
      if ftype == TType.STOP:
19373
        break
19374
      if fid == 0:
19375
        if ftype == TType.LIST:
19376
          self.success = []
18719 kshitij.so 19377
          (_etype348, _size345) = iprot.readListBegin()
19378
          for _i349 in xrange(_size345):
19379
            _elem350 = Source()
19380
            _elem350.read(iprot)
19381
            self.success.append(_elem350)
5944 mandeep.dh 19382
          iprot.readListEnd()
19383
        else:
19384
          iprot.skip(ftype)
19385
      else:
19386
        iprot.skip(ftype)
19387
      iprot.readFieldEnd()
19388
    iprot.readStructEnd()
19389
 
19390
  def write(self, oprot):
19391
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19392
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19393
      return
19394
    oprot.writeStructBegin('getAllSources_result')
19395
    if self.success is not None:
19396
      oprot.writeFieldBegin('success', TType.LIST, 0)
19397
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 19398
      for iter351 in self.success:
19399
        iter351.write(oprot)
5944 mandeep.dh 19400
      oprot.writeListEnd()
19401
      oprot.writeFieldEnd()
19402
    oprot.writeFieldStop()
19403
    oprot.writeStructEnd()
19404
 
19405
  def validate(self):
19406
    return
19407
 
19408
 
19409
  def __repr__(self):
19410
    L = ['%s=%r' % (key, value)
19411
      for key, value in self.__dict__.iteritems()]
19412
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19413
 
19414
  def __eq__(self, other):
19415
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19416
 
19417
  def __ne__(self, other):
19418
    return not (self == other)
19419
 
19420
class getItemPricingBySource_args:
19421
  """
19422
  Attributes:
19423
   - itemId
19424
   - sourceId
19425
  """
19426
 
19427
  thrift_spec = (
19428
    None, # 0
19429
    (1, TType.I64, 'itemId', None, None, ), # 1
19430
    (2, TType.I64, 'sourceId', None, None, ), # 2
19431
  )
19432
 
19433
  def __init__(self, itemId=None, sourceId=None,):
19434
    self.itemId = itemId
19435
    self.sourceId = sourceId
19436
 
19437
  def read(self, iprot):
19438
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19439
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19440
      return
19441
    iprot.readStructBegin()
19442
    while True:
19443
      (fname, ftype, fid) = iprot.readFieldBegin()
19444
      if ftype == TType.STOP:
19445
        break
19446
      if fid == 1:
19447
        if ftype == TType.I64:
19448
          self.itemId = iprot.readI64();
19449
        else:
19450
          iprot.skip(ftype)
19451
      elif fid == 2:
19452
        if ftype == TType.I64:
19453
          self.sourceId = iprot.readI64();
19454
        else:
19455
          iprot.skip(ftype)
19456
      else:
19457
        iprot.skip(ftype)
19458
      iprot.readFieldEnd()
19459
    iprot.readStructEnd()
19460
 
19461
  def write(self, oprot):
19462
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19463
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19464
      return
19465
    oprot.writeStructBegin('getItemPricingBySource_args')
19466
    if self.itemId is not None:
19467
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19468
      oprot.writeI64(self.itemId)
19469
      oprot.writeFieldEnd()
19470
    if self.sourceId is not None:
19471
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
19472
      oprot.writeI64(self.sourceId)
19473
      oprot.writeFieldEnd()
19474
    oprot.writeFieldStop()
19475
    oprot.writeStructEnd()
19476
 
19477
  def validate(self):
19478
    return
19479
 
19480
 
19481
  def __repr__(self):
19482
    L = ['%s=%r' % (key, value)
19483
      for key, value in self.__dict__.iteritems()]
19484
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19485
 
19486
  def __eq__(self, other):
19487
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19488
 
19489
  def __ne__(self, other):
19490
    return not (self == other)
19491
 
19492
class getItemPricingBySource_result:
19493
  """
19494
  Attributes:
19495
   - success
19496
   - cex
19497
  """
19498
 
19499
  thrift_spec = (
19500
    (0, TType.STRUCT, 'success', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 0
19501
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19502
  )
19503
 
19504
  def __init__(self, success=None, cex=None,):
19505
    self.success = success
19506
    self.cex = cex
19507
 
19508
  def read(self, iprot):
19509
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19510
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19511
      return
19512
    iprot.readStructBegin()
19513
    while True:
19514
      (fname, ftype, fid) = iprot.readFieldBegin()
19515
      if ftype == TType.STOP:
19516
        break
19517
      if fid == 0:
19518
        if ftype == TType.STRUCT:
19519
          self.success = SourceItemPricing()
19520
          self.success.read(iprot)
19521
        else:
19522
          iprot.skip(ftype)
19523
      elif fid == 1:
19524
        if ftype == TType.STRUCT:
19525
          self.cex = CatalogServiceException()
19526
          self.cex.read(iprot)
19527
        else:
19528
          iprot.skip(ftype)
19529
      else:
19530
        iprot.skip(ftype)
19531
      iprot.readFieldEnd()
19532
    iprot.readStructEnd()
19533
 
19534
  def write(self, oprot):
19535
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19536
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19537
      return
19538
    oprot.writeStructBegin('getItemPricingBySource_result')
19539
    if self.success is not None:
19540
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
19541
      self.success.write(oprot)
19542
      oprot.writeFieldEnd()
19543
    if self.cex is not None:
19544
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19545
      self.cex.write(oprot)
19546
      oprot.writeFieldEnd()
19547
    oprot.writeFieldStop()
19548
    oprot.writeStructEnd()
19549
 
19550
  def validate(self):
19551
    return
19552
 
19553
 
19554
  def __repr__(self):
19555
    L = ['%s=%r' % (key, value)
19556
      for key, value in self.__dict__.iteritems()]
19557
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19558
 
19559
  def __eq__(self, other):
19560
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19561
 
19562
  def __ne__(self, other):
19563
    return not (self == other)
19564
 
19565
class addSourceItemPricing_args:
19566
  """
19567
  Attributes:
19568
   - sourceItemPricing
19569
  """
19570
 
19571
  thrift_spec = (
19572
    None, # 0
19573
    (1, TType.STRUCT, 'sourceItemPricing', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 1
19574
  )
19575
 
19576
  def __init__(self, sourceItemPricing=None,):
19577
    self.sourceItemPricing = sourceItemPricing
19578
 
19579
  def read(self, iprot):
19580
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19581
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19582
      return
19583
    iprot.readStructBegin()
19584
    while True:
19585
      (fname, ftype, fid) = iprot.readFieldBegin()
19586
      if ftype == TType.STOP:
19587
        break
19588
      if fid == 1:
19589
        if ftype == TType.STRUCT:
19590
          self.sourceItemPricing = SourceItemPricing()
19591
          self.sourceItemPricing.read(iprot)
19592
        else:
19593
          iprot.skip(ftype)
19594
      else:
19595
        iprot.skip(ftype)
19596
      iprot.readFieldEnd()
19597
    iprot.readStructEnd()
19598
 
19599
  def write(self, oprot):
19600
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19601
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19602
      return
19603
    oprot.writeStructBegin('addSourceItemPricing_args')
19604
    if self.sourceItemPricing is not None:
19605
      oprot.writeFieldBegin('sourceItemPricing', TType.STRUCT, 1)
19606
      self.sourceItemPricing.write(oprot)
19607
      oprot.writeFieldEnd()
19608
    oprot.writeFieldStop()
19609
    oprot.writeStructEnd()
19610
 
19611
  def validate(self):
19612
    return
19613
 
19614
 
19615
  def __repr__(self):
19616
    L = ['%s=%r' % (key, value)
19617
      for key, value in self.__dict__.iteritems()]
19618
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19619
 
19620
  def __eq__(self, other):
19621
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19622
 
19623
  def __ne__(self, other):
19624
    return not (self == other)
19625
 
19626
class addSourceItemPricing_result:
19627
  """
19628
  Attributes:
19629
   - cex
19630
  """
19631
 
19632
  thrift_spec = (
19633
    None, # 0
19634
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19635
  )
19636
 
19637
  def __init__(self, cex=None,):
19638
    self.cex = cex
19639
 
19640
  def read(self, iprot):
19641
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19642
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19643
      return
19644
    iprot.readStructBegin()
19645
    while True:
19646
      (fname, ftype, fid) = iprot.readFieldBegin()
19647
      if ftype == TType.STOP:
19648
        break
19649
      if fid == 1:
19650
        if ftype == TType.STRUCT:
19651
          self.cex = CatalogServiceException()
19652
          self.cex.read(iprot)
19653
        else:
19654
          iprot.skip(ftype)
19655
      else:
19656
        iprot.skip(ftype)
19657
      iprot.readFieldEnd()
19658
    iprot.readStructEnd()
19659
 
19660
  def write(self, oprot):
19661
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19662
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19663
      return
19664
    oprot.writeStructBegin('addSourceItemPricing_result')
19665
    if self.cex is not None:
19666
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19667
      self.cex.write(oprot)
19668
      oprot.writeFieldEnd()
19669
    oprot.writeFieldStop()
19670
    oprot.writeStructEnd()
19671
 
19672
  def validate(self):
19673
    return
19674
 
19675
 
19676
  def __repr__(self):
19677
    L = ['%s=%r' % (key, value)
19678
      for key, value in self.__dict__.iteritems()]
19679
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19680
 
19681
  def __eq__(self, other):
19682
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19683
 
19684
  def __ne__(self, other):
19685
    return not (self == other)
19686
 
19687
class getAllSourcePricing_args:
19688
  """
19689
  Attributes:
19690
   - itemId
19691
  """
19692
 
19693
  thrift_spec = (
19694
    None, # 0
19695
    (1, TType.I64, 'itemId', None, None, ), # 1
19696
  )
19697
 
19698
  def __init__(self, itemId=None,):
19699
    self.itemId = itemId
19700
 
19701
  def read(self, iprot):
19702
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19703
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19704
      return
19705
    iprot.readStructBegin()
19706
    while True:
19707
      (fname, ftype, fid) = iprot.readFieldBegin()
19708
      if ftype == TType.STOP:
19709
        break
19710
      if fid == 1:
19711
        if ftype == TType.I64:
19712
          self.itemId = iprot.readI64();
19713
        else:
19714
          iprot.skip(ftype)
19715
      else:
19716
        iprot.skip(ftype)
19717
      iprot.readFieldEnd()
19718
    iprot.readStructEnd()
19719
 
19720
  def write(self, oprot):
19721
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19722
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19723
      return
19724
    oprot.writeStructBegin('getAllSourcePricing_args')
19725
    if self.itemId is not None:
19726
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19727
      oprot.writeI64(self.itemId)
19728
      oprot.writeFieldEnd()
19729
    oprot.writeFieldStop()
19730
    oprot.writeStructEnd()
19731
 
19732
  def validate(self):
19733
    return
19734
 
19735
 
19736
  def __repr__(self):
19737
    L = ['%s=%r' % (key, value)
19738
      for key, value in self.__dict__.iteritems()]
19739
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19740
 
19741
  def __eq__(self, other):
19742
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19743
 
19744
  def __ne__(self, other):
19745
    return not (self == other)
19746
 
19747
class getAllSourcePricing_result:
19748
  """
19749
  Attributes:
19750
   - success
19751
   - cex
19752
  """
19753
 
19754
  thrift_spec = (
19755
    (0, TType.LIST, 'success', (TType.STRUCT,(SourceItemPricing, SourceItemPricing.thrift_spec)), None, ), # 0
19756
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19757
  )
19758
 
19759
  def __init__(self, success=None, cex=None,):
19760
    self.success = success
19761
    self.cex = cex
19762
 
19763
  def read(self, iprot):
19764
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19765
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19766
      return
19767
    iprot.readStructBegin()
19768
    while True:
19769
      (fname, ftype, fid) = iprot.readFieldBegin()
19770
      if ftype == TType.STOP:
19771
        break
19772
      if fid == 0:
19773
        if ftype == TType.LIST:
19774
          self.success = []
18719 kshitij.so 19775
          (_etype355, _size352) = iprot.readListBegin()
19776
          for _i356 in xrange(_size352):
19777
            _elem357 = SourceItemPricing()
19778
            _elem357.read(iprot)
19779
            self.success.append(_elem357)
5944 mandeep.dh 19780
          iprot.readListEnd()
19781
        else:
19782
          iprot.skip(ftype)
19783
      elif fid == 1:
19784
        if ftype == TType.STRUCT:
19785
          self.cex = CatalogServiceException()
19786
          self.cex.read(iprot)
19787
        else:
19788
          iprot.skip(ftype)
19789
      else:
19790
        iprot.skip(ftype)
19791
      iprot.readFieldEnd()
19792
    iprot.readStructEnd()
19793
 
19794
  def write(self, oprot):
19795
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19796
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19797
      return
19798
    oprot.writeStructBegin('getAllSourcePricing_result')
19799
    if self.success is not None:
19800
      oprot.writeFieldBegin('success', TType.LIST, 0)
19801
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 19802
      for iter358 in self.success:
19803
        iter358.write(oprot)
5944 mandeep.dh 19804
      oprot.writeListEnd()
19805
      oprot.writeFieldEnd()
19806
    if self.cex is not None:
19807
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19808
      self.cex.write(oprot)
19809
      oprot.writeFieldEnd()
19810
    oprot.writeFieldStop()
19811
    oprot.writeStructEnd()
19812
 
19813
  def validate(self):
19814
    return
19815
 
19816
 
19817
  def __repr__(self):
19818
    L = ['%s=%r' % (key, value)
19819
      for key, value in self.__dict__.iteritems()]
19820
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19821
 
19822
  def __eq__(self, other):
19823
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19824
 
19825
  def __ne__(self, other):
19826
    return not (self == other)
19827
 
19828
class getItemForSource_args:
19829
  """
19830
  Attributes:
19831
   - item_id
19832
   - sourceId
19833
  """
19834
 
19835
  thrift_spec = (
19836
    None, # 0
19837
    (1, TType.I64, 'item_id', None, None, ), # 1
19838
    (2, TType.I64, 'sourceId', None, None, ), # 2
19839
  )
19840
 
19841
  def __init__(self, item_id=None, sourceId=None,):
19842
    self.item_id = item_id
19843
    self.sourceId = sourceId
19844
 
19845
  def read(self, iprot):
19846
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19847
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19848
      return
19849
    iprot.readStructBegin()
19850
    while True:
19851
      (fname, ftype, fid) = iprot.readFieldBegin()
19852
      if ftype == TType.STOP:
19853
        break
19854
      if fid == 1:
19855
        if ftype == TType.I64:
19856
          self.item_id = iprot.readI64();
19857
        else:
19858
          iprot.skip(ftype)
19859
      elif fid == 2:
19860
        if ftype == TType.I64:
19861
          self.sourceId = iprot.readI64();
19862
        else:
19863
          iprot.skip(ftype)
19864
      else:
19865
        iprot.skip(ftype)
19866
      iprot.readFieldEnd()
19867
    iprot.readStructEnd()
19868
 
19869
  def write(self, oprot):
19870
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19871
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19872
      return
19873
    oprot.writeStructBegin('getItemForSource_args')
19874
    if self.item_id is not None:
19875
      oprot.writeFieldBegin('item_id', TType.I64, 1)
19876
      oprot.writeI64(self.item_id)
19877
      oprot.writeFieldEnd()
19878
    if self.sourceId is not None:
19879
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
19880
      oprot.writeI64(self.sourceId)
19881
      oprot.writeFieldEnd()
19882
    oprot.writeFieldStop()
19883
    oprot.writeStructEnd()
19884
 
19885
  def validate(self):
19886
    return
19887
 
19888
 
19889
  def __repr__(self):
19890
    L = ['%s=%r' % (key, value)
19891
      for key, value in self.__dict__.iteritems()]
19892
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19893
 
19894
  def __eq__(self, other):
19895
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19896
 
19897
  def __ne__(self, other):
19898
    return not (self == other)
19899
 
19900
class getItemForSource_result:
19901
  """
19902
  Attributes:
19903
   - success
19904
   - cex
19905
  """
19906
 
19907
  thrift_spec = (
19908
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
19909
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19910
  )
19911
 
19912
  def __init__(self, success=None, cex=None,):
19913
    self.success = success
19914
    self.cex = cex
19915
 
19916
  def read(self, iprot):
19917
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19918
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19919
      return
19920
    iprot.readStructBegin()
19921
    while True:
19922
      (fname, ftype, fid) = iprot.readFieldBegin()
19923
      if ftype == TType.STOP:
19924
        break
19925
      if fid == 0:
19926
        if ftype == TType.STRUCT:
19927
          self.success = Item()
19928
          self.success.read(iprot)
19929
        else:
19930
          iprot.skip(ftype)
19931
      elif fid == 1:
19932
        if ftype == TType.STRUCT:
19933
          self.cex = CatalogServiceException()
19934
          self.cex.read(iprot)
19935
        else:
19936
          iprot.skip(ftype)
19937
      else:
19938
        iprot.skip(ftype)
19939
      iprot.readFieldEnd()
19940
    iprot.readStructEnd()
19941
 
19942
  def write(self, oprot):
19943
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19944
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19945
      return
19946
    oprot.writeStructBegin('getItemForSource_result')
19947
    if self.success is not None:
19948
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
19949
      self.success.write(oprot)
19950
      oprot.writeFieldEnd()
19951
    if self.cex is not None:
19952
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19953
      self.cex.write(oprot)
19954
      oprot.writeFieldEnd()
19955
    oprot.writeFieldStop()
19956
    oprot.writeStructEnd()
19957
 
19958
  def validate(self):
19959
    return
19960
 
19961
 
19962
  def __repr__(self):
19963
    L = ['%s=%r' % (key, value)
19964
      for key, value in self.__dict__.iteritems()]
19965
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19966
 
19967
  def __eq__(self, other):
19968
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19969
 
19970
  def __ne__(self, other):
19971
    return not (self == other)
19972
 
19973
class searchItemsInRange_args:
19974
  """
19975
  Attributes:
19976
   - searchTerms
19977
   - offset
19978
   - limit
19979
  """
19980
 
19981
  thrift_spec = (
19982
    None, # 0
19983
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
19984
    (2, TType.I64, 'offset', None, None, ), # 2
19985
    (3, TType.I64, 'limit', None, None, ), # 3
19986
  )
19987
 
19988
  def __init__(self, searchTerms=None, offset=None, limit=None,):
19989
    self.searchTerms = searchTerms
19990
    self.offset = offset
19991
    self.limit = limit
19992
 
19993
  def read(self, iprot):
19994
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19995
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19996
      return
19997
    iprot.readStructBegin()
19998
    while True:
19999
      (fname, ftype, fid) = iprot.readFieldBegin()
20000
      if ftype == TType.STOP:
20001
        break
20002
      if fid == 1:
20003
        if ftype == TType.LIST:
20004
          self.searchTerms = []
18719 kshitij.so 20005
          (_etype362, _size359) = iprot.readListBegin()
20006
          for _i363 in xrange(_size359):
20007
            _elem364 = iprot.readString();
20008
            self.searchTerms.append(_elem364)
5944 mandeep.dh 20009
          iprot.readListEnd()
20010
        else:
20011
          iprot.skip(ftype)
20012
      elif fid == 2:
20013
        if ftype == TType.I64:
20014
          self.offset = iprot.readI64();
20015
        else:
20016
          iprot.skip(ftype)
20017
      elif fid == 3:
20018
        if ftype == TType.I64:
20019
          self.limit = iprot.readI64();
20020
        else:
20021
          iprot.skip(ftype)
20022
      else:
20023
        iprot.skip(ftype)
20024
      iprot.readFieldEnd()
20025
    iprot.readStructEnd()
20026
 
20027
  def write(self, oprot):
20028
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20029
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20030
      return
20031
    oprot.writeStructBegin('searchItemsInRange_args')
20032
    if self.searchTerms is not None:
20033
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
20034
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
18719 kshitij.so 20035
      for iter365 in self.searchTerms:
20036
        oprot.writeString(iter365)
5944 mandeep.dh 20037
      oprot.writeListEnd()
20038
      oprot.writeFieldEnd()
20039
    if self.offset is not None:
20040
      oprot.writeFieldBegin('offset', TType.I64, 2)
20041
      oprot.writeI64(self.offset)
20042
      oprot.writeFieldEnd()
20043
    if self.limit is not None:
20044
      oprot.writeFieldBegin('limit', TType.I64, 3)
20045
      oprot.writeI64(self.limit)
20046
      oprot.writeFieldEnd()
20047
    oprot.writeFieldStop()
20048
    oprot.writeStructEnd()
20049
 
20050
  def validate(self):
20051
    return
20052
 
20053
 
20054
  def __repr__(self):
20055
    L = ['%s=%r' % (key, value)
20056
      for key, value in self.__dict__.iteritems()]
20057
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20058
 
20059
  def __eq__(self, other):
20060
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20061
 
20062
  def __ne__(self, other):
20063
    return not (self == other)
20064
 
20065
class searchItemsInRange_result:
20066
  """
20067
  Attributes:
20068
   - success
20069
  """
20070
 
20071
  thrift_spec = (
20072
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
20073
  )
20074
 
20075
  def __init__(self, success=None,):
20076
    self.success = success
20077
 
20078
  def read(self, iprot):
20079
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20080
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20081
      return
20082
    iprot.readStructBegin()
20083
    while True:
20084
      (fname, ftype, fid) = iprot.readFieldBegin()
20085
      if ftype == TType.STOP:
20086
        break
20087
      if fid == 0:
20088
        if ftype == TType.LIST:
20089
          self.success = []
18719 kshitij.so 20090
          (_etype369, _size366) = iprot.readListBegin()
20091
          for _i370 in xrange(_size366):
20092
            _elem371 = Item()
20093
            _elem371.read(iprot)
20094
            self.success.append(_elem371)
5944 mandeep.dh 20095
          iprot.readListEnd()
20096
        else:
20097
          iprot.skip(ftype)
20098
      else:
20099
        iprot.skip(ftype)
20100
      iprot.readFieldEnd()
20101
    iprot.readStructEnd()
20102
 
20103
  def write(self, oprot):
20104
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20105
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20106
      return
20107
    oprot.writeStructBegin('searchItemsInRange_result')
20108
    if self.success is not None:
20109
      oprot.writeFieldBegin('success', TType.LIST, 0)
20110
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 20111
      for iter372 in self.success:
20112
        iter372.write(oprot)
5944 mandeep.dh 20113
      oprot.writeListEnd()
20114
      oprot.writeFieldEnd()
20115
    oprot.writeFieldStop()
20116
    oprot.writeStructEnd()
20117
 
20118
  def validate(self):
20119
    return
20120
 
20121
 
20122
  def __repr__(self):
20123
    L = ['%s=%r' % (key, value)
20124
      for key, value in self.__dict__.iteritems()]
20125
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20126
 
20127
  def __eq__(self, other):
20128
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20129
 
20130
  def __ne__(self, other):
20131
    return not (self == other)
20132
 
20133
class getSearchResultCount_args:
20134
  """
20135
  Attributes:
20136
   - searchTerms
20137
  """
20138
 
20139
  thrift_spec = (
20140
    None, # 0
20141
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
20142
  )
20143
 
20144
  def __init__(self, searchTerms=None,):
20145
    self.searchTerms = searchTerms
20146
 
20147
  def read(self, iprot):
20148
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20149
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20150
      return
20151
    iprot.readStructBegin()
20152
    while True:
20153
      (fname, ftype, fid) = iprot.readFieldBegin()
20154
      if ftype == TType.STOP:
20155
        break
20156
      if fid == 1:
20157
        if ftype == TType.LIST:
20158
          self.searchTerms = []
18719 kshitij.so 20159
          (_etype376, _size373) = iprot.readListBegin()
20160
          for _i377 in xrange(_size373):
20161
            _elem378 = iprot.readString();
20162
            self.searchTerms.append(_elem378)
5944 mandeep.dh 20163
          iprot.readListEnd()
20164
        else:
20165
          iprot.skip(ftype)
20166
      else:
20167
        iprot.skip(ftype)
20168
      iprot.readFieldEnd()
20169
    iprot.readStructEnd()
20170
 
20171
  def write(self, oprot):
20172
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20173
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20174
      return
20175
    oprot.writeStructBegin('getSearchResultCount_args')
20176
    if self.searchTerms is not None:
20177
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
20178
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
18719 kshitij.so 20179
      for iter379 in self.searchTerms:
20180
        oprot.writeString(iter379)
5944 mandeep.dh 20181
      oprot.writeListEnd()
20182
      oprot.writeFieldEnd()
20183
    oprot.writeFieldStop()
20184
    oprot.writeStructEnd()
20185
 
20186
  def validate(self):
20187
    return
20188
 
20189
 
20190
  def __repr__(self):
20191
    L = ['%s=%r' % (key, value)
20192
      for key, value in self.__dict__.iteritems()]
20193
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20194
 
20195
  def __eq__(self, other):
20196
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20197
 
20198
  def __ne__(self, other):
20199
    return not (self == other)
20200
 
20201
class getSearchResultCount_result:
20202
  """
20203
  Attributes:
20204
   - success
20205
  """
20206
 
20207
  thrift_spec = (
20208
    (0, TType.I32, 'success', None, None, ), # 0
20209
  )
20210
 
20211
  def __init__(self, success=None,):
20212
    self.success = success
20213
 
20214
  def read(self, iprot):
20215
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20216
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20217
      return
20218
    iprot.readStructBegin()
20219
    while True:
20220
      (fname, ftype, fid) = iprot.readFieldBegin()
20221
      if ftype == TType.STOP:
20222
        break
20223
      if fid == 0:
20224
        if ftype == TType.I32:
20225
          self.success = iprot.readI32();
20226
        else:
20227
          iprot.skip(ftype)
20228
      else:
20229
        iprot.skip(ftype)
20230
      iprot.readFieldEnd()
20231
    iprot.readStructEnd()
20232
 
20233
  def write(self, oprot):
20234
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20235
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20236
      return
20237
    oprot.writeStructBegin('getSearchResultCount_result')
20238
    if self.success is not None:
20239
      oprot.writeFieldBegin('success', TType.I32, 0)
20240
      oprot.writeI32(self.success)
20241
      oprot.writeFieldEnd()
20242
    oprot.writeFieldStop()
20243
    oprot.writeStructEnd()
20244
 
20245
  def validate(self):
20246
    return
20247
 
20248
 
20249
  def __repr__(self):
20250
    L = ['%s=%r' % (key, value)
20251
      for key, value in self.__dict__.iteritems()]
20252
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20253
 
20254
  def __eq__(self, other):
20255
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20256
 
20257
  def __ne__(self, other):
20258
    return not (self == other)
20259
 
20260
class getProductNotifications_args:
20261
  """
20262
  Attributes:
20263
   - startDateTime
20264
  """
20265
 
20266
  thrift_spec = (
20267
    None, # 0
20268
    (1, TType.I64, 'startDateTime', None, None, ), # 1
20269
  )
20270
 
20271
  def __init__(self, startDateTime=None,):
20272
    self.startDateTime = startDateTime
20273
 
20274
  def read(self, iprot):
20275
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20276
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20277
      return
20278
    iprot.readStructBegin()
20279
    while True:
20280
      (fname, ftype, fid) = iprot.readFieldBegin()
20281
      if ftype == TType.STOP:
20282
        break
20283
      if fid == 1:
20284
        if ftype == TType.I64:
20285
          self.startDateTime = iprot.readI64();
20286
        else:
20287
          iprot.skip(ftype)
20288
      else:
20289
        iprot.skip(ftype)
20290
      iprot.readFieldEnd()
20291
    iprot.readStructEnd()
20292
 
20293
  def write(self, oprot):
20294
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20295
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20296
      return
20297
    oprot.writeStructBegin('getProductNotifications_args')
20298
    if self.startDateTime is not None:
20299
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
20300
      oprot.writeI64(self.startDateTime)
20301
      oprot.writeFieldEnd()
20302
    oprot.writeFieldStop()
20303
    oprot.writeStructEnd()
20304
 
20305
  def validate(self):
20306
    return
20307
 
20308
 
20309
  def __repr__(self):
20310
    L = ['%s=%r' % (key, value)
20311
      for key, value in self.__dict__.iteritems()]
20312
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20313
 
20314
  def __eq__(self, other):
20315
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20316
 
20317
  def __ne__(self, other):
20318
    return not (self == other)
20319
 
20320
class getProductNotifications_result:
20321
  """
20322
  Attributes:
20323
   - success
20324
  """
20325
 
20326
  thrift_spec = (
20327
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequest, ProductNotificationRequest.thrift_spec)), None, ), # 0
20328
  )
20329
 
20330
  def __init__(self, success=None,):
20331
    self.success = success
20332
 
20333
  def read(self, iprot):
20334
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20335
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20336
      return
20337
    iprot.readStructBegin()
20338
    while True:
20339
      (fname, ftype, fid) = iprot.readFieldBegin()
20340
      if ftype == TType.STOP:
20341
        break
20342
      if fid == 0:
20343
        if ftype == TType.LIST:
20344
          self.success = []
18719 kshitij.so 20345
          (_etype383, _size380) = iprot.readListBegin()
20346
          for _i384 in xrange(_size380):
20347
            _elem385 = ProductNotificationRequest()
20348
            _elem385.read(iprot)
20349
            self.success.append(_elem385)
5944 mandeep.dh 20350
          iprot.readListEnd()
20351
        else:
20352
          iprot.skip(ftype)
20353
      else:
20354
        iprot.skip(ftype)
20355
      iprot.readFieldEnd()
20356
    iprot.readStructEnd()
20357
 
20358
  def write(self, oprot):
20359
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20360
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20361
      return
20362
    oprot.writeStructBegin('getProductNotifications_result')
20363
    if self.success is not None:
20364
      oprot.writeFieldBegin('success', TType.LIST, 0)
20365
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 20366
      for iter386 in self.success:
20367
        iter386.write(oprot)
5944 mandeep.dh 20368
      oprot.writeListEnd()
20369
      oprot.writeFieldEnd()
20370
    oprot.writeFieldStop()
20371
    oprot.writeStructEnd()
20372
 
20373
  def validate(self):
20374
    return
20375
 
20376
 
20377
  def __repr__(self):
20378
    L = ['%s=%r' % (key, value)
20379
      for key, value in self.__dict__.iteritems()]
20380
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20381
 
20382
  def __eq__(self, other):
20383
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20384
 
20385
  def __ne__(self, other):
20386
    return not (self == other)
20387
 
20388
class getProductNotificationRequestCount_args:
20389
  """
20390
  Attributes:
20391
   - startDateTime
7897 amar.kumar 20392
   - categoryId
5944 mandeep.dh 20393
  """
20394
 
20395
  thrift_spec = (
20396
    None, # 0
20397
    (1, TType.I64, 'startDateTime', None, None, ), # 1
7897 amar.kumar 20398
    (2, TType.I64, 'categoryId', None, None, ), # 2
5944 mandeep.dh 20399
  )
20400
 
7897 amar.kumar 20401
  def __init__(self, startDateTime=None, categoryId=None,):
5944 mandeep.dh 20402
    self.startDateTime = startDateTime
7897 amar.kumar 20403
    self.categoryId = categoryId
5944 mandeep.dh 20404
 
20405
  def read(self, iprot):
20406
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20407
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20408
      return
20409
    iprot.readStructBegin()
20410
    while True:
20411
      (fname, ftype, fid) = iprot.readFieldBegin()
20412
      if ftype == TType.STOP:
20413
        break
20414
      if fid == 1:
20415
        if ftype == TType.I64:
20416
          self.startDateTime = iprot.readI64();
20417
        else:
20418
          iprot.skip(ftype)
7897 amar.kumar 20419
      elif fid == 2:
20420
        if ftype == TType.I64:
20421
          self.categoryId = iprot.readI64();
20422
        else:
20423
          iprot.skip(ftype)
5944 mandeep.dh 20424
      else:
20425
        iprot.skip(ftype)
20426
      iprot.readFieldEnd()
20427
    iprot.readStructEnd()
20428
 
20429
  def write(self, oprot):
20430
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20431
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20432
      return
20433
    oprot.writeStructBegin('getProductNotificationRequestCount_args')
20434
    if self.startDateTime is not None:
20435
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
20436
      oprot.writeI64(self.startDateTime)
20437
      oprot.writeFieldEnd()
7897 amar.kumar 20438
    if self.categoryId is not None:
20439
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
20440
      oprot.writeI64(self.categoryId)
20441
      oprot.writeFieldEnd()
5944 mandeep.dh 20442
    oprot.writeFieldStop()
20443
    oprot.writeStructEnd()
20444
 
20445
  def validate(self):
20446
    return
20447
 
20448
 
20449
  def __repr__(self):
20450
    L = ['%s=%r' % (key, value)
20451
      for key, value in self.__dict__.iteritems()]
20452
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20453
 
20454
  def __eq__(self, other):
20455
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20456
 
20457
  def __ne__(self, other):
20458
    return not (self == other)
20459
 
20460
class getProductNotificationRequestCount_result:
20461
  """
20462
  Attributes:
20463
   - success
20464
  """
20465
 
20466
  thrift_spec = (
20467
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequestCount, ProductNotificationRequestCount.thrift_spec)), None, ), # 0
20468
  )
20469
 
20470
  def __init__(self, success=None,):
20471
    self.success = success
20472
 
20473
  def read(self, iprot):
20474
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20475
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20476
      return
20477
    iprot.readStructBegin()
20478
    while True:
20479
      (fname, ftype, fid) = iprot.readFieldBegin()
20480
      if ftype == TType.STOP:
20481
        break
20482
      if fid == 0:
20483
        if ftype == TType.LIST:
20484
          self.success = []
18719 kshitij.so 20485
          (_etype390, _size387) = iprot.readListBegin()
20486
          for _i391 in xrange(_size387):
20487
            _elem392 = ProductNotificationRequestCount()
20488
            _elem392.read(iprot)
20489
            self.success.append(_elem392)
5944 mandeep.dh 20490
          iprot.readListEnd()
20491
        else:
20492
          iprot.skip(ftype)
20493
      else:
20494
        iprot.skip(ftype)
20495
      iprot.readFieldEnd()
20496
    iprot.readStructEnd()
20497
 
20498
  def write(self, oprot):
20499
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20500
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20501
      return
20502
    oprot.writeStructBegin('getProductNotificationRequestCount_result')
20503
    if self.success is not None:
20504
      oprot.writeFieldBegin('success', TType.LIST, 0)
20505
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 20506
      for iter393 in self.success:
20507
        iter393.write(oprot)
5944 mandeep.dh 20508
      oprot.writeListEnd()
20509
      oprot.writeFieldEnd()
20510
    oprot.writeFieldStop()
20511
    oprot.writeStructEnd()
20512
 
20513
  def validate(self):
20514
    return
20515
 
20516
 
20517
  def __repr__(self):
20518
    L = ['%s=%r' % (key, value)
20519
      for key, value in self.__dict__.iteritems()]
20520
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20521
 
20522
  def __eq__(self, other):
20523
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20524
 
20525
  def __ne__(self, other):
20526
    return not (self == other)
20527
 
20528
class addAuthorizationLog_args:
20529
  """
20530
  Attributes:
20531
   - itemId
20532
   - username
20533
   - reason
20534
  """
20535
 
20536
  thrift_spec = (
20537
    None, # 0
20538
    (1, TType.I64, 'itemId', None, None, ), # 1
20539
    (2, TType.STRING, 'username', None, None, ), # 2
20540
    (3, TType.STRING, 'reason', None, None, ), # 3
20541
  )
20542
 
20543
  def __init__(self, itemId=None, username=None, reason=None,):
20544
    self.itemId = itemId
20545
    self.username = username
20546
    self.reason = reason
20547
 
20548
  def read(self, iprot):
20549
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20550
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20551
      return
20552
    iprot.readStructBegin()
20553
    while True:
20554
      (fname, ftype, fid) = iprot.readFieldBegin()
20555
      if ftype == TType.STOP:
20556
        break
20557
      if fid == 1:
20558
        if ftype == TType.I64:
20559
          self.itemId = iprot.readI64();
20560
        else:
20561
          iprot.skip(ftype)
20562
      elif fid == 2:
20563
        if ftype == TType.STRING:
20564
          self.username = iprot.readString();
20565
        else:
20566
          iprot.skip(ftype)
20567
      elif fid == 3:
20568
        if ftype == TType.STRING:
20569
          self.reason = iprot.readString();
20570
        else:
20571
          iprot.skip(ftype)
20572
      else:
20573
        iprot.skip(ftype)
20574
      iprot.readFieldEnd()
20575
    iprot.readStructEnd()
20576
 
20577
  def write(self, oprot):
20578
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20579
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20580
      return
20581
    oprot.writeStructBegin('addAuthorizationLog_args')
20582
    if self.itemId is not None:
20583
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20584
      oprot.writeI64(self.itemId)
20585
      oprot.writeFieldEnd()
20586
    if self.username is not None:
20587
      oprot.writeFieldBegin('username', TType.STRING, 2)
20588
      oprot.writeString(self.username)
20589
      oprot.writeFieldEnd()
20590
    if self.reason is not None:
20591
      oprot.writeFieldBegin('reason', TType.STRING, 3)
20592
      oprot.writeString(self.reason)
20593
      oprot.writeFieldEnd()
20594
    oprot.writeFieldStop()
20595
    oprot.writeStructEnd()
20596
 
20597
  def validate(self):
20598
    return
20599
 
20600
 
20601
  def __repr__(self):
20602
    L = ['%s=%r' % (key, value)
20603
      for key, value in self.__dict__.iteritems()]
20604
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20605
 
20606
  def __eq__(self, other):
20607
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20608
 
20609
  def __ne__(self, other):
20610
    return not (self == other)
20611
 
20612
class addAuthorizationLog_result:
20613
  """
20614
  Attributes:
20615
   - success
20616
   - cex
20617
  """
20618
 
20619
  thrift_spec = (
20620
    (0, TType.BOOL, 'success', None, None, ), # 0
20621
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20622
  )
20623
 
20624
  def __init__(self, success=None, cex=None,):
20625
    self.success = success
20626
    self.cex = cex
20627
 
20628
  def read(self, iprot):
20629
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20630
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20631
      return
20632
    iprot.readStructBegin()
20633
    while True:
20634
      (fname, ftype, fid) = iprot.readFieldBegin()
20635
      if ftype == TType.STOP:
20636
        break
20637
      if fid == 0:
20638
        if ftype == TType.BOOL:
20639
          self.success = iprot.readBool();
20640
        else:
20641
          iprot.skip(ftype)
20642
      elif fid == 1:
20643
        if ftype == TType.STRUCT:
20644
          self.cex = CatalogServiceException()
20645
          self.cex.read(iprot)
20646
        else:
20647
          iprot.skip(ftype)
20648
      else:
20649
        iprot.skip(ftype)
20650
      iprot.readFieldEnd()
20651
    iprot.readStructEnd()
20652
 
20653
  def write(self, oprot):
20654
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20655
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20656
      return
20657
    oprot.writeStructBegin('addAuthorizationLog_result')
20658
    if self.success is not None:
20659
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20660
      oprot.writeBool(self.success)
20661
      oprot.writeFieldEnd()
20662
    if self.cex is not None:
20663
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20664
      self.cex.write(oprot)
20665
      oprot.writeFieldEnd()
20666
    oprot.writeFieldStop()
20667
    oprot.writeStructEnd()
20668
 
20669
  def validate(self):
20670
    return
20671
 
20672
 
20673
  def __repr__(self):
20674
    L = ['%s=%r' % (key, value)
20675
      for key, value in self.__dict__.iteritems()]
20676
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20677
 
20678
  def __eq__(self, other):
20679
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20680
 
20681
  def __ne__(self, other):
20682
    return not (self == other)
20683
 
20684
class addupdateVoucherForItem_args:
20685
  """
20686
  Attributes:
20687
   - catalog_item_id
20688
   - voucherType
20689
   - voucherAmount
20690
  """
20691
 
20692
  thrift_spec = (
20693
    None, # 0
20694
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20695
    (2, TType.I64, 'voucherType', None, None, ), # 2
20696
    (3, TType.I64, 'voucherAmount', None, None, ), # 3
20697
  )
20698
 
20699
  def __init__(self, catalog_item_id=None, voucherType=None, voucherAmount=None,):
20700
    self.catalog_item_id = catalog_item_id
20701
    self.voucherType = voucherType
20702
    self.voucherAmount = voucherAmount
20703
 
20704
  def read(self, iprot):
20705
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20706
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20707
      return
20708
    iprot.readStructBegin()
20709
    while True:
20710
      (fname, ftype, fid) = iprot.readFieldBegin()
20711
      if ftype == TType.STOP:
20712
        break
20713
      if fid == 1:
20714
        if ftype == TType.I64:
20715
          self.catalog_item_id = iprot.readI64();
20716
        else:
20717
          iprot.skip(ftype)
20718
      elif fid == 2:
20719
        if ftype == TType.I64:
20720
          self.voucherType = iprot.readI64();
20721
        else:
20722
          iprot.skip(ftype)
20723
      elif fid == 3:
20724
        if ftype == TType.I64:
20725
          self.voucherAmount = iprot.readI64();
20726
        else:
20727
          iprot.skip(ftype)
20728
      else:
20729
        iprot.skip(ftype)
20730
      iprot.readFieldEnd()
20731
    iprot.readStructEnd()
20732
 
20733
  def write(self, oprot):
20734
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20735
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20736
      return
20737
    oprot.writeStructBegin('addupdateVoucherForItem_args')
20738
    if self.catalog_item_id is not None:
20739
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20740
      oprot.writeI64(self.catalog_item_id)
20741
      oprot.writeFieldEnd()
20742
    if self.voucherType is not None:
20743
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20744
      oprot.writeI64(self.voucherType)
20745
      oprot.writeFieldEnd()
20746
    if self.voucherAmount is not None:
20747
      oprot.writeFieldBegin('voucherAmount', TType.I64, 3)
20748
      oprot.writeI64(self.voucherAmount)
20749
      oprot.writeFieldEnd()
20750
    oprot.writeFieldStop()
20751
    oprot.writeStructEnd()
20752
 
20753
  def validate(self):
20754
    return
20755
 
20756
 
20757
  def __repr__(self):
20758
    L = ['%s=%r' % (key, value)
20759
      for key, value in self.__dict__.iteritems()]
20760
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20761
 
20762
  def __eq__(self, other):
20763
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20764
 
20765
  def __ne__(self, other):
20766
    return not (self == other)
20767
 
20768
class addupdateVoucherForItem_result:
20769
  """
20770
  Attributes:
20771
   - success
20772
   - cex
20773
  """
20774
 
20775
  thrift_spec = (
20776
    (0, TType.BOOL, 'success', None, None, ), # 0
20777
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20778
  )
20779
 
20780
  def __init__(self, success=None, cex=None,):
20781
    self.success = success
20782
    self.cex = cex
20783
 
20784
  def read(self, iprot):
20785
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20786
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20787
      return
20788
    iprot.readStructBegin()
20789
    while True:
20790
      (fname, ftype, fid) = iprot.readFieldBegin()
20791
      if ftype == TType.STOP:
20792
        break
20793
      if fid == 0:
20794
        if ftype == TType.BOOL:
20795
          self.success = iprot.readBool();
20796
        else:
20797
          iprot.skip(ftype)
20798
      elif fid == 1:
20799
        if ftype == TType.STRUCT:
20800
          self.cex = CatalogServiceException()
20801
          self.cex.read(iprot)
20802
        else:
20803
          iprot.skip(ftype)
20804
      else:
20805
        iprot.skip(ftype)
20806
      iprot.readFieldEnd()
20807
    iprot.readStructEnd()
20808
 
20809
  def write(self, oprot):
20810
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20811
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20812
      return
20813
    oprot.writeStructBegin('addupdateVoucherForItem_result')
20814
    if self.success is not None:
20815
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20816
      oprot.writeBool(self.success)
20817
      oprot.writeFieldEnd()
20818
    if self.cex is not None:
20819
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20820
      self.cex.write(oprot)
20821
      oprot.writeFieldEnd()
20822
    oprot.writeFieldStop()
20823
    oprot.writeStructEnd()
20824
 
20825
  def validate(self):
20826
    return
20827
 
20828
 
20829
  def __repr__(self):
20830
    L = ['%s=%r' % (key, value)
20831
      for key, value in self.__dict__.iteritems()]
20832
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20833
 
20834
  def __eq__(self, other):
20835
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20836
 
20837
  def __ne__(self, other):
20838
    return not (self == other)
20839
 
20840
class deleteVoucherForItem_args:
20841
  """
20842
  Attributes:
20843
   - catalog_item_id
20844
   - voucherType
20845
  """
20846
 
20847
  thrift_spec = (
20848
    None, # 0
20849
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20850
    (2, TType.I64, 'voucherType', None, None, ), # 2
20851
  )
20852
 
20853
  def __init__(self, catalog_item_id=None, voucherType=None,):
20854
    self.catalog_item_id = catalog_item_id
20855
    self.voucherType = voucherType
20856
 
20857
  def read(self, iprot):
20858
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20859
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20860
      return
20861
    iprot.readStructBegin()
20862
    while True:
20863
      (fname, ftype, fid) = iprot.readFieldBegin()
20864
      if ftype == TType.STOP:
20865
        break
20866
      if fid == 1:
20867
        if ftype == TType.I64:
20868
          self.catalog_item_id = iprot.readI64();
20869
        else:
20870
          iprot.skip(ftype)
20871
      elif fid == 2:
20872
        if ftype == TType.I64:
20873
          self.voucherType = iprot.readI64();
20874
        else:
20875
          iprot.skip(ftype)
20876
      else:
20877
        iprot.skip(ftype)
20878
      iprot.readFieldEnd()
20879
    iprot.readStructEnd()
20880
 
20881
  def write(self, oprot):
20882
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20883
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20884
      return
20885
    oprot.writeStructBegin('deleteVoucherForItem_args')
20886
    if self.catalog_item_id is not None:
20887
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20888
      oprot.writeI64(self.catalog_item_id)
20889
      oprot.writeFieldEnd()
20890
    if self.voucherType is not None:
20891
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20892
      oprot.writeI64(self.voucherType)
20893
      oprot.writeFieldEnd()
20894
    oprot.writeFieldStop()
20895
    oprot.writeStructEnd()
20896
 
20897
  def validate(self):
20898
    return
20899
 
20900
 
20901
  def __repr__(self):
20902
    L = ['%s=%r' % (key, value)
20903
      for key, value in self.__dict__.iteritems()]
20904
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20905
 
20906
  def __eq__(self, other):
20907
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20908
 
20909
  def __ne__(self, other):
20910
    return not (self == other)
20911
 
20912
class deleteVoucherForItem_result:
20913
  """
20914
  Attributes:
20915
   - success
20916
   - cex
20917
  """
20918
 
20919
  thrift_spec = (
20920
    (0, TType.BOOL, 'success', None, None, ), # 0
20921
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20922
  )
20923
 
20924
  def __init__(self, success=None, cex=None,):
20925
    self.success = success
20926
    self.cex = cex
20927
 
20928
  def read(self, iprot):
20929
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20930
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20931
      return
20932
    iprot.readStructBegin()
20933
    while True:
20934
      (fname, ftype, fid) = iprot.readFieldBegin()
20935
      if ftype == TType.STOP:
20936
        break
20937
      if fid == 0:
20938
        if ftype == TType.BOOL:
20939
          self.success = iprot.readBool();
20940
        else:
20941
          iprot.skip(ftype)
20942
      elif fid == 1:
20943
        if ftype == TType.STRUCT:
20944
          self.cex = CatalogServiceException()
20945
          self.cex.read(iprot)
20946
        else:
20947
          iprot.skip(ftype)
20948
      else:
20949
        iprot.skip(ftype)
20950
      iprot.readFieldEnd()
20951
    iprot.readStructEnd()
20952
 
20953
  def write(self, oprot):
20954
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20955
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20956
      return
20957
    oprot.writeStructBegin('deleteVoucherForItem_result')
20958
    if self.success is not None:
20959
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20960
      oprot.writeBool(self.success)
20961
      oprot.writeFieldEnd()
20962
    if self.cex is not None:
20963
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20964
      self.cex.write(oprot)
20965
      oprot.writeFieldEnd()
20966
    oprot.writeFieldStop()
20967
    oprot.writeStructEnd()
20968
 
20969
  def validate(self):
20970
    return
20971
 
20972
 
20973
  def __repr__(self):
20974
    L = ['%s=%r' % (key, value)
20975
      for key, value in self.__dict__.iteritems()]
20976
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20977
 
20978
  def __eq__(self, other):
20979
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20980
 
20981
  def __ne__(self, other):
20982
    return not (self == other)
20983
 
20984
class getVoucherAmount_args:
20985
  """
20986
  Attributes:
20987
   - itemId
20988
   - voucherType
20989
  """
20990
 
20991
  thrift_spec = (
20992
    None, # 0
20993
    (1, TType.I64, 'itemId', None, None, ), # 1
20994
    (2, TType.I64, 'voucherType', None, None, ), # 2
20995
  )
20996
 
20997
  def __init__(self, itemId=None, voucherType=None,):
20998
    self.itemId = itemId
20999
    self.voucherType = voucherType
21000
 
21001
  def read(self, iprot):
21002
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21003
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21004
      return
21005
    iprot.readStructBegin()
21006
    while True:
21007
      (fname, ftype, fid) = iprot.readFieldBegin()
21008
      if ftype == TType.STOP:
21009
        break
21010
      if fid == 1:
21011
        if ftype == TType.I64:
21012
          self.itemId = iprot.readI64();
21013
        else:
21014
          iprot.skip(ftype)
21015
      elif fid == 2:
21016
        if ftype == TType.I64:
21017
          self.voucherType = iprot.readI64();
21018
        else:
21019
          iprot.skip(ftype)
21020
      else:
21021
        iprot.skip(ftype)
21022
      iprot.readFieldEnd()
21023
    iprot.readStructEnd()
21024
 
21025
  def write(self, oprot):
21026
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21027
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21028
      return
21029
    oprot.writeStructBegin('getVoucherAmount_args')
21030
    if self.itemId is not None:
21031
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21032
      oprot.writeI64(self.itemId)
21033
      oprot.writeFieldEnd()
21034
    if self.voucherType is not None:
21035
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
21036
      oprot.writeI64(self.voucherType)
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 getVoucherAmount_result:
21057
  """
21058
  Attributes:
21059
   - success
21060
  """
21061
 
21062
  thrift_spec = (
21063
    (0, TType.I64, 'success', None, None, ), # 0
21064
  )
21065
 
21066
  def __init__(self, success=None,):
21067
    self.success = success
21068
 
21069
  def read(self, iprot):
21070
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21071
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21072
      return
21073
    iprot.readStructBegin()
21074
    while True:
21075
      (fname, ftype, fid) = iprot.readFieldBegin()
21076
      if ftype == TType.STOP:
21077
        break
21078
      if fid == 0:
21079
        if ftype == TType.I64:
21080
          self.success = iprot.readI64();
21081
        else:
21082
          iprot.skip(ftype)
21083
      else:
21084
        iprot.skip(ftype)
21085
      iprot.readFieldEnd()
21086
    iprot.readStructEnd()
21087
 
21088
  def write(self, oprot):
21089
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21090
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21091
      return
21092
    oprot.writeStructBegin('getVoucherAmount_result')
21093
    if self.success is not None:
21094
      oprot.writeFieldBegin('success', TType.I64, 0)
21095
      oprot.writeI64(self.success)
21096
      oprot.writeFieldEnd()
21097
    oprot.writeFieldStop()
21098
    oprot.writeStructEnd()
21099
 
21100
  def validate(self):
21101
    return
21102
 
21103
 
21104
  def __repr__(self):
21105
    L = ['%s=%r' % (key, value)
21106
      for key, value in self.__dict__.iteritems()]
21107
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21108
 
21109
  def __eq__(self, other):
21110
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21111
 
21112
  def __ne__(self, other):
21113
    return not (self == other)
21114
 
21115
class getAllItemVouchers_args:
21116
  """
21117
  Attributes:
21118
   - itemId
21119
  """
21120
 
21121
  thrift_spec = (
21122
    None, # 0
21123
    (1, TType.I64, 'itemId', None, None, ), # 1
21124
  )
21125
 
21126
  def __init__(self, itemId=None,):
21127
    self.itemId = itemId
21128
 
21129
  def read(self, iprot):
21130
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21131
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21132
      return
21133
    iprot.readStructBegin()
21134
    while True:
21135
      (fname, ftype, fid) = iprot.readFieldBegin()
21136
      if ftype == TType.STOP:
21137
        break
21138
      if fid == 1:
21139
        if ftype == TType.I64:
21140
          self.itemId = iprot.readI64();
21141
        else:
21142
          iprot.skip(ftype)
21143
      else:
21144
        iprot.skip(ftype)
21145
      iprot.readFieldEnd()
21146
    iprot.readStructEnd()
21147
 
21148
  def write(self, oprot):
21149
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21150
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21151
      return
21152
    oprot.writeStructBegin('getAllItemVouchers_args')
21153
    if self.itemId is not None:
21154
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21155
      oprot.writeI64(self.itemId)
21156
      oprot.writeFieldEnd()
21157
    oprot.writeFieldStop()
21158
    oprot.writeStructEnd()
21159
 
21160
  def validate(self):
21161
    return
21162
 
21163
 
21164
  def __repr__(self):
21165
    L = ['%s=%r' % (key, value)
21166
      for key, value in self.__dict__.iteritems()]
21167
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21168
 
21169
  def __eq__(self, other):
21170
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21171
 
21172
  def __ne__(self, other):
21173
    return not (self == other)
21174
 
21175
class getAllItemVouchers_result:
21176
  """
21177
  Attributes:
21178
   - success
21179
  """
21180
 
21181
  thrift_spec = (
21182
    (0, TType.LIST, 'success', (TType.STRUCT,(VoucherItemMapping, VoucherItemMapping.thrift_spec)), None, ), # 0
21183
  )
21184
 
21185
  def __init__(self, success=None,):
21186
    self.success = success
21187
 
21188
  def read(self, iprot):
21189
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21190
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21191
      return
21192
    iprot.readStructBegin()
21193
    while True:
21194
      (fname, ftype, fid) = iprot.readFieldBegin()
21195
      if ftype == TType.STOP:
21196
        break
21197
      if fid == 0:
21198
        if ftype == TType.LIST:
21199
          self.success = []
18719 kshitij.so 21200
          (_etype397, _size394) = iprot.readListBegin()
21201
          for _i398 in xrange(_size394):
21202
            _elem399 = VoucherItemMapping()
21203
            _elem399.read(iprot)
21204
            self.success.append(_elem399)
5944 mandeep.dh 21205
          iprot.readListEnd()
21206
        else:
21207
          iprot.skip(ftype)
21208
      else:
21209
        iprot.skip(ftype)
21210
      iprot.readFieldEnd()
21211
    iprot.readStructEnd()
21212
 
21213
  def write(self, oprot):
21214
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21215
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21216
      return
21217
    oprot.writeStructBegin('getAllItemVouchers_result')
21218
    if self.success is not None:
21219
      oprot.writeFieldBegin('success', TType.LIST, 0)
21220
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 21221
      for iter400 in self.success:
21222
        iter400.write(oprot)
5944 mandeep.dh 21223
      oprot.writeListEnd()
21224
      oprot.writeFieldEnd()
21225
    oprot.writeFieldStop()
21226
    oprot.writeStructEnd()
21227
 
21228
  def validate(self):
21229
    return
21230
 
21231
 
21232
  def __repr__(self):
21233
    L = ['%s=%r' % (key, value)
21234
      for key, value in self.__dict__.iteritems()]
21235
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21236
 
21237
  def __eq__(self, other):
21238
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21239
 
21240
  def __ne__(self, other):
21241
    return not (self == other)
21242
 
21243
class isValidCatalogItemId_args:
21244
  """
21245
  Attributes:
21246
   - catalog_item_id
21247
  """
21248
 
21249
  thrift_spec = (
21250
    None, # 0
21251
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
21252
  )
21253
 
21254
  def __init__(self, catalog_item_id=None,):
21255
    self.catalog_item_id = catalog_item_id
21256
 
21257
  def read(self, iprot):
21258
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21259
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21260
      return
21261
    iprot.readStructBegin()
21262
    while True:
21263
      (fname, ftype, fid) = iprot.readFieldBegin()
21264
      if ftype == TType.STOP:
21265
        break
21266
      if fid == 1:
21267
        if ftype == TType.I64:
21268
          self.catalog_item_id = iprot.readI64();
21269
        else:
21270
          iprot.skip(ftype)
21271
      else:
21272
        iprot.skip(ftype)
21273
      iprot.readFieldEnd()
21274
    iprot.readStructEnd()
21275
 
21276
  def write(self, oprot):
21277
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21278
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21279
      return
21280
    oprot.writeStructBegin('isValidCatalogItemId_args')
21281
    if self.catalog_item_id is not None:
21282
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
21283
      oprot.writeI64(self.catalog_item_id)
21284
      oprot.writeFieldEnd()
21285
    oprot.writeFieldStop()
21286
    oprot.writeStructEnd()
21287
 
21288
  def validate(self):
21289
    return
21290
 
21291
 
21292
  def __repr__(self):
21293
    L = ['%s=%r' % (key, value)
21294
      for key, value in self.__dict__.iteritems()]
21295
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21296
 
21297
  def __eq__(self, other):
21298
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21299
 
21300
  def __ne__(self, other):
21301
    return not (self == other)
21302
 
21303
class isValidCatalogItemId_result:
21304
  """
21305
  Attributes:
21306
   - success
21307
  """
21308
 
21309
  thrift_spec = (
21310
    (0, TType.BOOL, 'success', None, None, ), # 0
21311
  )
21312
 
21313
  def __init__(self, success=None,):
21314
    self.success = success
21315
 
21316
  def read(self, iprot):
21317
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21318
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21319
      return
21320
    iprot.readStructBegin()
21321
    while True:
21322
      (fname, ftype, fid) = iprot.readFieldBegin()
21323
      if ftype == TType.STOP:
21324
        break
21325
      if fid == 0:
21326
        if ftype == TType.BOOL:
21327
          self.success = iprot.readBool();
21328
        else:
21329
          iprot.skip(ftype)
21330
      else:
21331
        iprot.skip(ftype)
21332
      iprot.readFieldEnd()
21333
    iprot.readStructEnd()
21334
 
21335
  def write(self, oprot):
21336
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21337
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21338
      return
21339
    oprot.writeStructBegin('isValidCatalogItemId_result')
21340
    if self.success is not None:
21341
      oprot.writeFieldBegin('success', TType.BOOL, 0)
21342
      oprot.writeBool(self.success)
21343
      oprot.writeFieldEnd()
21344
    oprot.writeFieldStop()
21345
    oprot.writeStructEnd()
21346
 
21347
  def validate(self):
21348
    return
21349
 
21350
 
21351
  def __repr__(self):
21352
    L = ['%s=%r' % (key, value)
21353
      for key, value in self.__dict__.iteritems()]
21354
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21355
 
21356
  def __eq__(self, other):
21357
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21358
 
21359
  def __ne__(self, other):
21360
    return not (self == other)
6039 amit.gupta 21361
 
21362
class getVatPercentageForItem_args:
21363
  """
21364
  Attributes:
21365
   - itemId
7330 amit.gupta 21366
   - stateId
6039 amit.gupta 21367
   - price
21368
  """
21369
 
21370
  thrift_spec = (
21371
    None, # 0
21372
    (1, TType.I64, 'itemId', None, None, ), # 1
7330 amit.gupta 21373
    (2, TType.I64, 'stateId', None, None, ), # 2
21374
    (3, TType.DOUBLE, 'price', None, None, ), # 3
6039 amit.gupta 21375
  )
21376
 
7330 amit.gupta 21377
  def __init__(self, itemId=None, stateId=None, price=None,):
6039 amit.gupta 21378
    self.itemId = itemId
7330 amit.gupta 21379
    self.stateId = stateId
6039 amit.gupta 21380
    self.price = price
21381
 
21382
  def read(self, iprot):
21383
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21384
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21385
      return
21386
    iprot.readStructBegin()
21387
    while True:
21388
      (fname, ftype, fid) = iprot.readFieldBegin()
21389
      if ftype == TType.STOP:
21390
        break
21391
      if fid == 1:
21392
        if ftype == TType.I64:
21393
          self.itemId = iprot.readI64();
21394
        else:
21395
          iprot.skip(ftype)
21396
      elif fid == 2:
7330 amit.gupta 21397
        if ftype == TType.I64:
21398
          self.stateId = iprot.readI64();
21399
        else:
21400
          iprot.skip(ftype)
21401
      elif fid == 3:
6039 amit.gupta 21402
        if ftype == TType.DOUBLE:
21403
          self.price = iprot.readDouble();
21404
        else:
21405
          iprot.skip(ftype)
21406
      else:
21407
        iprot.skip(ftype)
21408
      iprot.readFieldEnd()
21409
    iprot.readStructEnd()
21410
 
21411
  def write(self, oprot):
21412
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21413
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21414
      return
21415
    oprot.writeStructBegin('getVatPercentageForItem_args')
21416
    if self.itemId is not None:
21417
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21418
      oprot.writeI64(self.itemId)
21419
      oprot.writeFieldEnd()
7330 amit.gupta 21420
    if self.stateId is not None:
21421
      oprot.writeFieldBegin('stateId', TType.I64, 2)
21422
      oprot.writeI64(self.stateId)
21423
      oprot.writeFieldEnd()
6039 amit.gupta 21424
    if self.price is not None:
7330 amit.gupta 21425
      oprot.writeFieldBegin('price', TType.DOUBLE, 3)
6039 amit.gupta 21426
      oprot.writeDouble(self.price)
21427
      oprot.writeFieldEnd()
21428
    oprot.writeFieldStop()
21429
    oprot.writeStructEnd()
21430
 
21431
  def validate(self):
21432
    return
21433
 
21434
 
21435
  def __repr__(self):
21436
    L = ['%s=%r' % (key, value)
21437
      for key, value in self.__dict__.iteritems()]
21438
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21439
 
21440
  def __eq__(self, other):
21441
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21442
 
21443
  def __ne__(self, other):
21444
    return not (self == other)
21445
 
21446
class getVatPercentageForItem_result:
21447
  """
21448
  Attributes:
21449
   - success
7340 amit.gupta 21450
   - cex
6039 amit.gupta 21451
  """
21452
 
21453
  thrift_spec = (
21454
    (0, TType.DOUBLE, 'success', None, None, ), # 0
7340 amit.gupta 21455
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
6039 amit.gupta 21456
  )
21457
 
7340 amit.gupta 21458
  def __init__(self, success=None, cex=None,):
6039 amit.gupta 21459
    self.success = success
7340 amit.gupta 21460
    self.cex = cex
6039 amit.gupta 21461
 
21462
  def read(self, iprot):
21463
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21464
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21465
      return
21466
    iprot.readStructBegin()
21467
    while True:
21468
      (fname, ftype, fid) = iprot.readFieldBegin()
21469
      if ftype == TType.STOP:
21470
        break
21471
      if fid == 0:
21472
        if ftype == TType.DOUBLE:
21473
          self.success = iprot.readDouble();
21474
        else:
21475
          iprot.skip(ftype)
7340 amit.gupta 21476
      elif fid == 1:
21477
        if ftype == TType.STRUCT:
21478
          self.cex = CatalogServiceException()
21479
          self.cex.read(iprot)
21480
        else:
21481
          iprot.skip(ftype)
6039 amit.gupta 21482
      else:
21483
        iprot.skip(ftype)
21484
      iprot.readFieldEnd()
21485
    iprot.readStructEnd()
21486
 
21487
  def write(self, oprot):
21488
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21489
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21490
      return
21491
    oprot.writeStructBegin('getVatPercentageForItem_result')
21492
    if self.success is not None:
21493
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
21494
      oprot.writeDouble(self.success)
21495
      oprot.writeFieldEnd()
7340 amit.gupta 21496
    if self.cex is not None:
21497
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
21498
      self.cex.write(oprot)
21499
      oprot.writeFieldEnd()
6039 amit.gupta 21500
    oprot.writeFieldStop()
21501
    oprot.writeStructEnd()
21502
 
21503
  def validate(self):
21504
    return
21505
 
21506
 
21507
  def __repr__(self):
21508
    L = ['%s=%r' % (key, value)
21509
      for key, value in self.__dict__.iteritems()]
21510
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21511
 
21512
  def __eq__(self, other):
21513
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21514
 
21515
  def __ne__(self, other):
21516
    return not (self == other)
21517
 
21518
class getVatAmountForItem_args:
21519
  """
21520
  Attributes:
21521
   - itemId
21522
   - price
21523
  """
21524
 
21525
  thrift_spec = (
21526
    None, # 0
21527
    (1, TType.I64, 'itemId', None, None, ), # 1
21528
    (2, TType.DOUBLE, 'price', None, None, ), # 2
21529
  )
21530
 
21531
  def __init__(self, itemId=None, price=None,):
21532
    self.itemId = itemId
21533
    self.price = price
21534
 
21535
  def read(self, iprot):
21536
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21537
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21538
      return
21539
    iprot.readStructBegin()
21540
    while True:
21541
      (fname, ftype, fid) = iprot.readFieldBegin()
21542
      if ftype == TType.STOP:
21543
        break
21544
      if fid == 1:
21545
        if ftype == TType.I64:
21546
          self.itemId = iprot.readI64();
21547
        else:
21548
          iprot.skip(ftype)
21549
      elif fid == 2:
21550
        if ftype == TType.DOUBLE:
21551
          self.price = iprot.readDouble();
21552
        else:
21553
          iprot.skip(ftype)
21554
      else:
21555
        iprot.skip(ftype)
21556
      iprot.readFieldEnd()
21557
    iprot.readStructEnd()
21558
 
21559
  def write(self, oprot):
21560
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21561
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21562
      return
21563
    oprot.writeStructBegin('getVatAmountForItem_args')
21564
    if self.itemId is not None:
21565
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21566
      oprot.writeI64(self.itemId)
21567
      oprot.writeFieldEnd()
21568
    if self.price is not None:
21569
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
21570
      oprot.writeDouble(self.price)
21571
      oprot.writeFieldEnd()
21572
    oprot.writeFieldStop()
21573
    oprot.writeStructEnd()
21574
 
21575
  def validate(self):
21576
    return
21577
 
21578
 
21579
  def __repr__(self):
21580
    L = ['%s=%r' % (key, value)
21581
      for key, value in self.__dict__.iteritems()]
21582
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21583
 
21584
  def __eq__(self, other):
21585
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21586
 
21587
  def __ne__(self, other):
21588
    return not (self == other)
21589
 
21590
class getVatAmountForItem_result:
21591
  """
21592
  Attributes:
21593
   - success
21594
  """
21595
 
21596
  thrift_spec = (
21597
    (0, TType.DOUBLE, 'success', None, None, ), # 0
21598
  )
21599
 
21600
  def __init__(self, success=None,):
21601
    self.success = success
21602
 
21603
  def read(self, iprot):
21604
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21605
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21606
      return
21607
    iprot.readStructBegin()
21608
    while True:
21609
      (fname, ftype, fid) = iprot.readFieldBegin()
21610
      if ftype == TType.STOP:
21611
        break
21612
      if fid == 0:
21613
        if ftype == TType.DOUBLE:
21614
          self.success = iprot.readDouble();
21615
        else:
21616
          iprot.skip(ftype)
21617
      else:
21618
        iprot.skip(ftype)
21619
      iprot.readFieldEnd()
21620
    iprot.readStructEnd()
21621
 
21622
  def write(self, oprot):
21623
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21624
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21625
      return
21626
    oprot.writeStructBegin('getVatAmountForItem_result')
21627
    if self.success is not None:
21628
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
21629
      oprot.writeDouble(self.success)
21630
      oprot.writeFieldEnd()
21631
    oprot.writeFieldStop()
21632
    oprot.writeStructEnd()
21633
 
21634
  def validate(self):
21635
    return
21636
 
21637
 
21638
  def __repr__(self):
21639
    L = ['%s=%r' % (key, value)
21640
      for key, value in self.__dict__.iteritems()]
21641
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21642
 
21643
  def __eq__(self, other):
21644
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21645
 
21646
  def __ne__(self, other):
21647
    return not (self == other)
6531 vikram.rag 21648
 
21649
class getAllIgnoredInventoryUpdateItemsList_args:
21650
  """
21651
  Attributes:
21652
   - offset
21653
   - limit
21654
  """
21655
 
21656
  thrift_spec = (
21657
    None, # 0
21658
    (1, TType.I32, 'offset', None, None, ), # 1
21659
    (2, TType.I32, 'limit', None, None, ), # 2
21660
  )
21661
 
21662
  def __init__(self, offset=None, limit=None,):
21663
    self.offset = offset
21664
    self.limit = limit
21665
 
21666
  def read(self, iprot):
21667
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21668
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21669
      return
21670
    iprot.readStructBegin()
21671
    while True:
21672
      (fname, ftype, fid) = iprot.readFieldBegin()
21673
      if ftype == TType.STOP:
21674
        break
21675
      if fid == 1:
21676
        if ftype == TType.I32:
21677
          self.offset = iprot.readI32();
21678
        else:
21679
          iprot.skip(ftype)
21680
      elif fid == 2:
21681
        if ftype == TType.I32:
21682
          self.limit = iprot.readI32();
21683
        else:
21684
          iprot.skip(ftype)
21685
      else:
21686
        iprot.skip(ftype)
21687
      iprot.readFieldEnd()
21688
    iprot.readStructEnd()
21689
 
21690
  def write(self, oprot):
21691
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21692
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21693
      return
21694
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_args')
21695
    if self.offset is not None:
21696
      oprot.writeFieldBegin('offset', TType.I32, 1)
21697
      oprot.writeI32(self.offset)
21698
      oprot.writeFieldEnd()
21699
    if self.limit is not None:
21700
      oprot.writeFieldBegin('limit', TType.I32, 2)
21701
      oprot.writeI32(self.limit)
21702
      oprot.writeFieldEnd()
21703
    oprot.writeFieldStop()
21704
    oprot.writeStructEnd()
21705
 
21706
  def validate(self):
21707
    return
21708
 
21709
 
21710
  def __repr__(self):
21711
    L = ['%s=%r' % (key, value)
21712
      for key, value in self.__dict__.iteritems()]
21713
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21714
 
21715
  def __eq__(self, other):
21716
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21717
 
21718
  def __ne__(self, other):
21719
    return not (self == other)
21720
 
21721
class getAllIgnoredInventoryUpdateItemsList_result:
21722
  """
21723
  Attributes:
21724
   - success
21725
  """
21726
 
21727
  thrift_spec = (
21728
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
21729
  )
21730
 
21731
  def __init__(self, success=None,):
21732
    self.success = success
21733
 
21734
  def read(self, iprot):
21735
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21736
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21737
      return
21738
    iprot.readStructBegin()
21739
    while True:
21740
      (fname, ftype, fid) = iprot.readFieldBegin()
21741
      if ftype == TType.STOP:
21742
        break
21743
      if fid == 0:
21744
        if ftype == TType.LIST:
21745
          self.success = []
18719 kshitij.so 21746
          (_etype404, _size401) = iprot.readListBegin()
21747
          for _i405 in xrange(_size401):
21748
            _elem406 = Item()
21749
            _elem406.read(iprot)
21750
            self.success.append(_elem406)
6531 vikram.rag 21751
          iprot.readListEnd()
21752
        else:
21753
          iprot.skip(ftype)
21754
      else:
21755
        iprot.skip(ftype)
21756
      iprot.readFieldEnd()
21757
    iprot.readStructEnd()
21758
 
21759
  def write(self, oprot):
21760
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21761
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21762
      return
21763
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_result')
21764
    if self.success is not None:
21765
      oprot.writeFieldBegin('success', TType.LIST, 0)
21766
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 21767
      for iter407 in self.success:
21768
        iter407.write(oprot)
6531 vikram.rag 21769
      oprot.writeListEnd()
21770
      oprot.writeFieldEnd()
21771
    oprot.writeFieldStop()
21772
    oprot.writeStructEnd()
21773
 
21774
  def validate(self):
21775
    return
21776
 
21777
 
21778
  def __repr__(self):
21779
    L = ['%s=%r' % (key, value)
21780
      for key, value in self.__dict__.iteritems()]
21781
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21782
 
21783
  def __eq__(self, other):
21784
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21785
 
21786
  def __ne__(self, other):
21787
    return not (self == other)
6805 anupam.sin 21788
 
6821 amar.kumar 21789
class getAllAliveItems_args:
21790
 
21791
  thrift_spec = (
21792
  )
21793
 
21794
  def read(self, iprot):
21795
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21796
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21797
      return
21798
    iprot.readStructBegin()
21799
    while True:
21800
      (fname, ftype, fid) = iprot.readFieldBegin()
21801
      if ftype == TType.STOP:
21802
        break
21803
      else:
21804
        iprot.skip(ftype)
21805
      iprot.readFieldEnd()
21806
    iprot.readStructEnd()
21807
 
21808
  def write(self, oprot):
21809
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21810
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21811
      return
21812
    oprot.writeStructBegin('getAllAliveItems_args')
21813
    oprot.writeFieldStop()
21814
    oprot.writeStructEnd()
21815
 
21816
  def validate(self):
21817
    return
21818
 
21819
 
21820
  def __repr__(self):
21821
    L = ['%s=%r' % (key, value)
21822
      for key, value in self.__dict__.iteritems()]
21823
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21824
 
21825
  def __eq__(self, other):
21826
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21827
 
21828
  def __ne__(self, other):
21829
    return not (self == other)
21830
 
21831
class getAllAliveItems_result:
21832
  """
21833
  Attributes:
21834
   - success
21835
  """
21836
 
21837
  thrift_spec = (
21838
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
21839
  )
21840
 
21841
  def __init__(self, success=None,):
21842
    self.success = success
21843
 
21844
  def read(self, iprot):
21845
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21846
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21847
      return
21848
    iprot.readStructBegin()
21849
    while True:
21850
      (fname, ftype, fid) = iprot.readFieldBegin()
21851
      if ftype == TType.STOP:
21852
        break
21853
      if fid == 0:
21854
        if ftype == TType.LIST:
21855
          self.success = []
18719 kshitij.so 21856
          (_etype411, _size408) = iprot.readListBegin()
21857
          for _i412 in xrange(_size408):
21858
            _elem413 = Item()
21859
            _elem413.read(iprot)
21860
            self.success.append(_elem413)
6821 amar.kumar 21861
          iprot.readListEnd()
21862
        else:
21863
          iprot.skip(ftype)
21864
      else:
21865
        iprot.skip(ftype)
21866
      iprot.readFieldEnd()
21867
    iprot.readStructEnd()
21868
 
21869
  def write(self, oprot):
21870
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21871
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21872
      return
21873
    oprot.writeStructBegin('getAllAliveItems_result')
21874
    if self.success is not None:
21875
      oprot.writeFieldBegin('success', TType.LIST, 0)
21876
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 21877
      for iter414 in self.success:
21878
        iter414.write(oprot)
6821 amar.kumar 21879
      oprot.writeListEnd()
21880
      oprot.writeFieldEnd()
21881
    oprot.writeFieldStop()
21882
    oprot.writeStructEnd()
21883
 
21884
  def validate(self):
21885
    return
21886
 
21887
 
21888
  def __repr__(self):
21889
    L = ['%s=%r' % (key, value)
21890
      for key, value in self.__dict__.iteritems()]
21891
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21892
 
21893
  def __eq__(self, other):
21894
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21895
 
21896
  def __ne__(self, other):
21897
    return not (self == other)
21898
 
6805 anupam.sin 21899
class getInsuranceAmount_args:
21900
  """
21901
  Attributes:
21902
   - itemId
6921 anupam.sin 21903
   - price
6805 anupam.sin 21904
   - insurerId
21905
   - quantity
21906
  """
21907
 
21908
  thrift_spec = (
21909
    None, # 0
21910
    (1, TType.I64, 'itemId', None, None, ), # 1
6921 anupam.sin 21911
    (2, TType.DOUBLE, 'price', None, None, ), # 2
21912
    (3, TType.I64, 'insurerId', None, None, ), # 3
21913
    (4, TType.I64, 'quantity', None, None, ), # 4
6805 anupam.sin 21914
  )
21915
 
6921 anupam.sin 21916
  def __init__(self, itemId=None, price=None, insurerId=None, quantity=None,):
6805 anupam.sin 21917
    self.itemId = itemId
6921 anupam.sin 21918
    self.price = price
6805 anupam.sin 21919
    self.insurerId = insurerId
21920
    self.quantity = quantity
21921
 
21922
  def read(self, iprot):
21923
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21924
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21925
      return
21926
    iprot.readStructBegin()
21927
    while True:
21928
      (fname, ftype, fid) = iprot.readFieldBegin()
21929
      if ftype == TType.STOP:
21930
        break
21931
      if fid == 1:
21932
        if ftype == TType.I64:
21933
          self.itemId = iprot.readI64();
21934
        else:
21935
          iprot.skip(ftype)
21936
      elif fid == 2:
6921 anupam.sin 21937
        if ftype == TType.DOUBLE:
21938
          self.price = iprot.readDouble();
21939
        else:
21940
          iprot.skip(ftype)
21941
      elif fid == 3:
6805 anupam.sin 21942
        if ftype == TType.I64:
21943
          self.insurerId = iprot.readI64();
21944
        else:
21945
          iprot.skip(ftype)
6921 anupam.sin 21946
      elif fid == 4:
6805 anupam.sin 21947
        if ftype == TType.I64:
21948
          self.quantity = iprot.readI64();
21949
        else:
21950
          iprot.skip(ftype)
21951
      else:
21952
        iprot.skip(ftype)
21953
      iprot.readFieldEnd()
21954
    iprot.readStructEnd()
21955
 
21956
  def write(self, oprot):
21957
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21958
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21959
      return
21960
    oprot.writeStructBegin('getInsuranceAmount_args')
21961
    if self.itemId is not None:
21962
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21963
      oprot.writeI64(self.itemId)
21964
      oprot.writeFieldEnd()
6921 anupam.sin 21965
    if self.price is not None:
21966
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
21967
      oprot.writeDouble(self.price)
21968
      oprot.writeFieldEnd()
6805 anupam.sin 21969
    if self.insurerId is not None:
6921 anupam.sin 21970
      oprot.writeFieldBegin('insurerId', TType.I64, 3)
6805 anupam.sin 21971
      oprot.writeI64(self.insurerId)
21972
      oprot.writeFieldEnd()
21973
    if self.quantity is not None:
6921 anupam.sin 21974
      oprot.writeFieldBegin('quantity', TType.I64, 4)
6805 anupam.sin 21975
      oprot.writeI64(self.quantity)
21976
      oprot.writeFieldEnd()
21977
    oprot.writeFieldStop()
21978
    oprot.writeStructEnd()
21979
 
21980
  def validate(self):
21981
    return
21982
 
21983
 
21984
  def __repr__(self):
21985
    L = ['%s=%r' % (key, value)
21986
      for key, value in self.__dict__.iteritems()]
21987
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21988
 
21989
  def __eq__(self, other):
21990
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21991
 
21992
  def __ne__(self, other):
21993
    return not (self == other)
21994
 
21995
class getInsuranceAmount_result:
21996
  """
21997
  Attributes:
21998
   - success
21999
  """
22000
 
22001
  thrift_spec = (
22002
    (0, TType.I64, 'success', None, None, ), # 0
22003
  )
22004
 
22005
  def __init__(self, success=None,):
22006
    self.success = success
22007
 
22008
  def read(self, iprot):
22009
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22010
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22011
      return
22012
    iprot.readStructBegin()
22013
    while True:
22014
      (fname, ftype, fid) = iprot.readFieldBegin()
22015
      if ftype == TType.STOP:
22016
        break
22017
      if fid == 0:
22018
        if ftype == TType.I64:
22019
          self.success = iprot.readI64();
22020
        else:
22021
          iprot.skip(ftype)
22022
      else:
22023
        iprot.skip(ftype)
22024
      iprot.readFieldEnd()
22025
    iprot.readStructEnd()
22026
 
22027
  def write(self, oprot):
22028
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22029
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22030
      return
22031
    oprot.writeStructBegin('getInsuranceAmount_result')
22032
    if self.success is not None:
22033
      oprot.writeFieldBegin('success', TType.I64, 0)
22034
      oprot.writeI64(self.success)
22035
      oprot.writeFieldEnd()
22036
    oprot.writeFieldStop()
22037
    oprot.writeStructEnd()
22038
 
22039
  def validate(self):
22040
    return
22041
 
22042
 
22043
  def __repr__(self):
22044
    L = ['%s=%r' % (key, value)
22045
      for key, value in self.__dict__.iteritems()]
22046
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22047
 
22048
  def __eq__(self, other):
22049
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22050
 
22051
  def __ne__(self, other):
22052
    return not (self == other)
22053
 
22054
class getInsurer_args:
22055
  """
22056
  Attributes:
22057
   - insurerId
22058
  """
22059
 
22060
  thrift_spec = (
22061
    None, # 0
22062
    (1, TType.I64, 'insurerId', None, None, ), # 1
22063
  )
22064
 
22065
  def __init__(self, insurerId=None,):
22066
    self.insurerId = insurerId
22067
 
22068
  def read(self, iprot):
22069
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22070
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22071
      return
22072
    iprot.readStructBegin()
22073
    while True:
22074
      (fname, ftype, fid) = iprot.readFieldBegin()
22075
      if ftype == TType.STOP:
22076
        break
22077
      if fid == 1:
22078
        if ftype == TType.I64:
22079
          self.insurerId = iprot.readI64();
22080
        else:
22081
          iprot.skip(ftype)
22082
      else:
22083
        iprot.skip(ftype)
22084
      iprot.readFieldEnd()
22085
    iprot.readStructEnd()
22086
 
22087
  def write(self, oprot):
22088
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22089
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22090
      return
22091
    oprot.writeStructBegin('getInsurer_args')
22092
    if self.insurerId is not None:
22093
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
22094
      oprot.writeI64(self.insurerId)
22095
      oprot.writeFieldEnd()
22096
    oprot.writeFieldStop()
22097
    oprot.writeStructEnd()
22098
 
22099
  def validate(self):
22100
    return
22101
 
22102
 
22103
  def __repr__(self):
22104
    L = ['%s=%r' % (key, value)
22105
      for key, value in self.__dict__.iteritems()]
22106
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22107
 
22108
  def __eq__(self, other):
22109
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22110
 
22111
  def __ne__(self, other):
22112
    return not (self == other)
22113
 
22114
class getInsurer_result:
22115
  """
22116
  Attributes:
22117
   - success
22118
  """
22119
 
22120
  thrift_spec = (
22121
    (0, TType.STRUCT, 'success', (Insurer, Insurer.thrift_spec), None, ), # 0
22122
  )
22123
 
22124
  def __init__(self, success=None,):
22125
    self.success = success
22126
 
22127
  def read(self, iprot):
22128
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22129
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22130
      return
22131
    iprot.readStructBegin()
22132
    while True:
22133
      (fname, ftype, fid) = iprot.readFieldBegin()
22134
      if ftype == TType.STOP:
22135
        break
22136
      if fid == 0:
22137
        if ftype == TType.STRUCT:
22138
          self.success = Insurer()
22139
          self.success.read(iprot)
22140
        else:
22141
          iprot.skip(ftype)
22142
      else:
22143
        iprot.skip(ftype)
22144
      iprot.readFieldEnd()
22145
    iprot.readStructEnd()
22146
 
22147
  def write(self, oprot):
22148
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22149
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22150
      return
22151
    oprot.writeStructBegin('getInsurer_result')
22152
    if self.success is not None:
22153
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
22154
      self.success.write(oprot)
22155
      oprot.writeFieldEnd()
22156
    oprot.writeFieldStop()
22157
    oprot.writeStructEnd()
22158
 
22159
  def validate(self):
22160
    return
22161
 
22162
 
22163
  def __repr__(self):
22164
    L = ['%s=%r' % (key, value)
22165
      for key, value in self.__dict__.iteritems()]
22166
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22167
 
22168
  def __eq__(self, other):
22169
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22170
 
22171
  def __ne__(self, other):
22172
    return not (self == other)
6838 vikram.rag 22173
 
22174
class getAllInsurers_args:
22175
 
22176
  thrift_spec = (
22177
  )
22178
 
22179
  def read(self, iprot):
22180
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22181
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22182
      return
22183
    iprot.readStructBegin()
22184
    while True:
22185
      (fname, ftype, fid) = iprot.readFieldBegin()
22186
      if ftype == TType.STOP:
22187
        break
22188
      else:
22189
        iprot.skip(ftype)
22190
      iprot.readFieldEnd()
22191
    iprot.readStructEnd()
22192
 
22193
  def write(self, oprot):
22194
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22195
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22196
      return
22197
    oprot.writeStructBegin('getAllInsurers_args')
22198
    oprot.writeFieldStop()
22199
    oprot.writeStructEnd()
22200
 
22201
  def validate(self):
22202
    return
22203
 
22204
 
22205
  def __repr__(self):
22206
    L = ['%s=%r' % (key, value)
22207
      for key, value in self.__dict__.iteritems()]
22208
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22209
 
22210
  def __eq__(self, other):
22211
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22212
 
22213
  def __ne__(self, other):
22214
    return not (self == other)
22215
 
22216
class getAllInsurers_result:
22217
  """
22218
  Attributes:
22219
   - success
22220
  """
22221
 
22222
  thrift_spec = (
22223
    (0, TType.LIST, 'success', (TType.STRUCT,(Insurer, Insurer.thrift_spec)), None, ), # 0
22224
  )
22225
 
22226
  def __init__(self, success=None,):
22227
    self.success = success
22228
 
22229
  def read(self, iprot):
22230
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22231
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22232
      return
22233
    iprot.readStructBegin()
22234
    while True:
22235
      (fname, ftype, fid) = iprot.readFieldBegin()
22236
      if ftype == TType.STOP:
22237
        break
22238
      if fid == 0:
22239
        if ftype == TType.LIST:
22240
          self.success = []
18719 kshitij.so 22241
          (_etype418, _size415) = iprot.readListBegin()
22242
          for _i419 in xrange(_size415):
22243
            _elem420 = Insurer()
22244
            _elem420.read(iprot)
22245
            self.success.append(_elem420)
6838 vikram.rag 22246
          iprot.readListEnd()
22247
        else:
22248
          iprot.skip(ftype)
22249
      else:
22250
        iprot.skip(ftype)
22251
      iprot.readFieldEnd()
22252
    iprot.readStructEnd()
22253
 
22254
  def write(self, oprot):
22255
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22256
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22257
      return
22258
    oprot.writeStructBegin('getAllInsurers_result')
22259
    if self.success is not None:
22260
      oprot.writeFieldBegin('success', TType.LIST, 0)
22261
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 22262
      for iter421 in self.success:
22263
        iter421.write(oprot)
6838 vikram.rag 22264
      oprot.writeListEnd()
22265
      oprot.writeFieldEnd()
22266
    oprot.writeFieldStop()
22267
    oprot.writeStructEnd()
22268
 
22269
  def validate(self):
22270
    return
22271
 
22272
 
22273
  def __repr__(self):
22274
    L = ['%s=%r' % (key, value)
22275
      for key, value in self.__dict__.iteritems()]
22276
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22277
 
22278
  def __eq__(self, other):
22279
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22280
 
22281
  def __ne__(self, other):
22282
    return not (self == other)
6962 rajveer 22283
 
22284
class updateInsuranceDeclaredAmount_args:
22285
  """
22286
  Attributes:
22287
   - insurerId
22288
   - amount
22289
  """
22290
 
22291
  thrift_spec = (
22292
    None, # 0
22293
    (1, TType.I64, 'insurerId', None, None, ), # 1
22294
    (2, TType.DOUBLE, 'amount', None, None, ), # 2
22295
  )
22296
 
22297
  def __init__(self, insurerId=None, amount=None,):
22298
    self.insurerId = insurerId
22299
    self.amount = amount
22300
 
22301
  def read(self, iprot):
22302
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22303
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22304
      return
22305
    iprot.readStructBegin()
22306
    while True:
22307
      (fname, ftype, fid) = iprot.readFieldBegin()
22308
      if ftype == TType.STOP:
22309
        break
22310
      if fid == 1:
22311
        if ftype == TType.I64:
22312
          self.insurerId = iprot.readI64();
22313
        else:
22314
          iprot.skip(ftype)
22315
      elif fid == 2:
22316
        if ftype == TType.DOUBLE:
22317
          self.amount = iprot.readDouble();
22318
        else:
22319
          iprot.skip(ftype)
22320
      else:
22321
        iprot.skip(ftype)
22322
      iprot.readFieldEnd()
22323
    iprot.readStructEnd()
22324
 
22325
  def write(self, oprot):
22326
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22327
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22328
      return
22329
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_args')
22330
    if self.insurerId is not None:
22331
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
22332
      oprot.writeI64(self.insurerId)
22333
      oprot.writeFieldEnd()
22334
    if self.amount is not None:
22335
      oprot.writeFieldBegin('amount', TType.DOUBLE, 2)
22336
      oprot.writeDouble(self.amount)
22337
      oprot.writeFieldEnd()
22338
    oprot.writeFieldStop()
22339
    oprot.writeStructEnd()
22340
 
22341
  def validate(self):
22342
    return
22343
 
22344
 
22345
  def __repr__(self):
22346
    L = ['%s=%r' % (key, value)
22347
      for key, value in self.__dict__.iteritems()]
22348
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22349
 
22350
  def __eq__(self, other):
22351
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22352
 
22353
  def __ne__(self, other):
22354
    return not (self == other)
22355
 
22356
class updateInsuranceDeclaredAmount_result:
22357
 
22358
  thrift_spec = (
22359
  )
22360
 
22361
  def read(self, iprot):
22362
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22363
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22364
      return
22365
    iprot.readStructBegin()
22366
    while True:
22367
      (fname, ftype, fid) = iprot.readFieldBegin()
22368
      if ftype == TType.STOP:
22369
        break
22370
      else:
22371
        iprot.skip(ftype)
22372
      iprot.readFieldEnd()
22373
    iprot.readStructEnd()
22374
 
22375
  def write(self, oprot):
22376
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22377
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22378
      return
22379
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_result')
22380
    oprot.writeFieldStop()
22381
    oprot.writeStructEnd()
22382
 
22383
  def validate(self):
22384
    return
22385
 
22386
 
22387
  def __repr__(self):
22388
    L = ['%s=%r' % (key, value)
22389
      for key, value in self.__dict__.iteritems()]
22390
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22391
 
22392
  def __eq__(self, other):
22393
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22394
 
22395
  def __ne__(self, other):
22396
    return not (self == other)
7190 amar.kumar 22397
 
22398
class getFreebieForItem_args:
22399
  """
22400
  Attributes:
22401
   - itemId
22402
  """
22403
 
22404
  thrift_spec = (
22405
    None, # 0
22406
    (1, TType.I64, 'itemId', None, None, ), # 1
22407
  )
22408
 
22409
  def __init__(self, itemId=None,):
22410
    self.itemId = itemId
22411
 
22412
  def read(self, iprot):
22413
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22414
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22415
      return
22416
    iprot.readStructBegin()
22417
    while True:
22418
      (fname, ftype, fid) = iprot.readFieldBegin()
22419
      if ftype == TType.STOP:
22420
        break
22421
      if fid == 1:
22422
        if ftype == TType.I64:
22423
          self.itemId = iprot.readI64();
22424
        else:
22425
          iprot.skip(ftype)
22426
      else:
22427
        iprot.skip(ftype)
22428
      iprot.readFieldEnd()
22429
    iprot.readStructEnd()
22430
 
22431
  def write(self, oprot):
22432
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22433
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22434
      return
22435
    oprot.writeStructBegin('getFreebieForItem_args')
22436
    if self.itemId is not None:
22437
      oprot.writeFieldBegin('itemId', TType.I64, 1)
22438
      oprot.writeI64(self.itemId)
22439
      oprot.writeFieldEnd()
22440
    oprot.writeFieldStop()
22441
    oprot.writeStructEnd()
22442
 
22443
  def validate(self):
22444
    return
22445
 
22446
 
22447
  def __repr__(self):
22448
    L = ['%s=%r' % (key, value)
22449
      for key, value in self.__dict__.iteritems()]
22450
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22451
 
22452
  def __eq__(self, other):
22453
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22454
 
22455
  def __ne__(self, other):
22456
    return not (self == other)
22457
 
22458
class getFreebieForItem_result:
22459
  """
22460
  Attributes:
22461
   - success
22462
  """
22463
 
22464
  thrift_spec = (
22465
    (0, TType.I64, 'success', None, None, ), # 0
22466
  )
22467
 
22468
  def __init__(self, success=None,):
22469
    self.success = success
22470
 
22471
  def read(self, iprot):
22472
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22473
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22474
      return
22475
    iprot.readStructBegin()
22476
    while True:
22477
      (fname, ftype, fid) = iprot.readFieldBegin()
22478
      if ftype == TType.STOP:
22479
        break
22480
      if fid == 0:
22481
        if ftype == TType.I64:
22482
          self.success = iprot.readI64();
22483
        else:
22484
          iprot.skip(ftype)
22485
      else:
22486
        iprot.skip(ftype)
22487
      iprot.readFieldEnd()
22488
    iprot.readStructEnd()
22489
 
22490
  def write(self, oprot):
22491
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22492
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22493
      return
22494
    oprot.writeStructBegin('getFreebieForItem_result')
22495
    if self.success is not None:
22496
      oprot.writeFieldBegin('success', TType.I64, 0)
22497
      oprot.writeI64(self.success)
22498
      oprot.writeFieldEnd()
22499
    oprot.writeFieldStop()
22500
    oprot.writeStructEnd()
22501
 
22502
  def validate(self):
22503
    return
22504
 
22505
 
22506
  def __repr__(self):
22507
    L = ['%s=%r' % (key, value)
22508
      for key, value in self.__dict__.iteritems()]
22509
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22510
 
22511
  def __eq__(self, other):
22512
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22513
 
22514
  def __ne__(self, other):
22515
    return not (self == other)
22516
 
22517
class addOrUpdateFreebieForItem_args:
22518
  """
22519
  Attributes:
22520
   - freebieItem
22521
  """
22522
 
22523
  thrift_spec = (
22524
    None, # 0
22525
    (1, TType.STRUCT, 'freebieItem', (FreebieItem, FreebieItem.thrift_spec), None, ), # 1
22526
  )
22527
 
22528
  def __init__(self, freebieItem=None,):
22529
    self.freebieItem = freebieItem
22530
 
22531
  def read(self, iprot):
22532
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22533
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22534
      return
22535
    iprot.readStructBegin()
22536
    while True:
22537
      (fname, ftype, fid) = iprot.readFieldBegin()
22538
      if ftype == TType.STOP:
22539
        break
22540
      if fid == 1:
22541
        if ftype == TType.STRUCT:
22542
          self.freebieItem = FreebieItem()
22543
          self.freebieItem.read(iprot)
22544
        else:
22545
          iprot.skip(ftype)
22546
      else:
22547
        iprot.skip(ftype)
22548
      iprot.readFieldEnd()
22549
    iprot.readStructEnd()
22550
 
22551
  def write(self, oprot):
22552
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22553
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22554
      return
22555
    oprot.writeStructBegin('addOrUpdateFreebieForItem_args')
22556
    if self.freebieItem is not None:
22557
      oprot.writeFieldBegin('freebieItem', TType.STRUCT, 1)
22558
      self.freebieItem.write(oprot)
22559
      oprot.writeFieldEnd()
22560
    oprot.writeFieldStop()
22561
    oprot.writeStructEnd()
22562
 
22563
  def validate(self):
22564
    return
22565
 
22566
 
22567
  def __repr__(self):
22568
    L = ['%s=%r' % (key, value)
22569
      for key, value in self.__dict__.iteritems()]
22570
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22571
 
22572
  def __eq__(self, other):
22573
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22574
 
22575
  def __ne__(self, other):
22576
    return not (self == other)
22577
 
22578
class addOrUpdateFreebieForItem_result:
22579
 
22580
  thrift_spec = (
22581
  )
22582
 
22583
  def read(self, iprot):
22584
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22585
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22586
      return
22587
    iprot.readStructBegin()
22588
    while True:
22589
      (fname, ftype, fid) = iprot.readFieldBegin()
22590
      if ftype == TType.STOP:
22591
        break
22592
      else:
22593
        iprot.skip(ftype)
22594
      iprot.readFieldEnd()
22595
    iprot.readStructEnd()
22596
 
22597
  def write(self, oprot):
22598
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22599
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22600
      return
22601
    oprot.writeStructBegin('addOrUpdateFreebieForItem_result')
22602
    oprot.writeFieldStop()
22603
    oprot.writeStructEnd()
22604
 
22605
  def validate(self):
22606
    return
22607
 
22608
 
22609
  def __repr__(self):
22610
    L = ['%s=%r' % (key, value)
22611
      for key, value in self.__dict__.iteritems()]
22612
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22613
 
22614
  def __eq__(self, other):
22615
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22616
 
22617
  def __ne__(self, other):
22618
    return not (self == other)
7256 rajveer 22619
 
7272 amit.gupta 22620
class addOrUpdateBrandInfo_args:
22621
  """
22622
  Attributes:
22623
   - brandInfo
22624
  """
22625
 
22626
  thrift_spec = (
22627
    None, # 0
22628
    (1, TType.STRUCT, 'brandInfo', (BrandInfo, BrandInfo.thrift_spec), None, ), # 1
22629
  )
22630
 
22631
  def __init__(self, brandInfo=None,):
22632
    self.brandInfo = brandInfo
22633
 
22634
  def read(self, iprot):
22635
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22636
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22637
      return
22638
    iprot.readStructBegin()
22639
    while True:
22640
      (fname, ftype, fid) = iprot.readFieldBegin()
22641
      if ftype == TType.STOP:
22642
        break
22643
      if fid == 1:
22644
        if ftype == TType.STRUCT:
22645
          self.brandInfo = BrandInfo()
22646
          self.brandInfo.read(iprot)
22647
        else:
22648
          iprot.skip(ftype)
22649
      else:
22650
        iprot.skip(ftype)
22651
      iprot.readFieldEnd()
22652
    iprot.readStructEnd()
22653
 
22654
  def write(self, oprot):
22655
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22656
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22657
      return
22658
    oprot.writeStructBegin('addOrUpdateBrandInfo_args')
22659
    if self.brandInfo is not None:
22660
      oprot.writeFieldBegin('brandInfo', TType.STRUCT, 1)
22661
      self.brandInfo.write(oprot)
22662
      oprot.writeFieldEnd()
22663
    oprot.writeFieldStop()
22664
    oprot.writeStructEnd()
22665
 
22666
  def validate(self):
22667
    return
22668
 
22669
 
22670
  def __repr__(self):
22671
    L = ['%s=%r' % (key, value)
22672
      for key, value in self.__dict__.iteritems()]
22673
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22674
 
22675
  def __eq__(self, other):
22676
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22677
 
22678
  def __ne__(self, other):
22679
    return not (self == other)
22680
 
22681
class addOrUpdateBrandInfo_result:
22682
 
22683
  thrift_spec = (
22684
  )
22685
 
22686
  def read(self, iprot):
22687
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22688
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22689
      return
22690
    iprot.readStructBegin()
22691
    while True:
22692
      (fname, ftype, fid) = iprot.readFieldBegin()
22693
      if ftype == TType.STOP:
22694
        break
22695
      else:
22696
        iprot.skip(ftype)
22697
      iprot.readFieldEnd()
22698
    iprot.readStructEnd()
22699
 
22700
  def write(self, oprot):
22701
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22702
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22703
      return
22704
    oprot.writeStructBegin('addOrUpdateBrandInfo_result')
22705
    oprot.writeFieldStop()
22706
    oprot.writeStructEnd()
22707
 
22708
  def validate(self):
22709
    return
22710
 
22711
 
22712
  def __repr__(self):
22713
    L = ['%s=%r' % (key, value)
22714
      for key, value in self.__dict__.iteritems()]
22715
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22716
 
22717
  def __eq__(self, other):
22718
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22719
 
22720
  def __ne__(self, other):
22721
    return not (self == other)
22722
 
22723
class getBrandInfo_args:
22724
 
22725
  thrift_spec = (
22726
  )
22727
 
22728
  def read(self, iprot):
22729
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22730
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22731
      return
22732
    iprot.readStructBegin()
22733
    while True:
22734
      (fname, ftype, fid) = iprot.readFieldBegin()
22735
      if ftype == TType.STOP:
22736
        break
22737
      else:
22738
        iprot.skip(ftype)
22739
      iprot.readFieldEnd()
22740
    iprot.readStructEnd()
22741
 
22742
  def write(self, oprot):
22743
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22744
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22745
      return
22746
    oprot.writeStructBegin('getBrandInfo_args')
22747
    oprot.writeFieldStop()
22748
    oprot.writeStructEnd()
22749
 
22750
  def validate(self):
22751
    return
22752
 
22753
 
22754
  def __repr__(self):
22755
    L = ['%s=%r' % (key, value)
22756
      for key, value in self.__dict__.iteritems()]
22757
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22758
 
22759
  def __eq__(self, other):
22760
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22761
 
22762
  def __ne__(self, other):
22763
    return not (self == other)
22764
 
22765
class getBrandInfo_result:
22766
  """
22767
  Attributes:
22768
   - success
22769
  """
22770
 
22771
  thrift_spec = (
22772
    (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(BrandInfo, BrandInfo.thrift_spec)), None, ), # 0
22773
  )
22774
 
22775
  def __init__(self, success=None,):
22776
    self.success = success
22777
 
22778
  def read(self, iprot):
22779
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22780
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22781
      return
22782
    iprot.readStructBegin()
22783
    while True:
22784
      (fname, ftype, fid) = iprot.readFieldBegin()
22785
      if ftype == TType.STOP:
22786
        break
22787
      if fid == 0:
22788
        if ftype == TType.MAP:
22789
          self.success = {}
18719 kshitij.so 22790
          (_ktype423, _vtype424, _size422 ) = iprot.readMapBegin() 
22791
          for _i426 in xrange(_size422):
22792
            _key427 = iprot.readString();
22793
            _val428 = BrandInfo()
22794
            _val428.read(iprot)
22795
            self.success[_key427] = _val428
7272 amit.gupta 22796
          iprot.readMapEnd()
22797
        else:
22798
          iprot.skip(ftype)
22799
      else:
22800
        iprot.skip(ftype)
22801
      iprot.readFieldEnd()
22802
    iprot.readStructEnd()
22803
 
22804
  def write(self, oprot):
22805
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22806
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22807
      return
22808
    oprot.writeStructBegin('getBrandInfo_result')
22809
    if self.success is not None:
22810
      oprot.writeFieldBegin('success', TType.MAP, 0)
22811
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
18719 kshitij.so 22812
      for kiter429,viter430 in self.success.items():
22813
        oprot.writeString(kiter429)
22814
        viter430.write(oprot)
7272 amit.gupta 22815
      oprot.writeMapEnd()
22816
      oprot.writeFieldEnd()
22817
    oprot.writeFieldStop()
22818
    oprot.writeStructEnd()
22819
 
22820
  def validate(self):
22821
    return
22822
 
22823
 
22824
  def __repr__(self):
22825
    L = ['%s=%r' % (key, value)
22826
      for key, value in self.__dict__.iteritems()]
22827
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22828
 
22829
  def __eq__(self, other):
22830
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22831
 
22832
  def __ne__(self, other):
22833
    return not (self == other)
22834
 
7256 rajveer 22835
class getStorePricing_args:
22836
  """
22837
  Attributes:
22838
   - itemId
22839
  """
22840
 
22841
  thrift_spec = (
22842
    None, # 0
22843
    (1, TType.I64, 'itemId', None, None, ), # 1
22844
  )
22845
 
22846
  def __init__(self, itemId=None,):
22847
    self.itemId = itemId
22848
 
22849
  def read(self, iprot):
22850
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22851
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22852
      return
22853
    iprot.readStructBegin()
22854
    while True:
22855
      (fname, ftype, fid) = iprot.readFieldBegin()
22856
      if ftype == TType.STOP:
22857
        break
22858
      if fid == 1:
22859
        if ftype == TType.I64:
22860
          self.itemId = iprot.readI64();
22861
        else:
22862
          iprot.skip(ftype)
22863
      else:
22864
        iprot.skip(ftype)
22865
      iprot.readFieldEnd()
22866
    iprot.readStructEnd()
22867
 
22868
  def write(self, oprot):
22869
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22870
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22871
      return
22872
    oprot.writeStructBegin('getStorePricing_args')
22873
    if self.itemId is not None:
22874
      oprot.writeFieldBegin('itemId', TType.I64, 1)
22875
      oprot.writeI64(self.itemId)
22876
      oprot.writeFieldEnd()
22877
    oprot.writeFieldStop()
22878
    oprot.writeStructEnd()
22879
 
22880
  def validate(self):
22881
    return
22882
 
22883
 
22884
  def __repr__(self):
22885
    L = ['%s=%r' % (key, value)
22886
      for key, value in self.__dict__.iteritems()]
22887
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22888
 
22889
  def __eq__(self, other):
22890
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22891
 
22892
  def __ne__(self, other):
22893
    return not (self == other)
22894
 
22895
class getStorePricing_result:
22896
  """
22897
  Attributes:
22898
   - success
22899
  """
22900
 
22901
  thrift_spec = (
22902
    (0, TType.STRUCT, 'success', (StorePricing, StorePricing.thrift_spec), None, ), # 0
22903
  )
22904
 
22905
  def __init__(self, success=None,):
22906
    self.success = success
22907
 
22908
  def read(self, iprot):
22909
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22910
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22911
      return
22912
    iprot.readStructBegin()
22913
    while True:
22914
      (fname, ftype, fid) = iprot.readFieldBegin()
22915
      if ftype == TType.STOP:
22916
        break
22917
      if fid == 0:
22918
        if ftype == TType.STRUCT:
22919
          self.success = StorePricing()
22920
          self.success.read(iprot)
22921
        else:
22922
          iprot.skip(ftype)
22923
      else:
22924
        iprot.skip(ftype)
22925
      iprot.readFieldEnd()
22926
    iprot.readStructEnd()
22927
 
22928
  def write(self, oprot):
22929
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22930
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22931
      return
22932
    oprot.writeStructBegin('getStorePricing_result')
22933
    if self.success is not None:
22934
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
22935
      self.success.write(oprot)
22936
      oprot.writeFieldEnd()
22937
    oprot.writeFieldStop()
22938
    oprot.writeStructEnd()
22939
 
22940
  def validate(self):
22941
    return
22942
 
22943
 
22944
  def __repr__(self):
22945
    L = ['%s=%r' % (key, value)
22946
      for key, value in self.__dict__.iteritems()]
22947
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22948
 
22949
  def __eq__(self, other):
22950
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22951
 
22952
  def __ne__(self, other):
22953
    return not (self == other)
7265 rajveer 22954
 
7306 rajveer 22955
class getStorePricings_args:
22956
  """
22957
  Attributes:
22958
   - itemIds
22959
  """
22960
 
22961
  thrift_spec = (
22962
    None, # 0
22963
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
22964
  )
22965
 
22966
  def __init__(self, itemIds=None,):
22967
    self.itemIds = itemIds
22968
 
22969
  def read(self, iprot):
22970
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22971
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22972
      return
22973
    iprot.readStructBegin()
22974
    while True:
22975
      (fname, ftype, fid) = iprot.readFieldBegin()
22976
      if ftype == TType.STOP:
22977
        break
22978
      if fid == 1:
22979
        if ftype == TType.LIST:
22980
          self.itemIds = []
18719 kshitij.so 22981
          (_etype434, _size431) = iprot.readListBegin()
22982
          for _i435 in xrange(_size431):
22983
            _elem436 = iprot.readI64();
22984
            self.itemIds.append(_elem436)
7306 rajveer 22985
          iprot.readListEnd()
22986
        else:
22987
          iprot.skip(ftype)
22988
      else:
22989
        iprot.skip(ftype)
22990
      iprot.readFieldEnd()
22991
    iprot.readStructEnd()
22992
 
22993
  def write(self, oprot):
22994
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22995
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22996
      return
22997
    oprot.writeStructBegin('getStorePricings_args')
22998
    if self.itemIds is not None:
22999
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
23000
      oprot.writeListBegin(TType.I64, len(self.itemIds))
18719 kshitij.so 23001
      for iter437 in self.itemIds:
23002
        oprot.writeI64(iter437)
7306 rajveer 23003
      oprot.writeListEnd()
23004
      oprot.writeFieldEnd()
23005
    oprot.writeFieldStop()
23006
    oprot.writeStructEnd()
23007
 
23008
  def validate(self):
23009
    return
23010
 
23011
 
23012
  def __repr__(self):
23013
    L = ['%s=%r' % (key, value)
23014
      for key, value in self.__dict__.iteritems()]
23015
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23016
 
23017
  def __eq__(self, other):
23018
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23019
 
23020
  def __ne__(self, other):
23021
    return not (self == other)
23022
 
23023
class getStorePricings_result:
23024
  """
23025
  Attributes:
23026
   - success
23027
  """
23028
 
23029
  thrift_spec = (
23030
    (0, TType.LIST, 'success', (TType.STRUCT,(StorePricing, StorePricing.thrift_spec)), None, ), # 0
23031
  )
23032
 
23033
  def __init__(self, success=None,):
23034
    self.success = success
23035
 
23036
  def read(self, iprot):
23037
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23038
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23039
      return
23040
    iprot.readStructBegin()
23041
    while True:
23042
      (fname, ftype, fid) = iprot.readFieldBegin()
23043
      if ftype == TType.STOP:
23044
        break
23045
      if fid == 0:
23046
        if ftype == TType.LIST:
23047
          self.success = []
18719 kshitij.so 23048
          (_etype441, _size438) = iprot.readListBegin()
23049
          for _i442 in xrange(_size438):
23050
            _elem443 = StorePricing()
23051
            _elem443.read(iprot)
23052
            self.success.append(_elem443)
7306 rajveer 23053
          iprot.readListEnd()
23054
        else:
23055
          iprot.skip(ftype)
23056
      else:
23057
        iprot.skip(ftype)
23058
      iprot.readFieldEnd()
23059
    iprot.readStructEnd()
23060
 
23061
  def write(self, oprot):
23062
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23063
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23064
      return
23065
    oprot.writeStructBegin('getStorePricings_result')
23066
    if self.success is not None:
23067
      oprot.writeFieldBegin('success', TType.LIST, 0)
23068
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 23069
      for iter444 in self.success:
23070
        iter444.write(oprot)
7306 rajveer 23071
      oprot.writeListEnd()
23072
      oprot.writeFieldEnd()
23073
    oprot.writeFieldStop()
23074
    oprot.writeStructEnd()
23075
 
23076
  def validate(self):
23077
    return
23078
 
23079
 
23080
  def __repr__(self):
23081
    L = ['%s=%r' % (key, value)
23082
      for key, value in self.__dict__.iteritems()]
23083
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23084
 
23085
  def __eq__(self, other):
23086
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23087
 
23088
  def __ne__(self, other):
23089
    return not (self == other)
23090
 
7265 rajveer 23091
class updateStorePricing_args:
23092
  """
23093
  Attributes:
23094
   - sp
7382 rajveer 23095
   - allColors
7265 rajveer 23096
  """
23097
 
23098
  thrift_spec = (
23099
    None, # 0
23100
    (1, TType.STRUCT, 'sp', (StorePricing, StorePricing.thrift_spec), None, ), # 1
7382 rajveer 23101
    (2, TType.BOOL, 'allColors', None, None, ), # 2
7265 rajveer 23102
  )
23103
 
7382 rajveer 23104
  def __init__(self, sp=None, allColors=None,):
7265 rajveer 23105
    self.sp = sp
7382 rajveer 23106
    self.allColors = allColors
7265 rajveer 23107
 
23108
  def read(self, iprot):
23109
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23110
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23111
      return
23112
    iprot.readStructBegin()
23113
    while True:
23114
      (fname, ftype, fid) = iprot.readFieldBegin()
23115
      if ftype == TType.STOP:
23116
        break
23117
      if fid == 1:
23118
        if ftype == TType.STRUCT:
23119
          self.sp = StorePricing()
23120
          self.sp.read(iprot)
23121
        else:
23122
          iprot.skip(ftype)
7382 rajveer 23123
      elif fid == 2:
23124
        if ftype == TType.BOOL:
23125
          self.allColors = iprot.readBool();
23126
        else:
23127
          iprot.skip(ftype)
7265 rajveer 23128
      else:
23129
        iprot.skip(ftype)
23130
      iprot.readFieldEnd()
23131
    iprot.readStructEnd()
23132
 
23133
  def write(self, oprot):
23134
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23135
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23136
      return
23137
    oprot.writeStructBegin('updateStorePricing_args')
23138
    if self.sp is not None:
23139
      oprot.writeFieldBegin('sp', TType.STRUCT, 1)
23140
      self.sp.write(oprot)
23141
      oprot.writeFieldEnd()
7382 rajveer 23142
    if self.allColors is not None:
23143
      oprot.writeFieldBegin('allColors', TType.BOOL, 2)
23144
      oprot.writeBool(self.allColors)
23145
      oprot.writeFieldEnd()
7265 rajveer 23146
    oprot.writeFieldStop()
23147
    oprot.writeStructEnd()
23148
 
23149
  def validate(self):
23150
    return
23151
 
23152
 
23153
  def __repr__(self):
23154
    L = ['%s=%r' % (key, value)
23155
      for key, value in self.__dict__.iteritems()]
23156
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23157
 
23158
  def __eq__(self, other):
23159
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23160
 
23161
  def __ne__(self, other):
23162
    return not (self == other)
23163
 
23164
class updateStorePricing_result:
23165
 
23166
  thrift_spec = (
23167
  )
23168
 
23169
  def read(self, iprot):
23170
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23171
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23172
      return
23173
    iprot.readStructBegin()
23174
    while True:
23175
      (fname, ftype, fid) = iprot.readFieldBegin()
23176
      if ftype == TType.STOP:
23177
        break
23178
      else:
23179
        iprot.skip(ftype)
23180
      iprot.readFieldEnd()
23181
    iprot.readStructEnd()
23182
 
23183
  def write(self, oprot):
23184
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23185
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23186
      return
23187
    oprot.writeStructBegin('updateStorePricing_result')
23188
    oprot.writeFieldStop()
23189
    oprot.writeStructEnd()
23190
 
23191
  def validate(self):
23192
    return
23193
 
23194
 
23195
  def __repr__(self):
23196
    L = ['%s=%r' % (key, value)
23197
      for key, value in self.__dict__.iteritems()]
23198
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23199
 
23200
  def __eq__(self, other):
23201
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23202
 
23203
  def __ne__(self, other):
23204
    return not (self == other)
7281 kshitij.so 23205
 
23206
class getAllAmazonListedItems_args:
23207
 
23208
  thrift_spec = (
23209
  )
23210
 
23211
  def read(self, iprot):
23212
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23213
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23214
      return
23215
    iprot.readStructBegin()
23216
    while True:
23217
      (fname, ftype, fid) = iprot.readFieldBegin()
23218
      if ftype == TType.STOP:
23219
        break
23220
      else:
23221
        iprot.skip(ftype)
23222
      iprot.readFieldEnd()
23223
    iprot.readStructEnd()
23224
 
23225
  def write(self, oprot):
23226
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23227
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23228
      return
23229
    oprot.writeStructBegin('getAllAmazonListedItems_args')
23230
    oprot.writeFieldStop()
23231
    oprot.writeStructEnd()
23232
 
23233
  def validate(self):
23234
    return
23235
 
23236
 
23237
  def __repr__(self):
23238
    L = ['%s=%r' % (key, value)
23239
      for key, value in self.__dict__.iteritems()]
23240
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23241
 
23242
  def __eq__(self, other):
23243
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23244
 
23245
  def __ne__(self, other):
23246
    return not (self == other)
23247
 
23248
class getAllAmazonListedItems_result:
23249
  """
23250
  Attributes:
23251
   - success
23252
  """
23253
 
23254
  thrift_spec = (
23255
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23256
  )
23257
 
23258
  def __init__(self, success=None,):
23259
    self.success = success
23260
 
23261
  def read(self, iprot):
23262
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23263
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23264
      return
23265
    iprot.readStructBegin()
23266
    while True:
23267
      (fname, ftype, fid) = iprot.readFieldBegin()
23268
      if ftype == TType.STOP:
23269
        break
23270
      if fid == 0:
23271
        if ftype == TType.LIST:
23272
          self.success = []
18719 kshitij.so 23273
          (_etype448, _size445) = iprot.readListBegin()
23274
          for _i449 in xrange(_size445):
23275
            _elem450 = Amazonlisted()
23276
            _elem450.read(iprot)
23277
            self.success.append(_elem450)
7281 kshitij.so 23278
          iprot.readListEnd()
23279
        else:
23280
          iprot.skip(ftype)
23281
      else:
23282
        iprot.skip(ftype)
23283
      iprot.readFieldEnd()
23284
    iprot.readStructEnd()
23285
 
23286
  def write(self, oprot):
23287
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23288
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23289
      return
23290
    oprot.writeStructBegin('getAllAmazonListedItems_result')
23291
    if self.success is not None:
23292
      oprot.writeFieldBegin('success', TType.LIST, 0)
23293
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 23294
      for iter451 in self.success:
23295
        iter451.write(oprot)
7281 kshitij.so 23296
      oprot.writeListEnd()
23297
      oprot.writeFieldEnd()
23298
    oprot.writeFieldStop()
23299
    oprot.writeStructEnd()
23300
 
23301
  def validate(self):
23302
    return
23303
 
23304
 
23305
  def __repr__(self):
23306
    L = ['%s=%r' % (key, value)
23307
      for key, value in self.__dict__.iteritems()]
23308
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23309
 
23310
  def __eq__(self, other):
23311
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23312
 
23313
  def __ne__(self, other):
23314
    return not (self == other)
23315
 
8619 kshitij.so 23316
class searchAmazonItems_args:
23317
  """
23318
  Attributes:
23319
   - searchTerm
23320
   - offset
23321
   - limit
23322
  """
23323
 
23324
  thrift_spec = (
23325
    None, # 0
23326
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
23327
    (2, TType.I64, 'offset', None, None, ), # 2
23328
    (3, TType.I64, 'limit', None, None, ), # 3
23329
  )
23330
 
23331
  def __init__(self, searchTerm=None, offset=None, limit=None,):
23332
    self.searchTerm = searchTerm
23333
    self.offset = offset
23334
    self.limit = limit
23335
 
23336
  def read(self, iprot):
23337
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23338
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23339
      return
23340
    iprot.readStructBegin()
23341
    while True:
23342
      (fname, ftype, fid) = iprot.readFieldBegin()
23343
      if ftype == TType.STOP:
23344
        break
23345
      if fid == 1:
23346
        if ftype == TType.LIST:
23347
          self.searchTerm = []
18719 kshitij.so 23348
          (_etype455, _size452) = iprot.readListBegin()
23349
          for _i456 in xrange(_size452):
23350
            _elem457 = iprot.readString();
23351
            self.searchTerm.append(_elem457)
8619 kshitij.so 23352
          iprot.readListEnd()
23353
        else:
23354
          iprot.skip(ftype)
23355
      elif fid == 2:
23356
        if ftype == TType.I64:
23357
          self.offset = iprot.readI64();
23358
        else:
23359
          iprot.skip(ftype)
23360
      elif fid == 3:
23361
        if ftype == TType.I64:
23362
          self.limit = iprot.readI64();
23363
        else:
23364
          iprot.skip(ftype)
23365
      else:
23366
        iprot.skip(ftype)
23367
      iprot.readFieldEnd()
23368
    iprot.readStructEnd()
23369
 
23370
  def write(self, oprot):
23371
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23372
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23373
      return
23374
    oprot.writeStructBegin('searchAmazonItems_args')
23375
    if self.searchTerm is not None:
23376
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
23377
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
18719 kshitij.so 23378
      for iter458 in self.searchTerm:
23379
        oprot.writeString(iter458)
8619 kshitij.so 23380
      oprot.writeListEnd()
23381
      oprot.writeFieldEnd()
23382
    if self.offset is not None:
23383
      oprot.writeFieldBegin('offset', TType.I64, 2)
23384
      oprot.writeI64(self.offset)
23385
      oprot.writeFieldEnd()
23386
    if self.limit is not None:
23387
      oprot.writeFieldBegin('limit', TType.I64, 3)
23388
      oprot.writeI64(self.limit)
23389
      oprot.writeFieldEnd()
23390
    oprot.writeFieldStop()
23391
    oprot.writeStructEnd()
23392
 
23393
  def validate(self):
23394
    return
23395
 
23396
 
23397
  def __repr__(self):
23398
    L = ['%s=%r' % (key, value)
23399
      for key, value in self.__dict__.iteritems()]
23400
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23401
 
23402
  def __eq__(self, other):
23403
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23404
 
23405
  def __ne__(self, other):
23406
    return not (self == other)
23407
 
23408
class searchAmazonItems_result:
23409
  """
23410
  Attributes:
23411
   - success
23412
  """
23413
 
23414
  thrift_spec = (
23415
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23416
  )
23417
 
23418
  def __init__(self, success=None,):
23419
    self.success = success
23420
 
23421
  def read(self, iprot):
23422
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23423
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23424
      return
23425
    iprot.readStructBegin()
23426
    while True:
23427
      (fname, ftype, fid) = iprot.readFieldBegin()
23428
      if ftype == TType.STOP:
23429
        break
23430
      if fid == 0:
23431
        if ftype == TType.LIST:
23432
          self.success = []
18719 kshitij.so 23433
          (_etype462, _size459) = iprot.readListBegin()
23434
          for _i463 in xrange(_size459):
23435
            _elem464 = Amazonlisted()
23436
            _elem464.read(iprot)
23437
            self.success.append(_elem464)
8619 kshitij.so 23438
          iprot.readListEnd()
23439
        else:
23440
          iprot.skip(ftype)
23441
      else:
23442
        iprot.skip(ftype)
23443
      iprot.readFieldEnd()
23444
    iprot.readStructEnd()
23445
 
23446
  def write(self, oprot):
23447
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23448
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23449
      return
23450
    oprot.writeStructBegin('searchAmazonItems_result')
23451
    if self.success is not None:
23452
      oprot.writeFieldBegin('success', TType.LIST, 0)
23453
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 23454
      for iter465 in self.success:
23455
        iter465.write(oprot)
8619 kshitij.so 23456
      oprot.writeListEnd()
23457
      oprot.writeFieldEnd()
23458
    oprot.writeFieldStop()
23459
    oprot.writeStructEnd()
23460
 
23461
  def validate(self):
23462
    return
23463
 
23464
 
23465
  def __repr__(self):
23466
    L = ['%s=%r' % (key, value)
23467
      for key, value in self.__dict__.iteritems()]
23468
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23469
 
23470
  def __eq__(self, other):
23471
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23472
 
23473
  def __ne__(self, other):
23474
    return not (self == other)
23475
 
23476
class getAmazonSearchResultCount_args:
23477
  """
23478
  Attributes:
23479
   - searchTerm
23480
  """
23481
 
23482
  thrift_spec = (
23483
    None, # 0
23484
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
23485
  )
23486
 
23487
  def __init__(self, searchTerm=None,):
23488
    self.searchTerm = searchTerm
23489
 
23490
  def read(self, iprot):
23491
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23492
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23493
      return
23494
    iprot.readStructBegin()
23495
    while True:
23496
      (fname, ftype, fid) = iprot.readFieldBegin()
23497
      if ftype == TType.STOP:
23498
        break
23499
      if fid == 1:
23500
        if ftype == TType.LIST:
23501
          self.searchTerm = []
18719 kshitij.so 23502
          (_etype469, _size466) = iprot.readListBegin()
23503
          for _i470 in xrange(_size466):
23504
            _elem471 = iprot.readString();
23505
            self.searchTerm.append(_elem471)
8619 kshitij.so 23506
          iprot.readListEnd()
23507
        else:
23508
          iprot.skip(ftype)
23509
      else:
23510
        iprot.skip(ftype)
23511
      iprot.readFieldEnd()
23512
    iprot.readStructEnd()
23513
 
23514
  def write(self, oprot):
23515
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23516
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23517
      return
23518
    oprot.writeStructBegin('getAmazonSearchResultCount_args')
23519
    if self.searchTerm is not None:
23520
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
23521
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
18719 kshitij.so 23522
      for iter472 in self.searchTerm:
23523
        oprot.writeString(iter472)
8619 kshitij.so 23524
      oprot.writeListEnd()
23525
      oprot.writeFieldEnd()
23526
    oprot.writeFieldStop()
23527
    oprot.writeStructEnd()
23528
 
23529
  def validate(self):
23530
    return
23531
 
23532
 
23533
  def __repr__(self):
23534
    L = ['%s=%r' % (key, value)
23535
      for key, value in self.__dict__.iteritems()]
23536
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23537
 
23538
  def __eq__(self, other):
23539
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23540
 
23541
  def __ne__(self, other):
23542
    return not (self == other)
23543
 
23544
class getAmazonSearchResultCount_result:
23545
  """
23546
  Attributes:
23547
   - success
23548
  """
23549
 
23550
  thrift_spec = (
23551
    (0, TType.I64, 'success', None, None, ), # 0
23552
  )
23553
 
23554
  def __init__(self, success=None,):
23555
    self.success = success
23556
 
23557
  def read(self, iprot):
23558
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23559
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23560
      return
23561
    iprot.readStructBegin()
23562
    while True:
23563
      (fname, ftype, fid) = iprot.readFieldBegin()
23564
      if ftype == TType.STOP:
23565
        break
23566
      if fid == 0:
23567
        if ftype == TType.I64:
23568
          self.success = iprot.readI64();
23569
        else:
23570
          iprot.skip(ftype)
23571
      else:
23572
        iprot.skip(ftype)
23573
      iprot.readFieldEnd()
23574
    iprot.readStructEnd()
23575
 
23576
  def write(self, oprot):
23577
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23578
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23579
      return
23580
    oprot.writeStructBegin('getAmazonSearchResultCount_result')
23581
    if self.success is not None:
23582
      oprot.writeFieldBegin('success', TType.I64, 0)
23583
      oprot.writeI64(self.success)
23584
      oprot.writeFieldEnd()
23585
    oprot.writeFieldStop()
23586
    oprot.writeStructEnd()
23587
 
23588
  def validate(self):
23589
    return
23590
 
23591
 
23592
  def __repr__(self):
23593
    L = ['%s=%r' % (key, value)
23594
      for key, value in self.__dict__.iteritems()]
23595
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23596
 
23597
  def __eq__(self, other):
23598
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23599
 
23600
  def __ne__(self, other):
23601
    return not (self == other)
23602
 
23603
class getCountForAmazonlistedItems_args:
23604
 
23605
  thrift_spec = (
23606
  )
23607
 
23608
  def read(self, iprot):
23609
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23610
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23611
      return
23612
    iprot.readStructBegin()
23613
    while True:
23614
      (fname, ftype, fid) = iprot.readFieldBegin()
23615
      if ftype == TType.STOP:
23616
        break
23617
      else:
23618
        iprot.skip(ftype)
23619
      iprot.readFieldEnd()
23620
    iprot.readStructEnd()
23621
 
23622
  def write(self, oprot):
23623
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23624
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23625
      return
23626
    oprot.writeStructBegin('getCountForAmazonlistedItems_args')
23627
    oprot.writeFieldStop()
23628
    oprot.writeStructEnd()
23629
 
23630
  def validate(self):
23631
    return
23632
 
23633
 
23634
  def __repr__(self):
23635
    L = ['%s=%r' % (key, value)
23636
      for key, value in self.__dict__.iteritems()]
23637
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23638
 
23639
  def __eq__(self, other):
23640
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23641
 
23642
  def __ne__(self, other):
23643
    return not (self == other)
23644
 
23645
class getCountForAmazonlistedItems_result:
23646
  """
23647
  Attributes:
23648
   - success
23649
  """
23650
 
23651
  thrift_spec = (
23652
    (0, TType.I64, 'success', None, None, ), # 0
23653
  )
23654
 
23655
  def __init__(self, success=None,):
23656
    self.success = success
23657
 
23658
  def read(self, iprot):
23659
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23660
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23661
      return
23662
    iprot.readStructBegin()
23663
    while True:
23664
      (fname, ftype, fid) = iprot.readFieldBegin()
23665
      if ftype == TType.STOP:
23666
        break
23667
      if fid == 0:
23668
        if ftype == TType.I64:
23669
          self.success = iprot.readI64();
23670
        else:
23671
          iprot.skip(ftype)
23672
      else:
23673
        iprot.skip(ftype)
23674
      iprot.readFieldEnd()
23675
    iprot.readStructEnd()
23676
 
23677
  def write(self, oprot):
23678
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23679
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23680
      return
23681
    oprot.writeStructBegin('getCountForAmazonlistedItems_result')
23682
    if self.success is not None:
23683
      oprot.writeFieldBegin('success', TType.I64, 0)
23684
      oprot.writeI64(self.success)
23685
      oprot.writeFieldEnd()
23686
    oprot.writeFieldStop()
23687
    oprot.writeStructEnd()
23688
 
23689
  def validate(self):
23690
    return
23691
 
23692
 
23693
  def __repr__(self):
23694
    L = ['%s=%r' % (key, value)
23695
      for key, value in self.__dict__.iteritems()]
23696
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23697
 
23698
  def __eq__(self, other):
23699
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23700
 
23701
  def __ne__(self, other):
23702
    return not (self == other)
23703
 
7281 kshitij.so 23704
class getAmazonItemDetails_args:
23705
  """
23706
  Attributes:
23707
   - itemId
23708
  """
23709
 
23710
  thrift_spec = (
23711
    None, # 0
23712
    (1, TType.I64, 'itemId', None, None, ), # 1
23713
  )
23714
 
23715
  def __init__(self, itemId=None,):
23716
    self.itemId = itemId
23717
 
23718
  def read(self, iprot):
23719
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23720
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23721
      return
23722
    iprot.readStructBegin()
23723
    while True:
23724
      (fname, ftype, fid) = iprot.readFieldBegin()
23725
      if ftype == TType.STOP:
23726
        break
23727
      if fid == 1:
23728
        if ftype == TType.I64:
23729
          self.itemId = iprot.readI64();
23730
        else:
23731
          iprot.skip(ftype)
23732
      else:
23733
        iprot.skip(ftype)
23734
      iprot.readFieldEnd()
23735
    iprot.readStructEnd()
23736
 
23737
  def write(self, oprot):
23738
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23739
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23740
      return
23741
    oprot.writeStructBegin('getAmazonItemDetails_args')
23742
    if self.itemId is not None:
23743
      oprot.writeFieldBegin('itemId', TType.I64, 1)
23744
      oprot.writeI64(self.itemId)
23745
      oprot.writeFieldEnd()
23746
    oprot.writeFieldStop()
23747
    oprot.writeStructEnd()
23748
 
23749
  def validate(self):
23750
    return
23751
 
23752
 
23753
  def __repr__(self):
23754
    L = ['%s=%r' % (key, value)
23755
      for key, value in self.__dict__.iteritems()]
23756
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23757
 
23758
  def __eq__(self, other):
23759
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23760
 
23761
  def __ne__(self, other):
23762
    return not (self == other)
23763
 
23764
class getAmazonItemDetails_result:
23765
  """
23766
  Attributes:
23767
   - success
23768
  """
23769
 
23770
  thrift_spec = (
23771
    (0, TType.STRUCT, 'success', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 0
23772
  )
23773
 
23774
  def __init__(self, success=None,):
23775
    self.success = success
23776
 
23777
  def read(self, iprot):
23778
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23779
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23780
      return
23781
    iprot.readStructBegin()
23782
    while True:
23783
      (fname, ftype, fid) = iprot.readFieldBegin()
23784
      if ftype == TType.STOP:
23785
        break
23786
      if fid == 0:
23787
        if ftype == TType.STRUCT:
23788
          self.success = Amazonlisted()
23789
          self.success.read(iprot)
23790
        else:
23791
          iprot.skip(ftype)
23792
      else:
23793
        iprot.skip(ftype)
23794
      iprot.readFieldEnd()
23795
    iprot.readStructEnd()
23796
 
23797
  def write(self, oprot):
23798
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23799
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23800
      return
23801
    oprot.writeStructBegin('getAmazonItemDetails_result')
23802
    if self.success is not None:
23803
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
23804
      self.success.write(oprot)
23805
      oprot.writeFieldEnd()
23806
    oprot.writeFieldStop()
23807
    oprot.writeStructEnd()
23808
 
23809
  def validate(self):
23810
    return
23811
 
23812
 
23813
  def __repr__(self):
23814
    L = ['%s=%r' % (key, value)
23815
      for key, value in self.__dict__.iteritems()]
23816
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23817
 
23818
  def __eq__(self, other):
23819
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23820
 
23821
  def __ne__(self, other):
23822
    return not (self == other)
23823
 
23824
class updateAmazonItemDetails_args:
23825
  """
23826
  Attributes:
8168 kshitij.so 23827
   - amazonlisted
7281 kshitij.so 23828
  """
23829
 
23830
  thrift_spec = (
23831
    None, # 0
8168 kshitij.so 23832
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
7281 kshitij.so 23833
  )
23834
 
8168 kshitij.so 23835
  def __init__(self, amazonlisted=None,):
23836
    self.amazonlisted = amazonlisted
7281 kshitij.so 23837
 
23838
  def read(self, iprot):
23839
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23840
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23841
      return
23842
    iprot.readStructBegin()
23843
    while True:
23844
      (fname, ftype, fid) = iprot.readFieldBegin()
23845
      if ftype == TType.STOP:
23846
        break
23847
      if fid == 1:
8168 kshitij.so 23848
        if ftype == TType.STRUCT:
23849
          self.amazonlisted = Amazonlisted()
23850
          self.amazonlisted.read(iprot)
7281 kshitij.so 23851
        else:
23852
          iprot.skip(ftype)
23853
      else:
23854
        iprot.skip(ftype)
23855
      iprot.readFieldEnd()
23856
    iprot.readStructEnd()
23857
 
23858
  def write(self, oprot):
23859
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23860
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23861
      return
23862
    oprot.writeStructBegin('updateAmazonItemDetails_args')
8168 kshitij.so 23863
    if self.amazonlisted is not None:
23864
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
23865
      self.amazonlisted.write(oprot)
7281 kshitij.so 23866
      oprot.writeFieldEnd()
23867
    oprot.writeFieldStop()
23868
    oprot.writeStructEnd()
23869
 
23870
  def validate(self):
23871
    return
23872
 
23873
 
23874
  def __repr__(self):
23875
    L = ['%s=%r' % (key, value)
23876
      for key, value in self.__dict__.iteritems()]
23877
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23878
 
23879
  def __eq__(self, other):
23880
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23881
 
23882
  def __ne__(self, other):
23883
    return not (self == other)
23884
 
23885
class updateAmazonItemDetails_result:
23886
 
23887
  thrift_spec = (
23888
  )
23889
 
23890
  def read(self, iprot):
23891
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23892
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23893
      return
23894
    iprot.readStructBegin()
23895
    while True:
23896
      (fname, ftype, fid) = iprot.readFieldBegin()
23897
      if ftype == TType.STOP:
23898
        break
23899
      else:
23900
        iprot.skip(ftype)
23901
      iprot.readFieldEnd()
23902
    iprot.readStructEnd()
23903
 
23904
  def write(self, oprot):
23905
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23906
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23907
      return
23908
    oprot.writeStructBegin('updateAmazonItemDetails_result')
23909
    oprot.writeFieldStop()
23910
    oprot.writeStructEnd()
23911
 
23912
  def validate(self):
23913
    return
23914
 
23915
 
23916
  def __repr__(self):
23917
    L = ['%s=%r' % (key, value)
23918
      for key, value in self.__dict__.iteritems()]
23919
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23920
 
23921
  def __eq__(self, other):
23922
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23923
 
23924
  def __ne__(self, other):
23925
    return not (self == other)
23926
 
23927
class addAmazonItem_args:
23928
  """
23929
  Attributes:
23930
   - amazonlisted
23931
  """
23932
 
23933
  thrift_spec = (
23934
    None, # 0
23935
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
23936
  )
23937
 
23938
  def __init__(self, amazonlisted=None,):
23939
    self.amazonlisted = amazonlisted
23940
 
23941
  def read(self, iprot):
23942
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23943
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23944
      return
23945
    iprot.readStructBegin()
23946
    while True:
23947
      (fname, ftype, fid) = iprot.readFieldBegin()
23948
      if ftype == TType.STOP:
23949
        break
23950
      if fid == 1:
23951
        if ftype == TType.STRUCT:
23952
          self.amazonlisted = Amazonlisted()
23953
          self.amazonlisted.read(iprot)
23954
        else:
23955
          iprot.skip(ftype)
23956
      else:
23957
        iprot.skip(ftype)
23958
      iprot.readFieldEnd()
23959
    iprot.readStructEnd()
23960
 
23961
  def write(self, oprot):
23962
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23963
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23964
      return
23965
    oprot.writeStructBegin('addAmazonItem_args')
23966
    if self.amazonlisted is not None:
23967
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
23968
      self.amazonlisted.write(oprot)
23969
      oprot.writeFieldEnd()
23970
    oprot.writeFieldStop()
23971
    oprot.writeStructEnd()
23972
 
23973
  def validate(self):
23974
    return
23975
 
23976
 
23977
  def __repr__(self):
23978
    L = ['%s=%r' % (key, value)
23979
      for key, value in self.__dict__.iteritems()]
23980
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23981
 
23982
  def __eq__(self, other):
23983
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23984
 
23985
  def __ne__(self, other):
23986
    return not (self == other)
23987
 
23988
class addAmazonItem_result:
23989
 
23990
  thrift_spec = (
23991
  )
23992
 
23993
  def read(self, iprot):
23994
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23995
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23996
      return
23997
    iprot.readStructBegin()
23998
    while True:
23999
      (fname, ftype, fid) = iprot.readFieldBegin()
24000
      if ftype == TType.STOP:
24001
        break
24002
      else:
24003
        iprot.skip(ftype)
24004
      iprot.readFieldEnd()
24005
    iprot.readStructEnd()
24006
 
24007
  def write(self, oprot):
24008
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24009
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24010
      return
24011
    oprot.writeStructBegin('addAmazonItem_result')
24012
    oprot.writeFieldStop()
24013
    oprot.writeStructEnd()
24014
 
24015
  def validate(self):
24016
    return
24017
 
24018
 
24019
  def __repr__(self):
24020
    L = ['%s=%r' % (key, value)
24021
      for key, value in self.__dict__.iteritems()]
24022
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24023
 
24024
  def __eq__(self, other):
24025
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24026
 
24027
  def __ne__(self, other):
24028
    return not (self == other)
7291 vikram.rag 24029
 
24030
class getAsinItems_args:
24031
 
24032
  thrift_spec = (
24033
  )
24034
 
24035
  def read(self, iprot):
24036
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24037
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24038
      return
24039
    iprot.readStructBegin()
24040
    while True:
24041
      (fname, ftype, fid) = iprot.readFieldBegin()
24042
      if ftype == TType.STOP:
24043
        break
24044
      else:
24045
        iprot.skip(ftype)
24046
      iprot.readFieldEnd()
24047
    iprot.readStructEnd()
24048
 
24049
  def write(self, oprot):
24050
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24051
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24052
      return
24053
    oprot.writeStructBegin('getAsinItems_args')
24054
    oprot.writeFieldStop()
24055
    oprot.writeStructEnd()
24056
 
24057
  def validate(self):
24058
    return
24059
 
24060
 
24061
  def __repr__(self):
24062
    L = ['%s=%r' % (key, value)
24063
      for key, value in self.__dict__.iteritems()]
24064
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24065
 
24066
  def __eq__(self, other):
24067
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24068
 
24069
  def __ne__(self, other):
24070
    return not (self == other)
24071
 
24072
class getAsinItems_result:
24073
  """
24074
  Attributes:
24075
   - success
24076
  """
24077
 
24078
  thrift_spec = (
24079
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
24080
  )
24081
 
24082
  def __init__(self, success=None,):
24083
    self.success = success
24084
 
24085
  def read(self, iprot):
24086
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24087
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24088
      return
24089
    iprot.readStructBegin()
24090
    while True:
24091
      (fname, ftype, fid) = iprot.readFieldBegin()
24092
      if ftype == TType.STOP:
24093
        break
24094
      if fid == 0:
24095
        if ftype == TType.LIST:
24096
          self.success = []
18719 kshitij.so 24097
          (_etype476, _size473) = iprot.readListBegin()
24098
          for _i477 in xrange(_size473):
24099
            _elem478 = Item()
24100
            _elem478.read(iprot)
24101
            self.success.append(_elem478)
7291 vikram.rag 24102
          iprot.readListEnd()
24103
        else:
24104
          iprot.skip(ftype)
24105
      else:
24106
        iprot.skip(ftype)
24107
      iprot.readFieldEnd()
24108
    iprot.readStructEnd()
24109
 
24110
  def write(self, oprot):
24111
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24112
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24113
      return
24114
    oprot.writeStructBegin('getAsinItems_result')
24115
    if self.success is not None:
24116
      oprot.writeFieldBegin('success', TType.LIST, 0)
24117
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 24118
      for iter479 in self.success:
24119
        iter479.write(oprot)
7291 vikram.rag 24120
      oprot.writeListEnd()
24121
      oprot.writeFieldEnd()
24122
    oprot.writeFieldStop()
24123
    oprot.writeStructEnd()
24124
 
24125
  def validate(self):
24126
    return
24127
 
24128
 
24129
  def __repr__(self):
24130
    L = ['%s=%r' % (key, value)
24131
      for key, value in self.__dict__.iteritems()]
24132
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24133
 
24134
  def __eq__(self, other):
24135
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24136
 
24137
  def __ne__(self, other):
24138
    return not (self == other)
24139
 
24140
class getAllFbaListedItems_args:
24141
 
24142
  thrift_spec = (
24143
  )
24144
 
24145
  def read(self, iprot):
24146
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24147
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24148
      return
24149
    iprot.readStructBegin()
24150
    while True:
24151
      (fname, ftype, fid) = iprot.readFieldBegin()
24152
      if ftype == TType.STOP:
24153
        break
24154
      else:
24155
        iprot.skip(ftype)
24156
      iprot.readFieldEnd()
24157
    iprot.readStructEnd()
24158
 
24159
  def write(self, oprot):
24160
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24161
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24162
      return
24163
    oprot.writeStructBegin('getAllFbaListedItems_args')
24164
    oprot.writeFieldStop()
24165
    oprot.writeStructEnd()
24166
 
24167
  def validate(self):
24168
    return
24169
 
24170
 
24171
  def __repr__(self):
24172
    L = ['%s=%r' % (key, value)
24173
      for key, value in self.__dict__.iteritems()]
24174
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24175
 
24176
  def __eq__(self, other):
24177
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24178
 
24179
  def __ne__(self, other):
24180
    return not (self == other)
24181
 
24182
class getAllFbaListedItems_result:
24183
  """
24184
  Attributes:
24185
   - success
24186
  """
24187
 
24188
  thrift_spec = (
24189
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
24190
  )
24191
 
24192
  def __init__(self, success=None,):
24193
    self.success = success
24194
 
24195
  def read(self, iprot):
24196
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24197
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24198
      return
24199
    iprot.readStructBegin()
24200
    while True:
24201
      (fname, ftype, fid) = iprot.readFieldBegin()
24202
      if ftype == TType.STOP:
24203
        break
24204
      if fid == 0:
24205
        if ftype == TType.LIST:
24206
          self.success = []
18719 kshitij.so 24207
          (_etype483, _size480) = iprot.readListBegin()
24208
          for _i484 in xrange(_size480):
24209
            _elem485 = Amazonlisted()
24210
            _elem485.read(iprot)
24211
            self.success.append(_elem485)
7291 vikram.rag 24212
          iprot.readListEnd()
24213
        else:
24214
          iprot.skip(ftype)
24215
      else:
24216
        iprot.skip(ftype)
24217
      iprot.readFieldEnd()
24218
    iprot.readStructEnd()
24219
 
24220
  def write(self, oprot):
24221
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24222
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24223
      return
24224
    oprot.writeStructBegin('getAllFbaListedItems_result')
24225
    if self.success is not None:
24226
      oprot.writeFieldBegin('success', TType.LIST, 0)
24227
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 24228
      for iter486 in self.success:
24229
        iter486.write(oprot)
7291 vikram.rag 24230
      oprot.writeListEnd()
24231
      oprot.writeFieldEnd()
24232
    oprot.writeFieldStop()
24233
    oprot.writeStructEnd()
24234
 
24235
  def validate(self):
24236
    return
24237
 
24238
 
24239
  def __repr__(self):
24240
    L = ['%s=%r' % (key, value)
24241
      for key, value in self.__dict__.iteritems()]
24242
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24243
 
24244
  def __eq__(self, other):
24245
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24246
 
24247
  def __ne__(self, other):
24248
    return not (self == other)
24249
 
24250
class getAllNonFbaListedItems_args:
24251
 
24252
  thrift_spec = (
24253
  )
24254
 
24255
  def read(self, iprot):
24256
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24257
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24258
      return
24259
    iprot.readStructBegin()
24260
    while True:
24261
      (fname, ftype, fid) = iprot.readFieldBegin()
24262
      if ftype == TType.STOP:
24263
        break
24264
      else:
24265
        iprot.skip(ftype)
24266
      iprot.readFieldEnd()
24267
    iprot.readStructEnd()
24268
 
24269
  def write(self, oprot):
24270
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24271
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24272
      return
24273
    oprot.writeStructBegin('getAllNonFbaListedItems_args')
24274
    oprot.writeFieldStop()
24275
    oprot.writeStructEnd()
24276
 
24277
  def validate(self):
24278
    return
24279
 
24280
 
24281
  def __repr__(self):
24282
    L = ['%s=%r' % (key, value)
24283
      for key, value in self.__dict__.iteritems()]
24284
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24285
 
24286
  def __eq__(self, other):
24287
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24288
 
24289
  def __ne__(self, other):
24290
    return not (self == other)
24291
 
24292
class getAllNonFbaListedItems_result:
24293
  """
24294
  Attributes:
24295
   - success
24296
  """
24297
 
24298
  thrift_spec = (
24299
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
24300
  )
24301
 
24302
  def __init__(self, success=None,):
24303
    self.success = success
24304
 
24305
  def read(self, iprot):
24306
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24307
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24308
      return
24309
    iprot.readStructBegin()
24310
    while True:
24311
      (fname, ftype, fid) = iprot.readFieldBegin()
24312
      if ftype == TType.STOP:
24313
        break
24314
      if fid == 0:
24315
        if ftype == TType.LIST:
24316
          self.success = []
18719 kshitij.so 24317
          (_etype490, _size487) = iprot.readListBegin()
24318
          for _i491 in xrange(_size487):
24319
            _elem492 = Amazonlisted()
24320
            _elem492.read(iprot)
24321
            self.success.append(_elem492)
7291 vikram.rag 24322
          iprot.readListEnd()
24323
        else:
24324
          iprot.skip(ftype)
24325
      else:
24326
        iprot.skip(ftype)
24327
      iprot.readFieldEnd()
24328
    iprot.readStructEnd()
24329
 
24330
  def write(self, oprot):
24331
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24332
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24333
      return
24334
    oprot.writeStructBegin('getAllNonFbaListedItems_result')
24335
    if self.success is not None:
24336
      oprot.writeFieldBegin('success', TType.LIST, 0)
24337
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 24338
      for iter493 in self.success:
24339
        iter493.write(oprot)
7291 vikram.rag 24340
      oprot.writeListEnd()
24341
      oprot.writeFieldEnd()
24342
    oprot.writeFieldStop()
24343
    oprot.writeStructEnd()
24344
 
24345
  def validate(self):
24346
    return
24347
 
24348
 
24349
  def __repr__(self):
24350
    L = ['%s=%r' % (key, value)
24351
      for key, value in self.__dict__.iteritems()]
24352
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24353
 
24354
  def __eq__(self, other):
24355
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24356
 
24357
  def __ne__(self, other):
24358
    return not (self == other)
7460 kshitij.so 24359
 
24360
class updateItemInventory_args:
24361
  """
24362
  Attributes:
24363
   - itemId
24364
   - holdInventory
24365
   - defaultInventory
24366
  """
24367
 
24368
  thrift_spec = (
24369
    None, # 0
24370
    (1, TType.I64, 'itemId', None, None, ), # 1
24371
    (2, TType.I64, 'holdInventory', None, None, ), # 2
24372
    (3, TType.I64, 'defaultInventory', None, None, ), # 3
24373
  )
24374
 
24375
  def __init__(self, itemId=None, holdInventory=None, defaultInventory=None,):
24376
    self.itemId = itemId
24377
    self.holdInventory = holdInventory
24378
    self.defaultInventory = defaultInventory
24379
 
24380
  def read(self, iprot):
24381
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24382
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24383
      return
24384
    iprot.readStructBegin()
24385
    while True:
24386
      (fname, ftype, fid) = iprot.readFieldBegin()
24387
      if ftype == TType.STOP:
24388
        break
24389
      if fid == 1:
24390
        if ftype == TType.I64:
24391
          self.itemId = iprot.readI64();
24392
        else:
24393
          iprot.skip(ftype)
24394
      elif fid == 2:
24395
        if ftype == TType.I64:
24396
          self.holdInventory = iprot.readI64();
24397
        else:
24398
          iprot.skip(ftype)
24399
      elif fid == 3:
24400
        if ftype == TType.I64:
24401
          self.defaultInventory = iprot.readI64();
24402
        else:
24403
          iprot.skip(ftype)
24404
      else:
24405
        iprot.skip(ftype)
24406
      iprot.readFieldEnd()
24407
    iprot.readStructEnd()
24408
 
24409
  def write(self, oprot):
24410
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24411
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24412
      return
24413
    oprot.writeStructBegin('updateItemInventory_args')
24414
    if self.itemId is not None:
24415
      oprot.writeFieldBegin('itemId', TType.I64, 1)
24416
      oprot.writeI64(self.itemId)
24417
      oprot.writeFieldEnd()
24418
    if self.holdInventory is not None:
24419
      oprot.writeFieldBegin('holdInventory', TType.I64, 2)
24420
      oprot.writeI64(self.holdInventory)
24421
      oprot.writeFieldEnd()
24422
    if self.defaultInventory is not None:
24423
      oprot.writeFieldBegin('defaultInventory', TType.I64, 3)
24424
      oprot.writeI64(self.defaultInventory)
24425
      oprot.writeFieldEnd()
24426
    oprot.writeFieldStop()
24427
    oprot.writeStructEnd()
24428
 
24429
  def validate(self):
24430
    return
24431
 
24432
 
24433
  def __repr__(self):
24434
    L = ['%s=%r' % (key, value)
24435
      for key, value in self.__dict__.iteritems()]
24436
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24437
 
24438
  def __eq__(self, other):
24439
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24440
 
24441
  def __ne__(self, other):
24442
    return not (self == other)
24443
 
24444
class updateItemInventory_result:
24445
  """
24446
  Attributes:
24447
   - success
24448
  """
24449
 
24450
  thrift_spec = (
24451
    (0, TType.BOOL, 'success', None, None, ), # 0
24452
  )
24453
 
24454
  def __init__(self, success=None,):
24455
    self.success = success
24456
 
24457
  def read(self, iprot):
24458
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24459
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24460
      return
24461
    iprot.readStructBegin()
24462
    while True:
24463
      (fname, ftype, fid) = iprot.readFieldBegin()
24464
      if ftype == TType.STOP:
24465
        break
24466
      if fid == 0:
24467
        if ftype == TType.BOOL:
24468
          self.success = iprot.readBool();
24469
        else:
24470
          iprot.skip(ftype)
24471
      else:
24472
        iprot.skip(ftype)
24473
      iprot.readFieldEnd()
24474
    iprot.readStructEnd()
24475
 
24476
  def write(self, oprot):
24477
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24478
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24479
      return
24480
    oprot.writeStructBegin('updateItemInventory_result')
24481
    if self.success is not None:
24482
      oprot.writeFieldBegin('success', TType.BOOL, 0)
24483
      oprot.writeBool(self.success)
24484
      oprot.writeFieldEnd()
24485
    oprot.writeFieldStop()
24486
    oprot.writeStructEnd()
24487
 
24488
  def validate(self):
24489
    return
24490
 
24491
 
24492
  def __repr__(self):
24493
    L = ['%s=%r' % (key, value)
24494
      for key, value in self.__dict__.iteritems()]
24495
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24496
 
24497
  def __eq__(self, other):
24498
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24499
 
24500
  def __ne__(self, other):
24501
    return not (self == other)
7770 kshitij.so 24502
 
24503
class updateTimestampForAmazonFeeds_args:
24504
  """
24505
  Attributes:
24506
   - type
24507
   - sku
24508
   - timestamp
24509
  """
24510
 
24511
  thrift_spec = (
24512
    None, # 0
24513
    (1, TType.STRING, 'type', None, None, ), # 1
24514
    (2, TType.LIST, 'sku', (TType.I64,None), None, ), # 2
24515
    (3, TType.I64, 'timestamp', None, None, ), # 3
24516
  )
24517
 
24518
  def __init__(self, type=None, sku=None, timestamp=None,):
24519
    self.type = type
24520
    self.sku = sku
24521
    self.timestamp = timestamp
24522
 
24523
  def read(self, iprot):
24524
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24525
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24526
      return
24527
    iprot.readStructBegin()
24528
    while True:
24529
      (fname, ftype, fid) = iprot.readFieldBegin()
24530
      if ftype == TType.STOP:
24531
        break
24532
      if fid == 1:
24533
        if ftype == TType.STRING:
24534
          self.type = iprot.readString();
24535
        else:
24536
          iprot.skip(ftype)
24537
      elif fid == 2:
24538
        if ftype == TType.LIST:
24539
          self.sku = []
18719 kshitij.so 24540
          (_etype497, _size494) = iprot.readListBegin()
24541
          for _i498 in xrange(_size494):
24542
            _elem499 = iprot.readI64();
24543
            self.sku.append(_elem499)
7770 kshitij.so 24544
          iprot.readListEnd()
24545
        else:
24546
          iprot.skip(ftype)
24547
      elif fid == 3:
24548
        if ftype == TType.I64:
24549
          self.timestamp = iprot.readI64();
24550
        else:
24551
          iprot.skip(ftype)
24552
      else:
24553
        iprot.skip(ftype)
24554
      iprot.readFieldEnd()
24555
    iprot.readStructEnd()
24556
 
24557
  def write(self, oprot):
24558
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24559
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24560
      return
24561
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_args')
24562
    if self.type is not None:
24563
      oprot.writeFieldBegin('type', TType.STRING, 1)
24564
      oprot.writeString(self.type)
24565
      oprot.writeFieldEnd()
24566
    if self.sku is not None:
24567
      oprot.writeFieldBegin('sku', TType.LIST, 2)
24568
      oprot.writeListBegin(TType.I64, len(self.sku))
18719 kshitij.so 24569
      for iter500 in self.sku:
24570
        oprot.writeI64(iter500)
7770 kshitij.so 24571
      oprot.writeListEnd()
24572
      oprot.writeFieldEnd()
24573
    if self.timestamp is not None:
24574
      oprot.writeFieldBegin('timestamp', TType.I64, 3)
24575
      oprot.writeI64(self.timestamp)
24576
      oprot.writeFieldEnd()
24577
    oprot.writeFieldStop()
24578
    oprot.writeStructEnd()
24579
 
24580
  def validate(self):
24581
    return
24582
 
24583
 
24584
  def __repr__(self):
24585
    L = ['%s=%r' % (key, value)
24586
      for key, value in self.__dict__.iteritems()]
24587
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24588
 
24589
  def __eq__(self, other):
24590
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24591
 
24592
  def __ne__(self, other):
24593
    return not (self == other)
24594
 
24595
class updateTimestampForAmazonFeeds_result:
24596
  """
24597
  Attributes:
24598
   - success
24599
  """
24600
 
24601
  thrift_spec = (
24602
    (0, TType.BOOL, 'success', None, None, ), # 0
24603
  )
24604
 
24605
  def __init__(self, success=None,):
24606
    self.success = success
24607
 
24608
  def read(self, iprot):
24609
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24610
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24611
      return
24612
    iprot.readStructBegin()
24613
    while True:
24614
      (fname, ftype, fid) = iprot.readFieldBegin()
24615
      if ftype == TType.STOP:
24616
        break
24617
      if fid == 0:
24618
        if ftype == TType.BOOL:
24619
          self.success = iprot.readBool();
24620
        else:
24621
          iprot.skip(ftype)
24622
      else:
24623
        iprot.skip(ftype)
24624
      iprot.readFieldEnd()
24625
    iprot.readStructEnd()
24626
 
24627
  def write(self, oprot):
24628
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24629
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24630
      return
24631
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_result')
24632
    if self.success is not None:
24633
      oprot.writeFieldBegin('success', TType.BOOL, 0)
24634
      oprot.writeBool(self.success)
24635
      oprot.writeFieldEnd()
24636
    oprot.writeFieldStop()
24637
    oprot.writeStructEnd()
24638
 
24639
  def validate(self):
24640
    return
24641
 
24642
 
24643
  def __repr__(self):
24644
    L = ['%s=%r' % (key, value)
24645
      for key, value in self.__dict__.iteritems()]
24646
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24647
 
24648
  def __eq__(self, other):
24649
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24650
 
24651
  def __ne__(self, other):
24652
    return not (self == other)
7897 amar.kumar 24653
 
24654
class getAllParentCategories_args:
24655
 
24656
  thrift_spec = (
24657
  )
24658
 
24659
  def read(self, iprot):
24660
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24661
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24662
      return
24663
    iprot.readStructBegin()
24664
    while True:
24665
      (fname, ftype, fid) = iprot.readFieldBegin()
24666
      if ftype == TType.STOP:
24667
        break
24668
      else:
24669
        iprot.skip(ftype)
24670
      iprot.readFieldEnd()
24671
    iprot.readStructEnd()
24672
 
24673
  def write(self, oprot):
24674
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24675
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24676
      return
24677
    oprot.writeStructBegin('getAllParentCategories_args')
24678
    oprot.writeFieldStop()
24679
    oprot.writeStructEnd()
24680
 
24681
  def validate(self):
24682
    return
24683
 
24684
 
24685
  def __repr__(self):
24686
    L = ['%s=%r' % (key, value)
24687
      for key, value in self.__dict__.iteritems()]
24688
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24689
 
24690
  def __eq__(self, other):
24691
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24692
 
24693
  def __ne__(self, other):
24694
    return not (self == other)
24695
 
24696
class getAllParentCategories_result:
24697
  """
24698
  Attributes:
24699
   - success
24700
  """
24701
 
24702
  thrift_spec = (
24703
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
24704
  )
24705
 
24706
  def __init__(self, success=None,):
24707
    self.success = success
24708
 
24709
  def read(self, iprot):
24710
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24711
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24712
      return
24713
    iprot.readStructBegin()
24714
    while True:
24715
      (fname, ftype, fid) = iprot.readFieldBegin()
24716
      if ftype == TType.STOP:
24717
        break
24718
      if fid == 0:
24719
        if ftype == TType.LIST:
24720
          self.success = []
18719 kshitij.so 24721
          (_etype504, _size501) = iprot.readListBegin()
24722
          for _i505 in xrange(_size501):
24723
            _elem506 = Category()
24724
            _elem506.read(iprot)
24725
            self.success.append(_elem506)
7897 amar.kumar 24726
          iprot.readListEnd()
24727
        else:
24728
          iprot.skip(ftype)
24729
      else:
24730
        iprot.skip(ftype)
24731
      iprot.readFieldEnd()
24732
    iprot.readStructEnd()
24733
 
24734
  def write(self, oprot):
24735
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24736
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24737
      return
24738
    oprot.writeStructBegin('getAllParentCategories_result')
24739
    if self.success is not None:
24740
      oprot.writeFieldBegin('success', TType.LIST, 0)
24741
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 24742
      for iter507 in self.success:
24743
        iter507.write(oprot)
7897 amar.kumar 24744
      oprot.writeListEnd()
24745
      oprot.writeFieldEnd()
24746
    oprot.writeFieldStop()
24747
    oprot.writeStructEnd()
24748
 
24749
  def validate(self):
24750
    return
24751
 
24752
 
24753
  def __repr__(self):
24754
    L = ['%s=%r' % (key, value)
24755
      for key, value in self.__dict__.iteritems()]
24756
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24757
 
24758
  def __eq__(self, other):
24759
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24760
 
24761
  def __ne__(self, other):
24762
    return not (self == other)
7977 kshitij.so 24763
 
24764
class addPageViewEvent_args:
24765
  """
24766
  Attributes:
24767
   - pageViewEvents
24768
  """
24769
 
24770
  thrift_spec = (
24771
    None, # 0
24772
    (1, TType.STRUCT, 'pageViewEvents', (PageViewEvents, PageViewEvents.thrift_spec), None, ), # 1
24773
  )
24774
 
24775
  def __init__(self, pageViewEvents=None,):
24776
    self.pageViewEvents = pageViewEvents
24777
 
24778
  def read(self, iprot):
24779
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24780
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24781
      return
24782
    iprot.readStructBegin()
24783
    while True:
24784
      (fname, ftype, fid) = iprot.readFieldBegin()
24785
      if ftype == TType.STOP:
24786
        break
24787
      if fid == 1:
24788
        if ftype == TType.STRUCT:
24789
          self.pageViewEvents = PageViewEvents()
24790
          self.pageViewEvents.read(iprot)
24791
        else:
24792
          iprot.skip(ftype)
24793
      else:
24794
        iprot.skip(ftype)
24795
      iprot.readFieldEnd()
24796
    iprot.readStructEnd()
24797
 
24798
  def write(self, oprot):
24799
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24800
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24801
      return
24802
    oprot.writeStructBegin('addPageViewEvent_args')
24803
    if self.pageViewEvents is not None:
24804
      oprot.writeFieldBegin('pageViewEvents', TType.STRUCT, 1)
24805
      self.pageViewEvents.write(oprot)
24806
      oprot.writeFieldEnd()
24807
    oprot.writeFieldStop()
24808
    oprot.writeStructEnd()
24809
 
24810
  def validate(self):
24811
    return
24812
 
24813
 
24814
  def __repr__(self):
24815
    L = ['%s=%r' % (key, value)
24816
      for key, value in self.__dict__.iteritems()]
24817
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24818
 
24819
  def __eq__(self, other):
24820
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24821
 
24822
  def __ne__(self, other):
24823
    return not (self == other)
24824
 
24825
class addPageViewEvent_result:
24826
 
24827
  thrift_spec = (
24828
  )
24829
 
24830
  def read(self, iprot):
24831
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24832
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24833
      return
24834
    iprot.readStructBegin()
24835
    while True:
24836
      (fname, ftype, fid) = iprot.readFieldBegin()
24837
      if ftype == TType.STOP:
24838
        break
24839
      else:
24840
        iprot.skip(ftype)
24841
      iprot.readFieldEnd()
24842
    iprot.readStructEnd()
24843
 
24844
  def write(self, oprot):
24845
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24846
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24847
      return
24848
    oprot.writeStructBegin('addPageViewEvent_result')
24849
    oprot.writeFieldStop()
24850
    oprot.writeStructEnd()
24851
 
24852
  def validate(self):
24853
    return
24854
 
24855
 
24856
  def __repr__(self):
24857
    L = ['%s=%r' % (key, value)
24858
      for key, value in self.__dict__.iteritems()]
24859
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24860
 
24861
  def __eq__(self, other):
24862
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24863
 
24864
  def __ne__(self, other):
24865
    return not (self == other)
24866
 
24867
class addCartEvent_args:
24868
  """
24869
  Attributes:
24870
   - cartEvents
24871
  """
24872
 
24873
  thrift_spec = (
24874
    None, # 0
24875
    (1, TType.STRUCT, 'cartEvents', (CartEvents, CartEvents.thrift_spec), None, ), # 1
24876
  )
24877
 
24878
  def __init__(self, cartEvents=None,):
24879
    self.cartEvents = cartEvents
24880
 
24881
  def read(self, iprot):
24882
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24883
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24884
      return
24885
    iprot.readStructBegin()
24886
    while True:
24887
      (fname, ftype, fid) = iprot.readFieldBegin()
24888
      if ftype == TType.STOP:
24889
        break
24890
      if fid == 1:
24891
        if ftype == TType.STRUCT:
24892
          self.cartEvents = CartEvents()
24893
          self.cartEvents.read(iprot)
24894
        else:
24895
          iprot.skip(ftype)
24896
      else:
24897
        iprot.skip(ftype)
24898
      iprot.readFieldEnd()
24899
    iprot.readStructEnd()
24900
 
24901
  def write(self, oprot):
24902
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24903
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24904
      return
24905
    oprot.writeStructBegin('addCartEvent_args')
24906
    if self.cartEvents is not None:
24907
      oprot.writeFieldBegin('cartEvents', TType.STRUCT, 1)
24908
      self.cartEvents.write(oprot)
24909
      oprot.writeFieldEnd()
24910
    oprot.writeFieldStop()
24911
    oprot.writeStructEnd()
24912
 
24913
  def validate(self):
24914
    return
24915
 
24916
 
24917
  def __repr__(self):
24918
    L = ['%s=%r' % (key, value)
24919
      for key, value in self.__dict__.iteritems()]
24920
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24921
 
24922
  def __eq__(self, other):
24923
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24924
 
24925
  def __ne__(self, other):
24926
    return not (self == other)
24927
 
24928
class addCartEvent_result:
24929
 
24930
  thrift_spec = (
24931
  )
24932
 
24933
  def read(self, iprot):
24934
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24935
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24936
      return
24937
    iprot.readStructBegin()
24938
    while True:
24939
      (fname, ftype, fid) = iprot.readFieldBegin()
24940
      if ftype == TType.STOP:
24941
        break
24942
      else:
24943
        iprot.skip(ftype)
24944
      iprot.readFieldEnd()
24945
    iprot.readStructEnd()
24946
 
24947
  def write(self, oprot):
24948
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24949
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24950
      return
24951
    oprot.writeStructBegin('addCartEvent_result')
24952
    oprot.writeFieldStop()
24953
    oprot.writeStructEnd()
24954
 
24955
  def validate(self):
24956
    return
24957
 
24958
 
24959
  def __repr__(self):
24960
    L = ['%s=%r' % (key, value)
24961
      for key, value in self.__dict__.iteritems()]
24962
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24963
 
24964
  def __eq__(self, other):
24965
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24966
 
24967
  def __ne__(self, other):
24968
    return not (self == other)
8139 kshitij.so 24969
 
8182 amar.kumar 24970
class addEbayItem_args:
24971
  """
24972
  Attributes:
24973
   - ebayItem
24974
  """
24975
 
24976
  thrift_spec = (
24977
    None, # 0
24978
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
24979
  )
24980
 
24981
  def __init__(self, ebayItem=None,):
24982
    self.ebayItem = ebayItem
24983
 
24984
  def read(self, iprot):
24985
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24986
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24987
      return
24988
    iprot.readStructBegin()
24989
    while True:
24990
      (fname, ftype, fid) = iprot.readFieldBegin()
24991
      if ftype == TType.STOP:
24992
        break
24993
      if fid == 1:
24994
        if ftype == TType.STRUCT:
24995
          self.ebayItem = EbayItem()
24996
          self.ebayItem.read(iprot)
24997
        else:
24998
          iprot.skip(ftype)
24999
      else:
25000
        iprot.skip(ftype)
25001
      iprot.readFieldEnd()
25002
    iprot.readStructEnd()
25003
 
25004
  def write(self, oprot):
25005
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25006
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25007
      return
25008
    oprot.writeStructBegin('addEbayItem_args')
25009
    if self.ebayItem is not None:
25010
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
25011
      self.ebayItem.write(oprot)
25012
      oprot.writeFieldEnd()
25013
    oprot.writeFieldStop()
25014
    oprot.writeStructEnd()
25015
 
25016
  def validate(self):
25017
    return
25018
 
25019
 
25020
  def __repr__(self):
25021
    L = ['%s=%r' % (key, value)
25022
      for key, value in self.__dict__.iteritems()]
25023
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25024
 
25025
  def __eq__(self, other):
25026
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25027
 
25028
  def __ne__(self, other):
25029
    return not (self == other)
25030
 
25031
class addEbayItem_result:
25032
 
25033
  thrift_spec = (
25034
  )
25035
 
25036
  def read(self, iprot):
25037
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25038
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25039
      return
25040
    iprot.readStructBegin()
25041
    while True:
25042
      (fname, ftype, fid) = iprot.readFieldBegin()
25043
      if ftype == TType.STOP:
25044
        break
25045
      else:
25046
        iprot.skip(ftype)
25047
      iprot.readFieldEnd()
25048
    iprot.readStructEnd()
25049
 
25050
  def write(self, oprot):
25051
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25052
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25053
      return
25054
    oprot.writeStructBegin('addEbayItem_result')
25055
    oprot.writeFieldStop()
25056
    oprot.writeStructEnd()
25057
 
25058
  def validate(self):
25059
    return
25060
 
25061
 
25062
  def __repr__(self):
25063
    L = ['%s=%r' % (key, value)
25064
      for key, value in self.__dict__.iteritems()]
25065
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25066
 
25067
  def __eq__(self, other):
25068
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25069
 
25070
  def __ne__(self, other):
25071
    return not (self == other)
25072
 
25073
class getEbayItem_args:
25074
  """
25075
  Attributes:
25076
   - listingId
25077
  """
25078
 
25079
  thrift_spec = (
25080
    None, # 0
25081
    (1, TType.STRING, 'listingId', None, None, ), # 1
25082
  )
25083
 
25084
  def __init__(self, listingId=None,):
25085
    self.listingId = listingId
25086
 
25087
  def read(self, iprot):
25088
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25089
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25090
      return
25091
    iprot.readStructBegin()
25092
    while True:
25093
      (fname, ftype, fid) = iprot.readFieldBegin()
25094
      if ftype == TType.STOP:
25095
        break
25096
      if fid == 1:
25097
        if ftype == TType.STRING:
25098
          self.listingId = iprot.readString();
25099
        else:
25100
          iprot.skip(ftype)
25101
      else:
25102
        iprot.skip(ftype)
25103
      iprot.readFieldEnd()
25104
    iprot.readStructEnd()
25105
 
25106
  def write(self, oprot):
25107
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25108
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25109
      return
25110
    oprot.writeStructBegin('getEbayItem_args')
25111
    if self.listingId is not None:
25112
      oprot.writeFieldBegin('listingId', TType.STRING, 1)
25113
      oprot.writeString(self.listingId)
25114
      oprot.writeFieldEnd()
25115
    oprot.writeFieldStop()
25116
    oprot.writeStructEnd()
25117
 
25118
  def validate(self):
25119
    return
25120
 
25121
 
25122
  def __repr__(self):
25123
    L = ['%s=%r' % (key, value)
25124
      for key, value in self.__dict__.iteritems()]
25125
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25126
 
25127
  def __eq__(self, other):
25128
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25129
 
25130
  def __ne__(self, other):
25131
    return not (self == other)
25132
 
25133
class getEbayItem_result:
25134
  """
25135
  Attributes:
25136
   - success
25137
  """
25138
 
25139
  thrift_spec = (
25140
    (0, TType.STRUCT, 'success', (EbayItem, EbayItem.thrift_spec), None, ), # 0
25141
  )
25142
 
25143
  def __init__(self, success=None,):
25144
    self.success = success
25145
 
25146
  def read(self, iprot):
25147
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25148
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25149
      return
25150
    iprot.readStructBegin()
25151
    while True:
25152
      (fname, ftype, fid) = iprot.readFieldBegin()
25153
      if ftype == TType.STOP:
25154
        break
25155
      if fid == 0:
25156
        if ftype == TType.STRUCT:
25157
          self.success = EbayItem()
25158
          self.success.read(iprot)
25159
        else:
25160
          iprot.skip(ftype)
25161
      else:
25162
        iprot.skip(ftype)
25163
      iprot.readFieldEnd()
25164
    iprot.readStructEnd()
25165
 
25166
  def write(self, oprot):
25167
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25168
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25169
      return
25170
    oprot.writeStructBegin('getEbayItem_result')
25171
    if self.success is not None:
25172
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25173
      self.success.write(oprot)
25174
      oprot.writeFieldEnd()
25175
    oprot.writeFieldStop()
25176
    oprot.writeStructEnd()
25177
 
25178
  def validate(self):
25179
    return
25180
 
25181
 
25182
  def __repr__(self):
25183
    L = ['%s=%r' % (key, value)
25184
      for key, value in self.__dict__.iteritems()]
25185
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25186
 
25187
  def __eq__(self, other):
25188
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25189
 
25190
  def __ne__(self, other):
25191
    return not (self == other)
25192
 
25193
class updateEbayItem_args:
25194
  """
25195
  Attributes:
25196
   - ebayItem
25197
  """
25198
 
25199
  thrift_spec = (
25200
    None, # 0
25201
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
25202
  )
25203
 
25204
  def __init__(self, ebayItem=None,):
25205
    self.ebayItem = ebayItem
25206
 
25207
  def read(self, iprot):
25208
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25209
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25210
      return
25211
    iprot.readStructBegin()
25212
    while True:
25213
      (fname, ftype, fid) = iprot.readFieldBegin()
25214
      if ftype == TType.STOP:
25215
        break
25216
      if fid == 1:
25217
        if ftype == TType.STRUCT:
25218
          self.ebayItem = EbayItem()
25219
          self.ebayItem.read(iprot)
25220
        else:
25221
          iprot.skip(ftype)
25222
      else:
25223
        iprot.skip(ftype)
25224
      iprot.readFieldEnd()
25225
    iprot.readStructEnd()
25226
 
25227
  def write(self, oprot):
25228
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25229
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25230
      return
25231
    oprot.writeStructBegin('updateEbayItem_args')
25232
    if self.ebayItem is not None:
25233
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
25234
      self.ebayItem.write(oprot)
25235
      oprot.writeFieldEnd()
25236
    oprot.writeFieldStop()
25237
    oprot.writeStructEnd()
25238
 
25239
  def validate(self):
25240
    return
25241
 
25242
 
25243
  def __repr__(self):
25244
    L = ['%s=%r' % (key, value)
25245
      for key, value in self.__dict__.iteritems()]
25246
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25247
 
25248
  def __eq__(self, other):
25249
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25250
 
25251
  def __ne__(self, other):
25252
    return not (self == other)
25253
 
25254
class updateEbayItem_result:
25255
 
25256
  thrift_spec = (
25257
  )
25258
 
25259
  def read(self, iprot):
25260
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25261
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25262
      return
25263
    iprot.readStructBegin()
25264
    while True:
25265
      (fname, ftype, fid) = iprot.readFieldBegin()
25266
      if ftype == TType.STOP:
25267
        break
25268
      else:
25269
        iprot.skip(ftype)
25270
      iprot.readFieldEnd()
25271
    iprot.readStructEnd()
25272
 
25273
  def write(self, oprot):
25274
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25275
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25276
      return
25277
    oprot.writeStructBegin('updateEbayItem_result')
25278
    oprot.writeFieldStop()
25279
    oprot.writeStructEnd()
25280
 
25281
  def validate(self):
25282
    return
25283
 
25284
 
25285
  def __repr__(self):
25286
    L = ['%s=%r' % (key, value)
25287
      for key, value in self.__dict__.iteritems()]
25288
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25289
 
25290
  def __eq__(self, other):
25291
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25292
 
25293
  def __ne__(self, other):
25294
    return not (self == other)
25295
 
8139 kshitij.so 25296
class getAmazonListedItems_args:
25297
  """
25298
  Attributes:
25299
   - offset
25300
   - limit
25301
  """
25302
 
25303
  thrift_spec = (
25304
    None, # 0
25305
    (1, TType.I64, 'offset', None, None, ), # 1
25306
    (2, TType.I64, 'limit', None, None, ), # 2
25307
  )
25308
 
25309
  def __init__(self, offset=None, limit=None,):
25310
    self.offset = offset
25311
    self.limit = limit
25312
 
25313
  def read(self, iprot):
25314
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25315
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25316
      return
25317
    iprot.readStructBegin()
25318
    while True:
25319
      (fname, ftype, fid) = iprot.readFieldBegin()
25320
      if ftype == TType.STOP:
25321
        break
25322
      if fid == 1:
25323
        if ftype == TType.I64:
25324
          self.offset = iprot.readI64();
25325
        else:
25326
          iprot.skip(ftype)
25327
      elif fid == 2:
25328
        if ftype == TType.I64:
25329
          self.limit = iprot.readI64();
25330
        else:
25331
          iprot.skip(ftype)
25332
      else:
25333
        iprot.skip(ftype)
25334
      iprot.readFieldEnd()
25335
    iprot.readStructEnd()
25336
 
25337
  def write(self, oprot):
25338
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25339
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25340
      return
25341
    oprot.writeStructBegin('getAmazonListedItems_args')
25342
    if self.offset is not None:
25343
      oprot.writeFieldBegin('offset', TType.I64, 1)
25344
      oprot.writeI64(self.offset)
25345
      oprot.writeFieldEnd()
25346
    if self.limit is not None:
25347
      oprot.writeFieldBegin('limit', TType.I64, 2)
25348
      oprot.writeI64(self.limit)
25349
      oprot.writeFieldEnd()
25350
    oprot.writeFieldStop()
25351
    oprot.writeStructEnd()
25352
 
25353
  def validate(self):
25354
    return
25355
 
25356
 
25357
  def __repr__(self):
25358
    L = ['%s=%r' % (key, value)
25359
      for key, value in self.__dict__.iteritems()]
25360
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25361
 
25362
  def __eq__(self, other):
25363
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25364
 
25365
  def __ne__(self, other):
25366
    return not (self == other)
25367
 
25368
class getAmazonListedItems_result:
25369
  """
25370
  Attributes:
25371
   - success
25372
  """
25373
 
25374
  thrift_spec = (
25375
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25376
  )
25377
 
25378
  def __init__(self, success=None,):
25379
    self.success = success
25380
 
25381
  def read(self, iprot):
25382
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25383
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25384
      return
25385
    iprot.readStructBegin()
25386
    while True:
25387
      (fname, ftype, fid) = iprot.readFieldBegin()
25388
      if ftype == TType.STOP:
25389
        break
25390
      if fid == 0:
25391
        if ftype == TType.LIST:
25392
          self.success = []
18719 kshitij.so 25393
          (_etype511, _size508) = iprot.readListBegin()
25394
          for _i512 in xrange(_size508):
25395
            _elem513 = Amazonlisted()
25396
            _elem513.read(iprot)
25397
            self.success.append(_elem513)
8139 kshitij.so 25398
          iprot.readListEnd()
25399
        else:
25400
          iprot.skip(ftype)
25401
      else:
25402
        iprot.skip(ftype)
25403
      iprot.readFieldEnd()
25404
    iprot.readStructEnd()
25405
 
25406
  def write(self, oprot):
25407
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25408
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25409
      return
25410
    oprot.writeStructBegin('getAmazonListedItems_result')
25411
    if self.success is not None:
25412
      oprot.writeFieldBegin('success', TType.LIST, 0)
25413
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 25414
      for iter514 in self.success:
25415
        iter514.write(oprot)
8139 kshitij.so 25416
      oprot.writeListEnd()
25417
      oprot.writeFieldEnd()
25418
    oprot.writeFieldStop()
25419
    oprot.writeStructEnd()
25420
 
25421
  def validate(self):
25422
    return
25423
 
25424
 
25425
  def __repr__(self):
25426
    L = ['%s=%r' % (key, value)
25427
      for key, value in self.__dict__.iteritems()]
25428
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25429
 
25430
  def __eq__(self, other):
25431
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25432
 
25433
  def __ne__(self, other):
25434
    return not (self == other)
8168 kshitij.so 25435
 
25436
class updateAmazonAttributesInBulk_args:
25437
  """
25438
  Attributes:
25439
   - amazonlisted
25440
  """
25441
 
25442
  thrift_spec = (
25443
    None, # 0
25444
    (1, TType.MAP, 'amazonlisted', (TType.I64,None,TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 1
25445
  )
25446
 
25447
  def __init__(self, amazonlisted=None,):
25448
    self.amazonlisted = amazonlisted
25449
 
25450
  def read(self, iprot):
25451
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25452
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25453
      return
25454
    iprot.readStructBegin()
25455
    while True:
25456
      (fname, ftype, fid) = iprot.readFieldBegin()
25457
      if ftype == TType.STOP:
25458
        break
25459
      if fid == 1:
25460
        if ftype == TType.MAP:
25461
          self.amazonlisted = {}
18719 kshitij.so 25462
          (_ktype516, _vtype517, _size515 ) = iprot.readMapBegin() 
25463
          for _i519 in xrange(_size515):
25464
            _key520 = iprot.readI64();
25465
            _val521 = Amazonlisted()
25466
            _val521.read(iprot)
25467
            self.amazonlisted[_key520] = _val521
8168 kshitij.so 25468
          iprot.readMapEnd()
25469
        else:
25470
          iprot.skip(ftype)
25471
      else:
25472
        iprot.skip(ftype)
25473
      iprot.readFieldEnd()
25474
    iprot.readStructEnd()
25475
 
25476
  def write(self, oprot):
25477
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25478
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25479
      return
25480
    oprot.writeStructBegin('updateAmazonAttributesInBulk_args')
25481
    if self.amazonlisted is not None:
25482
      oprot.writeFieldBegin('amazonlisted', TType.MAP, 1)
25483
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.amazonlisted))
18719 kshitij.so 25484
      for kiter522,viter523 in self.amazonlisted.items():
25485
        oprot.writeI64(kiter522)
25486
        viter523.write(oprot)
8168 kshitij.so 25487
      oprot.writeMapEnd()
25488
      oprot.writeFieldEnd()
25489
    oprot.writeFieldStop()
25490
    oprot.writeStructEnd()
25491
 
25492
  def validate(self):
25493
    return
25494
 
25495
 
25496
  def __repr__(self):
25497
    L = ['%s=%r' % (key, value)
25498
      for key, value in self.__dict__.iteritems()]
25499
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25500
 
25501
  def __eq__(self, other):
25502
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25503
 
25504
  def __ne__(self, other):
25505
    return not (self == other)
25506
 
25507
class updateAmazonAttributesInBulk_result:
25508
  """
25509
  Attributes:
25510
   - success
25511
  """
25512
 
25513
  thrift_spec = (
25514
    (0, TType.BOOL, 'success', None, None, ), # 0
25515
  )
25516
 
25517
  def __init__(self, success=None,):
25518
    self.success = success
25519
 
25520
  def read(self, iprot):
25521
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25522
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25523
      return
25524
    iprot.readStructBegin()
25525
    while True:
25526
      (fname, ftype, fid) = iprot.readFieldBegin()
25527
      if ftype == TType.STOP:
25528
        break
25529
      if fid == 0:
25530
        if ftype == TType.BOOL:
25531
          self.success = iprot.readBool();
25532
        else:
25533
          iprot.skip(ftype)
25534
      else:
25535
        iprot.skip(ftype)
25536
      iprot.readFieldEnd()
25537
    iprot.readStructEnd()
25538
 
25539
  def write(self, oprot):
25540
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25541
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25542
      return
25543
    oprot.writeStructBegin('updateAmazonAttributesInBulk_result')
25544
    if self.success is not None:
25545
      oprot.writeFieldBegin('success', TType.BOOL, 0)
25546
      oprot.writeBool(self.success)
25547
      oprot.writeFieldEnd()
25548
    oprot.writeFieldStop()
25549
    oprot.writeStructEnd()
25550
 
25551
  def validate(self):
25552
    return
25553
 
25554
 
25555
  def __repr__(self):
25556
    L = ['%s=%r' % (key, value)
25557
      for key, value in self.__dict__.iteritems()]
25558
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25559
 
25560
  def __eq__(self, other):
25561
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25562
 
25563
  def __ne__(self, other):
25564
    return not (self == other)
8379 vikram.rag 25565
 
25566
class getAllItemstoListOnFba_args:
25567
 
25568
  thrift_spec = (
25569
  )
25570
 
25571
  def read(self, iprot):
25572
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25573
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25574
      return
25575
    iprot.readStructBegin()
25576
    while True:
25577
      (fname, ftype, fid) = iprot.readFieldBegin()
25578
      if ftype == TType.STOP:
25579
        break
25580
      else:
25581
        iprot.skip(ftype)
25582
      iprot.readFieldEnd()
25583
    iprot.readStructEnd()
25584
 
25585
  def write(self, oprot):
25586
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25587
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25588
      return
25589
    oprot.writeStructBegin('getAllItemstoListOnFba_args')
25590
    oprot.writeFieldStop()
25591
    oprot.writeStructEnd()
25592
 
25593
  def validate(self):
25594
    return
25595
 
25596
 
25597
  def __repr__(self):
25598
    L = ['%s=%r' % (key, value)
25599
      for key, value in self.__dict__.iteritems()]
25600
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25601
 
25602
  def __eq__(self, other):
25603
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25604
 
25605
  def __ne__(self, other):
25606
    return not (self == other)
25607
 
25608
class getAllItemstoListOnFba_result:
25609
  """
25610
  Attributes:
25611
   - success
25612
  """
25613
 
25614
  thrift_spec = (
25615
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25616
  )
25617
 
25618
  def __init__(self, success=None,):
25619
    self.success = success
25620
 
25621
  def read(self, iprot):
25622
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25623
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25624
      return
25625
    iprot.readStructBegin()
25626
    while True:
25627
      (fname, ftype, fid) = iprot.readFieldBegin()
25628
      if ftype == TType.STOP:
25629
        break
25630
      if fid == 0:
25631
        if ftype == TType.LIST:
25632
          self.success = []
18719 kshitij.so 25633
          (_etype527, _size524) = iprot.readListBegin()
25634
          for _i528 in xrange(_size524):
25635
            _elem529 = Amazonlisted()
25636
            _elem529.read(iprot)
25637
            self.success.append(_elem529)
8379 vikram.rag 25638
          iprot.readListEnd()
25639
        else:
25640
          iprot.skip(ftype)
25641
      else:
25642
        iprot.skip(ftype)
25643
      iprot.readFieldEnd()
25644
    iprot.readStructEnd()
25645
 
25646
  def write(self, oprot):
25647
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25648
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25649
      return
25650
    oprot.writeStructBegin('getAllItemstoListOnFba_result')
25651
    if self.success is not None:
25652
      oprot.writeFieldBegin('success', TType.LIST, 0)
25653
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 25654
      for iter530 in self.success:
25655
        iter530.write(oprot)
8379 vikram.rag 25656
      oprot.writeListEnd()
25657
      oprot.writeFieldEnd()
25658
    oprot.writeFieldStop()
25659
    oprot.writeStructEnd()
25660
 
25661
  def validate(self):
25662
    return
25663
 
25664
 
25665
  def __repr__(self):
25666
    L = ['%s=%r' % (key, value)
25667
      for key, value in self.__dict__.iteritems()]
25668
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25669
 
25670
  def __eq__(self, other):
25671
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25672
 
25673
  def __ne__(self, other):
25674
    return not (self == other)
25675
 
25676
class getAllItemstoListOnNonFba_args:
25677
 
25678
  thrift_spec = (
25679
  )
25680
 
25681
  def read(self, iprot):
25682
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25683
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25684
      return
25685
    iprot.readStructBegin()
25686
    while True:
25687
      (fname, ftype, fid) = iprot.readFieldBegin()
25688
      if ftype == TType.STOP:
25689
        break
25690
      else:
25691
        iprot.skip(ftype)
25692
      iprot.readFieldEnd()
25693
    iprot.readStructEnd()
25694
 
25695
  def write(self, oprot):
25696
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25697
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25698
      return
25699
    oprot.writeStructBegin('getAllItemstoListOnNonFba_args')
25700
    oprot.writeFieldStop()
25701
    oprot.writeStructEnd()
25702
 
25703
  def validate(self):
25704
    return
25705
 
25706
 
25707
  def __repr__(self):
25708
    L = ['%s=%r' % (key, value)
25709
      for key, value in self.__dict__.iteritems()]
25710
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25711
 
25712
  def __eq__(self, other):
25713
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25714
 
25715
  def __ne__(self, other):
25716
    return not (self == other)
25717
 
25718
class getAllItemstoListOnNonFba_result:
25719
  """
25720
  Attributes:
25721
   - success
25722
  """
25723
 
25724
  thrift_spec = (
25725
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25726
  )
25727
 
25728
  def __init__(self, success=None,):
25729
    self.success = success
25730
 
25731
  def read(self, iprot):
25732
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25733
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25734
      return
25735
    iprot.readStructBegin()
25736
    while True:
25737
      (fname, ftype, fid) = iprot.readFieldBegin()
25738
      if ftype == TType.STOP:
25739
        break
25740
      if fid == 0:
25741
        if ftype == TType.LIST:
25742
          self.success = []
18719 kshitij.so 25743
          (_etype534, _size531) = iprot.readListBegin()
25744
          for _i535 in xrange(_size531):
25745
            _elem536 = Amazonlisted()
25746
            _elem536.read(iprot)
25747
            self.success.append(_elem536)
8379 vikram.rag 25748
          iprot.readListEnd()
25749
        else:
25750
          iprot.skip(ftype)
25751
      else:
25752
        iprot.skip(ftype)
25753
      iprot.readFieldEnd()
25754
    iprot.readStructEnd()
25755
 
25756
  def write(self, oprot):
25757
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25758
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25759
      return
25760
    oprot.writeStructBegin('getAllItemstoListOnNonFba_result')
25761
    if self.success is not None:
25762
      oprot.writeFieldBegin('success', TType.LIST, 0)
25763
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 25764
      for iter537 in self.success:
25765
        iter537.write(oprot)
8379 vikram.rag 25766
      oprot.writeListEnd()
25767
      oprot.writeFieldEnd()
25768
    oprot.writeFieldStop()
25769
    oprot.writeStructEnd()
25770
 
25771
  def validate(self):
25772
    return
25773
 
25774
 
25775
  def __repr__(self):
25776
    L = ['%s=%r' % (key, value)
25777
      for key, value in self.__dict__.iteritems()]
25778
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25779
 
25780
  def __eq__(self, other):
25781
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25782
 
25783
  def __ne__(self, other):
25784
    return not (self == other)
8616 vikram.rag 25785
 
9242 kshitij.so 25786
class updateAsin_args:
25787
  """
25788
  Attributes:
25789
   - item
25790
  """
8616 vikram.rag 25791
 
25792
  thrift_spec = (
9242 kshitij.so 25793
    None, # 0
25794
    (1, TType.MAP, 'item', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 1
8616 vikram.rag 25795
  )
25796
 
9242 kshitij.so 25797
  def __init__(self, item=None,):
25798
    self.item = item
25799
 
8616 vikram.rag 25800
  def read(self, iprot):
25801
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25802
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25803
      return
25804
    iprot.readStructBegin()
25805
    while True:
25806
      (fname, ftype, fid) = iprot.readFieldBegin()
25807
      if ftype == TType.STOP:
25808
        break
9242 kshitij.so 25809
      if fid == 1:
25810
        if ftype == TType.MAP:
25811
          self.item = {}
18719 kshitij.so 25812
          (_ktype539, _vtype540, _size538 ) = iprot.readMapBegin() 
25813
          for _i542 in xrange(_size538):
25814
            _key543 = iprot.readI64();
25815
            _val544 = Item()
25816
            _val544.read(iprot)
25817
            self.item[_key543] = _val544
9242 kshitij.so 25818
          iprot.readMapEnd()
25819
        else:
25820
          iprot.skip(ftype)
8616 vikram.rag 25821
      else:
25822
        iprot.skip(ftype)
25823
      iprot.readFieldEnd()
25824
    iprot.readStructEnd()
25825
 
25826
  def write(self, oprot):
25827
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25828
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25829
      return
9242 kshitij.so 25830
    oprot.writeStructBegin('updateAsin_args')
25831
    if self.item is not None:
25832
      oprot.writeFieldBegin('item', TType.MAP, 1)
25833
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.item))
18719 kshitij.so 25834
      for kiter545,viter546 in self.item.items():
25835
        oprot.writeI64(kiter545)
25836
        viter546.write(oprot)
9242 kshitij.so 25837
      oprot.writeMapEnd()
25838
      oprot.writeFieldEnd()
8616 vikram.rag 25839
    oprot.writeFieldStop()
25840
    oprot.writeStructEnd()
25841
 
25842
  def validate(self):
25843
    return
25844
 
25845
 
25846
  def __repr__(self):
25847
    L = ['%s=%r' % (key, value)
25848
      for key, value in self.__dict__.iteritems()]
25849
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25850
 
25851
  def __eq__(self, other):
25852
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25853
 
25854
  def __ne__(self, other):
25855
    return not (self == other)
25856
 
9242 kshitij.so 25857
class updateAsin_result:
8616 vikram.rag 25858
 
25859
  thrift_spec = (
25860
  )
25861
 
25862
  def read(self, iprot):
25863
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25864
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25865
      return
25866
    iprot.readStructBegin()
25867
    while True:
25868
      (fname, ftype, fid) = iprot.readFieldBegin()
25869
      if ftype == TType.STOP:
25870
        break
25871
      else:
25872
        iprot.skip(ftype)
25873
      iprot.readFieldEnd()
25874
    iprot.readStructEnd()
25875
 
25876
  def write(self, oprot):
25877
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25878
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25879
      return
9242 kshitij.so 25880
    oprot.writeStructBegin('updateAsin_result')
8616 vikram.rag 25881
    oprot.writeFieldStop()
25882
    oprot.writeStructEnd()
25883
 
25884
  def validate(self):
25885
    return
25886
 
25887
 
25888
  def __repr__(self):
25889
    L = ['%s=%r' % (key, value)
25890
      for key, value in self.__dict__.iteritems()]
25891
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25892
 
25893
  def __eq__(self, other):
25894
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25895
 
25896
  def __ne__(self, other):
25897
    return not (self == other)
8619 kshitij.so 25898
 
9242 kshitij.so 25899
class addOrUpdateSnapdealItem_args:
8619 kshitij.so 25900
  """
25901
  Attributes:
9242 kshitij.so 25902
   - snapdealitem
8619 kshitij.so 25903
  """
25904
 
9242 kshitij.so 25905
  thrift_spec = None
25906
  def __init__(self, snapdealitem=None,):
25907
    self.snapdealitem = snapdealitem
8619 kshitij.so 25908
 
25909
  def read(self, iprot):
25910
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25911
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25912
      return
25913
    iprot.readStructBegin()
25914
    while True:
25915
      (fname, ftype, fid) = iprot.readFieldBegin()
25916
      if ftype == TType.STOP:
25917
        break
9242 kshitij.so 25918
      if fid == -1:
25919
        if ftype == TType.STRUCT:
25920
          self.snapdealitem = SnapdealItem()
25921
          self.snapdealitem.read(iprot)
8619 kshitij.so 25922
        else:
25923
          iprot.skip(ftype)
25924
      else:
25925
        iprot.skip(ftype)
25926
      iprot.readFieldEnd()
25927
    iprot.readStructEnd()
25928
 
25929
  def write(self, oprot):
25930
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25931
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25932
      return
9242 kshitij.so 25933
    oprot.writeStructBegin('addOrUpdateSnapdealItem_args')
25934
    if self.snapdealitem is not None:
25935
      oprot.writeFieldBegin('snapdealitem', TType.STRUCT, -1)
25936
      self.snapdealitem.write(oprot)
8619 kshitij.so 25937
      oprot.writeFieldEnd()
25938
    oprot.writeFieldStop()
25939
    oprot.writeStructEnd()
25940
 
25941
  def validate(self):
25942
    return
25943
 
25944
 
25945
  def __repr__(self):
25946
    L = ['%s=%r' % (key, value)
25947
      for key, value in self.__dict__.iteritems()]
25948
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25949
 
25950
  def __eq__(self, other):
25951
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25952
 
25953
  def __ne__(self, other):
25954
    return not (self == other)
25955
 
9242 kshitij.so 25956
class addOrUpdateSnapdealItem_result:
25957
  """
25958
  Attributes:
25959
   - success
25960
  """
8619 kshitij.so 25961
 
25962
  thrift_spec = (
9242 kshitij.so 25963
    (0, TType.BOOL, 'success', None, None, ), # 0
8619 kshitij.so 25964
  )
25965
 
9242 kshitij.so 25966
  def __init__(self, success=None,):
25967
    self.success = success
25968
 
8619 kshitij.so 25969
  def read(self, iprot):
25970
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25971
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25972
      return
25973
    iprot.readStructBegin()
25974
    while True:
25975
      (fname, ftype, fid) = iprot.readFieldBegin()
25976
      if ftype == TType.STOP:
25977
        break
9242 kshitij.so 25978
      if fid == 0:
25979
        if ftype == TType.BOOL:
25980
          self.success = iprot.readBool();
25981
        else:
25982
          iprot.skip(ftype)
8619 kshitij.so 25983
      else:
25984
        iprot.skip(ftype)
25985
      iprot.readFieldEnd()
25986
    iprot.readStructEnd()
25987
 
25988
  def write(self, oprot):
25989
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25990
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25991
      return
9242 kshitij.so 25992
    oprot.writeStructBegin('addOrUpdateSnapdealItem_result')
25993
    if self.success is not None:
25994
      oprot.writeFieldBegin('success', TType.BOOL, 0)
25995
      oprot.writeBool(self.success)
25996
      oprot.writeFieldEnd()
8619 kshitij.so 25997
    oprot.writeFieldStop()
25998
    oprot.writeStructEnd()
25999
 
26000
  def validate(self):
26001
    return
26002
 
26003
 
26004
  def __repr__(self):
26005
    L = ['%s=%r' % (key, value)
26006
      for key, value in self.__dict__.iteritems()]
26007
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26008
 
26009
  def __eq__(self, other):
26010
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26011
 
26012
  def __ne__(self, other):
26013
    return not (self == other)
8739 vikram.rag 26014
 
9242 kshitij.so 26015
class getSnapdealItem_args:
8739 vikram.rag 26016
  """
26017
  Attributes:
9242 kshitij.so 26018
   - item_id
8739 vikram.rag 26019
  """
26020
 
9242 kshitij.so 26021
  thrift_spec = (
26022
    None, # 0
26023
    (1, TType.I64, 'item_id', None, None, ), # 1
26024
  )
8739 vikram.rag 26025
 
9242 kshitij.so 26026
  def __init__(self, item_id=None,):
26027
    self.item_id = item_id
26028
 
8739 vikram.rag 26029
  def read(self, iprot):
26030
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26031
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26032
      return
26033
    iprot.readStructBegin()
26034
    while True:
26035
      (fname, ftype, fid) = iprot.readFieldBegin()
26036
      if ftype == TType.STOP:
26037
        break
9242 kshitij.so 26038
      if fid == 1:
26039
        if ftype == TType.I64:
26040
          self.item_id = iprot.readI64();
8739 vikram.rag 26041
        else:
26042
          iprot.skip(ftype)
26043
      else:
26044
        iprot.skip(ftype)
26045
      iprot.readFieldEnd()
26046
    iprot.readStructEnd()
26047
 
26048
  def write(self, oprot):
26049
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26050
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26051
      return
9242 kshitij.so 26052
    oprot.writeStructBegin('getSnapdealItem_args')
26053
    if self.item_id is not None:
26054
      oprot.writeFieldBegin('item_id', TType.I64, 1)
26055
      oprot.writeI64(self.item_id)
8739 vikram.rag 26056
      oprot.writeFieldEnd()
26057
    oprot.writeFieldStop()
26058
    oprot.writeStructEnd()
26059
 
26060
  def validate(self):
26061
    return
26062
 
26063
 
26064
  def __repr__(self):
26065
    L = ['%s=%r' % (key, value)
26066
      for key, value in self.__dict__.iteritems()]
26067
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26068
 
26069
  def __eq__(self, other):
26070
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26071
 
26072
  def __ne__(self, other):
26073
    return not (self == other)
26074
 
9242 kshitij.so 26075
class getSnapdealItem_result:
8739 vikram.rag 26076
  """
26077
  Attributes:
26078
   - success
26079
  """
26080
 
26081
  thrift_spec = (
9242 kshitij.so 26082
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
8739 vikram.rag 26083
  )
26084
 
26085
  def __init__(self, success=None,):
26086
    self.success = success
26087
 
26088
  def read(self, iprot):
26089
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26090
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26091
      return
26092
    iprot.readStructBegin()
26093
    while True:
26094
      (fname, ftype, fid) = iprot.readFieldBegin()
26095
      if ftype == TType.STOP:
26096
        break
26097
      if fid == 0:
9242 kshitij.so 26098
        if ftype == TType.STRUCT:
26099
          self.success = SnapdealItem()
26100
          self.success.read(iprot)
8739 vikram.rag 26101
        else:
26102
          iprot.skip(ftype)
26103
      else:
26104
        iprot.skip(ftype)
26105
      iprot.readFieldEnd()
26106
    iprot.readStructEnd()
26107
 
26108
  def write(self, oprot):
26109
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26110
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26111
      return
9242 kshitij.so 26112
    oprot.writeStructBegin('getSnapdealItem_result')
8739 vikram.rag 26113
    if self.success is not None:
9242 kshitij.so 26114
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26115
      self.success.write(oprot)
8739 vikram.rag 26116
      oprot.writeFieldEnd()
26117
    oprot.writeFieldStop()
26118
    oprot.writeStructEnd()
26119
 
26120
  def validate(self):
26121
    return
26122
 
26123
 
26124
  def __repr__(self):
26125
    L = ['%s=%r' % (key, value)
26126
      for key, value in self.__dict__.iteritems()]
26127
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26128
 
26129
  def __eq__(self, other):
26130
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26131
 
26132
  def __ne__(self, other):
26133
    return not (self == other)
26134
 
9242 kshitij.so 26135
class getSnapdealItemDetails_args:
8739 vikram.rag 26136
  """
26137
  Attributes:
26138
   - item_id
26139
  """
26140
 
26141
  thrift_spec = (
26142
    None, # 0
26143
    (1, TType.I64, 'item_id', None, None, ), # 1
26144
  )
26145
 
26146
  def __init__(self, item_id=None,):
26147
    self.item_id = item_id
26148
 
26149
  def read(self, iprot):
26150
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26151
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26152
      return
26153
    iprot.readStructBegin()
26154
    while True:
26155
      (fname, ftype, fid) = iprot.readFieldBegin()
26156
      if ftype == TType.STOP:
26157
        break
26158
      if fid == 1:
26159
        if ftype == TType.I64:
26160
          self.item_id = iprot.readI64();
26161
        else:
26162
          iprot.skip(ftype)
26163
      else:
26164
        iprot.skip(ftype)
26165
      iprot.readFieldEnd()
26166
    iprot.readStructEnd()
26167
 
26168
  def write(self, oprot):
26169
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26170
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26171
      return
9242 kshitij.so 26172
    oprot.writeStructBegin('getSnapdealItemDetails_args')
8739 vikram.rag 26173
    if self.item_id is not None:
26174
      oprot.writeFieldBegin('item_id', TType.I64, 1)
26175
      oprot.writeI64(self.item_id)
26176
      oprot.writeFieldEnd()
26177
    oprot.writeFieldStop()
26178
    oprot.writeStructEnd()
26179
 
26180
  def validate(self):
26181
    return
26182
 
26183
 
26184
  def __repr__(self):
26185
    L = ['%s=%r' % (key, value)
26186
      for key, value in self.__dict__.iteritems()]
26187
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26188
 
26189
  def __eq__(self, other):
26190
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26191
 
26192
  def __ne__(self, other):
26193
    return not (self == other)
26194
 
9242 kshitij.so 26195
class getSnapdealItemDetails_result:
8739 vikram.rag 26196
  """
26197
  Attributes:
26198
   - success
26199
  """
26200
 
26201
  thrift_spec = (
9242 kshitij.so 26202
    (0, TType.STRUCT, 'success', (SnapdealItemDetails, SnapdealItemDetails.thrift_spec), None, ), # 0
8739 vikram.rag 26203
  )
26204
 
26205
  def __init__(self, success=None,):
26206
    self.success = success
26207
 
26208
  def read(self, iprot):
26209
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26210
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26211
      return
26212
    iprot.readStructBegin()
26213
    while True:
26214
      (fname, ftype, fid) = iprot.readFieldBegin()
26215
      if ftype == TType.STOP:
26216
        break
26217
      if fid == 0:
26218
        if ftype == TType.STRUCT:
9242 kshitij.so 26219
          self.success = SnapdealItemDetails()
8739 vikram.rag 26220
          self.success.read(iprot)
26221
        else:
26222
          iprot.skip(ftype)
26223
      else:
26224
        iprot.skip(ftype)
26225
      iprot.readFieldEnd()
26226
    iprot.readStructEnd()
26227
 
26228
  def write(self, oprot):
26229
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26230
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26231
      return
9242 kshitij.so 26232
    oprot.writeStructBegin('getSnapdealItemDetails_result')
8739 vikram.rag 26233
    if self.success is not None:
26234
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26235
      self.success.write(oprot)
26236
      oprot.writeFieldEnd()
26237
    oprot.writeFieldStop()
26238
    oprot.writeStructEnd()
26239
 
26240
  def validate(self):
26241
    return
26242
 
26243
 
26244
  def __repr__(self):
26245
    L = ['%s=%r' % (key, value)
26246
      for key, value in self.__dict__.iteritems()]
26247
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26248
 
26249
  def __eq__(self, other):
26250
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26251
 
26252
  def __ne__(self, other):
26253
    return not (self == other)
26254
 
26255
class getAllSnapdealItems_args:
26256
 
26257
  thrift_spec = (
26258
  )
26259
 
26260
  def read(self, iprot):
26261
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26262
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26263
      return
26264
    iprot.readStructBegin()
26265
    while True:
26266
      (fname, ftype, fid) = iprot.readFieldBegin()
26267
      if ftype == TType.STOP:
26268
        break
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('getAllSnapdealItems_args')
26279
    oprot.writeFieldStop()
26280
    oprot.writeStructEnd()
26281
 
26282
  def validate(self):
26283
    return
26284
 
26285
 
26286
  def __repr__(self):
26287
    L = ['%s=%r' % (key, value)
26288
      for key, value in self.__dict__.iteritems()]
26289
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26290
 
26291
  def __eq__(self, other):
26292
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26293
 
26294
  def __ne__(self, other):
26295
    return not (self == other)
26296
 
26297
class getAllSnapdealItems_result:
26298
  """
26299
  Attributes:
26300
   - success
26301
  """
26302
 
26303
  thrift_spec = (
9242 kshitij.so 26304
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
8739 vikram.rag 26305
  )
26306
 
26307
  def __init__(self, success=None,):
26308
    self.success = success
26309
 
26310
  def read(self, iprot):
26311
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26312
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26313
      return
26314
    iprot.readStructBegin()
26315
    while True:
26316
      (fname, ftype, fid) = iprot.readFieldBegin()
26317
      if ftype == TType.STOP:
26318
        break
26319
      if fid == 0:
26320
        if ftype == TType.LIST:
26321
          self.success = []
18719 kshitij.so 26322
          (_etype550, _size547) = iprot.readListBegin()
26323
          for _i551 in xrange(_size547):
26324
            _elem552 = SnapdealItemDetails()
26325
            _elem552.read(iprot)
26326
            self.success.append(_elem552)
9242 kshitij.so 26327
          iprot.readListEnd()
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('getAllSnapdealItems_result')
26340
    if self.success is not None:
26341
      oprot.writeFieldBegin('success', TType.LIST, 0)
26342
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 26343
      for iter553 in self.success:
26344
        iter553.write(oprot)
9242 kshitij.so 26345
      oprot.writeListEnd()
26346
      oprot.writeFieldEnd()
26347
    oprot.writeFieldStop()
26348
    oprot.writeStructEnd()
26349
 
26350
  def validate(self):
26351
    return
26352
 
26353
 
26354
  def __repr__(self):
26355
    L = ['%s=%r' % (key, value)
26356
      for key, value in self.__dict__.iteritems()]
26357
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26358
 
26359
  def __eq__(self, other):
26360
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26361
 
26362
  def __ne__(self, other):
26363
    return not (self == other)
26364
 
26365
class getSnapdealItems_args:
26366
  """
26367
  Attributes:
26368
   - offset
26369
   - limit
26370
  """
26371
 
26372
  thrift_spec = (
26373
    None, # 0
26374
    (1, TType.I64, 'offset', None, None, ), # 1
26375
    (2, TType.I64, 'limit', None, None, ), # 2
26376
  )
26377
 
26378
  def __init__(self, offset=None, limit=None,):
26379
    self.offset = offset
26380
    self.limit = limit
26381
 
26382
  def read(self, iprot):
26383
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26384
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26385
      return
26386
    iprot.readStructBegin()
26387
    while True:
26388
      (fname, ftype, fid) = iprot.readFieldBegin()
26389
      if ftype == TType.STOP:
26390
        break
26391
      if fid == 1:
26392
        if ftype == TType.I64:
26393
          self.offset = iprot.readI64();
26394
        else:
26395
          iprot.skip(ftype)
26396
      elif fid == 2:
26397
        if ftype == TType.I64:
26398
          self.limit = iprot.readI64();
26399
        else:
26400
          iprot.skip(ftype)
26401
      else:
26402
        iprot.skip(ftype)
26403
      iprot.readFieldEnd()
26404
    iprot.readStructEnd()
26405
 
26406
  def write(self, oprot):
26407
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26408
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26409
      return
26410
    oprot.writeStructBegin('getSnapdealItems_args')
26411
    if self.offset is not None:
26412
      oprot.writeFieldBegin('offset', TType.I64, 1)
26413
      oprot.writeI64(self.offset)
26414
      oprot.writeFieldEnd()
26415
    if self.limit is not None:
26416
      oprot.writeFieldBegin('limit', TType.I64, 2)
26417
      oprot.writeI64(self.limit)
26418
      oprot.writeFieldEnd()
26419
    oprot.writeFieldStop()
26420
    oprot.writeStructEnd()
26421
 
26422
  def validate(self):
26423
    return
26424
 
26425
 
26426
  def __repr__(self):
26427
    L = ['%s=%r' % (key, value)
26428
      for key, value in self.__dict__.iteritems()]
26429
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26430
 
26431
  def __eq__(self, other):
26432
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26433
 
26434
  def __ne__(self, other):
26435
    return not (self == other)
26436
 
26437
class getSnapdealItems_result:
26438
  """
26439
  Attributes:
26440
   - success
26441
  """
26442
 
26443
  thrift_spec = (
26444
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
26445
  )
26446
 
26447
  def __init__(self, success=None,):
26448
    self.success = success
26449
 
26450
  def read(self, iprot):
26451
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26452
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26453
      return
26454
    iprot.readStructBegin()
26455
    while True:
26456
      (fname, ftype, fid) = iprot.readFieldBegin()
26457
      if ftype == TType.STOP:
26458
        break
26459
      if fid == 0:
26460
        if ftype == TType.LIST:
26461
          self.success = []
18719 kshitij.so 26462
          (_etype557, _size554) = iprot.readListBegin()
26463
          for _i558 in xrange(_size554):
26464
            _elem559 = SnapdealItemDetails()
26465
            _elem559.read(iprot)
26466
            self.success.append(_elem559)
8739 vikram.rag 26467
          iprot.readListEnd()
26468
        else:
26469
          iprot.skip(ftype)
26470
      else:
26471
        iprot.skip(ftype)
26472
      iprot.readFieldEnd()
26473
    iprot.readStructEnd()
26474
 
26475
  def write(self, oprot):
26476
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26477
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26478
      return
9242 kshitij.so 26479
    oprot.writeStructBegin('getSnapdealItems_result')
8739 vikram.rag 26480
    if self.success is not None:
26481
      oprot.writeFieldBegin('success', TType.LIST, 0)
26482
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 26483
      for iter560 in self.success:
26484
        iter560.write(oprot)
8739 vikram.rag 26485
      oprot.writeListEnd()
26486
      oprot.writeFieldEnd()
26487
    oprot.writeFieldStop()
26488
    oprot.writeStructEnd()
26489
 
26490
  def validate(self):
26491
    return
26492
 
26493
 
26494
  def __repr__(self):
26495
    L = ['%s=%r' % (key, value)
26496
      for key, value in self.__dict__.iteritems()]
26497
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26498
 
26499
  def __eq__(self, other):
26500
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26501
 
26502
  def __ne__(self, other):
26503
    return not (self == other)
9242 kshitij.so 26504
 
26505
class searchSnapdealItems_args:
26506
  """
26507
  Attributes:
26508
   - searchTerm
26509
   - offset
26510
   - limit
26511
  """
26512
 
26513
  thrift_spec = (
26514
    None, # 0
26515
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
26516
    (2, TType.I64, 'offset', None, None, ), # 2
26517
    (3, TType.I64, 'limit', None, None, ), # 3
26518
  )
26519
 
26520
  def __init__(self, searchTerm=None, offset=None, limit=None,):
26521
    self.searchTerm = searchTerm
26522
    self.offset = offset
26523
    self.limit = limit
26524
 
26525
  def read(self, iprot):
26526
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26527
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26528
      return
26529
    iprot.readStructBegin()
26530
    while True:
26531
      (fname, ftype, fid) = iprot.readFieldBegin()
26532
      if ftype == TType.STOP:
26533
        break
26534
      if fid == 1:
26535
        if ftype == TType.LIST:
26536
          self.searchTerm = []
18719 kshitij.so 26537
          (_etype564, _size561) = iprot.readListBegin()
26538
          for _i565 in xrange(_size561):
26539
            _elem566 = iprot.readString();
26540
            self.searchTerm.append(_elem566)
9242 kshitij.so 26541
          iprot.readListEnd()
26542
        else:
26543
          iprot.skip(ftype)
26544
      elif fid == 2:
26545
        if ftype == TType.I64:
26546
          self.offset = iprot.readI64();
26547
        else:
26548
          iprot.skip(ftype)
26549
      elif fid == 3:
26550
        if ftype == TType.I64:
26551
          self.limit = iprot.readI64();
26552
        else:
26553
          iprot.skip(ftype)
26554
      else:
26555
        iprot.skip(ftype)
26556
      iprot.readFieldEnd()
26557
    iprot.readStructEnd()
26558
 
26559
  def write(self, oprot):
26560
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26561
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26562
      return
26563
    oprot.writeStructBegin('searchSnapdealItems_args')
26564
    if self.searchTerm is not None:
26565
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
26566
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
18719 kshitij.so 26567
      for iter567 in self.searchTerm:
26568
        oprot.writeString(iter567)
9242 kshitij.so 26569
      oprot.writeListEnd()
26570
      oprot.writeFieldEnd()
26571
    if self.offset is not None:
26572
      oprot.writeFieldBegin('offset', TType.I64, 2)
26573
      oprot.writeI64(self.offset)
26574
      oprot.writeFieldEnd()
26575
    if self.limit is not None:
26576
      oprot.writeFieldBegin('limit', TType.I64, 3)
26577
      oprot.writeI64(self.limit)
26578
      oprot.writeFieldEnd()
26579
    oprot.writeFieldStop()
26580
    oprot.writeStructEnd()
26581
 
26582
  def validate(self):
26583
    return
26584
 
26585
 
26586
  def __repr__(self):
26587
    L = ['%s=%r' % (key, value)
26588
      for key, value in self.__dict__.iteritems()]
26589
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26590
 
26591
  def __eq__(self, other):
26592
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26593
 
26594
  def __ne__(self, other):
26595
    return not (self == other)
26596
 
26597
class searchSnapdealItems_result:
26598
  """
26599
  Attributes:
26600
   - success
26601
  """
26602
 
26603
  thrift_spec = (
26604
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
26605
  )
26606
 
26607
  def __init__(self, success=None,):
26608
    self.success = success
26609
 
26610
  def read(self, iprot):
26611
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26612
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26613
      return
26614
    iprot.readStructBegin()
26615
    while True:
26616
      (fname, ftype, fid) = iprot.readFieldBegin()
26617
      if ftype == TType.STOP:
26618
        break
26619
      if fid == 0:
26620
        if ftype == TType.LIST:
26621
          self.success = []
18719 kshitij.so 26622
          (_etype571, _size568) = iprot.readListBegin()
26623
          for _i572 in xrange(_size568):
26624
            _elem573 = SnapdealItemDetails()
26625
            _elem573.read(iprot)
26626
            self.success.append(_elem573)
9242 kshitij.so 26627
          iprot.readListEnd()
26628
        else:
26629
          iprot.skip(ftype)
26630
      else:
26631
        iprot.skip(ftype)
26632
      iprot.readFieldEnd()
26633
    iprot.readStructEnd()
26634
 
26635
  def write(self, oprot):
26636
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26637
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26638
      return
26639
    oprot.writeStructBegin('searchSnapdealItems_result')
26640
    if self.success is not None:
26641
      oprot.writeFieldBegin('success', TType.LIST, 0)
26642
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 26643
      for iter574 in self.success:
26644
        iter574.write(oprot)
9242 kshitij.so 26645
      oprot.writeListEnd()
26646
      oprot.writeFieldEnd()
26647
    oprot.writeFieldStop()
26648
    oprot.writeStructEnd()
26649
 
26650
  def validate(self):
26651
    return
26652
 
26653
 
26654
  def __repr__(self):
26655
    L = ['%s=%r' % (key, value)
26656
      for key, value in self.__dict__.iteritems()]
26657
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26658
 
26659
  def __eq__(self, other):
26660
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26661
 
26662
  def __ne__(self, other):
26663
    return not (self == other)
26664
 
26665
class getCountForSnapdealItems_args:
26666
 
26667
  thrift_spec = (
26668
  )
26669
 
26670
  def read(self, iprot):
26671
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26672
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26673
      return
26674
    iprot.readStructBegin()
26675
    while True:
26676
      (fname, ftype, fid) = iprot.readFieldBegin()
26677
      if ftype == TType.STOP:
26678
        break
26679
      else:
26680
        iprot.skip(ftype)
26681
      iprot.readFieldEnd()
26682
    iprot.readStructEnd()
26683
 
26684
  def write(self, oprot):
26685
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26686
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26687
      return
26688
    oprot.writeStructBegin('getCountForSnapdealItems_args')
26689
    oprot.writeFieldStop()
26690
    oprot.writeStructEnd()
26691
 
26692
  def validate(self):
26693
    return
26694
 
26695
 
26696
  def __repr__(self):
26697
    L = ['%s=%r' % (key, value)
26698
      for key, value in self.__dict__.iteritems()]
26699
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26700
 
26701
  def __eq__(self, other):
26702
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26703
 
26704
  def __ne__(self, other):
26705
    return not (self == other)
26706
 
26707
class getCountForSnapdealItems_result:
26708
  """
26709
  Attributes:
26710
   - success
26711
  """
26712
 
26713
  thrift_spec = (
26714
    (0, TType.I64, 'success', None, None, ), # 0
26715
  )
26716
 
26717
  def __init__(self, success=None,):
26718
    self.success = success
26719
 
26720
  def read(self, iprot):
26721
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26722
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26723
      return
26724
    iprot.readStructBegin()
26725
    while True:
26726
      (fname, ftype, fid) = iprot.readFieldBegin()
26727
      if ftype == TType.STOP:
26728
        break
26729
      if fid == 0:
26730
        if ftype == TType.I64:
26731
          self.success = iprot.readI64();
26732
        else:
26733
          iprot.skip(ftype)
26734
      else:
26735
        iprot.skip(ftype)
26736
      iprot.readFieldEnd()
26737
    iprot.readStructEnd()
26738
 
26739
  def write(self, oprot):
26740
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26741
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26742
      return
26743
    oprot.writeStructBegin('getCountForSnapdealItems_result')
26744
    if self.success is not None:
26745
      oprot.writeFieldBegin('success', TType.I64, 0)
26746
      oprot.writeI64(self.success)
26747
      oprot.writeFieldEnd()
26748
    oprot.writeFieldStop()
26749
    oprot.writeStructEnd()
26750
 
26751
  def validate(self):
26752
    return
26753
 
26754
 
26755
  def __repr__(self):
26756
    L = ['%s=%r' % (key, value)
26757
      for key, value in self.__dict__.iteritems()]
26758
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26759
 
26760
  def __eq__(self, other):
26761
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26762
 
26763
  def __ne__(self, other):
26764
    return not (self == other)
26765
 
26766
class getSnapdealSearchResultCount_args:
26767
  """
26768
  Attributes:
26769
   - searchTerm
26770
  """
26771
 
26772
  thrift_spec = (
26773
    None, # 0
26774
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
26775
  )
26776
 
26777
  def __init__(self, searchTerm=None,):
26778
    self.searchTerm = searchTerm
26779
 
26780
  def read(self, iprot):
26781
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26782
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26783
      return
26784
    iprot.readStructBegin()
26785
    while True:
26786
      (fname, ftype, fid) = iprot.readFieldBegin()
26787
      if ftype == TType.STOP:
26788
        break
26789
      if fid == 1:
26790
        if ftype == TType.LIST:
26791
          self.searchTerm = []
18719 kshitij.so 26792
          (_etype578, _size575) = iprot.readListBegin()
26793
          for _i579 in xrange(_size575):
26794
            _elem580 = iprot.readString();
26795
            self.searchTerm.append(_elem580)
9242 kshitij.so 26796
          iprot.readListEnd()
26797
        else:
26798
          iprot.skip(ftype)
26799
      else:
26800
        iprot.skip(ftype)
26801
      iprot.readFieldEnd()
26802
    iprot.readStructEnd()
26803
 
26804
  def write(self, oprot):
26805
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26806
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26807
      return
26808
    oprot.writeStructBegin('getSnapdealSearchResultCount_args')
26809
    if self.searchTerm is not None:
26810
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
26811
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
18719 kshitij.so 26812
      for iter581 in self.searchTerm:
26813
        oprot.writeString(iter581)
9242 kshitij.so 26814
      oprot.writeListEnd()
26815
      oprot.writeFieldEnd()
26816
    oprot.writeFieldStop()
26817
    oprot.writeStructEnd()
26818
 
26819
  def validate(self):
26820
    return
26821
 
26822
 
26823
  def __repr__(self):
26824
    L = ['%s=%r' % (key, value)
26825
      for key, value in self.__dict__.iteritems()]
26826
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26827
 
26828
  def __eq__(self, other):
26829
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26830
 
26831
  def __ne__(self, other):
26832
    return not (self == other)
26833
 
26834
class getSnapdealSearchResultCount_result:
26835
  """
26836
  Attributes:
26837
   - success
26838
  """
26839
 
26840
  thrift_spec = (
26841
    (0, TType.I64, 'success', None, None, ), # 0
26842
  )
26843
 
26844
  def __init__(self, success=None,):
26845
    self.success = success
26846
 
26847
  def read(self, iprot):
26848
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26849
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26850
      return
26851
    iprot.readStructBegin()
26852
    while True:
26853
      (fname, ftype, fid) = iprot.readFieldBegin()
26854
      if ftype == TType.STOP:
26855
        break
26856
      if fid == 0:
26857
        if ftype == TType.I64:
26858
          self.success = iprot.readI64();
26859
        else:
26860
          iprot.skip(ftype)
26861
      else:
26862
        iprot.skip(ftype)
26863
      iprot.readFieldEnd()
26864
    iprot.readStructEnd()
26865
 
26866
  def write(self, oprot):
26867
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26868
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26869
      return
26870
    oprot.writeStructBegin('getSnapdealSearchResultCount_result')
26871
    if self.success is not None:
26872
      oprot.writeFieldBegin('success', TType.I64, 0)
26873
      oprot.writeI64(self.success)
26874
      oprot.writeFieldEnd()
26875
    oprot.writeFieldStop()
26876
    oprot.writeStructEnd()
26877
 
26878
  def validate(self):
26879
    return
26880
 
26881
 
26882
  def __repr__(self):
26883
    L = ['%s=%r' % (key, value)
26884
      for key, value in self.__dict__.iteritems()]
26885
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26886
 
26887
  def __eq__(self, other):
26888
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26889
 
26890
  def __ne__(self, other):
26891
    return not (self == other)
9299 kshitij.so 26892
 
26893
class getPrefferedInsurerForItem_args:
26894
  """
26895
  Attributes:
26896
   - itemId
26897
   - insurerType
26898
  """
26899
 
26900
  thrift_spec = (
26901
    None, # 0
26902
    (1, TType.I64, 'itemId', None, None, ), # 1
26903
    (2, TType.I32, 'insurerType', None, None, ), # 2
26904
  )
26905
 
26906
  def __init__(self, itemId=None, insurerType=None,):
26907
    self.itemId = itemId
26908
    self.insurerType = insurerType
26909
 
26910
  def read(self, iprot):
26911
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26912
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26913
      return
26914
    iprot.readStructBegin()
26915
    while True:
26916
      (fname, ftype, fid) = iprot.readFieldBegin()
26917
      if ftype == TType.STOP:
26918
        break
26919
      if fid == 1:
26920
        if ftype == TType.I64:
26921
          self.itemId = iprot.readI64();
26922
        else:
26923
          iprot.skip(ftype)
26924
      elif fid == 2:
26925
        if ftype == TType.I32:
26926
          self.insurerType = iprot.readI32();
26927
        else:
26928
          iprot.skip(ftype)
26929
      else:
26930
        iprot.skip(ftype)
26931
      iprot.readFieldEnd()
26932
    iprot.readStructEnd()
26933
 
26934
  def write(self, oprot):
26935
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26936
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26937
      return
26938
    oprot.writeStructBegin('getPrefferedInsurerForItem_args')
26939
    if self.itemId is not None:
26940
      oprot.writeFieldBegin('itemId', TType.I64, 1)
26941
      oprot.writeI64(self.itemId)
26942
      oprot.writeFieldEnd()
26943
    if self.insurerType is not None:
26944
      oprot.writeFieldBegin('insurerType', TType.I32, 2)
26945
      oprot.writeI32(self.insurerType)
26946
      oprot.writeFieldEnd()
26947
    oprot.writeFieldStop()
26948
    oprot.writeStructEnd()
26949
 
26950
  def validate(self):
26951
    return
26952
 
26953
 
26954
  def __repr__(self):
26955
    L = ['%s=%r' % (key, value)
26956
      for key, value in self.__dict__.iteritems()]
26957
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26958
 
26959
  def __eq__(self, other):
26960
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26961
 
26962
  def __ne__(self, other):
26963
    return not (self == other)
26964
 
26965
class getPrefferedInsurerForItem_result:
26966
  """
26967
  Attributes:
26968
   - success
26969
  """
26970
 
26971
  thrift_spec = (
26972
    (0, TType.I64, 'success', None, None, ), # 0
26973
  )
26974
 
26975
  def __init__(self, success=None,):
26976
    self.success = success
26977
 
26978
  def read(self, iprot):
26979
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26980
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26981
      return
26982
    iprot.readStructBegin()
26983
    while True:
26984
      (fname, ftype, fid) = iprot.readFieldBegin()
26985
      if ftype == TType.STOP:
26986
        break
26987
      if fid == 0:
26988
        if ftype == TType.I64:
26989
          self.success = iprot.readI64();
26990
        else:
26991
          iprot.skip(ftype)
26992
      else:
26993
        iprot.skip(ftype)
26994
      iprot.readFieldEnd()
26995
    iprot.readStructEnd()
26996
 
26997
  def write(self, oprot):
26998
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26999
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27000
      return
27001
    oprot.writeStructBegin('getPrefferedInsurerForItem_result')
27002
    if self.success is not None:
27003
      oprot.writeFieldBegin('success', TType.I64, 0)
27004
      oprot.writeI64(self.success)
27005
      oprot.writeFieldEnd()
27006
    oprot.writeFieldStop()
27007
    oprot.writeStructEnd()
27008
 
27009
  def validate(self):
27010
    return
27011
 
27012
 
27013
  def __repr__(self):
27014
    L = ['%s=%r' % (key, value)
27015
      for key, value in self.__dict__.iteritems()]
27016
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27017
 
27018
  def __eq__(self, other):
27019
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27020
 
27021
  def __ne__(self, other):
27022
    return not (self == other)
9456 vikram.rag 27023
 
27024
class getSnapdealItembySkuAtSnapdeal_args:
27025
  """
27026
  Attributes:
27027
   - skuAtSnapdeal
27028
  """
27029
 
27030
  thrift_spec = None
27031
  def __init__(self, skuAtSnapdeal=None,):
27032
    self.skuAtSnapdeal = skuAtSnapdeal
27033
 
27034
  def read(self, iprot):
27035
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27036
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27037
      return
27038
    iprot.readStructBegin()
27039
    while True:
27040
      (fname, ftype, fid) = iprot.readFieldBegin()
27041
      if ftype == TType.STOP:
27042
        break
27043
      if fid == -1:
27044
        if ftype == TType.STRING:
27045
          self.skuAtSnapdeal = iprot.readString();
27046
        else:
27047
          iprot.skip(ftype)
27048
      else:
27049
        iprot.skip(ftype)
27050
      iprot.readFieldEnd()
27051
    iprot.readStructEnd()
27052
 
27053
  def write(self, oprot):
27054
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27055
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27056
      return
27057
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_args')
27058
    if self.skuAtSnapdeal is not None:
27059
      oprot.writeFieldBegin('skuAtSnapdeal', TType.STRING, -1)
27060
      oprot.writeString(self.skuAtSnapdeal)
27061
      oprot.writeFieldEnd()
27062
    oprot.writeFieldStop()
27063
    oprot.writeStructEnd()
27064
 
27065
  def validate(self):
27066
    return
27067
 
27068
 
27069
  def __repr__(self):
27070
    L = ['%s=%r' % (key, value)
27071
      for key, value in self.__dict__.iteritems()]
27072
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27073
 
27074
  def __eq__(self, other):
27075
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27076
 
27077
  def __ne__(self, other):
27078
    return not (self == other)
27079
 
27080
class getSnapdealItembySkuAtSnapdeal_result:
27081
  """
27082
  Attributes:
27083
   - success
27084
  """
27085
 
27086
  thrift_spec = (
27087
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
27088
  )
27089
 
27090
  def __init__(self, success=None,):
27091
    self.success = success
27092
 
27093
  def read(self, iprot):
27094
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27095
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27096
      return
27097
    iprot.readStructBegin()
27098
    while True:
27099
      (fname, ftype, fid) = iprot.readFieldBegin()
27100
      if ftype == TType.STOP:
27101
        break
27102
      if fid == 0:
27103
        if ftype == TType.STRUCT:
27104
          self.success = SnapdealItem()
27105
          self.success.read(iprot)
27106
        else:
27107
          iprot.skip(ftype)
27108
      else:
27109
        iprot.skip(ftype)
27110
      iprot.readFieldEnd()
27111
    iprot.readStructEnd()
27112
 
27113
  def write(self, oprot):
27114
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27115
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27116
      return
27117
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_result')
27118
    if self.success is not None:
27119
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27120
      self.success.write(oprot)
27121
      oprot.writeFieldEnd()
27122
    oprot.writeFieldStop()
27123
    oprot.writeStructEnd()
27124
 
27125
  def validate(self):
27126
    return
27127
 
27128
 
27129
  def __repr__(self):
27130
    L = ['%s=%r' % (key, value)
27131
      for key, value in self.__dict__.iteritems()]
27132
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27133
 
27134
  def __eq__(self, other):
27135
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27136
 
27137
  def __ne__(self, other):
27138
    return not (self == other)
9621 manish.sha 27139
 
27140
class getProductFeedSubmit_args:
27141
  """
27142
  Attributes:
27143
   - catalogItemId
27144
  """
27145
 
27146
  thrift_spec = (
27147
    None, # 0
27148
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
27149
  )
27150
 
27151
  def __init__(self, catalogItemId=None,):
27152
    self.catalogItemId = catalogItemId
27153
 
27154
  def read(self, iprot):
27155
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27156
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27157
      return
27158
    iprot.readStructBegin()
27159
    while True:
27160
      (fname, ftype, fid) = iprot.readFieldBegin()
27161
      if ftype == TType.STOP:
27162
        break
27163
      if fid == 1:
27164
        if ftype == TType.I64:
27165
          self.catalogItemId = iprot.readI64();
27166
        else:
27167
          iprot.skip(ftype)
27168
      else:
27169
        iprot.skip(ftype)
27170
      iprot.readFieldEnd()
27171
    iprot.readStructEnd()
27172
 
27173
  def write(self, oprot):
27174
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27175
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27176
      return
27177
    oprot.writeStructBegin('getProductFeedSubmit_args')
27178
    if self.catalogItemId is not None:
27179
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
27180
      oprot.writeI64(self.catalogItemId)
27181
      oprot.writeFieldEnd()
27182
    oprot.writeFieldStop()
27183
    oprot.writeStructEnd()
27184
 
27185
  def validate(self):
27186
    return
27187
 
27188
 
27189
  def __repr__(self):
27190
    L = ['%s=%r' % (key, value)
27191
      for key, value in self.__dict__.iteritems()]
27192
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27193
 
27194
  def __eq__(self, other):
27195
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27196
 
27197
  def __ne__(self, other):
27198
    return not (self == other)
27199
 
27200
class getProductFeedSubmit_result:
27201
  """
27202
  Attributes:
27203
   - success
27204
   - cex
27205
  """
27206
 
27207
  thrift_spec = (
27208
    (0, TType.STRUCT, 'success', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 0
27209
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27210
  )
27211
 
27212
  def __init__(self, success=None, cex=None,):
27213
    self.success = success
27214
    self.cex = cex
27215
 
27216
  def read(self, iprot):
27217
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27218
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27219
      return
27220
    iprot.readStructBegin()
27221
    while True:
27222
      (fname, ftype, fid) = iprot.readFieldBegin()
27223
      if ftype == TType.STOP:
27224
        break
27225
      if fid == 0:
27226
        if ftype == TType.STRUCT:
27227
          self.success = ProductFeedSubmit()
27228
          self.success.read(iprot)
27229
        else:
27230
          iprot.skip(ftype)
27231
      elif fid == 1:
27232
        if ftype == TType.STRUCT:
27233
          self.cex = CatalogServiceException()
27234
          self.cex.read(iprot)
27235
        else:
27236
          iprot.skip(ftype)
27237
      else:
27238
        iprot.skip(ftype)
27239
      iprot.readFieldEnd()
27240
    iprot.readStructEnd()
27241
 
27242
  def write(self, oprot):
27243
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27244
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27245
      return
27246
    oprot.writeStructBegin('getProductFeedSubmit_result')
27247
    if self.success is not None:
27248
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27249
      self.success.write(oprot)
27250
      oprot.writeFieldEnd()
27251
    if self.cex is not None:
27252
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27253
      self.cex.write(oprot)
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 addProductFeedSubmit_args:
27274
  """
27275
  Attributes:
27276
   - productFeedSubmit
27277
  """
27278
 
27279
  thrift_spec = (
27280
    None, # 0
27281
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
27282
  )
27283
 
27284
  def __init__(self, productFeedSubmit=None,):
27285
    self.productFeedSubmit = productFeedSubmit
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.STRUCT:
27298
          self.productFeedSubmit = ProductFeedSubmit()
27299
          self.productFeedSubmit.read(iprot)
27300
        else:
27301
          iprot.skip(ftype)
27302
      else:
27303
        iprot.skip(ftype)
27304
      iprot.readFieldEnd()
27305
    iprot.readStructEnd()
27306
 
27307
  def write(self, oprot):
27308
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27309
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27310
      return
27311
    oprot.writeStructBegin('addProductFeedSubmit_args')
27312
    if self.productFeedSubmit is not None:
27313
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
27314
      self.productFeedSubmit.write(oprot)
27315
      oprot.writeFieldEnd()
27316
    oprot.writeFieldStop()
27317
    oprot.writeStructEnd()
27318
 
27319
  def validate(self):
27320
    return
27321
 
27322
 
27323
  def __repr__(self):
27324
    L = ['%s=%r' % (key, value)
27325
      for key, value in self.__dict__.iteritems()]
27326
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27327
 
27328
  def __eq__(self, other):
27329
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27330
 
27331
  def __ne__(self, other):
27332
    return not (self == other)
27333
 
27334
class addProductFeedSubmit_result:
27335
  """
27336
  Attributes:
27337
   - success
27338
   - cex
27339
  """
27340
 
27341
  thrift_spec = (
27342
    (0, TType.BOOL, 'success', None, None, ), # 0
27343
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27344
  )
27345
 
27346
  def __init__(self, success=None, cex=None,):
27347
    self.success = success
27348
    self.cex = cex
27349
 
27350
  def read(self, iprot):
27351
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27352
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27353
      return
27354
    iprot.readStructBegin()
27355
    while True:
27356
      (fname, ftype, fid) = iprot.readFieldBegin()
27357
      if ftype == TType.STOP:
27358
        break
27359
      if fid == 0:
27360
        if ftype == TType.BOOL:
27361
          self.success = iprot.readBool();
27362
        else:
27363
          iprot.skip(ftype)
27364
      elif fid == 1:
27365
        if ftype == TType.STRUCT:
27366
          self.cex = CatalogServiceException()
27367
          self.cex.read(iprot)
27368
        else:
27369
          iprot.skip(ftype)
27370
      else:
27371
        iprot.skip(ftype)
27372
      iprot.readFieldEnd()
27373
    iprot.readStructEnd()
27374
 
27375
  def write(self, oprot):
27376
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27377
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27378
      return
27379
    oprot.writeStructBegin('addProductFeedSubmit_result')
27380
    if self.success is not None:
27381
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27382
      oprot.writeBool(self.success)
27383
      oprot.writeFieldEnd()
27384
    if self.cex is not None:
27385
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27386
      self.cex.write(oprot)
27387
      oprot.writeFieldEnd()
27388
    oprot.writeFieldStop()
27389
    oprot.writeStructEnd()
27390
 
27391
  def validate(self):
27392
    return
27393
 
27394
 
27395
  def __repr__(self):
27396
    L = ['%s=%r' % (key, value)
27397
      for key, value in self.__dict__.iteritems()]
27398
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27399
 
27400
  def __eq__(self, other):
27401
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27402
 
27403
  def __ne__(self, other):
27404
    return not (self == other)
27405
 
27406
class updateProductFeedSubmit_args:
27407
  """
27408
  Attributes:
27409
   - productFeedSubmit
27410
  """
27411
 
27412
  thrift_spec = (
27413
    None, # 0
27414
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
27415
  )
27416
 
27417
  def __init__(self, productFeedSubmit=None,):
27418
    self.productFeedSubmit = productFeedSubmit
27419
 
27420
  def read(self, iprot):
27421
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27422
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27423
      return
27424
    iprot.readStructBegin()
27425
    while True:
27426
      (fname, ftype, fid) = iprot.readFieldBegin()
27427
      if ftype == TType.STOP:
27428
        break
27429
      if fid == 1:
27430
        if ftype == TType.STRUCT:
27431
          self.productFeedSubmit = ProductFeedSubmit()
27432
          self.productFeedSubmit.read(iprot)
27433
        else:
27434
          iprot.skip(ftype)
27435
      else:
27436
        iprot.skip(ftype)
27437
      iprot.readFieldEnd()
27438
    iprot.readStructEnd()
27439
 
27440
  def write(self, oprot):
27441
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27442
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27443
      return
27444
    oprot.writeStructBegin('updateProductFeedSubmit_args')
27445
    if self.productFeedSubmit is not None:
27446
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
27447
      self.productFeedSubmit.write(oprot)
27448
      oprot.writeFieldEnd()
27449
    oprot.writeFieldStop()
27450
    oprot.writeStructEnd()
27451
 
27452
  def validate(self):
27453
    return
27454
 
27455
 
27456
  def __repr__(self):
27457
    L = ['%s=%r' % (key, value)
27458
      for key, value in self.__dict__.iteritems()]
27459
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27460
 
27461
  def __eq__(self, other):
27462
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27463
 
27464
  def __ne__(self, other):
27465
    return not (self == other)
27466
 
27467
class updateProductFeedSubmit_result:
27468
  """
27469
  Attributes:
27470
   - success
27471
   - cex
27472
  """
27473
 
27474
  thrift_spec = (
27475
    (0, TType.BOOL, 'success', None, None, ), # 0
27476
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27477
  )
27478
 
27479
  def __init__(self, success=None, cex=None,):
27480
    self.success = success
27481
    self.cex = cex
27482
 
27483
  def read(self, iprot):
27484
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27485
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27486
      return
27487
    iprot.readStructBegin()
27488
    while True:
27489
      (fname, ftype, fid) = iprot.readFieldBegin()
27490
      if ftype == TType.STOP:
27491
        break
27492
      if fid == 0:
27493
        if ftype == TType.BOOL:
27494
          self.success = iprot.readBool();
27495
        else:
27496
          iprot.skip(ftype)
27497
      elif fid == 1:
27498
        if ftype == TType.STRUCT:
27499
          self.cex = CatalogServiceException()
27500
          self.cex.read(iprot)
27501
        else:
27502
          iprot.skip(ftype)
27503
      else:
27504
        iprot.skip(ftype)
27505
      iprot.readFieldEnd()
27506
    iprot.readStructEnd()
27507
 
27508
  def write(self, oprot):
27509
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27510
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27511
      return
27512
    oprot.writeStructBegin('updateProductFeedSubmit_result')
27513
    if self.success is not None:
27514
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27515
      oprot.writeBool(self.success)
27516
      oprot.writeFieldEnd()
27517
    if self.cex is not None:
27518
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27519
      self.cex.write(oprot)
27520
      oprot.writeFieldEnd()
27521
    oprot.writeFieldStop()
27522
    oprot.writeStructEnd()
27523
 
27524
  def validate(self):
27525
    return
27526
 
27527
 
27528
  def __repr__(self):
27529
    L = ['%s=%r' % (key, value)
27530
      for key, value in self.__dict__.iteritems()]
27531
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27532
 
27533
  def __eq__(self, other):
27534
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27535
 
27536
  def __ne__(self, other):
27537
    return not (self == other)
27538
 
27539
class deleteProductFeedSubmit_args:
27540
  """
27541
  Attributes:
27542
   - catalogItemId
27543
  """
27544
 
27545
  thrift_spec = (
27546
    None, # 0
27547
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
27548
  )
27549
 
27550
  def __init__(self, catalogItemId=None,):
27551
    self.catalogItemId = catalogItemId
27552
 
27553
  def read(self, iprot):
27554
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27555
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27556
      return
27557
    iprot.readStructBegin()
27558
    while True:
27559
      (fname, ftype, fid) = iprot.readFieldBegin()
27560
      if ftype == TType.STOP:
27561
        break
27562
      if fid == 1:
27563
        if ftype == TType.I64:
27564
          self.catalogItemId = iprot.readI64();
27565
        else:
27566
          iprot.skip(ftype)
27567
      else:
27568
        iprot.skip(ftype)
27569
      iprot.readFieldEnd()
27570
    iprot.readStructEnd()
27571
 
27572
  def write(self, oprot):
27573
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27574
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27575
      return
27576
    oprot.writeStructBegin('deleteProductFeedSubmit_args')
27577
    if self.catalogItemId is not None:
27578
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
27579
      oprot.writeI64(self.catalogItemId)
27580
      oprot.writeFieldEnd()
27581
    oprot.writeFieldStop()
27582
    oprot.writeStructEnd()
27583
 
27584
  def validate(self):
27585
    return
27586
 
27587
 
27588
  def __repr__(self):
27589
    L = ['%s=%r' % (key, value)
27590
      for key, value in self.__dict__.iteritems()]
27591
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27592
 
27593
  def __eq__(self, other):
27594
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27595
 
27596
  def __ne__(self, other):
27597
    return not (self == other)
27598
 
27599
class deleteProductFeedSubmit_result:
27600
  """
27601
  Attributes:
27602
   - success
27603
   - cex
27604
  """
27605
 
27606
  thrift_spec = (
27607
    (0, TType.BOOL, 'success', None, None, ), # 0
27608
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27609
  )
27610
 
27611
  def __init__(self, success=None, cex=None,):
27612
    self.success = success
27613
    self.cex = cex
27614
 
27615
  def read(self, iprot):
27616
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27617
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27618
      return
27619
    iprot.readStructBegin()
27620
    while True:
27621
      (fname, ftype, fid) = iprot.readFieldBegin()
27622
      if ftype == TType.STOP:
27623
        break
27624
      if fid == 0:
27625
        if ftype == TType.BOOL:
27626
          self.success = iprot.readBool();
27627
        else:
27628
          iprot.skip(ftype)
27629
      elif fid == 1:
27630
        if ftype == TType.STRUCT:
27631
          self.cex = CatalogServiceException()
27632
          self.cex.read(iprot)
27633
        else:
27634
          iprot.skip(ftype)
27635
      else:
27636
        iprot.skip(ftype)
27637
      iprot.readFieldEnd()
27638
    iprot.readStructEnd()
27639
 
27640
  def write(self, oprot):
27641
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27642
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27643
      return
27644
    oprot.writeStructBegin('deleteProductFeedSubmit_result')
27645
    if self.success is not None:
27646
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27647
      oprot.writeBool(self.success)
27648
      oprot.writeFieldEnd()
27649
    if self.cex is not None:
27650
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27651
      self.cex.write(oprot)
27652
      oprot.writeFieldEnd()
27653
    oprot.writeFieldStop()
27654
    oprot.writeStructEnd()
27655
 
27656
  def validate(self):
27657
    return
27658
 
27659
 
27660
  def __repr__(self):
27661
    L = ['%s=%r' % (key, value)
27662
      for key, value in self.__dict__.iteritems()]
27663
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27664
 
27665
  def __eq__(self, other):
27666
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27667
 
27668
  def __ne__(self, other):
27669
    return not (self == other)
27670
 
27671
class getAllProductFeedSubmit_args:
27672
 
27673
  thrift_spec = (
27674
  )
27675
 
27676
  def read(self, iprot):
27677
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27678
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27679
      return
27680
    iprot.readStructBegin()
27681
    while True:
27682
      (fname, ftype, fid) = iprot.readFieldBegin()
27683
      if ftype == TType.STOP:
27684
        break
27685
      else:
27686
        iprot.skip(ftype)
27687
      iprot.readFieldEnd()
27688
    iprot.readStructEnd()
27689
 
27690
  def write(self, oprot):
27691
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27692
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27693
      return
27694
    oprot.writeStructBegin('getAllProductFeedSubmit_args')
27695
    oprot.writeFieldStop()
27696
    oprot.writeStructEnd()
27697
 
27698
  def validate(self):
27699
    return
27700
 
27701
 
27702
  def __repr__(self):
27703
    L = ['%s=%r' % (key, value)
27704
      for key, value in self.__dict__.iteritems()]
27705
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27706
 
27707
  def __eq__(self, other):
27708
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27709
 
27710
  def __ne__(self, other):
27711
    return not (self == other)
27712
 
27713
class getAllProductFeedSubmit_result:
27714
  """
27715
  Attributes:
27716
   - success
27717
   - cex
27718
  """
27719
 
27720
  thrift_spec = (
27721
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductFeedSubmit, ProductFeedSubmit.thrift_spec)), None, ), # 0
27722
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27723
  )
27724
 
27725
  def __init__(self, success=None, cex=None,):
27726
    self.success = success
27727
    self.cex = cex
27728
 
27729
  def read(self, iprot):
27730
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27731
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27732
      return
27733
    iprot.readStructBegin()
27734
    while True:
27735
      (fname, ftype, fid) = iprot.readFieldBegin()
27736
      if ftype == TType.STOP:
27737
        break
27738
      if fid == 0:
27739
        if ftype == TType.LIST:
27740
          self.success = []
18719 kshitij.so 27741
          (_etype585, _size582) = iprot.readListBegin()
27742
          for _i586 in xrange(_size582):
27743
            _elem587 = ProductFeedSubmit()
27744
            _elem587.read(iprot)
27745
            self.success.append(_elem587)
9621 manish.sha 27746
          iprot.readListEnd()
27747
        else:
27748
          iprot.skip(ftype)
27749
      elif fid == 1:
27750
        if ftype == TType.STRUCT:
27751
          self.cex = CatalogServiceException()
27752
          self.cex.read(iprot)
27753
        else:
27754
          iprot.skip(ftype)
27755
      else:
27756
        iprot.skip(ftype)
27757
      iprot.readFieldEnd()
27758
    iprot.readStructEnd()
27759
 
27760
  def write(self, oprot):
27761
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27762
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27763
      return
27764
    oprot.writeStructBegin('getAllProductFeedSubmit_result')
27765
    if self.success is not None:
27766
      oprot.writeFieldBegin('success', TType.LIST, 0)
27767
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 27768
      for iter588 in self.success:
27769
        iter588.write(oprot)
9621 manish.sha 27770
      oprot.writeListEnd()
27771
      oprot.writeFieldEnd()
27772
    if self.cex is not None:
27773
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27774
      self.cex.write(oprot)
27775
      oprot.writeFieldEnd()
27776
    oprot.writeFieldStop()
27777
    oprot.writeStructEnd()
27778
 
27779
  def validate(self):
27780
    return
27781
 
27782
 
27783
  def __repr__(self):
27784
    L = ['%s=%r' % (key, value)
27785
      for key, value in self.__dict__.iteritems()]
27786
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27787
 
27788
  def __eq__(self, other):
27789
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27790
 
27791
  def __ne__(self, other):
27792
    return not (self == other)
9724 kshitij.so 27793
 
27794
class getMarketplacedetailsForItem_args:
27795
  """
27796
  Attributes:
27797
   - itemId
27798
   - sourceId
27799
  """
27800
 
27801
  thrift_spec = (
27802
    None, # 0
27803
    (1, TType.I64, 'itemId', None, None, ), # 1
27804
    (2, TType.I64, 'sourceId', None, None, ), # 2
27805
  )
27806
 
27807
  def __init__(self, itemId=None, sourceId=None,):
27808
    self.itemId = itemId
27809
    self.sourceId = sourceId
27810
 
27811
  def read(self, iprot):
27812
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27813
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27814
      return
27815
    iprot.readStructBegin()
27816
    while True:
27817
      (fname, ftype, fid) = iprot.readFieldBegin()
27818
      if ftype == TType.STOP:
27819
        break
27820
      if fid == 1:
27821
        if ftype == TType.I64:
27822
          self.itemId = iprot.readI64();
27823
        else:
27824
          iprot.skip(ftype)
27825
      elif fid == 2:
27826
        if ftype == TType.I64:
27827
          self.sourceId = iprot.readI64();
27828
        else:
27829
          iprot.skip(ftype)
27830
      else:
27831
        iprot.skip(ftype)
27832
      iprot.readFieldEnd()
27833
    iprot.readStructEnd()
27834
 
27835
  def write(self, oprot):
27836
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27837
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27838
      return
27839
    oprot.writeStructBegin('getMarketplacedetailsForItem_args')
27840
    if self.itemId is not None:
27841
      oprot.writeFieldBegin('itemId', TType.I64, 1)
27842
      oprot.writeI64(self.itemId)
27843
      oprot.writeFieldEnd()
27844
    if self.sourceId is not None:
27845
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
27846
      oprot.writeI64(self.sourceId)
27847
      oprot.writeFieldEnd()
27848
    oprot.writeFieldStop()
27849
    oprot.writeStructEnd()
27850
 
27851
  def validate(self):
27852
    return
27853
 
27854
 
27855
  def __repr__(self):
27856
    L = ['%s=%r' % (key, value)
27857
      for key, value in self.__dict__.iteritems()]
27858
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27859
 
27860
  def __eq__(self, other):
27861
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27862
 
27863
  def __ne__(self, other):
27864
    return not (self == other)
27865
 
27866
class getMarketplacedetailsForItem_result:
27867
  """
27868
  Attributes:
27869
   - success
27870
  """
27871
 
27872
  thrift_spec = (
27873
    (0, TType.STRUCT, 'success', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 0
27874
  )
27875
 
27876
  def __init__(self, success=None,):
27877
    self.success = success
27878
 
27879
  def read(self, iprot):
27880
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27881
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27882
      return
27883
    iprot.readStructBegin()
27884
    while True:
27885
      (fname, ftype, fid) = iprot.readFieldBegin()
27886
      if ftype == TType.STOP:
27887
        break
27888
      if fid == 0:
27889
        if ftype == TType.STRUCT:
27890
          self.success = MarketplaceItems()
27891
          self.success.read(iprot)
27892
        else:
27893
          iprot.skip(ftype)
27894
      else:
27895
        iprot.skip(ftype)
27896
      iprot.readFieldEnd()
27897
    iprot.readStructEnd()
27898
 
27899
  def write(self, oprot):
27900
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27901
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27902
      return
27903
    oprot.writeStructBegin('getMarketplacedetailsForItem_result')
27904
    if self.success is not None:
27905
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27906
      self.success.write(oprot)
27907
      oprot.writeFieldEnd()
27908
    oprot.writeFieldStop()
27909
    oprot.writeStructEnd()
27910
 
27911
  def validate(self):
27912
    return
27913
 
27914
 
27915
  def __repr__(self):
27916
    L = ['%s=%r' % (key, value)
27917
      for key, value in self.__dict__.iteritems()]
27918
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27919
 
27920
  def __eq__(self, other):
27921
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27922
 
27923
  def __ne__(self, other):
27924
    return not (self == other)
27925
 
27926
class updateMarketplaceAttributesForItem_args:
27927
  """
27928
  Attributes:
27929
   - marketPlaceItem
27930
  """
27931
 
27932
  thrift_spec = (
27933
    None, # 0
27934
    (1, TType.STRUCT, 'marketPlaceItem', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 1
27935
  )
27936
 
27937
  def __init__(self, marketPlaceItem=None,):
27938
    self.marketPlaceItem = marketPlaceItem
27939
 
27940
  def read(self, iprot):
27941
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27942
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27943
      return
27944
    iprot.readStructBegin()
27945
    while True:
27946
      (fname, ftype, fid) = iprot.readFieldBegin()
27947
      if ftype == TType.STOP:
27948
        break
27949
      if fid == 1:
27950
        if ftype == TType.STRUCT:
27951
          self.marketPlaceItem = MarketplaceItems()
27952
          self.marketPlaceItem.read(iprot)
27953
        else:
27954
          iprot.skip(ftype)
27955
      else:
27956
        iprot.skip(ftype)
27957
      iprot.readFieldEnd()
27958
    iprot.readStructEnd()
27959
 
27960
  def write(self, oprot):
27961
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27962
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27963
      return
27964
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_args')
27965
    if self.marketPlaceItem is not None:
27966
      oprot.writeFieldBegin('marketPlaceItem', TType.STRUCT, 1)
27967
      self.marketPlaceItem.write(oprot)
27968
      oprot.writeFieldEnd()
27969
    oprot.writeFieldStop()
27970
    oprot.writeStructEnd()
27971
 
27972
  def validate(self):
27973
    return
27974
 
27975
 
27976
  def __repr__(self):
27977
    L = ['%s=%r' % (key, value)
27978
      for key, value in self.__dict__.iteritems()]
27979
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27980
 
27981
  def __eq__(self, other):
27982
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27983
 
27984
  def __ne__(self, other):
27985
    return not (self == other)
27986
 
27987
class updateMarketplaceAttributesForItem_result:
27988
  """
27989
  Attributes:
27990
   - success
27991
  """
27992
 
27993
  thrift_spec = (
27994
    (0, TType.BOOL, 'success', None, None, ), # 0
27995
  )
27996
 
27997
  def __init__(self, success=None,):
27998
    self.success = success
27999
 
28000
  def read(self, iprot):
28001
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28002
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28003
      return
28004
    iprot.readStructBegin()
28005
    while True:
28006
      (fname, ftype, fid) = iprot.readFieldBegin()
28007
      if ftype == TType.STOP:
28008
        break
28009
      if fid == 0:
28010
        if ftype == TType.BOOL:
28011
          self.success = iprot.readBool();
28012
        else:
28013
          iprot.skip(ftype)
28014
      else:
28015
        iprot.skip(ftype)
28016
      iprot.readFieldEnd()
28017
    iprot.readStructEnd()
28018
 
28019
  def write(self, oprot):
28020
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28021
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28022
      return
28023
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_result')
28024
    if self.success is not None:
28025
      oprot.writeFieldBegin('success', TType.BOOL, 0)
28026
      oprot.writeBool(self.success)
28027
      oprot.writeFieldEnd()
28028
    oprot.writeFieldStop()
28029
    oprot.writeStructEnd()
28030
 
28031
  def validate(self):
28032
    return
28033
 
28034
 
28035
  def __repr__(self):
28036
    L = ['%s=%r' % (key, value)
28037
      for key, value in self.__dict__.iteritems()]
28038
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28039
 
28040
  def __eq__(self, other):
28041
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28042
 
28043
  def __ne__(self, other):
28044
    return not (self == other)
9776 vikram.rag 28045
 
9779 kshitij.so 28046
class getCostingForMarketplace_args:
28047
  """
28048
  Attributes:
28049
   - source
28050
   - item_id
28051
  """
28052
 
28053
  thrift_spec = (
28054
    None, # 0
28055
    (1, TType.I64, 'source', None, None, ), # 1
28056
    (2, TType.I64, 'item_id', None, None, ), # 2
28057
  )
28058
 
28059
  def __init__(self, source=None, item_id=None,):
28060
    self.source = source
28061
    self.item_id = item_id
28062
 
28063
  def read(self, iprot):
28064
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28065
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28066
      return
28067
    iprot.readStructBegin()
28068
    while True:
28069
      (fname, ftype, fid) = iprot.readFieldBegin()
28070
      if ftype == TType.STOP:
28071
        break
28072
      if fid == 1:
28073
        if ftype == TType.I64:
28074
          self.source = iprot.readI64();
28075
        else:
28076
          iprot.skip(ftype)
28077
      elif fid == 2:
28078
        if ftype == TType.I64:
28079
          self.item_id = iprot.readI64();
28080
        else:
28081
          iprot.skip(ftype)
28082
      else:
28083
        iprot.skip(ftype)
28084
      iprot.readFieldEnd()
28085
    iprot.readStructEnd()
28086
 
28087
  def write(self, oprot):
28088
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28089
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28090
      return
28091
    oprot.writeStructBegin('getCostingForMarketplace_args')
28092
    if self.source is not None:
28093
      oprot.writeFieldBegin('source', TType.I64, 1)
28094
      oprot.writeI64(self.source)
28095
      oprot.writeFieldEnd()
28096
    if self.item_id is not None:
28097
      oprot.writeFieldBegin('item_id', TType.I64, 2)
28098
      oprot.writeI64(self.item_id)
28099
      oprot.writeFieldEnd()
28100
    oprot.writeFieldStop()
28101
    oprot.writeStructEnd()
28102
 
28103
  def validate(self):
28104
    return
28105
 
28106
 
28107
  def __repr__(self):
28108
    L = ['%s=%r' % (key, value)
28109
      for key, value in self.__dict__.iteritems()]
28110
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28111
 
28112
  def __eq__(self, other):
28113
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28114
 
28115
  def __ne__(self, other):
28116
    return not (self == other)
28117
 
28118
class getCostingForMarketplace_result:
28119
  """
28120
  Attributes:
28121
   - success
28122
  """
28123
 
28124
  thrift_spec = (
28125
    (0, TType.STRUCT, 'success', (MarketplacePercentage, MarketplacePercentage.thrift_spec), None, ), # 0
28126
  )
28127
 
28128
  def __init__(self, success=None,):
28129
    self.success = success
28130
 
28131
  def read(self, iprot):
28132
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28133
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28134
      return
28135
    iprot.readStructBegin()
28136
    while True:
28137
      (fname, ftype, fid) = iprot.readFieldBegin()
28138
      if ftype == TType.STOP:
28139
        break
28140
      if fid == 0:
28141
        if ftype == TType.STRUCT:
28142
          self.success = MarketplacePercentage()
28143
          self.success.read(iprot)
28144
        else:
28145
          iprot.skip(ftype)
28146
      else:
28147
        iprot.skip(ftype)
28148
      iprot.readFieldEnd()
28149
    iprot.readStructEnd()
28150
 
28151
  def write(self, oprot):
28152
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28153
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28154
      return
28155
    oprot.writeStructBegin('getCostingForMarketplace_result')
28156
    if self.success is not None:
28157
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28158
      self.success.write(oprot)
28159
      oprot.writeFieldEnd()
28160
    oprot.writeFieldStop()
28161
    oprot.writeStructEnd()
28162
 
28163
  def validate(self):
28164
    return
28165
 
28166
 
28167
  def __repr__(self):
28168
    L = ['%s=%r' % (key, value)
28169
      for key, value in self.__dict__.iteritems()]
28170
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28171
 
28172
  def __eq__(self, other):
28173
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28174
 
28175
  def __ne__(self, other):
28176
    return not (self == other)
28177
 
9776 vikram.rag 28178
class getMarketPlaceItemsForPriceUpdate_args:
28179
  """
28180
  Attributes:
28181
   - source
28182
  """
28183
 
28184
  thrift_spec = (
28185
    None, # 0
28186
    (1, TType.I64, 'source', None, None, ), # 1
28187
  )
28188
 
28189
  def __init__(self, source=None,):
28190
    self.source = source
28191
 
28192
  def read(self, iprot):
28193
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28194
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28195
      return
28196
    iprot.readStructBegin()
28197
    while True:
28198
      (fname, ftype, fid) = iprot.readFieldBegin()
28199
      if ftype == TType.STOP:
28200
        break
28201
      if fid == 1:
28202
        if ftype == TType.I64:
28203
          self.source = iprot.readI64();
28204
        else:
28205
          iprot.skip(ftype)
28206
      else:
28207
        iprot.skip(ftype)
28208
      iprot.readFieldEnd()
28209
    iprot.readStructEnd()
28210
 
28211
  def write(self, oprot):
28212
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28213
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28214
      return
28215
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_args')
28216
    if self.source is not None:
28217
      oprot.writeFieldBegin('source', TType.I64, 1)
28218
      oprot.writeI64(self.source)
28219
      oprot.writeFieldEnd()
28220
    oprot.writeFieldStop()
28221
    oprot.writeStructEnd()
28222
 
28223
  def validate(self):
28224
    return
28225
 
28226
 
28227
  def __repr__(self):
28228
    L = ['%s=%r' % (key, value)
28229
      for key, value in self.__dict__.iteritems()]
28230
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28231
 
28232
  def __eq__(self, other):
28233
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28234
 
28235
  def __ne__(self, other):
28236
    return not (self == other)
28237
 
28238
class getMarketPlaceItemsForPriceUpdate_result:
28239
  """
28240
  Attributes:
28241
   - success
28242
  """
28243
 
28244
  thrift_spec = (
28245
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketPlaceItemPrice, MarketPlaceItemPrice.thrift_spec)), None, ), # 0
28246
  )
28247
 
28248
  def __init__(self, success=None,):
28249
    self.success = success
28250
 
28251
  def read(self, iprot):
28252
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28253
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28254
      return
28255
    iprot.readStructBegin()
28256
    while True:
28257
      (fname, ftype, fid) = iprot.readFieldBegin()
28258
      if ftype == TType.STOP:
28259
        break
28260
      if fid == 0:
28261
        if ftype == TType.LIST:
28262
          self.success = []
18719 kshitij.so 28263
          (_etype592, _size589) = iprot.readListBegin()
28264
          for _i593 in xrange(_size589):
28265
            _elem594 = MarketPlaceItemPrice()
28266
            _elem594.read(iprot)
28267
            self.success.append(_elem594)
9776 vikram.rag 28268
          iprot.readListEnd()
28269
        else:
28270
          iprot.skip(ftype)
28271
      else:
28272
        iprot.skip(ftype)
28273
      iprot.readFieldEnd()
28274
    iprot.readStructEnd()
28275
 
28276
  def write(self, oprot):
28277
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28278
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28279
      return
28280
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_result')
28281
    if self.success is not None:
28282
      oprot.writeFieldBegin('success', TType.LIST, 0)
28283
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 28284
      for iter595 in self.success:
28285
        iter595.write(oprot)
9776 vikram.rag 28286
      oprot.writeListEnd()
28287
      oprot.writeFieldEnd()
28288
    oprot.writeFieldStop()
28289
    oprot.writeStructEnd()
28290
 
28291
  def validate(self):
28292
    return
28293
 
28294
 
28295
  def __repr__(self):
28296
    L = ['%s=%r' % (key, value)
28297
      for key, value in self.__dict__.iteritems()]
28298
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28299
 
28300
  def __eq__(self, other):
28301
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28302
 
28303
  def __ne__(self, other):
28304
    return not (self == other)
28305
 
28306
class updateMarketPlacePriceUpdateStatus_args:
28307
  """
28308
  Attributes:
28309
   - skulist
28310
   - timestamp
9816 kshitij.so 28311
   - source
9776 vikram.rag 28312
  """
28313
 
28314
  thrift_spec = (
28315
    None, # 0
28316
    (1, TType.LIST, 'skulist', (TType.I64,None), None, ), # 1
28317
    (2, TType.I64, 'timestamp', None, None, ), # 2
9816 kshitij.so 28318
    (3, TType.I64, 'source', None, None, ), # 3
9776 vikram.rag 28319
  )
28320
 
9816 kshitij.so 28321
  def __init__(self, skulist=None, timestamp=None, source=None,):
9776 vikram.rag 28322
    self.skulist = skulist
28323
    self.timestamp = timestamp
9816 kshitij.so 28324
    self.source = source
9776 vikram.rag 28325
 
28326
  def read(self, iprot):
28327
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28328
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28329
      return
28330
    iprot.readStructBegin()
28331
    while True:
28332
      (fname, ftype, fid) = iprot.readFieldBegin()
28333
      if ftype == TType.STOP:
28334
        break
28335
      if fid == 1:
28336
        if ftype == TType.LIST:
28337
          self.skulist = []
18719 kshitij.so 28338
          (_etype599, _size596) = iprot.readListBegin()
28339
          for _i600 in xrange(_size596):
28340
            _elem601 = iprot.readI64();
28341
            self.skulist.append(_elem601)
9776 vikram.rag 28342
          iprot.readListEnd()
28343
        else:
28344
          iprot.skip(ftype)
28345
      elif fid == 2:
28346
        if ftype == TType.I64:
28347
          self.timestamp = iprot.readI64();
28348
        else:
28349
          iprot.skip(ftype)
9816 kshitij.so 28350
      elif fid == 3:
28351
        if ftype == TType.I64:
28352
          self.source = iprot.readI64();
28353
        else:
28354
          iprot.skip(ftype)
9776 vikram.rag 28355
      else:
28356
        iprot.skip(ftype)
28357
      iprot.readFieldEnd()
28358
    iprot.readStructEnd()
28359
 
28360
  def write(self, oprot):
28361
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28362
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28363
      return
28364
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_args')
28365
    if self.skulist is not None:
28366
      oprot.writeFieldBegin('skulist', TType.LIST, 1)
28367
      oprot.writeListBegin(TType.I64, len(self.skulist))
18719 kshitij.so 28368
      for iter602 in self.skulist:
28369
        oprot.writeI64(iter602)
9776 vikram.rag 28370
      oprot.writeListEnd()
28371
      oprot.writeFieldEnd()
28372
    if self.timestamp is not None:
28373
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
28374
      oprot.writeI64(self.timestamp)
28375
      oprot.writeFieldEnd()
9816 kshitij.so 28376
    if self.source is not None:
28377
      oprot.writeFieldBegin('source', TType.I64, 3)
28378
      oprot.writeI64(self.source)
28379
      oprot.writeFieldEnd()
9776 vikram.rag 28380
    oprot.writeFieldStop()
28381
    oprot.writeStructEnd()
28382
 
28383
  def validate(self):
28384
    return
28385
 
28386
 
28387
  def __repr__(self):
28388
    L = ['%s=%r' % (key, value)
28389
      for key, value in self.__dict__.iteritems()]
28390
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28391
 
28392
  def __eq__(self, other):
28393
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28394
 
28395
  def __ne__(self, other):
28396
    return not (self == other)
28397
 
28398
class updateMarketPlacePriceUpdateStatus_result:
28399
 
28400
  thrift_spec = (
28401
  )
28402
 
28403
  def read(self, iprot):
28404
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28405
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28406
      return
28407
    iprot.readStructBegin()
28408
    while True:
28409
      (fname, ftype, fid) = iprot.readFieldBegin()
28410
      if ftype == TType.STOP:
28411
        break
28412
      else:
28413
        iprot.skip(ftype)
28414
      iprot.readFieldEnd()
28415
    iprot.readStructEnd()
28416
 
28417
  def write(self, oprot):
28418
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28419
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28420
      return
28421
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_result')
28422
    oprot.writeFieldStop()
28423
    oprot.writeStructEnd()
28424
 
28425
  def validate(self):
28426
    return
28427
 
28428
 
28429
  def __repr__(self):
28430
    L = ['%s=%r' % (key, value)
28431
      for key, value in self.__dict__.iteritems()]
28432
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28433
 
28434
  def __eq__(self, other):
28435
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28436
 
28437
  def __ne__(self, other):
28438
    return not (self == other)
9861 rajveer 28439
 
28440
class updateItemHoldInventory_args:
28441
  """
28442
  Attributes:
28443
   - itemHoldMap
28444
  """
28445
 
28446
  thrift_spec = (
28447
    None, # 0
28448
    (1, TType.MAP, 'itemHoldMap', (TType.I64,None,TType.I64,None), None, ), # 1
28449
  )
28450
 
28451
  def __init__(self, itemHoldMap=None,):
28452
    self.itemHoldMap = itemHoldMap
28453
 
28454
  def read(self, iprot):
28455
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28456
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28457
      return
28458
    iprot.readStructBegin()
28459
    while True:
28460
      (fname, ftype, fid) = iprot.readFieldBegin()
28461
      if ftype == TType.STOP:
28462
        break
28463
      if fid == 1:
28464
        if ftype == TType.MAP:
28465
          self.itemHoldMap = {}
18719 kshitij.so 28466
          (_ktype604, _vtype605, _size603 ) = iprot.readMapBegin() 
28467
          for _i607 in xrange(_size603):
28468
            _key608 = iprot.readI64();
28469
            _val609 = iprot.readI64();
28470
            self.itemHoldMap[_key608] = _val609
9861 rajveer 28471
          iprot.readMapEnd()
28472
        else:
28473
          iprot.skip(ftype)
28474
      else:
28475
        iprot.skip(ftype)
28476
      iprot.readFieldEnd()
28477
    iprot.readStructEnd()
28478
 
28479
  def write(self, oprot):
28480
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28481
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28482
      return
28483
    oprot.writeStructBegin('updateItemHoldInventory_args')
28484
    if self.itemHoldMap is not None:
28485
      oprot.writeFieldBegin('itemHoldMap', TType.MAP, 1)
28486
      oprot.writeMapBegin(TType.I64, TType.I64, len(self.itemHoldMap))
18719 kshitij.so 28487
      for kiter610,viter611 in self.itemHoldMap.items():
28488
        oprot.writeI64(kiter610)
28489
        oprot.writeI64(viter611)
9861 rajveer 28490
      oprot.writeMapEnd()
28491
      oprot.writeFieldEnd()
28492
    oprot.writeFieldStop()
28493
    oprot.writeStructEnd()
28494
 
28495
  def validate(self):
28496
    return
28497
 
28498
 
28499
  def __repr__(self):
28500
    L = ['%s=%r' % (key, value)
28501
      for key, value in self.__dict__.iteritems()]
28502
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28503
 
28504
  def __eq__(self, other):
28505
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28506
 
28507
  def __ne__(self, other):
28508
    return not (self == other)
28509
 
28510
class updateItemHoldInventory_result:
28511
 
28512
  thrift_spec = (
28513
  )
28514
 
28515
  def read(self, iprot):
28516
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28517
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28518
      return
28519
    iprot.readStructBegin()
28520
    while True:
28521
      (fname, ftype, fid) = iprot.readFieldBegin()
28522
      if ftype == TType.STOP:
28523
        break
28524
      else:
28525
        iprot.skip(ftype)
28526
      iprot.readFieldEnd()
28527
    iprot.readStructEnd()
28528
 
28529
  def write(self, oprot):
28530
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28531
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28532
      return
28533
    oprot.writeStructBegin('updateItemHoldInventory_result')
28534
    oprot.writeFieldStop()
28535
    oprot.writeStructEnd()
28536
 
28537
  def validate(self):
28538
    return
28539
 
28540
 
28541
  def __repr__(self):
28542
    L = ['%s=%r' % (key, value)
28543
      for key, value in self.__dict__.iteritems()]
28544
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28545
 
28546
  def __eq__(self, other):
28547
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28548
 
28549
  def __ne__(self, other):
28550
    return not (self == other)
9895 vikram.rag 28551
 
28552
class updateNlcAtMarketplaces_args:
28553
  """
28554
  Attributes:
28555
   - item_id
28556
   - vendor_id
28557
   - nlc
28558
  """
28559
 
28560
  thrift_spec = None
28561
  def __init__(self, item_id=None, vendor_id=None, nlc=None,):
28562
    self.item_id = item_id
28563
    self.vendor_id = vendor_id
28564
    self.nlc = nlc
28565
 
28566
  def read(self, iprot):
28567
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28568
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28569
      return
28570
    iprot.readStructBegin()
28571
    while True:
28572
      (fname, ftype, fid) = iprot.readFieldBegin()
28573
      if ftype == TType.STOP:
28574
        break
28575
      if fid == 1:
28576
        if ftype == TType.I64:
28577
          self.item_id = iprot.readI64();
28578
        else:
28579
          iprot.skip(ftype)
28580
      elif fid == 2:
28581
        if ftype == TType.I64:
28582
          self.vendor_id = iprot.readI64();
28583
        else:
28584
          iprot.skip(ftype)
28585
      elif fid == -1:
28586
        if ftype == TType.DOUBLE:
28587
          self.nlc = iprot.readDouble();
28588
        else:
28589
          iprot.skip(ftype)
28590
      else:
28591
        iprot.skip(ftype)
28592
      iprot.readFieldEnd()
28593
    iprot.readStructEnd()
28594
 
28595
  def write(self, oprot):
28596
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28597
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28598
      return
28599
    oprot.writeStructBegin('updateNlcAtMarketplaces_args')
28600
    if self.nlc is not None:
28601
      oprot.writeFieldBegin('nlc', TType.DOUBLE, -1)
28602
      oprot.writeDouble(self.nlc)
28603
      oprot.writeFieldEnd()
28604
    if self.item_id is not None:
28605
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28606
      oprot.writeI64(self.item_id)
28607
      oprot.writeFieldEnd()
28608
    if self.vendor_id is not None:
28609
      oprot.writeFieldBegin('vendor_id', TType.I64, 2)
28610
      oprot.writeI64(self.vendor_id)
28611
      oprot.writeFieldEnd()
28612
    oprot.writeFieldStop()
28613
    oprot.writeStructEnd()
28614
 
28615
  def validate(self):
28616
    return
28617
 
28618
 
28619
  def __repr__(self):
28620
    L = ['%s=%r' % (key, value)
28621
      for key, value in self.__dict__.iteritems()]
28622
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28623
 
28624
  def __eq__(self, other):
28625
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28626
 
28627
  def __ne__(self, other):
28628
    return not (self == other)
28629
 
28630
class updateNlcAtMarketplaces_result:
28631
 
28632
  thrift_spec = (
28633
  )
28634
 
28635
  def read(self, iprot):
28636
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28637
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28638
      return
28639
    iprot.readStructBegin()
28640
    while True:
28641
      (fname, ftype, fid) = iprot.readFieldBegin()
28642
      if ftype == TType.STOP:
28643
        break
28644
      else:
28645
        iprot.skip(ftype)
28646
      iprot.readFieldEnd()
28647
    iprot.readStructEnd()
28648
 
28649
  def write(self, oprot):
28650
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28651
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28652
      return
28653
    oprot.writeStructBegin('updateNlcAtMarketplaces_result')
28654
    oprot.writeFieldStop()
28655
    oprot.writeStructEnd()
28656
 
28657
  def validate(self):
28658
    return
28659
 
28660
 
28661
  def __repr__(self):
28662
    L = ['%s=%r' % (key, value)
28663
      for key, value in self.__dict__.iteritems()]
28664
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28665
 
28666
  def __eq__(self, other):
28667
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28668
 
28669
  def __ne__(self, other):
28670
    return not (self == other)
9945 vikram.rag 28671
 
28672
class getAllFlipkartItems_args:
28673
 
28674
  thrift_spec = (
28675
  )
28676
 
28677
  def read(self, iprot):
28678
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28679
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28680
      return
28681
    iprot.readStructBegin()
28682
    while True:
28683
      (fname, ftype, fid) = iprot.readFieldBegin()
28684
      if ftype == TType.STOP:
28685
        break
28686
      else:
28687
        iprot.skip(ftype)
28688
      iprot.readFieldEnd()
28689
    iprot.readStructEnd()
28690
 
28691
  def write(self, oprot):
28692
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28693
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28694
      return
28695
    oprot.writeStructBegin('getAllFlipkartItems_args')
28696
    oprot.writeFieldStop()
28697
    oprot.writeStructEnd()
28698
 
28699
  def validate(self):
28700
    return
28701
 
28702
 
28703
  def __repr__(self):
28704
    L = ['%s=%r' % (key, value)
28705
      for key, value in self.__dict__.iteritems()]
28706
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28707
 
28708
  def __eq__(self, other):
28709
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28710
 
28711
  def __ne__(self, other):
28712
    return not (self == other)
28713
 
28714
class getAllFlipkartItems_result:
28715
  """
28716
  Attributes:
28717
   - success
28718
  """
28719
 
28720
  thrift_spec = (
28721
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
28722
  )
28723
 
28724
  def __init__(self, success=None,):
28725
    self.success = success
28726
 
28727
  def read(self, iprot):
28728
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28729
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28730
      return
28731
    iprot.readStructBegin()
28732
    while True:
28733
      (fname, ftype, fid) = iprot.readFieldBegin()
28734
      if ftype == TType.STOP:
28735
        break
28736
      if fid == 0:
28737
        if ftype == TType.LIST:
28738
          self.success = []
18719 kshitij.so 28739
          (_etype615, _size612) = iprot.readListBegin()
28740
          for _i616 in xrange(_size612):
28741
            _elem617 = FlipkartItem()
28742
            _elem617.read(iprot)
28743
            self.success.append(_elem617)
9945 vikram.rag 28744
          iprot.readListEnd()
28745
        else:
28746
          iprot.skip(ftype)
28747
      else:
28748
        iprot.skip(ftype)
28749
      iprot.readFieldEnd()
28750
    iprot.readStructEnd()
28751
 
28752
  def write(self, oprot):
28753
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28754
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28755
      return
28756
    oprot.writeStructBegin('getAllFlipkartItems_result')
28757
    if self.success is not None:
28758
      oprot.writeFieldBegin('success', TType.LIST, 0)
28759
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 28760
      for iter618 in self.success:
28761
        iter618.write(oprot)
9945 vikram.rag 28762
      oprot.writeListEnd()
28763
      oprot.writeFieldEnd()
28764
    oprot.writeFieldStop()
28765
    oprot.writeStructEnd()
28766
 
28767
  def validate(self):
28768
    return
28769
 
28770
 
28771
  def __repr__(self):
28772
    L = ['%s=%r' % (key, value)
28773
      for key, value in self.__dict__.iteritems()]
28774
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28775
 
28776
  def __eq__(self, other):
28777
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28778
 
28779
  def __ne__(self, other):
28780
    return not (self == other)
10097 kshitij.so 28781
 
28782
class addOrUpdateFlipkartItem_args:
28783
  """
28784
  Attributes:
28785
   - flipkartitem
28786
  """
28787
 
28788
  thrift_spec = None
28789
  def __init__(self, flipkartitem=None,):
28790
    self.flipkartitem = flipkartitem
28791
 
28792
  def read(self, iprot):
28793
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28794
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28795
      return
28796
    iprot.readStructBegin()
28797
    while True:
28798
      (fname, ftype, fid) = iprot.readFieldBegin()
28799
      if ftype == TType.STOP:
28800
        break
28801
      if fid == -1:
28802
        if ftype == TType.STRUCT:
28803
          self.flipkartitem = FlipkartItem()
28804
          self.flipkartitem.read(iprot)
28805
        else:
28806
          iprot.skip(ftype)
28807
      else:
28808
        iprot.skip(ftype)
28809
      iprot.readFieldEnd()
28810
    iprot.readStructEnd()
28811
 
28812
  def write(self, oprot):
28813
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28814
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28815
      return
28816
    oprot.writeStructBegin('addOrUpdateFlipkartItem_args')
28817
    if self.flipkartitem is not None:
28818
      oprot.writeFieldBegin('flipkartitem', TType.STRUCT, -1)
28819
      self.flipkartitem.write(oprot)
28820
      oprot.writeFieldEnd()
28821
    oprot.writeFieldStop()
28822
    oprot.writeStructEnd()
28823
 
28824
  def validate(self):
28825
    return
28826
 
28827
 
28828
  def __repr__(self):
28829
    L = ['%s=%r' % (key, value)
28830
      for key, value in self.__dict__.iteritems()]
28831
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28832
 
28833
  def __eq__(self, other):
28834
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28835
 
28836
  def __ne__(self, other):
28837
    return not (self == other)
28838
 
28839
class addOrUpdateFlipkartItem_result:
28840
  """
28841
  Attributes:
28842
   - success
28843
  """
28844
 
28845
  thrift_spec = (
28846
    (0, TType.BOOL, 'success', None, None, ), # 0
28847
  )
28848
 
28849
  def __init__(self, success=None,):
28850
    self.success = success
28851
 
28852
  def read(self, iprot):
28853
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28854
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28855
      return
28856
    iprot.readStructBegin()
28857
    while True:
28858
      (fname, ftype, fid) = iprot.readFieldBegin()
28859
      if ftype == TType.STOP:
28860
        break
28861
      if fid == 0:
28862
        if ftype == TType.BOOL:
28863
          self.success = iprot.readBool();
28864
        else:
28865
          iprot.skip(ftype)
28866
      else:
28867
        iprot.skip(ftype)
28868
      iprot.readFieldEnd()
28869
    iprot.readStructEnd()
28870
 
28871
  def write(self, oprot):
28872
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28873
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28874
      return
28875
    oprot.writeStructBegin('addOrUpdateFlipkartItem_result')
28876
    if self.success is not None:
28877
      oprot.writeFieldBegin('success', TType.BOOL, 0)
28878
      oprot.writeBool(self.success)
28879
      oprot.writeFieldEnd()
28880
    oprot.writeFieldStop()
28881
    oprot.writeStructEnd()
28882
 
28883
  def validate(self):
28884
    return
28885
 
28886
 
28887
  def __repr__(self):
28888
    L = ['%s=%r' % (key, value)
28889
      for key, value in self.__dict__.iteritems()]
28890
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28891
 
28892
  def __eq__(self, other):
28893
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28894
 
28895
  def __ne__(self, other):
28896
    return not (self == other)
28897
 
28898
class getFlipkartItem_args:
28899
  """
28900
  Attributes:
28901
   - item_id
28902
  """
28903
 
28904
  thrift_spec = (
28905
    None, # 0
28906
    (1, TType.I64, 'item_id', None, None, ), # 1
28907
  )
28908
 
28909
  def __init__(self, item_id=None,):
28910
    self.item_id = item_id
28911
 
28912
  def read(self, iprot):
28913
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28914
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28915
      return
28916
    iprot.readStructBegin()
28917
    while True:
28918
      (fname, ftype, fid) = iprot.readFieldBegin()
28919
      if ftype == TType.STOP:
28920
        break
28921
      if fid == 1:
28922
        if ftype == TType.I64:
28923
          self.item_id = iprot.readI64();
28924
        else:
28925
          iprot.skip(ftype)
28926
      else:
28927
        iprot.skip(ftype)
28928
      iprot.readFieldEnd()
28929
    iprot.readStructEnd()
28930
 
28931
  def write(self, oprot):
28932
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28933
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28934
      return
28935
    oprot.writeStructBegin('getFlipkartItem_args')
28936
    if self.item_id is not None:
28937
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28938
      oprot.writeI64(self.item_id)
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)
28957
 
28958
class getFlipkartItem_result:
28959
  """
28960
  Attributes:
28961
   - success
28962
  """
28963
 
28964
  thrift_spec = (
28965
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
28966
  )
28967
 
28968
  def __init__(self, success=None,):
28969
    self.success = success
28970
 
28971
  def read(self, iprot):
28972
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28973
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28974
      return
28975
    iprot.readStructBegin()
28976
    while True:
28977
      (fname, ftype, fid) = iprot.readFieldBegin()
28978
      if ftype == TType.STOP:
28979
        break
28980
      if fid == 0:
28981
        if ftype == TType.STRUCT:
28982
          self.success = FlipkartItem()
28983
          self.success.read(iprot)
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('getFlipkartItem_result')
28996
    if self.success is not None:
28997
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28998
      self.success.write(oprot)
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 getFlipkartItemDetails_args:
29019
  """
29020
  Attributes:
29021
   - item_id
29022
  """
29023
 
29024
  thrift_spec = (
29025
    None, # 0
29026
    (1, TType.I64, 'item_id', None, None, ), # 1
29027
  )
29028
 
29029
  def __init__(self, item_id=None,):
29030
    self.item_id = item_id
29031
 
29032
  def read(self, iprot):
29033
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29034
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29035
      return
29036
    iprot.readStructBegin()
29037
    while True:
29038
      (fname, ftype, fid) = iprot.readFieldBegin()
29039
      if ftype == TType.STOP:
29040
        break
29041
      if fid == 1:
29042
        if ftype == TType.I64:
29043
          self.item_id = iprot.readI64();
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('getFlipkartItemDetails_args')
29056
    if self.item_id is not None:
29057
      oprot.writeFieldBegin('item_id', TType.I64, 1)
29058
      oprot.writeI64(self.item_id)
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 getFlipkartItemDetails_result:
29079
  """
29080
  Attributes:
29081
   - success
29082
  """
29083
 
29084
  thrift_spec = (
29085
    (0, TType.STRUCT, 'success', (FlipkartItemDetails, FlipkartItemDetails.thrift_spec), None, ), # 0
29086
  )
29087
 
29088
  def __init__(self, success=None,):
29089
    self.success = success
29090
 
29091
  def read(self, iprot):
29092
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29093
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29094
      return
29095
    iprot.readStructBegin()
29096
    while True:
29097
      (fname, ftype, fid) = iprot.readFieldBegin()
29098
      if ftype == TType.STOP:
29099
        break
29100
      if fid == 0:
29101
        if ftype == TType.STRUCT:
29102
          self.success = FlipkartItemDetails()
29103
          self.success.read(iprot)
29104
        else:
29105
          iprot.skip(ftype)
29106
      else:
29107
        iprot.skip(ftype)
29108
      iprot.readFieldEnd()
29109
    iprot.readStructEnd()
29110
 
29111
  def write(self, oprot):
29112
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29113
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29114
      return
29115
    oprot.writeStructBegin('getFlipkartItemDetails_result')
29116
    if self.success is not None:
29117
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
29118
      self.success.write(oprot)
29119
      oprot.writeFieldEnd()
29120
    oprot.writeFieldStop()
29121
    oprot.writeStructEnd()
29122
 
29123
  def validate(self):
29124
    return
29125
 
29126
 
29127
  def __repr__(self):
29128
    L = ['%s=%r' % (key, value)
29129
      for key, value in self.__dict__.iteritems()]
29130
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29131
 
29132
  def __eq__(self, other):
29133
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29134
 
29135
  def __ne__(self, other):
29136
    return not (self == other)
29137
 
29138
class getFlipkartItems_args:
29139
  """
29140
  Attributes:
29141
   - offset
29142
   - limit
29143
  """
29144
 
29145
  thrift_spec = (
29146
    None, # 0
29147
    (1, TType.I64, 'offset', None, None, ), # 1
29148
    (2, TType.I64, 'limit', None, None, ), # 2
29149
  )
29150
 
29151
  def __init__(self, offset=None, limit=None,):
29152
    self.offset = offset
29153
    self.limit = limit
29154
 
29155
  def read(self, iprot):
29156
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29157
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29158
      return
29159
    iprot.readStructBegin()
29160
    while True:
29161
      (fname, ftype, fid) = iprot.readFieldBegin()
29162
      if ftype == TType.STOP:
29163
        break
29164
      if fid == 1:
29165
        if ftype == TType.I64:
29166
          self.offset = iprot.readI64();
29167
        else:
29168
          iprot.skip(ftype)
29169
      elif fid == 2:
29170
        if ftype == TType.I64:
29171
          self.limit = iprot.readI64();
29172
        else:
29173
          iprot.skip(ftype)
29174
      else:
29175
        iprot.skip(ftype)
29176
      iprot.readFieldEnd()
29177
    iprot.readStructEnd()
29178
 
29179
  def write(self, oprot):
29180
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29181
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29182
      return
29183
    oprot.writeStructBegin('getFlipkartItems_args')
29184
    if self.offset is not None:
29185
      oprot.writeFieldBegin('offset', TType.I64, 1)
29186
      oprot.writeI64(self.offset)
29187
      oprot.writeFieldEnd()
29188
    if self.limit is not None:
29189
      oprot.writeFieldBegin('limit', TType.I64, 2)
29190
      oprot.writeI64(self.limit)
29191
      oprot.writeFieldEnd()
29192
    oprot.writeFieldStop()
29193
    oprot.writeStructEnd()
29194
 
29195
  def validate(self):
29196
    return
29197
 
29198
 
29199
  def __repr__(self):
29200
    L = ['%s=%r' % (key, value)
29201
      for key, value in self.__dict__.iteritems()]
29202
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29203
 
29204
  def __eq__(self, other):
29205
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29206
 
29207
  def __ne__(self, other):
29208
    return not (self == other)
29209
 
29210
class getFlipkartItems_result:
29211
  """
29212
  Attributes:
29213
   - success
29214
  """
29215
 
29216
  thrift_spec = (
29217
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
29218
  )
29219
 
29220
  def __init__(self, success=None,):
29221
    self.success = success
29222
 
29223
  def read(self, iprot):
29224
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29225
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29226
      return
29227
    iprot.readStructBegin()
29228
    while True:
29229
      (fname, ftype, fid) = iprot.readFieldBegin()
29230
      if ftype == TType.STOP:
29231
        break
29232
      if fid == 0:
29233
        if ftype == TType.LIST:
29234
          self.success = []
18719 kshitij.so 29235
          (_etype622, _size619) = iprot.readListBegin()
29236
          for _i623 in xrange(_size619):
29237
            _elem624 = FlipkartItemDetails()
29238
            _elem624.read(iprot)
29239
            self.success.append(_elem624)
10097 kshitij.so 29240
          iprot.readListEnd()
29241
        else:
29242
          iprot.skip(ftype)
29243
      else:
29244
        iprot.skip(ftype)
29245
      iprot.readFieldEnd()
29246
    iprot.readStructEnd()
29247
 
29248
  def write(self, oprot):
29249
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29250
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29251
      return
29252
    oprot.writeStructBegin('getFlipkartItems_result')
29253
    if self.success is not None:
29254
      oprot.writeFieldBegin('success', TType.LIST, 0)
29255
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 29256
      for iter625 in self.success:
29257
        iter625.write(oprot)
10097 kshitij.so 29258
      oprot.writeListEnd()
29259
      oprot.writeFieldEnd()
29260
    oprot.writeFieldStop()
29261
    oprot.writeStructEnd()
29262
 
29263
  def validate(self):
29264
    return
29265
 
29266
 
29267
  def __repr__(self):
29268
    L = ['%s=%r' % (key, value)
29269
      for key, value in self.__dict__.iteritems()]
29270
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29271
 
29272
  def __eq__(self, other):
29273
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29274
 
29275
  def __ne__(self, other):
29276
    return not (self == other)
29277
 
29278
class searchFlipkartItems_args:
29279
  """
29280
  Attributes:
29281
   - searchTerm
29282
   - offset
29283
   - limit
29284
  """
29285
 
29286
  thrift_spec = (
29287
    None, # 0
29288
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
29289
    (2, TType.I64, 'offset', None, None, ), # 2
29290
    (3, TType.I64, 'limit', None, None, ), # 3
29291
  )
29292
 
29293
  def __init__(self, searchTerm=None, offset=None, limit=None,):
29294
    self.searchTerm = searchTerm
29295
    self.offset = offset
29296
    self.limit = limit
29297
 
29298
  def read(self, iprot):
29299
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29300
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29301
      return
29302
    iprot.readStructBegin()
29303
    while True:
29304
      (fname, ftype, fid) = iprot.readFieldBegin()
29305
      if ftype == TType.STOP:
29306
        break
29307
      if fid == 1:
29308
        if ftype == TType.LIST:
29309
          self.searchTerm = []
18719 kshitij.so 29310
          (_etype629, _size626) = iprot.readListBegin()
29311
          for _i630 in xrange(_size626):
29312
            _elem631 = iprot.readString();
29313
            self.searchTerm.append(_elem631)
10097 kshitij.so 29314
          iprot.readListEnd()
29315
        else:
29316
          iprot.skip(ftype)
29317
      elif fid == 2:
29318
        if ftype == TType.I64:
29319
          self.offset = iprot.readI64();
29320
        else:
29321
          iprot.skip(ftype)
29322
      elif fid == 3:
29323
        if ftype == TType.I64:
29324
          self.limit = iprot.readI64();
29325
        else:
29326
          iprot.skip(ftype)
29327
      else:
29328
        iprot.skip(ftype)
29329
      iprot.readFieldEnd()
29330
    iprot.readStructEnd()
29331
 
29332
  def write(self, oprot):
29333
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29334
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29335
      return
29336
    oprot.writeStructBegin('searchFlipkartItems_args')
29337
    if self.searchTerm is not None:
29338
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
29339
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
18719 kshitij.so 29340
      for iter632 in self.searchTerm:
29341
        oprot.writeString(iter632)
10097 kshitij.so 29342
      oprot.writeListEnd()
29343
      oprot.writeFieldEnd()
29344
    if self.offset is not None:
29345
      oprot.writeFieldBegin('offset', TType.I64, 2)
29346
      oprot.writeI64(self.offset)
29347
      oprot.writeFieldEnd()
29348
    if self.limit is not None:
29349
      oprot.writeFieldBegin('limit', TType.I64, 3)
29350
      oprot.writeI64(self.limit)
29351
      oprot.writeFieldEnd()
29352
    oprot.writeFieldStop()
29353
    oprot.writeStructEnd()
29354
 
29355
  def validate(self):
29356
    return
29357
 
29358
 
29359
  def __repr__(self):
29360
    L = ['%s=%r' % (key, value)
29361
      for key, value in self.__dict__.iteritems()]
29362
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29363
 
29364
  def __eq__(self, other):
29365
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29366
 
29367
  def __ne__(self, other):
29368
    return not (self == other)
29369
 
29370
class searchFlipkartItems_result:
29371
  """
29372
  Attributes:
29373
   - success
29374
  """
29375
 
29376
  thrift_spec = (
29377
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
29378
  )
29379
 
29380
  def __init__(self, success=None,):
29381
    self.success = success
29382
 
29383
  def read(self, iprot):
29384
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29385
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29386
      return
29387
    iprot.readStructBegin()
29388
    while True:
29389
      (fname, ftype, fid) = iprot.readFieldBegin()
29390
      if ftype == TType.STOP:
29391
        break
29392
      if fid == 0:
29393
        if ftype == TType.LIST:
29394
          self.success = []
18719 kshitij.so 29395
          (_etype636, _size633) = iprot.readListBegin()
29396
          for _i637 in xrange(_size633):
29397
            _elem638 = FlipkartItemDetails()
29398
            _elem638.read(iprot)
29399
            self.success.append(_elem638)
10097 kshitij.so 29400
          iprot.readListEnd()
29401
        else:
29402
          iprot.skip(ftype)
29403
      else:
29404
        iprot.skip(ftype)
29405
      iprot.readFieldEnd()
29406
    iprot.readStructEnd()
29407
 
29408
  def write(self, oprot):
29409
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29410
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29411
      return
29412
    oprot.writeStructBegin('searchFlipkartItems_result')
29413
    if self.success is not None:
29414
      oprot.writeFieldBegin('success', TType.LIST, 0)
29415
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 29416
      for iter639 in self.success:
29417
        iter639.write(oprot)
10097 kshitij.so 29418
      oprot.writeListEnd()
29419
      oprot.writeFieldEnd()
29420
    oprot.writeFieldStop()
29421
    oprot.writeStructEnd()
29422
 
29423
  def validate(self):
29424
    return
29425
 
29426
 
29427
  def __repr__(self):
29428
    L = ['%s=%r' % (key, value)
29429
      for key, value in self.__dict__.iteritems()]
29430
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29431
 
29432
  def __eq__(self, other):
29433
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29434
 
29435
  def __ne__(self, other):
29436
    return not (self == other)
29437
 
29438
class getCountForFlipkartItems_args:
29439
 
29440
  thrift_spec = (
29441
  )
29442
 
29443
  def read(self, iprot):
29444
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29445
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29446
      return
29447
    iprot.readStructBegin()
29448
    while True:
29449
      (fname, ftype, fid) = iprot.readFieldBegin()
29450
      if ftype == TType.STOP:
29451
        break
29452
      else:
29453
        iprot.skip(ftype)
29454
      iprot.readFieldEnd()
29455
    iprot.readStructEnd()
29456
 
29457
  def write(self, oprot):
29458
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29459
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29460
      return
29461
    oprot.writeStructBegin('getCountForFlipkartItems_args')
29462
    oprot.writeFieldStop()
29463
    oprot.writeStructEnd()
29464
 
29465
  def validate(self):
29466
    return
29467
 
29468
 
29469
  def __repr__(self):
29470
    L = ['%s=%r' % (key, value)
29471
      for key, value in self.__dict__.iteritems()]
29472
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29473
 
29474
  def __eq__(self, other):
29475
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29476
 
29477
  def __ne__(self, other):
29478
    return not (self == other)
29479
 
29480
class getCountForFlipkartItems_result:
29481
  """
29482
  Attributes:
29483
   - success
29484
  """
29485
 
29486
  thrift_spec = (
29487
    (0, TType.I64, 'success', None, None, ), # 0
29488
  )
29489
 
29490
  def __init__(self, success=None,):
29491
    self.success = success
29492
 
29493
  def read(self, iprot):
29494
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29495
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29496
      return
29497
    iprot.readStructBegin()
29498
    while True:
29499
      (fname, ftype, fid) = iprot.readFieldBegin()
29500
      if ftype == TType.STOP:
29501
        break
29502
      if fid == 0:
29503
        if ftype == TType.I64:
29504
          self.success = iprot.readI64();
29505
        else:
29506
          iprot.skip(ftype)
29507
      else:
29508
        iprot.skip(ftype)
29509
      iprot.readFieldEnd()
29510
    iprot.readStructEnd()
29511
 
29512
  def write(self, oprot):
29513
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29514
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29515
      return
29516
    oprot.writeStructBegin('getCountForFlipkartItems_result')
29517
    if self.success is not None:
29518
      oprot.writeFieldBegin('success', TType.I64, 0)
29519
      oprot.writeI64(self.success)
29520
      oprot.writeFieldEnd()
29521
    oprot.writeFieldStop()
29522
    oprot.writeStructEnd()
29523
 
29524
  def validate(self):
29525
    return
29526
 
29527
 
29528
  def __repr__(self):
29529
    L = ['%s=%r' % (key, value)
29530
      for key, value in self.__dict__.iteritems()]
29531
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29532
 
29533
  def __eq__(self, other):
29534
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29535
 
29536
  def __ne__(self, other):
29537
    return not (self == other)
29538
 
29539
class getFlipkartSearchResultCount_args:
29540
  """
29541
  Attributes:
29542
   - searchTerm
29543
  """
29544
 
29545
  thrift_spec = (
29546
    None, # 0
29547
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
29548
  )
29549
 
29550
  def __init__(self, searchTerm=None,):
29551
    self.searchTerm = searchTerm
29552
 
29553
  def read(self, iprot):
29554
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29555
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29556
      return
29557
    iprot.readStructBegin()
29558
    while True:
29559
      (fname, ftype, fid) = iprot.readFieldBegin()
29560
      if ftype == TType.STOP:
29561
        break
29562
      if fid == 1:
29563
        if ftype == TType.LIST:
29564
          self.searchTerm = []
18719 kshitij.so 29565
          (_etype643, _size640) = iprot.readListBegin()
29566
          for _i644 in xrange(_size640):
29567
            _elem645 = iprot.readString();
29568
            self.searchTerm.append(_elem645)
10097 kshitij.so 29569
          iprot.readListEnd()
29570
        else:
29571
          iprot.skip(ftype)
29572
      else:
29573
        iprot.skip(ftype)
29574
      iprot.readFieldEnd()
29575
    iprot.readStructEnd()
29576
 
29577
  def write(self, oprot):
29578
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29579
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29580
      return
29581
    oprot.writeStructBegin('getFlipkartSearchResultCount_args')
29582
    if self.searchTerm is not None:
29583
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
29584
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
18719 kshitij.so 29585
      for iter646 in self.searchTerm:
29586
        oprot.writeString(iter646)
10097 kshitij.so 29587
      oprot.writeListEnd()
29588
      oprot.writeFieldEnd()
29589
    oprot.writeFieldStop()
29590
    oprot.writeStructEnd()
29591
 
29592
  def validate(self):
29593
    return
29594
 
29595
 
29596
  def __repr__(self):
29597
    L = ['%s=%r' % (key, value)
29598
      for key, value in self.__dict__.iteritems()]
29599
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29600
 
29601
  def __eq__(self, other):
29602
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29603
 
29604
  def __ne__(self, other):
29605
    return not (self == other)
29606
 
29607
class getFlipkartSearchResultCount_result:
29608
  """
29609
  Attributes:
29610
   - success
29611
  """
29612
 
29613
  thrift_spec = (
29614
    (0, TType.I64, 'success', None, None, ), # 0
29615
  )
29616
 
29617
  def __init__(self, success=None,):
29618
    self.success = success
29619
 
29620
  def read(self, iprot):
29621
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29622
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29623
      return
29624
    iprot.readStructBegin()
29625
    while True:
29626
      (fname, ftype, fid) = iprot.readFieldBegin()
29627
      if ftype == TType.STOP:
29628
        break
29629
      if fid == 0:
29630
        if ftype == TType.I64:
29631
          self.success = iprot.readI64();
29632
        else:
29633
          iprot.skip(ftype)
29634
      else:
29635
        iprot.skip(ftype)
29636
      iprot.readFieldEnd()
29637
    iprot.readStructEnd()
29638
 
29639
  def write(self, oprot):
29640
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29641
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29642
      return
29643
    oprot.writeStructBegin('getFlipkartSearchResultCount_result')
29644
    if self.success is not None:
29645
      oprot.writeFieldBegin('success', TType.I64, 0)
29646
      oprot.writeI64(self.success)
29647
      oprot.writeFieldEnd()
29648
    oprot.writeFieldStop()
29649
    oprot.writeStructEnd()
29650
 
29651
  def validate(self):
29652
    return
29653
 
29654
 
29655
  def __repr__(self):
29656
    L = ['%s=%r' % (key, value)
29657
      for key, value in self.__dict__.iteritems()]
29658
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29659
 
29660
  def __eq__(self, other):
29661
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29662
 
29663
  def __ne__(self, other):
29664
    return not (self == other)
29665
 
29666
class getAllFkItems_args:
29667
 
29668
  thrift_spec = (
29669
  )
29670
 
29671
  def read(self, iprot):
29672
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29673
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29674
      return
29675
    iprot.readStructBegin()
29676
    while True:
29677
      (fname, ftype, fid) = iprot.readFieldBegin()
29678
      if ftype == TType.STOP:
29679
        break
29680
      else:
29681
        iprot.skip(ftype)
29682
      iprot.readFieldEnd()
29683
    iprot.readStructEnd()
29684
 
29685
  def write(self, oprot):
29686
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29687
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29688
      return
29689
    oprot.writeStructBegin('getAllFkItems_args')
29690
    oprot.writeFieldStop()
29691
    oprot.writeStructEnd()
29692
 
29693
  def validate(self):
29694
    return
29695
 
29696
 
29697
  def __repr__(self):
29698
    L = ['%s=%r' % (key, value)
29699
      for key, value in self.__dict__.iteritems()]
29700
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29701
 
29702
  def __eq__(self, other):
29703
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29704
 
29705
  def __ne__(self, other):
29706
    return not (self == other)
29707
 
29708
class getAllFkItems_result:
29709
  """
29710
  Attributes:
29711
   - success
29712
  """
29713
 
29714
  thrift_spec = (
29715
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
29716
  )
29717
 
29718
  def __init__(self, success=None,):
29719
    self.success = success
29720
 
29721
  def read(self, iprot):
29722
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29723
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29724
      return
29725
    iprot.readStructBegin()
29726
    while True:
29727
      (fname, ftype, fid) = iprot.readFieldBegin()
29728
      if ftype == TType.STOP:
29729
        break
29730
      if fid == 0:
29731
        if ftype == TType.LIST:
29732
          self.success = []
18719 kshitij.so 29733
          (_etype650, _size647) = iprot.readListBegin()
29734
          for _i651 in xrange(_size647):
29735
            _elem652 = FlipkartItemDetails()
29736
            _elem652.read(iprot)
29737
            self.success.append(_elem652)
10097 kshitij.so 29738
          iprot.readListEnd()
29739
        else:
29740
          iprot.skip(ftype)
29741
      else:
29742
        iprot.skip(ftype)
29743
      iprot.readFieldEnd()
29744
    iprot.readStructEnd()
29745
 
29746
  def write(self, oprot):
29747
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29748
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29749
      return
29750
    oprot.writeStructBegin('getAllFkItems_result')
29751
    if self.success is not None:
29752
      oprot.writeFieldBegin('success', TType.LIST, 0)
29753
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 29754
      for iter653 in self.success:
29755
        iter653.write(oprot)
10097 kshitij.so 29756
      oprot.writeListEnd()
29757
      oprot.writeFieldEnd()
29758
    oprot.writeFieldStop()
29759
    oprot.writeStructEnd()
29760
 
29761
  def validate(self):
29762
    return
29763
 
29764
 
29765
  def __repr__(self):
29766
    L = ['%s=%r' % (key, value)
29767
      for key, value in self.__dict__.iteritems()]
29768
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29769
 
29770
  def __eq__(self, other):
29771
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29772
 
29773
  def __ne__(self, other):
29774
    return not (self == other)
10140 vikram.rag 29775
 
29776
class getFlipkartItemBySkyAtFlipkart_args:
29777
  """
29778
  Attributes:
29779
   - sku
29780
  """
29781
 
11531 vikram.rag 29782
  thrift_spec = None
10140 vikram.rag 29783
  def __init__(self, sku=None,):
29784
    self.sku = sku
29785
 
29786
  def read(self, iprot):
29787
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29788
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29789
      return
29790
    iprot.readStructBegin()
29791
    while True:
29792
      (fname, ftype, fid) = iprot.readFieldBegin()
29793
      if ftype == TType.STOP:
29794
        break
11531 vikram.rag 29795
      if fid == -1:
10140 vikram.rag 29796
        if ftype == TType.STRING:
29797
          self.sku = iprot.readString();
29798
        else:
29799
          iprot.skip(ftype)
29800
      else:
29801
        iprot.skip(ftype)
29802
      iprot.readFieldEnd()
29803
    iprot.readStructEnd()
29804
 
29805
  def write(self, oprot):
29806
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29807
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29808
      return
29809
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_args')
29810
    if self.sku is not None:
11531 vikram.rag 29811
      oprot.writeFieldBegin('sku', TType.STRING, -1)
10140 vikram.rag 29812
      oprot.writeString(self.sku)
29813
      oprot.writeFieldEnd()
29814
    oprot.writeFieldStop()
29815
    oprot.writeStructEnd()
29816
 
29817
  def validate(self):
29818
    return
29819
 
29820
 
29821
  def __repr__(self):
29822
    L = ['%s=%r' % (key, value)
29823
      for key, value in self.__dict__.iteritems()]
29824
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29825
 
29826
  def __eq__(self, other):
29827
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29828
 
29829
  def __ne__(self, other):
29830
    return not (self == other)
29831
 
29832
class getFlipkartItemBySkyAtFlipkart_result:
29833
  """
29834
  Attributes:
29835
   - success
29836
  """
29837
 
29838
  thrift_spec = (
29839
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
29840
  )
29841
 
29842
  def __init__(self, success=None,):
29843
    self.success = success
29844
 
29845
  def read(self, iprot):
29846
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29847
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29848
      return
29849
    iprot.readStructBegin()
29850
    while True:
29851
      (fname, ftype, fid) = iprot.readFieldBegin()
29852
      if ftype == TType.STOP:
29853
        break
29854
      if fid == 0:
29855
        if ftype == TType.STRUCT:
29856
          self.success = FlipkartItem()
29857
          self.success.read(iprot)
29858
        else:
29859
          iprot.skip(ftype)
29860
      else:
29861
        iprot.skip(ftype)
29862
      iprot.readFieldEnd()
29863
    iprot.readStructEnd()
29864
 
29865
  def write(self, oprot):
29866
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29867
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29868
      return
29869
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_result')
29870
    if self.success is not None:
29871
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
29872
      self.success.write(oprot)
29873
      oprot.writeFieldEnd()
29874
    oprot.writeFieldStop()
29875
    oprot.writeStructEnd()
29876
 
29877
  def validate(self):
29878
    return
29879
 
29880
 
29881
  def __repr__(self):
29882
    L = ['%s=%r' % (key, value)
29883
      for key, value in self.__dict__.iteritems()]
29884
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29885
 
29886
  def __eq__(self, other):
29887
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29888
 
29889
  def __ne__(self, other):
29890
    return not (self == other)
10909 vikram.rag 29891
 
11015 kshitij.so 29892
class getMarketplaceHistory_args:
29893
  """
29894
  Attributes:
29895
   - source
29896
   - offset
29897
   - itemId
29898
  """
10909 vikram.rag 29899
 
29900
  thrift_spec = (
11015 kshitij.so 29901
    None, # 0
29902
    (1, TType.I64, 'source', None, None, ), # 1
29903
    (2, TType.I64, 'offset', None, None, ), # 2
29904
    (3, TType.I64, 'itemId', None, None, ), # 3
10909 vikram.rag 29905
  )
29906
 
11015 kshitij.so 29907
  def __init__(self, source=None, offset=None, itemId=None,):
29908
    self.source = source
29909
    self.offset = offset
29910
    self.itemId = itemId
29911
 
10909 vikram.rag 29912
  def read(self, iprot):
29913
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29914
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29915
      return
29916
    iprot.readStructBegin()
29917
    while True:
29918
      (fname, ftype, fid) = iprot.readFieldBegin()
29919
      if ftype == TType.STOP:
29920
        break
11015 kshitij.so 29921
      if fid == 1:
29922
        if ftype == TType.I64:
29923
          self.source = iprot.readI64();
29924
        else:
29925
          iprot.skip(ftype)
29926
      elif fid == 2:
29927
        if ftype == TType.I64:
29928
          self.offset = iprot.readI64();
29929
        else:
29930
          iprot.skip(ftype)
29931
      elif fid == 3:
29932
        if ftype == TType.I64:
29933
          self.itemId = iprot.readI64();
29934
        else:
29935
          iprot.skip(ftype)
10909 vikram.rag 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
11015 kshitij.so 29945
    oprot.writeStructBegin('getMarketplaceHistory_args')
29946
    if self.source is not None:
29947
      oprot.writeFieldBegin('source', TType.I64, 1)
29948
      oprot.writeI64(self.source)
29949
      oprot.writeFieldEnd()
29950
    if self.offset is not None:
29951
      oprot.writeFieldBegin('offset', TType.I64, 2)
29952
      oprot.writeI64(self.offset)
29953
      oprot.writeFieldEnd()
29954
    if self.itemId is not None:
29955
      oprot.writeFieldBegin('itemId', TType.I64, 3)
29956
      oprot.writeI64(self.itemId)
29957
      oprot.writeFieldEnd()
10909 vikram.rag 29958
    oprot.writeFieldStop()
29959
    oprot.writeStructEnd()
29960
 
29961
  def validate(self):
29962
    return
29963
 
29964
 
29965
  def __repr__(self):
29966
    L = ['%s=%r' % (key, value)
29967
      for key, value in self.__dict__.iteritems()]
29968
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29969
 
29970
  def __eq__(self, other):
29971
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29972
 
29973
  def __ne__(self, other):
29974
    return not (self == other)
29975
 
11015 kshitij.so 29976
class getMarketplaceHistory_result:
10909 vikram.rag 29977
  """
29978
  Attributes:
29979
   - success
29980
  """
29981
 
29982
  thrift_spec = (
11015 kshitij.so 29983
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
10909 vikram.rag 29984
  )
29985
 
29986
  def __init__(self, success=None,):
29987
    self.success = success
29988
 
29989
  def read(self, iprot):
29990
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29991
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29992
      return
29993
    iprot.readStructBegin()
29994
    while True:
29995
      (fname, ftype, fid) = iprot.readFieldBegin()
29996
      if ftype == TType.STOP:
29997
        break
29998
      if fid == 0:
29999
        if ftype == TType.LIST:
30000
          self.success = []
18719 kshitij.so 30001
          (_etype657, _size654) = iprot.readListBegin()
30002
          for _i658 in xrange(_size654):
30003
            _elem659 = MarketplaceHistory()
30004
            _elem659.read(iprot)
30005
            self.success.append(_elem659)
10909 vikram.rag 30006
          iprot.readListEnd()
30007
        else:
30008
          iprot.skip(ftype)
30009
      else:
30010
        iprot.skip(ftype)
30011
      iprot.readFieldEnd()
30012
    iprot.readStructEnd()
30013
 
30014
  def write(self, oprot):
30015
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30016
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30017
      return
11015 kshitij.so 30018
    oprot.writeStructBegin('getMarketplaceHistory_result')
10909 vikram.rag 30019
    if self.success is not None:
30020
      oprot.writeFieldBegin('success', TType.LIST, 0)
30021
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 30022
      for iter660 in self.success:
30023
        iter660.write(oprot)
10909 vikram.rag 30024
      oprot.writeListEnd()
30025
      oprot.writeFieldEnd()
30026
    oprot.writeFieldStop()
30027
    oprot.writeStructEnd()
30028
 
30029
  def validate(self):
30030
    return
30031
 
30032
 
30033
  def __repr__(self):
30034
    L = ['%s=%r' % (key, value)
30035
      for key, value in self.__dict__.iteritems()]
30036
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30037
 
30038
  def __eq__(self, other):
30039
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30040
 
30041
  def __ne__(self, other):
30042
    return not (self == other)
10924 vikram.rag 30043
 
11015 kshitij.so 30044
class getAllFbbListedItems_args:
10924 vikram.rag 30045
 
30046
  thrift_spec = (
30047
  )
30048
 
30049
  def read(self, iprot):
30050
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30051
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30052
      return
30053
    iprot.readStructBegin()
30054
    while True:
30055
      (fname, ftype, fid) = iprot.readFieldBegin()
30056
      if ftype == TType.STOP:
30057
        break
30058
      else:
30059
        iprot.skip(ftype)
30060
      iprot.readFieldEnd()
30061
    iprot.readStructEnd()
30062
 
30063
  def write(self, oprot):
30064
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30065
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30066
      return
11015 kshitij.so 30067
    oprot.writeStructBegin('getAllFbbListedItems_args')
10924 vikram.rag 30068
    oprot.writeFieldStop()
30069
    oprot.writeStructEnd()
30070
 
30071
  def validate(self):
30072
    return
30073
 
30074
 
30075
  def __repr__(self):
30076
    L = ['%s=%r' % (key, value)
30077
      for key, value in self.__dict__.iteritems()]
30078
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30079
 
30080
  def __eq__(self, other):
30081
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30082
 
30083
  def __ne__(self, other):
30084
    return not (self == other)
30085
 
11015 kshitij.so 30086
class getAllFbbListedItems_result:
10924 vikram.rag 30087
  """
30088
  Attributes:
30089
   - success
30090
  """
30091
 
30092
  thrift_spec = (
30093
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
30094
  )
30095
 
30096
  def __init__(self, success=None,):
30097
    self.success = success
30098
 
30099
  def read(self, iprot):
30100
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30101
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30102
      return
30103
    iprot.readStructBegin()
30104
    while True:
30105
      (fname, ftype, fid) = iprot.readFieldBegin()
30106
      if ftype == TType.STOP:
30107
        break
30108
      if fid == 0:
30109
        if ftype == TType.LIST:
30110
          self.success = []
18719 kshitij.so 30111
          (_etype664, _size661) = iprot.readListBegin()
30112
          for _i665 in xrange(_size661):
30113
            _elem666 = Amazonlisted()
30114
            _elem666.read(iprot)
30115
            self.success.append(_elem666)
10924 vikram.rag 30116
          iprot.readListEnd()
30117
        else:
30118
          iprot.skip(ftype)
30119
      else:
30120
        iprot.skip(ftype)
30121
      iprot.readFieldEnd()
30122
    iprot.readStructEnd()
30123
 
30124
  def write(self, oprot):
30125
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30126
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30127
      return
11015 kshitij.so 30128
    oprot.writeStructBegin('getAllFbbListedItems_result')
10924 vikram.rag 30129
    if self.success is not None:
30130
      oprot.writeFieldBegin('success', TType.LIST, 0)
30131
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 30132
      for iter667 in self.success:
30133
        iter667.write(oprot)
10924 vikram.rag 30134
      oprot.writeListEnd()
30135
      oprot.writeFieldEnd()
30136
    oprot.writeFieldStop()
30137
    oprot.writeStructEnd()
30138
 
30139
  def validate(self):
30140
    return
30141
 
30142
 
30143
  def __repr__(self):
30144
    L = ['%s=%r' % (key, value)
30145
      for key, value in self.__dict__.iteritems()]
30146
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30147
 
30148
  def __eq__(self, other):
30149
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30150
 
30151
  def __ne__(self, other):
30152
    return not (self == other)
11015 kshitij.so 30153
 
30154
class getAllFbbPricingItems_args:
30155
 
30156
  thrift_spec = (
30157
  )
30158
 
30159
  def read(self, iprot):
30160
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30161
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30162
      return
30163
    iprot.readStructBegin()
30164
    while True:
30165
      (fname, ftype, fid) = iprot.readFieldBegin()
30166
      if ftype == TType.STOP:
30167
        break
30168
      else:
30169
        iprot.skip(ftype)
30170
      iprot.readFieldEnd()
30171
    iprot.readStructEnd()
30172
 
30173
  def write(self, oprot):
30174
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30175
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30176
      return
30177
    oprot.writeStructBegin('getAllFbbPricingItems_args')
30178
    oprot.writeFieldStop()
30179
    oprot.writeStructEnd()
30180
 
30181
  def validate(self):
30182
    return
30183
 
30184
 
30185
  def __repr__(self):
30186
    L = ['%s=%r' % (key, value)
30187
      for key, value in self.__dict__.iteritems()]
30188
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30189
 
30190
  def __eq__(self, other):
30191
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30192
 
30193
  def __ne__(self, other):
30194
    return not (self == other)
30195
 
30196
class getAllFbbPricingItems_result:
30197
  """
30198
  Attributes:
30199
   - success
30200
  """
30201
 
30202
  thrift_spec = (
30203
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
30204
  )
30205
 
30206
  def __init__(self, success=None,):
30207
    self.success = success
30208
 
30209
  def read(self, iprot):
30210
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30211
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30212
      return
30213
    iprot.readStructBegin()
30214
    while True:
30215
      (fname, ftype, fid) = iprot.readFieldBegin()
30216
      if ftype == TType.STOP:
30217
        break
30218
      if fid == 0:
30219
        if ftype == TType.LIST:
30220
          self.success = []
18719 kshitij.so 30221
          (_etype671, _size668) = iprot.readListBegin()
30222
          for _i672 in xrange(_size668):
30223
            _elem673 = Amazonlisted()
30224
            _elem673.read(iprot)
30225
            self.success.append(_elem673)
11015 kshitij.so 30226
          iprot.readListEnd()
30227
        else:
30228
          iprot.skip(ftype)
30229
      else:
30230
        iprot.skip(ftype)
30231
      iprot.readFieldEnd()
30232
    iprot.readStructEnd()
30233
 
30234
  def write(self, oprot):
30235
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30236
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30237
      return
30238
    oprot.writeStructBegin('getAllFbbPricingItems_result')
30239
    if self.success is not None:
30240
      oprot.writeFieldBegin('success', TType.LIST, 0)
30241
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 30242
      for iter674 in self.success:
30243
        iter674.write(oprot)
11015 kshitij.so 30244
      oprot.writeListEnd()
30245
      oprot.writeFieldEnd()
30246
    oprot.writeFieldStop()
30247
    oprot.writeStructEnd()
30248
 
30249
  def validate(self):
30250
    return
30251
 
30252
 
30253
  def __repr__(self):
30254
    L = ['%s=%r' % (key, value)
30255
      for key, value in self.__dict__.iteritems()]
30256
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30257
 
30258
  def __eq__(self, other):
30259
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30260
 
30261
  def __ne__(self, other):
30262
    return not (self == other)
30263
 
30264
class getCountForMarketplaceHistory_args:
30265
  """
30266
  Attributes:
30267
   - source
30268
   - itemId
30269
  """
30270
 
30271
  thrift_spec = (
30272
    None, # 0
30273
    (1, TType.I64, 'source', None, None, ), # 1
30274
    (2, TType.I64, 'itemId', None, None, ), # 2
30275
  )
30276
 
30277
  def __init__(self, source=None, itemId=None,):
30278
    self.source = source
30279
    self.itemId = itemId
30280
 
30281
  def read(self, iprot):
30282
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30283
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30284
      return
30285
    iprot.readStructBegin()
30286
    while True:
30287
      (fname, ftype, fid) = iprot.readFieldBegin()
30288
      if ftype == TType.STOP:
30289
        break
30290
      if fid == 1:
30291
        if ftype == TType.I64:
30292
          self.source = iprot.readI64();
30293
        else:
30294
          iprot.skip(ftype)
30295
      elif fid == 2:
30296
        if ftype == TType.I64:
30297
          self.itemId = iprot.readI64();
30298
        else:
30299
          iprot.skip(ftype)
30300
      else:
30301
        iprot.skip(ftype)
30302
      iprot.readFieldEnd()
30303
    iprot.readStructEnd()
30304
 
30305
  def write(self, oprot):
30306
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30307
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30308
      return
30309
    oprot.writeStructBegin('getCountForMarketplaceHistory_args')
30310
    if self.source is not None:
30311
      oprot.writeFieldBegin('source', TType.I64, 1)
30312
      oprot.writeI64(self.source)
30313
      oprot.writeFieldEnd()
30314
    if self.itemId is not None:
30315
      oprot.writeFieldBegin('itemId', TType.I64, 2)
30316
      oprot.writeI64(self.itemId)
30317
      oprot.writeFieldEnd()
30318
    oprot.writeFieldStop()
30319
    oprot.writeStructEnd()
30320
 
30321
  def validate(self):
30322
    return
30323
 
30324
 
30325
  def __repr__(self):
30326
    L = ['%s=%r' % (key, value)
30327
      for key, value in self.__dict__.iteritems()]
30328
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30329
 
30330
  def __eq__(self, other):
30331
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30332
 
30333
  def __ne__(self, other):
30334
    return not (self == other)
30335
 
30336
class getCountForMarketplaceHistory_result:
30337
  """
30338
  Attributes:
30339
   - success
30340
  """
30341
 
30342
  thrift_spec = (
30343
    (0, TType.I64, 'success', None, None, ), # 0
30344
  )
30345
 
30346
  def __init__(self, success=None,):
30347
    self.success = success
30348
 
30349
  def read(self, iprot):
30350
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30351
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30352
      return
30353
    iprot.readStructBegin()
30354
    while True:
30355
      (fname, ftype, fid) = iprot.readFieldBegin()
30356
      if ftype == TType.STOP:
30357
        break
30358
      if fid == 0:
30359
        if ftype == TType.I64:
30360
          self.success = iprot.readI64();
30361
        else:
30362
          iprot.skip(ftype)
30363
      else:
30364
        iprot.skip(ftype)
30365
      iprot.readFieldEnd()
30366
    iprot.readStructEnd()
30367
 
30368
  def write(self, oprot):
30369
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30370
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30371
      return
30372
    oprot.writeStructBegin('getCountForMarketplaceHistory_result')
30373
    if self.success is not None:
30374
      oprot.writeFieldBegin('success', TType.I64, 0)
30375
      oprot.writeI64(self.success)
30376
      oprot.writeFieldEnd()
30377
    oprot.writeFieldStop()
30378
    oprot.writeStructEnd()
30379
 
30380
  def validate(self):
30381
    return
30382
 
30383
 
30384
  def __repr__(self):
30385
    L = ['%s=%r' % (key, value)
30386
      for key, value in self.__dict__.iteritems()]
30387
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30388
 
30389
  def __eq__(self, other):
30390
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30391
 
30392
  def __ne__(self, other):
30393
    return not (self == other)
30394
 
30395
class getMarketplaceHistoryByDate_args:
30396
  """
30397
  Attributes:
30398
   - source
30399
   - startDate
30400
   - endDate
30401
   - offset
30402
   - limit
30403
   - itemId
30404
  """
30405
 
30406
  thrift_spec = (
30407
    None, # 0
30408
    (1, TType.I64, 'source', None, None, ), # 1
30409
    (2, TType.I64, 'startDate', None, None, ), # 2
30410
    (3, TType.I64, 'endDate', None, None, ), # 3
30411
    (4, TType.I64, 'offset', None, None, ), # 4
30412
    (5, TType.I64, 'limit', None, None, ), # 5
30413
    (6, TType.I64, 'itemId', None, None, ), # 6
30414
  )
30415
 
30416
  def __init__(self, source=None, startDate=None, endDate=None, offset=None, limit=None, itemId=None,):
30417
    self.source = source
30418
    self.startDate = startDate
30419
    self.endDate = endDate
30420
    self.offset = offset
30421
    self.limit = limit
30422
    self.itemId = itemId
30423
 
30424
  def read(self, iprot):
30425
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30426
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30427
      return
30428
    iprot.readStructBegin()
30429
    while True:
30430
      (fname, ftype, fid) = iprot.readFieldBegin()
30431
      if ftype == TType.STOP:
30432
        break
30433
      if fid == 1:
30434
        if ftype == TType.I64:
30435
          self.source = iprot.readI64();
30436
        else:
30437
          iprot.skip(ftype)
30438
      elif fid == 2:
30439
        if ftype == TType.I64:
30440
          self.startDate = iprot.readI64();
30441
        else:
30442
          iprot.skip(ftype)
30443
      elif fid == 3:
30444
        if ftype == TType.I64:
30445
          self.endDate = iprot.readI64();
30446
        else:
30447
          iprot.skip(ftype)
30448
      elif fid == 4:
30449
        if ftype == TType.I64:
30450
          self.offset = iprot.readI64();
30451
        else:
30452
          iprot.skip(ftype)
30453
      elif fid == 5:
30454
        if ftype == TType.I64:
30455
          self.limit = iprot.readI64();
30456
        else:
30457
          iprot.skip(ftype)
30458
      elif fid == 6:
30459
        if ftype == TType.I64:
30460
          self.itemId = iprot.readI64();
30461
        else:
30462
          iprot.skip(ftype)
30463
      else:
30464
        iprot.skip(ftype)
30465
      iprot.readFieldEnd()
30466
    iprot.readStructEnd()
30467
 
30468
  def write(self, oprot):
30469
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30470
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30471
      return
30472
    oprot.writeStructBegin('getMarketplaceHistoryByDate_args')
30473
    if self.source is not None:
30474
      oprot.writeFieldBegin('source', TType.I64, 1)
30475
      oprot.writeI64(self.source)
30476
      oprot.writeFieldEnd()
30477
    if self.startDate is not None:
30478
      oprot.writeFieldBegin('startDate', TType.I64, 2)
30479
      oprot.writeI64(self.startDate)
30480
      oprot.writeFieldEnd()
30481
    if self.endDate is not None:
30482
      oprot.writeFieldBegin('endDate', TType.I64, 3)
30483
      oprot.writeI64(self.endDate)
30484
      oprot.writeFieldEnd()
30485
    if self.offset is not None:
30486
      oprot.writeFieldBegin('offset', TType.I64, 4)
30487
      oprot.writeI64(self.offset)
30488
      oprot.writeFieldEnd()
30489
    if self.limit is not None:
30490
      oprot.writeFieldBegin('limit', TType.I64, 5)
30491
      oprot.writeI64(self.limit)
30492
      oprot.writeFieldEnd()
30493
    if self.itemId is not None:
30494
      oprot.writeFieldBegin('itemId', TType.I64, 6)
30495
      oprot.writeI64(self.itemId)
30496
      oprot.writeFieldEnd()
30497
    oprot.writeFieldStop()
30498
    oprot.writeStructEnd()
30499
 
30500
  def validate(self):
30501
    return
30502
 
30503
 
30504
  def __repr__(self):
30505
    L = ['%s=%r' % (key, value)
30506
      for key, value in self.__dict__.iteritems()]
30507
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30508
 
30509
  def __eq__(self, other):
30510
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30511
 
30512
  def __ne__(self, other):
30513
    return not (self == other)
30514
 
30515
class getMarketplaceHistoryByDate_result:
30516
  """
30517
  Attributes:
30518
   - success
30519
  """
30520
 
30521
  thrift_spec = (
30522
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
30523
  )
30524
 
30525
  def __init__(self, success=None,):
30526
    self.success = success
30527
 
30528
  def read(self, iprot):
30529
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30530
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30531
      return
30532
    iprot.readStructBegin()
30533
    while True:
30534
      (fname, ftype, fid) = iprot.readFieldBegin()
30535
      if ftype == TType.STOP:
30536
        break
30537
      if fid == 0:
30538
        if ftype == TType.LIST:
30539
          self.success = []
18719 kshitij.so 30540
          (_etype678, _size675) = iprot.readListBegin()
30541
          for _i679 in xrange(_size675):
30542
            _elem680 = MarketplaceHistory()
30543
            _elem680.read(iprot)
30544
            self.success.append(_elem680)
11015 kshitij.so 30545
          iprot.readListEnd()
30546
        else:
30547
          iprot.skip(ftype)
30548
      else:
30549
        iprot.skip(ftype)
30550
      iprot.readFieldEnd()
30551
    iprot.readStructEnd()
30552
 
30553
  def write(self, oprot):
30554
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30555
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30556
      return
30557
    oprot.writeStructBegin('getMarketplaceHistoryByDate_result')
30558
    if self.success is not None:
30559
      oprot.writeFieldBegin('success', TType.LIST, 0)
30560
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 30561
      for iter681 in self.success:
30562
        iter681.write(oprot)
11015 kshitij.so 30563
      oprot.writeListEnd()
30564
      oprot.writeFieldEnd()
30565
    oprot.writeFieldStop()
30566
    oprot.writeStructEnd()
30567
 
30568
  def validate(self):
30569
    return
30570
 
30571
 
30572
  def __repr__(self):
30573
    L = ['%s=%r' % (key, value)
30574
      for key, value in self.__dict__.iteritems()]
30575
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30576
 
30577
  def __eq__(self, other):
30578
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30579
 
30580
  def __ne__(self, other):
30581
    return not (self == other)
11531 vikram.rag 30582
 
30583
class getPrivateDealDetails_args:
30584
  """
30585
  Attributes:
30586
   - item_id
30587
  """
30588
 
30589
  thrift_spec = (
30590
    None, # 0
30591
    (1, TType.I64, 'item_id', None, None, ), # 1
30592
  )
30593
 
30594
  def __init__(self, item_id=None,):
30595
    self.item_id = item_id
30596
 
30597
  def read(self, iprot):
30598
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30599
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30600
      return
30601
    iprot.readStructBegin()
30602
    while True:
30603
      (fname, ftype, fid) = iprot.readFieldBegin()
30604
      if ftype == TType.STOP:
30605
        break
30606
      if fid == 1:
30607
        if ftype == TType.I64:
30608
          self.item_id = iprot.readI64();
30609
        else:
30610
          iprot.skip(ftype)
30611
      else:
30612
        iprot.skip(ftype)
30613
      iprot.readFieldEnd()
30614
    iprot.readStructEnd()
30615
 
30616
  def write(self, oprot):
30617
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30618
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30619
      return
30620
    oprot.writeStructBegin('getPrivateDealDetails_args')
30621
    if self.item_id is not None:
30622
      oprot.writeFieldBegin('item_id', TType.I64, 1)
30623
      oprot.writeI64(self.item_id)
30624
      oprot.writeFieldEnd()
30625
    oprot.writeFieldStop()
30626
    oprot.writeStructEnd()
30627
 
30628
  def validate(self):
30629
    return
30630
 
30631
 
30632
  def __repr__(self):
30633
    L = ['%s=%r' % (key, value)
30634
      for key, value in self.__dict__.iteritems()]
30635
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30636
 
30637
  def __eq__(self, other):
30638
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30639
 
30640
  def __ne__(self, other):
30641
    return not (self == other)
30642
 
30643
class getPrivateDealDetails_result:
30644
  """
30645
  Attributes:
30646
   - success
30647
  """
30648
 
30649
  thrift_spec = (
30650
    (0, TType.STRUCT, 'success', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 0
30651
  )
30652
 
30653
  def __init__(self, success=None,):
30654
    self.success = success
30655
 
30656
  def read(self, iprot):
30657
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30658
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30659
      return
30660
    iprot.readStructBegin()
30661
    while True:
30662
      (fname, ftype, fid) = iprot.readFieldBegin()
30663
      if ftype == TType.STOP:
30664
        break
30665
      if fid == 0:
30666
        if ftype == TType.STRUCT:
30667
          self.success = PrivateDeal()
30668
          self.success.read(iprot)
30669
        else:
30670
          iprot.skip(ftype)
30671
      else:
30672
        iprot.skip(ftype)
30673
      iprot.readFieldEnd()
30674
    iprot.readStructEnd()
30675
 
30676
  def write(self, oprot):
30677
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30678
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30679
      return
30680
    oprot.writeStructBegin('getPrivateDealDetails_result')
30681
    if self.success is not None:
30682
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
30683
      self.success.write(oprot)
30684
      oprot.writeFieldEnd()
30685
    oprot.writeFieldStop()
30686
    oprot.writeStructEnd()
30687
 
30688
  def validate(self):
30689
    return
30690
 
30691
 
30692
  def __repr__(self):
30693
    L = ['%s=%r' % (key, value)
30694
      for key, value in self.__dict__.iteritems()]
30695
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30696
 
30697
  def __eq__(self, other):
30698
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30699
 
30700
  def __ne__(self, other):
30701
    return not (self == other)
30702
 
30703
class getPrivateDealItems_args:
30704
  """
30705
  Attributes:
30706
   - offset
30707
   - limit
30708
  """
30709
 
30710
  thrift_spec = (
30711
    None, # 0
30712
    (1, TType.I64, 'offset', None, None, ), # 1
30713
    (2, TType.I64, 'limit', None, None, ), # 2
30714
  )
30715
 
30716
  def __init__(self, offset=None, limit=None,):
30717
    self.offset = offset
30718
    self.limit = limit
30719
 
30720
  def read(self, iprot):
30721
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30722
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30723
      return
30724
    iprot.readStructBegin()
30725
    while True:
30726
      (fname, ftype, fid) = iprot.readFieldBegin()
30727
      if ftype == TType.STOP:
30728
        break
30729
      if fid == 1:
30730
        if ftype == TType.I64:
30731
          self.offset = iprot.readI64();
30732
        else:
30733
          iprot.skip(ftype)
30734
      elif fid == 2:
30735
        if ftype == TType.I64:
30736
          self.limit = iprot.readI64();
30737
        else:
30738
          iprot.skip(ftype)
30739
      else:
30740
        iprot.skip(ftype)
30741
      iprot.readFieldEnd()
30742
    iprot.readStructEnd()
30743
 
30744
  def write(self, oprot):
30745
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30746
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30747
      return
30748
    oprot.writeStructBegin('getPrivateDealItems_args')
30749
    if self.offset is not None:
30750
      oprot.writeFieldBegin('offset', TType.I64, 1)
30751
      oprot.writeI64(self.offset)
30752
      oprot.writeFieldEnd()
30753
    if self.limit is not None:
30754
      oprot.writeFieldBegin('limit', TType.I64, 2)
30755
      oprot.writeI64(self.limit)
30756
      oprot.writeFieldEnd()
30757
    oprot.writeFieldStop()
30758
    oprot.writeStructEnd()
30759
 
30760
  def validate(self):
30761
    return
30762
 
30763
 
30764
  def __repr__(self):
30765
    L = ['%s=%r' % (key, value)
30766
      for key, value in self.__dict__.iteritems()]
30767
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30768
 
30769
  def __eq__(self, other):
30770
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30771
 
30772
  def __ne__(self, other):
30773
    return not (self == other)
30774
 
30775
class getPrivateDealItems_result:
30776
  """
30777
  Attributes:
30778
   - success
30779
  """
30780
 
30781
  thrift_spec = (
30782
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
30783
  )
30784
 
30785
  def __init__(self, success=None,):
30786
    self.success = success
30787
 
30788
  def read(self, iprot):
30789
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30790
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30791
      return
30792
    iprot.readStructBegin()
30793
    while True:
30794
      (fname, ftype, fid) = iprot.readFieldBegin()
30795
      if ftype == TType.STOP:
30796
        break
30797
      if fid == 0:
30798
        if ftype == TType.LIST:
30799
          self.success = []
18719 kshitij.so 30800
          (_etype685, _size682) = iprot.readListBegin()
30801
          for _i686 in xrange(_size682):
30802
            _elem687 = Item()
30803
            _elem687.read(iprot)
30804
            self.success.append(_elem687)
11531 vikram.rag 30805
          iprot.readListEnd()
30806
        else:
30807
          iprot.skip(ftype)
30808
      else:
30809
        iprot.skip(ftype)
30810
      iprot.readFieldEnd()
30811
    iprot.readStructEnd()
30812
 
30813
  def write(self, oprot):
30814
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30815
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30816
      return
30817
    oprot.writeStructBegin('getPrivateDealItems_result')
30818
    if self.success is not None:
30819
      oprot.writeFieldBegin('success', TType.LIST, 0)
30820
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 30821
      for iter688 in self.success:
30822
        iter688.write(oprot)
11531 vikram.rag 30823
      oprot.writeListEnd()
30824
      oprot.writeFieldEnd()
30825
    oprot.writeFieldStop()
30826
    oprot.writeStructEnd()
30827
 
30828
  def validate(self):
30829
    return
30830
 
30831
 
30832
  def __repr__(self):
30833
    L = ['%s=%r' % (key, value)
30834
      for key, value in self.__dict__.iteritems()]
30835
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30836
 
30837
  def __eq__(self, other):
30838
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30839
 
30840
  def __ne__(self, other):
30841
    return not (self == other)
30842
 
11592 amit.gupta 30843
class getAllActivePrivateDeals_args:
11653 amit.gupta 30844
  """
30845
  Attributes:
30846
   - itemIds
30847
   - daysDelta
30848
  """
11592 amit.gupta 30849
 
30850
  thrift_spec = (
11653 amit.gupta 30851
    None, # 0
30852
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
30853
    (2, TType.I64, 'daysDelta', None, None, ), # 2
11592 amit.gupta 30854
  )
30855
 
11653 amit.gupta 30856
  def __init__(self, itemIds=None, daysDelta=None,):
30857
    self.itemIds = itemIds
30858
    self.daysDelta = daysDelta
30859
 
11592 amit.gupta 30860
  def read(self, iprot):
30861
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30862
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30863
      return
30864
    iprot.readStructBegin()
30865
    while True:
30866
      (fname, ftype, fid) = iprot.readFieldBegin()
30867
      if ftype == TType.STOP:
30868
        break
11653 amit.gupta 30869
      if fid == 1:
30870
        if ftype == TType.LIST:
30871
          self.itemIds = []
18719 kshitij.so 30872
          (_etype692, _size689) = iprot.readListBegin()
30873
          for _i693 in xrange(_size689):
30874
            _elem694 = iprot.readI64();
30875
            self.itemIds.append(_elem694)
11653 amit.gupta 30876
          iprot.readListEnd()
30877
        else:
30878
          iprot.skip(ftype)
30879
      elif fid == 2:
30880
        if ftype == TType.I64:
30881
          self.daysDelta = iprot.readI64();
30882
        else:
30883
          iprot.skip(ftype)
11592 amit.gupta 30884
      else:
30885
        iprot.skip(ftype)
30886
      iprot.readFieldEnd()
30887
    iprot.readStructEnd()
30888
 
30889
  def write(self, oprot):
30890
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30891
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30892
      return
30893
    oprot.writeStructBegin('getAllActivePrivateDeals_args')
11653 amit.gupta 30894
    if self.itemIds is not None:
30895
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
30896
      oprot.writeListBegin(TType.I64, len(self.itemIds))
18719 kshitij.so 30897
      for iter695 in self.itemIds:
30898
        oprot.writeI64(iter695)
11653 amit.gupta 30899
      oprot.writeListEnd()
30900
      oprot.writeFieldEnd()
30901
    if self.daysDelta is not None:
30902
      oprot.writeFieldBegin('daysDelta', TType.I64, 2)
30903
      oprot.writeI64(self.daysDelta)
30904
      oprot.writeFieldEnd()
11592 amit.gupta 30905
    oprot.writeFieldStop()
30906
    oprot.writeStructEnd()
30907
 
30908
  def validate(self):
30909
    return
30910
 
30911
 
30912
  def __repr__(self):
30913
    L = ['%s=%r' % (key, value)
30914
      for key, value in self.__dict__.iteritems()]
30915
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30916
 
30917
  def __eq__(self, other):
30918
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30919
 
30920
  def __ne__(self, other):
30921
    return not (self == other)
30922
 
30923
class getAllActivePrivateDeals_result:
30924
  """
30925
  Attributes:
30926
   - success
30927
  """
30928
 
30929
  thrift_spec = (
30930
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(PrivateDeal, PrivateDeal.thrift_spec)), None, ), # 0
30931
  )
30932
 
30933
  def __init__(self, success=None,):
30934
    self.success = success
30935
 
30936
  def read(self, iprot):
30937
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30938
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30939
      return
30940
    iprot.readStructBegin()
30941
    while True:
30942
      (fname, ftype, fid) = iprot.readFieldBegin()
30943
      if ftype == TType.STOP:
30944
        break
30945
      if fid == 0:
30946
        if ftype == TType.MAP:
30947
          self.success = {}
18719 kshitij.so 30948
          (_ktype697, _vtype698, _size696 ) = iprot.readMapBegin() 
30949
          for _i700 in xrange(_size696):
30950
            _key701 = iprot.readI64();
30951
            _val702 = PrivateDeal()
30952
            _val702.read(iprot)
30953
            self.success[_key701] = _val702
11592 amit.gupta 30954
          iprot.readMapEnd()
30955
        else:
30956
          iprot.skip(ftype)
30957
      else:
30958
        iprot.skip(ftype)
30959
      iprot.readFieldEnd()
30960
    iprot.readStructEnd()
30961
 
30962
  def write(self, oprot):
30963
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30964
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30965
      return
30966
    oprot.writeStructBegin('getAllActivePrivateDeals_result')
30967
    if self.success is not None:
30968
      oprot.writeFieldBegin('success', TType.MAP, 0)
30969
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
18719 kshitij.so 30970
      for kiter703,viter704 in self.success.items():
30971
        oprot.writeI64(kiter703)
30972
        viter704.write(oprot)
11592 amit.gupta 30973
      oprot.writeMapEnd()
30974
      oprot.writeFieldEnd()
30975
    oprot.writeFieldStop()
30976
    oprot.writeStructEnd()
30977
 
30978
  def validate(self):
30979
    return
30980
 
30981
 
30982
  def __repr__(self):
30983
    L = ['%s=%r' % (key, value)
30984
      for key, value in self.__dict__.iteritems()]
30985
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30986
 
30987
  def __eq__(self, other):
30988
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30989
 
30990
  def __ne__(self, other):
30991
    return not (self == other)
30992
 
11531 vikram.rag 30993
class addOrUpdatePrivateDeal_args:
30994
  """
30995
  Attributes:
30996
   - privateDeal
30997
  """
30998
 
30999
  thrift_spec = (
31000
    None, # 0
31001
    (1, TType.STRUCT, 'privateDeal', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 1
31002
  )
31003
 
31004
  def __init__(self, privateDeal=None,):
31005
    self.privateDeal = privateDeal
31006
 
31007
  def read(self, iprot):
31008
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31009
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31010
      return
31011
    iprot.readStructBegin()
31012
    while True:
31013
      (fname, ftype, fid) = iprot.readFieldBegin()
31014
      if ftype == TType.STOP:
31015
        break
31016
      if fid == 1:
31017
        if ftype == TType.STRUCT:
31018
          self.privateDeal = PrivateDeal()
31019
          self.privateDeal.read(iprot)
31020
        else:
31021
          iprot.skip(ftype)
31022
      else:
31023
        iprot.skip(ftype)
31024
      iprot.readFieldEnd()
31025
    iprot.readStructEnd()
31026
 
31027
  def write(self, oprot):
31028
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31029
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31030
      return
31031
    oprot.writeStructBegin('addOrUpdatePrivateDeal_args')
31032
    if self.privateDeal is not None:
31033
      oprot.writeFieldBegin('privateDeal', TType.STRUCT, 1)
31034
      self.privateDeal.write(oprot)
31035
      oprot.writeFieldEnd()
31036
    oprot.writeFieldStop()
31037
    oprot.writeStructEnd()
31038
 
31039
  def validate(self):
31040
    return
31041
 
31042
 
31043
  def __repr__(self):
31044
    L = ['%s=%r' % (key, value)
31045
      for key, value in self.__dict__.iteritems()]
31046
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31047
 
31048
  def __eq__(self, other):
31049
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31050
 
31051
  def __ne__(self, other):
31052
    return not (self == other)
31053
 
31054
class addOrUpdatePrivateDeal_result:
31055
  """
31056
  Attributes:
31057
   - success
31058
  """
31059
 
31060
  thrift_spec = (
31061
    (0, TType.BOOL, 'success', None, None, ), # 0
31062
  )
31063
 
31064
  def __init__(self, success=None,):
31065
    self.success = success
31066
 
31067
  def read(self, iprot):
31068
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31069
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31070
      return
31071
    iprot.readStructBegin()
31072
    while True:
31073
      (fname, ftype, fid) = iprot.readFieldBegin()
31074
      if ftype == TType.STOP:
31075
        break
31076
      if fid == 0:
31077
        if ftype == TType.BOOL:
31078
          self.success = iprot.readBool();
31079
        else:
31080
          iprot.skip(ftype)
31081
      else:
31082
        iprot.skip(ftype)
31083
      iprot.readFieldEnd()
31084
    iprot.readStructEnd()
31085
 
31086
  def write(self, oprot):
31087
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31088
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31089
      return
31090
    oprot.writeStructBegin('addOrUpdatePrivateDeal_result')
31091
    if self.success is not None:
31092
      oprot.writeFieldBegin('success', TType.BOOL, 0)
31093
      oprot.writeBool(self.success)
31094
      oprot.writeFieldEnd()
31095
    oprot.writeFieldStop()
31096
    oprot.writeStructEnd()
31097
 
31098
  def validate(self):
31099
    return
31100
 
31101
 
31102
  def __repr__(self):
31103
    L = ['%s=%r' % (key, value)
31104
      for key, value in self.__dict__.iteritems()]
31105
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31106
 
31107
  def __eq__(self, other):
31108
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31109
 
31110
  def __ne__(self, other):
31111
    return not (self == other)
11635 vikram.rag 31112
 
31113
class getPrivateDealsCatalogIds_args:
31114
  """
31115
  Attributes:
31116
   - beginIndex
31117
   - totalItems
31118
  """
31119
 
31120
  thrift_spec = (
31121
    None, # 0
31122
    (1, TType.I64, 'beginIndex', None, None, ), # 1
31123
    (2, TType.I64, 'totalItems', None, None, ), # 2
31124
  )
31125
 
31126
  def __init__(self, beginIndex=None, totalItems=None,):
31127
    self.beginIndex = beginIndex
31128
    self.totalItems = totalItems
31129
 
31130
  def read(self, iprot):
31131
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31132
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31133
      return
31134
    iprot.readStructBegin()
31135
    while True:
31136
      (fname, ftype, fid) = iprot.readFieldBegin()
31137
      if ftype == TType.STOP:
31138
        break
31139
      if fid == 1:
31140
        if ftype == TType.I64:
31141
          self.beginIndex = iprot.readI64();
31142
        else:
31143
          iprot.skip(ftype)
31144
      elif fid == 2:
31145
        if ftype == TType.I64:
31146
          self.totalItems = iprot.readI64();
31147
        else:
31148
          iprot.skip(ftype)
31149
      else:
31150
        iprot.skip(ftype)
31151
      iprot.readFieldEnd()
31152
    iprot.readStructEnd()
31153
 
31154
  def write(self, oprot):
31155
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31156
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31157
      return
31158
    oprot.writeStructBegin('getPrivateDealsCatalogIds_args')
31159
    if self.beginIndex is not None:
31160
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
31161
      oprot.writeI64(self.beginIndex)
31162
      oprot.writeFieldEnd()
31163
    if self.totalItems is not None:
31164
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
31165
      oprot.writeI64(self.totalItems)
31166
      oprot.writeFieldEnd()
31167
    oprot.writeFieldStop()
31168
    oprot.writeStructEnd()
31169
 
31170
  def validate(self):
31171
    return
31172
 
31173
 
31174
  def __repr__(self):
31175
    L = ['%s=%r' % (key, value)
31176
      for key, value in self.__dict__.iteritems()]
31177
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31178
 
31179
  def __eq__(self, other):
31180
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31181
 
31182
  def __ne__(self, other):
31183
    return not (self == other)
31184
 
31185
class getPrivateDealsCatalogIds_result:
31186
  """
31187
  Attributes:
31188
   - success
31189
   - cex
31190
  """
31191
 
31192
  thrift_spec = (
31193
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
31194
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
31195
  )
31196
 
31197
  def __init__(self, success=None, cex=None,):
31198
    self.success = success
31199
    self.cex = cex
31200
 
31201
  def read(self, iprot):
31202
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31203
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31204
      return
31205
    iprot.readStructBegin()
31206
    while True:
31207
      (fname, ftype, fid) = iprot.readFieldBegin()
31208
      if ftype == TType.STOP:
31209
        break
31210
      if fid == 0:
31211
        if ftype == TType.LIST:
31212
          self.success = []
18719 kshitij.so 31213
          (_etype708, _size705) = iprot.readListBegin()
31214
          for _i709 in xrange(_size705):
31215
            _elem710 = iprot.readI64();
31216
            self.success.append(_elem710)
11635 vikram.rag 31217
          iprot.readListEnd()
31218
        else:
31219
          iprot.skip(ftype)
31220
      elif fid == 1:
31221
        if ftype == TType.STRUCT:
31222
          self.cex = CatalogServiceException()
31223
          self.cex.read(iprot)
31224
        else:
31225
          iprot.skip(ftype)
31226
      else:
31227
        iprot.skip(ftype)
31228
      iprot.readFieldEnd()
31229
    iprot.readStructEnd()
31230
 
31231
  def write(self, oprot):
31232
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31233
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31234
      return
31235
    oprot.writeStructBegin('getPrivateDealsCatalogIds_result')
31236
    if self.success is not None:
31237
      oprot.writeFieldBegin('success', TType.LIST, 0)
31238
      oprot.writeListBegin(TType.I64, len(self.success))
18719 kshitij.so 31239
      for iter711 in self.success:
31240
        oprot.writeI64(iter711)
11635 vikram.rag 31241
      oprot.writeListEnd()
31242
      oprot.writeFieldEnd()
31243
    if self.cex is not None:
31244
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
31245
      self.cex.write(oprot)
31246
      oprot.writeFieldEnd()
31247
    oprot.writeFieldStop()
31248
    oprot.writeStructEnd()
31249
 
31250
  def validate(self):
31251
    return
31252
 
31253
 
31254
  def __repr__(self):
31255
    L = ['%s=%r' % (key, value)
31256
      for key, value in self.__dict__.iteritems()]
31257
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31258
 
31259
  def __eq__(self, other):
31260
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31261
 
31262
  def __ne__(self, other):
31263
    return not (self == other)
11645 amit.gupta 31264
 
31265
class getPrivateDealsCount_args:
31266
 
31267
  thrift_spec = (
31268
  )
31269
 
31270
  def read(self, iprot):
31271
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31272
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31273
      return
31274
    iprot.readStructBegin()
31275
    while True:
31276
      (fname, ftype, fid) = iprot.readFieldBegin()
31277
      if ftype == TType.STOP:
31278
        break
31279
      else:
31280
        iprot.skip(ftype)
31281
      iprot.readFieldEnd()
31282
    iprot.readStructEnd()
31283
 
31284
  def write(self, oprot):
31285
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31286
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31287
      return
31288
    oprot.writeStructBegin('getPrivateDealsCount_args')
31289
    oprot.writeFieldStop()
31290
    oprot.writeStructEnd()
31291
 
31292
  def validate(self):
31293
    return
31294
 
31295
 
31296
  def __repr__(self):
31297
    L = ['%s=%r' % (key, value)
31298
      for key, value in self.__dict__.iteritems()]
31299
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31300
 
31301
  def __eq__(self, other):
31302
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31303
 
31304
  def __ne__(self, other):
31305
    return not (self == other)
31306
 
31307
class getPrivateDealsCount_result:
31308
  """
31309
  Attributes:
31310
   - success
31311
  """
31312
 
31313
  thrift_spec = (
31314
    (0, TType.I32, 'success', None, None, ), # 0
31315
  )
31316
 
31317
  def __init__(self, success=None,):
31318
    self.success = success
31319
 
31320
  def read(self, iprot):
31321
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31322
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31323
      return
31324
    iprot.readStructBegin()
31325
    while True:
31326
      (fname, ftype, fid) = iprot.readFieldBegin()
31327
      if ftype == TType.STOP:
31328
        break
31329
      if fid == 0:
31330
        if ftype == TType.I32:
31331
          self.success = iprot.readI32();
31332
        else:
31333
          iprot.skip(ftype)
31334
      else:
31335
        iprot.skip(ftype)
31336
      iprot.readFieldEnd()
31337
    iprot.readStructEnd()
31338
 
31339
  def write(self, oprot):
31340
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31341
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31342
      return
31343
    oprot.writeStructBegin('getPrivateDealsCount_result')
31344
    if self.success is not None:
31345
      oprot.writeFieldBegin('success', TType.I32, 0)
31346
      oprot.writeI32(self.success)
31347
      oprot.writeFieldEnd()
31348
    oprot.writeFieldStop()
31349
    oprot.writeStructEnd()
31350
 
31351
  def validate(self):
31352
    return
31353
 
31354
 
31355
  def __repr__(self):
31356
    L = ['%s=%r' % (key, value)
31357
      for key, value in self.__dict__.iteritems()]
31358
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31359
 
31360
  def __eq__(self, other):
31361
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31362
 
31363
  def __ne__(self, other):
31364
    return not (self == other)
11905 kshitij.so 31365
 
31366
class getAmazonOutSyncItems_args:
31367
  """
31368
  Attributes:
31369
   - item_id
31370
  """
31371
 
31372
  thrift_spec = (
31373
    None, # 0
31374
    (1, TType.I64, 'item_id', None, None, ), # 1
31375
  )
31376
 
31377
  def __init__(self, item_id=None,):
31378
    self.item_id = item_id
31379
 
31380
  def read(self, iprot):
31381
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31382
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31383
      return
31384
    iprot.readStructBegin()
31385
    while True:
31386
      (fname, ftype, fid) = iprot.readFieldBegin()
31387
      if ftype == TType.STOP:
31388
        break
31389
      if fid == 1:
31390
        if ftype == TType.I64:
31391
          self.item_id = iprot.readI64();
31392
        else:
31393
          iprot.skip(ftype)
31394
      else:
31395
        iprot.skip(ftype)
31396
      iprot.readFieldEnd()
31397
    iprot.readStructEnd()
31398
 
31399
  def write(self, oprot):
31400
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31401
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31402
      return
31403
    oprot.writeStructBegin('getAmazonOutSyncItems_args')
31404
    if self.item_id is not None:
31405
      oprot.writeFieldBegin('item_id', TType.I64, 1)
31406
      oprot.writeI64(self.item_id)
31407
      oprot.writeFieldEnd()
31408
    oprot.writeFieldStop()
31409
    oprot.writeStructEnd()
31410
 
31411
  def validate(self):
31412
    return
31413
 
31414
 
31415
  def __repr__(self):
31416
    L = ['%s=%r' % (key, value)
31417
      for key, value in self.__dict__.iteritems()]
31418
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31419
 
31420
  def __eq__(self, other):
31421
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31422
 
31423
  def __ne__(self, other):
31424
    return not (self == other)
31425
 
31426
class getAmazonOutSyncItems_result:
31427
  """
31428
  Attributes:
31429
   - success
31430
  """
31431
 
31432
  thrift_spec = (
31433
    (0, TType.STRUCT, 'success', (AmazonOutOfSync, AmazonOutOfSync.thrift_spec), None, ), # 0
31434
  )
31435
 
31436
  def __init__(self, success=None,):
31437
    self.success = success
31438
 
31439
  def read(self, iprot):
31440
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31441
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31442
      return
31443
    iprot.readStructBegin()
31444
    while True:
31445
      (fname, ftype, fid) = iprot.readFieldBegin()
31446
      if ftype == TType.STOP:
31447
        break
31448
      if fid == 0:
31449
        if ftype == TType.STRUCT:
31450
          self.success = AmazonOutOfSync()
31451
          self.success.read(iprot)
31452
        else:
31453
          iprot.skip(ftype)
31454
      else:
31455
        iprot.skip(ftype)
31456
      iprot.readFieldEnd()
31457
    iprot.readStructEnd()
31458
 
31459
  def write(self, oprot):
31460
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31461
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31462
      return
31463
    oprot.writeStructBegin('getAmazonOutSyncItems_result')
31464
    if self.success is not None:
31465
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
31466
      self.success.write(oprot)
31467
      oprot.writeFieldEnd()
31468
    oprot.writeFieldStop()
31469
    oprot.writeStructEnd()
31470
 
31471
  def validate(self):
31472
    return
31473
 
31474
 
31475
  def __repr__(self):
31476
    L = ['%s=%r' % (key, value)
31477
      for key, value in self.__dict__.iteritems()]
31478
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31479
 
31480
  def __eq__(self, other):
31481
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31482
 
31483
  def __ne__(self, other):
31484
    return not (self == other)
31485
 
31486
class getAllPrivateDealsComparison_args:
31487
 
31488
  thrift_spec = (
31489
  )
31490
 
31491
  def read(self, iprot):
31492
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31493
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31494
      return
31495
    iprot.readStructBegin()
31496
    while True:
31497
      (fname, ftype, fid) = iprot.readFieldBegin()
31498
      if ftype == TType.STOP:
31499
        break
31500
      else:
31501
        iprot.skip(ftype)
31502
      iprot.readFieldEnd()
31503
    iprot.readStructEnd()
31504
 
31505
  def write(self, oprot):
31506
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31507
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31508
      return
31509
    oprot.writeStructBegin('getAllPrivateDealsComparison_args')
31510
    oprot.writeFieldStop()
31511
    oprot.writeStructEnd()
31512
 
31513
  def validate(self):
31514
    return
31515
 
31516
 
31517
  def __repr__(self):
31518
    L = ['%s=%r' % (key, value)
31519
      for key, value in self.__dict__.iteritems()]
31520
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31521
 
31522
  def __eq__(self, other):
31523
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31524
 
31525
  def __ne__(self, other):
31526
    return not (self == other)
31527
 
31528
class getAllPrivateDealsComparison_result:
31529
  """
31530
  Attributes:
31531
   - success
31532
  """
31533
 
31534
  thrift_spec = (
31535
    (0, TType.LIST, 'success', (TType.STRUCT,(PdPriceComp, PdPriceComp.thrift_spec)), None, ), # 0
31536
  )
31537
 
31538
  def __init__(self, success=None,):
31539
    self.success = success
31540
 
31541
  def read(self, iprot):
31542
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31543
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31544
      return
31545
    iprot.readStructBegin()
31546
    while True:
31547
      (fname, ftype, fid) = iprot.readFieldBegin()
31548
      if ftype == TType.STOP:
31549
        break
31550
      if fid == 0:
31551
        if ftype == TType.LIST:
31552
          self.success = []
18719 kshitij.so 31553
          (_etype715, _size712) = iprot.readListBegin()
31554
          for _i716 in xrange(_size712):
31555
            _elem717 = PdPriceComp()
31556
            _elem717.read(iprot)
31557
            self.success.append(_elem717)
11905 kshitij.so 31558
          iprot.readListEnd()
31559
        else:
31560
          iprot.skip(ftype)
31561
      else:
31562
        iprot.skip(ftype)
31563
      iprot.readFieldEnd()
31564
    iprot.readStructEnd()
31565
 
31566
  def write(self, oprot):
31567
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31568
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31569
      return
31570
    oprot.writeStructBegin('getAllPrivateDealsComparison_result')
31571
    if self.success is not None:
31572
      oprot.writeFieldBegin('success', TType.LIST, 0)
31573
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 31574
      for iter718 in self.success:
31575
        iter718.write(oprot)
11905 kshitij.so 31576
      oprot.writeListEnd()
31577
      oprot.writeFieldEnd()
31578
    oprot.writeFieldStop()
31579
    oprot.writeStructEnd()
31580
 
31581
  def validate(self):
31582
    return
31583
 
31584
 
31585
  def __repr__(self):
31586
    L = ['%s=%r' % (key, value)
31587
      for key, value in self.__dict__.iteritems()]
31588
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31589
 
31590
  def __eq__(self, other):
31591
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31592
 
31593
  def __ne__(self, other):
31594
    return not (self == other)
12133 kshitij.so 31595
 
31596
class getAllSnapdealMarketplaceItem_args:
31597
 
31598
  thrift_spec = (
31599
  )
31600
 
31601
  def read(self, iprot):
31602
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31603
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31604
      return
31605
    iprot.readStructBegin()
31606
    while True:
31607
      (fname, ftype, fid) = iprot.readFieldBegin()
31608
      if ftype == TType.STOP:
31609
        break
31610
      else:
31611
        iprot.skip(ftype)
31612
      iprot.readFieldEnd()
31613
    iprot.readStructEnd()
31614
 
31615
  def write(self, oprot):
31616
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31617
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31618
      return
31619
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_args')
31620
    oprot.writeFieldStop()
31621
    oprot.writeStructEnd()
31622
 
31623
  def validate(self):
31624
    return
31625
 
31626
 
31627
  def __repr__(self):
31628
    L = ['%s=%r' % (key, value)
31629
      for key, value in self.__dict__.iteritems()]
31630
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31631
 
31632
  def __eq__(self, other):
31633
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31634
 
31635
  def __ne__(self, other):
31636
    return not (self == other)
31637
 
31638
class getAllSnapdealMarketplaceItem_result:
31639
  """
31640
  Attributes:
31641
   - success
31642
  """
31643
 
31644
  thrift_spec = (
31645
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItem, SnapdealItem.thrift_spec)), None, ), # 0
31646
  )
31647
 
31648
  def __init__(self, success=None,):
31649
    self.success = success
31650
 
31651
  def read(self, iprot):
31652
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31653
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31654
      return
31655
    iprot.readStructBegin()
31656
    while True:
31657
      (fname, ftype, fid) = iprot.readFieldBegin()
31658
      if ftype == TType.STOP:
31659
        break
31660
      if fid == 0:
31661
        if ftype == TType.LIST:
31662
          self.success = []
18719 kshitij.so 31663
          (_etype722, _size719) = iprot.readListBegin()
31664
          for _i723 in xrange(_size719):
31665
            _elem724 = SnapdealItem()
31666
            _elem724.read(iprot)
31667
            self.success.append(_elem724)
12133 kshitij.so 31668
          iprot.readListEnd()
31669
        else:
31670
          iprot.skip(ftype)
31671
      else:
31672
        iprot.skip(ftype)
31673
      iprot.readFieldEnd()
31674
    iprot.readStructEnd()
31675
 
31676
  def write(self, oprot):
31677
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31678
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31679
      return
31680
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_result')
31681
    if self.success is not None:
31682
      oprot.writeFieldBegin('success', TType.LIST, 0)
31683
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 31684
      for iter725 in self.success:
31685
        iter725.write(oprot)
12133 kshitij.so 31686
      oprot.writeListEnd()
31687
      oprot.writeFieldEnd()
31688
    oprot.writeFieldStop()
31689
    oprot.writeStructEnd()
31690
 
31691
  def validate(self):
31692
    return
31693
 
31694
 
31695
  def __repr__(self):
31696
    L = ['%s=%r' % (key, value)
31697
      for key, value in self.__dict__.iteritems()]
31698
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31699
 
31700
  def __eq__(self, other):
31701
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31702
 
31703
  def __ne__(self, other):
31704
    return not (self == other)
31705
 
31706
class getAllFlipkartMarketplaceItem_args:
31707
 
31708
  thrift_spec = (
31709
  )
31710
 
31711
  def read(self, iprot):
31712
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31713
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31714
      return
31715
    iprot.readStructBegin()
31716
    while True:
31717
      (fname, ftype, fid) = iprot.readFieldBegin()
31718
      if ftype == TType.STOP:
31719
        break
31720
      else:
31721
        iprot.skip(ftype)
31722
      iprot.readFieldEnd()
31723
    iprot.readStructEnd()
31724
 
31725
  def write(self, oprot):
31726
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31727
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31728
      return
31729
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_args')
31730
    oprot.writeFieldStop()
31731
    oprot.writeStructEnd()
31732
 
31733
  def validate(self):
31734
    return
31735
 
31736
 
31737
  def __repr__(self):
31738
    L = ['%s=%r' % (key, value)
31739
      for key, value in self.__dict__.iteritems()]
31740
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31741
 
31742
  def __eq__(self, other):
31743
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31744
 
31745
  def __ne__(self, other):
31746
    return not (self == other)
31747
 
31748
class getAllFlipkartMarketplaceItem_result:
31749
  """
31750
  Attributes:
31751
   - success
31752
  """
31753
 
31754
  thrift_spec = (
31755
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
31756
  )
31757
 
31758
  def __init__(self, success=None,):
31759
    self.success = success
31760
 
31761
  def read(self, iprot):
31762
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31763
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31764
      return
31765
    iprot.readStructBegin()
31766
    while True:
31767
      (fname, ftype, fid) = iprot.readFieldBegin()
31768
      if ftype == TType.STOP:
31769
        break
31770
      if fid == 0:
31771
        if ftype == TType.LIST:
31772
          self.success = []
18719 kshitij.so 31773
          (_etype729, _size726) = iprot.readListBegin()
31774
          for _i730 in xrange(_size726):
31775
            _elem731 = FlipkartItem()
31776
            _elem731.read(iprot)
31777
            self.success.append(_elem731)
12133 kshitij.so 31778
          iprot.readListEnd()
31779
        else:
31780
          iprot.skip(ftype)
31781
      else:
31782
        iprot.skip(ftype)
31783
      iprot.readFieldEnd()
31784
    iprot.readStructEnd()
31785
 
31786
  def write(self, oprot):
31787
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31788
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31789
      return
31790
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_result')
31791
    if self.success is not None:
31792
      oprot.writeFieldBegin('success', TType.LIST, 0)
31793
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 31794
      for iter732 in self.success:
31795
        iter732.write(oprot)
12133 kshitij.so 31796
      oprot.writeListEnd()
31797
      oprot.writeFieldEnd()
31798
    oprot.writeFieldStop()
31799
    oprot.writeStructEnd()
31800
 
31801
  def validate(self):
31802
    return
31803
 
31804
 
31805
  def __repr__(self):
31806
    L = ['%s=%r' % (key, value)
31807
      for key, value in self.__dict__.iteritems()]
31808
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31809
 
31810
  def __eq__(self, other):
31811
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31812
 
31813
  def __ne__(self, other):
31814
    return not (self == other)
12243 kshitij.so 31815
 
31816
class addCompetitorScraping_args:
31817
  """
31818
  Attributes:
31819
   - competitorPricingMap
31820
  """
31821
 
31822
  thrift_spec = (
31823
    None, # 0
31824
    (1, TType.MAP, 'competitorPricingMap', (TType.I64,None,TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 1
31825
  )
31826
 
31827
  def __init__(self, competitorPricingMap=None,):
31828
    self.competitorPricingMap = competitorPricingMap
31829
 
31830
  def read(self, iprot):
31831
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31832
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31833
      return
31834
    iprot.readStructBegin()
31835
    while True:
31836
      (fname, ftype, fid) = iprot.readFieldBegin()
31837
      if ftype == TType.STOP:
31838
        break
31839
      if fid == 1:
31840
        if ftype == TType.MAP:
31841
          self.competitorPricingMap = {}
18719 kshitij.so 31842
          (_ktype734, _vtype735, _size733 ) = iprot.readMapBegin() 
31843
          for _i737 in xrange(_size733):
31844
            _key738 = iprot.readI64();
31845
            _val739 = CompetitorPricing()
31846
            _val739.read(iprot)
31847
            self.competitorPricingMap[_key738] = _val739
12243 kshitij.so 31848
          iprot.readMapEnd()
31849
        else:
31850
          iprot.skip(ftype)
31851
      else:
31852
        iprot.skip(ftype)
31853
      iprot.readFieldEnd()
31854
    iprot.readStructEnd()
31855
 
31856
  def write(self, oprot):
31857
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31858
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31859
      return
31860
    oprot.writeStructBegin('addCompetitorScraping_args')
31861
    if self.competitorPricingMap is not None:
31862
      oprot.writeFieldBegin('competitorPricingMap', TType.MAP, 1)
31863
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.competitorPricingMap))
18719 kshitij.so 31864
      for kiter740,viter741 in self.competitorPricingMap.items():
31865
        oprot.writeI64(kiter740)
31866
        viter741.write(oprot)
12243 kshitij.so 31867
      oprot.writeMapEnd()
31868
      oprot.writeFieldEnd()
31869
    oprot.writeFieldStop()
31870
    oprot.writeStructEnd()
31871
 
31872
  def validate(self):
31873
    return
31874
 
31875
 
31876
  def __repr__(self):
31877
    L = ['%s=%r' % (key, value)
31878
      for key, value in self.__dict__.iteritems()]
31879
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31880
 
31881
  def __eq__(self, other):
31882
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31883
 
31884
  def __ne__(self, other):
31885
    return not (self == other)
31886
 
31887
class addCompetitorScraping_result:
31888
 
31889
  thrift_spec = (
31890
  )
31891
 
31892
  def read(self, iprot):
31893
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31894
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31895
      return
31896
    iprot.readStructBegin()
31897
    while True:
31898
      (fname, ftype, fid) = iprot.readFieldBegin()
31899
      if ftype == TType.STOP:
31900
        break
31901
      else:
31902
        iprot.skip(ftype)
31903
      iprot.readFieldEnd()
31904
    iprot.readStructEnd()
31905
 
31906
  def write(self, oprot):
31907
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31908
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31909
      return
31910
    oprot.writeStructBegin('addCompetitorScraping_result')
31911
    oprot.writeFieldStop()
31912
    oprot.writeStructEnd()
31913
 
31914
  def validate(self):
31915
    return
31916
 
31917
 
31918
  def __repr__(self):
31919
    L = ['%s=%r' % (key, value)
31920
      for key, value in self.__dict__.iteritems()]
31921
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31922
 
31923
  def __eq__(self, other):
31924
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31925
 
31926
  def __ne__(self, other):
31927
    return not (self == other)
31928
 
31929
class getPreviousCompetitorScraping_args:
31930
  """
31931
  Attributes:
31932
   - delta
31933
  """
31934
 
31935
  thrift_spec = (
31936
    None, # 0
31937
    (1, TType.I64, 'delta', None, None, ), # 1
31938
  )
31939
 
31940
  def __init__(self, delta=None,):
31941
    self.delta = delta
31942
 
31943
  def read(self, iprot):
31944
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31945
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31946
      return
31947
    iprot.readStructBegin()
31948
    while True:
31949
      (fname, ftype, fid) = iprot.readFieldBegin()
31950
      if ftype == TType.STOP:
31951
        break
31952
      if fid == 1:
31953
        if ftype == TType.I64:
31954
          self.delta = iprot.readI64();
31955
        else:
31956
          iprot.skip(ftype)
31957
      else:
31958
        iprot.skip(ftype)
31959
      iprot.readFieldEnd()
31960
    iprot.readStructEnd()
31961
 
31962
  def write(self, oprot):
31963
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31964
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31965
      return
31966
    oprot.writeStructBegin('getPreviousCompetitorScraping_args')
31967
    if self.delta is not None:
31968
      oprot.writeFieldBegin('delta', TType.I64, 1)
31969
      oprot.writeI64(self.delta)
31970
      oprot.writeFieldEnd()
31971
    oprot.writeFieldStop()
31972
    oprot.writeStructEnd()
31973
 
31974
  def validate(self):
31975
    return
31976
 
31977
 
31978
  def __repr__(self):
31979
    L = ['%s=%r' % (key, value)
31980
      for key, value in self.__dict__.iteritems()]
31981
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31982
 
31983
  def __eq__(self, other):
31984
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31985
 
31986
  def __ne__(self, other):
31987
    return not (self == other)
31988
 
31989
class getPreviousCompetitorScraping_result:
31990
  """
31991
  Attributes:
31992
   - success
31993
  """
31994
 
31995
  thrift_spec = (
31996
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
31997
  )
31998
 
31999
  def __init__(self, success=None,):
32000
    self.success = success
32001
 
32002
  def read(self, iprot):
32003
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32004
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32005
      return
32006
    iprot.readStructBegin()
32007
    while True:
32008
      (fname, ftype, fid) = iprot.readFieldBegin()
32009
      if ftype == TType.STOP:
32010
        break
32011
      if fid == 0:
32012
        if ftype == TType.LIST:
32013
          self.success = []
18719 kshitij.so 32014
          (_etype745, _size742) = iprot.readListBegin()
32015
          for _i746 in xrange(_size742):
32016
            _elem747 = CompetitorPricing()
32017
            _elem747.read(iprot)
32018
            self.success.append(_elem747)
12243 kshitij.so 32019
          iprot.readListEnd()
32020
        else:
32021
          iprot.skip(ftype)
32022
      else:
32023
        iprot.skip(ftype)
32024
      iprot.readFieldEnd()
32025
    iprot.readStructEnd()
32026
 
32027
  def write(self, oprot):
32028
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32029
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32030
      return
32031
    oprot.writeStructBegin('getPreviousCompetitorScraping_result')
32032
    if self.success is not None:
32033
      oprot.writeFieldBegin('success', TType.LIST, 0)
32034
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 32035
      for iter748 in self.success:
32036
        iter748.write(oprot)
12243 kshitij.so 32037
      oprot.writeListEnd()
32038
      oprot.writeFieldEnd()
32039
    oprot.writeFieldStop()
32040
    oprot.writeStructEnd()
32041
 
32042
  def validate(self):
32043
    return
32044
 
32045
 
32046
  def __repr__(self):
32047
    L = ['%s=%r' % (key, value)
32048
      for key, value in self.__dict__.iteritems()]
32049
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32050
 
32051
  def __eq__(self, other):
32052
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32053
 
32054
  def __ne__(self, other):
32055
    return not (self == other)
12256 kshitij.so 32056
 
32057
class getUploadResultById_args:
32058
  """
32059
  Attributes:
32060
   - uploadId
32061
  """
32062
 
32063
  thrift_spec = (
32064
    None, # 0
32065
    (1, TType.I64, 'uploadId', None, None, ), # 1
32066
  )
32067
 
32068
  def __init__(self, uploadId=None,):
32069
    self.uploadId = uploadId
32070
 
32071
  def read(self, iprot):
32072
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32073
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32074
      return
32075
    iprot.readStructBegin()
32076
    while True:
32077
      (fname, ftype, fid) = iprot.readFieldBegin()
32078
      if ftype == TType.STOP:
32079
        break
32080
      if fid == 1:
32081
        if ftype == TType.I64:
32082
          self.uploadId = iprot.readI64();
32083
        else:
32084
          iprot.skip(ftype)
32085
      else:
32086
        iprot.skip(ftype)
32087
      iprot.readFieldEnd()
32088
    iprot.readStructEnd()
32089
 
32090
  def write(self, oprot):
32091
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32092
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32093
      return
32094
    oprot.writeStructBegin('getUploadResultById_args')
32095
    if self.uploadId is not None:
32096
      oprot.writeFieldBegin('uploadId', TType.I64, 1)
32097
      oprot.writeI64(self.uploadId)
32098
      oprot.writeFieldEnd()
32099
    oprot.writeFieldStop()
32100
    oprot.writeStructEnd()
32101
 
32102
  def validate(self):
32103
    return
32104
 
32105
 
32106
  def __repr__(self):
32107
    L = ['%s=%r' % (key, value)
32108
      for key, value in self.__dict__.iteritems()]
32109
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32110
 
32111
  def __eq__(self, other):
32112
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32113
 
32114
  def __ne__(self, other):
32115
    return not (self == other)
32116
 
32117
class getUploadResultById_result:
32118
  """
32119
  Attributes:
32120
   - success
32121
  """
32122
 
32123
  thrift_spec = (
32124
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
32125
  )
32126
 
32127
  def __init__(self, success=None,):
32128
    self.success = success
32129
 
32130
  def read(self, iprot):
32131
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32132
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32133
      return
32134
    iprot.readStructBegin()
32135
    while True:
32136
      (fname, ftype, fid) = iprot.readFieldBegin()
32137
      if ftype == TType.STOP:
32138
        break
32139
      if fid == 0:
32140
        if ftype == TType.LIST:
32141
          self.success = []
18719 kshitij.so 32142
          (_etype752, _size749) = iprot.readListBegin()
32143
          for _i753 in xrange(_size749):
32144
            _elem754 = CompetitorPricing()
32145
            _elem754.read(iprot)
32146
            self.success.append(_elem754)
12256 kshitij.so 32147
          iprot.readListEnd()
32148
        else:
32149
          iprot.skip(ftype)
32150
      else:
32151
        iprot.skip(ftype)
32152
      iprot.readFieldEnd()
32153
    iprot.readStructEnd()
32154
 
32155
  def write(self, oprot):
32156
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32157
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32158
      return
32159
    oprot.writeStructBegin('getUploadResultById_result')
32160
    if self.success is not None:
32161
      oprot.writeFieldBegin('success', TType.LIST, 0)
32162
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 32163
      for iter755 in self.success:
32164
        iter755.write(oprot)
12256 kshitij.so 32165
      oprot.writeListEnd()
32166
      oprot.writeFieldEnd()
32167
    oprot.writeFieldStop()
32168
    oprot.writeStructEnd()
32169
 
32170
  def validate(self):
32171
    return
32172
 
32173
 
32174
  def __repr__(self):
32175
    L = ['%s=%r' % (key, value)
32176
      for key, value in self.__dict__.iteritems()]
32177
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32178
 
32179
  def __eq__(self, other):
32180
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32181
 
32182
  def __ne__(self, other):
32183
    return not (self == other)
12363 kshitij.so 32184
 
32185
class addAmazonPromotion_args:
32186
  """
32187
  Attributes:
32188
   - amazonPromotions
32189
  """
32190
 
32191
  thrift_spec = (
32192
    None, # 0
32193
    (1, TType.MAP, 'amazonPromotions', (TType.STRING,None,TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
32194
  )
32195
 
32196
  def __init__(self, amazonPromotions=None,):
32197
    self.amazonPromotions = amazonPromotions
32198
 
32199
  def read(self, iprot):
32200
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32201
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32202
      return
32203
    iprot.readStructBegin()
32204
    while True:
32205
      (fname, ftype, fid) = iprot.readFieldBegin()
32206
      if ftype == TType.STOP:
32207
        break
32208
      if fid == 1:
32209
        if ftype == TType.MAP:
32210
          self.amazonPromotions = {}
18719 kshitij.so 32211
          (_ktype757, _vtype758, _size756 ) = iprot.readMapBegin() 
32212
          for _i760 in xrange(_size756):
32213
            _key761 = iprot.readString();
32214
            _val762 = AmazonPromotion()
32215
            _val762.read(iprot)
32216
            self.amazonPromotions[_key761] = _val762
12363 kshitij.so 32217
          iprot.readMapEnd()
32218
        else:
32219
          iprot.skip(ftype)
32220
      else:
32221
        iprot.skip(ftype)
32222
      iprot.readFieldEnd()
32223
    iprot.readStructEnd()
32224
 
32225
  def write(self, oprot):
32226
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32227
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32228
      return
32229
    oprot.writeStructBegin('addAmazonPromotion_args')
32230
    if self.amazonPromotions is not None:
32231
      oprot.writeFieldBegin('amazonPromotions', TType.MAP, 1)
32232
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.amazonPromotions))
18719 kshitij.so 32233
      for kiter763,viter764 in self.amazonPromotions.items():
32234
        oprot.writeString(kiter763)
32235
        viter764.write(oprot)
12363 kshitij.so 32236
      oprot.writeMapEnd()
32237
      oprot.writeFieldEnd()
32238
    oprot.writeFieldStop()
32239
    oprot.writeStructEnd()
32240
 
32241
  def validate(self):
32242
    return
32243
 
32244
 
32245
  def __repr__(self):
32246
    L = ['%s=%r' % (key, value)
32247
      for key, value in self.__dict__.iteritems()]
32248
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32249
 
32250
  def __eq__(self, other):
32251
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32252
 
32253
  def __ne__(self, other):
32254
    return not (self == other)
32255
 
32256
class addAmazonPromotion_result:
32257
  """
32258
  Attributes:
32259
   - success
12947 kshitij.so 32260
   - cex
12363 kshitij.so 32261
  """
32262
 
32263
  thrift_spec = (
12947 kshitij.so 32264
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
32265
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12363 kshitij.so 32266
  )
32267
 
12947 kshitij.so 32268
  def __init__(self, success=None, cex=None,):
12363 kshitij.so 32269
    self.success = success
12947 kshitij.so 32270
    self.cex = cex
12363 kshitij.so 32271
 
32272
  def read(self, iprot):
32273
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32274
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32275
      return
32276
    iprot.readStructBegin()
32277
    while True:
32278
      (fname, ftype, fid) = iprot.readFieldBegin()
32279
      if ftype == TType.STOP:
32280
        break
32281
      if fid == 0:
12947 kshitij.so 32282
        if ftype == TType.LIST:
32283
          self.success = []
18719 kshitij.so 32284
          (_etype768, _size765) = iprot.readListBegin()
32285
          for _i769 in xrange(_size765):
32286
            _elem770 = iprot.readString();
32287
            self.success.append(_elem770)
12947 kshitij.so 32288
          iprot.readListEnd()
12363 kshitij.so 32289
        else:
32290
          iprot.skip(ftype)
12947 kshitij.so 32291
      elif fid == 1:
32292
        if ftype == TType.STRUCT:
32293
          self.cex = CatalogServiceException()
32294
          self.cex.read(iprot)
32295
        else:
32296
          iprot.skip(ftype)
12363 kshitij.so 32297
      else:
32298
        iprot.skip(ftype)
32299
      iprot.readFieldEnd()
32300
    iprot.readStructEnd()
32301
 
32302
  def write(self, oprot):
32303
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32304
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32305
      return
32306
    oprot.writeStructBegin('addAmazonPromotion_result')
32307
    if self.success is not None:
12947 kshitij.so 32308
      oprot.writeFieldBegin('success', TType.LIST, 0)
32309
      oprot.writeListBegin(TType.STRING, len(self.success))
18719 kshitij.so 32310
      for iter771 in self.success:
32311
        oprot.writeString(iter771)
12947 kshitij.so 32312
      oprot.writeListEnd()
12363 kshitij.so 32313
      oprot.writeFieldEnd()
12947 kshitij.so 32314
    if self.cex is not None:
32315
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
32316
      self.cex.write(oprot)
32317
      oprot.writeFieldEnd()
12363 kshitij.so 32318
    oprot.writeFieldStop()
32319
    oprot.writeStructEnd()
32320
 
32321
  def validate(self):
32322
    return
32323
 
32324
 
32325
  def __repr__(self):
32326
    L = ['%s=%r' % (key, value)
32327
      for key, value in self.__dict__.iteritems()]
32328
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32329
 
32330
  def __eq__(self, other):
32331
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32332
 
32333
  def __ne__(self, other):
32334
    return not (self == other)
32335
 
32336
class getAmazonPromotion_args:
32337
  """
32338
  Attributes:
32339
   - startDate
32340
   - endDate
32341
  """
32342
 
32343
  thrift_spec = (
32344
    None, # 0
32345
    (1, TType.I64, 'startDate', None, None, ), # 1
32346
    (2, TType.I64, 'endDate', None, None, ), # 2
32347
  )
32348
 
32349
  def __init__(self, startDate=None, endDate=None,):
32350
    self.startDate = startDate
32351
    self.endDate = endDate
32352
 
32353
  def read(self, iprot):
32354
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32355
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32356
      return
32357
    iprot.readStructBegin()
32358
    while True:
32359
      (fname, ftype, fid) = iprot.readFieldBegin()
32360
      if ftype == TType.STOP:
32361
        break
32362
      if fid == 1:
32363
        if ftype == TType.I64:
32364
          self.startDate = iprot.readI64();
32365
        else:
32366
          iprot.skip(ftype)
32367
      elif fid == 2:
32368
        if ftype == TType.I64:
32369
          self.endDate = iprot.readI64();
32370
        else:
32371
          iprot.skip(ftype)
32372
      else:
32373
        iprot.skip(ftype)
32374
      iprot.readFieldEnd()
32375
    iprot.readStructEnd()
32376
 
32377
  def write(self, oprot):
32378
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32379
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32380
      return
32381
    oprot.writeStructBegin('getAmazonPromotion_args')
32382
    if self.startDate is not None:
32383
      oprot.writeFieldBegin('startDate', TType.I64, 1)
32384
      oprot.writeI64(self.startDate)
32385
      oprot.writeFieldEnd()
32386
    if self.endDate is not None:
32387
      oprot.writeFieldBegin('endDate', TType.I64, 2)
32388
      oprot.writeI64(self.endDate)
32389
      oprot.writeFieldEnd()
32390
    oprot.writeFieldStop()
32391
    oprot.writeStructEnd()
32392
 
32393
  def validate(self):
32394
    return
32395
 
32396
 
32397
  def __repr__(self):
32398
    L = ['%s=%r' % (key, value)
32399
      for key, value in self.__dict__.iteritems()]
32400
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32401
 
32402
  def __eq__(self, other):
32403
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32404
 
32405
  def __ne__(self, other):
32406
    return not (self == other)
32407
 
32408
class getAmazonPromotion_result:
32409
  """
32410
  Attributes:
32411
   - success
32412
  """
32413
 
32414
  thrift_spec = (
32415
    (0, TType.LIST, 'success', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 0
32416
  )
32417
 
32418
  def __init__(self, success=None,):
32419
    self.success = success
32420
 
32421
  def read(self, iprot):
32422
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32423
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32424
      return
32425
    iprot.readStructBegin()
32426
    while True:
32427
      (fname, ftype, fid) = iprot.readFieldBegin()
32428
      if ftype == TType.STOP:
32429
        break
32430
      if fid == 0:
32431
        if ftype == TType.LIST:
32432
          self.success = []
18719 kshitij.so 32433
          (_etype775, _size772) = iprot.readListBegin()
32434
          for _i776 in xrange(_size772):
32435
            _elem777 = AmazonPromotion()
32436
            _elem777.read(iprot)
32437
            self.success.append(_elem777)
12363 kshitij.so 32438
          iprot.readListEnd()
32439
        else:
32440
          iprot.skip(ftype)
32441
      else:
32442
        iprot.skip(ftype)
32443
      iprot.readFieldEnd()
32444
    iprot.readStructEnd()
32445
 
32446
  def write(self, oprot):
32447
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32448
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32449
      return
32450
    oprot.writeStructBegin('getAmazonPromotion_result')
32451
    if self.success is not None:
32452
      oprot.writeFieldBegin('success', TType.LIST, 0)
32453
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 32454
      for iter778 in self.success:
32455
        iter778.write(oprot)
12363 kshitij.so 32456
      oprot.writeListEnd()
32457
      oprot.writeFieldEnd()
32458
    oprot.writeFieldStop()
32459
    oprot.writeStructEnd()
32460
 
32461
  def validate(self):
32462
    return
32463
 
32464
 
32465
  def __repr__(self):
32466
    L = ['%s=%r' % (key, value)
32467
      for key, value in self.__dict__.iteritems()]
32468
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32469
 
32470
  def __eq__(self, other):
32471
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32472
 
32473
  def __ne__(self, other):
32474
    return not (self == other)
32475
 
32476
class updateAmazonPromotion_args:
32477
  """
32478
  Attributes:
32479
   - amazonPromotions
32480
  """
32481
 
32482
  thrift_spec = (
32483
    None, # 0
32484
    (1, TType.LIST, 'amazonPromotions', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
32485
  )
32486
 
32487
  def __init__(self, amazonPromotions=None,):
32488
    self.amazonPromotions = amazonPromotions
32489
 
32490
  def read(self, iprot):
32491
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32492
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32493
      return
32494
    iprot.readStructBegin()
32495
    while True:
32496
      (fname, ftype, fid) = iprot.readFieldBegin()
32497
      if ftype == TType.STOP:
32498
        break
32499
      if fid == 1:
32500
        if ftype == TType.LIST:
32501
          self.amazonPromotions = []
18719 kshitij.so 32502
          (_etype782, _size779) = iprot.readListBegin()
32503
          for _i783 in xrange(_size779):
32504
            _elem784 = AmazonPromotion()
32505
            _elem784.read(iprot)
32506
            self.amazonPromotions.append(_elem784)
12363 kshitij.so 32507
          iprot.readListEnd()
32508
        else:
32509
          iprot.skip(ftype)
32510
      else:
32511
        iprot.skip(ftype)
32512
      iprot.readFieldEnd()
32513
    iprot.readStructEnd()
32514
 
32515
  def write(self, oprot):
32516
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32517
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32518
      return
32519
    oprot.writeStructBegin('updateAmazonPromotion_args')
32520
    if self.amazonPromotions is not None:
32521
      oprot.writeFieldBegin('amazonPromotions', TType.LIST, 1)
32522
      oprot.writeListBegin(TType.STRUCT, len(self.amazonPromotions))
18719 kshitij.so 32523
      for iter785 in self.amazonPromotions:
32524
        iter785.write(oprot)
12363 kshitij.so 32525
      oprot.writeListEnd()
32526
      oprot.writeFieldEnd()
32527
    oprot.writeFieldStop()
32528
    oprot.writeStructEnd()
32529
 
32530
  def validate(self):
32531
    return
32532
 
32533
 
32534
  def __repr__(self):
32535
    L = ['%s=%r' % (key, value)
32536
      for key, value in self.__dict__.iteritems()]
32537
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32538
 
32539
  def __eq__(self, other):
32540
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32541
 
32542
  def __ne__(self, other):
32543
    return not (self == other)
32544
 
32545
class updateAmazonPromotion_result:
32546
  """
32547
  Attributes:
32548
   - success
32549
  """
32550
 
32551
  thrift_spec = (
32552
    (0, TType.BOOL, 'success', None, None, ), # 0
32553
  )
32554
 
32555
  def __init__(self, success=None,):
32556
    self.success = success
32557
 
32558
  def read(self, iprot):
32559
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32560
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32561
      return
32562
    iprot.readStructBegin()
32563
    while True:
32564
      (fname, ftype, fid) = iprot.readFieldBegin()
32565
      if ftype == TType.STOP:
32566
        break
32567
      if fid == 0:
32568
        if ftype == TType.BOOL:
32569
          self.success = iprot.readBool();
32570
        else:
32571
          iprot.skip(ftype)
32572
      else:
32573
        iprot.skip(ftype)
32574
      iprot.readFieldEnd()
32575
    iprot.readStructEnd()
32576
 
32577
  def write(self, oprot):
32578
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32579
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32580
      return
32581
    oprot.writeStructBegin('updateAmazonPromotion_result')
32582
    if self.success is not None:
32583
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32584
      oprot.writeBool(self.success)
32585
      oprot.writeFieldEnd()
32586
    oprot.writeFieldStop()
32587
    oprot.writeStructEnd()
32588
 
32589
  def validate(self):
32590
    return
32591
 
32592
 
32593
  def __repr__(self):
32594
    L = ['%s=%r' % (key, value)
32595
      for key, value in self.__dict__.iteritems()]
32596
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32597
 
32598
  def __eq__(self, other):
32599
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32600
 
32601
  def __ne__(self, other):
32602
    return not (self == other)
12567 amit.gupta 32603
 
32604
class markPartiallyActive_args:
32605
  """
32606
  Attributes:
32607
   - itemId
32608
   - categoryId
32609
  """
32610
 
32611
  thrift_spec = (
32612
    None, # 0
32613
    (1, TType.I64, 'itemId', None, None, ), # 1
32614
    (2, TType.I64, 'categoryId', None, None, ), # 2
32615
  )
32616
 
32617
  def __init__(self, itemId=None, categoryId=None,):
32618
    self.itemId = itemId
32619
    self.categoryId = categoryId
32620
 
32621
  def read(self, iprot):
32622
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32623
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32624
      return
32625
    iprot.readStructBegin()
32626
    while True:
32627
      (fname, ftype, fid) = iprot.readFieldBegin()
32628
      if ftype == TType.STOP:
32629
        break
32630
      if fid == 1:
32631
        if ftype == TType.I64:
32632
          self.itemId = iprot.readI64();
32633
        else:
32634
          iprot.skip(ftype)
32635
      elif fid == 2:
32636
        if ftype == TType.I64:
32637
          self.categoryId = iprot.readI64();
32638
        else:
32639
          iprot.skip(ftype)
32640
      else:
32641
        iprot.skip(ftype)
32642
      iprot.readFieldEnd()
32643
    iprot.readStructEnd()
32644
 
32645
  def write(self, oprot):
32646
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32647
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32648
      return
32649
    oprot.writeStructBegin('markPartiallyActive_args')
32650
    if self.itemId is not None:
32651
      oprot.writeFieldBegin('itemId', TType.I64, 1)
32652
      oprot.writeI64(self.itemId)
32653
      oprot.writeFieldEnd()
32654
    if self.categoryId is not None:
32655
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
32656
      oprot.writeI64(self.categoryId)
32657
      oprot.writeFieldEnd()
32658
    oprot.writeFieldStop()
32659
    oprot.writeStructEnd()
32660
 
32661
  def validate(self):
32662
    return
32663
 
32664
 
32665
  def __repr__(self):
32666
    L = ['%s=%r' % (key, value)
32667
      for key, value in self.__dict__.iteritems()]
32668
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32669
 
32670
  def __eq__(self, other):
32671
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32672
 
32673
  def __ne__(self, other):
32674
    return not (self == other)
32675
 
32676
class markPartiallyActive_result:
32677
  """
32678
  Attributes:
32679
   - success
32680
  """
32681
 
32682
  thrift_spec = (
32683
    (0, TType.BOOL, 'success', None, None, ), # 0
32684
  )
32685
 
32686
  def __init__(self, success=None,):
32687
    self.success = success
32688
 
32689
  def read(self, iprot):
32690
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32691
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32692
      return
32693
    iprot.readStructBegin()
32694
    while True:
32695
      (fname, ftype, fid) = iprot.readFieldBegin()
32696
      if ftype == TType.STOP:
32697
        break
32698
      if fid == 0:
32699
        if ftype == TType.BOOL:
32700
          self.success = iprot.readBool();
32701
        else:
32702
          iprot.skip(ftype)
32703
      else:
32704
        iprot.skip(ftype)
32705
      iprot.readFieldEnd()
32706
    iprot.readStructEnd()
32707
 
32708
  def write(self, oprot):
32709
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32710
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32711
      return
32712
    oprot.writeStructBegin('markPartiallyActive_result')
32713
    if self.success is not None:
32714
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32715
      oprot.writeBool(self.success)
32716
      oprot.writeFieldEnd()
32717
    oprot.writeFieldStop()
32718
    oprot.writeStructEnd()
32719
 
32720
  def validate(self):
32721
    return
32722
 
32723
 
32724
  def __repr__(self):
32725
    L = ['%s=%r' % (key, value)
32726
      for key, value in self.__dict__.iteritems()]
32727
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32728
 
32729
  def __eq__(self, other):
32730
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32731
 
32732
  def __ne__(self, other):
32733
    return not (self == other)
32734
 
32735
class updateItemStateVat_args:
32736
  """
32737
  Attributes:
32738
   - itemId
32739
   - statevat
32740
  """
32741
 
32742
  thrift_spec = (
32743
    None, # 0
32744
    (1, TType.I64, 'itemId', None, None, ), # 1
32745
    (2, TType.MAP, 'statevat', (TType.I64,None,TType.DOUBLE,None), None, ), # 2
32746
  )
32747
 
32748
  def __init__(self, itemId=None, statevat=None,):
32749
    self.itemId = itemId
32750
    self.statevat = statevat
32751
 
32752
  def read(self, iprot):
32753
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32754
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32755
      return
32756
    iprot.readStructBegin()
32757
    while True:
32758
      (fname, ftype, fid) = iprot.readFieldBegin()
32759
      if ftype == TType.STOP:
32760
        break
32761
      if fid == 1:
32762
        if ftype == TType.I64:
32763
          self.itemId = iprot.readI64();
32764
        else:
32765
          iprot.skip(ftype)
32766
      elif fid == 2:
32767
        if ftype == TType.MAP:
32768
          self.statevat = {}
18719 kshitij.so 32769
          (_ktype787, _vtype788, _size786 ) = iprot.readMapBegin() 
32770
          for _i790 in xrange(_size786):
32771
            _key791 = iprot.readI64();
32772
            _val792 = iprot.readDouble();
32773
            self.statevat[_key791] = _val792
12567 amit.gupta 32774
          iprot.readMapEnd()
32775
        else:
32776
          iprot.skip(ftype)
32777
      else:
32778
        iprot.skip(ftype)
32779
      iprot.readFieldEnd()
32780
    iprot.readStructEnd()
32781
 
32782
  def write(self, oprot):
32783
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32784
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32785
      return
32786
    oprot.writeStructBegin('updateItemStateVat_args')
32787
    if self.itemId is not None:
32788
      oprot.writeFieldBegin('itemId', TType.I64, 1)
32789
      oprot.writeI64(self.itemId)
32790
      oprot.writeFieldEnd()
32791
    if self.statevat is not None:
32792
      oprot.writeFieldBegin('statevat', TType.MAP, 2)
32793
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.statevat))
18719 kshitij.so 32794
      for kiter793,viter794 in self.statevat.items():
32795
        oprot.writeI64(kiter793)
32796
        oprot.writeDouble(viter794)
12567 amit.gupta 32797
      oprot.writeMapEnd()
32798
      oprot.writeFieldEnd()
32799
    oprot.writeFieldStop()
32800
    oprot.writeStructEnd()
32801
 
32802
  def validate(self):
32803
    return
32804
 
32805
 
32806
  def __repr__(self):
32807
    L = ['%s=%r' % (key, value)
32808
      for key, value in self.__dict__.iteritems()]
32809
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32810
 
32811
  def __eq__(self, other):
32812
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32813
 
32814
  def __ne__(self, other):
32815
    return not (self == other)
32816
 
32817
class updateItemStateVat_result:
32818
  """
32819
  Attributes:
32820
   - success
32821
  """
32822
 
32823
  thrift_spec = (
32824
    (0, TType.BOOL, 'success', None, None, ), # 0
32825
  )
32826
 
32827
  def __init__(self, success=None,):
32828
    self.success = success
32829
 
32830
  def read(self, iprot):
32831
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32832
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32833
      return
32834
    iprot.readStructBegin()
32835
    while True:
32836
      (fname, ftype, fid) = iprot.readFieldBegin()
32837
      if ftype == TType.STOP:
32838
        break
32839
      if fid == 0:
32840
        if ftype == TType.BOOL:
32841
          self.success = iprot.readBool();
32842
        else:
32843
          iprot.skip(ftype)
32844
      else:
32845
        iprot.skip(ftype)
32846
      iprot.readFieldEnd()
32847
    iprot.readStructEnd()
32848
 
32849
  def write(self, oprot):
32850
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32851
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32852
      return
32853
    oprot.writeStructBegin('updateItemStateVat_result')
32854
    if self.success is not None:
32855
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32856
      oprot.writeBool(self.success)
32857
      oprot.writeFieldEnd()
32858
    oprot.writeFieldStop()
32859
    oprot.writeStructEnd()
32860
 
32861
  def validate(self):
32862
    return
32863
 
32864
 
32865
  def __repr__(self):
32866
    L = ['%s=%r' % (key, value)
32867
      for key, value in self.__dict__.iteritems()]
32868
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32869
 
32870
  def __eq__(self, other):
32871
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32872
 
32873
  def __ne__(self, other):
32874
    return not (self == other)
12620 amit.gupta 32875
 
32876
class getExAffiliateItemInfo_args:
32877
 
32878
  thrift_spec = (
32879
  )
32880
 
32881
  def read(self, iprot):
32882
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32883
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32884
      return
32885
    iprot.readStructBegin()
32886
    while True:
32887
      (fname, ftype, fid) = iprot.readFieldBegin()
32888
      if ftype == TType.STOP:
32889
        break
32890
      else:
32891
        iprot.skip(ftype)
32892
      iprot.readFieldEnd()
32893
    iprot.readStructEnd()
32894
 
32895
  def write(self, oprot):
32896
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32897
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32898
      return
32899
    oprot.writeStructBegin('getExAffiliateItemInfo_args')
32900
    oprot.writeFieldStop()
32901
    oprot.writeStructEnd()
32902
 
32903
  def validate(self):
32904
    return
32905
 
32906
 
32907
  def __repr__(self):
32908
    L = ['%s=%r' % (key, value)
32909
      for key, value in self.__dict__.iteritems()]
32910
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32911
 
32912
  def __eq__(self, other):
32913
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32914
 
32915
  def __ne__(self, other):
32916
    return not (self == other)
32917
 
32918
class getExAffiliateItemInfo_result:
32919
  """
32920
  Attributes:
32921
   - success
32922
  """
32923
 
32924
  thrift_spec = (
32925
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(ExclusiveAffiliateItemInfo, ExclusiveAffiliateItemInfo.thrift_spec)), None, ), # 0
32926
  )
32927
 
32928
  def __init__(self, success=None,):
32929
    self.success = success
32930
 
32931
  def read(self, iprot):
32932
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32933
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32934
      return
32935
    iprot.readStructBegin()
32936
    while True:
32937
      (fname, ftype, fid) = iprot.readFieldBegin()
32938
      if ftype == TType.STOP:
32939
        break
32940
      if fid == 0:
32941
        if ftype == TType.MAP:
32942
          self.success = {}
18719 kshitij.so 32943
          (_ktype796, _vtype797, _size795 ) = iprot.readMapBegin() 
32944
          for _i799 in xrange(_size795):
32945
            _key800 = iprot.readI64();
32946
            _val801 = ExclusiveAffiliateItemInfo()
32947
            _val801.read(iprot)
32948
            self.success[_key800] = _val801
12620 amit.gupta 32949
          iprot.readMapEnd()
32950
        else:
32951
          iprot.skip(ftype)
32952
      else:
32953
        iprot.skip(ftype)
32954
      iprot.readFieldEnd()
32955
    iprot.readStructEnd()
32956
 
32957
  def write(self, oprot):
32958
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32959
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32960
      return
32961
    oprot.writeStructBegin('getExAffiliateItemInfo_result')
32962
    if self.success is not None:
32963
      oprot.writeFieldBegin('success', TType.MAP, 0)
32964
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
18719 kshitij.so 32965
      for kiter802,viter803 in self.success.items():
32966
        oprot.writeI64(kiter802)
32967
        viter803.write(oprot)
12620 amit.gupta 32968
      oprot.writeMapEnd()
32969
      oprot.writeFieldEnd()
32970
    oprot.writeFieldStop()
32971
    oprot.writeStructEnd()
32972
 
32973
  def validate(self):
32974
    return
32975
 
32976
 
32977
  def __repr__(self):
32978
    L = ['%s=%r' % (key, value)
32979
      for key, value in self.__dict__.iteritems()]
32980
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32981
 
32982
  def __eq__(self, other):
32983
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32984
 
32985
  def __ne__(self, other):
32986
    return not (self == other)
12888 kshitij.so 32987
 
32988
class getAllItemstoListOnFbg_args:
32989
 
32990
  thrift_spec = (
32991
  )
32992
 
32993
  def read(self, iprot):
32994
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32995
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32996
      return
32997
    iprot.readStructBegin()
32998
    while True:
32999
      (fname, ftype, fid) = iprot.readFieldBegin()
33000
      if ftype == TType.STOP:
33001
        break
33002
      else:
33003
        iprot.skip(ftype)
33004
      iprot.readFieldEnd()
33005
    iprot.readStructEnd()
33006
 
33007
  def write(self, oprot):
33008
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33009
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33010
      return
33011
    oprot.writeStructBegin('getAllItemstoListOnFbg_args')
33012
    oprot.writeFieldStop()
33013
    oprot.writeStructEnd()
33014
 
33015
  def validate(self):
33016
    return
33017
 
33018
 
33019
  def __repr__(self):
33020
    L = ['%s=%r' % (key, value)
33021
      for key, value in self.__dict__.iteritems()]
33022
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33023
 
33024
  def __eq__(self, other):
33025
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33026
 
33027
  def __ne__(self, other):
33028
    return not (self == other)
33029
 
33030
class getAllItemstoListOnFbg_result:
33031
  """
33032
  Attributes:
33033
   - success
33034
  """
33035
 
33036
  thrift_spec = (
33037
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
33038
  )
33039
 
33040
  def __init__(self, success=None,):
33041
    self.success = success
33042
 
33043
  def read(self, iprot):
33044
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33045
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33046
      return
33047
    iprot.readStructBegin()
33048
    while True:
33049
      (fname, ftype, fid) = iprot.readFieldBegin()
33050
      if ftype == TType.STOP:
33051
        break
33052
      if fid == 0:
33053
        if ftype == TType.LIST:
33054
          self.success = []
18719 kshitij.so 33055
          (_etype807, _size804) = iprot.readListBegin()
33056
          for _i808 in xrange(_size804):
33057
            _elem809 = Amazonlisted()
33058
            _elem809.read(iprot)
33059
            self.success.append(_elem809)
12888 kshitij.so 33060
          iprot.readListEnd()
33061
        else:
33062
          iprot.skip(ftype)
33063
      else:
33064
        iprot.skip(ftype)
33065
      iprot.readFieldEnd()
33066
    iprot.readStructEnd()
33067
 
33068
  def write(self, oprot):
33069
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33070
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33071
      return
33072
    oprot.writeStructBegin('getAllItemstoListOnFbg_result')
33073
    if self.success is not None:
33074
      oprot.writeFieldBegin('success', TType.LIST, 0)
33075
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 33076
      for iter810 in self.success:
33077
        iter810.write(oprot)
12888 kshitij.so 33078
      oprot.writeListEnd()
33079
      oprot.writeFieldEnd()
33080
    oprot.writeFieldStop()
33081
    oprot.writeStructEnd()
33082
 
33083
  def validate(self):
33084
    return
33085
 
33086
 
33087
  def __repr__(self):
33088
    L = ['%s=%r' % (key, value)
33089
      for key, value in self.__dict__.iteritems()]
33090
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33091
 
33092
  def __eq__(self, other):
33093
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33094
 
33095
  def __ne__(self, other):
33096
    return not (self == other)
12892 kshitij.so 33097
 
33098
class getAllFbgListedItems_args:
33099
 
33100
  thrift_spec = (
33101
  )
33102
 
33103
  def read(self, iprot):
33104
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33105
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33106
      return
33107
    iprot.readStructBegin()
33108
    while True:
33109
      (fname, ftype, fid) = iprot.readFieldBegin()
33110
      if ftype == TType.STOP:
33111
        break
33112
      else:
33113
        iprot.skip(ftype)
33114
      iprot.readFieldEnd()
33115
    iprot.readStructEnd()
33116
 
33117
  def write(self, oprot):
33118
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33119
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33120
      return
33121
    oprot.writeStructBegin('getAllFbgListedItems_args')
33122
    oprot.writeFieldStop()
33123
    oprot.writeStructEnd()
33124
 
33125
  def validate(self):
33126
    return
33127
 
33128
 
33129
  def __repr__(self):
33130
    L = ['%s=%r' % (key, value)
33131
      for key, value in self.__dict__.iteritems()]
33132
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33133
 
33134
  def __eq__(self, other):
33135
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33136
 
33137
  def __ne__(self, other):
33138
    return not (self == other)
33139
 
33140
class getAllFbgListedItems_result:
33141
  """
33142
  Attributes:
33143
   - success
33144
  """
33145
 
33146
  thrift_spec = (
33147
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
33148
  )
33149
 
33150
  def __init__(self, success=None,):
33151
    self.success = success
33152
 
33153
  def read(self, iprot):
33154
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33155
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33156
      return
33157
    iprot.readStructBegin()
33158
    while True:
33159
      (fname, ftype, fid) = iprot.readFieldBegin()
33160
      if ftype == TType.STOP:
33161
        break
33162
      if fid == 0:
33163
        if ftype == TType.LIST:
33164
          self.success = []
18719 kshitij.so 33165
          (_etype814, _size811) = iprot.readListBegin()
33166
          for _i815 in xrange(_size811):
33167
            _elem816 = Amazonlisted()
33168
            _elem816.read(iprot)
33169
            self.success.append(_elem816)
12892 kshitij.so 33170
          iprot.readListEnd()
33171
        else:
33172
          iprot.skip(ftype)
33173
      else:
33174
        iprot.skip(ftype)
33175
      iprot.readFieldEnd()
33176
    iprot.readStructEnd()
33177
 
33178
  def write(self, oprot):
33179
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33180
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33181
      return
33182
    oprot.writeStructBegin('getAllFbgListedItems_result')
33183
    if self.success is not None:
33184
      oprot.writeFieldBegin('success', TType.LIST, 0)
33185
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 33186
      for iter817 in self.success:
33187
        iter817.write(oprot)
12892 kshitij.so 33188
      oprot.writeListEnd()
33189
      oprot.writeFieldEnd()
33190
    oprot.writeFieldStop()
33191
    oprot.writeStructEnd()
33192
 
33193
  def validate(self):
33194
    return
33195
 
33196
 
33197
  def __repr__(self):
33198
    L = ['%s=%r' % (key, value)
33199
      for key, value in self.__dict__.iteritems()]
33200
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33201
 
33202
  def __eq__(self, other):
33203
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33204
 
33205
  def __ne__(self, other):
33206
    return not (self == other)
13136 amit.gupta 33207
 
33208
class checkServices_args:
33209
  """
33210
  Attributes:
33211
   - lines
33212
  """
33213
 
33214
  thrift_spec = (
33215
    None, # 0
33216
    (1, TType.MAP, 'lines', (TType.I64,None,TType.MAP,(TType.STRING,None,TType.I64,None)), None, ), # 1
33217
  )
33218
 
33219
  def __init__(self, lines=None,):
33220
    self.lines = lines
33221
 
33222
  def read(self, iprot):
33223
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33224
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33225
      return
33226
    iprot.readStructBegin()
33227
    while True:
33228
      (fname, ftype, fid) = iprot.readFieldBegin()
33229
      if ftype == TType.STOP:
33230
        break
33231
      if fid == 1:
33232
        if ftype == TType.MAP:
33233
          self.lines = {}
18719 kshitij.so 33234
          (_ktype819, _vtype820, _size818 ) = iprot.readMapBegin() 
33235
          for _i822 in xrange(_size818):
33236
            _key823 = iprot.readI64();
33237
            _val824 = {}
33238
            (_ktype826, _vtype827, _size825 ) = iprot.readMapBegin() 
33239
            for _i829 in xrange(_size825):
33240
              _key830 = iprot.readString();
33241
              _val831 = iprot.readI64();
33242
              _val824[_key830] = _val831
13136 amit.gupta 33243
            iprot.readMapEnd()
18719 kshitij.so 33244
            self.lines[_key823] = _val824
13136 amit.gupta 33245
          iprot.readMapEnd()
33246
        else:
33247
          iprot.skip(ftype)
33248
      else:
33249
        iprot.skip(ftype)
33250
      iprot.readFieldEnd()
33251
    iprot.readStructEnd()
33252
 
33253
  def write(self, oprot):
33254
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33255
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33256
      return
33257
    oprot.writeStructBegin('checkServices_args')
33258
    if self.lines is not None:
33259
      oprot.writeFieldBegin('lines', TType.MAP, 1)
33260
      oprot.writeMapBegin(TType.I64, TType.MAP, len(self.lines))
18719 kshitij.so 33261
      for kiter832,viter833 in self.lines.items():
33262
        oprot.writeI64(kiter832)
33263
        oprot.writeMapBegin(TType.STRING, TType.I64, len(viter833))
33264
        for kiter834,viter835 in viter833.items():
33265
          oprot.writeString(kiter834)
33266
          oprot.writeI64(viter835)
13136 amit.gupta 33267
        oprot.writeMapEnd()
33268
      oprot.writeMapEnd()
33269
      oprot.writeFieldEnd()
33270
    oprot.writeFieldStop()
33271
    oprot.writeStructEnd()
33272
 
33273
  def validate(self):
33274
    return
33275
 
33276
 
33277
  def __repr__(self):
33278
    L = ['%s=%r' % (key, value)
33279
      for key, value in self.__dict__.iteritems()]
33280
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33281
 
33282
  def __eq__(self, other):
33283
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33284
 
33285
  def __ne__(self, other):
33286
    return not (self == other)
33287
 
33288
class checkServices_result:
33289
  """
33290
  Attributes:
33291
   - success
33292
   - cex
33293
  """
33294
 
33295
  thrift_spec = (
33296
    (0, TType.MAP, 'success', (TType.I64,None,TType.MAP,(TType.STRING,None,TType.I64,None)), None, ), # 0
33297
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
33298
  )
33299
 
33300
  def __init__(self, success=None, cex=None,):
33301
    self.success = success
33302
    self.cex = cex
33303
 
33304
  def read(self, iprot):
33305
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33306
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33307
      return
33308
    iprot.readStructBegin()
33309
    while True:
33310
      (fname, ftype, fid) = iprot.readFieldBegin()
33311
      if ftype == TType.STOP:
33312
        break
33313
      if fid == 0:
33314
        if ftype == TType.MAP:
33315
          self.success = {}
18719 kshitij.so 33316
          (_ktype837, _vtype838, _size836 ) = iprot.readMapBegin() 
33317
          for _i840 in xrange(_size836):
33318
            _key841 = iprot.readI64();
33319
            _val842 = {}
33320
            (_ktype844, _vtype845, _size843 ) = iprot.readMapBegin() 
33321
            for _i847 in xrange(_size843):
33322
              _key848 = iprot.readString();
33323
              _val849 = iprot.readI64();
33324
              _val842[_key848] = _val849
13136 amit.gupta 33325
            iprot.readMapEnd()
18719 kshitij.so 33326
            self.success[_key841] = _val842
13136 amit.gupta 33327
          iprot.readMapEnd()
33328
        else:
33329
          iprot.skip(ftype)
33330
      elif fid == 1:
33331
        if ftype == TType.STRUCT:
33332
          self.cex = CatalogServiceException()
33333
          self.cex.read(iprot)
33334
        else:
33335
          iprot.skip(ftype)
33336
      else:
33337
        iprot.skip(ftype)
33338
      iprot.readFieldEnd()
33339
    iprot.readStructEnd()
33340
 
33341
  def write(self, oprot):
33342
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33343
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33344
      return
33345
    oprot.writeStructBegin('checkServices_result')
33346
    if self.success is not None:
33347
      oprot.writeFieldBegin('success', TType.MAP, 0)
33348
      oprot.writeMapBegin(TType.I64, TType.MAP, len(self.success))
18719 kshitij.so 33349
      for kiter850,viter851 in self.success.items():
33350
        oprot.writeI64(kiter850)
33351
        oprot.writeMapBegin(TType.STRING, TType.I64, len(viter851))
33352
        for kiter852,viter853 in viter851.items():
33353
          oprot.writeString(kiter852)
33354
          oprot.writeI64(viter853)
13136 amit.gupta 33355
        oprot.writeMapEnd()
33356
      oprot.writeMapEnd()
33357
      oprot.writeFieldEnd()
33358
    if self.cex is not None:
33359
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
33360
      self.cex.write(oprot)
33361
      oprot.writeFieldEnd()
33362
    oprot.writeFieldStop()
33363
    oprot.writeStructEnd()
33364
 
33365
  def validate(self):
33366
    return
33367
 
33368
 
33369
  def __repr__(self):
33370
    L = ['%s=%r' % (key, value)
33371
      for key, value in self.__dict__.iteritems()]
33372
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33373
 
33374
  def __eq__(self, other):
33375
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33376
 
33377
  def __ne__(self, other):
33378
    return not (self == other)
13709 manish.sha 33379
 
33380
class addHsItem_args:
33381
  """
33382
  Attributes:
33383
   - hsItems
33384
  """
33385
 
33386
  thrift_spec = (
33387
    None, # 0
33388
    (1, TType.LIST, 'hsItems', (TType.STRUCT,(HsItem, HsItem.thrift_spec)), None, ), # 1
33389
  )
33390
 
33391
  def __init__(self, hsItems=None,):
33392
    self.hsItems = hsItems
33393
 
33394
  def read(self, iprot):
33395
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33396
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33397
      return
33398
    iprot.readStructBegin()
33399
    while True:
33400
      (fname, ftype, fid) = iprot.readFieldBegin()
33401
      if ftype == TType.STOP:
33402
        break
33403
      if fid == 1:
33404
        if ftype == TType.LIST:
33405
          self.hsItems = []
18719 kshitij.so 33406
          (_etype857, _size854) = iprot.readListBegin()
33407
          for _i858 in xrange(_size854):
33408
            _elem859 = HsItem()
33409
            _elem859.read(iprot)
33410
            self.hsItems.append(_elem859)
13709 manish.sha 33411
          iprot.readListEnd()
33412
        else:
33413
          iprot.skip(ftype)
33414
      else:
33415
        iprot.skip(ftype)
33416
      iprot.readFieldEnd()
33417
    iprot.readStructEnd()
33418
 
33419
  def write(self, oprot):
33420
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33421
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33422
      return
33423
    oprot.writeStructBegin('addHsItem_args')
33424
    if self.hsItems is not None:
33425
      oprot.writeFieldBegin('hsItems', TType.LIST, 1)
33426
      oprot.writeListBegin(TType.STRUCT, len(self.hsItems))
18719 kshitij.so 33427
      for iter860 in self.hsItems:
33428
        iter860.write(oprot)
13709 manish.sha 33429
      oprot.writeListEnd()
33430
      oprot.writeFieldEnd()
33431
    oprot.writeFieldStop()
33432
    oprot.writeStructEnd()
33433
 
33434
  def validate(self):
33435
    return
33436
 
33437
 
33438
  def __repr__(self):
33439
    L = ['%s=%r' % (key, value)
33440
      for key, value in self.__dict__.iteritems()]
33441
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33442
 
33443
  def __eq__(self, other):
33444
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33445
 
33446
  def __ne__(self, other):
33447
    return not (self == other)
33448
 
33449
class addHsItem_result:
33450
 
33451
  thrift_spec = (
33452
  )
33453
 
33454
  def read(self, iprot):
33455
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33456
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33457
      return
33458
    iprot.readStructBegin()
33459
    while True:
33460
      (fname, ftype, fid) = iprot.readFieldBegin()
33461
      if ftype == TType.STOP:
33462
        break
33463
      else:
33464
        iprot.skip(ftype)
33465
      iprot.readFieldEnd()
33466
    iprot.readStructEnd()
33467
 
33468
  def write(self, oprot):
33469
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33470
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33471
      return
33472
    oprot.writeStructBegin('addHsItem_result')
33473
    oprot.writeFieldStop()
33474
    oprot.writeStructEnd()
33475
 
33476
  def validate(self):
33477
    return
33478
 
33479
 
33480
  def __repr__(self):
33481
    L = ['%s=%r' % (key, value)
33482
      for key, value in self.__dict__.iteritems()]
33483
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33484
 
33485
  def __eq__(self, other):
33486
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33487
 
33488
  def __ne__(self, other):
33489
    return not (self == other)
33490
 
33491
class getHsItem_args:
33492
  """
33493
  Attributes:
33494
   - hsItemId
33495
  """
33496
 
33497
  thrift_spec = (
33498
    None, # 0
33499
    (1, TType.STRING, 'hsItemId', None, None, ), # 1
33500
  )
33501
 
33502
  def __init__(self, hsItemId=None,):
33503
    self.hsItemId = hsItemId
33504
 
33505
  def read(self, iprot):
33506
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33507
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33508
      return
33509
    iprot.readStructBegin()
33510
    while True:
33511
      (fname, ftype, fid) = iprot.readFieldBegin()
33512
      if ftype == TType.STOP:
33513
        break
33514
      if fid == 1:
33515
        if ftype == TType.STRING:
33516
          self.hsItemId = iprot.readString();
33517
        else:
33518
          iprot.skip(ftype)
33519
      else:
33520
        iprot.skip(ftype)
33521
      iprot.readFieldEnd()
33522
    iprot.readStructEnd()
33523
 
33524
  def write(self, oprot):
33525
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33526
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33527
      return
33528
    oprot.writeStructBegin('getHsItem_args')
33529
    if self.hsItemId is not None:
33530
      oprot.writeFieldBegin('hsItemId', TType.STRING, 1)
33531
      oprot.writeString(self.hsItemId)
33532
      oprot.writeFieldEnd()
33533
    oprot.writeFieldStop()
33534
    oprot.writeStructEnd()
33535
 
33536
  def validate(self):
33537
    return
33538
 
33539
 
33540
  def __repr__(self):
33541
    L = ['%s=%r' % (key, value)
33542
      for key, value in self.__dict__.iteritems()]
33543
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33544
 
33545
  def __eq__(self, other):
33546
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33547
 
33548
  def __ne__(self, other):
33549
    return not (self == other)
33550
 
33551
class getHsItem_result:
33552
  """
33553
  Attributes:
33554
   - success
33555
  """
33556
 
33557
  thrift_spec = (
33558
    (0, TType.STRUCT, 'success', (HsItem, HsItem.thrift_spec), None, ), # 0
33559
  )
33560
 
33561
  def __init__(self, success=None,):
33562
    self.success = success
33563
 
33564
  def read(self, iprot):
33565
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33566
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33567
      return
33568
    iprot.readStructBegin()
33569
    while True:
33570
      (fname, ftype, fid) = iprot.readFieldBegin()
33571
      if ftype == TType.STOP:
33572
        break
33573
      if fid == 0:
33574
        if ftype == TType.STRUCT:
33575
          self.success = HsItem()
33576
          self.success.read(iprot)
33577
        else:
33578
          iprot.skip(ftype)
33579
      else:
33580
        iprot.skip(ftype)
33581
      iprot.readFieldEnd()
33582
    iprot.readStructEnd()
33583
 
33584
  def write(self, oprot):
33585
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33586
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33587
      return
33588
    oprot.writeStructBegin('getHsItem_result')
33589
    if self.success is not None:
33590
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
33591
      self.success.write(oprot)
33592
      oprot.writeFieldEnd()
33593
    oprot.writeFieldStop()
33594
    oprot.writeStructEnd()
33595
 
33596
  def validate(self):
33597
    return
33598
 
33599
 
33600
  def __repr__(self):
33601
    L = ['%s=%r' % (key, value)
33602
      for key, value in self.__dict__.iteritems()]
33603
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33604
 
33605
  def __eq__(self, other):
33606
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33607
 
33608
  def __ne__(self, other):
33609
    return not (self == other)
33610
 
33611
class updateHsItem_args:
33612
  """
33613
  Attributes:
33614
   - hsItem
33615
  """
33616
 
33617
  thrift_spec = (
33618
    None, # 0
33619
    (1, TType.STRUCT, 'hsItem', (HsItem, HsItem.thrift_spec), None, ), # 1
33620
  )
33621
 
33622
  def __init__(self, hsItem=None,):
33623
    self.hsItem = hsItem
33624
 
33625
  def read(self, iprot):
33626
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33627
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33628
      return
33629
    iprot.readStructBegin()
33630
    while True:
33631
      (fname, ftype, fid) = iprot.readFieldBegin()
33632
      if ftype == TType.STOP:
33633
        break
33634
      if fid == 1:
33635
        if ftype == TType.STRUCT:
33636
          self.hsItem = HsItem()
33637
          self.hsItem.read(iprot)
33638
        else:
33639
          iprot.skip(ftype)
33640
      else:
33641
        iprot.skip(ftype)
33642
      iprot.readFieldEnd()
33643
    iprot.readStructEnd()
33644
 
33645
  def write(self, oprot):
33646
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33647
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33648
      return
33649
    oprot.writeStructBegin('updateHsItem_args')
33650
    if self.hsItem is not None:
33651
      oprot.writeFieldBegin('hsItem', TType.STRUCT, 1)
33652
      self.hsItem.write(oprot)
33653
      oprot.writeFieldEnd()
33654
    oprot.writeFieldStop()
33655
    oprot.writeStructEnd()
33656
 
33657
  def validate(self):
33658
    return
33659
 
33660
 
33661
  def __repr__(self):
33662
    L = ['%s=%r' % (key, value)
33663
      for key, value in self.__dict__.iteritems()]
33664
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33665
 
33666
  def __eq__(self, other):
33667
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33668
 
33669
  def __ne__(self, other):
33670
    return not (self == other)
33671
 
33672
class updateHsItem_result:
33673
 
33674
  thrift_spec = (
33675
  )
33676
 
33677
  def read(self, iprot):
33678
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33679
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33680
      return
33681
    iprot.readStructBegin()
33682
    while True:
33683
      (fname, ftype, fid) = iprot.readFieldBegin()
33684
      if ftype == TType.STOP:
33685
        break
33686
      else:
33687
        iprot.skip(ftype)
33688
      iprot.readFieldEnd()
33689
    iprot.readStructEnd()
33690
 
33691
  def write(self, oprot):
33692
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33693
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33694
      return
33695
    oprot.writeStructBegin('updateHsItem_result')
33696
    oprot.writeFieldStop()
33697
    oprot.writeStructEnd()
33698
 
33699
  def validate(self):
33700
    return
33701
 
33702
 
33703
  def __repr__(self):
33704
    L = ['%s=%r' % (key, value)
33705
      for key, value in self.__dict__.iteritems()]
33706
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33707
 
33708
  def __eq__(self, other):
33709
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33710
 
33711
  def __ne__(self, other):
33712
    return not (self == other)
14182 kshitij.so 33713
 
33714
class getPricingForDtr_args:
33715
  """
33716
  Attributes:
33717
   - catalogItemId
33718
  """
33719
 
33720
  thrift_spec = (
33721
    None, # 0
33722
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
33723
  )
33724
 
33725
  def __init__(self, catalogItemId=None,):
33726
    self.catalogItemId = catalogItemId
33727
 
33728
  def read(self, iprot):
33729
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33730
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33731
      return
33732
    iprot.readStructBegin()
33733
    while True:
33734
      (fname, ftype, fid) = iprot.readFieldBegin()
33735
      if ftype == TType.STOP:
33736
        break
33737
      if fid == 1:
33738
        if ftype == TType.I64:
33739
          self.catalogItemId = iprot.readI64();
33740
        else:
33741
          iprot.skip(ftype)
33742
      else:
33743
        iprot.skip(ftype)
33744
      iprot.readFieldEnd()
33745
    iprot.readStructEnd()
33746
 
33747
  def write(self, oprot):
33748
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33749
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33750
      return
33751
    oprot.writeStructBegin('getPricingForDtr_args')
33752
    if self.catalogItemId is not None:
33753
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
33754
      oprot.writeI64(self.catalogItemId)
33755
      oprot.writeFieldEnd()
33756
    oprot.writeFieldStop()
33757
    oprot.writeStructEnd()
33758
 
33759
  def validate(self):
33760
    return
33761
 
33762
 
33763
  def __repr__(self):
33764
    L = ['%s=%r' % (key, value)
33765
      for key, value in self.__dict__.iteritems()]
33766
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33767
 
33768
  def __eq__(self, other):
33769
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33770
 
33771
  def __ne__(self, other):
33772
    return not (self == other)
33773
 
33774
class getPricingForDtr_result:
33775
  """
33776
  Attributes:
33777
   - success
33778
  """
33779
 
33780
  thrift_spec = (
18719 kshitij.so 33781
    (0, TType.STRUCT, 'success', (DtrPricing, DtrPricing.thrift_spec), None, ), # 0
14182 kshitij.so 33782
  )
33783
 
33784
  def __init__(self, success=None,):
33785
    self.success = success
33786
 
33787
  def read(self, iprot):
33788
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33789
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33790
      return
33791
    iprot.readStructBegin()
33792
    while True:
33793
      (fname, ftype, fid) = iprot.readFieldBegin()
33794
      if ftype == TType.STOP:
33795
        break
33796
      if fid == 0:
33797
        if ftype == TType.STRUCT:
18719 kshitij.so 33798
          self.success = DtrPricing()
14182 kshitij.so 33799
          self.success.read(iprot)
33800
        else:
33801
          iprot.skip(ftype)
33802
      else:
33803
        iprot.skip(ftype)
33804
      iprot.readFieldEnd()
33805
    iprot.readStructEnd()
33806
 
33807
  def write(self, oprot):
33808
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33809
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33810
      return
33811
    oprot.writeStructBegin('getPricingForDtr_result')
33812
    if self.success is not None:
33813
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
33814
      self.success.write(oprot)
33815
      oprot.writeFieldEnd()
33816
    oprot.writeFieldStop()
33817
    oprot.writeStructEnd()
33818
 
33819
  def validate(self):
33820
    return
33821
 
33822
 
33823
  def __repr__(self):
33824
    L = ['%s=%r' % (key, value)
33825
      for key, value in self.__dict__.iteritems()]
33826
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33827
 
33828
  def __eq__(self, other):
33829
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33830
 
33831
  def __ne__(self, other):
33832
    return not (self == other)
15702 kshitij.so 33833
 
33834
class getAllItemstoListOnFbd_args:
33835
 
33836
  thrift_spec = (
33837
  )
33838
 
33839
  def read(self, iprot):
33840
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33841
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33842
      return
33843
    iprot.readStructBegin()
33844
    while True:
33845
      (fname, ftype, fid) = iprot.readFieldBegin()
33846
      if ftype == TType.STOP:
33847
        break
33848
      else:
33849
        iprot.skip(ftype)
33850
      iprot.readFieldEnd()
33851
    iprot.readStructEnd()
33852
 
33853
  def write(self, oprot):
33854
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33855
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33856
      return
33857
    oprot.writeStructBegin('getAllItemstoListOnFbd_args')
33858
    oprot.writeFieldStop()
33859
    oprot.writeStructEnd()
33860
 
33861
  def validate(self):
33862
    return
33863
 
33864
 
33865
  def __repr__(self):
33866
    L = ['%s=%r' % (key, value)
33867
      for key, value in self.__dict__.iteritems()]
33868
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33869
 
33870
  def __eq__(self, other):
33871
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33872
 
33873
  def __ne__(self, other):
33874
    return not (self == other)
33875
 
33876
class getAllItemstoListOnFbd_result:
33877
  """
33878
  Attributes:
33879
   - success
33880
  """
33881
 
33882
  thrift_spec = (
33883
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
33884
  )
33885
 
33886
  def __init__(self, success=None,):
33887
    self.success = success
33888
 
33889
  def read(self, iprot):
33890
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33891
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33892
      return
33893
    iprot.readStructBegin()
33894
    while True:
33895
      (fname, ftype, fid) = iprot.readFieldBegin()
33896
      if ftype == TType.STOP:
33897
        break
33898
      if fid == 0:
33899
        if ftype == TType.LIST:
33900
          self.success = []
18719 kshitij.so 33901
          (_etype864, _size861) = iprot.readListBegin()
33902
          for _i865 in xrange(_size861):
33903
            _elem866 = Amazonlisted()
33904
            _elem866.read(iprot)
33905
            self.success.append(_elem866)
15702 kshitij.so 33906
          iprot.readListEnd()
33907
        else:
33908
          iprot.skip(ftype)
33909
      else:
33910
        iprot.skip(ftype)
33911
      iprot.readFieldEnd()
33912
    iprot.readStructEnd()
33913
 
33914
  def write(self, oprot):
33915
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33916
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33917
      return
33918
    oprot.writeStructBegin('getAllItemstoListOnFbd_result')
33919
    if self.success is not None:
33920
      oprot.writeFieldBegin('success', TType.LIST, 0)
33921
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 33922
      for iter867 in self.success:
33923
        iter867.write(oprot)
15702 kshitij.so 33924
      oprot.writeListEnd()
33925
      oprot.writeFieldEnd()
33926
    oprot.writeFieldStop()
33927
    oprot.writeStructEnd()
33928
 
33929
  def validate(self):
33930
    return
33931
 
33932
 
33933
  def __repr__(self):
33934
    L = ['%s=%r' % (key, value)
33935
      for key, value in self.__dict__.iteritems()]
33936
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33937
 
33938
  def __eq__(self, other):
33939
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33940
 
33941
  def __ne__(self, other):
33942
    return not (self == other)
15706 kshitij.so 33943
 
33944
class getAllFbdListedItems_args:
33945
 
33946
  thrift_spec = (
33947
  )
33948
 
33949
  def read(self, iprot):
33950
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33951
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33952
      return
33953
    iprot.readStructBegin()
33954
    while True:
33955
      (fname, ftype, fid) = iprot.readFieldBegin()
33956
      if ftype == TType.STOP:
33957
        break
33958
      else:
33959
        iprot.skip(ftype)
33960
      iprot.readFieldEnd()
33961
    iprot.readStructEnd()
33962
 
33963
  def write(self, oprot):
33964
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33965
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33966
      return
33967
    oprot.writeStructBegin('getAllFbdListedItems_args')
33968
    oprot.writeFieldStop()
33969
    oprot.writeStructEnd()
33970
 
33971
  def validate(self):
33972
    return
33973
 
33974
 
33975
  def __repr__(self):
33976
    L = ['%s=%r' % (key, value)
33977
      for key, value in self.__dict__.iteritems()]
33978
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33979
 
33980
  def __eq__(self, other):
33981
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33982
 
33983
  def __ne__(self, other):
33984
    return not (self == other)
33985
 
33986
class getAllFbdListedItems_result:
33987
  """
33988
  Attributes:
33989
   - success
33990
  """
33991
 
33992
  thrift_spec = (
33993
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
33994
  )
33995
 
33996
  def __init__(self, success=None,):
33997
    self.success = success
33998
 
33999
  def read(self, iprot):
34000
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34001
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34002
      return
34003
    iprot.readStructBegin()
34004
    while True:
34005
      (fname, ftype, fid) = iprot.readFieldBegin()
34006
      if ftype == TType.STOP:
34007
        break
34008
      if fid == 0:
34009
        if ftype == TType.LIST:
34010
          self.success = []
18719 kshitij.so 34011
          (_etype871, _size868) = iprot.readListBegin()
34012
          for _i872 in xrange(_size868):
34013
            _elem873 = Amazonlisted()
34014
            _elem873.read(iprot)
34015
            self.success.append(_elem873)
15706 kshitij.so 34016
          iprot.readListEnd()
34017
        else:
34018
          iprot.skip(ftype)
34019
      else:
34020
        iprot.skip(ftype)
34021
      iprot.readFieldEnd()
34022
    iprot.readStructEnd()
34023
 
34024
  def write(self, oprot):
34025
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34026
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34027
      return
34028
    oprot.writeStructBegin('getAllFbdListedItems_result')
34029
    if self.success is not None:
34030
      oprot.writeFieldBegin('success', TType.LIST, 0)
34031
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 34032
      for iter874 in self.success:
34033
        iter874.write(oprot)
15706 kshitij.so 34034
      oprot.writeListEnd()
34035
      oprot.writeFieldEnd()
34036
    oprot.writeFieldStop()
34037
    oprot.writeStructEnd()
34038
 
34039
  def validate(self):
34040
    return
34041
 
34042
 
34043
  def __repr__(self):
34044
    L = ['%s=%r' % (key, value)
34045
      for key, value in self.__dict__.iteritems()]
34046
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34047
 
34048
  def __eq__(self, other):
34049
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34050
 
34051
  def __ne__(self, other):
34052
    return not (self == other)
18150 kshitij.so 34053
 
34054
class getBulkPricingForItems_args:
34055
  """
34056
  Attributes:
34057
   - itemIds
34058
  """
34059
 
34060
  thrift_spec = (
34061
    None, # 0
34062
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
34063
  )
34064
 
34065
  def __init__(self, itemIds=None,):
34066
    self.itemIds = itemIds
34067
 
34068
  def read(self, iprot):
34069
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34070
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34071
      return
34072
    iprot.readStructBegin()
34073
    while True:
34074
      (fname, ftype, fid) = iprot.readFieldBegin()
34075
      if ftype == TType.STOP:
34076
        break
34077
      if fid == 1:
34078
        if ftype == TType.LIST:
34079
          self.itemIds = []
18719 kshitij.so 34080
          (_etype878, _size875) = iprot.readListBegin()
34081
          for _i879 in xrange(_size875):
34082
            _elem880 = iprot.readI64();
34083
            self.itemIds.append(_elem880)
18150 kshitij.so 34084
          iprot.readListEnd()
34085
        else:
34086
          iprot.skip(ftype)
34087
      else:
34088
        iprot.skip(ftype)
34089
      iprot.readFieldEnd()
34090
    iprot.readStructEnd()
34091
 
34092
  def write(self, oprot):
34093
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34094
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34095
      return
34096
    oprot.writeStructBegin('getBulkPricingForItems_args')
34097
    if self.itemIds is not None:
34098
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
34099
      oprot.writeListBegin(TType.I64, len(self.itemIds))
18719 kshitij.so 34100
      for iter881 in self.itemIds:
34101
        oprot.writeI64(iter881)
18150 kshitij.so 34102
      oprot.writeListEnd()
34103
      oprot.writeFieldEnd()
34104
    oprot.writeFieldStop()
34105
    oprot.writeStructEnd()
34106
 
34107
  def validate(self):
34108
    return
34109
 
34110
 
34111
  def __repr__(self):
34112
    L = ['%s=%r' % (key, value)
34113
      for key, value in self.__dict__.iteritems()]
34114
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34115
 
34116
  def __eq__(self, other):
34117
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34118
 
34119
  def __ne__(self, other):
34120
    return not (self == other)
34121
 
34122
class getBulkPricingForItems_result:
34123
  """
34124
  Attributes:
34125
   - success
34126
  """
34127
 
34128
  thrift_spec = (
34129
    (0, TType.MAP, 'success', (TType.I64,None,TType.LIST,(TType.STRUCT,(BulkItemPricing, BulkItemPricing.thrift_spec))), None, ), # 0
34130
  )
34131
 
34132
  def __init__(self, success=None,):
34133
    self.success = success
34134
 
34135
  def read(self, iprot):
34136
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34137
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34138
      return
34139
    iprot.readStructBegin()
34140
    while True:
34141
      (fname, ftype, fid) = iprot.readFieldBegin()
34142
      if ftype == TType.STOP:
34143
        break
34144
      if fid == 0:
34145
        if ftype == TType.MAP:
34146
          self.success = {}
18719 kshitij.so 34147
          (_ktype883, _vtype884, _size882 ) = iprot.readMapBegin() 
34148
          for _i886 in xrange(_size882):
34149
            _key887 = iprot.readI64();
34150
            _val888 = []
34151
            (_etype892, _size889) = iprot.readListBegin()
34152
            for _i893 in xrange(_size889):
34153
              _elem894 = BulkItemPricing()
34154
              _elem894.read(iprot)
34155
              _val888.append(_elem894)
18150 kshitij.so 34156
            iprot.readListEnd()
18719 kshitij.so 34157
            self.success[_key887] = _val888
18150 kshitij.so 34158
          iprot.readMapEnd()
34159
        else:
34160
          iprot.skip(ftype)
34161
      else:
34162
        iprot.skip(ftype)
34163
      iprot.readFieldEnd()
34164
    iprot.readStructEnd()
34165
 
34166
  def write(self, oprot):
34167
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34168
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34169
      return
34170
    oprot.writeStructBegin('getBulkPricingForItems_result')
34171
    if self.success is not None:
34172
      oprot.writeFieldBegin('success', TType.MAP, 0)
34173
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.success))
18719 kshitij.so 34174
      for kiter895,viter896 in self.success.items():
34175
        oprot.writeI64(kiter895)
34176
        oprot.writeListBegin(TType.STRUCT, len(viter896))
34177
        for iter897 in viter896:
34178
          iter897.write(oprot)
18150 kshitij.so 34179
        oprot.writeListEnd()
34180
      oprot.writeMapEnd()
34181
      oprot.writeFieldEnd()
34182
    oprot.writeFieldStop()
34183
    oprot.writeStructEnd()
34184
 
34185
  def validate(self):
34186
    return
34187
 
34188
 
34189
  def __repr__(self):
34190
    L = ['%s=%r' % (key, value)
34191
      for key, value in self.__dict__.iteritems()]
34192
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34193
 
34194
  def __eq__(self, other):
34195
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34196
 
34197
  def __ne__(self, other):
34198
    return not (self == other)
34199
 
34200
class addBulkPricingForItem_args:
34201
  """
34202
  Attributes:
34203
   - bulkItemPricing
34204
  """
34205
 
34206
  thrift_spec = (
34207
    None, # 0
34208
    (1, TType.STRUCT, 'bulkItemPricing', (BulkItemPricing, BulkItemPricing.thrift_spec), None, ), # 1
34209
  )
34210
 
34211
  def __init__(self, bulkItemPricing=None,):
34212
    self.bulkItemPricing = bulkItemPricing
34213
 
34214
  def read(self, iprot):
34215
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34216
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34217
      return
34218
    iprot.readStructBegin()
34219
    while True:
34220
      (fname, ftype, fid) = iprot.readFieldBegin()
34221
      if ftype == TType.STOP:
34222
        break
34223
      if fid == 1:
34224
        if ftype == TType.STRUCT:
34225
          self.bulkItemPricing = BulkItemPricing()
34226
          self.bulkItemPricing.read(iprot)
34227
        else:
34228
          iprot.skip(ftype)
34229
      else:
34230
        iprot.skip(ftype)
34231
      iprot.readFieldEnd()
34232
    iprot.readStructEnd()
34233
 
34234
  def write(self, oprot):
34235
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34236
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34237
      return
34238
    oprot.writeStructBegin('addBulkPricingForItem_args')
34239
    if self.bulkItemPricing is not None:
34240
      oprot.writeFieldBegin('bulkItemPricing', TType.STRUCT, 1)
34241
      self.bulkItemPricing.write(oprot)
34242
      oprot.writeFieldEnd()
34243
    oprot.writeFieldStop()
34244
    oprot.writeStructEnd()
34245
 
34246
  def validate(self):
34247
    return
34248
 
34249
 
34250
  def __repr__(self):
34251
    L = ['%s=%r' % (key, value)
34252
      for key, value in self.__dict__.iteritems()]
34253
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34254
 
34255
  def __eq__(self, other):
34256
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34257
 
34258
  def __ne__(self, other):
34259
    return not (self == other)
34260
 
34261
class addBulkPricingForItem_result:
34262
  """
34263
  Attributes:
34264
   - success
34265
  """
34266
 
34267
  thrift_spec = (
34268
    (0, TType.STRUCT, 'success', (BulkItemPricing, BulkItemPricing.thrift_spec), None, ), # 0
34269
  )
34270
 
34271
  def __init__(self, success=None,):
34272
    self.success = success
34273
 
34274
  def read(self, iprot):
34275
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34276
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34277
      return
34278
    iprot.readStructBegin()
34279
    while True:
34280
      (fname, ftype, fid) = iprot.readFieldBegin()
34281
      if ftype == TType.STOP:
34282
        break
34283
      if fid == 0:
34284
        if ftype == TType.STRUCT:
34285
          self.success = BulkItemPricing()
34286
          self.success.read(iprot)
34287
        else:
34288
          iprot.skip(ftype)
34289
      else:
34290
        iprot.skip(ftype)
34291
      iprot.readFieldEnd()
34292
    iprot.readStructEnd()
34293
 
34294
  def write(self, oprot):
34295
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34296
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34297
      return
34298
    oprot.writeStructBegin('addBulkPricingForItem_result')
34299
    if self.success is not None:
34300
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
34301
      self.success.write(oprot)
34302
      oprot.writeFieldEnd()
34303
    oprot.writeFieldStop()
34304
    oprot.writeStructEnd()
34305
 
34306
  def validate(self):
34307
    return
34308
 
34309
 
34310
  def __repr__(self):
34311
    L = ['%s=%r' % (key, value)
34312
      for key, value in self.__dict__.iteritems()]
34313
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34314
 
34315
  def __eq__(self, other):
34316
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34317
 
34318
  def __ne__(self, other):
34319
    return not (self == other)
34320
 
34321
class deleteBulkPricingForItemById_args:
34322
  """
34323
  Attributes:
34324
   - id
34325
  """
34326
 
34327
  thrift_spec = (
34328
    None, # 0
34329
    (1, TType.I64, 'id', None, None, ), # 1
34330
  )
34331
 
34332
  def __init__(self, id=None,):
34333
    self.id = id
34334
 
34335
  def read(self, iprot):
34336
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34337
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34338
      return
34339
    iprot.readStructBegin()
34340
    while True:
34341
      (fname, ftype, fid) = iprot.readFieldBegin()
34342
      if ftype == TType.STOP:
34343
        break
34344
      if fid == 1:
34345
        if ftype == TType.I64:
34346
          self.id = iprot.readI64();
34347
        else:
34348
          iprot.skip(ftype)
34349
      else:
34350
        iprot.skip(ftype)
34351
      iprot.readFieldEnd()
34352
    iprot.readStructEnd()
34353
 
34354
  def write(self, oprot):
34355
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34356
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34357
      return
34358
    oprot.writeStructBegin('deleteBulkPricingForItemById_args')
34359
    if self.id is not None:
34360
      oprot.writeFieldBegin('id', TType.I64, 1)
34361
      oprot.writeI64(self.id)
34362
      oprot.writeFieldEnd()
34363
    oprot.writeFieldStop()
34364
    oprot.writeStructEnd()
34365
 
34366
  def validate(self):
34367
    return
34368
 
34369
 
34370
  def __repr__(self):
34371
    L = ['%s=%r' % (key, value)
34372
      for key, value in self.__dict__.iteritems()]
34373
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34374
 
34375
  def __eq__(self, other):
34376
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34377
 
34378
  def __ne__(self, other):
34379
    return not (self == other)
34380
 
34381
class deleteBulkPricingForItemById_result:
34382
  """
34383
  Attributes:
34384
   - success
34385
  """
34386
 
34387
  thrift_spec = (
34388
    (0, TType.BOOL, 'success', None, None, ), # 0
34389
  )
34390
 
34391
  def __init__(self, success=None,):
34392
    self.success = success
34393
 
34394
  def read(self, iprot):
34395
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34396
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34397
      return
34398
    iprot.readStructBegin()
34399
    while True:
34400
      (fname, ftype, fid) = iprot.readFieldBegin()
34401
      if ftype == TType.STOP:
34402
        break
34403
      if fid == 0:
34404
        if ftype == TType.BOOL:
34405
          self.success = iprot.readBool();
34406
        else:
34407
          iprot.skip(ftype)
34408
      else:
34409
        iprot.skip(ftype)
34410
      iprot.readFieldEnd()
34411
    iprot.readStructEnd()
34412
 
34413
  def write(self, oprot):
34414
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34415
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34416
      return
34417
    oprot.writeStructBegin('deleteBulkPricingForItemById_result')
34418
    if self.success is not None:
34419
      oprot.writeFieldBegin('success', TType.BOOL, 0)
34420
      oprot.writeBool(self.success)
34421
      oprot.writeFieldEnd()
34422
    oprot.writeFieldStop()
34423
    oprot.writeStructEnd()
34424
 
34425
  def validate(self):
34426
    return
34427
 
34428
 
34429
  def __repr__(self):
34430
    L = ['%s=%r' % (key, value)
34431
      for key, value in self.__dict__.iteritems()]
34432
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34433
 
34434
  def __eq__(self, other):
34435
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34436
 
34437
  def __ne__(self, other):
34438
    return not (self == other)
34439
 
34440
class deleteBulkPricingForItem_args:
34441
  """
34442
  Attributes:
34443
   - item_id
34444
  """
34445
 
34446
  thrift_spec = (
34447
    None, # 0
34448
    (1, TType.I64, 'item_id', None, None, ), # 1
34449
  )
34450
 
34451
  def __init__(self, item_id=None,):
34452
    self.item_id = item_id
34453
 
34454
  def read(self, iprot):
34455
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34456
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34457
      return
34458
    iprot.readStructBegin()
34459
    while True:
34460
      (fname, ftype, fid) = iprot.readFieldBegin()
34461
      if ftype == TType.STOP:
34462
        break
34463
      if fid == 1:
34464
        if ftype == TType.I64:
34465
          self.item_id = iprot.readI64();
34466
        else:
34467
          iprot.skip(ftype)
34468
      else:
34469
        iprot.skip(ftype)
34470
      iprot.readFieldEnd()
34471
    iprot.readStructEnd()
34472
 
34473
  def write(self, oprot):
34474
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34475
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34476
      return
34477
    oprot.writeStructBegin('deleteBulkPricingForItem_args')
34478
    if self.item_id is not None:
34479
      oprot.writeFieldBegin('item_id', TType.I64, 1)
34480
      oprot.writeI64(self.item_id)
34481
      oprot.writeFieldEnd()
34482
    oprot.writeFieldStop()
34483
    oprot.writeStructEnd()
34484
 
34485
  def validate(self):
34486
    return
34487
 
34488
 
34489
  def __repr__(self):
34490
    L = ['%s=%r' % (key, value)
34491
      for key, value in self.__dict__.iteritems()]
34492
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34493
 
34494
  def __eq__(self, other):
34495
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34496
 
34497
  def __ne__(self, other):
34498
    return not (self == other)
34499
 
34500
class deleteBulkPricingForItem_result:
34501
  """
34502
  Attributes:
34503
   - success
34504
  """
34505
 
34506
  thrift_spec = (
34507
    (0, TType.BOOL, 'success', None, None, ), # 0
34508
  )
34509
 
34510
  def __init__(self, success=None,):
34511
    self.success = success
34512
 
34513
  def read(self, iprot):
34514
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34515
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34516
      return
34517
    iprot.readStructBegin()
34518
    while True:
34519
      (fname, ftype, fid) = iprot.readFieldBegin()
34520
      if ftype == TType.STOP:
34521
        break
34522
      if fid == 0:
34523
        if ftype == TType.BOOL:
34524
          self.success = iprot.readBool();
34525
        else:
34526
          iprot.skip(ftype)
34527
      else:
34528
        iprot.skip(ftype)
34529
      iprot.readFieldEnd()
34530
    iprot.readStructEnd()
34531
 
34532
  def write(self, oprot):
34533
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34534
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34535
      return
34536
    oprot.writeStructBegin('deleteBulkPricingForItem_result')
34537
    if self.success is not None:
34538
      oprot.writeFieldBegin('success', TType.BOOL, 0)
34539
      oprot.writeBool(self.success)
34540
      oprot.writeFieldEnd()
34541
    oprot.writeFieldStop()
34542
    oprot.writeStructEnd()
34543
 
34544
  def validate(self):
34545
    return
34546
 
34547
 
34548
  def __repr__(self):
34549
    L = ['%s=%r' % (key, value)
34550
      for key, value in self.__dict__.iteritems()]
34551
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34552
 
34553
  def __eq__(self, other):
34554
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34555
 
34556
  def __ne__(self, other):
34557
    return not (self == other)
34558
 
34559
class getBulkPricingByItemId_args:
34560
  """
34561
  Attributes:
34562
   - item_id
34563
  """
34564
 
34565
  thrift_spec = (
34566
    None, # 0
34567
    (1, TType.I64, 'item_id', None, None, ), # 1
34568
  )
34569
 
34570
  def __init__(self, item_id=None,):
34571
    self.item_id = item_id
34572
 
34573
  def read(self, iprot):
34574
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34575
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34576
      return
34577
    iprot.readStructBegin()
34578
    while True:
34579
      (fname, ftype, fid) = iprot.readFieldBegin()
34580
      if ftype == TType.STOP:
34581
        break
34582
      if fid == 1:
34583
        if ftype == TType.I64:
34584
          self.item_id = iprot.readI64();
34585
        else:
34586
          iprot.skip(ftype)
34587
      else:
34588
        iprot.skip(ftype)
34589
      iprot.readFieldEnd()
34590
    iprot.readStructEnd()
34591
 
34592
  def write(self, oprot):
34593
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34594
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34595
      return
34596
    oprot.writeStructBegin('getBulkPricingByItemId_args')
34597
    if self.item_id is not None:
34598
      oprot.writeFieldBegin('item_id', TType.I64, 1)
34599
      oprot.writeI64(self.item_id)
34600
      oprot.writeFieldEnd()
34601
    oprot.writeFieldStop()
34602
    oprot.writeStructEnd()
34603
 
34604
  def validate(self):
34605
    return
34606
 
34607
 
34608
  def __repr__(self):
34609
    L = ['%s=%r' % (key, value)
34610
      for key, value in self.__dict__.iteritems()]
34611
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34612
 
34613
  def __eq__(self, other):
34614
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34615
 
34616
  def __ne__(self, other):
34617
    return not (self == other)
34618
 
34619
class getBulkPricingByItemId_result:
34620
  """
34621
  Attributes:
34622
   - success
34623
  """
34624
 
34625
  thrift_spec = (
34626
    (0, TType.LIST, 'success', (TType.STRUCT,(BulkItemPricing, BulkItemPricing.thrift_spec)), None, ), # 0
34627
  )
34628
 
34629
  def __init__(self, success=None,):
34630
    self.success = success
34631
 
34632
  def read(self, iprot):
34633
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34634
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34635
      return
34636
    iprot.readStructBegin()
34637
    while True:
34638
      (fname, ftype, fid) = iprot.readFieldBegin()
34639
      if ftype == TType.STOP:
34640
        break
34641
      if fid == 0:
34642
        if ftype == TType.LIST:
34643
          self.success = []
18719 kshitij.so 34644
          (_etype901, _size898) = iprot.readListBegin()
34645
          for _i902 in xrange(_size898):
34646
            _elem903 = BulkItemPricing()
34647
            _elem903.read(iprot)
34648
            self.success.append(_elem903)
18150 kshitij.so 34649
          iprot.readListEnd()
34650
        else:
34651
          iprot.skip(ftype)
34652
      else:
34653
        iprot.skip(ftype)
34654
      iprot.readFieldEnd()
34655
    iprot.readStructEnd()
34656
 
34657
  def write(self, oprot):
34658
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34659
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34660
      return
34661
    oprot.writeStructBegin('getBulkPricingByItemId_result')
34662
    if self.success is not None:
34663
      oprot.writeFieldBegin('success', TType.LIST, 0)
34664
      oprot.writeListBegin(TType.STRUCT, len(self.success))
18719 kshitij.so 34665
      for iter904 in self.success:
34666
        iter904.write(oprot)
18150 kshitij.so 34667
      oprot.writeListEnd()
34668
      oprot.writeFieldEnd()
34669
    oprot.writeFieldStop()
34670
    oprot.writeStructEnd()
34671
 
34672
  def validate(self):
34673
    return
34674
 
34675
 
34676
  def __repr__(self):
34677
    L = ['%s=%r' % (key, value)
34678
      for key, value in self.__dict__.iteritems()]
34679
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34680
 
34681
  def __eq__(self, other):
34682
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34683
 
34684
  def __ne__(self, other):
34685
    return not (self == other)
18602 kshitij.so 34686
 
34687
class updateBulkPricesOnProduction_args:
34688
  """
34689
  Attributes:
34690
   - item_id
34691
   - bulkItemPricingList
34692
  """
34693
 
34694
  thrift_spec = (
34695
    None, # 0
34696
    (1, TType.I64, 'item_id', None, None, ), # 1
34697
    (2, TType.LIST, 'bulkItemPricingList', (TType.STRUCT,(BulkItemPricing, BulkItemPricing.thrift_spec)), None, ), # 2
34698
  )
34699
 
34700
  def __init__(self, item_id=None, bulkItemPricingList=None,):
34701
    self.item_id = item_id
34702
    self.bulkItemPricingList = bulkItemPricingList
34703
 
34704
  def read(self, iprot):
34705
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34706
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34707
      return
34708
    iprot.readStructBegin()
34709
    while True:
34710
      (fname, ftype, fid) = iprot.readFieldBegin()
34711
      if ftype == TType.STOP:
34712
        break
34713
      if fid == 1:
34714
        if ftype == TType.I64:
34715
          self.item_id = iprot.readI64();
34716
        else:
34717
          iprot.skip(ftype)
34718
      elif fid == 2:
34719
        if ftype == TType.LIST:
34720
          self.bulkItemPricingList = []
18719 kshitij.so 34721
          (_etype908, _size905) = iprot.readListBegin()
34722
          for _i909 in xrange(_size905):
34723
            _elem910 = BulkItemPricing()
34724
            _elem910.read(iprot)
34725
            self.bulkItemPricingList.append(_elem910)
18602 kshitij.so 34726
          iprot.readListEnd()
34727
        else:
34728
          iprot.skip(ftype)
34729
      else:
34730
        iprot.skip(ftype)
34731
      iprot.readFieldEnd()
34732
    iprot.readStructEnd()
34733
 
34734
  def write(self, oprot):
34735
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34736
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34737
      return
34738
    oprot.writeStructBegin('updateBulkPricesOnProduction_args')
34739
    if self.item_id is not None:
34740
      oprot.writeFieldBegin('item_id', TType.I64, 1)
34741
      oprot.writeI64(self.item_id)
34742
      oprot.writeFieldEnd()
34743
    if self.bulkItemPricingList is not None:
34744
      oprot.writeFieldBegin('bulkItemPricingList', TType.LIST, 2)
34745
      oprot.writeListBegin(TType.STRUCT, len(self.bulkItemPricingList))
18719 kshitij.so 34746
      for iter911 in self.bulkItemPricingList:
34747
        iter911.write(oprot)
18602 kshitij.so 34748
      oprot.writeListEnd()
34749
      oprot.writeFieldEnd()
34750
    oprot.writeFieldStop()
34751
    oprot.writeStructEnd()
34752
 
34753
  def validate(self):
34754
    return
34755
 
34756
 
34757
  def __repr__(self):
34758
    L = ['%s=%r' % (key, value)
34759
      for key, value in self.__dict__.iteritems()]
34760
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34761
 
34762
  def __eq__(self, other):
34763
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34764
 
34765
  def __ne__(self, other):
34766
    return not (self == other)
34767
 
34768
class updateBulkPricesOnProduction_result:
34769
  """
34770
  Attributes:
34771
   - success
34772
  """
34773
 
34774
  thrift_spec = (
34775
    (0, TType.BOOL, 'success', None, None, ), # 0
34776
  )
34777
 
34778
  def __init__(self, success=None,):
34779
    self.success = success
34780
 
34781
  def read(self, iprot):
34782
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34783
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34784
      return
34785
    iprot.readStructBegin()
34786
    while True:
34787
      (fname, ftype, fid) = iprot.readFieldBegin()
34788
      if ftype == TType.STOP:
34789
        break
34790
      if fid == 0:
34791
        if ftype == TType.BOOL:
34792
          self.success = iprot.readBool();
34793
        else:
34794
          iprot.skip(ftype)
34795
      else:
34796
        iprot.skip(ftype)
34797
      iprot.readFieldEnd()
34798
    iprot.readStructEnd()
34799
 
34800
  def write(self, oprot):
34801
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34802
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34803
      return
34804
    oprot.writeStructBegin('updateBulkPricesOnProduction_result')
34805
    if self.success is not None:
34806
      oprot.writeFieldBegin('success', TType.BOOL, 0)
34807
      oprot.writeBool(self.success)
34808
      oprot.writeFieldEnd()
34809
    oprot.writeFieldStop()
34810
    oprot.writeStructEnd()
34811
 
34812
  def validate(self):
34813
    return
34814
 
34815
 
34816
  def __repr__(self):
34817
    L = ['%s=%r' % (key, value)
34818
      for key, value in self.__dict__.iteritems()]
34819
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34820
 
34821
  def __eq__(self, other):
34822
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34823
 
34824
  def __ne__(self, other):
34825
    return not (self == other)
18764 kshitij.so 34826
 
34827
class getCartByValue_args:
34828
  """
34829
  Attributes:
34830
   - cartIds
34831
  """
34832
 
34833
  thrift_spec = (
34834
    None, # 0
34835
    (1, TType.LIST, 'cartIds', (TType.I64,None), None, ), # 1
34836
  )
34837
 
34838
  def __init__(self, cartIds=None,):
34839
    self.cartIds = cartIds
34840
 
34841
  def read(self, iprot):
34842
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34843
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34844
      return
34845
    iprot.readStructBegin()
34846
    while True:
34847
      (fname, ftype, fid) = iprot.readFieldBegin()
34848
      if ftype == TType.STOP:
34849
        break
34850
      if fid == 1:
34851
        if ftype == TType.LIST:
34852
          self.cartIds = []
34853
          (_etype915, _size912) = iprot.readListBegin()
34854
          for _i916 in xrange(_size912):
34855
            _elem917 = iprot.readI64();
34856
            self.cartIds.append(_elem917)
34857
          iprot.readListEnd()
34858
        else:
34859
          iprot.skip(ftype)
34860
      else:
34861
        iprot.skip(ftype)
34862
      iprot.readFieldEnd()
34863
    iprot.readStructEnd()
34864
 
34865
  def write(self, oprot):
34866
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34867
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34868
      return
34869
    oprot.writeStructBegin('getCartByValue_args')
34870
    if self.cartIds is not None:
34871
      oprot.writeFieldBegin('cartIds', TType.LIST, 1)
34872
      oprot.writeListBegin(TType.I64, len(self.cartIds))
34873
      for iter918 in self.cartIds:
34874
        oprot.writeI64(iter918)
34875
      oprot.writeListEnd()
34876
      oprot.writeFieldEnd()
34877
    oprot.writeFieldStop()
34878
    oprot.writeStructEnd()
34879
 
34880
  def validate(self):
34881
    return
34882
 
34883
 
34884
  def __repr__(self):
34885
    L = ['%s=%r' % (key, value)
34886
      for key, value in self.__dict__.iteritems()]
34887
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34888
 
34889
  def __eq__(self, other):
34890
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34891
 
34892
  def __ne__(self, other):
34893
    return not (self == other)
34894
 
34895
class getCartByValue_result:
34896
  """
34897
  Attributes:
34898
   - success
34899
  """
34900
 
34901
  thrift_spec = (
34902
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
34903
  )
34904
 
34905
  def __init__(self, success=None,):
34906
    self.success = success
34907
 
34908
  def read(self, iprot):
34909
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34910
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34911
      return
34912
    iprot.readStructBegin()
34913
    while True:
34914
      (fname, ftype, fid) = iprot.readFieldBegin()
34915
      if ftype == TType.STOP:
34916
        break
34917
      if fid == 0:
34918
        if ftype == TType.LIST:
34919
          self.success = []
34920
          (_etype922, _size919) = iprot.readListBegin()
34921
          for _i923 in xrange(_size919):
34922
            _elem924 = iprot.readI64();
34923
            self.success.append(_elem924)
34924
          iprot.readListEnd()
34925
        else:
34926
          iprot.skip(ftype)
34927
      else:
34928
        iprot.skip(ftype)
34929
      iprot.readFieldEnd()
34930
    iprot.readStructEnd()
34931
 
34932
  def write(self, oprot):
34933
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
34934
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
34935
      return
34936
    oprot.writeStructBegin('getCartByValue_result')
34937
    if self.success is not None:
34938
      oprot.writeFieldBegin('success', TType.LIST, 0)
34939
      oprot.writeListBegin(TType.I64, len(self.success))
34940
      for iter925 in self.success:
34941
        oprot.writeI64(iter925)
34942
      oprot.writeListEnd()
34943
      oprot.writeFieldEnd()
34944
    oprot.writeFieldStop()
34945
    oprot.writeStructEnd()
34946
 
34947
  def validate(self):
34948
    return
34949
 
34950
 
34951
  def __repr__(self):
34952
    L = ['%s=%r' % (key, value)
34953
      for key, value in self.__dict__.iteritems()]
34954
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
34955
 
34956
  def __eq__(self, other):
34957
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
34958
 
34959
  def __ne__(self, other):
34960
    return not (self == other)
19247 kshitij.so 34961
 
34962
class updateItemPricing_args:
34963
  """
34964
  Attributes:
34965
   - itemPricingList
34966
  """
34967
 
34968
  thrift_spec = (
34969
    None, # 0
34970
    (1, TType.LIST, 'itemPricingList', (TType.STRUCT,(ItemPricing, ItemPricing.thrift_spec)), None, ), # 1
34971
  )
34972
 
34973
  def __init__(self, itemPricingList=None,):
34974
    self.itemPricingList = itemPricingList
34975
 
34976
  def read(self, iprot):
34977
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
34978
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
34979
      return
34980
    iprot.readStructBegin()
34981
    while True:
34982
      (fname, ftype, fid) = iprot.readFieldBegin()
34983
      if ftype == TType.STOP:
34984
        break
34985
      if fid == 1:
34986
        if ftype == TType.LIST:
34987
          self.itemPricingList = []
34988
          (_etype929, _size926) = iprot.readListBegin()
34989
          for _i930 in xrange(_size926):
34990
            _elem931 = ItemPricing()
34991
            _elem931.read(iprot)
34992
            self.itemPricingList.append(_elem931)
34993
          iprot.readListEnd()
34994
        else:
34995
          iprot.skip(ftype)
34996
      else:
34997
        iprot.skip(ftype)
34998
      iprot.readFieldEnd()
34999
    iprot.readStructEnd()
35000
 
35001
  def write(self, oprot):
35002
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35003
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35004
      return
35005
    oprot.writeStructBegin('updateItemPricing_args')
35006
    if self.itemPricingList is not None:
35007
      oprot.writeFieldBegin('itemPricingList', TType.LIST, 1)
35008
      oprot.writeListBegin(TType.STRUCT, len(self.itemPricingList))
35009
      for iter932 in self.itemPricingList:
35010
        iter932.write(oprot)
35011
      oprot.writeListEnd()
35012
      oprot.writeFieldEnd()
35013
    oprot.writeFieldStop()
35014
    oprot.writeStructEnd()
35015
 
35016
  def validate(self):
35017
    return
35018
 
35019
 
35020
  def __repr__(self):
35021
    L = ['%s=%r' % (key, value)
35022
      for key, value in self.__dict__.iteritems()]
35023
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35024
 
35025
  def __eq__(self, other):
35026
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35027
 
35028
  def __ne__(self, other):
35029
    return not (self == other)
35030
 
35031
class updateItemPricing_result:
35032
  """
35033
  Attributes:
35034
   - success
35035
  """
35036
 
35037
  thrift_spec = (
35038
    (0, TType.BOOL, 'success', None, None, ), # 0
35039
  )
35040
 
35041
  def __init__(self, success=None,):
35042
    self.success = success
35043
 
35044
  def read(self, iprot):
35045
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35046
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35047
      return
35048
    iprot.readStructBegin()
35049
    while True:
35050
      (fname, ftype, fid) = iprot.readFieldBegin()
35051
      if ftype == TType.STOP:
35052
        break
35053
      if fid == 0:
35054
        if ftype == TType.BOOL:
35055
          self.success = iprot.readBool();
35056
        else:
35057
          iprot.skip(ftype)
35058
      else:
35059
        iprot.skip(ftype)
35060
      iprot.readFieldEnd()
35061
    iprot.readStructEnd()
35062
 
35063
  def write(self, oprot):
35064
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35065
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35066
      return
35067
    oprot.writeStructBegin('updateItemPricing_result')
35068
    if self.success is not None:
35069
      oprot.writeFieldBegin('success', TType.BOOL, 0)
35070
      oprot.writeBool(self.success)
35071
      oprot.writeFieldEnd()
35072
    oprot.writeFieldStop()
35073
    oprot.writeStructEnd()
35074
 
35075
  def validate(self):
35076
    return
35077
 
35078
 
35079
  def __repr__(self):
35080
    L = ['%s=%r' % (key, value)
35081
      for key, value in self.__dict__.iteritems()]
35082
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35083
 
35084
  def __eq__(self, other):
35085
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35086
 
35087
  def __ne__(self, other):
35088
    return not (self == other)
19686 kshitij.so 35089
 
35090
class bulkUpdateCatalog_args:
35091
  """
35092
  Attributes:
35093
   - bulkUploadCatalog
35094
  """
35095
 
35096
  thrift_spec = (
35097
    None, # 0
35098
    (1, TType.LIST, 'bulkUploadCatalog', (TType.STRUCT,(BulkUploadCatalog, BulkUploadCatalog.thrift_spec)), None, ), # 1
35099
  )
35100
 
35101
  def __init__(self, bulkUploadCatalog=None,):
35102
    self.bulkUploadCatalog = bulkUploadCatalog
35103
 
35104
  def read(self, iprot):
35105
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35106
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35107
      return
35108
    iprot.readStructBegin()
35109
    while True:
35110
      (fname, ftype, fid) = iprot.readFieldBegin()
35111
      if ftype == TType.STOP:
35112
        break
35113
      if fid == 1:
35114
        if ftype == TType.LIST:
35115
          self.bulkUploadCatalog = []
35116
          (_etype936, _size933) = iprot.readListBegin()
35117
          for _i937 in xrange(_size933):
35118
            _elem938 = BulkUploadCatalog()
35119
            _elem938.read(iprot)
35120
            self.bulkUploadCatalog.append(_elem938)
35121
          iprot.readListEnd()
35122
        else:
35123
          iprot.skip(ftype)
35124
      else:
35125
        iprot.skip(ftype)
35126
      iprot.readFieldEnd()
35127
    iprot.readStructEnd()
35128
 
35129
  def write(self, oprot):
35130
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35131
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35132
      return
35133
    oprot.writeStructBegin('bulkUpdateCatalog_args')
35134
    if self.bulkUploadCatalog is not None:
35135
      oprot.writeFieldBegin('bulkUploadCatalog', TType.LIST, 1)
35136
      oprot.writeListBegin(TType.STRUCT, len(self.bulkUploadCatalog))
35137
      for iter939 in self.bulkUploadCatalog:
35138
        iter939.write(oprot)
35139
      oprot.writeListEnd()
35140
      oprot.writeFieldEnd()
35141
    oprot.writeFieldStop()
35142
    oprot.writeStructEnd()
35143
 
35144
  def validate(self):
35145
    return
35146
 
35147
 
35148
  def __repr__(self):
35149
    L = ['%s=%r' % (key, value)
35150
      for key, value in self.__dict__.iteritems()]
35151
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35152
 
35153
  def __eq__(self, other):
35154
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35155
 
35156
  def __ne__(self, other):
35157
    return not (self == other)
35158
 
35159
class bulkUpdateCatalog_result:
35160
  """
35161
  Attributes:
35162
   - cex
35163
  """
35164
 
35165
  thrift_spec = (
35166
    None, # 0
35167
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
35168
  )
35169
 
35170
  def __init__(self, cex=None,):
35171
    self.cex = cex
35172
 
35173
  def read(self, iprot):
35174
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35175
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35176
      return
35177
    iprot.readStructBegin()
35178
    while True:
35179
      (fname, ftype, fid) = iprot.readFieldBegin()
35180
      if ftype == TType.STOP:
35181
        break
35182
      if fid == 1:
35183
        if ftype == TType.STRUCT:
35184
          self.cex = CatalogServiceException()
35185
          self.cex.read(iprot)
35186
        else:
35187
          iprot.skip(ftype)
35188
      else:
35189
        iprot.skip(ftype)
35190
      iprot.readFieldEnd()
35191
    iprot.readStructEnd()
35192
 
35193
  def write(self, oprot):
35194
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35195
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35196
      return
35197
    oprot.writeStructBegin('bulkUpdateCatalog_result')
35198
    if self.cex is not None:
35199
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
35200
      self.cex.write(oprot)
35201
      oprot.writeFieldEnd()
35202
    oprot.writeFieldStop()
35203
    oprot.writeStructEnd()
35204
 
35205
  def validate(self):
35206
    return
35207
 
35208
 
35209
  def __repr__(self):
35210
    L = ['%s=%r' % (key, value)
35211
      for key, value in self.__dict__.iteritems()]
35212
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35213
 
35214
  def __eq__(self, other):
35215
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35216
 
35217
  def __ne__(self, other):
35218
    return not (self == other)
19691 manish.sha 35219
 
35220
class getWarrantyInfoForItem_args:
35221
  """
35222
  Attributes:
35223
   - itemId
35224
   - itemCondition
35225
  """
35226
 
35227
  thrift_spec = (
35228
    None, # 0
35229
    (1, TType.I64, 'itemId', None, None, ), # 1
35230
    (2, TType.I32, 'itemCondition', None, None, ), # 2
35231
  )
35232
 
35233
  def __init__(self, itemId=None, itemCondition=None,):
35234
    self.itemId = itemId
35235
    self.itemCondition = itemCondition
35236
 
35237
  def read(self, iprot):
35238
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35239
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35240
      return
35241
    iprot.readStructBegin()
35242
    while True:
35243
      (fname, ftype, fid) = iprot.readFieldBegin()
35244
      if ftype == TType.STOP:
35245
        break
35246
      if fid == 1:
35247
        if ftype == TType.I64:
35248
          self.itemId = iprot.readI64();
35249
        else:
35250
          iprot.skip(ftype)
35251
      elif fid == 2:
35252
        if ftype == TType.I32:
35253
          self.itemCondition = iprot.readI32();
35254
        else:
35255
          iprot.skip(ftype)
35256
      else:
35257
        iprot.skip(ftype)
35258
      iprot.readFieldEnd()
35259
    iprot.readStructEnd()
35260
 
35261
  def write(self, oprot):
35262
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35263
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35264
      return
35265
    oprot.writeStructBegin('getWarrantyInfoForItem_args')
35266
    if self.itemId is not None:
35267
      oprot.writeFieldBegin('itemId', TType.I64, 1)
35268
      oprot.writeI64(self.itemId)
35269
      oprot.writeFieldEnd()
35270
    if self.itemCondition is not None:
35271
      oprot.writeFieldBegin('itemCondition', TType.I32, 2)
35272
      oprot.writeI32(self.itemCondition)
35273
      oprot.writeFieldEnd()
35274
    oprot.writeFieldStop()
35275
    oprot.writeStructEnd()
35276
 
35277
  def validate(self):
35278
    return
35279
 
35280
 
35281
  def __repr__(self):
35282
    L = ['%s=%r' % (key, value)
35283
      for key, value in self.__dict__.iteritems()]
35284
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35285
 
35286
  def __eq__(self, other):
35287
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35288
 
35289
  def __ne__(self, other):
35290
    return not (self == other)
35291
 
35292
class getWarrantyInfoForItem_result:
35293
  """
35294
  Attributes:
35295
   - success
35296
   - cex
35297
  """
35298
 
35299
  thrift_spec = (
35300
    (0, TType.MAP, 'success', (TType.STRING,None,TType.I64,None), None, ), # 0
35301
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
35302
  )
35303
 
35304
  def __init__(self, success=None, cex=None,):
35305
    self.success = success
35306
    self.cex = cex
35307
 
35308
  def read(self, iprot):
35309
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
35310
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
35311
      return
35312
    iprot.readStructBegin()
35313
    while True:
35314
      (fname, ftype, fid) = iprot.readFieldBegin()
35315
      if ftype == TType.STOP:
35316
        break
35317
      if fid == 0:
35318
        if ftype == TType.MAP:
35319
          self.success = {}
35320
          (_ktype941, _vtype942, _size940 ) = iprot.readMapBegin() 
35321
          for _i944 in xrange(_size940):
35322
            _key945 = iprot.readString();
35323
            _val946 = iprot.readI64();
35324
            self.success[_key945] = _val946
35325
          iprot.readMapEnd()
35326
        else:
35327
          iprot.skip(ftype)
35328
      elif fid == 1:
35329
        if ftype == TType.STRUCT:
35330
          self.cex = CatalogServiceException()
35331
          self.cex.read(iprot)
35332
        else:
35333
          iprot.skip(ftype)
35334
      else:
35335
        iprot.skip(ftype)
35336
      iprot.readFieldEnd()
35337
    iprot.readStructEnd()
35338
 
35339
  def write(self, oprot):
35340
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
35341
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
35342
      return
35343
    oprot.writeStructBegin('getWarrantyInfoForItem_result')
35344
    if self.success is not None:
35345
      oprot.writeFieldBegin('success', TType.MAP, 0)
35346
      oprot.writeMapBegin(TType.STRING, TType.I64, len(self.success))
35347
      for kiter947,viter948 in self.success.items():
35348
        oprot.writeString(kiter947)
35349
        oprot.writeI64(viter948)
35350
      oprot.writeMapEnd()
35351
      oprot.writeFieldEnd()
35352
    if self.cex is not None:
35353
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
35354
      self.cex.write(oprot)
35355
      oprot.writeFieldEnd()
35356
    oprot.writeFieldStop()
35357
    oprot.writeStructEnd()
35358
 
35359
  def validate(self):
35360
    return
35361
 
35362
 
35363
  def __repr__(self):
35364
    L = ['%s=%r' % (key, value)
35365
      for key, value in self.__dict__.iteritems()]
35366
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
35367
 
35368
  def __eq__(self, other):
35369
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
35370
 
35371
  def __ne__(self, other):
35372
    return not (self == other)