Subversion Repositories SmartDukaan

Rev

Rev 15702 | Rev 18150 | 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
 
15706 kshitij.so 1330
 
5944 mandeep.dh 1331
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1332
  def __init__(self, iprot, oprot=None):
1333
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1334
 
1335
  def addItem(self, item):
1336
    """
1337
    Availability and inventory attributes
1338
 
1339
    Parameters:
1340
     - item
1341
    """
1342
    self.send_addItem(item)
1343
    return self.recv_addItem()
1344
 
1345
  def send_addItem(self, item):
1346
    self._oprot.writeMessageBegin('addItem', TMessageType.CALL, self._seqid)
1347
    args = addItem_args()
1348
    args.item = item
1349
    args.write(self._oprot)
1350
    self._oprot.writeMessageEnd()
1351
    self._oprot.trans.flush()
1352
 
1353
  def recv_addItem(self, ):
1354
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1355
    if mtype == TMessageType.EXCEPTION:
1356
      x = TApplicationException()
1357
      x.read(self._iprot)
1358
      self._iprot.readMessageEnd()
1359
      raise x
1360
    result = addItem_result()
1361
    result.read(self._iprot)
1362
    self._iprot.readMessageEnd()
1363
    if result.success is not None:
1364
      return result.success
1365
    if result.cex is not None:
1366
      raise result.cex
1367
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addItem failed: unknown result");
1368
 
1369
  def updateItem(self, item):
1370
    """
1371
    Parameters:
1372
     - item
1373
    """
1374
    self.send_updateItem(item)
1375
    return self.recv_updateItem()
1376
 
1377
  def send_updateItem(self, item):
1378
    self._oprot.writeMessageBegin('updateItem', TMessageType.CALL, self._seqid)
1379
    args = updateItem_args()
1380
    args.item = item
1381
    args.write(self._oprot)
1382
    self._oprot.writeMessageEnd()
1383
    self._oprot.trans.flush()
1384
 
1385
  def recv_updateItem(self, ):
1386
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1387
    if mtype == TMessageType.EXCEPTION:
1388
      x = TApplicationException()
1389
      x.read(self._iprot)
1390
      self._iprot.readMessageEnd()
1391
      raise x
1392
    result = updateItem_result()
1393
    result.read(self._iprot)
1394
    self._iprot.readMessageEnd()
1395
    if result.success is not None:
1396
      return result.success
1397
    if result.cex is not None:
1398
      raise result.cex
1399
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItem failed: unknown result");
1400
 
1401
  def isActive(self, itemId):
1402
    """
1403
    Checks if the item given to the corresponding itemId is active. If it's active,
1404
    whether it's risky and if it's risky, its inventory position.
1405
 
1406
    Parameters:
1407
     - itemId
1408
    """
1409
    self.send_isActive(itemId)
1410
    return self.recv_isActive()
1411
 
1412
  def send_isActive(self, itemId):
1413
    self._oprot.writeMessageBegin('isActive', TMessageType.CALL, self._seqid)
1414
    args = isActive_args()
1415
    args.itemId = itemId
1416
    args.write(self._oprot)
1417
    self._oprot.writeMessageEnd()
1418
    self._oprot.trans.flush()
1419
 
1420
  def recv_isActive(self, ):
1421
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1422
    if mtype == TMessageType.EXCEPTION:
1423
      x = TApplicationException()
1424
      x.read(self._iprot)
1425
      self._iprot.readMessageEnd()
1426
      raise x
1427
    result = isActive_result()
1428
    result.read(self._iprot)
1429
    self._iprot.readMessageEnd()
1430
    if result.success is not None:
1431
      return result.success
1432
    if result.isex is not None:
1433
      raise result.isex
1434
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isActive failed: unknown result");
1435
 
7438 amit.gupta 1436
  def getItemsStatus(self, itemIds):
1437
    """
1438
    Parameters:
1439
     - itemIds
1440
    """
1441
    self.send_getItemsStatus(itemIds)
1442
    return self.recv_getItemsStatus()
1443
 
1444
  def send_getItemsStatus(self, itemIds):
1445
    self._oprot.writeMessageBegin('getItemsStatus', TMessageType.CALL, self._seqid)
1446
    args = getItemsStatus_args()
1447
    args.itemIds = itemIds
1448
    args.write(self._oprot)
1449
    self._oprot.writeMessageEnd()
1450
    self._oprot.trans.flush()
1451
 
1452
  def recv_getItemsStatus(self, ):
1453
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1454
    if mtype == TMessageType.EXCEPTION:
1455
      x = TApplicationException()
1456
      x.read(self._iprot)
1457
      self._iprot.readMessageEnd()
1458
      raise x
1459
    result = getItemsStatus_result()
1460
    result.read(self._iprot)
1461
    self._iprot.readMessageEnd()
1462
    if result.success is not None:
1463
      return result.success
1464
    if result.isex is not None:
1465
      raise result.isex
1466
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsStatus failed: unknown result");
1467
 
5944 mandeep.dh 1468
  def getItemStatusDescription(self, itemId):
1469
    """
1470
    Parameters:
1471
     - itemId
1472
    """
1473
    self.send_getItemStatusDescription(itemId)
1474
    return self.recv_getItemStatusDescription()
1475
 
1476
  def send_getItemStatusDescription(self, itemId):
1477
    self._oprot.writeMessageBegin('getItemStatusDescription', TMessageType.CALL, self._seqid)
1478
    args = getItemStatusDescription_args()
1479
    args.itemId = itemId
1480
    args.write(self._oprot)
1481
    self._oprot.writeMessageEnd()
1482
    self._oprot.trans.flush()
1483
 
1484
  def recv_getItemStatusDescription(self, ):
1485
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1486
    if mtype == TMessageType.EXCEPTION:
1487
      x = TApplicationException()
1488
      x.read(self._iprot)
1489
      self._iprot.readMessageEnd()
1490
      raise x
1491
    result = getItemStatusDescription_result()
1492
    result.read(self._iprot)
1493
    self._iprot.readMessageEnd()
1494
    if result.success is not None:
1495
      return result.success
1496
    if result.isex is not None:
1497
      raise result.isex
1498
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemStatusDescription failed: unknown result");
1499
 
1500
  def startItemOn(self, item_id, timestamp):
1501
    """
1502
    Parameters:
1503
     - item_id
1504
     - timestamp
1505
    """
1506
    self.send_startItemOn(item_id, timestamp)
1507
    self.recv_startItemOn()
1508
 
1509
  def send_startItemOn(self, item_id, timestamp):
1510
    self._oprot.writeMessageBegin('startItemOn', TMessageType.CALL, self._seqid)
1511
    args = startItemOn_args()
1512
    args.item_id = item_id
1513
    args.timestamp = timestamp
1514
    args.write(self._oprot)
1515
    self._oprot.writeMessageEnd()
1516
    self._oprot.trans.flush()
1517
 
1518
  def recv_startItemOn(self, ):
1519
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1520
    if mtype == TMessageType.EXCEPTION:
1521
      x = TApplicationException()
1522
      x.read(self._iprot)
1523
      self._iprot.readMessageEnd()
1524
      raise x
1525
    result = startItemOn_result()
1526
    result.read(self._iprot)
1527
    self._iprot.readMessageEnd()
1528
    if result.cex is not None:
1529
      raise result.cex
1530
    return
1531
 
1532
  def retireItemOn(self, item_id, timestamp):
1533
    """
1534
    Parameters:
1535
     - item_id
1536
     - timestamp
1537
    """
1538
    self.send_retireItemOn(item_id, timestamp)
1539
    self.recv_retireItemOn()
1540
 
1541
  def send_retireItemOn(self, item_id, timestamp):
1542
    self._oprot.writeMessageBegin('retireItemOn', TMessageType.CALL, self._seqid)
1543
    args = retireItemOn_args()
1544
    args.item_id = item_id
1545
    args.timestamp = timestamp
1546
    args.write(self._oprot)
1547
    self._oprot.writeMessageEnd()
1548
    self._oprot.trans.flush()
1549
 
1550
  def recv_retireItemOn(self, ):
1551
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1552
    if mtype == TMessageType.EXCEPTION:
1553
      x = TApplicationException()
1554
      x.read(self._iprot)
1555
      self._iprot.readMessageEnd()
1556
      raise x
1557
    result = retireItemOn_result()
1558
    result.read(self._iprot)
1559
    self._iprot.readMessageEnd()
1560
    if result.cex is not None:
1561
      raise result.cex
1562
    return
1563
 
1564
  def changeItemStatus(self, item_id, timestamp, newstatus):
1565
    """
1566
    Parameters:
1567
     - item_id
1568
     - timestamp
1569
     - newstatus
1570
    """
1571
    self.send_changeItemStatus(item_id, timestamp, newstatus)
1572
    self.recv_changeItemStatus()
1573
 
1574
  def send_changeItemStatus(self, item_id, timestamp, newstatus):
1575
    self._oprot.writeMessageBegin('changeItemStatus', TMessageType.CALL, self._seqid)
1576
    args = changeItemStatus_args()
1577
    args.item_id = item_id
1578
    args.timestamp = timestamp
1579
    args.newstatus = newstatus
1580
    args.write(self._oprot)
1581
    self._oprot.writeMessageEnd()
1582
    self._oprot.trans.flush()
1583
 
1584
  def recv_changeItemStatus(self, ):
1585
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1586
    if mtype == TMessageType.EXCEPTION:
1587
      x = TApplicationException()
1588
      x.read(self._iprot)
1589
      self._iprot.readMessageEnd()
1590
      raise x
1591
    result = changeItemStatus_result()
1592
    result.read(self._iprot)
1593
    self._iprot.readMessageEnd()
1594
    if result.cex is not None:
1595
      raise result.cex
1596
    return
1597
 
1598
  def getItem(self, item_id):
1599
    """
1600
    Parameters:
1601
     - item_id
1602
    """
1603
    self.send_getItem(item_id)
1604
    return self.recv_getItem()
1605
 
1606
  def send_getItem(self, item_id):
1607
    self._oprot.writeMessageBegin('getItem', TMessageType.CALL, self._seqid)
1608
    args = getItem_args()
1609
    args.item_id = item_id
1610
    args.write(self._oprot)
1611
    self._oprot.writeMessageEnd()
1612
    self._oprot.trans.flush()
1613
 
1614
  def recv_getItem(self, ):
1615
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1616
    if mtype == TMessageType.EXCEPTION:
1617
      x = TApplicationException()
1618
      x.read(self._iprot)
1619
      self._iprot.readMessageEnd()
1620
      raise x
1621
    result = getItem_result()
1622
    result.read(self._iprot)
1623
    self._iprot.readMessageEnd()
1624
    if result.success is not None:
1625
      return result.success
1626
    if result.cex is not None:
1627
      raise result.cex
1628
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItem failed: unknown result");
1629
 
13493 amit.gupta 1630
  def getItems(self, item_ids):
1631
    """
1632
    Parameters:
1633
     - item_ids
1634
    """
1635
    self.send_getItems(item_ids)
1636
    return self.recv_getItems()
1637
 
1638
  def send_getItems(self, item_ids):
1639
    self._oprot.writeMessageBegin('getItems', TMessageType.CALL, self._seqid)
1640
    args = getItems_args()
1641
    args.item_ids = item_ids
1642
    args.write(self._oprot)
1643
    self._oprot.writeMessageEnd()
1644
    self._oprot.trans.flush()
1645
 
1646
  def recv_getItems(self, ):
1647
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1648
    if mtype == TMessageType.EXCEPTION:
1649
      x = TApplicationException()
1650
      x.read(self._iprot)
1651
      self._iprot.readMessageEnd()
1652
      raise x
1653
    result = getItems_result()
1654
    result.read(self._iprot)
1655
    self._iprot.readMessageEnd()
1656
    if result.success is not None:
1657
      return result.success
1658
    if result.cex is not None:
1659
      raise result.cex
1660
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItems failed: unknown result");
1661
 
5944 mandeep.dh 1662
  def getItemsByCatalogId(self, catalog_item_id):
1663
    """
1664
    Parameters:
1665
     - catalog_item_id
1666
    """
1667
    self.send_getItemsByCatalogId(catalog_item_id)
1668
    return self.recv_getItemsByCatalogId()
1669
 
1670
  def send_getItemsByCatalogId(self, catalog_item_id):
1671
    self._oprot.writeMessageBegin('getItemsByCatalogId', TMessageType.CALL, self._seqid)
1672
    args = getItemsByCatalogId_args()
1673
    args.catalog_item_id = catalog_item_id
1674
    args.write(self._oprot)
1675
    self._oprot.writeMessageEnd()
1676
    self._oprot.trans.flush()
1677
 
1678
  def recv_getItemsByCatalogId(self, ):
1679
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1680
    if mtype == TMessageType.EXCEPTION:
1681
      x = TApplicationException()
1682
      x.read(self._iprot)
1683
      self._iprot.readMessageEnd()
1684
      raise x
1685
    result = getItemsByCatalogId_result()
1686
    result.read(self._iprot)
1687
    self._iprot.readMessageEnd()
1688
    if result.success is not None:
1689
      return result.success
1690
    if result.cex is not None:
1691
      raise result.cex
1692
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByCatalogId failed: unknown result");
1693
 
1694
  def getValidItemsByCatalogId(self, catalog_item_id):
1695
    """
1696
    Parameters:
1697
     - catalog_item_id
1698
    """
1699
    self.send_getValidItemsByCatalogId(catalog_item_id)
1700
    return self.recv_getValidItemsByCatalogId()
1701
 
1702
  def send_getValidItemsByCatalogId(self, catalog_item_id):
1703
    self._oprot.writeMessageBegin('getValidItemsByCatalogId', TMessageType.CALL, self._seqid)
1704
    args = getValidItemsByCatalogId_args()
1705
    args.catalog_item_id = catalog_item_id
1706
    args.write(self._oprot)
1707
    self._oprot.writeMessageEnd()
1708
    self._oprot.trans.flush()
1709
 
1710
  def recv_getValidItemsByCatalogId(self, ):
1711
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1712
    if mtype == TMessageType.EXCEPTION:
1713
      x = TApplicationException()
1714
      x.read(self._iprot)
1715
      self._iprot.readMessageEnd()
1716
      raise x
1717
    result = getValidItemsByCatalogId_result()
1718
    result.read(self._iprot)
1719
    self._iprot.readMessageEnd()
1720
    if result.success is not None:
1721
      return result.success
1722
    if result.cex is not None:
1723
      raise result.cex
1724
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getValidItemsByCatalogId failed: unknown result");
1725
 
1726
  def getAllItems(self, isActive):
1727
    """
1728
    Parameters:
1729
     - isActive
1730
    """
1731
    self.send_getAllItems(isActive)
1732
    return self.recv_getAllItems()
1733
 
1734
  def send_getAllItems(self, isActive):
1735
    self._oprot.writeMessageBegin('getAllItems', TMessageType.CALL, self._seqid)
1736
    args = getAllItems_args()
1737
    args.isActive = isActive
1738
    args.write(self._oprot)
1739
    self._oprot.writeMessageEnd()
1740
    self._oprot.trans.flush()
1741
 
1742
  def recv_getAllItems(self, ):
1743
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1744
    if mtype == TMessageType.EXCEPTION:
1745
      x = TApplicationException()
1746
      x.read(self._iprot)
1747
      self._iprot.readMessageEnd()
1748
      raise x
1749
    result = getAllItems_result()
1750
    result.read(self._iprot)
1751
    self._iprot.readMessageEnd()
1752
    if result.success is not None:
1753
      return result.success
1754
    if result.cex is not None:
1755
      raise result.cex
1756
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItems failed: unknown result");
1757
 
1758
  def getAllItemsByStatus(self, itemStatus):
1759
    """
1760
    Parameters:
1761
     - itemStatus
1762
    """
1763
    self.send_getAllItemsByStatus(itemStatus)
1764
    return self.recv_getAllItemsByStatus()
1765
 
1766
  def send_getAllItemsByStatus(self, itemStatus):
1767
    self._oprot.writeMessageBegin('getAllItemsByStatus', TMessageType.CALL, self._seqid)
1768
    args = getAllItemsByStatus_args()
1769
    args.itemStatus = itemStatus
1770
    args.write(self._oprot)
1771
    self._oprot.writeMessageEnd()
1772
    self._oprot.trans.flush()
1773
 
1774
  def recv_getAllItemsByStatus(self, ):
1775
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1776
    if mtype == TMessageType.EXCEPTION:
1777
      x = TApplicationException()
1778
      x.read(self._iprot)
1779
      self._iprot.readMessageEnd()
1780
      raise x
1781
    result = getAllItemsByStatus_result()
1782
    result.read(self._iprot)
1783
    self._iprot.readMessageEnd()
1784
    if result.success is not None:
1785
      return result.success
1786
    if result.cex is not None:
1787
      raise result.cex
1788
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatus failed: unknown result");
1789
 
9253 rajveer 1790
  def markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1791
    """
1792
    Parameters:
1793
     - entityId
1794
     - category
1795
     - brand
1796
     - modelName
1797
     - modelNumber
9253 rajveer 1798
     - isAndroid
5944 mandeep.dh 1799
    """
9253 rajveer 1800
    self.send_markItemAsContentComplete(entityId, category, brand, modelName, modelNumber, isAndroid)
5944 mandeep.dh 1801
    return self.recv_markItemAsContentComplete()
1802
 
9253 rajveer 1803
  def send_markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1804
    self._oprot.writeMessageBegin('markItemAsContentComplete', TMessageType.CALL, self._seqid)
1805
    args = markItemAsContentComplete_args()
1806
    args.entityId = entityId
1807
    args.category = category
1808
    args.brand = brand
1809
    args.modelName = modelName
1810
    args.modelNumber = modelNumber
9253 rajveer 1811
    args.isAndroid = isAndroid
5944 mandeep.dh 1812
    args.write(self._oprot)
1813
    self._oprot.writeMessageEnd()
1814
    self._oprot.trans.flush()
1815
 
1816
  def recv_markItemAsContentComplete(self, ):
1817
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1818
    if mtype == TMessageType.EXCEPTION:
1819
      x = TApplicationException()
1820
      x.read(self._iprot)
1821
      self._iprot.readMessageEnd()
1822
      raise x
1823
    result = markItemAsContentComplete_result()
1824
    result.read(self._iprot)
1825
    self._iprot.readMessageEnd()
1826
    if result.success is not None:
1827
      return result.success
1828
    if result.cex is not None:
1829
      raise result.cex
1830
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markItemAsContentComplete failed: unknown result");
1831
 
12567 amit.gupta 1832
  def getVatRates(self, itemId, categoryId):
1833
    """
1834
    Parameters:
1835
     - itemId
1836
     - categoryId
1837
    """
1838
    self.send_getVatRates(itemId, categoryId)
1839
    return self.recv_getVatRates()
1840
 
1841
  def send_getVatRates(self, itemId, categoryId):
1842
    self._oprot.writeMessageBegin('getVatRates', TMessageType.CALL, self._seqid)
1843
    args = getVatRates_args()
1844
    args.itemId = itemId
1845
    args.categoryId = categoryId
1846
    args.write(self._oprot)
1847
    self._oprot.writeMessageEnd()
1848
    self._oprot.trans.flush()
1849
 
1850
  def recv_getVatRates(self, ):
1851
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1852
    if mtype == TMessageType.EXCEPTION:
1853
      x = TApplicationException()
1854
      x.read(self._iprot)
1855
      self._iprot.readMessageEnd()
1856
      raise x
1857
    result = getVatRates_result()
1858
    result.read(self._iprot)
1859
    self._iprot.readMessageEnd()
1860
    if result.success is not None:
1861
      return result.success
1862
    if result.cex is not None:
1863
      raise result.cex
1864
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatRates failed: unknown result");
1865
 
5944 mandeep.dh 1866
  def getAllItemsInRange(self, offset, limit):
1867
    """
1868
    Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
1869
 
1870
    Parameters:
1871
     - offset
1872
     - limit
1873
    """
1874
    self.send_getAllItemsInRange(offset, limit)
1875
    return self.recv_getAllItemsInRange()
1876
 
1877
  def send_getAllItemsInRange(self, offset, limit):
1878
    self._oprot.writeMessageBegin('getAllItemsInRange', TMessageType.CALL, self._seqid)
1879
    args = getAllItemsInRange_args()
1880
    args.offset = offset
1881
    args.limit = limit
1882
    args.write(self._oprot)
1883
    self._oprot.writeMessageEnd()
1884
    self._oprot.trans.flush()
1885
 
1886
  def recv_getAllItemsInRange(self, ):
1887
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1888
    if mtype == TMessageType.EXCEPTION:
1889
      x = TApplicationException()
1890
      x.read(self._iprot)
1891
      self._iprot.readMessageEnd()
1892
      raise x
1893
    result = getAllItemsInRange_result()
1894
    result.read(self._iprot)
1895
    self._iprot.readMessageEnd()
1896
    if result.success is not None:
1897
      return result.success
1898
    if result.cex is not None:
1899
      raise result.cex
1900
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsInRange failed: unknown result");
1901
 
1902
  def getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1903
    """
1904
    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.
1905
 
1906
    Parameters:
1907
     - itemStatus
1908
     - offset
1909
     - limit
1910
    """
1911
    self.send_getAllItemsByStatusInRange(itemStatus, offset, limit)
1912
    return self.recv_getAllItemsByStatusInRange()
1913
 
1914
  def send_getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1915
    self._oprot.writeMessageBegin('getAllItemsByStatusInRange', TMessageType.CALL, self._seqid)
1916
    args = getAllItemsByStatusInRange_args()
1917
    args.itemStatus = itemStatus
1918
    args.offset = offset
1919
    args.limit = limit
1920
    args.write(self._oprot)
1921
    self._oprot.writeMessageEnd()
1922
    self._oprot.trans.flush()
1923
 
1924
  def recv_getAllItemsByStatusInRange(self, ):
1925
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1926
    if mtype == TMessageType.EXCEPTION:
1927
      x = TApplicationException()
1928
      x.read(self._iprot)
1929
      self._iprot.readMessageEnd()
1930
      raise x
1931
    result = getAllItemsByStatusInRange_result()
1932
    result.read(self._iprot)
1933
    self._iprot.readMessageEnd()
1934
    if result.success is not None:
1935
      return result.success
1936
    if result.cex is not None:
1937
      raise result.cex
1938
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatusInRange failed: unknown result");
1939
 
1940
  def getItemCountByStatus(self, useStatus, itemStatus):
1941
    """
1942
    Gets a count of all items by status
1943
 
1944
    Parameters:
1945
     - useStatus
1946
     - itemStatus
1947
    """
1948
    self.send_getItemCountByStatus(useStatus, itemStatus)
1949
    return self.recv_getItemCountByStatus()
1950
 
1951
  def send_getItemCountByStatus(self, useStatus, itemStatus):
1952
    self._oprot.writeMessageBegin('getItemCountByStatus', TMessageType.CALL, self._seqid)
1953
    args = getItemCountByStatus_args()
1954
    args.useStatus = useStatus
1955
    args.itemStatus = itemStatus
1956
    args.write(self._oprot)
1957
    self._oprot.writeMessageEnd()
1958
    self._oprot.trans.flush()
1959
 
1960
  def recv_getItemCountByStatus(self, ):
1961
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1962
    if mtype == TMessageType.EXCEPTION:
1963
      x = TApplicationException()
1964
      x.read(self._iprot)
1965
      self._iprot.readMessageEnd()
1966
      raise x
1967
    result = getItemCountByStatus_result()
1968
    result.read(self._iprot)
1969
    self._iprot.readMessageEnd()
1970
    if result.success is not None:
1971
      return result.success
1972
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemCountByStatus failed: unknown result");
1973
 
1974
  def getBestSellers(self, ):
1975
    self.send_getBestSellers()
1976
    return self.recv_getBestSellers()
1977
 
1978
  def send_getBestSellers(self, ):
1979
    self._oprot.writeMessageBegin('getBestSellers', TMessageType.CALL, self._seqid)
1980
    args = getBestSellers_args()
1981
    args.write(self._oprot)
1982
    self._oprot.writeMessageEnd()
1983
    self._oprot.trans.flush()
1984
 
1985
  def recv_getBestSellers(self, ):
1986
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1987
    if mtype == TMessageType.EXCEPTION:
1988
      x = TApplicationException()
1989
      x.read(self._iprot)
1990
      self._iprot.readMessageEnd()
1991
      raise x
1992
    result = getBestSellers_result()
1993
    result.read(self._iprot)
1994
    self._iprot.readMessageEnd()
1995
    if result.success is not None:
1996
      return result.success
1997
    if result.isex is not None:
1998
      raise result.isex
1999
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellers failed: unknown result");
2000
 
2001
  def getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
2002
    """
2003
    Parameters:
2004
     - beginIndex
2005
     - totalItems
2006
     - brand
2007
     - category
2008
    """
2009
    self.send_getBestSellersCatalogIds(beginIndex, totalItems, brand, category)
2010
    return self.recv_getBestSellersCatalogIds()
2011
 
2012
  def send_getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
2013
    self._oprot.writeMessageBegin('getBestSellersCatalogIds', TMessageType.CALL, self._seqid)
2014
    args = getBestSellersCatalogIds_args()
2015
    args.beginIndex = beginIndex
2016
    args.totalItems = totalItems
2017
    args.brand = brand
2018
    args.category = category
2019
    args.write(self._oprot)
2020
    self._oprot.writeMessageEnd()
2021
    self._oprot.trans.flush()
2022
 
2023
  def recv_getBestSellersCatalogIds(self, ):
2024
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2025
    if mtype == TMessageType.EXCEPTION:
2026
      x = TApplicationException()
2027
      x.read(self._iprot)
2028
      self._iprot.readMessageEnd()
2029
      raise x
2030
    result = getBestSellersCatalogIds_result()
2031
    result.read(self._iprot)
2032
    self._iprot.readMessageEnd()
2033
    if result.success is not None:
2034
      return result.success
2035
    if result.cex is not None:
2036
      raise result.cex
2037
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCatalogIds failed: unknown result");
2038
 
2039
  def getBestSellersCount(self, ):
2040
    self.send_getBestSellersCount()
2041
    return self.recv_getBestSellersCount()
2042
 
2043
  def send_getBestSellersCount(self, ):
2044
    self._oprot.writeMessageBegin('getBestSellersCount', TMessageType.CALL, self._seqid)
2045
    args = getBestSellersCount_args()
2046
    args.write(self._oprot)
2047
    self._oprot.writeMessageEnd()
2048
    self._oprot.trans.flush()
2049
 
2050
  def recv_getBestSellersCount(self, ):
2051
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2052
    if mtype == TMessageType.EXCEPTION:
2053
      x = TApplicationException()
2054
      x.read(self._iprot)
2055
      self._iprot.readMessageEnd()
2056
      raise x
2057
    result = getBestSellersCount_result()
2058
    result.read(self._iprot)
2059
    self._iprot.readMessageEnd()
2060
    if result.success is not None:
2061
      return result.success
2062
    if result.cex is not None:
2063
      raise result.cex
2064
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCount failed: unknown result");
2065
 
2066
  def getBestDeals(self, ):
2067
    self.send_getBestDeals()
2068
    return self.recv_getBestDeals()
2069
 
2070
  def send_getBestDeals(self, ):
2071
    self._oprot.writeMessageBegin('getBestDeals', TMessageType.CALL, self._seqid)
2072
    args = getBestDeals_args()
2073
    args.write(self._oprot)
2074
    self._oprot.writeMessageEnd()
2075
    self._oprot.trans.flush()
2076
 
2077
  def recv_getBestDeals(self, ):
2078
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2079
    if mtype == TMessageType.EXCEPTION:
2080
      x = TApplicationException()
2081
      x.read(self._iprot)
2082
      self._iprot.readMessageEnd()
2083
      raise x
2084
    result = getBestDeals_result()
2085
    result.read(self._iprot)
2086
    self._iprot.readMessageEnd()
2087
    if result.success is not None:
2088
      return result.success
2089
    if result.isex is not None:
2090
      raise result.isex
2091
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDeals failed: unknown result");
2092
 
2093
  def getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2094
    """
2095
    Parameters:
2096
     - beginIndex
2097
     - totalItems
2098
     - brand
2099
     - category
2100
    """
2101
    self.send_getBestDealsCatalogIds(beginIndex, totalItems, brand, category)
2102
    return self.recv_getBestDealsCatalogIds()
2103
 
2104
  def send_getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2105
    self._oprot.writeMessageBegin('getBestDealsCatalogIds', TMessageType.CALL, self._seqid)
2106
    args = getBestDealsCatalogIds_args()
2107
    args.beginIndex = beginIndex
2108
    args.totalItems = totalItems
2109
    args.brand = brand
2110
    args.category = category
2111
    args.write(self._oprot)
2112
    self._oprot.writeMessageEnd()
2113
    self._oprot.trans.flush()
2114
 
2115
  def recv_getBestDealsCatalogIds(self, ):
2116
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2117
    if mtype == TMessageType.EXCEPTION:
2118
      x = TApplicationException()
2119
      x.read(self._iprot)
2120
      self._iprot.readMessageEnd()
2121
      raise x
2122
    result = getBestDealsCatalogIds_result()
2123
    result.read(self._iprot)
2124
    self._iprot.readMessageEnd()
2125
    if result.success is not None:
2126
      return result.success
2127
    if result.cex is not None:
2128
      raise result.cex
2129
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCatalogIds failed: unknown result");
2130
 
2131
  def getBestDealsCount(self, ):
2132
    self.send_getBestDealsCount()
2133
    return self.recv_getBestDealsCount()
2134
 
2135
  def send_getBestDealsCount(self, ):
2136
    self._oprot.writeMessageBegin('getBestDealsCount', TMessageType.CALL, self._seqid)
2137
    args = getBestDealsCount_args()
2138
    args.write(self._oprot)
2139
    self._oprot.writeMessageEnd()
2140
    self._oprot.trans.flush()
2141
 
2142
  def recv_getBestDealsCount(self, ):
2143
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2144
    if mtype == TMessageType.EXCEPTION:
2145
      x = TApplicationException()
2146
      x.read(self._iprot)
2147
      self._iprot.readMessageEnd()
2148
      raise x
2149
    result = getBestDealsCount_result()
2150
    result.read(self._iprot)
2151
    self._iprot.readMessageEnd()
2152
    if result.success is not None:
2153
      return result.success
2154
    if result.cex is not None:
2155
      raise result.cex
2156
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCount failed: unknown result");
2157
 
2158
  def getComingSoon(self, ):
2159
    self.send_getComingSoon()
2160
    return self.recv_getComingSoon()
2161
 
2162
  def send_getComingSoon(self, ):
2163
    self._oprot.writeMessageBegin('getComingSoon', TMessageType.CALL, self._seqid)
2164
    args = getComingSoon_args()
2165
    args.write(self._oprot)
2166
    self._oprot.writeMessageEnd()
2167
    self._oprot.trans.flush()
2168
 
2169
  def recv_getComingSoon(self, ):
2170
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2171
    if mtype == TMessageType.EXCEPTION:
2172
      x = TApplicationException()
2173
      x.read(self._iprot)
2174
      self._iprot.readMessageEnd()
2175
      raise x
2176
    result = getComingSoon_result()
2177
    result.read(self._iprot)
2178
    self._iprot.readMessageEnd()
2179
    if result.success is not None:
2180
      return result.success
2181
    if result.isex is not None:
2182
      raise result.isex
2183
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoon failed: unknown result");
2184
 
2185
  def getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2186
    """
2187
    Parameters:
2188
     - beginIndex
2189
     - totalItems
2190
     - brand
2191
     - category
2192
    """
2193
    self.send_getComingSoonCatalogIds(beginIndex, totalItems, brand, category)
2194
    return self.recv_getComingSoonCatalogIds()
2195
 
2196
  def send_getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2197
    self._oprot.writeMessageBegin('getComingSoonCatalogIds', TMessageType.CALL, self._seqid)
2198
    args = getComingSoonCatalogIds_args()
2199
    args.beginIndex = beginIndex
2200
    args.totalItems = totalItems
2201
    args.brand = brand
2202
    args.category = category
2203
    args.write(self._oprot)
2204
    self._oprot.writeMessageEnd()
2205
    self._oprot.trans.flush()
2206
 
2207
  def recv_getComingSoonCatalogIds(self, ):
2208
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2209
    if mtype == TMessageType.EXCEPTION:
2210
      x = TApplicationException()
2211
      x.read(self._iprot)
2212
      self._iprot.readMessageEnd()
2213
      raise x
2214
    result = getComingSoonCatalogIds_result()
2215
    result.read(self._iprot)
2216
    self._iprot.readMessageEnd()
2217
    if result.success is not None:
2218
      return result.success
2219
    if result.cex is not None:
2220
      raise result.cex
2221
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCatalogIds failed: unknown result");
2222
 
2223
  def getComingSoonCount(self, ):
2224
    self.send_getComingSoonCount()
2225
    return self.recv_getComingSoonCount()
2226
 
2227
  def send_getComingSoonCount(self, ):
2228
    self._oprot.writeMessageBegin('getComingSoonCount', TMessageType.CALL, self._seqid)
2229
    args = getComingSoonCount_args()
2230
    args.write(self._oprot)
2231
    self._oprot.writeMessageEnd()
2232
    self._oprot.trans.flush()
2233
 
2234
  def recv_getComingSoonCount(self, ):
2235
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2236
    if mtype == TMessageType.EXCEPTION:
2237
      x = TApplicationException()
2238
      x.read(self._iprot)
2239
      self._iprot.readMessageEnd()
2240
      raise x
2241
    result = getComingSoonCount_result()
2242
    result.read(self._iprot)
2243
    self._iprot.readMessageEnd()
2244
    if result.success is not None:
2245
      return result.success
2246
    if result.cex is not None:
2247
      raise result.cex
2248
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCount failed: unknown result");
2249
 
2250
  def getLatestArrivals(self, ):
2251
    """
2252
    Returns a list of items sorted in the descending order by start date.
2253
    The list is limited to the 'latest_arrivals_count' configuraiton parameter.
2254
    """
2255
    self.send_getLatestArrivals()
2256
    return self.recv_getLatestArrivals()
2257
 
2258
  def send_getLatestArrivals(self, ):
2259
    self._oprot.writeMessageBegin('getLatestArrivals', TMessageType.CALL, self._seqid)
2260
    args = getLatestArrivals_args()
2261
    args.write(self._oprot)
2262
    self._oprot.writeMessageEnd()
2263
    self._oprot.trans.flush()
2264
 
2265
  def recv_getLatestArrivals(self, ):
2266
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2267
    if mtype == TMessageType.EXCEPTION:
2268
      x = TApplicationException()
2269
      x.read(self._iprot)
2270
      self._iprot.readMessageEnd()
2271
      raise x
2272
    result = getLatestArrivals_result()
2273
    result.read(self._iprot)
2274
    self._iprot.readMessageEnd()
2275
    if result.success is not None:
2276
      return result.success
2277
    if result.isex is not None:
2278
      raise result.isex
2279
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivals failed: unknown result");
2280
 
2281
  def getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2282
    """
2283
    Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
2284
    To ignore the categories, pass the list as empty. To ignore brand, pass it as null.
2285
 
2286
    Parameters:
2287
     - beginIndex
2288
     - totalItems
2289
     - brand
2290
     - categories
2291
    """
2292
    self.send_getLatestArrivalsCatalogIds(beginIndex, totalItems, brand, categories)
2293
    return self.recv_getLatestArrivalsCatalogIds()
2294
 
2295
  def send_getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2296
    self._oprot.writeMessageBegin('getLatestArrivalsCatalogIds', TMessageType.CALL, self._seqid)
2297
    args = getLatestArrivalsCatalogIds_args()
2298
    args.beginIndex = beginIndex
2299
    args.totalItems = totalItems
2300
    args.brand = brand
2301
    args.categories = categories
2302
    args.write(self._oprot)
2303
    self._oprot.writeMessageEnd()
2304
    self._oprot.trans.flush()
2305
 
2306
  def recv_getLatestArrivalsCatalogIds(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 = getLatestArrivalsCatalogIds_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, "getLatestArrivalsCatalogIds failed: unknown result");
2321
 
2322
  def getLatestArrivalsCount(self, ):
2323
    """
2324
    Get the total number of latest arrivals we are willing to show.
2325
    The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
2326
    """
2327
    self.send_getLatestArrivalsCount()
2328
    return self.recv_getLatestArrivalsCount()
2329
 
2330
  def send_getLatestArrivalsCount(self, ):
2331
    self._oprot.writeMessageBegin('getLatestArrivalsCount', TMessageType.CALL, self._seqid)
2332
    args = getLatestArrivalsCount_args()
2333
    args.write(self._oprot)
2334
    self._oprot.writeMessageEnd()
2335
    self._oprot.trans.flush()
2336
 
2337
  def recv_getLatestArrivalsCount(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 = getLatestArrivalsCount_result()
2345
    result.read(self._iprot)
2346
    self._iprot.readMessageEnd()
2347
    if result.success is not None:
2348
      return result.success
2349
    if result.cex is not None:
2350
      raise result.cex
2351
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCount failed: unknown result");
2352
 
2353
  def generateNewEntityID(self, ):
2354
    self.send_generateNewEntityID()
2355
    return self.recv_generateNewEntityID()
2356
 
2357
  def send_generateNewEntityID(self, ):
2358
    self._oprot.writeMessageBegin('generateNewEntityID', TMessageType.CALL, self._seqid)
2359
    args = generateNewEntityID_args()
2360
    args.write(self._oprot)
2361
    self._oprot.writeMessageEnd()
2362
    self._oprot.trans.flush()
2363
 
2364
  def recv_generateNewEntityID(self, ):
2365
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2366
    if mtype == TMessageType.EXCEPTION:
2367
      x = TApplicationException()
2368
      x.read(self._iprot)
2369
      self._iprot.readMessageEnd()
2370
      raise x
2371
    result = generateNewEntityID_result()
2372
    result.read(self._iprot)
2373
    self._iprot.readMessageEnd()
2374
    if result.success is not None:
2375
      return result.success
2376
    raise TApplicationException(TApplicationException.MISSING_RESULT, "generateNewEntityID failed: unknown result");
2377
 
2378
  def addCategory(self, category):
2379
    """
2380
    All category related functions
2381
 
2382
    Parameters:
2383
     - category
2384
    """
2385
    self.send_addCategory(category)
2386
    return self.recv_addCategory()
2387
 
2388
  def send_addCategory(self, category):
2389
    self._oprot.writeMessageBegin('addCategory', TMessageType.CALL, self._seqid)
2390
    args = addCategory_args()
2391
    args.category = category
2392
    args.write(self._oprot)
2393
    self._oprot.writeMessageEnd()
2394
    self._oprot.trans.flush()
2395
 
2396
  def recv_addCategory(self, ):
2397
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2398
    if mtype == TMessageType.EXCEPTION:
2399
      x = TApplicationException()
2400
      x.read(self._iprot)
2401
      self._iprot.readMessageEnd()
2402
      raise x
2403
    result = addCategory_result()
2404
    result.read(self._iprot)
2405
    self._iprot.readMessageEnd()
2406
    if result.success is not None:
2407
      return result.success
2408
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addCategory failed: unknown result");
2409
 
2410
  def getCategory(self, id):
2411
    """
2412
    Parameters:
2413
     - id
2414
    """
2415
    self.send_getCategory(id)
2416
    return self.recv_getCategory()
2417
 
2418
  def send_getCategory(self, id):
2419
    self._oprot.writeMessageBegin('getCategory', TMessageType.CALL, self._seqid)
2420
    args = getCategory_args()
2421
    args.id = id
2422
    args.write(self._oprot)
2423
    self._oprot.writeMessageEnd()
2424
    self._oprot.trans.flush()
2425
 
2426
  def recv_getCategory(self, ):
2427
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2428
    if mtype == TMessageType.EXCEPTION:
2429
      x = TApplicationException()
2430
      x.read(self._iprot)
2431
      self._iprot.readMessageEnd()
2432
      raise x
2433
    result = getCategory_result()
2434
    result.read(self._iprot)
2435
    self._iprot.readMessageEnd()
2436
    if result.success is not None:
2437
      return result.success
2438
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCategory failed: unknown result");
2439
 
2440
  def getAllCategories(self, ):
2441
    self.send_getAllCategories()
2442
    return self.recv_getAllCategories()
2443
 
2444
  def send_getAllCategories(self, ):
2445
    self._oprot.writeMessageBegin('getAllCategories', TMessageType.CALL, self._seqid)
2446
    args = getAllCategories_args()
2447
    args.write(self._oprot)
2448
    self._oprot.writeMessageEnd()
2449
    self._oprot.trans.flush()
2450
 
2451
  def recv_getAllCategories(self, ):
2452
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2453
    if mtype == TMessageType.EXCEPTION:
2454
      x = TApplicationException()
2455
      x.read(self._iprot)
2456
      self._iprot.readMessageEnd()
2457
      raise x
2458
    result = getAllCategories_result()
2459
    result.read(self._iprot)
2460
    self._iprot.readMessageEnd()
2461
    if result.success is not None:
2462
      return result.success
2463
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCategories failed: unknown result");
2464
 
2465
  def getAllSimilarItems(self, itemId):
2466
    """
2467
    Returns the list of similar items.
2468
 
2469
    Parameters:
2470
     - itemId
2471
    """
2472
    self.send_getAllSimilarItems(itemId)
2473
    return self.recv_getAllSimilarItems()
2474
 
2475
  def send_getAllSimilarItems(self, itemId):
2476
    self._oprot.writeMessageBegin('getAllSimilarItems', TMessageType.CALL, self._seqid)
2477
    args = getAllSimilarItems_args()
2478
    args.itemId = itemId
2479
    args.write(self._oprot)
2480
    self._oprot.writeMessageEnd()
2481
    self._oprot.trans.flush()
2482
 
2483
  def recv_getAllSimilarItems(self, ):
2484
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2485
    if mtype == TMessageType.EXCEPTION:
2486
      x = TApplicationException()
2487
      x.read(self._iprot)
2488
      self._iprot.readMessageEnd()
2489
      raise x
2490
    result = getAllSimilarItems_result()
2491
    result.read(self._iprot)
2492
    self._iprot.readMessageEnd()
2493
    if result.success is not None:
2494
      return result.success
2495
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSimilarItems failed: unknown result");
2496
 
2497
  def addSimilarItem(self, itemId, catalogItemId):
2498
    """
2499
    Adds similar item.
2500
 
2501
    Parameters:
2502
     - itemId
2503
     - catalogItemId
2504
    """
2505
    self.send_addSimilarItem(itemId, catalogItemId)
2506
    return self.recv_addSimilarItem()
2507
 
2508
  def send_addSimilarItem(self, itemId, catalogItemId):
2509
    self._oprot.writeMessageBegin('addSimilarItem', TMessageType.CALL, self._seqid)
2510
    args = addSimilarItem_args()
2511
    args.itemId = itemId
2512
    args.catalogItemId = catalogItemId
2513
    args.write(self._oprot)
2514
    self._oprot.writeMessageEnd()
2515
    self._oprot.trans.flush()
2516
 
2517
  def recv_addSimilarItem(self, ):
2518
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2519
    if mtype == TMessageType.EXCEPTION:
2520
      x = TApplicationException()
2521
      x.read(self._iprot)
2522
      self._iprot.readMessageEnd()
2523
      raise x
2524
    result = addSimilarItem_result()
2525
    result.read(self._iprot)
2526
    self._iprot.readMessageEnd()
2527
    if result.success is not None:
2528
      return result.success
2529
    if result.cex is not None:
2530
      raise result.cex
2531
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addSimilarItem failed: unknown result");
2532
 
6512 kshitij.so 2533
  def addTag(self, displayName, itemId):
2534
    """
2535
    Tag Related
2536
 
2537
    Parameters:
2538
     - displayName
2539
     - itemId
2540
    """
2541
    self.send_addTag(displayName, itemId)
2542
    return self.recv_addTag()
2543
 
2544
  def send_addTag(self, displayName, itemId):
2545
    self._oprot.writeMessageBegin('addTag', TMessageType.CALL, self._seqid)
2546
    args = addTag_args()
2547
    args.displayName = displayName
2548
    args.itemId = itemId
2549
    args.write(self._oprot)
2550
    self._oprot.writeMessageEnd()
2551
    self._oprot.trans.flush()
2552
 
2553
  def recv_addTag(self, ):
2554
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2555
    if mtype == TMessageType.EXCEPTION:
2556
      x = TApplicationException()
2557
      x.read(self._iprot)
2558
      self._iprot.readMessageEnd()
2559
      raise x
2560
    result = addTag_result()
2561
    result.read(self._iprot)
2562
    self._iprot.readMessageEnd()
2563
    if result.success is not None:
2564
      return result.success
2565
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addTag failed: unknown result");
2566
 
2567
  def deleteEntityTag(self, displayName, itemId):
2568
    """
2569
    Parameters:
2570
     - displayName
2571
     - itemId
2572
    """
2573
    self.send_deleteEntityTag(displayName, itemId)
2574
    return self.recv_deleteEntityTag()
2575
 
2576
  def send_deleteEntityTag(self, displayName, itemId):
2577
    self._oprot.writeMessageBegin('deleteEntityTag', TMessageType.CALL, self._seqid)
2578
    args = deleteEntityTag_args()
2579
    args.displayName = displayName
2580
    args.itemId = itemId
2581
    args.write(self._oprot)
2582
    self._oprot.writeMessageEnd()
2583
    self._oprot.trans.flush()
2584
 
2585
  def recv_deleteEntityTag(self, ):
2586
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2587
    if mtype == TMessageType.EXCEPTION:
2588
      x = TApplicationException()
2589
      x.read(self._iprot)
2590
      self._iprot.readMessageEnd()
2591
      raise x
2592
    result = deleteEntityTag_result()
2593
    result.read(self._iprot)
2594
    self._iprot.readMessageEnd()
2595
    if result.success is not None:
2596
      return result.success
2597
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteEntityTag failed: unknown result");
2598
 
2599
  def deleteTag(self, displayName):
2600
    """
2601
    Parameters:
2602
     - displayName
2603
    """
2604
    self.send_deleteTag(displayName)
2605
    return self.recv_deleteTag()
2606
 
2607
  def send_deleteTag(self, displayName):
2608
    self._oprot.writeMessageBegin('deleteTag', TMessageType.CALL, self._seqid)
2609
    args = deleteTag_args()
2610
    args.displayName = displayName
2611
    args.write(self._oprot)
2612
    self._oprot.writeMessageEnd()
2613
    self._oprot.trans.flush()
2614
 
2615
  def recv_deleteTag(self, ):
2616
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2617
    if mtype == TMessageType.EXCEPTION:
2618
      x = TApplicationException()
2619
      x.read(self._iprot)
2620
      self._iprot.readMessageEnd()
2621
      raise x
2622
    result = deleteTag_result()
2623
    result.read(self._iprot)
2624
    self._iprot.readMessageEnd()
2625
    if result.success is not None:
2626
      return result.success
2627
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteTag failed: unknown result");
2628
 
2629
  def getAllTags(self, ):
2630
    self.send_getAllTags()
2631
    return self.recv_getAllTags()
2632
 
2633
  def send_getAllTags(self, ):
2634
    self._oprot.writeMessageBegin('getAllTags', TMessageType.CALL, self._seqid)
2635
    args = getAllTags_args()
2636
    args.write(self._oprot)
2637
    self._oprot.writeMessageEnd()
2638
    self._oprot.trans.flush()
2639
 
2640
  def recv_getAllTags(self, ):
2641
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2642
    if mtype == TMessageType.EXCEPTION:
2643
      x = TApplicationException()
2644
      x.read(self._iprot)
2645
      self._iprot.readMessageEnd()
2646
      raise x
2647
    result = getAllTags_result()
2648
    result.read(self._iprot)
2649
    self._iprot.readMessageEnd()
2650
    if result.success is not None:
2651
      return result.success
2652
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllTags failed: unknown result");
2653
 
2654
  def getAllEntitiesByTagName(self, displayName):
2655
    """
2656
    Parameters:
2657
     - displayName
2658
    """
2659
    self.send_getAllEntitiesByTagName(displayName)
2660
    return self.recv_getAllEntitiesByTagName()
2661
 
2662
  def send_getAllEntitiesByTagName(self, displayName):
2663
    self._oprot.writeMessageBegin('getAllEntitiesByTagName', TMessageType.CALL, self._seqid)
2664
    args = getAllEntitiesByTagName_args()
2665
    args.displayName = displayName
2666
    args.write(self._oprot)
2667
    self._oprot.writeMessageEnd()
2668
    self._oprot.trans.flush()
2669
 
2670
  def recv_getAllEntitiesByTagName(self, ):
2671
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2672
    if mtype == TMessageType.EXCEPTION:
2673
      x = TApplicationException()
2674
      x.read(self._iprot)
2675
      self._iprot.readMessageEnd()
2676
      raise x
2677
    result = getAllEntitiesByTagName_result()
2678
    result.read(self._iprot)
2679
    self._iprot.readMessageEnd()
2680
    if result.success is not None:
2681
      return result.success
2682
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntitiesByTagName failed: unknown result");
2683
 
6845 amit.gupta 2684
  def getAllEntityTags(self, ):
2685
    self.send_getAllEntityTags()
2686
    return self.recv_getAllEntityTags()
2687
 
2688
  def send_getAllEntityTags(self, ):
2689
    self._oprot.writeMessageBegin('getAllEntityTags', TMessageType.CALL, self._seqid)
2690
    args = getAllEntityTags_args()
2691
    args.write(self._oprot)
2692
    self._oprot.writeMessageEnd()
2693
    self._oprot.trans.flush()
2694
 
2695
  def recv_getAllEntityTags(self, ):
2696
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2697
    if mtype == TMessageType.EXCEPTION:
2698
      x = TApplicationException()
2699
      x.read(self._iprot)
2700
      self._iprot.readMessageEnd()
2701
      raise x
2702
    result = getAllEntityTags_result()
2703
    result.read(self._iprot)
2704
    self._iprot.readMessageEnd()
2705
    if result.success is not None:
2706
      return result.success
2707
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
2708
 
8590 kshitij.so 2709
  def addBanner(self, bannerCongregate):
6850 kshitij.so 2710
    """
8579 kshitij.so 2711
    Banner Related
2712
 
6850 kshitij.so 2713
    Parameters:
8590 kshitij.so 2714
     - bannerCongregate
6850 kshitij.so 2715
    """
8590 kshitij.so 2716
    self.send_addBanner(bannerCongregate)
10097 kshitij.so 2717
    return self.recv_addBanner()
6850 kshitij.so 2718
 
8590 kshitij.so 2719
  def send_addBanner(self, bannerCongregate):
6850 kshitij.so 2720
    self._oprot.writeMessageBegin('addBanner', TMessageType.CALL, self._seqid)
2721
    args = addBanner_args()
8590 kshitij.so 2722
    args.bannerCongregate = bannerCongregate
6850 kshitij.so 2723
    args.write(self._oprot)
2724
    self._oprot.writeMessageEnd()
2725
    self._oprot.trans.flush()
2726
 
2727
  def recv_addBanner(self, ):
2728
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2729
    if mtype == TMessageType.EXCEPTION:
2730
      x = TApplicationException()
2731
      x.read(self._iprot)
2732
      self._iprot.readMessageEnd()
2733
      raise x
2734
    result = addBanner_result()
2735
    result.read(self._iprot)
2736
    self._iprot.readMessageEnd()
10097 kshitij.so 2737
    if result.success is not None:
2738
      return result.success
2739
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
6850 kshitij.so 2740
 
8579 kshitij.so 2741
  def updateBanner(self, banner):
2742
    """
2743
    Parameters:
2744
     - banner
2745
    """
2746
    self.send_updateBanner(banner)
2747
    return self.recv_updateBanner()
2748
 
2749
  def send_updateBanner(self, banner):
2750
    self._oprot.writeMessageBegin('updateBanner', TMessageType.CALL, self._seqid)
2751
    args = updateBanner_args()
2752
    args.banner = banner
2753
    args.write(self._oprot)
2754
    self._oprot.writeMessageEnd()
2755
    self._oprot.trans.flush()
2756
 
2757
  def recv_updateBanner(self, ):
2758
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2759
    if mtype == TMessageType.EXCEPTION:
2760
      x = TApplicationException()
2761
      x.read(self._iprot)
2762
      self._iprot.readMessageEnd()
2763
      raise x
2764
    result = updateBanner_result()
2765
    result.read(self._iprot)
2766
    self._iprot.readMessageEnd()
2767
    if result.success is not None:
2768
      return result.success
2769
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBanner failed: unknown result");
2770
 
6850 kshitij.so 2771
  def getAllBanners(self, ):
2772
    self.send_getAllBanners()
2773
    return self.recv_getAllBanners()
2774
 
2775
  def send_getAllBanners(self, ):
2776
    self._oprot.writeMessageBegin('getAllBanners', TMessageType.CALL, self._seqid)
2777
    args = getAllBanners_args()
2778
    args.write(self._oprot)
2779
    self._oprot.writeMessageEnd()
2780
    self._oprot.trans.flush()
2781
 
2782
  def recv_getAllBanners(self, ):
2783
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2784
    if mtype == TMessageType.EXCEPTION:
2785
      x = TApplicationException()
2786
      x.read(self._iprot)
2787
      self._iprot.readMessageEnd()
2788
      raise x
2789
    result = getAllBanners_result()
2790
    result.read(self._iprot)
2791
    self._iprot.readMessageEnd()
2792
    if result.success is not None:
2793
      return result.success
2794
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBanners failed: unknown result");
2795
 
9155 kshitij.so 2796
  def deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2797
    """
2798
    Parameters:
2799
     - bannerName
9155 kshitij.so 2800
     - bannerType
6850 kshitij.so 2801
    """
9155 kshitij.so 2802
    self.send_deleteBanner(bannerName, bannerType)
6850 kshitij.so 2803
    return self.recv_deleteBanner()
2804
 
9155 kshitij.so 2805
  def send_deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2806
    self._oprot.writeMessageBegin('deleteBanner', TMessageType.CALL, self._seqid)
2807
    args = deleteBanner_args()
2808
    args.bannerName = bannerName
9155 kshitij.so 2809
    args.bannerType = bannerType
6850 kshitij.so 2810
    args.write(self._oprot)
2811
    self._oprot.writeMessageEnd()
2812
    self._oprot.trans.flush()
2813
 
2814
  def recv_deleteBanner(self, ):
2815
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2816
    if mtype == TMessageType.EXCEPTION:
2817
      x = TApplicationException()
2818
      x.read(self._iprot)
2819
      self._iprot.readMessageEnd()
2820
      raise x
2821
    result = deleteBanner_result()
2822
    result.read(self._iprot)
2823
    self._iprot.readMessageEnd()
2824
    if result.success is not None:
2825
      return result.success
2826
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBanner failed: unknown result");
2827
 
9155 kshitij.so 2828
  def getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2829
    """
2830
    Parameters:
2831
     - bannerName
9155 kshitij.so 2832
     - bannerType
6850 kshitij.so 2833
    """
9155 kshitij.so 2834
    self.send_getBannerDetails(bannerName, bannerType)
6850 kshitij.so 2835
    return self.recv_getBannerDetails()
2836
 
9155 kshitij.so 2837
  def send_getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2838
    self._oprot.writeMessageBegin('getBannerDetails', TMessageType.CALL, self._seqid)
2839
    args = getBannerDetails_args()
2840
    args.bannerName = bannerName
9155 kshitij.so 2841
    args.bannerType = bannerType
6850 kshitij.so 2842
    args.write(self._oprot)
2843
    self._oprot.writeMessageEnd()
2844
    self._oprot.trans.flush()
2845
 
2846
  def recv_getBannerDetails(self, ):
2847
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2848
    if mtype == TMessageType.EXCEPTION:
2849
      x = TApplicationException()
2850
      x.read(self._iprot)
2851
      self._iprot.readMessageEnd()
2852
      raise x
2853
    result = getBannerDetails_result()
2854
    result.read(self._iprot)
2855
    self._iprot.readMessageEnd()
2856
    if result.success is not None:
2857
      return result.success
2858
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerDetails failed: unknown result");
2859
 
2860
  def getActiveBanners(self, ):
2861
    self.send_getActiveBanners()
2862
    return self.recv_getActiveBanners()
2863
 
2864
  def send_getActiveBanners(self, ):
2865
    self._oprot.writeMessageBegin('getActiveBanners', TMessageType.CALL, self._seqid)
2866
    args = getActiveBanners_args()
2867
    args.write(self._oprot)
2868
    self._oprot.writeMessageEnd()
2869
    self._oprot.trans.flush()
2870
 
2871
  def recv_getActiveBanners(self, ):
2872
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2873
    if mtype == TMessageType.EXCEPTION:
2874
      x = TApplicationException()
2875
      x.read(self._iprot)
2876
      self._iprot.readMessageEnd()
2877
      raise x
2878
    result = getActiveBanners_result()
2879
    result.read(self._iprot)
2880
    self._iprot.readMessageEnd()
2881
    if result.success is not None:
2882
      return result.success
2883
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
2884
 
8579 kshitij.so 2885
  def addBannerMap(self, bannerMaps):
6849 kshitij.so 2886
    """
2887
    Parameters:
8579 kshitij.so 2888
     - bannerMaps
6849 kshitij.so 2889
    """
8579 kshitij.so 2890
    self.send_addBannerMap(bannerMaps)
6849 kshitij.so 2891
    return self.recv_addBannerMap()
2892
 
8579 kshitij.so 2893
  def send_addBannerMap(self, bannerMaps):
6849 kshitij.so 2894
    self._oprot.writeMessageBegin('addBannerMap', TMessageType.CALL, self._seqid)
2895
    args = addBannerMap_args()
8579 kshitij.so 2896
    args.bannerMaps = bannerMaps
6849 kshitij.so 2897
    args.write(self._oprot)
2898
    self._oprot.writeMessageEnd()
2899
    self._oprot.trans.flush()
2900
 
2901
  def recv_addBannerMap(self, ):
2902
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2903
    if mtype == TMessageType.EXCEPTION:
2904
      x = TApplicationException()
2905
      x.read(self._iprot)
2906
      self._iprot.readMessageEnd()
2907
      raise x
2908
    result = addBannerMap_result()
2909
    result.read(self._iprot)
2910
    self._iprot.readMessageEnd()
2911
    if result.success is not None:
2912
      return result.success
2913
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
2914
 
8579 kshitij.so 2915
  def updateBannerMap(self, bannerMap):
2916
    """
2917
    Parameters:
2918
     - bannerMap
2919
    """
2920
    self.send_updateBannerMap(bannerMap)
2921
    return self.recv_updateBannerMap()
2922
 
2923
  def send_updateBannerMap(self, bannerMap):
2924
    self._oprot.writeMessageBegin('updateBannerMap', TMessageType.CALL, self._seqid)
2925
    args = updateBannerMap_args()
2926
    args.bannerMap = bannerMap
2927
    args.write(self._oprot)
2928
    self._oprot.writeMessageEnd()
2929
    self._oprot.trans.flush()
2930
 
2931
  def recv_updateBannerMap(self, ):
2932
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2933
    if mtype == TMessageType.EXCEPTION:
2934
      x = TApplicationException()
2935
      x.read(self._iprot)
2936
      self._iprot.readMessageEnd()
2937
      raise x
2938
    result = updateBannerMap_result()
2939
    result.read(self._iprot)
2940
    self._iprot.readMessageEnd()
2941
    if result.success is not None:
2942
      return result.success
2943
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBannerMap failed: unknown result");
2944
 
6849 kshitij.so 2945
  def deleteBannerMap(self, bannerName):
2946
    """
2947
    Parameters:
2948
     - bannerName
2949
    """
2950
    self.send_deleteBannerMap(bannerName)
2951
    return self.recv_deleteBannerMap()
2952
 
2953
  def send_deleteBannerMap(self, bannerName):
2954
    self._oprot.writeMessageBegin('deleteBannerMap', TMessageType.CALL, self._seqid)
2955
    args = deleteBannerMap_args()
2956
    args.bannerName = bannerName
2957
    args.write(self._oprot)
2958
    self._oprot.writeMessageEnd()
2959
    self._oprot.trans.flush()
2960
 
2961
  def recv_deleteBannerMap(self, ):
2962
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2963
    if mtype == TMessageType.EXCEPTION:
2964
      x = TApplicationException()
2965
      x.read(self._iprot)
2966
      self._iprot.readMessageEnd()
2967
      raise x
2968
    result = deleteBannerMap_result()
2969
    result.read(self._iprot)
2970
    self._iprot.readMessageEnd()
2971
    if result.success is not None:
2972
      return result.success
2973
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBannerMap failed: unknown result");
2974
 
9155 kshitij.so 2975
  def getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 2976
    """
2977
    Parameters:
2978
     - bannerName
9155 kshitij.so 2979
     - bannerType
6849 kshitij.so 2980
    """
9155 kshitij.so 2981
    self.send_getBannerMapDetails(bannerName, bannerType)
6849 kshitij.so 2982
    return self.recv_getBannerMapDetails()
2983
 
9155 kshitij.so 2984
  def send_getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 2985
    self._oprot.writeMessageBegin('getBannerMapDetails', TMessageType.CALL, self._seqid)
2986
    args = getBannerMapDetails_args()
2987
    args.bannerName = bannerName
9155 kshitij.so 2988
    args.bannerType = bannerType
6849 kshitij.so 2989
    args.write(self._oprot)
2990
    self._oprot.writeMessageEnd()
2991
    self._oprot.trans.flush()
2992
 
2993
  def recv_getBannerMapDetails(self, ):
2994
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2995
    if mtype == TMessageType.EXCEPTION:
2996
      x = TApplicationException()
2997
      x.read(self._iprot)
2998
      self._iprot.readMessageEnd()
2999
      raise x
3000
    result = getBannerMapDetails_result()
3001
    result.read(self._iprot)
3002
    self._iprot.readMessageEnd()
3003
    if result.success is not None:
3004
      return result.success
3005
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
3006
 
8579 kshitij.so 3007
  def addBannerUri(self, bannerUriMappings):
3008
    """
3009
    Parameters:
3010
     - bannerUriMappings
3011
    """
3012
    self.send_addBannerUri(bannerUriMappings)
3013
    self.recv_addBannerUri()
3014
 
3015
  def send_addBannerUri(self, bannerUriMappings):
3016
    self._oprot.writeMessageBegin('addBannerUri', TMessageType.CALL, self._seqid)
3017
    args = addBannerUri_args()
3018
    args.bannerUriMappings = bannerUriMappings
3019
    args.write(self._oprot)
3020
    self._oprot.writeMessageEnd()
3021
    self._oprot.trans.flush()
3022
 
3023
  def recv_addBannerUri(self, ):
3024
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3025
    if mtype == TMessageType.EXCEPTION:
3026
      x = TApplicationException()
3027
      x.read(self._iprot)
3028
      self._iprot.readMessageEnd()
3029
      raise x
3030
    result = addBannerUri_result()
3031
    result.read(self._iprot)
3032
    self._iprot.readMessageEnd()
3033
    return
3034
 
9155 kshitij.so 3035
  def getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 3036
    """
3037
    Parameters:
3038
     - bannerName
9155 kshitij.so 3039
     - bannerType
8579 kshitij.so 3040
    """
9155 kshitij.so 3041
    self.send_getUriMapping(bannerName, bannerType)
8579 kshitij.so 3042
    return self.recv_getUriMapping()
3043
 
9155 kshitij.so 3044
  def send_getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 3045
    self._oprot.writeMessageBegin('getUriMapping', TMessageType.CALL, self._seqid)
3046
    args = getUriMapping_args()
3047
    args.bannerName = bannerName
9155 kshitij.so 3048
    args.bannerType = bannerType
8579 kshitij.so 3049
    args.write(self._oprot)
3050
    self._oprot.writeMessageEnd()
3051
    self._oprot.trans.flush()
3052
 
3053
  def recv_getUriMapping(self, ):
3054
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3055
    if mtype == TMessageType.EXCEPTION:
3056
      x = TApplicationException()
3057
      x.read(self._iprot)
3058
      self._iprot.readMessageEnd()
3059
      raise x
3060
    result = getUriMapping_result()
3061
    result.read(self._iprot)
3062
    self._iprot.readMessageEnd()
3063
    if result.success is not None:
3064
      return result.success
3065
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUriMapping failed: unknown result");
3066
 
3067
  def addCampaign(self, campaign):
3068
    """
3069
    Parameters:
3070
     - campaign
3071
    """
3072
    self.send_addCampaign(campaign)
3073
    self.recv_addCampaign()
3074
 
3075
  def send_addCampaign(self, campaign):
3076
    self._oprot.writeMessageBegin('addCampaign', TMessageType.CALL, self._seqid)
3077
    args = addCampaign_args()
3078
    args.campaign = campaign
3079
    args.write(self._oprot)
3080
    self._oprot.writeMessageEnd()
3081
    self._oprot.trans.flush()
3082
 
3083
  def recv_addCampaign(self, ):
3084
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3085
    if mtype == TMessageType.EXCEPTION:
3086
      x = TApplicationException()
3087
      x.read(self._iprot)
3088
      self._iprot.readMessageEnd()
3089
      raise x
3090
    result = addCampaign_result()
3091
    result.read(self._iprot)
3092
    self._iprot.readMessageEnd()
3093
    return
3094
 
3095
  def getCampaigns(self, campaignName):
3096
    """
3097
    Parameters:
3098
     - campaignName
3099
    """
3100
    self.send_getCampaigns(campaignName)
3101
    return self.recv_getCampaigns()
3102
 
3103
  def send_getCampaigns(self, campaignName):
3104
    self._oprot.writeMessageBegin('getCampaigns', TMessageType.CALL, self._seqid)
3105
    args = getCampaigns_args()
3106
    args.campaignName = campaignName
3107
    args.write(self._oprot)
3108
    self._oprot.writeMessageEnd()
3109
    self._oprot.trans.flush()
3110
 
3111
  def recv_getCampaigns(self, ):
3112
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3113
    if mtype == TMessageType.EXCEPTION:
3114
      x = TApplicationException()
3115
      x.read(self._iprot)
3116
      self._iprot.readMessageEnd()
3117
      raise x
3118
    result = getCampaigns_result()
3119
    result.read(self._iprot)
3120
    self._iprot.readMessageEnd()
3121
    if result.success is not None:
3122
      return result.success
3123
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCampaigns failed: unknown result");
3124
 
3125
  def deleteCampaign(self, campaignId):
3126
    """
3127
    Parameters:
3128
     - campaignId
3129
    """
3130
    self.send_deleteCampaign(campaignId)
3131
    self.recv_deleteCampaign()
3132
 
3133
  def send_deleteCampaign(self, campaignId):
3134
    self._oprot.writeMessageBegin('deleteCampaign', TMessageType.CALL, self._seqid)
3135
    args = deleteCampaign_args()
3136
    args.campaignId = campaignId
3137
    args.write(self._oprot)
3138
    self._oprot.writeMessageEnd()
3139
    self._oprot.trans.flush()
3140
 
3141
  def recv_deleteCampaign(self, ):
3142
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3143
    if mtype == TMessageType.EXCEPTION:
3144
      x = TApplicationException()
3145
      x.read(self._iprot)
3146
      self._iprot.readMessageEnd()
3147
      raise x
3148
    result = deleteCampaign_result()
3149
    result.read(self._iprot)
3150
    self._iprot.readMessageEnd()
3151
    return
3152
 
3153
  def getAllCampaigns(self, ):
3154
    self.send_getAllCampaigns()
3155
    return self.recv_getAllCampaigns()
3156
 
3157
  def send_getAllCampaigns(self, ):
3158
    self._oprot.writeMessageBegin('getAllCampaigns', TMessageType.CALL, self._seqid)
3159
    args = getAllCampaigns_args()
3160
    args.write(self._oprot)
3161
    self._oprot.writeMessageEnd()
3162
    self._oprot.trans.flush()
3163
 
3164
  def recv_getAllCampaigns(self, ):
3165
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3166
    if mtype == TMessageType.EXCEPTION:
3167
      x = TApplicationException()
3168
      x.read(self._iprot)
3169
      self._iprot.readMessageEnd()
3170
      raise x
3171
    result = getAllCampaigns_result()
3172
    result.read(self._iprot)
3173
    self._iprot.readMessageEnd()
3174
    if result.success is not None:
3175
      return result.success
3176
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCampaigns failed: unknown result");
3177
 
9155 kshitij.so 3178
  def getActiveBannersForMobileSite(self, ):
3179
    self.send_getActiveBannersForMobileSite()
3180
    return self.recv_getActiveBannersForMobileSite()
3181
 
3182
  def send_getActiveBannersForMobileSite(self, ):
3183
    self._oprot.writeMessageBegin('getActiveBannersForMobileSite', TMessageType.CALL, self._seqid)
3184
    args = getActiveBannersForMobileSite_args()
3185
    args.write(self._oprot)
3186
    self._oprot.writeMessageEnd()
3187
    self._oprot.trans.flush()
3188
 
3189
  def recv_getActiveBannersForMobileSite(self, ):
3190
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3191
    if mtype == TMessageType.EXCEPTION:
3192
      x = TApplicationException()
3193
      x.read(self._iprot)
3194
      self._iprot.readMessageEnd()
3195
      raise x
3196
    result = getActiveBannersForMobileSite_result()
3197
    result.read(self._iprot)
3198
    self._iprot.readMessageEnd()
3199
    if result.success is not None:
3200
      return result.success
3201
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBannersForMobileSite failed: unknown result");
3202
 
5944 mandeep.dh 3203
  def deleteSimilarItem(self, itemId, catalogItemId):
3204
    """
3205
    Delete similar item.
3206
 
3207
    Parameters:
3208
     - itemId
3209
     - catalogItemId
3210
    """
3211
    self.send_deleteSimilarItem(itemId, catalogItemId)
3212
    return self.recv_deleteSimilarItem()
3213
 
3214
  def send_deleteSimilarItem(self, itemId, catalogItemId):
3215
    self._oprot.writeMessageBegin('deleteSimilarItem', TMessageType.CALL, self._seqid)
3216
    args = deleteSimilarItem_args()
3217
    args.itemId = itemId
3218
    args.catalogItemId = catalogItemId
3219
    args.write(self._oprot)
3220
    self._oprot.writeMessageEnd()
3221
    self._oprot.trans.flush()
3222
 
3223
  def recv_deleteSimilarItem(self, ):
3224
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3225
    if mtype == TMessageType.EXCEPTION:
3226
      x = TApplicationException()
3227
      x.read(self._iprot)
3228
      self._iprot.readMessageEnd()
3229
      raise x
3230
    result = deleteSimilarItem_result()
3231
    result.read(self._iprot)
3232
    self._iprot.readMessageEnd()
3233
    if result.success is not None:
3234
      return result.success
3235
    if result.cex is not None:
3236
      raise result.cex
3237
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteSimilarItem failed: unknown result");
3238
 
3239
  def checkSimilarItem(self, brand, modelNumber, modelName, color):
3240
    """
3241
    Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
3242
    If yes, returns the itemId else returns 0
3243
 
3244
    Parameters:
3245
     - brand
3246
     - modelNumber
3247
     - modelName
3248
     - color
3249
    """
3250
    self.send_checkSimilarItem(brand, modelNumber, modelName, color)
3251
    return self.recv_checkSimilarItem()
3252
 
3253
  def send_checkSimilarItem(self, brand, modelNumber, modelName, color):
3254
    self._oprot.writeMessageBegin('checkSimilarItem', TMessageType.CALL, self._seqid)
3255
    args = checkSimilarItem_args()
3256
    args.brand = brand
3257
    args.modelNumber = modelNumber
3258
    args.modelName = modelName
3259
    args.color = color
3260
    args.write(self._oprot)
3261
    self._oprot.writeMessageEnd()
3262
    self._oprot.trans.flush()
3263
 
3264
  def recv_checkSimilarItem(self, ):
3265
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3266
    if mtype == TMessageType.EXCEPTION:
3267
      x = TApplicationException()
3268
      x.read(self._iprot)
3269
      self._iprot.readMessageEnd()
3270
      raise x
3271
    result = checkSimilarItem_result()
3272
    result.read(self._iprot)
3273
    self._iprot.readMessageEnd()
3274
    if result.success is not None:
3275
      return result.success
3276
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkSimilarItem failed: unknown result");
3277
 
3278
  def validateRiskyStatus(self, itemId):
3279
    """
3280
    Check wether item is risky and change status if inventory is not available for risky items
3281
 
3282
    Parameters:
3283
     - itemId
3284
    """
3285
    self.send_validateRiskyStatus(itemId)
3286
    self.recv_validateRiskyStatus()
3287
 
3288
  def send_validateRiskyStatus(self, itemId):
3289
    self._oprot.writeMessageBegin('validateRiskyStatus', TMessageType.CALL, self._seqid)
3290
    args = validateRiskyStatus_args()
3291
    args.itemId = itemId
3292
    args.write(self._oprot)
3293
    self._oprot.writeMessageEnd()
3294
    self._oprot.trans.flush()
3295
 
3296
  def recv_validateRiskyStatus(self, ):
3297
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3298
    if mtype == TMessageType.EXCEPTION:
3299
      x = TApplicationException()
3300
      x.read(self._iprot)
3301
      self._iprot.readMessageEnd()
3302
      raise x
3303
    result = validateRiskyStatus_result()
3304
    result.read(self._iprot)
3305
    self._iprot.readMessageEnd()
3306
    return
3307
 
3308
  def changeItemRiskyFlag(self, itemId, risky):
3309
    """
3310
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
3311
 
3312
    Parameters:
3313
     - itemId
3314
     - risky
3315
    """
3316
    self.send_changeItemRiskyFlag(itemId, risky)
3317
    self.recv_changeItemRiskyFlag()
3318
 
3319
  def send_changeItemRiskyFlag(self, itemId, risky):
3320
    self._oprot.writeMessageBegin('changeItemRiskyFlag', TMessageType.CALL, self._seqid)
3321
    args = changeItemRiskyFlag_args()
3322
    args.itemId = itemId
3323
    args.risky = risky
3324
    args.write(self._oprot)
3325
    self._oprot.writeMessageEnd()
3326
    self._oprot.trans.flush()
3327
 
3328
  def recv_changeItemRiskyFlag(self, ):
3329
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3330
    if mtype == TMessageType.EXCEPTION:
3331
      x = TApplicationException()
3332
      x.read(self._iprot)
3333
      self._iprot.readMessageEnd()
3334
      raise x
3335
    result = changeItemRiskyFlag_result()
3336
    result.read(self._iprot)
3337
    self._iprot.readMessageEnd()
3338
    return
3339
 
3340
  def getItemsByRiskyFlag(self, ):
3341
    """
3342
    Returns list of items marked as risky.
3343
    """
3344
    self.send_getItemsByRiskyFlag()
3345
    return self.recv_getItemsByRiskyFlag()
3346
 
3347
  def send_getItemsByRiskyFlag(self, ):
3348
    self._oprot.writeMessageBegin('getItemsByRiskyFlag', TMessageType.CALL, self._seqid)
3349
    args = getItemsByRiskyFlag_args()
3350
    args.write(self._oprot)
3351
    self._oprot.writeMessageEnd()
3352
    self._oprot.trans.flush()
3353
 
3354
  def recv_getItemsByRiskyFlag(self, ):
3355
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3356
    if mtype == TMessageType.EXCEPTION:
3357
      x = TApplicationException()
3358
      x.read(self._iprot)
3359
      self._iprot.readMessageEnd()
3360
      raise x
3361
    result = getItemsByRiskyFlag_result()
3362
    result.read(self._iprot)
3363
    self._iprot.readMessageEnd()
3364
    if result.success is not None:
3365
      return result.success
3366
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByRiskyFlag failed: unknown result");
3367
 
3368
  def getItemsForMasterSheet(self, category, brand):
3369
    """
3370
    Returns list of items with any status except PHASED_OUT and filtered by category, brand.
3371
 
3372
    Parameters:
3373
     - category
3374
     - brand
3375
    """
3376
    self.send_getItemsForMasterSheet(category, brand)
3377
    return self.recv_getItemsForMasterSheet()
3378
 
3379
  def send_getItemsForMasterSheet(self, category, brand):
3380
    self._oprot.writeMessageBegin('getItemsForMasterSheet', TMessageType.CALL, self._seqid)
3381
    args = getItemsForMasterSheet_args()
3382
    args.category = category
3383
    args.brand = brand
3384
    args.write(self._oprot)
3385
    self._oprot.writeMessageEnd()
3386
    self._oprot.trans.flush()
3387
 
3388
  def recv_getItemsForMasterSheet(self, ):
3389
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3390
    if mtype == TMessageType.EXCEPTION:
3391
      x = TApplicationException()
3392
      x.read(self._iprot)
3393
      self._iprot.readMessageEnd()
3394
      raise x
3395
    result = getItemsForMasterSheet_result()
3396
    result.read(self._iprot)
3397
    self._iprot.readMessageEnd()
3398
    if result.success is not None:
3399
      return result.success
3400
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsForMasterSheet failed: unknown result");
3401
 
3402
  def getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3403
    """
3404
    Returns list of catalog ids of items with same similarity index as of the given itemId
3405
 
3406
    Parameters:
3407
     - beginIndex
3408
     - totalItems
3409
     - itemId
3410
    """
3411
    self.send_getSimilarItemsCatalogIds(beginIndex, totalItems, itemId)
3412
    return self.recv_getSimilarItemsCatalogIds()
3413
 
3414
  def send_getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3415
    self._oprot.writeMessageBegin('getSimilarItemsCatalogIds', TMessageType.CALL, self._seqid)
3416
    args = getSimilarItemsCatalogIds_args()
3417
    args.beginIndex = beginIndex
3418
    args.totalItems = totalItems
3419
    args.itemId = itemId
3420
    args.write(self._oprot)
3421
    self._oprot.writeMessageEnd()
3422
    self._oprot.trans.flush()
3423
 
3424
  def recv_getSimilarItemsCatalogIds(self, ):
3425
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3426
    if mtype == TMessageType.EXCEPTION:
3427
      x = TApplicationException()
3428
      x.read(self._iprot)
3429
      self._iprot.readMessageEnd()
3430
      raise x
3431
    result = getSimilarItemsCatalogIds_result()
3432
    result.read(self._iprot)
3433
    self._iprot.readMessageEnd()
3434
    if result.success is not None:
3435
      return result.success
3436
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSimilarItemsCatalogIds failed: unknown result");
3437
 
3438
  def addProductNotification(self, itemId, email):
3439
    """
3440
    Add user requests for out of stock items. Once user will ask for notify me an entry will
3441
 
3442
    Parameters:
3443
     - itemId
3444
     - email
3445
    """
3446
    self.send_addProductNotification(itemId, email)
3447
    return self.recv_addProductNotification()
3448
 
3449
  def send_addProductNotification(self, itemId, email):
3450
    self._oprot.writeMessageBegin('addProductNotification', TMessageType.CALL, self._seqid)
3451
    args = addProductNotification_args()
3452
    args.itemId = itemId
3453
    args.email = email
3454
    args.write(self._oprot)
3455
    self._oprot.writeMessageEnd()
3456
    self._oprot.trans.flush()
3457
 
3458
  def recv_addProductNotification(self, ):
3459
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3460
    if mtype == TMessageType.EXCEPTION:
3461
      x = TApplicationException()
3462
      x.read(self._iprot)
3463
      self._iprot.readMessageEnd()
3464
      raise x
3465
    result = addProductNotification_result()
3466
    result.read(self._iprot)
3467
    self._iprot.readMessageEnd()
3468
    if result.success is not None:
3469
      return result.success
3470
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductNotification failed: unknown result");
3471
 
3472
  def sendProductNotifications(self, ):
3473
    """
3474
    Send the product notifications to the users for items which has stock.
3475
    """
3476
    self.send_sendProductNotifications()
3477
    return self.recv_sendProductNotifications()
3478
 
3479
  def send_sendProductNotifications(self, ):
3480
    self._oprot.writeMessageBegin('sendProductNotifications', TMessageType.CALL, self._seqid)
3481
    args = sendProductNotifications_args()
3482
    args.write(self._oprot)
3483
    self._oprot.writeMessageEnd()
3484
    self._oprot.trans.flush()
3485
 
3486
  def recv_sendProductNotifications(self, ):
3487
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3488
    if mtype == TMessageType.EXCEPTION:
3489
      x = TApplicationException()
3490
      x.read(self._iprot)
3491
      self._iprot.readMessageEnd()
3492
      raise x
3493
    result = sendProductNotifications_result()
3494
    result.read(self._iprot)
3495
    self._iprot.readMessageEnd()
3496
    if result.success is not None:
3497
      return result.success
3498
    raise TApplicationException(TApplicationException.MISSING_RESULT, "sendProductNotifications failed: unknown result");
3499
 
3500
  def getAllBrandsByCategory(self, categoryId):
3501
    """
3502
    Returns list of brand names for a given category Id
3503
 
3504
    Parameters:
3505
     - categoryId
3506
    """
3507
    self.send_getAllBrandsByCategory(categoryId)
3508
    return self.recv_getAllBrandsByCategory()
3509
 
3510
  def send_getAllBrandsByCategory(self, categoryId):
3511
    self._oprot.writeMessageBegin('getAllBrandsByCategory', TMessageType.CALL, self._seqid)
3512
    args = getAllBrandsByCategory_args()
3513
    args.categoryId = categoryId
3514
    args.write(self._oprot)
3515
    self._oprot.writeMessageEnd()
3516
    self._oprot.trans.flush()
3517
 
3518
  def recv_getAllBrandsByCategory(self, ):
3519
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3520
    if mtype == TMessageType.EXCEPTION:
3521
      x = TApplicationException()
3522
      x.read(self._iprot)
3523
      self._iprot.readMessageEnd()
3524
      raise x
3525
    result = getAllBrandsByCategory_result()
3526
    result.read(self._iprot)
3527
    self._iprot.readMessageEnd()
3528
    if result.success is not None:
3529
      return result.success
3530
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrandsByCategory failed: unknown result");
3531
 
3532
  def getAllBrands(self, ):
3533
    """
3534
    Returns list of brand names
3535
    """
3536
    self.send_getAllBrands()
3537
    return self.recv_getAllBrands()
3538
 
3539
  def send_getAllBrands(self, ):
3540
    self._oprot.writeMessageBegin('getAllBrands', TMessageType.CALL, self._seqid)
3541
    args = getAllBrands_args()
3542
    args.write(self._oprot)
3543
    self._oprot.writeMessageEnd()
3544
    self._oprot.trans.flush()
3545
 
3546
  def recv_getAllBrands(self, ):
3547
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3548
    if mtype == TMessageType.EXCEPTION:
3549
      x = TApplicationException()
3550
      x.read(self._iprot)
3551
      self._iprot.readMessageEnd()
3552
      raise x
3553
    result = getAllBrands_result()
3554
    result.read(self._iprot)
3555
    self._iprot.readMessageEnd()
3556
    if result.success is not None:
3557
      return result.success
3558
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrands failed: unknown result");
3559
 
3560
  def getAllSources(self, ):
3561
    """
3562
    Return list of all sources
3563
    """
3564
    self.send_getAllSources()
3565
    return self.recv_getAllSources()
3566
 
3567
  def send_getAllSources(self, ):
3568
    self._oprot.writeMessageBegin('getAllSources', TMessageType.CALL, self._seqid)
3569
    args = getAllSources_args()
3570
    args.write(self._oprot)
3571
    self._oprot.writeMessageEnd()
3572
    self._oprot.trans.flush()
3573
 
3574
  def recv_getAllSources(self, ):
3575
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3576
    if mtype == TMessageType.EXCEPTION:
3577
      x = TApplicationException()
3578
      x.read(self._iprot)
3579
      self._iprot.readMessageEnd()
3580
      raise x
3581
    result = getAllSources_result()
3582
    result.read(self._iprot)
3583
    self._iprot.readMessageEnd()
3584
    if result.success is not None:
3585
      return result.success
3586
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSources failed: unknown result");
3587
 
3588
  def getItemPricingBySource(self, itemId, sourceId):
3589
    """
3590
    Returns the pricing information of an item. If no information is found, exception will be thrown.
3591
 
3592
    Parameters:
3593
     - itemId
3594
     - sourceId
3595
    """
3596
    self.send_getItemPricingBySource(itemId, sourceId)
3597
    return self.recv_getItemPricingBySource()
3598
 
3599
  def send_getItemPricingBySource(self, itemId, sourceId):
3600
    self._oprot.writeMessageBegin('getItemPricingBySource', TMessageType.CALL, self._seqid)
3601
    args = getItemPricingBySource_args()
3602
    args.itemId = itemId
3603
    args.sourceId = sourceId
3604
    args.write(self._oprot)
3605
    self._oprot.writeMessageEnd()
3606
    self._oprot.trans.flush()
3607
 
3608
  def recv_getItemPricingBySource(self, ):
3609
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3610
    if mtype == TMessageType.EXCEPTION:
3611
      x = TApplicationException()
3612
      x.read(self._iprot)
3613
      self._iprot.readMessageEnd()
3614
      raise x
3615
    result = getItemPricingBySource_result()
3616
    result.read(self._iprot)
3617
    self._iprot.readMessageEnd()
3618
    if result.success is not None:
3619
      return result.success
3620
    if result.cex is not None:
3621
      raise result.cex
3622
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemPricingBySource failed: unknown result");
3623
 
3624
  def addSourceItemPricing(self, sourceItemPricing):
3625
    """
3626
    Adds prices to be displayed corresponding to the item if user comes from a source.
3627
    If item is not found or source is not found, it will throw exception.
3628
 
3629
    Parameters:
3630
     - sourceItemPricing
3631
    """
3632
    self.send_addSourceItemPricing(sourceItemPricing)
3633
    self.recv_addSourceItemPricing()
3634
 
3635
  def send_addSourceItemPricing(self, sourceItemPricing):
3636
    self._oprot.writeMessageBegin('addSourceItemPricing', TMessageType.CALL, self._seqid)
3637
    args = addSourceItemPricing_args()
3638
    args.sourceItemPricing = sourceItemPricing
3639
    args.write(self._oprot)
3640
    self._oprot.writeMessageEnd()
3641
    self._oprot.trans.flush()
3642
 
3643
  def recv_addSourceItemPricing(self, ):
3644
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3645
    if mtype == TMessageType.EXCEPTION:
3646
      x = TApplicationException()
3647
      x.read(self._iprot)
3648
      self._iprot.readMessageEnd()
3649
      raise x
3650
    result = addSourceItemPricing_result()
3651
    result.read(self._iprot)
3652
    self._iprot.readMessageEnd()
3653
    if result.cex is not None:
3654
      raise result.cex
3655
    return
3656
 
3657
  def getAllSourcePricing(self, itemId):
3658
    """
3659
    Returns the list of source pricing information of an item.
3660
    Raises an exception if item not found corresponding to itemId
3661
 
3662
    Parameters:
3663
     - itemId
3664
    """
3665
    self.send_getAllSourcePricing(itemId)
3666
    return self.recv_getAllSourcePricing()
3667
 
3668
  def send_getAllSourcePricing(self, itemId):
3669
    self._oprot.writeMessageBegin('getAllSourcePricing', TMessageType.CALL, self._seqid)
3670
    args = getAllSourcePricing_args()
3671
    args.itemId = itemId
3672
    args.write(self._oprot)
3673
    self._oprot.writeMessageEnd()
3674
    self._oprot.trans.flush()
3675
 
3676
  def recv_getAllSourcePricing(self, ):
3677
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3678
    if mtype == TMessageType.EXCEPTION:
3679
      x = TApplicationException()
3680
      x.read(self._iprot)
3681
      self._iprot.readMessageEnd()
3682
      raise x
3683
    result = getAllSourcePricing_result()
3684
    result.read(self._iprot)
3685
    self._iprot.readMessageEnd()
3686
    if result.success is not None:
3687
      return result.success
3688
    if result.cex is not None:
3689
      raise result.cex
3690
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSourcePricing failed: unknown result");
3691
 
3692
  def getItemForSource(self, item_id, sourceId):
3693
    """
3694
    Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
3695
 
3696
    Parameters:
3697
     - item_id
3698
     - sourceId
3699
    """
3700
    self.send_getItemForSource(item_id, sourceId)
3701
    return self.recv_getItemForSource()
3702
 
3703
  def send_getItemForSource(self, item_id, sourceId):
3704
    self._oprot.writeMessageBegin('getItemForSource', TMessageType.CALL, self._seqid)
3705
    args = getItemForSource_args()
3706
    args.item_id = item_id
3707
    args.sourceId = sourceId
3708
    args.write(self._oprot)
3709
    self._oprot.writeMessageEnd()
3710
    self._oprot.trans.flush()
3711
 
3712
  def recv_getItemForSource(self, ):
3713
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3714
    if mtype == TMessageType.EXCEPTION:
3715
      x = TApplicationException()
3716
      x.read(self._iprot)
3717
      self._iprot.readMessageEnd()
3718
      raise x
3719
    result = getItemForSource_result()
3720
    result.read(self._iprot)
3721
    self._iprot.readMessageEnd()
3722
    if result.success is not None:
3723
      return result.success
3724
    if result.cex is not None:
3725
      raise result.cex
3726
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemForSource failed: unknown result");
3727
 
3728
  def searchItemsInRange(self, searchTerms, offset, limit):
3729
    """
3730
    Searches items matching the the given terms in the catalog and returns results within the specified range.
3731
 
3732
    Parameters:
3733
     - searchTerms
3734
     - offset
3735
     - limit
3736
    """
3737
    self.send_searchItemsInRange(searchTerms, offset, limit)
3738
    return self.recv_searchItemsInRange()
3739
 
3740
  def send_searchItemsInRange(self, searchTerms, offset, limit):
3741
    self._oprot.writeMessageBegin('searchItemsInRange', TMessageType.CALL, self._seqid)
3742
    args = searchItemsInRange_args()
3743
    args.searchTerms = searchTerms
3744
    args.offset = offset
3745
    args.limit = limit
3746
    args.write(self._oprot)
3747
    self._oprot.writeMessageEnd()
3748
    self._oprot.trans.flush()
3749
 
3750
  def recv_searchItemsInRange(self, ):
3751
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3752
    if mtype == TMessageType.EXCEPTION:
3753
      x = TApplicationException()
3754
      x.read(self._iprot)
3755
      self._iprot.readMessageEnd()
3756
      raise x
3757
    result = searchItemsInRange_result()
3758
    result.read(self._iprot)
3759
    self._iprot.readMessageEnd()
3760
    if result.success is not None:
3761
      return result.success
3762
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchItemsInRange failed: unknown result");
3763
 
3764
  def getSearchResultCount(self, searchTerms):
3765
    """
3766
    Gets the count of search results for the given search terms so that the user can go through all the pages.
3767
 
3768
    Parameters:
3769
     - searchTerms
3770
    """
3771
    self.send_getSearchResultCount(searchTerms)
3772
    return self.recv_getSearchResultCount()
3773
 
3774
  def send_getSearchResultCount(self, searchTerms):
3775
    self._oprot.writeMessageBegin('getSearchResultCount', TMessageType.CALL, self._seqid)
3776
    args = getSearchResultCount_args()
3777
    args.searchTerms = searchTerms
3778
    args.write(self._oprot)
3779
    self._oprot.writeMessageEnd()
3780
    self._oprot.trans.flush()
3781
 
3782
  def recv_getSearchResultCount(self, ):
3783
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3784
    if mtype == TMessageType.EXCEPTION:
3785
      x = TApplicationException()
3786
      x.read(self._iprot)
3787
      self._iprot.readMessageEnd()
3788
      raise x
3789
    result = getSearchResultCount_result()
3790
    result.read(self._iprot)
3791
    self._iprot.readMessageEnd()
3792
    if result.success is not None:
3793
      return result.success
3794
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSearchResultCount failed: unknown result");
3795
 
3796
  def getProductNotifications(self, startDateTime):
3797
    """
3798
    Returns a list of product notifications added after a supplied datetime
3799
 
3800
    Parameters:
3801
     - startDateTime
3802
    """
3803
    self.send_getProductNotifications(startDateTime)
3804
    return self.recv_getProductNotifications()
3805
 
3806
  def send_getProductNotifications(self, startDateTime):
3807
    self._oprot.writeMessageBegin('getProductNotifications', TMessageType.CALL, self._seqid)
3808
    args = getProductNotifications_args()
3809
    args.startDateTime = startDateTime
3810
    args.write(self._oprot)
3811
    self._oprot.writeMessageEnd()
3812
    self._oprot.trans.flush()
3813
 
3814
  def recv_getProductNotifications(self, ):
3815
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3816
    if mtype == TMessageType.EXCEPTION:
3817
      x = TApplicationException()
3818
      x.read(self._iprot)
3819
      self._iprot.readMessageEnd()
3820
      raise x
3821
    result = getProductNotifications_result()
3822
    result.read(self._iprot)
3823
    self._iprot.readMessageEnd()
3824
    if result.success is not None:
3825
      return result.success
3826
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotifications failed: unknown result");
3827
 
7897 amar.kumar 3828
  def getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3829
    """
3830
    Returns a list of count of requests for product notification against each item
3831
 
3832
    Parameters:
3833
     - startDateTime
7897 amar.kumar 3834
     - categoryId
5944 mandeep.dh 3835
    """
7897 amar.kumar 3836
    self.send_getProductNotificationRequestCount(startDateTime, categoryId)
5944 mandeep.dh 3837
    return self.recv_getProductNotificationRequestCount()
3838
 
7897 amar.kumar 3839
  def send_getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3840
    self._oprot.writeMessageBegin('getProductNotificationRequestCount', TMessageType.CALL, self._seqid)
3841
    args = getProductNotificationRequestCount_args()
3842
    args.startDateTime = startDateTime
7897 amar.kumar 3843
    args.categoryId = categoryId
5944 mandeep.dh 3844
    args.write(self._oprot)
3845
    self._oprot.writeMessageEnd()
3846
    self._oprot.trans.flush()
3847
 
3848
  def recv_getProductNotificationRequestCount(self, ):
3849
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3850
    if mtype == TMessageType.EXCEPTION:
3851
      x = TApplicationException()
3852
      x.read(self._iprot)
3853
      self._iprot.readMessageEnd()
3854
      raise x
3855
    result = getProductNotificationRequestCount_result()
3856
    result.read(self._iprot)
3857
    self._iprot.readMessageEnd()
3858
    if result.success is not None:
3859
      return result.success
3860
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotificationRequestCount failed: unknown result");
3861
 
3862
  def addAuthorizationLog(self, itemId, username, reason):
3863
    """
3864
    This method adds a log to authorize table with Item Id, username who authorized the change, reason.
3865
 
3866
    Parameters:
3867
     - itemId
3868
     - username
3869
     - reason
3870
    """
3871
    self.send_addAuthorizationLog(itemId, username, reason)
3872
    return self.recv_addAuthorizationLog()
3873
 
3874
  def send_addAuthorizationLog(self, itemId, username, reason):
3875
    self._oprot.writeMessageBegin('addAuthorizationLog', TMessageType.CALL, self._seqid)
3876
    args = addAuthorizationLog_args()
3877
    args.itemId = itemId
3878
    args.username = username
3879
    args.reason = reason
3880
    args.write(self._oprot)
3881
    self._oprot.writeMessageEnd()
3882
    self._oprot.trans.flush()
3883
 
3884
  def recv_addAuthorizationLog(self, ):
3885
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3886
    if mtype == TMessageType.EXCEPTION:
3887
      x = TApplicationException()
3888
      x.read(self._iprot)
3889
      self._iprot.readMessageEnd()
3890
      raise x
3891
    result = addAuthorizationLog_result()
3892
    result.read(self._iprot)
3893
    self._iprot.readMessageEnd()
3894
    if result.success is not None:
3895
      return result.success
3896
    if result.cex is not None:
3897
      raise result.cex
3898
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAuthorizationLog failed: unknown result");
3899
 
3900
  def addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3901
    """
3902
    Parameters:
3903
     - catalog_item_id
3904
     - voucherType
3905
     - voucherAmount
3906
    """
3907
    self.send_addupdateVoucherForItem(catalog_item_id, voucherType, voucherAmount)
3908
    return self.recv_addupdateVoucherForItem()
3909
 
3910
  def send_addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3911
    self._oprot.writeMessageBegin('addupdateVoucherForItem', TMessageType.CALL, self._seqid)
3912
    args = addupdateVoucherForItem_args()
3913
    args.catalog_item_id = catalog_item_id
3914
    args.voucherType = voucherType
3915
    args.voucherAmount = voucherAmount
3916
    args.write(self._oprot)
3917
    self._oprot.writeMessageEnd()
3918
    self._oprot.trans.flush()
3919
 
3920
  def recv_addupdateVoucherForItem(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 = addupdateVoucherForItem_result()
3928
    result.read(self._iprot)
3929
    self._iprot.readMessageEnd()
3930
    if result.success is not None:
3931
      return result.success
3932
    if result.cex is not None:
3933
      raise result.cex
3934
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addupdateVoucherForItem failed: unknown result");
3935
 
3936
  def deleteVoucherForItem(self, catalog_item_id, voucherType):
3937
    """
3938
    Parameters:
3939
     - catalog_item_id
3940
     - voucherType
3941
    """
3942
    self.send_deleteVoucherForItem(catalog_item_id, voucherType)
3943
    return self.recv_deleteVoucherForItem()
3944
 
3945
  def send_deleteVoucherForItem(self, catalog_item_id, voucherType):
3946
    self._oprot.writeMessageBegin('deleteVoucherForItem', TMessageType.CALL, self._seqid)
3947
    args = deleteVoucherForItem_args()
3948
    args.catalog_item_id = catalog_item_id
3949
    args.voucherType = voucherType
3950
    args.write(self._oprot)
3951
    self._oprot.writeMessageEnd()
3952
    self._oprot.trans.flush()
3953
 
3954
  def recv_deleteVoucherForItem(self, ):
3955
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3956
    if mtype == TMessageType.EXCEPTION:
3957
      x = TApplicationException()
3958
      x.read(self._iprot)
3959
      self._iprot.readMessageEnd()
3960
      raise x
3961
    result = deleteVoucherForItem_result()
3962
    result.read(self._iprot)
3963
    self._iprot.readMessageEnd()
3964
    if result.success is not None:
3965
      return result.success
3966
    if result.cex is not None:
3967
      raise result.cex
3968
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteVoucherForItem failed: unknown result");
3969
 
3970
  def getVoucherAmount(self, itemId, voucherType):
3971
    """
3972
    Parameters:
3973
     - itemId
3974
     - voucherType
3975
    """
3976
    self.send_getVoucherAmount(itemId, voucherType)
3977
    return self.recv_getVoucherAmount()
3978
 
3979
  def send_getVoucherAmount(self, itemId, voucherType):
3980
    self._oprot.writeMessageBegin('getVoucherAmount', TMessageType.CALL, self._seqid)
3981
    args = getVoucherAmount_args()
3982
    args.itemId = itemId
3983
    args.voucherType = voucherType
3984
    args.write(self._oprot)
3985
    self._oprot.writeMessageEnd()
3986
    self._oprot.trans.flush()
3987
 
3988
  def recv_getVoucherAmount(self, ):
3989
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3990
    if mtype == TMessageType.EXCEPTION:
3991
      x = TApplicationException()
3992
      x.read(self._iprot)
3993
      self._iprot.readMessageEnd()
3994
      raise x
3995
    result = getVoucherAmount_result()
3996
    result.read(self._iprot)
3997
    self._iprot.readMessageEnd()
3998
    if result.success is not None:
3999
      return result.success
4000
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVoucherAmount failed: unknown result");
4001
 
4002
  def getAllItemVouchers(self, itemId):
4003
    """
4004
    Parameters:
4005
     - itemId
4006
    """
4007
    self.send_getAllItemVouchers(itemId)
4008
    return self.recv_getAllItemVouchers()
4009
 
4010
  def send_getAllItemVouchers(self, itemId):
4011
    self._oprot.writeMessageBegin('getAllItemVouchers', TMessageType.CALL, self._seqid)
4012
    args = getAllItemVouchers_args()
4013
    args.itemId = itemId
4014
    args.write(self._oprot)
4015
    self._oprot.writeMessageEnd()
4016
    self._oprot.trans.flush()
4017
 
4018
  def recv_getAllItemVouchers(self, ):
4019
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4020
    if mtype == TMessageType.EXCEPTION:
4021
      x = TApplicationException()
4022
      x.read(self._iprot)
4023
      self._iprot.readMessageEnd()
4024
      raise x
4025
    result = getAllItemVouchers_result()
4026
    result.read(self._iprot)
4027
    self._iprot.readMessageEnd()
4028
    if result.success is not None:
4029
      return result.success
4030
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemVouchers failed: unknown result");
4031
 
4032
  def isValidCatalogItemId(self, catalog_item_id):
4033
    """
4034
    Parameters:
4035
     - catalog_item_id
4036
    """
4037
    self.send_isValidCatalogItemId(catalog_item_id)
4038
    return self.recv_isValidCatalogItemId()
4039
 
4040
  def send_isValidCatalogItemId(self, catalog_item_id):
4041
    self._oprot.writeMessageBegin('isValidCatalogItemId', TMessageType.CALL, self._seqid)
4042
    args = isValidCatalogItemId_args()
4043
    args.catalog_item_id = catalog_item_id
4044
    args.write(self._oprot)
4045
    self._oprot.writeMessageEnd()
4046
    self._oprot.trans.flush()
4047
 
4048
  def recv_isValidCatalogItemId(self, ):
4049
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4050
    if mtype == TMessageType.EXCEPTION:
4051
      x = TApplicationException()
4052
      x.read(self._iprot)
4053
      self._iprot.readMessageEnd()
4054
      raise x
4055
    result = isValidCatalogItemId_result()
4056
    result.read(self._iprot)
4057
    self._iprot.readMessageEnd()
4058
    if result.success is not None:
4059
      return result.success
4060
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isValidCatalogItemId failed: unknown result");
4061
 
7330 amit.gupta 4062
  def getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 4063
    """
4064
    Parameters:
4065
     - itemId
7330 amit.gupta 4066
     - stateId
6039 amit.gupta 4067
     - price
4068
    """
7330 amit.gupta 4069
    self.send_getVatPercentageForItem(itemId, stateId, price)
6039 amit.gupta 4070
    return self.recv_getVatPercentageForItem()
5944 mandeep.dh 4071
 
7330 amit.gupta 4072
  def send_getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 4073
    self._oprot.writeMessageBegin('getVatPercentageForItem', TMessageType.CALL, self._seqid)
4074
    args = getVatPercentageForItem_args()
4075
    args.itemId = itemId
7330 amit.gupta 4076
    args.stateId = stateId
6039 amit.gupta 4077
    args.price = price
4078
    args.write(self._oprot)
4079
    self._oprot.writeMessageEnd()
4080
    self._oprot.trans.flush()
4081
 
4082
  def recv_getVatPercentageForItem(self, ):
4083
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4084
    if mtype == TMessageType.EXCEPTION:
4085
      x = TApplicationException()
4086
      x.read(self._iprot)
4087
      self._iprot.readMessageEnd()
4088
      raise x
4089
    result = getVatPercentageForItem_result()
4090
    result.read(self._iprot)
4091
    self._iprot.readMessageEnd()
4092
    if result.success is not None:
4093
      return result.success
7340 amit.gupta 4094
    if result.cex is not None:
4095
      raise result.cex
6039 amit.gupta 4096
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatPercentageForItem failed: unknown result");
4097
 
4098
  def getVatAmountForItem(self, itemId, price):
4099
    """
4100
    Parameters:
4101
     - itemId
4102
     - price
4103
    """
4104
    self.send_getVatAmountForItem(itemId, price)
4105
    return self.recv_getVatAmountForItem()
4106
 
4107
  def send_getVatAmountForItem(self, itemId, price):
4108
    self._oprot.writeMessageBegin('getVatAmountForItem', TMessageType.CALL, self._seqid)
4109
    args = getVatAmountForItem_args()
4110
    args.itemId = itemId
4111
    args.price = price
4112
    args.write(self._oprot)
4113
    self._oprot.writeMessageEnd()
4114
    self._oprot.trans.flush()
4115
 
4116
  def recv_getVatAmountForItem(self, ):
4117
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4118
    if mtype == TMessageType.EXCEPTION:
4119
      x = TApplicationException()
4120
      x.read(self._iprot)
4121
      self._iprot.readMessageEnd()
4122
      raise x
4123
    result = getVatAmountForItem_result()
4124
    result.read(self._iprot)
4125
    self._iprot.readMessageEnd()
4126
    if result.success is not None:
4127
      return result.success
4128
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatAmountForItem failed: unknown result");
4129
 
6531 vikram.rag 4130
  def getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4131
    """
4132
    Parameters:
4133
     - offset
4134
     - limit
4135
    """
4136
    self.send_getAllIgnoredInventoryUpdateItemsList(offset, limit)
4137
    return self.recv_getAllIgnoredInventoryUpdateItemsList()
6039 amit.gupta 4138
 
6531 vikram.rag 4139
  def send_getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4140
    self._oprot.writeMessageBegin('getAllIgnoredInventoryUpdateItemsList', TMessageType.CALL, self._seqid)
4141
    args = getAllIgnoredInventoryUpdateItemsList_args()
4142
    args.offset = offset
4143
    args.limit = limit
4144
    args.write(self._oprot)
4145
    self._oprot.writeMessageEnd()
4146
    self._oprot.trans.flush()
4147
 
4148
  def recv_getAllIgnoredInventoryUpdateItemsList(self, ):
4149
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4150
    if mtype == TMessageType.EXCEPTION:
4151
      x = TApplicationException()
4152
      x.read(self._iprot)
4153
      self._iprot.readMessageEnd()
4154
      raise x
4155
    result = getAllIgnoredInventoryUpdateItemsList_result()
4156
    result.read(self._iprot)
4157
    self._iprot.readMessageEnd()
4158
    if result.success is not None:
4159
      return result.success
4160
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllIgnoredInventoryUpdateItemsList failed: unknown result");
4161
 
6821 amar.kumar 4162
  def getAllAliveItems(self, ):
4163
    self.send_getAllAliveItems()
4164
    return self.recv_getAllAliveItems()
4165
 
4166
  def send_getAllAliveItems(self, ):
4167
    self._oprot.writeMessageBegin('getAllAliveItems', TMessageType.CALL, self._seqid)
4168
    args = getAllAliveItems_args()
4169
    args.write(self._oprot)
4170
    self._oprot.writeMessageEnd()
4171
    self._oprot.trans.flush()
4172
 
4173
  def recv_getAllAliveItems(self, ):
4174
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4175
    if mtype == TMessageType.EXCEPTION:
4176
      x = TApplicationException()
4177
      x.read(self._iprot)
4178
      self._iprot.readMessageEnd()
4179
      raise x
4180
    result = getAllAliveItems_result()
4181
    result.read(self._iprot)
4182
    self._iprot.readMessageEnd()
4183
    if result.success is not None:
4184
      return result.success
4185
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAliveItems failed: unknown result");
4186
 
6921 anupam.sin 4187
  def getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4188
    """
4189
    This method returns the insurance amount needed to insure the given item for a given quantity.
6531 vikram.rag 4190
 
6805 anupam.sin 4191
    Parameters:
4192
     - itemId
6921 anupam.sin 4193
     - price
6805 anupam.sin 4194
     - insurerId
4195
     - quantity
4196
    """
6921 anupam.sin 4197
    self.send_getInsuranceAmount(itemId, price, insurerId, quantity)
6805 anupam.sin 4198
    return self.recv_getInsuranceAmount()
4199
 
6921 anupam.sin 4200
  def send_getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4201
    self._oprot.writeMessageBegin('getInsuranceAmount', TMessageType.CALL, self._seqid)
4202
    args = getInsuranceAmount_args()
4203
    args.itemId = itemId
6921 anupam.sin 4204
    args.price = price
6805 anupam.sin 4205
    args.insurerId = insurerId
4206
    args.quantity = quantity
4207
    args.write(self._oprot)
4208
    self._oprot.writeMessageEnd()
4209
    self._oprot.trans.flush()
4210
 
4211
  def recv_getInsuranceAmount(self, ):
4212
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4213
    if mtype == TMessageType.EXCEPTION:
4214
      x = TApplicationException()
4215
      x.read(self._iprot)
4216
      self._iprot.readMessageEnd()
4217
      raise x
4218
    result = getInsuranceAmount_result()
4219
    result.read(self._iprot)
4220
    self._iprot.readMessageEnd()
4221
    if result.success is not None:
4222
      return result.success
4223
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsuranceAmount failed: unknown result");
4224
 
4225
  def getInsurer(self, insurerId):
4226
    """
4227
    Parameters:
4228
     - insurerId
4229
    """
4230
    self.send_getInsurer(insurerId)
4231
    return self.recv_getInsurer()
4232
 
4233
  def send_getInsurer(self, insurerId):
4234
    self._oprot.writeMessageBegin('getInsurer', TMessageType.CALL, self._seqid)
4235
    args = getInsurer_args()
4236
    args.insurerId = insurerId
4237
    args.write(self._oprot)
4238
    self._oprot.writeMessageEnd()
4239
    self._oprot.trans.flush()
4240
 
4241
  def recv_getInsurer(self, ):
4242
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4243
    if mtype == TMessageType.EXCEPTION:
4244
      x = TApplicationException()
4245
      x.read(self._iprot)
4246
      self._iprot.readMessageEnd()
4247
      raise x
4248
    result = getInsurer_result()
4249
    result.read(self._iprot)
4250
    self._iprot.readMessageEnd()
4251
    if result.success is not None:
4252
      return result.success
4253
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsurer failed: unknown result");
4254
 
6838 vikram.rag 4255
  def getAllInsurers(self, ):
4256
    self.send_getAllInsurers()
4257
    return self.recv_getAllInsurers()
6805 anupam.sin 4258
 
6838 vikram.rag 4259
  def send_getAllInsurers(self, ):
4260
    self._oprot.writeMessageBegin('getAllInsurers', TMessageType.CALL, self._seqid)
4261
    args = getAllInsurers_args()
4262
    args.write(self._oprot)
4263
    self._oprot.writeMessageEnd()
4264
    self._oprot.trans.flush()
4265
 
4266
  def recv_getAllInsurers(self, ):
4267
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4268
    if mtype == TMessageType.EXCEPTION:
4269
      x = TApplicationException()
4270
      x.read(self._iprot)
4271
      self._iprot.readMessageEnd()
4272
      raise x
4273
    result = getAllInsurers_result()
4274
    result.read(self._iprot)
4275
    self._iprot.readMessageEnd()
4276
    if result.success is not None:
4277
      return result.success
4278
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllInsurers failed: unknown result");
4279
 
6962 rajveer 4280
  def updateInsuranceDeclaredAmount(self, insurerId, amount):
4281
    """
4282
    Parameters:
4283
     - insurerId
4284
     - amount
4285
    """
4286
    self.send_updateInsuranceDeclaredAmount(insurerId, amount)
4287
    self.recv_updateInsuranceDeclaredAmount()
6838 vikram.rag 4288
 
6962 rajveer 4289
  def send_updateInsuranceDeclaredAmount(self, insurerId, amount):
4290
    self._oprot.writeMessageBegin('updateInsuranceDeclaredAmount', TMessageType.CALL, self._seqid)
4291
    args = updateInsuranceDeclaredAmount_args()
4292
    args.insurerId = insurerId
4293
    args.amount = amount
4294
    args.write(self._oprot)
4295
    self._oprot.writeMessageEnd()
4296
    self._oprot.trans.flush()
4297
 
4298
  def recv_updateInsuranceDeclaredAmount(self, ):
4299
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4300
    if mtype == TMessageType.EXCEPTION:
4301
      x = TApplicationException()
4302
      x.read(self._iprot)
4303
      self._iprot.readMessageEnd()
4304
      raise x
4305
    result = updateInsuranceDeclaredAmount_result()
4306
    result.read(self._iprot)
4307
    self._iprot.readMessageEnd()
4308
    return
4309
 
7190 amar.kumar 4310
  def getFreebieForItem(self, itemId):
4311
    """
4312
    Parameters:
4313
     - itemId
4314
    """
4315
    self.send_getFreebieForItem(itemId)
4316
    return self.recv_getFreebieForItem()
6962 rajveer 4317
 
7190 amar.kumar 4318
  def send_getFreebieForItem(self, itemId):
4319
    self._oprot.writeMessageBegin('getFreebieForItem', TMessageType.CALL, self._seqid)
4320
    args = getFreebieForItem_args()
4321
    args.itemId = itemId
4322
    args.write(self._oprot)
4323
    self._oprot.writeMessageEnd()
4324
    self._oprot.trans.flush()
4325
 
4326
  def recv_getFreebieForItem(self, ):
4327
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4328
    if mtype == TMessageType.EXCEPTION:
4329
      x = TApplicationException()
4330
      x.read(self._iprot)
4331
      self._iprot.readMessageEnd()
4332
      raise x
4333
    result = getFreebieForItem_result()
4334
    result.read(self._iprot)
4335
    self._iprot.readMessageEnd()
4336
    if result.success is not None:
4337
      return result.success
4338
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFreebieForItem failed: unknown result");
4339
 
4340
  def addOrUpdateFreebieForItem(self, freebieItem):
4341
    """
4342
    Parameters:
4343
     - freebieItem
4344
    """
4345
    self.send_addOrUpdateFreebieForItem(freebieItem)
4346
    self.recv_addOrUpdateFreebieForItem()
4347
 
4348
  def send_addOrUpdateFreebieForItem(self, freebieItem):
4349
    self._oprot.writeMessageBegin('addOrUpdateFreebieForItem', TMessageType.CALL, self._seqid)
4350
    args = addOrUpdateFreebieForItem_args()
4351
    args.freebieItem = freebieItem
4352
    args.write(self._oprot)
4353
    self._oprot.writeMessageEnd()
4354
    self._oprot.trans.flush()
4355
 
4356
  def recv_addOrUpdateFreebieForItem(self, ):
4357
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4358
    if mtype == TMessageType.EXCEPTION:
4359
      x = TApplicationException()
4360
      x.read(self._iprot)
4361
      self._iprot.readMessageEnd()
4362
      raise x
4363
    result = addOrUpdateFreebieForItem_result()
4364
    result.read(self._iprot)
4365
    self._iprot.readMessageEnd()
4366
    return
4367
 
7272 amit.gupta 4368
  def addOrUpdateBrandInfo(self, brandInfo):
4369
    """
4370
    Parameters:
4371
     - brandInfo
4372
    """
4373
    self.send_addOrUpdateBrandInfo(brandInfo)
4374
    self.recv_addOrUpdateBrandInfo()
4375
 
4376
  def send_addOrUpdateBrandInfo(self, brandInfo):
4377
    self._oprot.writeMessageBegin('addOrUpdateBrandInfo', TMessageType.CALL, self._seqid)
4378
    args = addOrUpdateBrandInfo_args()
4379
    args.brandInfo = brandInfo
4380
    args.write(self._oprot)
4381
    self._oprot.writeMessageEnd()
4382
    self._oprot.trans.flush()
4383
 
4384
  def recv_addOrUpdateBrandInfo(self, ):
4385
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4386
    if mtype == TMessageType.EXCEPTION:
4387
      x = TApplicationException()
4388
      x.read(self._iprot)
4389
      self._iprot.readMessageEnd()
4390
      raise x
4391
    result = addOrUpdateBrandInfo_result()
4392
    result.read(self._iprot)
4393
    self._iprot.readMessageEnd()
4394
    return
4395
 
4396
  def getBrandInfo(self, ):
4397
    self.send_getBrandInfo()
4398
    return self.recv_getBrandInfo()
4399
 
4400
  def send_getBrandInfo(self, ):
4401
    self._oprot.writeMessageBegin('getBrandInfo', TMessageType.CALL, self._seqid)
4402
    args = getBrandInfo_args()
4403
    args.write(self._oprot)
4404
    self._oprot.writeMessageEnd()
4405
    self._oprot.trans.flush()
4406
 
4407
  def recv_getBrandInfo(self, ):
4408
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4409
    if mtype == TMessageType.EXCEPTION:
4410
      x = TApplicationException()
4411
      x.read(self._iprot)
4412
      self._iprot.readMessageEnd()
4413
      raise x
4414
    result = getBrandInfo_result()
4415
    result.read(self._iprot)
4416
    self._iprot.readMessageEnd()
4417
    if result.success is not None:
4418
      return result.success
4419
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBrandInfo failed: unknown result");
4420
 
7256 rajveer 4421
  def getStorePricing(self, itemId):
4422
    """
4423
    Parameters:
4424
     - itemId
4425
    """
4426
    self.send_getStorePricing(itemId)
4427
    return self.recv_getStorePricing()
7190 amar.kumar 4428
 
7256 rajveer 4429
  def send_getStorePricing(self, itemId):
4430
    self._oprot.writeMessageBegin('getStorePricing', TMessageType.CALL, self._seqid)
4431
    args = getStorePricing_args()
4432
    args.itemId = itemId
4433
    args.write(self._oprot)
4434
    self._oprot.writeMessageEnd()
4435
    self._oprot.trans.flush()
4436
 
4437
  def recv_getStorePricing(self, ):
4438
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4439
    if mtype == TMessageType.EXCEPTION:
4440
      x = TApplicationException()
4441
      x.read(self._iprot)
4442
      self._iprot.readMessageEnd()
4443
      raise x
4444
    result = getStorePricing_result()
4445
    result.read(self._iprot)
4446
    self._iprot.readMessageEnd()
4447
    if result.success is not None:
4448
      return result.success
4449
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricing failed: unknown result");
4450
 
7306 rajveer 4451
  def getStorePricings(self, itemIds):
4452
    """
4453
    Parameters:
4454
     - itemIds
4455
    """
4456
    self.send_getStorePricings(itemIds)
4457
    return self.recv_getStorePricings()
4458
 
4459
  def send_getStorePricings(self, itemIds):
4460
    self._oprot.writeMessageBegin('getStorePricings', TMessageType.CALL, self._seqid)
4461
    args = getStorePricings_args()
4462
    args.itemIds = itemIds
4463
    args.write(self._oprot)
4464
    self._oprot.writeMessageEnd()
4465
    self._oprot.trans.flush()
4466
 
4467
  def recv_getStorePricings(self, ):
4468
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4469
    if mtype == TMessageType.EXCEPTION:
4470
      x = TApplicationException()
4471
      x.read(self._iprot)
4472
      self._iprot.readMessageEnd()
4473
      raise x
4474
    result = getStorePricings_result()
4475
    result.read(self._iprot)
4476
    self._iprot.readMessageEnd()
4477
    if result.success is not None:
4478
      return result.success
4479
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricings failed: unknown result");
4480
 
7382 rajveer 4481
  def updateStorePricing(self, sp, allColors):
7265 rajveer 4482
    """
4483
    Parameters:
4484
     - sp
7382 rajveer 4485
     - allColors
7265 rajveer 4486
    """
7382 rajveer 4487
    self.send_updateStorePricing(sp, allColors)
7265 rajveer 4488
    self.recv_updateStorePricing()
7256 rajveer 4489
 
7382 rajveer 4490
  def send_updateStorePricing(self, sp, allColors):
7265 rajveer 4491
    self._oprot.writeMessageBegin('updateStorePricing', TMessageType.CALL, self._seqid)
4492
    args = updateStorePricing_args()
4493
    args.sp = sp
7382 rajveer 4494
    args.allColors = allColors
7265 rajveer 4495
    args.write(self._oprot)
4496
    self._oprot.writeMessageEnd()
4497
    self._oprot.trans.flush()
4498
 
4499
  def recv_updateStorePricing(self, ):
4500
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4501
    if mtype == TMessageType.EXCEPTION:
4502
      x = TApplicationException()
4503
      x.read(self._iprot)
4504
      self._iprot.readMessageEnd()
4505
      raise x
4506
    result = updateStorePricing_result()
4507
    result.read(self._iprot)
4508
    self._iprot.readMessageEnd()
4509
    return
4510
 
7281 kshitij.so 4511
  def getAllAmazonListedItems(self, ):
4512
    self.send_getAllAmazonListedItems()
4513
    return self.recv_getAllAmazonListedItems()
7265 rajveer 4514
 
7281 kshitij.so 4515
  def send_getAllAmazonListedItems(self, ):
4516
    self._oprot.writeMessageBegin('getAllAmazonListedItems', TMessageType.CALL, self._seqid)
4517
    args = getAllAmazonListedItems_args()
4518
    args.write(self._oprot)
4519
    self._oprot.writeMessageEnd()
4520
    self._oprot.trans.flush()
4521
 
4522
  def recv_getAllAmazonListedItems(self, ):
4523
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4524
    if mtype == TMessageType.EXCEPTION:
4525
      x = TApplicationException()
4526
      x.read(self._iprot)
4527
      self._iprot.readMessageEnd()
4528
      raise x
4529
    result = getAllAmazonListedItems_result()
4530
    result.read(self._iprot)
4531
    self._iprot.readMessageEnd()
4532
    if result.success is not None:
4533
      return result.success
4534
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAmazonListedItems failed: unknown result");
4535
 
8619 kshitij.so 4536
  def searchAmazonItems(self, searchTerm, offset, limit):
4537
    """
4538
    Parameters:
4539
     - searchTerm
4540
     - offset
4541
     - limit
4542
    """
4543
    self.send_searchAmazonItems(searchTerm, offset, limit)
4544
    return self.recv_searchAmazonItems()
4545
 
4546
  def send_searchAmazonItems(self, searchTerm, offset, limit):
4547
    self._oprot.writeMessageBegin('searchAmazonItems', TMessageType.CALL, self._seqid)
4548
    args = searchAmazonItems_args()
4549
    args.searchTerm = searchTerm
4550
    args.offset = offset
4551
    args.limit = limit
4552
    args.write(self._oprot)
4553
    self._oprot.writeMessageEnd()
4554
    self._oprot.trans.flush()
4555
 
4556
  def recv_searchAmazonItems(self, ):
4557
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4558
    if mtype == TMessageType.EXCEPTION:
4559
      x = TApplicationException()
4560
      x.read(self._iprot)
4561
      self._iprot.readMessageEnd()
4562
      raise x
4563
    result = searchAmazonItems_result()
4564
    result.read(self._iprot)
4565
    self._iprot.readMessageEnd()
4566
    if result.success is not None:
4567
      return result.success
4568
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchAmazonItems failed: unknown result");
4569
 
4570
  def getAmazonSearchResultCount(self, searchTerm):
4571
    """
4572
    Parameters:
4573
     - searchTerm
4574
    """
4575
    self.send_getAmazonSearchResultCount(searchTerm)
4576
    return self.recv_getAmazonSearchResultCount()
4577
 
4578
  def send_getAmazonSearchResultCount(self, searchTerm):
4579
    self._oprot.writeMessageBegin('getAmazonSearchResultCount', TMessageType.CALL, self._seqid)
4580
    args = getAmazonSearchResultCount_args()
4581
    args.searchTerm = searchTerm
4582
    args.write(self._oprot)
4583
    self._oprot.writeMessageEnd()
4584
    self._oprot.trans.flush()
4585
 
4586
  def recv_getAmazonSearchResultCount(self, ):
4587
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4588
    if mtype == TMessageType.EXCEPTION:
4589
      x = TApplicationException()
4590
      x.read(self._iprot)
4591
      self._iprot.readMessageEnd()
4592
      raise x
4593
    result = getAmazonSearchResultCount_result()
4594
    result.read(self._iprot)
4595
    self._iprot.readMessageEnd()
4596
    if result.success is not None:
4597
      return result.success
4598
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonSearchResultCount failed: unknown result");
4599
 
4600
  def getCountForAmazonlistedItems(self, ):
4601
    self.send_getCountForAmazonlistedItems()
4602
    return self.recv_getCountForAmazonlistedItems()
4603
 
4604
  def send_getCountForAmazonlistedItems(self, ):
4605
    self._oprot.writeMessageBegin('getCountForAmazonlistedItems', TMessageType.CALL, self._seqid)
4606
    args = getCountForAmazonlistedItems_args()
4607
    args.write(self._oprot)
4608
    self._oprot.writeMessageEnd()
4609
    self._oprot.trans.flush()
4610
 
4611
  def recv_getCountForAmazonlistedItems(self, ):
4612
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4613
    if mtype == TMessageType.EXCEPTION:
4614
      x = TApplicationException()
4615
      x.read(self._iprot)
4616
      self._iprot.readMessageEnd()
4617
      raise x
4618
    result = getCountForAmazonlistedItems_result()
4619
    result.read(self._iprot)
4620
    self._iprot.readMessageEnd()
4621
    if result.success is not None:
4622
      return result.success
4623
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForAmazonlistedItems failed: unknown result");
4624
 
7281 kshitij.so 4625
  def getAmazonItemDetails(self, itemId):
4626
    """
4627
    Parameters:
4628
     - itemId
4629
    """
4630
    self.send_getAmazonItemDetails(itemId)
4631
    return self.recv_getAmazonItemDetails()
4632
 
4633
  def send_getAmazonItemDetails(self, itemId):
4634
    self._oprot.writeMessageBegin('getAmazonItemDetails', TMessageType.CALL, self._seqid)
4635
    args = getAmazonItemDetails_args()
4636
    args.itemId = itemId
4637
    args.write(self._oprot)
4638
    self._oprot.writeMessageEnd()
4639
    self._oprot.trans.flush()
4640
 
4641
  def recv_getAmazonItemDetails(self, ):
4642
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4643
    if mtype == TMessageType.EXCEPTION:
4644
      x = TApplicationException()
4645
      x.read(self._iprot)
4646
      self._iprot.readMessageEnd()
4647
      raise x
4648
    result = getAmazonItemDetails_result()
4649
    result.read(self._iprot)
4650
    self._iprot.readMessageEnd()
4651
    if result.success is not None:
4652
      return result.success
4653
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonItemDetails failed: unknown result");
4654
 
8168 kshitij.so 4655
  def updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4656
    """
4657
    Parameters:
8168 kshitij.so 4658
     - amazonlisted
7281 kshitij.so 4659
    """
8168 kshitij.so 4660
    self.send_updateAmazonItemDetails(amazonlisted)
7281 kshitij.so 4661
    self.recv_updateAmazonItemDetails()
4662
 
8168 kshitij.so 4663
  def send_updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4664
    self._oprot.writeMessageBegin('updateAmazonItemDetails', TMessageType.CALL, self._seqid)
4665
    args = updateAmazonItemDetails_args()
8168 kshitij.so 4666
    args.amazonlisted = amazonlisted
7281 kshitij.so 4667
    args.write(self._oprot)
4668
    self._oprot.writeMessageEnd()
4669
    self._oprot.trans.flush()
4670
 
4671
  def recv_updateAmazonItemDetails(self, ):
4672
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4673
    if mtype == TMessageType.EXCEPTION:
4674
      x = TApplicationException()
4675
      x.read(self._iprot)
4676
      self._iprot.readMessageEnd()
4677
      raise x
4678
    result = updateAmazonItemDetails_result()
4679
    result.read(self._iprot)
4680
    self._iprot.readMessageEnd()
4681
    return
4682
 
4683
  def addAmazonItem(self, amazonlisted):
4684
    """
4685
    Parameters:
4686
     - amazonlisted
4687
    """
4688
    self.send_addAmazonItem(amazonlisted)
4689
    self.recv_addAmazonItem()
4690
 
4691
  def send_addAmazonItem(self, amazonlisted):
4692
    self._oprot.writeMessageBegin('addAmazonItem', TMessageType.CALL, self._seqid)
4693
    args = addAmazonItem_args()
4694
    args.amazonlisted = amazonlisted
4695
    args.write(self._oprot)
4696
    self._oprot.writeMessageEnd()
4697
    self._oprot.trans.flush()
4698
 
4699
  def recv_addAmazonItem(self, ):
4700
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4701
    if mtype == TMessageType.EXCEPTION:
4702
      x = TApplicationException()
4703
      x.read(self._iprot)
4704
      self._iprot.readMessageEnd()
4705
      raise x
4706
    result = addAmazonItem_result()
4707
    result.read(self._iprot)
4708
    self._iprot.readMessageEnd()
4709
    return
4710
 
7291 vikram.rag 4711
  def getAsinItems(self, ):
4712
    self.send_getAsinItems()
4713
    return self.recv_getAsinItems()
7281 kshitij.so 4714
 
7291 vikram.rag 4715
  def send_getAsinItems(self, ):
4716
    self._oprot.writeMessageBegin('getAsinItems', TMessageType.CALL, self._seqid)
4717
    args = getAsinItems_args()
4718
    args.write(self._oprot)
4719
    self._oprot.writeMessageEnd()
4720
    self._oprot.trans.flush()
4721
 
4722
  def recv_getAsinItems(self, ):
4723
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4724
    if mtype == TMessageType.EXCEPTION:
4725
      x = TApplicationException()
4726
      x.read(self._iprot)
4727
      self._iprot.readMessageEnd()
4728
      raise x
4729
    result = getAsinItems_result()
4730
    result.read(self._iprot)
4731
    self._iprot.readMessageEnd()
4732
    if result.success is not None:
4733
      return result.success
4734
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAsinItems failed: unknown result");
4735
 
4736
  def getAllFbaListedItems(self, ):
4737
    self.send_getAllFbaListedItems()
4738
    return self.recv_getAllFbaListedItems()
4739
 
4740
  def send_getAllFbaListedItems(self, ):
4741
    self._oprot.writeMessageBegin('getAllFbaListedItems', TMessageType.CALL, self._seqid)
4742
    args = getAllFbaListedItems_args()
4743
    args.write(self._oprot)
4744
    self._oprot.writeMessageEnd()
4745
    self._oprot.trans.flush()
4746
 
4747
  def recv_getAllFbaListedItems(self, ):
4748
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4749
    if mtype == TMessageType.EXCEPTION:
4750
      x = TApplicationException()
4751
      x.read(self._iprot)
4752
      self._iprot.readMessageEnd()
4753
      raise x
4754
    result = getAllFbaListedItems_result()
4755
    result.read(self._iprot)
4756
    self._iprot.readMessageEnd()
4757
    if result.success is not None:
4758
      return result.success
4759
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbaListedItems failed: unknown result");
4760
 
4761
  def getAllNonFbaListedItems(self, ):
4762
    self.send_getAllNonFbaListedItems()
4763
    return self.recv_getAllNonFbaListedItems()
4764
 
4765
  def send_getAllNonFbaListedItems(self, ):
4766
    self._oprot.writeMessageBegin('getAllNonFbaListedItems', TMessageType.CALL, self._seqid)
4767
    args = getAllNonFbaListedItems_args()
4768
    args.write(self._oprot)
4769
    self._oprot.writeMessageEnd()
4770
    self._oprot.trans.flush()
4771
 
4772
  def recv_getAllNonFbaListedItems(self, ):
4773
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4774
    if mtype == TMessageType.EXCEPTION:
4775
      x = TApplicationException()
4776
      x.read(self._iprot)
4777
      self._iprot.readMessageEnd()
4778
      raise x
4779
    result = getAllNonFbaListedItems_result()
4780
    result.read(self._iprot)
4781
    self._iprot.readMessageEnd()
4782
    if result.success is not None:
4783
      return result.success
4784
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllNonFbaListedItems failed: unknown result");
4785
 
7460 kshitij.so 4786
  def updateItemInventory(self, itemId, holdInventory, defaultInventory):
4787
    """
4788
    Parameters:
4789
     - itemId
4790
     - holdInventory
4791
     - defaultInventory
4792
    """
4793
    self.send_updateItemInventory(itemId, holdInventory, defaultInventory)
4794
    return self.recv_updateItemInventory()
7291 vikram.rag 4795
 
7460 kshitij.so 4796
  def send_updateItemInventory(self, itemId, holdInventory, defaultInventory):
4797
    self._oprot.writeMessageBegin('updateItemInventory', TMessageType.CALL, self._seqid)
4798
    args = updateItemInventory_args()
4799
    args.itemId = itemId
4800
    args.holdInventory = holdInventory
4801
    args.defaultInventory = defaultInventory
4802
    args.write(self._oprot)
4803
    self._oprot.writeMessageEnd()
4804
    self._oprot.trans.flush()
4805
 
4806
  def recv_updateItemInventory(self, ):
4807
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4808
    if mtype == TMessageType.EXCEPTION:
4809
      x = TApplicationException()
4810
      x.read(self._iprot)
4811
      self._iprot.readMessageEnd()
4812
      raise x
4813
    result = updateItemInventory_result()
4814
    result.read(self._iprot)
4815
    self._iprot.readMessageEnd()
4816
    if result.success is not None:
4817
      return result.success
4818
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemInventory failed: unknown result");
4819
 
7770 kshitij.so 4820
  def updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4821
    """
4822
    Parameters:
4823
     - type
4824
     - sku
4825
     - timestamp
4826
    """
4827
    self.send_updateTimestampForAmazonFeeds(type, sku, timestamp)
4828
    return self.recv_updateTimestampForAmazonFeeds()
7460 kshitij.so 4829
 
7770 kshitij.so 4830
  def send_updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4831
    self._oprot.writeMessageBegin('updateTimestampForAmazonFeeds', TMessageType.CALL, self._seqid)
4832
    args = updateTimestampForAmazonFeeds_args()
4833
    args.type = type
4834
    args.sku = sku
4835
    args.timestamp = timestamp
4836
    args.write(self._oprot)
4837
    self._oprot.writeMessageEnd()
4838
    self._oprot.trans.flush()
4839
 
4840
  def recv_updateTimestampForAmazonFeeds(self, ):
4841
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4842
    if mtype == TMessageType.EXCEPTION:
4843
      x = TApplicationException()
4844
      x.read(self._iprot)
4845
      self._iprot.readMessageEnd()
4846
      raise x
4847
    result = updateTimestampForAmazonFeeds_result()
4848
    result.read(self._iprot)
4849
    self._iprot.readMessageEnd()
4850
    if result.success is not None:
4851
      return result.success
4852
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateTimestampForAmazonFeeds failed: unknown result");
4853
 
7897 amar.kumar 4854
  def getAllParentCategories(self, ):
4855
    self.send_getAllParentCategories()
4856
    return self.recv_getAllParentCategories()
7770 kshitij.so 4857
 
7897 amar.kumar 4858
  def send_getAllParentCategories(self, ):
4859
    self._oprot.writeMessageBegin('getAllParentCategories', TMessageType.CALL, self._seqid)
4860
    args = getAllParentCategories_args()
4861
    args.write(self._oprot)
4862
    self._oprot.writeMessageEnd()
4863
    self._oprot.trans.flush()
4864
 
4865
  def recv_getAllParentCategories(self, ):
4866
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4867
    if mtype == TMessageType.EXCEPTION:
4868
      x = TApplicationException()
4869
      x.read(self._iprot)
4870
      self._iprot.readMessageEnd()
4871
      raise x
4872
    result = getAllParentCategories_result()
4873
    result.read(self._iprot)
4874
    self._iprot.readMessageEnd()
4875
    if result.success is not None:
4876
      return result.success
4877
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllParentCategories failed: unknown result");
4878
 
7977 kshitij.so 4879
  def addPageViewEvent(self, pageViewEvents):
4880
    """
4881
    Parameters:
4882
     - pageViewEvents
4883
    """
4884
    self.send_addPageViewEvent(pageViewEvents)
4885
    self.recv_addPageViewEvent()
7897 amar.kumar 4886
 
7977 kshitij.so 4887
  def send_addPageViewEvent(self, pageViewEvents):
4888
    self._oprot.writeMessageBegin('addPageViewEvent', TMessageType.CALL, self._seqid)
4889
    args = addPageViewEvent_args()
4890
    args.pageViewEvents = pageViewEvents
4891
    args.write(self._oprot)
4892
    self._oprot.writeMessageEnd()
4893
    self._oprot.trans.flush()
4894
 
4895
  def recv_addPageViewEvent(self, ):
4896
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4897
    if mtype == TMessageType.EXCEPTION:
4898
      x = TApplicationException()
4899
      x.read(self._iprot)
4900
      self._iprot.readMessageEnd()
4901
      raise x
4902
    result = addPageViewEvent_result()
4903
    result.read(self._iprot)
4904
    self._iprot.readMessageEnd()
4905
    return
4906
 
4907
  def addCartEvent(self, cartEvents):
4908
    """
4909
    Parameters:
4910
     - cartEvents
4911
    """
4912
    self.send_addCartEvent(cartEvents)
4913
    self.recv_addCartEvent()
4914
 
4915
  def send_addCartEvent(self, cartEvents):
4916
    self._oprot.writeMessageBegin('addCartEvent', TMessageType.CALL, self._seqid)
4917
    args = addCartEvent_args()
4918
    args.cartEvents = cartEvents
4919
    args.write(self._oprot)
4920
    self._oprot.writeMessageEnd()
4921
    self._oprot.trans.flush()
4922
 
4923
  def recv_addCartEvent(self, ):
4924
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4925
    if mtype == TMessageType.EXCEPTION:
4926
      x = TApplicationException()
4927
      x.read(self._iprot)
4928
      self._iprot.readMessageEnd()
4929
      raise x
4930
    result = addCartEvent_result()
4931
    result.read(self._iprot)
4932
    self._iprot.readMessageEnd()
4933
    return
4934
 
8182 amar.kumar 4935
  def addEbayItem(self, ebayItem):
4936
    """
4937
    Parameters:
4938
     - ebayItem
4939
    """
4940
    self.send_addEbayItem(ebayItem)
4941
    self.recv_addEbayItem()
4942
 
4943
  def send_addEbayItem(self, ebayItem):
4944
    self._oprot.writeMessageBegin('addEbayItem', TMessageType.CALL, self._seqid)
4945
    args = addEbayItem_args()
4946
    args.ebayItem = ebayItem
4947
    args.write(self._oprot)
4948
    self._oprot.writeMessageEnd()
4949
    self._oprot.trans.flush()
4950
 
4951
  def recv_addEbayItem(self, ):
4952
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4953
    if mtype == TMessageType.EXCEPTION:
4954
      x = TApplicationException()
4955
      x.read(self._iprot)
4956
      self._iprot.readMessageEnd()
4957
      raise x
4958
    result = addEbayItem_result()
4959
    result.read(self._iprot)
4960
    self._iprot.readMessageEnd()
4961
    return
4962
 
4963
  def getEbayItem(self, listingId):
4964
    """
4965
    Parameters:
4966
     - listingId
4967
    """
4968
    self.send_getEbayItem(listingId)
4969
    return self.recv_getEbayItem()
4970
 
4971
  def send_getEbayItem(self, listingId):
4972
    self._oprot.writeMessageBegin('getEbayItem', TMessageType.CALL, self._seqid)
4973
    args = getEbayItem_args()
4974
    args.listingId = listingId
4975
    args.write(self._oprot)
4976
    self._oprot.writeMessageEnd()
4977
    self._oprot.trans.flush()
4978
 
4979
  def recv_getEbayItem(self, ):
4980
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4981
    if mtype == TMessageType.EXCEPTION:
4982
      x = TApplicationException()
4983
      x.read(self._iprot)
4984
      self._iprot.readMessageEnd()
4985
      raise x
4986
    result = getEbayItem_result()
4987
    result.read(self._iprot)
4988
    self._iprot.readMessageEnd()
4989
    if result.success is not None:
4990
      return result.success
4991
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEbayItem failed: unknown result");
4992
 
4993
  def updateEbayItem(self, ebayItem):
4994
    """
4995
    Parameters:
4996
     - ebayItem
4997
    """
4998
    self.send_updateEbayItem(ebayItem)
4999
    self.recv_updateEbayItem()
5000
 
5001
  def send_updateEbayItem(self, ebayItem):
5002
    self._oprot.writeMessageBegin('updateEbayItem', TMessageType.CALL, self._seqid)
5003
    args = updateEbayItem_args()
5004
    args.ebayItem = ebayItem
5005
    args.write(self._oprot)
5006
    self._oprot.writeMessageEnd()
5007
    self._oprot.trans.flush()
5008
 
5009
  def recv_updateEbayItem(self, ):
5010
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5011
    if mtype == TMessageType.EXCEPTION:
5012
      x = TApplicationException()
5013
      x.read(self._iprot)
5014
      self._iprot.readMessageEnd()
5015
      raise x
5016
    result = updateEbayItem_result()
5017
    result.read(self._iprot)
5018
    self._iprot.readMessageEnd()
5019
    return
5020
 
8139 kshitij.so 5021
  def getAmazonListedItems(self, offset, limit):
5022
    """
5023
    Parameters:
5024
     - offset
5025
     - limit
5026
    """
5027
    self.send_getAmazonListedItems(offset, limit)
5028
    return self.recv_getAmazonListedItems()
7977 kshitij.so 5029
 
8139 kshitij.so 5030
  def send_getAmazonListedItems(self, offset, limit):
5031
    self._oprot.writeMessageBegin('getAmazonListedItems', TMessageType.CALL, self._seqid)
5032
    args = getAmazonListedItems_args()
5033
    args.offset = offset
5034
    args.limit = limit
5035
    args.write(self._oprot)
5036
    self._oprot.writeMessageEnd()
5037
    self._oprot.trans.flush()
5038
 
5039
  def recv_getAmazonListedItems(self, ):
5040
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5041
    if mtype == TMessageType.EXCEPTION:
5042
      x = TApplicationException()
5043
      x.read(self._iprot)
5044
      self._iprot.readMessageEnd()
5045
      raise x
5046
    result = getAmazonListedItems_result()
5047
    result.read(self._iprot)
5048
    self._iprot.readMessageEnd()
5049
    if result.success is not None:
5050
      return result.success
5051
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonListedItems failed: unknown result");
5052
 
8168 kshitij.so 5053
  def updateAmazonAttributesInBulk(self, amazonlisted):
5054
    """
5055
    Parameters:
5056
     - amazonlisted
5057
    """
5058
    self.send_updateAmazonAttributesInBulk(amazonlisted)
5059
    return self.recv_updateAmazonAttributesInBulk()
8139 kshitij.so 5060
 
8168 kshitij.so 5061
  def send_updateAmazonAttributesInBulk(self, amazonlisted):
5062
    self._oprot.writeMessageBegin('updateAmazonAttributesInBulk', TMessageType.CALL, self._seqid)
5063
    args = updateAmazonAttributesInBulk_args()
5064
    args.amazonlisted = amazonlisted
5065
    args.write(self._oprot)
5066
    self._oprot.writeMessageEnd()
5067
    self._oprot.trans.flush()
5068
 
5069
  def recv_updateAmazonAttributesInBulk(self, ):
5070
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5071
    if mtype == TMessageType.EXCEPTION:
5072
      x = TApplicationException()
5073
      x.read(self._iprot)
5074
      self._iprot.readMessageEnd()
5075
      raise x
5076
    result = updateAmazonAttributesInBulk_result()
5077
    result.read(self._iprot)
5078
    self._iprot.readMessageEnd()
5079
    if result.success is not None:
5080
      return result.success
5081
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonAttributesInBulk failed: unknown result");
5082
 
8379 vikram.rag 5083
  def getAllItemstoListOnFba(self, ):
5084
    self.send_getAllItemstoListOnFba()
5085
    return self.recv_getAllItemstoListOnFba()
8168 kshitij.so 5086
 
8379 vikram.rag 5087
  def send_getAllItemstoListOnFba(self, ):
5088
    self._oprot.writeMessageBegin('getAllItemstoListOnFba', TMessageType.CALL, self._seqid)
5089
    args = getAllItemstoListOnFba_args()
5090
    args.write(self._oprot)
5091
    self._oprot.writeMessageEnd()
5092
    self._oprot.trans.flush()
5093
 
5094
  def recv_getAllItemstoListOnFba(self, ):
5095
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5096
    if mtype == TMessageType.EXCEPTION:
5097
      x = TApplicationException()
5098
      x.read(self._iprot)
5099
      self._iprot.readMessageEnd()
5100
      raise x
5101
    result = getAllItemstoListOnFba_result()
5102
    result.read(self._iprot)
5103
    self._iprot.readMessageEnd()
5104
    if result.success is not None:
5105
      return result.success
5106
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFba failed: unknown result");
5107
 
5108
  def getAllItemstoListOnNonFba(self, ):
5109
    self.send_getAllItemstoListOnNonFba()
5110
    return self.recv_getAllItemstoListOnNonFba()
5111
 
5112
  def send_getAllItemstoListOnNonFba(self, ):
5113
    self._oprot.writeMessageBegin('getAllItemstoListOnNonFba', TMessageType.CALL, self._seqid)
5114
    args = getAllItemstoListOnNonFba_args()
5115
    args.write(self._oprot)
5116
    self._oprot.writeMessageEnd()
5117
    self._oprot.trans.flush()
5118
 
5119
  def recv_getAllItemstoListOnNonFba(self, ):
5120
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5121
    if mtype == TMessageType.EXCEPTION:
5122
      x = TApplicationException()
5123
      x.read(self._iprot)
5124
      self._iprot.readMessageEnd()
5125
      raise x
5126
    result = getAllItemstoListOnNonFba_result()
5127
    result.read(self._iprot)
5128
    self._iprot.readMessageEnd()
5129
    if result.success is not None:
5130
      return result.success
5131
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnNonFba failed: unknown result");
5132
 
8619 kshitij.so 5133
  def updateAsin(self, item):
5134
    """
5135
    Parameters:
5136
     - item
5137
    """
5138
    self.send_updateAsin(item)
5139
    self.recv_updateAsin()
8616 vikram.rag 5140
 
8619 kshitij.so 5141
  def send_updateAsin(self, item):
5142
    self._oprot.writeMessageBegin('updateAsin', TMessageType.CALL, self._seqid)
5143
    args = updateAsin_args()
5144
    args.item = item
5145
    args.write(self._oprot)
5146
    self._oprot.writeMessageEnd()
5147
    self._oprot.trans.flush()
5148
 
5149
  def recv_updateAsin(self, ):
5150
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5151
    if mtype == TMessageType.EXCEPTION:
5152
      x = TApplicationException()
5153
      x.read(self._iprot)
5154
      self._iprot.readMessageEnd()
5155
      raise x
5156
    result = updateAsin_result()
5157
    result.read(self._iprot)
5158
    self._iprot.readMessageEnd()
5159
    return
5160
 
8739 vikram.rag 5161
  def addOrUpdateSnapdealItem(self, snapdealitem):
5162
    """
5163
    Parameters:
5164
     - snapdealitem
5165
    """
5166
    self.send_addOrUpdateSnapdealItem(snapdealitem)
5167
    return self.recv_addOrUpdateSnapdealItem()
8619 kshitij.so 5168
 
8739 vikram.rag 5169
  def send_addOrUpdateSnapdealItem(self, snapdealitem):
5170
    self._oprot.writeMessageBegin('addOrUpdateSnapdealItem', TMessageType.CALL, self._seqid)
5171
    args = addOrUpdateSnapdealItem_args()
5172
    args.snapdealitem = snapdealitem
5173
    args.write(self._oprot)
5174
    self._oprot.writeMessageEnd()
5175
    self._oprot.trans.flush()
5176
 
5177
  def recv_addOrUpdateSnapdealItem(self, ):
5178
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5179
    if mtype == TMessageType.EXCEPTION:
5180
      x = TApplicationException()
5181
      x.read(self._iprot)
5182
      self._iprot.readMessageEnd()
5183
      raise x
5184
    result = addOrUpdateSnapdealItem_result()
5185
    result.read(self._iprot)
5186
    self._iprot.readMessageEnd()
5187
    if result.success is not None:
5188
      return result.success
5189
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateSnapdealItem failed: unknown result");
5190
 
5191
  def getSnapdealItem(self, item_id):
5192
    """
5193
    Parameters:
5194
     - item_id
5195
    """
5196
    self.send_getSnapdealItem(item_id)
5197
    return self.recv_getSnapdealItem()
5198
 
5199
  def send_getSnapdealItem(self, item_id):
5200
    self._oprot.writeMessageBegin('getSnapdealItem', TMessageType.CALL, self._seqid)
5201
    args = getSnapdealItem_args()
5202
    args.item_id = item_id
5203
    args.write(self._oprot)
5204
    self._oprot.writeMessageEnd()
5205
    self._oprot.trans.flush()
5206
 
5207
  def recv_getSnapdealItem(self, ):
5208
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5209
    if mtype == TMessageType.EXCEPTION:
5210
      x = TApplicationException()
5211
      x.read(self._iprot)
5212
      self._iprot.readMessageEnd()
5213
      raise x
5214
    result = getSnapdealItem_result()
5215
    result.read(self._iprot)
5216
    self._iprot.readMessageEnd()
5217
    if result.success is not None:
5218
      return result.success
5219
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItem failed: unknown result");
5220
 
9242 kshitij.so 5221
  def getSnapdealItemDetails(self, item_id):
5222
    """
5223
    Parameters:
5224
     - item_id
5225
    """
5226
    self.send_getSnapdealItemDetails(item_id)
5227
    return self.recv_getSnapdealItemDetails()
5228
 
5229
  def send_getSnapdealItemDetails(self, item_id):
5230
    self._oprot.writeMessageBegin('getSnapdealItemDetails', TMessageType.CALL, self._seqid)
5231
    args = getSnapdealItemDetails_args()
5232
    args.item_id = item_id
5233
    args.write(self._oprot)
5234
    self._oprot.writeMessageEnd()
5235
    self._oprot.trans.flush()
5236
 
5237
  def recv_getSnapdealItemDetails(self, ):
5238
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5239
    if mtype == TMessageType.EXCEPTION:
5240
      x = TApplicationException()
5241
      x.read(self._iprot)
5242
      self._iprot.readMessageEnd()
5243
      raise x
5244
    result = getSnapdealItemDetails_result()
5245
    result.read(self._iprot)
5246
    self._iprot.readMessageEnd()
5247
    if result.success is not None:
5248
      return result.success
5249
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItemDetails failed: unknown result");
5250
 
8739 vikram.rag 5251
  def getAllSnapdealItems(self, ):
5252
    self.send_getAllSnapdealItems()
5253
    return self.recv_getAllSnapdealItems()
5254
 
5255
  def send_getAllSnapdealItems(self, ):
5256
    self._oprot.writeMessageBegin('getAllSnapdealItems', TMessageType.CALL, self._seqid)
5257
    args = getAllSnapdealItems_args()
5258
    args.write(self._oprot)
5259
    self._oprot.writeMessageEnd()
5260
    self._oprot.trans.flush()
5261
 
5262
  def recv_getAllSnapdealItems(self, ):
5263
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5264
    if mtype == TMessageType.EXCEPTION:
5265
      x = TApplicationException()
5266
      x.read(self._iprot)
5267
      self._iprot.readMessageEnd()
5268
      raise x
5269
    result = getAllSnapdealItems_result()
5270
    result.read(self._iprot)
5271
    self._iprot.readMessageEnd()
5272
    if result.success is not None:
5273
      return result.success
5274
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealItems failed: unknown result");
5275
 
9242 kshitij.so 5276
  def getSnapdealItems(self, offset, limit):
5277
    """
5278
    Parameters:
5279
     - offset
5280
     - limit
5281
    """
5282
    self.send_getSnapdealItems(offset, limit)
5283
    return self.recv_getSnapdealItems()
8739 vikram.rag 5284
 
9242 kshitij.so 5285
  def send_getSnapdealItems(self, offset, limit):
5286
    self._oprot.writeMessageBegin('getSnapdealItems', TMessageType.CALL, self._seqid)
5287
    args = getSnapdealItems_args()
5288
    args.offset = offset
5289
    args.limit = limit
5290
    args.write(self._oprot)
5291
    self._oprot.writeMessageEnd()
5292
    self._oprot.trans.flush()
5293
 
5294
  def recv_getSnapdealItems(self, ):
5295
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5296
    if mtype == TMessageType.EXCEPTION:
5297
      x = TApplicationException()
5298
      x.read(self._iprot)
5299
      self._iprot.readMessageEnd()
5300
      raise x
5301
    result = getSnapdealItems_result()
5302
    result.read(self._iprot)
5303
    self._iprot.readMessageEnd()
5304
    if result.success is not None:
5305
      return result.success
5306
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItems failed: unknown result");
5307
 
5308
  def searchSnapdealItems(self, searchTerm, offset, limit):
5309
    """
5310
    Parameters:
5311
     - searchTerm
5312
     - offset
5313
     - limit
5314
    """
5315
    self.send_searchSnapdealItems(searchTerm, offset, limit)
5316
    return self.recv_searchSnapdealItems()
5317
 
5318
  def send_searchSnapdealItems(self, searchTerm, offset, limit):
5319
    self._oprot.writeMessageBegin('searchSnapdealItems', TMessageType.CALL, self._seqid)
5320
    args = searchSnapdealItems_args()
5321
    args.searchTerm = searchTerm
5322
    args.offset = offset
5323
    args.limit = limit
5324
    args.write(self._oprot)
5325
    self._oprot.writeMessageEnd()
5326
    self._oprot.trans.flush()
5327
 
5328
  def recv_searchSnapdealItems(self, ):
5329
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5330
    if mtype == TMessageType.EXCEPTION:
5331
      x = TApplicationException()
5332
      x.read(self._iprot)
5333
      self._iprot.readMessageEnd()
5334
      raise x
5335
    result = searchSnapdealItems_result()
5336
    result.read(self._iprot)
5337
    self._iprot.readMessageEnd()
5338
    if result.success is not None:
5339
      return result.success
5340
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchSnapdealItems failed: unknown result");
5341
 
5342
  def getCountForSnapdealItems(self, ):
5343
    self.send_getCountForSnapdealItems()
5344
    return self.recv_getCountForSnapdealItems()
5345
 
5346
  def send_getCountForSnapdealItems(self, ):
5347
    self._oprot.writeMessageBegin('getCountForSnapdealItems', TMessageType.CALL, self._seqid)
5348
    args = getCountForSnapdealItems_args()
5349
    args.write(self._oprot)
5350
    self._oprot.writeMessageEnd()
5351
    self._oprot.trans.flush()
5352
 
5353
  def recv_getCountForSnapdealItems(self, ):
5354
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5355
    if mtype == TMessageType.EXCEPTION:
5356
      x = TApplicationException()
5357
      x.read(self._iprot)
5358
      self._iprot.readMessageEnd()
5359
      raise x
5360
    result = getCountForSnapdealItems_result()
5361
    result.read(self._iprot)
5362
    self._iprot.readMessageEnd()
5363
    if result.success is not None:
5364
      return result.success
5365
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForSnapdealItems failed: unknown result");
5366
 
5367
  def getSnapdealSearchResultCount(self, searchTerm):
5368
    """
5369
    Parameters:
5370
     - searchTerm
5371
    """
5372
    self.send_getSnapdealSearchResultCount(searchTerm)
5373
    return self.recv_getSnapdealSearchResultCount()
5374
 
5375
  def send_getSnapdealSearchResultCount(self, searchTerm):
5376
    self._oprot.writeMessageBegin('getSnapdealSearchResultCount', TMessageType.CALL, self._seqid)
5377
    args = getSnapdealSearchResultCount_args()
5378
    args.searchTerm = searchTerm
5379
    args.write(self._oprot)
5380
    self._oprot.writeMessageEnd()
5381
    self._oprot.trans.flush()
5382
 
5383
  def recv_getSnapdealSearchResultCount(self, ):
5384
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5385
    if mtype == TMessageType.EXCEPTION:
5386
      x = TApplicationException()
5387
      x.read(self._iprot)
5388
      self._iprot.readMessageEnd()
5389
      raise x
5390
    result = getSnapdealSearchResultCount_result()
5391
    result.read(self._iprot)
5392
    self._iprot.readMessageEnd()
5393
    if result.success is not None:
5394
      return result.success
5395
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealSearchResultCount failed: unknown result");
5396
 
9299 kshitij.so 5397
  def getPrefferedInsurerForItem(self, itemId, insurerType):
5398
    """
5399
    Parameters:
5400
     - itemId
5401
     - insurerType
5402
    """
5403
    self.send_getPrefferedInsurerForItem(itemId, insurerType)
5404
    return self.recv_getPrefferedInsurerForItem()
9242 kshitij.so 5405
 
9299 kshitij.so 5406
  def send_getPrefferedInsurerForItem(self, itemId, insurerType):
5407
    self._oprot.writeMessageBegin('getPrefferedInsurerForItem', TMessageType.CALL, self._seqid)
5408
    args = getPrefferedInsurerForItem_args()
5409
    args.itemId = itemId
5410
    args.insurerType = insurerType
5411
    args.write(self._oprot)
5412
    self._oprot.writeMessageEnd()
5413
    self._oprot.trans.flush()
5414
 
5415
  def recv_getPrefferedInsurerForItem(self, ):
5416
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5417
    if mtype == TMessageType.EXCEPTION:
5418
      x = TApplicationException()
5419
      x.read(self._iprot)
5420
      self._iprot.readMessageEnd()
5421
      raise x
5422
    result = getPrefferedInsurerForItem_result()
5423
    result.read(self._iprot)
5424
    self._iprot.readMessageEnd()
5425
    if result.success is not None:
5426
      return result.success
5427
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrefferedInsurerForItem failed: unknown result");
5428
 
9456 vikram.rag 5429
  def getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5430
    """
5431
    Parameters:
5432
     - skuAtSnapdeal
5433
    """
5434
    self.send_getSnapdealItembySkuAtSnapdeal(skuAtSnapdeal)
5435
    return self.recv_getSnapdealItembySkuAtSnapdeal()
9299 kshitij.so 5436
 
9456 vikram.rag 5437
  def send_getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5438
    self._oprot.writeMessageBegin('getSnapdealItembySkuAtSnapdeal', TMessageType.CALL, self._seqid)
5439
    args = getSnapdealItembySkuAtSnapdeal_args()
5440
    args.skuAtSnapdeal = skuAtSnapdeal
5441
    args.write(self._oprot)
5442
    self._oprot.writeMessageEnd()
5443
    self._oprot.trans.flush()
5444
 
5445
  def recv_getSnapdealItembySkuAtSnapdeal(self, ):
5446
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5447
    if mtype == TMessageType.EXCEPTION:
5448
      x = TApplicationException()
5449
      x.read(self._iprot)
5450
      self._iprot.readMessageEnd()
5451
      raise x
5452
    result = getSnapdealItembySkuAtSnapdeal_result()
5453
    result.read(self._iprot)
5454
    self._iprot.readMessageEnd()
5455
    if result.success is not None:
5456
      return result.success
5457
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItembySkuAtSnapdeal failed: unknown result");
5458
 
9621 manish.sha 5459
  def getProductFeedSubmit(self, catalogItemId):
5460
    """
5461
    Parameters:
5462
     - catalogItemId
5463
    """
5464
    self.send_getProductFeedSubmit(catalogItemId)
5465
    return self.recv_getProductFeedSubmit()
9456 vikram.rag 5466
 
9621 manish.sha 5467
  def send_getProductFeedSubmit(self, catalogItemId):
5468
    self._oprot.writeMessageBegin('getProductFeedSubmit', TMessageType.CALL, self._seqid)
5469
    args = getProductFeedSubmit_args()
5470
    args.catalogItemId = catalogItemId
5471
    args.write(self._oprot)
5472
    self._oprot.writeMessageEnd()
5473
    self._oprot.trans.flush()
5474
 
5475
  def recv_getProductFeedSubmit(self, ):
5476
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5477
    if mtype == TMessageType.EXCEPTION:
5478
      x = TApplicationException()
5479
      x.read(self._iprot)
5480
      self._iprot.readMessageEnd()
5481
      raise x
5482
    result = getProductFeedSubmit_result()
5483
    result.read(self._iprot)
5484
    self._iprot.readMessageEnd()
5485
    if result.success is not None:
5486
      return result.success
5487
    if result.cex is not None:
5488
      raise result.cex
5489
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductFeedSubmit failed: unknown result");
5490
 
5491
  def addProductFeedSubmit(self, productFeedSubmit):
5492
    """
5493
    Parameters:
5494
     - productFeedSubmit
5495
    """
5496
    self.send_addProductFeedSubmit(productFeedSubmit)
5497
    return self.recv_addProductFeedSubmit()
5498
 
5499
  def send_addProductFeedSubmit(self, productFeedSubmit):
5500
    self._oprot.writeMessageBegin('addProductFeedSubmit', TMessageType.CALL, self._seqid)
5501
    args = addProductFeedSubmit_args()
5502
    args.productFeedSubmit = productFeedSubmit
5503
    args.write(self._oprot)
5504
    self._oprot.writeMessageEnd()
5505
    self._oprot.trans.flush()
5506
 
5507
  def recv_addProductFeedSubmit(self, ):
5508
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5509
    if mtype == TMessageType.EXCEPTION:
5510
      x = TApplicationException()
5511
      x.read(self._iprot)
5512
      self._iprot.readMessageEnd()
5513
      raise x
5514
    result = addProductFeedSubmit_result()
5515
    result.read(self._iprot)
5516
    self._iprot.readMessageEnd()
5517
    if result.success is not None:
5518
      return result.success
5519
    if result.cex is not None:
5520
      raise result.cex
5521
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductFeedSubmit failed: unknown result");
5522
 
5523
  def updateProductFeedSubmit(self, productFeedSubmit):
5524
    """
5525
    Parameters:
5526
     - productFeedSubmit
5527
    """
5528
    self.send_updateProductFeedSubmit(productFeedSubmit)
5529
    return self.recv_updateProductFeedSubmit()
5530
 
5531
  def send_updateProductFeedSubmit(self, productFeedSubmit):
5532
    self._oprot.writeMessageBegin('updateProductFeedSubmit', TMessageType.CALL, self._seqid)
5533
    args = updateProductFeedSubmit_args()
5534
    args.productFeedSubmit = productFeedSubmit
5535
    args.write(self._oprot)
5536
    self._oprot.writeMessageEnd()
5537
    self._oprot.trans.flush()
5538
 
5539
  def recv_updateProductFeedSubmit(self, ):
5540
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5541
    if mtype == TMessageType.EXCEPTION:
5542
      x = TApplicationException()
5543
      x.read(self._iprot)
5544
      self._iprot.readMessageEnd()
5545
      raise x
5546
    result = updateProductFeedSubmit_result()
5547
    result.read(self._iprot)
5548
    self._iprot.readMessageEnd()
5549
    if result.success is not None:
5550
      return result.success
5551
    if result.cex is not None:
5552
      raise result.cex
5553
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateProductFeedSubmit failed: unknown result");
5554
 
5555
  def deleteProductFeedSubmit(self, catalogItemId):
5556
    """
5557
    Parameters:
5558
     - catalogItemId
5559
    """
5560
    self.send_deleteProductFeedSubmit(catalogItemId)
5561
    return self.recv_deleteProductFeedSubmit()
5562
 
5563
  def send_deleteProductFeedSubmit(self, catalogItemId):
5564
    self._oprot.writeMessageBegin('deleteProductFeedSubmit', TMessageType.CALL, self._seqid)
5565
    args = deleteProductFeedSubmit_args()
5566
    args.catalogItemId = catalogItemId
5567
    args.write(self._oprot)
5568
    self._oprot.writeMessageEnd()
5569
    self._oprot.trans.flush()
5570
 
5571
  def recv_deleteProductFeedSubmit(self, ):
5572
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5573
    if mtype == TMessageType.EXCEPTION:
5574
      x = TApplicationException()
5575
      x.read(self._iprot)
5576
      self._iprot.readMessageEnd()
5577
      raise x
5578
    result = deleteProductFeedSubmit_result()
5579
    result.read(self._iprot)
5580
    self._iprot.readMessageEnd()
5581
    if result.success is not None:
5582
      return result.success
5583
    if result.cex is not None:
5584
      raise result.cex
5585
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteProductFeedSubmit failed: unknown result");
5586
 
5587
  def getAllProductFeedSubmit(self, ):
5588
    self.send_getAllProductFeedSubmit()
5589
    return self.recv_getAllProductFeedSubmit()
5590
 
5591
  def send_getAllProductFeedSubmit(self, ):
5592
    self._oprot.writeMessageBegin('getAllProductFeedSubmit', TMessageType.CALL, self._seqid)
5593
    args = getAllProductFeedSubmit_args()
5594
    args.write(self._oprot)
5595
    self._oprot.writeMessageEnd()
5596
    self._oprot.trans.flush()
5597
 
5598
  def recv_getAllProductFeedSubmit(self, ):
5599
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5600
    if mtype == TMessageType.EXCEPTION:
5601
      x = TApplicationException()
5602
      x.read(self._iprot)
5603
      self._iprot.readMessageEnd()
5604
      raise x
5605
    result = getAllProductFeedSubmit_result()
5606
    result.read(self._iprot)
5607
    self._iprot.readMessageEnd()
5608
    if result.success is not None:
5609
      return result.success
5610
    if result.cex is not None:
5611
      raise result.cex
5612
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllProductFeedSubmit failed: unknown result");
5613
 
9724 kshitij.so 5614
  def getMarketplacedetailsForItem(self, itemId, sourceId):
5615
    """
5616
    Parameters:
5617
     - itemId
5618
     - sourceId
5619
    """
5620
    self.send_getMarketplacedetailsForItem(itemId, sourceId)
5621
    return self.recv_getMarketplacedetailsForItem()
9621 manish.sha 5622
 
9724 kshitij.so 5623
  def send_getMarketplacedetailsForItem(self, itemId, sourceId):
5624
    self._oprot.writeMessageBegin('getMarketplacedetailsForItem', TMessageType.CALL, self._seqid)
5625
    args = getMarketplacedetailsForItem_args()
5626
    args.itemId = itemId
5627
    args.sourceId = sourceId
5628
    args.write(self._oprot)
5629
    self._oprot.writeMessageEnd()
5630
    self._oprot.trans.flush()
5631
 
5632
  def recv_getMarketplacedetailsForItem(self, ):
5633
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5634
    if mtype == TMessageType.EXCEPTION:
5635
      x = TApplicationException()
5636
      x.read(self._iprot)
5637
      self._iprot.readMessageEnd()
5638
      raise x
5639
    result = getMarketplacedetailsForItem_result()
5640
    result.read(self._iprot)
5641
    self._iprot.readMessageEnd()
5642
    if result.success is not None:
5643
      return result.success
5644
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplacedetailsForItem failed: unknown result");
5645
 
5646
  def updateMarketplaceAttributesForItem(self, marketPlaceItem):
5647
    """
5648
    Parameters:
5649
     - marketPlaceItem
5650
    """
5651
    self.send_updateMarketplaceAttributesForItem(marketPlaceItem)
5652
    return self.recv_updateMarketplaceAttributesForItem()
5653
 
5654
  def send_updateMarketplaceAttributesForItem(self, marketPlaceItem):
5655
    self._oprot.writeMessageBegin('updateMarketplaceAttributesForItem', TMessageType.CALL, self._seqid)
5656
    args = updateMarketplaceAttributesForItem_args()
5657
    args.marketPlaceItem = marketPlaceItem
5658
    args.write(self._oprot)
5659
    self._oprot.writeMessageEnd()
5660
    self._oprot.trans.flush()
5661
 
5662
  def recv_updateMarketplaceAttributesForItem(self, ):
5663
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5664
    if mtype == TMessageType.EXCEPTION:
5665
      x = TApplicationException()
5666
      x.read(self._iprot)
5667
      self._iprot.readMessageEnd()
5668
      raise x
5669
    result = updateMarketplaceAttributesForItem_result()
5670
    result.read(self._iprot)
5671
    self._iprot.readMessageEnd()
5672
    if result.success is not None:
5673
      return result.success
5674
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateMarketplaceAttributesForItem failed: unknown result");
5675
 
9779 kshitij.so 5676
  def getCostingForMarketplace(self, source, item_id):
5677
    """
5678
    Parameters:
5679
     - source
5680
     - item_id
5681
    """
5682
    self.send_getCostingForMarketplace(source, item_id)
5683
    return self.recv_getCostingForMarketplace()
5684
 
5685
  def send_getCostingForMarketplace(self, source, item_id):
5686
    self._oprot.writeMessageBegin('getCostingForMarketplace', TMessageType.CALL, self._seqid)
5687
    args = getCostingForMarketplace_args()
5688
    args.source = source
5689
    args.item_id = item_id
5690
    args.write(self._oprot)
5691
    self._oprot.writeMessageEnd()
5692
    self._oprot.trans.flush()
5693
 
5694
  def recv_getCostingForMarketplace(self, ):
5695
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5696
    if mtype == TMessageType.EXCEPTION:
5697
      x = TApplicationException()
5698
      x.read(self._iprot)
5699
      self._iprot.readMessageEnd()
5700
      raise x
5701
    result = getCostingForMarketplace_result()
5702
    result.read(self._iprot)
5703
    self._iprot.readMessageEnd()
5704
    if result.success is not None:
5705
      return result.success
5706
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCostingForMarketplace failed: unknown result");
5707
 
9776 vikram.rag 5708
  def getMarketPlaceItemsForPriceUpdate(self, source):
5709
    """
5710
    Parameters:
5711
     - source
5712
    """
5713
    self.send_getMarketPlaceItemsForPriceUpdate(source)
5714
    return self.recv_getMarketPlaceItemsForPriceUpdate()
9724 kshitij.so 5715
 
9776 vikram.rag 5716
  def send_getMarketPlaceItemsForPriceUpdate(self, source):
5717
    self._oprot.writeMessageBegin('getMarketPlaceItemsForPriceUpdate', TMessageType.CALL, self._seqid)
5718
    args = getMarketPlaceItemsForPriceUpdate_args()
5719
    args.source = source
5720
    args.write(self._oprot)
5721
    self._oprot.writeMessageEnd()
5722
    self._oprot.trans.flush()
5723
 
5724
  def recv_getMarketPlaceItemsForPriceUpdate(self, ):
5725
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5726
    if mtype == TMessageType.EXCEPTION:
5727
      x = TApplicationException()
5728
      x.read(self._iprot)
5729
      self._iprot.readMessageEnd()
5730
      raise x
5731
    result = getMarketPlaceItemsForPriceUpdate_result()
5732
    result.read(self._iprot)
5733
    self._iprot.readMessageEnd()
5734
    if result.success is not None:
5735
      return result.success
5736
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketPlaceItemsForPriceUpdate failed: unknown result");
5737
 
9816 kshitij.so 5738
  def updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5739
    """
5740
    Parameters:
5741
     - skulist
5742
     - timestamp
9816 kshitij.so 5743
     - source
9776 vikram.rag 5744
    """
9816 kshitij.so 5745
    self.send_updateMarketPlacePriceUpdateStatus(skulist, timestamp, source)
9776 vikram.rag 5746
    self.recv_updateMarketPlacePriceUpdateStatus()
5747
 
9816 kshitij.so 5748
  def send_updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5749
    self._oprot.writeMessageBegin('updateMarketPlacePriceUpdateStatus', TMessageType.CALL, self._seqid)
5750
    args = updateMarketPlacePriceUpdateStatus_args()
5751
    args.skulist = skulist
5752
    args.timestamp = timestamp
9816 kshitij.so 5753
    args.source = source
9776 vikram.rag 5754
    args.write(self._oprot)
5755
    self._oprot.writeMessageEnd()
5756
    self._oprot.trans.flush()
5757
 
5758
  def recv_updateMarketPlacePriceUpdateStatus(self, ):
5759
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5760
    if mtype == TMessageType.EXCEPTION:
5761
      x = TApplicationException()
5762
      x.read(self._iprot)
5763
      self._iprot.readMessageEnd()
5764
      raise x
5765
    result = updateMarketPlacePriceUpdateStatus_result()
5766
    result.read(self._iprot)
5767
    self._iprot.readMessageEnd()
5768
    return
5769
 
9861 rajveer 5770
  def updateItemHoldInventory(self, itemHoldMap):
5771
    """
5772
    Parameters:
5773
     - itemHoldMap
5774
    """
5775
    self.send_updateItemHoldInventory(itemHoldMap)
5776
    self.recv_updateItemHoldInventory()
9776 vikram.rag 5777
 
9861 rajveer 5778
  def send_updateItemHoldInventory(self, itemHoldMap):
5779
    self._oprot.writeMessageBegin('updateItemHoldInventory', TMessageType.CALL, self._seqid)
5780
    args = updateItemHoldInventory_args()
5781
    args.itemHoldMap = itemHoldMap
5782
    args.write(self._oprot)
5783
    self._oprot.writeMessageEnd()
5784
    self._oprot.trans.flush()
5785
 
5786
  def recv_updateItemHoldInventory(self, ):
5787
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5788
    if mtype == TMessageType.EXCEPTION:
5789
      x = TApplicationException()
5790
      x.read(self._iprot)
5791
      self._iprot.readMessageEnd()
5792
      raise x
5793
    result = updateItemHoldInventory_result()
5794
    result.read(self._iprot)
5795
    self._iprot.readMessageEnd()
5796
    return
5797
 
9895 vikram.rag 5798
  def updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5799
    """
5800
    Parameters:
5801
     - item_id
5802
     - vendor_id
5803
     - nlc
5804
    """
5805
    self.send_updateNlcAtMarketplaces(item_id, vendor_id, nlc)
5806
    self.recv_updateNlcAtMarketplaces()
9861 rajveer 5807
 
9895 vikram.rag 5808
  def send_updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5809
    self._oprot.writeMessageBegin('updateNlcAtMarketplaces', TMessageType.CALL, self._seqid)
5810
    args = updateNlcAtMarketplaces_args()
5811
    args.item_id = item_id
5812
    args.vendor_id = vendor_id
5813
    args.nlc = nlc
5814
    args.write(self._oprot)
5815
    self._oprot.writeMessageEnd()
5816
    self._oprot.trans.flush()
5817
 
5818
  def recv_updateNlcAtMarketplaces(self, ):
5819
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5820
    if mtype == TMessageType.EXCEPTION:
5821
      x = TApplicationException()
5822
      x.read(self._iprot)
5823
      self._iprot.readMessageEnd()
5824
      raise x
5825
    result = updateNlcAtMarketplaces_result()
5826
    result.read(self._iprot)
5827
    self._iprot.readMessageEnd()
5828
    return
5829
 
9945 vikram.rag 5830
  def getAllFlipkartItems(self, ):
5831
    self.send_getAllFlipkartItems()
5832
    return self.recv_getAllFlipkartItems()
9895 vikram.rag 5833
 
9945 vikram.rag 5834
  def send_getAllFlipkartItems(self, ):
5835
    self._oprot.writeMessageBegin('getAllFlipkartItems', TMessageType.CALL, self._seqid)
5836
    args = getAllFlipkartItems_args()
5837
    args.write(self._oprot)
5838
    self._oprot.writeMessageEnd()
5839
    self._oprot.trans.flush()
5840
 
5841
  def recv_getAllFlipkartItems(self, ):
5842
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5843
    if mtype == TMessageType.EXCEPTION:
5844
      x = TApplicationException()
5845
      x.read(self._iprot)
5846
      self._iprot.readMessageEnd()
5847
      raise x
5848
    result = getAllFlipkartItems_result()
5849
    result.read(self._iprot)
5850
    self._iprot.readMessageEnd()
5851
    if result.success is not None:
5852
      return result.success
5853
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartItems failed: unknown result");
5854
 
10097 kshitij.so 5855
  def addOrUpdateFlipkartItem(self, flipkartitem):
5856
    """
5857
    Parameters:
5858
     - flipkartitem
5859
    """
5860
    self.send_addOrUpdateFlipkartItem(flipkartitem)
5861
    return self.recv_addOrUpdateFlipkartItem()
9945 vikram.rag 5862
 
10097 kshitij.so 5863
  def send_addOrUpdateFlipkartItem(self, flipkartitem):
5864
    self._oprot.writeMessageBegin('addOrUpdateFlipkartItem', TMessageType.CALL, self._seqid)
5865
    args = addOrUpdateFlipkartItem_args()
5866
    args.flipkartitem = flipkartitem
5867
    args.write(self._oprot)
5868
    self._oprot.writeMessageEnd()
5869
    self._oprot.trans.flush()
5870
 
5871
  def recv_addOrUpdateFlipkartItem(self, ):
5872
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5873
    if mtype == TMessageType.EXCEPTION:
5874
      x = TApplicationException()
5875
      x.read(self._iprot)
5876
      self._iprot.readMessageEnd()
5877
      raise x
5878
    result = addOrUpdateFlipkartItem_result()
5879
    result.read(self._iprot)
5880
    self._iprot.readMessageEnd()
5881
    if result.success is not None:
5882
      return result.success
5883
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateFlipkartItem failed: unknown result");
5884
 
5885
  def getFlipkartItem(self, item_id):
5886
    """
5887
    Parameters:
5888
     - item_id
5889
    """
5890
    self.send_getFlipkartItem(item_id)
5891
    return self.recv_getFlipkartItem()
5892
 
5893
  def send_getFlipkartItem(self, item_id):
5894
    self._oprot.writeMessageBegin('getFlipkartItem', TMessageType.CALL, self._seqid)
5895
    args = getFlipkartItem_args()
5896
    args.item_id = item_id
5897
    args.write(self._oprot)
5898
    self._oprot.writeMessageEnd()
5899
    self._oprot.trans.flush()
5900
 
5901
  def recv_getFlipkartItem(self, ):
5902
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5903
    if mtype == TMessageType.EXCEPTION:
5904
      x = TApplicationException()
5905
      x.read(self._iprot)
5906
      self._iprot.readMessageEnd()
5907
      raise x
5908
    result = getFlipkartItem_result()
5909
    result.read(self._iprot)
5910
    self._iprot.readMessageEnd()
5911
    if result.success is not None:
5912
      return result.success
5913
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItem failed: unknown result");
5914
 
5915
  def getFlipkartItemDetails(self, item_id):
5916
    """
5917
    Parameters:
5918
     - item_id
5919
    """
5920
    self.send_getFlipkartItemDetails(item_id)
5921
    return self.recv_getFlipkartItemDetails()
5922
 
5923
  def send_getFlipkartItemDetails(self, item_id):
5924
    self._oprot.writeMessageBegin('getFlipkartItemDetails', TMessageType.CALL, self._seqid)
5925
    args = getFlipkartItemDetails_args()
5926
    args.item_id = item_id
5927
    args.write(self._oprot)
5928
    self._oprot.writeMessageEnd()
5929
    self._oprot.trans.flush()
5930
 
5931
  def recv_getFlipkartItemDetails(self, ):
5932
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5933
    if mtype == TMessageType.EXCEPTION:
5934
      x = TApplicationException()
5935
      x.read(self._iprot)
5936
      self._iprot.readMessageEnd()
5937
      raise x
5938
    result = getFlipkartItemDetails_result()
5939
    result.read(self._iprot)
5940
    self._iprot.readMessageEnd()
5941
    if result.success is not None:
5942
      return result.success
5943
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemDetails failed: unknown result");
5944
 
5945
  def getFlipkartItems(self, offset, limit):
5946
    """
5947
    Parameters:
5948
     - offset
5949
     - limit
5950
    """
5951
    self.send_getFlipkartItems(offset, limit)
5952
    return self.recv_getFlipkartItems()
5953
 
5954
  def send_getFlipkartItems(self, offset, limit):
5955
    self._oprot.writeMessageBegin('getFlipkartItems', TMessageType.CALL, self._seqid)
5956
    args = getFlipkartItems_args()
5957
    args.offset = offset
5958
    args.limit = limit
5959
    args.write(self._oprot)
5960
    self._oprot.writeMessageEnd()
5961
    self._oprot.trans.flush()
5962
 
5963
  def recv_getFlipkartItems(self, ):
5964
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5965
    if mtype == TMessageType.EXCEPTION:
5966
      x = TApplicationException()
5967
      x.read(self._iprot)
5968
      self._iprot.readMessageEnd()
5969
      raise x
5970
    result = getFlipkartItems_result()
5971
    result.read(self._iprot)
5972
    self._iprot.readMessageEnd()
5973
    if result.success is not None:
5974
      return result.success
5975
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItems failed: unknown result");
5976
 
5977
  def searchFlipkartItems(self, searchTerm, offset, limit):
5978
    """
5979
    Parameters:
5980
     - searchTerm
5981
     - offset
5982
     - limit
5983
    """
5984
    self.send_searchFlipkartItems(searchTerm, offset, limit)
5985
    return self.recv_searchFlipkartItems()
5986
 
5987
  def send_searchFlipkartItems(self, searchTerm, offset, limit):
5988
    self._oprot.writeMessageBegin('searchFlipkartItems', TMessageType.CALL, self._seqid)
5989
    args = searchFlipkartItems_args()
5990
    args.searchTerm = searchTerm
5991
    args.offset = offset
5992
    args.limit = limit
5993
    args.write(self._oprot)
5994
    self._oprot.writeMessageEnd()
5995
    self._oprot.trans.flush()
5996
 
5997
  def recv_searchFlipkartItems(self, ):
5998
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5999
    if mtype == TMessageType.EXCEPTION:
6000
      x = TApplicationException()
6001
      x.read(self._iprot)
6002
      self._iprot.readMessageEnd()
6003
      raise x
6004
    result = searchFlipkartItems_result()
6005
    result.read(self._iprot)
6006
    self._iprot.readMessageEnd()
6007
    if result.success is not None:
6008
      return result.success
6009
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchFlipkartItems failed: unknown result");
6010
 
6011
  def getCountForFlipkartItems(self, ):
6012
    self.send_getCountForFlipkartItems()
6013
    return self.recv_getCountForFlipkartItems()
6014
 
6015
  def send_getCountForFlipkartItems(self, ):
6016
    self._oprot.writeMessageBegin('getCountForFlipkartItems', TMessageType.CALL, self._seqid)
6017
    args = getCountForFlipkartItems_args()
6018
    args.write(self._oprot)
6019
    self._oprot.writeMessageEnd()
6020
    self._oprot.trans.flush()
6021
 
6022
  def recv_getCountForFlipkartItems(self, ):
6023
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6024
    if mtype == TMessageType.EXCEPTION:
6025
      x = TApplicationException()
6026
      x.read(self._iprot)
6027
      self._iprot.readMessageEnd()
6028
      raise x
6029
    result = getCountForFlipkartItems_result()
6030
    result.read(self._iprot)
6031
    self._iprot.readMessageEnd()
6032
    if result.success is not None:
6033
      return result.success
6034
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForFlipkartItems failed: unknown result");
6035
 
6036
  def getFlipkartSearchResultCount(self, searchTerm):
6037
    """
6038
    Parameters:
6039
     - searchTerm
6040
    """
6041
    self.send_getFlipkartSearchResultCount(searchTerm)
6042
    return self.recv_getFlipkartSearchResultCount()
6043
 
6044
  def send_getFlipkartSearchResultCount(self, searchTerm):
6045
    self._oprot.writeMessageBegin('getFlipkartSearchResultCount', TMessageType.CALL, self._seqid)
6046
    args = getFlipkartSearchResultCount_args()
6047
    args.searchTerm = searchTerm
6048
    args.write(self._oprot)
6049
    self._oprot.writeMessageEnd()
6050
    self._oprot.trans.flush()
6051
 
6052
  def recv_getFlipkartSearchResultCount(self, ):
6053
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6054
    if mtype == TMessageType.EXCEPTION:
6055
      x = TApplicationException()
6056
      x.read(self._iprot)
6057
      self._iprot.readMessageEnd()
6058
      raise x
6059
    result = getFlipkartSearchResultCount_result()
6060
    result.read(self._iprot)
6061
    self._iprot.readMessageEnd()
6062
    if result.success is not None:
6063
      return result.success
6064
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartSearchResultCount failed: unknown result");
6065
 
6066
  def getAllFkItems(self, ):
6067
    self.send_getAllFkItems()
6068
    return self.recv_getAllFkItems()
6069
 
6070
  def send_getAllFkItems(self, ):
6071
    self._oprot.writeMessageBegin('getAllFkItems', TMessageType.CALL, self._seqid)
6072
    args = getAllFkItems_args()
6073
    args.write(self._oprot)
6074
    self._oprot.writeMessageEnd()
6075
    self._oprot.trans.flush()
6076
 
6077
  def recv_getAllFkItems(self, ):
6078
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6079
    if mtype == TMessageType.EXCEPTION:
6080
      x = TApplicationException()
6081
      x.read(self._iprot)
6082
      self._iprot.readMessageEnd()
6083
      raise x
6084
    result = getAllFkItems_result()
6085
    result.read(self._iprot)
6086
    self._iprot.readMessageEnd()
6087
    if result.success is not None:
6088
      return result.success
6089
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFkItems failed: unknown result");
6090
 
10140 vikram.rag 6091
  def getFlipkartItemBySkyAtFlipkart(self, sku):
6092
    """
6093
    Parameters:
6094
     - sku
6095
    """
6096
    self.send_getFlipkartItemBySkyAtFlipkart(sku)
6097
    return self.recv_getFlipkartItemBySkyAtFlipkart()
10097 kshitij.so 6098
 
10140 vikram.rag 6099
  def send_getFlipkartItemBySkyAtFlipkart(self, sku):
6100
    self._oprot.writeMessageBegin('getFlipkartItemBySkyAtFlipkart', TMessageType.CALL, self._seqid)
6101
    args = getFlipkartItemBySkyAtFlipkart_args()
6102
    args.sku = sku
6103
    args.write(self._oprot)
6104
    self._oprot.writeMessageEnd()
6105
    self._oprot.trans.flush()
6106
 
6107
  def recv_getFlipkartItemBySkyAtFlipkart(self, ):
6108
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6109
    if mtype == TMessageType.EXCEPTION:
6110
      x = TApplicationException()
6111
      x.read(self._iprot)
6112
      self._iprot.readMessageEnd()
6113
      raise x
6114
    result = getFlipkartItemBySkyAtFlipkart_result()
6115
    result.read(self._iprot)
6116
    self._iprot.readMessageEnd()
6117
    if result.success is not None:
6118
      return result.success
6119
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemBySkyAtFlipkart failed: unknown result");
6120
 
11015 kshitij.so 6121
  def getMarketplaceHistory(self, source, offset, itemId):
6122
    """
6123
    Parameters:
6124
     - source
6125
     - offset
6126
     - itemId
6127
    """
6128
    self.send_getMarketplaceHistory(source, offset, itemId)
6129
    return self.recv_getMarketplaceHistory()
6130
 
6131
  def send_getMarketplaceHistory(self, source, offset, itemId):
6132
    self._oprot.writeMessageBegin('getMarketplaceHistory', TMessageType.CALL, self._seqid)
6133
    args = getMarketplaceHistory_args()
6134
    args.source = source
6135
    args.offset = offset
6136
    args.itemId = itemId
6137
    args.write(self._oprot)
6138
    self._oprot.writeMessageEnd()
6139
    self._oprot.trans.flush()
6140
 
6141
  def recv_getMarketplaceHistory(self, ):
6142
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6143
    if mtype == TMessageType.EXCEPTION:
6144
      x = TApplicationException()
6145
      x.read(self._iprot)
6146
      self._iprot.readMessageEnd()
6147
      raise x
6148
    result = getMarketplaceHistory_result()
6149
    result.read(self._iprot)
6150
    self._iprot.readMessageEnd()
6151
    if result.success is not None:
6152
      return result.success
6153
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistory failed: unknown result");
6154
 
10909 vikram.rag 6155
  def getAllFbbListedItems(self, ):
6156
    self.send_getAllFbbListedItems()
6157
    return self.recv_getAllFbbListedItems()
10140 vikram.rag 6158
 
10909 vikram.rag 6159
  def send_getAllFbbListedItems(self, ):
6160
    self._oprot.writeMessageBegin('getAllFbbListedItems', TMessageType.CALL, self._seqid)
6161
    args = getAllFbbListedItems_args()
6162
    args.write(self._oprot)
6163
    self._oprot.writeMessageEnd()
6164
    self._oprot.trans.flush()
6165
 
6166
  def recv_getAllFbbListedItems(self, ):
6167
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6168
    if mtype == TMessageType.EXCEPTION:
6169
      x = TApplicationException()
6170
      x.read(self._iprot)
6171
      self._iprot.readMessageEnd()
6172
      raise x
6173
    result = getAllFbbListedItems_result()
6174
    result.read(self._iprot)
6175
    self._iprot.readMessageEnd()
6176
    if result.success is not None:
6177
      return result.success
6178
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbListedItems failed: unknown result");
6179
 
10924 vikram.rag 6180
  def getAllFbbPricingItems(self, ):
6181
    self.send_getAllFbbPricingItems()
6182
    return self.recv_getAllFbbPricingItems()
10909 vikram.rag 6183
 
10924 vikram.rag 6184
  def send_getAllFbbPricingItems(self, ):
6185
    self._oprot.writeMessageBegin('getAllFbbPricingItems', TMessageType.CALL, self._seqid)
6186
    args = getAllFbbPricingItems_args()
6187
    args.write(self._oprot)
6188
    self._oprot.writeMessageEnd()
6189
    self._oprot.trans.flush()
6190
 
6191
  def recv_getAllFbbPricingItems(self, ):
6192
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6193
    if mtype == TMessageType.EXCEPTION:
6194
      x = TApplicationException()
6195
      x.read(self._iprot)
6196
      self._iprot.readMessageEnd()
6197
      raise x
6198
    result = getAllFbbPricingItems_result()
6199
    result.read(self._iprot)
6200
    self._iprot.readMessageEnd()
6201
    if result.success is not None:
6202
      return result.success
6203
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbPricingItems failed: unknown result");
6204
 
11015 kshitij.so 6205
  def getCountForMarketplaceHistory(self, source, itemId):
6206
    """
6207
    Parameters:
6208
     - source
6209
     - itemId
6210
    """
6211
    self.send_getCountForMarketplaceHistory(source, itemId)
6212
    return self.recv_getCountForMarketplaceHistory()
10924 vikram.rag 6213
 
11015 kshitij.so 6214
  def send_getCountForMarketplaceHistory(self, source, itemId):
6215
    self._oprot.writeMessageBegin('getCountForMarketplaceHistory', TMessageType.CALL, self._seqid)
6216
    args = getCountForMarketplaceHistory_args()
6217
    args.source = source
6218
    args.itemId = itemId
6219
    args.write(self._oprot)
6220
    self._oprot.writeMessageEnd()
6221
    self._oprot.trans.flush()
6222
 
6223
  def recv_getCountForMarketplaceHistory(self, ):
6224
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6225
    if mtype == TMessageType.EXCEPTION:
6226
      x = TApplicationException()
6227
      x.read(self._iprot)
6228
      self._iprot.readMessageEnd()
6229
      raise x
6230
    result = getCountForMarketplaceHistory_result()
6231
    result.read(self._iprot)
6232
    self._iprot.readMessageEnd()
6233
    if result.success is not None:
6234
      return result.success
6235
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForMarketplaceHistory failed: unknown result");
6236
 
6237
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6238
    """
6239
    Parameters:
6240
     - source
6241
     - startDate
6242
     - endDate
6243
     - offset
6244
     - limit
6245
     - itemId
6246
    """
6247
    self.send_getMarketplaceHistoryByDate(source, startDate, endDate, offset, limit, itemId)
6248
    return self.recv_getMarketplaceHistoryByDate()
6249
 
6250
  def send_getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6251
    self._oprot.writeMessageBegin('getMarketplaceHistoryByDate', TMessageType.CALL, self._seqid)
6252
    args = getMarketplaceHistoryByDate_args()
6253
    args.source = source
6254
    args.startDate = startDate
6255
    args.endDate = endDate
6256
    args.offset = offset
6257
    args.limit = limit
6258
    args.itemId = itemId
6259
    args.write(self._oprot)
6260
    self._oprot.writeMessageEnd()
6261
    self._oprot.trans.flush()
6262
 
6263
  def recv_getMarketplaceHistoryByDate(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 = getMarketplaceHistoryByDate_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, "getMarketplaceHistoryByDate failed: unknown result");
6276
 
11531 vikram.rag 6277
  def getPrivateDealDetails(self, item_id):
6278
    """
6279
    Parameters:
6280
     - item_id
6281
    """
6282
    self.send_getPrivateDealDetails(item_id)
6283
    return self.recv_getPrivateDealDetails()
11015 kshitij.so 6284
 
11531 vikram.rag 6285
  def send_getPrivateDealDetails(self, item_id):
6286
    self._oprot.writeMessageBegin('getPrivateDealDetails', TMessageType.CALL, self._seqid)
6287
    args = getPrivateDealDetails_args()
6288
    args.item_id = item_id
6289
    args.write(self._oprot)
6290
    self._oprot.writeMessageEnd()
6291
    self._oprot.trans.flush()
6292
 
6293
  def recv_getPrivateDealDetails(self, ):
6294
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6295
    if mtype == TMessageType.EXCEPTION:
6296
      x = TApplicationException()
6297
      x.read(self._iprot)
6298
      self._iprot.readMessageEnd()
6299
      raise x
6300
    result = getPrivateDealDetails_result()
6301
    result.read(self._iprot)
6302
    self._iprot.readMessageEnd()
6303
    if result.success is not None:
6304
      return result.success
6305
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealDetails failed: unknown result");
6306
 
6307
  def getPrivateDealItems(self, offset, limit):
6308
    """
6309
    Parameters:
6310
     - offset
6311
     - limit
6312
    """
6313
    self.send_getPrivateDealItems(offset, limit)
6314
    return self.recv_getPrivateDealItems()
6315
 
6316
  def send_getPrivateDealItems(self, offset, limit):
6317
    self._oprot.writeMessageBegin('getPrivateDealItems', TMessageType.CALL, self._seqid)
6318
    args = getPrivateDealItems_args()
6319
    args.offset = offset
6320
    args.limit = limit
6321
    args.write(self._oprot)
6322
    self._oprot.writeMessageEnd()
6323
    self._oprot.trans.flush()
6324
 
6325
  def recv_getPrivateDealItems(self, ):
6326
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6327
    if mtype == TMessageType.EXCEPTION:
6328
      x = TApplicationException()
6329
      x.read(self._iprot)
6330
      self._iprot.readMessageEnd()
6331
      raise x
6332
    result = getPrivateDealItems_result()
6333
    result.read(self._iprot)
6334
    self._iprot.readMessageEnd()
6335
    if result.success is not None:
6336
      return result.success
6337
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealItems failed: unknown result");
6338
 
11653 amit.gupta 6339
  def getAllActivePrivateDeals(self, itemIds, daysDelta):
6340
    """
6341
    Parameters:
6342
     - itemIds
6343
     - daysDelta
6344
    """
6345
    self.send_getAllActivePrivateDeals(itemIds, daysDelta)
11592 amit.gupta 6346
    return self.recv_getAllActivePrivateDeals()
6347
 
11653 amit.gupta 6348
  def send_getAllActivePrivateDeals(self, itemIds, daysDelta):
11592 amit.gupta 6349
    self._oprot.writeMessageBegin('getAllActivePrivateDeals', TMessageType.CALL, self._seqid)
6350
    args = getAllActivePrivateDeals_args()
11653 amit.gupta 6351
    args.itemIds = itemIds
6352
    args.daysDelta = daysDelta
11592 amit.gupta 6353
    args.write(self._oprot)
6354
    self._oprot.writeMessageEnd()
6355
    self._oprot.trans.flush()
6356
 
6357
  def recv_getAllActivePrivateDeals(self, ):
6358
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6359
    if mtype == TMessageType.EXCEPTION:
6360
      x = TApplicationException()
6361
      x.read(self._iprot)
6362
      self._iprot.readMessageEnd()
6363
      raise x
6364
    result = getAllActivePrivateDeals_result()
6365
    result.read(self._iprot)
6366
    self._iprot.readMessageEnd()
6367
    if result.success is not None:
6368
      return result.success
6369
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllActivePrivateDeals failed: unknown result");
6370
 
11531 vikram.rag 6371
  def addOrUpdatePrivateDeal(self, privateDeal):
6372
    """
6373
    Parameters:
6374
     - privateDeal
6375
    """
6376
    self.send_addOrUpdatePrivateDeal(privateDeal)
6377
    return self.recv_addOrUpdatePrivateDeal()
6378
 
6379
  def send_addOrUpdatePrivateDeal(self, privateDeal):
6380
    self._oprot.writeMessageBegin('addOrUpdatePrivateDeal', TMessageType.CALL, self._seqid)
6381
    args = addOrUpdatePrivateDeal_args()
6382
    args.privateDeal = privateDeal
6383
    args.write(self._oprot)
6384
    self._oprot.writeMessageEnd()
6385
    self._oprot.trans.flush()
6386
 
6387
  def recv_addOrUpdatePrivateDeal(self, ):
6388
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6389
    if mtype == TMessageType.EXCEPTION:
6390
      x = TApplicationException()
6391
      x.read(self._iprot)
6392
      self._iprot.readMessageEnd()
6393
      raise x
6394
    result = addOrUpdatePrivateDeal_result()
6395
    result.read(self._iprot)
6396
    self._iprot.readMessageEnd()
6397
    if result.success is not None:
6398
      return result.success
6399
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdatePrivateDeal failed: unknown result");
6400
 
11635 vikram.rag 6401
  def getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6402
    """
6403
    Parameters:
6404
     - beginIndex
6405
     - totalItems
6406
    """
6407
    self.send_getPrivateDealsCatalogIds(beginIndex, totalItems)
6408
    return self.recv_getPrivateDealsCatalogIds()
11531 vikram.rag 6409
 
11635 vikram.rag 6410
  def send_getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6411
    self._oprot.writeMessageBegin('getPrivateDealsCatalogIds', TMessageType.CALL, self._seqid)
6412
    args = getPrivateDealsCatalogIds_args()
6413
    args.beginIndex = beginIndex
6414
    args.totalItems = totalItems
6415
    args.write(self._oprot)
6416
    self._oprot.writeMessageEnd()
6417
    self._oprot.trans.flush()
6418
 
6419
  def recv_getPrivateDealsCatalogIds(self, ):
6420
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6421
    if mtype == TMessageType.EXCEPTION:
6422
      x = TApplicationException()
6423
      x.read(self._iprot)
6424
      self._iprot.readMessageEnd()
6425
      raise x
6426
    result = getPrivateDealsCatalogIds_result()
6427
    result.read(self._iprot)
6428
    self._iprot.readMessageEnd()
6429
    if result.success is not None:
6430
      return result.success
6431
    if result.cex is not None:
6432
      raise result.cex
6433
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCatalogIds failed: unknown result");
6434
 
11645 amit.gupta 6435
  def getPrivateDealsCount(self, ):
6436
    self.send_getPrivateDealsCount()
6437
    return self.recv_getPrivateDealsCount()
11635 vikram.rag 6438
 
11645 amit.gupta 6439
  def send_getPrivateDealsCount(self, ):
6440
    self._oprot.writeMessageBegin('getPrivateDealsCount', TMessageType.CALL, self._seqid)
6441
    args = getPrivateDealsCount_args()
6442
    args.write(self._oprot)
6443
    self._oprot.writeMessageEnd()
6444
    self._oprot.trans.flush()
6445
 
6446
  def recv_getPrivateDealsCount(self, ):
6447
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6448
    if mtype == TMessageType.EXCEPTION:
6449
      x = TApplicationException()
6450
      x.read(self._iprot)
6451
      self._iprot.readMessageEnd()
6452
      raise x
6453
    result = getPrivateDealsCount_result()
6454
    result.read(self._iprot)
6455
    self._iprot.readMessageEnd()
6456
    if result.success is not None:
6457
      return result.success
6458
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCount failed: unknown result");
6459
 
11905 kshitij.so 6460
  def getAmazonOutSyncItems(self, item_id):
6461
    """
6462
    Parameters:
6463
     - item_id
6464
    """
6465
    self.send_getAmazonOutSyncItems(item_id)
6466
    return self.recv_getAmazonOutSyncItems()
11645 amit.gupta 6467
 
11905 kshitij.so 6468
  def send_getAmazonOutSyncItems(self, item_id):
6469
    self._oprot.writeMessageBegin('getAmazonOutSyncItems', TMessageType.CALL, self._seqid)
6470
    args = getAmazonOutSyncItems_args()
6471
    args.item_id = item_id
6472
    args.write(self._oprot)
6473
    self._oprot.writeMessageEnd()
6474
    self._oprot.trans.flush()
6475
 
6476
  def recv_getAmazonOutSyncItems(self, ):
6477
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6478
    if mtype == TMessageType.EXCEPTION:
6479
      x = TApplicationException()
6480
      x.read(self._iprot)
6481
      self._iprot.readMessageEnd()
6482
      raise x
6483
    result = getAmazonOutSyncItems_result()
6484
    result.read(self._iprot)
6485
    self._iprot.readMessageEnd()
6486
    if result.success is not None:
6487
      return result.success
6488
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonOutSyncItems failed: unknown result");
6489
 
6490
  def getAllPrivateDealsComparison(self, ):
6491
    self.send_getAllPrivateDealsComparison()
6492
    return self.recv_getAllPrivateDealsComparison()
6493
 
6494
  def send_getAllPrivateDealsComparison(self, ):
6495
    self._oprot.writeMessageBegin('getAllPrivateDealsComparison', TMessageType.CALL, self._seqid)
6496
    args = getAllPrivateDealsComparison_args()
6497
    args.write(self._oprot)
6498
    self._oprot.writeMessageEnd()
6499
    self._oprot.trans.flush()
6500
 
6501
  def recv_getAllPrivateDealsComparison(self, ):
6502
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6503
    if mtype == TMessageType.EXCEPTION:
6504
      x = TApplicationException()
6505
      x.read(self._iprot)
6506
      self._iprot.readMessageEnd()
6507
      raise x
6508
    result = getAllPrivateDealsComparison_result()
6509
    result.read(self._iprot)
6510
    self._iprot.readMessageEnd()
6511
    if result.success is not None:
6512
      return result.success
6513
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllPrivateDealsComparison failed: unknown result");
6514
 
12133 kshitij.so 6515
  def getAllSnapdealMarketplaceItem(self, ):
6516
    self.send_getAllSnapdealMarketplaceItem()
6517
    return self.recv_getAllSnapdealMarketplaceItem()
11905 kshitij.so 6518
 
12133 kshitij.so 6519
  def send_getAllSnapdealMarketplaceItem(self, ):
6520
    self._oprot.writeMessageBegin('getAllSnapdealMarketplaceItem', TMessageType.CALL, self._seqid)
6521
    args = getAllSnapdealMarketplaceItem_args()
6522
    args.write(self._oprot)
6523
    self._oprot.writeMessageEnd()
6524
    self._oprot.trans.flush()
6525
 
6526
  def recv_getAllSnapdealMarketplaceItem(self, ):
6527
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6528
    if mtype == TMessageType.EXCEPTION:
6529
      x = TApplicationException()
6530
      x.read(self._iprot)
6531
      self._iprot.readMessageEnd()
6532
      raise x
6533
    result = getAllSnapdealMarketplaceItem_result()
6534
    result.read(self._iprot)
6535
    self._iprot.readMessageEnd()
6536
    if result.success is not None:
6537
      return result.success
6538
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealMarketplaceItem failed: unknown result");
6539
 
6540
  def getAllFlipkartMarketplaceItem(self, ):
6541
    self.send_getAllFlipkartMarketplaceItem()
6542
    return self.recv_getAllFlipkartMarketplaceItem()
6543
 
6544
  def send_getAllFlipkartMarketplaceItem(self, ):
6545
    self._oprot.writeMessageBegin('getAllFlipkartMarketplaceItem', TMessageType.CALL, self._seqid)
6546
    args = getAllFlipkartMarketplaceItem_args()
6547
    args.write(self._oprot)
6548
    self._oprot.writeMessageEnd()
6549
    self._oprot.trans.flush()
6550
 
6551
  def recv_getAllFlipkartMarketplaceItem(self, ):
6552
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6553
    if mtype == TMessageType.EXCEPTION:
6554
      x = TApplicationException()
6555
      x.read(self._iprot)
6556
      self._iprot.readMessageEnd()
6557
      raise x
6558
    result = getAllFlipkartMarketplaceItem_result()
6559
    result.read(self._iprot)
6560
    self._iprot.readMessageEnd()
6561
    if result.success is not None:
6562
      return result.success
6563
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartMarketplaceItem failed: unknown result");
6564
 
12243 kshitij.so 6565
  def addCompetitorScraping(self, competitorPricingMap):
6566
    """
6567
    Parameters:
6568
     - competitorPricingMap
6569
    """
6570
    self.send_addCompetitorScraping(competitorPricingMap)
6571
    self.recv_addCompetitorScraping()
12133 kshitij.so 6572
 
12243 kshitij.so 6573
  def send_addCompetitorScraping(self, competitorPricingMap):
6574
    self._oprot.writeMessageBegin('addCompetitorScraping', TMessageType.CALL, self._seqid)
6575
    args = addCompetitorScraping_args()
6576
    args.competitorPricingMap = competitorPricingMap
6577
    args.write(self._oprot)
6578
    self._oprot.writeMessageEnd()
6579
    self._oprot.trans.flush()
6580
 
6581
  def recv_addCompetitorScraping(self, ):
6582
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6583
    if mtype == TMessageType.EXCEPTION:
6584
      x = TApplicationException()
6585
      x.read(self._iprot)
6586
      self._iprot.readMessageEnd()
6587
      raise x
6588
    result = addCompetitorScraping_result()
6589
    result.read(self._iprot)
6590
    self._iprot.readMessageEnd()
6591
    return
6592
 
6593
  def getPreviousCompetitorScraping(self, delta):
6594
    """
6595
    Parameters:
6596
     - delta
6597
    """
6598
    self.send_getPreviousCompetitorScraping(delta)
6599
    return self.recv_getPreviousCompetitorScraping()
6600
 
6601
  def send_getPreviousCompetitorScraping(self, delta):
6602
    self._oprot.writeMessageBegin('getPreviousCompetitorScraping', TMessageType.CALL, self._seqid)
6603
    args = getPreviousCompetitorScraping_args()
6604
    args.delta = delta
6605
    args.write(self._oprot)
6606
    self._oprot.writeMessageEnd()
6607
    self._oprot.trans.flush()
6608
 
6609
  def recv_getPreviousCompetitorScraping(self, ):
6610
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6611
    if mtype == TMessageType.EXCEPTION:
6612
      x = TApplicationException()
6613
      x.read(self._iprot)
6614
      self._iprot.readMessageEnd()
6615
      raise x
6616
    result = getPreviousCompetitorScraping_result()
6617
    result.read(self._iprot)
6618
    self._iprot.readMessageEnd()
6619
    if result.success is not None:
6620
      return result.success
6621
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPreviousCompetitorScraping failed: unknown result");
6622
 
12256 kshitij.so 6623
  def getUploadResultById(self, uploadId):
6624
    """
6625
    Parameters:
6626
     - uploadId
6627
    """
6628
    self.send_getUploadResultById(uploadId)
6629
    return self.recv_getUploadResultById()
12243 kshitij.so 6630
 
12256 kshitij.so 6631
  def send_getUploadResultById(self, uploadId):
6632
    self._oprot.writeMessageBegin('getUploadResultById', TMessageType.CALL, self._seqid)
6633
    args = getUploadResultById_args()
6634
    args.uploadId = uploadId
6635
    args.write(self._oprot)
6636
    self._oprot.writeMessageEnd()
6637
    self._oprot.trans.flush()
6638
 
6639
  def recv_getUploadResultById(self, ):
6640
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6641
    if mtype == TMessageType.EXCEPTION:
6642
      x = TApplicationException()
6643
      x.read(self._iprot)
6644
      self._iprot.readMessageEnd()
6645
      raise x
6646
    result = getUploadResultById_result()
6647
    result.read(self._iprot)
6648
    self._iprot.readMessageEnd()
6649
    if result.success is not None:
6650
      return result.success
6651
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUploadResultById failed: unknown result");
6652
 
12363 kshitij.so 6653
  def addAmazonPromotion(self, amazonPromotions):
6654
    """
6655
    Parameters:
6656
     - amazonPromotions
6657
    """
6658
    self.send_addAmazonPromotion(amazonPromotions)
6659
    return self.recv_addAmazonPromotion()
12256 kshitij.so 6660
 
12363 kshitij.so 6661
  def send_addAmazonPromotion(self, amazonPromotions):
6662
    self._oprot.writeMessageBegin('addAmazonPromotion', TMessageType.CALL, self._seqid)
6663
    args = addAmazonPromotion_args()
6664
    args.amazonPromotions = amazonPromotions
6665
    args.write(self._oprot)
6666
    self._oprot.writeMessageEnd()
6667
    self._oprot.trans.flush()
6668
 
6669
  def recv_addAmazonPromotion(self, ):
6670
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6671
    if mtype == TMessageType.EXCEPTION:
6672
      x = TApplicationException()
6673
      x.read(self._iprot)
6674
      self._iprot.readMessageEnd()
6675
      raise x
6676
    result = addAmazonPromotion_result()
6677
    result.read(self._iprot)
6678
    self._iprot.readMessageEnd()
6679
    if result.success is not None:
6680
      return result.success
12947 kshitij.so 6681
    if result.cex is not None:
6682
      raise result.cex
12363 kshitij.so 6683
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAmazonPromotion failed: unknown result");
6684
 
6685
  def getAmazonPromotion(self, startDate, endDate):
6686
    """
6687
    Parameters:
6688
     - startDate
6689
     - endDate
6690
    """
6691
    self.send_getAmazonPromotion(startDate, endDate)
6692
    return self.recv_getAmazonPromotion()
6693
 
6694
  def send_getAmazonPromotion(self, startDate, endDate):
6695
    self._oprot.writeMessageBegin('getAmazonPromotion', TMessageType.CALL, self._seqid)
6696
    args = getAmazonPromotion_args()
6697
    args.startDate = startDate
6698
    args.endDate = endDate
6699
    args.write(self._oprot)
6700
    self._oprot.writeMessageEnd()
6701
    self._oprot.trans.flush()
6702
 
6703
  def recv_getAmazonPromotion(self, ):
6704
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6705
    if mtype == TMessageType.EXCEPTION:
6706
      x = TApplicationException()
6707
      x.read(self._iprot)
6708
      self._iprot.readMessageEnd()
6709
      raise x
6710
    result = getAmazonPromotion_result()
6711
    result.read(self._iprot)
6712
    self._iprot.readMessageEnd()
6713
    if result.success is not None:
6714
      return result.success
6715
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonPromotion failed: unknown result");
6716
 
6717
  def updateAmazonPromotion(self, amazonPromotions):
6718
    """
6719
    Parameters:
6720
     - amazonPromotions
6721
    """
6722
    self.send_updateAmazonPromotion(amazonPromotions)
6723
    return self.recv_updateAmazonPromotion()
6724
 
6725
  def send_updateAmazonPromotion(self, amazonPromotions):
6726
    self._oprot.writeMessageBegin('updateAmazonPromotion', TMessageType.CALL, self._seqid)
6727
    args = updateAmazonPromotion_args()
6728
    args.amazonPromotions = amazonPromotions
6729
    args.write(self._oprot)
6730
    self._oprot.writeMessageEnd()
6731
    self._oprot.trans.flush()
6732
 
6733
  def recv_updateAmazonPromotion(self, ):
6734
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6735
    if mtype == TMessageType.EXCEPTION:
6736
      x = TApplicationException()
6737
      x.read(self._iprot)
6738
      self._iprot.readMessageEnd()
6739
      raise x
6740
    result = updateAmazonPromotion_result()
6741
    result.read(self._iprot)
6742
    self._iprot.readMessageEnd()
6743
    if result.success is not None:
6744
      return result.success
6745
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonPromotion failed: unknown result");
6746
 
12567 amit.gupta 6747
  def markPartiallyActive(self, itemId, categoryId):
6748
    """
6749
    Parameters:
6750
     - itemId
6751
     - categoryId
6752
    """
6753
    self.send_markPartiallyActive(itemId, categoryId)
6754
    return self.recv_markPartiallyActive()
12363 kshitij.so 6755
 
12567 amit.gupta 6756
  def send_markPartiallyActive(self, itemId, categoryId):
6757
    self._oprot.writeMessageBegin('markPartiallyActive', TMessageType.CALL, self._seqid)
6758
    args = markPartiallyActive_args()
6759
    args.itemId = itemId
6760
    args.categoryId = categoryId
6761
    args.write(self._oprot)
6762
    self._oprot.writeMessageEnd()
6763
    self._oprot.trans.flush()
6764
 
6765
  def recv_markPartiallyActive(self, ):
6766
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6767
    if mtype == TMessageType.EXCEPTION:
6768
      x = TApplicationException()
6769
      x.read(self._iprot)
6770
      self._iprot.readMessageEnd()
6771
      raise x
6772
    result = markPartiallyActive_result()
6773
    result.read(self._iprot)
6774
    self._iprot.readMessageEnd()
6775
    if result.success is not None:
6776
      return result.success
6777
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markPartiallyActive failed: unknown result");
6778
 
6779
  def updateItemStateVat(self, itemId, statevat):
6780
    """
6781
    Parameters:
6782
     - itemId
6783
     - statevat
6784
    """
6785
    self.send_updateItemStateVat(itemId, statevat)
6786
    return self.recv_updateItemStateVat()
6787
 
6788
  def send_updateItemStateVat(self, itemId, statevat):
6789
    self._oprot.writeMessageBegin('updateItemStateVat', TMessageType.CALL, self._seqid)
6790
    args = updateItemStateVat_args()
6791
    args.itemId = itemId
6792
    args.statevat = statevat
6793
    args.write(self._oprot)
6794
    self._oprot.writeMessageEnd()
6795
    self._oprot.trans.flush()
6796
 
6797
  def recv_updateItemStateVat(self, ):
6798
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6799
    if mtype == TMessageType.EXCEPTION:
6800
      x = TApplicationException()
6801
      x.read(self._iprot)
6802
      self._iprot.readMessageEnd()
6803
      raise x
6804
    result = updateItemStateVat_result()
6805
    result.read(self._iprot)
6806
    self._iprot.readMessageEnd()
6807
    if result.success is not None:
6808
      return result.success
6809
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemStateVat failed: unknown result");
6810
 
12620 amit.gupta 6811
  def getExAffiliateItemInfo(self, ):
6812
    self.send_getExAffiliateItemInfo()
6813
    return self.recv_getExAffiliateItemInfo()
12567 amit.gupta 6814
 
12620 amit.gupta 6815
  def send_getExAffiliateItemInfo(self, ):
6816
    self._oprot.writeMessageBegin('getExAffiliateItemInfo', TMessageType.CALL, self._seqid)
6817
    args = getExAffiliateItemInfo_args()
6818
    args.write(self._oprot)
6819
    self._oprot.writeMessageEnd()
6820
    self._oprot.trans.flush()
6821
 
6822
  def recv_getExAffiliateItemInfo(self, ):
6823
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6824
    if mtype == TMessageType.EXCEPTION:
6825
      x = TApplicationException()
6826
      x.read(self._iprot)
6827
      self._iprot.readMessageEnd()
6828
      raise x
6829
    result = getExAffiliateItemInfo_result()
6830
    result.read(self._iprot)
6831
    self._iprot.readMessageEnd()
6832
    if result.success is not None:
6833
      return result.success
6834
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getExAffiliateItemInfo failed: unknown result");
6835
 
12888 kshitij.so 6836
  def getAllItemstoListOnFbg(self, ):
6837
    self.send_getAllItemstoListOnFbg()
6838
    return self.recv_getAllItemstoListOnFbg()
12620 amit.gupta 6839
 
12888 kshitij.so 6840
  def send_getAllItemstoListOnFbg(self, ):
6841
    self._oprot.writeMessageBegin('getAllItemstoListOnFbg', TMessageType.CALL, self._seqid)
6842
    args = getAllItemstoListOnFbg_args()
6843
    args.write(self._oprot)
6844
    self._oprot.writeMessageEnd()
6845
    self._oprot.trans.flush()
6846
 
6847
  def recv_getAllItemstoListOnFbg(self, ):
6848
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6849
    if mtype == TMessageType.EXCEPTION:
6850
      x = TApplicationException()
6851
      x.read(self._iprot)
6852
      self._iprot.readMessageEnd()
6853
      raise x
6854
    result = getAllItemstoListOnFbg_result()
6855
    result.read(self._iprot)
6856
    self._iprot.readMessageEnd()
6857
    if result.success is not None:
6858
      return result.success
6859
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFbg failed: unknown result");
6860
 
12892 kshitij.so 6861
  def getAllFbgListedItems(self, ):
6862
    self.send_getAllFbgListedItems()
6863
    return self.recv_getAllFbgListedItems()
12888 kshitij.so 6864
 
12892 kshitij.so 6865
  def send_getAllFbgListedItems(self, ):
6866
    self._oprot.writeMessageBegin('getAllFbgListedItems', TMessageType.CALL, self._seqid)
6867
    args = getAllFbgListedItems_args()
6868
    args.write(self._oprot)
6869
    self._oprot.writeMessageEnd()
6870
    self._oprot.trans.flush()
6871
 
6872
  def recv_getAllFbgListedItems(self, ):
6873
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6874
    if mtype == TMessageType.EXCEPTION:
6875
      x = TApplicationException()
6876
      x.read(self._iprot)
6877
      self._iprot.readMessageEnd()
6878
      raise x
6879
    result = getAllFbgListedItems_result()
6880
    result.read(self._iprot)
6881
    self._iprot.readMessageEnd()
6882
    if result.success is not None:
6883
      return result.success
6884
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbgListedItems failed: unknown result");
6885
 
13136 amit.gupta 6886
  def checkServices(self, lines):
6887
    """
6888
    Parameters:
6889
     - lines
6890
    """
6891
    self.send_checkServices(lines)
6892
    return self.recv_checkServices()
12892 kshitij.so 6893
 
13136 amit.gupta 6894
  def send_checkServices(self, lines):
6895
    self._oprot.writeMessageBegin('checkServices', TMessageType.CALL, self._seqid)
6896
    args = checkServices_args()
6897
    args.lines = lines
6898
    args.write(self._oprot)
6899
    self._oprot.writeMessageEnd()
6900
    self._oprot.trans.flush()
6901
 
6902
  def recv_checkServices(self, ):
6903
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6904
    if mtype == TMessageType.EXCEPTION:
6905
      x = TApplicationException()
6906
      x.read(self._iprot)
6907
      self._iprot.readMessageEnd()
6908
      raise x
6909
    result = checkServices_result()
6910
    result.read(self._iprot)
6911
    self._iprot.readMessageEnd()
6912
    if result.success is not None:
6913
      return result.success
6914
    if result.cex is not None:
6915
      raise result.cex
6916
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkServices failed: unknown result");
6917
 
13709 manish.sha 6918
  def addHsItem(self, hsItems):
6919
    """
6920
    Parameters:
6921
     - hsItems
6922
    """
6923
    self.send_addHsItem(hsItems)
6924
    self.recv_addHsItem()
13136 amit.gupta 6925
 
13709 manish.sha 6926
  def send_addHsItem(self, hsItems):
6927
    self._oprot.writeMessageBegin('addHsItem', TMessageType.CALL, self._seqid)
6928
    args = addHsItem_args()
6929
    args.hsItems = hsItems
6930
    args.write(self._oprot)
6931
    self._oprot.writeMessageEnd()
6932
    self._oprot.trans.flush()
6933
 
6934
  def recv_addHsItem(self, ):
6935
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6936
    if mtype == TMessageType.EXCEPTION:
6937
      x = TApplicationException()
6938
      x.read(self._iprot)
6939
      self._iprot.readMessageEnd()
6940
      raise x
6941
    result = addHsItem_result()
6942
    result.read(self._iprot)
6943
    self._iprot.readMessageEnd()
6944
    return
6945
 
6946
  def getHsItem(self, hsItemId):
6947
    """
6948
    Parameters:
6949
     - hsItemId
6950
    """
6951
    self.send_getHsItem(hsItemId)
6952
    return self.recv_getHsItem()
6953
 
6954
  def send_getHsItem(self, hsItemId):
6955
    self._oprot.writeMessageBegin('getHsItem', TMessageType.CALL, self._seqid)
6956
    args = getHsItem_args()
6957
    args.hsItemId = hsItemId
6958
    args.write(self._oprot)
6959
    self._oprot.writeMessageEnd()
6960
    self._oprot.trans.flush()
6961
 
6962
  def recv_getHsItem(self, ):
6963
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6964
    if mtype == TMessageType.EXCEPTION:
6965
      x = TApplicationException()
6966
      x.read(self._iprot)
6967
      self._iprot.readMessageEnd()
6968
      raise x
6969
    result = getHsItem_result()
6970
    result.read(self._iprot)
6971
    self._iprot.readMessageEnd()
6972
    if result.success is not None:
6973
      return result.success
6974
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getHsItem failed: unknown result");
6975
 
6976
  def updateHsItem(self, hsItem):
6977
    """
6978
    Parameters:
6979
     - hsItem
6980
    """
6981
    self.send_updateHsItem(hsItem)
6982
    self.recv_updateHsItem()
6983
 
6984
  def send_updateHsItem(self, hsItem):
6985
    self._oprot.writeMessageBegin('updateHsItem', TMessageType.CALL, self._seqid)
6986
    args = updateHsItem_args()
6987
    args.hsItem = hsItem
6988
    args.write(self._oprot)
6989
    self._oprot.writeMessageEnd()
6990
    self._oprot.trans.flush()
6991
 
6992
  def recv_updateHsItem(self, ):
6993
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6994
    if mtype == TMessageType.EXCEPTION:
6995
      x = TApplicationException()
6996
      x.read(self._iprot)
6997
      self._iprot.readMessageEnd()
6998
      raise x
6999
    result = updateHsItem_result()
7000
    result.read(self._iprot)
7001
    self._iprot.readMessageEnd()
7002
    return
7003
 
14182 kshitij.so 7004
  def getPricingForDtr(self, catalogItemId):
7005
    """
7006
    Parameters:
7007
     - catalogItemId
7008
    """
7009
    self.send_getPricingForDtr(catalogItemId)
7010
    return self.recv_getPricingForDtr()
13709 manish.sha 7011
 
14182 kshitij.so 7012
  def send_getPricingForDtr(self, catalogItemId):
7013
    self._oprot.writeMessageBegin('getPricingForDtr', TMessageType.CALL, self._seqid)
7014
    args = getPricingForDtr_args()
7015
    args.catalogItemId = catalogItemId
7016
    args.write(self._oprot)
7017
    self._oprot.writeMessageEnd()
7018
    self._oprot.trans.flush()
7019
 
7020
  def recv_getPricingForDtr(self, ):
7021
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7022
    if mtype == TMessageType.EXCEPTION:
7023
      x = TApplicationException()
7024
      x.read(self._iprot)
7025
      self._iprot.readMessageEnd()
7026
      raise x
7027
    result = getPricingForDtr_result()
7028
    result.read(self._iprot)
7029
    self._iprot.readMessageEnd()
7030
    if result.success is not None:
7031
      return result.success
7032
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPricingForDtr failed: unknown result");
7033
 
15702 kshitij.so 7034
  def getAllItemstoListOnFbd(self, ):
7035
    self.send_getAllItemstoListOnFbd()
7036
    return self.recv_getAllItemstoListOnFbd()
14182 kshitij.so 7037
 
15702 kshitij.so 7038
  def send_getAllItemstoListOnFbd(self, ):
7039
    self._oprot.writeMessageBegin('getAllItemstoListOnFbd', TMessageType.CALL, self._seqid)
7040
    args = getAllItemstoListOnFbd_args()
7041
    args.write(self._oprot)
7042
    self._oprot.writeMessageEnd()
7043
    self._oprot.trans.flush()
7044
 
7045
  def recv_getAllItemstoListOnFbd(self, ):
7046
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7047
    if mtype == TMessageType.EXCEPTION:
7048
      x = TApplicationException()
7049
      x.read(self._iprot)
7050
      self._iprot.readMessageEnd()
7051
      raise x
7052
    result = getAllItemstoListOnFbd_result()
7053
    result.read(self._iprot)
7054
    self._iprot.readMessageEnd()
7055
    if result.success is not None:
7056
      return result.success
7057
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFbd failed: unknown result");
7058
 
15706 kshitij.so 7059
  def getAllFbdListedItems(self, ):
7060
    self.send_getAllFbdListedItems()
7061
    return self.recv_getAllFbdListedItems()
15702 kshitij.so 7062
 
15706 kshitij.so 7063
  def send_getAllFbdListedItems(self, ):
7064
    self._oprot.writeMessageBegin('getAllFbdListedItems', TMessageType.CALL, self._seqid)
7065
    args = getAllFbdListedItems_args()
7066
    args.write(self._oprot)
7067
    self._oprot.writeMessageEnd()
7068
    self._oprot.trans.flush()
7069
 
7070
  def recv_getAllFbdListedItems(self, ):
7071
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7072
    if mtype == TMessageType.EXCEPTION:
7073
      x = TApplicationException()
7074
      x.read(self._iprot)
7075
      self._iprot.readMessageEnd()
7076
      raise x
7077
    result = getAllFbdListedItems_result()
7078
    result.read(self._iprot)
7079
    self._iprot.readMessageEnd()
7080
    if result.success is not None:
7081
      return result.success
7082
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbdListedItems failed: unknown result");
7083
 
7084
 
5944 mandeep.dh 7085
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
7086
  def __init__(self, handler):
7087
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
7088
    self._processMap["addItem"] = Processor.process_addItem
7089
    self._processMap["updateItem"] = Processor.process_updateItem
7090
    self._processMap["isActive"] = Processor.process_isActive
7438 amit.gupta 7091
    self._processMap["getItemsStatus"] = Processor.process_getItemsStatus
5944 mandeep.dh 7092
    self._processMap["getItemStatusDescription"] = Processor.process_getItemStatusDescription
7093
    self._processMap["startItemOn"] = Processor.process_startItemOn
7094
    self._processMap["retireItemOn"] = Processor.process_retireItemOn
7095
    self._processMap["changeItemStatus"] = Processor.process_changeItemStatus
7096
    self._processMap["getItem"] = Processor.process_getItem
13493 amit.gupta 7097
    self._processMap["getItems"] = Processor.process_getItems
5944 mandeep.dh 7098
    self._processMap["getItemsByCatalogId"] = Processor.process_getItemsByCatalogId
7099
    self._processMap["getValidItemsByCatalogId"] = Processor.process_getValidItemsByCatalogId
7100
    self._processMap["getAllItems"] = Processor.process_getAllItems
7101
    self._processMap["getAllItemsByStatus"] = Processor.process_getAllItemsByStatus
7102
    self._processMap["markItemAsContentComplete"] = Processor.process_markItemAsContentComplete
12567 amit.gupta 7103
    self._processMap["getVatRates"] = Processor.process_getVatRates
5944 mandeep.dh 7104
    self._processMap["getAllItemsInRange"] = Processor.process_getAllItemsInRange
7105
    self._processMap["getAllItemsByStatusInRange"] = Processor.process_getAllItemsByStatusInRange
7106
    self._processMap["getItemCountByStatus"] = Processor.process_getItemCountByStatus
7107
    self._processMap["getBestSellers"] = Processor.process_getBestSellers
7108
    self._processMap["getBestSellersCatalogIds"] = Processor.process_getBestSellersCatalogIds
7109
    self._processMap["getBestSellersCount"] = Processor.process_getBestSellersCount
7110
    self._processMap["getBestDeals"] = Processor.process_getBestDeals
7111
    self._processMap["getBestDealsCatalogIds"] = Processor.process_getBestDealsCatalogIds
7112
    self._processMap["getBestDealsCount"] = Processor.process_getBestDealsCount
7113
    self._processMap["getComingSoon"] = Processor.process_getComingSoon
7114
    self._processMap["getComingSoonCatalogIds"] = Processor.process_getComingSoonCatalogIds
7115
    self._processMap["getComingSoonCount"] = Processor.process_getComingSoonCount
7116
    self._processMap["getLatestArrivals"] = Processor.process_getLatestArrivals
7117
    self._processMap["getLatestArrivalsCatalogIds"] = Processor.process_getLatestArrivalsCatalogIds
7118
    self._processMap["getLatestArrivalsCount"] = Processor.process_getLatestArrivalsCount
7119
    self._processMap["generateNewEntityID"] = Processor.process_generateNewEntityID
7120
    self._processMap["addCategory"] = Processor.process_addCategory
7121
    self._processMap["getCategory"] = Processor.process_getCategory
7122
    self._processMap["getAllCategories"] = Processor.process_getAllCategories
7123
    self._processMap["getAllSimilarItems"] = Processor.process_getAllSimilarItems
7124
    self._processMap["addSimilarItem"] = Processor.process_addSimilarItem
6512 kshitij.so 7125
    self._processMap["addTag"] = Processor.process_addTag
7126
    self._processMap["deleteEntityTag"] = Processor.process_deleteEntityTag
7127
    self._processMap["deleteTag"] = Processor.process_deleteTag
7128
    self._processMap["getAllTags"] = Processor.process_getAllTags
7129
    self._processMap["getAllEntitiesByTagName"] = Processor.process_getAllEntitiesByTagName
6845 amit.gupta 7130
    self._processMap["getAllEntityTags"] = Processor.process_getAllEntityTags
6850 kshitij.so 7131
    self._processMap["addBanner"] = Processor.process_addBanner
8579 kshitij.so 7132
    self._processMap["updateBanner"] = Processor.process_updateBanner
6850 kshitij.so 7133
    self._processMap["getAllBanners"] = Processor.process_getAllBanners
7134
    self._processMap["deleteBanner"] = Processor.process_deleteBanner
7135
    self._processMap["getBannerDetails"] = Processor.process_getBannerDetails
7136
    self._processMap["getActiveBanners"] = Processor.process_getActiveBanners
6849 kshitij.so 7137
    self._processMap["addBannerMap"] = Processor.process_addBannerMap
8579 kshitij.so 7138
    self._processMap["updateBannerMap"] = Processor.process_updateBannerMap
6849 kshitij.so 7139
    self._processMap["deleteBannerMap"] = Processor.process_deleteBannerMap
7140
    self._processMap["getBannerMapDetails"] = Processor.process_getBannerMapDetails
8579 kshitij.so 7141
    self._processMap["addBannerUri"] = Processor.process_addBannerUri
7142
    self._processMap["getUriMapping"] = Processor.process_getUriMapping
7143
    self._processMap["addCampaign"] = Processor.process_addCampaign
7144
    self._processMap["getCampaigns"] = Processor.process_getCampaigns
7145
    self._processMap["deleteCampaign"] = Processor.process_deleteCampaign
7146
    self._processMap["getAllCampaigns"] = Processor.process_getAllCampaigns
9155 kshitij.so 7147
    self._processMap["getActiveBannersForMobileSite"] = Processor.process_getActiveBannersForMobileSite
5944 mandeep.dh 7148
    self._processMap["deleteSimilarItem"] = Processor.process_deleteSimilarItem
7149
    self._processMap["checkSimilarItem"] = Processor.process_checkSimilarItem
7150
    self._processMap["validateRiskyStatus"] = Processor.process_validateRiskyStatus
7151
    self._processMap["changeItemRiskyFlag"] = Processor.process_changeItemRiskyFlag
7152
    self._processMap["getItemsByRiskyFlag"] = Processor.process_getItemsByRiskyFlag
7153
    self._processMap["getItemsForMasterSheet"] = Processor.process_getItemsForMasterSheet
7154
    self._processMap["getSimilarItemsCatalogIds"] = Processor.process_getSimilarItemsCatalogIds
7155
    self._processMap["addProductNotification"] = Processor.process_addProductNotification
7156
    self._processMap["sendProductNotifications"] = Processor.process_sendProductNotifications
7157
    self._processMap["getAllBrandsByCategory"] = Processor.process_getAllBrandsByCategory
7158
    self._processMap["getAllBrands"] = Processor.process_getAllBrands
7159
    self._processMap["getAllSources"] = Processor.process_getAllSources
7160
    self._processMap["getItemPricingBySource"] = Processor.process_getItemPricingBySource
7161
    self._processMap["addSourceItemPricing"] = Processor.process_addSourceItemPricing
7162
    self._processMap["getAllSourcePricing"] = Processor.process_getAllSourcePricing
7163
    self._processMap["getItemForSource"] = Processor.process_getItemForSource
7164
    self._processMap["searchItemsInRange"] = Processor.process_searchItemsInRange
7165
    self._processMap["getSearchResultCount"] = Processor.process_getSearchResultCount
7166
    self._processMap["getProductNotifications"] = Processor.process_getProductNotifications
7167
    self._processMap["getProductNotificationRequestCount"] = Processor.process_getProductNotificationRequestCount
7168
    self._processMap["addAuthorizationLog"] = Processor.process_addAuthorizationLog
7169
    self._processMap["addupdateVoucherForItem"] = Processor.process_addupdateVoucherForItem
7170
    self._processMap["deleteVoucherForItem"] = Processor.process_deleteVoucherForItem
7171
    self._processMap["getVoucherAmount"] = Processor.process_getVoucherAmount
7172
    self._processMap["getAllItemVouchers"] = Processor.process_getAllItemVouchers
7173
    self._processMap["isValidCatalogItemId"] = Processor.process_isValidCatalogItemId
6039 amit.gupta 7174
    self._processMap["getVatPercentageForItem"] = Processor.process_getVatPercentageForItem
7175
    self._processMap["getVatAmountForItem"] = Processor.process_getVatAmountForItem
6531 vikram.rag 7176
    self._processMap["getAllIgnoredInventoryUpdateItemsList"] = Processor.process_getAllIgnoredInventoryUpdateItemsList
6821 amar.kumar 7177
    self._processMap["getAllAliveItems"] = Processor.process_getAllAliveItems
6805 anupam.sin 7178
    self._processMap["getInsuranceAmount"] = Processor.process_getInsuranceAmount
7179
    self._processMap["getInsurer"] = Processor.process_getInsurer
6838 vikram.rag 7180
    self._processMap["getAllInsurers"] = Processor.process_getAllInsurers
6962 rajveer 7181
    self._processMap["updateInsuranceDeclaredAmount"] = Processor.process_updateInsuranceDeclaredAmount
7190 amar.kumar 7182
    self._processMap["getFreebieForItem"] = Processor.process_getFreebieForItem
7183
    self._processMap["addOrUpdateFreebieForItem"] = Processor.process_addOrUpdateFreebieForItem
7272 amit.gupta 7184
    self._processMap["addOrUpdateBrandInfo"] = Processor.process_addOrUpdateBrandInfo
7185
    self._processMap["getBrandInfo"] = Processor.process_getBrandInfo
7256 rajveer 7186
    self._processMap["getStorePricing"] = Processor.process_getStorePricing
7306 rajveer 7187
    self._processMap["getStorePricings"] = Processor.process_getStorePricings
7265 rajveer 7188
    self._processMap["updateStorePricing"] = Processor.process_updateStorePricing
7281 kshitij.so 7189
    self._processMap["getAllAmazonListedItems"] = Processor.process_getAllAmazonListedItems
8619 kshitij.so 7190
    self._processMap["searchAmazonItems"] = Processor.process_searchAmazonItems
7191
    self._processMap["getAmazonSearchResultCount"] = Processor.process_getAmazonSearchResultCount
7192
    self._processMap["getCountForAmazonlistedItems"] = Processor.process_getCountForAmazonlistedItems
7281 kshitij.so 7193
    self._processMap["getAmazonItemDetails"] = Processor.process_getAmazonItemDetails
7194
    self._processMap["updateAmazonItemDetails"] = Processor.process_updateAmazonItemDetails
7195
    self._processMap["addAmazonItem"] = Processor.process_addAmazonItem
7291 vikram.rag 7196
    self._processMap["getAsinItems"] = Processor.process_getAsinItems
7197
    self._processMap["getAllFbaListedItems"] = Processor.process_getAllFbaListedItems
7198
    self._processMap["getAllNonFbaListedItems"] = Processor.process_getAllNonFbaListedItems
7460 kshitij.so 7199
    self._processMap["updateItemInventory"] = Processor.process_updateItemInventory
7770 kshitij.so 7200
    self._processMap["updateTimestampForAmazonFeeds"] = Processor.process_updateTimestampForAmazonFeeds
7897 amar.kumar 7201
    self._processMap["getAllParentCategories"] = Processor.process_getAllParentCategories
7977 kshitij.so 7202
    self._processMap["addPageViewEvent"] = Processor.process_addPageViewEvent
7203
    self._processMap["addCartEvent"] = Processor.process_addCartEvent
8182 amar.kumar 7204
    self._processMap["addEbayItem"] = Processor.process_addEbayItem
7205
    self._processMap["getEbayItem"] = Processor.process_getEbayItem
7206
    self._processMap["updateEbayItem"] = Processor.process_updateEbayItem
8139 kshitij.so 7207
    self._processMap["getAmazonListedItems"] = Processor.process_getAmazonListedItems
8168 kshitij.so 7208
    self._processMap["updateAmazonAttributesInBulk"] = Processor.process_updateAmazonAttributesInBulk
8379 vikram.rag 7209
    self._processMap["getAllItemstoListOnFba"] = Processor.process_getAllItemstoListOnFba
7210
    self._processMap["getAllItemstoListOnNonFba"] = Processor.process_getAllItemstoListOnNonFba
8619 kshitij.so 7211
    self._processMap["updateAsin"] = Processor.process_updateAsin
8739 vikram.rag 7212
    self._processMap["addOrUpdateSnapdealItem"] = Processor.process_addOrUpdateSnapdealItem
7213
    self._processMap["getSnapdealItem"] = Processor.process_getSnapdealItem
9242 kshitij.so 7214
    self._processMap["getSnapdealItemDetails"] = Processor.process_getSnapdealItemDetails
8739 vikram.rag 7215
    self._processMap["getAllSnapdealItems"] = Processor.process_getAllSnapdealItems
9242 kshitij.so 7216
    self._processMap["getSnapdealItems"] = Processor.process_getSnapdealItems
7217
    self._processMap["searchSnapdealItems"] = Processor.process_searchSnapdealItems
7218
    self._processMap["getCountForSnapdealItems"] = Processor.process_getCountForSnapdealItems
7219
    self._processMap["getSnapdealSearchResultCount"] = Processor.process_getSnapdealSearchResultCount
9299 kshitij.so 7220
    self._processMap["getPrefferedInsurerForItem"] = Processor.process_getPrefferedInsurerForItem
9456 vikram.rag 7221
    self._processMap["getSnapdealItembySkuAtSnapdeal"] = Processor.process_getSnapdealItembySkuAtSnapdeal
9621 manish.sha 7222
    self._processMap["getProductFeedSubmit"] = Processor.process_getProductFeedSubmit
7223
    self._processMap["addProductFeedSubmit"] = Processor.process_addProductFeedSubmit
7224
    self._processMap["updateProductFeedSubmit"] = Processor.process_updateProductFeedSubmit
7225
    self._processMap["deleteProductFeedSubmit"] = Processor.process_deleteProductFeedSubmit
7226
    self._processMap["getAllProductFeedSubmit"] = Processor.process_getAllProductFeedSubmit
9724 kshitij.so 7227
    self._processMap["getMarketplacedetailsForItem"] = Processor.process_getMarketplacedetailsForItem
7228
    self._processMap["updateMarketplaceAttributesForItem"] = Processor.process_updateMarketplaceAttributesForItem
9779 kshitij.so 7229
    self._processMap["getCostingForMarketplace"] = Processor.process_getCostingForMarketplace
9776 vikram.rag 7230
    self._processMap["getMarketPlaceItemsForPriceUpdate"] = Processor.process_getMarketPlaceItemsForPriceUpdate
7231
    self._processMap["updateMarketPlacePriceUpdateStatus"] = Processor.process_updateMarketPlacePriceUpdateStatus
9861 rajveer 7232
    self._processMap["updateItemHoldInventory"] = Processor.process_updateItemHoldInventory
9895 vikram.rag 7233
    self._processMap["updateNlcAtMarketplaces"] = Processor.process_updateNlcAtMarketplaces
9945 vikram.rag 7234
    self._processMap["getAllFlipkartItems"] = Processor.process_getAllFlipkartItems
10097 kshitij.so 7235
    self._processMap["addOrUpdateFlipkartItem"] = Processor.process_addOrUpdateFlipkartItem
7236
    self._processMap["getFlipkartItem"] = Processor.process_getFlipkartItem
7237
    self._processMap["getFlipkartItemDetails"] = Processor.process_getFlipkartItemDetails
7238
    self._processMap["getFlipkartItems"] = Processor.process_getFlipkartItems
7239
    self._processMap["searchFlipkartItems"] = Processor.process_searchFlipkartItems
7240
    self._processMap["getCountForFlipkartItems"] = Processor.process_getCountForFlipkartItems
7241
    self._processMap["getFlipkartSearchResultCount"] = Processor.process_getFlipkartSearchResultCount
7242
    self._processMap["getAllFkItems"] = Processor.process_getAllFkItems
10140 vikram.rag 7243
    self._processMap["getFlipkartItemBySkyAtFlipkart"] = Processor.process_getFlipkartItemBySkyAtFlipkart
11015 kshitij.so 7244
    self._processMap["getMarketplaceHistory"] = Processor.process_getMarketplaceHistory
10909 vikram.rag 7245
    self._processMap["getAllFbbListedItems"] = Processor.process_getAllFbbListedItems
10924 vikram.rag 7246
    self._processMap["getAllFbbPricingItems"] = Processor.process_getAllFbbPricingItems
11015 kshitij.so 7247
    self._processMap["getCountForMarketplaceHistory"] = Processor.process_getCountForMarketplaceHistory
7248
    self._processMap["getMarketplaceHistoryByDate"] = Processor.process_getMarketplaceHistoryByDate
11531 vikram.rag 7249
    self._processMap["getPrivateDealDetails"] = Processor.process_getPrivateDealDetails
7250
    self._processMap["getPrivateDealItems"] = Processor.process_getPrivateDealItems
11592 amit.gupta 7251
    self._processMap["getAllActivePrivateDeals"] = Processor.process_getAllActivePrivateDeals
11531 vikram.rag 7252
    self._processMap["addOrUpdatePrivateDeal"] = Processor.process_addOrUpdatePrivateDeal
11635 vikram.rag 7253
    self._processMap["getPrivateDealsCatalogIds"] = Processor.process_getPrivateDealsCatalogIds
11645 amit.gupta 7254
    self._processMap["getPrivateDealsCount"] = Processor.process_getPrivateDealsCount
11905 kshitij.so 7255
    self._processMap["getAmazonOutSyncItems"] = Processor.process_getAmazonOutSyncItems
7256
    self._processMap["getAllPrivateDealsComparison"] = Processor.process_getAllPrivateDealsComparison
12133 kshitij.so 7257
    self._processMap["getAllSnapdealMarketplaceItem"] = Processor.process_getAllSnapdealMarketplaceItem
7258
    self._processMap["getAllFlipkartMarketplaceItem"] = Processor.process_getAllFlipkartMarketplaceItem
12243 kshitij.so 7259
    self._processMap["addCompetitorScraping"] = Processor.process_addCompetitorScraping
7260
    self._processMap["getPreviousCompetitorScraping"] = Processor.process_getPreviousCompetitorScraping
12256 kshitij.so 7261
    self._processMap["getUploadResultById"] = Processor.process_getUploadResultById
12363 kshitij.so 7262
    self._processMap["addAmazonPromotion"] = Processor.process_addAmazonPromotion
7263
    self._processMap["getAmazonPromotion"] = Processor.process_getAmazonPromotion
7264
    self._processMap["updateAmazonPromotion"] = Processor.process_updateAmazonPromotion
12567 amit.gupta 7265
    self._processMap["markPartiallyActive"] = Processor.process_markPartiallyActive
7266
    self._processMap["updateItemStateVat"] = Processor.process_updateItemStateVat
12620 amit.gupta 7267
    self._processMap["getExAffiliateItemInfo"] = Processor.process_getExAffiliateItemInfo
12888 kshitij.so 7268
    self._processMap["getAllItemstoListOnFbg"] = Processor.process_getAllItemstoListOnFbg
12892 kshitij.so 7269
    self._processMap["getAllFbgListedItems"] = Processor.process_getAllFbgListedItems
13136 amit.gupta 7270
    self._processMap["checkServices"] = Processor.process_checkServices
13709 manish.sha 7271
    self._processMap["addHsItem"] = Processor.process_addHsItem
7272
    self._processMap["getHsItem"] = Processor.process_getHsItem
7273
    self._processMap["updateHsItem"] = Processor.process_updateHsItem
14182 kshitij.so 7274
    self._processMap["getPricingForDtr"] = Processor.process_getPricingForDtr
15702 kshitij.so 7275
    self._processMap["getAllItemstoListOnFbd"] = Processor.process_getAllItemstoListOnFbd
15706 kshitij.so 7276
    self._processMap["getAllFbdListedItems"] = Processor.process_getAllFbdListedItems
5944 mandeep.dh 7277
 
7278
  def process(self, iprot, oprot):
7279
    (name, type, seqid) = iprot.readMessageBegin()
7280
    if name not in self._processMap:
7281
      iprot.skip(TType.STRUCT)
7282
      iprot.readMessageEnd()
7283
      x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
7284
      oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
7285
      x.write(oprot)
7286
      oprot.writeMessageEnd()
7287
      oprot.trans.flush()
7288
      return
7289
    else:
7290
      self._processMap[name](self, seqid, iprot, oprot)
7291
    return True
7292
 
7293
  def process_addItem(self, seqid, iprot, oprot):
7294
    args = addItem_args()
7295
    args.read(iprot)
7296
    iprot.readMessageEnd()
7297
    result = addItem_result()
7298
    try:
7299
      result.success = self._handler.addItem(args.item)
7300
    except CatalogServiceException, cex:
7301
      result.cex = cex
7302
    oprot.writeMessageBegin("addItem", TMessageType.REPLY, seqid)
7303
    result.write(oprot)
7304
    oprot.writeMessageEnd()
7305
    oprot.trans.flush()
7306
 
7307
  def process_updateItem(self, seqid, iprot, oprot):
7308
    args = updateItem_args()
7309
    args.read(iprot)
7310
    iprot.readMessageEnd()
7311
    result = updateItem_result()
7312
    try:
7313
      result.success = self._handler.updateItem(args.item)
7314
    except CatalogServiceException, cex:
7315
      result.cex = cex
7316
    oprot.writeMessageBegin("updateItem", TMessageType.REPLY, seqid)
7317
    result.write(oprot)
7318
    oprot.writeMessageEnd()
7319
    oprot.trans.flush()
7320
 
7321
  def process_isActive(self, seqid, iprot, oprot):
7322
    args = isActive_args()
7323
    args.read(iprot)
7324
    iprot.readMessageEnd()
7325
    result = isActive_result()
7326
    try:
7327
      result.success = self._handler.isActive(args.itemId)
7328
    except CatalogServiceException, isex:
7329
      result.isex = isex
7330
    oprot.writeMessageBegin("isActive", TMessageType.REPLY, seqid)
7331
    result.write(oprot)
7332
    oprot.writeMessageEnd()
7333
    oprot.trans.flush()
7334
 
7438 amit.gupta 7335
  def process_getItemsStatus(self, seqid, iprot, oprot):
7336
    args = getItemsStatus_args()
7337
    args.read(iprot)
7338
    iprot.readMessageEnd()
7339
    result = getItemsStatus_result()
7340
    try:
7341
      result.success = self._handler.getItemsStatus(args.itemIds)
7342
    except CatalogServiceException, isex:
7343
      result.isex = isex
7344
    oprot.writeMessageBegin("getItemsStatus", TMessageType.REPLY, seqid)
7345
    result.write(oprot)
7346
    oprot.writeMessageEnd()
7347
    oprot.trans.flush()
7348
 
5944 mandeep.dh 7349
  def process_getItemStatusDescription(self, seqid, iprot, oprot):
7350
    args = getItemStatusDescription_args()
7351
    args.read(iprot)
7352
    iprot.readMessageEnd()
7353
    result = getItemStatusDescription_result()
7354
    try:
7355
      result.success = self._handler.getItemStatusDescription(args.itemId)
7356
    except CatalogServiceException, isex:
7357
      result.isex = isex
7358
    oprot.writeMessageBegin("getItemStatusDescription", TMessageType.REPLY, seqid)
7359
    result.write(oprot)
7360
    oprot.writeMessageEnd()
7361
    oprot.trans.flush()
7362
 
7363
  def process_startItemOn(self, seqid, iprot, oprot):
7364
    args = startItemOn_args()
7365
    args.read(iprot)
7366
    iprot.readMessageEnd()
7367
    result = startItemOn_result()
7368
    try:
7369
      self._handler.startItemOn(args.item_id, args.timestamp)
7370
    except CatalogServiceException, cex:
7371
      result.cex = cex
7372
    oprot.writeMessageBegin("startItemOn", TMessageType.REPLY, seqid)
7373
    result.write(oprot)
7374
    oprot.writeMessageEnd()
7375
    oprot.trans.flush()
7376
 
7377
  def process_retireItemOn(self, seqid, iprot, oprot):
7378
    args = retireItemOn_args()
7379
    args.read(iprot)
7380
    iprot.readMessageEnd()
7381
    result = retireItemOn_result()
7382
    try:
7383
      self._handler.retireItemOn(args.item_id, args.timestamp)
7384
    except CatalogServiceException, cex:
7385
      result.cex = cex
7386
    oprot.writeMessageBegin("retireItemOn", TMessageType.REPLY, seqid)
7387
    result.write(oprot)
7388
    oprot.writeMessageEnd()
7389
    oprot.trans.flush()
7390
 
7391
  def process_changeItemStatus(self, seqid, iprot, oprot):
7392
    args = changeItemStatus_args()
7393
    args.read(iprot)
7394
    iprot.readMessageEnd()
7395
    result = changeItemStatus_result()
7396
    try:
7397
      self._handler.changeItemStatus(args.item_id, args.timestamp, args.newstatus)
7398
    except CatalogServiceException, cex:
7399
      result.cex = cex
7400
    oprot.writeMessageBegin("changeItemStatus", TMessageType.REPLY, seqid)
7401
    result.write(oprot)
7402
    oprot.writeMessageEnd()
7403
    oprot.trans.flush()
7404
 
7405
  def process_getItem(self, seqid, iprot, oprot):
7406
    args = getItem_args()
7407
    args.read(iprot)
7408
    iprot.readMessageEnd()
7409
    result = getItem_result()
7410
    try:
7411
      result.success = self._handler.getItem(args.item_id)
7412
    except CatalogServiceException, cex:
7413
      result.cex = cex
7414
    oprot.writeMessageBegin("getItem", TMessageType.REPLY, seqid)
7415
    result.write(oprot)
7416
    oprot.writeMessageEnd()
7417
    oprot.trans.flush()
7418
 
13493 amit.gupta 7419
  def process_getItems(self, seqid, iprot, oprot):
7420
    args = getItems_args()
7421
    args.read(iprot)
7422
    iprot.readMessageEnd()
7423
    result = getItems_result()
7424
    try:
7425
      result.success = self._handler.getItems(args.item_ids)
7426
    except CatalogServiceException, cex:
7427
      result.cex = cex
7428
    oprot.writeMessageBegin("getItems", TMessageType.REPLY, seqid)
7429
    result.write(oprot)
7430
    oprot.writeMessageEnd()
7431
    oprot.trans.flush()
7432
 
5944 mandeep.dh 7433
  def process_getItemsByCatalogId(self, seqid, iprot, oprot):
7434
    args = getItemsByCatalogId_args()
7435
    args.read(iprot)
7436
    iprot.readMessageEnd()
7437
    result = getItemsByCatalogId_result()
7438
    try:
7439
      result.success = self._handler.getItemsByCatalogId(args.catalog_item_id)
7440
    except CatalogServiceException, cex:
7441
      result.cex = cex
7442
    oprot.writeMessageBegin("getItemsByCatalogId", TMessageType.REPLY, seqid)
7443
    result.write(oprot)
7444
    oprot.writeMessageEnd()
7445
    oprot.trans.flush()
7446
 
7447
  def process_getValidItemsByCatalogId(self, seqid, iprot, oprot):
7448
    args = getValidItemsByCatalogId_args()
7449
    args.read(iprot)
7450
    iprot.readMessageEnd()
7451
    result = getValidItemsByCatalogId_result()
7452
    try:
7453
      result.success = self._handler.getValidItemsByCatalogId(args.catalog_item_id)
7454
    except CatalogServiceException, cex:
7455
      result.cex = cex
7456
    oprot.writeMessageBegin("getValidItemsByCatalogId", TMessageType.REPLY, seqid)
7457
    result.write(oprot)
7458
    oprot.writeMessageEnd()
7459
    oprot.trans.flush()
7460
 
7461
  def process_getAllItems(self, seqid, iprot, oprot):
7462
    args = getAllItems_args()
7463
    args.read(iprot)
7464
    iprot.readMessageEnd()
7465
    result = getAllItems_result()
7466
    try:
7467
      result.success = self._handler.getAllItems(args.isActive)
7468
    except CatalogServiceException, cex:
7469
      result.cex = cex
7470
    oprot.writeMessageBegin("getAllItems", TMessageType.REPLY, seqid)
7471
    result.write(oprot)
7472
    oprot.writeMessageEnd()
7473
    oprot.trans.flush()
7474
 
7475
  def process_getAllItemsByStatus(self, seqid, iprot, oprot):
7476
    args = getAllItemsByStatus_args()
7477
    args.read(iprot)
7478
    iprot.readMessageEnd()
7479
    result = getAllItemsByStatus_result()
7480
    try:
7481
      result.success = self._handler.getAllItemsByStatus(args.itemStatus)
7482
    except CatalogServiceException, cex:
7483
      result.cex = cex
7484
    oprot.writeMessageBegin("getAllItemsByStatus", TMessageType.REPLY, seqid)
7485
    result.write(oprot)
7486
    oprot.writeMessageEnd()
7487
    oprot.trans.flush()
7488
 
7489
  def process_markItemAsContentComplete(self, seqid, iprot, oprot):
7490
    args = markItemAsContentComplete_args()
7491
    args.read(iprot)
7492
    iprot.readMessageEnd()
7493
    result = markItemAsContentComplete_result()
7494
    try:
9253 rajveer 7495
      result.success = self._handler.markItemAsContentComplete(args.entityId, args.category, args.brand, args.modelName, args.modelNumber, args.isAndroid)
5944 mandeep.dh 7496
    except CatalogServiceException, cex:
7497
      result.cex = cex
7498
    oprot.writeMessageBegin("markItemAsContentComplete", TMessageType.REPLY, seqid)
7499
    result.write(oprot)
7500
    oprot.writeMessageEnd()
7501
    oprot.trans.flush()
7502
 
12567 amit.gupta 7503
  def process_getVatRates(self, seqid, iprot, oprot):
7504
    args = getVatRates_args()
7505
    args.read(iprot)
7506
    iprot.readMessageEnd()
7507
    result = getVatRates_result()
7508
    try:
7509
      result.success = self._handler.getVatRates(args.itemId, args.categoryId)
7510
    except CatalogServiceException, cex:
7511
      result.cex = cex
7512
    oprot.writeMessageBegin("getVatRates", TMessageType.REPLY, seqid)
7513
    result.write(oprot)
7514
    oprot.writeMessageEnd()
7515
    oprot.trans.flush()
7516
 
5944 mandeep.dh 7517
  def process_getAllItemsInRange(self, seqid, iprot, oprot):
7518
    args = getAllItemsInRange_args()
7519
    args.read(iprot)
7520
    iprot.readMessageEnd()
7521
    result = getAllItemsInRange_result()
7522
    try:
7523
      result.success = self._handler.getAllItemsInRange(args.offset, args.limit)
7524
    except CatalogServiceException, cex:
7525
      result.cex = cex
7526
    oprot.writeMessageBegin("getAllItemsInRange", TMessageType.REPLY, seqid)
7527
    result.write(oprot)
7528
    oprot.writeMessageEnd()
7529
    oprot.trans.flush()
7530
 
7531
  def process_getAllItemsByStatusInRange(self, seqid, iprot, oprot):
7532
    args = getAllItemsByStatusInRange_args()
7533
    args.read(iprot)
7534
    iprot.readMessageEnd()
7535
    result = getAllItemsByStatusInRange_result()
7536
    try:
7537
      result.success = self._handler.getAllItemsByStatusInRange(args.itemStatus, args.offset, args.limit)
7538
    except CatalogServiceException, cex:
7539
      result.cex = cex
7540
    oprot.writeMessageBegin("getAllItemsByStatusInRange", TMessageType.REPLY, seqid)
7541
    result.write(oprot)
7542
    oprot.writeMessageEnd()
7543
    oprot.trans.flush()
7544
 
7545
  def process_getItemCountByStatus(self, seqid, iprot, oprot):
7546
    args = getItemCountByStatus_args()
7547
    args.read(iprot)
7548
    iprot.readMessageEnd()
7549
    result = getItemCountByStatus_result()
7550
    result.success = self._handler.getItemCountByStatus(args.useStatus, args.itemStatus)
7551
    oprot.writeMessageBegin("getItemCountByStatus", TMessageType.REPLY, seqid)
7552
    result.write(oprot)
7553
    oprot.writeMessageEnd()
7554
    oprot.trans.flush()
7555
 
7556
  def process_getBestSellers(self, seqid, iprot, oprot):
7557
    args = getBestSellers_args()
7558
    args.read(iprot)
7559
    iprot.readMessageEnd()
7560
    result = getBestSellers_result()
7561
    try:
7562
      result.success = self._handler.getBestSellers()
7563
    except CatalogServiceException, isex:
7564
      result.isex = isex
7565
    oprot.writeMessageBegin("getBestSellers", TMessageType.REPLY, seqid)
7566
    result.write(oprot)
7567
    oprot.writeMessageEnd()
7568
    oprot.trans.flush()
7569
 
7570
  def process_getBestSellersCatalogIds(self, seqid, iprot, oprot):
7571
    args = getBestSellersCatalogIds_args()
7572
    args.read(iprot)
7573
    iprot.readMessageEnd()
7574
    result = getBestSellersCatalogIds_result()
7575
    try:
7576
      result.success = self._handler.getBestSellersCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7577
    except CatalogServiceException, cex:
7578
      result.cex = cex
7579
    oprot.writeMessageBegin("getBestSellersCatalogIds", TMessageType.REPLY, seqid)
7580
    result.write(oprot)
7581
    oprot.writeMessageEnd()
7582
    oprot.trans.flush()
7583
 
7584
  def process_getBestSellersCount(self, seqid, iprot, oprot):
7585
    args = getBestSellersCount_args()
7586
    args.read(iprot)
7587
    iprot.readMessageEnd()
7588
    result = getBestSellersCount_result()
7589
    try:
7590
      result.success = self._handler.getBestSellersCount()
7591
    except CatalogServiceException, cex:
7592
      result.cex = cex
7593
    oprot.writeMessageBegin("getBestSellersCount", TMessageType.REPLY, seqid)
7594
    result.write(oprot)
7595
    oprot.writeMessageEnd()
7596
    oprot.trans.flush()
7597
 
7598
  def process_getBestDeals(self, seqid, iprot, oprot):
7599
    args = getBestDeals_args()
7600
    args.read(iprot)
7601
    iprot.readMessageEnd()
7602
    result = getBestDeals_result()
7603
    try:
7604
      result.success = self._handler.getBestDeals()
7605
    except CatalogServiceException, isex:
7606
      result.isex = isex
7607
    oprot.writeMessageBegin("getBestDeals", TMessageType.REPLY, seqid)
7608
    result.write(oprot)
7609
    oprot.writeMessageEnd()
7610
    oprot.trans.flush()
7611
 
7612
  def process_getBestDealsCatalogIds(self, seqid, iprot, oprot):
7613
    args = getBestDealsCatalogIds_args()
7614
    args.read(iprot)
7615
    iprot.readMessageEnd()
7616
    result = getBestDealsCatalogIds_result()
7617
    try:
7618
      result.success = self._handler.getBestDealsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7619
    except CatalogServiceException, cex:
7620
      result.cex = cex
7621
    oprot.writeMessageBegin("getBestDealsCatalogIds", TMessageType.REPLY, seqid)
7622
    result.write(oprot)
7623
    oprot.writeMessageEnd()
7624
    oprot.trans.flush()
7625
 
7626
  def process_getBestDealsCount(self, seqid, iprot, oprot):
7627
    args = getBestDealsCount_args()
7628
    args.read(iprot)
7629
    iprot.readMessageEnd()
7630
    result = getBestDealsCount_result()
7631
    try:
7632
      result.success = self._handler.getBestDealsCount()
7633
    except CatalogServiceException, cex:
7634
      result.cex = cex
7635
    oprot.writeMessageBegin("getBestDealsCount", TMessageType.REPLY, seqid)
7636
    result.write(oprot)
7637
    oprot.writeMessageEnd()
7638
    oprot.trans.flush()
7639
 
7640
  def process_getComingSoon(self, seqid, iprot, oprot):
7641
    args = getComingSoon_args()
7642
    args.read(iprot)
7643
    iprot.readMessageEnd()
7644
    result = getComingSoon_result()
7645
    try:
7646
      result.success = self._handler.getComingSoon()
7647
    except CatalogServiceException, isex:
7648
      result.isex = isex
7649
    oprot.writeMessageBegin("getComingSoon", TMessageType.REPLY, seqid)
7650
    result.write(oprot)
7651
    oprot.writeMessageEnd()
7652
    oprot.trans.flush()
7653
 
7654
  def process_getComingSoonCatalogIds(self, seqid, iprot, oprot):
7655
    args = getComingSoonCatalogIds_args()
7656
    args.read(iprot)
7657
    iprot.readMessageEnd()
7658
    result = getComingSoonCatalogIds_result()
7659
    try:
7660
      result.success = self._handler.getComingSoonCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7661
    except CatalogServiceException, cex:
7662
      result.cex = cex
7663
    oprot.writeMessageBegin("getComingSoonCatalogIds", TMessageType.REPLY, seqid)
7664
    result.write(oprot)
7665
    oprot.writeMessageEnd()
7666
    oprot.trans.flush()
7667
 
7668
  def process_getComingSoonCount(self, seqid, iprot, oprot):
7669
    args = getComingSoonCount_args()
7670
    args.read(iprot)
7671
    iprot.readMessageEnd()
7672
    result = getComingSoonCount_result()
7673
    try:
7674
      result.success = self._handler.getComingSoonCount()
7675
    except CatalogServiceException, cex:
7676
      result.cex = cex
7677
    oprot.writeMessageBegin("getComingSoonCount", TMessageType.REPLY, seqid)
7678
    result.write(oprot)
7679
    oprot.writeMessageEnd()
7680
    oprot.trans.flush()
7681
 
7682
  def process_getLatestArrivals(self, seqid, iprot, oprot):
7683
    args = getLatestArrivals_args()
7684
    args.read(iprot)
7685
    iprot.readMessageEnd()
7686
    result = getLatestArrivals_result()
7687
    try:
7688
      result.success = self._handler.getLatestArrivals()
7689
    except CatalogServiceException, isex:
7690
      result.isex = isex
7691
    oprot.writeMessageBegin("getLatestArrivals", TMessageType.REPLY, seqid)
7692
    result.write(oprot)
7693
    oprot.writeMessageEnd()
7694
    oprot.trans.flush()
7695
 
7696
  def process_getLatestArrivalsCatalogIds(self, seqid, iprot, oprot):
7697
    args = getLatestArrivalsCatalogIds_args()
7698
    args.read(iprot)
7699
    iprot.readMessageEnd()
7700
    result = getLatestArrivalsCatalogIds_result()
7701
    try:
7702
      result.success = self._handler.getLatestArrivalsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.categories)
7703
    except CatalogServiceException, cex:
7704
      result.cex = cex
7705
    oprot.writeMessageBegin("getLatestArrivalsCatalogIds", TMessageType.REPLY, seqid)
7706
    result.write(oprot)
7707
    oprot.writeMessageEnd()
7708
    oprot.trans.flush()
7709
 
7710
  def process_getLatestArrivalsCount(self, seqid, iprot, oprot):
7711
    args = getLatestArrivalsCount_args()
7712
    args.read(iprot)
7713
    iprot.readMessageEnd()
7714
    result = getLatestArrivalsCount_result()
7715
    try:
7716
      result.success = self._handler.getLatestArrivalsCount()
7717
    except CatalogServiceException, cex:
7718
      result.cex = cex
7719
    oprot.writeMessageBegin("getLatestArrivalsCount", TMessageType.REPLY, seqid)
7720
    result.write(oprot)
7721
    oprot.writeMessageEnd()
7722
    oprot.trans.flush()
7723
 
7724
  def process_generateNewEntityID(self, seqid, iprot, oprot):
7725
    args = generateNewEntityID_args()
7726
    args.read(iprot)
7727
    iprot.readMessageEnd()
7728
    result = generateNewEntityID_result()
7729
    result.success = self._handler.generateNewEntityID()
7730
    oprot.writeMessageBegin("generateNewEntityID", TMessageType.REPLY, seqid)
7731
    result.write(oprot)
7732
    oprot.writeMessageEnd()
7733
    oprot.trans.flush()
7734
 
7735
  def process_addCategory(self, seqid, iprot, oprot):
7736
    args = addCategory_args()
7737
    args.read(iprot)
7738
    iprot.readMessageEnd()
7739
    result = addCategory_result()
7740
    result.success = self._handler.addCategory(args.category)
7741
    oprot.writeMessageBegin("addCategory", TMessageType.REPLY, seqid)
7742
    result.write(oprot)
7743
    oprot.writeMessageEnd()
7744
    oprot.trans.flush()
7745
 
7746
  def process_getCategory(self, seqid, iprot, oprot):
7747
    args = getCategory_args()
7748
    args.read(iprot)
7749
    iprot.readMessageEnd()
7750
    result = getCategory_result()
7751
    result.success = self._handler.getCategory(args.id)
7752
    oprot.writeMessageBegin("getCategory", TMessageType.REPLY, seqid)
7753
    result.write(oprot)
7754
    oprot.writeMessageEnd()
7755
    oprot.trans.flush()
7756
 
7757
  def process_getAllCategories(self, seqid, iprot, oprot):
7758
    args = getAllCategories_args()
7759
    args.read(iprot)
7760
    iprot.readMessageEnd()
7761
    result = getAllCategories_result()
7762
    result.success = self._handler.getAllCategories()
7763
    oprot.writeMessageBegin("getAllCategories", TMessageType.REPLY, seqid)
7764
    result.write(oprot)
7765
    oprot.writeMessageEnd()
7766
    oprot.trans.flush()
7767
 
7768
  def process_getAllSimilarItems(self, seqid, iprot, oprot):
7769
    args = getAllSimilarItems_args()
7770
    args.read(iprot)
7771
    iprot.readMessageEnd()
7772
    result = getAllSimilarItems_result()
7773
    result.success = self._handler.getAllSimilarItems(args.itemId)
7774
    oprot.writeMessageBegin("getAllSimilarItems", TMessageType.REPLY, seqid)
7775
    result.write(oprot)
7776
    oprot.writeMessageEnd()
7777
    oprot.trans.flush()
7778
 
7779
  def process_addSimilarItem(self, seqid, iprot, oprot):
7780
    args = addSimilarItem_args()
7781
    args.read(iprot)
7782
    iprot.readMessageEnd()
7783
    result = addSimilarItem_result()
7784
    try:
7785
      result.success = self._handler.addSimilarItem(args.itemId, args.catalogItemId)
7786
    except CatalogServiceException, cex:
7787
      result.cex = cex
7788
    oprot.writeMessageBegin("addSimilarItem", TMessageType.REPLY, seqid)
7789
    result.write(oprot)
7790
    oprot.writeMessageEnd()
7791
    oprot.trans.flush()
7792
 
6512 kshitij.so 7793
  def process_addTag(self, seqid, iprot, oprot):
7794
    args = addTag_args()
7795
    args.read(iprot)
7796
    iprot.readMessageEnd()
7797
    result = addTag_result()
7798
    result.success = self._handler.addTag(args.displayName, args.itemId)
7799
    oprot.writeMessageBegin("addTag", TMessageType.REPLY, seqid)
7800
    result.write(oprot)
7801
    oprot.writeMessageEnd()
7802
    oprot.trans.flush()
7803
 
7804
  def process_deleteEntityTag(self, seqid, iprot, oprot):
7805
    args = deleteEntityTag_args()
7806
    args.read(iprot)
7807
    iprot.readMessageEnd()
7808
    result = deleteEntityTag_result()
7809
    result.success = self._handler.deleteEntityTag(args.displayName, args.itemId)
7810
    oprot.writeMessageBegin("deleteEntityTag", TMessageType.REPLY, seqid)
7811
    result.write(oprot)
7812
    oprot.writeMessageEnd()
7813
    oprot.trans.flush()
7814
 
7815
  def process_deleteTag(self, seqid, iprot, oprot):
7816
    args = deleteTag_args()
7817
    args.read(iprot)
7818
    iprot.readMessageEnd()
7819
    result = deleteTag_result()
7820
    result.success = self._handler.deleteTag(args.displayName)
7821
    oprot.writeMessageBegin("deleteTag", TMessageType.REPLY, seqid)
7822
    result.write(oprot)
7823
    oprot.writeMessageEnd()
7824
    oprot.trans.flush()
7825
 
7826
  def process_getAllTags(self, seqid, iprot, oprot):
7827
    args = getAllTags_args()
7828
    args.read(iprot)
7829
    iprot.readMessageEnd()
7830
    result = getAllTags_result()
7831
    result.success = self._handler.getAllTags()
7832
    oprot.writeMessageBegin("getAllTags", TMessageType.REPLY, seqid)
7833
    result.write(oprot)
7834
    oprot.writeMessageEnd()
7835
    oprot.trans.flush()
7836
 
7837
  def process_getAllEntitiesByTagName(self, seqid, iprot, oprot):
7838
    args = getAllEntitiesByTagName_args()
7839
    args.read(iprot)
7840
    iprot.readMessageEnd()
7841
    result = getAllEntitiesByTagName_result()
7842
    result.success = self._handler.getAllEntitiesByTagName(args.displayName)
7843
    oprot.writeMessageBegin("getAllEntitiesByTagName", TMessageType.REPLY, seqid)
7844
    result.write(oprot)
7845
    oprot.writeMessageEnd()
7846
    oprot.trans.flush()
7847
 
6845 amit.gupta 7848
  def process_getAllEntityTags(self, seqid, iprot, oprot):
7849
    args = getAllEntityTags_args()
7850
    args.read(iprot)
7851
    iprot.readMessageEnd()
7852
    result = getAllEntityTags_result()
7853
    result.success = self._handler.getAllEntityTags()
7854
    oprot.writeMessageBegin("getAllEntityTags", TMessageType.REPLY, seqid)
7855
    result.write(oprot)
7856
    oprot.writeMessageEnd()
7857
    oprot.trans.flush()
7858
 
6850 kshitij.so 7859
  def process_addBanner(self, seqid, iprot, oprot):
7860
    args = addBanner_args()
7861
    args.read(iprot)
7862
    iprot.readMessageEnd()
7863
    result = addBanner_result()
10097 kshitij.so 7864
    result.success = self._handler.addBanner(args.bannerCongregate)
6850 kshitij.so 7865
    oprot.writeMessageBegin("addBanner", TMessageType.REPLY, seqid)
7866
    result.write(oprot)
7867
    oprot.writeMessageEnd()
7868
    oprot.trans.flush()
7869
 
8579 kshitij.so 7870
  def process_updateBanner(self, seqid, iprot, oprot):
7871
    args = updateBanner_args()
7872
    args.read(iprot)
7873
    iprot.readMessageEnd()
7874
    result = updateBanner_result()
7875
    result.success = self._handler.updateBanner(args.banner)
7876
    oprot.writeMessageBegin("updateBanner", TMessageType.REPLY, seqid)
7877
    result.write(oprot)
7878
    oprot.writeMessageEnd()
7879
    oprot.trans.flush()
7880
 
6850 kshitij.so 7881
  def process_getAllBanners(self, seqid, iprot, oprot):
7882
    args = getAllBanners_args()
7883
    args.read(iprot)
7884
    iprot.readMessageEnd()
7885
    result = getAllBanners_result()
7886
    result.success = self._handler.getAllBanners()
7887
    oprot.writeMessageBegin("getAllBanners", TMessageType.REPLY, seqid)
7888
    result.write(oprot)
7889
    oprot.writeMessageEnd()
7890
    oprot.trans.flush()
7891
 
7892
  def process_deleteBanner(self, seqid, iprot, oprot):
7893
    args = deleteBanner_args()
7894
    args.read(iprot)
7895
    iprot.readMessageEnd()
7896
    result = deleteBanner_result()
9155 kshitij.so 7897
    result.success = self._handler.deleteBanner(args.bannerName, args.bannerType)
6850 kshitij.so 7898
    oprot.writeMessageBegin("deleteBanner", TMessageType.REPLY, seqid)
7899
    result.write(oprot)
7900
    oprot.writeMessageEnd()
7901
    oprot.trans.flush()
7902
 
7903
  def process_getBannerDetails(self, seqid, iprot, oprot):
7904
    args = getBannerDetails_args()
7905
    args.read(iprot)
7906
    iprot.readMessageEnd()
7907
    result = getBannerDetails_result()
9155 kshitij.so 7908
    result.success = self._handler.getBannerDetails(args.bannerName, args.bannerType)
6850 kshitij.so 7909
    oprot.writeMessageBegin("getBannerDetails", TMessageType.REPLY, seqid)
7910
    result.write(oprot)
7911
    oprot.writeMessageEnd()
7912
    oprot.trans.flush()
7913
 
7914
  def process_getActiveBanners(self, seqid, iprot, oprot):
7915
    args = getActiveBanners_args()
7916
    args.read(iprot)
7917
    iprot.readMessageEnd()
7918
    result = getActiveBanners_result()
7919
    result.success = self._handler.getActiveBanners()
7920
    oprot.writeMessageBegin("getActiveBanners", TMessageType.REPLY, seqid)
7921
    result.write(oprot)
7922
    oprot.writeMessageEnd()
7923
    oprot.trans.flush()
7924
 
6849 kshitij.so 7925
  def process_addBannerMap(self, seqid, iprot, oprot):
7926
    args = addBannerMap_args()
7927
    args.read(iprot)
7928
    iprot.readMessageEnd()
7929
    result = addBannerMap_result()
8579 kshitij.so 7930
    result.success = self._handler.addBannerMap(args.bannerMaps)
6849 kshitij.so 7931
    oprot.writeMessageBegin("addBannerMap", TMessageType.REPLY, seqid)
7932
    result.write(oprot)
7933
    oprot.writeMessageEnd()
7934
    oprot.trans.flush()
7935
 
8579 kshitij.so 7936
  def process_updateBannerMap(self, seqid, iprot, oprot):
7937
    args = updateBannerMap_args()
7938
    args.read(iprot)
7939
    iprot.readMessageEnd()
7940
    result = updateBannerMap_result()
7941
    result.success = self._handler.updateBannerMap(args.bannerMap)
7942
    oprot.writeMessageBegin("updateBannerMap", TMessageType.REPLY, seqid)
7943
    result.write(oprot)
7944
    oprot.writeMessageEnd()
7945
    oprot.trans.flush()
7946
 
6849 kshitij.so 7947
  def process_deleteBannerMap(self, seqid, iprot, oprot):
7948
    args = deleteBannerMap_args()
7949
    args.read(iprot)
7950
    iprot.readMessageEnd()
7951
    result = deleteBannerMap_result()
7952
    result.success = self._handler.deleteBannerMap(args.bannerName)
7953
    oprot.writeMessageBegin("deleteBannerMap", TMessageType.REPLY, seqid)
7954
    result.write(oprot)
7955
    oprot.writeMessageEnd()
7956
    oprot.trans.flush()
7957
 
7958
  def process_getBannerMapDetails(self, seqid, iprot, oprot):
7959
    args = getBannerMapDetails_args()
7960
    args.read(iprot)
7961
    iprot.readMessageEnd()
7962
    result = getBannerMapDetails_result()
9155 kshitij.so 7963
    result.success = self._handler.getBannerMapDetails(args.bannerName, args.bannerType)
6849 kshitij.so 7964
    oprot.writeMessageBegin("getBannerMapDetails", TMessageType.REPLY, seqid)
7965
    result.write(oprot)
7966
    oprot.writeMessageEnd()
7967
    oprot.trans.flush()
7968
 
8579 kshitij.so 7969
  def process_addBannerUri(self, seqid, iprot, oprot):
7970
    args = addBannerUri_args()
7971
    args.read(iprot)
7972
    iprot.readMessageEnd()
7973
    result = addBannerUri_result()
7974
    self._handler.addBannerUri(args.bannerUriMappings)
7975
    oprot.writeMessageBegin("addBannerUri", TMessageType.REPLY, seqid)
7976
    result.write(oprot)
7977
    oprot.writeMessageEnd()
7978
    oprot.trans.flush()
7979
 
7980
  def process_getUriMapping(self, seqid, iprot, oprot):
7981
    args = getUriMapping_args()
7982
    args.read(iprot)
7983
    iprot.readMessageEnd()
7984
    result = getUriMapping_result()
9155 kshitij.so 7985
    result.success = self._handler.getUriMapping(args.bannerName, args.bannerType)
8579 kshitij.so 7986
    oprot.writeMessageBegin("getUriMapping", TMessageType.REPLY, seqid)
7987
    result.write(oprot)
7988
    oprot.writeMessageEnd()
7989
    oprot.trans.flush()
7990
 
7991
  def process_addCampaign(self, seqid, iprot, oprot):
7992
    args = addCampaign_args()
7993
    args.read(iprot)
7994
    iprot.readMessageEnd()
7995
    result = addCampaign_result()
7996
    self._handler.addCampaign(args.campaign)
7997
    oprot.writeMessageBegin("addCampaign", TMessageType.REPLY, seqid)
7998
    result.write(oprot)
7999
    oprot.writeMessageEnd()
8000
    oprot.trans.flush()
8001
 
8002
  def process_getCampaigns(self, seqid, iprot, oprot):
8003
    args = getCampaigns_args()
8004
    args.read(iprot)
8005
    iprot.readMessageEnd()
8006
    result = getCampaigns_result()
8007
    result.success = self._handler.getCampaigns(args.campaignName)
8008
    oprot.writeMessageBegin("getCampaigns", TMessageType.REPLY, seqid)
8009
    result.write(oprot)
8010
    oprot.writeMessageEnd()
8011
    oprot.trans.flush()
8012
 
8013
  def process_deleteCampaign(self, seqid, iprot, oprot):
8014
    args = deleteCampaign_args()
8015
    args.read(iprot)
8016
    iprot.readMessageEnd()
8017
    result = deleteCampaign_result()
8018
    self._handler.deleteCampaign(args.campaignId)
8019
    oprot.writeMessageBegin("deleteCampaign", TMessageType.REPLY, seqid)
8020
    result.write(oprot)
8021
    oprot.writeMessageEnd()
8022
    oprot.trans.flush()
8023
 
8024
  def process_getAllCampaigns(self, seqid, iprot, oprot):
8025
    args = getAllCampaigns_args()
8026
    args.read(iprot)
8027
    iprot.readMessageEnd()
8028
    result = getAllCampaigns_result()
8029
    result.success = self._handler.getAllCampaigns()
8030
    oprot.writeMessageBegin("getAllCampaigns", TMessageType.REPLY, seqid)
8031
    result.write(oprot)
8032
    oprot.writeMessageEnd()
8033
    oprot.trans.flush()
8034
 
9155 kshitij.so 8035
  def process_getActiveBannersForMobileSite(self, seqid, iprot, oprot):
8036
    args = getActiveBannersForMobileSite_args()
8037
    args.read(iprot)
8038
    iprot.readMessageEnd()
8039
    result = getActiveBannersForMobileSite_result()
8040
    result.success = self._handler.getActiveBannersForMobileSite()
8041
    oprot.writeMessageBegin("getActiveBannersForMobileSite", TMessageType.REPLY, seqid)
8042
    result.write(oprot)
8043
    oprot.writeMessageEnd()
8044
    oprot.trans.flush()
8045
 
5944 mandeep.dh 8046
  def process_deleteSimilarItem(self, seqid, iprot, oprot):
8047
    args = deleteSimilarItem_args()
8048
    args.read(iprot)
8049
    iprot.readMessageEnd()
8050
    result = deleteSimilarItem_result()
8051
    try:
8052
      result.success = self._handler.deleteSimilarItem(args.itemId, args.catalogItemId)
8053
    except CatalogServiceException, cex:
8054
      result.cex = cex
8055
    oprot.writeMessageBegin("deleteSimilarItem", TMessageType.REPLY, seqid)
8056
    result.write(oprot)
8057
    oprot.writeMessageEnd()
8058
    oprot.trans.flush()
8059
 
8060
  def process_checkSimilarItem(self, seqid, iprot, oprot):
8061
    args = checkSimilarItem_args()
8062
    args.read(iprot)
8063
    iprot.readMessageEnd()
8064
    result = checkSimilarItem_result()
8065
    result.success = self._handler.checkSimilarItem(args.brand, args.modelNumber, args.modelName, args.color)
8066
    oprot.writeMessageBegin("checkSimilarItem", TMessageType.REPLY, seqid)
8067
    result.write(oprot)
8068
    oprot.writeMessageEnd()
8069
    oprot.trans.flush()
8070
 
8071
  def process_validateRiskyStatus(self, seqid, iprot, oprot):
8072
    args = validateRiskyStatus_args()
8073
    args.read(iprot)
8074
    iprot.readMessageEnd()
8075
    result = validateRiskyStatus_result()
8076
    self._handler.validateRiskyStatus(args.itemId)
8077
    oprot.writeMessageBegin("validateRiskyStatus", TMessageType.REPLY, seqid)
8078
    result.write(oprot)
8079
    oprot.writeMessageEnd()
8080
    oprot.trans.flush()
8081
 
8082
  def process_changeItemRiskyFlag(self, seqid, iprot, oprot):
8083
    args = changeItemRiskyFlag_args()
8084
    args.read(iprot)
8085
    iprot.readMessageEnd()
8086
    result = changeItemRiskyFlag_result()
8087
    self._handler.changeItemRiskyFlag(args.itemId, args.risky)
8088
    oprot.writeMessageBegin("changeItemRiskyFlag", TMessageType.REPLY, seqid)
8089
    result.write(oprot)
8090
    oprot.writeMessageEnd()
8091
    oprot.trans.flush()
8092
 
8093
  def process_getItemsByRiskyFlag(self, seqid, iprot, oprot):
8094
    args = getItemsByRiskyFlag_args()
8095
    args.read(iprot)
8096
    iprot.readMessageEnd()
8097
    result = getItemsByRiskyFlag_result()
8098
    result.success = self._handler.getItemsByRiskyFlag()
8099
    oprot.writeMessageBegin("getItemsByRiskyFlag", TMessageType.REPLY, seqid)
8100
    result.write(oprot)
8101
    oprot.writeMessageEnd()
8102
    oprot.trans.flush()
8103
 
8104
  def process_getItemsForMasterSheet(self, seqid, iprot, oprot):
8105
    args = getItemsForMasterSheet_args()
8106
    args.read(iprot)
8107
    iprot.readMessageEnd()
8108
    result = getItemsForMasterSheet_result()
8109
    result.success = self._handler.getItemsForMasterSheet(args.category, args.brand)
8110
    oprot.writeMessageBegin("getItemsForMasterSheet", TMessageType.REPLY, seqid)
8111
    result.write(oprot)
8112
    oprot.writeMessageEnd()
8113
    oprot.trans.flush()
8114
 
8115
  def process_getSimilarItemsCatalogIds(self, seqid, iprot, oprot):
8116
    args = getSimilarItemsCatalogIds_args()
8117
    args.read(iprot)
8118
    iprot.readMessageEnd()
8119
    result = getSimilarItemsCatalogIds_result()
8120
    result.success = self._handler.getSimilarItemsCatalogIds(args.beginIndex, args.totalItems, args.itemId)
8121
    oprot.writeMessageBegin("getSimilarItemsCatalogIds", TMessageType.REPLY, seqid)
8122
    result.write(oprot)
8123
    oprot.writeMessageEnd()
8124
    oprot.trans.flush()
8125
 
8126
  def process_addProductNotification(self, seqid, iprot, oprot):
8127
    args = addProductNotification_args()
8128
    args.read(iprot)
8129
    iprot.readMessageEnd()
8130
    result = addProductNotification_result()
8131
    result.success = self._handler.addProductNotification(args.itemId, args.email)
8132
    oprot.writeMessageBegin("addProductNotification", TMessageType.REPLY, seqid)
8133
    result.write(oprot)
8134
    oprot.writeMessageEnd()
8135
    oprot.trans.flush()
8136
 
8137
  def process_sendProductNotifications(self, seqid, iprot, oprot):
8138
    args = sendProductNotifications_args()
8139
    args.read(iprot)
8140
    iprot.readMessageEnd()
8141
    result = sendProductNotifications_result()
8142
    result.success = self._handler.sendProductNotifications()
8143
    oprot.writeMessageBegin("sendProductNotifications", TMessageType.REPLY, seqid)
8144
    result.write(oprot)
8145
    oprot.writeMessageEnd()
8146
    oprot.trans.flush()
8147
 
8148
  def process_getAllBrandsByCategory(self, seqid, iprot, oprot):
8149
    args = getAllBrandsByCategory_args()
8150
    args.read(iprot)
8151
    iprot.readMessageEnd()
8152
    result = getAllBrandsByCategory_result()
8153
    result.success = self._handler.getAllBrandsByCategory(args.categoryId)
8154
    oprot.writeMessageBegin("getAllBrandsByCategory", TMessageType.REPLY, seqid)
8155
    result.write(oprot)
8156
    oprot.writeMessageEnd()
8157
    oprot.trans.flush()
8158
 
8159
  def process_getAllBrands(self, seqid, iprot, oprot):
8160
    args = getAllBrands_args()
8161
    args.read(iprot)
8162
    iprot.readMessageEnd()
8163
    result = getAllBrands_result()
8164
    result.success = self._handler.getAllBrands()
8165
    oprot.writeMessageBegin("getAllBrands", TMessageType.REPLY, seqid)
8166
    result.write(oprot)
8167
    oprot.writeMessageEnd()
8168
    oprot.trans.flush()
8169
 
8170
  def process_getAllSources(self, seqid, iprot, oprot):
8171
    args = getAllSources_args()
8172
    args.read(iprot)
8173
    iprot.readMessageEnd()
8174
    result = getAllSources_result()
8175
    result.success = self._handler.getAllSources()
8176
    oprot.writeMessageBegin("getAllSources", TMessageType.REPLY, seqid)
8177
    result.write(oprot)
8178
    oprot.writeMessageEnd()
8179
    oprot.trans.flush()
8180
 
8181
  def process_getItemPricingBySource(self, seqid, iprot, oprot):
8182
    args = getItemPricingBySource_args()
8183
    args.read(iprot)
8184
    iprot.readMessageEnd()
8185
    result = getItemPricingBySource_result()
8186
    try:
8187
      result.success = self._handler.getItemPricingBySource(args.itemId, args.sourceId)
8188
    except CatalogServiceException, cex:
8189
      result.cex = cex
8190
    oprot.writeMessageBegin("getItemPricingBySource", TMessageType.REPLY, seqid)
8191
    result.write(oprot)
8192
    oprot.writeMessageEnd()
8193
    oprot.trans.flush()
8194
 
8195
  def process_addSourceItemPricing(self, seqid, iprot, oprot):
8196
    args = addSourceItemPricing_args()
8197
    args.read(iprot)
8198
    iprot.readMessageEnd()
8199
    result = addSourceItemPricing_result()
8200
    try:
8201
      self._handler.addSourceItemPricing(args.sourceItemPricing)
8202
    except CatalogServiceException, cex:
8203
      result.cex = cex
8204
    oprot.writeMessageBegin("addSourceItemPricing", TMessageType.REPLY, seqid)
8205
    result.write(oprot)
8206
    oprot.writeMessageEnd()
8207
    oprot.trans.flush()
8208
 
8209
  def process_getAllSourcePricing(self, seqid, iprot, oprot):
8210
    args = getAllSourcePricing_args()
8211
    args.read(iprot)
8212
    iprot.readMessageEnd()
8213
    result = getAllSourcePricing_result()
8214
    try:
8215
      result.success = self._handler.getAllSourcePricing(args.itemId)
8216
    except CatalogServiceException, cex:
8217
      result.cex = cex
8218
    oprot.writeMessageBegin("getAllSourcePricing", TMessageType.REPLY, seqid)
8219
    result.write(oprot)
8220
    oprot.writeMessageEnd()
8221
    oprot.trans.flush()
8222
 
8223
  def process_getItemForSource(self, seqid, iprot, oprot):
8224
    args = getItemForSource_args()
8225
    args.read(iprot)
8226
    iprot.readMessageEnd()
8227
    result = getItemForSource_result()
8228
    try:
8229
      result.success = self._handler.getItemForSource(args.item_id, args.sourceId)
8230
    except CatalogServiceException, cex:
8231
      result.cex = cex
8232
    oprot.writeMessageBegin("getItemForSource", TMessageType.REPLY, seqid)
8233
    result.write(oprot)
8234
    oprot.writeMessageEnd()
8235
    oprot.trans.flush()
8236
 
8237
  def process_searchItemsInRange(self, seqid, iprot, oprot):
8238
    args = searchItemsInRange_args()
8239
    args.read(iprot)
8240
    iprot.readMessageEnd()
8241
    result = searchItemsInRange_result()
8242
    result.success = self._handler.searchItemsInRange(args.searchTerms, args.offset, args.limit)
8243
    oprot.writeMessageBegin("searchItemsInRange", TMessageType.REPLY, seqid)
8244
    result.write(oprot)
8245
    oprot.writeMessageEnd()
8246
    oprot.trans.flush()
8247
 
8248
  def process_getSearchResultCount(self, seqid, iprot, oprot):
8249
    args = getSearchResultCount_args()
8250
    args.read(iprot)
8251
    iprot.readMessageEnd()
8252
    result = getSearchResultCount_result()
8253
    result.success = self._handler.getSearchResultCount(args.searchTerms)
8254
    oprot.writeMessageBegin("getSearchResultCount", TMessageType.REPLY, seqid)
8255
    result.write(oprot)
8256
    oprot.writeMessageEnd()
8257
    oprot.trans.flush()
8258
 
8259
  def process_getProductNotifications(self, seqid, iprot, oprot):
8260
    args = getProductNotifications_args()
8261
    args.read(iprot)
8262
    iprot.readMessageEnd()
8263
    result = getProductNotifications_result()
8264
    result.success = self._handler.getProductNotifications(args.startDateTime)
8265
    oprot.writeMessageBegin("getProductNotifications", TMessageType.REPLY, seqid)
8266
    result.write(oprot)
8267
    oprot.writeMessageEnd()
8268
    oprot.trans.flush()
8269
 
8270
  def process_getProductNotificationRequestCount(self, seqid, iprot, oprot):
8271
    args = getProductNotificationRequestCount_args()
8272
    args.read(iprot)
8273
    iprot.readMessageEnd()
8274
    result = getProductNotificationRequestCount_result()
7897 amar.kumar 8275
    result.success = self._handler.getProductNotificationRequestCount(args.startDateTime, args.categoryId)
5944 mandeep.dh 8276
    oprot.writeMessageBegin("getProductNotificationRequestCount", TMessageType.REPLY, seqid)
8277
    result.write(oprot)
8278
    oprot.writeMessageEnd()
8279
    oprot.trans.flush()
8280
 
8281
  def process_addAuthorizationLog(self, seqid, iprot, oprot):
8282
    args = addAuthorizationLog_args()
8283
    args.read(iprot)
8284
    iprot.readMessageEnd()
8285
    result = addAuthorizationLog_result()
8286
    try:
8287
      result.success = self._handler.addAuthorizationLog(args.itemId, args.username, args.reason)
8288
    except CatalogServiceException, cex:
8289
      result.cex = cex
8290
    oprot.writeMessageBegin("addAuthorizationLog", TMessageType.REPLY, seqid)
8291
    result.write(oprot)
8292
    oprot.writeMessageEnd()
8293
    oprot.trans.flush()
8294
 
8295
  def process_addupdateVoucherForItem(self, seqid, iprot, oprot):
8296
    args = addupdateVoucherForItem_args()
8297
    args.read(iprot)
8298
    iprot.readMessageEnd()
8299
    result = addupdateVoucherForItem_result()
8300
    try:
8301
      result.success = self._handler.addupdateVoucherForItem(args.catalog_item_id, args.voucherType, args.voucherAmount)
8302
    except CatalogServiceException, cex:
8303
      result.cex = cex
8304
    oprot.writeMessageBegin("addupdateVoucherForItem", TMessageType.REPLY, seqid)
8305
    result.write(oprot)
8306
    oprot.writeMessageEnd()
8307
    oprot.trans.flush()
8308
 
8309
  def process_deleteVoucherForItem(self, seqid, iprot, oprot):
8310
    args = deleteVoucherForItem_args()
8311
    args.read(iprot)
8312
    iprot.readMessageEnd()
8313
    result = deleteVoucherForItem_result()
8314
    try:
8315
      result.success = self._handler.deleteVoucherForItem(args.catalog_item_id, args.voucherType)
8316
    except CatalogServiceException, cex:
8317
      result.cex = cex
8318
    oprot.writeMessageBegin("deleteVoucherForItem", TMessageType.REPLY, seqid)
8319
    result.write(oprot)
8320
    oprot.writeMessageEnd()
8321
    oprot.trans.flush()
8322
 
8323
  def process_getVoucherAmount(self, seqid, iprot, oprot):
8324
    args = getVoucherAmount_args()
8325
    args.read(iprot)
8326
    iprot.readMessageEnd()
8327
    result = getVoucherAmount_result()
8328
    result.success = self._handler.getVoucherAmount(args.itemId, args.voucherType)
8329
    oprot.writeMessageBegin("getVoucherAmount", TMessageType.REPLY, seqid)
8330
    result.write(oprot)
8331
    oprot.writeMessageEnd()
8332
    oprot.trans.flush()
8333
 
8334
  def process_getAllItemVouchers(self, seqid, iprot, oprot):
8335
    args = getAllItemVouchers_args()
8336
    args.read(iprot)
8337
    iprot.readMessageEnd()
8338
    result = getAllItemVouchers_result()
8339
    result.success = self._handler.getAllItemVouchers(args.itemId)
8340
    oprot.writeMessageBegin("getAllItemVouchers", TMessageType.REPLY, seqid)
8341
    result.write(oprot)
8342
    oprot.writeMessageEnd()
8343
    oprot.trans.flush()
8344
 
8345
  def process_isValidCatalogItemId(self, seqid, iprot, oprot):
8346
    args = isValidCatalogItemId_args()
8347
    args.read(iprot)
8348
    iprot.readMessageEnd()
8349
    result = isValidCatalogItemId_result()
8350
    result.success = self._handler.isValidCatalogItemId(args.catalog_item_id)
8351
    oprot.writeMessageBegin("isValidCatalogItemId", TMessageType.REPLY, seqid)
8352
    result.write(oprot)
8353
    oprot.writeMessageEnd()
8354
    oprot.trans.flush()
8355
 
6039 amit.gupta 8356
  def process_getVatPercentageForItem(self, seqid, iprot, oprot):
8357
    args = getVatPercentageForItem_args()
8358
    args.read(iprot)
8359
    iprot.readMessageEnd()
8360
    result = getVatPercentageForItem_result()
7340 amit.gupta 8361
    try:
8362
      result.success = self._handler.getVatPercentageForItem(args.itemId, args.stateId, args.price)
8363
    except CatalogServiceException, cex:
8364
      result.cex = cex
6039 amit.gupta 8365
    oprot.writeMessageBegin("getVatPercentageForItem", TMessageType.REPLY, seqid)
8366
    result.write(oprot)
8367
    oprot.writeMessageEnd()
8368
    oprot.trans.flush()
5944 mandeep.dh 8369
 
6039 amit.gupta 8370
  def process_getVatAmountForItem(self, seqid, iprot, oprot):
8371
    args = getVatAmountForItem_args()
8372
    args.read(iprot)
8373
    iprot.readMessageEnd()
8374
    result = getVatAmountForItem_result()
8375
    result.success = self._handler.getVatAmountForItem(args.itemId, args.price)
8376
    oprot.writeMessageBegin("getVatAmountForItem", TMessageType.REPLY, seqid)
8377
    result.write(oprot)
8378
    oprot.writeMessageEnd()
8379
    oprot.trans.flush()
8380
 
6531 vikram.rag 8381
  def process_getAllIgnoredInventoryUpdateItemsList(self, seqid, iprot, oprot):
8382
    args = getAllIgnoredInventoryUpdateItemsList_args()
8383
    args.read(iprot)
8384
    iprot.readMessageEnd()
8385
    result = getAllIgnoredInventoryUpdateItemsList_result()
8386
    result.success = self._handler.getAllIgnoredInventoryUpdateItemsList(args.offset, args.limit)
8387
    oprot.writeMessageBegin("getAllIgnoredInventoryUpdateItemsList", TMessageType.REPLY, seqid)
8388
    result.write(oprot)
8389
    oprot.writeMessageEnd()
8390
    oprot.trans.flush()
6039 amit.gupta 8391
 
6821 amar.kumar 8392
  def process_getAllAliveItems(self, seqid, iprot, oprot):
8393
    args = getAllAliveItems_args()
8394
    args.read(iprot)
8395
    iprot.readMessageEnd()
8396
    result = getAllAliveItems_result()
8397
    result.success = self._handler.getAllAliveItems()
8398
    oprot.writeMessageBegin("getAllAliveItems", TMessageType.REPLY, seqid)
8399
    result.write(oprot)
8400
    oprot.writeMessageEnd()
8401
    oprot.trans.flush()
8402
 
6805 anupam.sin 8403
  def process_getInsuranceAmount(self, seqid, iprot, oprot):
8404
    args = getInsuranceAmount_args()
8405
    args.read(iprot)
8406
    iprot.readMessageEnd()
8407
    result = getInsuranceAmount_result()
6921 anupam.sin 8408
    result.success = self._handler.getInsuranceAmount(args.itemId, args.price, args.insurerId, args.quantity)
6805 anupam.sin 8409
    oprot.writeMessageBegin("getInsuranceAmount", TMessageType.REPLY, seqid)
8410
    result.write(oprot)
8411
    oprot.writeMessageEnd()
8412
    oprot.trans.flush()
6531 vikram.rag 8413
 
6805 anupam.sin 8414
  def process_getInsurer(self, seqid, iprot, oprot):
8415
    args = getInsurer_args()
8416
    args.read(iprot)
8417
    iprot.readMessageEnd()
8418
    result = getInsurer_result()
8419
    result.success = self._handler.getInsurer(args.insurerId)
8420
    oprot.writeMessageBegin("getInsurer", TMessageType.REPLY, seqid)
8421
    result.write(oprot)
8422
    oprot.writeMessageEnd()
8423
    oprot.trans.flush()
8424
 
6838 vikram.rag 8425
  def process_getAllInsurers(self, seqid, iprot, oprot):
8426
    args = getAllInsurers_args()
8427
    args.read(iprot)
8428
    iprot.readMessageEnd()
8429
    result = getAllInsurers_result()
8430
    result.success = self._handler.getAllInsurers()
8431
    oprot.writeMessageBegin("getAllInsurers", TMessageType.REPLY, seqid)
8432
    result.write(oprot)
8433
    oprot.writeMessageEnd()
8434
    oprot.trans.flush()
6805 anupam.sin 8435
 
6962 rajveer 8436
  def process_updateInsuranceDeclaredAmount(self, seqid, iprot, oprot):
8437
    args = updateInsuranceDeclaredAmount_args()
8438
    args.read(iprot)
8439
    iprot.readMessageEnd()
8440
    result = updateInsuranceDeclaredAmount_result()
8441
    self._handler.updateInsuranceDeclaredAmount(args.insurerId, args.amount)
8442
    oprot.writeMessageBegin("updateInsuranceDeclaredAmount", TMessageType.REPLY, seqid)
8443
    result.write(oprot)
8444
    oprot.writeMessageEnd()
8445
    oprot.trans.flush()
6838 vikram.rag 8446
 
7190 amar.kumar 8447
  def process_getFreebieForItem(self, seqid, iprot, oprot):
8448
    args = getFreebieForItem_args()
8449
    args.read(iprot)
8450
    iprot.readMessageEnd()
8451
    result = getFreebieForItem_result()
8452
    result.success = self._handler.getFreebieForItem(args.itemId)
8453
    oprot.writeMessageBegin("getFreebieForItem", TMessageType.REPLY, seqid)
8454
    result.write(oprot)
8455
    oprot.writeMessageEnd()
8456
    oprot.trans.flush()
6962 rajveer 8457
 
7190 amar.kumar 8458
  def process_addOrUpdateFreebieForItem(self, seqid, iprot, oprot):
8459
    args = addOrUpdateFreebieForItem_args()
8460
    args.read(iprot)
8461
    iprot.readMessageEnd()
8462
    result = addOrUpdateFreebieForItem_result()
8463
    self._handler.addOrUpdateFreebieForItem(args.freebieItem)
8464
    oprot.writeMessageBegin("addOrUpdateFreebieForItem", TMessageType.REPLY, seqid)
8465
    result.write(oprot)
8466
    oprot.writeMessageEnd()
8467
    oprot.trans.flush()
8468
 
7272 amit.gupta 8469
  def process_addOrUpdateBrandInfo(self, seqid, iprot, oprot):
8470
    args = addOrUpdateBrandInfo_args()
8471
    args.read(iprot)
8472
    iprot.readMessageEnd()
8473
    result = addOrUpdateBrandInfo_result()
8474
    self._handler.addOrUpdateBrandInfo(args.brandInfo)
8475
    oprot.writeMessageBegin("addOrUpdateBrandInfo", TMessageType.REPLY, seqid)
8476
    result.write(oprot)
8477
    oprot.writeMessageEnd()
8478
    oprot.trans.flush()
8479
 
8480
  def process_getBrandInfo(self, seqid, iprot, oprot):
8481
    args = getBrandInfo_args()
8482
    args.read(iprot)
8483
    iprot.readMessageEnd()
8484
    result = getBrandInfo_result()
8485
    result.success = self._handler.getBrandInfo()
8486
    oprot.writeMessageBegin("getBrandInfo", TMessageType.REPLY, seqid)
8487
    result.write(oprot)
8488
    oprot.writeMessageEnd()
8489
    oprot.trans.flush()
8490
 
7256 rajveer 8491
  def process_getStorePricing(self, seqid, iprot, oprot):
8492
    args = getStorePricing_args()
8493
    args.read(iprot)
8494
    iprot.readMessageEnd()
8495
    result = getStorePricing_result()
8496
    result.success = self._handler.getStorePricing(args.itemId)
8497
    oprot.writeMessageBegin("getStorePricing", TMessageType.REPLY, seqid)
8498
    result.write(oprot)
8499
    oprot.writeMessageEnd()
8500
    oprot.trans.flush()
7190 amar.kumar 8501
 
7306 rajveer 8502
  def process_getStorePricings(self, seqid, iprot, oprot):
8503
    args = getStorePricings_args()
8504
    args.read(iprot)
8505
    iprot.readMessageEnd()
8506
    result = getStorePricings_result()
8507
    result.success = self._handler.getStorePricings(args.itemIds)
8508
    oprot.writeMessageBegin("getStorePricings", TMessageType.REPLY, seqid)
8509
    result.write(oprot)
8510
    oprot.writeMessageEnd()
8511
    oprot.trans.flush()
8512
 
7265 rajveer 8513
  def process_updateStorePricing(self, seqid, iprot, oprot):
8514
    args = updateStorePricing_args()
8515
    args.read(iprot)
8516
    iprot.readMessageEnd()
8517
    result = updateStorePricing_result()
7382 rajveer 8518
    self._handler.updateStorePricing(args.sp, args.allColors)
7265 rajveer 8519
    oprot.writeMessageBegin("updateStorePricing", TMessageType.REPLY, seqid)
8520
    result.write(oprot)
8521
    oprot.writeMessageEnd()
8522
    oprot.trans.flush()
7256 rajveer 8523
 
7281 kshitij.so 8524
  def process_getAllAmazonListedItems(self, seqid, iprot, oprot):
8525
    args = getAllAmazonListedItems_args()
8526
    args.read(iprot)
8527
    iprot.readMessageEnd()
8528
    result = getAllAmazonListedItems_result()
8529
    result.success = self._handler.getAllAmazonListedItems()
8530
    oprot.writeMessageBegin("getAllAmazonListedItems", TMessageType.REPLY, seqid)
8531
    result.write(oprot)
8532
    oprot.writeMessageEnd()
8533
    oprot.trans.flush()
7265 rajveer 8534
 
8619 kshitij.so 8535
  def process_searchAmazonItems(self, seqid, iprot, oprot):
8536
    args = searchAmazonItems_args()
8537
    args.read(iprot)
8538
    iprot.readMessageEnd()
8539
    result = searchAmazonItems_result()
8540
    result.success = self._handler.searchAmazonItems(args.searchTerm, args.offset, args.limit)
8541
    oprot.writeMessageBegin("searchAmazonItems", TMessageType.REPLY, seqid)
8542
    result.write(oprot)
8543
    oprot.writeMessageEnd()
8544
    oprot.trans.flush()
8545
 
8546
  def process_getAmazonSearchResultCount(self, seqid, iprot, oprot):
8547
    args = getAmazonSearchResultCount_args()
8548
    args.read(iprot)
8549
    iprot.readMessageEnd()
8550
    result = getAmazonSearchResultCount_result()
8551
    result.success = self._handler.getAmazonSearchResultCount(args.searchTerm)
8552
    oprot.writeMessageBegin("getAmazonSearchResultCount", TMessageType.REPLY, seqid)
8553
    result.write(oprot)
8554
    oprot.writeMessageEnd()
8555
    oprot.trans.flush()
8556
 
8557
  def process_getCountForAmazonlistedItems(self, seqid, iprot, oprot):
8558
    args = getCountForAmazonlistedItems_args()
8559
    args.read(iprot)
8560
    iprot.readMessageEnd()
8561
    result = getCountForAmazonlistedItems_result()
8562
    result.success = self._handler.getCountForAmazonlistedItems()
8563
    oprot.writeMessageBegin("getCountForAmazonlistedItems", TMessageType.REPLY, seqid)
8564
    result.write(oprot)
8565
    oprot.writeMessageEnd()
8566
    oprot.trans.flush()
8567
 
7281 kshitij.so 8568
  def process_getAmazonItemDetails(self, seqid, iprot, oprot):
8569
    args = getAmazonItemDetails_args()
8570
    args.read(iprot)
8571
    iprot.readMessageEnd()
8572
    result = getAmazonItemDetails_result()
8573
    result.success = self._handler.getAmazonItemDetails(args.itemId)
8574
    oprot.writeMessageBegin("getAmazonItemDetails", TMessageType.REPLY, seqid)
8575
    result.write(oprot)
8576
    oprot.writeMessageEnd()
8577
    oprot.trans.flush()
8578
 
8579
  def process_updateAmazonItemDetails(self, seqid, iprot, oprot):
8580
    args = updateAmazonItemDetails_args()
8581
    args.read(iprot)
8582
    iprot.readMessageEnd()
8583
    result = updateAmazonItemDetails_result()
8168 kshitij.so 8584
    self._handler.updateAmazonItemDetails(args.amazonlisted)
7281 kshitij.so 8585
    oprot.writeMessageBegin("updateAmazonItemDetails", TMessageType.REPLY, seqid)
8586
    result.write(oprot)
8587
    oprot.writeMessageEnd()
8588
    oprot.trans.flush()
8589
 
8590
  def process_addAmazonItem(self, seqid, iprot, oprot):
8591
    args = addAmazonItem_args()
8592
    args.read(iprot)
8593
    iprot.readMessageEnd()
8594
    result = addAmazonItem_result()
8595
    self._handler.addAmazonItem(args.amazonlisted)
8596
    oprot.writeMessageBegin("addAmazonItem", TMessageType.REPLY, seqid)
8597
    result.write(oprot)
8598
    oprot.writeMessageEnd()
8599
    oprot.trans.flush()
8600
 
7291 vikram.rag 8601
  def process_getAsinItems(self, seqid, iprot, oprot):
8602
    args = getAsinItems_args()
8603
    args.read(iprot)
8604
    iprot.readMessageEnd()
8605
    result = getAsinItems_result()
8606
    result.success = self._handler.getAsinItems()
8607
    oprot.writeMessageBegin("getAsinItems", TMessageType.REPLY, seqid)
8608
    result.write(oprot)
8609
    oprot.writeMessageEnd()
8610
    oprot.trans.flush()
7281 kshitij.so 8611
 
7291 vikram.rag 8612
  def process_getAllFbaListedItems(self, seqid, iprot, oprot):
8613
    args = getAllFbaListedItems_args()
8614
    args.read(iprot)
8615
    iprot.readMessageEnd()
8616
    result = getAllFbaListedItems_result()
8617
    result.success = self._handler.getAllFbaListedItems()
8618
    oprot.writeMessageBegin("getAllFbaListedItems", TMessageType.REPLY, seqid)
8619
    result.write(oprot)
8620
    oprot.writeMessageEnd()
8621
    oprot.trans.flush()
8622
 
8623
  def process_getAllNonFbaListedItems(self, seqid, iprot, oprot):
8624
    args = getAllNonFbaListedItems_args()
8625
    args.read(iprot)
8626
    iprot.readMessageEnd()
8627
    result = getAllNonFbaListedItems_result()
8628
    result.success = self._handler.getAllNonFbaListedItems()
8629
    oprot.writeMessageBegin("getAllNonFbaListedItems", TMessageType.REPLY, seqid)
8630
    result.write(oprot)
8631
    oprot.writeMessageEnd()
8632
    oprot.trans.flush()
8633
 
7460 kshitij.so 8634
  def process_updateItemInventory(self, seqid, iprot, oprot):
8635
    args = updateItemInventory_args()
8636
    args.read(iprot)
8637
    iprot.readMessageEnd()
8638
    result = updateItemInventory_result()
8639
    result.success = self._handler.updateItemInventory(args.itemId, args.holdInventory, args.defaultInventory)
8640
    oprot.writeMessageBegin("updateItemInventory", TMessageType.REPLY, seqid)
8641
    result.write(oprot)
8642
    oprot.writeMessageEnd()
8643
    oprot.trans.flush()
7291 vikram.rag 8644
 
7770 kshitij.so 8645
  def process_updateTimestampForAmazonFeeds(self, seqid, iprot, oprot):
8646
    args = updateTimestampForAmazonFeeds_args()
8647
    args.read(iprot)
8648
    iprot.readMessageEnd()
8649
    result = updateTimestampForAmazonFeeds_result()
8650
    result.success = self._handler.updateTimestampForAmazonFeeds(args.type, args.sku, args.timestamp)
8651
    oprot.writeMessageBegin("updateTimestampForAmazonFeeds", TMessageType.REPLY, seqid)
8652
    result.write(oprot)
8653
    oprot.writeMessageEnd()
8654
    oprot.trans.flush()
7460 kshitij.so 8655
 
7897 amar.kumar 8656
  def process_getAllParentCategories(self, seqid, iprot, oprot):
8657
    args = getAllParentCategories_args()
8658
    args.read(iprot)
8659
    iprot.readMessageEnd()
8660
    result = getAllParentCategories_result()
8661
    result.success = self._handler.getAllParentCategories()
8662
    oprot.writeMessageBegin("getAllParentCategories", TMessageType.REPLY, seqid)
8663
    result.write(oprot)
8664
    oprot.writeMessageEnd()
8665
    oprot.trans.flush()
7770 kshitij.so 8666
 
7977 kshitij.so 8667
  def process_addPageViewEvent(self, seqid, iprot, oprot):
8668
    args = addPageViewEvent_args()
8669
    args.read(iprot)
8670
    iprot.readMessageEnd()
8671
    result = addPageViewEvent_result()
8672
    self._handler.addPageViewEvent(args.pageViewEvents)
8673
    oprot.writeMessageBegin("addPageViewEvent", TMessageType.REPLY, seqid)
8674
    result.write(oprot)
8675
    oprot.writeMessageEnd()
8676
    oprot.trans.flush()
7897 amar.kumar 8677
 
7977 kshitij.so 8678
  def process_addCartEvent(self, seqid, iprot, oprot):
8679
    args = addCartEvent_args()
8680
    args.read(iprot)
8681
    iprot.readMessageEnd()
8682
    result = addCartEvent_result()
8683
    self._handler.addCartEvent(args.cartEvents)
8684
    oprot.writeMessageBegin("addCartEvent", TMessageType.REPLY, seqid)
8685
    result.write(oprot)
8686
    oprot.writeMessageEnd()
8687
    oprot.trans.flush()
8688
 
8182 amar.kumar 8689
  def process_addEbayItem(self, seqid, iprot, oprot):
8690
    args = addEbayItem_args()
8691
    args.read(iprot)
8692
    iprot.readMessageEnd()
8693
    result = addEbayItem_result()
8694
    self._handler.addEbayItem(args.ebayItem)
8695
    oprot.writeMessageBegin("addEbayItem", TMessageType.REPLY, seqid)
8696
    result.write(oprot)
8697
    oprot.writeMessageEnd()
8698
    oprot.trans.flush()
8699
 
8700
  def process_getEbayItem(self, seqid, iprot, oprot):
8701
    args = getEbayItem_args()
8702
    args.read(iprot)
8703
    iprot.readMessageEnd()
8704
    result = getEbayItem_result()
8705
    result.success = self._handler.getEbayItem(args.listingId)
8706
    oprot.writeMessageBegin("getEbayItem", TMessageType.REPLY, seqid)
8707
    result.write(oprot)
8708
    oprot.writeMessageEnd()
8709
    oprot.trans.flush()
8710
 
8711
  def process_updateEbayItem(self, seqid, iprot, oprot):
8712
    args = updateEbayItem_args()
8713
    args.read(iprot)
8714
    iprot.readMessageEnd()
8715
    result = updateEbayItem_result()
8716
    self._handler.updateEbayItem(args.ebayItem)
8717
    oprot.writeMessageBegin("updateEbayItem", TMessageType.REPLY, seqid)
8718
    result.write(oprot)
8719
    oprot.writeMessageEnd()
8720
    oprot.trans.flush()
8721
 
8139 kshitij.so 8722
  def process_getAmazonListedItems(self, seqid, iprot, oprot):
8723
    args = getAmazonListedItems_args()
8724
    args.read(iprot)
8725
    iprot.readMessageEnd()
8726
    result = getAmazonListedItems_result()
8727
    result.success = self._handler.getAmazonListedItems(args.offset, args.limit)
8728
    oprot.writeMessageBegin("getAmazonListedItems", TMessageType.REPLY, seqid)
8729
    result.write(oprot)
8730
    oprot.writeMessageEnd()
8731
    oprot.trans.flush()
7977 kshitij.so 8732
 
8168 kshitij.so 8733
  def process_updateAmazonAttributesInBulk(self, seqid, iprot, oprot):
8734
    args = updateAmazonAttributesInBulk_args()
8735
    args.read(iprot)
8736
    iprot.readMessageEnd()
8737
    result = updateAmazonAttributesInBulk_result()
8738
    result.success = self._handler.updateAmazonAttributesInBulk(args.amazonlisted)
8739
    oprot.writeMessageBegin("updateAmazonAttributesInBulk", TMessageType.REPLY, seqid)
8740
    result.write(oprot)
8741
    oprot.writeMessageEnd()
8742
    oprot.trans.flush()
8139 kshitij.so 8743
 
8379 vikram.rag 8744
  def process_getAllItemstoListOnFba(self, seqid, iprot, oprot):
8745
    args = getAllItemstoListOnFba_args()
8746
    args.read(iprot)
8747
    iprot.readMessageEnd()
8748
    result = getAllItemstoListOnFba_result()
8749
    result.success = self._handler.getAllItemstoListOnFba()
8750
    oprot.writeMessageBegin("getAllItemstoListOnFba", TMessageType.REPLY, seqid)
8751
    result.write(oprot)
8752
    oprot.writeMessageEnd()
8753
    oprot.trans.flush()
8168 kshitij.so 8754
 
8379 vikram.rag 8755
  def process_getAllItemstoListOnNonFba(self, seqid, iprot, oprot):
8756
    args = getAllItemstoListOnNonFba_args()
8757
    args.read(iprot)
8758
    iprot.readMessageEnd()
8759
    result = getAllItemstoListOnNonFba_result()
8760
    result.success = self._handler.getAllItemstoListOnNonFba()
8761
    oprot.writeMessageBegin("getAllItemstoListOnNonFba", TMessageType.REPLY, seqid)
8762
    result.write(oprot)
8763
    oprot.writeMessageEnd()
8764
    oprot.trans.flush()
8765
 
8619 kshitij.so 8766
  def process_updateAsin(self, seqid, iprot, oprot):
8767
    args = updateAsin_args()
8768
    args.read(iprot)
8769
    iprot.readMessageEnd()
8770
    result = updateAsin_result()
8771
    self._handler.updateAsin(args.item)
8772
    oprot.writeMessageBegin("updateAsin", TMessageType.REPLY, seqid)
8773
    result.write(oprot)
8774
    oprot.writeMessageEnd()
8775
    oprot.trans.flush()
8616 vikram.rag 8776
 
8739 vikram.rag 8777
  def process_addOrUpdateSnapdealItem(self, seqid, iprot, oprot):
8778
    args = addOrUpdateSnapdealItem_args()
8779
    args.read(iprot)
8780
    iprot.readMessageEnd()
8781
    result = addOrUpdateSnapdealItem_result()
8782
    result.success = self._handler.addOrUpdateSnapdealItem(args.snapdealitem)
8783
    oprot.writeMessageBegin("addOrUpdateSnapdealItem", TMessageType.REPLY, seqid)
8784
    result.write(oprot)
8785
    oprot.writeMessageEnd()
8786
    oprot.trans.flush()
8619 kshitij.so 8787
 
8739 vikram.rag 8788
  def process_getSnapdealItem(self, seqid, iprot, oprot):
8789
    args = getSnapdealItem_args()
8790
    args.read(iprot)
8791
    iprot.readMessageEnd()
8792
    result = getSnapdealItem_result()
8793
    result.success = self._handler.getSnapdealItem(args.item_id)
8794
    oprot.writeMessageBegin("getSnapdealItem", TMessageType.REPLY, seqid)
8795
    result.write(oprot)
8796
    oprot.writeMessageEnd()
8797
    oprot.trans.flush()
8798
 
9242 kshitij.so 8799
  def process_getSnapdealItemDetails(self, seqid, iprot, oprot):
8800
    args = getSnapdealItemDetails_args()
8801
    args.read(iprot)
8802
    iprot.readMessageEnd()
8803
    result = getSnapdealItemDetails_result()
8804
    result.success = self._handler.getSnapdealItemDetails(args.item_id)
8805
    oprot.writeMessageBegin("getSnapdealItemDetails", TMessageType.REPLY, seqid)
8806
    result.write(oprot)
8807
    oprot.writeMessageEnd()
8808
    oprot.trans.flush()
8809
 
8739 vikram.rag 8810
  def process_getAllSnapdealItems(self, seqid, iprot, oprot):
8811
    args = getAllSnapdealItems_args()
8812
    args.read(iprot)
8813
    iprot.readMessageEnd()
8814
    result = getAllSnapdealItems_result()
8815
    result.success = self._handler.getAllSnapdealItems()
8816
    oprot.writeMessageBegin("getAllSnapdealItems", TMessageType.REPLY, seqid)
8817
    result.write(oprot)
8818
    oprot.writeMessageEnd()
8819
    oprot.trans.flush()
8820
 
9242 kshitij.so 8821
  def process_getSnapdealItems(self, seqid, iprot, oprot):
8822
    args = getSnapdealItems_args()
8823
    args.read(iprot)
8824
    iprot.readMessageEnd()
8825
    result = getSnapdealItems_result()
8826
    result.success = self._handler.getSnapdealItems(args.offset, args.limit)
8827
    oprot.writeMessageBegin("getSnapdealItems", TMessageType.REPLY, seqid)
8828
    result.write(oprot)
8829
    oprot.writeMessageEnd()
8830
    oprot.trans.flush()
8739 vikram.rag 8831
 
9242 kshitij.so 8832
  def process_searchSnapdealItems(self, seqid, iprot, oprot):
8833
    args = searchSnapdealItems_args()
8834
    args.read(iprot)
8835
    iprot.readMessageEnd()
8836
    result = searchSnapdealItems_result()
8837
    result.success = self._handler.searchSnapdealItems(args.searchTerm, args.offset, args.limit)
8838
    oprot.writeMessageBegin("searchSnapdealItems", TMessageType.REPLY, seqid)
8839
    result.write(oprot)
8840
    oprot.writeMessageEnd()
8841
    oprot.trans.flush()
8842
 
8843
  def process_getCountForSnapdealItems(self, seqid, iprot, oprot):
8844
    args = getCountForSnapdealItems_args()
8845
    args.read(iprot)
8846
    iprot.readMessageEnd()
8847
    result = getCountForSnapdealItems_result()
8848
    result.success = self._handler.getCountForSnapdealItems()
8849
    oprot.writeMessageBegin("getCountForSnapdealItems", TMessageType.REPLY, seqid)
8850
    result.write(oprot)
8851
    oprot.writeMessageEnd()
8852
    oprot.trans.flush()
8853
 
8854
  def process_getSnapdealSearchResultCount(self, seqid, iprot, oprot):
8855
    args = getSnapdealSearchResultCount_args()
8856
    args.read(iprot)
8857
    iprot.readMessageEnd()
8858
    result = getSnapdealSearchResultCount_result()
8859
    result.success = self._handler.getSnapdealSearchResultCount(args.searchTerm)
8860
    oprot.writeMessageBegin("getSnapdealSearchResultCount", TMessageType.REPLY, seqid)
8861
    result.write(oprot)
8862
    oprot.writeMessageEnd()
8863
    oprot.trans.flush()
8864
 
9299 kshitij.so 8865
  def process_getPrefferedInsurerForItem(self, seqid, iprot, oprot):
8866
    args = getPrefferedInsurerForItem_args()
8867
    args.read(iprot)
8868
    iprot.readMessageEnd()
8869
    result = getPrefferedInsurerForItem_result()
8870
    result.success = self._handler.getPrefferedInsurerForItem(args.itemId, args.insurerType)
8871
    oprot.writeMessageBegin("getPrefferedInsurerForItem", TMessageType.REPLY, seqid)
8872
    result.write(oprot)
8873
    oprot.writeMessageEnd()
8874
    oprot.trans.flush()
9242 kshitij.so 8875
 
9456 vikram.rag 8876
  def process_getSnapdealItembySkuAtSnapdeal(self, seqid, iprot, oprot):
8877
    args = getSnapdealItembySkuAtSnapdeal_args()
8878
    args.read(iprot)
8879
    iprot.readMessageEnd()
8880
    result = getSnapdealItembySkuAtSnapdeal_result()
8881
    result.success = self._handler.getSnapdealItembySkuAtSnapdeal(args.skuAtSnapdeal)
8882
    oprot.writeMessageBegin("getSnapdealItembySkuAtSnapdeal", TMessageType.REPLY, seqid)
8883
    result.write(oprot)
8884
    oprot.writeMessageEnd()
8885
    oprot.trans.flush()
9299 kshitij.so 8886
 
9621 manish.sha 8887
  def process_getProductFeedSubmit(self, seqid, iprot, oprot):
8888
    args = getProductFeedSubmit_args()
8889
    args.read(iprot)
8890
    iprot.readMessageEnd()
8891
    result = getProductFeedSubmit_result()
8892
    try:
8893
      result.success = self._handler.getProductFeedSubmit(args.catalogItemId)
8894
    except CatalogServiceException, cex:
8895
      result.cex = cex
8896
    oprot.writeMessageBegin("getProductFeedSubmit", TMessageType.REPLY, seqid)
8897
    result.write(oprot)
8898
    oprot.writeMessageEnd()
8899
    oprot.trans.flush()
9456 vikram.rag 8900
 
9621 manish.sha 8901
  def process_addProductFeedSubmit(self, seqid, iprot, oprot):
8902
    args = addProductFeedSubmit_args()
8903
    args.read(iprot)
8904
    iprot.readMessageEnd()
8905
    result = addProductFeedSubmit_result()
8906
    try:
8907
      result.success = self._handler.addProductFeedSubmit(args.productFeedSubmit)
8908
    except CatalogServiceException, cex:
8909
      result.cex = cex
8910
    oprot.writeMessageBegin("addProductFeedSubmit", TMessageType.REPLY, seqid)
8911
    result.write(oprot)
8912
    oprot.writeMessageEnd()
8913
    oprot.trans.flush()
8914
 
8915
  def process_updateProductFeedSubmit(self, seqid, iprot, oprot):
8916
    args = updateProductFeedSubmit_args()
8917
    args.read(iprot)
8918
    iprot.readMessageEnd()
8919
    result = updateProductFeedSubmit_result()
8920
    try:
8921
      result.success = self._handler.updateProductFeedSubmit(args.productFeedSubmit)
8922
    except CatalogServiceException, cex:
8923
      result.cex = cex
8924
    oprot.writeMessageBegin("updateProductFeedSubmit", TMessageType.REPLY, seqid)
8925
    result.write(oprot)
8926
    oprot.writeMessageEnd()
8927
    oprot.trans.flush()
8928
 
8929
  def process_deleteProductFeedSubmit(self, seqid, iprot, oprot):
8930
    args = deleteProductFeedSubmit_args()
8931
    args.read(iprot)
8932
    iprot.readMessageEnd()
8933
    result = deleteProductFeedSubmit_result()
8934
    try:
8935
      result.success = self._handler.deleteProductFeedSubmit(args.catalogItemId)
8936
    except CatalogServiceException, cex:
8937
      result.cex = cex
8938
    oprot.writeMessageBegin("deleteProductFeedSubmit", TMessageType.REPLY, seqid)
8939
    result.write(oprot)
8940
    oprot.writeMessageEnd()
8941
    oprot.trans.flush()
8942
 
8943
  def process_getAllProductFeedSubmit(self, seqid, iprot, oprot):
8944
    args = getAllProductFeedSubmit_args()
8945
    args.read(iprot)
8946
    iprot.readMessageEnd()
8947
    result = getAllProductFeedSubmit_result()
8948
    try:
8949
      result.success = self._handler.getAllProductFeedSubmit()
8950
    except CatalogServiceException, cex:
8951
      result.cex = cex
8952
    oprot.writeMessageBegin("getAllProductFeedSubmit", TMessageType.REPLY, seqid)
8953
    result.write(oprot)
8954
    oprot.writeMessageEnd()
8955
    oprot.trans.flush()
8956
 
9724 kshitij.so 8957
  def process_getMarketplacedetailsForItem(self, seqid, iprot, oprot):
8958
    args = getMarketplacedetailsForItem_args()
8959
    args.read(iprot)
8960
    iprot.readMessageEnd()
8961
    result = getMarketplacedetailsForItem_result()
8962
    result.success = self._handler.getMarketplacedetailsForItem(args.itemId, args.sourceId)
8963
    oprot.writeMessageBegin("getMarketplacedetailsForItem", TMessageType.REPLY, seqid)
8964
    result.write(oprot)
8965
    oprot.writeMessageEnd()
8966
    oprot.trans.flush()
9621 manish.sha 8967
 
9724 kshitij.so 8968
  def process_updateMarketplaceAttributesForItem(self, seqid, iprot, oprot):
8969
    args = updateMarketplaceAttributesForItem_args()
8970
    args.read(iprot)
8971
    iprot.readMessageEnd()
8972
    result = updateMarketplaceAttributesForItem_result()
8973
    result.success = self._handler.updateMarketplaceAttributesForItem(args.marketPlaceItem)
8974
    oprot.writeMessageBegin("updateMarketplaceAttributesForItem", TMessageType.REPLY, seqid)
8975
    result.write(oprot)
8976
    oprot.writeMessageEnd()
8977
    oprot.trans.flush()
8978
 
9779 kshitij.so 8979
  def process_getCostingForMarketplace(self, seqid, iprot, oprot):
8980
    args = getCostingForMarketplace_args()
8981
    args.read(iprot)
8982
    iprot.readMessageEnd()
8983
    result = getCostingForMarketplace_result()
8984
    result.success = self._handler.getCostingForMarketplace(args.source, args.item_id)
8985
    oprot.writeMessageBegin("getCostingForMarketplace", TMessageType.REPLY, seqid)
8986
    result.write(oprot)
8987
    oprot.writeMessageEnd()
8988
    oprot.trans.flush()
8989
 
9776 vikram.rag 8990
  def process_getMarketPlaceItemsForPriceUpdate(self, seqid, iprot, oprot):
8991
    args = getMarketPlaceItemsForPriceUpdate_args()
8992
    args.read(iprot)
8993
    iprot.readMessageEnd()
8994
    result = getMarketPlaceItemsForPriceUpdate_result()
8995
    result.success = self._handler.getMarketPlaceItemsForPriceUpdate(args.source)
8996
    oprot.writeMessageBegin("getMarketPlaceItemsForPriceUpdate", TMessageType.REPLY, seqid)
8997
    result.write(oprot)
8998
    oprot.writeMessageEnd()
8999
    oprot.trans.flush()
9724 kshitij.so 9000
 
9776 vikram.rag 9001
  def process_updateMarketPlacePriceUpdateStatus(self, seqid, iprot, oprot):
9002
    args = updateMarketPlacePriceUpdateStatus_args()
9003
    args.read(iprot)
9004
    iprot.readMessageEnd()
9005
    result = updateMarketPlacePriceUpdateStatus_result()
9816 kshitij.so 9006
    self._handler.updateMarketPlacePriceUpdateStatus(args.skulist, args.timestamp, args.source)
9776 vikram.rag 9007
    oprot.writeMessageBegin("updateMarketPlacePriceUpdateStatus", TMessageType.REPLY, seqid)
9008
    result.write(oprot)
9009
    oprot.writeMessageEnd()
9010
    oprot.trans.flush()
9011
 
9861 rajveer 9012
  def process_updateItemHoldInventory(self, seqid, iprot, oprot):
9013
    args = updateItemHoldInventory_args()
9014
    args.read(iprot)
9015
    iprot.readMessageEnd()
9016
    result = updateItemHoldInventory_result()
9017
    self._handler.updateItemHoldInventory(args.itemHoldMap)
9018
    oprot.writeMessageBegin("updateItemHoldInventory", TMessageType.REPLY, seqid)
9019
    result.write(oprot)
9020
    oprot.writeMessageEnd()
9021
    oprot.trans.flush()
9776 vikram.rag 9022
 
9895 vikram.rag 9023
  def process_updateNlcAtMarketplaces(self, seqid, iprot, oprot):
9024
    args = updateNlcAtMarketplaces_args()
9025
    args.read(iprot)
9026
    iprot.readMessageEnd()
9027
    result = updateNlcAtMarketplaces_result()
9028
    self._handler.updateNlcAtMarketplaces(args.item_id, args.vendor_id, args.nlc)
9029
    oprot.writeMessageBegin("updateNlcAtMarketplaces", TMessageType.REPLY, seqid)
9030
    result.write(oprot)
9031
    oprot.writeMessageEnd()
9032
    oprot.trans.flush()
9861 rajveer 9033
 
9945 vikram.rag 9034
  def process_getAllFlipkartItems(self, seqid, iprot, oprot):
9035
    args = getAllFlipkartItems_args()
9036
    args.read(iprot)
9037
    iprot.readMessageEnd()
9038
    result = getAllFlipkartItems_result()
9039
    result.success = self._handler.getAllFlipkartItems()
9040
    oprot.writeMessageBegin("getAllFlipkartItems", TMessageType.REPLY, seqid)
9041
    result.write(oprot)
9042
    oprot.writeMessageEnd()
9043
    oprot.trans.flush()
9895 vikram.rag 9044
 
10097 kshitij.so 9045
  def process_addOrUpdateFlipkartItem(self, seqid, iprot, oprot):
9046
    args = addOrUpdateFlipkartItem_args()
9047
    args.read(iprot)
9048
    iprot.readMessageEnd()
9049
    result = addOrUpdateFlipkartItem_result()
9050
    result.success = self._handler.addOrUpdateFlipkartItem(args.flipkartitem)
9051
    oprot.writeMessageBegin("addOrUpdateFlipkartItem", TMessageType.REPLY, seqid)
9052
    result.write(oprot)
9053
    oprot.writeMessageEnd()
9054
    oprot.trans.flush()
9945 vikram.rag 9055
 
10097 kshitij.so 9056
  def process_getFlipkartItem(self, seqid, iprot, oprot):
9057
    args = getFlipkartItem_args()
9058
    args.read(iprot)
9059
    iprot.readMessageEnd()
9060
    result = getFlipkartItem_result()
9061
    result.success = self._handler.getFlipkartItem(args.item_id)
9062
    oprot.writeMessageBegin("getFlipkartItem", TMessageType.REPLY, seqid)
9063
    result.write(oprot)
9064
    oprot.writeMessageEnd()
9065
    oprot.trans.flush()
9066
 
9067
  def process_getFlipkartItemDetails(self, seqid, iprot, oprot):
9068
    args = getFlipkartItemDetails_args()
9069
    args.read(iprot)
9070
    iprot.readMessageEnd()
9071
    result = getFlipkartItemDetails_result()
9072
    result.success = self._handler.getFlipkartItemDetails(args.item_id)
9073
    oprot.writeMessageBegin("getFlipkartItemDetails", TMessageType.REPLY, seqid)
9074
    result.write(oprot)
9075
    oprot.writeMessageEnd()
9076
    oprot.trans.flush()
9077
 
9078
  def process_getFlipkartItems(self, seqid, iprot, oprot):
9079
    args = getFlipkartItems_args()
9080
    args.read(iprot)
9081
    iprot.readMessageEnd()
9082
    result = getFlipkartItems_result()
9083
    result.success = self._handler.getFlipkartItems(args.offset, args.limit)
9084
    oprot.writeMessageBegin("getFlipkartItems", TMessageType.REPLY, seqid)
9085
    result.write(oprot)
9086
    oprot.writeMessageEnd()
9087
    oprot.trans.flush()
9088
 
9089
  def process_searchFlipkartItems(self, seqid, iprot, oprot):
9090
    args = searchFlipkartItems_args()
9091
    args.read(iprot)
9092
    iprot.readMessageEnd()
9093
    result = searchFlipkartItems_result()
9094
    result.success = self._handler.searchFlipkartItems(args.searchTerm, args.offset, args.limit)
9095
    oprot.writeMessageBegin("searchFlipkartItems", TMessageType.REPLY, seqid)
9096
    result.write(oprot)
9097
    oprot.writeMessageEnd()
9098
    oprot.trans.flush()
9099
 
9100
  def process_getCountForFlipkartItems(self, seqid, iprot, oprot):
9101
    args = getCountForFlipkartItems_args()
9102
    args.read(iprot)
9103
    iprot.readMessageEnd()
9104
    result = getCountForFlipkartItems_result()
9105
    result.success = self._handler.getCountForFlipkartItems()
9106
    oprot.writeMessageBegin("getCountForFlipkartItems", TMessageType.REPLY, seqid)
9107
    result.write(oprot)
9108
    oprot.writeMessageEnd()
9109
    oprot.trans.flush()
9110
 
9111
  def process_getFlipkartSearchResultCount(self, seqid, iprot, oprot):
9112
    args = getFlipkartSearchResultCount_args()
9113
    args.read(iprot)
9114
    iprot.readMessageEnd()
9115
    result = getFlipkartSearchResultCount_result()
9116
    result.success = self._handler.getFlipkartSearchResultCount(args.searchTerm)
9117
    oprot.writeMessageBegin("getFlipkartSearchResultCount", TMessageType.REPLY, seqid)
9118
    result.write(oprot)
9119
    oprot.writeMessageEnd()
9120
    oprot.trans.flush()
9121
 
9122
  def process_getAllFkItems(self, seqid, iprot, oprot):
9123
    args = getAllFkItems_args()
9124
    args.read(iprot)
9125
    iprot.readMessageEnd()
9126
    result = getAllFkItems_result()
9127
    result.success = self._handler.getAllFkItems()
9128
    oprot.writeMessageBegin("getAllFkItems", TMessageType.REPLY, seqid)
9129
    result.write(oprot)
9130
    oprot.writeMessageEnd()
9131
    oprot.trans.flush()
9132
 
10140 vikram.rag 9133
  def process_getFlipkartItemBySkyAtFlipkart(self, seqid, iprot, oprot):
9134
    args = getFlipkartItemBySkyAtFlipkart_args()
9135
    args.read(iprot)
9136
    iprot.readMessageEnd()
9137
    result = getFlipkartItemBySkyAtFlipkart_result()
9138
    result.success = self._handler.getFlipkartItemBySkyAtFlipkart(args.sku)
9139
    oprot.writeMessageBegin("getFlipkartItemBySkyAtFlipkart", TMessageType.REPLY, seqid)
9140
    result.write(oprot)
9141
    oprot.writeMessageEnd()
9142
    oprot.trans.flush()
10097 kshitij.so 9143
 
11015 kshitij.so 9144
  def process_getMarketplaceHistory(self, seqid, iprot, oprot):
9145
    args = getMarketplaceHistory_args()
9146
    args.read(iprot)
9147
    iprot.readMessageEnd()
9148
    result = getMarketplaceHistory_result()
9149
    result.success = self._handler.getMarketplaceHistory(args.source, args.offset, args.itemId)
9150
    oprot.writeMessageBegin("getMarketplaceHistory", TMessageType.REPLY, seqid)
9151
    result.write(oprot)
9152
    oprot.writeMessageEnd()
9153
    oprot.trans.flush()
9154
 
10909 vikram.rag 9155
  def process_getAllFbbListedItems(self, seqid, iprot, oprot):
9156
    args = getAllFbbListedItems_args()
9157
    args.read(iprot)
9158
    iprot.readMessageEnd()
9159
    result = getAllFbbListedItems_result()
9160
    result.success = self._handler.getAllFbbListedItems()
9161
    oprot.writeMessageBegin("getAllFbbListedItems", TMessageType.REPLY, seqid)
9162
    result.write(oprot)
9163
    oprot.writeMessageEnd()
9164
    oprot.trans.flush()
10140 vikram.rag 9165
 
10924 vikram.rag 9166
  def process_getAllFbbPricingItems(self, seqid, iprot, oprot):
9167
    args = getAllFbbPricingItems_args()
9168
    args.read(iprot)
9169
    iprot.readMessageEnd()
9170
    result = getAllFbbPricingItems_result()
9171
    result.success = self._handler.getAllFbbPricingItems()
9172
    oprot.writeMessageBegin("getAllFbbPricingItems", TMessageType.REPLY, seqid)
9173
    result.write(oprot)
9174
    oprot.writeMessageEnd()
9175
    oprot.trans.flush()
10909 vikram.rag 9176
 
11015 kshitij.so 9177
  def process_getCountForMarketplaceHistory(self, seqid, iprot, oprot):
9178
    args = getCountForMarketplaceHistory_args()
9179
    args.read(iprot)
9180
    iprot.readMessageEnd()
9181
    result = getCountForMarketplaceHistory_result()
9182
    result.success = self._handler.getCountForMarketplaceHistory(args.source, args.itemId)
9183
    oprot.writeMessageBegin("getCountForMarketplaceHistory", TMessageType.REPLY, seqid)
9184
    result.write(oprot)
9185
    oprot.writeMessageEnd()
9186
    oprot.trans.flush()
10924 vikram.rag 9187
 
11015 kshitij.so 9188
  def process_getMarketplaceHistoryByDate(self, seqid, iprot, oprot):
9189
    args = getMarketplaceHistoryByDate_args()
9190
    args.read(iprot)
9191
    iprot.readMessageEnd()
9192
    result = getMarketplaceHistoryByDate_result()
9193
    result.success = self._handler.getMarketplaceHistoryByDate(args.source, args.startDate, args.endDate, args.offset, args.limit, args.itemId)
9194
    oprot.writeMessageBegin("getMarketplaceHistoryByDate", TMessageType.REPLY, seqid)
9195
    result.write(oprot)
9196
    oprot.writeMessageEnd()
9197
    oprot.trans.flush()
9198
 
11531 vikram.rag 9199
  def process_getPrivateDealDetails(self, seqid, iprot, oprot):
9200
    args = getPrivateDealDetails_args()
9201
    args.read(iprot)
9202
    iprot.readMessageEnd()
9203
    result = getPrivateDealDetails_result()
9204
    result.success = self._handler.getPrivateDealDetails(args.item_id)
9205
    oprot.writeMessageBegin("getPrivateDealDetails", TMessageType.REPLY, seqid)
9206
    result.write(oprot)
9207
    oprot.writeMessageEnd()
9208
    oprot.trans.flush()
11015 kshitij.so 9209
 
11531 vikram.rag 9210
  def process_getPrivateDealItems(self, seqid, iprot, oprot):
9211
    args = getPrivateDealItems_args()
9212
    args.read(iprot)
9213
    iprot.readMessageEnd()
9214
    result = getPrivateDealItems_result()
9215
    result.success = self._handler.getPrivateDealItems(args.offset, args.limit)
9216
    oprot.writeMessageBegin("getPrivateDealItems", TMessageType.REPLY, seqid)
9217
    result.write(oprot)
9218
    oprot.writeMessageEnd()
9219
    oprot.trans.flush()
9220
 
11592 amit.gupta 9221
  def process_getAllActivePrivateDeals(self, seqid, iprot, oprot):
9222
    args = getAllActivePrivateDeals_args()
9223
    args.read(iprot)
9224
    iprot.readMessageEnd()
9225
    result = getAllActivePrivateDeals_result()
11653 amit.gupta 9226
    result.success = self._handler.getAllActivePrivateDeals(args.itemIds, args.daysDelta)
11592 amit.gupta 9227
    oprot.writeMessageBegin("getAllActivePrivateDeals", TMessageType.REPLY, seqid)
9228
    result.write(oprot)
9229
    oprot.writeMessageEnd()
9230
    oprot.trans.flush()
9231
 
11531 vikram.rag 9232
  def process_addOrUpdatePrivateDeal(self, seqid, iprot, oprot):
9233
    args = addOrUpdatePrivateDeal_args()
9234
    args.read(iprot)
9235
    iprot.readMessageEnd()
9236
    result = addOrUpdatePrivateDeal_result()
9237
    result.success = self._handler.addOrUpdatePrivateDeal(args.privateDeal)
9238
    oprot.writeMessageBegin("addOrUpdatePrivateDeal", TMessageType.REPLY, seqid)
9239
    result.write(oprot)
9240
    oprot.writeMessageEnd()
9241
    oprot.trans.flush()
9242
 
11635 vikram.rag 9243
  def process_getPrivateDealsCatalogIds(self, seqid, iprot, oprot):
9244
    args = getPrivateDealsCatalogIds_args()
9245
    args.read(iprot)
9246
    iprot.readMessageEnd()
9247
    result = getPrivateDealsCatalogIds_result()
9248
    try:
9249
      result.success = self._handler.getPrivateDealsCatalogIds(args.beginIndex, args.totalItems)
9250
    except CatalogServiceException, cex:
9251
      result.cex = cex
9252
    oprot.writeMessageBegin("getPrivateDealsCatalogIds", TMessageType.REPLY, seqid)
9253
    result.write(oprot)
9254
    oprot.writeMessageEnd()
9255
    oprot.trans.flush()
11531 vikram.rag 9256
 
11645 amit.gupta 9257
  def process_getPrivateDealsCount(self, seqid, iprot, oprot):
9258
    args = getPrivateDealsCount_args()
9259
    args.read(iprot)
9260
    iprot.readMessageEnd()
9261
    result = getPrivateDealsCount_result()
9262
    result.success = self._handler.getPrivateDealsCount()
9263
    oprot.writeMessageBegin("getPrivateDealsCount", TMessageType.REPLY, seqid)
9264
    result.write(oprot)
9265
    oprot.writeMessageEnd()
9266
    oprot.trans.flush()
11635 vikram.rag 9267
 
11905 kshitij.so 9268
  def process_getAmazonOutSyncItems(self, seqid, iprot, oprot):
9269
    args = getAmazonOutSyncItems_args()
9270
    args.read(iprot)
9271
    iprot.readMessageEnd()
9272
    result = getAmazonOutSyncItems_result()
9273
    result.success = self._handler.getAmazonOutSyncItems(args.item_id)
9274
    oprot.writeMessageBegin("getAmazonOutSyncItems", TMessageType.REPLY, seqid)
9275
    result.write(oprot)
9276
    oprot.writeMessageEnd()
9277
    oprot.trans.flush()
11645 amit.gupta 9278
 
11905 kshitij.so 9279
  def process_getAllPrivateDealsComparison(self, seqid, iprot, oprot):
9280
    args = getAllPrivateDealsComparison_args()
9281
    args.read(iprot)
9282
    iprot.readMessageEnd()
9283
    result = getAllPrivateDealsComparison_result()
9284
    result.success = self._handler.getAllPrivateDealsComparison()
9285
    oprot.writeMessageBegin("getAllPrivateDealsComparison", TMessageType.REPLY, seqid)
9286
    result.write(oprot)
9287
    oprot.writeMessageEnd()
9288
    oprot.trans.flush()
9289
 
12133 kshitij.so 9290
  def process_getAllSnapdealMarketplaceItem(self, seqid, iprot, oprot):
9291
    args = getAllSnapdealMarketplaceItem_args()
9292
    args.read(iprot)
9293
    iprot.readMessageEnd()
9294
    result = getAllSnapdealMarketplaceItem_result()
9295
    result.success = self._handler.getAllSnapdealMarketplaceItem()
9296
    oprot.writeMessageBegin("getAllSnapdealMarketplaceItem", TMessageType.REPLY, seqid)
9297
    result.write(oprot)
9298
    oprot.writeMessageEnd()
9299
    oprot.trans.flush()
11905 kshitij.so 9300
 
12133 kshitij.so 9301
  def process_getAllFlipkartMarketplaceItem(self, seqid, iprot, oprot):
9302
    args = getAllFlipkartMarketplaceItem_args()
9303
    args.read(iprot)
9304
    iprot.readMessageEnd()
9305
    result = getAllFlipkartMarketplaceItem_result()
9306
    result.success = self._handler.getAllFlipkartMarketplaceItem()
9307
    oprot.writeMessageBegin("getAllFlipkartMarketplaceItem", TMessageType.REPLY, seqid)
9308
    result.write(oprot)
9309
    oprot.writeMessageEnd()
9310
    oprot.trans.flush()
9311
 
12243 kshitij.so 9312
  def process_addCompetitorScraping(self, seqid, iprot, oprot):
9313
    args = addCompetitorScraping_args()
9314
    args.read(iprot)
9315
    iprot.readMessageEnd()
9316
    result = addCompetitorScraping_result()
9317
    self._handler.addCompetitorScraping(args.competitorPricingMap)
9318
    oprot.writeMessageBegin("addCompetitorScraping", TMessageType.REPLY, seqid)
9319
    result.write(oprot)
9320
    oprot.writeMessageEnd()
9321
    oprot.trans.flush()
12133 kshitij.so 9322
 
12243 kshitij.so 9323
  def process_getPreviousCompetitorScraping(self, seqid, iprot, oprot):
9324
    args = getPreviousCompetitorScraping_args()
9325
    args.read(iprot)
9326
    iprot.readMessageEnd()
9327
    result = getPreviousCompetitorScraping_result()
9328
    result.success = self._handler.getPreviousCompetitorScraping(args.delta)
9329
    oprot.writeMessageBegin("getPreviousCompetitorScraping", TMessageType.REPLY, seqid)
9330
    result.write(oprot)
9331
    oprot.writeMessageEnd()
9332
    oprot.trans.flush()
9333
 
12256 kshitij.so 9334
  def process_getUploadResultById(self, seqid, iprot, oprot):
9335
    args = getUploadResultById_args()
9336
    args.read(iprot)
9337
    iprot.readMessageEnd()
9338
    result = getUploadResultById_result()
9339
    result.success = self._handler.getUploadResultById(args.uploadId)
9340
    oprot.writeMessageBegin("getUploadResultById", TMessageType.REPLY, seqid)
9341
    result.write(oprot)
9342
    oprot.writeMessageEnd()
9343
    oprot.trans.flush()
12243 kshitij.so 9344
 
12363 kshitij.so 9345
  def process_addAmazonPromotion(self, seqid, iprot, oprot):
9346
    args = addAmazonPromotion_args()
9347
    args.read(iprot)
9348
    iprot.readMessageEnd()
9349
    result = addAmazonPromotion_result()
12947 kshitij.so 9350
    try:
9351
      result.success = self._handler.addAmazonPromotion(args.amazonPromotions)
9352
    except CatalogServiceException, cex:
9353
      result.cex = cex
12363 kshitij.so 9354
    oprot.writeMessageBegin("addAmazonPromotion", TMessageType.REPLY, seqid)
9355
    result.write(oprot)
9356
    oprot.writeMessageEnd()
9357
    oprot.trans.flush()
12256 kshitij.so 9358
 
12363 kshitij.so 9359
  def process_getAmazonPromotion(self, seqid, iprot, oprot):
9360
    args = getAmazonPromotion_args()
9361
    args.read(iprot)
9362
    iprot.readMessageEnd()
9363
    result = getAmazonPromotion_result()
9364
    result.success = self._handler.getAmazonPromotion(args.startDate, args.endDate)
9365
    oprot.writeMessageBegin("getAmazonPromotion", TMessageType.REPLY, seqid)
9366
    result.write(oprot)
9367
    oprot.writeMessageEnd()
9368
    oprot.trans.flush()
9369
 
9370
  def process_updateAmazonPromotion(self, seqid, iprot, oprot):
9371
    args = updateAmazonPromotion_args()
9372
    args.read(iprot)
9373
    iprot.readMessageEnd()
9374
    result = updateAmazonPromotion_result()
9375
    result.success = self._handler.updateAmazonPromotion(args.amazonPromotions)
9376
    oprot.writeMessageBegin("updateAmazonPromotion", TMessageType.REPLY, seqid)
9377
    result.write(oprot)
9378
    oprot.writeMessageEnd()
9379
    oprot.trans.flush()
9380
 
12567 amit.gupta 9381
  def process_markPartiallyActive(self, seqid, iprot, oprot):
9382
    args = markPartiallyActive_args()
9383
    args.read(iprot)
9384
    iprot.readMessageEnd()
9385
    result = markPartiallyActive_result()
9386
    result.success = self._handler.markPartiallyActive(args.itemId, args.categoryId)
9387
    oprot.writeMessageBegin("markPartiallyActive", TMessageType.REPLY, seqid)
9388
    result.write(oprot)
9389
    oprot.writeMessageEnd()
9390
    oprot.trans.flush()
12363 kshitij.so 9391
 
12567 amit.gupta 9392
  def process_updateItemStateVat(self, seqid, iprot, oprot):
9393
    args = updateItemStateVat_args()
9394
    args.read(iprot)
9395
    iprot.readMessageEnd()
9396
    result = updateItemStateVat_result()
9397
    result.success = self._handler.updateItemStateVat(args.itemId, args.statevat)
9398
    oprot.writeMessageBegin("updateItemStateVat", TMessageType.REPLY, seqid)
9399
    result.write(oprot)
9400
    oprot.writeMessageEnd()
9401
    oprot.trans.flush()
9402
 
12620 amit.gupta 9403
  def process_getExAffiliateItemInfo(self, seqid, iprot, oprot):
9404
    args = getExAffiliateItemInfo_args()
9405
    args.read(iprot)
9406
    iprot.readMessageEnd()
9407
    result = getExAffiliateItemInfo_result()
9408
    result.success = self._handler.getExAffiliateItemInfo()
9409
    oprot.writeMessageBegin("getExAffiliateItemInfo", TMessageType.REPLY, seqid)
9410
    result.write(oprot)
9411
    oprot.writeMessageEnd()
9412
    oprot.trans.flush()
12567 amit.gupta 9413
 
12888 kshitij.so 9414
  def process_getAllItemstoListOnFbg(self, seqid, iprot, oprot):
9415
    args = getAllItemstoListOnFbg_args()
9416
    args.read(iprot)
9417
    iprot.readMessageEnd()
9418
    result = getAllItemstoListOnFbg_result()
9419
    result.success = self._handler.getAllItemstoListOnFbg()
9420
    oprot.writeMessageBegin("getAllItemstoListOnFbg", TMessageType.REPLY, seqid)
9421
    result.write(oprot)
9422
    oprot.writeMessageEnd()
9423
    oprot.trans.flush()
12620 amit.gupta 9424
 
12892 kshitij.so 9425
  def process_getAllFbgListedItems(self, seqid, iprot, oprot):
9426
    args = getAllFbgListedItems_args()
9427
    args.read(iprot)
9428
    iprot.readMessageEnd()
9429
    result = getAllFbgListedItems_result()
9430
    result.success = self._handler.getAllFbgListedItems()
9431
    oprot.writeMessageBegin("getAllFbgListedItems", TMessageType.REPLY, seqid)
9432
    result.write(oprot)
9433
    oprot.writeMessageEnd()
9434
    oprot.trans.flush()
12888 kshitij.so 9435
 
13136 amit.gupta 9436
  def process_checkServices(self, seqid, iprot, oprot):
9437
    args = checkServices_args()
9438
    args.read(iprot)
9439
    iprot.readMessageEnd()
9440
    result = checkServices_result()
9441
    try:
9442
      result.success = self._handler.checkServices(args.lines)
9443
    except CatalogServiceException, cex:
9444
      result.cex = cex
9445
    oprot.writeMessageBegin("checkServices", TMessageType.REPLY, seqid)
9446
    result.write(oprot)
9447
    oprot.writeMessageEnd()
9448
    oprot.trans.flush()
12892 kshitij.so 9449
 
13709 manish.sha 9450
  def process_addHsItem(self, seqid, iprot, oprot):
9451
    args = addHsItem_args()
9452
    args.read(iprot)
9453
    iprot.readMessageEnd()
9454
    result = addHsItem_result()
9455
    self._handler.addHsItem(args.hsItems)
9456
    oprot.writeMessageBegin("addHsItem", TMessageType.REPLY, seqid)
9457
    result.write(oprot)
9458
    oprot.writeMessageEnd()
9459
    oprot.trans.flush()
13136 amit.gupta 9460
 
13709 manish.sha 9461
  def process_getHsItem(self, seqid, iprot, oprot):
9462
    args = getHsItem_args()
9463
    args.read(iprot)
9464
    iprot.readMessageEnd()
9465
    result = getHsItem_result()
9466
    result.success = self._handler.getHsItem(args.hsItemId)
9467
    oprot.writeMessageBegin("getHsItem", TMessageType.REPLY, seqid)
9468
    result.write(oprot)
9469
    oprot.writeMessageEnd()
9470
    oprot.trans.flush()
9471
 
9472
  def process_updateHsItem(self, seqid, iprot, oprot):
9473
    args = updateHsItem_args()
9474
    args.read(iprot)
9475
    iprot.readMessageEnd()
9476
    result = updateHsItem_result()
9477
    self._handler.updateHsItem(args.hsItem)
9478
    oprot.writeMessageBegin("updateHsItem", TMessageType.REPLY, seqid)
9479
    result.write(oprot)
9480
    oprot.writeMessageEnd()
9481
    oprot.trans.flush()
9482
 
14182 kshitij.so 9483
  def process_getPricingForDtr(self, seqid, iprot, oprot):
9484
    args = getPricingForDtr_args()
9485
    args.read(iprot)
9486
    iprot.readMessageEnd()
9487
    result = getPricingForDtr_result()
9488
    result.success = self._handler.getPricingForDtr(args.catalogItemId)
9489
    oprot.writeMessageBegin("getPricingForDtr", TMessageType.REPLY, seqid)
9490
    result.write(oprot)
9491
    oprot.writeMessageEnd()
9492
    oprot.trans.flush()
13709 manish.sha 9493
 
15702 kshitij.so 9494
  def process_getAllItemstoListOnFbd(self, seqid, iprot, oprot):
9495
    args = getAllItemstoListOnFbd_args()
9496
    args.read(iprot)
9497
    iprot.readMessageEnd()
9498
    result = getAllItemstoListOnFbd_result()
9499
    result.success = self._handler.getAllItemstoListOnFbd()
9500
    oprot.writeMessageBegin("getAllItemstoListOnFbd", TMessageType.REPLY, seqid)
9501
    result.write(oprot)
9502
    oprot.writeMessageEnd()
9503
    oprot.trans.flush()
14182 kshitij.so 9504
 
15706 kshitij.so 9505
  def process_getAllFbdListedItems(self, seqid, iprot, oprot):
9506
    args = getAllFbdListedItems_args()
9507
    args.read(iprot)
9508
    iprot.readMessageEnd()
9509
    result = getAllFbdListedItems_result()
9510
    result.success = self._handler.getAllFbdListedItems()
9511
    oprot.writeMessageBegin("getAllFbdListedItems", TMessageType.REPLY, seqid)
9512
    result.write(oprot)
9513
    oprot.writeMessageEnd()
9514
    oprot.trans.flush()
15702 kshitij.so 9515
 
15706 kshitij.so 9516
 
5944 mandeep.dh 9517
# HELPER FUNCTIONS AND STRUCTURES
9518
 
9519
class addItem_args:
9520
  """
9521
  Attributes:
9522
   - item
9523
  """
9524
 
9525
  thrift_spec = (
9526
    None, # 0
9527
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
9528
  )
9529
 
9530
  def __init__(self, item=None,):
9531
    self.item = item
9532
 
9533
  def read(self, iprot):
9534
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9535
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9536
      return
9537
    iprot.readStructBegin()
9538
    while True:
9539
      (fname, ftype, fid) = iprot.readFieldBegin()
9540
      if ftype == TType.STOP:
9541
        break
9542
      if fid == 1:
9543
        if ftype == TType.STRUCT:
9544
          self.item = Item()
9545
          self.item.read(iprot)
9546
        else:
9547
          iprot.skip(ftype)
9548
      else:
9549
        iprot.skip(ftype)
9550
      iprot.readFieldEnd()
9551
    iprot.readStructEnd()
9552
 
9553
  def write(self, oprot):
9554
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9555
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9556
      return
9557
    oprot.writeStructBegin('addItem_args')
9558
    if self.item is not None:
9559
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
9560
      self.item.write(oprot)
9561
      oprot.writeFieldEnd()
9562
    oprot.writeFieldStop()
9563
    oprot.writeStructEnd()
9564
 
9565
  def validate(self):
9566
    return
9567
 
9568
 
9569
  def __repr__(self):
9570
    L = ['%s=%r' % (key, value)
9571
      for key, value in self.__dict__.iteritems()]
9572
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9573
 
9574
  def __eq__(self, other):
9575
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9576
 
9577
  def __ne__(self, other):
9578
    return not (self == other)
9579
 
9580
class addItem_result:
9581
  """
9582
  Attributes:
9583
   - success
9584
   - cex
9585
  """
9586
 
9587
  thrift_spec = (
9588
    (0, TType.I64, 'success', None, None, ), # 0
9589
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9590
  )
9591
 
9592
  def __init__(self, success=None, cex=None,):
9593
    self.success = success
9594
    self.cex = cex
9595
 
9596
  def read(self, iprot):
9597
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9598
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9599
      return
9600
    iprot.readStructBegin()
9601
    while True:
9602
      (fname, ftype, fid) = iprot.readFieldBegin()
9603
      if ftype == TType.STOP:
9604
        break
9605
      if fid == 0:
9606
        if ftype == TType.I64:
9607
          self.success = iprot.readI64();
9608
        else:
9609
          iprot.skip(ftype)
9610
      elif fid == 1:
9611
        if ftype == TType.STRUCT:
9612
          self.cex = CatalogServiceException()
9613
          self.cex.read(iprot)
9614
        else:
9615
          iprot.skip(ftype)
9616
      else:
9617
        iprot.skip(ftype)
9618
      iprot.readFieldEnd()
9619
    iprot.readStructEnd()
9620
 
9621
  def write(self, oprot):
9622
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9623
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9624
      return
9625
    oprot.writeStructBegin('addItem_result')
9626
    if self.success is not None:
9627
      oprot.writeFieldBegin('success', TType.I64, 0)
9628
      oprot.writeI64(self.success)
9629
      oprot.writeFieldEnd()
9630
    if self.cex is not None:
9631
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9632
      self.cex.write(oprot)
9633
      oprot.writeFieldEnd()
9634
    oprot.writeFieldStop()
9635
    oprot.writeStructEnd()
9636
 
9637
  def validate(self):
9638
    return
9639
 
9640
 
9641
  def __repr__(self):
9642
    L = ['%s=%r' % (key, value)
9643
      for key, value in self.__dict__.iteritems()]
9644
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9645
 
9646
  def __eq__(self, other):
9647
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9648
 
9649
  def __ne__(self, other):
9650
    return not (self == other)
9651
 
9652
class updateItem_args:
9653
  """
9654
  Attributes:
9655
   - item
9656
  """
9657
 
9658
  thrift_spec = (
9659
    None, # 0
9660
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
9661
  )
9662
 
9663
  def __init__(self, item=None,):
9664
    self.item = item
9665
 
9666
  def read(self, iprot):
9667
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9668
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9669
      return
9670
    iprot.readStructBegin()
9671
    while True:
9672
      (fname, ftype, fid) = iprot.readFieldBegin()
9673
      if ftype == TType.STOP:
9674
        break
9675
      if fid == 1:
9676
        if ftype == TType.STRUCT:
9677
          self.item = Item()
9678
          self.item.read(iprot)
9679
        else:
9680
          iprot.skip(ftype)
9681
      else:
9682
        iprot.skip(ftype)
9683
      iprot.readFieldEnd()
9684
    iprot.readStructEnd()
9685
 
9686
  def write(self, oprot):
9687
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9688
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9689
      return
9690
    oprot.writeStructBegin('updateItem_args')
9691
    if self.item is not None:
9692
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
9693
      self.item.write(oprot)
9694
      oprot.writeFieldEnd()
9695
    oprot.writeFieldStop()
9696
    oprot.writeStructEnd()
9697
 
9698
  def validate(self):
9699
    return
9700
 
9701
 
9702
  def __repr__(self):
9703
    L = ['%s=%r' % (key, value)
9704
      for key, value in self.__dict__.iteritems()]
9705
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9706
 
9707
  def __eq__(self, other):
9708
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9709
 
9710
  def __ne__(self, other):
9711
    return not (self == other)
9712
 
9713
class updateItem_result:
9714
  """
9715
  Attributes:
9716
   - success
9717
   - cex
9718
  """
9719
 
9720
  thrift_spec = (
9721
    (0, TType.I64, 'success', None, None, ), # 0
9722
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9723
  )
9724
 
9725
  def __init__(self, success=None, cex=None,):
9726
    self.success = success
9727
    self.cex = cex
9728
 
9729
  def read(self, iprot):
9730
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9731
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9732
      return
9733
    iprot.readStructBegin()
9734
    while True:
9735
      (fname, ftype, fid) = iprot.readFieldBegin()
9736
      if ftype == TType.STOP:
9737
        break
9738
      if fid == 0:
9739
        if ftype == TType.I64:
9740
          self.success = iprot.readI64();
9741
        else:
9742
          iprot.skip(ftype)
9743
      elif fid == 1:
9744
        if ftype == TType.STRUCT:
9745
          self.cex = CatalogServiceException()
9746
          self.cex.read(iprot)
9747
        else:
9748
          iprot.skip(ftype)
9749
      else:
9750
        iprot.skip(ftype)
9751
      iprot.readFieldEnd()
9752
    iprot.readStructEnd()
9753
 
9754
  def write(self, oprot):
9755
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9756
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9757
      return
9758
    oprot.writeStructBegin('updateItem_result')
9759
    if self.success is not None:
9760
      oprot.writeFieldBegin('success', TType.I64, 0)
9761
      oprot.writeI64(self.success)
9762
      oprot.writeFieldEnd()
9763
    if self.cex is not None:
9764
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9765
      self.cex.write(oprot)
9766
      oprot.writeFieldEnd()
9767
    oprot.writeFieldStop()
9768
    oprot.writeStructEnd()
9769
 
9770
  def validate(self):
9771
    return
9772
 
9773
 
9774
  def __repr__(self):
9775
    L = ['%s=%r' % (key, value)
9776
      for key, value in self.__dict__.iteritems()]
9777
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9778
 
9779
  def __eq__(self, other):
9780
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9781
 
9782
  def __ne__(self, other):
9783
    return not (self == other)
9784
 
9785
class isActive_args:
9786
  """
9787
  Attributes:
9788
   - itemId
9789
  """
9790
 
9791
  thrift_spec = (
9792
    None, # 0
9793
    (1, TType.I64, 'itemId', None, None, ), # 1
9794
  )
9795
 
9796
  def __init__(self, itemId=None,):
9797
    self.itemId = itemId
9798
 
9799
  def read(self, iprot):
9800
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9801
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9802
      return
9803
    iprot.readStructBegin()
9804
    while True:
9805
      (fname, ftype, fid) = iprot.readFieldBegin()
9806
      if ftype == TType.STOP:
9807
        break
9808
      if fid == 1:
9809
        if ftype == TType.I64:
9810
          self.itemId = iprot.readI64();
9811
        else:
9812
          iprot.skip(ftype)
9813
      else:
9814
        iprot.skip(ftype)
9815
      iprot.readFieldEnd()
9816
    iprot.readStructEnd()
9817
 
9818
  def write(self, oprot):
9819
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9820
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9821
      return
9822
    oprot.writeStructBegin('isActive_args')
9823
    if self.itemId is not None:
9824
      oprot.writeFieldBegin('itemId', TType.I64, 1)
9825
      oprot.writeI64(self.itemId)
9826
      oprot.writeFieldEnd()
9827
    oprot.writeFieldStop()
9828
    oprot.writeStructEnd()
9829
 
9830
  def validate(self):
9831
    return
9832
 
9833
 
9834
  def __repr__(self):
9835
    L = ['%s=%r' % (key, value)
9836
      for key, value in self.__dict__.iteritems()]
9837
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9838
 
9839
  def __eq__(self, other):
9840
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9841
 
9842
  def __ne__(self, other):
9843
    return not (self == other)
9844
 
9845
class isActive_result:
9846
  """
9847
  Attributes:
9848
   - success
9849
   - isex
9850
  """
9851
 
9852
  thrift_spec = (
9853
    (0, TType.STRUCT, 'success', (ItemShippingInfo, ItemShippingInfo.thrift_spec), None, ), # 0
9854
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9855
  )
9856
 
9857
  def __init__(self, success=None, isex=None,):
9858
    self.success = success
9859
    self.isex = isex
9860
 
9861
  def read(self, iprot):
9862
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9863
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9864
      return
9865
    iprot.readStructBegin()
9866
    while True:
9867
      (fname, ftype, fid) = iprot.readFieldBegin()
9868
      if ftype == TType.STOP:
9869
        break
9870
      if fid == 0:
9871
        if ftype == TType.STRUCT:
9872
          self.success = ItemShippingInfo()
9873
          self.success.read(iprot)
9874
        else:
9875
          iprot.skip(ftype)
9876
      elif fid == 1:
9877
        if ftype == TType.STRUCT:
9878
          self.isex = CatalogServiceException()
9879
          self.isex.read(iprot)
9880
        else:
9881
          iprot.skip(ftype)
9882
      else:
9883
        iprot.skip(ftype)
9884
      iprot.readFieldEnd()
9885
    iprot.readStructEnd()
9886
 
9887
  def write(self, oprot):
9888
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9889
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9890
      return
9891
    oprot.writeStructBegin('isActive_result')
9892
    if self.success is not None:
9893
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
9894
      self.success.write(oprot)
9895
      oprot.writeFieldEnd()
9896
    if self.isex is not None:
9897
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
9898
      self.isex.write(oprot)
9899
      oprot.writeFieldEnd()
9900
    oprot.writeFieldStop()
9901
    oprot.writeStructEnd()
9902
 
9903
  def validate(self):
9904
    return
9905
 
9906
 
9907
  def __repr__(self):
9908
    L = ['%s=%r' % (key, value)
9909
      for key, value in self.__dict__.iteritems()]
9910
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9911
 
9912
  def __eq__(self, other):
9913
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9914
 
9915
  def __ne__(self, other):
9916
    return not (self == other)
9917
 
7438 amit.gupta 9918
class getItemsStatus_args:
9919
  """
9920
  Attributes:
9921
   - itemIds
9922
  """
9923
 
9924
  thrift_spec = (
9925
    None, # 0
9926
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
9927
  )
9928
 
9929
  def __init__(self, itemIds=None,):
9930
    self.itemIds = itemIds
9931
 
9932
  def read(self, iprot):
9933
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9934
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9935
      return
9936
    iprot.readStructBegin()
9937
    while True:
9938
      (fname, ftype, fid) = iprot.readFieldBegin()
9939
      if ftype == TType.STOP:
9940
        break
9941
      if fid == 1:
9942
        if ftype == TType.LIST:
9943
          self.itemIds = []
8590 kshitij.so 9944
          (_etype33, _size30) = iprot.readListBegin()
9945
          for _i34 in xrange(_size30):
9946
            _elem35 = iprot.readI64();
9947
            self.itemIds.append(_elem35)
7438 amit.gupta 9948
          iprot.readListEnd()
9949
        else:
9950
          iprot.skip(ftype)
9951
      else:
9952
        iprot.skip(ftype)
9953
      iprot.readFieldEnd()
9954
    iprot.readStructEnd()
9955
 
9956
  def write(self, oprot):
9957
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9958
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9959
      return
9960
    oprot.writeStructBegin('getItemsStatus_args')
9961
    if self.itemIds is not None:
9962
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
9963
      oprot.writeListBegin(TType.I64, len(self.itemIds))
8590 kshitij.so 9964
      for iter36 in self.itemIds:
9965
        oprot.writeI64(iter36)
7438 amit.gupta 9966
      oprot.writeListEnd()
9967
      oprot.writeFieldEnd()
9968
    oprot.writeFieldStop()
9969
    oprot.writeStructEnd()
9970
 
9971
  def validate(self):
9972
    return
9973
 
9974
 
9975
  def __repr__(self):
9976
    L = ['%s=%r' % (key, value)
9977
      for key, value in self.__dict__.iteritems()]
9978
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9979
 
9980
  def __eq__(self, other):
9981
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9982
 
9983
  def __ne__(self, other):
9984
    return not (self == other)
9985
 
9986
class getItemsStatus_result:
9987
  """
9988
  Attributes:
9989
   - success
9990
   - isex
9991
  """
9992
 
9993
  thrift_spec = (
9994
    (0, TType.MAP, 'success', (TType.I64,None,TType.BOOL,None), None, ), # 0
9995
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9996
  )
9997
 
9998
  def __init__(self, success=None, isex=None,):
9999
    self.success = success
10000
    self.isex = isex
10001
 
10002
  def read(self, iprot):
10003
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10004
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10005
      return
10006
    iprot.readStructBegin()
10007
    while True:
10008
      (fname, ftype, fid) = iprot.readFieldBegin()
10009
      if ftype == TType.STOP:
10010
        break
10011
      if fid == 0:
10012
        if ftype == TType.MAP:
10013
          self.success = {}
8590 kshitij.so 10014
          (_ktype38, _vtype39, _size37 ) = iprot.readMapBegin() 
10015
          for _i41 in xrange(_size37):
10016
            _key42 = iprot.readI64();
10017
            _val43 = iprot.readBool();
10018
            self.success[_key42] = _val43
7438 amit.gupta 10019
          iprot.readMapEnd()
10020
        else:
10021
          iprot.skip(ftype)
10022
      elif fid == 1:
10023
        if ftype == TType.STRUCT:
10024
          self.isex = CatalogServiceException()
10025
          self.isex.read(iprot)
10026
        else:
10027
          iprot.skip(ftype)
10028
      else:
10029
        iprot.skip(ftype)
10030
      iprot.readFieldEnd()
10031
    iprot.readStructEnd()
10032
 
10033
  def write(self, oprot):
10034
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10035
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10036
      return
10037
    oprot.writeStructBegin('getItemsStatus_result')
10038
    if self.success is not None:
10039
      oprot.writeFieldBegin('success', TType.MAP, 0)
10040
      oprot.writeMapBegin(TType.I64, TType.BOOL, len(self.success))
8590 kshitij.so 10041
      for kiter44,viter45 in self.success.items():
10042
        oprot.writeI64(kiter44)
10043
        oprot.writeBool(viter45)
7438 amit.gupta 10044
      oprot.writeMapEnd()
10045
      oprot.writeFieldEnd()
10046
    if self.isex is not None:
10047
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10048
      self.isex.write(oprot)
10049
      oprot.writeFieldEnd()
10050
    oprot.writeFieldStop()
10051
    oprot.writeStructEnd()
10052
 
10053
  def validate(self):
10054
    return
10055
 
10056
 
10057
  def __repr__(self):
10058
    L = ['%s=%r' % (key, value)
10059
      for key, value in self.__dict__.iteritems()]
10060
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10061
 
10062
  def __eq__(self, other):
10063
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10064
 
10065
  def __ne__(self, other):
10066
    return not (self == other)
10067
 
5944 mandeep.dh 10068
class getItemStatusDescription_args:
10069
  """
10070
  Attributes:
10071
   - itemId
10072
  """
10073
 
10074
  thrift_spec = (
10075
    None, # 0
10076
    (1, TType.I64, 'itemId', None, None, ), # 1
10077
  )
10078
 
10079
  def __init__(self, itemId=None,):
10080
    self.itemId = itemId
10081
 
10082
  def read(self, iprot):
10083
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10084
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10085
      return
10086
    iprot.readStructBegin()
10087
    while True:
10088
      (fname, ftype, fid) = iprot.readFieldBegin()
10089
      if ftype == TType.STOP:
10090
        break
10091
      if fid == 1:
10092
        if ftype == TType.I64:
10093
          self.itemId = iprot.readI64();
10094
        else:
10095
          iprot.skip(ftype)
10096
      else:
10097
        iprot.skip(ftype)
10098
      iprot.readFieldEnd()
10099
    iprot.readStructEnd()
10100
 
10101
  def write(self, oprot):
10102
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10103
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10104
      return
10105
    oprot.writeStructBegin('getItemStatusDescription_args')
10106
    if self.itemId is not None:
10107
      oprot.writeFieldBegin('itemId', TType.I64, 1)
10108
      oprot.writeI64(self.itemId)
10109
      oprot.writeFieldEnd()
10110
    oprot.writeFieldStop()
10111
    oprot.writeStructEnd()
10112
 
10113
  def validate(self):
10114
    return
10115
 
10116
 
10117
  def __repr__(self):
10118
    L = ['%s=%r' % (key, value)
10119
      for key, value in self.__dict__.iteritems()]
10120
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10121
 
10122
  def __eq__(self, other):
10123
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10124
 
10125
  def __ne__(self, other):
10126
    return not (self == other)
10127
 
10128
class getItemStatusDescription_result:
10129
  """
10130
  Attributes:
10131
   - success
10132
   - isex
10133
  """
10134
 
10135
  thrift_spec = (
10136
    (0, TType.STRING, 'success', None, None, ), # 0
10137
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10138
  )
10139
 
10140
  def __init__(self, success=None, isex=None,):
10141
    self.success = success
10142
    self.isex = isex
10143
 
10144
  def read(self, iprot):
10145
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10146
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10147
      return
10148
    iprot.readStructBegin()
10149
    while True:
10150
      (fname, ftype, fid) = iprot.readFieldBegin()
10151
      if ftype == TType.STOP:
10152
        break
10153
      if fid == 0:
10154
        if ftype == TType.STRING:
10155
          self.success = iprot.readString();
10156
        else:
10157
          iprot.skip(ftype)
10158
      elif fid == 1:
10159
        if ftype == TType.STRUCT:
10160
          self.isex = CatalogServiceException()
10161
          self.isex.read(iprot)
10162
        else:
10163
          iprot.skip(ftype)
10164
      else:
10165
        iprot.skip(ftype)
10166
      iprot.readFieldEnd()
10167
    iprot.readStructEnd()
10168
 
10169
  def write(self, oprot):
10170
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10171
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10172
      return
10173
    oprot.writeStructBegin('getItemStatusDescription_result')
10174
    if self.success is not None:
10175
      oprot.writeFieldBegin('success', TType.STRING, 0)
10176
      oprot.writeString(self.success)
10177
      oprot.writeFieldEnd()
10178
    if self.isex is not None:
10179
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10180
      self.isex.write(oprot)
10181
      oprot.writeFieldEnd()
10182
    oprot.writeFieldStop()
10183
    oprot.writeStructEnd()
10184
 
10185
  def validate(self):
10186
    return
10187
 
10188
 
10189
  def __repr__(self):
10190
    L = ['%s=%r' % (key, value)
10191
      for key, value in self.__dict__.iteritems()]
10192
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10193
 
10194
  def __eq__(self, other):
10195
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10196
 
10197
  def __ne__(self, other):
10198
    return not (self == other)
10199
 
10200
class startItemOn_args:
10201
  """
10202
  Attributes:
10203
   - item_id
10204
   - timestamp
10205
  """
10206
 
10207
  thrift_spec = (
10208
    None, # 0
10209
    (1, TType.I64, 'item_id', None, None, ), # 1
10210
    (2, TType.I64, 'timestamp', None, None, ), # 2
10211
  )
10212
 
10213
  def __init__(self, item_id=None, timestamp=None,):
10214
    self.item_id = item_id
10215
    self.timestamp = timestamp
10216
 
10217
  def read(self, iprot):
10218
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10219
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10220
      return
10221
    iprot.readStructBegin()
10222
    while True:
10223
      (fname, ftype, fid) = iprot.readFieldBegin()
10224
      if ftype == TType.STOP:
10225
        break
10226
      if fid == 1:
10227
        if ftype == TType.I64:
10228
          self.item_id = iprot.readI64();
10229
        else:
10230
          iprot.skip(ftype)
10231
      elif fid == 2:
10232
        if ftype == TType.I64:
10233
          self.timestamp = iprot.readI64();
10234
        else:
10235
          iprot.skip(ftype)
10236
      else:
10237
        iprot.skip(ftype)
10238
      iprot.readFieldEnd()
10239
    iprot.readStructEnd()
10240
 
10241
  def write(self, oprot):
10242
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10243
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10244
      return
10245
    oprot.writeStructBegin('startItemOn_args')
10246
    if self.item_id is not None:
10247
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10248
      oprot.writeI64(self.item_id)
10249
      oprot.writeFieldEnd()
10250
    if self.timestamp is not None:
10251
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10252
      oprot.writeI64(self.timestamp)
10253
      oprot.writeFieldEnd()
10254
    oprot.writeFieldStop()
10255
    oprot.writeStructEnd()
10256
 
10257
  def validate(self):
10258
    return
10259
 
10260
 
10261
  def __repr__(self):
10262
    L = ['%s=%r' % (key, value)
10263
      for key, value in self.__dict__.iteritems()]
10264
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10265
 
10266
  def __eq__(self, other):
10267
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10268
 
10269
  def __ne__(self, other):
10270
    return not (self == other)
10271
 
10272
class startItemOn_result:
10273
  """
10274
  Attributes:
10275
   - cex
10276
  """
10277
 
10278
  thrift_spec = (
10279
    None, # 0
10280
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10281
  )
10282
 
10283
  def __init__(self, cex=None,):
10284
    self.cex = cex
10285
 
10286
  def read(self, iprot):
10287
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10288
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10289
      return
10290
    iprot.readStructBegin()
10291
    while True:
10292
      (fname, ftype, fid) = iprot.readFieldBegin()
10293
      if ftype == TType.STOP:
10294
        break
10295
      if fid == 1:
10296
        if ftype == TType.STRUCT:
10297
          self.cex = CatalogServiceException()
10298
          self.cex.read(iprot)
10299
        else:
10300
          iprot.skip(ftype)
10301
      else:
10302
        iprot.skip(ftype)
10303
      iprot.readFieldEnd()
10304
    iprot.readStructEnd()
10305
 
10306
  def write(self, oprot):
10307
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10308
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10309
      return
10310
    oprot.writeStructBegin('startItemOn_result')
10311
    if self.cex is not None:
10312
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10313
      self.cex.write(oprot)
10314
      oprot.writeFieldEnd()
10315
    oprot.writeFieldStop()
10316
    oprot.writeStructEnd()
10317
 
10318
  def validate(self):
10319
    return
10320
 
10321
 
10322
  def __repr__(self):
10323
    L = ['%s=%r' % (key, value)
10324
      for key, value in self.__dict__.iteritems()]
10325
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10326
 
10327
  def __eq__(self, other):
10328
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10329
 
10330
  def __ne__(self, other):
10331
    return not (self == other)
10332
 
10333
class retireItemOn_args:
10334
  """
10335
  Attributes:
10336
   - item_id
10337
   - timestamp
10338
  """
10339
 
10340
  thrift_spec = (
10341
    None, # 0
10342
    (1, TType.I64, 'item_id', None, None, ), # 1
10343
    (2, TType.I64, 'timestamp', None, None, ), # 2
10344
  )
10345
 
10346
  def __init__(self, item_id=None, timestamp=None,):
10347
    self.item_id = item_id
10348
    self.timestamp = timestamp
10349
 
10350
  def read(self, iprot):
10351
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10352
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10353
      return
10354
    iprot.readStructBegin()
10355
    while True:
10356
      (fname, ftype, fid) = iprot.readFieldBegin()
10357
      if ftype == TType.STOP:
10358
        break
10359
      if fid == 1:
10360
        if ftype == TType.I64:
10361
          self.item_id = iprot.readI64();
10362
        else:
10363
          iprot.skip(ftype)
10364
      elif fid == 2:
10365
        if ftype == TType.I64:
10366
          self.timestamp = iprot.readI64();
10367
        else:
10368
          iprot.skip(ftype)
10369
      else:
10370
        iprot.skip(ftype)
10371
      iprot.readFieldEnd()
10372
    iprot.readStructEnd()
10373
 
10374
  def write(self, oprot):
10375
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10376
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10377
      return
10378
    oprot.writeStructBegin('retireItemOn_args')
10379
    if self.item_id is not None:
10380
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10381
      oprot.writeI64(self.item_id)
10382
      oprot.writeFieldEnd()
10383
    if self.timestamp is not None:
10384
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10385
      oprot.writeI64(self.timestamp)
10386
      oprot.writeFieldEnd()
10387
    oprot.writeFieldStop()
10388
    oprot.writeStructEnd()
10389
 
10390
  def validate(self):
10391
    return
10392
 
10393
 
10394
  def __repr__(self):
10395
    L = ['%s=%r' % (key, value)
10396
      for key, value in self.__dict__.iteritems()]
10397
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10398
 
10399
  def __eq__(self, other):
10400
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10401
 
10402
  def __ne__(self, other):
10403
    return not (self == other)
10404
 
10405
class retireItemOn_result:
10406
  """
10407
  Attributes:
10408
   - cex
10409
  """
10410
 
10411
  thrift_spec = (
10412
    None, # 0
10413
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10414
  )
10415
 
10416
  def __init__(self, cex=None,):
10417
    self.cex = cex
10418
 
10419
  def read(self, iprot):
10420
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10421
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10422
      return
10423
    iprot.readStructBegin()
10424
    while True:
10425
      (fname, ftype, fid) = iprot.readFieldBegin()
10426
      if ftype == TType.STOP:
10427
        break
10428
      if fid == 1:
10429
        if ftype == TType.STRUCT:
10430
          self.cex = CatalogServiceException()
10431
          self.cex.read(iprot)
10432
        else:
10433
          iprot.skip(ftype)
10434
      else:
10435
        iprot.skip(ftype)
10436
      iprot.readFieldEnd()
10437
    iprot.readStructEnd()
10438
 
10439
  def write(self, oprot):
10440
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10441
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10442
      return
10443
    oprot.writeStructBegin('retireItemOn_result')
10444
    if self.cex is not None:
10445
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10446
      self.cex.write(oprot)
10447
      oprot.writeFieldEnd()
10448
    oprot.writeFieldStop()
10449
    oprot.writeStructEnd()
10450
 
10451
  def validate(self):
10452
    return
10453
 
10454
 
10455
  def __repr__(self):
10456
    L = ['%s=%r' % (key, value)
10457
      for key, value in self.__dict__.iteritems()]
10458
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10459
 
10460
  def __eq__(self, other):
10461
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10462
 
10463
  def __ne__(self, other):
10464
    return not (self == other)
10465
 
10466
class changeItemStatus_args:
10467
  """
10468
  Attributes:
10469
   - item_id
10470
   - timestamp
10471
   - newstatus
10472
  """
10473
 
10474
  thrift_spec = (
10475
    None, # 0
10476
    (1, TType.I64, 'item_id', None, None, ), # 1
10477
    (2, TType.I64, 'timestamp', None, None, ), # 2
10478
    (3, TType.I32, 'newstatus', None, None, ), # 3
10479
  )
10480
 
10481
  def __init__(self, item_id=None, timestamp=None, newstatus=None,):
10482
    self.item_id = item_id
10483
    self.timestamp = timestamp
10484
    self.newstatus = newstatus
10485
 
10486
  def read(self, iprot):
10487
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10488
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10489
      return
10490
    iprot.readStructBegin()
10491
    while True:
10492
      (fname, ftype, fid) = iprot.readFieldBegin()
10493
      if ftype == TType.STOP:
10494
        break
10495
      if fid == 1:
10496
        if ftype == TType.I64:
10497
          self.item_id = iprot.readI64();
10498
        else:
10499
          iprot.skip(ftype)
10500
      elif fid == 2:
10501
        if ftype == TType.I64:
10502
          self.timestamp = iprot.readI64();
10503
        else:
10504
          iprot.skip(ftype)
10505
      elif fid == 3:
10506
        if ftype == TType.I32:
10507
          self.newstatus = iprot.readI32();
10508
        else:
10509
          iprot.skip(ftype)
10510
      else:
10511
        iprot.skip(ftype)
10512
      iprot.readFieldEnd()
10513
    iprot.readStructEnd()
10514
 
10515
  def write(self, oprot):
10516
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10517
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10518
      return
10519
    oprot.writeStructBegin('changeItemStatus_args')
10520
    if self.item_id is not None:
10521
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10522
      oprot.writeI64(self.item_id)
10523
      oprot.writeFieldEnd()
10524
    if self.timestamp is not None:
10525
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10526
      oprot.writeI64(self.timestamp)
10527
      oprot.writeFieldEnd()
10528
    if self.newstatus is not None:
10529
      oprot.writeFieldBegin('newstatus', TType.I32, 3)
10530
      oprot.writeI32(self.newstatus)
10531
      oprot.writeFieldEnd()
10532
    oprot.writeFieldStop()
10533
    oprot.writeStructEnd()
10534
 
10535
  def validate(self):
10536
    return
10537
 
10538
 
10539
  def __repr__(self):
10540
    L = ['%s=%r' % (key, value)
10541
      for key, value in self.__dict__.iteritems()]
10542
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10543
 
10544
  def __eq__(self, other):
10545
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10546
 
10547
  def __ne__(self, other):
10548
    return not (self == other)
10549
 
10550
class changeItemStatus_result:
10551
  """
10552
  Attributes:
10553
   - cex
10554
  """
10555
 
10556
  thrift_spec = (
10557
    None, # 0
10558
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10559
  )
10560
 
10561
  def __init__(self, cex=None,):
10562
    self.cex = cex
10563
 
10564
  def read(self, iprot):
10565
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10566
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10567
      return
10568
    iprot.readStructBegin()
10569
    while True:
10570
      (fname, ftype, fid) = iprot.readFieldBegin()
10571
      if ftype == TType.STOP:
10572
        break
10573
      if fid == 1:
10574
        if ftype == TType.STRUCT:
10575
          self.cex = CatalogServiceException()
10576
          self.cex.read(iprot)
10577
        else:
10578
          iprot.skip(ftype)
10579
      else:
10580
        iprot.skip(ftype)
10581
      iprot.readFieldEnd()
10582
    iprot.readStructEnd()
10583
 
10584
  def write(self, oprot):
10585
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10586
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10587
      return
10588
    oprot.writeStructBegin('changeItemStatus_result')
10589
    if self.cex is not None:
10590
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10591
      self.cex.write(oprot)
10592
      oprot.writeFieldEnd()
10593
    oprot.writeFieldStop()
10594
    oprot.writeStructEnd()
10595
 
10596
  def validate(self):
10597
    return
10598
 
10599
 
10600
  def __repr__(self):
10601
    L = ['%s=%r' % (key, value)
10602
      for key, value in self.__dict__.iteritems()]
10603
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10604
 
10605
  def __eq__(self, other):
10606
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10607
 
10608
  def __ne__(self, other):
10609
    return not (self == other)
10610
 
10611
class getItem_args:
10612
  """
10613
  Attributes:
10614
   - item_id
10615
  """
10616
 
10617
  thrift_spec = (
10618
    None, # 0
10619
    (1, TType.I64, 'item_id', None, None, ), # 1
10620
  )
10621
 
10622
  def __init__(self, item_id=None,):
10623
    self.item_id = item_id
10624
 
10625
  def read(self, iprot):
10626
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10627
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10628
      return
10629
    iprot.readStructBegin()
10630
    while True:
10631
      (fname, ftype, fid) = iprot.readFieldBegin()
10632
      if ftype == TType.STOP:
10633
        break
10634
      if fid == 1:
10635
        if ftype == TType.I64:
10636
          self.item_id = iprot.readI64();
10637
        else:
10638
          iprot.skip(ftype)
10639
      else:
10640
        iprot.skip(ftype)
10641
      iprot.readFieldEnd()
10642
    iprot.readStructEnd()
10643
 
10644
  def write(self, oprot):
10645
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10646
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10647
      return
10648
    oprot.writeStructBegin('getItem_args')
10649
    if self.item_id is not None:
10650
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10651
      oprot.writeI64(self.item_id)
10652
      oprot.writeFieldEnd()
10653
    oprot.writeFieldStop()
10654
    oprot.writeStructEnd()
10655
 
10656
  def validate(self):
10657
    return
10658
 
10659
 
10660
  def __repr__(self):
10661
    L = ['%s=%r' % (key, value)
10662
      for key, value in self.__dict__.iteritems()]
10663
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10664
 
10665
  def __eq__(self, other):
10666
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10667
 
10668
  def __ne__(self, other):
10669
    return not (self == other)
10670
 
10671
class getItem_result:
10672
  """
10673
  Attributes:
10674
   - success
10675
   - cex
10676
  """
10677
 
10678
  thrift_spec = (
10679
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
10680
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10681
  )
10682
 
10683
  def __init__(self, success=None, cex=None,):
10684
    self.success = success
10685
    self.cex = cex
10686
 
10687
  def read(self, iprot):
10688
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10689
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10690
      return
10691
    iprot.readStructBegin()
10692
    while True:
10693
      (fname, ftype, fid) = iprot.readFieldBegin()
10694
      if ftype == TType.STOP:
10695
        break
10696
      if fid == 0:
10697
        if ftype == TType.STRUCT:
10698
          self.success = Item()
10699
          self.success.read(iprot)
10700
        else:
10701
          iprot.skip(ftype)
10702
      elif fid == 1:
10703
        if ftype == TType.STRUCT:
10704
          self.cex = CatalogServiceException()
10705
          self.cex.read(iprot)
10706
        else:
10707
          iprot.skip(ftype)
10708
      else:
10709
        iprot.skip(ftype)
10710
      iprot.readFieldEnd()
10711
    iprot.readStructEnd()
10712
 
10713
  def write(self, oprot):
10714
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10715
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10716
      return
10717
    oprot.writeStructBegin('getItem_result')
10718
    if self.success is not None:
10719
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
10720
      self.success.write(oprot)
10721
      oprot.writeFieldEnd()
10722
    if self.cex is not None:
10723
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10724
      self.cex.write(oprot)
10725
      oprot.writeFieldEnd()
10726
    oprot.writeFieldStop()
10727
    oprot.writeStructEnd()
10728
 
10729
  def validate(self):
10730
    return
10731
 
10732
 
10733
  def __repr__(self):
10734
    L = ['%s=%r' % (key, value)
10735
      for key, value in self.__dict__.iteritems()]
10736
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10737
 
10738
  def __eq__(self, other):
10739
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10740
 
10741
  def __ne__(self, other):
10742
    return not (self == other)
10743
 
13493 amit.gupta 10744
class getItems_args:
10745
  """
10746
  Attributes:
10747
   - item_ids
10748
  """
10749
 
10750
  thrift_spec = (
10751
    None, # 0
10752
    (1, TType.LIST, 'item_ids', (TType.I64,None), None, ), # 1
10753
  )
10754
 
10755
  def __init__(self, item_ids=None,):
10756
    self.item_ids = item_ids
10757
 
10758
  def read(self, iprot):
10759
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10760
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10761
      return
10762
    iprot.readStructBegin()
10763
    while True:
10764
      (fname, ftype, fid) = iprot.readFieldBegin()
10765
      if ftype == TType.STOP:
10766
        break
10767
      if fid == 1:
10768
        if ftype == TType.LIST:
10769
          self.item_ids = []
10770
          (_etype49, _size46) = iprot.readListBegin()
10771
          for _i50 in xrange(_size46):
10772
            _elem51 = iprot.readI64();
10773
            self.item_ids.append(_elem51)
10774
          iprot.readListEnd()
10775
        else:
10776
          iprot.skip(ftype)
10777
      else:
10778
        iprot.skip(ftype)
10779
      iprot.readFieldEnd()
10780
    iprot.readStructEnd()
10781
 
10782
  def write(self, oprot):
10783
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10784
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10785
      return
10786
    oprot.writeStructBegin('getItems_args')
10787
    if self.item_ids is not None:
10788
      oprot.writeFieldBegin('item_ids', TType.LIST, 1)
10789
      oprot.writeListBegin(TType.I64, len(self.item_ids))
10790
      for iter52 in self.item_ids:
10791
        oprot.writeI64(iter52)
10792
      oprot.writeListEnd()
10793
      oprot.writeFieldEnd()
10794
    oprot.writeFieldStop()
10795
    oprot.writeStructEnd()
10796
 
10797
  def validate(self):
10798
    return
10799
 
10800
 
10801
  def __repr__(self):
10802
    L = ['%s=%r' % (key, value)
10803
      for key, value in self.__dict__.iteritems()]
10804
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10805
 
10806
  def __eq__(self, other):
10807
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10808
 
10809
  def __ne__(self, other):
10810
    return not (self == other)
10811
 
10812
class getItems_result:
10813
  """
10814
  Attributes:
10815
   - success
10816
   - cex
10817
  """
10818
 
10819
  thrift_spec = (
10820
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10821
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10822
  )
10823
 
10824
  def __init__(self, success=None, cex=None,):
10825
    self.success = success
10826
    self.cex = cex
10827
 
10828
  def read(self, iprot):
10829
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10830
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10831
      return
10832
    iprot.readStructBegin()
10833
    while True:
10834
      (fname, ftype, fid) = iprot.readFieldBegin()
10835
      if ftype == TType.STOP:
10836
        break
10837
      if fid == 0:
10838
        if ftype == TType.MAP:
10839
          self.success = {}
10840
          (_ktype54, _vtype55, _size53 ) = iprot.readMapBegin() 
10841
          for _i57 in xrange(_size53):
10842
            _key58 = iprot.readI64();
10843
            _val59 = Item()
10844
            _val59.read(iprot)
10845
            self.success[_key58] = _val59
10846
          iprot.readMapEnd()
10847
        else:
10848
          iprot.skip(ftype)
10849
      elif fid == 1:
10850
        if ftype == TType.STRUCT:
10851
          self.cex = CatalogServiceException()
10852
          self.cex.read(iprot)
10853
        else:
10854
          iprot.skip(ftype)
10855
      else:
10856
        iprot.skip(ftype)
10857
      iprot.readFieldEnd()
10858
    iprot.readStructEnd()
10859
 
10860
  def write(self, oprot):
10861
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10862
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10863
      return
10864
    oprot.writeStructBegin('getItems_result')
10865
    if self.success is not None:
10866
      oprot.writeFieldBegin('success', TType.MAP, 0)
10867
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
10868
      for kiter60,viter61 in self.success.items():
10869
        oprot.writeI64(kiter60)
10870
        viter61.write(oprot)
10871
      oprot.writeMapEnd()
10872
      oprot.writeFieldEnd()
10873
    if self.cex is not None:
10874
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10875
      self.cex.write(oprot)
10876
      oprot.writeFieldEnd()
10877
    oprot.writeFieldStop()
10878
    oprot.writeStructEnd()
10879
 
10880
  def validate(self):
10881
    return
10882
 
10883
 
10884
  def __repr__(self):
10885
    L = ['%s=%r' % (key, value)
10886
      for key, value in self.__dict__.iteritems()]
10887
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10888
 
10889
  def __eq__(self, other):
10890
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10891
 
10892
  def __ne__(self, other):
10893
    return not (self == other)
10894
 
5944 mandeep.dh 10895
class getItemsByCatalogId_args:
10896
  """
10897
  Attributes:
10898
   - catalog_item_id
10899
  """
10900
 
10901
  thrift_spec = (
10902
    None, # 0
10903
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
10904
  )
10905
 
10906
  def __init__(self, catalog_item_id=None,):
10907
    self.catalog_item_id = catalog_item_id
10908
 
10909
  def read(self, iprot):
10910
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10911
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10912
      return
10913
    iprot.readStructBegin()
10914
    while True:
10915
      (fname, ftype, fid) = iprot.readFieldBegin()
10916
      if ftype == TType.STOP:
10917
        break
10918
      if fid == 1:
10919
        if ftype == TType.I64:
10920
          self.catalog_item_id = iprot.readI64();
10921
        else:
10922
          iprot.skip(ftype)
10923
      else:
10924
        iprot.skip(ftype)
10925
      iprot.readFieldEnd()
10926
    iprot.readStructEnd()
10927
 
10928
  def write(self, oprot):
10929
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10930
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10931
      return
10932
    oprot.writeStructBegin('getItemsByCatalogId_args')
10933
    if self.catalog_item_id is not None:
10934
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
10935
      oprot.writeI64(self.catalog_item_id)
10936
      oprot.writeFieldEnd()
10937
    oprot.writeFieldStop()
10938
    oprot.writeStructEnd()
10939
 
10940
  def validate(self):
10941
    return
10942
 
10943
 
10944
  def __repr__(self):
10945
    L = ['%s=%r' % (key, value)
10946
      for key, value in self.__dict__.iteritems()]
10947
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10948
 
10949
  def __eq__(self, other):
10950
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10951
 
10952
  def __ne__(self, other):
10953
    return not (self == other)
10954
 
10955
class getItemsByCatalogId_result:
10956
  """
10957
  Attributes:
10958
   - success
10959
   - cex
10960
  """
10961
 
10962
  thrift_spec = (
10963
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10964
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10965
  )
10966
 
10967
  def __init__(self, success=None, cex=None,):
10968
    self.success = success
10969
    self.cex = cex
10970
 
10971
  def read(self, iprot):
10972
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10973
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10974
      return
10975
    iprot.readStructBegin()
10976
    while True:
10977
      (fname, ftype, fid) = iprot.readFieldBegin()
10978
      if ftype == TType.STOP:
10979
        break
10980
      if fid == 0:
10981
        if ftype == TType.LIST:
10982
          self.success = []
13493 amit.gupta 10983
          (_etype65, _size62) = iprot.readListBegin()
10984
          for _i66 in xrange(_size62):
10985
            _elem67 = Item()
10986
            _elem67.read(iprot)
10987
            self.success.append(_elem67)
5944 mandeep.dh 10988
          iprot.readListEnd()
10989
        else:
10990
          iprot.skip(ftype)
10991
      elif fid == 1:
10992
        if ftype == TType.STRUCT:
10993
          self.cex = CatalogServiceException()
10994
          self.cex.read(iprot)
10995
        else:
10996
          iprot.skip(ftype)
10997
      else:
10998
        iprot.skip(ftype)
10999
      iprot.readFieldEnd()
11000
    iprot.readStructEnd()
11001
 
11002
  def write(self, oprot):
11003
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11004
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11005
      return
11006
    oprot.writeStructBegin('getItemsByCatalogId_result')
11007
    if self.success is not None:
11008
      oprot.writeFieldBegin('success', TType.LIST, 0)
11009
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11010
      for iter68 in self.success:
11011
        iter68.write(oprot)
5944 mandeep.dh 11012
      oprot.writeListEnd()
11013
      oprot.writeFieldEnd()
11014
    if self.cex is not None:
11015
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11016
      self.cex.write(oprot)
11017
      oprot.writeFieldEnd()
11018
    oprot.writeFieldStop()
11019
    oprot.writeStructEnd()
11020
 
11021
  def validate(self):
11022
    return
11023
 
11024
 
11025
  def __repr__(self):
11026
    L = ['%s=%r' % (key, value)
11027
      for key, value in self.__dict__.iteritems()]
11028
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11029
 
11030
  def __eq__(self, other):
11031
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11032
 
11033
  def __ne__(self, other):
11034
    return not (self == other)
11035
 
11036
class getValidItemsByCatalogId_args:
11037
  """
11038
  Attributes:
11039
   - catalog_item_id
11040
  """
11041
 
11042
  thrift_spec = (
11043
    None, # 0
11044
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
11045
  )
11046
 
11047
  def __init__(self, catalog_item_id=None,):
11048
    self.catalog_item_id = catalog_item_id
11049
 
11050
  def read(self, iprot):
11051
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11052
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11053
      return
11054
    iprot.readStructBegin()
11055
    while True:
11056
      (fname, ftype, fid) = iprot.readFieldBegin()
11057
      if ftype == TType.STOP:
11058
        break
11059
      if fid == 1:
11060
        if ftype == TType.I64:
11061
          self.catalog_item_id = iprot.readI64();
11062
        else:
11063
          iprot.skip(ftype)
11064
      else:
11065
        iprot.skip(ftype)
11066
      iprot.readFieldEnd()
11067
    iprot.readStructEnd()
11068
 
11069
  def write(self, oprot):
11070
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11071
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11072
      return
11073
    oprot.writeStructBegin('getValidItemsByCatalogId_args')
11074
    if self.catalog_item_id is not None:
11075
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
11076
      oprot.writeI64(self.catalog_item_id)
11077
      oprot.writeFieldEnd()
11078
    oprot.writeFieldStop()
11079
    oprot.writeStructEnd()
11080
 
11081
  def validate(self):
11082
    return
11083
 
11084
 
11085
  def __repr__(self):
11086
    L = ['%s=%r' % (key, value)
11087
      for key, value in self.__dict__.iteritems()]
11088
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11089
 
11090
  def __eq__(self, other):
11091
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11092
 
11093
  def __ne__(self, other):
11094
    return not (self == other)
11095
 
11096
class getValidItemsByCatalogId_result:
11097
  """
11098
  Attributes:
11099
   - success
11100
   - cex
11101
  """
11102
 
11103
  thrift_spec = (
11104
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11105
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11106
  )
11107
 
11108
  def __init__(self, success=None, cex=None,):
11109
    self.success = success
11110
    self.cex = cex
11111
 
11112
  def read(self, iprot):
11113
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11114
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11115
      return
11116
    iprot.readStructBegin()
11117
    while True:
11118
      (fname, ftype, fid) = iprot.readFieldBegin()
11119
      if ftype == TType.STOP:
11120
        break
11121
      if fid == 0:
11122
        if ftype == TType.LIST:
11123
          self.success = []
13493 amit.gupta 11124
          (_etype72, _size69) = iprot.readListBegin()
11125
          for _i73 in xrange(_size69):
11126
            _elem74 = Item()
11127
            _elem74.read(iprot)
11128
            self.success.append(_elem74)
5944 mandeep.dh 11129
          iprot.readListEnd()
11130
        else:
11131
          iprot.skip(ftype)
11132
      elif fid == 1:
11133
        if ftype == TType.STRUCT:
11134
          self.cex = CatalogServiceException()
11135
          self.cex.read(iprot)
11136
        else:
11137
          iprot.skip(ftype)
11138
      else:
11139
        iprot.skip(ftype)
11140
      iprot.readFieldEnd()
11141
    iprot.readStructEnd()
11142
 
11143
  def write(self, oprot):
11144
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11145
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11146
      return
11147
    oprot.writeStructBegin('getValidItemsByCatalogId_result')
11148
    if self.success is not None:
11149
      oprot.writeFieldBegin('success', TType.LIST, 0)
11150
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11151
      for iter75 in self.success:
11152
        iter75.write(oprot)
5944 mandeep.dh 11153
      oprot.writeListEnd()
11154
      oprot.writeFieldEnd()
11155
    if self.cex is not None:
11156
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11157
      self.cex.write(oprot)
11158
      oprot.writeFieldEnd()
11159
    oprot.writeFieldStop()
11160
    oprot.writeStructEnd()
11161
 
11162
  def validate(self):
11163
    return
11164
 
11165
 
11166
  def __repr__(self):
11167
    L = ['%s=%r' % (key, value)
11168
      for key, value in self.__dict__.iteritems()]
11169
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11170
 
11171
  def __eq__(self, other):
11172
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11173
 
11174
  def __ne__(self, other):
11175
    return not (self == other)
11176
 
11177
class getAllItems_args:
11178
  """
11179
  Attributes:
11180
   - isActive
11181
  """
11182
 
11183
  thrift_spec = (
11184
    None, # 0
11185
    (1, TType.BOOL, 'isActive', None, None, ), # 1
11186
  )
11187
 
11188
  def __init__(self, isActive=None,):
11189
    self.isActive = isActive
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 == 1:
11201
        if ftype == TType.BOOL:
11202
          self.isActive = iprot.readBool();
11203
        else:
11204
          iprot.skip(ftype)
11205
      else:
11206
        iprot.skip(ftype)
11207
      iprot.readFieldEnd()
11208
    iprot.readStructEnd()
11209
 
11210
  def write(self, oprot):
11211
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11212
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11213
      return
11214
    oprot.writeStructBegin('getAllItems_args')
11215
    if self.isActive is not None:
11216
      oprot.writeFieldBegin('isActive', TType.BOOL, 1)
11217
      oprot.writeBool(self.isActive)
11218
      oprot.writeFieldEnd()
11219
    oprot.writeFieldStop()
11220
    oprot.writeStructEnd()
11221
 
11222
  def validate(self):
11223
    return
11224
 
11225
 
11226
  def __repr__(self):
11227
    L = ['%s=%r' % (key, value)
11228
      for key, value in self.__dict__.iteritems()]
11229
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11230
 
11231
  def __eq__(self, other):
11232
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11233
 
11234
  def __ne__(self, other):
11235
    return not (self == other)
11236
 
11237
class getAllItems_result:
11238
  """
11239
  Attributes:
11240
   - success
11241
   - cex
11242
  """
11243
 
11244
  thrift_spec = (
11245
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11246
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11247
  )
11248
 
11249
  def __init__(self, success=None, cex=None,):
11250
    self.success = success
11251
    self.cex = cex
11252
 
11253
  def read(self, iprot):
11254
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11255
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11256
      return
11257
    iprot.readStructBegin()
11258
    while True:
11259
      (fname, ftype, fid) = iprot.readFieldBegin()
11260
      if ftype == TType.STOP:
11261
        break
11262
      if fid == 0:
11263
        if ftype == TType.LIST:
11264
          self.success = []
13493 amit.gupta 11265
          (_etype79, _size76) = iprot.readListBegin()
11266
          for _i80 in xrange(_size76):
11267
            _elem81 = Item()
11268
            _elem81.read(iprot)
11269
            self.success.append(_elem81)
5944 mandeep.dh 11270
          iprot.readListEnd()
11271
        else:
11272
          iprot.skip(ftype)
11273
      elif fid == 1:
11274
        if ftype == TType.STRUCT:
11275
          self.cex = CatalogServiceException()
11276
          self.cex.read(iprot)
11277
        else:
11278
          iprot.skip(ftype)
11279
      else:
11280
        iprot.skip(ftype)
11281
      iprot.readFieldEnd()
11282
    iprot.readStructEnd()
11283
 
11284
  def write(self, oprot):
11285
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11286
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11287
      return
11288
    oprot.writeStructBegin('getAllItems_result')
11289
    if self.success is not None:
11290
      oprot.writeFieldBegin('success', TType.LIST, 0)
11291
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11292
      for iter82 in self.success:
11293
        iter82.write(oprot)
5944 mandeep.dh 11294
      oprot.writeListEnd()
11295
      oprot.writeFieldEnd()
11296
    if self.cex is not None:
11297
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11298
      self.cex.write(oprot)
11299
      oprot.writeFieldEnd()
11300
    oprot.writeFieldStop()
11301
    oprot.writeStructEnd()
11302
 
11303
  def validate(self):
11304
    return
11305
 
11306
 
11307
  def __repr__(self):
11308
    L = ['%s=%r' % (key, value)
11309
      for key, value in self.__dict__.iteritems()]
11310
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11311
 
11312
  def __eq__(self, other):
11313
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11314
 
11315
  def __ne__(self, other):
11316
    return not (self == other)
11317
 
11318
class getAllItemsByStatus_args:
11319
  """
11320
  Attributes:
11321
   - itemStatus
11322
  """
11323
 
11324
  thrift_spec = (
11325
    None, # 0
11326
    (1, TType.I32, 'itemStatus', None, None, ), # 1
11327
  )
11328
 
11329
  def __init__(self, itemStatus=None,):
11330
    self.itemStatus = itemStatus
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 == 1:
11342
        if ftype == TType.I32:
11343
          self.itemStatus = iprot.readI32();
11344
        else:
11345
          iprot.skip(ftype)
11346
      else:
11347
        iprot.skip(ftype)
11348
      iprot.readFieldEnd()
11349
    iprot.readStructEnd()
11350
 
11351
  def write(self, oprot):
11352
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11353
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11354
      return
11355
    oprot.writeStructBegin('getAllItemsByStatus_args')
11356
    if self.itemStatus is not None:
11357
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
11358
      oprot.writeI32(self.itemStatus)
11359
      oprot.writeFieldEnd()
11360
    oprot.writeFieldStop()
11361
    oprot.writeStructEnd()
11362
 
11363
  def validate(self):
11364
    return
11365
 
11366
 
11367
  def __repr__(self):
11368
    L = ['%s=%r' % (key, value)
11369
      for key, value in self.__dict__.iteritems()]
11370
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11371
 
11372
  def __eq__(self, other):
11373
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11374
 
11375
  def __ne__(self, other):
11376
    return not (self == other)
11377
 
11378
class getAllItemsByStatus_result:
11379
  """
11380
  Attributes:
11381
   - success
11382
   - cex
11383
  """
11384
 
11385
  thrift_spec = (
11386
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11387
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11388
  )
11389
 
11390
  def __init__(self, success=None, cex=None,):
11391
    self.success = success
11392
    self.cex = cex
11393
 
11394
  def read(self, iprot):
11395
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11396
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11397
      return
11398
    iprot.readStructBegin()
11399
    while True:
11400
      (fname, ftype, fid) = iprot.readFieldBegin()
11401
      if ftype == TType.STOP:
11402
        break
11403
      if fid == 0:
11404
        if ftype == TType.LIST:
11405
          self.success = []
13493 amit.gupta 11406
          (_etype86, _size83) = iprot.readListBegin()
11407
          for _i87 in xrange(_size83):
11408
            _elem88 = Item()
11409
            _elem88.read(iprot)
11410
            self.success.append(_elem88)
5944 mandeep.dh 11411
          iprot.readListEnd()
11412
        else:
11413
          iprot.skip(ftype)
11414
      elif fid == 1:
11415
        if ftype == TType.STRUCT:
11416
          self.cex = CatalogServiceException()
11417
          self.cex.read(iprot)
11418
        else:
11419
          iprot.skip(ftype)
11420
      else:
11421
        iprot.skip(ftype)
11422
      iprot.readFieldEnd()
11423
    iprot.readStructEnd()
11424
 
11425
  def write(self, oprot):
11426
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11427
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11428
      return
11429
    oprot.writeStructBegin('getAllItemsByStatus_result')
11430
    if self.success is not None:
11431
      oprot.writeFieldBegin('success', TType.LIST, 0)
11432
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11433
      for iter89 in self.success:
11434
        iter89.write(oprot)
5944 mandeep.dh 11435
      oprot.writeListEnd()
11436
      oprot.writeFieldEnd()
11437
    if self.cex is not None:
11438
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11439
      self.cex.write(oprot)
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 markItemAsContentComplete_args:
11460
  """
11461
  Attributes:
11462
   - entityId
11463
   - category
11464
   - brand
11465
   - modelName
11466
   - modelNumber
9253 rajveer 11467
   - isAndroid
5944 mandeep.dh 11468
  """
11469
 
11470
  thrift_spec = (
11471
    None, # 0
11472
    (1, TType.I64, 'entityId', None, None, ), # 1
11473
    (2, TType.I64, 'category', None, None, ), # 2
11474
    (3, TType.STRING, 'brand', None, None, ), # 3
11475
    (4, TType.STRING, 'modelName', None, None, ), # 4
11476
    (5, TType.STRING, 'modelNumber', None, None, ), # 5
9253 rajveer 11477
    (6, TType.BOOL, 'isAndroid', None, None, ), # 6
5944 mandeep.dh 11478
  )
11479
 
9253 rajveer 11480
  def __init__(self, entityId=None, category=None, brand=None, modelName=None, modelNumber=None, isAndroid=None,):
5944 mandeep.dh 11481
    self.entityId = entityId
11482
    self.category = category
11483
    self.brand = brand
11484
    self.modelName = modelName
11485
    self.modelNumber = modelNumber
9253 rajveer 11486
    self.isAndroid = isAndroid
5944 mandeep.dh 11487
 
11488
  def read(self, iprot):
11489
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11490
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11491
      return
11492
    iprot.readStructBegin()
11493
    while True:
11494
      (fname, ftype, fid) = iprot.readFieldBegin()
11495
      if ftype == TType.STOP:
11496
        break
11497
      if fid == 1:
11498
        if ftype == TType.I64:
11499
          self.entityId = iprot.readI64();
11500
        else:
11501
          iprot.skip(ftype)
11502
      elif fid == 2:
11503
        if ftype == TType.I64:
11504
          self.category = iprot.readI64();
11505
        else:
11506
          iprot.skip(ftype)
11507
      elif fid == 3:
11508
        if ftype == TType.STRING:
11509
          self.brand = iprot.readString();
11510
        else:
11511
          iprot.skip(ftype)
11512
      elif fid == 4:
11513
        if ftype == TType.STRING:
11514
          self.modelName = iprot.readString();
11515
        else:
11516
          iprot.skip(ftype)
11517
      elif fid == 5:
11518
        if ftype == TType.STRING:
11519
          self.modelNumber = iprot.readString();
11520
        else:
11521
          iprot.skip(ftype)
9253 rajveer 11522
      elif fid == 6:
11523
        if ftype == TType.BOOL:
11524
          self.isAndroid = iprot.readBool();
11525
        else:
11526
          iprot.skip(ftype)
5944 mandeep.dh 11527
      else:
11528
        iprot.skip(ftype)
11529
      iprot.readFieldEnd()
11530
    iprot.readStructEnd()
11531
 
11532
  def write(self, oprot):
11533
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11534
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11535
      return
11536
    oprot.writeStructBegin('markItemAsContentComplete_args')
11537
    if self.entityId is not None:
11538
      oprot.writeFieldBegin('entityId', TType.I64, 1)
11539
      oprot.writeI64(self.entityId)
11540
      oprot.writeFieldEnd()
11541
    if self.category is not None:
11542
      oprot.writeFieldBegin('category', TType.I64, 2)
11543
      oprot.writeI64(self.category)
11544
      oprot.writeFieldEnd()
11545
    if self.brand is not None:
11546
      oprot.writeFieldBegin('brand', TType.STRING, 3)
11547
      oprot.writeString(self.brand)
11548
      oprot.writeFieldEnd()
11549
    if self.modelName is not None:
11550
      oprot.writeFieldBegin('modelName', TType.STRING, 4)
11551
      oprot.writeString(self.modelName)
11552
      oprot.writeFieldEnd()
11553
    if self.modelNumber is not None:
11554
      oprot.writeFieldBegin('modelNumber', TType.STRING, 5)
11555
      oprot.writeString(self.modelNumber)
11556
      oprot.writeFieldEnd()
9253 rajveer 11557
    if self.isAndroid is not None:
11558
      oprot.writeFieldBegin('isAndroid', TType.BOOL, 6)
11559
      oprot.writeBool(self.isAndroid)
11560
      oprot.writeFieldEnd()
5944 mandeep.dh 11561
    oprot.writeFieldStop()
11562
    oprot.writeStructEnd()
11563
 
11564
  def validate(self):
11565
    return
11566
 
11567
 
11568
  def __repr__(self):
11569
    L = ['%s=%r' % (key, value)
11570
      for key, value in self.__dict__.iteritems()]
11571
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11572
 
11573
  def __eq__(self, other):
11574
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11575
 
11576
  def __ne__(self, other):
11577
    return not (self == other)
11578
 
11579
class markItemAsContentComplete_result:
11580
  """
11581
  Attributes:
11582
   - success
11583
   - cex
11584
  """
11585
 
11586
  thrift_spec = (
11587
    (0, TType.BOOL, 'success', None, None, ), # 0
11588
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11589
  )
11590
 
11591
  def __init__(self, success=None, cex=None,):
11592
    self.success = success
11593
    self.cex = cex
11594
 
11595
  def read(self, iprot):
11596
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11597
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11598
      return
11599
    iprot.readStructBegin()
11600
    while True:
11601
      (fname, ftype, fid) = iprot.readFieldBegin()
11602
      if ftype == TType.STOP:
11603
        break
11604
      if fid == 0:
11605
        if ftype == TType.BOOL:
11606
          self.success = iprot.readBool();
11607
        else:
11608
          iprot.skip(ftype)
11609
      elif fid == 1:
11610
        if ftype == TType.STRUCT:
11611
          self.cex = CatalogServiceException()
11612
          self.cex.read(iprot)
11613
        else:
11614
          iprot.skip(ftype)
11615
      else:
11616
        iprot.skip(ftype)
11617
      iprot.readFieldEnd()
11618
    iprot.readStructEnd()
11619
 
11620
  def write(self, oprot):
11621
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11622
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11623
      return
11624
    oprot.writeStructBegin('markItemAsContentComplete_result')
11625
    if self.success is not None:
11626
      oprot.writeFieldBegin('success', TType.BOOL, 0)
11627
      oprot.writeBool(self.success)
11628
      oprot.writeFieldEnd()
11629
    if self.cex is not None:
11630
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11631
      self.cex.write(oprot)
11632
      oprot.writeFieldEnd()
11633
    oprot.writeFieldStop()
11634
    oprot.writeStructEnd()
11635
 
11636
  def validate(self):
11637
    return
11638
 
11639
 
11640
  def __repr__(self):
11641
    L = ['%s=%r' % (key, value)
11642
      for key, value in self.__dict__.iteritems()]
11643
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11644
 
11645
  def __eq__(self, other):
11646
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11647
 
11648
  def __ne__(self, other):
11649
    return not (self == other)
11650
 
12567 amit.gupta 11651
class getVatRates_args:
11652
  """
11653
  Attributes:
11654
   - itemId
11655
   - categoryId
11656
  """
11657
 
11658
  thrift_spec = (
11659
    None, # 0
11660
    (1, TType.I64, 'itemId', None, None, ), # 1
11661
    (2, TType.I64, 'categoryId', None, None, ), # 2
11662
  )
11663
 
11664
  def __init__(self, itemId=None, categoryId=None,):
11665
    self.itemId = itemId
11666
    self.categoryId = categoryId
11667
 
11668
  def read(self, iprot):
11669
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11670
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11671
      return
11672
    iprot.readStructBegin()
11673
    while True:
11674
      (fname, ftype, fid) = iprot.readFieldBegin()
11675
      if ftype == TType.STOP:
11676
        break
11677
      if fid == 1:
11678
        if ftype == TType.I64:
11679
          self.itemId = iprot.readI64();
11680
        else:
11681
          iprot.skip(ftype)
11682
      elif fid == 2:
11683
        if ftype == TType.I64:
11684
          self.categoryId = iprot.readI64();
11685
        else:
11686
          iprot.skip(ftype)
11687
      else:
11688
        iprot.skip(ftype)
11689
      iprot.readFieldEnd()
11690
    iprot.readStructEnd()
11691
 
11692
  def write(self, oprot):
11693
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11694
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11695
      return
11696
    oprot.writeStructBegin('getVatRates_args')
11697
    if self.itemId is not None:
11698
      oprot.writeFieldBegin('itemId', TType.I64, 1)
11699
      oprot.writeI64(self.itemId)
11700
      oprot.writeFieldEnd()
11701
    if self.categoryId is not None:
11702
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
11703
      oprot.writeI64(self.categoryId)
11704
      oprot.writeFieldEnd()
11705
    oprot.writeFieldStop()
11706
    oprot.writeStructEnd()
11707
 
11708
  def validate(self):
11709
    return
11710
 
11711
 
11712
  def __repr__(self):
11713
    L = ['%s=%r' % (key, value)
11714
      for key, value in self.__dict__.iteritems()]
11715
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11716
 
11717
  def __eq__(self, other):
11718
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11719
 
11720
  def __ne__(self, other):
11721
    return not (self == other)
11722
 
11723
class getVatRates_result:
11724
  """
11725
  Attributes:
11726
   - success
11727
   - cex
11728
  """
11729
 
11730
  thrift_spec = (
11731
    (0, TType.MAP, 'success', (TType.I64,None,TType.DOUBLE,None), None, ), # 0
11732
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11733
  )
11734
 
11735
  def __init__(self, success=None, cex=None,):
11736
    self.success = success
11737
    self.cex = cex
11738
 
11739
  def read(self, iprot):
11740
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11741
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11742
      return
11743
    iprot.readStructBegin()
11744
    while True:
11745
      (fname, ftype, fid) = iprot.readFieldBegin()
11746
      if ftype == TType.STOP:
11747
        break
11748
      if fid == 0:
11749
        if ftype == TType.MAP:
11750
          self.success = {}
13493 amit.gupta 11751
          (_ktype91, _vtype92, _size90 ) = iprot.readMapBegin() 
11752
          for _i94 in xrange(_size90):
11753
            _key95 = iprot.readI64();
11754
            _val96 = iprot.readDouble();
11755
            self.success[_key95] = _val96
12567 amit.gupta 11756
          iprot.readMapEnd()
11757
        else:
11758
          iprot.skip(ftype)
11759
      elif fid == 1:
11760
        if ftype == TType.STRUCT:
11761
          self.cex = CatalogServiceException()
11762
          self.cex.read(iprot)
11763
        else:
11764
          iprot.skip(ftype)
11765
      else:
11766
        iprot.skip(ftype)
11767
      iprot.readFieldEnd()
11768
    iprot.readStructEnd()
11769
 
11770
  def write(self, oprot):
11771
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11772
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11773
      return
11774
    oprot.writeStructBegin('getVatRates_result')
11775
    if self.success is not None:
11776
      oprot.writeFieldBegin('success', TType.MAP, 0)
11777
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.success))
13493 amit.gupta 11778
      for kiter97,viter98 in self.success.items():
11779
        oprot.writeI64(kiter97)
11780
        oprot.writeDouble(viter98)
12567 amit.gupta 11781
      oprot.writeMapEnd()
11782
      oprot.writeFieldEnd()
11783
    if self.cex is not None:
11784
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11785
      self.cex.write(oprot)
11786
      oprot.writeFieldEnd()
11787
    oprot.writeFieldStop()
11788
    oprot.writeStructEnd()
11789
 
11790
  def validate(self):
11791
    return
11792
 
11793
 
11794
  def __repr__(self):
11795
    L = ['%s=%r' % (key, value)
11796
      for key, value in self.__dict__.iteritems()]
11797
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11798
 
11799
  def __eq__(self, other):
11800
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11801
 
11802
  def __ne__(self, other):
11803
    return not (self == other)
11804
 
5944 mandeep.dh 11805
class getAllItemsInRange_args:
11806
  """
11807
  Attributes:
11808
   - offset
11809
   - limit
11810
  """
11811
 
11812
  thrift_spec = (
11813
    None, # 0
11814
    (1, TType.I64, 'offset', None, None, ), # 1
11815
    (2, TType.I64, 'limit', None, None, ), # 2
11816
  )
11817
 
11818
  def __init__(self, offset=None, limit=None,):
11819
    self.offset = offset
11820
    self.limit = limit
11821
 
11822
  def read(self, iprot):
11823
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11824
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11825
      return
11826
    iprot.readStructBegin()
11827
    while True:
11828
      (fname, ftype, fid) = iprot.readFieldBegin()
11829
      if ftype == TType.STOP:
11830
        break
11831
      if fid == 1:
11832
        if ftype == TType.I64:
11833
          self.offset = iprot.readI64();
11834
        else:
11835
          iprot.skip(ftype)
11836
      elif fid == 2:
11837
        if ftype == TType.I64:
11838
          self.limit = iprot.readI64();
11839
        else:
11840
          iprot.skip(ftype)
11841
      else:
11842
        iprot.skip(ftype)
11843
      iprot.readFieldEnd()
11844
    iprot.readStructEnd()
11845
 
11846
  def write(self, oprot):
11847
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11848
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11849
      return
11850
    oprot.writeStructBegin('getAllItemsInRange_args')
11851
    if self.offset is not None:
11852
      oprot.writeFieldBegin('offset', TType.I64, 1)
11853
      oprot.writeI64(self.offset)
11854
      oprot.writeFieldEnd()
11855
    if self.limit is not None:
11856
      oprot.writeFieldBegin('limit', TType.I64, 2)
11857
      oprot.writeI64(self.limit)
11858
      oprot.writeFieldEnd()
11859
    oprot.writeFieldStop()
11860
    oprot.writeStructEnd()
11861
 
11862
  def validate(self):
11863
    return
11864
 
11865
 
11866
  def __repr__(self):
11867
    L = ['%s=%r' % (key, value)
11868
      for key, value in self.__dict__.iteritems()]
11869
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11870
 
11871
  def __eq__(self, other):
11872
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11873
 
11874
  def __ne__(self, other):
11875
    return not (self == other)
11876
 
11877
class getAllItemsInRange_result:
11878
  """
11879
  Attributes:
11880
   - success
11881
   - cex
11882
  """
11883
 
11884
  thrift_spec = (
11885
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11886
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11887
  )
11888
 
11889
  def __init__(self, success=None, cex=None,):
11890
    self.success = success
11891
    self.cex = cex
11892
 
11893
  def read(self, iprot):
11894
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11895
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11896
      return
11897
    iprot.readStructBegin()
11898
    while True:
11899
      (fname, ftype, fid) = iprot.readFieldBegin()
11900
      if ftype == TType.STOP:
11901
        break
11902
      if fid == 0:
11903
        if ftype == TType.LIST:
11904
          self.success = []
13493 amit.gupta 11905
          (_etype102, _size99) = iprot.readListBegin()
11906
          for _i103 in xrange(_size99):
11907
            _elem104 = Item()
11908
            _elem104.read(iprot)
11909
            self.success.append(_elem104)
5944 mandeep.dh 11910
          iprot.readListEnd()
11911
        else:
11912
          iprot.skip(ftype)
11913
      elif fid == 1:
11914
        if ftype == TType.STRUCT:
11915
          self.cex = CatalogServiceException()
11916
          self.cex.read(iprot)
11917
        else:
11918
          iprot.skip(ftype)
11919
      else:
11920
        iprot.skip(ftype)
11921
      iprot.readFieldEnd()
11922
    iprot.readStructEnd()
11923
 
11924
  def write(self, oprot):
11925
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11926
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11927
      return
11928
    oprot.writeStructBegin('getAllItemsInRange_result')
11929
    if self.success is not None:
11930
      oprot.writeFieldBegin('success', TType.LIST, 0)
11931
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11932
      for iter105 in self.success:
11933
        iter105.write(oprot)
5944 mandeep.dh 11934
      oprot.writeListEnd()
11935
      oprot.writeFieldEnd()
11936
    if self.cex is not None:
11937
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11938
      self.cex.write(oprot)
11939
      oprot.writeFieldEnd()
11940
    oprot.writeFieldStop()
11941
    oprot.writeStructEnd()
11942
 
11943
  def validate(self):
11944
    return
11945
 
11946
 
11947
  def __repr__(self):
11948
    L = ['%s=%r' % (key, value)
11949
      for key, value in self.__dict__.iteritems()]
11950
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11951
 
11952
  def __eq__(self, other):
11953
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11954
 
11955
  def __ne__(self, other):
11956
    return not (self == other)
11957
 
11958
class getAllItemsByStatusInRange_args:
11959
  """
11960
  Attributes:
11961
   - itemStatus
11962
   - offset
11963
   - limit
11964
  """
11965
 
11966
  thrift_spec = (
11967
    None, # 0
11968
    (1, TType.I32, 'itemStatus', None, None, ), # 1
11969
    (2, TType.I64, 'offset', None, None, ), # 2
11970
    (3, TType.I64, 'limit', None, None, ), # 3
11971
  )
11972
 
11973
  def __init__(self, itemStatus=None, offset=None, limit=None,):
11974
    self.itemStatus = itemStatus
11975
    self.offset = offset
11976
    self.limit = limit
11977
 
11978
  def read(self, iprot):
11979
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11980
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11981
      return
11982
    iprot.readStructBegin()
11983
    while True:
11984
      (fname, ftype, fid) = iprot.readFieldBegin()
11985
      if ftype == TType.STOP:
11986
        break
11987
      if fid == 1:
11988
        if ftype == TType.I32:
11989
          self.itemStatus = iprot.readI32();
11990
        else:
11991
          iprot.skip(ftype)
11992
      elif fid == 2:
11993
        if ftype == TType.I64:
11994
          self.offset = iprot.readI64();
11995
        else:
11996
          iprot.skip(ftype)
11997
      elif fid == 3:
11998
        if ftype == TType.I64:
11999
          self.limit = iprot.readI64();
12000
        else:
12001
          iprot.skip(ftype)
12002
      else:
12003
        iprot.skip(ftype)
12004
      iprot.readFieldEnd()
12005
    iprot.readStructEnd()
12006
 
12007
  def write(self, oprot):
12008
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12009
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12010
      return
12011
    oprot.writeStructBegin('getAllItemsByStatusInRange_args')
12012
    if self.itemStatus is not None:
12013
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
12014
      oprot.writeI32(self.itemStatus)
12015
      oprot.writeFieldEnd()
12016
    if self.offset is not None:
12017
      oprot.writeFieldBegin('offset', TType.I64, 2)
12018
      oprot.writeI64(self.offset)
12019
      oprot.writeFieldEnd()
12020
    if self.limit is not None:
12021
      oprot.writeFieldBegin('limit', TType.I64, 3)
12022
      oprot.writeI64(self.limit)
12023
      oprot.writeFieldEnd()
12024
    oprot.writeFieldStop()
12025
    oprot.writeStructEnd()
12026
 
12027
  def validate(self):
12028
    return
12029
 
12030
 
12031
  def __repr__(self):
12032
    L = ['%s=%r' % (key, value)
12033
      for key, value in self.__dict__.iteritems()]
12034
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12035
 
12036
  def __eq__(self, other):
12037
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12038
 
12039
  def __ne__(self, other):
12040
    return not (self == other)
12041
 
12042
class getAllItemsByStatusInRange_result:
12043
  """
12044
  Attributes:
12045
   - success
12046
   - cex
12047
  """
12048
 
12049
  thrift_spec = (
12050
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12051
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12052
  )
12053
 
12054
  def __init__(self, success=None, cex=None,):
12055
    self.success = success
12056
    self.cex = cex
12057
 
12058
  def read(self, iprot):
12059
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12060
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12061
      return
12062
    iprot.readStructBegin()
12063
    while True:
12064
      (fname, ftype, fid) = iprot.readFieldBegin()
12065
      if ftype == TType.STOP:
12066
        break
12067
      if fid == 0:
12068
        if ftype == TType.LIST:
12069
          self.success = []
13493 amit.gupta 12070
          (_etype109, _size106) = iprot.readListBegin()
12071
          for _i110 in xrange(_size106):
12072
            _elem111 = Item()
12073
            _elem111.read(iprot)
12074
            self.success.append(_elem111)
5944 mandeep.dh 12075
          iprot.readListEnd()
12076
        else:
12077
          iprot.skip(ftype)
12078
      elif fid == 1:
12079
        if ftype == TType.STRUCT:
12080
          self.cex = CatalogServiceException()
12081
          self.cex.read(iprot)
12082
        else:
12083
          iprot.skip(ftype)
12084
      else:
12085
        iprot.skip(ftype)
12086
      iprot.readFieldEnd()
12087
    iprot.readStructEnd()
12088
 
12089
  def write(self, oprot):
12090
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12091
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12092
      return
12093
    oprot.writeStructBegin('getAllItemsByStatusInRange_result')
12094
    if self.success is not None:
12095
      oprot.writeFieldBegin('success', TType.LIST, 0)
12096
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 12097
      for iter112 in self.success:
12098
        iter112.write(oprot)
5944 mandeep.dh 12099
      oprot.writeListEnd()
12100
      oprot.writeFieldEnd()
12101
    if self.cex is not None:
12102
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12103
      self.cex.write(oprot)
12104
      oprot.writeFieldEnd()
12105
    oprot.writeFieldStop()
12106
    oprot.writeStructEnd()
12107
 
12108
  def validate(self):
12109
    return
12110
 
12111
 
12112
  def __repr__(self):
12113
    L = ['%s=%r' % (key, value)
12114
      for key, value in self.__dict__.iteritems()]
12115
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12116
 
12117
  def __eq__(self, other):
12118
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12119
 
12120
  def __ne__(self, other):
12121
    return not (self == other)
12122
 
12123
class getItemCountByStatus_args:
12124
  """
12125
  Attributes:
12126
   - useStatus
12127
   - itemStatus
12128
  """
12129
 
12130
  thrift_spec = (
12131
    None, # 0
12132
    (1, TType.BOOL, 'useStatus', None, None, ), # 1
12133
    (2, TType.I32, 'itemStatus', None, None, ), # 2
12134
  )
12135
 
12136
  def __init__(self, useStatus=None, itemStatus=None,):
12137
    self.useStatus = useStatus
12138
    self.itemStatus = itemStatus
12139
 
12140
  def read(self, iprot):
12141
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12142
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12143
      return
12144
    iprot.readStructBegin()
12145
    while True:
12146
      (fname, ftype, fid) = iprot.readFieldBegin()
12147
      if ftype == TType.STOP:
12148
        break
12149
      if fid == 1:
12150
        if ftype == TType.BOOL:
12151
          self.useStatus = iprot.readBool();
12152
        else:
12153
          iprot.skip(ftype)
12154
      elif fid == 2:
12155
        if ftype == TType.I32:
12156
          self.itemStatus = iprot.readI32();
12157
        else:
12158
          iprot.skip(ftype)
12159
      else:
12160
        iprot.skip(ftype)
12161
      iprot.readFieldEnd()
12162
    iprot.readStructEnd()
12163
 
12164
  def write(self, oprot):
12165
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12166
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12167
      return
12168
    oprot.writeStructBegin('getItemCountByStatus_args')
12169
    if self.useStatus is not None:
12170
      oprot.writeFieldBegin('useStatus', TType.BOOL, 1)
12171
      oprot.writeBool(self.useStatus)
12172
      oprot.writeFieldEnd()
12173
    if self.itemStatus is not None:
12174
      oprot.writeFieldBegin('itemStatus', TType.I32, 2)
12175
      oprot.writeI32(self.itemStatus)
12176
      oprot.writeFieldEnd()
12177
    oprot.writeFieldStop()
12178
    oprot.writeStructEnd()
12179
 
12180
  def validate(self):
12181
    return
12182
 
12183
 
12184
  def __repr__(self):
12185
    L = ['%s=%r' % (key, value)
12186
      for key, value in self.__dict__.iteritems()]
12187
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12188
 
12189
  def __eq__(self, other):
12190
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12191
 
12192
  def __ne__(self, other):
12193
    return not (self == other)
12194
 
12195
class getItemCountByStatus_result:
12196
  """
12197
  Attributes:
12198
   - success
12199
  """
12200
 
12201
  thrift_spec = (
12202
    (0, TType.I32, 'success', None, None, ), # 0
12203
  )
12204
 
12205
  def __init__(self, success=None,):
12206
    self.success = success
12207
 
12208
  def read(self, iprot):
12209
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12210
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12211
      return
12212
    iprot.readStructBegin()
12213
    while True:
12214
      (fname, ftype, fid) = iprot.readFieldBegin()
12215
      if ftype == TType.STOP:
12216
        break
12217
      if fid == 0:
12218
        if ftype == TType.I32:
12219
          self.success = iprot.readI32();
12220
        else:
12221
          iprot.skip(ftype)
12222
      else:
12223
        iprot.skip(ftype)
12224
      iprot.readFieldEnd()
12225
    iprot.readStructEnd()
12226
 
12227
  def write(self, oprot):
12228
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12229
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12230
      return
12231
    oprot.writeStructBegin('getItemCountByStatus_result')
12232
    if self.success is not None:
12233
      oprot.writeFieldBegin('success', TType.I32, 0)
12234
      oprot.writeI32(self.success)
12235
      oprot.writeFieldEnd()
12236
    oprot.writeFieldStop()
12237
    oprot.writeStructEnd()
12238
 
12239
  def validate(self):
12240
    return
12241
 
12242
 
12243
  def __repr__(self):
12244
    L = ['%s=%r' % (key, value)
12245
      for key, value in self.__dict__.iteritems()]
12246
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12247
 
12248
  def __eq__(self, other):
12249
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12250
 
12251
  def __ne__(self, other):
12252
    return not (self == other)
12253
 
12254
class getBestSellers_args:
12255
 
12256
  thrift_spec = (
12257
  )
12258
 
12259
  def read(self, iprot):
12260
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12261
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12262
      return
12263
    iprot.readStructBegin()
12264
    while True:
12265
      (fname, ftype, fid) = iprot.readFieldBegin()
12266
      if ftype == TType.STOP:
12267
        break
12268
      else:
12269
        iprot.skip(ftype)
12270
      iprot.readFieldEnd()
12271
    iprot.readStructEnd()
12272
 
12273
  def write(self, oprot):
12274
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12275
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12276
      return
12277
    oprot.writeStructBegin('getBestSellers_args')
12278
    oprot.writeFieldStop()
12279
    oprot.writeStructEnd()
12280
 
12281
  def validate(self):
12282
    return
12283
 
12284
 
12285
  def __repr__(self):
12286
    L = ['%s=%r' % (key, value)
12287
      for key, value in self.__dict__.iteritems()]
12288
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12289
 
12290
  def __eq__(self, other):
12291
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12292
 
12293
  def __ne__(self, other):
12294
    return not (self == other)
12295
 
12296
class getBestSellers_result:
12297
  """
12298
  Attributes:
12299
   - success
12300
   - isex
12301
  """
12302
 
12303
  thrift_spec = (
12304
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12305
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12306
  )
12307
 
12308
  def __init__(self, success=None, isex=None,):
12309
    self.success = success
12310
    self.isex = isex
12311
 
12312
  def read(self, iprot):
12313
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12314
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12315
      return
12316
    iprot.readStructBegin()
12317
    while True:
12318
      (fname, ftype, fid) = iprot.readFieldBegin()
12319
      if ftype == TType.STOP:
12320
        break
12321
      if fid == 0:
12322
        if ftype == TType.LIST:
12323
          self.success = []
13493 amit.gupta 12324
          (_etype116, _size113) = iprot.readListBegin()
12325
          for _i117 in xrange(_size113):
12326
            _elem118 = Item()
12327
            _elem118.read(iprot)
12328
            self.success.append(_elem118)
5944 mandeep.dh 12329
          iprot.readListEnd()
12330
        else:
12331
          iprot.skip(ftype)
12332
      elif fid == 1:
12333
        if ftype == TType.STRUCT:
12334
          self.isex = CatalogServiceException()
12335
          self.isex.read(iprot)
12336
        else:
12337
          iprot.skip(ftype)
12338
      else:
12339
        iprot.skip(ftype)
12340
      iprot.readFieldEnd()
12341
    iprot.readStructEnd()
12342
 
12343
  def write(self, oprot):
12344
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12345
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12346
      return
12347
    oprot.writeStructBegin('getBestSellers_result')
12348
    if self.success is not None:
12349
      oprot.writeFieldBegin('success', TType.LIST, 0)
12350
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 12351
      for iter119 in self.success:
12352
        iter119.write(oprot)
5944 mandeep.dh 12353
      oprot.writeListEnd()
12354
      oprot.writeFieldEnd()
12355
    if self.isex is not None:
12356
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
12357
      self.isex.write(oprot)
12358
      oprot.writeFieldEnd()
12359
    oprot.writeFieldStop()
12360
    oprot.writeStructEnd()
12361
 
12362
  def validate(self):
12363
    return
12364
 
12365
 
12366
  def __repr__(self):
12367
    L = ['%s=%r' % (key, value)
12368
      for key, value in self.__dict__.iteritems()]
12369
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12370
 
12371
  def __eq__(self, other):
12372
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12373
 
12374
  def __ne__(self, other):
12375
    return not (self == other)
12376
 
12377
class getBestSellersCatalogIds_args:
12378
  """
12379
  Attributes:
12380
   - beginIndex
12381
   - totalItems
12382
   - brand
12383
   - category
12384
  """
12385
 
12386
  thrift_spec = (
12387
    None, # 0
12388
    (1, TType.I64, 'beginIndex', None, None, ), # 1
12389
    (2, TType.I64, 'totalItems', None, None, ), # 2
12390
    (3, TType.STRING, 'brand', None, None, ), # 3
12391
    (4, TType.I64, 'category', None, None, ), # 4
12392
  )
12393
 
12394
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
12395
    self.beginIndex = beginIndex
12396
    self.totalItems = totalItems
12397
    self.brand = brand
12398
    self.category = category
12399
 
12400
  def read(self, iprot):
12401
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12402
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12403
      return
12404
    iprot.readStructBegin()
12405
    while True:
12406
      (fname, ftype, fid) = iprot.readFieldBegin()
12407
      if ftype == TType.STOP:
12408
        break
12409
      if fid == 1:
12410
        if ftype == TType.I64:
12411
          self.beginIndex = iprot.readI64();
12412
        else:
12413
          iprot.skip(ftype)
12414
      elif fid == 2:
12415
        if ftype == TType.I64:
12416
          self.totalItems = iprot.readI64();
12417
        else:
12418
          iprot.skip(ftype)
12419
      elif fid == 3:
12420
        if ftype == TType.STRING:
12421
          self.brand = iprot.readString();
12422
        else:
12423
          iprot.skip(ftype)
12424
      elif fid == 4:
12425
        if ftype == TType.I64:
12426
          self.category = iprot.readI64();
12427
        else:
12428
          iprot.skip(ftype)
12429
      else:
12430
        iprot.skip(ftype)
12431
      iprot.readFieldEnd()
12432
    iprot.readStructEnd()
12433
 
12434
  def write(self, oprot):
12435
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12436
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12437
      return
12438
    oprot.writeStructBegin('getBestSellersCatalogIds_args')
12439
    if self.beginIndex is not None:
12440
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
12441
      oprot.writeI64(self.beginIndex)
12442
      oprot.writeFieldEnd()
12443
    if self.totalItems is not None:
12444
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
12445
      oprot.writeI64(self.totalItems)
12446
      oprot.writeFieldEnd()
12447
    if self.brand is not None:
12448
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12449
      oprot.writeString(self.brand)
12450
      oprot.writeFieldEnd()
12451
    if self.category is not None:
12452
      oprot.writeFieldBegin('category', TType.I64, 4)
12453
      oprot.writeI64(self.category)
12454
      oprot.writeFieldEnd()
12455
    oprot.writeFieldStop()
12456
    oprot.writeStructEnd()
12457
 
12458
  def validate(self):
12459
    return
12460
 
12461
 
12462
  def __repr__(self):
12463
    L = ['%s=%r' % (key, value)
12464
      for key, value in self.__dict__.iteritems()]
12465
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12466
 
12467
  def __eq__(self, other):
12468
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12469
 
12470
  def __ne__(self, other):
12471
    return not (self == other)
12472
 
12473
class getBestSellersCatalogIds_result:
12474
  """
12475
  Attributes:
12476
   - success
12477
   - cex
12478
  """
12479
 
12480
  thrift_spec = (
12481
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
12482
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12483
  )
12484
 
12485
  def __init__(self, success=None, cex=None,):
12486
    self.success = success
12487
    self.cex = cex
12488
 
12489
  def read(self, iprot):
12490
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12491
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12492
      return
12493
    iprot.readStructBegin()
12494
    while True:
12495
      (fname, ftype, fid) = iprot.readFieldBegin()
12496
      if ftype == TType.STOP:
12497
        break
12498
      if fid == 0:
12499
        if ftype == TType.LIST:
12500
          self.success = []
13493 amit.gupta 12501
          (_etype123, _size120) = iprot.readListBegin()
12502
          for _i124 in xrange(_size120):
12503
            _elem125 = iprot.readI64();
12504
            self.success.append(_elem125)
5944 mandeep.dh 12505
          iprot.readListEnd()
12506
        else:
12507
          iprot.skip(ftype)
12508
      elif fid == 1:
12509
        if ftype == TType.STRUCT:
12510
          self.cex = CatalogServiceException()
12511
          self.cex.read(iprot)
12512
        else:
12513
          iprot.skip(ftype)
12514
      else:
12515
        iprot.skip(ftype)
12516
      iprot.readFieldEnd()
12517
    iprot.readStructEnd()
12518
 
12519
  def write(self, oprot):
12520
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12521
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12522
      return
12523
    oprot.writeStructBegin('getBestSellersCatalogIds_result')
12524
    if self.success is not None:
12525
      oprot.writeFieldBegin('success', TType.LIST, 0)
12526
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 12527
      for iter126 in self.success:
12528
        oprot.writeI64(iter126)
5944 mandeep.dh 12529
      oprot.writeListEnd()
12530
      oprot.writeFieldEnd()
12531
    if self.cex is not None:
12532
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12533
      self.cex.write(oprot)
12534
      oprot.writeFieldEnd()
12535
    oprot.writeFieldStop()
12536
    oprot.writeStructEnd()
12537
 
12538
  def validate(self):
12539
    return
12540
 
12541
 
12542
  def __repr__(self):
12543
    L = ['%s=%r' % (key, value)
12544
      for key, value in self.__dict__.iteritems()]
12545
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12546
 
12547
  def __eq__(self, other):
12548
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12549
 
12550
  def __ne__(self, other):
12551
    return not (self == other)
12552
 
12553
class getBestSellersCount_args:
12554
 
12555
  thrift_spec = (
12556
  )
12557
 
12558
  def read(self, iprot):
12559
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12560
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12561
      return
12562
    iprot.readStructBegin()
12563
    while True:
12564
      (fname, ftype, fid) = iprot.readFieldBegin()
12565
      if ftype == TType.STOP:
12566
        break
12567
      else:
12568
        iprot.skip(ftype)
12569
      iprot.readFieldEnd()
12570
    iprot.readStructEnd()
12571
 
12572
  def write(self, oprot):
12573
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12574
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12575
      return
12576
    oprot.writeStructBegin('getBestSellersCount_args')
12577
    oprot.writeFieldStop()
12578
    oprot.writeStructEnd()
12579
 
12580
  def validate(self):
12581
    return
12582
 
12583
 
12584
  def __repr__(self):
12585
    L = ['%s=%r' % (key, value)
12586
      for key, value in self.__dict__.iteritems()]
12587
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12588
 
12589
  def __eq__(self, other):
12590
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12591
 
12592
  def __ne__(self, other):
12593
    return not (self == other)
12594
 
12595
class getBestSellersCount_result:
12596
  """
12597
  Attributes:
12598
   - success
12599
   - cex
12600
  """
12601
 
12602
  thrift_spec = (
12603
    (0, TType.I64, 'success', None, None, ), # 0
12604
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12605
  )
12606
 
12607
  def __init__(self, success=None, cex=None,):
12608
    self.success = success
12609
    self.cex = cex
12610
 
12611
  def read(self, iprot):
12612
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12613
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12614
      return
12615
    iprot.readStructBegin()
12616
    while True:
12617
      (fname, ftype, fid) = iprot.readFieldBegin()
12618
      if ftype == TType.STOP:
12619
        break
12620
      if fid == 0:
12621
        if ftype == TType.I64:
12622
          self.success = iprot.readI64();
12623
        else:
12624
          iprot.skip(ftype)
12625
      elif fid == 1:
12626
        if ftype == TType.STRUCT:
12627
          self.cex = CatalogServiceException()
12628
          self.cex.read(iprot)
12629
        else:
12630
          iprot.skip(ftype)
12631
      else:
12632
        iprot.skip(ftype)
12633
      iprot.readFieldEnd()
12634
    iprot.readStructEnd()
12635
 
12636
  def write(self, oprot):
12637
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12638
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12639
      return
12640
    oprot.writeStructBegin('getBestSellersCount_result')
12641
    if self.success is not None:
12642
      oprot.writeFieldBegin('success', TType.I64, 0)
12643
      oprot.writeI64(self.success)
12644
      oprot.writeFieldEnd()
12645
    if self.cex is not None:
12646
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12647
      self.cex.write(oprot)
12648
      oprot.writeFieldEnd()
12649
    oprot.writeFieldStop()
12650
    oprot.writeStructEnd()
12651
 
12652
  def validate(self):
12653
    return
12654
 
12655
 
12656
  def __repr__(self):
12657
    L = ['%s=%r' % (key, value)
12658
      for key, value in self.__dict__.iteritems()]
12659
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12660
 
12661
  def __eq__(self, other):
12662
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12663
 
12664
  def __ne__(self, other):
12665
    return not (self == other)
12666
 
12667
class getBestDeals_args:
12668
 
12669
  thrift_spec = (
12670
  )
12671
 
12672
  def read(self, iprot):
12673
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12674
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12675
      return
12676
    iprot.readStructBegin()
12677
    while True:
12678
      (fname, ftype, fid) = iprot.readFieldBegin()
12679
      if ftype == TType.STOP:
12680
        break
12681
      else:
12682
        iprot.skip(ftype)
12683
      iprot.readFieldEnd()
12684
    iprot.readStructEnd()
12685
 
12686
  def write(self, oprot):
12687
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12688
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12689
      return
12690
    oprot.writeStructBegin('getBestDeals_args')
12691
    oprot.writeFieldStop()
12692
    oprot.writeStructEnd()
12693
 
12694
  def validate(self):
12695
    return
12696
 
12697
 
12698
  def __repr__(self):
12699
    L = ['%s=%r' % (key, value)
12700
      for key, value in self.__dict__.iteritems()]
12701
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12702
 
12703
  def __eq__(self, other):
12704
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12705
 
12706
  def __ne__(self, other):
12707
    return not (self == other)
12708
 
12709
class getBestDeals_result:
12710
  """
12711
  Attributes:
12712
   - success
12713
   - isex
12714
  """
12715
 
12716
  thrift_spec = (
12717
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12718
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12719
  )
12720
 
12721
  def __init__(self, success=None, isex=None,):
12722
    self.success = success
12723
    self.isex = isex
12724
 
12725
  def read(self, iprot):
12726
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12727
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12728
      return
12729
    iprot.readStructBegin()
12730
    while True:
12731
      (fname, ftype, fid) = iprot.readFieldBegin()
12732
      if ftype == TType.STOP:
12733
        break
12734
      if fid == 0:
12735
        if ftype == TType.LIST:
12736
          self.success = []
13493 amit.gupta 12737
          (_etype130, _size127) = iprot.readListBegin()
12738
          for _i131 in xrange(_size127):
12739
            _elem132 = Item()
12740
            _elem132.read(iprot)
12741
            self.success.append(_elem132)
5944 mandeep.dh 12742
          iprot.readListEnd()
12743
        else:
12744
          iprot.skip(ftype)
12745
      elif fid == 1:
12746
        if ftype == TType.STRUCT:
12747
          self.isex = CatalogServiceException()
12748
          self.isex.read(iprot)
12749
        else:
12750
          iprot.skip(ftype)
12751
      else:
12752
        iprot.skip(ftype)
12753
      iprot.readFieldEnd()
12754
    iprot.readStructEnd()
12755
 
12756
  def write(self, oprot):
12757
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12758
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12759
      return
12760
    oprot.writeStructBegin('getBestDeals_result')
12761
    if self.success is not None:
12762
      oprot.writeFieldBegin('success', TType.LIST, 0)
12763
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 12764
      for iter133 in self.success:
12765
        iter133.write(oprot)
5944 mandeep.dh 12766
      oprot.writeListEnd()
12767
      oprot.writeFieldEnd()
12768
    if self.isex is not None:
12769
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
12770
      self.isex.write(oprot)
12771
      oprot.writeFieldEnd()
12772
    oprot.writeFieldStop()
12773
    oprot.writeStructEnd()
12774
 
12775
  def validate(self):
12776
    return
12777
 
12778
 
12779
  def __repr__(self):
12780
    L = ['%s=%r' % (key, value)
12781
      for key, value in self.__dict__.iteritems()]
12782
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12783
 
12784
  def __eq__(self, other):
12785
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12786
 
12787
  def __ne__(self, other):
12788
    return not (self == other)
12789
 
12790
class getBestDealsCatalogIds_args:
12791
  """
12792
  Attributes:
12793
   - beginIndex
12794
   - totalItems
12795
   - brand
12796
   - category
12797
  """
12798
 
12799
  thrift_spec = (
12800
    None, # 0
12801
    (1, TType.I64, 'beginIndex', None, None, ), # 1
12802
    (2, TType.I64, 'totalItems', None, None, ), # 2
12803
    (3, TType.STRING, 'brand', None, None, ), # 3
12804
    (4, TType.I64, 'category', None, None, ), # 4
12805
  )
12806
 
12807
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
12808
    self.beginIndex = beginIndex
12809
    self.totalItems = totalItems
12810
    self.brand = brand
12811
    self.category = category
12812
 
12813
  def read(self, iprot):
12814
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12815
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12816
      return
12817
    iprot.readStructBegin()
12818
    while True:
12819
      (fname, ftype, fid) = iprot.readFieldBegin()
12820
      if ftype == TType.STOP:
12821
        break
12822
      if fid == 1:
12823
        if ftype == TType.I64:
12824
          self.beginIndex = iprot.readI64();
12825
        else:
12826
          iprot.skip(ftype)
12827
      elif fid == 2:
12828
        if ftype == TType.I64:
12829
          self.totalItems = iprot.readI64();
12830
        else:
12831
          iprot.skip(ftype)
12832
      elif fid == 3:
12833
        if ftype == TType.STRING:
12834
          self.brand = iprot.readString();
12835
        else:
12836
          iprot.skip(ftype)
12837
      elif fid == 4:
12838
        if ftype == TType.I64:
12839
          self.category = iprot.readI64();
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('getBestDealsCatalogIds_args')
12852
    if self.beginIndex is not None:
12853
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
12854
      oprot.writeI64(self.beginIndex)
12855
      oprot.writeFieldEnd()
12856
    if self.totalItems is not None:
12857
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
12858
      oprot.writeI64(self.totalItems)
12859
      oprot.writeFieldEnd()
12860
    if self.brand is not None:
12861
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12862
      oprot.writeString(self.brand)
12863
      oprot.writeFieldEnd()
12864
    if self.category is not None:
12865
      oprot.writeFieldBegin('category', TType.I64, 4)
12866
      oprot.writeI64(self.category)
12867
      oprot.writeFieldEnd()
12868
    oprot.writeFieldStop()
12869
    oprot.writeStructEnd()
12870
 
12871
  def validate(self):
12872
    return
12873
 
12874
 
12875
  def __repr__(self):
12876
    L = ['%s=%r' % (key, value)
12877
      for key, value in self.__dict__.iteritems()]
12878
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12879
 
12880
  def __eq__(self, other):
12881
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12882
 
12883
  def __ne__(self, other):
12884
    return not (self == other)
12885
 
12886
class getBestDealsCatalogIds_result:
12887
  """
12888
  Attributes:
12889
   - success
12890
   - cex
12891
  """
12892
 
12893
  thrift_spec = (
12894
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
12895
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12896
  )
12897
 
12898
  def __init__(self, success=None, cex=None,):
12899
    self.success = success
12900
    self.cex = cex
12901
 
12902
  def read(self, iprot):
12903
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12904
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12905
      return
12906
    iprot.readStructBegin()
12907
    while True:
12908
      (fname, ftype, fid) = iprot.readFieldBegin()
12909
      if ftype == TType.STOP:
12910
        break
12911
      if fid == 0:
12912
        if ftype == TType.LIST:
12913
          self.success = []
13493 amit.gupta 12914
          (_etype137, _size134) = iprot.readListBegin()
12915
          for _i138 in xrange(_size134):
12916
            _elem139 = iprot.readI64();
12917
            self.success.append(_elem139)
5944 mandeep.dh 12918
          iprot.readListEnd()
12919
        else:
12920
          iprot.skip(ftype)
12921
      elif fid == 1:
12922
        if ftype == TType.STRUCT:
12923
          self.cex = CatalogServiceException()
12924
          self.cex.read(iprot)
12925
        else:
12926
          iprot.skip(ftype)
12927
      else:
12928
        iprot.skip(ftype)
12929
      iprot.readFieldEnd()
12930
    iprot.readStructEnd()
12931
 
12932
  def write(self, oprot):
12933
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12934
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12935
      return
12936
    oprot.writeStructBegin('getBestDealsCatalogIds_result')
12937
    if self.success is not None:
12938
      oprot.writeFieldBegin('success', TType.LIST, 0)
12939
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 12940
      for iter140 in self.success:
12941
        oprot.writeI64(iter140)
5944 mandeep.dh 12942
      oprot.writeListEnd()
12943
      oprot.writeFieldEnd()
12944
    if self.cex is not None:
12945
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12946
      self.cex.write(oprot)
12947
      oprot.writeFieldEnd()
12948
    oprot.writeFieldStop()
12949
    oprot.writeStructEnd()
12950
 
12951
  def validate(self):
12952
    return
12953
 
12954
 
12955
  def __repr__(self):
12956
    L = ['%s=%r' % (key, value)
12957
      for key, value in self.__dict__.iteritems()]
12958
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12959
 
12960
  def __eq__(self, other):
12961
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12962
 
12963
  def __ne__(self, other):
12964
    return not (self == other)
12965
 
12966
class getBestDealsCount_args:
12967
 
12968
  thrift_spec = (
12969
  )
12970
 
12971
  def read(self, iprot):
12972
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12973
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12974
      return
12975
    iprot.readStructBegin()
12976
    while True:
12977
      (fname, ftype, fid) = iprot.readFieldBegin()
12978
      if ftype == TType.STOP:
12979
        break
12980
      else:
12981
        iprot.skip(ftype)
12982
      iprot.readFieldEnd()
12983
    iprot.readStructEnd()
12984
 
12985
  def write(self, oprot):
12986
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12987
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12988
      return
12989
    oprot.writeStructBegin('getBestDealsCount_args')
12990
    oprot.writeFieldStop()
12991
    oprot.writeStructEnd()
12992
 
12993
  def validate(self):
12994
    return
12995
 
12996
 
12997
  def __repr__(self):
12998
    L = ['%s=%r' % (key, value)
12999
      for key, value in self.__dict__.iteritems()]
13000
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13001
 
13002
  def __eq__(self, other):
13003
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13004
 
13005
  def __ne__(self, other):
13006
    return not (self == other)
13007
 
13008
class getBestDealsCount_result:
13009
  """
13010
  Attributes:
13011
   - success
13012
   - cex
13013
  """
13014
 
13015
  thrift_spec = (
13016
    (0, TType.I64, 'success', None, None, ), # 0
13017
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13018
  )
13019
 
13020
  def __init__(self, success=None, cex=None,):
13021
    self.success = success
13022
    self.cex = cex
13023
 
13024
  def read(self, iprot):
13025
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13026
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13027
      return
13028
    iprot.readStructBegin()
13029
    while True:
13030
      (fname, ftype, fid) = iprot.readFieldBegin()
13031
      if ftype == TType.STOP:
13032
        break
13033
      if fid == 0:
13034
        if ftype == TType.I64:
13035
          self.success = iprot.readI64();
13036
        else:
13037
          iprot.skip(ftype)
13038
      elif fid == 1:
13039
        if ftype == TType.STRUCT:
13040
          self.cex = CatalogServiceException()
13041
          self.cex.read(iprot)
13042
        else:
13043
          iprot.skip(ftype)
13044
      else:
13045
        iprot.skip(ftype)
13046
      iprot.readFieldEnd()
13047
    iprot.readStructEnd()
13048
 
13049
  def write(self, oprot):
13050
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13051
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13052
      return
13053
    oprot.writeStructBegin('getBestDealsCount_result')
13054
    if self.success is not None:
13055
      oprot.writeFieldBegin('success', TType.I64, 0)
13056
      oprot.writeI64(self.success)
13057
      oprot.writeFieldEnd()
13058
    if self.cex is not None:
13059
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13060
      self.cex.write(oprot)
13061
      oprot.writeFieldEnd()
13062
    oprot.writeFieldStop()
13063
    oprot.writeStructEnd()
13064
 
13065
  def validate(self):
13066
    return
13067
 
13068
 
13069
  def __repr__(self):
13070
    L = ['%s=%r' % (key, value)
13071
      for key, value in self.__dict__.iteritems()]
13072
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13073
 
13074
  def __eq__(self, other):
13075
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13076
 
13077
  def __ne__(self, other):
13078
    return not (self == other)
13079
 
13080
class getComingSoon_args:
13081
 
13082
  thrift_spec = (
13083
  )
13084
 
13085
  def read(self, iprot):
13086
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13087
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13088
      return
13089
    iprot.readStructBegin()
13090
    while True:
13091
      (fname, ftype, fid) = iprot.readFieldBegin()
13092
      if ftype == TType.STOP:
13093
        break
13094
      else:
13095
        iprot.skip(ftype)
13096
      iprot.readFieldEnd()
13097
    iprot.readStructEnd()
13098
 
13099
  def write(self, oprot):
13100
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13101
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13102
      return
13103
    oprot.writeStructBegin('getComingSoon_args')
13104
    oprot.writeFieldStop()
13105
    oprot.writeStructEnd()
13106
 
13107
  def validate(self):
13108
    return
13109
 
13110
 
13111
  def __repr__(self):
13112
    L = ['%s=%r' % (key, value)
13113
      for key, value in self.__dict__.iteritems()]
13114
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13115
 
13116
  def __eq__(self, other):
13117
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13118
 
13119
  def __ne__(self, other):
13120
    return not (self == other)
13121
 
13122
class getComingSoon_result:
13123
  """
13124
  Attributes:
13125
   - success
13126
   - isex
13127
  """
13128
 
13129
  thrift_spec = (
13130
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13131
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13132
  )
13133
 
13134
  def __init__(self, success=None, isex=None,):
13135
    self.success = success
13136
    self.isex = isex
13137
 
13138
  def read(self, iprot):
13139
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13140
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13141
      return
13142
    iprot.readStructBegin()
13143
    while True:
13144
      (fname, ftype, fid) = iprot.readFieldBegin()
13145
      if ftype == TType.STOP:
13146
        break
13147
      if fid == 0:
13148
        if ftype == TType.LIST:
13149
          self.success = []
13493 amit.gupta 13150
          (_etype144, _size141) = iprot.readListBegin()
13151
          for _i145 in xrange(_size141):
13152
            _elem146 = Item()
13153
            _elem146.read(iprot)
13154
            self.success.append(_elem146)
5944 mandeep.dh 13155
          iprot.readListEnd()
13156
        else:
13157
          iprot.skip(ftype)
13158
      elif fid == 1:
13159
        if ftype == TType.STRUCT:
13160
          self.isex = CatalogServiceException()
13161
          self.isex.read(iprot)
13162
        else:
13163
          iprot.skip(ftype)
13164
      else:
13165
        iprot.skip(ftype)
13166
      iprot.readFieldEnd()
13167
    iprot.readStructEnd()
13168
 
13169
  def write(self, oprot):
13170
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13171
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13172
      return
13173
    oprot.writeStructBegin('getComingSoon_result')
13174
    if self.success is not None:
13175
      oprot.writeFieldBegin('success', TType.LIST, 0)
13176
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 13177
      for iter147 in self.success:
13178
        iter147.write(oprot)
5944 mandeep.dh 13179
      oprot.writeListEnd()
13180
      oprot.writeFieldEnd()
13181
    if self.isex is not None:
13182
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13183
      self.isex.write(oprot)
13184
      oprot.writeFieldEnd()
13185
    oprot.writeFieldStop()
13186
    oprot.writeStructEnd()
13187
 
13188
  def validate(self):
13189
    return
13190
 
13191
 
13192
  def __repr__(self):
13193
    L = ['%s=%r' % (key, value)
13194
      for key, value in self.__dict__.iteritems()]
13195
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13196
 
13197
  def __eq__(self, other):
13198
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13199
 
13200
  def __ne__(self, other):
13201
    return not (self == other)
13202
 
13203
class getComingSoonCatalogIds_args:
13204
  """
13205
  Attributes:
13206
   - beginIndex
13207
   - totalItems
13208
   - brand
13209
   - category
13210
  """
13211
 
13212
  thrift_spec = (
13213
    None, # 0
13214
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13215
    (2, TType.I64, 'totalItems', None, None, ), # 2
13216
    (3, TType.STRING, 'brand', None, None, ), # 3
13217
    (4, TType.I64, 'category', None, None, ), # 4
13218
  )
13219
 
13220
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
13221
    self.beginIndex = beginIndex
13222
    self.totalItems = totalItems
13223
    self.brand = brand
13224
    self.category = category
13225
 
13226
  def read(self, iprot):
13227
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13228
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13229
      return
13230
    iprot.readStructBegin()
13231
    while True:
13232
      (fname, ftype, fid) = iprot.readFieldBegin()
13233
      if ftype == TType.STOP:
13234
        break
13235
      if fid == 1:
13236
        if ftype == TType.I64:
13237
          self.beginIndex = iprot.readI64();
13238
        else:
13239
          iprot.skip(ftype)
13240
      elif fid == 2:
13241
        if ftype == TType.I64:
13242
          self.totalItems = iprot.readI64();
13243
        else:
13244
          iprot.skip(ftype)
13245
      elif fid == 3:
13246
        if ftype == TType.STRING:
13247
          self.brand = iprot.readString();
13248
        else:
13249
          iprot.skip(ftype)
13250
      elif fid == 4:
13251
        if ftype == TType.I64:
13252
          self.category = iprot.readI64();
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('getComingSoonCatalogIds_args')
13265
    if self.beginIndex is not None:
13266
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13267
      oprot.writeI64(self.beginIndex)
13268
      oprot.writeFieldEnd()
13269
    if self.totalItems is not None:
13270
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13271
      oprot.writeI64(self.totalItems)
13272
      oprot.writeFieldEnd()
13273
    if self.brand is not None:
13274
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13275
      oprot.writeString(self.brand)
13276
      oprot.writeFieldEnd()
13277
    if self.category is not None:
13278
      oprot.writeFieldBegin('category', TType.I64, 4)
13279
      oprot.writeI64(self.category)
13280
      oprot.writeFieldEnd()
13281
    oprot.writeFieldStop()
13282
    oprot.writeStructEnd()
13283
 
13284
  def validate(self):
13285
    return
13286
 
13287
 
13288
  def __repr__(self):
13289
    L = ['%s=%r' % (key, value)
13290
      for key, value in self.__dict__.iteritems()]
13291
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13292
 
13293
  def __eq__(self, other):
13294
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13295
 
13296
  def __ne__(self, other):
13297
    return not (self == other)
13298
 
13299
class getComingSoonCatalogIds_result:
13300
  """
13301
  Attributes:
13302
   - success
13303
   - cex
13304
  """
13305
 
13306
  thrift_spec = (
13307
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
13308
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13309
  )
13310
 
13311
  def __init__(self, success=None, cex=None,):
13312
    self.success = success
13313
    self.cex = cex
13314
 
13315
  def read(self, iprot):
13316
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13317
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13318
      return
13319
    iprot.readStructBegin()
13320
    while True:
13321
      (fname, ftype, fid) = iprot.readFieldBegin()
13322
      if ftype == TType.STOP:
13323
        break
13324
      if fid == 0:
13325
        if ftype == TType.LIST:
13326
          self.success = []
13493 amit.gupta 13327
          (_etype151, _size148) = iprot.readListBegin()
13328
          for _i152 in xrange(_size148):
13329
            _elem153 = iprot.readI64();
13330
            self.success.append(_elem153)
5944 mandeep.dh 13331
          iprot.readListEnd()
13332
        else:
13333
          iprot.skip(ftype)
13334
      elif fid == 1:
13335
        if ftype == TType.STRUCT:
13336
          self.cex = CatalogServiceException()
13337
          self.cex.read(iprot)
13338
        else:
13339
          iprot.skip(ftype)
13340
      else:
13341
        iprot.skip(ftype)
13342
      iprot.readFieldEnd()
13343
    iprot.readStructEnd()
13344
 
13345
  def write(self, oprot):
13346
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13347
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13348
      return
13349
    oprot.writeStructBegin('getComingSoonCatalogIds_result')
13350
    if self.success is not None:
13351
      oprot.writeFieldBegin('success', TType.LIST, 0)
13352
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 13353
      for iter154 in self.success:
13354
        oprot.writeI64(iter154)
5944 mandeep.dh 13355
      oprot.writeListEnd()
13356
      oprot.writeFieldEnd()
13357
    if self.cex is not None:
13358
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13359
      self.cex.write(oprot)
13360
      oprot.writeFieldEnd()
13361
    oprot.writeFieldStop()
13362
    oprot.writeStructEnd()
13363
 
13364
  def validate(self):
13365
    return
13366
 
13367
 
13368
  def __repr__(self):
13369
    L = ['%s=%r' % (key, value)
13370
      for key, value in self.__dict__.iteritems()]
13371
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13372
 
13373
  def __eq__(self, other):
13374
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13375
 
13376
  def __ne__(self, other):
13377
    return not (self == other)
13378
 
13379
class getComingSoonCount_args:
13380
 
13381
  thrift_spec = (
13382
  )
13383
 
13384
  def read(self, iprot):
13385
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13386
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13387
      return
13388
    iprot.readStructBegin()
13389
    while True:
13390
      (fname, ftype, fid) = iprot.readFieldBegin()
13391
      if ftype == TType.STOP:
13392
        break
13393
      else:
13394
        iprot.skip(ftype)
13395
      iprot.readFieldEnd()
13396
    iprot.readStructEnd()
13397
 
13398
  def write(self, oprot):
13399
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13400
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13401
      return
13402
    oprot.writeStructBegin('getComingSoonCount_args')
13403
    oprot.writeFieldStop()
13404
    oprot.writeStructEnd()
13405
 
13406
  def validate(self):
13407
    return
13408
 
13409
 
13410
  def __repr__(self):
13411
    L = ['%s=%r' % (key, value)
13412
      for key, value in self.__dict__.iteritems()]
13413
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13414
 
13415
  def __eq__(self, other):
13416
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13417
 
13418
  def __ne__(self, other):
13419
    return not (self == other)
13420
 
13421
class getComingSoonCount_result:
13422
  """
13423
  Attributes:
13424
   - success
13425
   - cex
13426
  """
13427
 
13428
  thrift_spec = (
13429
    (0, TType.I64, 'success', None, None, ), # 0
13430
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13431
  )
13432
 
13433
  def __init__(self, success=None, cex=None,):
13434
    self.success = success
13435
    self.cex = cex
13436
 
13437
  def read(self, iprot):
13438
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13439
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13440
      return
13441
    iprot.readStructBegin()
13442
    while True:
13443
      (fname, ftype, fid) = iprot.readFieldBegin()
13444
      if ftype == TType.STOP:
13445
        break
13446
      if fid == 0:
13447
        if ftype == TType.I64:
13448
          self.success = iprot.readI64();
13449
        else:
13450
          iprot.skip(ftype)
13451
      elif fid == 1:
13452
        if ftype == TType.STRUCT:
13453
          self.cex = CatalogServiceException()
13454
          self.cex.read(iprot)
13455
        else:
13456
          iprot.skip(ftype)
13457
      else:
13458
        iprot.skip(ftype)
13459
      iprot.readFieldEnd()
13460
    iprot.readStructEnd()
13461
 
13462
  def write(self, oprot):
13463
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13464
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13465
      return
13466
    oprot.writeStructBegin('getComingSoonCount_result')
13467
    if self.success is not None:
13468
      oprot.writeFieldBegin('success', TType.I64, 0)
13469
      oprot.writeI64(self.success)
13470
      oprot.writeFieldEnd()
13471
    if self.cex is not None:
13472
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13473
      self.cex.write(oprot)
13474
      oprot.writeFieldEnd()
13475
    oprot.writeFieldStop()
13476
    oprot.writeStructEnd()
13477
 
13478
  def validate(self):
13479
    return
13480
 
13481
 
13482
  def __repr__(self):
13483
    L = ['%s=%r' % (key, value)
13484
      for key, value in self.__dict__.iteritems()]
13485
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13486
 
13487
  def __eq__(self, other):
13488
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13489
 
13490
  def __ne__(self, other):
13491
    return not (self == other)
13492
 
13493
class getLatestArrivals_args:
13494
 
13495
  thrift_spec = (
13496
  )
13497
 
13498
  def read(self, iprot):
13499
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13500
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13501
      return
13502
    iprot.readStructBegin()
13503
    while True:
13504
      (fname, ftype, fid) = iprot.readFieldBegin()
13505
      if ftype == TType.STOP:
13506
        break
13507
      else:
13508
        iprot.skip(ftype)
13509
      iprot.readFieldEnd()
13510
    iprot.readStructEnd()
13511
 
13512
  def write(self, oprot):
13513
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13514
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13515
      return
13516
    oprot.writeStructBegin('getLatestArrivals_args')
13517
    oprot.writeFieldStop()
13518
    oprot.writeStructEnd()
13519
 
13520
  def validate(self):
13521
    return
13522
 
13523
 
13524
  def __repr__(self):
13525
    L = ['%s=%r' % (key, value)
13526
      for key, value in self.__dict__.iteritems()]
13527
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13528
 
13529
  def __eq__(self, other):
13530
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13531
 
13532
  def __ne__(self, other):
13533
    return not (self == other)
13534
 
13535
class getLatestArrivals_result:
13536
  """
13537
  Attributes:
13538
   - success
13539
   - isex
13540
  """
13541
 
13542
  thrift_spec = (
13543
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13544
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13545
  )
13546
 
13547
  def __init__(self, success=None, isex=None,):
13548
    self.success = success
13549
    self.isex = isex
13550
 
13551
  def read(self, iprot):
13552
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13553
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13554
      return
13555
    iprot.readStructBegin()
13556
    while True:
13557
      (fname, ftype, fid) = iprot.readFieldBegin()
13558
      if ftype == TType.STOP:
13559
        break
13560
      if fid == 0:
13561
        if ftype == TType.LIST:
13562
          self.success = []
13493 amit.gupta 13563
          (_etype158, _size155) = iprot.readListBegin()
13564
          for _i159 in xrange(_size155):
13565
            _elem160 = Item()
13566
            _elem160.read(iprot)
13567
            self.success.append(_elem160)
5944 mandeep.dh 13568
          iprot.readListEnd()
13569
        else:
13570
          iprot.skip(ftype)
13571
      elif fid == 1:
13572
        if ftype == TType.STRUCT:
13573
          self.isex = CatalogServiceException()
13574
          self.isex.read(iprot)
13575
        else:
13576
          iprot.skip(ftype)
13577
      else:
13578
        iprot.skip(ftype)
13579
      iprot.readFieldEnd()
13580
    iprot.readStructEnd()
13581
 
13582
  def write(self, oprot):
13583
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13584
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13585
      return
13586
    oprot.writeStructBegin('getLatestArrivals_result')
13587
    if self.success is not None:
13588
      oprot.writeFieldBegin('success', TType.LIST, 0)
13589
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 13590
      for iter161 in self.success:
13591
        iter161.write(oprot)
5944 mandeep.dh 13592
      oprot.writeListEnd()
13593
      oprot.writeFieldEnd()
13594
    if self.isex is not None:
13595
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13596
      self.isex.write(oprot)
13597
      oprot.writeFieldEnd()
13598
    oprot.writeFieldStop()
13599
    oprot.writeStructEnd()
13600
 
13601
  def validate(self):
13602
    return
13603
 
13604
 
13605
  def __repr__(self):
13606
    L = ['%s=%r' % (key, value)
13607
      for key, value in self.__dict__.iteritems()]
13608
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13609
 
13610
  def __eq__(self, other):
13611
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13612
 
13613
  def __ne__(self, other):
13614
    return not (self == other)
13615
 
13616
class getLatestArrivalsCatalogIds_args:
13617
  """
13618
  Attributes:
13619
   - beginIndex
13620
   - totalItems
13621
   - brand
13622
   - categories
13623
  """
13624
 
13625
  thrift_spec = (
13626
    None, # 0
13627
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13628
    (2, TType.I64, 'totalItems', None, None, ), # 2
13629
    (3, TType.STRING, 'brand', None, None, ), # 3
13630
    (4, TType.LIST, 'categories', (TType.I64,None), None, ), # 4
13631
  )
13632
 
13633
  def __init__(self, beginIndex=None, totalItems=None, brand=None, categories=None,):
13634
    self.beginIndex = beginIndex
13635
    self.totalItems = totalItems
13636
    self.brand = brand
13637
    self.categories = categories
13638
 
13639
  def read(self, iprot):
13640
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13641
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13642
      return
13643
    iprot.readStructBegin()
13644
    while True:
13645
      (fname, ftype, fid) = iprot.readFieldBegin()
13646
      if ftype == TType.STOP:
13647
        break
13648
      if fid == 1:
13649
        if ftype == TType.I64:
13650
          self.beginIndex = iprot.readI64();
13651
        else:
13652
          iprot.skip(ftype)
13653
      elif fid == 2:
13654
        if ftype == TType.I64:
13655
          self.totalItems = iprot.readI64();
13656
        else:
13657
          iprot.skip(ftype)
13658
      elif fid == 3:
13659
        if ftype == TType.STRING:
13660
          self.brand = iprot.readString();
13661
        else:
13662
          iprot.skip(ftype)
13663
      elif fid == 4:
13664
        if ftype == TType.LIST:
13665
          self.categories = []
13493 amit.gupta 13666
          (_etype165, _size162) = iprot.readListBegin()
13667
          for _i166 in xrange(_size162):
13668
            _elem167 = iprot.readI64();
13669
            self.categories.append(_elem167)
5944 mandeep.dh 13670
          iprot.readListEnd()
13671
        else:
13672
          iprot.skip(ftype)
13673
      else:
13674
        iprot.skip(ftype)
13675
      iprot.readFieldEnd()
13676
    iprot.readStructEnd()
13677
 
13678
  def write(self, oprot):
13679
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13680
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13681
      return
13682
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_args')
13683
    if self.beginIndex is not None:
13684
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13685
      oprot.writeI64(self.beginIndex)
13686
      oprot.writeFieldEnd()
13687
    if self.totalItems is not None:
13688
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13689
      oprot.writeI64(self.totalItems)
13690
      oprot.writeFieldEnd()
13691
    if self.brand is not None:
13692
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13693
      oprot.writeString(self.brand)
13694
      oprot.writeFieldEnd()
13695
    if self.categories is not None:
13696
      oprot.writeFieldBegin('categories', TType.LIST, 4)
13697
      oprot.writeListBegin(TType.I64, len(self.categories))
13493 amit.gupta 13698
      for iter168 in self.categories:
13699
        oprot.writeI64(iter168)
5944 mandeep.dh 13700
      oprot.writeListEnd()
13701
      oprot.writeFieldEnd()
13702
    oprot.writeFieldStop()
13703
    oprot.writeStructEnd()
13704
 
13705
  def validate(self):
13706
    return
13707
 
13708
 
13709
  def __repr__(self):
13710
    L = ['%s=%r' % (key, value)
13711
      for key, value in self.__dict__.iteritems()]
13712
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13713
 
13714
  def __eq__(self, other):
13715
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13716
 
13717
  def __ne__(self, other):
13718
    return not (self == other)
13719
 
13720
class getLatestArrivalsCatalogIds_result:
13721
  """
13722
  Attributes:
13723
   - success
13724
   - cex
13725
  """
13726
 
13727
  thrift_spec = (
13728
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
13729
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13730
  )
13731
 
13732
  def __init__(self, success=None, cex=None,):
13733
    self.success = success
13734
    self.cex = cex
13735
 
13736
  def read(self, iprot):
13737
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13738
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13739
      return
13740
    iprot.readStructBegin()
13741
    while True:
13742
      (fname, ftype, fid) = iprot.readFieldBegin()
13743
      if ftype == TType.STOP:
13744
        break
13745
      if fid == 0:
13746
        if ftype == TType.LIST:
13747
          self.success = []
13493 amit.gupta 13748
          (_etype172, _size169) = iprot.readListBegin()
13749
          for _i173 in xrange(_size169):
13750
            _elem174 = iprot.readI64();
13751
            self.success.append(_elem174)
5944 mandeep.dh 13752
          iprot.readListEnd()
13753
        else:
13754
          iprot.skip(ftype)
13755
      elif fid == 1:
13756
        if ftype == TType.STRUCT:
13757
          self.cex = CatalogServiceException()
13758
          self.cex.read(iprot)
13759
        else:
13760
          iprot.skip(ftype)
13761
      else:
13762
        iprot.skip(ftype)
13763
      iprot.readFieldEnd()
13764
    iprot.readStructEnd()
13765
 
13766
  def write(self, oprot):
13767
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13768
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13769
      return
13770
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_result')
13771
    if self.success is not None:
13772
      oprot.writeFieldBegin('success', TType.LIST, 0)
13773
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 13774
      for iter175 in self.success:
13775
        oprot.writeI64(iter175)
5944 mandeep.dh 13776
      oprot.writeListEnd()
13777
      oprot.writeFieldEnd()
13778
    if self.cex is not None:
13779
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13780
      self.cex.write(oprot)
13781
      oprot.writeFieldEnd()
13782
    oprot.writeFieldStop()
13783
    oprot.writeStructEnd()
13784
 
13785
  def validate(self):
13786
    return
13787
 
13788
 
13789
  def __repr__(self):
13790
    L = ['%s=%r' % (key, value)
13791
      for key, value in self.__dict__.iteritems()]
13792
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13793
 
13794
  def __eq__(self, other):
13795
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13796
 
13797
  def __ne__(self, other):
13798
    return not (self == other)
13799
 
13800
class getLatestArrivalsCount_args:
13801
 
13802
  thrift_spec = (
13803
  )
13804
 
13805
  def read(self, iprot):
13806
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13807
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13808
      return
13809
    iprot.readStructBegin()
13810
    while True:
13811
      (fname, ftype, fid) = iprot.readFieldBegin()
13812
      if ftype == TType.STOP:
13813
        break
13814
      else:
13815
        iprot.skip(ftype)
13816
      iprot.readFieldEnd()
13817
    iprot.readStructEnd()
13818
 
13819
  def write(self, oprot):
13820
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13821
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13822
      return
13823
    oprot.writeStructBegin('getLatestArrivalsCount_args')
13824
    oprot.writeFieldStop()
13825
    oprot.writeStructEnd()
13826
 
13827
  def validate(self):
13828
    return
13829
 
13830
 
13831
  def __repr__(self):
13832
    L = ['%s=%r' % (key, value)
13833
      for key, value in self.__dict__.iteritems()]
13834
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13835
 
13836
  def __eq__(self, other):
13837
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13838
 
13839
  def __ne__(self, other):
13840
    return not (self == other)
13841
 
13842
class getLatestArrivalsCount_result:
13843
  """
13844
  Attributes:
13845
   - success
13846
   - cex
13847
  """
13848
 
13849
  thrift_spec = (
13850
    (0, TType.I64, 'success', None, None, ), # 0
13851
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13852
  )
13853
 
13854
  def __init__(self, success=None, cex=None,):
13855
    self.success = success
13856
    self.cex = cex
13857
 
13858
  def read(self, iprot):
13859
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13860
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13861
      return
13862
    iprot.readStructBegin()
13863
    while True:
13864
      (fname, ftype, fid) = iprot.readFieldBegin()
13865
      if ftype == TType.STOP:
13866
        break
13867
      if fid == 0:
13868
        if ftype == TType.I64:
13869
          self.success = iprot.readI64();
13870
        else:
13871
          iprot.skip(ftype)
13872
      elif fid == 1:
13873
        if ftype == TType.STRUCT:
13874
          self.cex = CatalogServiceException()
13875
          self.cex.read(iprot)
13876
        else:
13877
          iprot.skip(ftype)
13878
      else:
13879
        iprot.skip(ftype)
13880
      iprot.readFieldEnd()
13881
    iprot.readStructEnd()
13882
 
13883
  def write(self, oprot):
13884
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13885
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13886
      return
13887
    oprot.writeStructBegin('getLatestArrivalsCount_result')
13888
    if self.success is not None:
13889
      oprot.writeFieldBegin('success', TType.I64, 0)
13890
      oprot.writeI64(self.success)
13891
      oprot.writeFieldEnd()
13892
    if self.cex is not None:
13893
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13894
      self.cex.write(oprot)
13895
      oprot.writeFieldEnd()
13896
    oprot.writeFieldStop()
13897
    oprot.writeStructEnd()
13898
 
13899
  def validate(self):
13900
    return
13901
 
13902
 
13903
  def __repr__(self):
13904
    L = ['%s=%r' % (key, value)
13905
      for key, value in self.__dict__.iteritems()]
13906
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13907
 
13908
  def __eq__(self, other):
13909
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13910
 
13911
  def __ne__(self, other):
13912
    return not (self == other)
13913
 
13914
class generateNewEntityID_args:
13915
 
13916
  thrift_spec = (
13917
  )
13918
 
13919
  def read(self, iprot):
13920
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13921
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13922
      return
13923
    iprot.readStructBegin()
13924
    while True:
13925
      (fname, ftype, fid) = iprot.readFieldBegin()
13926
      if ftype == TType.STOP:
13927
        break
13928
      else:
13929
        iprot.skip(ftype)
13930
      iprot.readFieldEnd()
13931
    iprot.readStructEnd()
13932
 
13933
  def write(self, oprot):
13934
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13935
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13936
      return
13937
    oprot.writeStructBegin('generateNewEntityID_args')
13938
    oprot.writeFieldStop()
13939
    oprot.writeStructEnd()
13940
 
13941
  def validate(self):
13942
    return
13943
 
13944
 
13945
  def __repr__(self):
13946
    L = ['%s=%r' % (key, value)
13947
      for key, value in self.__dict__.iteritems()]
13948
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13949
 
13950
  def __eq__(self, other):
13951
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13952
 
13953
  def __ne__(self, other):
13954
    return not (self == other)
13955
 
13956
class generateNewEntityID_result:
13957
  """
13958
  Attributes:
13959
   - success
13960
  """
13961
 
13962
  thrift_spec = (
13963
    (0, TType.I64, 'success', None, None, ), # 0
13964
  )
13965
 
13966
  def __init__(self, success=None,):
13967
    self.success = success
13968
 
13969
  def read(self, iprot):
13970
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13971
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13972
      return
13973
    iprot.readStructBegin()
13974
    while True:
13975
      (fname, ftype, fid) = iprot.readFieldBegin()
13976
      if ftype == TType.STOP:
13977
        break
13978
      if fid == 0:
13979
        if ftype == TType.I64:
13980
          self.success = iprot.readI64();
13981
        else:
13982
          iprot.skip(ftype)
13983
      else:
13984
        iprot.skip(ftype)
13985
      iprot.readFieldEnd()
13986
    iprot.readStructEnd()
13987
 
13988
  def write(self, oprot):
13989
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13990
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13991
      return
13992
    oprot.writeStructBegin('generateNewEntityID_result')
13993
    if self.success is not None:
13994
      oprot.writeFieldBegin('success', TType.I64, 0)
13995
      oprot.writeI64(self.success)
13996
      oprot.writeFieldEnd()
13997
    oprot.writeFieldStop()
13998
    oprot.writeStructEnd()
13999
 
14000
  def validate(self):
14001
    return
14002
 
14003
 
14004
  def __repr__(self):
14005
    L = ['%s=%r' % (key, value)
14006
      for key, value in self.__dict__.iteritems()]
14007
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14008
 
14009
  def __eq__(self, other):
14010
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14011
 
14012
  def __ne__(self, other):
14013
    return not (self == other)
14014
 
14015
class addCategory_args:
14016
  """
14017
  Attributes:
14018
   - category
14019
  """
14020
 
14021
  thrift_spec = (
14022
    None, # 0
14023
    (1, TType.STRUCT, 'category', (Category, Category.thrift_spec), None, ), # 1
14024
  )
14025
 
14026
  def __init__(self, category=None,):
14027
    self.category = category
14028
 
14029
  def read(self, iprot):
14030
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14031
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14032
      return
14033
    iprot.readStructBegin()
14034
    while True:
14035
      (fname, ftype, fid) = iprot.readFieldBegin()
14036
      if ftype == TType.STOP:
14037
        break
14038
      if fid == 1:
14039
        if ftype == TType.STRUCT:
14040
          self.category = Category()
14041
          self.category.read(iprot)
14042
        else:
14043
          iprot.skip(ftype)
14044
      else:
14045
        iprot.skip(ftype)
14046
      iprot.readFieldEnd()
14047
    iprot.readStructEnd()
14048
 
14049
  def write(self, oprot):
14050
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14051
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14052
      return
14053
    oprot.writeStructBegin('addCategory_args')
14054
    if self.category is not None:
14055
      oprot.writeFieldBegin('category', TType.STRUCT, 1)
14056
      self.category.write(oprot)
14057
      oprot.writeFieldEnd()
14058
    oprot.writeFieldStop()
14059
    oprot.writeStructEnd()
14060
 
14061
  def validate(self):
14062
    return
14063
 
14064
 
14065
  def __repr__(self):
14066
    L = ['%s=%r' % (key, value)
14067
      for key, value in self.__dict__.iteritems()]
14068
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14069
 
14070
  def __eq__(self, other):
14071
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14072
 
14073
  def __ne__(self, other):
14074
    return not (self == other)
14075
 
14076
class addCategory_result:
14077
  """
14078
  Attributes:
14079
   - success
14080
  """
14081
 
14082
  thrift_spec = (
14083
    (0, TType.BOOL, 'success', None, None, ), # 0
14084
  )
14085
 
14086
  def __init__(self, success=None,):
14087
    self.success = success
14088
 
14089
  def read(self, iprot):
14090
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14091
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14092
      return
14093
    iprot.readStructBegin()
14094
    while True:
14095
      (fname, ftype, fid) = iprot.readFieldBegin()
14096
      if ftype == TType.STOP:
14097
        break
14098
      if fid == 0:
14099
        if ftype == TType.BOOL:
14100
          self.success = iprot.readBool();
14101
        else:
14102
          iprot.skip(ftype)
14103
      else:
14104
        iprot.skip(ftype)
14105
      iprot.readFieldEnd()
14106
    iprot.readStructEnd()
14107
 
14108
  def write(self, oprot):
14109
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14110
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14111
      return
14112
    oprot.writeStructBegin('addCategory_result')
14113
    if self.success is not None:
14114
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14115
      oprot.writeBool(self.success)
14116
      oprot.writeFieldEnd()
14117
    oprot.writeFieldStop()
14118
    oprot.writeStructEnd()
14119
 
14120
  def validate(self):
14121
    return
14122
 
14123
 
14124
  def __repr__(self):
14125
    L = ['%s=%r' % (key, value)
14126
      for key, value in self.__dict__.iteritems()]
14127
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14128
 
14129
  def __eq__(self, other):
14130
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14131
 
14132
  def __ne__(self, other):
14133
    return not (self == other)
14134
 
14135
class getCategory_args:
14136
  """
14137
  Attributes:
14138
   - id
14139
  """
14140
 
14141
  thrift_spec = (
14142
    None, # 0
14143
    (1, TType.I64, 'id', None, None, ), # 1
14144
  )
14145
 
14146
  def __init__(self, id=None,):
14147
    self.id = id
14148
 
14149
  def read(self, iprot):
14150
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14151
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14152
      return
14153
    iprot.readStructBegin()
14154
    while True:
14155
      (fname, ftype, fid) = iprot.readFieldBegin()
14156
      if ftype == TType.STOP:
14157
        break
14158
      if fid == 1:
14159
        if ftype == TType.I64:
14160
          self.id = iprot.readI64();
14161
        else:
14162
          iprot.skip(ftype)
14163
      else:
14164
        iprot.skip(ftype)
14165
      iprot.readFieldEnd()
14166
    iprot.readStructEnd()
14167
 
14168
  def write(self, oprot):
14169
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14170
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14171
      return
14172
    oprot.writeStructBegin('getCategory_args')
14173
    if self.id is not None:
14174
      oprot.writeFieldBegin('id', TType.I64, 1)
14175
      oprot.writeI64(self.id)
14176
      oprot.writeFieldEnd()
14177
    oprot.writeFieldStop()
14178
    oprot.writeStructEnd()
14179
 
14180
  def validate(self):
14181
    return
14182
 
14183
 
14184
  def __repr__(self):
14185
    L = ['%s=%r' % (key, value)
14186
      for key, value in self.__dict__.iteritems()]
14187
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14188
 
14189
  def __eq__(self, other):
14190
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14191
 
14192
  def __ne__(self, other):
14193
    return not (self == other)
14194
 
14195
class getCategory_result:
14196
  """
14197
  Attributes:
14198
   - success
14199
  """
14200
 
14201
  thrift_spec = (
14202
    (0, TType.STRUCT, 'success', (Category, Category.thrift_spec), None, ), # 0
14203
  )
14204
 
14205
  def __init__(self, success=None,):
14206
    self.success = success
14207
 
14208
  def read(self, iprot):
14209
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14210
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14211
      return
14212
    iprot.readStructBegin()
14213
    while True:
14214
      (fname, ftype, fid) = iprot.readFieldBegin()
14215
      if ftype == TType.STOP:
14216
        break
14217
      if fid == 0:
14218
        if ftype == TType.STRUCT:
14219
          self.success = Category()
14220
          self.success.read(iprot)
14221
        else:
14222
          iprot.skip(ftype)
14223
      else:
14224
        iprot.skip(ftype)
14225
      iprot.readFieldEnd()
14226
    iprot.readStructEnd()
14227
 
14228
  def write(self, oprot):
14229
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14230
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14231
      return
14232
    oprot.writeStructBegin('getCategory_result')
14233
    if self.success is not None:
14234
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
14235
      self.success.write(oprot)
14236
      oprot.writeFieldEnd()
14237
    oprot.writeFieldStop()
14238
    oprot.writeStructEnd()
14239
 
14240
  def validate(self):
14241
    return
14242
 
14243
 
14244
  def __repr__(self):
14245
    L = ['%s=%r' % (key, value)
14246
      for key, value in self.__dict__.iteritems()]
14247
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14248
 
14249
  def __eq__(self, other):
14250
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14251
 
14252
  def __ne__(self, other):
14253
    return not (self == other)
14254
 
14255
class getAllCategories_args:
14256
 
14257
  thrift_spec = (
14258
  )
14259
 
14260
  def read(self, iprot):
14261
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14262
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14263
      return
14264
    iprot.readStructBegin()
14265
    while True:
14266
      (fname, ftype, fid) = iprot.readFieldBegin()
14267
      if ftype == TType.STOP:
14268
        break
14269
      else:
14270
        iprot.skip(ftype)
14271
      iprot.readFieldEnd()
14272
    iprot.readStructEnd()
14273
 
14274
  def write(self, oprot):
14275
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14276
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14277
      return
14278
    oprot.writeStructBegin('getAllCategories_args')
14279
    oprot.writeFieldStop()
14280
    oprot.writeStructEnd()
14281
 
14282
  def validate(self):
14283
    return
14284
 
14285
 
14286
  def __repr__(self):
14287
    L = ['%s=%r' % (key, value)
14288
      for key, value in self.__dict__.iteritems()]
14289
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14290
 
14291
  def __eq__(self, other):
14292
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14293
 
14294
  def __ne__(self, other):
14295
    return not (self == other)
14296
 
14297
class getAllCategories_result:
14298
  """
14299
  Attributes:
14300
   - success
14301
  """
14302
 
14303
  thrift_spec = (
14304
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
14305
  )
14306
 
14307
  def __init__(self, success=None,):
14308
    self.success = success
14309
 
14310
  def read(self, iprot):
14311
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14312
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14313
      return
14314
    iprot.readStructBegin()
14315
    while True:
14316
      (fname, ftype, fid) = iprot.readFieldBegin()
14317
      if ftype == TType.STOP:
14318
        break
14319
      if fid == 0:
14320
        if ftype == TType.LIST:
14321
          self.success = []
13493 amit.gupta 14322
          (_etype179, _size176) = iprot.readListBegin()
14323
          for _i180 in xrange(_size176):
14324
            _elem181 = Category()
14325
            _elem181.read(iprot)
14326
            self.success.append(_elem181)
5944 mandeep.dh 14327
          iprot.readListEnd()
14328
        else:
14329
          iprot.skip(ftype)
14330
      else:
14331
        iprot.skip(ftype)
14332
      iprot.readFieldEnd()
14333
    iprot.readStructEnd()
14334
 
14335
  def write(self, oprot):
14336
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14337
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14338
      return
14339
    oprot.writeStructBegin('getAllCategories_result')
14340
    if self.success is not None:
14341
      oprot.writeFieldBegin('success', TType.LIST, 0)
14342
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 14343
      for iter182 in self.success:
14344
        iter182.write(oprot)
5944 mandeep.dh 14345
      oprot.writeListEnd()
14346
      oprot.writeFieldEnd()
14347
    oprot.writeFieldStop()
14348
    oprot.writeStructEnd()
14349
 
14350
  def validate(self):
14351
    return
14352
 
14353
 
14354
  def __repr__(self):
14355
    L = ['%s=%r' % (key, value)
14356
      for key, value in self.__dict__.iteritems()]
14357
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14358
 
14359
  def __eq__(self, other):
14360
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14361
 
14362
  def __ne__(self, other):
14363
    return not (self == other)
14364
 
14365
class getAllSimilarItems_args:
14366
  """
14367
  Attributes:
14368
   - itemId
14369
  """
14370
 
14371
  thrift_spec = (
14372
    None, # 0
14373
    (1, TType.I64, 'itemId', None, None, ), # 1
14374
  )
14375
 
14376
  def __init__(self, itemId=None,):
14377
    self.itemId = itemId
14378
 
14379
  def read(self, iprot):
14380
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14381
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14382
      return
14383
    iprot.readStructBegin()
14384
    while True:
14385
      (fname, ftype, fid) = iprot.readFieldBegin()
14386
      if ftype == TType.STOP:
14387
        break
14388
      if fid == 1:
14389
        if ftype == TType.I64:
14390
          self.itemId = iprot.readI64();
14391
        else:
14392
          iprot.skip(ftype)
14393
      else:
14394
        iprot.skip(ftype)
14395
      iprot.readFieldEnd()
14396
    iprot.readStructEnd()
14397
 
14398
  def write(self, oprot):
14399
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14400
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14401
      return
14402
    oprot.writeStructBegin('getAllSimilarItems_args')
14403
    if self.itemId is not None:
14404
      oprot.writeFieldBegin('itemId', TType.I64, 1)
14405
      oprot.writeI64(self.itemId)
14406
      oprot.writeFieldEnd()
14407
    oprot.writeFieldStop()
14408
    oprot.writeStructEnd()
14409
 
14410
  def validate(self):
14411
    return
14412
 
14413
 
14414
  def __repr__(self):
14415
    L = ['%s=%r' % (key, value)
14416
      for key, value in self.__dict__.iteritems()]
14417
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14418
 
14419
  def __eq__(self, other):
14420
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14421
 
14422
  def __ne__(self, other):
14423
    return not (self == other)
14424
 
14425
class getAllSimilarItems_result:
14426
  """
14427
  Attributes:
14428
   - success
14429
  """
14430
 
14431
  thrift_spec = (
14432
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
14433
  )
14434
 
14435
  def __init__(self, success=None,):
14436
    self.success = success
14437
 
14438
  def read(self, iprot):
14439
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14440
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14441
      return
14442
    iprot.readStructBegin()
14443
    while True:
14444
      (fname, ftype, fid) = iprot.readFieldBegin()
14445
      if ftype == TType.STOP:
14446
        break
14447
      if fid == 0:
14448
        if ftype == TType.LIST:
14449
          self.success = []
13493 amit.gupta 14450
          (_etype186, _size183) = iprot.readListBegin()
14451
          for _i187 in xrange(_size183):
14452
            _elem188 = Item()
14453
            _elem188.read(iprot)
14454
            self.success.append(_elem188)
5944 mandeep.dh 14455
          iprot.readListEnd()
14456
        else:
14457
          iprot.skip(ftype)
14458
      else:
14459
        iprot.skip(ftype)
14460
      iprot.readFieldEnd()
14461
    iprot.readStructEnd()
14462
 
14463
  def write(self, oprot):
14464
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14465
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14466
      return
14467
    oprot.writeStructBegin('getAllSimilarItems_result')
14468
    if self.success is not None:
14469
      oprot.writeFieldBegin('success', TType.LIST, 0)
14470
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 14471
      for iter189 in self.success:
14472
        iter189.write(oprot)
5944 mandeep.dh 14473
      oprot.writeListEnd()
14474
      oprot.writeFieldEnd()
14475
    oprot.writeFieldStop()
14476
    oprot.writeStructEnd()
14477
 
14478
  def validate(self):
14479
    return
14480
 
14481
 
14482
  def __repr__(self):
14483
    L = ['%s=%r' % (key, value)
14484
      for key, value in self.__dict__.iteritems()]
14485
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14486
 
14487
  def __eq__(self, other):
14488
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14489
 
14490
  def __ne__(self, other):
14491
    return not (self == other)
14492
 
14493
class addSimilarItem_args:
14494
  """
14495
  Attributes:
14496
   - itemId
14497
   - catalogItemId
14498
  """
14499
 
14500
  thrift_spec = (
14501
    None, # 0
14502
    (1, TType.I64, 'itemId', None, None, ), # 1
14503
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
14504
  )
14505
 
14506
  def __init__(self, itemId=None, catalogItemId=None,):
14507
    self.itemId = itemId
14508
    self.catalogItemId = catalogItemId
14509
 
14510
  def read(self, iprot):
14511
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14512
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14513
      return
14514
    iprot.readStructBegin()
14515
    while True:
14516
      (fname, ftype, fid) = iprot.readFieldBegin()
14517
      if ftype == TType.STOP:
14518
        break
14519
      if fid == 1:
14520
        if ftype == TType.I64:
14521
          self.itemId = iprot.readI64();
14522
        else:
14523
          iprot.skip(ftype)
14524
      elif fid == 2:
14525
        if ftype == TType.I64:
14526
          self.catalogItemId = iprot.readI64();
14527
        else:
14528
          iprot.skip(ftype)
14529
      else:
14530
        iprot.skip(ftype)
14531
      iprot.readFieldEnd()
14532
    iprot.readStructEnd()
14533
 
14534
  def write(self, oprot):
14535
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14536
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14537
      return
14538
    oprot.writeStructBegin('addSimilarItem_args')
14539
    if self.itemId is not None:
14540
      oprot.writeFieldBegin('itemId', TType.I64, 1)
14541
      oprot.writeI64(self.itemId)
14542
      oprot.writeFieldEnd()
14543
    if self.catalogItemId is not None:
14544
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
14545
      oprot.writeI64(self.catalogItemId)
14546
      oprot.writeFieldEnd()
14547
    oprot.writeFieldStop()
14548
    oprot.writeStructEnd()
14549
 
14550
  def validate(self):
14551
    return
14552
 
14553
 
14554
  def __repr__(self):
14555
    L = ['%s=%r' % (key, value)
14556
      for key, value in self.__dict__.iteritems()]
14557
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14558
 
14559
  def __eq__(self, other):
14560
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14561
 
14562
  def __ne__(self, other):
14563
    return not (self == other)
14564
 
14565
class addSimilarItem_result:
14566
  """
14567
  Attributes:
14568
   - success
14569
   - cex
14570
  """
14571
 
14572
  thrift_spec = (
14573
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
14574
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14575
  )
14576
 
14577
  def __init__(self, success=None, cex=None,):
14578
    self.success = success
14579
    self.cex = cex
14580
 
14581
  def read(self, iprot):
14582
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14583
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14584
      return
14585
    iprot.readStructBegin()
14586
    while True:
14587
      (fname, ftype, fid) = iprot.readFieldBegin()
14588
      if ftype == TType.STOP:
14589
        break
14590
      if fid == 0:
14591
        if ftype == TType.STRUCT:
14592
          self.success = Item()
14593
          self.success.read(iprot)
14594
        else:
14595
          iprot.skip(ftype)
14596
      elif fid == 1:
14597
        if ftype == TType.STRUCT:
14598
          self.cex = CatalogServiceException()
14599
          self.cex.read(iprot)
14600
        else:
14601
          iprot.skip(ftype)
14602
      else:
14603
        iprot.skip(ftype)
14604
      iprot.readFieldEnd()
14605
    iprot.readStructEnd()
14606
 
14607
  def write(self, oprot):
14608
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14609
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14610
      return
14611
    oprot.writeStructBegin('addSimilarItem_result')
14612
    if self.success is not None:
14613
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
14614
      self.success.write(oprot)
14615
      oprot.writeFieldEnd()
14616
    if self.cex is not None:
14617
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
14618
      self.cex.write(oprot)
14619
      oprot.writeFieldEnd()
14620
    oprot.writeFieldStop()
14621
    oprot.writeStructEnd()
14622
 
14623
  def validate(self):
14624
    return
14625
 
14626
 
14627
  def __repr__(self):
14628
    L = ['%s=%r' % (key, value)
14629
      for key, value in self.__dict__.iteritems()]
14630
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14631
 
14632
  def __eq__(self, other):
14633
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14634
 
14635
  def __ne__(self, other):
14636
    return not (self == other)
14637
 
6512 kshitij.so 14638
class addTag_args:
14639
  """
14640
  Attributes:
14641
   - displayName
14642
   - itemId
14643
  """
14644
 
14645
  thrift_spec = (
14646
    None, # 0
14647
    (1, TType.STRING, 'displayName', None, None, ), # 1
14648
    (2, TType.I64, 'itemId', None, None, ), # 2
14649
  )
14650
 
14651
  def __init__(self, displayName=None, itemId=None,):
14652
    self.displayName = displayName
14653
    self.itemId = itemId
14654
 
14655
  def read(self, iprot):
14656
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14657
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14658
      return
14659
    iprot.readStructBegin()
14660
    while True:
14661
      (fname, ftype, fid) = iprot.readFieldBegin()
14662
      if ftype == TType.STOP:
14663
        break
14664
      if fid == 1:
14665
        if ftype == TType.STRING:
14666
          self.displayName = iprot.readString();
14667
        else:
14668
          iprot.skip(ftype)
14669
      elif fid == 2:
14670
        if ftype == TType.I64:
14671
          self.itemId = iprot.readI64();
14672
        else:
14673
          iprot.skip(ftype)
14674
      else:
14675
        iprot.skip(ftype)
14676
      iprot.readFieldEnd()
14677
    iprot.readStructEnd()
14678
 
14679
  def write(self, oprot):
14680
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14681
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14682
      return
14683
    oprot.writeStructBegin('addTag_args')
14684
    if self.displayName is not None:
14685
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14686
      oprot.writeString(self.displayName)
14687
      oprot.writeFieldEnd()
14688
    if self.itemId is not None:
14689
      oprot.writeFieldBegin('itemId', TType.I64, 2)
14690
      oprot.writeI64(self.itemId)
14691
      oprot.writeFieldEnd()
14692
    oprot.writeFieldStop()
14693
    oprot.writeStructEnd()
14694
 
14695
  def validate(self):
14696
    return
14697
 
14698
 
14699
  def __repr__(self):
14700
    L = ['%s=%r' % (key, value)
14701
      for key, value in self.__dict__.iteritems()]
14702
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14703
 
14704
  def __eq__(self, other):
14705
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14706
 
14707
  def __ne__(self, other):
14708
    return not (self == other)
14709
 
14710
class addTag_result:
14711
  """
14712
  Attributes:
14713
   - success
14714
  """
14715
 
14716
  thrift_spec = (
14717
    (0, TType.BOOL, 'success', None, None, ), # 0
14718
  )
14719
 
14720
  def __init__(self, success=None,):
14721
    self.success = success
14722
 
14723
  def read(self, iprot):
14724
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14725
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14726
      return
14727
    iprot.readStructBegin()
14728
    while True:
14729
      (fname, ftype, fid) = iprot.readFieldBegin()
14730
      if ftype == TType.STOP:
14731
        break
14732
      if fid == 0:
14733
        if ftype == TType.BOOL:
14734
          self.success = iprot.readBool();
14735
        else:
14736
          iprot.skip(ftype)
14737
      else:
14738
        iprot.skip(ftype)
14739
      iprot.readFieldEnd()
14740
    iprot.readStructEnd()
14741
 
14742
  def write(self, oprot):
14743
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14744
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14745
      return
14746
    oprot.writeStructBegin('addTag_result')
14747
    if self.success is not None:
14748
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14749
      oprot.writeBool(self.success)
14750
      oprot.writeFieldEnd()
14751
    oprot.writeFieldStop()
14752
    oprot.writeStructEnd()
14753
 
14754
  def validate(self):
14755
    return
14756
 
14757
 
14758
  def __repr__(self):
14759
    L = ['%s=%r' % (key, value)
14760
      for key, value in self.__dict__.iteritems()]
14761
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14762
 
14763
  def __eq__(self, other):
14764
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14765
 
14766
  def __ne__(self, other):
14767
    return not (self == other)
14768
 
14769
class deleteEntityTag_args:
14770
  """
14771
  Attributes:
14772
   - displayName
14773
   - itemId
14774
  """
14775
 
14776
  thrift_spec = (
14777
    None, # 0
14778
    (1, TType.STRING, 'displayName', None, None, ), # 1
14779
    (2, TType.I64, 'itemId', None, None, ), # 2
14780
  )
14781
 
14782
  def __init__(self, displayName=None, itemId=None,):
14783
    self.displayName = displayName
14784
    self.itemId = itemId
14785
 
14786
  def read(self, iprot):
14787
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14788
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14789
      return
14790
    iprot.readStructBegin()
14791
    while True:
14792
      (fname, ftype, fid) = iprot.readFieldBegin()
14793
      if ftype == TType.STOP:
14794
        break
14795
      if fid == 1:
14796
        if ftype == TType.STRING:
14797
          self.displayName = iprot.readString();
14798
        else:
14799
          iprot.skip(ftype)
14800
      elif fid == 2:
14801
        if ftype == TType.I64:
14802
          self.itemId = iprot.readI64();
14803
        else:
14804
          iprot.skip(ftype)
14805
      else:
14806
        iprot.skip(ftype)
14807
      iprot.readFieldEnd()
14808
    iprot.readStructEnd()
14809
 
14810
  def write(self, oprot):
14811
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14812
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14813
      return
14814
    oprot.writeStructBegin('deleteEntityTag_args')
14815
    if self.displayName is not None:
14816
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14817
      oprot.writeString(self.displayName)
14818
      oprot.writeFieldEnd()
14819
    if self.itemId is not None:
14820
      oprot.writeFieldBegin('itemId', TType.I64, 2)
14821
      oprot.writeI64(self.itemId)
14822
      oprot.writeFieldEnd()
14823
    oprot.writeFieldStop()
14824
    oprot.writeStructEnd()
14825
 
14826
  def validate(self):
14827
    return
14828
 
14829
 
14830
  def __repr__(self):
14831
    L = ['%s=%r' % (key, value)
14832
      for key, value in self.__dict__.iteritems()]
14833
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14834
 
14835
  def __eq__(self, other):
14836
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14837
 
14838
  def __ne__(self, other):
14839
    return not (self == other)
14840
 
14841
class deleteEntityTag_result:
14842
  """
14843
  Attributes:
14844
   - success
14845
  """
14846
 
14847
  thrift_spec = (
14848
    (0, TType.BOOL, 'success', None, None, ), # 0
14849
  )
14850
 
14851
  def __init__(self, success=None,):
14852
    self.success = success
14853
 
14854
  def read(self, iprot):
14855
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14856
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14857
      return
14858
    iprot.readStructBegin()
14859
    while True:
14860
      (fname, ftype, fid) = iprot.readFieldBegin()
14861
      if ftype == TType.STOP:
14862
        break
14863
      if fid == 0:
14864
        if ftype == TType.BOOL:
14865
          self.success = iprot.readBool();
14866
        else:
14867
          iprot.skip(ftype)
14868
      else:
14869
        iprot.skip(ftype)
14870
      iprot.readFieldEnd()
14871
    iprot.readStructEnd()
14872
 
14873
  def write(self, oprot):
14874
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14875
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14876
      return
14877
    oprot.writeStructBegin('deleteEntityTag_result')
14878
    if self.success is not None:
14879
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14880
      oprot.writeBool(self.success)
14881
      oprot.writeFieldEnd()
14882
    oprot.writeFieldStop()
14883
    oprot.writeStructEnd()
14884
 
14885
  def validate(self):
14886
    return
14887
 
14888
 
14889
  def __repr__(self):
14890
    L = ['%s=%r' % (key, value)
14891
      for key, value in self.__dict__.iteritems()]
14892
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14893
 
14894
  def __eq__(self, other):
14895
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14896
 
14897
  def __ne__(self, other):
14898
    return not (self == other)
14899
 
14900
class deleteTag_args:
14901
  """
14902
  Attributes:
14903
   - displayName
14904
  """
14905
 
14906
  thrift_spec = (
14907
    None, # 0
14908
    (1, TType.STRING, 'displayName', None, None, ), # 1
14909
  )
14910
 
14911
  def __init__(self, displayName=None,):
14912
    self.displayName = displayName
14913
 
14914
  def read(self, iprot):
14915
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14916
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14917
      return
14918
    iprot.readStructBegin()
14919
    while True:
14920
      (fname, ftype, fid) = iprot.readFieldBegin()
14921
      if ftype == TType.STOP:
14922
        break
14923
      if fid == 1:
14924
        if ftype == TType.STRING:
14925
          self.displayName = iprot.readString();
14926
        else:
14927
          iprot.skip(ftype)
14928
      else:
14929
        iprot.skip(ftype)
14930
      iprot.readFieldEnd()
14931
    iprot.readStructEnd()
14932
 
14933
  def write(self, oprot):
14934
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14935
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14936
      return
14937
    oprot.writeStructBegin('deleteTag_args')
14938
    if self.displayName is not None:
14939
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14940
      oprot.writeString(self.displayName)
14941
      oprot.writeFieldEnd()
14942
    oprot.writeFieldStop()
14943
    oprot.writeStructEnd()
14944
 
14945
  def validate(self):
14946
    return
14947
 
14948
 
14949
  def __repr__(self):
14950
    L = ['%s=%r' % (key, value)
14951
      for key, value in self.__dict__.iteritems()]
14952
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14953
 
14954
  def __eq__(self, other):
14955
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14956
 
14957
  def __ne__(self, other):
14958
    return not (self == other)
14959
 
14960
class deleteTag_result:
14961
  """
14962
  Attributes:
14963
   - success
14964
  """
14965
 
14966
  thrift_spec = (
14967
    (0, TType.BOOL, 'success', None, None, ), # 0
14968
  )
14969
 
14970
  def __init__(self, success=None,):
14971
    self.success = success
14972
 
14973
  def read(self, iprot):
14974
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14975
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14976
      return
14977
    iprot.readStructBegin()
14978
    while True:
14979
      (fname, ftype, fid) = iprot.readFieldBegin()
14980
      if ftype == TType.STOP:
14981
        break
14982
      if fid == 0:
14983
        if ftype == TType.BOOL:
14984
          self.success = iprot.readBool();
14985
        else:
14986
          iprot.skip(ftype)
14987
      else:
14988
        iprot.skip(ftype)
14989
      iprot.readFieldEnd()
14990
    iprot.readStructEnd()
14991
 
14992
  def write(self, oprot):
14993
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14994
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14995
      return
14996
    oprot.writeStructBegin('deleteTag_result')
14997
    if self.success is not None:
14998
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14999
      oprot.writeBool(self.success)
15000
      oprot.writeFieldEnd()
15001
    oprot.writeFieldStop()
15002
    oprot.writeStructEnd()
15003
 
15004
  def validate(self):
15005
    return
15006
 
15007
 
15008
  def __repr__(self):
15009
    L = ['%s=%r' % (key, value)
15010
      for key, value in self.__dict__.iteritems()]
15011
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15012
 
15013
  def __eq__(self, other):
15014
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15015
 
15016
  def __ne__(self, other):
15017
    return not (self == other)
15018
 
15019
class getAllTags_args:
15020
 
15021
  thrift_spec = (
15022
  )
15023
 
15024
  def read(self, iprot):
15025
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15026
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15027
      return
15028
    iprot.readStructBegin()
15029
    while True:
15030
      (fname, ftype, fid) = iprot.readFieldBegin()
15031
      if ftype == TType.STOP:
15032
        break
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('getAllTags_args')
15043
    oprot.writeFieldStop()
15044
    oprot.writeStructEnd()
15045
 
15046
  def validate(self):
15047
    return
15048
 
15049
 
15050
  def __repr__(self):
15051
    L = ['%s=%r' % (key, value)
15052
      for key, value in self.__dict__.iteritems()]
15053
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15054
 
15055
  def __eq__(self, other):
15056
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15057
 
15058
  def __ne__(self, other):
15059
    return not (self == other)
15060
 
15061
class getAllTags_result:
15062
  """
15063
  Attributes:
15064
   - success
15065
  """
15066
 
15067
  thrift_spec = (
15068
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
15069
  )
15070
 
15071
  def __init__(self, success=None,):
15072
    self.success = success
15073
 
15074
  def read(self, iprot):
15075
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15076
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15077
      return
15078
    iprot.readStructBegin()
15079
    while True:
15080
      (fname, ftype, fid) = iprot.readFieldBegin()
15081
      if ftype == TType.STOP:
15082
        break
15083
      if fid == 0:
15084
        if ftype == TType.LIST:
15085
          self.success = []
13493 amit.gupta 15086
          (_etype193, _size190) = iprot.readListBegin()
15087
          for _i194 in xrange(_size190):
15088
            _elem195 = iprot.readString();
15089
            self.success.append(_elem195)
6512 kshitij.so 15090
          iprot.readListEnd()
15091
        else:
15092
          iprot.skip(ftype)
15093
      else:
15094
        iprot.skip(ftype)
15095
      iprot.readFieldEnd()
15096
    iprot.readStructEnd()
15097
 
15098
  def write(self, oprot):
15099
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15100
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15101
      return
15102
    oprot.writeStructBegin('getAllTags_result')
15103
    if self.success is not None:
15104
      oprot.writeFieldBegin('success', TType.LIST, 0)
15105
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 15106
      for iter196 in self.success:
15107
        oprot.writeString(iter196)
6512 kshitij.so 15108
      oprot.writeListEnd()
15109
      oprot.writeFieldEnd()
15110
    oprot.writeFieldStop()
15111
    oprot.writeStructEnd()
15112
 
15113
  def validate(self):
15114
    return
15115
 
15116
 
15117
  def __repr__(self):
15118
    L = ['%s=%r' % (key, value)
15119
      for key, value in self.__dict__.iteritems()]
15120
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15121
 
15122
  def __eq__(self, other):
15123
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15124
 
15125
  def __ne__(self, other):
15126
    return not (self == other)
15127
 
15128
class getAllEntitiesByTagName_args:
15129
  """
15130
  Attributes:
15131
   - displayName
15132
  """
15133
 
15134
  thrift_spec = (
15135
    None, # 0
15136
    (1, TType.STRING, 'displayName', None, None, ), # 1
15137
  )
15138
 
15139
  def __init__(self, displayName=None,):
15140
    self.displayName = displayName
15141
 
15142
  def read(self, iprot):
15143
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15144
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15145
      return
15146
    iprot.readStructBegin()
15147
    while True:
15148
      (fname, ftype, fid) = iprot.readFieldBegin()
15149
      if ftype == TType.STOP:
15150
        break
15151
      if fid == 1:
15152
        if ftype == TType.STRING:
15153
          self.displayName = iprot.readString();
15154
        else:
15155
          iprot.skip(ftype)
15156
      else:
15157
        iprot.skip(ftype)
15158
      iprot.readFieldEnd()
15159
    iprot.readStructEnd()
15160
 
15161
  def write(self, oprot):
15162
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15163
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15164
      return
15165
    oprot.writeStructBegin('getAllEntitiesByTagName_args')
15166
    if self.displayName is not None:
15167
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
15168
      oprot.writeString(self.displayName)
15169
      oprot.writeFieldEnd()
15170
    oprot.writeFieldStop()
15171
    oprot.writeStructEnd()
15172
 
15173
  def validate(self):
15174
    return
15175
 
15176
 
15177
  def __repr__(self):
15178
    L = ['%s=%r' % (key, value)
15179
      for key, value in self.__dict__.iteritems()]
15180
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15181
 
15182
  def __eq__(self, other):
15183
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15184
 
15185
  def __ne__(self, other):
15186
    return not (self == other)
15187
 
15188
class getAllEntitiesByTagName_result:
15189
  """
15190
  Attributes:
15191
   - success
15192
  """
15193
 
15194
  thrift_spec = (
15195
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
15196
  )
15197
 
15198
  def __init__(self, success=None,):
15199
    self.success = success
15200
 
15201
  def read(self, iprot):
15202
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15203
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15204
      return
15205
    iprot.readStructBegin()
15206
    while True:
15207
      (fname, ftype, fid) = iprot.readFieldBegin()
15208
      if ftype == TType.STOP:
15209
        break
15210
      if fid == 0:
15211
        if ftype == TType.LIST:
15212
          self.success = []
13493 amit.gupta 15213
          (_etype200, _size197) = iprot.readListBegin()
15214
          for _i201 in xrange(_size197):
15215
            _elem202 = iprot.readI64();
15216
            self.success.append(_elem202)
6512 kshitij.so 15217
          iprot.readListEnd()
15218
        else:
15219
          iprot.skip(ftype)
15220
      else:
15221
        iprot.skip(ftype)
15222
      iprot.readFieldEnd()
15223
    iprot.readStructEnd()
15224
 
15225
  def write(self, oprot):
15226
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15227
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15228
      return
15229
    oprot.writeStructBegin('getAllEntitiesByTagName_result')
15230
    if self.success is not None:
15231
      oprot.writeFieldBegin('success', TType.LIST, 0)
15232
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 15233
      for iter203 in self.success:
15234
        oprot.writeI64(iter203)
6512 kshitij.so 15235
      oprot.writeListEnd()
15236
      oprot.writeFieldEnd()
15237
    oprot.writeFieldStop()
15238
    oprot.writeStructEnd()
15239
 
15240
  def validate(self):
15241
    return
15242
 
15243
 
15244
  def __repr__(self):
15245
    L = ['%s=%r' % (key, value)
15246
      for key, value in self.__dict__.iteritems()]
15247
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15248
 
15249
  def __eq__(self, other):
15250
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15251
 
15252
  def __ne__(self, other):
15253
    return not (self == other)
15254
 
6845 amit.gupta 15255
class getAllEntityTags_args:
15256
 
15257
  thrift_spec = (
15258
  )
15259
 
15260
  def read(self, iprot):
15261
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15262
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15263
      return
15264
    iprot.readStructBegin()
15265
    while True:
15266
      (fname, ftype, fid) = iprot.readFieldBegin()
15267
      if ftype == TType.STOP:
15268
        break
15269
      else:
15270
        iprot.skip(ftype)
15271
      iprot.readFieldEnd()
15272
    iprot.readStructEnd()
15273
 
15274
  def write(self, oprot):
15275
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15276
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15277
      return
15278
    oprot.writeStructBegin('getAllEntityTags_args')
15279
    oprot.writeFieldStop()
15280
    oprot.writeStructEnd()
15281
 
15282
  def validate(self):
15283
    return
15284
 
15285
 
15286
  def __repr__(self):
15287
    L = ['%s=%r' % (key, value)
15288
      for key, value in self.__dict__.iteritems()]
15289
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15290
 
15291
  def __eq__(self, other):
15292
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15293
 
15294
  def __ne__(self, other):
15295
    return not (self == other)
15296
 
15297
class getAllEntityTags_result:
15298
  """
15299
  Attributes:
15300
   - success
15301
  """
15302
 
15303
  thrift_spec = (
15304
    (0, TType.MAP, 'success', (TType.I64,None,TType.LIST,(TType.STRING,None)), None, ), # 0
15305
  )
15306
 
15307
  def __init__(self, success=None,):
15308
    self.success = success
15309
 
15310
  def read(self, iprot):
15311
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15312
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15313
      return
15314
    iprot.readStructBegin()
15315
    while True:
15316
      (fname, ftype, fid) = iprot.readFieldBegin()
15317
      if ftype == TType.STOP:
15318
        break
15319
      if fid == 0:
15320
        if ftype == TType.MAP:
15321
          self.success = {}
13493 amit.gupta 15322
          (_ktype205, _vtype206, _size204 ) = iprot.readMapBegin() 
15323
          for _i208 in xrange(_size204):
15324
            _key209 = iprot.readI64();
15325
            _val210 = []
15326
            (_etype214, _size211) = iprot.readListBegin()
15327
            for _i215 in xrange(_size211):
15328
              _elem216 = iprot.readString();
15329
              _val210.append(_elem216)
6845 amit.gupta 15330
            iprot.readListEnd()
13493 amit.gupta 15331
            self.success[_key209] = _val210
6845 amit.gupta 15332
          iprot.readMapEnd()
15333
        else:
15334
          iprot.skip(ftype)
15335
      else:
15336
        iprot.skip(ftype)
15337
      iprot.readFieldEnd()
15338
    iprot.readStructEnd()
15339
 
15340
  def write(self, oprot):
15341
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15342
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15343
      return
15344
    oprot.writeStructBegin('getAllEntityTags_result')
15345
    if self.success is not None:
15346
      oprot.writeFieldBegin('success', TType.MAP, 0)
15347
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.success))
13493 amit.gupta 15348
      for kiter217,viter218 in self.success.items():
15349
        oprot.writeI64(kiter217)
15350
        oprot.writeListBegin(TType.STRING, len(viter218))
15351
        for iter219 in viter218:
15352
          oprot.writeString(iter219)
6845 amit.gupta 15353
        oprot.writeListEnd()
15354
      oprot.writeMapEnd()
15355
      oprot.writeFieldEnd()
15356
    oprot.writeFieldStop()
15357
    oprot.writeStructEnd()
15358
 
15359
  def validate(self):
15360
    return
15361
 
15362
 
15363
  def __repr__(self):
15364
    L = ['%s=%r' % (key, value)
15365
      for key, value in self.__dict__.iteritems()]
15366
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15367
 
15368
  def __eq__(self, other):
15369
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15370
 
15371
  def __ne__(self, other):
15372
    return not (self == other)
15373
 
6850 kshitij.so 15374
class addBanner_args:
15375
  """
15376
  Attributes:
8590 kshitij.so 15377
   - bannerCongregate
6850 kshitij.so 15378
  """
15379
 
15380
  thrift_spec = (
15381
    None, # 0
8590 kshitij.so 15382
    (1, TType.STRUCT, 'bannerCongregate', (BannerCongregate, BannerCongregate.thrift_spec), None, ), # 1
6850 kshitij.so 15383
  )
15384
 
8590 kshitij.so 15385
  def __init__(self, bannerCongregate=None,):
15386
    self.bannerCongregate = bannerCongregate
6850 kshitij.so 15387
 
15388
  def read(self, iprot):
15389
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15390
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15391
      return
15392
    iprot.readStructBegin()
15393
    while True:
15394
      (fname, ftype, fid) = iprot.readFieldBegin()
15395
      if ftype == TType.STOP:
15396
        break
15397
      if fid == 1:
8579 kshitij.so 15398
        if ftype == TType.STRUCT:
8590 kshitij.so 15399
          self.bannerCongregate = BannerCongregate()
15400
          self.bannerCongregate.read(iprot)
6850 kshitij.so 15401
        else:
15402
          iprot.skip(ftype)
8579 kshitij.so 15403
      else:
15404
        iprot.skip(ftype)
15405
      iprot.readFieldEnd()
15406
    iprot.readStructEnd()
15407
 
15408
  def write(self, oprot):
15409
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15410
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15411
      return
15412
    oprot.writeStructBegin('addBanner_args')
8590 kshitij.so 15413
    if self.bannerCongregate is not None:
15414
      oprot.writeFieldBegin('bannerCongregate', TType.STRUCT, 1)
15415
      self.bannerCongregate.write(oprot)
8579 kshitij.so 15416
      oprot.writeFieldEnd()
15417
    oprot.writeFieldStop()
15418
    oprot.writeStructEnd()
15419
 
15420
  def validate(self):
15421
    return
15422
 
15423
 
15424
  def __repr__(self):
15425
    L = ['%s=%r' % (key, value)
15426
      for key, value in self.__dict__.iteritems()]
15427
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15428
 
15429
  def __eq__(self, other):
15430
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15431
 
15432
  def __ne__(self, other):
15433
    return not (self == other)
15434
 
15435
class addBanner_result:
10097 kshitij.so 15436
  """
15437
  Attributes:
15438
   - success
15439
  """
8579 kshitij.so 15440
 
15441
  thrift_spec = (
10097 kshitij.so 15442
    (0, TType.BOOL, 'success', None, None, ), # 0
8579 kshitij.so 15443
  )
15444
 
10097 kshitij.so 15445
  def __init__(self, success=None,):
15446
    self.success = success
15447
 
8579 kshitij.so 15448
  def read(self, iprot):
15449
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15450
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15451
      return
15452
    iprot.readStructBegin()
15453
    while True:
15454
      (fname, ftype, fid) = iprot.readFieldBegin()
15455
      if ftype == TType.STOP:
15456
        break
10097 kshitij.so 15457
      if fid == 0:
15458
        if ftype == TType.BOOL:
15459
          self.success = iprot.readBool();
15460
        else:
15461
          iprot.skip(ftype)
8579 kshitij.so 15462
      else:
15463
        iprot.skip(ftype)
15464
      iprot.readFieldEnd()
15465
    iprot.readStructEnd()
15466
 
15467
  def write(self, oprot):
15468
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15469
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15470
      return
15471
    oprot.writeStructBegin('addBanner_result')
10097 kshitij.so 15472
    if self.success is not None:
15473
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15474
      oprot.writeBool(self.success)
15475
      oprot.writeFieldEnd()
8579 kshitij.so 15476
    oprot.writeFieldStop()
15477
    oprot.writeStructEnd()
15478
 
15479
  def validate(self):
15480
    return
15481
 
15482
 
15483
  def __repr__(self):
15484
    L = ['%s=%r' % (key, value)
15485
      for key, value in self.__dict__.iteritems()]
15486
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15487
 
15488
  def __eq__(self, other):
15489
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15490
 
15491
  def __ne__(self, other):
15492
    return not (self == other)
15493
 
15494
class updateBanner_args:
15495
  """
15496
  Attributes:
15497
   - banner
15498
  """
15499
 
15500
  thrift_spec = (
15501
    None, # 0
15502
    (1, TType.STRUCT, 'banner', (Banner, Banner.thrift_spec), None, ), # 1
15503
  )
15504
 
15505
  def __init__(self, banner=None,):
15506
    self.banner = banner
15507
 
15508
  def read(self, iprot):
15509
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15510
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15511
      return
15512
    iprot.readStructBegin()
15513
    while True:
15514
      (fname, ftype, fid) = iprot.readFieldBegin()
15515
      if ftype == TType.STOP:
15516
        break
15517
      if fid == 1:
15518
        if ftype == TType.STRUCT:
15519
          self.banner = Banner()
15520
          self.banner.read(iprot)
6850 kshitij.so 15521
        else:
15522
          iprot.skip(ftype)
15523
      else:
15524
        iprot.skip(ftype)
15525
      iprot.readFieldEnd()
15526
    iprot.readStructEnd()
15527
 
15528
  def write(self, oprot):
15529
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15530
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15531
      return
8579 kshitij.so 15532
    oprot.writeStructBegin('updateBanner_args')
15533
    if self.banner is not None:
15534
      oprot.writeFieldBegin('banner', TType.STRUCT, 1)
15535
      self.banner.write(oprot)
6850 kshitij.so 15536
      oprot.writeFieldEnd()
15537
    oprot.writeFieldStop()
15538
    oprot.writeStructEnd()
15539
 
15540
  def validate(self):
15541
    return
15542
 
15543
 
15544
  def __repr__(self):
15545
    L = ['%s=%r' % (key, value)
15546
      for key, value in self.__dict__.iteritems()]
15547
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15548
 
15549
  def __eq__(self, other):
15550
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15551
 
15552
  def __ne__(self, other):
15553
    return not (self == other)
15554
 
8579 kshitij.so 15555
class updateBanner_result:
6850 kshitij.so 15556
  """
15557
  Attributes:
15558
   - success
15559
  """
15560
 
15561
  thrift_spec = (
15562
    (0, TType.BOOL, 'success', None, None, ), # 0
15563
  )
15564
 
15565
  def __init__(self, success=None,):
15566
    self.success = success
15567
 
15568
  def read(self, iprot):
15569
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15570
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15571
      return
15572
    iprot.readStructBegin()
15573
    while True:
15574
      (fname, ftype, fid) = iprot.readFieldBegin()
15575
      if ftype == TType.STOP:
15576
        break
15577
      if fid == 0:
15578
        if ftype == TType.BOOL:
15579
          self.success = iprot.readBool();
15580
        else:
15581
          iprot.skip(ftype)
15582
      else:
15583
        iprot.skip(ftype)
15584
      iprot.readFieldEnd()
15585
    iprot.readStructEnd()
15586
 
15587
  def write(self, oprot):
15588
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15589
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15590
      return
8579 kshitij.so 15591
    oprot.writeStructBegin('updateBanner_result')
6850 kshitij.so 15592
    if self.success is not None:
15593
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15594
      oprot.writeBool(self.success)
15595
      oprot.writeFieldEnd()
15596
    oprot.writeFieldStop()
15597
    oprot.writeStructEnd()
15598
 
15599
  def validate(self):
15600
    return
15601
 
15602
 
15603
  def __repr__(self):
15604
    L = ['%s=%r' % (key, value)
15605
      for key, value in self.__dict__.iteritems()]
15606
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15607
 
15608
  def __eq__(self, other):
15609
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15610
 
15611
  def __ne__(self, other):
15612
    return not (self == other)
15613
 
15614
class getAllBanners_args:
15615
 
15616
  thrift_spec = (
15617
  )
15618
 
15619
  def read(self, iprot):
15620
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15621
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15622
      return
15623
    iprot.readStructBegin()
15624
    while True:
15625
      (fname, ftype, fid) = iprot.readFieldBegin()
15626
      if ftype == TType.STOP:
15627
        break
15628
      else:
15629
        iprot.skip(ftype)
15630
      iprot.readFieldEnd()
15631
    iprot.readStructEnd()
15632
 
15633
  def write(self, oprot):
15634
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15635
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15636
      return
15637
    oprot.writeStructBegin('getAllBanners_args')
15638
    oprot.writeFieldStop()
15639
    oprot.writeStructEnd()
15640
 
15641
  def validate(self):
15642
    return
15643
 
15644
 
15645
  def __repr__(self):
15646
    L = ['%s=%r' % (key, value)
15647
      for key, value in self.__dict__.iteritems()]
15648
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15649
 
15650
  def __eq__(self, other):
15651
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15652
 
15653
  def __ne__(self, other):
15654
    return not (self == other)
15655
 
15656
class getAllBanners_result:
15657
  """
15658
  Attributes:
15659
   - success
15660
  """
15661
 
15662
  thrift_spec = (
8579 kshitij.so 15663
    (0, TType.LIST, 'success', (TType.STRUCT,(Banner, Banner.thrift_spec)), None, ), # 0
6850 kshitij.so 15664
  )
15665
 
15666
  def __init__(self, success=None,):
15667
    self.success = success
15668
 
15669
  def read(self, iprot):
15670
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15671
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15672
      return
15673
    iprot.readStructBegin()
15674
    while True:
15675
      (fname, ftype, fid) = iprot.readFieldBegin()
15676
      if ftype == TType.STOP:
15677
        break
15678
      if fid == 0:
15679
        if ftype == TType.LIST:
15680
          self.success = []
13493 amit.gupta 15681
          (_etype223, _size220) = iprot.readListBegin()
15682
          for _i224 in xrange(_size220):
15683
            _elem225 = Banner()
15684
            _elem225.read(iprot)
15685
            self.success.append(_elem225)
6850 kshitij.so 15686
          iprot.readListEnd()
15687
        else:
15688
          iprot.skip(ftype)
15689
      else:
15690
        iprot.skip(ftype)
15691
      iprot.readFieldEnd()
15692
    iprot.readStructEnd()
15693
 
15694
  def write(self, oprot):
15695
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15696
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15697
      return
15698
    oprot.writeStructBegin('getAllBanners_result')
15699
    if self.success is not None:
15700
      oprot.writeFieldBegin('success', TType.LIST, 0)
8579 kshitij.so 15701
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 15702
      for iter226 in self.success:
15703
        iter226.write(oprot)
6850 kshitij.so 15704
      oprot.writeListEnd()
15705
      oprot.writeFieldEnd()
15706
    oprot.writeFieldStop()
15707
    oprot.writeStructEnd()
15708
 
15709
  def validate(self):
15710
    return
15711
 
15712
 
15713
  def __repr__(self):
15714
    L = ['%s=%r' % (key, value)
15715
      for key, value in self.__dict__.iteritems()]
15716
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15717
 
15718
  def __eq__(self, other):
15719
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15720
 
15721
  def __ne__(self, other):
15722
    return not (self == other)
15723
 
15724
class deleteBanner_args:
15725
  """
15726
  Attributes:
15727
   - bannerName
9155 kshitij.so 15728
   - bannerType
6850 kshitij.so 15729
  """
15730
 
15731
  thrift_spec = (
15732
    None, # 0
15733
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 15734
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 15735
  )
15736
 
9155 kshitij.so 15737
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 15738
    self.bannerName = bannerName
9155 kshitij.so 15739
    self.bannerType = bannerType
6850 kshitij.so 15740
 
15741
  def read(self, iprot):
15742
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15743
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15744
      return
15745
    iprot.readStructBegin()
15746
    while True:
15747
      (fname, ftype, fid) = iprot.readFieldBegin()
15748
      if ftype == TType.STOP:
15749
        break
15750
      if fid == 1:
15751
        if ftype == TType.STRING:
15752
          self.bannerName = iprot.readString();
15753
        else:
15754
          iprot.skip(ftype)
9155 kshitij.so 15755
      elif fid == 2:
15756
        if ftype == TType.I32:
15757
          self.bannerType = iprot.readI32();
15758
        else:
15759
          iprot.skip(ftype)
6850 kshitij.so 15760
      else:
15761
        iprot.skip(ftype)
15762
      iprot.readFieldEnd()
15763
    iprot.readStructEnd()
15764
 
15765
  def write(self, oprot):
15766
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15767
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15768
      return
15769
    oprot.writeStructBegin('deleteBanner_args')
15770
    if self.bannerName is not None:
15771
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15772
      oprot.writeString(self.bannerName)
15773
      oprot.writeFieldEnd()
9155 kshitij.so 15774
    if self.bannerType is not None:
15775
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
15776
      oprot.writeI32(self.bannerType)
15777
      oprot.writeFieldEnd()
6850 kshitij.so 15778
    oprot.writeFieldStop()
15779
    oprot.writeStructEnd()
15780
 
15781
  def validate(self):
15782
    return
15783
 
15784
 
15785
  def __repr__(self):
15786
    L = ['%s=%r' % (key, value)
15787
      for key, value in self.__dict__.iteritems()]
15788
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15789
 
15790
  def __eq__(self, other):
15791
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15792
 
15793
  def __ne__(self, other):
15794
    return not (self == other)
15795
 
15796
class deleteBanner_result:
15797
  """
15798
  Attributes:
15799
   - success
15800
  """
15801
 
15802
  thrift_spec = (
15803
    (0, TType.BOOL, 'success', None, None, ), # 0
15804
  )
15805
 
15806
  def __init__(self, success=None,):
15807
    self.success = success
15808
 
15809
  def read(self, iprot):
15810
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15811
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15812
      return
15813
    iprot.readStructBegin()
15814
    while True:
15815
      (fname, ftype, fid) = iprot.readFieldBegin()
15816
      if ftype == TType.STOP:
15817
        break
15818
      if fid == 0:
15819
        if ftype == TType.BOOL:
15820
          self.success = iprot.readBool();
15821
        else:
15822
          iprot.skip(ftype)
15823
      else:
15824
        iprot.skip(ftype)
15825
      iprot.readFieldEnd()
15826
    iprot.readStructEnd()
15827
 
15828
  def write(self, oprot):
15829
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15830
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15831
      return
15832
    oprot.writeStructBegin('deleteBanner_result')
15833
    if self.success is not None:
15834
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15835
      oprot.writeBool(self.success)
15836
      oprot.writeFieldEnd()
15837
    oprot.writeFieldStop()
15838
    oprot.writeStructEnd()
15839
 
15840
  def validate(self):
15841
    return
15842
 
15843
 
15844
  def __repr__(self):
15845
    L = ['%s=%r' % (key, value)
15846
      for key, value in self.__dict__.iteritems()]
15847
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15848
 
15849
  def __eq__(self, other):
15850
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15851
 
15852
  def __ne__(self, other):
15853
    return not (self == other)
15854
 
15855
class getBannerDetails_args:
15856
  """
15857
  Attributes:
15858
   - bannerName
9155 kshitij.so 15859
   - bannerType
6850 kshitij.so 15860
  """
15861
 
15862
  thrift_spec = (
15863
    None, # 0
15864
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 15865
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 15866
  )
15867
 
9155 kshitij.so 15868
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 15869
    self.bannerName = bannerName
9155 kshitij.so 15870
    self.bannerType = bannerType
6850 kshitij.so 15871
 
15872
  def read(self, iprot):
15873
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15874
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15875
      return
15876
    iprot.readStructBegin()
15877
    while True:
15878
      (fname, ftype, fid) = iprot.readFieldBegin()
15879
      if ftype == TType.STOP:
15880
        break
15881
      if fid == 1:
15882
        if ftype == TType.STRING:
15883
          self.bannerName = iprot.readString();
15884
        else:
15885
          iprot.skip(ftype)
9155 kshitij.so 15886
      elif fid == 2:
15887
        if ftype == TType.I32:
15888
          self.bannerType = iprot.readI32();
15889
        else:
15890
          iprot.skip(ftype)
6850 kshitij.so 15891
      else:
15892
        iprot.skip(ftype)
15893
      iprot.readFieldEnd()
15894
    iprot.readStructEnd()
15895
 
15896
  def write(self, oprot):
15897
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15898
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15899
      return
15900
    oprot.writeStructBegin('getBannerDetails_args')
15901
    if self.bannerName is not None:
15902
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15903
      oprot.writeString(self.bannerName)
15904
      oprot.writeFieldEnd()
9155 kshitij.so 15905
    if self.bannerType is not None:
15906
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
15907
      oprot.writeI32(self.bannerType)
15908
      oprot.writeFieldEnd()
6850 kshitij.so 15909
    oprot.writeFieldStop()
15910
    oprot.writeStructEnd()
15911
 
15912
  def validate(self):
15913
    return
15914
 
15915
 
15916
  def __repr__(self):
15917
    L = ['%s=%r' % (key, value)
15918
      for key, value in self.__dict__.iteritems()]
15919
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15920
 
15921
  def __eq__(self, other):
15922
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15923
 
15924
  def __ne__(self, other):
15925
    return not (self == other)
15926
 
15927
class getBannerDetails_result:
15928
  """
15929
  Attributes:
15930
   - success
15931
  """
15932
 
15933
  thrift_spec = (
15934
    (0, TType.STRUCT, 'success', (Banner, Banner.thrift_spec), None, ), # 0
15935
  )
15936
 
15937
  def __init__(self, success=None,):
15938
    self.success = success
15939
 
15940
  def read(self, iprot):
15941
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15942
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15943
      return
15944
    iprot.readStructBegin()
15945
    while True:
15946
      (fname, ftype, fid) = iprot.readFieldBegin()
15947
      if ftype == TType.STOP:
15948
        break
15949
      if fid == 0:
15950
        if ftype == TType.STRUCT:
15951
          self.success = Banner()
15952
          self.success.read(iprot)
15953
        else:
15954
          iprot.skip(ftype)
15955
      else:
15956
        iprot.skip(ftype)
15957
      iprot.readFieldEnd()
15958
    iprot.readStructEnd()
15959
 
15960
  def write(self, oprot):
15961
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15962
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15963
      return
15964
    oprot.writeStructBegin('getBannerDetails_result')
15965
    if self.success is not None:
15966
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
15967
      self.success.write(oprot)
15968
      oprot.writeFieldEnd()
15969
    oprot.writeFieldStop()
15970
    oprot.writeStructEnd()
15971
 
15972
  def validate(self):
15973
    return
15974
 
15975
 
15976
  def __repr__(self):
15977
    L = ['%s=%r' % (key, value)
15978
      for key, value in self.__dict__.iteritems()]
15979
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15980
 
15981
  def __eq__(self, other):
15982
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15983
 
15984
  def __ne__(self, other):
15985
    return not (self == other)
15986
 
15987
class getActiveBanners_args:
15988
 
15989
  thrift_spec = (
15990
  )
15991
 
15992
  def read(self, iprot):
15993
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15994
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15995
      return
15996
    iprot.readStructBegin()
15997
    while True:
15998
      (fname, ftype, fid) = iprot.readFieldBegin()
15999
      if ftype == TType.STOP:
16000
        break
16001
      else:
16002
        iprot.skip(ftype)
16003
      iprot.readFieldEnd()
16004
    iprot.readStructEnd()
16005
 
16006
  def write(self, oprot):
16007
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16008
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16009
      return
16010
    oprot.writeStructBegin('getActiveBanners_args')
16011
    oprot.writeFieldStop()
16012
    oprot.writeStructEnd()
16013
 
16014
  def validate(self):
16015
    return
16016
 
16017
 
16018
  def __repr__(self):
16019
    L = ['%s=%r' % (key, value)
16020
      for key, value in self.__dict__.iteritems()]
16021
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16022
 
16023
  def __eq__(self, other):
16024
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16025
 
16026
  def __ne__(self, other):
16027
    return not (self == other)
16028
 
16029
class getActiveBanners_result:
16030
  """
16031
  Attributes:
16032
   - success
16033
  """
16034
 
16035
  thrift_spec = (
8579 kshitij.so 16036
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
6850 kshitij.so 16037
  )
16038
 
16039
  def __init__(self, success=None,):
16040
    self.success = success
16041
 
16042
  def read(self, iprot):
16043
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16044
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16045
      return
16046
    iprot.readStructBegin()
16047
    while True:
16048
      (fname, ftype, fid) = iprot.readFieldBegin()
16049
      if ftype == TType.STOP:
16050
        break
16051
      if fid == 0:
8579 kshitij.so 16052
        if ftype == TType.MAP:
16053
          self.success = {}
13493 amit.gupta 16054
          (_ktype228, _vtype229, _size227 ) = iprot.readMapBegin() 
16055
          for _i231 in xrange(_size227):
16056
            _key232 = iprot.readString();
16057
            _val233 = []
16058
            (_etype237, _size234) = iprot.readListBegin()
16059
            for _i238 in xrange(_size234):
16060
              _elem239 = Banner()
16061
              _elem239.read(iprot)
16062
              _val233.append(_elem239)
8579 kshitij.so 16063
            iprot.readListEnd()
13493 amit.gupta 16064
            self.success[_key232] = _val233
8579 kshitij.so 16065
          iprot.readMapEnd()
6850 kshitij.so 16066
        else:
16067
          iprot.skip(ftype)
16068
      else:
16069
        iprot.skip(ftype)
16070
      iprot.readFieldEnd()
16071
    iprot.readStructEnd()
16072
 
16073
  def write(self, oprot):
16074
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16075
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16076
      return
16077
    oprot.writeStructBegin('getActiveBanners_result')
16078
    if self.success is not None:
8579 kshitij.so 16079
      oprot.writeFieldBegin('success', TType.MAP, 0)
16080
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
13493 amit.gupta 16081
      for kiter240,viter241 in self.success.items():
16082
        oprot.writeString(kiter240)
16083
        oprot.writeListBegin(TType.STRUCT, len(viter241))
16084
        for iter242 in viter241:
16085
          iter242.write(oprot)
8579 kshitij.so 16086
        oprot.writeListEnd()
16087
      oprot.writeMapEnd()
6850 kshitij.so 16088
      oprot.writeFieldEnd()
16089
    oprot.writeFieldStop()
16090
    oprot.writeStructEnd()
16091
 
16092
  def validate(self):
16093
    return
16094
 
16095
 
16096
  def __repr__(self):
16097
    L = ['%s=%r' % (key, value)
16098
      for key, value in self.__dict__.iteritems()]
16099
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16100
 
16101
  def __eq__(self, other):
16102
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16103
 
16104
  def __ne__(self, other):
16105
    return not (self == other)
16106
 
6849 kshitij.so 16107
class addBannerMap_args:
16108
  """
16109
  Attributes:
8579 kshitij.so 16110
   - bannerMaps
6849 kshitij.so 16111
  """
16112
 
16113
  thrift_spec = (
16114
    None, # 0
8579 kshitij.so 16115
    (1, TType.LIST, 'bannerMaps', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 1
6849 kshitij.so 16116
  )
16117
 
8579 kshitij.so 16118
  def __init__(self, bannerMaps=None,):
16119
    self.bannerMaps = bannerMaps
6849 kshitij.so 16120
 
16121
  def read(self, iprot):
16122
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16123
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16124
      return
16125
    iprot.readStructBegin()
16126
    while True:
16127
      (fname, ftype, fid) = iprot.readFieldBegin()
16128
      if ftype == TType.STOP:
16129
        break
16130
      if fid == 1:
8579 kshitij.so 16131
        if ftype == TType.LIST:
16132
          self.bannerMaps = []
13493 amit.gupta 16133
          (_etype246, _size243) = iprot.readListBegin()
16134
          for _i247 in xrange(_size243):
16135
            _elem248 = BannerMap()
16136
            _elem248.read(iprot)
16137
            self.bannerMaps.append(_elem248)
8579 kshitij.so 16138
          iprot.readListEnd()
6849 kshitij.so 16139
        else:
16140
          iprot.skip(ftype)
8579 kshitij.so 16141
      else:
16142
        iprot.skip(ftype)
16143
      iprot.readFieldEnd()
16144
    iprot.readStructEnd()
16145
 
16146
  def write(self, oprot):
16147
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16148
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16149
      return
16150
    oprot.writeStructBegin('addBannerMap_args')
16151
    if self.bannerMaps is not None:
16152
      oprot.writeFieldBegin('bannerMaps', TType.LIST, 1)
16153
      oprot.writeListBegin(TType.STRUCT, len(self.bannerMaps))
13493 amit.gupta 16154
      for iter249 in self.bannerMaps:
16155
        iter249.write(oprot)
8579 kshitij.so 16156
      oprot.writeListEnd()
16157
      oprot.writeFieldEnd()
16158
    oprot.writeFieldStop()
16159
    oprot.writeStructEnd()
16160
 
16161
  def validate(self):
16162
    return
16163
 
16164
 
16165
  def __repr__(self):
16166
    L = ['%s=%r' % (key, value)
16167
      for key, value in self.__dict__.iteritems()]
16168
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16169
 
16170
  def __eq__(self, other):
16171
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16172
 
16173
  def __ne__(self, other):
16174
    return not (self == other)
16175
 
16176
class addBannerMap_result:
16177
  """
16178
  Attributes:
16179
   - success
16180
  """
16181
 
16182
  thrift_spec = (
16183
    (0, TType.BOOL, 'success', None, None, ), # 0
16184
  )
16185
 
16186
  def __init__(self, success=None,):
16187
    self.success = success
16188
 
16189
  def read(self, iprot):
16190
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16191
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16192
      return
16193
    iprot.readStructBegin()
16194
    while True:
16195
      (fname, ftype, fid) = iprot.readFieldBegin()
16196
      if ftype == TType.STOP:
16197
        break
16198
      if fid == 0:
16199
        if ftype == TType.BOOL:
16200
          self.success = iprot.readBool();
6849 kshitij.so 16201
        else:
16202
          iprot.skip(ftype)
8579 kshitij.so 16203
      else:
16204
        iprot.skip(ftype)
16205
      iprot.readFieldEnd()
16206
    iprot.readStructEnd()
16207
 
16208
  def write(self, oprot):
16209
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16210
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16211
      return
16212
    oprot.writeStructBegin('addBannerMap_result')
16213
    if self.success is not None:
16214
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16215
      oprot.writeBool(self.success)
16216
      oprot.writeFieldEnd()
16217
    oprot.writeFieldStop()
16218
    oprot.writeStructEnd()
16219
 
16220
  def validate(self):
16221
    return
16222
 
16223
 
16224
  def __repr__(self):
16225
    L = ['%s=%r' % (key, value)
16226
      for key, value in self.__dict__.iteritems()]
16227
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16228
 
16229
  def __eq__(self, other):
16230
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16231
 
16232
  def __ne__(self, other):
16233
    return not (self == other)
16234
 
16235
class updateBannerMap_args:
16236
  """
16237
  Attributes:
16238
   - bannerMap
16239
  """
16240
 
16241
  thrift_spec = (
16242
    None, # 0
16243
    (1, TType.STRUCT, 'bannerMap', (BannerMap, BannerMap.thrift_spec), None, ), # 1
16244
  )
16245
 
16246
  def __init__(self, bannerMap=None,):
16247
    self.bannerMap = bannerMap
16248
 
16249
  def read(self, iprot):
16250
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16251
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16252
      return
16253
    iprot.readStructBegin()
16254
    while True:
16255
      (fname, ftype, fid) = iprot.readFieldBegin()
16256
      if ftype == TType.STOP:
16257
        break
16258
      if fid == 1:
16259
        if ftype == TType.STRUCT:
16260
          self.bannerMap = BannerMap()
16261
          self.bannerMap.read(iprot)
6849 kshitij.so 16262
        else:
16263
          iprot.skip(ftype)
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
8579 kshitij.so 16273
    oprot.writeStructBegin('updateBannerMap_args')
16274
    if self.bannerMap is not None:
16275
      oprot.writeFieldBegin('bannerMap', TType.STRUCT, 1)
16276
      self.bannerMap.write(oprot)
6849 kshitij.so 16277
      oprot.writeFieldEnd()
16278
    oprot.writeFieldStop()
16279
    oprot.writeStructEnd()
16280
 
16281
  def validate(self):
16282
    return
16283
 
16284
 
16285
  def __repr__(self):
16286
    L = ['%s=%r' % (key, value)
16287
      for key, value in self.__dict__.iteritems()]
16288
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16289
 
16290
  def __eq__(self, other):
16291
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16292
 
16293
  def __ne__(self, other):
16294
    return not (self == other)
16295
 
8579 kshitij.so 16296
class updateBannerMap_result:
6849 kshitij.so 16297
  """
16298
  Attributes:
16299
   - success
16300
  """
16301
 
16302
  thrift_spec = (
16303
    (0, TType.BOOL, 'success', None, None, ), # 0
16304
  )
16305
 
16306
  def __init__(self, success=None,):
16307
    self.success = success
16308
 
16309
  def read(self, iprot):
16310
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16311
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16312
      return
16313
    iprot.readStructBegin()
16314
    while True:
16315
      (fname, ftype, fid) = iprot.readFieldBegin()
16316
      if ftype == TType.STOP:
16317
        break
16318
      if fid == 0:
16319
        if ftype == TType.BOOL:
16320
          self.success = iprot.readBool();
16321
        else:
16322
          iprot.skip(ftype)
16323
      else:
16324
        iprot.skip(ftype)
16325
      iprot.readFieldEnd()
16326
    iprot.readStructEnd()
16327
 
16328
  def write(self, oprot):
16329
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16330
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16331
      return
8579 kshitij.so 16332
    oprot.writeStructBegin('updateBannerMap_result')
6849 kshitij.so 16333
    if self.success is not None:
16334
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16335
      oprot.writeBool(self.success)
16336
      oprot.writeFieldEnd()
16337
    oprot.writeFieldStop()
16338
    oprot.writeStructEnd()
16339
 
16340
  def validate(self):
16341
    return
16342
 
16343
 
16344
  def __repr__(self):
16345
    L = ['%s=%r' % (key, value)
16346
      for key, value in self.__dict__.iteritems()]
16347
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16348
 
16349
  def __eq__(self, other):
16350
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16351
 
16352
  def __ne__(self, other):
16353
    return not (self == other)
16354
 
16355
class deleteBannerMap_args:
16356
  """
16357
  Attributes:
16358
   - bannerName
16359
  """
16360
 
16361
  thrift_spec = (
16362
    None, # 0
16363
    (1, TType.STRING, 'bannerName', None, None, ), # 1
16364
  )
16365
 
16366
  def __init__(self, bannerName=None,):
16367
    self.bannerName = bannerName
16368
 
16369
  def read(self, iprot):
16370
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16371
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16372
      return
16373
    iprot.readStructBegin()
16374
    while True:
16375
      (fname, ftype, fid) = iprot.readFieldBegin()
16376
      if ftype == TType.STOP:
16377
        break
16378
      if fid == 1:
16379
        if ftype == TType.STRING:
16380
          self.bannerName = iprot.readString();
16381
        else:
16382
          iprot.skip(ftype)
16383
      else:
16384
        iprot.skip(ftype)
16385
      iprot.readFieldEnd()
16386
    iprot.readStructEnd()
16387
 
16388
  def write(self, oprot):
16389
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16390
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16391
      return
16392
    oprot.writeStructBegin('deleteBannerMap_args')
16393
    if self.bannerName is not None:
16394
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16395
      oprot.writeString(self.bannerName)
16396
      oprot.writeFieldEnd()
16397
    oprot.writeFieldStop()
16398
    oprot.writeStructEnd()
16399
 
16400
  def validate(self):
16401
    return
16402
 
16403
 
16404
  def __repr__(self):
16405
    L = ['%s=%r' % (key, value)
16406
      for key, value in self.__dict__.iteritems()]
16407
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16408
 
16409
  def __eq__(self, other):
16410
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16411
 
16412
  def __ne__(self, other):
16413
    return not (self == other)
16414
 
16415
class deleteBannerMap_result:
16416
  """
16417
  Attributes:
16418
   - success
16419
  """
16420
 
16421
  thrift_spec = (
16422
    (0, TType.BOOL, 'success', None, None, ), # 0
16423
  )
16424
 
16425
  def __init__(self, success=None,):
16426
    self.success = success
16427
 
16428
  def read(self, iprot):
16429
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16430
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16431
      return
16432
    iprot.readStructBegin()
16433
    while True:
16434
      (fname, ftype, fid) = iprot.readFieldBegin()
16435
      if ftype == TType.STOP:
16436
        break
16437
      if fid == 0:
16438
        if ftype == TType.BOOL:
16439
          self.success = iprot.readBool();
16440
        else:
16441
          iprot.skip(ftype)
16442
      else:
16443
        iprot.skip(ftype)
16444
      iprot.readFieldEnd()
16445
    iprot.readStructEnd()
16446
 
16447
  def write(self, oprot):
16448
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16449
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16450
      return
16451
    oprot.writeStructBegin('deleteBannerMap_result')
16452
    if self.success is not None:
16453
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16454
      oprot.writeBool(self.success)
16455
      oprot.writeFieldEnd()
16456
    oprot.writeFieldStop()
16457
    oprot.writeStructEnd()
16458
 
16459
  def validate(self):
16460
    return
16461
 
16462
 
16463
  def __repr__(self):
16464
    L = ['%s=%r' % (key, value)
16465
      for key, value in self.__dict__.iteritems()]
16466
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16467
 
16468
  def __eq__(self, other):
16469
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16470
 
16471
  def __ne__(self, other):
16472
    return not (self == other)
16473
 
16474
class getBannerMapDetails_args:
16475
  """
16476
  Attributes:
16477
   - bannerName
9155 kshitij.so 16478
   - bannerType
6849 kshitij.so 16479
  """
16480
 
16481
  thrift_spec = (
16482
    None, # 0
16483
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16484
    (2, TType.I32, 'bannerType', None, None, ), # 2
6849 kshitij.so 16485
  )
16486
 
9155 kshitij.so 16487
  def __init__(self, bannerName=None, bannerType=None,):
6849 kshitij.so 16488
    self.bannerName = bannerName
9155 kshitij.so 16489
    self.bannerType = bannerType
6849 kshitij.so 16490
 
16491
  def read(self, iprot):
16492
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16493
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16494
      return
16495
    iprot.readStructBegin()
16496
    while True:
16497
      (fname, ftype, fid) = iprot.readFieldBegin()
16498
      if ftype == TType.STOP:
16499
        break
16500
      if fid == 1:
16501
        if ftype == TType.STRING:
16502
          self.bannerName = iprot.readString();
16503
        else:
16504
          iprot.skip(ftype)
9155 kshitij.so 16505
      elif fid == 2:
16506
        if ftype == TType.I32:
16507
          self.bannerType = iprot.readI32();
16508
        else:
16509
          iprot.skip(ftype)
6849 kshitij.so 16510
      else:
16511
        iprot.skip(ftype)
16512
      iprot.readFieldEnd()
16513
    iprot.readStructEnd()
16514
 
16515
  def write(self, oprot):
16516
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16517
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16518
      return
16519
    oprot.writeStructBegin('getBannerMapDetails_args')
16520
    if self.bannerName is not None:
16521
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16522
      oprot.writeString(self.bannerName)
16523
      oprot.writeFieldEnd()
9155 kshitij.so 16524
    if self.bannerType is not None:
16525
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
16526
      oprot.writeI32(self.bannerType)
16527
      oprot.writeFieldEnd()
6849 kshitij.so 16528
    oprot.writeFieldStop()
16529
    oprot.writeStructEnd()
16530
 
16531
  def validate(self):
16532
    return
16533
 
16534
 
16535
  def __repr__(self):
16536
    L = ['%s=%r' % (key, value)
16537
      for key, value in self.__dict__.iteritems()]
16538
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16539
 
16540
  def __eq__(self, other):
16541
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16542
 
16543
  def __ne__(self, other):
16544
    return not (self == other)
16545
 
16546
class getBannerMapDetails_result:
16547
  """
16548
  Attributes:
16549
   - success
16550
  """
16551
 
16552
  thrift_spec = (
16553
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 0
16554
  )
16555
 
16556
  def __init__(self, success=None,):
16557
    self.success = success
16558
 
16559
  def read(self, iprot):
16560
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16561
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16562
      return
16563
    iprot.readStructBegin()
16564
    while True:
16565
      (fname, ftype, fid) = iprot.readFieldBegin()
16566
      if ftype == TType.STOP:
16567
        break
16568
      if fid == 0:
16569
        if ftype == TType.LIST:
16570
          self.success = []
13493 amit.gupta 16571
          (_etype253, _size250) = iprot.readListBegin()
16572
          for _i254 in xrange(_size250):
16573
            _elem255 = BannerMap()
16574
            _elem255.read(iprot)
16575
            self.success.append(_elem255)
6849 kshitij.so 16576
          iprot.readListEnd()
16577
        else:
16578
          iprot.skip(ftype)
16579
      else:
16580
        iprot.skip(ftype)
16581
      iprot.readFieldEnd()
16582
    iprot.readStructEnd()
16583
 
16584
  def write(self, oprot):
16585
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16586
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16587
      return
16588
    oprot.writeStructBegin('getBannerMapDetails_result')
16589
    if self.success is not None:
16590
      oprot.writeFieldBegin('success', TType.LIST, 0)
16591
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 16592
      for iter256 in self.success:
16593
        iter256.write(oprot)
6849 kshitij.so 16594
      oprot.writeListEnd()
16595
      oprot.writeFieldEnd()
16596
    oprot.writeFieldStop()
16597
    oprot.writeStructEnd()
16598
 
16599
  def validate(self):
16600
    return
16601
 
16602
 
16603
  def __repr__(self):
16604
    L = ['%s=%r' % (key, value)
16605
      for key, value in self.__dict__.iteritems()]
16606
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16607
 
16608
  def __eq__(self, other):
16609
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16610
 
16611
  def __ne__(self, other):
16612
    return not (self == other)
16613
 
8579 kshitij.so 16614
class addBannerUri_args:
16615
  """
16616
  Attributes:
16617
   - bannerUriMappings
16618
  """
16619
 
16620
  thrift_spec = (
16621
    None, # 0
16622
    (1, TType.LIST, 'bannerUriMappings', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 1
16623
  )
16624
 
16625
  def __init__(self, bannerUriMappings=None,):
16626
    self.bannerUriMappings = bannerUriMappings
16627
 
16628
  def read(self, iprot):
16629
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16630
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16631
      return
16632
    iprot.readStructBegin()
16633
    while True:
16634
      (fname, ftype, fid) = iprot.readFieldBegin()
16635
      if ftype == TType.STOP:
16636
        break
16637
      if fid == 1:
16638
        if ftype == TType.LIST:
16639
          self.bannerUriMappings = []
13493 amit.gupta 16640
          (_etype260, _size257) = iprot.readListBegin()
16641
          for _i261 in xrange(_size257):
16642
            _elem262 = BannerUriMapping()
16643
            _elem262.read(iprot)
16644
            self.bannerUriMappings.append(_elem262)
8579 kshitij.so 16645
          iprot.readListEnd()
16646
        else:
16647
          iprot.skip(ftype)
16648
      else:
16649
        iprot.skip(ftype)
16650
      iprot.readFieldEnd()
16651
    iprot.readStructEnd()
16652
 
16653
  def write(self, oprot):
16654
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16655
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16656
      return
16657
    oprot.writeStructBegin('addBannerUri_args')
16658
    if self.bannerUriMappings is not None:
16659
      oprot.writeFieldBegin('bannerUriMappings', TType.LIST, 1)
16660
      oprot.writeListBegin(TType.STRUCT, len(self.bannerUriMappings))
13493 amit.gupta 16661
      for iter263 in self.bannerUriMappings:
16662
        iter263.write(oprot)
8579 kshitij.so 16663
      oprot.writeListEnd()
16664
      oprot.writeFieldEnd()
16665
    oprot.writeFieldStop()
16666
    oprot.writeStructEnd()
16667
 
16668
  def validate(self):
16669
    return
16670
 
16671
 
16672
  def __repr__(self):
16673
    L = ['%s=%r' % (key, value)
16674
      for key, value in self.__dict__.iteritems()]
16675
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16676
 
16677
  def __eq__(self, other):
16678
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16679
 
16680
  def __ne__(self, other):
16681
    return not (self == other)
16682
 
16683
class addBannerUri_result:
16684
 
16685
  thrift_spec = (
16686
  )
16687
 
16688
  def read(self, iprot):
16689
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16690
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16691
      return
16692
    iprot.readStructBegin()
16693
    while True:
16694
      (fname, ftype, fid) = iprot.readFieldBegin()
16695
      if ftype == TType.STOP:
16696
        break
16697
      else:
16698
        iprot.skip(ftype)
16699
      iprot.readFieldEnd()
16700
    iprot.readStructEnd()
16701
 
16702
  def write(self, oprot):
16703
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16704
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16705
      return
16706
    oprot.writeStructBegin('addBannerUri_result')
16707
    oprot.writeFieldStop()
16708
    oprot.writeStructEnd()
16709
 
16710
  def validate(self):
16711
    return
16712
 
16713
 
16714
  def __repr__(self):
16715
    L = ['%s=%r' % (key, value)
16716
      for key, value in self.__dict__.iteritems()]
16717
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16718
 
16719
  def __eq__(self, other):
16720
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16721
 
16722
  def __ne__(self, other):
16723
    return not (self == other)
16724
 
16725
class getUriMapping_args:
16726
  """
16727
  Attributes:
16728
   - bannerName
9155 kshitij.so 16729
   - bannerType
8579 kshitij.so 16730
  """
16731
 
16732
  thrift_spec = (
16733
    None, # 0
16734
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16735
    (2, TType.I32, 'bannerType', None, None, ), # 2
8579 kshitij.so 16736
  )
16737
 
9155 kshitij.so 16738
  def __init__(self, bannerName=None, bannerType=None,):
8579 kshitij.so 16739
    self.bannerName = bannerName
9155 kshitij.so 16740
    self.bannerType = bannerType
8579 kshitij.so 16741
 
16742
  def read(self, iprot):
16743
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16744
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16745
      return
16746
    iprot.readStructBegin()
16747
    while True:
16748
      (fname, ftype, fid) = iprot.readFieldBegin()
16749
      if ftype == TType.STOP:
16750
        break
16751
      if fid == 1:
16752
        if ftype == TType.STRING:
16753
          self.bannerName = iprot.readString();
16754
        else:
16755
          iprot.skip(ftype)
9155 kshitij.so 16756
      elif fid == 2:
16757
        if ftype == TType.I32:
16758
          self.bannerType = iprot.readI32();
16759
        else:
16760
          iprot.skip(ftype)
8579 kshitij.so 16761
      else:
16762
        iprot.skip(ftype)
16763
      iprot.readFieldEnd()
16764
    iprot.readStructEnd()
16765
 
16766
  def write(self, oprot):
16767
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16768
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16769
      return
16770
    oprot.writeStructBegin('getUriMapping_args')
16771
    if self.bannerName is not None:
16772
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16773
      oprot.writeString(self.bannerName)
16774
      oprot.writeFieldEnd()
9155 kshitij.so 16775
    if self.bannerType is not None:
16776
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
16777
      oprot.writeI32(self.bannerType)
16778
      oprot.writeFieldEnd()
8579 kshitij.so 16779
    oprot.writeFieldStop()
16780
    oprot.writeStructEnd()
16781
 
16782
  def validate(self):
16783
    return
16784
 
16785
 
16786
  def __repr__(self):
16787
    L = ['%s=%r' % (key, value)
16788
      for key, value in self.__dict__.iteritems()]
16789
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16790
 
16791
  def __eq__(self, other):
16792
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16793
 
16794
  def __ne__(self, other):
16795
    return not (self == other)
16796
 
16797
class getUriMapping_result:
16798
  """
16799
  Attributes:
16800
   - success
16801
  """
16802
 
16803
  thrift_spec = (
16804
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 0
16805
  )
16806
 
16807
  def __init__(self, success=None,):
16808
    self.success = success
16809
 
16810
  def read(self, iprot):
16811
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16812
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16813
      return
16814
    iprot.readStructBegin()
16815
    while True:
16816
      (fname, ftype, fid) = iprot.readFieldBegin()
16817
      if ftype == TType.STOP:
16818
        break
16819
      if fid == 0:
16820
        if ftype == TType.LIST:
16821
          self.success = []
13493 amit.gupta 16822
          (_etype267, _size264) = iprot.readListBegin()
16823
          for _i268 in xrange(_size264):
16824
            _elem269 = BannerUriMapping()
16825
            _elem269.read(iprot)
16826
            self.success.append(_elem269)
8579 kshitij.so 16827
          iprot.readListEnd()
16828
        else:
16829
          iprot.skip(ftype)
16830
      else:
16831
        iprot.skip(ftype)
16832
      iprot.readFieldEnd()
16833
    iprot.readStructEnd()
16834
 
16835
  def write(self, oprot):
16836
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16837
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16838
      return
16839
    oprot.writeStructBegin('getUriMapping_result')
16840
    if self.success is not None:
16841
      oprot.writeFieldBegin('success', TType.LIST, 0)
16842
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 16843
      for iter270 in self.success:
16844
        iter270.write(oprot)
8579 kshitij.so 16845
      oprot.writeListEnd()
16846
      oprot.writeFieldEnd()
16847
    oprot.writeFieldStop()
16848
    oprot.writeStructEnd()
16849
 
16850
  def validate(self):
16851
    return
16852
 
16853
 
16854
  def __repr__(self):
16855
    L = ['%s=%r' % (key, value)
16856
      for key, value in self.__dict__.iteritems()]
16857
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16858
 
16859
  def __eq__(self, other):
16860
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16861
 
16862
  def __ne__(self, other):
16863
    return not (self == other)
16864
 
16865
class addCampaign_args:
16866
  """
16867
  Attributes:
16868
   - campaign
16869
  """
16870
 
16871
  thrift_spec = (
16872
    None, # 0
16873
    (1, TType.STRUCT, 'campaign', (Campaign, Campaign.thrift_spec), None, ), # 1
16874
  )
16875
 
16876
  def __init__(self, campaign=None,):
16877
    self.campaign = campaign
16878
 
16879
  def read(self, iprot):
16880
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16881
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16882
      return
16883
    iprot.readStructBegin()
16884
    while True:
16885
      (fname, ftype, fid) = iprot.readFieldBegin()
16886
      if ftype == TType.STOP:
16887
        break
16888
      if fid == 1:
16889
        if ftype == TType.STRUCT:
16890
          self.campaign = Campaign()
16891
          self.campaign.read(iprot)
16892
        else:
16893
          iprot.skip(ftype)
16894
      else:
16895
        iprot.skip(ftype)
16896
      iprot.readFieldEnd()
16897
    iprot.readStructEnd()
16898
 
16899
  def write(self, oprot):
16900
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16901
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16902
      return
16903
    oprot.writeStructBegin('addCampaign_args')
16904
    if self.campaign is not None:
16905
      oprot.writeFieldBegin('campaign', TType.STRUCT, 1)
16906
      self.campaign.write(oprot)
16907
      oprot.writeFieldEnd()
16908
    oprot.writeFieldStop()
16909
    oprot.writeStructEnd()
16910
 
16911
  def validate(self):
16912
    return
16913
 
16914
 
16915
  def __repr__(self):
16916
    L = ['%s=%r' % (key, value)
16917
      for key, value in self.__dict__.iteritems()]
16918
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16919
 
16920
  def __eq__(self, other):
16921
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16922
 
16923
  def __ne__(self, other):
16924
    return not (self == other)
16925
 
16926
class addCampaign_result:
16927
 
16928
  thrift_spec = (
16929
  )
16930
 
16931
  def read(self, iprot):
16932
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16933
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16934
      return
16935
    iprot.readStructBegin()
16936
    while True:
16937
      (fname, ftype, fid) = iprot.readFieldBegin()
16938
      if ftype == TType.STOP:
16939
        break
16940
      else:
16941
        iprot.skip(ftype)
16942
      iprot.readFieldEnd()
16943
    iprot.readStructEnd()
16944
 
16945
  def write(self, oprot):
16946
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16947
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16948
      return
16949
    oprot.writeStructBegin('addCampaign_result')
16950
    oprot.writeFieldStop()
16951
    oprot.writeStructEnd()
16952
 
16953
  def validate(self):
16954
    return
16955
 
16956
 
16957
  def __repr__(self):
16958
    L = ['%s=%r' % (key, value)
16959
      for key, value in self.__dict__.iteritems()]
16960
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16961
 
16962
  def __eq__(self, other):
16963
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16964
 
16965
  def __ne__(self, other):
16966
    return not (self == other)
16967
 
16968
class getCampaigns_args:
16969
  """
16970
  Attributes:
16971
   - campaignName
16972
  """
16973
 
16974
  thrift_spec = (
16975
    None, # 0
16976
    (1, TType.STRING, 'campaignName', None, None, ), # 1
16977
  )
16978
 
16979
  def __init__(self, campaignName=None,):
16980
    self.campaignName = campaignName
16981
 
16982
  def read(self, iprot):
16983
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16984
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16985
      return
16986
    iprot.readStructBegin()
16987
    while True:
16988
      (fname, ftype, fid) = iprot.readFieldBegin()
16989
      if ftype == TType.STOP:
16990
        break
16991
      if fid == 1:
16992
        if ftype == TType.STRING:
16993
          self.campaignName = iprot.readString();
16994
        else:
16995
          iprot.skip(ftype)
16996
      else:
16997
        iprot.skip(ftype)
16998
      iprot.readFieldEnd()
16999
    iprot.readStructEnd()
17000
 
17001
  def write(self, oprot):
17002
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17003
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17004
      return
17005
    oprot.writeStructBegin('getCampaigns_args')
17006
    if self.campaignName is not None:
17007
      oprot.writeFieldBegin('campaignName', TType.STRING, 1)
17008
      oprot.writeString(self.campaignName)
17009
      oprot.writeFieldEnd()
17010
    oprot.writeFieldStop()
17011
    oprot.writeStructEnd()
17012
 
17013
  def validate(self):
17014
    return
17015
 
17016
 
17017
  def __repr__(self):
17018
    L = ['%s=%r' % (key, value)
17019
      for key, value in self.__dict__.iteritems()]
17020
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17021
 
17022
  def __eq__(self, other):
17023
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17024
 
17025
  def __ne__(self, other):
17026
    return not (self == other)
17027
 
17028
class getCampaigns_result:
17029
  """
17030
  Attributes:
17031
   - success
17032
  """
17033
 
17034
  thrift_spec = (
17035
    (0, TType.LIST, 'success', (TType.STRUCT,(Campaign, Campaign.thrift_spec)), None, ), # 0
17036
  )
17037
 
17038
  def __init__(self, success=None,):
17039
    self.success = success
17040
 
17041
  def read(self, iprot):
17042
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17043
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17044
      return
17045
    iprot.readStructBegin()
17046
    while True:
17047
      (fname, ftype, fid) = iprot.readFieldBegin()
17048
      if ftype == TType.STOP:
17049
        break
17050
      if fid == 0:
17051
        if ftype == TType.LIST:
17052
          self.success = []
13493 amit.gupta 17053
          (_etype274, _size271) = iprot.readListBegin()
17054
          for _i275 in xrange(_size271):
17055
            _elem276 = Campaign()
17056
            _elem276.read(iprot)
17057
            self.success.append(_elem276)
8579 kshitij.so 17058
          iprot.readListEnd()
17059
        else:
17060
          iprot.skip(ftype)
17061
      else:
17062
        iprot.skip(ftype)
17063
      iprot.readFieldEnd()
17064
    iprot.readStructEnd()
17065
 
17066
  def write(self, oprot):
17067
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17068
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17069
      return
17070
    oprot.writeStructBegin('getCampaigns_result')
17071
    if self.success is not None:
17072
      oprot.writeFieldBegin('success', TType.LIST, 0)
17073
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 17074
      for iter277 in self.success:
17075
        iter277.write(oprot)
8579 kshitij.so 17076
      oprot.writeListEnd()
17077
      oprot.writeFieldEnd()
17078
    oprot.writeFieldStop()
17079
    oprot.writeStructEnd()
17080
 
17081
  def validate(self):
17082
    return
17083
 
17084
 
17085
  def __repr__(self):
17086
    L = ['%s=%r' % (key, value)
17087
      for key, value in self.__dict__.iteritems()]
17088
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17089
 
17090
  def __eq__(self, other):
17091
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17092
 
17093
  def __ne__(self, other):
17094
    return not (self == other)
17095
 
17096
class deleteCampaign_args:
17097
  """
17098
  Attributes:
17099
   - campaignId
17100
  """
17101
 
17102
  thrift_spec = (
17103
    None, # 0
17104
    (1, TType.I64, 'campaignId', None, None, ), # 1
17105
  )
17106
 
17107
  def __init__(self, campaignId=None,):
17108
    self.campaignId = campaignId
17109
 
17110
  def read(self, iprot):
17111
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17112
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17113
      return
17114
    iprot.readStructBegin()
17115
    while True:
17116
      (fname, ftype, fid) = iprot.readFieldBegin()
17117
      if ftype == TType.STOP:
17118
        break
17119
      if fid == 1:
17120
        if ftype == TType.I64:
17121
          self.campaignId = iprot.readI64();
17122
        else:
17123
          iprot.skip(ftype)
17124
      else:
17125
        iprot.skip(ftype)
17126
      iprot.readFieldEnd()
17127
    iprot.readStructEnd()
17128
 
17129
  def write(self, oprot):
17130
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17131
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17132
      return
17133
    oprot.writeStructBegin('deleteCampaign_args')
17134
    if self.campaignId is not None:
17135
      oprot.writeFieldBegin('campaignId', TType.I64, 1)
17136
      oprot.writeI64(self.campaignId)
17137
      oprot.writeFieldEnd()
17138
    oprot.writeFieldStop()
17139
    oprot.writeStructEnd()
17140
 
17141
  def validate(self):
17142
    return
17143
 
17144
 
17145
  def __repr__(self):
17146
    L = ['%s=%r' % (key, value)
17147
      for key, value in self.__dict__.iteritems()]
17148
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17149
 
17150
  def __eq__(self, other):
17151
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17152
 
17153
  def __ne__(self, other):
17154
    return not (self == other)
17155
 
17156
class deleteCampaign_result:
17157
 
17158
  thrift_spec = (
17159
  )
17160
 
17161
  def read(self, iprot):
17162
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17163
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17164
      return
17165
    iprot.readStructBegin()
17166
    while True:
17167
      (fname, ftype, fid) = iprot.readFieldBegin()
17168
      if ftype == TType.STOP:
17169
        break
17170
      else:
17171
        iprot.skip(ftype)
17172
      iprot.readFieldEnd()
17173
    iprot.readStructEnd()
17174
 
17175
  def write(self, oprot):
17176
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17177
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17178
      return
17179
    oprot.writeStructBegin('deleteCampaign_result')
17180
    oprot.writeFieldStop()
17181
    oprot.writeStructEnd()
17182
 
17183
  def validate(self):
17184
    return
17185
 
17186
 
17187
  def __repr__(self):
17188
    L = ['%s=%r' % (key, value)
17189
      for key, value in self.__dict__.iteritems()]
17190
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17191
 
17192
  def __eq__(self, other):
17193
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17194
 
17195
  def __ne__(self, other):
17196
    return not (self == other)
17197
 
17198
class getAllCampaigns_args:
17199
 
17200
  thrift_spec = (
17201
  )
17202
 
17203
  def read(self, iprot):
17204
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17205
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17206
      return
17207
    iprot.readStructBegin()
17208
    while True:
17209
      (fname, ftype, fid) = iprot.readFieldBegin()
17210
      if ftype == TType.STOP:
17211
        break
17212
      else:
17213
        iprot.skip(ftype)
17214
      iprot.readFieldEnd()
17215
    iprot.readStructEnd()
17216
 
17217
  def write(self, oprot):
17218
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17219
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17220
      return
17221
    oprot.writeStructBegin('getAllCampaigns_args')
17222
    oprot.writeFieldStop()
17223
    oprot.writeStructEnd()
17224
 
17225
  def validate(self):
17226
    return
17227
 
17228
 
17229
  def __repr__(self):
17230
    L = ['%s=%r' % (key, value)
17231
      for key, value in self.__dict__.iteritems()]
17232
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17233
 
17234
  def __eq__(self, other):
17235
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17236
 
17237
  def __ne__(self, other):
17238
    return not (self == other)
17239
 
17240
class getAllCampaigns_result:
17241
  """
17242
  Attributes:
17243
   - success
17244
  """
17245
 
17246
  thrift_spec = (
17247
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
17248
  )
17249
 
17250
  def __init__(self, success=None,):
17251
    self.success = success
17252
 
17253
  def read(self, iprot):
17254
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17255
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17256
      return
17257
    iprot.readStructBegin()
17258
    while True:
17259
      (fname, ftype, fid) = iprot.readFieldBegin()
17260
      if ftype == TType.STOP:
17261
        break
17262
      if fid == 0:
17263
        if ftype == TType.LIST:
17264
          self.success = []
13493 amit.gupta 17265
          (_etype281, _size278) = iprot.readListBegin()
17266
          for _i282 in xrange(_size278):
17267
            _elem283 = iprot.readString();
17268
            self.success.append(_elem283)
8579 kshitij.so 17269
          iprot.readListEnd()
17270
        else:
17271
          iprot.skip(ftype)
17272
      else:
17273
        iprot.skip(ftype)
17274
      iprot.readFieldEnd()
17275
    iprot.readStructEnd()
17276
 
17277
  def write(self, oprot):
17278
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17279
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17280
      return
17281
    oprot.writeStructBegin('getAllCampaigns_result')
17282
    if self.success is not None:
17283
      oprot.writeFieldBegin('success', TType.LIST, 0)
17284
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 17285
      for iter284 in self.success:
17286
        oprot.writeString(iter284)
8579 kshitij.so 17287
      oprot.writeListEnd()
17288
      oprot.writeFieldEnd()
17289
    oprot.writeFieldStop()
17290
    oprot.writeStructEnd()
17291
 
17292
  def validate(self):
17293
    return
17294
 
17295
 
17296
  def __repr__(self):
17297
    L = ['%s=%r' % (key, value)
17298
      for key, value in self.__dict__.iteritems()]
17299
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17300
 
17301
  def __eq__(self, other):
17302
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17303
 
17304
  def __ne__(self, other):
17305
    return not (self == other)
17306
 
9155 kshitij.so 17307
class getActiveBannersForMobileSite_args:
17308
 
17309
  thrift_spec = (
17310
  )
17311
 
17312
  def read(self, iprot):
17313
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17314
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17315
      return
17316
    iprot.readStructBegin()
17317
    while True:
17318
      (fname, ftype, fid) = iprot.readFieldBegin()
17319
      if ftype == TType.STOP:
17320
        break
17321
      else:
17322
        iprot.skip(ftype)
17323
      iprot.readFieldEnd()
17324
    iprot.readStructEnd()
17325
 
17326
  def write(self, oprot):
17327
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17328
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17329
      return
17330
    oprot.writeStructBegin('getActiveBannersForMobileSite_args')
17331
    oprot.writeFieldStop()
17332
    oprot.writeStructEnd()
17333
 
17334
  def validate(self):
17335
    return
17336
 
17337
 
17338
  def __repr__(self):
17339
    L = ['%s=%r' % (key, value)
17340
      for key, value in self.__dict__.iteritems()]
17341
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17342
 
17343
  def __eq__(self, other):
17344
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17345
 
17346
  def __ne__(self, other):
17347
    return not (self == other)
17348
 
17349
class getActiveBannersForMobileSite_result:
17350
  """
17351
  Attributes:
17352
   - success
17353
  """
17354
 
17355
  thrift_spec = (
17356
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
17357
  )
17358
 
17359
  def __init__(self, success=None,):
17360
    self.success = success
17361
 
17362
  def read(self, iprot):
17363
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17364
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17365
      return
17366
    iprot.readStructBegin()
17367
    while True:
17368
      (fname, ftype, fid) = iprot.readFieldBegin()
17369
      if ftype == TType.STOP:
17370
        break
17371
      if fid == 0:
17372
        if ftype == TType.MAP:
17373
          self.success = {}
13493 amit.gupta 17374
          (_ktype286, _vtype287, _size285 ) = iprot.readMapBegin() 
17375
          for _i289 in xrange(_size285):
17376
            _key290 = iprot.readString();
17377
            _val291 = []
17378
            (_etype295, _size292) = iprot.readListBegin()
17379
            for _i296 in xrange(_size292):
17380
              _elem297 = Banner()
17381
              _elem297.read(iprot)
17382
              _val291.append(_elem297)
9155 kshitij.so 17383
            iprot.readListEnd()
13493 amit.gupta 17384
            self.success[_key290] = _val291
9155 kshitij.so 17385
          iprot.readMapEnd()
17386
        else:
17387
          iprot.skip(ftype)
17388
      else:
17389
        iprot.skip(ftype)
17390
      iprot.readFieldEnd()
17391
    iprot.readStructEnd()
17392
 
17393
  def write(self, oprot):
17394
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17395
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17396
      return
17397
    oprot.writeStructBegin('getActiveBannersForMobileSite_result')
17398
    if self.success is not None:
17399
      oprot.writeFieldBegin('success', TType.MAP, 0)
17400
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
13493 amit.gupta 17401
      for kiter298,viter299 in self.success.items():
17402
        oprot.writeString(kiter298)
17403
        oprot.writeListBegin(TType.STRUCT, len(viter299))
17404
        for iter300 in viter299:
17405
          iter300.write(oprot)
9155 kshitij.so 17406
        oprot.writeListEnd()
17407
      oprot.writeMapEnd()
17408
      oprot.writeFieldEnd()
17409
    oprot.writeFieldStop()
17410
    oprot.writeStructEnd()
17411
 
17412
  def validate(self):
17413
    return
17414
 
17415
 
17416
  def __repr__(self):
17417
    L = ['%s=%r' % (key, value)
17418
      for key, value in self.__dict__.iteritems()]
17419
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17420
 
17421
  def __eq__(self, other):
17422
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17423
 
17424
  def __ne__(self, other):
17425
    return not (self == other)
17426
 
5944 mandeep.dh 17427
class deleteSimilarItem_args:
17428
  """
17429
  Attributes:
17430
   - itemId
17431
   - catalogItemId
17432
  """
17433
 
17434
  thrift_spec = (
17435
    None, # 0
17436
    (1, TType.I64, 'itemId', None, None, ), # 1
17437
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
17438
  )
17439
 
17440
  def __init__(self, itemId=None, catalogItemId=None,):
17441
    self.itemId = itemId
17442
    self.catalogItemId = catalogItemId
17443
 
17444
  def read(self, iprot):
17445
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17446
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17447
      return
17448
    iprot.readStructBegin()
17449
    while True:
17450
      (fname, ftype, fid) = iprot.readFieldBegin()
17451
      if ftype == TType.STOP:
17452
        break
17453
      if fid == 1:
17454
        if ftype == TType.I64:
17455
          self.itemId = iprot.readI64();
17456
        else:
17457
          iprot.skip(ftype)
17458
      elif fid == 2:
17459
        if ftype == TType.I64:
17460
          self.catalogItemId = iprot.readI64();
17461
        else:
17462
          iprot.skip(ftype)
17463
      else:
17464
        iprot.skip(ftype)
17465
      iprot.readFieldEnd()
17466
    iprot.readStructEnd()
17467
 
17468
  def write(self, oprot):
17469
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17470
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17471
      return
17472
    oprot.writeStructBegin('deleteSimilarItem_args')
17473
    if self.itemId is not None:
17474
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17475
      oprot.writeI64(self.itemId)
17476
      oprot.writeFieldEnd()
17477
    if self.catalogItemId is not None:
17478
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
17479
      oprot.writeI64(self.catalogItemId)
17480
      oprot.writeFieldEnd()
17481
    oprot.writeFieldStop()
17482
    oprot.writeStructEnd()
17483
 
17484
  def validate(self):
17485
    return
17486
 
17487
 
17488
  def __repr__(self):
17489
    L = ['%s=%r' % (key, value)
17490
      for key, value in self.__dict__.iteritems()]
17491
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17492
 
17493
  def __eq__(self, other):
17494
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17495
 
17496
  def __ne__(self, other):
17497
    return not (self == other)
17498
 
17499
class deleteSimilarItem_result:
17500
  """
17501
  Attributes:
17502
   - success
17503
   - cex
17504
  """
17505
 
17506
  thrift_spec = (
17507
    (0, TType.BOOL, 'success', None, None, ), # 0
17508
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
17509
  )
17510
 
17511
  def __init__(self, success=None, cex=None,):
17512
    self.success = success
17513
    self.cex = cex
17514
 
17515
  def read(self, iprot):
17516
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17517
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17518
      return
17519
    iprot.readStructBegin()
17520
    while True:
17521
      (fname, ftype, fid) = iprot.readFieldBegin()
17522
      if ftype == TType.STOP:
17523
        break
17524
      if fid == 0:
17525
        if ftype == TType.BOOL:
17526
          self.success = iprot.readBool();
17527
        else:
17528
          iprot.skip(ftype)
17529
      elif fid == 1:
17530
        if ftype == TType.STRUCT:
17531
          self.cex = CatalogServiceException()
17532
          self.cex.read(iprot)
17533
        else:
17534
          iprot.skip(ftype)
17535
      else:
17536
        iprot.skip(ftype)
17537
      iprot.readFieldEnd()
17538
    iprot.readStructEnd()
17539
 
17540
  def write(self, oprot):
17541
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17542
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17543
      return
17544
    oprot.writeStructBegin('deleteSimilarItem_result')
17545
    if self.success is not None:
17546
      oprot.writeFieldBegin('success', TType.BOOL, 0)
17547
      oprot.writeBool(self.success)
17548
      oprot.writeFieldEnd()
17549
    if self.cex is not None:
17550
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
17551
      self.cex.write(oprot)
17552
      oprot.writeFieldEnd()
17553
    oprot.writeFieldStop()
17554
    oprot.writeStructEnd()
17555
 
17556
  def validate(self):
17557
    return
17558
 
17559
 
17560
  def __repr__(self):
17561
    L = ['%s=%r' % (key, value)
17562
      for key, value in self.__dict__.iteritems()]
17563
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17564
 
17565
  def __eq__(self, other):
17566
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17567
 
17568
  def __ne__(self, other):
17569
    return not (self == other)
17570
 
17571
class checkSimilarItem_args:
17572
  """
17573
  Attributes:
17574
   - brand
17575
   - modelNumber
17576
   - modelName
17577
   - color
17578
  """
17579
 
17580
  thrift_spec = (
17581
    None, # 0
17582
    (1, TType.STRING, 'brand', None, None, ), # 1
17583
    (2, TType.STRING, 'modelNumber', None, None, ), # 2
17584
    (3, TType.STRING, 'modelName', None, None, ), # 3
17585
    (4, TType.STRING, 'color', None, None, ), # 4
17586
  )
17587
 
17588
  def __init__(self, brand=None, modelNumber=None, modelName=None, color=None,):
17589
    self.brand = brand
17590
    self.modelNumber = modelNumber
17591
    self.modelName = modelName
17592
    self.color = color
17593
 
17594
  def read(self, iprot):
17595
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17596
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17597
      return
17598
    iprot.readStructBegin()
17599
    while True:
17600
      (fname, ftype, fid) = iprot.readFieldBegin()
17601
      if ftype == TType.STOP:
17602
        break
17603
      if fid == 1:
17604
        if ftype == TType.STRING:
17605
          self.brand = iprot.readString();
17606
        else:
17607
          iprot.skip(ftype)
17608
      elif fid == 2:
17609
        if ftype == TType.STRING:
17610
          self.modelNumber = iprot.readString();
17611
        else:
17612
          iprot.skip(ftype)
17613
      elif fid == 3:
17614
        if ftype == TType.STRING:
17615
          self.modelName = iprot.readString();
17616
        else:
17617
          iprot.skip(ftype)
17618
      elif fid == 4:
17619
        if ftype == TType.STRING:
17620
          self.color = iprot.readString();
17621
        else:
17622
          iprot.skip(ftype)
17623
      else:
17624
        iprot.skip(ftype)
17625
      iprot.readFieldEnd()
17626
    iprot.readStructEnd()
17627
 
17628
  def write(self, oprot):
17629
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17630
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17631
      return
17632
    oprot.writeStructBegin('checkSimilarItem_args')
17633
    if self.brand is not None:
17634
      oprot.writeFieldBegin('brand', TType.STRING, 1)
17635
      oprot.writeString(self.brand)
17636
      oprot.writeFieldEnd()
17637
    if self.modelNumber is not None:
17638
      oprot.writeFieldBegin('modelNumber', TType.STRING, 2)
17639
      oprot.writeString(self.modelNumber)
17640
      oprot.writeFieldEnd()
17641
    if self.modelName is not None:
17642
      oprot.writeFieldBegin('modelName', TType.STRING, 3)
17643
      oprot.writeString(self.modelName)
17644
      oprot.writeFieldEnd()
17645
    if self.color is not None:
17646
      oprot.writeFieldBegin('color', TType.STRING, 4)
17647
      oprot.writeString(self.color)
17648
      oprot.writeFieldEnd()
17649
    oprot.writeFieldStop()
17650
    oprot.writeStructEnd()
17651
 
17652
  def validate(self):
17653
    return
17654
 
17655
 
17656
  def __repr__(self):
17657
    L = ['%s=%r' % (key, value)
17658
      for key, value in self.__dict__.iteritems()]
17659
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17660
 
17661
  def __eq__(self, other):
17662
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17663
 
17664
  def __ne__(self, other):
17665
    return not (self == other)
17666
 
17667
class checkSimilarItem_result:
17668
  """
17669
  Attributes:
17670
   - success
17671
  """
17672
 
17673
  thrift_spec = (
17674
    (0, TType.I64, 'success', None, None, ), # 0
17675
  )
17676
 
17677
  def __init__(self, success=None,):
17678
    self.success = success
17679
 
17680
  def read(self, iprot):
17681
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17682
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17683
      return
17684
    iprot.readStructBegin()
17685
    while True:
17686
      (fname, ftype, fid) = iprot.readFieldBegin()
17687
      if ftype == TType.STOP:
17688
        break
17689
      if fid == 0:
17690
        if ftype == TType.I64:
17691
          self.success = iprot.readI64();
17692
        else:
17693
          iprot.skip(ftype)
17694
      else:
17695
        iprot.skip(ftype)
17696
      iprot.readFieldEnd()
17697
    iprot.readStructEnd()
17698
 
17699
  def write(self, oprot):
17700
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17701
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17702
      return
17703
    oprot.writeStructBegin('checkSimilarItem_result')
17704
    if self.success is not None:
17705
      oprot.writeFieldBegin('success', TType.I64, 0)
17706
      oprot.writeI64(self.success)
17707
      oprot.writeFieldEnd()
17708
    oprot.writeFieldStop()
17709
    oprot.writeStructEnd()
17710
 
17711
  def validate(self):
17712
    return
17713
 
17714
 
17715
  def __repr__(self):
17716
    L = ['%s=%r' % (key, value)
17717
      for key, value in self.__dict__.iteritems()]
17718
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17719
 
17720
  def __eq__(self, other):
17721
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17722
 
17723
  def __ne__(self, other):
17724
    return not (self == other)
17725
 
17726
class validateRiskyStatus_args:
17727
  """
17728
  Attributes:
17729
   - itemId
17730
  """
17731
 
17732
  thrift_spec = (
17733
    None, # 0
17734
    (1, TType.I64, 'itemId', None, None, ), # 1
17735
  )
17736
 
17737
  def __init__(self, itemId=None,):
17738
    self.itemId = itemId
17739
 
17740
  def read(self, iprot):
17741
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17742
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17743
      return
17744
    iprot.readStructBegin()
17745
    while True:
17746
      (fname, ftype, fid) = iprot.readFieldBegin()
17747
      if ftype == TType.STOP:
17748
        break
17749
      if fid == 1:
17750
        if ftype == TType.I64:
17751
          self.itemId = iprot.readI64();
17752
        else:
17753
          iprot.skip(ftype)
17754
      else:
17755
        iprot.skip(ftype)
17756
      iprot.readFieldEnd()
17757
    iprot.readStructEnd()
17758
 
17759
  def write(self, oprot):
17760
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17761
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17762
      return
17763
    oprot.writeStructBegin('validateRiskyStatus_args')
17764
    if self.itemId is not None:
17765
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17766
      oprot.writeI64(self.itemId)
17767
      oprot.writeFieldEnd()
17768
    oprot.writeFieldStop()
17769
    oprot.writeStructEnd()
17770
 
17771
  def validate(self):
17772
    return
17773
 
17774
 
17775
  def __repr__(self):
17776
    L = ['%s=%r' % (key, value)
17777
      for key, value in self.__dict__.iteritems()]
17778
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17779
 
17780
  def __eq__(self, other):
17781
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17782
 
17783
  def __ne__(self, other):
17784
    return not (self == other)
17785
 
17786
class validateRiskyStatus_result:
17787
 
17788
  thrift_spec = (
17789
  )
17790
 
17791
  def read(self, iprot):
17792
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17793
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17794
      return
17795
    iprot.readStructBegin()
17796
    while True:
17797
      (fname, ftype, fid) = iprot.readFieldBegin()
17798
      if ftype == TType.STOP:
17799
        break
17800
      else:
17801
        iprot.skip(ftype)
17802
      iprot.readFieldEnd()
17803
    iprot.readStructEnd()
17804
 
17805
  def write(self, oprot):
17806
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17807
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17808
      return
17809
    oprot.writeStructBegin('validateRiskyStatus_result')
17810
    oprot.writeFieldStop()
17811
    oprot.writeStructEnd()
17812
 
17813
  def validate(self):
17814
    return
17815
 
17816
 
17817
  def __repr__(self):
17818
    L = ['%s=%r' % (key, value)
17819
      for key, value in self.__dict__.iteritems()]
17820
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17821
 
17822
  def __eq__(self, other):
17823
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17824
 
17825
  def __ne__(self, other):
17826
    return not (self == other)
17827
 
17828
class changeItemRiskyFlag_args:
17829
  """
17830
  Attributes:
17831
   - itemId
17832
   - risky
17833
  """
17834
 
17835
  thrift_spec = (
17836
    None, # 0
17837
    (1, TType.I64, 'itemId', None, None, ), # 1
17838
    (2, TType.BOOL, 'risky', None, None, ), # 2
17839
  )
17840
 
17841
  def __init__(self, itemId=None, risky=None,):
17842
    self.itemId = itemId
17843
    self.risky = risky
17844
 
17845
  def read(self, iprot):
17846
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17847
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17848
      return
17849
    iprot.readStructBegin()
17850
    while True:
17851
      (fname, ftype, fid) = iprot.readFieldBegin()
17852
      if ftype == TType.STOP:
17853
        break
17854
      if fid == 1:
17855
        if ftype == TType.I64:
17856
          self.itemId = iprot.readI64();
17857
        else:
17858
          iprot.skip(ftype)
17859
      elif fid == 2:
17860
        if ftype == TType.BOOL:
17861
          self.risky = iprot.readBool();
17862
        else:
17863
          iprot.skip(ftype)
17864
      else:
17865
        iprot.skip(ftype)
17866
      iprot.readFieldEnd()
17867
    iprot.readStructEnd()
17868
 
17869
  def write(self, oprot):
17870
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17871
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17872
      return
17873
    oprot.writeStructBegin('changeItemRiskyFlag_args')
17874
    if self.itemId is not None:
17875
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17876
      oprot.writeI64(self.itemId)
17877
      oprot.writeFieldEnd()
17878
    if self.risky is not None:
17879
      oprot.writeFieldBegin('risky', TType.BOOL, 2)
17880
      oprot.writeBool(self.risky)
17881
      oprot.writeFieldEnd()
17882
    oprot.writeFieldStop()
17883
    oprot.writeStructEnd()
17884
 
17885
  def validate(self):
17886
    return
17887
 
17888
 
17889
  def __repr__(self):
17890
    L = ['%s=%r' % (key, value)
17891
      for key, value in self.__dict__.iteritems()]
17892
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17893
 
17894
  def __eq__(self, other):
17895
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17896
 
17897
  def __ne__(self, other):
17898
    return not (self == other)
17899
 
17900
class changeItemRiskyFlag_result:
17901
 
17902
  thrift_spec = (
17903
  )
17904
 
17905
  def read(self, iprot):
17906
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17907
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17908
      return
17909
    iprot.readStructBegin()
17910
    while True:
17911
      (fname, ftype, fid) = iprot.readFieldBegin()
17912
      if ftype == TType.STOP:
17913
        break
17914
      else:
17915
        iprot.skip(ftype)
17916
      iprot.readFieldEnd()
17917
    iprot.readStructEnd()
17918
 
17919
  def write(self, oprot):
17920
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17921
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17922
      return
17923
    oprot.writeStructBegin('changeItemRiskyFlag_result')
17924
    oprot.writeFieldStop()
17925
    oprot.writeStructEnd()
17926
 
17927
  def validate(self):
17928
    return
17929
 
17930
 
17931
  def __repr__(self):
17932
    L = ['%s=%r' % (key, value)
17933
      for key, value in self.__dict__.iteritems()]
17934
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17935
 
17936
  def __eq__(self, other):
17937
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17938
 
17939
  def __ne__(self, other):
17940
    return not (self == other)
17941
 
17942
class getItemsByRiskyFlag_args:
17943
 
17944
  thrift_spec = (
17945
  )
17946
 
17947
  def read(self, iprot):
17948
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17949
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17950
      return
17951
    iprot.readStructBegin()
17952
    while True:
17953
      (fname, ftype, fid) = iprot.readFieldBegin()
17954
      if ftype == TType.STOP:
17955
        break
17956
      else:
17957
        iprot.skip(ftype)
17958
      iprot.readFieldEnd()
17959
    iprot.readStructEnd()
17960
 
17961
  def write(self, oprot):
17962
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17963
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17964
      return
17965
    oprot.writeStructBegin('getItemsByRiskyFlag_args')
17966
    oprot.writeFieldStop()
17967
    oprot.writeStructEnd()
17968
 
17969
  def validate(self):
17970
    return
17971
 
17972
 
17973
  def __repr__(self):
17974
    L = ['%s=%r' % (key, value)
17975
      for key, value in self.__dict__.iteritems()]
17976
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17977
 
17978
  def __eq__(self, other):
17979
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17980
 
17981
  def __ne__(self, other):
17982
    return not (self == other)
17983
 
17984
class getItemsByRiskyFlag_result:
17985
  """
17986
  Attributes:
17987
   - success
17988
  """
17989
 
17990
  thrift_spec = (
17991
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
17992
  )
17993
 
17994
  def __init__(self, success=None,):
17995
    self.success = success
17996
 
17997
  def read(self, iprot):
17998
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17999
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18000
      return
18001
    iprot.readStructBegin()
18002
    while True:
18003
      (fname, ftype, fid) = iprot.readFieldBegin()
18004
      if ftype == TType.STOP:
18005
        break
18006
      if fid == 0:
18007
        if ftype == TType.LIST:
18008
          self.success = []
13493 amit.gupta 18009
          (_etype304, _size301) = iprot.readListBegin()
18010
          for _i305 in xrange(_size301):
18011
            _elem306 = Item()
18012
            _elem306.read(iprot)
18013
            self.success.append(_elem306)
5944 mandeep.dh 18014
          iprot.readListEnd()
18015
        else:
18016
          iprot.skip(ftype)
18017
      else:
18018
        iprot.skip(ftype)
18019
      iprot.readFieldEnd()
18020
    iprot.readStructEnd()
18021
 
18022
  def write(self, oprot):
18023
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18024
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18025
      return
18026
    oprot.writeStructBegin('getItemsByRiskyFlag_result')
18027
    if self.success is not None:
18028
      oprot.writeFieldBegin('success', TType.LIST, 0)
18029
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 18030
      for iter307 in self.success:
18031
        iter307.write(oprot)
5944 mandeep.dh 18032
      oprot.writeListEnd()
18033
      oprot.writeFieldEnd()
18034
    oprot.writeFieldStop()
18035
    oprot.writeStructEnd()
18036
 
18037
  def validate(self):
18038
    return
18039
 
18040
 
18041
  def __repr__(self):
18042
    L = ['%s=%r' % (key, value)
18043
      for key, value in self.__dict__.iteritems()]
18044
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18045
 
18046
  def __eq__(self, other):
18047
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18048
 
18049
  def __ne__(self, other):
18050
    return not (self == other)
18051
 
18052
class getItemsForMasterSheet_args:
18053
  """
18054
  Attributes:
18055
   - category
18056
   - brand
18057
  """
18058
 
18059
  thrift_spec = (
18060
    None, # 0
18061
    (1, TType.STRING, 'category', None, None, ), # 1
18062
    (2, TType.STRING, 'brand', None, None, ), # 2
18063
  )
18064
 
18065
  def __init__(self, category=None, brand=None,):
18066
    self.category = category
18067
    self.brand = brand
18068
 
18069
  def read(self, iprot):
18070
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18071
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18072
      return
18073
    iprot.readStructBegin()
18074
    while True:
18075
      (fname, ftype, fid) = iprot.readFieldBegin()
18076
      if ftype == TType.STOP:
18077
        break
18078
      if fid == 1:
18079
        if ftype == TType.STRING:
18080
          self.category = iprot.readString();
18081
        else:
18082
          iprot.skip(ftype)
18083
      elif fid == 2:
18084
        if ftype == TType.STRING:
18085
          self.brand = iprot.readString();
18086
        else:
18087
          iprot.skip(ftype)
18088
      else:
18089
        iprot.skip(ftype)
18090
      iprot.readFieldEnd()
18091
    iprot.readStructEnd()
18092
 
18093
  def write(self, oprot):
18094
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18095
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18096
      return
18097
    oprot.writeStructBegin('getItemsForMasterSheet_args')
18098
    if self.category is not None:
18099
      oprot.writeFieldBegin('category', TType.STRING, 1)
18100
      oprot.writeString(self.category)
18101
      oprot.writeFieldEnd()
18102
    if self.brand is not None:
18103
      oprot.writeFieldBegin('brand', TType.STRING, 2)
18104
      oprot.writeString(self.brand)
18105
      oprot.writeFieldEnd()
18106
    oprot.writeFieldStop()
18107
    oprot.writeStructEnd()
18108
 
18109
  def validate(self):
18110
    return
18111
 
18112
 
18113
  def __repr__(self):
18114
    L = ['%s=%r' % (key, value)
18115
      for key, value in self.__dict__.iteritems()]
18116
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18117
 
18118
  def __eq__(self, other):
18119
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18120
 
18121
  def __ne__(self, other):
18122
    return not (self == other)
18123
 
18124
class getItemsForMasterSheet_result:
18125
  """
18126
  Attributes:
18127
   - success
18128
  """
18129
 
18130
  thrift_spec = (
18131
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
18132
  )
18133
 
18134
  def __init__(self, success=None,):
18135
    self.success = success
18136
 
18137
  def read(self, iprot):
18138
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18139
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18140
      return
18141
    iprot.readStructBegin()
18142
    while True:
18143
      (fname, ftype, fid) = iprot.readFieldBegin()
18144
      if ftype == TType.STOP:
18145
        break
18146
      if fid == 0:
18147
        if ftype == TType.LIST:
18148
          self.success = []
13493 amit.gupta 18149
          (_etype311, _size308) = iprot.readListBegin()
18150
          for _i312 in xrange(_size308):
18151
            _elem313 = Item()
18152
            _elem313.read(iprot)
18153
            self.success.append(_elem313)
5944 mandeep.dh 18154
          iprot.readListEnd()
18155
        else:
18156
          iprot.skip(ftype)
18157
      else:
18158
        iprot.skip(ftype)
18159
      iprot.readFieldEnd()
18160
    iprot.readStructEnd()
18161
 
18162
  def write(self, oprot):
18163
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18164
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18165
      return
18166
    oprot.writeStructBegin('getItemsForMasterSheet_result')
18167
    if self.success is not None:
18168
      oprot.writeFieldBegin('success', TType.LIST, 0)
18169
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 18170
      for iter314 in self.success:
18171
        iter314.write(oprot)
5944 mandeep.dh 18172
      oprot.writeListEnd()
18173
      oprot.writeFieldEnd()
18174
    oprot.writeFieldStop()
18175
    oprot.writeStructEnd()
18176
 
18177
  def validate(self):
18178
    return
18179
 
18180
 
18181
  def __repr__(self):
18182
    L = ['%s=%r' % (key, value)
18183
      for key, value in self.__dict__.iteritems()]
18184
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18185
 
18186
  def __eq__(self, other):
18187
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18188
 
18189
  def __ne__(self, other):
18190
    return not (self == other)
18191
 
18192
class getSimilarItemsCatalogIds_args:
18193
  """
18194
  Attributes:
18195
   - beginIndex
18196
   - totalItems
18197
   - itemId
18198
  """
18199
 
18200
  thrift_spec = (
18201
    None, # 0
18202
    (1, TType.I64, 'beginIndex', None, None, ), # 1
18203
    (2, TType.I64, 'totalItems', None, None, ), # 2
18204
    (3, TType.I64, 'itemId', None, None, ), # 3
18205
  )
18206
 
18207
  def __init__(self, beginIndex=None, totalItems=None, itemId=None,):
18208
    self.beginIndex = beginIndex
18209
    self.totalItems = totalItems
18210
    self.itemId = itemId
18211
 
18212
  def read(self, iprot):
18213
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18214
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18215
      return
18216
    iprot.readStructBegin()
18217
    while True:
18218
      (fname, ftype, fid) = iprot.readFieldBegin()
18219
      if ftype == TType.STOP:
18220
        break
18221
      if fid == 1:
18222
        if ftype == TType.I64:
18223
          self.beginIndex = iprot.readI64();
18224
        else:
18225
          iprot.skip(ftype)
18226
      elif fid == 2:
18227
        if ftype == TType.I64:
18228
          self.totalItems = iprot.readI64();
18229
        else:
18230
          iprot.skip(ftype)
18231
      elif fid == 3:
18232
        if ftype == TType.I64:
18233
          self.itemId = iprot.readI64();
18234
        else:
18235
          iprot.skip(ftype)
18236
      else:
18237
        iprot.skip(ftype)
18238
      iprot.readFieldEnd()
18239
    iprot.readStructEnd()
18240
 
18241
  def write(self, oprot):
18242
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18243
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18244
      return
18245
    oprot.writeStructBegin('getSimilarItemsCatalogIds_args')
18246
    if self.beginIndex is not None:
18247
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
18248
      oprot.writeI64(self.beginIndex)
18249
      oprot.writeFieldEnd()
18250
    if self.totalItems is not None:
18251
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
18252
      oprot.writeI64(self.totalItems)
18253
      oprot.writeFieldEnd()
18254
    if self.itemId is not None:
18255
      oprot.writeFieldBegin('itemId', TType.I64, 3)
18256
      oprot.writeI64(self.itemId)
18257
      oprot.writeFieldEnd()
18258
    oprot.writeFieldStop()
18259
    oprot.writeStructEnd()
18260
 
18261
  def validate(self):
18262
    return
18263
 
18264
 
18265
  def __repr__(self):
18266
    L = ['%s=%r' % (key, value)
18267
      for key, value in self.__dict__.iteritems()]
18268
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18269
 
18270
  def __eq__(self, other):
18271
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18272
 
18273
  def __ne__(self, other):
18274
    return not (self == other)
18275
 
18276
class getSimilarItemsCatalogIds_result:
18277
  """
18278
  Attributes:
18279
   - success
18280
  """
18281
 
18282
  thrift_spec = (
18283
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
18284
  )
18285
 
18286
  def __init__(self, success=None,):
18287
    self.success = success
18288
 
18289
  def read(self, iprot):
18290
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18291
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18292
      return
18293
    iprot.readStructBegin()
18294
    while True:
18295
      (fname, ftype, fid) = iprot.readFieldBegin()
18296
      if ftype == TType.STOP:
18297
        break
18298
      if fid == 0:
18299
        if ftype == TType.LIST:
18300
          self.success = []
13493 amit.gupta 18301
          (_etype318, _size315) = iprot.readListBegin()
18302
          for _i319 in xrange(_size315):
18303
            _elem320 = iprot.readI64();
18304
            self.success.append(_elem320)
5944 mandeep.dh 18305
          iprot.readListEnd()
18306
        else:
18307
          iprot.skip(ftype)
18308
      else:
18309
        iprot.skip(ftype)
18310
      iprot.readFieldEnd()
18311
    iprot.readStructEnd()
18312
 
18313
  def write(self, oprot):
18314
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18315
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18316
      return
18317
    oprot.writeStructBegin('getSimilarItemsCatalogIds_result')
18318
    if self.success is not None:
18319
      oprot.writeFieldBegin('success', TType.LIST, 0)
18320
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 18321
      for iter321 in self.success:
18322
        oprot.writeI64(iter321)
5944 mandeep.dh 18323
      oprot.writeListEnd()
18324
      oprot.writeFieldEnd()
18325
    oprot.writeFieldStop()
18326
    oprot.writeStructEnd()
18327
 
18328
  def validate(self):
18329
    return
18330
 
18331
 
18332
  def __repr__(self):
18333
    L = ['%s=%r' % (key, value)
18334
      for key, value in self.__dict__.iteritems()]
18335
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18336
 
18337
  def __eq__(self, other):
18338
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18339
 
18340
  def __ne__(self, other):
18341
    return not (self == other)
18342
 
18343
class addProductNotification_args:
18344
  """
18345
  Attributes:
18346
   - itemId
18347
   - email
18348
  """
18349
 
18350
  thrift_spec = None
18351
  def __init__(self, itemId=None, email=None,):
18352
    self.itemId = itemId
18353
    self.email = email
18354
 
18355
  def read(self, iprot):
18356
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18357
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18358
      return
18359
    iprot.readStructBegin()
18360
    while True:
18361
      (fname, ftype, fid) = iprot.readFieldBegin()
18362
      if ftype == TType.STOP:
18363
        break
18364
      if fid == -1:
18365
        if ftype == TType.I64:
18366
          self.itemId = iprot.readI64();
18367
        else:
18368
          iprot.skip(ftype)
18369
      elif fid == -2:
18370
        if ftype == TType.STRING:
18371
          self.email = iprot.readString();
18372
        else:
18373
          iprot.skip(ftype)
18374
      else:
18375
        iprot.skip(ftype)
18376
      iprot.readFieldEnd()
18377
    iprot.readStructEnd()
18378
 
18379
  def write(self, oprot):
18380
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18381
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18382
      return
18383
    oprot.writeStructBegin('addProductNotification_args')
18384
    if self.email is not None:
18385
      oprot.writeFieldBegin('email', TType.STRING, -2)
18386
      oprot.writeString(self.email)
18387
      oprot.writeFieldEnd()
18388
    if self.itemId is not None:
18389
      oprot.writeFieldBegin('itemId', TType.I64, -1)
18390
      oprot.writeI64(self.itemId)
18391
      oprot.writeFieldEnd()
18392
    oprot.writeFieldStop()
18393
    oprot.writeStructEnd()
18394
 
18395
  def validate(self):
18396
    return
18397
 
18398
 
18399
  def __repr__(self):
18400
    L = ['%s=%r' % (key, value)
18401
      for key, value in self.__dict__.iteritems()]
18402
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18403
 
18404
  def __eq__(self, other):
18405
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18406
 
18407
  def __ne__(self, other):
18408
    return not (self == other)
18409
 
18410
class addProductNotification_result:
18411
  """
18412
  Attributes:
18413
   - success
18414
  """
18415
 
18416
  thrift_spec = (
18417
    (0, TType.BOOL, 'success', None, None, ), # 0
18418
  )
18419
 
18420
  def __init__(self, success=None,):
18421
    self.success = success
18422
 
18423
  def read(self, iprot):
18424
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18425
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18426
      return
18427
    iprot.readStructBegin()
18428
    while True:
18429
      (fname, ftype, fid) = iprot.readFieldBegin()
18430
      if ftype == TType.STOP:
18431
        break
18432
      if fid == 0:
18433
        if ftype == TType.BOOL:
18434
          self.success = iprot.readBool();
18435
        else:
18436
          iprot.skip(ftype)
18437
      else:
18438
        iprot.skip(ftype)
18439
      iprot.readFieldEnd()
18440
    iprot.readStructEnd()
18441
 
18442
  def write(self, oprot):
18443
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18444
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18445
      return
18446
    oprot.writeStructBegin('addProductNotification_result')
18447
    if self.success is not None:
18448
      oprot.writeFieldBegin('success', TType.BOOL, 0)
18449
      oprot.writeBool(self.success)
18450
      oprot.writeFieldEnd()
18451
    oprot.writeFieldStop()
18452
    oprot.writeStructEnd()
18453
 
18454
  def validate(self):
18455
    return
18456
 
18457
 
18458
  def __repr__(self):
18459
    L = ['%s=%r' % (key, value)
18460
      for key, value in self.__dict__.iteritems()]
18461
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18462
 
18463
  def __eq__(self, other):
18464
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18465
 
18466
  def __ne__(self, other):
18467
    return not (self == other)
18468
 
18469
class sendProductNotifications_args:
18470
 
18471
  thrift_spec = (
18472
  )
18473
 
18474
  def read(self, iprot):
18475
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18476
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18477
      return
18478
    iprot.readStructBegin()
18479
    while True:
18480
      (fname, ftype, fid) = iprot.readFieldBegin()
18481
      if ftype == TType.STOP:
18482
        break
18483
      else:
18484
        iprot.skip(ftype)
18485
      iprot.readFieldEnd()
18486
    iprot.readStructEnd()
18487
 
18488
  def write(self, oprot):
18489
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18490
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18491
      return
18492
    oprot.writeStructBegin('sendProductNotifications_args')
18493
    oprot.writeFieldStop()
18494
    oprot.writeStructEnd()
18495
 
18496
  def validate(self):
18497
    return
18498
 
18499
 
18500
  def __repr__(self):
18501
    L = ['%s=%r' % (key, value)
18502
      for key, value in self.__dict__.iteritems()]
18503
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18504
 
18505
  def __eq__(self, other):
18506
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18507
 
18508
  def __ne__(self, other):
18509
    return not (self == other)
18510
 
18511
class sendProductNotifications_result:
18512
  """
18513
  Attributes:
18514
   - success
18515
  """
18516
 
18517
  thrift_spec = (
18518
    (0, TType.BOOL, 'success', None, None, ), # 0
18519
  )
18520
 
18521
  def __init__(self, success=None,):
18522
    self.success = success
18523
 
18524
  def read(self, iprot):
18525
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18526
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18527
      return
18528
    iprot.readStructBegin()
18529
    while True:
18530
      (fname, ftype, fid) = iprot.readFieldBegin()
18531
      if ftype == TType.STOP:
18532
        break
18533
      if fid == 0:
18534
        if ftype == TType.BOOL:
18535
          self.success = iprot.readBool();
18536
        else:
18537
          iprot.skip(ftype)
18538
      else:
18539
        iprot.skip(ftype)
18540
      iprot.readFieldEnd()
18541
    iprot.readStructEnd()
18542
 
18543
  def write(self, oprot):
18544
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18545
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18546
      return
18547
    oprot.writeStructBegin('sendProductNotifications_result')
18548
    if self.success is not None:
18549
      oprot.writeFieldBegin('success', TType.BOOL, 0)
18550
      oprot.writeBool(self.success)
18551
      oprot.writeFieldEnd()
18552
    oprot.writeFieldStop()
18553
    oprot.writeStructEnd()
18554
 
18555
  def validate(self):
18556
    return
18557
 
18558
 
18559
  def __repr__(self):
18560
    L = ['%s=%r' % (key, value)
18561
      for key, value in self.__dict__.iteritems()]
18562
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18563
 
18564
  def __eq__(self, other):
18565
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18566
 
18567
  def __ne__(self, other):
18568
    return not (self == other)
18569
 
18570
class getAllBrandsByCategory_args:
18571
  """
18572
  Attributes:
18573
   - categoryId
18574
  """
18575
 
18576
  thrift_spec = (
18577
    None, # 0
18578
    (1, TType.I64, 'categoryId', None, None, ), # 1
18579
  )
18580
 
18581
  def __init__(self, categoryId=None,):
18582
    self.categoryId = categoryId
18583
 
18584
  def read(self, iprot):
18585
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18586
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18587
      return
18588
    iprot.readStructBegin()
18589
    while True:
18590
      (fname, ftype, fid) = iprot.readFieldBegin()
18591
      if ftype == TType.STOP:
18592
        break
18593
      if fid == 1:
18594
        if ftype == TType.I64:
18595
          self.categoryId = iprot.readI64();
18596
        else:
18597
          iprot.skip(ftype)
18598
      else:
18599
        iprot.skip(ftype)
18600
      iprot.readFieldEnd()
18601
    iprot.readStructEnd()
18602
 
18603
  def write(self, oprot):
18604
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18605
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18606
      return
18607
    oprot.writeStructBegin('getAllBrandsByCategory_args')
18608
    if self.categoryId is not None:
18609
      oprot.writeFieldBegin('categoryId', TType.I64, 1)
18610
      oprot.writeI64(self.categoryId)
18611
      oprot.writeFieldEnd()
18612
    oprot.writeFieldStop()
18613
    oprot.writeStructEnd()
18614
 
18615
  def validate(self):
18616
    return
18617
 
18618
 
18619
  def __repr__(self):
18620
    L = ['%s=%r' % (key, value)
18621
      for key, value in self.__dict__.iteritems()]
18622
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18623
 
18624
  def __eq__(self, other):
18625
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18626
 
18627
  def __ne__(self, other):
18628
    return not (self == other)
18629
 
18630
class getAllBrandsByCategory_result:
18631
  """
18632
  Attributes:
18633
   - success
18634
  """
18635
 
18636
  thrift_spec = (
18637
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
18638
  )
18639
 
18640
  def __init__(self, success=None,):
18641
    self.success = success
18642
 
18643
  def read(self, iprot):
18644
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18645
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18646
      return
18647
    iprot.readStructBegin()
18648
    while True:
18649
      (fname, ftype, fid) = iprot.readFieldBegin()
18650
      if ftype == TType.STOP:
18651
        break
18652
      if fid == 0:
18653
        if ftype == TType.LIST:
18654
          self.success = []
13493 amit.gupta 18655
          (_etype325, _size322) = iprot.readListBegin()
18656
          for _i326 in xrange(_size322):
18657
            _elem327 = iprot.readString();
18658
            self.success.append(_elem327)
5944 mandeep.dh 18659
          iprot.readListEnd()
18660
        else:
18661
          iprot.skip(ftype)
18662
      else:
18663
        iprot.skip(ftype)
18664
      iprot.readFieldEnd()
18665
    iprot.readStructEnd()
18666
 
18667
  def write(self, oprot):
18668
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18669
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18670
      return
18671
    oprot.writeStructBegin('getAllBrandsByCategory_result')
18672
    if self.success is not None:
18673
      oprot.writeFieldBegin('success', TType.LIST, 0)
18674
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 18675
      for iter328 in self.success:
18676
        oprot.writeString(iter328)
5944 mandeep.dh 18677
      oprot.writeListEnd()
18678
      oprot.writeFieldEnd()
18679
    oprot.writeFieldStop()
18680
    oprot.writeStructEnd()
18681
 
18682
  def validate(self):
18683
    return
18684
 
18685
 
18686
  def __repr__(self):
18687
    L = ['%s=%r' % (key, value)
18688
      for key, value in self.__dict__.iteritems()]
18689
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18690
 
18691
  def __eq__(self, other):
18692
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18693
 
18694
  def __ne__(self, other):
18695
    return not (self == other)
18696
 
18697
class getAllBrands_args:
18698
 
18699
  thrift_spec = (
18700
  )
18701
 
18702
  def read(self, iprot):
18703
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18704
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18705
      return
18706
    iprot.readStructBegin()
18707
    while True:
18708
      (fname, ftype, fid) = iprot.readFieldBegin()
18709
      if ftype == TType.STOP:
18710
        break
18711
      else:
18712
        iprot.skip(ftype)
18713
      iprot.readFieldEnd()
18714
    iprot.readStructEnd()
18715
 
18716
  def write(self, oprot):
18717
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18718
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18719
      return
18720
    oprot.writeStructBegin('getAllBrands_args')
18721
    oprot.writeFieldStop()
18722
    oprot.writeStructEnd()
18723
 
18724
  def validate(self):
18725
    return
18726
 
18727
 
18728
  def __repr__(self):
18729
    L = ['%s=%r' % (key, value)
18730
      for key, value in self.__dict__.iteritems()]
18731
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18732
 
18733
  def __eq__(self, other):
18734
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18735
 
18736
  def __ne__(self, other):
18737
    return not (self == other)
18738
 
18739
class getAllBrands_result:
18740
  """
18741
  Attributes:
18742
   - success
18743
  """
18744
 
18745
  thrift_spec = (
18746
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
18747
  )
18748
 
18749
  def __init__(self, success=None,):
18750
    self.success = success
18751
 
18752
  def read(self, iprot):
18753
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18754
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18755
      return
18756
    iprot.readStructBegin()
18757
    while True:
18758
      (fname, ftype, fid) = iprot.readFieldBegin()
18759
      if ftype == TType.STOP:
18760
        break
18761
      if fid == 0:
18762
        if ftype == TType.LIST:
18763
          self.success = []
13493 amit.gupta 18764
          (_etype332, _size329) = iprot.readListBegin()
18765
          for _i333 in xrange(_size329):
18766
            _elem334 = iprot.readString();
18767
            self.success.append(_elem334)
5944 mandeep.dh 18768
          iprot.readListEnd()
18769
        else:
18770
          iprot.skip(ftype)
18771
      else:
18772
        iprot.skip(ftype)
18773
      iprot.readFieldEnd()
18774
    iprot.readStructEnd()
18775
 
18776
  def write(self, oprot):
18777
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18778
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18779
      return
18780
    oprot.writeStructBegin('getAllBrands_result')
18781
    if self.success is not None:
18782
      oprot.writeFieldBegin('success', TType.LIST, 0)
18783
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 18784
      for iter335 in self.success:
18785
        oprot.writeString(iter335)
5944 mandeep.dh 18786
      oprot.writeListEnd()
18787
      oprot.writeFieldEnd()
18788
    oprot.writeFieldStop()
18789
    oprot.writeStructEnd()
18790
 
18791
  def validate(self):
18792
    return
18793
 
18794
 
18795
  def __repr__(self):
18796
    L = ['%s=%r' % (key, value)
18797
      for key, value in self.__dict__.iteritems()]
18798
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18799
 
18800
  def __eq__(self, other):
18801
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18802
 
18803
  def __ne__(self, other):
18804
    return not (self == other)
18805
 
18806
class getAllSources_args:
18807
 
18808
  thrift_spec = (
18809
  )
18810
 
18811
  def read(self, iprot):
18812
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18813
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18814
      return
18815
    iprot.readStructBegin()
18816
    while True:
18817
      (fname, ftype, fid) = iprot.readFieldBegin()
18818
      if ftype == TType.STOP:
18819
        break
18820
      else:
18821
        iprot.skip(ftype)
18822
      iprot.readFieldEnd()
18823
    iprot.readStructEnd()
18824
 
18825
  def write(self, oprot):
18826
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18827
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18828
      return
18829
    oprot.writeStructBegin('getAllSources_args')
18830
    oprot.writeFieldStop()
18831
    oprot.writeStructEnd()
18832
 
18833
  def validate(self):
18834
    return
18835
 
18836
 
18837
  def __repr__(self):
18838
    L = ['%s=%r' % (key, value)
18839
      for key, value in self.__dict__.iteritems()]
18840
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18841
 
18842
  def __eq__(self, other):
18843
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18844
 
18845
  def __ne__(self, other):
18846
    return not (self == other)
18847
 
18848
class getAllSources_result:
18849
  """
18850
  Attributes:
18851
   - success
18852
  """
18853
 
18854
  thrift_spec = (
18855
    (0, TType.LIST, 'success', (TType.STRUCT,(Source, Source.thrift_spec)), None, ), # 0
18856
  )
18857
 
18858
  def __init__(self, success=None,):
18859
    self.success = success
18860
 
18861
  def read(self, iprot):
18862
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18863
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18864
      return
18865
    iprot.readStructBegin()
18866
    while True:
18867
      (fname, ftype, fid) = iprot.readFieldBegin()
18868
      if ftype == TType.STOP:
18869
        break
18870
      if fid == 0:
18871
        if ftype == TType.LIST:
18872
          self.success = []
13493 amit.gupta 18873
          (_etype339, _size336) = iprot.readListBegin()
18874
          for _i340 in xrange(_size336):
18875
            _elem341 = Source()
18876
            _elem341.read(iprot)
18877
            self.success.append(_elem341)
5944 mandeep.dh 18878
          iprot.readListEnd()
18879
        else:
18880
          iprot.skip(ftype)
18881
      else:
18882
        iprot.skip(ftype)
18883
      iprot.readFieldEnd()
18884
    iprot.readStructEnd()
18885
 
18886
  def write(self, oprot):
18887
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18888
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18889
      return
18890
    oprot.writeStructBegin('getAllSources_result')
18891
    if self.success is not None:
18892
      oprot.writeFieldBegin('success', TType.LIST, 0)
18893
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 18894
      for iter342 in self.success:
18895
        iter342.write(oprot)
5944 mandeep.dh 18896
      oprot.writeListEnd()
18897
      oprot.writeFieldEnd()
18898
    oprot.writeFieldStop()
18899
    oprot.writeStructEnd()
18900
 
18901
  def validate(self):
18902
    return
18903
 
18904
 
18905
  def __repr__(self):
18906
    L = ['%s=%r' % (key, value)
18907
      for key, value in self.__dict__.iteritems()]
18908
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18909
 
18910
  def __eq__(self, other):
18911
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18912
 
18913
  def __ne__(self, other):
18914
    return not (self == other)
18915
 
18916
class getItemPricingBySource_args:
18917
  """
18918
  Attributes:
18919
   - itemId
18920
   - sourceId
18921
  """
18922
 
18923
  thrift_spec = (
18924
    None, # 0
18925
    (1, TType.I64, 'itemId', None, None, ), # 1
18926
    (2, TType.I64, 'sourceId', None, None, ), # 2
18927
  )
18928
 
18929
  def __init__(self, itemId=None, sourceId=None,):
18930
    self.itemId = itemId
18931
    self.sourceId = sourceId
18932
 
18933
  def read(self, iprot):
18934
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18935
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18936
      return
18937
    iprot.readStructBegin()
18938
    while True:
18939
      (fname, ftype, fid) = iprot.readFieldBegin()
18940
      if ftype == TType.STOP:
18941
        break
18942
      if fid == 1:
18943
        if ftype == TType.I64:
18944
          self.itemId = iprot.readI64();
18945
        else:
18946
          iprot.skip(ftype)
18947
      elif fid == 2:
18948
        if ftype == TType.I64:
18949
          self.sourceId = iprot.readI64();
18950
        else:
18951
          iprot.skip(ftype)
18952
      else:
18953
        iprot.skip(ftype)
18954
      iprot.readFieldEnd()
18955
    iprot.readStructEnd()
18956
 
18957
  def write(self, oprot):
18958
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18959
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18960
      return
18961
    oprot.writeStructBegin('getItemPricingBySource_args')
18962
    if self.itemId is not None:
18963
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18964
      oprot.writeI64(self.itemId)
18965
      oprot.writeFieldEnd()
18966
    if self.sourceId is not None:
18967
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
18968
      oprot.writeI64(self.sourceId)
18969
      oprot.writeFieldEnd()
18970
    oprot.writeFieldStop()
18971
    oprot.writeStructEnd()
18972
 
18973
  def validate(self):
18974
    return
18975
 
18976
 
18977
  def __repr__(self):
18978
    L = ['%s=%r' % (key, value)
18979
      for key, value in self.__dict__.iteritems()]
18980
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18981
 
18982
  def __eq__(self, other):
18983
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18984
 
18985
  def __ne__(self, other):
18986
    return not (self == other)
18987
 
18988
class getItemPricingBySource_result:
18989
  """
18990
  Attributes:
18991
   - success
18992
   - cex
18993
  """
18994
 
18995
  thrift_spec = (
18996
    (0, TType.STRUCT, 'success', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 0
18997
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18998
  )
18999
 
19000
  def __init__(self, success=None, cex=None,):
19001
    self.success = success
19002
    self.cex = cex
19003
 
19004
  def read(self, iprot):
19005
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19006
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19007
      return
19008
    iprot.readStructBegin()
19009
    while True:
19010
      (fname, ftype, fid) = iprot.readFieldBegin()
19011
      if ftype == TType.STOP:
19012
        break
19013
      if fid == 0:
19014
        if ftype == TType.STRUCT:
19015
          self.success = SourceItemPricing()
19016
          self.success.read(iprot)
19017
        else:
19018
          iprot.skip(ftype)
19019
      elif fid == 1:
19020
        if ftype == TType.STRUCT:
19021
          self.cex = CatalogServiceException()
19022
          self.cex.read(iprot)
19023
        else:
19024
          iprot.skip(ftype)
19025
      else:
19026
        iprot.skip(ftype)
19027
      iprot.readFieldEnd()
19028
    iprot.readStructEnd()
19029
 
19030
  def write(self, oprot):
19031
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19032
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19033
      return
19034
    oprot.writeStructBegin('getItemPricingBySource_result')
19035
    if self.success is not None:
19036
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
19037
      self.success.write(oprot)
19038
      oprot.writeFieldEnd()
19039
    if self.cex is not None:
19040
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19041
      self.cex.write(oprot)
19042
      oprot.writeFieldEnd()
19043
    oprot.writeFieldStop()
19044
    oprot.writeStructEnd()
19045
 
19046
  def validate(self):
19047
    return
19048
 
19049
 
19050
  def __repr__(self):
19051
    L = ['%s=%r' % (key, value)
19052
      for key, value in self.__dict__.iteritems()]
19053
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19054
 
19055
  def __eq__(self, other):
19056
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19057
 
19058
  def __ne__(self, other):
19059
    return not (self == other)
19060
 
19061
class addSourceItemPricing_args:
19062
  """
19063
  Attributes:
19064
   - sourceItemPricing
19065
  """
19066
 
19067
  thrift_spec = (
19068
    None, # 0
19069
    (1, TType.STRUCT, 'sourceItemPricing', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 1
19070
  )
19071
 
19072
  def __init__(self, sourceItemPricing=None,):
19073
    self.sourceItemPricing = sourceItemPricing
19074
 
19075
  def read(self, iprot):
19076
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19077
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19078
      return
19079
    iprot.readStructBegin()
19080
    while True:
19081
      (fname, ftype, fid) = iprot.readFieldBegin()
19082
      if ftype == TType.STOP:
19083
        break
19084
      if fid == 1:
19085
        if ftype == TType.STRUCT:
19086
          self.sourceItemPricing = SourceItemPricing()
19087
          self.sourceItemPricing.read(iprot)
19088
        else:
19089
          iprot.skip(ftype)
19090
      else:
19091
        iprot.skip(ftype)
19092
      iprot.readFieldEnd()
19093
    iprot.readStructEnd()
19094
 
19095
  def write(self, oprot):
19096
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19097
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19098
      return
19099
    oprot.writeStructBegin('addSourceItemPricing_args')
19100
    if self.sourceItemPricing is not None:
19101
      oprot.writeFieldBegin('sourceItemPricing', TType.STRUCT, 1)
19102
      self.sourceItemPricing.write(oprot)
19103
      oprot.writeFieldEnd()
19104
    oprot.writeFieldStop()
19105
    oprot.writeStructEnd()
19106
 
19107
  def validate(self):
19108
    return
19109
 
19110
 
19111
  def __repr__(self):
19112
    L = ['%s=%r' % (key, value)
19113
      for key, value in self.__dict__.iteritems()]
19114
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19115
 
19116
  def __eq__(self, other):
19117
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19118
 
19119
  def __ne__(self, other):
19120
    return not (self == other)
19121
 
19122
class addSourceItemPricing_result:
19123
  """
19124
  Attributes:
19125
   - cex
19126
  """
19127
 
19128
  thrift_spec = (
19129
    None, # 0
19130
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19131
  )
19132
 
19133
  def __init__(self, cex=None,):
19134
    self.cex = cex
19135
 
19136
  def read(self, iprot):
19137
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19138
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19139
      return
19140
    iprot.readStructBegin()
19141
    while True:
19142
      (fname, ftype, fid) = iprot.readFieldBegin()
19143
      if ftype == TType.STOP:
19144
        break
19145
      if fid == 1:
19146
        if ftype == TType.STRUCT:
19147
          self.cex = CatalogServiceException()
19148
          self.cex.read(iprot)
19149
        else:
19150
          iprot.skip(ftype)
19151
      else:
19152
        iprot.skip(ftype)
19153
      iprot.readFieldEnd()
19154
    iprot.readStructEnd()
19155
 
19156
  def write(self, oprot):
19157
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19158
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19159
      return
19160
    oprot.writeStructBegin('addSourceItemPricing_result')
19161
    if self.cex is not None:
19162
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19163
      self.cex.write(oprot)
19164
      oprot.writeFieldEnd()
19165
    oprot.writeFieldStop()
19166
    oprot.writeStructEnd()
19167
 
19168
  def validate(self):
19169
    return
19170
 
19171
 
19172
  def __repr__(self):
19173
    L = ['%s=%r' % (key, value)
19174
      for key, value in self.__dict__.iteritems()]
19175
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19176
 
19177
  def __eq__(self, other):
19178
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19179
 
19180
  def __ne__(self, other):
19181
    return not (self == other)
19182
 
19183
class getAllSourcePricing_args:
19184
  """
19185
  Attributes:
19186
   - itemId
19187
  """
19188
 
19189
  thrift_spec = (
19190
    None, # 0
19191
    (1, TType.I64, 'itemId', None, None, ), # 1
19192
  )
19193
 
19194
  def __init__(self, itemId=None,):
19195
    self.itemId = itemId
19196
 
19197
  def read(self, iprot):
19198
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19199
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19200
      return
19201
    iprot.readStructBegin()
19202
    while True:
19203
      (fname, ftype, fid) = iprot.readFieldBegin()
19204
      if ftype == TType.STOP:
19205
        break
19206
      if fid == 1:
19207
        if ftype == TType.I64:
19208
          self.itemId = iprot.readI64();
19209
        else:
19210
          iprot.skip(ftype)
19211
      else:
19212
        iprot.skip(ftype)
19213
      iprot.readFieldEnd()
19214
    iprot.readStructEnd()
19215
 
19216
  def write(self, oprot):
19217
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19218
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19219
      return
19220
    oprot.writeStructBegin('getAllSourcePricing_args')
19221
    if self.itemId is not None:
19222
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19223
      oprot.writeI64(self.itemId)
19224
      oprot.writeFieldEnd()
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 getAllSourcePricing_result:
19244
  """
19245
  Attributes:
19246
   - success
19247
   - cex
19248
  """
19249
 
19250
  thrift_spec = (
19251
    (0, TType.LIST, 'success', (TType.STRUCT,(SourceItemPricing, SourceItemPricing.thrift_spec)), None, ), # 0
19252
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19253
  )
19254
 
19255
  def __init__(self, success=None, cex=None,):
19256
    self.success = success
19257
    self.cex = cex
19258
 
19259
  def read(self, iprot):
19260
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19261
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19262
      return
19263
    iprot.readStructBegin()
19264
    while True:
19265
      (fname, ftype, fid) = iprot.readFieldBegin()
19266
      if ftype == TType.STOP:
19267
        break
19268
      if fid == 0:
19269
        if ftype == TType.LIST:
19270
          self.success = []
13493 amit.gupta 19271
          (_etype346, _size343) = iprot.readListBegin()
19272
          for _i347 in xrange(_size343):
19273
            _elem348 = SourceItemPricing()
19274
            _elem348.read(iprot)
19275
            self.success.append(_elem348)
5944 mandeep.dh 19276
          iprot.readListEnd()
19277
        else:
19278
          iprot.skip(ftype)
19279
      elif fid == 1:
19280
        if ftype == TType.STRUCT:
19281
          self.cex = CatalogServiceException()
19282
          self.cex.read(iprot)
19283
        else:
19284
          iprot.skip(ftype)
19285
      else:
19286
        iprot.skip(ftype)
19287
      iprot.readFieldEnd()
19288
    iprot.readStructEnd()
19289
 
19290
  def write(self, oprot):
19291
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19292
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19293
      return
19294
    oprot.writeStructBegin('getAllSourcePricing_result')
19295
    if self.success is not None:
19296
      oprot.writeFieldBegin('success', TType.LIST, 0)
19297
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 19298
      for iter349 in self.success:
19299
        iter349.write(oprot)
5944 mandeep.dh 19300
      oprot.writeListEnd()
19301
      oprot.writeFieldEnd()
19302
    if self.cex is not None:
19303
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19304
      self.cex.write(oprot)
19305
      oprot.writeFieldEnd()
19306
    oprot.writeFieldStop()
19307
    oprot.writeStructEnd()
19308
 
19309
  def validate(self):
19310
    return
19311
 
19312
 
19313
  def __repr__(self):
19314
    L = ['%s=%r' % (key, value)
19315
      for key, value in self.__dict__.iteritems()]
19316
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19317
 
19318
  def __eq__(self, other):
19319
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19320
 
19321
  def __ne__(self, other):
19322
    return not (self == other)
19323
 
19324
class getItemForSource_args:
19325
  """
19326
  Attributes:
19327
   - item_id
19328
   - sourceId
19329
  """
19330
 
19331
  thrift_spec = (
19332
    None, # 0
19333
    (1, TType.I64, 'item_id', None, None, ), # 1
19334
    (2, TType.I64, 'sourceId', None, None, ), # 2
19335
  )
19336
 
19337
  def __init__(self, item_id=None, sourceId=None,):
19338
    self.item_id = item_id
19339
    self.sourceId = sourceId
19340
 
19341
  def read(self, iprot):
19342
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19343
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19344
      return
19345
    iprot.readStructBegin()
19346
    while True:
19347
      (fname, ftype, fid) = iprot.readFieldBegin()
19348
      if ftype == TType.STOP:
19349
        break
19350
      if fid == 1:
19351
        if ftype == TType.I64:
19352
          self.item_id = iprot.readI64();
19353
        else:
19354
          iprot.skip(ftype)
19355
      elif fid == 2:
19356
        if ftype == TType.I64:
19357
          self.sourceId = iprot.readI64();
19358
        else:
19359
          iprot.skip(ftype)
19360
      else:
19361
        iprot.skip(ftype)
19362
      iprot.readFieldEnd()
19363
    iprot.readStructEnd()
19364
 
19365
  def write(self, oprot):
19366
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19367
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19368
      return
19369
    oprot.writeStructBegin('getItemForSource_args')
19370
    if self.item_id is not None:
19371
      oprot.writeFieldBegin('item_id', TType.I64, 1)
19372
      oprot.writeI64(self.item_id)
19373
      oprot.writeFieldEnd()
19374
    if self.sourceId is not None:
19375
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
19376
      oprot.writeI64(self.sourceId)
19377
      oprot.writeFieldEnd()
19378
    oprot.writeFieldStop()
19379
    oprot.writeStructEnd()
19380
 
19381
  def validate(self):
19382
    return
19383
 
19384
 
19385
  def __repr__(self):
19386
    L = ['%s=%r' % (key, value)
19387
      for key, value in self.__dict__.iteritems()]
19388
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19389
 
19390
  def __eq__(self, other):
19391
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19392
 
19393
  def __ne__(self, other):
19394
    return not (self == other)
19395
 
19396
class getItemForSource_result:
19397
  """
19398
  Attributes:
19399
   - success
19400
   - cex
19401
  """
19402
 
19403
  thrift_spec = (
19404
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
19405
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19406
  )
19407
 
19408
  def __init__(self, success=None, cex=None,):
19409
    self.success = success
19410
    self.cex = cex
19411
 
19412
  def read(self, iprot):
19413
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19414
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19415
      return
19416
    iprot.readStructBegin()
19417
    while True:
19418
      (fname, ftype, fid) = iprot.readFieldBegin()
19419
      if ftype == TType.STOP:
19420
        break
19421
      if fid == 0:
19422
        if ftype == TType.STRUCT:
19423
          self.success = Item()
19424
          self.success.read(iprot)
19425
        else:
19426
          iprot.skip(ftype)
19427
      elif fid == 1:
19428
        if ftype == TType.STRUCT:
19429
          self.cex = CatalogServiceException()
19430
          self.cex.read(iprot)
19431
        else:
19432
          iprot.skip(ftype)
19433
      else:
19434
        iprot.skip(ftype)
19435
      iprot.readFieldEnd()
19436
    iprot.readStructEnd()
19437
 
19438
  def write(self, oprot):
19439
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19440
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19441
      return
19442
    oprot.writeStructBegin('getItemForSource_result')
19443
    if self.success is not None:
19444
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
19445
      self.success.write(oprot)
19446
      oprot.writeFieldEnd()
19447
    if self.cex is not None:
19448
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19449
      self.cex.write(oprot)
19450
      oprot.writeFieldEnd()
19451
    oprot.writeFieldStop()
19452
    oprot.writeStructEnd()
19453
 
19454
  def validate(self):
19455
    return
19456
 
19457
 
19458
  def __repr__(self):
19459
    L = ['%s=%r' % (key, value)
19460
      for key, value in self.__dict__.iteritems()]
19461
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19462
 
19463
  def __eq__(self, other):
19464
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19465
 
19466
  def __ne__(self, other):
19467
    return not (self == other)
19468
 
19469
class searchItemsInRange_args:
19470
  """
19471
  Attributes:
19472
   - searchTerms
19473
   - offset
19474
   - limit
19475
  """
19476
 
19477
  thrift_spec = (
19478
    None, # 0
19479
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
19480
    (2, TType.I64, 'offset', None, None, ), # 2
19481
    (3, TType.I64, 'limit', None, None, ), # 3
19482
  )
19483
 
19484
  def __init__(self, searchTerms=None, offset=None, limit=None,):
19485
    self.searchTerms = searchTerms
19486
    self.offset = offset
19487
    self.limit = limit
19488
 
19489
  def read(self, iprot):
19490
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19491
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19492
      return
19493
    iprot.readStructBegin()
19494
    while True:
19495
      (fname, ftype, fid) = iprot.readFieldBegin()
19496
      if ftype == TType.STOP:
19497
        break
19498
      if fid == 1:
19499
        if ftype == TType.LIST:
19500
          self.searchTerms = []
13493 amit.gupta 19501
          (_etype353, _size350) = iprot.readListBegin()
19502
          for _i354 in xrange(_size350):
19503
            _elem355 = iprot.readString();
19504
            self.searchTerms.append(_elem355)
5944 mandeep.dh 19505
          iprot.readListEnd()
19506
        else:
19507
          iprot.skip(ftype)
19508
      elif fid == 2:
19509
        if ftype == TType.I64:
19510
          self.offset = iprot.readI64();
19511
        else:
19512
          iprot.skip(ftype)
19513
      elif fid == 3:
19514
        if ftype == TType.I64:
19515
          self.limit = iprot.readI64();
19516
        else:
19517
          iprot.skip(ftype)
19518
      else:
19519
        iprot.skip(ftype)
19520
      iprot.readFieldEnd()
19521
    iprot.readStructEnd()
19522
 
19523
  def write(self, oprot):
19524
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19525
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19526
      return
19527
    oprot.writeStructBegin('searchItemsInRange_args')
19528
    if self.searchTerms is not None:
19529
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
19530
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
13493 amit.gupta 19531
      for iter356 in self.searchTerms:
19532
        oprot.writeString(iter356)
5944 mandeep.dh 19533
      oprot.writeListEnd()
19534
      oprot.writeFieldEnd()
19535
    if self.offset is not None:
19536
      oprot.writeFieldBegin('offset', TType.I64, 2)
19537
      oprot.writeI64(self.offset)
19538
      oprot.writeFieldEnd()
19539
    if self.limit is not None:
19540
      oprot.writeFieldBegin('limit', TType.I64, 3)
19541
      oprot.writeI64(self.limit)
19542
      oprot.writeFieldEnd()
19543
    oprot.writeFieldStop()
19544
    oprot.writeStructEnd()
19545
 
19546
  def validate(self):
19547
    return
19548
 
19549
 
19550
  def __repr__(self):
19551
    L = ['%s=%r' % (key, value)
19552
      for key, value in self.__dict__.iteritems()]
19553
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19554
 
19555
  def __eq__(self, other):
19556
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19557
 
19558
  def __ne__(self, other):
19559
    return not (self == other)
19560
 
19561
class searchItemsInRange_result:
19562
  """
19563
  Attributes:
19564
   - success
19565
  """
19566
 
19567
  thrift_spec = (
19568
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
19569
  )
19570
 
19571
  def __init__(self, success=None,):
19572
    self.success = success
19573
 
19574
  def read(self, iprot):
19575
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19576
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19577
      return
19578
    iprot.readStructBegin()
19579
    while True:
19580
      (fname, ftype, fid) = iprot.readFieldBegin()
19581
      if ftype == TType.STOP:
19582
        break
19583
      if fid == 0:
19584
        if ftype == TType.LIST:
19585
          self.success = []
13493 amit.gupta 19586
          (_etype360, _size357) = iprot.readListBegin()
19587
          for _i361 in xrange(_size357):
19588
            _elem362 = Item()
19589
            _elem362.read(iprot)
19590
            self.success.append(_elem362)
5944 mandeep.dh 19591
          iprot.readListEnd()
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('searchItemsInRange_result')
19604
    if self.success is not None:
19605
      oprot.writeFieldBegin('success', TType.LIST, 0)
19606
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 19607
      for iter363 in self.success:
19608
        iter363.write(oprot)
5944 mandeep.dh 19609
      oprot.writeListEnd()
19610
      oprot.writeFieldEnd()
19611
    oprot.writeFieldStop()
19612
    oprot.writeStructEnd()
19613
 
19614
  def validate(self):
19615
    return
19616
 
19617
 
19618
  def __repr__(self):
19619
    L = ['%s=%r' % (key, value)
19620
      for key, value in self.__dict__.iteritems()]
19621
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19622
 
19623
  def __eq__(self, other):
19624
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19625
 
19626
  def __ne__(self, other):
19627
    return not (self == other)
19628
 
19629
class getSearchResultCount_args:
19630
  """
19631
  Attributes:
19632
   - searchTerms
19633
  """
19634
 
19635
  thrift_spec = (
19636
    None, # 0
19637
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
19638
  )
19639
 
19640
  def __init__(self, searchTerms=None,):
19641
    self.searchTerms = searchTerms
19642
 
19643
  def read(self, iprot):
19644
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19645
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19646
      return
19647
    iprot.readStructBegin()
19648
    while True:
19649
      (fname, ftype, fid) = iprot.readFieldBegin()
19650
      if ftype == TType.STOP:
19651
        break
19652
      if fid == 1:
19653
        if ftype == TType.LIST:
19654
          self.searchTerms = []
13493 amit.gupta 19655
          (_etype367, _size364) = iprot.readListBegin()
19656
          for _i368 in xrange(_size364):
19657
            _elem369 = iprot.readString();
19658
            self.searchTerms.append(_elem369)
5944 mandeep.dh 19659
          iprot.readListEnd()
19660
        else:
19661
          iprot.skip(ftype)
19662
      else:
19663
        iprot.skip(ftype)
19664
      iprot.readFieldEnd()
19665
    iprot.readStructEnd()
19666
 
19667
  def write(self, oprot):
19668
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19669
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19670
      return
19671
    oprot.writeStructBegin('getSearchResultCount_args')
19672
    if self.searchTerms is not None:
19673
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
19674
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
13493 amit.gupta 19675
      for iter370 in self.searchTerms:
19676
        oprot.writeString(iter370)
5944 mandeep.dh 19677
      oprot.writeListEnd()
19678
      oprot.writeFieldEnd()
19679
    oprot.writeFieldStop()
19680
    oprot.writeStructEnd()
19681
 
19682
  def validate(self):
19683
    return
19684
 
19685
 
19686
  def __repr__(self):
19687
    L = ['%s=%r' % (key, value)
19688
      for key, value in self.__dict__.iteritems()]
19689
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19690
 
19691
  def __eq__(self, other):
19692
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19693
 
19694
  def __ne__(self, other):
19695
    return not (self == other)
19696
 
19697
class getSearchResultCount_result:
19698
  """
19699
  Attributes:
19700
   - success
19701
  """
19702
 
19703
  thrift_spec = (
19704
    (0, TType.I32, 'success', None, None, ), # 0
19705
  )
19706
 
19707
  def __init__(self, success=None,):
19708
    self.success = success
19709
 
19710
  def read(self, iprot):
19711
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19712
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19713
      return
19714
    iprot.readStructBegin()
19715
    while True:
19716
      (fname, ftype, fid) = iprot.readFieldBegin()
19717
      if ftype == TType.STOP:
19718
        break
19719
      if fid == 0:
19720
        if ftype == TType.I32:
19721
          self.success = iprot.readI32();
19722
        else:
19723
          iprot.skip(ftype)
19724
      else:
19725
        iprot.skip(ftype)
19726
      iprot.readFieldEnd()
19727
    iprot.readStructEnd()
19728
 
19729
  def write(self, oprot):
19730
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19731
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19732
      return
19733
    oprot.writeStructBegin('getSearchResultCount_result')
19734
    if self.success is not None:
19735
      oprot.writeFieldBegin('success', TType.I32, 0)
19736
      oprot.writeI32(self.success)
19737
      oprot.writeFieldEnd()
19738
    oprot.writeFieldStop()
19739
    oprot.writeStructEnd()
19740
 
19741
  def validate(self):
19742
    return
19743
 
19744
 
19745
  def __repr__(self):
19746
    L = ['%s=%r' % (key, value)
19747
      for key, value in self.__dict__.iteritems()]
19748
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19749
 
19750
  def __eq__(self, other):
19751
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19752
 
19753
  def __ne__(self, other):
19754
    return not (self == other)
19755
 
19756
class getProductNotifications_args:
19757
  """
19758
  Attributes:
19759
   - startDateTime
19760
  """
19761
 
19762
  thrift_spec = (
19763
    None, # 0
19764
    (1, TType.I64, 'startDateTime', None, None, ), # 1
19765
  )
19766
 
19767
  def __init__(self, startDateTime=None,):
19768
    self.startDateTime = startDateTime
19769
 
19770
  def read(self, iprot):
19771
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19772
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19773
      return
19774
    iprot.readStructBegin()
19775
    while True:
19776
      (fname, ftype, fid) = iprot.readFieldBegin()
19777
      if ftype == TType.STOP:
19778
        break
19779
      if fid == 1:
19780
        if ftype == TType.I64:
19781
          self.startDateTime = iprot.readI64();
19782
        else:
19783
          iprot.skip(ftype)
19784
      else:
19785
        iprot.skip(ftype)
19786
      iprot.readFieldEnd()
19787
    iprot.readStructEnd()
19788
 
19789
  def write(self, oprot):
19790
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19791
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19792
      return
19793
    oprot.writeStructBegin('getProductNotifications_args')
19794
    if self.startDateTime is not None:
19795
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
19796
      oprot.writeI64(self.startDateTime)
19797
      oprot.writeFieldEnd()
19798
    oprot.writeFieldStop()
19799
    oprot.writeStructEnd()
19800
 
19801
  def validate(self):
19802
    return
19803
 
19804
 
19805
  def __repr__(self):
19806
    L = ['%s=%r' % (key, value)
19807
      for key, value in self.__dict__.iteritems()]
19808
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19809
 
19810
  def __eq__(self, other):
19811
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19812
 
19813
  def __ne__(self, other):
19814
    return not (self == other)
19815
 
19816
class getProductNotifications_result:
19817
  """
19818
  Attributes:
19819
   - success
19820
  """
19821
 
19822
  thrift_spec = (
19823
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequest, ProductNotificationRequest.thrift_spec)), None, ), # 0
19824
  )
19825
 
19826
  def __init__(self, success=None,):
19827
    self.success = success
19828
 
19829
  def read(self, iprot):
19830
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19831
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19832
      return
19833
    iprot.readStructBegin()
19834
    while True:
19835
      (fname, ftype, fid) = iprot.readFieldBegin()
19836
      if ftype == TType.STOP:
19837
        break
19838
      if fid == 0:
19839
        if ftype == TType.LIST:
19840
          self.success = []
13493 amit.gupta 19841
          (_etype374, _size371) = iprot.readListBegin()
19842
          for _i375 in xrange(_size371):
19843
            _elem376 = ProductNotificationRequest()
19844
            _elem376.read(iprot)
19845
            self.success.append(_elem376)
5944 mandeep.dh 19846
          iprot.readListEnd()
19847
        else:
19848
          iprot.skip(ftype)
19849
      else:
19850
        iprot.skip(ftype)
19851
      iprot.readFieldEnd()
19852
    iprot.readStructEnd()
19853
 
19854
  def write(self, oprot):
19855
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19856
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19857
      return
19858
    oprot.writeStructBegin('getProductNotifications_result')
19859
    if self.success is not None:
19860
      oprot.writeFieldBegin('success', TType.LIST, 0)
19861
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 19862
      for iter377 in self.success:
19863
        iter377.write(oprot)
5944 mandeep.dh 19864
      oprot.writeListEnd()
19865
      oprot.writeFieldEnd()
19866
    oprot.writeFieldStop()
19867
    oprot.writeStructEnd()
19868
 
19869
  def validate(self):
19870
    return
19871
 
19872
 
19873
  def __repr__(self):
19874
    L = ['%s=%r' % (key, value)
19875
      for key, value in self.__dict__.iteritems()]
19876
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19877
 
19878
  def __eq__(self, other):
19879
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19880
 
19881
  def __ne__(self, other):
19882
    return not (self == other)
19883
 
19884
class getProductNotificationRequestCount_args:
19885
  """
19886
  Attributes:
19887
   - startDateTime
7897 amar.kumar 19888
   - categoryId
5944 mandeep.dh 19889
  """
19890
 
19891
  thrift_spec = (
19892
    None, # 0
19893
    (1, TType.I64, 'startDateTime', None, None, ), # 1
7897 amar.kumar 19894
    (2, TType.I64, 'categoryId', None, None, ), # 2
5944 mandeep.dh 19895
  )
19896
 
7897 amar.kumar 19897
  def __init__(self, startDateTime=None, categoryId=None,):
5944 mandeep.dh 19898
    self.startDateTime = startDateTime
7897 amar.kumar 19899
    self.categoryId = categoryId
5944 mandeep.dh 19900
 
19901
  def read(self, iprot):
19902
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19903
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19904
      return
19905
    iprot.readStructBegin()
19906
    while True:
19907
      (fname, ftype, fid) = iprot.readFieldBegin()
19908
      if ftype == TType.STOP:
19909
        break
19910
      if fid == 1:
19911
        if ftype == TType.I64:
19912
          self.startDateTime = iprot.readI64();
19913
        else:
19914
          iprot.skip(ftype)
7897 amar.kumar 19915
      elif fid == 2:
19916
        if ftype == TType.I64:
19917
          self.categoryId = iprot.readI64();
19918
        else:
19919
          iprot.skip(ftype)
5944 mandeep.dh 19920
      else:
19921
        iprot.skip(ftype)
19922
      iprot.readFieldEnd()
19923
    iprot.readStructEnd()
19924
 
19925
  def write(self, oprot):
19926
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19927
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19928
      return
19929
    oprot.writeStructBegin('getProductNotificationRequestCount_args')
19930
    if self.startDateTime is not None:
19931
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
19932
      oprot.writeI64(self.startDateTime)
19933
      oprot.writeFieldEnd()
7897 amar.kumar 19934
    if self.categoryId is not None:
19935
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
19936
      oprot.writeI64(self.categoryId)
19937
      oprot.writeFieldEnd()
5944 mandeep.dh 19938
    oprot.writeFieldStop()
19939
    oprot.writeStructEnd()
19940
 
19941
  def validate(self):
19942
    return
19943
 
19944
 
19945
  def __repr__(self):
19946
    L = ['%s=%r' % (key, value)
19947
      for key, value in self.__dict__.iteritems()]
19948
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19949
 
19950
  def __eq__(self, other):
19951
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19952
 
19953
  def __ne__(self, other):
19954
    return not (self == other)
19955
 
19956
class getProductNotificationRequestCount_result:
19957
  """
19958
  Attributes:
19959
   - success
19960
  """
19961
 
19962
  thrift_spec = (
19963
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequestCount, ProductNotificationRequestCount.thrift_spec)), None, ), # 0
19964
  )
19965
 
19966
  def __init__(self, success=None,):
19967
    self.success = success
19968
 
19969
  def read(self, iprot):
19970
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19971
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19972
      return
19973
    iprot.readStructBegin()
19974
    while True:
19975
      (fname, ftype, fid) = iprot.readFieldBegin()
19976
      if ftype == TType.STOP:
19977
        break
19978
      if fid == 0:
19979
        if ftype == TType.LIST:
19980
          self.success = []
13493 amit.gupta 19981
          (_etype381, _size378) = iprot.readListBegin()
19982
          for _i382 in xrange(_size378):
19983
            _elem383 = ProductNotificationRequestCount()
19984
            _elem383.read(iprot)
19985
            self.success.append(_elem383)
5944 mandeep.dh 19986
          iprot.readListEnd()
19987
        else:
19988
          iprot.skip(ftype)
19989
      else:
19990
        iprot.skip(ftype)
19991
      iprot.readFieldEnd()
19992
    iprot.readStructEnd()
19993
 
19994
  def write(self, oprot):
19995
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19996
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19997
      return
19998
    oprot.writeStructBegin('getProductNotificationRequestCount_result')
19999
    if self.success is not None:
20000
      oprot.writeFieldBegin('success', TType.LIST, 0)
20001
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 20002
      for iter384 in self.success:
20003
        iter384.write(oprot)
5944 mandeep.dh 20004
      oprot.writeListEnd()
20005
      oprot.writeFieldEnd()
20006
    oprot.writeFieldStop()
20007
    oprot.writeStructEnd()
20008
 
20009
  def validate(self):
20010
    return
20011
 
20012
 
20013
  def __repr__(self):
20014
    L = ['%s=%r' % (key, value)
20015
      for key, value in self.__dict__.iteritems()]
20016
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20017
 
20018
  def __eq__(self, other):
20019
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20020
 
20021
  def __ne__(self, other):
20022
    return not (self == other)
20023
 
20024
class addAuthorizationLog_args:
20025
  """
20026
  Attributes:
20027
   - itemId
20028
   - username
20029
   - reason
20030
  """
20031
 
20032
  thrift_spec = (
20033
    None, # 0
20034
    (1, TType.I64, 'itemId', None, None, ), # 1
20035
    (2, TType.STRING, 'username', None, None, ), # 2
20036
    (3, TType.STRING, 'reason', None, None, ), # 3
20037
  )
20038
 
20039
  def __init__(self, itemId=None, username=None, reason=None,):
20040
    self.itemId = itemId
20041
    self.username = username
20042
    self.reason = reason
20043
 
20044
  def read(self, iprot):
20045
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20046
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20047
      return
20048
    iprot.readStructBegin()
20049
    while True:
20050
      (fname, ftype, fid) = iprot.readFieldBegin()
20051
      if ftype == TType.STOP:
20052
        break
20053
      if fid == 1:
20054
        if ftype == TType.I64:
20055
          self.itemId = iprot.readI64();
20056
        else:
20057
          iprot.skip(ftype)
20058
      elif fid == 2:
20059
        if ftype == TType.STRING:
20060
          self.username = iprot.readString();
20061
        else:
20062
          iprot.skip(ftype)
20063
      elif fid == 3:
20064
        if ftype == TType.STRING:
20065
          self.reason = iprot.readString();
20066
        else:
20067
          iprot.skip(ftype)
20068
      else:
20069
        iprot.skip(ftype)
20070
      iprot.readFieldEnd()
20071
    iprot.readStructEnd()
20072
 
20073
  def write(self, oprot):
20074
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20075
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20076
      return
20077
    oprot.writeStructBegin('addAuthorizationLog_args')
20078
    if self.itemId is not None:
20079
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20080
      oprot.writeI64(self.itemId)
20081
      oprot.writeFieldEnd()
20082
    if self.username is not None:
20083
      oprot.writeFieldBegin('username', TType.STRING, 2)
20084
      oprot.writeString(self.username)
20085
      oprot.writeFieldEnd()
20086
    if self.reason is not None:
20087
      oprot.writeFieldBegin('reason', TType.STRING, 3)
20088
      oprot.writeString(self.reason)
20089
      oprot.writeFieldEnd()
20090
    oprot.writeFieldStop()
20091
    oprot.writeStructEnd()
20092
 
20093
  def validate(self):
20094
    return
20095
 
20096
 
20097
  def __repr__(self):
20098
    L = ['%s=%r' % (key, value)
20099
      for key, value in self.__dict__.iteritems()]
20100
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20101
 
20102
  def __eq__(self, other):
20103
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20104
 
20105
  def __ne__(self, other):
20106
    return not (self == other)
20107
 
20108
class addAuthorizationLog_result:
20109
  """
20110
  Attributes:
20111
   - success
20112
   - cex
20113
  """
20114
 
20115
  thrift_spec = (
20116
    (0, TType.BOOL, 'success', None, None, ), # 0
20117
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20118
  )
20119
 
20120
  def __init__(self, success=None, cex=None,):
20121
    self.success = success
20122
    self.cex = cex
20123
 
20124
  def read(self, iprot):
20125
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20126
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20127
      return
20128
    iprot.readStructBegin()
20129
    while True:
20130
      (fname, ftype, fid) = iprot.readFieldBegin()
20131
      if ftype == TType.STOP:
20132
        break
20133
      if fid == 0:
20134
        if ftype == TType.BOOL:
20135
          self.success = iprot.readBool();
20136
        else:
20137
          iprot.skip(ftype)
20138
      elif fid == 1:
20139
        if ftype == TType.STRUCT:
20140
          self.cex = CatalogServiceException()
20141
          self.cex.read(iprot)
20142
        else:
20143
          iprot.skip(ftype)
20144
      else:
20145
        iprot.skip(ftype)
20146
      iprot.readFieldEnd()
20147
    iprot.readStructEnd()
20148
 
20149
  def write(self, oprot):
20150
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20151
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20152
      return
20153
    oprot.writeStructBegin('addAuthorizationLog_result')
20154
    if self.success is not None:
20155
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20156
      oprot.writeBool(self.success)
20157
      oprot.writeFieldEnd()
20158
    if self.cex is not None:
20159
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20160
      self.cex.write(oprot)
20161
      oprot.writeFieldEnd()
20162
    oprot.writeFieldStop()
20163
    oprot.writeStructEnd()
20164
 
20165
  def validate(self):
20166
    return
20167
 
20168
 
20169
  def __repr__(self):
20170
    L = ['%s=%r' % (key, value)
20171
      for key, value in self.__dict__.iteritems()]
20172
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20173
 
20174
  def __eq__(self, other):
20175
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20176
 
20177
  def __ne__(self, other):
20178
    return not (self == other)
20179
 
20180
class addupdateVoucherForItem_args:
20181
  """
20182
  Attributes:
20183
   - catalog_item_id
20184
   - voucherType
20185
   - voucherAmount
20186
  """
20187
 
20188
  thrift_spec = (
20189
    None, # 0
20190
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20191
    (2, TType.I64, 'voucherType', None, None, ), # 2
20192
    (3, TType.I64, 'voucherAmount', None, None, ), # 3
20193
  )
20194
 
20195
  def __init__(self, catalog_item_id=None, voucherType=None, voucherAmount=None,):
20196
    self.catalog_item_id = catalog_item_id
20197
    self.voucherType = voucherType
20198
    self.voucherAmount = voucherAmount
20199
 
20200
  def read(self, iprot):
20201
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20202
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20203
      return
20204
    iprot.readStructBegin()
20205
    while True:
20206
      (fname, ftype, fid) = iprot.readFieldBegin()
20207
      if ftype == TType.STOP:
20208
        break
20209
      if fid == 1:
20210
        if ftype == TType.I64:
20211
          self.catalog_item_id = iprot.readI64();
20212
        else:
20213
          iprot.skip(ftype)
20214
      elif fid == 2:
20215
        if ftype == TType.I64:
20216
          self.voucherType = iprot.readI64();
20217
        else:
20218
          iprot.skip(ftype)
20219
      elif fid == 3:
20220
        if ftype == TType.I64:
20221
          self.voucherAmount = iprot.readI64();
20222
        else:
20223
          iprot.skip(ftype)
20224
      else:
20225
        iprot.skip(ftype)
20226
      iprot.readFieldEnd()
20227
    iprot.readStructEnd()
20228
 
20229
  def write(self, oprot):
20230
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20231
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20232
      return
20233
    oprot.writeStructBegin('addupdateVoucherForItem_args')
20234
    if self.catalog_item_id is not None:
20235
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20236
      oprot.writeI64(self.catalog_item_id)
20237
      oprot.writeFieldEnd()
20238
    if self.voucherType is not None:
20239
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20240
      oprot.writeI64(self.voucherType)
20241
      oprot.writeFieldEnd()
20242
    if self.voucherAmount is not None:
20243
      oprot.writeFieldBegin('voucherAmount', TType.I64, 3)
20244
      oprot.writeI64(self.voucherAmount)
20245
      oprot.writeFieldEnd()
20246
    oprot.writeFieldStop()
20247
    oprot.writeStructEnd()
20248
 
20249
  def validate(self):
20250
    return
20251
 
20252
 
20253
  def __repr__(self):
20254
    L = ['%s=%r' % (key, value)
20255
      for key, value in self.__dict__.iteritems()]
20256
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20257
 
20258
  def __eq__(self, other):
20259
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20260
 
20261
  def __ne__(self, other):
20262
    return not (self == other)
20263
 
20264
class addupdateVoucherForItem_result:
20265
  """
20266
  Attributes:
20267
   - success
20268
   - cex
20269
  """
20270
 
20271
  thrift_spec = (
20272
    (0, TType.BOOL, 'success', None, None, ), # 0
20273
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20274
  )
20275
 
20276
  def __init__(self, success=None, cex=None,):
20277
    self.success = success
20278
    self.cex = cex
20279
 
20280
  def read(self, iprot):
20281
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20282
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20283
      return
20284
    iprot.readStructBegin()
20285
    while True:
20286
      (fname, ftype, fid) = iprot.readFieldBegin()
20287
      if ftype == TType.STOP:
20288
        break
20289
      if fid == 0:
20290
        if ftype == TType.BOOL:
20291
          self.success = iprot.readBool();
20292
        else:
20293
          iprot.skip(ftype)
20294
      elif fid == 1:
20295
        if ftype == TType.STRUCT:
20296
          self.cex = CatalogServiceException()
20297
          self.cex.read(iprot)
20298
        else:
20299
          iprot.skip(ftype)
20300
      else:
20301
        iprot.skip(ftype)
20302
      iprot.readFieldEnd()
20303
    iprot.readStructEnd()
20304
 
20305
  def write(self, oprot):
20306
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20307
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20308
      return
20309
    oprot.writeStructBegin('addupdateVoucherForItem_result')
20310
    if self.success is not None:
20311
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20312
      oprot.writeBool(self.success)
20313
      oprot.writeFieldEnd()
20314
    if self.cex is not None:
20315
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20316
      self.cex.write(oprot)
20317
      oprot.writeFieldEnd()
20318
    oprot.writeFieldStop()
20319
    oprot.writeStructEnd()
20320
 
20321
  def validate(self):
20322
    return
20323
 
20324
 
20325
  def __repr__(self):
20326
    L = ['%s=%r' % (key, value)
20327
      for key, value in self.__dict__.iteritems()]
20328
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20329
 
20330
  def __eq__(self, other):
20331
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20332
 
20333
  def __ne__(self, other):
20334
    return not (self == other)
20335
 
20336
class deleteVoucherForItem_args:
20337
  """
20338
  Attributes:
20339
   - catalog_item_id
20340
   - voucherType
20341
  """
20342
 
20343
  thrift_spec = (
20344
    None, # 0
20345
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20346
    (2, TType.I64, 'voucherType', None, None, ), # 2
20347
  )
20348
 
20349
  def __init__(self, catalog_item_id=None, voucherType=None,):
20350
    self.catalog_item_id = catalog_item_id
20351
    self.voucherType = voucherType
20352
 
20353
  def read(self, iprot):
20354
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20355
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20356
      return
20357
    iprot.readStructBegin()
20358
    while True:
20359
      (fname, ftype, fid) = iprot.readFieldBegin()
20360
      if ftype == TType.STOP:
20361
        break
20362
      if fid == 1:
20363
        if ftype == TType.I64:
20364
          self.catalog_item_id = iprot.readI64();
20365
        else:
20366
          iprot.skip(ftype)
20367
      elif fid == 2:
20368
        if ftype == TType.I64:
20369
          self.voucherType = iprot.readI64();
20370
        else:
20371
          iprot.skip(ftype)
20372
      else:
20373
        iprot.skip(ftype)
20374
      iprot.readFieldEnd()
20375
    iprot.readStructEnd()
20376
 
20377
  def write(self, oprot):
20378
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20379
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20380
      return
20381
    oprot.writeStructBegin('deleteVoucherForItem_args')
20382
    if self.catalog_item_id is not None:
20383
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20384
      oprot.writeI64(self.catalog_item_id)
20385
      oprot.writeFieldEnd()
20386
    if self.voucherType is not None:
20387
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20388
      oprot.writeI64(self.voucherType)
20389
      oprot.writeFieldEnd()
20390
    oprot.writeFieldStop()
20391
    oprot.writeStructEnd()
20392
 
20393
  def validate(self):
20394
    return
20395
 
20396
 
20397
  def __repr__(self):
20398
    L = ['%s=%r' % (key, value)
20399
      for key, value in self.__dict__.iteritems()]
20400
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20401
 
20402
  def __eq__(self, other):
20403
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20404
 
20405
  def __ne__(self, other):
20406
    return not (self == other)
20407
 
20408
class deleteVoucherForItem_result:
20409
  """
20410
  Attributes:
20411
   - success
20412
   - cex
20413
  """
20414
 
20415
  thrift_spec = (
20416
    (0, TType.BOOL, 'success', None, None, ), # 0
20417
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20418
  )
20419
 
20420
  def __init__(self, success=None, cex=None,):
20421
    self.success = success
20422
    self.cex = cex
20423
 
20424
  def read(self, iprot):
20425
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20426
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20427
      return
20428
    iprot.readStructBegin()
20429
    while True:
20430
      (fname, ftype, fid) = iprot.readFieldBegin()
20431
      if ftype == TType.STOP:
20432
        break
20433
      if fid == 0:
20434
        if ftype == TType.BOOL:
20435
          self.success = iprot.readBool();
20436
        else:
20437
          iprot.skip(ftype)
20438
      elif fid == 1:
20439
        if ftype == TType.STRUCT:
20440
          self.cex = CatalogServiceException()
20441
          self.cex.read(iprot)
20442
        else:
20443
          iprot.skip(ftype)
20444
      else:
20445
        iprot.skip(ftype)
20446
      iprot.readFieldEnd()
20447
    iprot.readStructEnd()
20448
 
20449
  def write(self, oprot):
20450
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20451
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20452
      return
20453
    oprot.writeStructBegin('deleteVoucherForItem_result')
20454
    if self.success is not None:
20455
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20456
      oprot.writeBool(self.success)
20457
      oprot.writeFieldEnd()
20458
    if self.cex is not None:
20459
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20460
      self.cex.write(oprot)
20461
      oprot.writeFieldEnd()
20462
    oprot.writeFieldStop()
20463
    oprot.writeStructEnd()
20464
 
20465
  def validate(self):
20466
    return
20467
 
20468
 
20469
  def __repr__(self):
20470
    L = ['%s=%r' % (key, value)
20471
      for key, value in self.__dict__.iteritems()]
20472
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20473
 
20474
  def __eq__(self, other):
20475
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20476
 
20477
  def __ne__(self, other):
20478
    return not (self == other)
20479
 
20480
class getVoucherAmount_args:
20481
  """
20482
  Attributes:
20483
   - itemId
20484
   - voucherType
20485
  """
20486
 
20487
  thrift_spec = (
20488
    None, # 0
20489
    (1, TType.I64, 'itemId', None, None, ), # 1
20490
    (2, TType.I64, 'voucherType', None, None, ), # 2
20491
  )
20492
 
20493
  def __init__(self, itemId=None, voucherType=None,):
20494
    self.itemId = itemId
20495
    self.voucherType = voucherType
20496
 
20497
  def read(self, iprot):
20498
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20499
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20500
      return
20501
    iprot.readStructBegin()
20502
    while True:
20503
      (fname, ftype, fid) = iprot.readFieldBegin()
20504
      if ftype == TType.STOP:
20505
        break
20506
      if fid == 1:
20507
        if ftype == TType.I64:
20508
          self.itemId = iprot.readI64();
20509
        else:
20510
          iprot.skip(ftype)
20511
      elif fid == 2:
20512
        if ftype == TType.I64:
20513
          self.voucherType = iprot.readI64();
20514
        else:
20515
          iprot.skip(ftype)
20516
      else:
20517
        iprot.skip(ftype)
20518
      iprot.readFieldEnd()
20519
    iprot.readStructEnd()
20520
 
20521
  def write(self, oprot):
20522
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20523
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20524
      return
20525
    oprot.writeStructBegin('getVoucherAmount_args')
20526
    if self.itemId is not None:
20527
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20528
      oprot.writeI64(self.itemId)
20529
      oprot.writeFieldEnd()
20530
    if self.voucherType is not None:
20531
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20532
      oprot.writeI64(self.voucherType)
20533
      oprot.writeFieldEnd()
20534
    oprot.writeFieldStop()
20535
    oprot.writeStructEnd()
20536
 
20537
  def validate(self):
20538
    return
20539
 
20540
 
20541
  def __repr__(self):
20542
    L = ['%s=%r' % (key, value)
20543
      for key, value in self.__dict__.iteritems()]
20544
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20545
 
20546
  def __eq__(self, other):
20547
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20548
 
20549
  def __ne__(self, other):
20550
    return not (self == other)
20551
 
20552
class getVoucherAmount_result:
20553
  """
20554
  Attributes:
20555
   - success
20556
  """
20557
 
20558
  thrift_spec = (
20559
    (0, TType.I64, 'success', None, None, ), # 0
20560
  )
20561
 
20562
  def __init__(self, success=None,):
20563
    self.success = success
20564
 
20565
  def read(self, iprot):
20566
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20567
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20568
      return
20569
    iprot.readStructBegin()
20570
    while True:
20571
      (fname, ftype, fid) = iprot.readFieldBegin()
20572
      if ftype == TType.STOP:
20573
        break
20574
      if fid == 0:
20575
        if ftype == TType.I64:
20576
          self.success = iprot.readI64();
20577
        else:
20578
          iprot.skip(ftype)
20579
      else:
20580
        iprot.skip(ftype)
20581
      iprot.readFieldEnd()
20582
    iprot.readStructEnd()
20583
 
20584
  def write(self, oprot):
20585
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20586
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20587
      return
20588
    oprot.writeStructBegin('getVoucherAmount_result')
20589
    if self.success is not None:
20590
      oprot.writeFieldBegin('success', TType.I64, 0)
20591
      oprot.writeI64(self.success)
20592
      oprot.writeFieldEnd()
20593
    oprot.writeFieldStop()
20594
    oprot.writeStructEnd()
20595
 
20596
  def validate(self):
20597
    return
20598
 
20599
 
20600
  def __repr__(self):
20601
    L = ['%s=%r' % (key, value)
20602
      for key, value in self.__dict__.iteritems()]
20603
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20604
 
20605
  def __eq__(self, other):
20606
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20607
 
20608
  def __ne__(self, other):
20609
    return not (self == other)
20610
 
20611
class getAllItemVouchers_args:
20612
  """
20613
  Attributes:
20614
   - itemId
20615
  """
20616
 
20617
  thrift_spec = (
20618
    None, # 0
20619
    (1, TType.I64, 'itemId', None, None, ), # 1
20620
  )
20621
 
20622
  def __init__(self, itemId=None,):
20623
    self.itemId = itemId
20624
 
20625
  def read(self, iprot):
20626
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20627
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20628
      return
20629
    iprot.readStructBegin()
20630
    while True:
20631
      (fname, ftype, fid) = iprot.readFieldBegin()
20632
      if ftype == TType.STOP:
20633
        break
20634
      if fid == 1:
20635
        if ftype == TType.I64:
20636
          self.itemId = iprot.readI64();
20637
        else:
20638
          iprot.skip(ftype)
20639
      else:
20640
        iprot.skip(ftype)
20641
      iprot.readFieldEnd()
20642
    iprot.readStructEnd()
20643
 
20644
  def write(self, oprot):
20645
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20646
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20647
      return
20648
    oprot.writeStructBegin('getAllItemVouchers_args')
20649
    if self.itemId is not None:
20650
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20651
      oprot.writeI64(self.itemId)
20652
      oprot.writeFieldEnd()
20653
    oprot.writeFieldStop()
20654
    oprot.writeStructEnd()
20655
 
20656
  def validate(self):
20657
    return
20658
 
20659
 
20660
  def __repr__(self):
20661
    L = ['%s=%r' % (key, value)
20662
      for key, value in self.__dict__.iteritems()]
20663
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20664
 
20665
  def __eq__(self, other):
20666
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20667
 
20668
  def __ne__(self, other):
20669
    return not (self == other)
20670
 
20671
class getAllItemVouchers_result:
20672
  """
20673
  Attributes:
20674
   - success
20675
  """
20676
 
20677
  thrift_spec = (
20678
    (0, TType.LIST, 'success', (TType.STRUCT,(VoucherItemMapping, VoucherItemMapping.thrift_spec)), None, ), # 0
20679
  )
20680
 
20681
  def __init__(self, success=None,):
20682
    self.success = success
20683
 
20684
  def read(self, iprot):
20685
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20686
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20687
      return
20688
    iprot.readStructBegin()
20689
    while True:
20690
      (fname, ftype, fid) = iprot.readFieldBegin()
20691
      if ftype == TType.STOP:
20692
        break
20693
      if fid == 0:
20694
        if ftype == TType.LIST:
20695
          self.success = []
13493 amit.gupta 20696
          (_etype388, _size385) = iprot.readListBegin()
20697
          for _i389 in xrange(_size385):
20698
            _elem390 = VoucherItemMapping()
20699
            _elem390.read(iprot)
20700
            self.success.append(_elem390)
5944 mandeep.dh 20701
          iprot.readListEnd()
20702
        else:
20703
          iprot.skip(ftype)
20704
      else:
20705
        iprot.skip(ftype)
20706
      iprot.readFieldEnd()
20707
    iprot.readStructEnd()
20708
 
20709
  def write(self, oprot):
20710
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20711
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20712
      return
20713
    oprot.writeStructBegin('getAllItemVouchers_result')
20714
    if self.success is not None:
20715
      oprot.writeFieldBegin('success', TType.LIST, 0)
20716
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 20717
      for iter391 in self.success:
20718
        iter391.write(oprot)
5944 mandeep.dh 20719
      oprot.writeListEnd()
20720
      oprot.writeFieldEnd()
20721
    oprot.writeFieldStop()
20722
    oprot.writeStructEnd()
20723
 
20724
  def validate(self):
20725
    return
20726
 
20727
 
20728
  def __repr__(self):
20729
    L = ['%s=%r' % (key, value)
20730
      for key, value in self.__dict__.iteritems()]
20731
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20732
 
20733
  def __eq__(self, other):
20734
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20735
 
20736
  def __ne__(self, other):
20737
    return not (self == other)
20738
 
20739
class isValidCatalogItemId_args:
20740
  """
20741
  Attributes:
20742
   - catalog_item_id
20743
  """
20744
 
20745
  thrift_spec = (
20746
    None, # 0
20747
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20748
  )
20749
 
20750
  def __init__(self, catalog_item_id=None,):
20751
    self.catalog_item_id = catalog_item_id
20752
 
20753
  def read(self, iprot):
20754
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20755
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20756
      return
20757
    iprot.readStructBegin()
20758
    while True:
20759
      (fname, ftype, fid) = iprot.readFieldBegin()
20760
      if ftype == TType.STOP:
20761
        break
20762
      if fid == 1:
20763
        if ftype == TType.I64:
20764
          self.catalog_item_id = iprot.readI64();
20765
        else:
20766
          iprot.skip(ftype)
20767
      else:
20768
        iprot.skip(ftype)
20769
      iprot.readFieldEnd()
20770
    iprot.readStructEnd()
20771
 
20772
  def write(self, oprot):
20773
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20774
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20775
      return
20776
    oprot.writeStructBegin('isValidCatalogItemId_args')
20777
    if self.catalog_item_id is not None:
20778
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20779
      oprot.writeI64(self.catalog_item_id)
20780
      oprot.writeFieldEnd()
20781
    oprot.writeFieldStop()
20782
    oprot.writeStructEnd()
20783
 
20784
  def validate(self):
20785
    return
20786
 
20787
 
20788
  def __repr__(self):
20789
    L = ['%s=%r' % (key, value)
20790
      for key, value in self.__dict__.iteritems()]
20791
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20792
 
20793
  def __eq__(self, other):
20794
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20795
 
20796
  def __ne__(self, other):
20797
    return not (self == other)
20798
 
20799
class isValidCatalogItemId_result:
20800
  """
20801
  Attributes:
20802
   - success
20803
  """
20804
 
20805
  thrift_spec = (
20806
    (0, TType.BOOL, 'success', None, None, ), # 0
20807
  )
20808
 
20809
  def __init__(self, success=None,):
20810
    self.success = success
20811
 
20812
  def read(self, iprot):
20813
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20814
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20815
      return
20816
    iprot.readStructBegin()
20817
    while True:
20818
      (fname, ftype, fid) = iprot.readFieldBegin()
20819
      if ftype == TType.STOP:
20820
        break
20821
      if fid == 0:
20822
        if ftype == TType.BOOL:
20823
          self.success = iprot.readBool();
20824
        else:
20825
          iprot.skip(ftype)
20826
      else:
20827
        iprot.skip(ftype)
20828
      iprot.readFieldEnd()
20829
    iprot.readStructEnd()
20830
 
20831
  def write(self, oprot):
20832
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20833
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20834
      return
20835
    oprot.writeStructBegin('isValidCatalogItemId_result')
20836
    if self.success is not None:
20837
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20838
      oprot.writeBool(self.success)
20839
      oprot.writeFieldEnd()
20840
    oprot.writeFieldStop()
20841
    oprot.writeStructEnd()
20842
 
20843
  def validate(self):
20844
    return
20845
 
20846
 
20847
  def __repr__(self):
20848
    L = ['%s=%r' % (key, value)
20849
      for key, value in self.__dict__.iteritems()]
20850
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20851
 
20852
  def __eq__(self, other):
20853
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20854
 
20855
  def __ne__(self, other):
20856
    return not (self == other)
6039 amit.gupta 20857
 
20858
class getVatPercentageForItem_args:
20859
  """
20860
  Attributes:
20861
   - itemId
7330 amit.gupta 20862
   - stateId
6039 amit.gupta 20863
   - price
20864
  """
20865
 
20866
  thrift_spec = (
20867
    None, # 0
20868
    (1, TType.I64, 'itemId', None, None, ), # 1
7330 amit.gupta 20869
    (2, TType.I64, 'stateId', None, None, ), # 2
20870
    (3, TType.DOUBLE, 'price', None, None, ), # 3
6039 amit.gupta 20871
  )
20872
 
7330 amit.gupta 20873
  def __init__(self, itemId=None, stateId=None, price=None,):
6039 amit.gupta 20874
    self.itemId = itemId
7330 amit.gupta 20875
    self.stateId = stateId
6039 amit.gupta 20876
    self.price = price
20877
 
20878
  def read(self, iprot):
20879
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20880
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20881
      return
20882
    iprot.readStructBegin()
20883
    while True:
20884
      (fname, ftype, fid) = iprot.readFieldBegin()
20885
      if ftype == TType.STOP:
20886
        break
20887
      if fid == 1:
20888
        if ftype == TType.I64:
20889
          self.itemId = iprot.readI64();
20890
        else:
20891
          iprot.skip(ftype)
20892
      elif fid == 2:
7330 amit.gupta 20893
        if ftype == TType.I64:
20894
          self.stateId = iprot.readI64();
20895
        else:
20896
          iprot.skip(ftype)
20897
      elif fid == 3:
6039 amit.gupta 20898
        if ftype == TType.DOUBLE:
20899
          self.price = iprot.readDouble();
20900
        else:
20901
          iprot.skip(ftype)
20902
      else:
20903
        iprot.skip(ftype)
20904
      iprot.readFieldEnd()
20905
    iprot.readStructEnd()
20906
 
20907
  def write(self, oprot):
20908
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20909
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20910
      return
20911
    oprot.writeStructBegin('getVatPercentageForItem_args')
20912
    if self.itemId is not None:
20913
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20914
      oprot.writeI64(self.itemId)
20915
      oprot.writeFieldEnd()
7330 amit.gupta 20916
    if self.stateId is not None:
20917
      oprot.writeFieldBegin('stateId', TType.I64, 2)
20918
      oprot.writeI64(self.stateId)
20919
      oprot.writeFieldEnd()
6039 amit.gupta 20920
    if self.price is not None:
7330 amit.gupta 20921
      oprot.writeFieldBegin('price', TType.DOUBLE, 3)
6039 amit.gupta 20922
      oprot.writeDouble(self.price)
20923
      oprot.writeFieldEnd()
20924
    oprot.writeFieldStop()
20925
    oprot.writeStructEnd()
20926
 
20927
  def validate(self):
20928
    return
20929
 
20930
 
20931
  def __repr__(self):
20932
    L = ['%s=%r' % (key, value)
20933
      for key, value in self.__dict__.iteritems()]
20934
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20935
 
20936
  def __eq__(self, other):
20937
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20938
 
20939
  def __ne__(self, other):
20940
    return not (self == other)
20941
 
20942
class getVatPercentageForItem_result:
20943
  """
20944
  Attributes:
20945
   - success
7340 amit.gupta 20946
   - cex
6039 amit.gupta 20947
  """
20948
 
20949
  thrift_spec = (
20950
    (0, TType.DOUBLE, 'success', None, None, ), # 0
7340 amit.gupta 20951
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
6039 amit.gupta 20952
  )
20953
 
7340 amit.gupta 20954
  def __init__(self, success=None, cex=None,):
6039 amit.gupta 20955
    self.success = success
7340 amit.gupta 20956
    self.cex = cex
6039 amit.gupta 20957
 
20958
  def read(self, iprot):
20959
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20960
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20961
      return
20962
    iprot.readStructBegin()
20963
    while True:
20964
      (fname, ftype, fid) = iprot.readFieldBegin()
20965
      if ftype == TType.STOP:
20966
        break
20967
      if fid == 0:
20968
        if ftype == TType.DOUBLE:
20969
          self.success = iprot.readDouble();
20970
        else:
20971
          iprot.skip(ftype)
7340 amit.gupta 20972
      elif fid == 1:
20973
        if ftype == TType.STRUCT:
20974
          self.cex = CatalogServiceException()
20975
          self.cex.read(iprot)
20976
        else:
20977
          iprot.skip(ftype)
6039 amit.gupta 20978
      else:
20979
        iprot.skip(ftype)
20980
      iprot.readFieldEnd()
20981
    iprot.readStructEnd()
20982
 
20983
  def write(self, oprot):
20984
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20985
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20986
      return
20987
    oprot.writeStructBegin('getVatPercentageForItem_result')
20988
    if self.success is not None:
20989
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
20990
      oprot.writeDouble(self.success)
20991
      oprot.writeFieldEnd()
7340 amit.gupta 20992
    if self.cex is not None:
20993
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20994
      self.cex.write(oprot)
20995
      oprot.writeFieldEnd()
6039 amit.gupta 20996
    oprot.writeFieldStop()
20997
    oprot.writeStructEnd()
20998
 
20999
  def validate(self):
21000
    return
21001
 
21002
 
21003
  def __repr__(self):
21004
    L = ['%s=%r' % (key, value)
21005
      for key, value in self.__dict__.iteritems()]
21006
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21007
 
21008
  def __eq__(self, other):
21009
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21010
 
21011
  def __ne__(self, other):
21012
    return not (self == other)
21013
 
21014
class getVatAmountForItem_args:
21015
  """
21016
  Attributes:
21017
   - itemId
21018
   - price
21019
  """
21020
 
21021
  thrift_spec = (
21022
    None, # 0
21023
    (1, TType.I64, 'itemId', None, None, ), # 1
21024
    (2, TType.DOUBLE, 'price', None, None, ), # 2
21025
  )
21026
 
21027
  def __init__(self, itemId=None, price=None,):
21028
    self.itemId = itemId
21029
    self.price = price
21030
 
21031
  def read(self, iprot):
21032
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21033
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21034
      return
21035
    iprot.readStructBegin()
21036
    while True:
21037
      (fname, ftype, fid) = iprot.readFieldBegin()
21038
      if ftype == TType.STOP:
21039
        break
21040
      if fid == 1:
21041
        if ftype == TType.I64:
21042
          self.itemId = iprot.readI64();
21043
        else:
21044
          iprot.skip(ftype)
21045
      elif fid == 2:
21046
        if ftype == TType.DOUBLE:
21047
          self.price = iprot.readDouble();
21048
        else:
21049
          iprot.skip(ftype)
21050
      else:
21051
        iprot.skip(ftype)
21052
      iprot.readFieldEnd()
21053
    iprot.readStructEnd()
21054
 
21055
  def write(self, oprot):
21056
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21057
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21058
      return
21059
    oprot.writeStructBegin('getVatAmountForItem_args')
21060
    if self.itemId is not None:
21061
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21062
      oprot.writeI64(self.itemId)
21063
      oprot.writeFieldEnd()
21064
    if self.price is not None:
21065
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
21066
      oprot.writeDouble(self.price)
21067
      oprot.writeFieldEnd()
21068
    oprot.writeFieldStop()
21069
    oprot.writeStructEnd()
21070
 
21071
  def validate(self):
21072
    return
21073
 
21074
 
21075
  def __repr__(self):
21076
    L = ['%s=%r' % (key, value)
21077
      for key, value in self.__dict__.iteritems()]
21078
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21079
 
21080
  def __eq__(self, other):
21081
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21082
 
21083
  def __ne__(self, other):
21084
    return not (self == other)
21085
 
21086
class getVatAmountForItem_result:
21087
  """
21088
  Attributes:
21089
   - success
21090
  """
21091
 
21092
  thrift_spec = (
21093
    (0, TType.DOUBLE, 'success', None, None, ), # 0
21094
  )
21095
 
21096
  def __init__(self, success=None,):
21097
    self.success = success
21098
 
21099
  def read(self, iprot):
21100
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21101
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21102
      return
21103
    iprot.readStructBegin()
21104
    while True:
21105
      (fname, ftype, fid) = iprot.readFieldBegin()
21106
      if ftype == TType.STOP:
21107
        break
21108
      if fid == 0:
21109
        if ftype == TType.DOUBLE:
21110
          self.success = iprot.readDouble();
21111
        else:
21112
          iprot.skip(ftype)
21113
      else:
21114
        iprot.skip(ftype)
21115
      iprot.readFieldEnd()
21116
    iprot.readStructEnd()
21117
 
21118
  def write(self, oprot):
21119
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21120
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21121
      return
21122
    oprot.writeStructBegin('getVatAmountForItem_result')
21123
    if self.success is not None:
21124
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
21125
      oprot.writeDouble(self.success)
21126
      oprot.writeFieldEnd()
21127
    oprot.writeFieldStop()
21128
    oprot.writeStructEnd()
21129
 
21130
  def validate(self):
21131
    return
21132
 
21133
 
21134
  def __repr__(self):
21135
    L = ['%s=%r' % (key, value)
21136
      for key, value in self.__dict__.iteritems()]
21137
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21138
 
21139
  def __eq__(self, other):
21140
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21141
 
21142
  def __ne__(self, other):
21143
    return not (self == other)
6531 vikram.rag 21144
 
21145
class getAllIgnoredInventoryUpdateItemsList_args:
21146
  """
21147
  Attributes:
21148
   - offset
21149
   - limit
21150
  """
21151
 
21152
  thrift_spec = (
21153
    None, # 0
21154
    (1, TType.I32, 'offset', None, None, ), # 1
21155
    (2, TType.I32, 'limit', None, None, ), # 2
21156
  )
21157
 
21158
  def __init__(self, offset=None, limit=None,):
21159
    self.offset = offset
21160
    self.limit = limit
21161
 
21162
  def read(self, iprot):
21163
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21164
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21165
      return
21166
    iprot.readStructBegin()
21167
    while True:
21168
      (fname, ftype, fid) = iprot.readFieldBegin()
21169
      if ftype == TType.STOP:
21170
        break
21171
      if fid == 1:
21172
        if ftype == TType.I32:
21173
          self.offset = iprot.readI32();
21174
        else:
21175
          iprot.skip(ftype)
21176
      elif fid == 2:
21177
        if ftype == TType.I32:
21178
          self.limit = iprot.readI32();
21179
        else:
21180
          iprot.skip(ftype)
21181
      else:
21182
        iprot.skip(ftype)
21183
      iprot.readFieldEnd()
21184
    iprot.readStructEnd()
21185
 
21186
  def write(self, oprot):
21187
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21188
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21189
      return
21190
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_args')
21191
    if self.offset is not None:
21192
      oprot.writeFieldBegin('offset', TType.I32, 1)
21193
      oprot.writeI32(self.offset)
21194
      oprot.writeFieldEnd()
21195
    if self.limit is not None:
21196
      oprot.writeFieldBegin('limit', TType.I32, 2)
21197
      oprot.writeI32(self.limit)
21198
      oprot.writeFieldEnd()
21199
    oprot.writeFieldStop()
21200
    oprot.writeStructEnd()
21201
 
21202
  def validate(self):
21203
    return
21204
 
21205
 
21206
  def __repr__(self):
21207
    L = ['%s=%r' % (key, value)
21208
      for key, value in self.__dict__.iteritems()]
21209
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21210
 
21211
  def __eq__(self, other):
21212
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21213
 
21214
  def __ne__(self, other):
21215
    return not (self == other)
21216
 
21217
class getAllIgnoredInventoryUpdateItemsList_result:
21218
  """
21219
  Attributes:
21220
   - success
21221
  """
21222
 
21223
  thrift_spec = (
21224
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
21225
  )
21226
 
21227
  def __init__(self, success=None,):
21228
    self.success = success
21229
 
21230
  def read(self, iprot):
21231
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21232
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21233
      return
21234
    iprot.readStructBegin()
21235
    while True:
21236
      (fname, ftype, fid) = iprot.readFieldBegin()
21237
      if ftype == TType.STOP:
21238
        break
21239
      if fid == 0:
21240
        if ftype == TType.LIST:
21241
          self.success = []
13493 amit.gupta 21242
          (_etype395, _size392) = iprot.readListBegin()
21243
          for _i396 in xrange(_size392):
21244
            _elem397 = Item()
21245
            _elem397.read(iprot)
21246
            self.success.append(_elem397)
6531 vikram.rag 21247
          iprot.readListEnd()
21248
        else:
21249
          iprot.skip(ftype)
21250
      else:
21251
        iprot.skip(ftype)
21252
      iprot.readFieldEnd()
21253
    iprot.readStructEnd()
21254
 
21255
  def write(self, oprot):
21256
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21257
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21258
      return
21259
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_result')
21260
    if self.success is not None:
21261
      oprot.writeFieldBegin('success', TType.LIST, 0)
21262
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 21263
      for iter398 in self.success:
21264
        iter398.write(oprot)
6531 vikram.rag 21265
      oprot.writeListEnd()
21266
      oprot.writeFieldEnd()
21267
    oprot.writeFieldStop()
21268
    oprot.writeStructEnd()
21269
 
21270
  def validate(self):
21271
    return
21272
 
21273
 
21274
  def __repr__(self):
21275
    L = ['%s=%r' % (key, value)
21276
      for key, value in self.__dict__.iteritems()]
21277
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21278
 
21279
  def __eq__(self, other):
21280
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21281
 
21282
  def __ne__(self, other):
21283
    return not (self == other)
6805 anupam.sin 21284
 
6821 amar.kumar 21285
class getAllAliveItems_args:
21286
 
21287
  thrift_spec = (
21288
  )
21289
 
21290
  def read(self, iprot):
21291
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21292
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21293
      return
21294
    iprot.readStructBegin()
21295
    while True:
21296
      (fname, ftype, fid) = iprot.readFieldBegin()
21297
      if ftype == TType.STOP:
21298
        break
21299
      else:
21300
        iprot.skip(ftype)
21301
      iprot.readFieldEnd()
21302
    iprot.readStructEnd()
21303
 
21304
  def write(self, oprot):
21305
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21306
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21307
      return
21308
    oprot.writeStructBegin('getAllAliveItems_args')
21309
    oprot.writeFieldStop()
21310
    oprot.writeStructEnd()
21311
 
21312
  def validate(self):
21313
    return
21314
 
21315
 
21316
  def __repr__(self):
21317
    L = ['%s=%r' % (key, value)
21318
      for key, value in self.__dict__.iteritems()]
21319
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21320
 
21321
  def __eq__(self, other):
21322
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21323
 
21324
  def __ne__(self, other):
21325
    return not (self == other)
21326
 
21327
class getAllAliveItems_result:
21328
  """
21329
  Attributes:
21330
   - success
21331
  """
21332
 
21333
  thrift_spec = (
21334
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
21335
  )
21336
 
21337
  def __init__(self, success=None,):
21338
    self.success = success
21339
 
21340
  def read(self, iprot):
21341
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21342
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21343
      return
21344
    iprot.readStructBegin()
21345
    while True:
21346
      (fname, ftype, fid) = iprot.readFieldBegin()
21347
      if ftype == TType.STOP:
21348
        break
21349
      if fid == 0:
21350
        if ftype == TType.LIST:
21351
          self.success = []
13493 amit.gupta 21352
          (_etype402, _size399) = iprot.readListBegin()
21353
          for _i403 in xrange(_size399):
21354
            _elem404 = Item()
21355
            _elem404.read(iprot)
21356
            self.success.append(_elem404)
6821 amar.kumar 21357
          iprot.readListEnd()
21358
        else:
21359
          iprot.skip(ftype)
21360
      else:
21361
        iprot.skip(ftype)
21362
      iprot.readFieldEnd()
21363
    iprot.readStructEnd()
21364
 
21365
  def write(self, oprot):
21366
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21367
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21368
      return
21369
    oprot.writeStructBegin('getAllAliveItems_result')
21370
    if self.success is not None:
21371
      oprot.writeFieldBegin('success', TType.LIST, 0)
21372
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 21373
      for iter405 in self.success:
21374
        iter405.write(oprot)
6821 amar.kumar 21375
      oprot.writeListEnd()
21376
      oprot.writeFieldEnd()
21377
    oprot.writeFieldStop()
21378
    oprot.writeStructEnd()
21379
 
21380
  def validate(self):
21381
    return
21382
 
21383
 
21384
  def __repr__(self):
21385
    L = ['%s=%r' % (key, value)
21386
      for key, value in self.__dict__.iteritems()]
21387
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21388
 
21389
  def __eq__(self, other):
21390
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21391
 
21392
  def __ne__(self, other):
21393
    return not (self == other)
21394
 
6805 anupam.sin 21395
class getInsuranceAmount_args:
21396
  """
21397
  Attributes:
21398
   - itemId
6921 anupam.sin 21399
   - price
6805 anupam.sin 21400
   - insurerId
21401
   - quantity
21402
  """
21403
 
21404
  thrift_spec = (
21405
    None, # 0
21406
    (1, TType.I64, 'itemId', None, None, ), # 1
6921 anupam.sin 21407
    (2, TType.DOUBLE, 'price', None, None, ), # 2
21408
    (3, TType.I64, 'insurerId', None, None, ), # 3
21409
    (4, TType.I64, 'quantity', None, None, ), # 4
6805 anupam.sin 21410
  )
21411
 
6921 anupam.sin 21412
  def __init__(self, itemId=None, price=None, insurerId=None, quantity=None,):
6805 anupam.sin 21413
    self.itemId = itemId
6921 anupam.sin 21414
    self.price = price
6805 anupam.sin 21415
    self.insurerId = insurerId
21416
    self.quantity = quantity
21417
 
21418
  def read(self, iprot):
21419
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21420
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21421
      return
21422
    iprot.readStructBegin()
21423
    while True:
21424
      (fname, ftype, fid) = iprot.readFieldBegin()
21425
      if ftype == TType.STOP:
21426
        break
21427
      if fid == 1:
21428
        if ftype == TType.I64:
21429
          self.itemId = iprot.readI64();
21430
        else:
21431
          iprot.skip(ftype)
21432
      elif fid == 2:
6921 anupam.sin 21433
        if ftype == TType.DOUBLE:
21434
          self.price = iprot.readDouble();
21435
        else:
21436
          iprot.skip(ftype)
21437
      elif fid == 3:
6805 anupam.sin 21438
        if ftype == TType.I64:
21439
          self.insurerId = iprot.readI64();
21440
        else:
21441
          iprot.skip(ftype)
6921 anupam.sin 21442
      elif fid == 4:
6805 anupam.sin 21443
        if ftype == TType.I64:
21444
          self.quantity = iprot.readI64();
21445
        else:
21446
          iprot.skip(ftype)
21447
      else:
21448
        iprot.skip(ftype)
21449
      iprot.readFieldEnd()
21450
    iprot.readStructEnd()
21451
 
21452
  def write(self, oprot):
21453
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21454
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21455
      return
21456
    oprot.writeStructBegin('getInsuranceAmount_args')
21457
    if self.itemId is not None:
21458
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21459
      oprot.writeI64(self.itemId)
21460
      oprot.writeFieldEnd()
6921 anupam.sin 21461
    if self.price is not None:
21462
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
21463
      oprot.writeDouble(self.price)
21464
      oprot.writeFieldEnd()
6805 anupam.sin 21465
    if self.insurerId is not None:
6921 anupam.sin 21466
      oprot.writeFieldBegin('insurerId', TType.I64, 3)
6805 anupam.sin 21467
      oprot.writeI64(self.insurerId)
21468
      oprot.writeFieldEnd()
21469
    if self.quantity is not None:
6921 anupam.sin 21470
      oprot.writeFieldBegin('quantity', TType.I64, 4)
6805 anupam.sin 21471
      oprot.writeI64(self.quantity)
21472
      oprot.writeFieldEnd()
21473
    oprot.writeFieldStop()
21474
    oprot.writeStructEnd()
21475
 
21476
  def validate(self):
21477
    return
21478
 
21479
 
21480
  def __repr__(self):
21481
    L = ['%s=%r' % (key, value)
21482
      for key, value in self.__dict__.iteritems()]
21483
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21484
 
21485
  def __eq__(self, other):
21486
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21487
 
21488
  def __ne__(self, other):
21489
    return not (self == other)
21490
 
21491
class getInsuranceAmount_result:
21492
  """
21493
  Attributes:
21494
   - success
21495
  """
21496
 
21497
  thrift_spec = (
21498
    (0, TType.I64, 'success', None, None, ), # 0
21499
  )
21500
 
21501
  def __init__(self, success=None,):
21502
    self.success = success
21503
 
21504
  def read(self, iprot):
21505
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21506
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21507
      return
21508
    iprot.readStructBegin()
21509
    while True:
21510
      (fname, ftype, fid) = iprot.readFieldBegin()
21511
      if ftype == TType.STOP:
21512
        break
21513
      if fid == 0:
21514
        if ftype == TType.I64:
21515
          self.success = iprot.readI64();
21516
        else:
21517
          iprot.skip(ftype)
21518
      else:
21519
        iprot.skip(ftype)
21520
      iprot.readFieldEnd()
21521
    iprot.readStructEnd()
21522
 
21523
  def write(self, oprot):
21524
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21525
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21526
      return
21527
    oprot.writeStructBegin('getInsuranceAmount_result')
21528
    if self.success is not None:
21529
      oprot.writeFieldBegin('success', TType.I64, 0)
21530
      oprot.writeI64(self.success)
21531
      oprot.writeFieldEnd()
21532
    oprot.writeFieldStop()
21533
    oprot.writeStructEnd()
21534
 
21535
  def validate(self):
21536
    return
21537
 
21538
 
21539
  def __repr__(self):
21540
    L = ['%s=%r' % (key, value)
21541
      for key, value in self.__dict__.iteritems()]
21542
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21543
 
21544
  def __eq__(self, other):
21545
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21546
 
21547
  def __ne__(self, other):
21548
    return not (self == other)
21549
 
21550
class getInsurer_args:
21551
  """
21552
  Attributes:
21553
   - insurerId
21554
  """
21555
 
21556
  thrift_spec = (
21557
    None, # 0
21558
    (1, TType.I64, 'insurerId', None, None, ), # 1
21559
  )
21560
 
21561
  def __init__(self, insurerId=None,):
21562
    self.insurerId = insurerId
21563
 
21564
  def read(self, iprot):
21565
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21566
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21567
      return
21568
    iprot.readStructBegin()
21569
    while True:
21570
      (fname, ftype, fid) = iprot.readFieldBegin()
21571
      if ftype == TType.STOP:
21572
        break
21573
      if fid == 1:
21574
        if ftype == TType.I64:
21575
          self.insurerId = iprot.readI64();
21576
        else:
21577
          iprot.skip(ftype)
21578
      else:
21579
        iprot.skip(ftype)
21580
      iprot.readFieldEnd()
21581
    iprot.readStructEnd()
21582
 
21583
  def write(self, oprot):
21584
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21585
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21586
      return
21587
    oprot.writeStructBegin('getInsurer_args')
21588
    if self.insurerId is not None:
21589
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
21590
      oprot.writeI64(self.insurerId)
21591
      oprot.writeFieldEnd()
21592
    oprot.writeFieldStop()
21593
    oprot.writeStructEnd()
21594
 
21595
  def validate(self):
21596
    return
21597
 
21598
 
21599
  def __repr__(self):
21600
    L = ['%s=%r' % (key, value)
21601
      for key, value in self.__dict__.iteritems()]
21602
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21603
 
21604
  def __eq__(self, other):
21605
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21606
 
21607
  def __ne__(self, other):
21608
    return not (self == other)
21609
 
21610
class getInsurer_result:
21611
  """
21612
  Attributes:
21613
   - success
21614
  """
21615
 
21616
  thrift_spec = (
21617
    (0, TType.STRUCT, 'success', (Insurer, Insurer.thrift_spec), None, ), # 0
21618
  )
21619
 
21620
  def __init__(self, success=None,):
21621
    self.success = success
21622
 
21623
  def read(self, iprot):
21624
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21625
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21626
      return
21627
    iprot.readStructBegin()
21628
    while True:
21629
      (fname, ftype, fid) = iprot.readFieldBegin()
21630
      if ftype == TType.STOP:
21631
        break
21632
      if fid == 0:
21633
        if ftype == TType.STRUCT:
21634
          self.success = Insurer()
21635
          self.success.read(iprot)
21636
        else:
21637
          iprot.skip(ftype)
21638
      else:
21639
        iprot.skip(ftype)
21640
      iprot.readFieldEnd()
21641
    iprot.readStructEnd()
21642
 
21643
  def write(self, oprot):
21644
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21645
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21646
      return
21647
    oprot.writeStructBegin('getInsurer_result')
21648
    if self.success is not None:
21649
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
21650
      self.success.write(oprot)
21651
      oprot.writeFieldEnd()
21652
    oprot.writeFieldStop()
21653
    oprot.writeStructEnd()
21654
 
21655
  def validate(self):
21656
    return
21657
 
21658
 
21659
  def __repr__(self):
21660
    L = ['%s=%r' % (key, value)
21661
      for key, value in self.__dict__.iteritems()]
21662
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21663
 
21664
  def __eq__(self, other):
21665
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21666
 
21667
  def __ne__(self, other):
21668
    return not (self == other)
6838 vikram.rag 21669
 
21670
class getAllInsurers_args:
21671
 
21672
  thrift_spec = (
21673
  )
21674
 
21675
  def read(self, iprot):
21676
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21677
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21678
      return
21679
    iprot.readStructBegin()
21680
    while True:
21681
      (fname, ftype, fid) = iprot.readFieldBegin()
21682
      if ftype == TType.STOP:
21683
        break
21684
      else:
21685
        iprot.skip(ftype)
21686
      iprot.readFieldEnd()
21687
    iprot.readStructEnd()
21688
 
21689
  def write(self, oprot):
21690
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21691
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21692
      return
21693
    oprot.writeStructBegin('getAllInsurers_args')
21694
    oprot.writeFieldStop()
21695
    oprot.writeStructEnd()
21696
 
21697
  def validate(self):
21698
    return
21699
 
21700
 
21701
  def __repr__(self):
21702
    L = ['%s=%r' % (key, value)
21703
      for key, value in self.__dict__.iteritems()]
21704
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21705
 
21706
  def __eq__(self, other):
21707
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21708
 
21709
  def __ne__(self, other):
21710
    return not (self == other)
21711
 
21712
class getAllInsurers_result:
21713
  """
21714
  Attributes:
21715
   - success
21716
  """
21717
 
21718
  thrift_spec = (
21719
    (0, TType.LIST, 'success', (TType.STRUCT,(Insurer, Insurer.thrift_spec)), None, ), # 0
21720
  )
21721
 
21722
  def __init__(self, success=None,):
21723
    self.success = success
21724
 
21725
  def read(self, iprot):
21726
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21727
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21728
      return
21729
    iprot.readStructBegin()
21730
    while True:
21731
      (fname, ftype, fid) = iprot.readFieldBegin()
21732
      if ftype == TType.STOP:
21733
        break
21734
      if fid == 0:
21735
        if ftype == TType.LIST:
21736
          self.success = []
13493 amit.gupta 21737
          (_etype409, _size406) = iprot.readListBegin()
21738
          for _i410 in xrange(_size406):
21739
            _elem411 = Insurer()
21740
            _elem411.read(iprot)
21741
            self.success.append(_elem411)
6838 vikram.rag 21742
          iprot.readListEnd()
21743
        else:
21744
          iprot.skip(ftype)
21745
      else:
21746
        iprot.skip(ftype)
21747
      iprot.readFieldEnd()
21748
    iprot.readStructEnd()
21749
 
21750
  def write(self, oprot):
21751
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21752
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21753
      return
21754
    oprot.writeStructBegin('getAllInsurers_result')
21755
    if self.success is not None:
21756
      oprot.writeFieldBegin('success', TType.LIST, 0)
21757
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 21758
      for iter412 in self.success:
21759
        iter412.write(oprot)
6838 vikram.rag 21760
      oprot.writeListEnd()
21761
      oprot.writeFieldEnd()
21762
    oprot.writeFieldStop()
21763
    oprot.writeStructEnd()
21764
 
21765
  def validate(self):
21766
    return
21767
 
21768
 
21769
  def __repr__(self):
21770
    L = ['%s=%r' % (key, value)
21771
      for key, value in self.__dict__.iteritems()]
21772
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21773
 
21774
  def __eq__(self, other):
21775
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21776
 
21777
  def __ne__(self, other):
21778
    return not (self == other)
6962 rajveer 21779
 
21780
class updateInsuranceDeclaredAmount_args:
21781
  """
21782
  Attributes:
21783
   - insurerId
21784
   - amount
21785
  """
21786
 
21787
  thrift_spec = (
21788
    None, # 0
21789
    (1, TType.I64, 'insurerId', None, None, ), # 1
21790
    (2, TType.DOUBLE, 'amount', None, None, ), # 2
21791
  )
21792
 
21793
  def __init__(self, insurerId=None, amount=None,):
21794
    self.insurerId = insurerId
21795
    self.amount = amount
21796
 
21797
  def read(self, iprot):
21798
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21799
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21800
      return
21801
    iprot.readStructBegin()
21802
    while True:
21803
      (fname, ftype, fid) = iprot.readFieldBegin()
21804
      if ftype == TType.STOP:
21805
        break
21806
      if fid == 1:
21807
        if ftype == TType.I64:
21808
          self.insurerId = iprot.readI64();
21809
        else:
21810
          iprot.skip(ftype)
21811
      elif fid == 2:
21812
        if ftype == TType.DOUBLE:
21813
          self.amount = iprot.readDouble();
21814
        else:
21815
          iprot.skip(ftype)
21816
      else:
21817
        iprot.skip(ftype)
21818
      iprot.readFieldEnd()
21819
    iprot.readStructEnd()
21820
 
21821
  def write(self, oprot):
21822
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21823
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21824
      return
21825
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_args')
21826
    if self.insurerId is not None:
21827
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
21828
      oprot.writeI64(self.insurerId)
21829
      oprot.writeFieldEnd()
21830
    if self.amount is not None:
21831
      oprot.writeFieldBegin('amount', TType.DOUBLE, 2)
21832
      oprot.writeDouble(self.amount)
21833
      oprot.writeFieldEnd()
21834
    oprot.writeFieldStop()
21835
    oprot.writeStructEnd()
21836
 
21837
  def validate(self):
21838
    return
21839
 
21840
 
21841
  def __repr__(self):
21842
    L = ['%s=%r' % (key, value)
21843
      for key, value in self.__dict__.iteritems()]
21844
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21845
 
21846
  def __eq__(self, other):
21847
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21848
 
21849
  def __ne__(self, other):
21850
    return not (self == other)
21851
 
21852
class updateInsuranceDeclaredAmount_result:
21853
 
21854
  thrift_spec = (
21855
  )
21856
 
21857
  def read(self, iprot):
21858
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21859
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21860
      return
21861
    iprot.readStructBegin()
21862
    while True:
21863
      (fname, ftype, fid) = iprot.readFieldBegin()
21864
      if ftype == TType.STOP:
21865
        break
21866
      else:
21867
        iprot.skip(ftype)
21868
      iprot.readFieldEnd()
21869
    iprot.readStructEnd()
21870
 
21871
  def write(self, oprot):
21872
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21873
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21874
      return
21875
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_result')
21876
    oprot.writeFieldStop()
21877
    oprot.writeStructEnd()
21878
 
21879
  def validate(self):
21880
    return
21881
 
21882
 
21883
  def __repr__(self):
21884
    L = ['%s=%r' % (key, value)
21885
      for key, value in self.__dict__.iteritems()]
21886
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21887
 
21888
  def __eq__(self, other):
21889
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21890
 
21891
  def __ne__(self, other):
21892
    return not (self == other)
7190 amar.kumar 21893
 
21894
class getFreebieForItem_args:
21895
  """
21896
  Attributes:
21897
   - itemId
21898
  """
21899
 
21900
  thrift_spec = (
21901
    None, # 0
21902
    (1, TType.I64, 'itemId', None, None, ), # 1
21903
  )
21904
 
21905
  def __init__(self, itemId=None,):
21906
    self.itemId = itemId
21907
 
21908
  def read(self, iprot):
21909
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21910
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21911
      return
21912
    iprot.readStructBegin()
21913
    while True:
21914
      (fname, ftype, fid) = iprot.readFieldBegin()
21915
      if ftype == TType.STOP:
21916
        break
21917
      if fid == 1:
21918
        if ftype == TType.I64:
21919
          self.itemId = iprot.readI64();
21920
        else:
21921
          iprot.skip(ftype)
21922
      else:
21923
        iprot.skip(ftype)
21924
      iprot.readFieldEnd()
21925
    iprot.readStructEnd()
21926
 
21927
  def write(self, oprot):
21928
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21929
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21930
      return
21931
    oprot.writeStructBegin('getFreebieForItem_args')
21932
    if self.itemId is not None:
21933
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21934
      oprot.writeI64(self.itemId)
21935
      oprot.writeFieldEnd()
21936
    oprot.writeFieldStop()
21937
    oprot.writeStructEnd()
21938
 
21939
  def validate(self):
21940
    return
21941
 
21942
 
21943
  def __repr__(self):
21944
    L = ['%s=%r' % (key, value)
21945
      for key, value in self.__dict__.iteritems()]
21946
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21947
 
21948
  def __eq__(self, other):
21949
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21950
 
21951
  def __ne__(self, other):
21952
    return not (self == other)
21953
 
21954
class getFreebieForItem_result:
21955
  """
21956
  Attributes:
21957
   - success
21958
  """
21959
 
21960
  thrift_spec = (
21961
    (0, TType.I64, 'success', None, None, ), # 0
21962
  )
21963
 
21964
  def __init__(self, success=None,):
21965
    self.success = success
21966
 
21967
  def read(self, iprot):
21968
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21969
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21970
      return
21971
    iprot.readStructBegin()
21972
    while True:
21973
      (fname, ftype, fid) = iprot.readFieldBegin()
21974
      if ftype == TType.STOP:
21975
        break
21976
      if fid == 0:
21977
        if ftype == TType.I64:
21978
          self.success = iprot.readI64();
21979
        else:
21980
          iprot.skip(ftype)
21981
      else:
21982
        iprot.skip(ftype)
21983
      iprot.readFieldEnd()
21984
    iprot.readStructEnd()
21985
 
21986
  def write(self, oprot):
21987
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21988
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21989
      return
21990
    oprot.writeStructBegin('getFreebieForItem_result')
21991
    if self.success is not None:
21992
      oprot.writeFieldBegin('success', TType.I64, 0)
21993
      oprot.writeI64(self.success)
21994
      oprot.writeFieldEnd()
21995
    oprot.writeFieldStop()
21996
    oprot.writeStructEnd()
21997
 
21998
  def validate(self):
21999
    return
22000
 
22001
 
22002
  def __repr__(self):
22003
    L = ['%s=%r' % (key, value)
22004
      for key, value in self.__dict__.iteritems()]
22005
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22006
 
22007
  def __eq__(self, other):
22008
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22009
 
22010
  def __ne__(self, other):
22011
    return not (self == other)
22012
 
22013
class addOrUpdateFreebieForItem_args:
22014
  """
22015
  Attributes:
22016
   - freebieItem
22017
  """
22018
 
22019
  thrift_spec = (
22020
    None, # 0
22021
    (1, TType.STRUCT, 'freebieItem', (FreebieItem, FreebieItem.thrift_spec), None, ), # 1
22022
  )
22023
 
22024
  def __init__(self, freebieItem=None,):
22025
    self.freebieItem = freebieItem
22026
 
22027
  def read(self, iprot):
22028
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22029
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22030
      return
22031
    iprot.readStructBegin()
22032
    while True:
22033
      (fname, ftype, fid) = iprot.readFieldBegin()
22034
      if ftype == TType.STOP:
22035
        break
22036
      if fid == 1:
22037
        if ftype == TType.STRUCT:
22038
          self.freebieItem = FreebieItem()
22039
          self.freebieItem.read(iprot)
22040
        else:
22041
          iprot.skip(ftype)
22042
      else:
22043
        iprot.skip(ftype)
22044
      iprot.readFieldEnd()
22045
    iprot.readStructEnd()
22046
 
22047
  def write(self, oprot):
22048
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22049
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22050
      return
22051
    oprot.writeStructBegin('addOrUpdateFreebieForItem_args')
22052
    if self.freebieItem is not None:
22053
      oprot.writeFieldBegin('freebieItem', TType.STRUCT, 1)
22054
      self.freebieItem.write(oprot)
22055
      oprot.writeFieldEnd()
22056
    oprot.writeFieldStop()
22057
    oprot.writeStructEnd()
22058
 
22059
  def validate(self):
22060
    return
22061
 
22062
 
22063
  def __repr__(self):
22064
    L = ['%s=%r' % (key, value)
22065
      for key, value in self.__dict__.iteritems()]
22066
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22067
 
22068
  def __eq__(self, other):
22069
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22070
 
22071
  def __ne__(self, other):
22072
    return not (self == other)
22073
 
22074
class addOrUpdateFreebieForItem_result:
22075
 
22076
  thrift_spec = (
22077
  )
22078
 
22079
  def read(self, iprot):
22080
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22081
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22082
      return
22083
    iprot.readStructBegin()
22084
    while True:
22085
      (fname, ftype, fid) = iprot.readFieldBegin()
22086
      if ftype == TType.STOP:
22087
        break
22088
      else:
22089
        iprot.skip(ftype)
22090
      iprot.readFieldEnd()
22091
    iprot.readStructEnd()
22092
 
22093
  def write(self, oprot):
22094
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22095
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22096
      return
22097
    oprot.writeStructBegin('addOrUpdateFreebieForItem_result')
22098
    oprot.writeFieldStop()
22099
    oprot.writeStructEnd()
22100
 
22101
  def validate(self):
22102
    return
22103
 
22104
 
22105
  def __repr__(self):
22106
    L = ['%s=%r' % (key, value)
22107
      for key, value in self.__dict__.iteritems()]
22108
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22109
 
22110
  def __eq__(self, other):
22111
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22112
 
22113
  def __ne__(self, other):
22114
    return not (self == other)
7256 rajveer 22115
 
7272 amit.gupta 22116
class addOrUpdateBrandInfo_args:
22117
  """
22118
  Attributes:
22119
   - brandInfo
22120
  """
22121
 
22122
  thrift_spec = (
22123
    None, # 0
22124
    (1, TType.STRUCT, 'brandInfo', (BrandInfo, BrandInfo.thrift_spec), None, ), # 1
22125
  )
22126
 
22127
  def __init__(self, brandInfo=None,):
22128
    self.brandInfo = brandInfo
22129
 
22130
  def read(self, iprot):
22131
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22132
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22133
      return
22134
    iprot.readStructBegin()
22135
    while True:
22136
      (fname, ftype, fid) = iprot.readFieldBegin()
22137
      if ftype == TType.STOP:
22138
        break
22139
      if fid == 1:
22140
        if ftype == TType.STRUCT:
22141
          self.brandInfo = BrandInfo()
22142
          self.brandInfo.read(iprot)
22143
        else:
22144
          iprot.skip(ftype)
22145
      else:
22146
        iprot.skip(ftype)
22147
      iprot.readFieldEnd()
22148
    iprot.readStructEnd()
22149
 
22150
  def write(self, oprot):
22151
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22152
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22153
      return
22154
    oprot.writeStructBegin('addOrUpdateBrandInfo_args')
22155
    if self.brandInfo is not None:
22156
      oprot.writeFieldBegin('brandInfo', TType.STRUCT, 1)
22157
      self.brandInfo.write(oprot)
22158
      oprot.writeFieldEnd()
22159
    oprot.writeFieldStop()
22160
    oprot.writeStructEnd()
22161
 
22162
  def validate(self):
22163
    return
22164
 
22165
 
22166
  def __repr__(self):
22167
    L = ['%s=%r' % (key, value)
22168
      for key, value in self.__dict__.iteritems()]
22169
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22170
 
22171
  def __eq__(self, other):
22172
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22173
 
22174
  def __ne__(self, other):
22175
    return not (self == other)
22176
 
22177
class addOrUpdateBrandInfo_result:
22178
 
22179
  thrift_spec = (
22180
  )
22181
 
22182
  def read(self, iprot):
22183
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22184
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22185
      return
22186
    iprot.readStructBegin()
22187
    while True:
22188
      (fname, ftype, fid) = iprot.readFieldBegin()
22189
      if ftype == TType.STOP:
22190
        break
22191
      else:
22192
        iprot.skip(ftype)
22193
      iprot.readFieldEnd()
22194
    iprot.readStructEnd()
22195
 
22196
  def write(self, oprot):
22197
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22198
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22199
      return
22200
    oprot.writeStructBegin('addOrUpdateBrandInfo_result')
22201
    oprot.writeFieldStop()
22202
    oprot.writeStructEnd()
22203
 
22204
  def validate(self):
22205
    return
22206
 
22207
 
22208
  def __repr__(self):
22209
    L = ['%s=%r' % (key, value)
22210
      for key, value in self.__dict__.iteritems()]
22211
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22212
 
22213
  def __eq__(self, other):
22214
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22215
 
22216
  def __ne__(self, other):
22217
    return not (self == other)
22218
 
22219
class getBrandInfo_args:
22220
 
22221
  thrift_spec = (
22222
  )
22223
 
22224
  def read(self, iprot):
22225
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22226
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22227
      return
22228
    iprot.readStructBegin()
22229
    while True:
22230
      (fname, ftype, fid) = iprot.readFieldBegin()
22231
      if ftype == TType.STOP:
22232
        break
22233
      else:
22234
        iprot.skip(ftype)
22235
      iprot.readFieldEnd()
22236
    iprot.readStructEnd()
22237
 
22238
  def write(self, oprot):
22239
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22240
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22241
      return
22242
    oprot.writeStructBegin('getBrandInfo_args')
22243
    oprot.writeFieldStop()
22244
    oprot.writeStructEnd()
22245
 
22246
  def validate(self):
22247
    return
22248
 
22249
 
22250
  def __repr__(self):
22251
    L = ['%s=%r' % (key, value)
22252
      for key, value in self.__dict__.iteritems()]
22253
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22254
 
22255
  def __eq__(self, other):
22256
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22257
 
22258
  def __ne__(self, other):
22259
    return not (self == other)
22260
 
22261
class getBrandInfo_result:
22262
  """
22263
  Attributes:
22264
   - success
22265
  """
22266
 
22267
  thrift_spec = (
22268
    (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(BrandInfo, BrandInfo.thrift_spec)), None, ), # 0
22269
  )
22270
 
22271
  def __init__(self, success=None,):
22272
    self.success = success
22273
 
22274
  def read(self, iprot):
22275
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22276
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22277
      return
22278
    iprot.readStructBegin()
22279
    while True:
22280
      (fname, ftype, fid) = iprot.readFieldBegin()
22281
      if ftype == TType.STOP:
22282
        break
22283
      if fid == 0:
22284
        if ftype == TType.MAP:
22285
          self.success = {}
13493 amit.gupta 22286
          (_ktype414, _vtype415, _size413 ) = iprot.readMapBegin() 
22287
          for _i417 in xrange(_size413):
22288
            _key418 = iprot.readString();
22289
            _val419 = BrandInfo()
22290
            _val419.read(iprot)
22291
            self.success[_key418] = _val419
7272 amit.gupta 22292
          iprot.readMapEnd()
22293
        else:
22294
          iprot.skip(ftype)
22295
      else:
22296
        iprot.skip(ftype)
22297
      iprot.readFieldEnd()
22298
    iprot.readStructEnd()
22299
 
22300
  def write(self, oprot):
22301
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22302
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22303
      return
22304
    oprot.writeStructBegin('getBrandInfo_result')
22305
    if self.success is not None:
22306
      oprot.writeFieldBegin('success', TType.MAP, 0)
22307
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
13493 amit.gupta 22308
      for kiter420,viter421 in self.success.items():
22309
        oprot.writeString(kiter420)
22310
        viter421.write(oprot)
7272 amit.gupta 22311
      oprot.writeMapEnd()
22312
      oprot.writeFieldEnd()
22313
    oprot.writeFieldStop()
22314
    oprot.writeStructEnd()
22315
 
22316
  def validate(self):
22317
    return
22318
 
22319
 
22320
  def __repr__(self):
22321
    L = ['%s=%r' % (key, value)
22322
      for key, value in self.__dict__.iteritems()]
22323
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22324
 
22325
  def __eq__(self, other):
22326
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22327
 
22328
  def __ne__(self, other):
22329
    return not (self == other)
22330
 
7256 rajveer 22331
class getStorePricing_args:
22332
  """
22333
  Attributes:
22334
   - itemId
22335
  """
22336
 
22337
  thrift_spec = (
22338
    None, # 0
22339
    (1, TType.I64, 'itemId', None, None, ), # 1
22340
  )
22341
 
22342
  def __init__(self, itemId=None,):
22343
    self.itemId = itemId
22344
 
22345
  def read(self, iprot):
22346
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22347
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22348
      return
22349
    iprot.readStructBegin()
22350
    while True:
22351
      (fname, ftype, fid) = iprot.readFieldBegin()
22352
      if ftype == TType.STOP:
22353
        break
22354
      if fid == 1:
22355
        if ftype == TType.I64:
22356
          self.itemId = iprot.readI64();
22357
        else:
22358
          iprot.skip(ftype)
22359
      else:
22360
        iprot.skip(ftype)
22361
      iprot.readFieldEnd()
22362
    iprot.readStructEnd()
22363
 
22364
  def write(self, oprot):
22365
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22366
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22367
      return
22368
    oprot.writeStructBegin('getStorePricing_args')
22369
    if self.itemId is not None:
22370
      oprot.writeFieldBegin('itemId', TType.I64, 1)
22371
      oprot.writeI64(self.itemId)
22372
      oprot.writeFieldEnd()
22373
    oprot.writeFieldStop()
22374
    oprot.writeStructEnd()
22375
 
22376
  def validate(self):
22377
    return
22378
 
22379
 
22380
  def __repr__(self):
22381
    L = ['%s=%r' % (key, value)
22382
      for key, value in self.__dict__.iteritems()]
22383
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22384
 
22385
  def __eq__(self, other):
22386
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22387
 
22388
  def __ne__(self, other):
22389
    return not (self == other)
22390
 
22391
class getStorePricing_result:
22392
  """
22393
  Attributes:
22394
   - success
22395
  """
22396
 
22397
  thrift_spec = (
22398
    (0, TType.STRUCT, 'success', (StorePricing, StorePricing.thrift_spec), None, ), # 0
22399
  )
22400
 
22401
  def __init__(self, success=None,):
22402
    self.success = success
22403
 
22404
  def read(self, iprot):
22405
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22406
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22407
      return
22408
    iprot.readStructBegin()
22409
    while True:
22410
      (fname, ftype, fid) = iprot.readFieldBegin()
22411
      if ftype == TType.STOP:
22412
        break
22413
      if fid == 0:
22414
        if ftype == TType.STRUCT:
22415
          self.success = StorePricing()
22416
          self.success.read(iprot)
22417
        else:
22418
          iprot.skip(ftype)
22419
      else:
22420
        iprot.skip(ftype)
22421
      iprot.readFieldEnd()
22422
    iprot.readStructEnd()
22423
 
22424
  def write(self, oprot):
22425
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22426
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22427
      return
22428
    oprot.writeStructBegin('getStorePricing_result')
22429
    if self.success is not None:
22430
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
22431
      self.success.write(oprot)
22432
      oprot.writeFieldEnd()
22433
    oprot.writeFieldStop()
22434
    oprot.writeStructEnd()
22435
 
22436
  def validate(self):
22437
    return
22438
 
22439
 
22440
  def __repr__(self):
22441
    L = ['%s=%r' % (key, value)
22442
      for key, value in self.__dict__.iteritems()]
22443
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22444
 
22445
  def __eq__(self, other):
22446
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22447
 
22448
  def __ne__(self, other):
22449
    return not (self == other)
7265 rajveer 22450
 
7306 rajveer 22451
class getStorePricings_args:
22452
  """
22453
  Attributes:
22454
   - itemIds
22455
  """
22456
 
22457
  thrift_spec = (
22458
    None, # 0
22459
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
22460
  )
22461
 
22462
  def __init__(self, itemIds=None,):
22463
    self.itemIds = itemIds
22464
 
22465
  def read(self, iprot):
22466
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22467
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22468
      return
22469
    iprot.readStructBegin()
22470
    while True:
22471
      (fname, ftype, fid) = iprot.readFieldBegin()
22472
      if ftype == TType.STOP:
22473
        break
22474
      if fid == 1:
22475
        if ftype == TType.LIST:
22476
          self.itemIds = []
13493 amit.gupta 22477
          (_etype425, _size422) = iprot.readListBegin()
22478
          for _i426 in xrange(_size422):
22479
            _elem427 = iprot.readI64();
22480
            self.itemIds.append(_elem427)
7306 rajveer 22481
          iprot.readListEnd()
22482
        else:
22483
          iprot.skip(ftype)
22484
      else:
22485
        iprot.skip(ftype)
22486
      iprot.readFieldEnd()
22487
    iprot.readStructEnd()
22488
 
22489
  def write(self, oprot):
22490
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22491
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22492
      return
22493
    oprot.writeStructBegin('getStorePricings_args')
22494
    if self.itemIds is not None:
22495
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
22496
      oprot.writeListBegin(TType.I64, len(self.itemIds))
13493 amit.gupta 22497
      for iter428 in self.itemIds:
22498
        oprot.writeI64(iter428)
7306 rajveer 22499
      oprot.writeListEnd()
22500
      oprot.writeFieldEnd()
22501
    oprot.writeFieldStop()
22502
    oprot.writeStructEnd()
22503
 
22504
  def validate(self):
22505
    return
22506
 
22507
 
22508
  def __repr__(self):
22509
    L = ['%s=%r' % (key, value)
22510
      for key, value in self.__dict__.iteritems()]
22511
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22512
 
22513
  def __eq__(self, other):
22514
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22515
 
22516
  def __ne__(self, other):
22517
    return not (self == other)
22518
 
22519
class getStorePricings_result:
22520
  """
22521
  Attributes:
22522
   - success
22523
  """
22524
 
22525
  thrift_spec = (
22526
    (0, TType.LIST, 'success', (TType.STRUCT,(StorePricing, StorePricing.thrift_spec)), None, ), # 0
22527
  )
22528
 
22529
  def __init__(self, success=None,):
22530
    self.success = success
22531
 
22532
  def read(self, iprot):
22533
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22534
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22535
      return
22536
    iprot.readStructBegin()
22537
    while True:
22538
      (fname, ftype, fid) = iprot.readFieldBegin()
22539
      if ftype == TType.STOP:
22540
        break
22541
      if fid == 0:
22542
        if ftype == TType.LIST:
22543
          self.success = []
13493 amit.gupta 22544
          (_etype432, _size429) = iprot.readListBegin()
22545
          for _i433 in xrange(_size429):
22546
            _elem434 = StorePricing()
22547
            _elem434.read(iprot)
22548
            self.success.append(_elem434)
7306 rajveer 22549
          iprot.readListEnd()
22550
        else:
22551
          iprot.skip(ftype)
22552
      else:
22553
        iprot.skip(ftype)
22554
      iprot.readFieldEnd()
22555
    iprot.readStructEnd()
22556
 
22557
  def write(self, oprot):
22558
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22559
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22560
      return
22561
    oprot.writeStructBegin('getStorePricings_result')
22562
    if self.success is not None:
22563
      oprot.writeFieldBegin('success', TType.LIST, 0)
22564
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 22565
      for iter435 in self.success:
22566
        iter435.write(oprot)
7306 rajveer 22567
      oprot.writeListEnd()
22568
      oprot.writeFieldEnd()
22569
    oprot.writeFieldStop()
22570
    oprot.writeStructEnd()
22571
 
22572
  def validate(self):
22573
    return
22574
 
22575
 
22576
  def __repr__(self):
22577
    L = ['%s=%r' % (key, value)
22578
      for key, value in self.__dict__.iteritems()]
22579
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22580
 
22581
  def __eq__(self, other):
22582
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22583
 
22584
  def __ne__(self, other):
22585
    return not (self == other)
22586
 
7265 rajveer 22587
class updateStorePricing_args:
22588
  """
22589
  Attributes:
22590
   - sp
7382 rajveer 22591
   - allColors
7265 rajveer 22592
  """
22593
 
22594
  thrift_spec = (
22595
    None, # 0
22596
    (1, TType.STRUCT, 'sp', (StorePricing, StorePricing.thrift_spec), None, ), # 1
7382 rajveer 22597
    (2, TType.BOOL, 'allColors', None, None, ), # 2
7265 rajveer 22598
  )
22599
 
7382 rajveer 22600
  def __init__(self, sp=None, allColors=None,):
7265 rajveer 22601
    self.sp = sp
7382 rajveer 22602
    self.allColors = allColors
7265 rajveer 22603
 
22604
  def read(self, iprot):
22605
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22606
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22607
      return
22608
    iprot.readStructBegin()
22609
    while True:
22610
      (fname, ftype, fid) = iprot.readFieldBegin()
22611
      if ftype == TType.STOP:
22612
        break
22613
      if fid == 1:
22614
        if ftype == TType.STRUCT:
22615
          self.sp = StorePricing()
22616
          self.sp.read(iprot)
22617
        else:
22618
          iprot.skip(ftype)
7382 rajveer 22619
      elif fid == 2:
22620
        if ftype == TType.BOOL:
22621
          self.allColors = iprot.readBool();
22622
        else:
22623
          iprot.skip(ftype)
7265 rajveer 22624
      else:
22625
        iprot.skip(ftype)
22626
      iprot.readFieldEnd()
22627
    iprot.readStructEnd()
22628
 
22629
  def write(self, oprot):
22630
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22631
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22632
      return
22633
    oprot.writeStructBegin('updateStorePricing_args')
22634
    if self.sp is not None:
22635
      oprot.writeFieldBegin('sp', TType.STRUCT, 1)
22636
      self.sp.write(oprot)
22637
      oprot.writeFieldEnd()
7382 rajveer 22638
    if self.allColors is not None:
22639
      oprot.writeFieldBegin('allColors', TType.BOOL, 2)
22640
      oprot.writeBool(self.allColors)
22641
      oprot.writeFieldEnd()
7265 rajveer 22642
    oprot.writeFieldStop()
22643
    oprot.writeStructEnd()
22644
 
22645
  def validate(self):
22646
    return
22647
 
22648
 
22649
  def __repr__(self):
22650
    L = ['%s=%r' % (key, value)
22651
      for key, value in self.__dict__.iteritems()]
22652
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22653
 
22654
  def __eq__(self, other):
22655
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22656
 
22657
  def __ne__(self, other):
22658
    return not (self == other)
22659
 
22660
class updateStorePricing_result:
22661
 
22662
  thrift_spec = (
22663
  )
22664
 
22665
  def read(self, iprot):
22666
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22667
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22668
      return
22669
    iprot.readStructBegin()
22670
    while True:
22671
      (fname, ftype, fid) = iprot.readFieldBegin()
22672
      if ftype == TType.STOP:
22673
        break
22674
      else:
22675
        iprot.skip(ftype)
22676
      iprot.readFieldEnd()
22677
    iprot.readStructEnd()
22678
 
22679
  def write(self, oprot):
22680
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22681
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22682
      return
22683
    oprot.writeStructBegin('updateStorePricing_result')
22684
    oprot.writeFieldStop()
22685
    oprot.writeStructEnd()
22686
 
22687
  def validate(self):
22688
    return
22689
 
22690
 
22691
  def __repr__(self):
22692
    L = ['%s=%r' % (key, value)
22693
      for key, value in self.__dict__.iteritems()]
22694
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22695
 
22696
  def __eq__(self, other):
22697
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22698
 
22699
  def __ne__(self, other):
22700
    return not (self == other)
7281 kshitij.so 22701
 
22702
class getAllAmazonListedItems_args:
22703
 
22704
  thrift_spec = (
22705
  )
22706
 
22707
  def read(self, iprot):
22708
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22709
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22710
      return
22711
    iprot.readStructBegin()
22712
    while True:
22713
      (fname, ftype, fid) = iprot.readFieldBegin()
22714
      if ftype == TType.STOP:
22715
        break
22716
      else:
22717
        iprot.skip(ftype)
22718
      iprot.readFieldEnd()
22719
    iprot.readStructEnd()
22720
 
22721
  def write(self, oprot):
22722
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22723
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22724
      return
22725
    oprot.writeStructBegin('getAllAmazonListedItems_args')
22726
    oprot.writeFieldStop()
22727
    oprot.writeStructEnd()
22728
 
22729
  def validate(self):
22730
    return
22731
 
22732
 
22733
  def __repr__(self):
22734
    L = ['%s=%r' % (key, value)
22735
      for key, value in self.__dict__.iteritems()]
22736
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22737
 
22738
  def __eq__(self, other):
22739
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22740
 
22741
  def __ne__(self, other):
22742
    return not (self == other)
22743
 
22744
class getAllAmazonListedItems_result:
22745
  """
22746
  Attributes:
22747
   - success
22748
  """
22749
 
22750
  thrift_spec = (
22751
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
22752
  )
22753
 
22754
  def __init__(self, success=None,):
22755
    self.success = success
22756
 
22757
  def read(self, iprot):
22758
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22759
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22760
      return
22761
    iprot.readStructBegin()
22762
    while True:
22763
      (fname, ftype, fid) = iprot.readFieldBegin()
22764
      if ftype == TType.STOP:
22765
        break
22766
      if fid == 0:
22767
        if ftype == TType.LIST:
22768
          self.success = []
13493 amit.gupta 22769
          (_etype439, _size436) = iprot.readListBegin()
22770
          for _i440 in xrange(_size436):
22771
            _elem441 = Amazonlisted()
22772
            _elem441.read(iprot)
22773
            self.success.append(_elem441)
7281 kshitij.so 22774
          iprot.readListEnd()
22775
        else:
22776
          iprot.skip(ftype)
22777
      else:
22778
        iprot.skip(ftype)
22779
      iprot.readFieldEnd()
22780
    iprot.readStructEnd()
22781
 
22782
  def write(self, oprot):
22783
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22784
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22785
      return
22786
    oprot.writeStructBegin('getAllAmazonListedItems_result')
22787
    if self.success is not None:
22788
      oprot.writeFieldBegin('success', TType.LIST, 0)
22789
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 22790
      for iter442 in self.success:
22791
        iter442.write(oprot)
7281 kshitij.so 22792
      oprot.writeListEnd()
22793
      oprot.writeFieldEnd()
22794
    oprot.writeFieldStop()
22795
    oprot.writeStructEnd()
22796
 
22797
  def validate(self):
22798
    return
22799
 
22800
 
22801
  def __repr__(self):
22802
    L = ['%s=%r' % (key, value)
22803
      for key, value in self.__dict__.iteritems()]
22804
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22805
 
22806
  def __eq__(self, other):
22807
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22808
 
22809
  def __ne__(self, other):
22810
    return not (self == other)
22811
 
8619 kshitij.so 22812
class searchAmazonItems_args:
22813
  """
22814
  Attributes:
22815
   - searchTerm
22816
   - offset
22817
   - limit
22818
  """
22819
 
22820
  thrift_spec = (
22821
    None, # 0
22822
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
22823
    (2, TType.I64, 'offset', None, None, ), # 2
22824
    (3, TType.I64, 'limit', None, None, ), # 3
22825
  )
22826
 
22827
  def __init__(self, searchTerm=None, offset=None, limit=None,):
22828
    self.searchTerm = searchTerm
22829
    self.offset = offset
22830
    self.limit = limit
22831
 
22832
  def read(self, iprot):
22833
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22834
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22835
      return
22836
    iprot.readStructBegin()
22837
    while True:
22838
      (fname, ftype, fid) = iprot.readFieldBegin()
22839
      if ftype == TType.STOP:
22840
        break
22841
      if fid == 1:
22842
        if ftype == TType.LIST:
22843
          self.searchTerm = []
13493 amit.gupta 22844
          (_etype446, _size443) = iprot.readListBegin()
22845
          for _i447 in xrange(_size443):
22846
            _elem448 = iprot.readString();
22847
            self.searchTerm.append(_elem448)
8619 kshitij.so 22848
          iprot.readListEnd()
22849
        else:
22850
          iprot.skip(ftype)
22851
      elif fid == 2:
22852
        if ftype == TType.I64:
22853
          self.offset = iprot.readI64();
22854
        else:
22855
          iprot.skip(ftype)
22856
      elif fid == 3:
22857
        if ftype == TType.I64:
22858
          self.limit = iprot.readI64();
22859
        else:
22860
          iprot.skip(ftype)
22861
      else:
22862
        iprot.skip(ftype)
22863
      iprot.readFieldEnd()
22864
    iprot.readStructEnd()
22865
 
22866
  def write(self, oprot):
22867
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22868
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22869
      return
22870
    oprot.writeStructBegin('searchAmazonItems_args')
22871
    if self.searchTerm is not None:
22872
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
22873
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 22874
      for iter449 in self.searchTerm:
22875
        oprot.writeString(iter449)
8619 kshitij.so 22876
      oprot.writeListEnd()
22877
      oprot.writeFieldEnd()
22878
    if self.offset is not None:
22879
      oprot.writeFieldBegin('offset', TType.I64, 2)
22880
      oprot.writeI64(self.offset)
22881
      oprot.writeFieldEnd()
22882
    if self.limit is not None:
22883
      oprot.writeFieldBegin('limit', TType.I64, 3)
22884
      oprot.writeI64(self.limit)
22885
      oprot.writeFieldEnd()
22886
    oprot.writeFieldStop()
22887
    oprot.writeStructEnd()
22888
 
22889
  def validate(self):
22890
    return
22891
 
22892
 
22893
  def __repr__(self):
22894
    L = ['%s=%r' % (key, value)
22895
      for key, value in self.__dict__.iteritems()]
22896
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22897
 
22898
  def __eq__(self, other):
22899
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22900
 
22901
  def __ne__(self, other):
22902
    return not (self == other)
22903
 
22904
class searchAmazonItems_result:
22905
  """
22906
  Attributes:
22907
   - success
22908
  """
22909
 
22910
  thrift_spec = (
22911
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
22912
  )
22913
 
22914
  def __init__(self, success=None,):
22915
    self.success = success
22916
 
22917
  def read(self, iprot):
22918
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22919
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22920
      return
22921
    iprot.readStructBegin()
22922
    while True:
22923
      (fname, ftype, fid) = iprot.readFieldBegin()
22924
      if ftype == TType.STOP:
22925
        break
22926
      if fid == 0:
22927
        if ftype == TType.LIST:
22928
          self.success = []
13493 amit.gupta 22929
          (_etype453, _size450) = iprot.readListBegin()
22930
          for _i454 in xrange(_size450):
22931
            _elem455 = Amazonlisted()
22932
            _elem455.read(iprot)
22933
            self.success.append(_elem455)
8619 kshitij.so 22934
          iprot.readListEnd()
22935
        else:
22936
          iprot.skip(ftype)
22937
      else:
22938
        iprot.skip(ftype)
22939
      iprot.readFieldEnd()
22940
    iprot.readStructEnd()
22941
 
22942
  def write(self, oprot):
22943
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22944
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22945
      return
22946
    oprot.writeStructBegin('searchAmazonItems_result')
22947
    if self.success is not None:
22948
      oprot.writeFieldBegin('success', TType.LIST, 0)
22949
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 22950
      for iter456 in self.success:
22951
        iter456.write(oprot)
8619 kshitij.so 22952
      oprot.writeListEnd()
22953
      oprot.writeFieldEnd()
22954
    oprot.writeFieldStop()
22955
    oprot.writeStructEnd()
22956
 
22957
  def validate(self):
22958
    return
22959
 
22960
 
22961
  def __repr__(self):
22962
    L = ['%s=%r' % (key, value)
22963
      for key, value in self.__dict__.iteritems()]
22964
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22965
 
22966
  def __eq__(self, other):
22967
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22968
 
22969
  def __ne__(self, other):
22970
    return not (self == other)
22971
 
22972
class getAmazonSearchResultCount_args:
22973
  """
22974
  Attributes:
22975
   - searchTerm
22976
  """
22977
 
22978
  thrift_spec = (
22979
    None, # 0
22980
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
22981
  )
22982
 
22983
  def __init__(self, searchTerm=None,):
22984
    self.searchTerm = searchTerm
22985
 
22986
  def read(self, iprot):
22987
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22988
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22989
      return
22990
    iprot.readStructBegin()
22991
    while True:
22992
      (fname, ftype, fid) = iprot.readFieldBegin()
22993
      if ftype == TType.STOP:
22994
        break
22995
      if fid == 1:
22996
        if ftype == TType.LIST:
22997
          self.searchTerm = []
13493 amit.gupta 22998
          (_etype460, _size457) = iprot.readListBegin()
22999
          for _i461 in xrange(_size457):
23000
            _elem462 = iprot.readString();
23001
            self.searchTerm.append(_elem462)
8619 kshitij.so 23002
          iprot.readListEnd()
23003
        else:
23004
          iprot.skip(ftype)
23005
      else:
23006
        iprot.skip(ftype)
23007
      iprot.readFieldEnd()
23008
    iprot.readStructEnd()
23009
 
23010
  def write(self, oprot):
23011
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23012
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23013
      return
23014
    oprot.writeStructBegin('getAmazonSearchResultCount_args')
23015
    if self.searchTerm is not None:
23016
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
23017
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 23018
      for iter463 in self.searchTerm:
23019
        oprot.writeString(iter463)
8619 kshitij.so 23020
      oprot.writeListEnd()
23021
      oprot.writeFieldEnd()
23022
    oprot.writeFieldStop()
23023
    oprot.writeStructEnd()
23024
 
23025
  def validate(self):
23026
    return
23027
 
23028
 
23029
  def __repr__(self):
23030
    L = ['%s=%r' % (key, value)
23031
      for key, value in self.__dict__.iteritems()]
23032
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23033
 
23034
  def __eq__(self, other):
23035
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23036
 
23037
  def __ne__(self, other):
23038
    return not (self == other)
23039
 
23040
class getAmazonSearchResultCount_result:
23041
  """
23042
  Attributes:
23043
   - success
23044
  """
23045
 
23046
  thrift_spec = (
23047
    (0, TType.I64, 'success', None, None, ), # 0
23048
  )
23049
 
23050
  def __init__(self, success=None,):
23051
    self.success = success
23052
 
23053
  def read(self, iprot):
23054
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23055
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23056
      return
23057
    iprot.readStructBegin()
23058
    while True:
23059
      (fname, ftype, fid) = iprot.readFieldBegin()
23060
      if ftype == TType.STOP:
23061
        break
23062
      if fid == 0:
23063
        if ftype == TType.I64:
23064
          self.success = iprot.readI64();
23065
        else:
23066
          iprot.skip(ftype)
23067
      else:
23068
        iprot.skip(ftype)
23069
      iprot.readFieldEnd()
23070
    iprot.readStructEnd()
23071
 
23072
  def write(self, oprot):
23073
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23074
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23075
      return
23076
    oprot.writeStructBegin('getAmazonSearchResultCount_result')
23077
    if self.success is not None:
23078
      oprot.writeFieldBegin('success', TType.I64, 0)
23079
      oprot.writeI64(self.success)
23080
      oprot.writeFieldEnd()
23081
    oprot.writeFieldStop()
23082
    oprot.writeStructEnd()
23083
 
23084
  def validate(self):
23085
    return
23086
 
23087
 
23088
  def __repr__(self):
23089
    L = ['%s=%r' % (key, value)
23090
      for key, value in self.__dict__.iteritems()]
23091
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23092
 
23093
  def __eq__(self, other):
23094
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23095
 
23096
  def __ne__(self, other):
23097
    return not (self == other)
23098
 
23099
class getCountForAmazonlistedItems_args:
23100
 
23101
  thrift_spec = (
23102
  )
23103
 
23104
  def read(self, iprot):
23105
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23106
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23107
      return
23108
    iprot.readStructBegin()
23109
    while True:
23110
      (fname, ftype, fid) = iprot.readFieldBegin()
23111
      if ftype == TType.STOP:
23112
        break
23113
      else:
23114
        iprot.skip(ftype)
23115
      iprot.readFieldEnd()
23116
    iprot.readStructEnd()
23117
 
23118
  def write(self, oprot):
23119
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23120
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23121
      return
23122
    oprot.writeStructBegin('getCountForAmazonlistedItems_args')
23123
    oprot.writeFieldStop()
23124
    oprot.writeStructEnd()
23125
 
23126
  def validate(self):
23127
    return
23128
 
23129
 
23130
  def __repr__(self):
23131
    L = ['%s=%r' % (key, value)
23132
      for key, value in self.__dict__.iteritems()]
23133
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23134
 
23135
  def __eq__(self, other):
23136
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23137
 
23138
  def __ne__(self, other):
23139
    return not (self == other)
23140
 
23141
class getCountForAmazonlistedItems_result:
23142
  """
23143
  Attributes:
23144
   - success
23145
  """
23146
 
23147
  thrift_spec = (
23148
    (0, TType.I64, 'success', None, None, ), # 0
23149
  )
23150
 
23151
  def __init__(self, success=None,):
23152
    self.success = success
23153
 
23154
  def read(self, iprot):
23155
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23156
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23157
      return
23158
    iprot.readStructBegin()
23159
    while True:
23160
      (fname, ftype, fid) = iprot.readFieldBegin()
23161
      if ftype == TType.STOP:
23162
        break
23163
      if fid == 0:
23164
        if ftype == TType.I64:
23165
          self.success = iprot.readI64();
23166
        else:
23167
          iprot.skip(ftype)
23168
      else:
23169
        iprot.skip(ftype)
23170
      iprot.readFieldEnd()
23171
    iprot.readStructEnd()
23172
 
23173
  def write(self, oprot):
23174
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23175
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23176
      return
23177
    oprot.writeStructBegin('getCountForAmazonlistedItems_result')
23178
    if self.success is not None:
23179
      oprot.writeFieldBegin('success', TType.I64, 0)
23180
      oprot.writeI64(self.success)
23181
      oprot.writeFieldEnd()
23182
    oprot.writeFieldStop()
23183
    oprot.writeStructEnd()
23184
 
23185
  def validate(self):
23186
    return
23187
 
23188
 
23189
  def __repr__(self):
23190
    L = ['%s=%r' % (key, value)
23191
      for key, value in self.__dict__.iteritems()]
23192
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23193
 
23194
  def __eq__(self, other):
23195
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23196
 
23197
  def __ne__(self, other):
23198
    return not (self == other)
23199
 
7281 kshitij.so 23200
class getAmazonItemDetails_args:
23201
  """
23202
  Attributes:
23203
   - itemId
23204
  """
23205
 
23206
  thrift_spec = (
23207
    None, # 0
23208
    (1, TType.I64, 'itemId', None, None, ), # 1
23209
  )
23210
 
23211
  def __init__(self, itemId=None,):
23212
    self.itemId = itemId
23213
 
23214
  def read(self, iprot):
23215
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23216
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23217
      return
23218
    iprot.readStructBegin()
23219
    while True:
23220
      (fname, ftype, fid) = iprot.readFieldBegin()
23221
      if ftype == TType.STOP:
23222
        break
23223
      if fid == 1:
23224
        if ftype == TType.I64:
23225
          self.itemId = iprot.readI64();
23226
        else:
23227
          iprot.skip(ftype)
23228
      else:
23229
        iprot.skip(ftype)
23230
      iprot.readFieldEnd()
23231
    iprot.readStructEnd()
23232
 
23233
  def write(self, oprot):
23234
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23235
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23236
      return
23237
    oprot.writeStructBegin('getAmazonItemDetails_args')
23238
    if self.itemId is not None:
23239
      oprot.writeFieldBegin('itemId', TType.I64, 1)
23240
      oprot.writeI64(self.itemId)
23241
      oprot.writeFieldEnd()
23242
    oprot.writeFieldStop()
23243
    oprot.writeStructEnd()
23244
 
23245
  def validate(self):
23246
    return
23247
 
23248
 
23249
  def __repr__(self):
23250
    L = ['%s=%r' % (key, value)
23251
      for key, value in self.__dict__.iteritems()]
23252
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23253
 
23254
  def __eq__(self, other):
23255
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23256
 
23257
  def __ne__(self, other):
23258
    return not (self == other)
23259
 
23260
class getAmazonItemDetails_result:
23261
  """
23262
  Attributes:
23263
   - success
23264
  """
23265
 
23266
  thrift_spec = (
23267
    (0, TType.STRUCT, 'success', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 0
23268
  )
23269
 
23270
  def __init__(self, success=None,):
23271
    self.success = success
23272
 
23273
  def read(self, iprot):
23274
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23275
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23276
      return
23277
    iprot.readStructBegin()
23278
    while True:
23279
      (fname, ftype, fid) = iprot.readFieldBegin()
23280
      if ftype == TType.STOP:
23281
        break
23282
      if fid == 0:
23283
        if ftype == TType.STRUCT:
23284
          self.success = Amazonlisted()
23285
          self.success.read(iprot)
23286
        else:
23287
          iprot.skip(ftype)
23288
      else:
23289
        iprot.skip(ftype)
23290
      iprot.readFieldEnd()
23291
    iprot.readStructEnd()
23292
 
23293
  def write(self, oprot):
23294
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23295
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23296
      return
23297
    oprot.writeStructBegin('getAmazonItemDetails_result')
23298
    if self.success is not None:
23299
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
23300
      self.success.write(oprot)
23301
      oprot.writeFieldEnd()
23302
    oprot.writeFieldStop()
23303
    oprot.writeStructEnd()
23304
 
23305
  def validate(self):
23306
    return
23307
 
23308
 
23309
  def __repr__(self):
23310
    L = ['%s=%r' % (key, value)
23311
      for key, value in self.__dict__.iteritems()]
23312
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23313
 
23314
  def __eq__(self, other):
23315
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23316
 
23317
  def __ne__(self, other):
23318
    return not (self == other)
23319
 
23320
class updateAmazonItemDetails_args:
23321
  """
23322
  Attributes:
8168 kshitij.so 23323
   - amazonlisted
7281 kshitij.so 23324
  """
23325
 
23326
  thrift_spec = (
23327
    None, # 0
8168 kshitij.so 23328
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
7281 kshitij.so 23329
  )
23330
 
8168 kshitij.so 23331
  def __init__(self, amazonlisted=None,):
23332
    self.amazonlisted = amazonlisted
7281 kshitij.so 23333
 
23334
  def read(self, iprot):
23335
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23336
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23337
      return
23338
    iprot.readStructBegin()
23339
    while True:
23340
      (fname, ftype, fid) = iprot.readFieldBegin()
23341
      if ftype == TType.STOP:
23342
        break
23343
      if fid == 1:
8168 kshitij.so 23344
        if ftype == TType.STRUCT:
23345
          self.amazonlisted = Amazonlisted()
23346
          self.amazonlisted.read(iprot)
7281 kshitij.so 23347
        else:
23348
          iprot.skip(ftype)
23349
      else:
23350
        iprot.skip(ftype)
23351
      iprot.readFieldEnd()
23352
    iprot.readStructEnd()
23353
 
23354
  def write(self, oprot):
23355
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23356
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23357
      return
23358
    oprot.writeStructBegin('updateAmazonItemDetails_args')
8168 kshitij.so 23359
    if self.amazonlisted is not None:
23360
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
23361
      self.amazonlisted.write(oprot)
7281 kshitij.so 23362
      oprot.writeFieldEnd()
23363
    oprot.writeFieldStop()
23364
    oprot.writeStructEnd()
23365
 
23366
  def validate(self):
23367
    return
23368
 
23369
 
23370
  def __repr__(self):
23371
    L = ['%s=%r' % (key, value)
23372
      for key, value in self.__dict__.iteritems()]
23373
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23374
 
23375
  def __eq__(self, other):
23376
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23377
 
23378
  def __ne__(self, other):
23379
    return not (self == other)
23380
 
23381
class updateAmazonItemDetails_result:
23382
 
23383
  thrift_spec = (
23384
  )
23385
 
23386
  def read(self, iprot):
23387
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23388
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23389
      return
23390
    iprot.readStructBegin()
23391
    while True:
23392
      (fname, ftype, fid) = iprot.readFieldBegin()
23393
      if ftype == TType.STOP:
23394
        break
23395
      else:
23396
        iprot.skip(ftype)
23397
      iprot.readFieldEnd()
23398
    iprot.readStructEnd()
23399
 
23400
  def write(self, oprot):
23401
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23402
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23403
      return
23404
    oprot.writeStructBegin('updateAmazonItemDetails_result')
23405
    oprot.writeFieldStop()
23406
    oprot.writeStructEnd()
23407
 
23408
  def validate(self):
23409
    return
23410
 
23411
 
23412
  def __repr__(self):
23413
    L = ['%s=%r' % (key, value)
23414
      for key, value in self.__dict__.iteritems()]
23415
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23416
 
23417
  def __eq__(self, other):
23418
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23419
 
23420
  def __ne__(self, other):
23421
    return not (self == other)
23422
 
23423
class addAmazonItem_args:
23424
  """
23425
  Attributes:
23426
   - amazonlisted
23427
  """
23428
 
23429
  thrift_spec = (
23430
    None, # 0
23431
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
23432
  )
23433
 
23434
  def __init__(self, amazonlisted=None,):
23435
    self.amazonlisted = amazonlisted
23436
 
23437
  def read(self, iprot):
23438
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23439
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23440
      return
23441
    iprot.readStructBegin()
23442
    while True:
23443
      (fname, ftype, fid) = iprot.readFieldBegin()
23444
      if ftype == TType.STOP:
23445
        break
23446
      if fid == 1:
23447
        if ftype == TType.STRUCT:
23448
          self.amazonlisted = Amazonlisted()
23449
          self.amazonlisted.read(iprot)
23450
        else:
23451
          iprot.skip(ftype)
23452
      else:
23453
        iprot.skip(ftype)
23454
      iprot.readFieldEnd()
23455
    iprot.readStructEnd()
23456
 
23457
  def write(self, oprot):
23458
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23459
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23460
      return
23461
    oprot.writeStructBegin('addAmazonItem_args')
23462
    if self.amazonlisted is not None:
23463
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
23464
      self.amazonlisted.write(oprot)
23465
      oprot.writeFieldEnd()
23466
    oprot.writeFieldStop()
23467
    oprot.writeStructEnd()
23468
 
23469
  def validate(self):
23470
    return
23471
 
23472
 
23473
  def __repr__(self):
23474
    L = ['%s=%r' % (key, value)
23475
      for key, value in self.__dict__.iteritems()]
23476
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23477
 
23478
  def __eq__(self, other):
23479
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23480
 
23481
  def __ne__(self, other):
23482
    return not (self == other)
23483
 
23484
class addAmazonItem_result:
23485
 
23486
  thrift_spec = (
23487
  )
23488
 
23489
  def read(self, iprot):
23490
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23491
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23492
      return
23493
    iprot.readStructBegin()
23494
    while True:
23495
      (fname, ftype, fid) = iprot.readFieldBegin()
23496
      if ftype == TType.STOP:
23497
        break
23498
      else:
23499
        iprot.skip(ftype)
23500
      iprot.readFieldEnd()
23501
    iprot.readStructEnd()
23502
 
23503
  def write(self, oprot):
23504
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23505
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23506
      return
23507
    oprot.writeStructBegin('addAmazonItem_result')
23508
    oprot.writeFieldStop()
23509
    oprot.writeStructEnd()
23510
 
23511
  def validate(self):
23512
    return
23513
 
23514
 
23515
  def __repr__(self):
23516
    L = ['%s=%r' % (key, value)
23517
      for key, value in self.__dict__.iteritems()]
23518
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23519
 
23520
  def __eq__(self, other):
23521
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23522
 
23523
  def __ne__(self, other):
23524
    return not (self == other)
7291 vikram.rag 23525
 
23526
class getAsinItems_args:
23527
 
23528
  thrift_spec = (
23529
  )
23530
 
23531
  def read(self, iprot):
23532
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23533
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23534
      return
23535
    iprot.readStructBegin()
23536
    while True:
23537
      (fname, ftype, fid) = iprot.readFieldBegin()
23538
      if ftype == TType.STOP:
23539
        break
23540
      else:
23541
        iprot.skip(ftype)
23542
      iprot.readFieldEnd()
23543
    iprot.readStructEnd()
23544
 
23545
  def write(self, oprot):
23546
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23547
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23548
      return
23549
    oprot.writeStructBegin('getAsinItems_args')
23550
    oprot.writeFieldStop()
23551
    oprot.writeStructEnd()
23552
 
23553
  def validate(self):
23554
    return
23555
 
23556
 
23557
  def __repr__(self):
23558
    L = ['%s=%r' % (key, value)
23559
      for key, value in self.__dict__.iteritems()]
23560
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23561
 
23562
  def __eq__(self, other):
23563
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23564
 
23565
  def __ne__(self, other):
23566
    return not (self == other)
23567
 
23568
class getAsinItems_result:
23569
  """
23570
  Attributes:
23571
   - success
23572
  """
23573
 
23574
  thrift_spec = (
23575
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
23576
  )
23577
 
23578
  def __init__(self, success=None,):
23579
    self.success = success
23580
 
23581
  def read(self, iprot):
23582
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23583
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23584
      return
23585
    iprot.readStructBegin()
23586
    while True:
23587
      (fname, ftype, fid) = iprot.readFieldBegin()
23588
      if ftype == TType.STOP:
23589
        break
23590
      if fid == 0:
23591
        if ftype == TType.LIST:
23592
          self.success = []
13493 amit.gupta 23593
          (_etype467, _size464) = iprot.readListBegin()
23594
          for _i468 in xrange(_size464):
23595
            _elem469 = Item()
23596
            _elem469.read(iprot)
23597
            self.success.append(_elem469)
7291 vikram.rag 23598
          iprot.readListEnd()
23599
        else:
23600
          iprot.skip(ftype)
23601
      else:
23602
        iprot.skip(ftype)
23603
      iprot.readFieldEnd()
23604
    iprot.readStructEnd()
23605
 
23606
  def write(self, oprot):
23607
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23608
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23609
      return
23610
    oprot.writeStructBegin('getAsinItems_result')
23611
    if self.success is not None:
23612
      oprot.writeFieldBegin('success', TType.LIST, 0)
23613
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 23614
      for iter470 in self.success:
23615
        iter470.write(oprot)
7291 vikram.rag 23616
      oprot.writeListEnd()
23617
      oprot.writeFieldEnd()
23618
    oprot.writeFieldStop()
23619
    oprot.writeStructEnd()
23620
 
23621
  def validate(self):
23622
    return
23623
 
23624
 
23625
  def __repr__(self):
23626
    L = ['%s=%r' % (key, value)
23627
      for key, value in self.__dict__.iteritems()]
23628
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23629
 
23630
  def __eq__(self, other):
23631
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23632
 
23633
  def __ne__(self, other):
23634
    return not (self == other)
23635
 
23636
class getAllFbaListedItems_args:
23637
 
23638
  thrift_spec = (
23639
  )
23640
 
23641
  def read(self, iprot):
23642
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23643
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23644
      return
23645
    iprot.readStructBegin()
23646
    while True:
23647
      (fname, ftype, fid) = iprot.readFieldBegin()
23648
      if ftype == TType.STOP:
23649
        break
23650
      else:
23651
        iprot.skip(ftype)
23652
      iprot.readFieldEnd()
23653
    iprot.readStructEnd()
23654
 
23655
  def write(self, oprot):
23656
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23657
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23658
      return
23659
    oprot.writeStructBegin('getAllFbaListedItems_args')
23660
    oprot.writeFieldStop()
23661
    oprot.writeStructEnd()
23662
 
23663
  def validate(self):
23664
    return
23665
 
23666
 
23667
  def __repr__(self):
23668
    L = ['%s=%r' % (key, value)
23669
      for key, value in self.__dict__.iteritems()]
23670
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23671
 
23672
  def __eq__(self, other):
23673
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23674
 
23675
  def __ne__(self, other):
23676
    return not (self == other)
23677
 
23678
class getAllFbaListedItems_result:
23679
  """
23680
  Attributes:
23681
   - success
23682
  """
23683
 
23684
  thrift_spec = (
23685
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23686
  )
23687
 
23688
  def __init__(self, success=None,):
23689
    self.success = success
23690
 
23691
  def read(self, iprot):
23692
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23693
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23694
      return
23695
    iprot.readStructBegin()
23696
    while True:
23697
      (fname, ftype, fid) = iprot.readFieldBegin()
23698
      if ftype == TType.STOP:
23699
        break
23700
      if fid == 0:
23701
        if ftype == TType.LIST:
23702
          self.success = []
13493 amit.gupta 23703
          (_etype474, _size471) = iprot.readListBegin()
23704
          for _i475 in xrange(_size471):
23705
            _elem476 = Amazonlisted()
23706
            _elem476.read(iprot)
23707
            self.success.append(_elem476)
7291 vikram.rag 23708
          iprot.readListEnd()
23709
        else:
23710
          iprot.skip(ftype)
23711
      else:
23712
        iprot.skip(ftype)
23713
      iprot.readFieldEnd()
23714
    iprot.readStructEnd()
23715
 
23716
  def write(self, oprot):
23717
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23718
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23719
      return
23720
    oprot.writeStructBegin('getAllFbaListedItems_result')
23721
    if self.success is not None:
23722
      oprot.writeFieldBegin('success', TType.LIST, 0)
23723
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 23724
      for iter477 in self.success:
23725
        iter477.write(oprot)
7291 vikram.rag 23726
      oprot.writeListEnd()
23727
      oprot.writeFieldEnd()
23728
    oprot.writeFieldStop()
23729
    oprot.writeStructEnd()
23730
 
23731
  def validate(self):
23732
    return
23733
 
23734
 
23735
  def __repr__(self):
23736
    L = ['%s=%r' % (key, value)
23737
      for key, value in self.__dict__.iteritems()]
23738
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23739
 
23740
  def __eq__(self, other):
23741
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23742
 
23743
  def __ne__(self, other):
23744
    return not (self == other)
23745
 
23746
class getAllNonFbaListedItems_args:
23747
 
23748
  thrift_spec = (
23749
  )
23750
 
23751
  def read(self, iprot):
23752
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23753
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23754
      return
23755
    iprot.readStructBegin()
23756
    while True:
23757
      (fname, ftype, fid) = iprot.readFieldBegin()
23758
      if ftype == TType.STOP:
23759
        break
23760
      else:
23761
        iprot.skip(ftype)
23762
      iprot.readFieldEnd()
23763
    iprot.readStructEnd()
23764
 
23765
  def write(self, oprot):
23766
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23767
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23768
      return
23769
    oprot.writeStructBegin('getAllNonFbaListedItems_args')
23770
    oprot.writeFieldStop()
23771
    oprot.writeStructEnd()
23772
 
23773
  def validate(self):
23774
    return
23775
 
23776
 
23777
  def __repr__(self):
23778
    L = ['%s=%r' % (key, value)
23779
      for key, value in self.__dict__.iteritems()]
23780
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23781
 
23782
  def __eq__(self, other):
23783
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23784
 
23785
  def __ne__(self, other):
23786
    return not (self == other)
23787
 
23788
class getAllNonFbaListedItems_result:
23789
  """
23790
  Attributes:
23791
   - success
23792
  """
23793
 
23794
  thrift_spec = (
23795
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23796
  )
23797
 
23798
  def __init__(self, success=None,):
23799
    self.success = success
23800
 
23801
  def read(self, iprot):
23802
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23803
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23804
      return
23805
    iprot.readStructBegin()
23806
    while True:
23807
      (fname, ftype, fid) = iprot.readFieldBegin()
23808
      if ftype == TType.STOP:
23809
        break
23810
      if fid == 0:
23811
        if ftype == TType.LIST:
23812
          self.success = []
13493 amit.gupta 23813
          (_etype481, _size478) = iprot.readListBegin()
23814
          for _i482 in xrange(_size478):
23815
            _elem483 = Amazonlisted()
23816
            _elem483.read(iprot)
23817
            self.success.append(_elem483)
7291 vikram.rag 23818
          iprot.readListEnd()
23819
        else:
23820
          iprot.skip(ftype)
23821
      else:
23822
        iprot.skip(ftype)
23823
      iprot.readFieldEnd()
23824
    iprot.readStructEnd()
23825
 
23826
  def write(self, oprot):
23827
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23828
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23829
      return
23830
    oprot.writeStructBegin('getAllNonFbaListedItems_result')
23831
    if self.success is not None:
23832
      oprot.writeFieldBegin('success', TType.LIST, 0)
23833
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 23834
      for iter484 in self.success:
23835
        iter484.write(oprot)
7291 vikram.rag 23836
      oprot.writeListEnd()
23837
      oprot.writeFieldEnd()
23838
    oprot.writeFieldStop()
23839
    oprot.writeStructEnd()
23840
 
23841
  def validate(self):
23842
    return
23843
 
23844
 
23845
  def __repr__(self):
23846
    L = ['%s=%r' % (key, value)
23847
      for key, value in self.__dict__.iteritems()]
23848
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23849
 
23850
  def __eq__(self, other):
23851
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23852
 
23853
  def __ne__(self, other):
23854
    return not (self == other)
7460 kshitij.so 23855
 
23856
class updateItemInventory_args:
23857
  """
23858
  Attributes:
23859
   - itemId
23860
   - holdInventory
23861
   - defaultInventory
23862
  """
23863
 
23864
  thrift_spec = (
23865
    None, # 0
23866
    (1, TType.I64, 'itemId', None, None, ), # 1
23867
    (2, TType.I64, 'holdInventory', None, None, ), # 2
23868
    (3, TType.I64, 'defaultInventory', None, None, ), # 3
23869
  )
23870
 
23871
  def __init__(self, itemId=None, holdInventory=None, defaultInventory=None,):
23872
    self.itemId = itemId
23873
    self.holdInventory = holdInventory
23874
    self.defaultInventory = defaultInventory
23875
 
23876
  def read(self, iprot):
23877
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23878
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23879
      return
23880
    iprot.readStructBegin()
23881
    while True:
23882
      (fname, ftype, fid) = iprot.readFieldBegin()
23883
      if ftype == TType.STOP:
23884
        break
23885
      if fid == 1:
23886
        if ftype == TType.I64:
23887
          self.itemId = iprot.readI64();
23888
        else:
23889
          iprot.skip(ftype)
23890
      elif fid == 2:
23891
        if ftype == TType.I64:
23892
          self.holdInventory = iprot.readI64();
23893
        else:
23894
          iprot.skip(ftype)
23895
      elif fid == 3:
23896
        if ftype == TType.I64:
23897
          self.defaultInventory = iprot.readI64();
23898
        else:
23899
          iprot.skip(ftype)
23900
      else:
23901
        iprot.skip(ftype)
23902
      iprot.readFieldEnd()
23903
    iprot.readStructEnd()
23904
 
23905
  def write(self, oprot):
23906
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23907
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23908
      return
23909
    oprot.writeStructBegin('updateItemInventory_args')
23910
    if self.itemId is not None:
23911
      oprot.writeFieldBegin('itemId', TType.I64, 1)
23912
      oprot.writeI64(self.itemId)
23913
      oprot.writeFieldEnd()
23914
    if self.holdInventory is not None:
23915
      oprot.writeFieldBegin('holdInventory', TType.I64, 2)
23916
      oprot.writeI64(self.holdInventory)
23917
      oprot.writeFieldEnd()
23918
    if self.defaultInventory is not None:
23919
      oprot.writeFieldBegin('defaultInventory', TType.I64, 3)
23920
      oprot.writeI64(self.defaultInventory)
23921
      oprot.writeFieldEnd()
23922
    oprot.writeFieldStop()
23923
    oprot.writeStructEnd()
23924
 
23925
  def validate(self):
23926
    return
23927
 
23928
 
23929
  def __repr__(self):
23930
    L = ['%s=%r' % (key, value)
23931
      for key, value in self.__dict__.iteritems()]
23932
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23933
 
23934
  def __eq__(self, other):
23935
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23936
 
23937
  def __ne__(self, other):
23938
    return not (self == other)
23939
 
23940
class updateItemInventory_result:
23941
  """
23942
  Attributes:
23943
   - success
23944
  """
23945
 
23946
  thrift_spec = (
23947
    (0, TType.BOOL, 'success', None, None, ), # 0
23948
  )
23949
 
23950
  def __init__(self, success=None,):
23951
    self.success = success
23952
 
23953
  def read(self, iprot):
23954
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23955
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23956
      return
23957
    iprot.readStructBegin()
23958
    while True:
23959
      (fname, ftype, fid) = iprot.readFieldBegin()
23960
      if ftype == TType.STOP:
23961
        break
23962
      if fid == 0:
23963
        if ftype == TType.BOOL:
23964
          self.success = iprot.readBool();
23965
        else:
23966
          iprot.skip(ftype)
23967
      else:
23968
        iprot.skip(ftype)
23969
      iprot.readFieldEnd()
23970
    iprot.readStructEnd()
23971
 
23972
  def write(self, oprot):
23973
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23974
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23975
      return
23976
    oprot.writeStructBegin('updateItemInventory_result')
23977
    if self.success is not None:
23978
      oprot.writeFieldBegin('success', TType.BOOL, 0)
23979
      oprot.writeBool(self.success)
23980
      oprot.writeFieldEnd()
23981
    oprot.writeFieldStop()
23982
    oprot.writeStructEnd()
23983
 
23984
  def validate(self):
23985
    return
23986
 
23987
 
23988
  def __repr__(self):
23989
    L = ['%s=%r' % (key, value)
23990
      for key, value in self.__dict__.iteritems()]
23991
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23992
 
23993
  def __eq__(self, other):
23994
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23995
 
23996
  def __ne__(self, other):
23997
    return not (self == other)
7770 kshitij.so 23998
 
23999
class updateTimestampForAmazonFeeds_args:
24000
  """
24001
  Attributes:
24002
   - type
24003
   - sku
24004
   - timestamp
24005
  """
24006
 
24007
  thrift_spec = (
24008
    None, # 0
24009
    (1, TType.STRING, 'type', None, None, ), # 1
24010
    (2, TType.LIST, 'sku', (TType.I64,None), None, ), # 2
24011
    (3, TType.I64, 'timestamp', None, None, ), # 3
24012
  )
24013
 
24014
  def __init__(self, type=None, sku=None, timestamp=None,):
24015
    self.type = type
24016
    self.sku = sku
24017
    self.timestamp = timestamp
24018
 
24019
  def read(self, iprot):
24020
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24021
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24022
      return
24023
    iprot.readStructBegin()
24024
    while True:
24025
      (fname, ftype, fid) = iprot.readFieldBegin()
24026
      if ftype == TType.STOP:
24027
        break
24028
      if fid == 1:
24029
        if ftype == TType.STRING:
24030
          self.type = iprot.readString();
24031
        else:
24032
          iprot.skip(ftype)
24033
      elif fid == 2:
24034
        if ftype == TType.LIST:
24035
          self.sku = []
13493 amit.gupta 24036
          (_etype488, _size485) = iprot.readListBegin()
24037
          for _i489 in xrange(_size485):
24038
            _elem490 = iprot.readI64();
24039
            self.sku.append(_elem490)
7770 kshitij.so 24040
          iprot.readListEnd()
24041
        else:
24042
          iprot.skip(ftype)
24043
      elif fid == 3:
24044
        if ftype == TType.I64:
24045
          self.timestamp = iprot.readI64();
24046
        else:
24047
          iprot.skip(ftype)
24048
      else:
24049
        iprot.skip(ftype)
24050
      iprot.readFieldEnd()
24051
    iprot.readStructEnd()
24052
 
24053
  def write(self, oprot):
24054
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24055
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24056
      return
24057
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_args')
24058
    if self.type is not None:
24059
      oprot.writeFieldBegin('type', TType.STRING, 1)
24060
      oprot.writeString(self.type)
24061
      oprot.writeFieldEnd()
24062
    if self.sku is not None:
24063
      oprot.writeFieldBegin('sku', TType.LIST, 2)
24064
      oprot.writeListBegin(TType.I64, len(self.sku))
13493 amit.gupta 24065
      for iter491 in self.sku:
24066
        oprot.writeI64(iter491)
7770 kshitij.so 24067
      oprot.writeListEnd()
24068
      oprot.writeFieldEnd()
24069
    if self.timestamp is not None:
24070
      oprot.writeFieldBegin('timestamp', TType.I64, 3)
24071
      oprot.writeI64(self.timestamp)
24072
      oprot.writeFieldEnd()
24073
    oprot.writeFieldStop()
24074
    oprot.writeStructEnd()
24075
 
24076
  def validate(self):
24077
    return
24078
 
24079
 
24080
  def __repr__(self):
24081
    L = ['%s=%r' % (key, value)
24082
      for key, value in self.__dict__.iteritems()]
24083
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24084
 
24085
  def __eq__(self, other):
24086
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24087
 
24088
  def __ne__(self, other):
24089
    return not (self == other)
24090
 
24091
class updateTimestampForAmazonFeeds_result:
24092
  """
24093
  Attributes:
24094
   - success
24095
  """
24096
 
24097
  thrift_spec = (
24098
    (0, TType.BOOL, 'success', None, None, ), # 0
24099
  )
24100
 
24101
  def __init__(self, success=None,):
24102
    self.success = success
24103
 
24104
  def read(self, iprot):
24105
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24106
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24107
      return
24108
    iprot.readStructBegin()
24109
    while True:
24110
      (fname, ftype, fid) = iprot.readFieldBegin()
24111
      if ftype == TType.STOP:
24112
        break
24113
      if fid == 0:
24114
        if ftype == TType.BOOL:
24115
          self.success = iprot.readBool();
24116
        else:
24117
          iprot.skip(ftype)
24118
      else:
24119
        iprot.skip(ftype)
24120
      iprot.readFieldEnd()
24121
    iprot.readStructEnd()
24122
 
24123
  def write(self, oprot):
24124
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24125
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24126
      return
24127
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_result')
24128
    if self.success is not None:
24129
      oprot.writeFieldBegin('success', TType.BOOL, 0)
24130
      oprot.writeBool(self.success)
24131
      oprot.writeFieldEnd()
24132
    oprot.writeFieldStop()
24133
    oprot.writeStructEnd()
24134
 
24135
  def validate(self):
24136
    return
24137
 
24138
 
24139
  def __repr__(self):
24140
    L = ['%s=%r' % (key, value)
24141
      for key, value in self.__dict__.iteritems()]
24142
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24143
 
24144
  def __eq__(self, other):
24145
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24146
 
24147
  def __ne__(self, other):
24148
    return not (self == other)
7897 amar.kumar 24149
 
24150
class getAllParentCategories_args:
24151
 
24152
  thrift_spec = (
24153
  )
24154
 
24155
  def read(self, iprot):
24156
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24157
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24158
      return
24159
    iprot.readStructBegin()
24160
    while True:
24161
      (fname, ftype, fid) = iprot.readFieldBegin()
24162
      if ftype == TType.STOP:
24163
        break
24164
      else:
24165
        iprot.skip(ftype)
24166
      iprot.readFieldEnd()
24167
    iprot.readStructEnd()
24168
 
24169
  def write(self, oprot):
24170
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24171
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24172
      return
24173
    oprot.writeStructBegin('getAllParentCategories_args')
24174
    oprot.writeFieldStop()
24175
    oprot.writeStructEnd()
24176
 
24177
  def validate(self):
24178
    return
24179
 
24180
 
24181
  def __repr__(self):
24182
    L = ['%s=%r' % (key, value)
24183
      for key, value in self.__dict__.iteritems()]
24184
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24185
 
24186
  def __eq__(self, other):
24187
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24188
 
24189
  def __ne__(self, other):
24190
    return not (self == other)
24191
 
24192
class getAllParentCategories_result:
24193
  """
24194
  Attributes:
24195
   - success
24196
  """
24197
 
24198
  thrift_spec = (
24199
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
24200
  )
24201
 
24202
  def __init__(self, success=None,):
24203
    self.success = success
24204
 
24205
  def read(self, iprot):
24206
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24207
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24208
      return
24209
    iprot.readStructBegin()
24210
    while True:
24211
      (fname, ftype, fid) = iprot.readFieldBegin()
24212
      if ftype == TType.STOP:
24213
        break
24214
      if fid == 0:
24215
        if ftype == TType.LIST:
24216
          self.success = []
13493 amit.gupta 24217
          (_etype495, _size492) = iprot.readListBegin()
24218
          for _i496 in xrange(_size492):
24219
            _elem497 = Category()
24220
            _elem497.read(iprot)
24221
            self.success.append(_elem497)
7897 amar.kumar 24222
          iprot.readListEnd()
24223
        else:
24224
          iprot.skip(ftype)
24225
      else:
24226
        iprot.skip(ftype)
24227
      iprot.readFieldEnd()
24228
    iprot.readStructEnd()
24229
 
24230
  def write(self, oprot):
24231
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24232
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24233
      return
24234
    oprot.writeStructBegin('getAllParentCategories_result')
24235
    if self.success is not None:
24236
      oprot.writeFieldBegin('success', TType.LIST, 0)
24237
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 24238
      for iter498 in self.success:
24239
        iter498.write(oprot)
7897 amar.kumar 24240
      oprot.writeListEnd()
24241
      oprot.writeFieldEnd()
24242
    oprot.writeFieldStop()
24243
    oprot.writeStructEnd()
24244
 
24245
  def validate(self):
24246
    return
24247
 
24248
 
24249
  def __repr__(self):
24250
    L = ['%s=%r' % (key, value)
24251
      for key, value in self.__dict__.iteritems()]
24252
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24253
 
24254
  def __eq__(self, other):
24255
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24256
 
24257
  def __ne__(self, other):
24258
    return not (self == other)
7977 kshitij.so 24259
 
24260
class addPageViewEvent_args:
24261
  """
24262
  Attributes:
24263
   - pageViewEvents
24264
  """
24265
 
24266
  thrift_spec = (
24267
    None, # 0
24268
    (1, TType.STRUCT, 'pageViewEvents', (PageViewEvents, PageViewEvents.thrift_spec), None, ), # 1
24269
  )
24270
 
24271
  def __init__(self, pageViewEvents=None,):
24272
    self.pageViewEvents = pageViewEvents
24273
 
24274
  def read(self, iprot):
24275
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24276
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24277
      return
24278
    iprot.readStructBegin()
24279
    while True:
24280
      (fname, ftype, fid) = iprot.readFieldBegin()
24281
      if ftype == TType.STOP:
24282
        break
24283
      if fid == 1:
24284
        if ftype == TType.STRUCT:
24285
          self.pageViewEvents = PageViewEvents()
24286
          self.pageViewEvents.read(iprot)
24287
        else:
24288
          iprot.skip(ftype)
24289
      else:
24290
        iprot.skip(ftype)
24291
      iprot.readFieldEnd()
24292
    iprot.readStructEnd()
24293
 
24294
  def write(self, oprot):
24295
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24296
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24297
      return
24298
    oprot.writeStructBegin('addPageViewEvent_args')
24299
    if self.pageViewEvents is not None:
24300
      oprot.writeFieldBegin('pageViewEvents', TType.STRUCT, 1)
24301
      self.pageViewEvents.write(oprot)
24302
      oprot.writeFieldEnd()
24303
    oprot.writeFieldStop()
24304
    oprot.writeStructEnd()
24305
 
24306
  def validate(self):
24307
    return
24308
 
24309
 
24310
  def __repr__(self):
24311
    L = ['%s=%r' % (key, value)
24312
      for key, value in self.__dict__.iteritems()]
24313
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24314
 
24315
  def __eq__(self, other):
24316
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24317
 
24318
  def __ne__(self, other):
24319
    return not (self == other)
24320
 
24321
class addPageViewEvent_result:
24322
 
24323
  thrift_spec = (
24324
  )
24325
 
24326
  def read(self, iprot):
24327
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24328
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24329
      return
24330
    iprot.readStructBegin()
24331
    while True:
24332
      (fname, ftype, fid) = iprot.readFieldBegin()
24333
      if ftype == TType.STOP:
24334
        break
24335
      else:
24336
        iprot.skip(ftype)
24337
      iprot.readFieldEnd()
24338
    iprot.readStructEnd()
24339
 
24340
  def write(self, oprot):
24341
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24342
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24343
      return
24344
    oprot.writeStructBegin('addPageViewEvent_result')
24345
    oprot.writeFieldStop()
24346
    oprot.writeStructEnd()
24347
 
24348
  def validate(self):
24349
    return
24350
 
24351
 
24352
  def __repr__(self):
24353
    L = ['%s=%r' % (key, value)
24354
      for key, value in self.__dict__.iteritems()]
24355
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24356
 
24357
  def __eq__(self, other):
24358
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24359
 
24360
  def __ne__(self, other):
24361
    return not (self == other)
24362
 
24363
class addCartEvent_args:
24364
  """
24365
  Attributes:
24366
   - cartEvents
24367
  """
24368
 
24369
  thrift_spec = (
24370
    None, # 0
24371
    (1, TType.STRUCT, 'cartEvents', (CartEvents, CartEvents.thrift_spec), None, ), # 1
24372
  )
24373
 
24374
  def __init__(self, cartEvents=None,):
24375
    self.cartEvents = cartEvents
24376
 
24377
  def read(self, iprot):
24378
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24379
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24380
      return
24381
    iprot.readStructBegin()
24382
    while True:
24383
      (fname, ftype, fid) = iprot.readFieldBegin()
24384
      if ftype == TType.STOP:
24385
        break
24386
      if fid == 1:
24387
        if ftype == TType.STRUCT:
24388
          self.cartEvents = CartEvents()
24389
          self.cartEvents.read(iprot)
24390
        else:
24391
          iprot.skip(ftype)
24392
      else:
24393
        iprot.skip(ftype)
24394
      iprot.readFieldEnd()
24395
    iprot.readStructEnd()
24396
 
24397
  def write(self, oprot):
24398
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24399
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24400
      return
24401
    oprot.writeStructBegin('addCartEvent_args')
24402
    if self.cartEvents is not None:
24403
      oprot.writeFieldBegin('cartEvents', TType.STRUCT, 1)
24404
      self.cartEvents.write(oprot)
24405
      oprot.writeFieldEnd()
24406
    oprot.writeFieldStop()
24407
    oprot.writeStructEnd()
24408
 
24409
  def validate(self):
24410
    return
24411
 
24412
 
24413
  def __repr__(self):
24414
    L = ['%s=%r' % (key, value)
24415
      for key, value in self.__dict__.iteritems()]
24416
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24417
 
24418
  def __eq__(self, other):
24419
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24420
 
24421
  def __ne__(self, other):
24422
    return not (self == other)
24423
 
24424
class addCartEvent_result:
24425
 
24426
  thrift_spec = (
24427
  )
24428
 
24429
  def read(self, iprot):
24430
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24431
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24432
      return
24433
    iprot.readStructBegin()
24434
    while True:
24435
      (fname, ftype, fid) = iprot.readFieldBegin()
24436
      if ftype == TType.STOP:
24437
        break
24438
      else:
24439
        iprot.skip(ftype)
24440
      iprot.readFieldEnd()
24441
    iprot.readStructEnd()
24442
 
24443
  def write(self, oprot):
24444
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24445
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24446
      return
24447
    oprot.writeStructBegin('addCartEvent_result')
24448
    oprot.writeFieldStop()
24449
    oprot.writeStructEnd()
24450
 
24451
  def validate(self):
24452
    return
24453
 
24454
 
24455
  def __repr__(self):
24456
    L = ['%s=%r' % (key, value)
24457
      for key, value in self.__dict__.iteritems()]
24458
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24459
 
24460
  def __eq__(self, other):
24461
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24462
 
24463
  def __ne__(self, other):
24464
    return not (self == other)
8139 kshitij.so 24465
 
8182 amar.kumar 24466
class addEbayItem_args:
24467
  """
24468
  Attributes:
24469
   - ebayItem
24470
  """
24471
 
24472
  thrift_spec = (
24473
    None, # 0
24474
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
24475
  )
24476
 
24477
  def __init__(self, ebayItem=None,):
24478
    self.ebayItem = ebayItem
24479
 
24480
  def read(self, iprot):
24481
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24482
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24483
      return
24484
    iprot.readStructBegin()
24485
    while True:
24486
      (fname, ftype, fid) = iprot.readFieldBegin()
24487
      if ftype == TType.STOP:
24488
        break
24489
      if fid == 1:
24490
        if ftype == TType.STRUCT:
24491
          self.ebayItem = EbayItem()
24492
          self.ebayItem.read(iprot)
24493
        else:
24494
          iprot.skip(ftype)
24495
      else:
24496
        iprot.skip(ftype)
24497
      iprot.readFieldEnd()
24498
    iprot.readStructEnd()
24499
 
24500
  def write(self, oprot):
24501
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24502
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24503
      return
24504
    oprot.writeStructBegin('addEbayItem_args')
24505
    if self.ebayItem is not None:
24506
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
24507
      self.ebayItem.write(oprot)
24508
      oprot.writeFieldEnd()
24509
    oprot.writeFieldStop()
24510
    oprot.writeStructEnd()
24511
 
24512
  def validate(self):
24513
    return
24514
 
24515
 
24516
  def __repr__(self):
24517
    L = ['%s=%r' % (key, value)
24518
      for key, value in self.__dict__.iteritems()]
24519
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24520
 
24521
  def __eq__(self, other):
24522
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24523
 
24524
  def __ne__(self, other):
24525
    return not (self == other)
24526
 
24527
class addEbayItem_result:
24528
 
24529
  thrift_spec = (
24530
  )
24531
 
24532
  def read(self, iprot):
24533
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24534
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24535
      return
24536
    iprot.readStructBegin()
24537
    while True:
24538
      (fname, ftype, fid) = iprot.readFieldBegin()
24539
      if ftype == TType.STOP:
24540
        break
24541
      else:
24542
        iprot.skip(ftype)
24543
      iprot.readFieldEnd()
24544
    iprot.readStructEnd()
24545
 
24546
  def write(self, oprot):
24547
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24548
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24549
      return
24550
    oprot.writeStructBegin('addEbayItem_result')
24551
    oprot.writeFieldStop()
24552
    oprot.writeStructEnd()
24553
 
24554
  def validate(self):
24555
    return
24556
 
24557
 
24558
  def __repr__(self):
24559
    L = ['%s=%r' % (key, value)
24560
      for key, value in self.__dict__.iteritems()]
24561
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24562
 
24563
  def __eq__(self, other):
24564
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24565
 
24566
  def __ne__(self, other):
24567
    return not (self == other)
24568
 
24569
class getEbayItem_args:
24570
  """
24571
  Attributes:
24572
   - listingId
24573
  """
24574
 
24575
  thrift_spec = (
24576
    None, # 0
24577
    (1, TType.STRING, 'listingId', None, None, ), # 1
24578
  )
24579
 
24580
  def __init__(self, listingId=None,):
24581
    self.listingId = listingId
24582
 
24583
  def read(self, iprot):
24584
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24585
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24586
      return
24587
    iprot.readStructBegin()
24588
    while True:
24589
      (fname, ftype, fid) = iprot.readFieldBegin()
24590
      if ftype == TType.STOP:
24591
        break
24592
      if fid == 1:
24593
        if ftype == TType.STRING:
24594
          self.listingId = iprot.readString();
24595
        else:
24596
          iprot.skip(ftype)
24597
      else:
24598
        iprot.skip(ftype)
24599
      iprot.readFieldEnd()
24600
    iprot.readStructEnd()
24601
 
24602
  def write(self, oprot):
24603
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24604
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24605
      return
24606
    oprot.writeStructBegin('getEbayItem_args')
24607
    if self.listingId is not None:
24608
      oprot.writeFieldBegin('listingId', TType.STRING, 1)
24609
      oprot.writeString(self.listingId)
24610
      oprot.writeFieldEnd()
24611
    oprot.writeFieldStop()
24612
    oprot.writeStructEnd()
24613
 
24614
  def validate(self):
24615
    return
24616
 
24617
 
24618
  def __repr__(self):
24619
    L = ['%s=%r' % (key, value)
24620
      for key, value in self.__dict__.iteritems()]
24621
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24622
 
24623
  def __eq__(self, other):
24624
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24625
 
24626
  def __ne__(self, other):
24627
    return not (self == other)
24628
 
24629
class getEbayItem_result:
24630
  """
24631
  Attributes:
24632
   - success
24633
  """
24634
 
24635
  thrift_spec = (
24636
    (0, TType.STRUCT, 'success', (EbayItem, EbayItem.thrift_spec), None, ), # 0
24637
  )
24638
 
24639
  def __init__(self, success=None,):
24640
    self.success = success
24641
 
24642
  def read(self, iprot):
24643
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24644
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24645
      return
24646
    iprot.readStructBegin()
24647
    while True:
24648
      (fname, ftype, fid) = iprot.readFieldBegin()
24649
      if ftype == TType.STOP:
24650
        break
24651
      if fid == 0:
24652
        if ftype == TType.STRUCT:
24653
          self.success = EbayItem()
24654
          self.success.read(iprot)
24655
        else:
24656
          iprot.skip(ftype)
24657
      else:
24658
        iprot.skip(ftype)
24659
      iprot.readFieldEnd()
24660
    iprot.readStructEnd()
24661
 
24662
  def write(self, oprot):
24663
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24664
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24665
      return
24666
    oprot.writeStructBegin('getEbayItem_result')
24667
    if self.success is not None:
24668
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
24669
      self.success.write(oprot)
24670
      oprot.writeFieldEnd()
24671
    oprot.writeFieldStop()
24672
    oprot.writeStructEnd()
24673
 
24674
  def validate(self):
24675
    return
24676
 
24677
 
24678
  def __repr__(self):
24679
    L = ['%s=%r' % (key, value)
24680
      for key, value in self.__dict__.iteritems()]
24681
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24682
 
24683
  def __eq__(self, other):
24684
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24685
 
24686
  def __ne__(self, other):
24687
    return not (self == other)
24688
 
24689
class updateEbayItem_args:
24690
  """
24691
  Attributes:
24692
   - ebayItem
24693
  """
24694
 
24695
  thrift_spec = (
24696
    None, # 0
24697
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
24698
  )
24699
 
24700
  def __init__(self, ebayItem=None,):
24701
    self.ebayItem = ebayItem
24702
 
24703
  def read(self, iprot):
24704
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24705
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24706
      return
24707
    iprot.readStructBegin()
24708
    while True:
24709
      (fname, ftype, fid) = iprot.readFieldBegin()
24710
      if ftype == TType.STOP:
24711
        break
24712
      if fid == 1:
24713
        if ftype == TType.STRUCT:
24714
          self.ebayItem = EbayItem()
24715
          self.ebayItem.read(iprot)
24716
        else:
24717
          iprot.skip(ftype)
24718
      else:
24719
        iprot.skip(ftype)
24720
      iprot.readFieldEnd()
24721
    iprot.readStructEnd()
24722
 
24723
  def write(self, oprot):
24724
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24725
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24726
      return
24727
    oprot.writeStructBegin('updateEbayItem_args')
24728
    if self.ebayItem is not None:
24729
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
24730
      self.ebayItem.write(oprot)
24731
      oprot.writeFieldEnd()
24732
    oprot.writeFieldStop()
24733
    oprot.writeStructEnd()
24734
 
24735
  def validate(self):
24736
    return
24737
 
24738
 
24739
  def __repr__(self):
24740
    L = ['%s=%r' % (key, value)
24741
      for key, value in self.__dict__.iteritems()]
24742
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24743
 
24744
  def __eq__(self, other):
24745
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24746
 
24747
  def __ne__(self, other):
24748
    return not (self == other)
24749
 
24750
class updateEbayItem_result:
24751
 
24752
  thrift_spec = (
24753
  )
24754
 
24755
  def read(self, iprot):
24756
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24757
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24758
      return
24759
    iprot.readStructBegin()
24760
    while True:
24761
      (fname, ftype, fid) = iprot.readFieldBegin()
24762
      if ftype == TType.STOP:
24763
        break
24764
      else:
24765
        iprot.skip(ftype)
24766
      iprot.readFieldEnd()
24767
    iprot.readStructEnd()
24768
 
24769
  def write(self, oprot):
24770
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24771
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24772
      return
24773
    oprot.writeStructBegin('updateEbayItem_result')
24774
    oprot.writeFieldStop()
24775
    oprot.writeStructEnd()
24776
 
24777
  def validate(self):
24778
    return
24779
 
24780
 
24781
  def __repr__(self):
24782
    L = ['%s=%r' % (key, value)
24783
      for key, value in self.__dict__.iteritems()]
24784
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24785
 
24786
  def __eq__(self, other):
24787
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24788
 
24789
  def __ne__(self, other):
24790
    return not (self == other)
24791
 
8139 kshitij.so 24792
class getAmazonListedItems_args:
24793
  """
24794
  Attributes:
24795
   - offset
24796
   - limit
24797
  """
24798
 
24799
  thrift_spec = (
24800
    None, # 0
24801
    (1, TType.I64, 'offset', None, None, ), # 1
24802
    (2, TType.I64, 'limit', None, None, ), # 2
24803
  )
24804
 
24805
  def __init__(self, offset=None, limit=None,):
24806
    self.offset = offset
24807
    self.limit = limit
24808
 
24809
  def read(self, iprot):
24810
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24811
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24812
      return
24813
    iprot.readStructBegin()
24814
    while True:
24815
      (fname, ftype, fid) = iprot.readFieldBegin()
24816
      if ftype == TType.STOP:
24817
        break
24818
      if fid == 1:
24819
        if ftype == TType.I64:
24820
          self.offset = iprot.readI64();
24821
        else:
24822
          iprot.skip(ftype)
24823
      elif fid == 2:
24824
        if ftype == TType.I64:
24825
          self.limit = iprot.readI64();
24826
        else:
24827
          iprot.skip(ftype)
24828
      else:
24829
        iprot.skip(ftype)
24830
      iprot.readFieldEnd()
24831
    iprot.readStructEnd()
24832
 
24833
  def write(self, oprot):
24834
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24835
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24836
      return
24837
    oprot.writeStructBegin('getAmazonListedItems_args')
24838
    if self.offset is not None:
24839
      oprot.writeFieldBegin('offset', TType.I64, 1)
24840
      oprot.writeI64(self.offset)
24841
      oprot.writeFieldEnd()
24842
    if self.limit is not None:
24843
      oprot.writeFieldBegin('limit', TType.I64, 2)
24844
      oprot.writeI64(self.limit)
24845
      oprot.writeFieldEnd()
24846
    oprot.writeFieldStop()
24847
    oprot.writeStructEnd()
24848
 
24849
  def validate(self):
24850
    return
24851
 
24852
 
24853
  def __repr__(self):
24854
    L = ['%s=%r' % (key, value)
24855
      for key, value in self.__dict__.iteritems()]
24856
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24857
 
24858
  def __eq__(self, other):
24859
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24860
 
24861
  def __ne__(self, other):
24862
    return not (self == other)
24863
 
24864
class getAmazonListedItems_result:
24865
  """
24866
  Attributes:
24867
   - success
24868
  """
24869
 
24870
  thrift_spec = (
24871
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
24872
  )
24873
 
24874
  def __init__(self, success=None,):
24875
    self.success = success
24876
 
24877
  def read(self, iprot):
24878
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24879
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24880
      return
24881
    iprot.readStructBegin()
24882
    while True:
24883
      (fname, ftype, fid) = iprot.readFieldBegin()
24884
      if ftype == TType.STOP:
24885
        break
24886
      if fid == 0:
24887
        if ftype == TType.LIST:
24888
          self.success = []
13493 amit.gupta 24889
          (_etype502, _size499) = iprot.readListBegin()
24890
          for _i503 in xrange(_size499):
24891
            _elem504 = Amazonlisted()
24892
            _elem504.read(iprot)
24893
            self.success.append(_elem504)
8139 kshitij.so 24894
          iprot.readListEnd()
24895
        else:
24896
          iprot.skip(ftype)
24897
      else:
24898
        iprot.skip(ftype)
24899
      iprot.readFieldEnd()
24900
    iprot.readStructEnd()
24901
 
24902
  def write(self, oprot):
24903
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24904
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24905
      return
24906
    oprot.writeStructBegin('getAmazonListedItems_result')
24907
    if self.success is not None:
24908
      oprot.writeFieldBegin('success', TType.LIST, 0)
24909
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 24910
      for iter505 in self.success:
24911
        iter505.write(oprot)
8139 kshitij.so 24912
      oprot.writeListEnd()
24913
      oprot.writeFieldEnd()
24914
    oprot.writeFieldStop()
24915
    oprot.writeStructEnd()
24916
 
24917
  def validate(self):
24918
    return
24919
 
24920
 
24921
  def __repr__(self):
24922
    L = ['%s=%r' % (key, value)
24923
      for key, value in self.__dict__.iteritems()]
24924
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24925
 
24926
  def __eq__(self, other):
24927
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24928
 
24929
  def __ne__(self, other):
24930
    return not (self == other)
8168 kshitij.so 24931
 
24932
class updateAmazonAttributesInBulk_args:
24933
  """
24934
  Attributes:
24935
   - amazonlisted
24936
  """
24937
 
24938
  thrift_spec = (
24939
    None, # 0
24940
    (1, TType.MAP, 'amazonlisted', (TType.I64,None,TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 1
24941
  )
24942
 
24943
  def __init__(self, amazonlisted=None,):
24944
    self.amazonlisted = amazonlisted
24945
 
24946
  def read(self, iprot):
24947
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24948
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24949
      return
24950
    iprot.readStructBegin()
24951
    while True:
24952
      (fname, ftype, fid) = iprot.readFieldBegin()
24953
      if ftype == TType.STOP:
24954
        break
24955
      if fid == 1:
24956
        if ftype == TType.MAP:
24957
          self.amazonlisted = {}
13493 amit.gupta 24958
          (_ktype507, _vtype508, _size506 ) = iprot.readMapBegin() 
24959
          for _i510 in xrange(_size506):
24960
            _key511 = iprot.readI64();
24961
            _val512 = Amazonlisted()
24962
            _val512.read(iprot)
24963
            self.amazonlisted[_key511] = _val512
8168 kshitij.so 24964
          iprot.readMapEnd()
24965
        else:
24966
          iprot.skip(ftype)
24967
      else:
24968
        iprot.skip(ftype)
24969
      iprot.readFieldEnd()
24970
    iprot.readStructEnd()
24971
 
24972
  def write(self, oprot):
24973
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24974
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24975
      return
24976
    oprot.writeStructBegin('updateAmazonAttributesInBulk_args')
24977
    if self.amazonlisted is not None:
24978
      oprot.writeFieldBegin('amazonlisted', TType.MAP, 1)
24979
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.amazonlisted))
13493 amit.gupta 24980
      for kiter513,viter514 in self.amazonlisted.items():
24981
        oprot.writeI64(kiter513)
24982
        viter514.write(oprot)
8168 kshitij.so 24983
      oprot.writeMapEnd()
24984
      oprot.writeFieldEnd()
24985
    oprot.writeFieldStop()
24986
    oprot.writeStructEnd()
24987
 
24988
  def validate(self):
24989
    return
24990
 
24991
 
24992
  def __repr__(self):
24993
    L = ['%s=%r' % (key, value)
24994
      for key, value in self.__dict__.iteritems()]
24995
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24996
 
24997
  def __eq__(self, other):
24998
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24999
 
25000
  def __ne__(self, other):
25001
    return not (self == other)
25002
 
25003
class updateAmazonAttributesInBulk_result:
25004
  """
25005
  Attributes:
25006
   - success
25007
  """
25008
 
25009
  thrift_spec = (
25010
    (0, TType.BOOL, 'success', None, None, ), # 0
25011
  )
25012
 
25013
  def __init__(self, success=None,):
25014
    self.success = success
25015
 
25016
  def read(self, iprot):
25017
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25018
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25019
      return
25020
    iprot.readStructBegin()
25021
    while True:
25022
      (fname, ftype, fid) = iprot.readFieldBegin()
25023
      if ftype == TType.STOP:
25024
        break
25025
      if fid == 0:
25026
        if ftype == TType.BOOL:
25027
          self.success = iprot.readBool();
25028
        else:
25029
          iprot.skip(ftype)
25030
      else:
25031
        iprot.skip(ftype)
25032
      iprot.readFieldEnd()
25033
    iprot.readStructEnd()
25034
 
25035
  def write(self, oprot):
25036
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25037
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25038
      return
25039
    oprot.writeStructBegin('updateAmazonAttributesInBulk_result')
25040
    if self.success is not None:
25041
      oprot.writeFieldBegin('success', TType.BOOL, 0)
25042
      oprot.writeBool(self.success)
25043
      oprot.writeFieldEnd()
25044
    oprot.writeFieldStop()
25045
    oprot.writeStructEnd()
25046
 
25047
  def validate(self):
25048
    return
25049
 
25050
 
25051
  def __repr__(self):
25052
    L = ['%s=%r' % (key, value)
25053
      for key, value in self.__dict__.iteritems()]
25054
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25055
 
25056
  def __eq__(self, other):
25057
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25058
 
25059
  def __ne__(self, other):
25060
    return not (self == other)
8379 vikram.rag 25061
 
25062
class getAllItemstoListOnFba_args:
25063
 
25064
  thrift_spec = (
25065
  )
25066
 
25067
  def read(self, iprot):
25068
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25069
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25070
      return
25071
    iprot.readStructBegin()
25072
    while True:
25073
      (fname, ftype, fid) = iprot.readFieldBegin()
25074
      if ftype == TType.STOP:
25075
        break
25076
      else:
25077
        iprot.skip(ftype)
25078
      iprot.readFieldEnd()
25079
    iprot.readStructEnd()
25080
 
25081
  def write(self, oprot):
25082
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25083
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25084
      return
25085
    oprot.writeStructBegin('getAllItemstoListOnFba_args')
25086
    oprot.writeFieldStop()
25087
    oprot.writeStructEnd()
25088
 
25089
  def validate(self):
25090
    return
25091
 
25092
 
25093
  def __repr__(self):
25094
    L = ['%s=%r' % (key, value)
25095
      for key, value in self.__dict__.iteritems()]
25096
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25097
 
25098
  def __eq__(self, other):
25099
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25100
 
25101
  def __ne__(self, other):
25102
    return not (self == other)
25103
 
25104
class getAllItemstoListOnFba_result:
25105
  """
25106
  Attributes:
25107
   - success
25108
  """
25109
 
25110
  thrift_spec = (
25111
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25112
  )
25113
 
25114
  def __init__(self, success=None,):
25115
    self.success = success
25116
 
25117
  def read(self, iprot):
25118
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25119
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25120
      return
25121
    iprot.readStructBegin()
25122
    while True:
25123
      (fname, ftype, fid) = iprot.readFieldBegin()
25124
      if ftype == TType.STOP:
25125
        break
25126
      if fid == 0:
25127
        if ftype == TType.LIST:
25128
          self.success = []
13493 amit.gupta 25129
          (_etype518, _size515) = iprot.readListBegin()
25130
          for _i519 in xrange(_size515):
25131
            _elem520 = Amazonlisted()
25132
            _elem520.read(iprot)
25133
            self.success.append(_elem520)
8379 vikram.rag 25134
          iprot.readListEnd()
25135
        else:
25136
          iprot.skip(ftype)
25137
      else:
25138
        iprot.skip(ftype)
25139
      iprot.readFieldEnd()
25140
    iprot.readStructEnd()
25141
 
25142
  def write(self, oprot):
25143
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25144
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25145
      return
25146
    oprot.writeStructBegin('getAllItemstoListOnFba_result')
25147
    if self.success is not None:
25148
      oprot.writeFieldBegin('success', TType.LIST, 0)
25149
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25150
      for iter521 in self.success:
25151
        iter521.write(oprot)
8379 vikram.rag 25152
      oprot.writeListEnd()
25153
      oprot.writeFieldEnd()
25154
    oprot.writeFieldStop()
25155
    oprot.writeStructEnd()
25156
 
25157
  def validate(self):
25158
    return
25159
 
25160
 
25161
  def __repr__(self):
25162
    L = ['%s=%r' % (key, value)
25163
      for key, value in self.__dict__.iteritems()]
25164
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25165
 
25166
  def __eq__(self, other):
25167
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25168
 
25169
  def __ne__(self, other):
25170
    return not (self == other)
25171
 
25172
class getAllItemstoListOnNonFba_args:
25173
 
25174
  thrift_spec = (
25175
  )
25176
 
25177
  def read(self, iprot):
25178
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25179
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25180
      return
25181
    iprot.readStructBegin()
25182
    while True:
25183
      (fname, ftype, fid) = iprot.readFieldBegin()
25184
      if ftype == TType.STOP:
25185
        break
25186
      else:
25187
        iprot.skip(ftype)
25188
      iprot.readFieldEnd()
25189
    iprot.readStructEnd()
25190
 
25191
  def write(self, oprot):
25192
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25193
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25194
      return
25195
    oprot.writeStructBegin('getAllItemstoListOnNonFba_args')
25196
    oprot.writeFieldStop()
25197
    oprot.writeStructEnd()
25198
 
25199
  def validate(self):
25200
    return
25201
 
25202
 
25203
  def __repr__(self):
25204
    L = ['%s=%r' % (key, value)
25205
      for key, value in self.__dict__.iteritems()]
25206
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25207
 
25208
  def __eq__(self, other):
25209
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25210
 
25211
  def __ne__(self, other):
25212
    return not (self == other)
25213
 
25214
class getAllItemstoListOnNonFba_result:
25215
  """
25216
  Attributes:
25217
   - success
25218
  """
25219
 
25220
  thrift_spec = (
25221
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25222
  )
25223
 
25224
  def __init__(self, success=None,):
25225
    self.success = success
25226
 
25227
  def read(self, iprot):
25228
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25229
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25230
      return
25231
    iprot.readStructBegin()
25232
    while True:
25233
      (fname, ftype, fid) = iprot.readFieldBegin()
25234
      if ftype == TType.STOP:
25235
        break
25236
      if fid == 0:
25237
        if ftype == TType.LIST:
25238
          self.success = []
13493 amit.gupta 25239
          (_etype525, _size522) = iprot.readListBegin()
25240
          for _i526 in xrange(_size522):
25241
            _elem527 = Amazonlisted()
25242
            _elem527.read(iprot)
25243
            self.success.append(_elem527)
8379 vikram.rag 25244
          iprot.readListEnd()
25245
        else:
25246
          iprot.skip(ftype)
25247
      else:
25248
        iprot.skip(ftype)
25249
      iprot.readFieldEnd()
25250
    iprot.readStructEnd()
25251
 
25252
  def write(self, oprot):
25253
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25254
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25255
      return
25256
    oprot.writeStructBegin('getAllItemstoListOnNonFba_result')
25257
    if self.success is not None:
25258
      oprot.writeFieldBegin('success', TType.LIST, 0)
25259
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25260
      for iter528 in self.success:
25261
        iter528.write(oprot)
8379 vikram.rag 25262
      oprot.writeListEnd()
25263
      oprot.writeFieldEnd()
25264
    oprot.writeFieldStop()
25265
    oprot.writeStructEnd()
25266
 
25267
  def validate(self):
25268
    return
25269
 
25270
 
25271
  def __repr__(self):
25272
    L = ['%s=%r' % (key, value)
25273
      for key, value in self.__dict__.iteritems()]
25274
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25275
 
25276
  def __eq__(self, other):
25277
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25278
 
25279
  def __ne__(self, other):
25280
    return not (self == other)
8616 vikram.rag 25281
 
9242 kshitij.so 25282
class updateAsin_args:
25283
  """
25284
  Attributes:
25285
   - item
25286
  """
8616 vikram.rag 25287
 
25288
  thrift_spec = (
9242 kshitij.so 25289
    None, # 0
25290
    (1, TType.MAP, 'item', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 1
8616 vikram.rag 25291
  )
25292
 
9242 kshitij.so 25293
  def __init__(self, item=None,):
25294
    self.item = item
25295
 
8616 vikram.rag 25296
  def read(self, iprot):
25297
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25298
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25299
      return
25300
    iprot.readStructBegin()
25301
    while True:
25302
      (fname, ftype, fid) = iprot.readFieldBegin()
25303
      if ftype == TType.STOP:
25304
        break
9242 kshitij.so 25305
      if fid == 1:
25306
        if ftype == TType.MAP:
25307
          self.item = {}
13493 amit.gupta 25308
          (_ktype530, _vtype531, _size529 ) = iprot.readMapBegin() 
25309
          for _i533 in xrange(_size529):
25310
            _key534 = iprot.readI64();
25311
            _val535 = Item()
25312
            _val535.read(iprot)
25313
            self.item[_key534] = _val535
9242 kshitij.so 25314
          iprot.readMapEnd()
25315
        else:
25316
          iprot.skip(ftype)
8616 vikram.rag 25317
      else:
25318
        iprot.skip(ftype)
25319
      iprot.readFieldEnd()
25320
    iprot.readStructEnd()
25321
 
25322
  def write(self, oprot):
25323
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25324
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25325
      return
9242 kshitij.so 25326
    oprot.writeStructBegin('updateAsin_args')
25327
    if self.item is not None:
25328
      oprot.writeFieldBegin('item', TType.MAP, 1)
25329
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.item))
13493 amit.gupta 25330
      for kiter536,viter537 in self.item.items():
25331
        oprot.writeI64(kiter536)
25332
        viter537.write(oprot)
9242 kshitij.so 25333
      oprot.writeMapEnd()
25334
      oprot.writeFieldEnd()
8616 vikram.rag 25335
    oprot.writeFieldStop()
25336
    oprot.writeStructEnd()
25337
 
25338
  def validate(self):
25339
    return
25340
 
25341
 
25342
  def __repr__(self):
25343
    L = ['%s=%r' % (key, value)
25344
      for key, value in self.__dict__.iteritems()]
25345
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25346
 
25347
  def __eq__(self, other):
25348
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25349
 
25350
  def __ne__(self, other):
25351
    return not (self == other)
25352
 
9242 kshitij.so 25353
class updateAsin_result:
8616 vikram.rag 25354
 
25355
  thrift_spec = (
25356
  )
25357
 
25358
  def read(self, iprot):
25359
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25360
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25361
      return
25362
    iprot.readStructBegin()
25363
    while True:
25364
      (fname, ftype, fid) = iprot.readFieldBegin()
25365
      if ftype == TType.STOP:
25366
        break
25367
      else:
25368
        iprot.skip(ftype)
25369
      iprot.readFieldEnd()
25370
    iprot.readStructEnd()
25371
 
25372
  def write(self, oprot):
25373
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25374
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25375
      return
9242 kshitij.so 25376
    oprot.writeStructBegin('updateAsin_result')
8616 vikram.rag 25377
    oprot.writeFieldStop()
25378
    oprot.writeStructEnd()
25379
 
25380
  def validate(self):
25381
    return
25382
 
25383
 
25384
  def __repr__(self):
25385
    L = ['%s=%r' % (key, value)
25386
      for key, value in self.__dict__.iteritems()]
25387
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25388
 
25389
  def __eq__(self, other):
25390
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25391
 
25392
  def __ne__(self, other):
25393
    return not (self == other)
8619 kshitij.so 25394
 
9242 kshitij.so 25395
class addOrUpdateSnapdealItem_args:
8619 kshitij.so 25396
  """
25397
  Attributes:
9242 kshitij.so 25398
   - snapdealitem
8619 kshitij.so 25399
  """
25400
 
9242 kshitij.so 25401
  thrift_spec = None
25402
  def __init__(self, snapdealitem=None,):
25403
    self.snapdealitem = snapdealitem
8619 kshitij.so 25404
 
25405
  def read(self, iprot):
25406
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25407
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25408
      return
25409
    iprot.readStructBegin()
25410
    while True:
25411
      (fname, ftype, fid) = iprot.readFieldBegin()
25412
      if ftype == TType.STOP:
25413
        break
9242 kshitij.so 25414
      if fid == -1:
25415
        if ftype == TType.STRUCT:
25416
          self.snapdealitem = SnapdealItem()
25417
          self.snapdealitem.read(iprot)
8619 kshitij.so 25418
        else:
25419
          iprot.skip(ftype)
25420
      else:
25421
        iprot.skip(ftype)
25422
      iprot.readFieldEnd()
25423
    iprot.readStructEnd()
25424
 
25425
  def write(self, oprot):
25426
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25427
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25428
      return
9242 kshitij.so 25429
    oprot.writeStructBegin('addOrUpdateSnapdealItem_args')
25430
    if self.snapdealitem is not None:
25431
      oprot.writeFieldBegin('snapdealitem', TType.STRUCT, -1)
25432
      self.snapdealitem.write(oprot)
8619 kshitij.so 25433
      oprot.writeFieldEnd()
25434
    oprot.writeFieldStop()
25435
    oprot.writeStructEnd()
25436
 
25437
  def validate(self):
25438
    return
25439
 
25440
 
25441
  def __repr__(self):
25442
    L = ['%s=%r' % (key, value)
25443
      for key, value in self.__dict__.iteritems()]
25444
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25445
 
25446
  def __eq__(self, other):
25447
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25448
 
25449
  def __ne__(self, other):
25450
    return not (self == other)
25451
 
9242 kshitij.so 25452
class addOrUpdateSnapdealItem_result:
25453
  """
25454
  Attributes:
25455
   - success
25456
  """
8619 kshitij.so 25457
 
25458
  thrift_spec = (
9242 kshitij.so 25459
    (0, TType.BOOL, 'success', None, None, ), # 0
8619 kshitij.so 25460
  )
25461
 
9242 kshitij.so 25462
  def __init__(self, success=None,):
25463
    self.success = success
25464
 
8619 kshitij.so 25465
  def read(self, iprot):
25466
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25467
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25468
      return
25469
    iprot.readStructBegin()
25470
    while True:
25471
      (fname, ftype, fid) = iprot.readFieldBegin()
25472
      if ftype == TType.STOP:
25473
        break
9242 kshitij.so 25474
      if fid == 0:
25475
        if ftype == TType.BOOL:
25476
          self.success = iprot.readBool();
25477
        else:
25478
          iprot.skip(ftype)
8619 kshitij.so 25479
      else:
25480
        iprot.skip(ftype)
25481
      iprot.readFieldEnd()
25482
    iprot.readStructEnd()
25483
 
25484
  def write(self, oprot):
25485
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25486
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25487
      return
9242 kshitij.so 25488
    oprot.writeStructBegin('addOrUpdateSnapdealItem_result')
25489
    if self.success is not None:
25490
      oprot.writeFieldBegin('success', TType.BOOL, 0)
25491
      oprot.writeBool(self.success)
25492
      oprot.writeFieldEnd()
8619 kshitij.so 25493
    oprot.writeFieldStop()
25494
    oprot.writeStructEnd()
25495
 
25496
  def validate(self):
25497
    return
25498
 
25499
 
25500
  def __repr__(self):
25501
    L = ['%s=%r' % (key, value)
25502
      for key, value in self.__dict__.iteritems()]
25503
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25504
 
25505
  def __eq__(self, other):
25506
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25507
 
25508
  def __ne__(self, other):
25509
    return not (self == other)
8739 vikram.rag 25510
 
9242 kshitij.so 25511
class getSnapdealItem_args:
8739 vikram.rag 25512
  """
25513
  Attributes:
9242 kshitij.so 25514
   - item_id
8739 vikram.rag 25515
  """
25516
 
9242 kshitij.so 25517
  thrift_spec = (
25518
    None, # 0
25519
    (1, TType.I64, 'item_id', None, None, ), # 1
25520
  )
8739 vikram.rag 25521
 
9242 kshitij.so 25522
  def __init__(self, item_id=None,):
25523
    self.item_id = item_id
25524
 
8739 vikram.rag 25525
  def read(self, iprot):
25526
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25527
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25528
      return
25529
    iprot.readStructBegin()
25530
    while True:
25531
      (fname, ftype, fid) = iprot.readFieldBegin()
25532
      if ftype == TType.STOP:
25533
        break
9242 kshitij.so 25534
      if fid == 1:
25535
        if ftype == TType.I64:
25536
          self.item_id = iprot.readI64();
8739 vikram.rag 25537
        else:
25538
          iprot.skip(ftype)
25539
      else:
25540
        iprot.skip(ftype)
25541
      iprot.readFieldEnd()
25542
    iprot.readStructEnd()
25543
 
25544
  def write(self, oprot):
25545
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25546
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25547
      return
9242 kshitij.so 25548
    oprot.writeStructBegin('getSnapdealItem_args')
25549
    if self.item_id is not None:
25550
      oprot.writeFieldBegin('item_id', TType.I64, 1)
25551
      oprot.writeI64(self.item_id)
8739 vikram.rag 25552
      oprot.writeFieldEnd()
25553
    oprot.writeFieldStop()
25554
    oprot.writeStructEnd()
25555
 
25556
  def validate(self):
25557
    return
25558
 
25559
 
25560
  def __repr__(self):
25561
    L = ['%s=%r' % (key, value)
25562
      for key, value in self.__dict__.iteritems()]
25563
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25564
 
25565
  def __eq__(self, other):
25566
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25567
 
25568
  def __ne__(self, other):
25569
    return not (self == other)
25570
 
9242 kshitij.so 25571
class getSnapdealItem_result:
8739 vikram.rag 25572
  """
25573
  Attributes:
25574
   - success
25575
  """
25576
 
25577
  thrift_spec = (
9242 kshitij.so 25578
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
8739 vikram.rag 25579
  )
25580
 
25581
  def __init__(self, success=None,):
25582
    self.success = success
25583
 
25584
  def read(self, iprot):
25585
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25586
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25587
      return
25588
    iprot.readStructBegin()
25589
    while True:
25590
      (fname, ftype, fid) = iprot.readFieldBegin()
25591
      if ftype == TType.STOP:
25592
        break
25593
      if fid == 0:
9242 kshitij.so 25594
        if ftype == TType.STRUCT:
25595
          self.success = SnapdealItem()
25596
          self.success.read(iprot)
8739 vikram.rag 25597
        else:
25598
          iprot.skip(ftype)
25599
      else:
25600
        iprot.skip(ftype)
25601
      iprot.readFieldEnd()
25602
    iprot.readStructEnd()
25603
 
25604
  def write(self, oprot):
25605
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25606
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25607
      return
9242 kshitij.so 25608
    oprot.writeStructBegin('getSnapdealItem_result')
8739 vikram.rag 25609
    if self.success is not None:
9242 kshitij.so 25610
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25611
      self.success.write(oprot)
8739 vikram.rag 25612
      oprot.writeFieldEnd()
25613
    oprot.writeFieldStop()
25614
    oprot.writeStructEnd()
25615
 
25616
  def validate(self):
25617
    return
25618
 
25619
 
25620
  def __repr__(self):
25621
    L = ['%s=%r' % (key, value)
25622
      for key, value in self.__dict__.iteritems()]
25623
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25624
 
25625
  def __eq__(self, other):
25626
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25627
 
25628
  def __ne__(self, other):
25629
    return not (self == other)
25630
 
9242 kshitij.so 25631
class getSnapdealItemDetails_args:
8739 vikram.rag 25632
  """
25633
  Attributes:
25634
   - item_id
25635
  """
25636
 
25637
  thrift_spec = (
25638
    None, # 0
25639
    (1, TType.I64, 'item_id', None, None, ), # 1
25640
  )
25641
 
25642
  def __init__(self, item_id=None,):
25643
    self.item_id = item_id
25644
 
25645
  def read(self, iprot):
25646
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25647
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25648
      return
25649
    iprot.readStructBegin()
25650
    while True:
25651
      (fname, ftype, fid) = iprot.readFieldBegin()
25652
      if ftype == TType.STOP:
25653
        break
25654
      if fid == 1:
25655
        if ftype == TType.I64:
25656
          self.item_id = iprot.readI64();
25657
        else:
25658
          iprot.skip(ftype)
25659
      else:
25660
        iprot.skip(ftype)
25661
      iprot.readFieldEnd()
25662
    iprot.readStructEnd()
25663
 
25664
  def write(self, oprot):
25665
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25666
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25667
      return
9242 kshitij.so 25668
    oprot.writeStructBegin('getSnapdealItemDetails_args')
8739 vikram.rag 25669
    if self.item_id is not None:
25670
      oprot.writeFieldBegin('item_id', TType.I64, 1)
25671
      oprot.writeI64(self.item_id)
25672
      oprot.writeFieldEnd()
25673
    oprot.writeFieldStop()
25674
    oprot.writeStructEnd()
25675
 
25676
  def validate(self):
25677
    return
25678
 
25679
 
25680
  def __repr__(self):
25681
    L = ['%s=%r' % (key, value)
25682
      for key, value in self.__dict__.iteritems()]
25683
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25684
 
25685
  def __eq__(self, other):
25686
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25687
 
25688
  def __ne__(self, other):
25689
    return not (self == other)
25690
 
9242 kshitij.so 25691
class getSnapdealItemDetails_result:
8739 vikram.rag 25692
  """
25693
  Attributes:
25694
   - success
25695
  """
25696
 
25697
  thrift_spec = (
9242 kshitij.so 25698
    (0, TType.STRUCT, 'success', (SnapdealItemDetails, SnapdealItemDetails.thrift_spec), None, ), # 0
8739 vikram.rag 25699
  )
25700
 
25701
  def __init__(self, success=None,):
25702
    self.success = success
25703
 
25704
  def read(self, iprot):
25705
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25706
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25707
      return
25708
    iprot.readStructBegin()
25709
    while True:
25710
      (fname, ftype, fid) = iprot.readFieldBegin()
25711
      if ftype == TType.STOP:
25712
        break
25713
      if fid == 0:
25714
        if ftype == TType.STRUCT:
9242 kshitij.so 25715
          self.success = SnapdealItemDetails()
8739 vikram.rag 25716
          self.success.read(iprot)
25717
        else:
25718
          iprot.skip(ftype)
25719
      else:
25720
        iprot.skip(ftype)
25721
      iprot.readFieldEnd()
25722
    iprot.readStructEnd()
25723
 
25724
  def write(self, oprot):
25725
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25726
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25727
      return
9242 kshitij.so 25728
    oprot.writeStructBegin('getSnapdealItemDetails_result')
8739 vikram.rag 25729
    if self.success is not None:
25730
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25731
      self.success.write(oprot)
25732
      oprot.writeFieldEnd()
25733
    oprot.writeFieldStop()
25734
    oprot.writeStructEnd()
25735
 
25736
  def validate(self):
25737
    return
25738
 
25739
 
25740
  def __repr__(self):
25741
    L = ['%s=%r' % (key, value)
25742
      for key, value in self.__dict__.iteritems()]
25743
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25744
 
25745
  def __eq__(self, other):
25746
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25747
 
25748
  def __ne__(self, other):
25749
    return not (self == other)
25750
 
25751
class getAllSnapdealItems_args:
25752
 
25753
  thrift_spec = (
25754
  )
25755
 
25756
  def read(self, iprot):
25757
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25758
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25759
      return
25760
    iprot.readStructBegin()
25761
    while True:
25762
      (fname, ftype, fid) = iprot.readFieldBegin()
25763
      if ftype == TType.STOP:
25764
        break
25765
      else:
25766
        iprot.skip(ftype)
25767
      iprot.readFieldEnd()
25768
    iprot.readStructEnd()
25769
 
25770
  def write(self, oprot):
25771
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25772
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25773
      return
25774
    oprot.writeStructBegin('getAllSnapdealItems_args')
25775
    oprot.writeFieldStop()
25776
    oprot.writeStructEnd()
25777
 
25778
  def validate(self):
25779
    return
25780
 
25781
 
25782
  def __repr__(self):
25783
    L = ['%s=%r' % (key, value)
25784
      for key, value in self.__dict__.iteritems()]
25785
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25786
 
25787
  def __eq__(self, other):
25788
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25789
 
25790
  def __ne__(self, other):
25791
    return not (self == other)
25792
 
25793
class getAllSnapdealItems_result:
25794
  """
25795
  Attributes:
25796
   - success
25797
  """
25798
 
25799
  thrift_spec = (
9242 kshitij.so 25800
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
8739 vikram.rag 25801
  )
25802
 
25803
  def __init__(self, success=None,):
25804
    self.success = success
25805
 
25806
  def read(self, iprot):
25807
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25808
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25809
      return
25810
    iprot.readStructBegin()
25811
    while True:
25812
      (fname, ftype, fid) = iprot.readFieldBegin()
25813
      if ftype == TType.STOP:
25814
        break
25815
      if fid == 0:
25816
        if ftype == TType.LIST:
25817
          self.success = []
13493 amit.gupta 25818
          (_etype541, _size538) = iprot.readListBegin()
25819
          for _i542 in xrange(_size538):
25820
            _elem543 = SnapdealItemDetails()
25821
            _elem543.read(iprot)
25822
            self.success.append(_elem543)
9242 kshitij.so 25823
          iprot.readListEnd()
25824
        else:
25825
          iprot.skip(ftype)
25826
      else:
25827
        iprot.skip(ftype)
25828
      iprot.readFieldEnd()
25829
    iprot.readStructEnd()
25830
 
25831
  def write(self, oprot):
25832
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25833
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25834
      return
25835
    oprot.writeStructBegin('getAllSnapdealItems_result')
25836
    if self.success is not None:
25837
      oprot.writeFieldBegin('success', TType.LIST, 0)
25838
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25839
      for iter544 in self.success:
25840
        iter544.write(oprot)
9242 kshitij.so 25841
      oprot.writeListEnd()
25842
      oprot.writeFieldEnd()
25843
    oprot.writeFieldStop()
25844
    oprot.writeStructEnd()
25845
 
25846
  def validate(self):
25847
    return
25848
 
25849
 
25850
  def __repr__(self):
25851
    L = ['%s=%r' % (key, value)
25852
      for key, value in self.__dict__.iteritems()]
25853
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25854
 
25855
  def __eq__(self, other):
25856
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25857
 
25858
  def __ne__(self, other):
25859
    return not (self == other)
25860
 
25861
class getSnapdealItems_args:
25862
  """
25863
  Attributes:
25864
   - offset
25865
   - limit
25866
  """
25867
 
25868
  thrift_spec = (
25869
    None, # 0
25870
    (1, TType.I64, 'offset', None, None, ), # 1
25871
    (2, TType.I64, 'limit', None, None, ), # 2
25872
  )
25873
 
25874
  def __init__(self, offset=None, limit=None,):
25875
    self.offset = offset
25876
    self.limit = limit
25877
 
25878
  def read(self, iprot):
25879
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25880
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25881
      return
25882
    iprot.readStructBegin()
25883
    while True:
25884
      (fname, ftype, fid) = iprot.readFieldBegin()
25885
      if ftype == TType.STOP:
25886
        break
25887
      if fid == 1:
25888
        if ftype == TType.I64:
25889
          self.offset = iprot.readI64();
25890
        else:
25891
          iprot.skip(ftype)
25892
      elif fid == 2:
25893
        if ftype == TType.I64:
25894
          self.limit = iprot.readI64();
25895
        else:
25896
          iprot.skip(ftype)
25897
      else:
25898
        iprot.skip(ftype)
25899
      iprot.readFieldEnd()
25900
    iprot.readStructEnd()
25901
 
25902
  def write(self, oprot):
25903
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25904
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25905
      return
25906
    oprot.writeStructBegin('getSnapdealItems_args')
25907
    if self.offset is not None:
25908
      oprot.writeFieldBegin('offset', TType.I64, 1)
25909
      oprot.writeI64(self.offset)
25910
      oprot.writeFieldEnd()
25911
    if self.limit is not None:
25912
      oprot.writeFieldBegin('limit', TType.I64, 2)
25913
      oprot.writeI64(self.limit)
25914
      oprot.writeFieldEnd()
25915
    oprot.writeFieldStop()
25916
    oprot.writeStructEnd()
25917
 
25918
  def validate(self):
25919
    return
25920
 
25921
 
25922
  def __repr__(self):
25923
    L = ['%s=%r' % (key, value)
25924
      for key, value in self.__dict__.iteritems()]
25925
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25926
 
25927
  def __eq__(self, other):
25928
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25929
 
25930
  def __ne__(self, other):
25931
    return not (self == other)
25932
 
25933
class getSnapdealItems_result:
25934
  """
25935
  Attributes:
25936
   - success
25937
  """
25938
 
25939
  thrift_spec = (
25940
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
25941
  )
25942
 
25943
  def __init__(self, success=None,):
25944
    self.success = success
25945
 
25946
  def read(self, iprot):
25947
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25948
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25949
      return
25950
    iprot.readStructBegin()
25951
    while True:
25952
      (fname, ftype, fid) = iprot.readFieldBegin()
25953
      if ftype == TType.STOP:
25954
        break
25955
      if fid == 0:
25956
        if ftype == TType.LIST:
25957
          self.success = []
13493 amit.gupta 25958
          (_etype548, _size545) = iprot.readListBegin()
25959
          for _i549 in xrange(_size545):
25960
            _elem550 = SnapdealItemDetails()
25961
            _elem550.read(iprot)
25962
            self.success.append(_elem550)
8739 vikram.rag 25963
          iprot.readListEnd()
25964
        else:
25965
          iprot.skip(ftype)
25966
      else:
25967
        iprot.skip(ftype)
25968
      iprot.readFieldEnd()
25969
    iprot.readStructEnd()
25970
 
25971
  def write(self, oprot):
25972
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25973
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25974
      return
9242 kshitij.so 25975
    oprot.writeStructBegin('getSnapdealItems_result')
8739 vikram.rag 25976
    if self.success is not None:
25977
      oprot.writeFieldBegin('success', TType.LIST, 0)
25978
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25979
      for iter551 in self.success:
25980
        iter551.write(oprot)
8739 vikram.rag 25981
      oprot.writeListEnd()
25982
      oprot.writeFieldEnd()
25983
    oprot.writeFieldStop()
25984
    oprot.writeStructEnd()
25985
 
25986
  def validate(self):
25987
    return
25988
 
25989
 
25990
  def __repr__(self):
25991
    L = ['%s=%r' % (key, value)
25992
      for key, value in self.__dict__.iteritems()]
25993
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25994
 
25995
  def __eq__(self, other):
25996
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25997
 
25998
  def __ne__(self, other):
25999
    return not (self == other)
9242 kshitij.so 26000
 
26001
class searchSnapdealItems_args:
26002
  """
26003
  Attributes:
26004
   - searchTerm
26005
   - offset
26006
   - limit
26007
  """
26008
 
26009
  thrift_spec = (
26010
    None, # 0
26011
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
26012
    (2, TType.I64, 'offset', None, None, ), # 2
26013
    (3, TType.I64, 'limit', None, None, ), # 3
26014
  )
26015
 
26016
  def __init__(self, searchTerm=None, offset=None, limit=None,):
26017
    self.searchTerm = searchTerm
26018
    self.offset = offset
26019
    self.limit = limit
26020
 
26021
  def read(self, iprot):
26022
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26023
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26024
      return
26025
    iprot.readStructBegin()
26026
    while True:
26027
      (fname, ftype, fid) = iprot.readFieldBegin()
26028
      if ftype == TType.STOP:
26029
        break
26030
      if fid == 1:
26031
        if ftype == TType.LIST:
26032
          self.searchTerm = []
13493 amit.gupta 26033
          (_etype555, _size552) = iprot.readListBegin()
26034
          for _i556 in xrange(_size552):
26035
            _elem557 = iprot.readString();
26036
            self.searchTerm.append(_elem557)
9242 kshitij.so 26037
          iprot.readListEnd()
26038
        else:
26039
          iprot.skip(ftype)
26040
      elif fid == 2:
26041
        if ftype == TType.I64:
26042
          self.offset = iprot.readI64();
26043
        else:
26044
          iprot.skip(ftype)
26045
      elif fid == 3:
26046
        if ftype == TType.I64:
26047
          self.limit = iprot.readI64();
26048
        else:
26049
          iprot.skip(ftype)
26050
      else:
26051
        iprot.skip(ftype)
26052
      iprot.readFieldEnd()
26053
    iprot.readStructEnd()
26054
 
26055
  def write(self, oprot):
26056
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26057
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26058
      return
26059
    oprot.writeStructBegin('searchSnapdealItems_args')
26060
    if self.searchTerm is not None:
26061
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
26062
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 26063
      for iter558 in self.searchTerm:
26064
        oprot.writeString(iter558)
9242 kshitij.so 26065
      oprot.writeListEnd()
26066
      oprot.writeFieldEnd()
26067
    if self.offset is not None:
26068
      oprot.writeFieldBegin('offset', TType.I64, 2)
26069
      oprot.writeI64(self.offset)
26070
      oprot.writeFieldEnd()
26071
    if self.limit is not None:
26072
      oprot.writeFieldBegin('limit', TType.I64, 3)
26073
      oprot.writeI64(self.limit)
26074
      oprot.writeFieldEnd()
26075
    oprot.writeFieldStop()
26076
    oprot.writeStructEnd()
26077
 
26078
  def validate(self):
26079
    return
26080
 
26081
 
26082
  def __repr__(self):
26083
    L = ['%s=%r' % (key, value)
26084
      for key, value in self.__dict__.iteritems()]
26085
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26086
 
26087
  def __eq__(self, other):
26088
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26089
 
26090
  def __ne__(self, other):
26091
    return not (self == other)
26092
 
26093
class searchSnapdealItems_result:
26094
  """
26095
  Attributes:
26096
   - success
26097
  """
26098
 
26099
  thrift_spec = (
26100
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
26101
  )
26102
 
26103
  def __init__(self, success=None,):
26104
    self.success = success
26105
 
26106
  def read(self, iprot):
26107
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26108
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26109
      return
26110
    iprot.readStructBegin()
26111
    while True:
26112
      (fname, ftype, fid) = iprot.readFieldBegin()
26113
      if ftype == TType.STOP:
26114
        break
26115
      if fid == 0:
26116
        if ftype == TType.LIST:
26117
          self.success = []
13493 amit.gupta 26118
          (_etype562, _size559) = iprot.readListBegin()
26119
          for _i563 in xrange(_size559):
26120
            _elem564 = SnapdealItemDetails()
26121
            _elem564.read(iprot)
26122
            self.success.append(_elem564)
9242 kshitij.so 26123
          iprot.readListEnd()
26124
        else:
26125
          iprot.skip(ftype)
26126
      else:
26127
        iprot.skip(ftype)
26128
      iprot.readFieldEnd()
26129
    iprot.readStructEnd()
26130
 
26131
  def write(self, oprot):
26132
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26133
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26134
      return
26135
    oprot.writeStructBegin('searchSnapdealItems_result')
26136
    if self.success is not None:
26137
      oprot.writeFieldBegin('success', TType.LIST, 0)
26138
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 26139
      for iter565 in self.success:
26140
        iter565.write(oprot)
9242 kshitij.so 26141
      oprot.writeListEnd()
26142
      oprot.writeFieldEnd()
26143
    oprot.writeFieldStop()
26144
    oprot.writeStructEnd()
26145
 
26146
  def validate(self):
26147
    return
26148
 
26149
 
26150
  def __repr__(self):
26151
    L = ['%s=%r' % (key, value)
26152
      for key, value in self.__dict__.iteritems()]
26153
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26154
 
26155
  def __eq__(self, other):
26156
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26157
 
26158
  def __ne__(self, other):
26159
    return not (self == other)
26160
 
26161
class getCountForSnapdealItems_args:
26162
 
26163
  thrift_spec = (
26164
  )
26165
 
26166
  def read(self, iprot):
26167
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26168
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26169
      return
26170
    iprot.readStructBegin()
26171
    while True:
26172
      (fname, ftype, fid) = iprot.readFieldBegin()
26173
      if ftype == TType.STOP:
26174
        break
26175
      else:
26176
        iprot.skip(ftype)
26177
      iprot.readFieldEnd()
26178
    iprot.readStructEnd()
26179
 
26180
  def write(self, oprot):
26181
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26182
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26183
      return
26184
    oprot.writeStructBegin('getCountForSnapdealItems_args')
26185
    oprot.writeFieldStop()
26186
    oprot.writeStructEnd()
26187
 
26188
  def validate(self):
26189
    return
26190
 
26191
 
26192
  def __repr__(self):
26193
    L = ['%s=%r' % (key, value)
26194
      for key, value in self.__dict__.iteritems()]
26195
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26196
 
26197
  def __eq__(self, other):
26198
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26199
 
26200
  def __ne__(self, other):
26201
    return not (self == other)
26202
 
26203
class getCountForSnapdealItems_result:
26204
  """
26205
  Attributes:
26206
   - success
26207
  """
26208
 
26209
  thrift_spec = (
26210
    (0, TType.I64, 'success', None, None, ), # 0
26211
  )
26212
 
26213
  def __init__(self, success=None,):
26214
    self.success = success
26215
 
26216
  def read(self, iprot):
26217
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26218
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26219
      return
26220
    iprot.readStructBegin()
26221
    while True:
26222
      (fname, ftype, fid) = iprot.readFieldBegin()
26223
      if ftype == TType.STOP:
26224
        break
26225
      if fid == 0:
26226
        if ftype == TType.I64:
26227
          self.success = iprot.readI64();
26228
        else:
26229
          iprot.skip(ftype)
26230
      else:
26231
        iprot.skip(ftype)
26232
      iprot.readFieldEnd()
26233
    iprot.readStructEnd()
26234
 
26235
  def write(self, oprot):
26236
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26237
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26238
      return
26239
    oprot.writeStructBegin('getCountForSnapdealItems_result')
26240
    if self.success is not None:
26241
      oprot.writeFieldBegin('success', TType.I64, 0)
26242
      oprot.writeI64(self.success)
26243
      oprot.writeFieldEnd()
26244
    oprot.writeFieldStop()
26245
    oprot.writeStructEnd()
26246
 
26247
  def validate(self):
26248
    return
26249
 
26250
 
26251
  def __repr__(self):
26252
    L = ['%s=%r' % (key, value)
26253
      for key, value in self.__dict__.iteritems()]
26254
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26255
 
26256
  def __eq__(self, other):
26257
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26258
 
26259
  def __ne__(self, other):
26260
    return not (self == other)
26261
 
26262
class getSnapdealSearchResultCount_args:
26263
  """
26264
  Attributes:
26265
   - searchTerm
26266
  """
26267
 
26268
  thrift_spec = (
26269
    None, # 0
26270
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
26271
  )
26272
 
26273
  def __init__(self, searchTerm=None,):
26274
    self.searchTerm = searchTerm
26275
 
26276
  def read(self, iprot):
26277
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26278
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26279
      return
26280
    iprot.readStructBegin()
26281
    while True:
26282
      (fname, ftype, fid) = iprot.readFieldBegin()
26283
      if ftype == TType.STOP:
26284
        break
26285
      if fid == 1:
26286
        if ftype == TType.LIST:
26287
          self.searchTerm = []
13493 amit.gupta 26288
          (_etype569, _size566) = iprot.readListBegin()
26289
          for _i570 in xrange(_size566):
26290
            _elem571 = iprot.readString();
26291
            self.searchTerm.append(_elem571)
9242 kshitij.so 26292
          iprot.readListEnd()
26293
        else:
26294
          iprot.skip(ftype)
26295
      else:
26296
        iprot.skip(ftype)
26297
      iprot.readFieldEnd()
26298
    iprot.readStructEnd()
26299
 
26300
  def write(self, oprot):
26301
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26302
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26303
      return
26304
    oprot.writeStructBegin('getSnapdealSearchResultCount_args')
26305
    if self.searchTerm is not None:
26306
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
26307
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 26308
      for iter572 in self.searchTerm:
26309
        oprot.writeString(iter572)
9242 kshitij.so 26310
      oprot.writeListEnd()
26311
      oprot.writeFieldEnd()
26312
    oprot.writeFieldStop()
26313
    oprot.writeStructEnd()
26314
 
26315
  def validate(self):
26316
    return
26317
 
26318
 
26319
  def __repr__(self):
26320
    L = ['%s=%r' % (key, value)
26321
      for key, value in self.__dict__.iteritems()]
26322
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26323
 
26324
  def __eq__(self, other):
26325
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26326
 
26327
  def __ne__(self, other):
26328
    return not (self == other)
26329
 
26330
class getSnapdealSearchResultCount_result:
26331
  """
26332
  Attributes:
26333
   - success
26334
  """
26335
 
26336
  thrift_spec = (
26337
    (0, TType.I64, 'success', None, None, ), # 0
26338
  )
26339
 
26340
  def __init__(self, success=None,):
26341
    self.success = success
26342
 
26343
  def read(self, iprot):
26344
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26345
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26346
      return
26347
    iprot.readStructBegin()
26348
    while True:
26349
      (fname, ftype, fid) = iprot.readFieldBegin()
26350
      if ftype == TType.STOP:
26351
        break
26352
      if fid == 0:
26353
        if ftype == TType.I64:
26354
          self.success = iprot.readI64();
26355
        else:
26356
          iprot.skip(ftype)
26357
      else:
26358
        iprot.skip(ftype)
26359
      iprot.readFieldEnd()
26360
    iprot.readStructEnd()
26361
 
26362
  def write(self, oprot):
26363
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26364
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26365
      return
26366
    oprot.writeStructBegin('getSnapdealSearchResultCount_result')
26367
    if self.success is not None:
26368
      oprot.writeFieldBegin('success', TType.I64, 0)
26369
      oprot.writeI64(self.success)
26370
      oprot.writeFieldEnd()
26371
    oprot.writeFieldStop()
26372
    oprot.writeStructEnd()
26373
 
26374
  def validate(self):
26375
    return
26376
 
26377
 
26378
  def __repr__(self):
26379
    L = ['%s=%r' % (key, value)
26380
      for key, value in self.__dict__.iteritems()]
26381
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26382
 
26383
  def __eq__(self, other):
26384
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26385
 
26386
  def __ne__(self, other):
26387
    return not (self == other)
9299 kshitij.so 26388
 
26389
class getPrefferedInsurerForItem_args:
26390
  """
26391
  Attributes:
26392
   - itemId
26393
   - insurerType
26394
  """
26395
 
26396
  thrift_spec = (
26397
    None, # 0
26398
    (1, TType.I64, 'itemId', None, None, ), # 1
26399
    (2, TType.I32, 'insurerType', None, None, ), # 2
26400
  )
26401
 
26402
  def __init__(self, itemId=None, insurerType=None,):
26403
    self.itemId = itemId
26404
    self.insurerType = insurerType
26405
 
26406
  def read(self, iprot):
26407
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26408
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26409
      return
26410
    iprot.readStructBegin()
26411
    while True:
26412
      (fname, ftype, fid) = iprot.readFieldBegin()
26413
      if ftype == TType.STOP:
26414
        break
26415
      if fid == 1:
26416
        if ftype == TType.I64:
26417
          self.itemId = iprot.readI64();
26418
        else:
26419
          iprot.skip(ftype)
26420
      elif fid == 2:
26421
        if ftype == TType.I32:
26422
          self.insurerType = iprot.readI32();
26423
        else:
26424
          iprot.skip(ftype)
26425
      else:
26426
        iprot.skip(ftype)
26427
      iprot.readFieldEnd()
26428
    iprot.readStructEnd()
26429
 
26430
  def write(self, oprot):
26431
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26432
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26433
      return
26434
    oprot.writeStructBegin('getPrefferedInsurerForItem_args')
26435
    if self.itemId is not None:
26436
      oprot.writeFieldBegin('itemId', TType.I64, 1)
26437
      oprot.writeI64(self.itemId)
26438
      oprot.writeFieldEnd()
26439
    if self.insurerType is not None:
26440
      oprot.writeFieldBegin('insurerType', TType.I32, 2)
26441
      oprot.writeI32(self.insurerType)
26442
      oprot.writeFieldEnd()
26443
    oprot.writeFieldStop()
26444
    oprot.writeStructEnd()
26445
 
26446
  def validate(self):
26447
    return
26448
 
26449
 
26450
  def __repr__(self):
26451
    L = ['%s=%r' % (key, value)
26452
      for key, value in self.__dict__.iteritems()]
26453
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26454
 
26455
  def __eq__(self, other):
26456
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26457
 
26458
  def __ne__(self, other):
26459
    return not (self == other)
26460
 
26461
class getPrefferedInsurerForItem_result:
26462
  """
26463
  Attributes:
26464
   - success
26465
  """
26466
 
26467
  thrift_spec = (
26468
    (0, TType.I64, 'success', None, None, ), # 0
26469
  )
26470
 
26471
  def __init__(self, success=None,):
26472
    self.success = success
26473
 
26474
  def read(self, iprot):
26475
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26476
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26477
      return
26478
    iprot.readStructBegin()
26479
    while True:
26480
      (fname, ftype, fid) = iprot.readFieldBegin()
26481
      if ftype == TType.STOP:
26482
        break
26483
      if fid == 0:
26484
        if ftype == TType.I64:
26485
          self.success = iprot.readI64();
26486
        else:
26487
          iprot.skip(ftype)
26488
      else:
26489
        iprot.skip(ftype)
26490
      iprot.readFieldEnd()
26491
    iprot.readStructEnd()
26492
 
26493
  def write(self, oprot):
26494
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26495
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26496
      return
26497
    oprot.writeStructBegin('getPrefferedInsurerForItem_result')
26498
    if self.success is not None:
26499
      oprot.writeFieldBegin('success', TType.I64, 0)
26500
      oprot.writeI64(self.success)
26501
      oprot.writeFieldEnd()
26502
    oprot.writeFieldStop()
26503
    oprot.writeStructEnd()
26504
 
26505
  def validate(self):
26506
    return
26507
 
26508
 
26509
  def __repr__(self):
26510
    L = ['%s=%r' % (key, value)
26511
      for key, value in self.__dict__.iteritems()]
26512
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26513
 
26514
  def __eq__(self, other):
26515
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26516
 
26517
  def __ne__(self, other):
26518
    return not (self == other)
9456 vikram.rag 26519
 
26520
class getSnapdealItembySkuAtSnapdeal_args:
26521
  """
26522
  Attributes:
26523
   - skuAtSnapdeal
26524
  """
26525
 
26526
  thrift_spec = None
26527
  def __init__(self, skuAtSnapdeal=None,):
26528
    self.skuAtSnapdeal = skuAtSnapdeal
26529
 
26530
  def read(self, iprot):
26531
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26532
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26533
      return
26534
    iprot.readStructBegin()
26535
    while True:
26536
      (fname, ftype, fid) = iprot.readFieldBegin()
26537
      if ftype == TType.STOP:
26538
        break
26539
      if fid == -1:
26540
        if ftype == TType.STRING:
26541
          self.skuAtSnapdeal = iprot.readString();
26542
        else:
26543
          iprot.skip(ftype)
26544
      else:
26545
        iprot.skip(ftype)
26546
      iprot.readFieldEnd()
26547
    iprot.readStructEnd()
26548
 
26549
  def write(self, oprot):
26550
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26551
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26552
      return
26553
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_args')
26554
    if self.skuAtSnapdeal is not None:
26555
      oprot.writeFieldBegin('skuAtSnapdeal', TType.STRING, -1)
26556
      oprot.writeString(self.skuAtSnapdeal)
26557
      oprot.writeFieldEnd()
26558
    oprot.writeFieldStop()
26559
    oprot.writeStructEnd()
26560
 
26561
  def validate(self):
26562
    return
26563
 
26564
 
26565
  def __repr__(self):
26566
    L = ['%s=%r' % (key, value)
26567
      for key, value in self.__dict__.iteritems()]
26568
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26569
 
26570
  def __eq__(self, other):
26571
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26572
 
26573
  def __ne__(self, other):
26574
    return not (self == other)
26575
 
26576
class getSnapdealItembySkuAtSnapdeal_result:
26577
  """
26578
  Attributes:
26579
   - success
26580
  """
26581
 
26582
  thrift_spec = (
26583
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
26584
  )
26585
 
26586
  def __init__(self, success=None,):
26587
    self.success = success
26588
 
26589
  def read(self, iprot):
26590
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26591
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26592
      return
26593
    iprot.readStructBegin()
26594
    while True:
26595
      (fname, ftype, fid) = iprot.readFieldBegin()
26596
      if ftype == TType.STOP:
26597
        break
26598
      if fid == 0:
26599
        if ftype == TType.STRUCT:
26600
          self.success = SnapdealItem()
26601
          self.success.read(iprot)
26602
        else:
26603
          iprot.skip(ftype)
26604
      else:
26605
        iprot.skip(ftype)
26606
      iprot.readFieldEnd()
26607
    iprot.readStructEnd()
26608
 
26609
  def write(self, oprot):
26610
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26611
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26612
      return
26613
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_result')
26614
    if self.success is not None:
26615
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26616
      self.success.write(oprot)
26617
      oprot.writeFieldEnd()
26618
    oprot.writeFieldStop()
26619
    oprot.writeStructEnd()
26620
 
26621
  def validate(self):
26622
    return
26623
 
26624
 
26625
  def __repr__(self):
26626
    L = ['%s=%r' % (key, value)
26627
      for key, value in self.__dict__.iteritems()]
26628
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26629
 
26630
  def __eq__(self, other):
26631
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26632
 
26633
  def __ne__(self, other):
26634
    return not (self == other)
9621 manish.sha 26635
 
26636
class getProductFeedSubmit_args:
26637
  """
26638
  Attributes:
26639
   - catalogItemId
26640
  """
26641
 
26642
  thrift_spec = (
26643
    None, # 0
26644
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
26645
  )
26646
 
26647
  def __init__(self, catalogItemId=None,):
26648
    self.catalogItemId = catalogItemId
26649
 
26650
  def read(self, iprot):
26651
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26652
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26653
      return
26654
    iprot.readStructBegin()
26655
    while True:
26656
      (fname, ftype, fid) = iprot.readFieldBegin()
26657
      if ftype == TType.STOP:
26658
        break
26659
      if fid == 1:
26660
        if ftype == TType.I64:
26661
          self.catalogItemId = iprot.readI64();
26662
        else:
26663
          iprot.skip(ftype)
26664
      else:
26665
        iprot.skip(ftype)
26666
      iprot.readFieldEnd()
26667
    iprot.readStructEnd()
26668
 
26669
  def write(self, oprot):
26670
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26671
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26672
      return
26673
    oprot.writeStructBegin('getProductFeedSubmit_args')
26674
    if self.catalogItemId is not None:
26675
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
26676
      oprot.writeI64(self.catalogItemId)
26677
      oprot.writeFieldEnd()
26678
    oprot.writeFieldStop()
26679
    oprot.writeStructEnd()
26680
 
26681
  def validate(self):
26682
    return
26683
 
26684
 
26685
  def __repr__(self):
26686
    L = ['%s=%r' % (key, value)
26687
      for key, value in self.__dict__.iteritems()]
26688
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26689
 
26690
  def __eq__(self, other):
26691
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26692
 
26693
  def __ne__(self, other):
26694
    return not (self == other)
26695
 
26696
class getProductFeedSubmit_result:
26697
  """
26698
  Attributes:
26699
   - success
26700
   - cex
26701
  """
26702
 
26703
  thrift_spec = (
26704
    (0, TType.STRUCT, 'success', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 0
26705
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26706
  )
26707
 
26708
  def __init__(self, success=None, cex=None,):
26709
    self.success = success
26710
    self.cex = cex
26711
 
26712
  def read(self, iprot):
26713
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26714
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26715
      return
26716
    iprot.readStructBegin()
26717
    while True:
26718
      (fname, ftype, fid) = iprot.readFieldBegin()
26719
      if ftype == TType.STOP:
26720
        break
26721
      if fid == 0:
26722
        if ftype == TType.STRUCT:
26723
          self.success = ProductFeedSubmit()
26724
          self.success.read(iprot)
26725
        else:
26726
          iprot.skip(ftype)
26727
      elif fid == 1:
26728
        if ftype == TType.STRUCT:
26729
          self.cex = CatalogServiceException()
26730
          self.cex.read(iprot)
26731
        else:
26732
          iprot.skip(ftype)
26733
      else:
26734
        iprot.skip(ftype)
26735
      iprot.readFieldEnd()
26736
    iprot.readStructEnd()
26737
 
26738
  def write(self, oprot):
26739
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26740
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26741
      return
26742
    oprot.writeStructBegin('getProductFeedSubmit_result')
26743
    if self.success is not None:
26744
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26745
      self.success.write(oprot)
26746
      oprot.writeFieldEnd()
26747
    if self.cex is not None:
26748
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26749
      self.cex.write(oprot)
26750
      oprot.writeFieldEnd()
26751
    oprot.writeFieldStop()
26752
    oprot.writeStructEnd()
26753
 
26754
  def validate(self):
26755
    return
26756
 
26757
 
26758
  def __repr__(self):
26759
    L = ['%s=%r' % (key, value)
26760
      for key, value in self.__dict__.iteritems()]
26761
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26762
 
26763
  def __eq__(self, other):
26764
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26765
 
26766
  def __ne__(self, other):
26767
    return not (self == other)
26768
 
26769
class addProductFeedSubmit_args:
26770
  """
26771
  Attributes:
26772
   - productFeedSubmit
26773
  """
26774
 
26775
  thrift_spec = (
26776
    None, # 0
26777
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
26778
  )
26779
 
26780
  def __init__(self, productFeedSubmit=None,):
26781
    self.productFeedSubmit = productFeedSubmit
26782
 
26783
  def read(self, iprot):
26784
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26785
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26786
      return
26787
    iprot.readStructBegin()
26788
    while True:
26789
      (fname, ftype, fid) = iprot.readFieldBegin()
26790
      if ftype == TType.STOP:
26791
        break
26792
      if fid == 1:
26793
        if ftype == TType.STRUCT:
26794
          self.productFeedSubmit = ProductFeedSubmit()
26795
          self.productFeedSubmit.read(iprot)
26796
        else:
26797
          iprot.skip(ftype)
26798
      else:
26799
        iprot.skip(ftype)
26800
      iprot.readFieldEnd()
26801
    iprot.readStructEnd()
26802
 
26803
  def write(self, oprot):
26804
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26805
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26806
      return
26807
    oprot.writeStructBegin('addProductFeedSubmit_args')
26808
    if self.productFeedSubmit is not None:
26809
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
26810
      self.productFeedSubmit.write(oprot)
26811
      oprot.writeFieldEnd()
26812
    oprot.writeFieldStop()
26813
    oprot.writeStructEnd()
26814
 
26815
  def validate(self):
26816
    return
26817
 
26818
 
26819
  def __repr__(self):
26820
    L = ['%s=%r' % (key, value)
26821
      for key, value in self.__dict__.iteritems()]
26822
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26823
 
26824
  def __eq__(self, other):
26825
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26826
 
26827
  def __ne__(self, other):
26828
    return not (self == other)
26829
 
26830
class addProductFeedSubmit_result:
26831
  """
26832
  Attributes:
26833
   - success
26834
   - cex
26835
  """
26836
 
26837
  thrift_spec = (
26838
    (0, TType.BOOL, 'success', None, None, ), # 0
26839
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26840
  )
26841
 
26842
  def __init__(self, success=None, cex=None,):
26843
    self.success = success
26844
    self.cex = cex
26845
 
26846
  def read(self, iprot):
26847
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26848
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26849
      return
26850
    iprot.readStructBegin()
26851
    while True:
26852
      (fname, ftype, fid) = iprot.readFieldBegin()
26853
      if ftype == TType.STOP:
26854
        break
26855
      if fid == 0:
26856
        if ftype == TType.BOOL:
26857
          self.success = iprot.readBool();
26858
        else:
26859
          iprot.skip(ftype)
26860
      elif fid == 1:
26861
        if ftype == TType.STRUCT:
26862
          self.cex = CatalogServiceException()
26863
          self.cex.read(iprot)
26864
        else:
26865
          iprot.skip(ftype)
26866
      else:
26867
        iprot.skip(ftype)
26868
      iprot.readFieldEnd()
26869
    iprot.readStructEnd()
26870
 
26871
  def write(self, oprot):
26872
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26873
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26874
      return
26875
    oprot.writeStructBegin('addProductFeedSubmit_result')
26876
    if self.success is not None:
26877
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26878
      oprot.writeBool(self.success)
26879
      oprot.writeFieldEnd()
26880
    if self.cex is not None:
26881
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26882
      self.cex.write(oprot)
26883
      oprot.writeFieldEnd()
26884
    oprot.writeFieldStop()
26885
    oprot.writeStructEnd()
26886
 
26887
  def validate(self):
26888
    return
26889
 
26890
 
26891
  def __repr__(self):
26892
    L = ['%s=%r' % (key, value)
26893
      for key, value in self.__dict__.iteritems()]
26894
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26895
 
26896
  def __eq__(self, other):
26897
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26898
 
26899
  def __ne__(self, other):
26900
    return not (self == other)
26901
 
26902
class updateProductFeedSubmit_args:
26903
  """
26904
  Attributes:
26905
   - productFeedSubmit
26906
  """
26907
 
26908
  thrift_spec = (
26909
    None, # 0
26910
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
26911
  )
26912
 
26913
  def __init__(self, productFeedSubmit=None,):
26914
    self.productFeedSubmit = productFeedSubmit
26915
 
26916
  def read(self, iprot):
26917
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26918
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26919
      return
26920
    iprot.readStructBegin()
26921
    while True:
26922
      (fname, ftype, fid) = iprot.readFieldBegin()
26923
      if ftype == TType.STOP:
26924
        break
26925
      if fid == 1:
26926
        if ftype == TType.STRUCT:
26927
          self.productFeedSubmit = ProductFeedSubmit()
26928
          self.productFeedSubmit.read(iprot)
26929
        else:
26930
          iprot.skip(ftype)
26931
      else:
26932
        iprot.skip(ftype)
26933
      iprot.readFieldEnd()
26934
    iprot.readStructEnd()
26935
 
26936
  def write(self, oprot):
26937
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26938
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26939
      return
26940
    oprot.writeStructBegin('updateProductFeedSubmit_args')
26941
    if self.productFeedSubmit is not None:
26942
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
26943
      self.productFeedSubmit.write(oprot)
26944
      oprot.writeFieldEnd()
26945
    oprot.writeFieldStop()
26946
    oprot.writeStructEnd()
26947
 
26948
  def validate(self):
26949
    return
26950
 
26951
 
26952
  def __repr__(self):
26953
    L = ['%s=%r' % (key, value)
26954
      for key, value in self.__dict__.iteritems()]
26955
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26956
 
26957
  def __eq__(self, other):
26958
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26959
 
26960
  def __ne__(self, other):
26961
    return not (self == other)
26962
 
26963
class updateProductFeedSubmit_result:
26964
  """
26965
  Attributes:
26966
   - success
26967
   - cex
26968
  """
26969
 
26970
  thrift_spec = (
26971
    (0, TType.BOOL, 'success', None, None, ), # 0
26972
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26973
  )
26974
 
26975
  def __init__(self, success=None, cex=None,):
26976
    self.success = success
26977
    self.cex = cex
26978
 
26979
  def read(self, iprot):
26980
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26981
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26982
      return
26983
    iprot.readStructBegin()
26984
    while True:
26985
      (fname, ftype, fid) = iprot.readFieldBegin()
26986
      if ftype == TType.STOP:
26987
        break
26988
      if fid == 0:
26989
        if ftype == TType.BOOL:
26990
          self.success = iprot.readBool();
26991
        else:
26992
          iprot.skip(ftype)
26993
      elif fid == 1:
26994
        if ftype == TType.STRUCT:
26995
          self.cex = CatalogServiceException()
26996
          self.cex.read(iprot)
26997
        else:
26998
          iprot.skip(ftype)
26999
      else:
27000
        iprot.skip(ftype)
27001
      iprot.readFieldEnd()
27002
    iprot.readStructEnd()
27003
 
27004
  def write(self, oprot):
27005
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27006
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27007
      return
27008
    oprot.writeStructBegin('updateProductFeedSubmit_result')
27009
    if self.success is not None:
27010
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27011
      oprot.writeBool(self.success)
27012
      oprot.writeFieldEnd()
27013
    if self.cex is not None:
27014
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27015
      self.cex.write(oprot)
27016
      oprot.writeFieldEnd()
27017
    oprot.writeFieldStop()
27018
    oprot.writeStructEnd()
27019
 
27020
  def validate(self):
27021
    return
27022
 
27023
 
27024
  def __repr__(self):
27025
    L = ['%s=%r' % (key, value)
27026
      for key, value in self.__dict__.iteritems()]
27027
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27028
 
27029
  def __eq__(self, other):
27030
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27031
 
27032
  def __ne__(self, other):
27033
    return not (self == other)
27034
 
27035
class deleteProductFeedSubmit_args:
27036
  """
27037
  Attributes:
27038
   - catalogItemId
27039
  """
27040
 
27041
  thrift_spec = (
27042
    None, # 0
27043
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
27044
  )
27045
 
27046
  def __init__(self, catalogItemId=None,):
27047
    self.catalogItemId = catalogItemId
27048
 
27049
  def read(self, iprot):
27050
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27051
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27052
      return
27053
    iprot.readStructBegin()
27054
    while True:
27055
      (fname, ftype, fid) = iprot.readFieldBegin()
27056
      if ftype == TType.STOP:
27057
        break
27058
      if fid == 1:
27059
        if ftype == TType.I64:
27060
          self.catalogItemId = iprot.readI64();
27061
        else:
27062
          iprot.skip(ftype)
27063
      else:
27064
        iprot.skip(ftype)
27065
      iprot.readFieldEnd()
27066
    iprot.readStructEnd()
27067
 
27068
  def write(self, oprot):
27069
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27070
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27071
      return
27072
    oprot.writeStructBegin('deleteProductFeedSubmit_args')
27073
    if self.catalogItemId is not None:
27074
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
27075
      oprot.writeI64(self.catalogItemId)
27076
      oprot.writeFieldEnd()
27077
    oprot.writeFieldStop()
27078
    oprot.writeStructEnd()
27079
 
27080
  def validate(self):
27081
    return
27082
 
27083
 
27084
  def __repr__(self):
27085
    L = ['%s=%r' % (key, value)
27086
      for key, value in self.__dict__.iteritems()]
27087
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27088
 
27089
  def __eq__(self, other):
27090
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27091
 
27092
  def __ne__(self, other):
27093
    return not (self == other)
27094
 
27095
class deleteProductFeedSubmit_result:
27096
  """
27097
  Attributes:
27098
   - success
27099
   - cex
27100
  """
27101
 
27102
  thrift_spec = (
27103
    (0, TType.BOOL, 'success', None, None, ), # 0
27104
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27105
  )
27106
 
27107
  def __init__(self, success=None, cex=None,):
27108
    self.success = success
27109
    self.cex = cex
27110
 
27111
  def read(self, iprot):
27112
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27113
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27114
      return
27115
    iprot.readStructBegin()
27116
    while True:
27117
      (fname, ftype, fid) = iprot.readFieldBegin()
27118
      if ftype == TType.STOP:
27119
        break
27120
      if fid == 0:
27121
        if ftype == TType.BOOL:
27122
          self.success = iprot.readBool();
27123
        else:
27124
          iprot.skip(ftype)
27125
      elif fid == 1:
27126
        if ftype == TType.STRUCT:
27127
          self.cex = CatalogServiceException()
27128
          self.cex.read(iprot)
27129
        else:
27130
          iprot.skip(ftype)
27131
      else:
27132
        iprot.skip(ftype)
27133
      iprot.readFieldEnd()
27134
    iprot.readStructEnd()
27135
 
27136
  def write(self, oprot):
27137
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27138
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27139
      return
27140
    oprot.writeStructBegin('deleteProductFeedSubmit_result')
27141
    if self.success is not None:
27142
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27143
      oprot.writeBool(self.success)
27144
      oprot.writeFieldEnd()
27145
    if self.cex is not None:
27146
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27147
      self.cex.write(oprot)
27148
      oprot.writeFieldEnd()
27149
    oprot.writeFieldStop()
27150
    oprot.writeStructEnd()
27151
 
27152
  def validate(self):
27153
    return
27154
 
27155
 
27156
  def __repr__(self):
27157
    L = ['%s=%r' % (key, value)
27158
      for key, value in self.__dict__.iteritems()]
27159
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27160
 
27161
  def __eq__(self, other):
27162
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27163
 
27164
  def __ne__(self, other):
27165
    return not (self == other)
27166
 
27167
class getAllProductFeedSubmit_args:
27168
 
27169
  thrift_spec = (
27170
  )
27171
 
27172
  def read(self, iprot):
27173
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27174
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27175
      return
27176
    iprot.readStructBegin()
27177
    while True:
27178
      (fname, ftype, fid) = iprot.readFieldBegin()
27179
      if ftype == TType.STOP:
27180
        break
27181
      else:
27182
        iprot.skip(ftype)
27183
      iprot.readFieldEnd()
27184
    iprot.readStructEnd()
27185
 
27186
  def write(self, oprot):
27187
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27188
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27189
      return
27190
    oprot.writeStructBegin('getAllProductFeedSubmit_args')
27191
    oprot.writeFieldStop()
27192
    oprot.writeStructEnd()
27193
 
27194
  def validate(self):
27195
    return
27196
 
27197
 
27198
  def __repr__(self):
27199
    L = ['%s=%r' % (key, value)
27200
      for key, value in self.__dict__.iteritems()]
27201
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27202
 
27203
  def __eq__(self, other):
27204
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27205
 
27206
  def __ne__(self, other):
27207
    return not (self == other)
27208
 
27209
class getAllProductFeedSubmit_result:
27210
  """
27211
  Attributes:
27212
   - success
27213
   - cex
27214
  """
27215
 
27216
  thrift_spec = (
27217
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductFeedSubmit, ProductFeedSubmit.thrift_spec)), None, ), # 0
27218
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27219
  )
27220
 
27221
  def __init__(self, success=None, cex=None,):
27222
    self.success = success
27223
    self.cex = cex
27224
 
27225
  def read(self, iprot):
27226
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27227
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27228
      return
27229
    iprot.readStructBegin()
27230
    while True:
27231
      (fname, ftype, fid) = iprot.readFieldBegin()
27232
      if ftype == TType.STOP:
27233
        break
27234
      if fid == 0:
27235
        if ftype == TType.LIST:
27236
          self.success = []
13493 amit.gupta 27237
          (_etype576, _size573) = iprot.readListBegin()
27238
          for _i577 in xrange(_size573):
27239
            _elem578 = ProductFeedSubmit()
27240
            _elem578.read(iprot)
27241
            self.success.append(_elem578)
9621 manish.sha 27242
          iprot.readListEnd()
27243
        else:
27244
          iprot.skip(ftype)
27245
      elif fid == 1:
27246
        if ftype == TType.STRUCT:
27247
          self.cex = CatalogServiceException()
27248
          self.cex.read(iprot)
27249
        else:
27250
          iprot.skip(ftype)
27251
      else:
27252
        iprot.skip(ftype)
27253
      iprot.readFieldEnd()
27254
    iprot.readStructEnd()
27255
 
27256
  def write(self, oprot):
27257
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27258
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27259
      return
27260
    oprot.writeStructBegin('getAllProductFeedSubmit_result')
27261
    if self.success is not None:
27262
      oprot.writeFieldBegin('success', TType.LIST, 0)
27263
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 27264
      for iter579 in self.success:
27265
        iter579.write(oprot)
9621 manish.sha 27266
      oprot.writeListEnd()
27267
      oprot.writeFieldEnd()
27268
    if self.cex is not None:
27269
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27270
      self.cex.write(oprot)
27271
      oprot.writeFieldEnd()
27272
    oprot.writeFieldStop()
27273
    oprot.writeStructEnd()
27274
 
27275
  def validate(self):
27276
    return
27277
 
27278
 
27279
  def __repr__(self):
27280
    L = ['%s=%r' % (key, value)
27281
      for key, value in self.__dict__.iteritems()]
27282
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27283
 
27284
  def __eq__(self, other):
27285
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27286
 
27287
  def __ne__(self, other):
27288
    return not (self == other)
9724 kshitij.so 27289
 
27290
class getMarketplacedetailsForItem_args:
27291
  """
27292
  Attributes:
27293
   - itemId
27294
   - sourceId
27295
  """
27296
 
27297
  thrift_spec = (
27298
    None, # 0
27299
    (1, TType.I64, 'itemId', None, None, ), # 1
27300
    (2, TType.I64, 'sourceId', None, None, ), # 2
27301
  )
27302
 
27303
  def __init__(self, itemId=None, sourceId=None,):
27304
    self.itemId = itemId
27305
    self.sourceId = sourceId
27306
 
27307
  def read(self, iprot):
27308
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27309
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27310
      return
27311
    iprot.readStructBegin()
27312
    while True:
27313
      (fname, ftype, fid) = iprot.readFieldBegin()
27314
      if ftype == TType.STOP:
27315
        break
27316
      if fid == 1:
27317
        if ftype == TType.I64:
27318
          self.itemId = iprot.readI64();
27319
        else:
27320
          iprot.skip(ftype)
27321
      elif fid == 2:
27322
        if ftype == TType.I64:
27323
          self.sourceId = iprot.readI64();
27324
        else:
27325
          iprot.skip(ftype)
27326
      else:
27327
        iprot.skip(ftype)
27328
      iprot.readFieldEnd()
27329
    iprot.readStructEnd()
27330
 
27331
  def write(self, oprot):
27332
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27333
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27334
      return
27335
    oprot.writeStructBegin('getMarketplacedetailsForItem_args')
27336
    if self.itemId is not None:
27337
      oprot.writeFieldBegin('itemId', TType.I64, 1)
27338
      oprot.writeI64(self.itemId)
27339
      oprot.writeFieldEnd()
27340
    if self.sourceId is not None:
27341
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
27342
      oprot.writeI64(self.sourceId)
27343
      oprot.writeFieldEnd()
27344
    oprot.writeFieldStop()
27345
    oprot.writeStructEnd()
27346
 
27347
  def validate(self):
27348
    return
27349
 
27350
 
27351
  def __repr__(self):
27352
    L = ['%s=%r' % (key, value)
27353
      for key, value in self.__dict__.iteritems()]
27354
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27355
 
27356
  def __eq__(self, other):
27357
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27358
 
27359
  def __ne__(self, other):
27360
    return not (self == other)
27361
 
27362
class getMarketplacedetailsForItem_result:
27363
  """
27364
  Attributes:
27365
   - success
27366
  """
27367
 
27368
  thrift_spec = (
27369
    (0, TType.STRUCT, 'success', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 0
27370
  )
27371
 
27372
  def __init__(self, success=None,):
27373
    self.success = success
27374
 
27375
  def read(self, iprot):
27376
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27377
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27378
      return
27379
    iprot.readStructBegin()
27380
    while True:
27381
      (fname, ftype, fid) = iprot.readFieldBegin()
27382
      if ftype == TType.STOP:
27383
        break
27384
      if fid == 0:
27385
        if ftype == TType.STRUCT:
27386
          self.success = MarketplaceItems()
27387
          self.success.read(iprot)
27388
        else:
27389
          iprot.skip(ftype)
27390
      else:
27391
        iprot.skip(ftype)
27392
      iprot.readFieldEnd()
27393
    iprot.readStructEnd()
27394
 
27395
  def write(self, oprot):
27396
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27397
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27398
      return
27399
    oprot.writeStructBegin('getMarketplacedetailsForItem_result')
27400
    if self.success is not None:
27401
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27402
      self.success.write(oprot)
27403
      oprot.writeFieldEnd()
27404
    oprot.writeFieldStop()
27405
    oprot.writeStructEnd()
27406
 
27407
  def validate(self):
27408
    return
27409
 
27410
 
27411
  def __repr__(self):
27412
    L = ['%s=%r' % (key, value)
27413
      for key, value in self.__dict__.iteritems()]
27414
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27415
 
27416
  def __eq__(self, other):
27417
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27418
 
27419
  def __ne__(self, other):
27420
    return not (self == other)
27421
 
27422
class updateMarketplaceAttributesForItem_args:
27423
  """
27424
  Attributes:
27425
   - marketPlaceItem
27426
  """
27427
 
27428
  thrift_spec = (
27429
    None, # 0
27430
    (1, TType.STRUCT, 'marketPlaceItem', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 1
27431
  )
27432
 
27433
  def __init__(self, marketPlaceItem=None,):
27434
    self.marketPlaceItem = marketPlaceItem
27435
 
27436
  def read(self, iprot):
27437
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27438
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27439
      return
27440
    iprot.readStructBegin()
27441
    while True:
27442
      (fname, ftype, fid) = iprot.readFieldBegin()
27443
      if ftype == TType.STOP:
27444
        break
27445
      if fid == 1:
27446
        if ftype == TType.STRUCT:
27447
          self.marketPlaceItem = MarketplaceItems()
27448
          self.marketPlaceItem.read(iprot)
27449
        else:
27450
          iprot.skip(ftype)
27451
      else:
27452
        iprot.skip(ftype)
27453
      iprot.readFieldEnd()
27454
    iprot.readStructEnd()
27455
 
27456
  def write(self, oprot):
27457
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27458
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27459
      return
27460
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_args')
27461
    if self.marketPlaceItem is not None:
27462
      oprot.writeFieldBegin('marketPlaceItem', TType.STRUCT, 1)
27463
      self.marketPlaceItem.write(oprot)
27464
      oprot.writeFieldEnd()
27465
    oprot.writeFieldStop()
27466
    oprot.writeStructEnd()
27467
 
27468
  def validate(self):
27469
    return
27470
 
27471
 
27472
  def __repr__(self):
27473
    L = ['%s=%r' % (key, value)
27474
      for key, value in self.__dict__.iteritems()]
27475
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27476
 
27477
  def __eq__(self, other):
27478
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27479
 
27480
  def __ne__(self, other):
27481
    return not (self == other)
27482
 
27483
class updateMarketplaceAttributesForItem_result:
27484
  """
27485
  Attributes:
27486
   - success
27487
  """
27488
 
27489
  thrift_spec = (
27490
    (0, TType.BOOL, 'success', None, None, ), # 0
27491
  )
27492
 
27493
  def __init__(self, success=None,):
27494
    self.success = success
27495
 
27496
  def read(self, iprot):
27497
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27498
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27499
      return
27500
    iprot.readStructBegin()
27501
    while True:
27502
      (fname, ftype, fid) = iprot.readFieldBegin()
27503
      if ftype == TType.STOP:
27504
        break
27505
      if fid == 0:
27506
        if ftype == TType.BOOL:
27507
          self.success = iprot.readBool();
27508
        else:
27509
          iprot.skip(ftype)
27510
      else:
27511
        iprot.skip(ftype)
27512
      iprot.readFieldEnd()
27513
    iprot.readStructEnd()
27514
 
27515
  def write(self, oprot):
27516
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27517
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27518
      return
27519
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_result')
27520
    if self.success is not None:
27521
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27522
      oprot.writeBool(self.success)
27523
      oprot.writeFieldEnd()
27524
    oprot.writeFieldStop()
27525
    oprot.writeStructEnd()
27526
 
27527
  def validate(self):
27528
    return
27529
 
27530
 
27531
  def __repr__(self):
27532
    L = ['%s=%r' % (key, value)
27533
      for key, value in self.__dict__.iteritems()]
27534
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27535
 
27536
  def __eq__(self, other):
27537
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27538
 
27539
  def __ne__(self, other):
27540
    return not (self == other)
9776 vikram.rag 27541
 
9779 kshitij.so 27542
class getCostingForMarketplace_args:
27543
  """
27544
  Attributes:
27545
   - source
27546
   - item_id
27547
  """
27548
 
27549
  thrift_spec = (
27550
    None, # 0
27551
    (1, TType.I64, 'source', None, None, ), # 1
27552
    (2, TType.I64, 'item_id', None, None, ), # 2
27553
  )
27554
 
27555
  def __init__(self, source=None, item_id=None,):
27556
    self.source = source
27557
    self.item_id = item_id
27558
 
27559
  def read(self, iprot):
27560
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27561
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27562
      return
27563
    iprot.readStructBegin()
27564
    while True:
27565
      (fname, ftype, fid) = iprot.readFieldBegin()
27566
      if ftype == TType.STOP:
27567
        break
27568
      if fid == 1:
27569
        if ftype == TType.I64:
27570
          self.source = iprot.readI64();
27571
        else:
27572
          iprot.skip(ftype)
27573
      elif fid == 2:
27574
        if ftype == TType.I64:
27575
          self.item_id = iprot.readI64();
27576
        else:
27577
          iprot.skip(ftype)
27578
      else:
27579
        iprot.skip(ftype)
27580
      iprot.readFieldEnd()
27581
    iprot.readStructEnd()
27582
 
27583
  def write(self, oprot):
27584
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27585
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27586
      return
27587
    oprot.writeStructBegin('getCostingForMarketplace_args')
27588
    if self.source is not None:
27589
      oprot.writeFieldBegin('source', TType.I64, 1)
27590
      oprot.writeI64(self.source)
27591
      oprot.writeFieldEnd()
27592
    if self.item_id is not None:
27593
      oprot.writeFieldBegin('item_id', TType.I64, 2)
27594
      oprot.writeI64(self.item_id)
27595
      oprot.writeFieldEnd()
27596
    oprot.writeFieldStop()
27597
    oprot.writeStructEnd()
27598
 
27599
  def validate(self):
27600
    return
27601
 
27602
 
27603
  def __repr__(self):
27604
    L = ['%s=%r' % (key, value)
27605
      for key, value in self.__dict__.iteritems()]
27606
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27607
 
27608
  def __eq__(self, other):
27609
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27610
 
27611
  def __ne__(self, other):
27612
    return not (self == other)
27613
 
27614
class getCostingForMarketplace_result:
27615
  """
27616
  Attributes:
27617
   - success
27618
  """
27619
 
27620
  thrift_spec = (
27621
    (0, TType.STRUCT, 'success', (MarketplacePercentage, MarketplacePercentage.thrift_spec), None, ), # 0
27622
  )
27623
 
27624
  def __init__(self, success=None,):
27625
    self.success = success
27626
 
27627
  def read(self, iprot):
27628
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27629
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27630
      return
27631
    iprot.readStructBegin()
27632
    while True:
27633
      (fname, ftype, fid) = iprot.readFieldBegin()
27634
      if ftype == TType.STOP:
27635
        break
27636
      if fid == 0:
27637
        if ftype == TType.STRUCT:
27638
          self.success = MarketplacePercentage()
27639
          self.success.read(iprot)
27640
        else:
27641
          iprot.skip(ftype)
27642
      else:
27643
        iprot.skip(ftype)
27644
      iprot.readFieldEnd()
27645
    iprot.readStructEnd()
27646
 
27647
  def write(self, oprot):
27648
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27649
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27650
      return
27651
    oprot.writeStructBegin('getCostingForMarketplace_result')
27652
    if self.success is not None:
27653
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27654
      self.success.write(oprot)
27655
      oprot.writeFieldEnd()
27656
    oprot.writeFieldStop()
27657
    oprot.writeStructEnd()
27658
 
27659
  def validate(self):
27660
    return
27661
 
27662
 
27663
  def __repr__(self):
27664
    L = ['%s=%r' % (key, value)
27665
      for key, value in self.__dict__.iteritems()]
27666
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27667
 
27668
  def __eq__(self, other):
27669
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27670
 
27671
  def __ne__(self, other):
27672
    return not (self == other)
27673
 
9776 vikram.rag 27674
class getMarketPlaceItemsForPriceUpdate_args:
27675
  """
27676
  Attributes:
27677
   - source
27678
  """
27679
 
27680
  thrift_spec = (
27681
    None, # 0
27682
    (1, TType.I64, 'source', None, None, ), # 1
27683
  )
27684
 
27685
  def __init__(self, source=None,):
27686
    self.source = source
27687
 
27688
  def read(self, iprot):
27689
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27690
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27691
      return
27692
    iprot.readStructBegin()
27693
    while True:
27694
      (fname, ftype, fid) = iprot.readFieldBegin()
27695
      if ftype == TType.STOP:
27696
        break
27697
      if fid == 1:
27698
        if ftype == TType.I64:
27699
          self.source = iprot.readI64();
27700
        else:
27701
          iprot.skip(ftype)
27702
      else:
27703
        iprot.skip(ftype)
27704
      iprot.readFieldEnd()
27705
    iprot.readStructEnd()
27706
 
27707
  def write(self, oprot):
27708
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27709
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27710
      return
27711
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_args')
27712
    if self.source is not None:
27713
      oprot.writeFieldBegin('source', TType.I64, 1)
27714
      oprot.writeI64(self.source)
27715
      oprot.writeFieldEnd()
27716
    oprot.writeFieldStop()
27717
    oprot.writeStructEnd()
27718
 
27719
  def validate(self):
27720
    return
27721
 
27722
 
27723
  def __repr__(self):
27724
    L = ['%s=%r' % (key, value)
27725
      for key, value in self.__dict__.iteritems()]
27726
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27727
 
27728
  def __eq__(self, other):
27729
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27730
 
27731
  def __ne__(self, other):
27732
    return not (self == other)
27733
 
27734
class getMarketPlaceItemsForPriceUpdate_result:
27735
  """
27736
  Attributes:
27737
   - success
27738
  """
27739
 
27740
  thrift_spec = (
27741
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketPlaceItemPrice, MarketPlaceItemPrice.thrift_spec)), None, ), # 0
27742
  )
27743
 
27744
  def __init__(self, success=None,):
27745
    self.success = success
27746
 
27747
  def read(self, iprot):
27748
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27749
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27750
      return
27751
    iprot.readStructBegin()
27752
    while True:
27753
      (fname, ftype, fid) = iprot.readFieldBegin()
27754
      if ftype == TType.STOP:
27755
        break
27756
      if fid == 0:
27757
        if ftype == TType.LIST:
27758
          self.success = []
13493 amit.gupta 27759
          (_etype583, _size580) = iprot.readListBegin()
27760
          for _i584 in xrange(_size580):
27761
            _elem585 = MarketPlaceItemPrice()
27762
            _elem585.read(iprot)
27763
            self.success.append(_elem585)
9776 vikram.rag 27764
          iprot.readListEnd()
27765
        else:
27766
          iprot.skip(ftype)
27767
      else:
27768
        iprot.skip(ftype)
27769
      iprot.readFieldEnd()
27770
    iprot.readStructEnd()
27771
 
27772
  def write(self, oprot):
27773
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27774
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27775
      return
27776
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_result')
27777
    if self.success is not None:
27778
      oprot.writeFieldBegin('success', TType.LIST, 0)
27779
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 27780
      for iter586 in self.success:
27781
        iter586.write(oprot)
9776 vikram.rag 27782
      oprot.writeListEnd()
27783
      oprot.writeFieldEnd()
27784
    oprot.writeFieldStop()
27785
    oprot.writeStructEnd()
27786
 
27787
  def validate(self):
27788
    return
27789
 
27790
 
27791
  def __repr__(self):
27792
    L = ['%s=%r' % (key, value)
27793
      for key, value in self.__dict__.iteritems()]
27794
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27795
 
27796
  def __eq__(self, other):
27797
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27798
 
27799
  def __ne__(self, other):
27800
    return not (self == other)
27801
 
27802
class updateMarketPlacePriceUpdateStatus_args:
27803
  """
27804
  Attributes:
27805
   - skulist
27806
   - timestamp
9816 kshitij.so 27807
   - source
9776 vikram.rag 27808
  """
27809
 
27810
  thrift_spec = (
27811
    None, # 0
27812
    (1, TType.LIST, 'skulist', (TType.I64,None), None, ), # 1
27813
    (2, TType.I64, 'timestamp', None, None, ), # 2
9816 kshitij.so 27814
    (3, TType.I64, 'source', None, None, ), # 3
9776 vikram.rag 27815
  )
27816
 
9816 kshitij.so 27817
  def __init__(self, skulist=None, timestamp=None, source=None,):
9776 vikram.rag 27818
    self.skulist = skulist
27819
    self.timestamp = timestamp
9816 kshitij.so 27820
    self.source = source
9776 vikram.rag 27821
 
27822
  def read(self, iprot):
27823
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27824
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27825
      return
27826
    iprot.readStructBegin()
27827
    while True:
27828
      (fname, ftype, fid) = iprot.readFieldBegin()
27829
      if ftype == TType.STOP:
27830
        break
27831
      if fid == 1:
27832
        if ftype == TType.LIST:
27833
          self.skulist = []
13493 amit.gupta 27834
          (_etype590, _size587) = iprot.readListBegin()
27835
          for _i591 in xrange(_size587):
27836
            _elem592 = iprot.readI64();
27837
            self.skulist.append(_elem592)
9776 vikram.rag 27838
          iprot.readListEnd()
27839
        else:
27840
          iprot.skip(ftype)
27841
      elif fid == 2:
27842
        if ftype == TType.I64:
27843
          self.timestamp = iprot.readI64();
27844
        else:
27845
          iprot.skip(ftype)
9816 kshitij.so 27846
      elif fid == 3:
27847
        if ftype == TType.I64:
27848
          self.source = iprot.readI64();
27849
        else:
27850
          iprot.skip(ftype)
9776 vikram.rag 27851
      else:
27852
        iprot.skip(ftype)
27853
      iprot.readFieldEnd()
27854
    iprot.readStructEnd()
27855
 
27856
  def write(self, oprot):
27857
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27858
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27859
      return
27860
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_args')
27861
    if self.skulist is not None:
27862
      oprot.writeFieldBegin('skulist', TType.LIST, 1)
27863
      oprot.writeListBegin(TType.I64, len(self.skulist))
13493 amit.gupta 27864
      for iter593 in self.skulist:
27865
        oprot.writeI64(iter593)
9776 vikram.rag 27866
      oprot.writeListEnd()
27867
      oprot.writeFieldEnd()
27868
    if self.timestamp is not None:
27869
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
27870
      oprot.writeI64(self.timestamp)
27871
      oprot.writeFieldEnd()
9816 kshitij.so 27872
    if self.source is not None:
27873
      oprot.writeFieldBegin('source', TType.I64, 3)
27874
      oprot.writeI64(self.source)
27875
      oprot.writeFieldEnd()
9776 vikram.rag 27876
    oprot.writeFieldStop()
27877
    oprot.writeStructEnd()
27878
 
27879
  def validate(self):
27880
    return
27881
 
27882
 
27883
  def __repr__(self):
27884
    L = ['%s=%r' % (key, value)
27885
      for key, value in self.__dict__.iteritems()]
27886
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27887
 
27888
  def __eq__(self, other):
27889
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27890
 
27891
  def __ne__(self, other):
27892
    return not (self == other)
27893
 
27894
class updateMarketPlacePriceUpdateStatus_result:
27895
 
27896
  thrift_spec = (
27897
  )
27898
 
27899
  def read(self, iprot):
27900
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27901
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27902
      return
27903
    iprot.readStructBegin()
27904
    while True:
27905
      (fname, ftype, fid) = iprot.readFieldBegin()
27906
      if ftype == TType.STOP:
27907
        break
27908
      else:
27909
        iprot.skip(ftype)
27910
      iprot.readFieldEnd()
27911
    iprot.readStructEnd()
27912
 
27913
  def write(self, oprot):
27914
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27915
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27916
      return
27917
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_result')
27918
    oprot.writeFieldStop()
27919
    oprot.writeStructEnd()
27920
 
27921
  def validate(self):
27922
    return
27923
 
27924
 
27925
  def __repr__(self):
27926
    L = ['%s=%r' % (key, value)
27927
      for key, value in self.__dict__.iteritems()]
27928
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27929
 
27930
  def __eq__(self, other):
27931
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27932
 
27933
  def __ne__(self, other):
27934
    return not (self == other)
9861 rajveer 27935
 
27936
class updateItemHoldInventory_args:
27937
  """
27938
  Attributes:
27939
   - itemHoldMap
27940
  """
27941
 
27942
  thrift_spec = (
27943
    None, # 0
27944
    (1, TType.MAP, 'itemHoldMap', (TType.I64,None,TType.I64,None), None, ), # 1
27945
  )
27946
 
27947
  def __init__(self, itemHoldMap=None,):
27948
    self.itemHoldMap = itemHoldMap
27949
 
27950
  def read(self, iprot):
27951
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27952
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27953
      return
27954
    iprot.readStructBegin()
27955
    while True:
27956
      (fname, ftype, fid) = iprot.readFieldBegin()
27957
      if ftype == TType.STOP:
27958
        break
27959
      if fid == 1:
27960
        if ftype == TType.MAP:
27961
          self.itemHoldMap = {}
13493 amit.gupta 27962
          (_ktype595, _vtype596, _size594 ) = iprot.readMapBegin() 
27963
          for _i598 in xrange(_size594):
27964
            _key599 = iprot.readI64();
27965
            _val600 = iprot.readI64();
27966
            self.itemHoldMap[_key599] = _val600
9861 rajveer 27967
          iprot.readMapEnd()
27968
        else:
27969
          iprot.skip(ftype)
27970
      else:
27971
        iprot.skip(ftype)
27972
      iprot.readFieldEnd()
27973
    iprot.readStructEnd()
27974
 
27975
  def write(self, oprot):
27976
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27977
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27978
      return
27979
    oprot.writeStructBegin('updateItemHoldInventory_args')
27980
    if self.itemHoldMap is not None:
27981
      oprot.writeFieldBegin('itemHoldMap', TType.MAP, 1)
27982
      oprot.writeMapBegin(TType.I64, TType.I64, len(self.itemHoldMap))
13493 amit.gupta 27983
      for kiter601,viter602 in self.itemHoldMap.items():
27984
        oprot.writeI64(kiter601)
27985
        oprot.writeI64(viter602)
9861 rajveer 27986
      oprot.writeMapEnd()
27987
      oprot.writeFieldEnd()
27988
    oprot.writeFieldStop()
27989
    oprot.writeStructEnd()
27990
 
27991
  def validate(self):
27992
    return
27993
 
27994
 
27995
  def __repr__(self):
27996
    L = ['%s=%r' % (key, value)
27997
      for key, value in self.__dict__.iteritems()]
27998
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27999
 
28000
  def __eq__(self, other):
28001
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28002
 
28003
  def __ne__(self, other):
28004
    return not (self == other)
28005
 
28006
class updateItemHoldInventory_result:
28007
 
28008
  thrift_spec = (
28009
  )
28010
 
28011
  def read(self, iprot):
28012
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28013
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28014
      return
28015
    iprot.readStructBegin()
28016
    while True:
28017
      (fname, ftype, fid) = iprot.readFieldBegin()
28018
      if ftype == TType.STOP:
28019
        break
28020
      else:
28021
        iprot.skip(ftype)
28022
      iprot.readFieldEnd()
28023
    iprot.readStructEnd()
28024
 
28025
  def write(self, oprot):
28026
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28027
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28028
      return
28029
    oprot.writeStructBegin('updateItemHoldInventory_result')
28030
    oprot.writeFieldStop()
28031
    oprot.writeStructEnd()
28032
 
28033
  def validate(self):
28034
    return
28035
 
28036
 
28037
  def __repr__(self):
28038
    L = ['%s=%r' % (key, value)
28039
      for key, value in self.__dict__.iteritems()]
28040
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28041
 
28042
  def __eq__(self, other):
28043
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28044
 
28045
  def __ne__(self, other):
28046
    return not (self == other)
9895 vikram.rag 28047
 
28048
class updateNlcAtMarketplaces_args:
28049
  """
28050
  Attributes:
28051
   - item_id
28052
   - vendor_id
28053
   - nlc
28054
  """
28055
 
28056
  thrift_spec = None
28057
  def __init__(self, item_id=None, vendor_id=None, nlc=None,):
28058
    self.item_id = item_id
28059
    self.vendor_id = vendor_id
28060
    self.nlc = nlc
28061
 
28062
  def read(self, iprot):
28063
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28064
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28065
      return
28066
    iprot.readStructBegin()
28067
    while True:
28068
      (fname, ftype, fid) = iprot.readFieldBegin()
28069
      if ftype == TType.STOP:
28070
        break
28071
      if fid == 1:
28072
        if ftype == TType.I64:
28073
          self.item_id = iprot.readI64();
28074
        else:
28075
          iprot.skip(ftype)
28076
      elif fid == 2:
28077
        if ftype == TType.I64:
28078
          self.vendor_id = iprot.readI64();
28079
        else:
28080
          iprot.skip(ftype)
28081
      elif fid == -1:
28082
        if ftype == TType.DOUBLE:
28083
          self.nlc = iprot.readDouble();
28084
        else:
28085
          iprot.skip(ftype)
28086
      else:
28087
        iprot.skip(ftype)
28088
      iprot.readFieldEnd()
28089
    iprot.readStructEnd()
28090
 
28091
  def write(self, oprot):
28092
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28093
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28094
      return
28095
    oprot.writeStructBegin('updateNlcAtMarketplaces_args')
28096
    if self.nlc is not None:
28097
      oprot.writeFieldBegin('nlc', TType.DOUBLE, -1)
28098
      oprot.writeDouble(self.nlc)
28099
      oprot.writeFieldEnd()
28100
    if self.item_id is not None:
28101
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28102
      oprot.writeI64(self.item_id)
28103
      oprot.writeFieldEnd()
28104
    if self.vendor_id is not None:
28105
      oprot.writeFieldBegin('vendor_id', TType.I64, 2)
28106
      oprot.writeI64(self.vendor_id)
28107
      oprot.writeFieldEnd()
28108
    oprot.writeFieldStop()
28109
    oprot.writeStructEnd()
28110
 
28111
  def validate(self):
28112
    return
28113
 
28114
 
28115
  def __repr__(self):
28116
    L = ['%s=%r' % (key, value)
28117
      for key, value in self.__dict__.iteritems()]
28118
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28119
 
28120
  def __eq__(self, other):
28121
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28122
 
28123
  def __ne__(self, other):
28124
    return not (self == other)
28125
 
28126
class updateNlcAtMarketplaces_result:
28127
 
28128
  thrift_spec = (
28129
  )
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
      else:
28141
        iprot.skip(ftype)
28142
      iprot.readFieldEnd()
28143
    iprot.readStructEnd()
28144
 
28145
  def write(self, oprot):
28146
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28147
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28148
      return
28149
    oprot.writeStructBegin('updateNlcAtMarketplaces_result')
28150
    oprot.writeFieldStop()
28151
    oprot.writeStructEnd()
28152
 
28153
  def validate(self):
28154
    return
28155
 
28156
 
28157
  def __repr__(self):
28158
    L = ['%s=%r' % (key, value)
28159
      for key, value in self.__dict__.iteritems()]
28160
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28161
 
28162
  def __eq__(self, other):
28163
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28164
 
28165
  def __ne__(self, other):
28166
    return not (self == other)
9945 vikram.rag 28167
 
28168
class getAllFlipkartItems_args:
28169
 
28170
  thrift_spec = (
28171
  )
28172
 
28173
  def read(self, iprot):
28174
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28175
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28176
      return
28177
    iprot.readStructBegin()
28178
    while True:
28179
      (fname, ftype, fid) = iprot.readFieldBegin()
28180
      if ftype == TType.STOP:
28181
        break
28182
      else:
28183
        iprot.skip(ftype)
28184
      iprot.readFieldEnd()
28185
    iprot.readStructEnd()
28186
 
28187
  def write(self, oprot):
28188
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28189
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28190
      return
28191
    oprot.writeStructBegin('getAllFlipkartItems_args')
28192
    oprot.writeFieldStop()
28193
    oprot.writeStructEnd()
28194
 
28195
  def validate(self):
28196
    return
28197
 
28198
 
28199
  def __repr__(self):
28200
    L = ['%s=%r' % (key, value)
28201
      for key, value in self.__dict__.iteritems()]
28202
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28203
 
28204
  def __eq__(self, other):
28205
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28206
 
28207
  def __ne__(self, other):
28208
    return not (self == other)
28209
 
28210
class getAllFlipkartItems_result:
28211
  """
28212
  Attributes:
28213
   - success
28214
  """
28215
 
28216
  thrift_spec = (
28217
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
28218
  )
28219
 
28220
  def __init__(self, success=None,):
28221
    self.success = success
28222
 
28223
  def read(self, iprot):
28224
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28225
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28226
      return
28227
    iprot.readStructBegin()
28228
    while True:
28229
      (fname, ftype, fid) = iprot.readFieldBegin()
28230
      if ftype == TType.STOP:
28231
        break
28232
      if fid == 0:
28233
        if ftype == TType.LIST:
28234
          self.success = []
13493 amit.gupta 28235
          (_etype606, _size603) = iprot.readListBegin()
28236
          for _i607 in xrange(_size603):
28237
            _elem608 = FlipkartItem()
28238
            _elem608.read(iprot)
28239
            self.success.append(_elem608)
9945 vikram.rag 28240
          iprot.readListEnd()
28241
        else:
28242
          iprot.skip(ftype)
28243
      else:
28244
        iprot.skip(ftype)
28245
      iprot.readFieldEnd()
28246
    iprot.readStructEnd()
28247
 
28248
  def write(self, oprot):
28249
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28250
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28251
      return
28252
    oprot.writeStructBegin('getAllFlipkartItems_result')
28253
    if self.success is not None:
28254
      oprot.writeFieldBegin('success', TType.LIST, 0)
28255
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 28256
      for iter609 in self.success:
28257
        iter609.write(oprot)
9945 vikram.rag 28258
      oprot.writeListEnd()
28259
      oprot.writeFieldEnd()
28260
    oprot.writeFieldStop()
28261
    oprot.writeStructEnd()
28262
 
28263
  def validate(self):
28264
    return
28265
 
28266
 
28267
  def __repr__(self):
28268
    L = ['%s=%r' % (key, value)
28269
      for key, value in self.__dict__.iteritems()]
28270
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28271
 
28272
  def __eq__(self, other):
28273
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28274
 
28275
  def __ne__(self, other):
28276
    return not (self == other)
10097 kshitij.so 28277
 
28278
class addOrUpdateFlipkartItem_args:
28279
  """
28280
  Attributes:
28281
   - flipkartitem
28282
  """
28283
 
28284
  thrift_spec = None
28285
  def __init__(self, flipkartitem=None,):
28286
    self.flipkartitem = flipkartitem
28287
 
28288
  def read(self, iprot):
28289
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28290
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28291
      return
28292
    iprot.readStructBegin()
28293
    while True:
28294
      (fname, ftype, fid) = iprot.readFieldBegin()
28295
      if ftype == TType.STOP:
28296
        break
28297
      if fid == -1:
28298
        if ftype == TType.STRUCT:
28299
          self.flipkartitem = FlipkartItem()
28300
          self.flipkartitem.read(iprot)
28301
        else:
28302
          iprot.skip(ftype)
28303
      else:
28304
        iprot.skip(ftype)
28305
      iprot.readFieldEnd()
28306
    iprot.readStructEnd()
28307
 
28308
  def write(self, oprot):
28309
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28310
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28311
      return
28312
    oprot.writeStructBegin('addOrUpdateFlipkartItem_args')
28313
    if self.flipkartitem is not None:
28314
      oprot.writeFieldBegin('flipkartitem', TType.STRUCT, -1)
28315
      self.flipkartitem.write(oprot)
28316
      oprot.writeFieldEnd()
28317
    oprot.writeFieldStop()
28318
    oprot.writeStructEnd()
28319
 
28320
  def validate(self):
28321
    return
28322
 
28323
 
28324
  def __repr__(self):
28325
    L = ['%s=%r' % (key, value)
28326
      for key, value in self.__dict__.iteritems()]
28327
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28328
 
28329
  def __eq__(self, other):
28330
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28331
 
28332
  def __ne__(self, other):
28333
    return not (self == other)
28334
 
28335
class addOrUpdateFlipkartItem_result:
28336
  """
28337
  Attributes:
28338
   - success
28339
  """
28340
 
28341
  thrift_spec = (
28342
    (0, TType.BOOL, 'success', None, None, ), # 0
28343
  )
28344
 
28345
  def __init__(self, success=None,):
28346
    self.success = success
28347
 
28348
  def read(self, iprot):
28349
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28350
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28351
      return
28352
    iprot.readStructBegin()
28353
    while True:
28354
      (fname, ftype, fid) = iprot.readFieldBegin()
28355
      if ftype == TType.STOP:
28356
        break
28357
      if fid == 0:
28358
        if ftype == TType.BOOL:
28359
          self.success = iprot.readBool();
28360
        else:
28361
          iprot.skip(ftype)
28362
      else:
28363
        iprot.skip(ftype)
28364
      iprot.readFieldEnd()
28365
    iprot.readStructEnd()
28366
 
28367
  def write(self, oprot):
28368
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28369
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28370
      return
28371
    oprot.writeStructBegin('addOrUpdateFlipkartItem_result')
28372
    if self.success is not None:
28373
      oprot.writeFieldBegin('success', TType.BOOL, 0)
28374
      oprot.writeBool(self.success)
28375
      oprot.writeFieldEnd()
28376
    oprot.writeFieldStop()
28377
    oprot.writeStructEnd()
28378
 
28379
  def validate(self):
28380
    return
28381
 
28382
 
28383
  def __repr__(self):
28384
    L = ['%s=%r' % (key, value)
28385
      for key, value in self.__dict__.iteritems()]
28386
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28387
 
28388
  def __eq__(self, other):
28389
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28390
 
28391
  def __ne__(self, other):
28392
    return not (self == other)
28393
 
28394
class getFlipkartItem_args:
28395
  """
28396
  Attributes:
28397
   - item_id
28398
  """
28399
 
28400
  thrift_spec = (
28401
    None, # 0
28402
    (1, TType.I64, 'item_id', None, None, ), # 1
28403
  )
28404
 
28405
  def __init__(self, item_id=None,):
28406
    self.item_id = item_id
28407
 
28408
  def read(self, iprot):
28409
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28410
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28411
      return
28412
    iprot.readStructBegin()
28413
    while True:
28414
      (fname, ftype, fid) = iprot.readFieldBegin()
28415
      if ftype == TType.STOP:
28416
        break
28417
      if fid == 1:
28418
        if ftype == TType.I64:
28419
          self.item_id = iprot.readI64();
28420
        else:
28421
          iprot.skip(ftype)
28422
      else:
28423
        iprot.skip(ftype)
28424
      iprot.readFieldEnd()
28425
    iprot.readStructEnd()
28426
 
28427
  def write(self, oprot):
28428
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28429
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28430
      return
28431
    oprot.writeStructBegin('getFlipkartItem_args')
28432
    if self.item_id is not None:
28433
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28434
      oprot.writeI64(self.item_id)
28435
      oprot.writeFieldEnd()
28436
    oprot.writeFieldStop()
28437
    oprot.writeStructEnd()
28438
 
28439
  def validate(self):
28440
    return
28441
 
28442
 
28443
  def __repr__(self):
28444
    L = ['%s=%r' % (key, value)
28445
      for key, value in self.__dict__.iteritems()]
28446
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28447
 
28448
  def __eq__(self, other):
28449
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28450
 
28451
  def __ne__(self, other):
28452
    return not (self == other)
28453
 
28454
class getFlipkartItem_result:
28455
  """
28456
  Attributes:
28457
   - success
28458
  """
28459
 
28460
  thrift_spec = (
28461
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
28462
  )
28463
 
28464
  def __init__(self, success=None,):
28465
    self.success = success
28466
 
28467
  def read(self, iprot):
28468
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28469
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28470
      return
28471
    iprot.readStructBegin()
28472
    while True:
28473
      (fname, ftype, fid) = iprot.readFieldBegin()
28474
      if ftype == TType.STOP:
28475
        break
28476
      if fid == 0:
28477
        if ftype == TType.STRUCT:
28478
          self.success = FlipkartItem()
28479
          self.success.read(iprot)
28480
        else:
28481
          iprot.skip(ftype)
28482
      else:
28483
        iprot.skip(ftype)
28484
      iprot.readFieldEnd()
28485
    iprot.readStructEnd()
28486
 
28487
  def write(self, oprot):
28488
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28489
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28490
      return
28491
    oprot.writeStructBegin('getFlipkartItem_result')
28492
    if self.success is not None:
28493
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28494
      self.success.write(oprot)
28495
      oprot.writeFieldEnd()
28496
    oprot.writeFieldStop()
28497
    oprot.writeStructEnd()
28498
 
28499
  def validate(self):
28500
    return
28501
 
28502
 
28503
  def __repr__(self):
28504
    L = ['%s=%r' % (key, value)
28505
      for key, value in self.__dict__.iteritems()]
28506
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28507
 
28508
  def __eq__(self, other):
28509
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28510
 
28511
  def __ne__(self, other):
28512
    return not (self == other)
28513
 
28514
class getFlipkartItemDetails_args:
28515
  """
28516
  Attributes:
28517
   - item_id
28518
  """
28519
 
28520
  thrift_spec = (
28521
    None, # 0
28522
    (1, TType.I64, 'item_id', None, None, ), # 1
28523
  )
28524
 
28525
  def __init__(self, item_id=None,):
28526
    self.item_id = item_id
28527
 
28528
  def read(self, iprot):
28529
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28530
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28531
      return
28532
    iprot.readStructBegin()
28533
    while True:
28534
      (fname, ftype, fid) = iprot.readFieldBegin()
28535
      if ftype == TType.STOP:
28536
        break
28537
      if fid == 1:
28538
        if ftype == TType.I64:
28539
          self.item_id = iprot.readI64();
28540
        else:
28541
          iprot.skip(ftype)
28542
      else:
28543
        iprot.skip(ftype)
28544
      iprot.readFieldEnd()
28545
    iprot.readStructEnd()
28546
 
28547
  def write(self, oprot):
28548
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28549
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28550
      return
28551
    oprot.writeStructBegin('getFlipkartItemDetails_args')
28552
    if self.item_id is not None:
28553
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28554
      oprot.writeI64(self.item_id)
28555
      oprot.writeFieldEnd()
28556
    oprot.writeFieldStop()
28557
    oprot.writeStructEnd()
28558
 
28559
  def validate(self):
28560
    return
28561
 
28562
 
28563
  def __repr__(self):
28564
    L = ['%s=%r' % (key, value)
28565
      for key, value in self.__dict__.iteritems()]
28566
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28567
 
28568
  def __eq__(self, other):
28569
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28570
 
28571
  def __ne__(self, other):
28572
    return not (self == other)
28573
 
28574
class getFlipkartItemDetails_result:
28575
  """
28576
  Attributes:
28577
   - success
28578
  """
28579
 
28580
  thrift_spec = (
28581
    (0, TType.STRUCT, 'success', (FlipkartItemDetails, FlipkartItemDetails.thrift_spec), None, ), # 0
28582
  )
28583
 
28584
  def __init__(self, success=None,):
28585
    self.success = success
28586
 
28587
  def read(self, iprot):
28588
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28589
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28590
      return
28591
    iprot.readStructBegin()
28592
    while True:
28593
      (fname, ftype, fid) = iprot.readFieldBegin()
28594
      if ftype == TType.STOP:
28595
        break
28596
      if fid == 0:
28597
        if ftype == TType.STRUCT:
28598
          self.success = FlipkartItemDetails()
28599
          self.success.read(iprot)
28600
        else:
28601
          iprot.skip(ftype)
28602
      else:
28603
        iprot.skip(ftype)
28604
      iprot.readFieldEnd()
28605
    iprot.readStructEnd()
28606
 
28607
  def write(self, oprot):
28608
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28609
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28610
      return
28611
    oprot.writeStructBegin('getFlipkartItemDetails_result')
28612
    if self.success is not None:
28613
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28614
      self.success.write(oprot)
28615
      oprot.writeFieldEnd()
28616
    oprot.writeFieldStop()
28617
    oprot.writeStructEnd()
28618
 
28619
  def validate(self):
28620
    return
28621
 
28622
 
28623
  def __repr__(self):
28624
    L = ['%s=%r' % (key, value)
28625
      for key, value in self.__dict__.iteritems()]
28626
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28627
 
28628
  def __eq__(self, other):
28629
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28630
 
28631
  def __ne__(self, other):
28632
    return not (self == other)
28633
 
28634
class getFlipkartItems_args:
28635
  """
28636
  Attributes:
28637
   - offset
28638
   - limit
28639
  """
28640
 
28641
  thrift_spec = (
28642
    None, # 0
28643
    (1, TType.I64, 'offset', None, None, ), # 1
28644
    (2, TType.I64, 'limit', None, None, ), # 2
28645
  )
28646
 
28647
  def __init__(self, offset=None, limit=None,):
28648
    self.offset = offset
28649
    self.limit = limit
28650
 
28651
  def read(self, iprot):
28652
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28653
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28654
      return
28655
    iprot.readStructBegin()
28656
    while True:
28657
      (fname, ftype, fid) = iprot.readFieldBegin()
28658
      if ftype == TType.STOP:
28659
        break
28660
      if fid == 1:
28661
        if ftype == TType.I64:
28662
          self.offset = iprot.readI64();
28663
        else:
28664
          iprot.skip(ftype)
28665
      elif fid == 2:
28666
        if ftype == TType.I64:
28667
          self.limit = iprot.readI64();
28668
        else:
28669
          iprot.skip(ftype)
28670
      else:
28671
        iprot.skip(ftype)
28672
      iprot.readFieldEnd()
28673
    iprot.readStructEnd()
28674
 
28675
  def write(self, oprot):
28676
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28677
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28678
      return
28679
    oprot.writeStructBegin('getFlipkartItems_args')
28680
    if self.offset is not None:
28681
      oprot.writeFieldBegin('offset', TType.I64, 1)
28682
      oprot.writeI64(self.offset)
28683
      oprot.writeFieldEnd()
28684
    if self.limit is not None:
28685
      oprot.writeFieldBegin('limit', TType.I64, 2)
28686
      oprot.writeI64(self.limit)
28687
      oprot.writeFieldEnd()
28688
    oprot.writeFieldStop()
28689
    oprot.writeStructEnd()
28690
 
28691
  def validate(self):
28692
    return
28693
 
28694
 
28695
  def __repr__(self):
28696
    L = ['%s=%r' % (key, value)
28697
      for key, value in self.__dict__.iteritems()]
28698
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28699
 
28700
  def __eq__(self, other):
28701
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28702
 
28703
  def __ne__(self, other):
28704
    return not (self == other)
28705
 
28706
class getFlipkartItems_result:
28707
  """
28708
  Attributes:
28709
   - success
28710
  """
28711
 
28712
  thrift_spec = (
28713
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
28714
  )
28715
 
28716
  def __init__(self, success=None,):
28717
    self.success = success
28718
 
28719
  def read(self, iprot):
28720
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28721
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28722
      return
28723
    iprot.readStructBegin()
28724
    while True:
28725
      (fname, ftype, fid) = iprot.readFieldBegin()
28726
      if ftype == TType.STOP:
28727
        break
28728
      if fid == 0:
28729
        if ftype == TType.LIST:
28730
          self.success = []
13493 amit.gupta 28731
          (_etype613, _size610) = iprot.readListBegin()
28732
          for _i614 in xrange(_size610):
28733
            _elem615 = FlipkartItemDetails()
28734
            _elem615.read(iprot)
28735
            self.success.append(_elem615)
10097 kshitij.so 28736
          iprot.readListEnd()
28737
        else:
28738
          iprot.skip(ftype)
28739
      else:
28740
        iprot.skip(ftype)
28741
      iprot.readFieldEnd()
28742
    iprot.readStructEnd()
28743
 
28744
  def write(self, oprot):
28745
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28746
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28747
      return
28748
    oprot.writeStructBegin('getFlipkartItems_result')
28749
    if self.success is not None:
28750
      oprot.writeFieldBegin('success', TType.LIST, 0)
28751
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 28752
      for iter616 in self.success:
28753
        iter616.write(oprot)
10097 kshitij.so 28754
      oprot.writeListEnd()
28755
      oprot.writeFieldEnd()
28756
    oprot.writeFieldStop()
28757
    oprot.writeStructEnd()
28758
 
28759
  def validate(self):
28760
    return
28761
 
28762
 
28763
  def __repr__(self):
28764
    L = ['%s=%r' % (key, value)
28765
      for key, value in self.__dict__.iteritems()]
28766
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28767
 
28768
  def __eq__(self, other):
28769
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28770
 
28771
  def __ne__(self, other):
28772
    return not (self == other)
28773
 
28774
class searchFlipkartItems_args:
28775
  """
28776
  Attributes:
28777
   - searchTerm
28778
   - offset
28779
   - limit
28780
  """
28781
 
28782
  thrift_spec = (
28783
    None, # 0
28784
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
28785
    (2, TType.I64, 'offset', None, None, ), # 2
28786
    (3, TType.I64, 'limit', None, None, ), # 3
28787
  )
28788
 
28789
  def __init__(self, searchTerm=None, offset=None, limit=None,):
28790
    self.searchTerm = searchTerm
28791
    self.offset = offset
28792
    self.limit = limit
28793
 
28794
  def read(self, iprot):
28795
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28796
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28797
      return
28798
    iprot.readStructBegin()
28799
    while True:
28800
      (fname, ftype, fid) = iprot.readFieldBegin()
28801
      if ftype == TType.STOP:
28802
        break
28803
      if fid == 1:
28804
        if ftype == TType.LIST:
28805
          self.searchTerm = []
13493 amit.gupta 28806
          (_etype620, _size617) = iprot.readListBegin()
28807
          for _i621 in xrange(_size617):
28808
            _elem622 = iprot.readString();
28809
            self.searchTerm.append(_elem622)
10097 kshitij.so 28810
          iprot.readListEnd()
28811
        else:
28812
          iprot.skip(ftype)
28813
      elif fid == 2:
28814
        if ftype == TType.I64:
28815
          self.offset = iprot.readI64();
28816
        else:
28817
          iprot.skip(ftype)
28818
      elif fid == 3:
28819
        if ftype == TType.I64:
28820
          self.limit = iprot.readI64();
28821
        else:
28822
          iprot.skip(ftype)
28823
      else:
28824
        iprot.skip(ftype)
28825
      iprot.readFieldEnd()
28826
    iprot.readStructEnd()
28827
 
28828
  def write(self, oprot):
28829
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28830
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28831
      return
28832
    oprot.writeStructBegin('searchFlipkartItems_args')
28833
    if self.searchTerm is not None:
28834
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
28835
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 28836
      for iter623 in self.searchTerm:
28837
        oprot.writeString(iter623)
10097 kshitij.so 28838
      oprot.writeListEnd()
28839
      oprot.writeFieldEnd()
28840
    if self.offset is not None:
28841
      oprot.writeFieldBegin('offset', TType.I64, 2)
28842
      oprot.writeI64(self.offset)
28843
      oprot.writeFieldEnd()
28844
    if self.limit is not None:
28845
      oprot.writeFieldBegin('limit', TType.I64, 3)
28846
      oprot.writeI64(self.limit)
28847
      oprot.writeFieldEnd()
28848
    oprot.writeFieldStop()
28849
    oprot.writeStructEnd()
28850
 
28851
  def validate(self):
28852
    return
28853
 
28854
 
28855
  def __repr__(self):
28856
    L = ['%s=%r' % (key, value)
28857
      for key, value in self.__dict__.iteritems()]
28858
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28859
 
28860
  def __eq__(self, other):
28861
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28862
 
28863
  def __ne__(self, other):
28864
    return not (self == other)
28865
 
28866
class searchFlipkartItems_result:
28867
  """
28868
  Attributes:
28869
   - success
28870
  """
28871
 
28872
  thrift_spec = (
28873
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
28874
  )
28875
 
28876
  def __init__(self, success=None,):
28877
    self.success = success
28878
 
28879
  def read(self, iprot):
28880
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28881
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28882
      return
28883
    iprot.readStructBegin()
28884
    while True:
28885
      (fname, ftype, fid) = iprot.readFieldBegin()
28886
      if ftype == TType.STOP:
28887
        break
28888
      if fid == 0:
28889
        if ftype == TType.LIST:
28890
          self.success = []
13493 amit.gupta 28891
          (_etype627, _size624) = iprot.readListBegin()
28892
          for _i628 in xrange(_size624):
28893
            _elem629 = FlipkartItemDetails()
28894
            _elem629.read(iprot)
28895
            self.success.append(_elem629)
10097 kshitij.so 28896
          iprot.readListEnd()
28897
        else:
28898
          iprot.skip(ftype)
28899
      else:
28900
        iprot.skip(ftype)
28901
      iprot.readFieldEnd()
28902
    iprot.readStructEnd()
28903
 
28904
  def write(self, oprot):
28905
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28906
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28907
      return
28908
    oprot.writeStructBegin('searchFlipkartItems_result')
28909
    if self.success is not None:
28910
      oprot.writeFieldBegin('success', TType.LIST, 0)
28911
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 28912
      for iter630 in self.success:
28913
        iter630.write(oprot)
10097 kshitij.so 28914
      oprot.writeListEnd()
28915
      oprot.writeFieldEnd()
28916
    oprot.writeFieldStop()
28917
    oprot.writeStructEnd()
28918
 
28919
  def validate(self):
28920
    return
28921
 
28922
 
28923
  def __repr__(self):
28924
    L = ['%s=%r' % (key, value)
28925
      for key, value in self.__dict__.iteritems()]
28926
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28927
 
28928
  def __eq__(self, other):
28929
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28930
 
28931
  def __ne__(self, other):
28932
    return not (self == other)
28933
 
28934
class getCountForFlipkartItems_args:
28935
 
28936
  thrift_spec = (
28937
  )
28938
 
28939
  def read(self, iprot):
28940
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28941
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28942
      return
28943
    iprot.readStructBegin()
28944
    while True:
28945
      (fname, ftype, fid) = iprot.readFieldBegin()
28946
      if ftype == TType.STOP:
28947
        break
28948
      else:
28949
        iprot.skip(ftype)
28950
      iprot.readFieldEnd()
28951
    iprot.readStructEnd()
28952
 
28953
  def write(self, oprot):
28954
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28955
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28956
      return
28957
    oprot.writeStructBegin('getCountForFlipkartItems_args')
28958
    oprot.writeFieldStop()
28959
    oprot.writeStructEnd()
28960
 
28961
  def validate(self):
28962
    return
28963
 
28964
 
28965
  def __repr__(self):
28966
    L = ['%s=%r' % (key, value)
28967
      for key, value in self.__dict__.iteritems()]
28968
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28969
 
28970
  def __eq__(self, other):
28971
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28972
 
28973
  def __ne__(self, other):
28974
    return not (self == other)
28975
 
28976
class getCountForFlipkartItems_result:
28977
  """
28978
  Attributes:
28979
   - success
28980
  """
28981
 
28982
  thrift_spec = (
28983
    (0, TType.I64, 'success', None, None, ), # 0
28984
  )
28985
 
28986
  def __init__(self, success=None,):
28987
    self.success = success
28988
 
28989
  def read(self, iprot):
28990
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28991
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28992
      return
28993
    iprot.readStructBegin()
28994
    while True:
28995
      (fname, ftype, fid) = iprot.readFieldBegin()
28996
      if ftype == TType.STOP:
28997
        break
28998
      if fid == 0:
28999
        if ftype == TType.I64:
29000
          self.success = iprot.readI64();
29001
        else:
29002
          iprot.skip(ftype)
29003
      else:
29004
        iprot.skip(ftype)
29005
      iprot.readFieldEnd()
29006
    iprot.readStructEnd()
29007
 
29008
  def write(self, oprot):
29009
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29010
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29011
      return
29012
    oprot.writeStructBegin('getCountForFlipkartItems_result')
29013
    if self.success is not None:
29014
      oprot.writeFieldBegin('success', TType.I64, 0)
29015
      oprot.writeI64(self.success)
29016
      oprot.writeFieldEnd()
29017
    oprot.writeFieldStop()
29018
    oprot.writeStructEnd()
29019
 
29020
  def validate(self):
29021
    return
29022
 
29023
 
29024
  def __repr__(self):
29025
    L = ['%s=%r' % (key, value)
29026
      for key, value in self.__dict__.iteritems()]
29027
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29028
 
29029
  def __eq__(self, other):
29030
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29031
 
29032
  def __ne__(self, other):
29033
    return not (self == other)
29034
 
29035
class getFlipkartSearchResultCount_args:
29036
  """
29037
  Attributes:
29038
   - searchTerm
29039
  """
29040
 
29041
  thrift_spec = (
29042
    None, # 0
29043
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
29044
  )
29045
 
29046
  def __init__(self, searchTerm=None,):
29047
    self.searchTerm = searchTerm
29048
 
29049
  def read(self, iprot):
29050
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29051
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29052
      return
29053
    iprot.readStructBegin()
29054
    while True:
29055
      (fname, ftype, fid) = iprot.readFieldBegin()
29056
      if ftype == TType.STOP:
29057
        break
29058
      if fid == 1:
29059
        if ftype == TType.LIST:
29060
          self.searchTerm = []
13493 amit.gupta 29061
          (_etype634, _size631) = iprot.readListBegin()
29062
          for _i635 in xrange(_size631):
29063
            _elem636 = iprot.readString();
29064
            self.searchTerm.append(_elem636)
10097 kshitij.so 29065
          iprot.readListEnd()
29066
        else:
29067
          iprot.skip(ftype)
29068
      else:
29069
        iprot.skip(ftype)
29070
      iprot.readFieldEnd()
29071
    iprot.readStructEnd()
29072
 
29073
  def write(self, oprot):
29074
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29075
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29076
      return
29077
    oprot.writeStructBegin('getFlipkartSearchResultCount_args')
29078
    if self.searchTerm is not None:
29079
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
29080
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 29081
      for iter637 in self.searchTerm:
29082
        oprot.writeString(iter637)
10097 kshitij.so 29083
      oprot.writeListEnd()
29084
      oprot.writeFieldEnd()
29085
    oprot.writeFieldStop()
29086
    oprot.writeStructEnd()
29087
 
29088
  def validate(self):
29089
    return
29090
 
29091
 
29092
  def __repr__(self):
29093
    L = ['%s=%r' % (key, value)
29094
      for key, value in self.__dict__.iteritems()]
29095
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29096
 
29097
  def __eq__(self, other):
29098
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29099
 
29100
  def __ne__(self, other):
29101
    return not (self == other)
29102
 
29103
class getFlipkartSearchResultCount_result:
29104
  """
29105
  Attributes:
29106
   - success
29107
  """
29108
 
29109
  thrift_spec = (
29110
    (0, TType.I64, 'success', None, None, ), # 0
29111
  )
29112
 
29113
  def __init__(self, success=None,):
29114
    self.success = success
29115
 
29116
  def read(self, iprot):
29117
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29118
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29119
      return
29120
    iprot.readStructBegin()
29121
    while True:
29122
      (fname, ftype, fid) = iprot.readFieldBegin()
29123
      if ftype == TType.STOP:
29124
        break
29125
      if fid == 0:
29126
        if ftype == TType.I64:
29127
          self.success = iprot.readI64();
29128
        else:
29129
          iprot.skip(ftype)
29130
      else:
29131
        iprot.skip(ftype)
29132
      iprot.readFieldEnd()
29133
    iprot.readStructEnd()
29134
 
29135
  def write(self, oprot):
29136
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29137
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29138
      return
29139
    oprot.writeStructBegin('getFlipkartSearchResultCount_result')
29140
    if self.success is not None:
29141
      oprot.writeFieldBegin('success', TType.I64, 0)
29142
      oprot.writeI64(self.success)
29143
      oprot.writeFieldEnd()
29144
    oprot.writeFieldStop()
29145
    oprot.writeStructEnd()
29146
 
29147
  def validate(self):
29148
    return
29149
 
29150
 
29151
  def __repr__(self):
29152
    L = ['%s=%r' % (key, value)
29153
      for key, value in self.__dict__.iteritems()]
29154
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29155
 
29156
  def __eq__(self, other):
29157
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29158
 
29159
  def __ne__(self, other):
29160
    return not (self == other)
29161
 
29162
class getAllFkItems_args:
29163
 
29164
  thrift_spec = (
29165
  )
29166
 
29167
  def read(self, iprot):
29168
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29169
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29170
      return
29171
    iprot.readStructBegin()
29172
    while True:
29173
      (fname, ftype, fid) = iprot.readFieldBegin()
29174
      if ftype == TType.STOP:
29175
        break
29176
      else:
29177
        iprot.skip(ftype)
29178
      iprot.readFieldEnd()
29179
    iprot.readStructEnd()
29180
 
29181
  def write(self, oprot):
29182
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29183
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29184
      return
29185
    oprot.writeStructBegin('getAllFkItems_args')
29186
    oprot.writeFieldStop()
29187
    oprot.writeStructEnd()
29188
 
29189
  def validate(self):
29190
    return
29191
 
29192
 
29193
  def __repr__(self):
29194
    L = ['%s=%r' % (key, value)
29195
      for key, value in self.__dict__.iteritems()]
29196
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29197
 
29198
  def __eq__(self, other):
29199
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29200
 
29201
  def __ne__(self, other):
29202
    return not (self == other)
29203
 
29204
class getAllFkItems_result:
29205
  """
29206
  Attributes:
29207
   - success
29208
  """
29209
 
29210
  thrift_spec = (
29211
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
29212
  )
29213
 
29214
  def __init__(self, success=None,):
29215
    self.success = success
29216
 
29217
  def read(self, iprot):
29218
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29219
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29220
      return
29221
    iprot.readStructBegin()
29222
    while True:
29223
      (fname, ftype, fid) = iprot.readFieldBegin()
29224
      if ftype == TType.STOP:
29225
        break
29226
      if fid == 0:
29227
        if ftype == TType.LIST:
29228
          self.success = []
13493 amit.gupta 29229
          (_etype641, _size638) = iprot.readListBegin()
29230
          for _i642 in xrange(_size638):
29231
            _elem643 = FlipkartItemDetails()
29232
            _elem643.read(iprot)
29233
            self.success.append(_elem643)
10097 kshitij.so 29234
          iprot.readListEnd()
29235
        else:
29236
          iprot.skip(ftype)
29237
      else:
29238
        iprot.skip(ftype)
29239
      iprot.readFieldEnd()
29240
    iprot.readStructEnd()
29241
 
29242
  def write(self, oprot):
29243
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29244
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29245
      return
29246
    oprot.writeStructBegin('getAllFkItems_result')
29247
    if self.success is not None:
29248
      oprot.writeFieldBegin('success', TType.LIST, 0)
29249
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29250
      for iter644 in self.success:
29251
        iter644.write(oprot)
10097 kshitij.so 29252
      oprot.writeListEnd()
29253
      oprot.writeFieldEnd()
29254
    oprot.writeFieldStop()
29255
    oprot.writeStructEnd()
29256
 
29257
  def validate(self):
29258
    return
29259
 
29260
 
29261
  def __repr__(self):
29262
    L = ['%s=%r' % (key, value)
29263
      for key, value in self.__dict__.iteritems()]
29264
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29265
 
29266
  def __eq__(self, other):
29267
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29268
 
29269
  def __ne__(self, other):
29270
    return not (self == other)
10140 vikram.rag 29271
 
29272
class getFlipkartItemBySkyAtFlipkart_args:
29273
  """
29274
  Attributes:
29275
   - sku
29276
  """
29277
 
11531 vikram.rag 29278
  thrift_spec = None
10140 vikram.rag 29279
  def __init__(self, sku=None,):
29280
    self.sku = sku
29281
 
29282
  def read(self, iprot):
29283
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29284
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29285
      return
29286
    iprot.readStructBegin()
29287
    while True:
29288
      (fname, ftype, fid) = iprot.readFieldBegin()
29289
      if ftype == TType.STOP:
29290
        break
11531 vikram.rag 29291
      if fid == -1:
10140 vikram.rag 29292
        if ftype == TType.STRING:
29293
          self.sku = iprot.readString();
29294
        else:
29295
          iprot.skip(ftype)
29296
      else:
29297
        iprot.skip(ftype)
29298
      iprot.readFieldEnd()
29299
    iprot.readStructEnd()
29300
 
29301
  def write(self, oprot):
29302
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29303
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29304
      return
29305
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_args')
29306
    if self.sku is not None:
11531 vikram.rag 29307
      oprot.writeFieldBegin('sku', TType.STRING, -1)
10140 vikram.rag 29308
      oprot.writeString(self.sku)
29309
      oprot.writeFieldEnd()
29310
    oprot.writeFieldStop()
29311
    oprot.writeStructEnd()
29312
 
29313
  def validate(self):
29314
    return
29315
 
29316
 
29317
  def __repr__(self):
29318
    L = ['%s=%r' % (key, value)
29319
      for key, value in self.__dict__.iteritems()]
29320
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29321
 
29322
  def __eq__(self, other):
29323
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29324
 
29325
  def __ne__(self, other):
29326
    return not (self == other)
29327
 
29328
class getFlipkartItemBySkyAtFlipkart_result:
29329
  """
29330
  Attributes:
29331
   - success
29332
  """
29333
 
29334
  thrift_spec = (
29335
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
29336
  )
29337
 
29338
  def __init__(self, success=None,):
29339
    self.success = success
29340
 
29341
  def read(self, iprot):
29342
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29343
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29344
      return
29345
    iprot.readStructBegin()
29346
    while True:
29347
      (fname, ftype, fid) = iprot.readFieldBegin()
29348
      if ftype == TType.STOP:
29349
        break
29350
      if fid == 0:
29351
        if ftype == TType.STRUCT:
29352
          self.success = FlipkartItem()
29353
          self.success.read(iprot)
29354
        else:
29355
          iprot.skip(ftype)
29356
      else:
29357
        iprot.skip(ftype)
29358
      iprot.readFieldEnd()
29359
    iprot.readStructEnd()
29360
 
29361
  def write(self, oprot):
29362
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29363
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29364
      return
29365
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_result')
29366
    if self.success is not None:
29367
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
29368
      self.success.write(oprot)
29369
      oprot.writeFieldEnd()
29370
    oprot.writeFieldStop()
29371
    oprot.writeStructEnd()
29372
 
29373
  def validate(self):
29374
    return
29375
 
29376
 
29377
  def __repr__(self):
29378
    L = ['%s=%r' % (key, value)
29379
      for key, value in self.__dict__.iteritems()]
29380
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29381
 
29382
  def __eq__(self, other):
29383
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29384
 
29385
  def __ne__(self, other):
29386
    return not (self == other)
10909 vikram.rag 29387
 
11015 kshitij.so 29388
class getMarketplaceHistory_args:
29389
  """
29390
  Attributes:
29391
   - source
29392
   - offset
29393
   - itemId
29394
  """
10909 vikram.rag 29395
 
29396
  thrift_spec = (
11015 kshitij.so 29397
    None, # 0
29398
    (1, TType.I64, 'source', None, None, ), # 1
29399
    (2, TType.I64, 'offset', None, None, ), # 2
29400
    (3, TType.I64, 'itemId', None, None, ), # 3
10909 vikram.rag 29401
  )
29402
 
11015 kshitij.so 29403
  def __init__(self, source=None, offset=None, itemId=None,):
29404
    self.source = source
29405
    self.offset = offset
29406
    self.itemId = itemId
29407
 
10909 vikram.rag 29408
  def read(self, iprot):
29409
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29410
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29411
      return
29412
    iprot.readStructBegin()
29413
    while True:
29414
      (fname, ftype, fid) = iprot.readFieldBegin()
29415
      if ftype == TType.STOP:
29416
        break
11015 kshitij.so 29417
      if fid == 1:
29418
        if ftype == TType.I64:
29419
          self.source = iprot.readI64();
29420
        else:
29421
          iprot.skip(ftype)
29422
      elif fid == 2:
29423
        if ftype == TType.I64:
29424
          self.offset = iprot.readI64();
29425
        else:
29426
          iprot.skip(ftype)
29427
      elif fid == 3:
29428
        if ftype == TType.I64:
29429
          self.itemId = iprot.readI64();
29430
        else:
29431
          iprot.skip(ftype)
10909 vikram.rag 29432
      else:
29433
        iprot.skip(ftype)
29434
      iprot.readFieldEnd()
29435
    iprot.readStructEnd()
29436
 
29437
  def write(self, oprot):
29438
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29439
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29440
      return
11015 kshitij.so 29441
    oprot.writeStructBegin('getMarketplaceHistory_args')
29442
    if self.source is not None:
29443
      oprot.writeFieldBegin('source', TType.I64, 1)
29444
      oprot.writeI64(self.source)
29445
      oprot.writeFieldEnd()
29446
    if self.offset is not None:
29447
      oprot.writeFieldBegin('offset', TType.I64, 2)
29448
      oprot.writeI64(self.offset)
29449
      oprot.writeFieldEnd()
29450
    if self.itemId is not None:
29451
      oprot.writeFieldBegin('itemId', TType.I64, 3)
29452
      oprot.writeI64(self.itemId)
29453
      oprot.writeFieldEnd()
10909 vikram.rag 29454
    oprot.writeFieldStop()
29455
    oprot.writeStructEnd()
29456
 
29457
  def validate(self):
29458
    return
29459
 
29460
 
29461
  def __repr__(self):
29462
    L = ['%s=%r' % (key, value)
29463
      for key, value in self.__dict__.iteritems()]
29464
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29465
 
29466
  def __eq__(self, other):
29467
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29468
 
29469
  def __ne__(self, other):
29470
    return not (self == other)
29471
 
11015 kshitij.so 29472
class getMarketplaceHistory_result:
10909 vikram.rag 29473
  """
29474
  Attributes:
29475
   - success
29476
  """
29477
 
29478
  thrift_spec = (
11015 kshitij.so 29479
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
10909 vikram.rag 29480
  )
29481
 
29482
  def __init__(self, success=None,):
29483
    self.success = success
29484
 
29485
  def read(self, iprot):
29486
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29487
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29488
      return
29489
    iprot.readStructBegin()
29490
    while True:
29491
      (fname, ftype, fid) = iprot.readFieldBegin()
29492
      if ftype == TType.STOP:
29493
        break
29494
      if fid == 0:
29495
        if ftype == TType.LIST:
29496
          self.success = []
13493 amit.gupta 29497
          (_etype648, _size645) = iprot.readListBegin()
29498
          for _i649 in xrange(_size645):
29499
            _elem650 = MarketplaceHistory()
29500
            _elem650.read(iprot)
29501
            self.success.append(_elem650)
10909 vikram.rag 29502
          iprot.readListEnd()
29503
        else:
29504
          iprot.skip(ftype)
29505
      else:
29506
        iprot.skip(ftype)
29507
      iprot.readFieldEnd()
29508
    iprot.readStructEnd()
29509
 
29510
  def write(self, oprot):
29511
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29512
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29513
      return
11015 kshitij.so 29514
    oprot.writeStructBegin('getMarketplaceHistory_result')
10909 vikram.rag 29515
    if self.success is not None:
29516
      oprot.writeFieldBegin('success', TType.LIST, 0)
29517
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29518
      for iter651 in self.success:
29519
        iter651.write(oprot)
10909 vikram.rag 29520
      oprot.writeListEnd()
29521
      oprot.writeFieldEnd()
29522
    oprot.writeFieldStop()
29523
    oprot.writeStructEnd()
29524
 
29525
  def validate(self):
29526
    return
29527
 
29528
 
29529
  def __repr__(self):
29530
    L = ['%s=%r' % (key, value)
29531
      for key, value in self.__dict__.iteritems()]
29532
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29533
 
29534
  def __eq__(self, other):
29535
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29536
 
29537
  def __ne__(self, other):
29538
    return not (self == other)
10924 vikram.rag 29539
 
11015 kshitij.so 29540
class getAllFbbListedItems_args:
10924 vikram.rag 29541
 
29542
  thrift_spec = (
29543
  )
29544
 
29545
  def read(self, iprot):
29546
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29547
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29548
      return
29549
    iprot.readStructBegin()
29550
    while True:
29551
      (fname, ftype, fid) = iprot.readFieldBegin()
29552
      if ftype == TType.STOP:
29553
        break
29554
      else:
29555
        iprot.skip(ftype)
29556
      iprot.readFieldEnd()
29557
    iprot.readStructEnd()
29558
 
29559
  def write(self, oprot):
29560
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29561
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29562
      return
11015 kshitij.so 29563
    oprot.writeStructBegin('getAllFbbListedItems_args')
10924 vikram.rag 29564
    oprot.writeFieldStop()
29565
    oprot.writeStructEnd()
29566
 
29567
  def validate(self):
29568
    return
29569
 
29570
 
29571
  def __repr__(self):
29572
    L = ['%s=%r' % (key, value)
29573
      for key, value in self.__dict__.iteritems()]
29574
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29575
 
29576
  def __eq__(self, other):
29577
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29578
 
29579
  def __ne__(self, other):
29580
    return not (self == other)
29581
 
11015 kshitij.so 29582
class getAllFbbListedItems_result:
10924 vikram.rag 29583
  """
29584
  Attributes:
29585
   - success
29586
  """
29587
 
29588
  thrift_spec = (
29589
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
29590
  )
29591
 
29592
  def __init__(self, success=None,):
29593
    self.success = success
29594
 
29595
  def read(self, iprot):
29596
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29597
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29598
      return
29599
    iprot.readStructBegin()
29600
    while True:
29601
      (fname, ftype, fid) = iprot.readFieldBegin()
29602
      if ftype == TType.STOP:
29603
        break
29604
      if fid == 0:
29605
        if ftype == TType.LIST:
29606
          self.success = []
13493 amit.gupta 29607
          (_etype655, _size652) = iprot.readListBegin()
29608
          for _i656 in xrange(_size652):
29609
            _elem657 = Amazonlisted()
29610
            _elem657.read(iprot)
29611
            self.success.append(_elem657)
10924 vikram.rag 29612
          iprot.readListEnd()
29613
        else:
29614
          iprot.skip(ftype)
29615
      else:
29616
        iprot.skip(ftype)
29617
      iprot.readFieldEnd()
29618
    iprot.readStructEnd()
29619
 
29620
  def write(self, oprot):
29621
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29622
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29623
      return
11015 kshitij.so 29624
    oprot.writeStructBegin('getAllFbbListedItems_result')
10924 vikram.rag 29625
    if self.success is not None:
29626
      oprot.writeFieldBegin('success', TType.LIST, 0)
29627
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29628
      for iter658 in self.success:
29629
        iter658.write(oprot)
10924 vikram.rag 29630
      oprot.writeListEnd()
29631
      oprot.writeFieldEnd()
29632
    oprot.writeFieldStop()
29633
    oprot.writeStructEnd()
29634
 
29635
  def validate(self):
29636
    return
29637
 
29638
 
29639
  def __repr__(self):
29640
    L = ['%s=%r' % (key, value)
29641
      for key, value in self.__dict__.iteritems()]
29642
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29643
 
29644
  def __eq__(self, other):
29645
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29646
 
29647
  def __ne__(self, other):
29648
    return not (self == other)
11015 kshitij.so 29649
 
29650
class getAllFbbPricingItems_args:
29651
 
29652
  thrift_spec = (
29653
  )
29654
 
29655
  def read(self, iprot):
29656
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29657
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29658
      return
29659
    iprot.readStructBegin()
29660
    while True:
29661
      (fname, ftype, fid) = iprot.readFieldBegin()
29662
      if ftype == TType.STOP:
29663
        break
29664
      else:
29665
        iprot.skip(ftype)
29666
      iprot.readFieldEnd()
29667
    iprot.readStructEnd()
29668
 
29669
  def write(self, oprot):
29670
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29671
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29672
      return
29673
    oprot.writeStructBegin('getAllFbbPricingItems_args')
29674
    oprot.writeFieldStop()
29675
    oprot.writeStructEnd()
29676
 
29677
  def validate(self):
29678
    return
29679
 
29680
 
29681
  def __repr__(self):
29682
    L = ['%s=%r' % (key, value)
29683
      for key, value in self.__dict__.iteritems()]
29684
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29685
 
29686
  def __eq__(self, other):
29687
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29688
 
29689
  def __ne__(self, other):
29690
    return not (self == other)
29691
 
29692
class getAllFbbPricingItems_result:
29693
  """
29694
  Attributes:
29695
   - success
29696
  """
29697
 
29698
  thrift_spec = (
29699
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
29700
  )
29701
 
29702
  def __init__(self, success=None,):
29703
    self.success = success
29704
 
29705
  def read(self, iprot):
29706
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29707
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29708
      return
29709
    iprot.readStructBegin()
29710
    while True:
29711
      (fname, ftype, fid) = iprot.readFieldBegin()
29712
      if ftype == TType.STOP:
29713
        break
29714
      if fid == 0:
29715
        if ftype == TType.LIST:
29716
          self.success = []
13493 amit.gupta 29717
          (_etype662, _size659) = iprot.readListBegin()
29718
          for _i663 in xrange(_size659):
29719
            _elem664 = Amazonlisted()
29720
            _elem664.read(iprot)
29721
            self.success.append(_elem664)
11015 kshitij.so 29722
          iprot.readListEnd()
29723
        else:
29724
          iprot.skip(ftype)
29725
      else:
29726
        iprot.skip(ftype)
29727
      iprot.readFieldEnd()
29728
    iprot.readStructEnd()
29729
 
29730
  def write(self, oprot):
29731
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29732
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29733
      return
29734
    oprot.writeStructBegin('getAllFbbPricingItems_result')
29735
    if self.success is not None:
29736
      oprot.writeFieldBegin('success', TType.LIST, 0)
29737
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29738
      for iter665 in self.success:
29739
        iter665.write(oprot)
11015 kshitij.so 29740
      oprot.writeListEnd()
29741
      oprot.writeFieldEnd()
29742
    oprot.writeFieldStop()
29743
    oprot.writeStructEnd()
29744
 
29745
  def validate(self):
29746
    return
29747
 
29748
 
29749
  def __repr__(self):
29750
    L = ['%s=%r' % (key, value)
29751
      for key, value in self.__dict__.iteritems()]
29752
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29753
 
29754
  def __eq__(self, other):
29755
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29756
 
29757
  def __ne__(self, other):
29758
    return not (self == other)
29759
 
29760
class getCountForMarketplaceHistory_args:
29761
  """
29762
  Attributes:
29763
   - source
29764
   - itemId
29765
  """
29766
 
29767
  thrift_spec = (
29768
    None, # 0
29769
    (1, TType.I64, 'source', None, None, ), # 1
29770
    (2, TType.I64, 'itemId', None, None, ), # 2
29771
  )
29772
 
29773
  def __init__(self, source=None, itemId=None,):
29774
    self.source = source
29775
    self.itemId = itemId
29776
 
29777
  def read(self, iprot):
29778
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29779
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29780
      return
29781
    iprot.readStructBegin()
29782
    while True:
29783
      (fname, ftype, fid) = iprot.readFieldBegin()
29784
      if ftype == TType.STOP:
29785
        break
29786
      if fid == 1:
29787
        if ftype == TType.I64:
29788
          self.source = iprot.readI64();
29789
        else:
29790
          iprot.skip(ftype)
29791
      elif fid == 2:
29792
        if ftype == TType.I64:
29793
          self.itemId = iprot.readI64();
29794
        else:
29795
          iprot.skip(ftype)
29796
      else:
29797
        iprot.skip(ftype)
29798
      iprot.readFieldEnd()
29799
    iprot.readStructEnd()
29800
 
29801
  def write(self, oprot):
29802
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29803
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29804
      return
29805
    oprot.writeStructBegin('getCountForMarketplaceHistory_args')
29806
    if self.source is not None:
29807
      oprot.writeFieldBegin('source', TType.I64, 1)
29808
      oprot.writeI64(self.source)
29809
      oprot.writeFieldEnd()
29810
    if self.itemId is not None:
29811
      oprot.writeFieldBegin('itemId', TType.I64, 2)
29812
      oprot.writeI64(self.itemId)
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 getCountForMarketplaceHistory_result:
29833
  """
29834
  Attributes:
29835
   - success
29836
  """
29837
 
29838
  thrift_spec = (
29839
    (0, TType.I64, 'success', None, 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.I64:
29856
          self.success = iprot.readI64();
29857
        else:
29858
          iprot.skip(ftype)
29859
      else:
29860
        iprot.skip(ftype)
29861
      iprot.readFieldEnd()
29862
    iprot.readStructEnd()
29863
 
29864
  def write(self, oprot):
29865
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29866
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29867
      return
29868
    oprot.writeStructBegin('getCountForMarketplaceHistory_result')
29869
    if self.success is not None:
29870
      oprot.writeFieldBegin('success', TType.I64, 0)
29871
      oprot.writeI64(self.success)
29872
      oprot.writeFieldEnd()
29873
    oprot.writeFieldStop()
29874
    oprot.writeStructEnd()
29875
 
29876
  def validate(self):
29877
    return
29878
 
29879
 
29880
  def __repr__(self):
29881
    L = ['%s=%r' % (key, value)
29882
      for key, value in self.__dict__.iteritems()]
29883
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29884
 
29885
  def __eq__(self, other):
29886
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29887
 
29888
  def __ne__(self, other):
29889
    return not (self == other)
29890
 
29891
class getMarketplaceHistoryByDate_args:
29892
  """
29893
  Attributes:
29894
   - source
29895
   - startDate
29896
   - endDate
29897
   - offset
29898
   - limit
29899
   - itemId
29900
  """
29901
 
29902
  thrift_spec = (
29903
    None, # 0
29904
    (1, TType.I64, 'source', None, None, ), # 1
29905
    (2, TType.I64, 'startDate', None, None, ), # 2
29906
    (3, TType.I64, 'endDate', None, None, ), # 3
29907
    (4, TType.I64, 'offset', None, None, ), # 4
29908
    (5, TType.I64, 'limit', None, None, ), # 5
29909
    (6, TType.I64, 'itemId', None, None, ), # 6
29910
  )
29911
 
29912
  def __init__(self, source=None, startDate=None, endDate=None, offset=None, limit=None, itemId=None,):
29913
    self.source = source
29914
    self.startDate = startDate
29915
    self.endDate = endDate
29916
    self.offset = offset
29917
    self.limit = limit
29918
    self.itemId = itemId
29919
 
29920
  def read(self, iprot):
29921
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29922
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29923
      return
29924
    iprot.readStructBegin()
29925
    while True:
29926
      (fname, ftype, fid) = iprot.readFieldBegin()
29927
      if ftype == TType.STOP:
29928
        break
29929
      if fid == 1:
29930
        if ftype == TType.I64:
29931
          self.source = iprot.readI64();
29932
        else:
29933
          iprot.skip(ftype)
29934
      elif fid == 2:
29935
        if ftype == TType.I64:
29936
          self.startDate = iprot.readI64();
29937
        else:
29938
          iprot.skip(ftype)
29939
      elif fid == 3:
29940
        if ftype == TType.I64:
29941
          self.endDate = iprot.readI64();
29942
        else:
29943
          iprot.skip(ftype)
29944
      elif fid == 4:
29945
        if ftype == TType.I64:
29946
          self.offset = iprot.readI64();
29947
        else:
29948
          iprot.skip(ftype)
29949
      elif fid == 5:
29950
        if ftype == TType.I64:
29951
          self.limit = iprot.readI64();
29952
        else:
29953
          iprot.skip(ftype)
29954
      elif fid == 6:
29955
        if ftype == TType.I64:
29956
          self.itemId = iprot.readI64();
29957
        else:
29958
          iprot.skip(ftype)
29959
      else:
29960
        iprot.skip(ftype)
29961
      iprot.readFieldEnd()
29962
    iprot.readStructEnd()
29963
 
29964
  def write(self, oprot):
29965
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29966
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29967
      return
29968
    oprot.writeStructBegin('getMarketplaceHistoryByDate_args')
29969
    if self.source is not None:
29970
      oprot.writeFieldBegin('source', TType.I64, 1)
29971
      oprot.writeI64(self.source)
29972
      oprot.writeFieldEnd()
29973
    if self.startDate is not None:
29974
      oprot.writeFieldBegin('startDate', TType.I64, 2)
29975
      oprot.writeI64(self.startDate)
29976
      oprot.writeFieldEnd()
29977
    if self.endDate is not None:
29978
      oprot.writeFieldBegin('endDate', TType.I64, 3)
29979
      oprot.writeI64(self.endDate)
29980
      oprot.writeFieldEnd()
29981
    if self.offset is not None:
29982
      oprot.writeFieldBegin('offset', TType.I64, 4)
29983
      oprot.writeI64(self.offset)
29984
      oprot.writeFieldEnd()
29985
    if self.limit is not None:
29986
      oprot.writeFieldBegin('limit', TType.I64, 5)
29987
      oprot.writeI64(self.limit)
29988
      oprot.writeFieldEnd()
29989
    if self.itemId is not None:
29990
      oprot.writeFieldBegin('itemId', TType.I64, 6)
29991
      oprot.writeI64(self.itemId)
29992
      oprot.writeFieldEnd()
29993
    oprot.writeFieldStop()
29994
    oprot.writeStructEnd()
29995
 
29996
  def validate(self):
29997
    return
29998
 
29999
 
30000
  def __repr__(self):
30001
    L = ['%s=%r' % (key, value)
30002
      for key, value in self.__dict__.iteritems()]
30003
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30004
 
30005
  def __eq__(self, other):
30006
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30007
 
30008
  def __ne__(self, other):
30009
    return not (self == other)
30010
 
30011
class getMarketplaceHistoryByDate_result:
30012
  """
30013
  Attributes:
30014
   - success
30015
  """
30016
 
30017
  thrift_spec = (
30018
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
30019
  )
30020
 
30021
  def __init__(self, success=None,):
30022
    self.success = success
30023
 
30024
  def read(self, iprot):
30025
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30026
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30027
      return
30028
    iprot.readStructBegin()
30029
    while True:
30030
      (fname, ftype, fid) = iprot.readFieldBegin()
30031
      if ftype == TType.STOP:
30032
        break
30033
      if fid == 0:
30034
        if ftype == TType.LIST:
30035
          self.success = []
13493 amit.gupta 30036
          (_etype669, _size666) = iprot.readListBegin()
30037
          for _i670 in xrange(_size666):
30038
            _elem671 = MarketplaceHistory()
30039
            _elem671.read(iprot)
30040
            self.success.append(_elem671)
11015 kshitij.so 30041
          iprot.readListEnd()
30042
        else:
30043
          iprot.skip(ftype)
30044
      else:
30045
        iprot.skip(ftype)
30046
      iprot.readFieldEnd()
30047
    iprot.readStructEnd()
30048
 
30049
  def write(self, oprot):
30050
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30051
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30052
      return
30053
    oprot.writeStructBegin('getMarketplaceHistoryByDate_result')
30054
    if self.success is not None:
30055
      oprot.writeFieldBegin('success', TType.LIST, 0)
30056
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 30057
      for iter672 in self.success:
30058
        iter672.write(oprot)
11015 kshitij.so 30059
      oprot.writeListEnd()
30060
      oprot.writeFieldEnd()
30061
    oprot.writeFieldStop()
30062
    oprot.writeStructEnd()
30063
 
30064
  def validate(self):
30065
    return
30066
 
30067
 
30068
  def __repr__(self):
30069
    L = ['%s=%r' % (key, value)
30070
      for key, value in self.__dict__.iteritems()]
30071
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30072
 
30073
  def __eq__(self, other):
30074
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30075
 
30076
  def __ne__(self, other):
30077
    return not (self == other)
11531 vikram.rag 30078
 
30079
class getPrivateDealDetails_args:
30080
  """
30081
  Attributes:
30082
   - item_id
30083
  """
30084
 
30085
  thrift_spec = (
30086
    None, # 0
30087
    (1, TType.I64, 'item_id', None, None, ), # 1
30088
  )
30089
 
30090
  def __init__(self, item_id=None,):
30091
    self.item_id = item_id
30092
 
30093
  def read(self, iprot):
30094
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30095
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30096
      return
30097
    iprot.readStructBegin()
30098
    while True:
30099
      (fname, ftype, fid) = iprot.readFieldBegin()
30100
      if ftype == TType.STOP:
30101
        break
30102
      if fid == 1:
30103
        if ftype == TType.I64:
30104
          self.item_id = iprot.readI64();
30105
        else:
30106
          iprot.skip(ftype)
30107
      else:
30108
        iprot.skip(ftype)
30109
      iprot.readFieldEnd()
30110
    iprot.readStructEnd()
30111
 
30112
  def write(self, oprot):
30113
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30114
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30115
      return
30116
    oprot.writeStructBegin('getPrivateDealDetails_args')
30117
    if self.item_id is not None:
30118
      oprot.writeFieldBegin('item_id', TType.I64, 1)
30119
      oprot.writeI64(self.item_id)
30120
      oprot.writeFieldEnd()
30121
    oprot.writeFieldStop()
30122
    oprot.writeStructEnd()
30123
 
30124
  def validate(self):
30125
    return
30126
 
30127
 
30128
  def __repr__(self):
30129
    L = ['%s=%r' % (key, value)
30130
      for key, value in self.__dict__.iteritems()]
30131
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30132
 
30133
  def __eq__(self, other):
30134
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30135
 
30136
  def __ne__(self, other):
30137
    return not (self == other)
30138
 
30139
class getPrivateDealDetails_result:
30140
  """
30141
  Attributes:
30142
   - success
30143
  """
30144
 
30145
  thrift_spec = (
30146
    (0, TType.STRUCT, 'success', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 0
30147
  )
30148
 
30149
  def __init__(self, success=None,):
30150
    self.success = success
30151
 
30152
  def read(self, iprot):
30153
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30154
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30155
      return
30156
    iprot.readStructBegin()
30157
    while True:
30158
      (fname, ftype, fid) = iprot.readFieldBegin()
30159
      if ftype == TType.STOP:
30160
        break
30161
      if fid == 0:
30162
        if ftype == TType.STRUCT:
30163
          self.success = PrivateDeal()
30164
          self.success.read(iprot)
30165
        else:
30166
          iprot.skip(ftype)
30167
      else:
30168
        iprot.skip(ftype)
30169
      iprot.readFieldEnd()
30170
    iprot.readStructEnd()
30171
 
30172
  def write(self, oprot):
30173
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30174
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30175
      return
30176
    oprot.writeStructBegin('getPrivateDealDetails_result')
30177
    if self.success is not None:
30178
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
30179
      self.success.write(oprot)
30180
      oprot.writeFieldEnd()
30181
    oprot.writeFieldStop()
30182
    oprot.writeStructEnd()
30183
 
30184
  def validate(self):
30185
    return
30186
 
30187
 
30188
  def __repr__(self):
30189
    L = ['%s=%r' % (key, value)
30190
      for key, value in self.__dict__.iteritems()]
30191
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30192
 
30193
  def __eq__(self, other):
30194
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30195
 
30196
  def __ne__(self, other):
30197
    return not (self == other)
30198
 
30199
class getPrivateDealItems_args:
30200
  """
30201
  Attributes:
30202
   - offset
30203
   - limit
30204
  """
30205
 
30206
  thrift_spec = (
30207
    None, # 0
30208
    (1, TType.I64, 'offset', None, None, ), # 1
30209
    (2, TType.I64, 'limit', None, None, ), # 2
30210
  )
30211
 
30212
  def __init__(self, offset=None, limit=None,):
30213
    self.offset = offset
30214
    self.limit = limit
30215
 
30216
  def read(self, iprot):
30217
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30218
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30219
      return
30220
    iprot.readStructBegin()
30221
    while True:
30222
      (fname, ftype, fid) = iprot.readFieldBegin()
30223
      if ftype == TType.STOP:
30224
        break
30225
      if fid == 1:
30226
        if ftype == TType.I64:
30227
          self.offset = iprot.readI64();
30228
        else:
30229
          iprot.skip(ftype)
30230
      elif fid == 2:
30231
        if ftype == TType.I64:
30232
          self.limit = iprot.readI64();
30233
        else:
30234
          iprot.skip(ftype)
30235
      else:
30236
        iprot.skip(ftype)
30237
      iprot.readFieldEnd()
30238
    iprot.readStructEnd()
30239
 
30240
  def write(self, oprot):
30241
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30242
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30243
      return
30244
    oprot.writeStructBegin('getPrivateDealItems_args')
30245
    if self.offset is not None:
30246
      oprot.writeFieldBegin('offset', TType.I64, 1)
30247
      oprot.writeI64(self.offset)
30248
      oprot.writeFieldEnd()
30249
    if self.limit is not None:
30250
      oprot.writeFieldBegin('limit', TType.I64, 2)
30251
      oprot.writeI64(self.limit)
30252
      oprot.writeFieldEnd()
30253
    oprot.writeFieldStop()
30254
    oprot.writeStructEnd()
30255
 
30256
  def validate(self):
30257
    return
30258
 
30259
 
30260
  def __repr__(self):
30261
    L = ['%s=%r' % (key, value)
30262
      for key, value in self.__dict__.iteritems()]
30263
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30264
 
30265
  def __eq__(self, other):
30266
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30267
 
30268
  def __ne__(self, other):
30269
    return not (self == other)
30270
 
30271
class getPrivateDealItems_result:
30272
  """
30273
  Attributes:
30274
   - success
30275
  """
30276
 
30277
  thrift_spec = (
30278
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
30279
  )
30280
 
30281
  def __init__(self, success=None,):
30282
    self.success = success
30283
 
30284
  def read(self, iprot):
30285
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30286
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30287
      return
30288
    iprot.readStructBegin()
30289
    while True:
30290
      (fname, ftype, fid) = iprot.readFieldBegin()
30291
      if ftype == TType.STOP:
30292
        break
30293
      if fid == 0:
30294
        if ftype == TType.LIST:
30295
          self.success = []
13493 amit.gupta 30296
          (_etype676, _size673) = iprot.readListBegin()
30297
          for _i677 in xrange(_size673):
30298
            _elem678 = Item()
30299
            _elem678.read(iprot)
30300
            self.success.append(_elem678)
11531 vikram.rag 30301
          iprot.readListEnd()
30302
        else:
30303
          iprot.skip(ftype)
30304
      else:
30305
        iprot.skip(ftype)
30306
      iprot.readFieldEnd()
30307
    iprot.readStructEnd()
30308
 
30309
  def write(self, oprot):
30310
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30311
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30312
      return
30313
    oprot.writeStructBegin('getPrivateDealItems_result')
30314
    if self.success is not None:
30315
      oprot.writeFieldBegin('success', TType.LIST, 0)
30316
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 30317
      for iter679 in self.success:
30318
        iter679.write(oprot)
11531 vikram.rag 30319
      oprot.writeListEnd()
30320
      oprot.writeFieldEnd()
30321
    oprot.writeFieldStop()
30322
    oprot.writeStructEnd()
30323
 
30324
  def validate(self):
30325
    return
30326
 
30327
 
30328
  def __repr__(self):
30329
    L = ['%s=%r' % (key, value)
30330
      for key, value in self.__dict__.iteritems()]
30331
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30332
 
30333
  def __eq__(self, other):
30334
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30335
 
30336
  def __ne__(self, other):
30337
    return not (self == other)
30338
 
11592 amit.gupta 30339
class getAllActivePrivateDeals_args:
11653 amit.gupta 30340
  """
30341
  Attributes:
30342
   - itemIds
30343
   - daysDelta
30344
  """
11592 amit.gupta 30345
 
30346
  thrift_spec = (
11653 amit.gupta 30347
    None, # 0
30348
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
30349
    (2, TType.I64, 'daysDelta', None, None, ), # 2
11592 amit.gupta 30350
  )
30351
 
11653 amit.gupta 30352
  def __init__(self, itemIds=None, daysDelta=None,):
30353
    self.itemIds = itemIds
30354
    self.daysDelta = daysDelta
30355
 
11592 amit.gupta 30356
  def read(self, iprot):
30357
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30358
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30359
      return
30360
    iprot.readStructBegin()
30361
    while True:
30362
      (fname, ftype, fid) = iprot.readFieldBegin()
30363
      if ftype == TType.STOP:
30364
        break
11653 amit.gupta 30365
      if fid == 1:
30366
        if ftype == TType.LIST:
30367
          self.itemIds = []
13493 amit.gupta 30368
          (_etype683, _size680) = iprot.readListBegin()
30369
          for _i684 in xrange(_size680):
30370
            _elem685 = iprot.readI64();
30371
            self.itemIds.append(_elem685)
11653 amit.gupta 30372
          iprot.readListEnd()
30373
        else:
30374
          iprot.skip(ftype)
30375
      elif fid == 2:
30376
        if ftype == TType.I64:
30377
          self.daysDelta = iprot.readI64();
30378
        else:
30379
          iprot.skip(ftype)
11592 amit.gupta 30380
      else:
30381
        iprot.skip(ftype)
30382
      iprot.readFieldEnd()
30383
    iprot.readStructEnd()
30384
 
30385
  def write(self, oprot):
30386
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30387
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30388
      return
30389
    oprot.writeStructBegin('getAllActivePrivateDeals_args')
11653 amit.gupta 30390
    if self.itemIds is not None:
30391
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
30392
      oprot.writeListBegin(TType.I64, len(self.itemIds))
13493 amit.gupta 30393
      for iter686 in self.itemIds:
30394
        oprot.writeI64(iter686)
11653 amit.gupta 30395
      oprot.writeListEnd()
30396
      oprot.writeFieldEnd()
30397
    if self.daysDelta is not None:
30398
      oprot.writeFieldBegin('daysDelta', TType.I64, 2)
30399
      oprot.writeI64(self.daysDelta)
30400
      oprot.writeFieldEnd()
11592 amit.gupta 30401
    oprot.writeFieldStop()
30402
    oprot.writeStructEnd()
30403
 
30404
  def validate(self):
30405
    return
30406
 
30407
 
30408
  def __repr__(self):
30409
    L = ['%s=%r' % (key, value)
30410
      for key, value in self.__dict__.iteritems()]
30411
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30412
 
30413
  def __eq__(self, other):
30414
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30415
 
30416
  def __ne__(self, other):
30417
    return not (self == other)
30418
 
30419
class getAllActivePrivateDeals_result:
30420
  """
30421
  Attributes:
30422
   - success
30423
  """
30424
 
30425
  thrift_spec = (
30426
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(PrivateDeal, PrivateDeal.thrift_spec)), None, ), # 0
30427
  )
30428
 
30429
  def __init__(self, success=None,):
30430
    self.success = success
30431
 
30432
  def read(self, iprot):
30433
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30434
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30435
      return
30436
    iprot.readStructBegin()
30437
    while True:
30438
      (fname, ftype, fid) = iprot.readFieldBegin()
30439
      if ftype == TType.STOP:
30440
        break
30441
      if fid == 0:
30442
        if ftype == TType.MAP:
30443
          self.success = {}
13493 amit.gupta 30444
          (_ktype688, _vtype689, _size687 ) = iprot.readMapBegin() 
30445
          for _i691 in xrange(_size687):
30446
            _key692 = iprot.readI64();
30447
            _val693 = PrivateDeal()
30448
            _val693.read(iprot)
30449
            self.success[_key692] = _val693
11592 amit.gupta 30450
          iprot.readMapEnd()
30451
        else:
30452
          iprot.skip(ftype)
30453
      else:
30454
        iprot.skip(ftype)
30455
      iprot.readFieldEnd()
30456
    iprot.readStructEnd()
30457
 
30458
  def write(self, oprot):
30459
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30460
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30461
      return
30462
    oprot.writeStructBegin('getAllActivePrivateDeals_result')
30463
    if self.success is not None:
30464
      oprot.writeFieldBegin('success', TType.MAP, 0)
30465
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
13493 amit.gupta 30466
      for kiter694,viter695 in self.success.items():
30467
        oprot.writeI64(kiter694)
30468
        viter695.write(oprot)
11592 amit.gupta 30469
      oprot.writeMapEnd()
30470
      oprot.writeFieldEnd()
30471
    oprot.writeFieldStop()
30472
    oprot.writeStructEnd()
30473
 
30474
  def validate(self):
30475
    return
30476
 
30477
 
30478
  def __repr__(self):
30479
    L = ['%s=%r' % (key, value)
30480
      for key, value in self.__dict__.iteritems()]
30481
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30482
 
30483
  def __eq__(self, other):
30484
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30485
 
30486
  def __ne__(self, other):
30487
    return not (self == other)
30488
 
11531 vikram.rag 30489
class addOrUpdatePrivateDeal_args:
30490
  """
30491
  Attributes:
30492
   - privateDeal
30493
  """
30494
 
30495
  thrift_spec = (
30496
    None, # 0
30497
    (1, TType.STRUCT, 'privateDeal', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 1
30498
  )
30499
 
30500
  def __init__(self, privateDeal=None,):
30501
    self.privateDeal = privateDeal
30502
 
30503
  def read(self, iprot):
30504
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30505
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30506
      return
30507
    iprot.readStructBegin()
30508
    while True:
30509
      (fname, ftype, fid) = iprot.readFieldBegin()
30510
      if ftype == TType.STOP:
30511
        break
30512
      if fid == 1:
30513
        if ftype == TType.STRUCT:
30514
          self.privateDeal = PrivateDeal()
30515
          self.privateDeal.read(iprot)
30516
        else:
30517
          iprot.skip(ftype)
30518
      else:
30519
        iprot.skip(ftype)
30520
      iprot.readFieldEnd()
30521
    iprot.readStructEnd()
30522
 
30523
  def write(self, oprot):
30524
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30525
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30526
      return
30527
    oprot.writeStructBegin('addOrUpdatePrivateDeal_args')
30528
    if self.privateDeal is not None:
30529
      oprot.writeFieldBegin('privateDeal', TType.STRUCT, 1)
30530
      self.privateDeal.write(oprot)
30531
      oprot.writeFieldEnd()
30532
    oprot.writeFieldStop()
30533
    oprot.writeStructEnd()
30534
 
30535
  def validate(self):
30536
    return
30537
 
30538
 
30539
  def __repr__(self):
30540
    L = ['%s=%r' % (key, value)
30541
      for key, value in self.__dict__.iteritems()]
30542
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30543
 
30544
  def __eq__(self, other):
30545
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30546
 
30547
  def __ne__(self, other):
30548
    return not (self == other)
30549
 
30550
class addOrUpdatePrivateDeal_result:
30551
  """
30552
  Attributes:
30553
   - success
30554
  """
30555
 
30556
  thrift_spec = (
30557
    (0, TType.BOOL, 'success', None, None, ), # 0
30558
  )
30559
 
30560
  def __init__(self, success=None,):
30561
    self.success = success
30562
 
30563
  def read(self, iprot):
30564
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30565
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30566
      return
30567
    iprot.readStructBegin()
30568
    while True:
30569
      (fname, ftype, fid) = iprot.readFieldBegin()
30570
      if ftype == TType.STOP:
30571
        break
30572
      if fid == 0:
30573
        if ftype == TType.BOOL:
30574
          self.success = iprot.readBool();
30575
        else:
30576
          iprot.skip(ftype)
30577
      else:
30578
        iprot.skip(ftype)
30579
      iprot.readFieldEnd()
30580
    iprot.readStructEnd()
30581
 
30582
  def write(self, oprot):
30583
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30584
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30585
      return
30586
    oprot.writeStructBegin('addOrUpdatePrivateDeal_result')
30587
    if self.success is not None:
30588
      oprot.writeFieldBegin('success', TType.BOOL, 0)
30589
      oprot.writeBool(self.success)
30590
      oprot.writeFieldEnd()
30591
    oprot.writeFieldStop()
30592
    oprot.writeStructEnd()
30593
 
30594
  def validate(self):
30595
    return
30596
 
30597
 
30598
  def __repr__(self):
30599
    L = ['%s=%r' % (key, value)
30600
      for key, value in self.__dict__.iteritems()]
30601
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30602
 
30603
  def __eq__(self, other):
30604
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30605
 
30606
  def __ne__(self, other):
30607
    return not (self == other)
11635 vikram.rag 30608
 
30609
class getPrivateDealsCatalogIds_args:
30610
  """
30611
  Attributes:
30612
   - beginIndex
30613
   - totalItems
30614
  """
30615
 
30616
  thrift_spec = (
30617
    None, # 0
30618
    (1, TType.I64, 'beginIndex', None, None, ), # 1
30619
    (2, TType.I64, 'totalItems', None, None, ), # 2
30620
  )
30621
 
30622
  def __init__(self, beginIndex=None, totalItems=None,):
30623
    self.beginIndex = beginIndex
30624
    self.totalItems = totalItems
30625
 
30626
  def read(self, iprot):
30627
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30628
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30629
      return
30630
    iprot.readStructBegin()
30631
    while True:
30632
      (fname, ftype, fid) = iprot.readFieldBegin()
30633
      if ftype == TType.STOP:
30634
        break
30635
      if fid == 1:
30636
        if ftype == TType.I64:
30637
          self.beginIndex = iprot.readI64();
30638
        else:
30639
          iprot.skip(ftype)
30640
      elif fid == 2:
30641
        if ftype == TType.I64:
30642
          self.totalItems = iprot.readI64();
30643
        else:
30644
          iprot.skip(ftype)
30645
      else:
30646
        iprot.skip(ftype)
30647
      iprot.readFieldEnd()
30648
    iprot.readStructEnd()
30649
 
30650
  def write(self, oprot):
30651
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30652
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30653
      return
30654
    oprot.writeStructBegin('getPrivateDealsCatalogIds_args')
30655
    if self.beginIndex is not None:
30656
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
30657
      oprot.writeI64(self.beginIndex)
30658
      oprot.writeFieldEnd()
30659
    if self.totalItems is not None:
30660
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
30661
      oprot.writeI64(self.totalItems)
30662
      oprot.writeFieldEnd()
30663
    oprot.writeFieldStop()
30664
    oprot.writeStructEnd()
30665
 
30666
  def validate(self):
30667
    return
30668
 
30669
 
30670
  def __repr__(self):
30671
    L = ['%s=%r' % (key, value)
30672
      for key, value in self.__dict__.iteritems()]
30673
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30674
 
30675
  def __eq__(self, other):
30676
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30677
 
30678
  def __ne__(self, other):
30679
    return not (self == other)
30680
 
30681
class getPrivateDealsCatalogIds_result:
30682
  """
30683
  Attributes:
30684
   - success
30685
   - cex
30686
  """
30687
 
30688
  thrift_spec = (
30689
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
30690
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
30691
  )
30692
 
30693
  def __init__(self, success=None, cex=None,):
30694
    self.success = success
30695
    self.cex = cex
30696
 
30697
  def read(self, iprot):
30698
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30699
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30700
      return
30701
    iprot.readStructBegin()
30702
    while True:
30703
      (fname, ftype, fid) = iprot.readFieldBegin()
30704
      if ftype == TType.STOP:
30705
        break
30706
      if fid == 0:
30707
        if ftype == TType.LIST:
30708
          self.success = []
13493 amit.gupta 30709
          (_etype699, _size696) = iprot.readListBegin()
30710
          for _i700 in xrange(_size696):
30711
            _elem701 = iprot.readI64();
30712
            self.success.append(_elem701)
11635 vikram.rag 30713
          iprot.readListEnd()
30714
        else:
30715
          iprot.skip(ftype)
30716
      elif fid == 1:
30717
        if ftype == TType.STRUCT:
30718
          self.cex = CatalogServiceException()
30719
          self.cex.read(iprot)
30720
        else:
30721
          iprot.skip(ftype)
30722
      else:
30723
        iprot.skip(ftype)
30724
      iprot.readFieldEnd()
30725
    iprot.readStructEnd()
30726
 
30727
  def write(self, oprot):
30728
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30729
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30730
      return
30731
    oprot.writeStructBegin('getPrivateDealsCatalogIds_result')
30732
    if self.success is not None:
30733
      oprot.writeFieldBegin('success', TType.LIST, 0)
30734
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 30735
      for iter702 in self.success:
30736
        oprot.writeI64(iter702)
11635 vikram.rag 30737
      oprot.writeListEnd()
30738
      oprot.writeFieldEnd()
30739
    if self.cex is not None:
30740
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
30741
      self.cex.write(oprot)
30742
      oprot.writeFieldEnd()
30743
    oprot.writeFieldStop()
30744
    oprot.writeStructEnd()
30745
 
30746
  def validate(self):
30747
    return
30748
 
30749
 
30750
  def __repr__(self):
30751
    L = ['%s=%r' % (key, value)
30752
      for key, value in self.__dict__.iteritems()]
30753
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30754
 
30755
  def __eq__(self, other):
30756
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30757
 
30758
  def __ne__(self, other):
30759
    return not (self == other)
11645 amit.gupta 30760
 
30761
class getPrivateDealsCount_args:
30762
 
30763
  thrift_spec = (
30764
  )
30765
 
30766
  def read(self, iprot):
30767
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30768
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30769
      return
30770
    iprot.readStructBegin()
30771
    while True:
30772
      (fname, ftype, fid) = iprot.readFieldBegin()
30773
      if ftype == TType.STOP:
30774
        break
30775
      else:
30776
        iprot.skip(ftype)
30777
      iprot.readFieldEnd()
30778
    iprot.readStructEnd()
30779
 
30780
  def write(self, oprot):
30781
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30782
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30783
      return
30784
    oprot.writeStructBegin('getPrivateDealsCount_args')
30785
    oprot.writeFieldStop()
30786
    oprot.writeStructEnd()
30787
 
30788
  def validate(self):
30789
    return
30790
 
30791
 
30792
  def __repr__(self):
30793
    L = ['%s=%r' % (key, value)
30794
      for key, value in self.__dict__.iteritems()]
30795
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30796
 
30797
  def __eq__(self, other):
30798
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30799
 
30800
  def __ne__(self, other):
30801
    return not (self == other)
30802
 
30803
class getPrivateDealsCount_result:
30804
  """
30805
  Attributes:
30806
   - success
30807
  """
30808
 
30809
  thrift_spec = (
30810
    (0, TType.I32, 'success', None, None, ), # 0
30811
  )
30812
 
30813
  def __init__(self, success=None,):
30814
    self.success = success
30815
 
30816
  def read(self, iprot):
30817
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30818
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30819
      return
30820
    iprot.readStructBegin()
30821
    while True:
30822
      (fname, ftype, fid) = iprot.readFieldBegin()
30823
      if ftype == TType.STOP:
30824
        break
30825
      if fid == 0:
30826
        if ftype == TType.I32:
30827
          self.success = iprot.readI32();
30828
        else:
30829
          iprot.skip(ftype)
30830
      else:
30831
        iprot.skip(ftype)
30832
      iprot.readFieldEnd()
30833
    iprot.readStructEnd()
30834
 
30835
  def write(self, oprot):
30836
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30837
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30838
      return
30839
    oprot.writeStructBegin('getPrivateDealsCount_result')
30840
    if self.success is not None:
30841
      oprot.writeFieldBegin('success', TType.I32, 0)
30842
      oprot.writeI32(self.success)
30843
      oprot.writeFieldEnd()
30844
    oprot.writeFieldStop()
30845
    oprot.writeStructEnd()
30846
 
30847
  def validate(self):
30848
    return
30849
 
30850
 
30851
  def __repr__(self):
30852
    L = ['%s=%r' % (key, value)
30853
      for key, value in self.__dict__.iteritems()]
30854
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30855
 
30856
  def __eq__(self, other):
30857
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30858
 
30859
  def __ne__(self, other):
30860
    return not (self == other)
11905 kshitij.so 30861
 
30862
class getAmazonOutSyncItems_args:
30863
  """
30864
  Attributes:
30865
   - item_id
30866
  """
30867
 
30868
  thrift_spec = (
30869
    None, # 0
30870
    (1, TType.I64, 'item_id', None, None, ), # 1
30871
  )
30872
 
30873
  def __init__(self, item_id=None,):
30874
    self.item_id = item_id
30875
 
30876
  def read(self, iprot):
30877
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30878
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30879
      return
30880
    iprot.readStructBegin()
30881
    while True:
30882
      (fname, ftype, fid) = iprot.readFieldBegin()
30883
      if ftype == TType.STOP:
30884
        break
30885
      if fid == 1:
30886
        if ftype == TType.I64:
30887
          self.item_id = iprot.readI64();
30888
        else:
30889
          iprot.skip(ftype)
30890
      else:
30891
        iprot.skip(ftype)
30892
      iprot.readFieldEnd()
30893
    iprot.readStructEnd()
30894
 
30895
  def write(self, oprot):
30896
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30897
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30898
      return
30899
    oprot.writeStructBegin('getAmazonOutSyncItems_args')
30900
    if self.item_id is not None:
30901
      oprot.writeFieldBegin('item_id', TType.I64, 1)
30902
      oprot.writeI64(self.item_id)
30903
      oprot.writeFieldEnd()
30904
    oprot.writeFieldStop()
30905
    oprot.writeStructEnd()
30906
 
30907
  def validate(self):
30908
    return
30909
 
30910
 
30911
  def __repr__(self):
30912
    L = ['%s=%r' % (key, value)
30913
      for key, value in self.__dict__.iteritems()]
30914
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30915
 
30916
  def __eq__(self, other):
30917
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30918
 
30919
  def __ne__(self, other):
30920
    return not (self == other)
30921
 
30922
class getAmazonOutSyncItems_result:
30923
  """
30924
  Attributes:
30925
   - success
30926
  """
30927
 
30928
  thrift_spec = (
30929
    (0, TType.STRUCT, 'success', (AmazonOutOfSync, AmazonOutOfSync.thrift_spec), None, ), # 0
30930
  )
30931
 
30932
  def __init__(self, success=None,):
30933
    self.success = success
30934
 
30935
  def read(self, iprot):
30936
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30937
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30938
      return
30939
    iprot.readStructBegin()
30940
    while True:
30941
      (fname, ftype, fid) = iprot.readFieldBegin()
30942
      if ftype == TType.STOP:
30943
        break
30944
      if fid == 0:
30945
        if ftype == TType.STRUCT:
30946
          self.success = AmazonOutOfSync()
30947
          self.success.read(iprot)
30948
        else:
30949
          iprot.skip(ftype)
30950
      else:
30951
        iprot.skip(ftype)
30952
      iprot.readFieldEnd()
30953
    iprot.readStructEnd()
30954
 
30955
  def write(self, oprot):
30956
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30957
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30958
      return
30959
    oprot.writeStructBegin('getAmazonOutSyncItems_result')
30960
    if self.success is not None:
30961
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
30962
      self.success.write(oprot)
30963
      oprot.writeFieldEnd()
30964
    oprot.writeFieldStop()
30965
    oprot.writeStructEnd()
30966
 
30967
  def validate(self):
30968
    return
30969
 
30970
 
30971
  def __repr__(self):
30972
    L = ['%s=%r' % (key, value)
30973
      for key, value in self.__dict__.iteritems()]
30974
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30975
 
30976
  def __eq__(self, other):
30977
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30978
 
30979
  def __ne__(self, other):
30980
    return not (self == other)
30981
 
30982
class getAllPrivateDealsComparison_args:
30983
 
30984
  thrift_spec = (
30985
  )
30986
 
30987
  def read(self, iprot):
30988
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30989
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30990
      return
30991
    iprot.readStructBegin()
30992
    while True:
30993
      (fname, ftype, fid) = iprot.readFieldBegin()
30994
      if ftype == TType.STOP:
30995
        break
30996
      else:
30997
        iprot.skip(ftype)
30998
      iprot.readFieldEnd()
30999
    iprot.readStructEnd()
31000
 
31001
  def write(self, oprot):
31002
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31003
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31004
      return
31005
    oprot.writeStructBegin('getAllPrivateDealsComparison_args')
31006
    oprot.writeFieldStop()
31007
    oprot.writeStructEnd()
31008
 
31009
  def validate(self):
31010
    return
31011
 
31012
 
31013
  def __repr__(self):
31014
    L = ['%s=%r' % (key, value)
31015
      for key, value in self.__dict__.iteritems()]
31016
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31017
 
31018
  def __eq__(self, other):
31019
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31020
 
31021
  def __ne__(self, other):
31022
    return not (self == other)
31023
 
31024
class getAllPrivateDealsComparison_result:
31025
  """
31026
  Attributes:
31027
   - success
31028
  """
31029
 
31030
  thrift_spec = (
31031
    (0, TType.LIST, 'success', (TType.STRUCT,(PdPriceComp, PdPriceComp.thrift_spec)), None, ), # 0
31032
  )
31033
 
31034
  def __init__(self, success=None,):
31035
    self.success = success
31036
 
31037
  def read(self, iprot):
31038
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31039
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31040
      return
31041
    iprot.readStructBegin()
31042
    while True:
31043
      (fname, ftype, fid) = iprot.readFieldBegin()
31044
      if ftype == TType.STOP:
31045
        break
31046
      if fid == 0:
31047
        if ftype == TType.LIST:
31048
          self.success = []
13493 amit.gupta 31049
          (_etype706, _size703) = iprot.readListBegin()
31050
          for _i707 in xrange(_size703):
31051
            _elem708 = PdPriceComp()
31052
            _elem708.read(iprot)
31053
            self.success.append(_elem708)
11905 kshitij.so 31054
          iprot.readListEnd()
31055
        else:
31056
          iprot.skip(ftype)
31057
      else:
31058
        iprot.skip(ftype)
31059
      iprot.readFieldEnd()
31060
    iprot.readStructEnd()
31061
 
31062
  def write(self, oprot):
31063
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31064
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31065
      return
31066
    oprot.writeStructBegin('getAllPrivateDealsComparison_result')
31067
    if self.success is not None:
31068
      oprot.writeFieldBegin('success', TType.LIST, 0)
31069
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31070
      for iter709 in self.success:
31071
        iter709.write(oprot)
11905 kshitij.so 31072
      oprot.writeListEnd()
31073
      oprot.writeFieldEnd()
31074
    oprot.writeFieldStop()
31075
    oprot.writeStructEnd()
31076
 
31077
  def validate(self):
31078
    return
31079
 
31080
 
31081
  def __repr__(self):
31082
    L = ['%s=%r' % (key, value)
31083
      for key, value in self.__dict__.iteritems()]
31084
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31085
 
31086
  def __eq__(self, other):
31087
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31088
 
31089
  def __ne__(self, other):
31090
    return not (self == other)
12133 kshitij.so 31091
 
31092
class getAllSnapdealMarketplaceItem_args:
31093
 
31094
  thrift_spec = (
31095
  )
31096
 
31097
  def read(self, iprot):
31098
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31099
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31100
      return
31101
    iprot.readStructBegin()
31102
    while True:
31103
      (fname, ftype, fid) = iprot.readFieldBegin()
31104
      if ftype == TType.STOP:
31105
        break
31106
      else:
31107
        iprot.skip(ftype)
31108
      iprot.readFieldEnd()
31109
    iprot.readStructEnd()
31110
 
31111
  def write(self, oprot):
31112
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31113
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31114
      return
31115
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_args')
31116
    oprot.writeFieldStop()
31117
    oprot.writeStructEnd()
31118
 
31119
  def validate(self):
31120
    return
31121
 
31122
 
31123
  def __repr__(self):
31124
    L = ['%s=%r' % (key, value)
31125
      for key, value in self.__dict__.iteritems()]
31126
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31127
 
31128
  def __eq__(self, other):
31129
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31130
 
31131
  def __ne__(self, other):
31132
    return not (self == other)
31133
 
31134
class getAllSnapdealMarketplaceItem_result:
31135
  """
31136
  Attributes:
31137
   - success
31138
  """
31139
 
31140
  thrift_spec = (
31141
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItem, SnapdealItem.thrift_spec)), None, ), # 0
31142
  )
31143
 
31144
  def __init__(self, success=None,):
31145
    self.success = success
31146
 
31147
  def read(self, iprot):
31148
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31149
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31150
      return
31151
    iprot.readStructBegin()
31152
    while True:
31153
      (fname, ftype, fid) = iprot.readFieldBegin()
31154
      if ftype == TType.STOP:
31155
        break
31156
      if fid == 0:
31157
        if ftype == TType.LIST:
31158
          self.success = []
13493 amit.gupta 31159
          (_etype713, _size710) = iprot.readListBegin()
31160
          for _i714 in xrange(_size710):
31161
            _elem715 = SnapdealItem()
31162
            _elem715.read(iprot)
31163
            self.success.append(_elem715)
12133 kshitij.so 31164
          iprot.readListEnd()
31165
        else:
31166
          iprot.skip(ftype)
31167
      else:
31168
        iprot.skip(ftype)
31169
      iprot.readFieldEnd()
31170
    iprot.readStructEnd()
31171
 
31172
  def write(self, oprot):
31173
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31174
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31175
      return
31176
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_result')
31177
    if self.success is not None:
31178
      oprot.writeFieldBegin('success', TType.LIST, 0)
31179
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31180
      for iter716 in self.success:
31181
        iter716.write(oprot)
12133 kshitij.so 31182
      oprot.writeListEnd()
31183
      oprot.writeFieldEnd()
31184
    oprot.writeFieldStop()
31185
    oprot.writeStructEnd()
31186
 
31187
  def validate(self):
31188
    return
31189
 
31190
 
31191
  def __repr__(self):
31192
    L = ['%s=%r' % (key, value)
31193
      for key, value in self.__dict__.iteritems()]
31194
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31195
 
31196
  def __eq__(self, other):
31197
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31198
 
31199
  def __ne__(self, other):
31200
    return not (self == other)
31201
 
31202
class getAllFlipkartMarketplaceItem_args:
31203
 
31204
  thrift_spec = (
31205
  )
31206
 
31207
  def read(self, iprot):
31208
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31209
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31210
      return
31211
    iprot.readStructBegin()
31212
    while True:
31213
      (fname, ftype, fid) = iprot.readFieldBegin()
31214
      if ftype == TType.STOP:
31215
        break
31216
      else:
31217
        iprot.skip(ftype)
31218
      iprot.readFieldEnd()
31219
    iprot.readStructEnd()
31220
 
31221
  def write(self, oprot):
31222
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31223
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31224
      return
31225
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_args')
31226
    oprot.writeFieldStop()
31227
    oprot.writeStructEnd()
31228
 
31229
  def validate(self):
31230
    return
31231
 
31232
 
31233
  def __repr__(self):
31234
    L = ['%s=%r' % (key, value)
31235
      for key, value in self.__dict__.iteritems()]
31236
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31237
 
31238
  def __eq__(self, other):
31239
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31240
 
31241
  def __ne__(self, other):
31242
    return not (self == other)
31243
 
31244
class getAllFlipkartMarketplaceItem_result:
31245
  """
31246
  Attributes:
31247
   - success
31248
  """
31249
 
31250
  thrift_spec = (
31251
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
31252
  )
31253
 
31254
  def __init__(self, success=None,):
31255
    self.success = success
31256
 
31257
  def read(self, iprot):
31258
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31259
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31260
      return
31261
    iprot.readStructBegin()
31262
    while True:
31263
      (fname, ftype, fid) = iprot.readFieldBegin()
31264
      if ftype == TType.STOP:
31265
        break
31266
      if fid == 0:
31267
        if ftype == TType.LIST:
31268
          self.success = []
13493 amit.gupta 31269
          (_etype720, _size717) = iprot.readListBegin()
31270
          for _i721 in xrange(_size717):
31271
            _elem722 = FlipkartItem()
31272
            _elem722.read(iprot)
31273
            self.success.append(_elem722)
12133 kshitij.so 31274
          iprot.readListEnd()
31275
        else:
31276
          iprot.skip(ftype)
31277
      else:
31278
        iprot.skip(ftype)
31279
      iprot.readFieldEnd()
31280
    iprot.readStructEnd()
31281
 
31282
  def write(self, oprot):
31283
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31284
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31285
      return
31286
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_result')
31287
    if self.success is not None:
31288
      oprot.writeFieldBegin('success', TType.LIST, 0)
31289
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31290
      for iter723 in self.success:
31291
        iter723.write(oprot)
12133 kshitij.so 31292
      oprot.writeListEnd()
31293
      oprot.writeFieldEnd()
31294
    oprot.writeFieldStop()
31295
    oprot.writeStructEnd()
31296
 
31297
  def validate(self):
31298
    return
31299
 
31300
 
31301
  def __repr__(self):
31302
    L = ['%s=%r' % (key, value)
31303
      for key, value in self.__dict__.iteritems()]
31304
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31305
 
31306
  def __eq__(self, other):
31307
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31308
 
31309
  def __ne__(self, other):
31310
    return not (self == other)
12243 kshitij.so 31311
 
31312
class addCompetitorScraping_args:
31313
  """
31314
  Attributes:
31315
   - competitorPricingMap
31316
  """
31317
 
31318
  thrift_spec = (
31319
    None, # 0
31320
    (1, TType.MAP, 'competitorPricingMap', (TType.I64,None,TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 1
31321
  )
31322
 
31323
  def __init__(self, competitorPricingMap=None,):
31324
    self.competitorPricingMap = competitorPricingMap
31325
 
31326
  def read(self, iprot):
31327
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31328
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31329
      return
31330
    iprot.readStructBegin()
31331
    while True:
31332
      (fname, ftype, fid) = iprot.readFieldBegin()
31333
      if ftype == TType.STOP:
31334
        break
31335
      if fid == 1:
31336
        if ftype == TType.MAP:
31337
          self.competitorPricingMap = {}
13493 amit.gupta 31338
          (_ktype725, _vtype726, _size724 ) = iprot.readMapBegin() 
31339
          for _i728 in xrange(_size724):
31340
            _key729 = iprot.readI64();
31341
            _val730 = CompetitorPricing()
31342
            _val730.read(iprot)
31343
            self.competitorPricingMap[_key729] = _val730
12243 kshitij.so 31344
          iprot.readMapEnd()
31345
        else:
31346
          iprot.skip(ftype)
31347
      else:
31348
        iprot.skip(ftype)
31349
      iprot.readFieldEnd()
31350
    iprot.readStructEnd()
31351
 
31352
  def write(self, oprot):
31353
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31354
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31355
      return
31356
    oprot.writeStructBegin('addCompetitorScraping_args')
31357
    if self.competitorPricingMap is not None:
31358
      oprot.writeFieldBegin('competitorPricingMap', TType.MAP, 1)
31359
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.competitorPricingMap))
13493 amit.gupta 31360
      for kiter731,viter732 in self.competitorPricingMap.items():
31361
        oprot.writeI64(kiter731)
31362
        viter732.write(oprot)
12243 kshitij.so 31363
      oprot.writeMapEnd()
31364
      oprot.writeFieldEnd()
31365
    oprot.writeFieldStop()
31366
    oprot.writeStructEnd()
31367
 
31368
  def validate(self):
31369
    return
31370
 
31371
 
31372
  def __repr__(self):
31373
    L = ['%s=%r' % (key, value)
31374
      for key, value in self.__dict__.iteritems()]
31375
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31376
 
31377
  def __eq__(self, other):
31378
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31379
 
31380
  def __ne__(self, other):
31381
    return not (self == other)
31382
 
31383
class addCompetitorScraping_result:
31384
 
31385
  thrift_spec = (
31386
  )
31387
 
31388
  def read(self, iprot):
31389
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31390
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31391
      return
31392
    iprot.readStructBegin()
31393
    while True:
31394
      (fname, ftype, fid) = iprot.readFieldBegin()
31395
      if ftype == TType.STOP:
31396
        break
31397
      else:
31398
        iprot.skip(ftype)
31399
      iprot.readFieldEnd()
31400
    iprot.readStructEnd()
31401
 
31402
  def write(self, oprot):
31403
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31404
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31405
      return
31406
    oprot.writeStructBegin('addCompetitorScraping_result')
31407
    oprot.writeFieldStop()
31408
    oprot.writeStructEnd()
31409
 
31410
  def validate(self):
31411
    return
31412
 
31413
 
31414
  def __repr__(self):
31415
    L = ['%s=%r' % (key, value)
31416
      for key, value in self.__dict__.iteritems()]
31417
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31418
 
31419
  def __eq__(self, other):
31420
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31421
 
31422
  def __ne__(self, other):
31423
    return not (self == other)
31424
 
31425
class getPreviousCompetitorScraping_args:
31426
  """
31427
  Attributes:
31428
   - delta
31429
  """
31430
 
31431
  thrift_spec = (
31432
    None, # 0
31433
    (1, TType.I64, 'delta', None, None, ), # 1
31434
  )
31435
 
31436
  def __init__(self, delta=None,):
31437
    self.delta = delta
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 == 1:
31449
        if ftype == TType.I64:
31450
          self.delta = iprot.readI64();
31451
        else:
31452
          iprot.skip(ftype)
31453
      else:
31454
        iprot.skip(ftype)
31455
      iprot.readFieldEnd()
31456
    iprot.readStructEnd()
31457
 
31458
  def write(self, oprot):
31459
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31460
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31461
      return
31462
    oprot.writeStructBegin('getPreviousCompetitorScraping_args')
31463
    if self.delta is not None:
31464
      oprot.writeFieldBegin('delta', TType.I64, 1)
31465
      oprot.writeI64(self.delta)
31466
      oprot.writeFieldEnd()
31467
    oprot.writeFieldStop()
31468
    oprot.writeStructEnd()
31469
 
31470
  def validate(self):
31471
    return
31472
 
31473
 
31474
  def __repr__(self):
31475
    L = ['%s=%r' % (key, value)
31476
      for key, value in self.__dict__.iteritems()]
31477
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31478
 
31479
  def __eq__(self, other):
31480
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31481
 
31482
  def __ne__(self, other):
31483
    return not (self == other)
31484
 
31485
class getPreviousCompetitorScraping_result:
31486
  """
31487
  Attributes:
31488
   - success
31489
  """
31490
 
31491
  thrift_spec = (
31492
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
31493
  )
31494
 
31495
  def __init__(self, success=None,):
31496
    self.success = success
31497
 
31498
  def read(self, iprot):
31499
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31500
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31501
      return
31502
    iprot.readStructBegin()
31503
    while True:
31504
      (fname, ftype, fid) = iprot.readFieldBegin()
31505
      if ftype == TType.STOP:
31506
        break
31507
      if fid == 0:
31508
        if ftype == TType.LIST:
31509
          self.success = []
13493 amit.gupta 31510
          (_etype736, _size733) = iprot.readListBegin()
31511
          for _i737 in xrange(_size733):
31512
            _elem738 = CompetitorPricing()
31513
            _elem738.read(iprot)
31514
            self.success.append(_elem738)
12243 kshitij.so 31515
          iprot.readListEnd()
31516
        else:
31517
          iprot.skip(ftype)
31518
      else:
31519
        iprot.skip(ftype)
31520
      iprot.readFieldEnd()
31521
    iprot.readStructEnd()
31522
 
31523
  def write(self, oprot):
31524
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31525
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31526
      return
31527
    oprot.writeStructBegin('getPreviousCompetitorScraping_result')
31528
    if self.success is not None:
31529
      oprot.writeFieldBegin('success', TType.LIST, 0)
31530
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31531
      for iter739 in self.success:
31532
        iter739.write(oprot)
12243 kshitij.so 31533
      oprot.writeListEnd()
31534
      oprot.writeFieldEnd()
31535
    oprot.writeFieldStop()
31536
    oprot.writeStructEnd()
31537
 
31538
  def validate(self):
31539
    return
31540
 
31541
 
31542
  def __repr__(self):
31543
    L = ['%s=%r' % (key, value)
31544
      for key, value in self.__dict__.iteritems()]
31545
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31546
 
31547
  def __eq__(self, other):
31548
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31549
 
31550
  def __ne__(self, other):
31551
    return not (self == other)
12256 kshitij.so 31552
 
31553
class getUploadResultById_args:
31554
  """
31555
  Attributes:
31556
   - uploadId
31557
  """
31558
 
31559
  thrift_spec = (
31560
    None, # 0
31561
    (1, TType.I64, 'uploadId', None, None, ), # 1
31562
  )
31563
 
31564
  def __init__(self, uploadId=None,):
31565
    self.uploadId = uploadId
31566
 
31567
  def read(self, iprot):
31568
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31569
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31570
      return
31571
    iprot.readStructBegin()
31572
    while True:
31573
      (fname, ftype, fid) = iprot.readFieldBegin()
31574
      if ftype == TType.STOP:
31575
        break
31576
      if fid == 1:
31577
        if ftype == TType.I64:
31578
          self.uploadId = iprot.readI64();
31579
        else:
31580
          iprot.skip(ftype)
31581
      else:
31582
        iprot.skip(ftype)
31583
      iprot.readFieldEnd()
31584
    iprot.readStructEnd()
31585
 
31586
  def write(self, oprot):
31587
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31588
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31589
      return
31590
    oprot.writeStructBegin('getUploadResultById_args')
31591
    if self.uploadId is not None:
31592
      oprot.writeFieldBegin('uploadId', TType.I64, 1)
31593
      oprot.writeI64(self.uploadId)
31594
      oprot.writeFieldEnd()
31595
    oprot.writeFieldStop()
31596
    oprot.writeStructEnd()
31597
 
31598
  def validate(self):
31599
    return
31600
 
31601
 
31602
  def __repr__(self):
31603
    L = ['%s=%r' % (key, value)
31604
      for key, value in self.__dict__.iteritems()]
31605
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31606
 
31607
  def __eq__(self, other):
31608
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31609
 
31610
  def __ne__(self, other):
31611
    return not (self == other)
31612
 
31613
class getUploadResultById_result:
31614
  """
31615
  Attributes:
31616
   - success
31617
  """
31618
 
31619
  thrift_spec = (
31620
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
31621
  )
31622
 
31623
  def __init__(self, success=None,):
31624
    self.success = success
31625
 
31626
  def read(self, iprot):
31627
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31628
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31629
      return
31630
    iprot.readStructBegin()
31631
    while True:
31632
      (fname, ftype, fid) = iprot.readFieldBegin()
31633
      if ftype == TType.STOP:
31634
        break
31635
      if fid == 0:
31636
        if ftype == TType.LIST:
31637
          self.success = []
13493 amit.gupta 31638
          (_etype743, _size740) = iprot.readListBegin()
31639
          for _i744 in xrange(_size740):
31640
            _elem745 = CompetitorPricing()
31641
            _elem745.read(iprot)
31642
            self.success.append(_elem745)
12256 kshitij.so 31643
          iprot.readListEnd()
31644
        else:
31645
          iprot.skip(ftype)
31646
      else:
31647
        iprot.skip(ftype)
31648
      iprot.readFieldEnd()
31649
    iprot.readStructEnd()
31650
 
31651
  def write(self, oprot):
31652
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31653
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31654
      return
31655
    oprot.writeStructBegin('getUploadResultById_result')
31656
    if self.success is not None:
31657
      oprot.writeFieldBegin('success', TType.LIST, 0)
31658
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31659
      for iter746 in self.success:
31660
        iter746.write(oprot)
12256 kshitij.so 31661
      oprot.writeListEnd()
31662
      oprot.writeFieldEnd()
31663
    oprot.writeFieldStop()
31664
    oprot.writeStructEnd()
31665
 
31666
  def validate(self):
31667
    return
31668
 
31669
 
31670
  def __repr__(self):
31671
    L = ['%s=%r' % (key, value)
31672
      for key, value in self.__dict__.iteritems()]
31673
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31674
 
31675
  def __eq__(self, other):
31676
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31677
 
31678
  def __ne__(self, other):
31679
    return not (self == other)
12363 kshitij.so 31680
 
31681
class addAmazonPromotion_args:
31682
  """
31683
  Attributes:
31684
   - amazonPromotions
31685
  """
31686
 
31687
  thrift_spec = (
31688
    None, # 0
31689
    (1, TType.MAP, 'amazonPromotions', (TType.STRING,None,TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
31690
  )
31691
 
31692
  def __init__(self, amazonPromotions=None,):
31693
    self.amazonPromotions = amazonPromotions
31694
 
31695
  def read(self, iprot):
31696
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31697
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31698
      return
31699
    iprot.readStructBegin()
31700
    while True:
31701
      (fname, ftype, fid) = iprot.readFieldBegin()
31702
      if ftype == TType.STOP:
31703
        break
31704
      if fid == 1:
31705
        if ftype == TType.MAP:
31706
          self.amazonPromotions = {}
13493 amit.gupta 31707
          (_ktype748, _vtype749, _size747 ) = iprot.readMapBegin() 
31708
          for _i751 in xrange(_size747):
31709
            _key752 = iprot.readString();
31710
            _val753 = AmazonPromotion()
31711
            _val753.read(iprot)
31712
            self.amazonPromotions[_key752] = _val753
12363 kshitij.so 31713
          iprot.readMapEnd()
31714
        else:
31715
          iprot.skip(ftype)
31716
      else:
31717
        iprot.skip(ftype)
31718
      iprot.readFieldEnd()
31719
    iprot.readStructEnd()
31720
 
31721
  def write(self, oprot):
31722
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31723
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31724
      return
31725
    oprot.writeStructBegin('addAmazonPromotion_args')
31726
    if self.amazonPromotions is not None:
31727
      oprot.writeFieldBegin('amazonPromotions', TType.MAP, 1)
31728
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.amazonPromotions))
13493 amit.gupta 31729
      for kiter754,viter755 in self.amazonPromotions.items():
31730
        oprot.writeString(kiter754)
31731
        viter755.write(oprot)
12363 kshitij.so 31732
      oprot.writeMapEnd()
31733
      oprot.writeFieldEnd()
31734
    oprot.writeFieldStop()
31735
    oprot.writeStructEnd()
31736
 
31737
  def validate(self):
31738
    return
31739
 
31740
 
31741
  def __repr__(self):
31742
    L = ['%s=%r' % (key, value)
31743
      for key, value in self.__dict__.iteritems()]
31744
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31745
 
31746
  def __eq__(self, other):
31747
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31748
 
31749
  def __ne__(self, other):
31750
    return not (self == other)
31751
 
31752
class addAmazonPromotion_result:
31753
  """
31754
  Attributes:
31755
   - success
12947 kshitij.so 31756
   - cex
12363 kshitij.so 31757
  """
31758
 
31759
  thrift_spec = (
12947 kshitij.so 31760
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
31761
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12363 kshitij.so 31762
  )
31763
 
12947 kshitij.so 31764
  def __init__(self, success=None, cex=None,):
12363 kshitij.so 31765
    self.success = success
12947 kshitij.so 31766
    self.cex = cex
12363 kshitij.so 31767
 
31768
  def read(self, iprot):
31769
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31770
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31771
      return
31772
    iprot.readStructBegin()
31773
    while True:
31774
      (fname, ftype, fid) = iprot.readFieldBegin()
31775
      if ftype == TType.STOP:
31776
        break
31777
      if fid == 0:
12947 kshitij.so 31778
        if ftype == TType.LIST:
31779
          self.success = []
13493 amit.gupta 31780
          (_etype759, _size756) = iprot.readListBegin()
31781
          for _i760 in xrange(_size756):
31782
            _elem761 = iprot.readString();
31783
            self.success.append(_elem761)
12947 kshitij.so 31784
          iprot.readListEnd()
12363 kshitij.so 31785
        else:
31786
          iprot.skip(ftype)
12947 kshitij.so 31787
      elif fid == 1:
31788
        if ftype == TType.STRUCT:
31789
          self.cex = CatalogServiceException()
31790
          self.cex.read(iprot)
31791
        else:
31792
          iprot.skip(ftype)
12363 kshitij.so 31793
      else:
31794
        iprot.skip(ftype)
31795
      iprot.readFieldEnd()
31796
    iprot.readStructEnd()
31797
 
31798
  def write(self, oprot):
31799
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31800
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31801
      return
31802
    oprot.writeStructBegin('addAmazonPromotion_result')
31803
    if self.success is not None:
12947 kshitij.so 31804
      oprot.writeFieldBegin('success', TType.LIST, 0)
31805
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 31806
      for iter762 in self.success:
31807
        oprot.writeString(iter762)
12947 kshitij.so 31808
      oprot.writeListEnd()
12363 kshitij.so 31809
      oprot.writeFieldEnd()
12947 kshitij.so 31810
    if self.cex is not None:
31811
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
31812
      self.cex.write(oprot)
31813
      oprot.writeFieldEnd()
12363 kshitij.so 31814
    oprot.writeFieldStop()
31815
    oprot.writeStructEnd()
31816
 
31817
  def validate(self):
31818
    return
31819
 
31820
 
31821
  def __repr__(self):
31822
    L = ['%s=%r' % (key, value)
31823
      for key, value in self.__dict__.iteritems()]
31824
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31825
 
31826
  def __eq__(self, other):
31827
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31828
 
31829
  def __ne__(self, other):
31830
    return not (self == other)
31831
 
31832
class getAmazonPromotion_args:
31833
  """
31834
  Attributes:
31835
   - startDate
31836
   - endDate
31837
  """
31838
 
31839
  thrift_spec = (
31840
    None, # 0
31841
    (1, TType.I64, 'startDate', None, None, ), # 1
31842
    (2, TType.I64, 'endDate', None, None, ), # 2
31843
  )
31844
 
31845
  def __init__(self, startDate=None, endDate=None,):
31846
    self.startDate = startDate
31847
    self.endDate = endDate
31848
 
31849
  def read(self, iprot):
31850
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31851
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31852
      return
31853
    iprot.readStructBegin()
31854
    while True:
31855
      (fname, ftype, fid) = iprot.readFieldBegin()
31856
      if ftype == TType.STOP:
31857
        break
31858
      if fid == 1:
31859
        if ftype == TType.I64:
31860
          self.startDate = iprot.readI64();
31861
        else:
31862
          iprot.skip(ftype)
31863
      elif fid == 2:
31864
        if ftype == TType.I64:
31865
          self.endDate = iprot.readI64();
31866
        else:
31867
          iprot.skip(ftype)
31868
      else:
31869
        iprot.skip(ftype)
31870
      iprot.readFieldEnd()
31871
    iprot.readStructEnd()
31872
 
31873
  def write(self, oprot):
31874
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31875
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31876
      return
31877
    oprot.writeStructBegin('getAmazonPromotion_args')
31878
    if self.startDate is not None:
31879
      oprot.writeFieldBegin('startDate', TType.I64, 1)
31880
      oprot.writeI64(self.startDate)
31881
      oprot.writeFieldEnd()
31882
    if self.endDate is not None:
31883
      oprot.writeFieldBegin('endDate', TType.I64, 2)
31884
      oprot.writeI64(self.endDate)
31885
      oprot.writeFieldEnd()
31886
    oprot.writeFieldStop()
31887
    oprot.writeStructEnd()
31888
 
31889
  def validate(self):
31890
    return
31891
 
31892
 
31893
  def __repr__(self):
31894
    L = ['%s=%r' % (key, value)
31895
      for key, value in self.__dict__.iteritems()]
31896
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31897
 
31898
  def __eq__(self, other):
31899
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31900
 
31901
  def __ne__(self, other):
31902
    return not (self == other)
31903
 
31904
class getAmazonPromotion_result:
31905
  """
31906
  Attributes:
31907
   - success
31908
  """
31909
 
31910
  thrift_spec = (
31911
    (0, TType.LIST, 'success', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 0
31912
  )
31913
 
31914
  def __init__(self, success=None,):
31915
    self.success = success
31916
 
31917
  def read(self, iprot):
31918
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31919
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31920
      return
31921
    iprot.readStructBegin()
31922
    while True:
31923
      (fname, ftype, fid) = iprot.readFieldBegin()
31924
      if ftype == TType.STOP:
31925
        break
31926
      if fid == 0:
31927
        if ftype == TType.LIST:
31928
          self.success = []
13493 amit.gupta 31929
          (_etype766, _size763) = iprot.readListBegin()
31930
          for _i767 in xrange(_size763):
31931
            _elem768 = AmazonPromotion()
31932
            _elem768.read(iprot)
31933
            self.success.append(_elem768)
12363 kshitij.so 31934
          iprot.readListEnd()
31935
        else:
31936
          iprot.skip(ftype)
31937
      else:
31938
        iprot.skip(ftype)
31939
      iprot.readFieldEnd()
31940
    iprot.readStructEnd()
31941
 
31942
  def write(self, oprot):
31943
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31944
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31945
      return
31946
    oprot.writeStructBegin('getAmazonPromotion_result')
31947
    if self.success is not None:
31948
      oprot.writeFieldBegin('success', TType.LIST, 0)
31949
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31950
      for iter769 in self.success:
31951
        iter769.write(oprot)
12363 kshitij.so 31952
      oprot.writeListEnd()
31953
      oprot.writeFieldEnd()
31954
    oprot.writeFieldStop()
31955
    oprot.writeStructEnd()
31956
 
31957
  def validate(self):
31958
    return
31959
 
31960
 
31961
  def __repr__(self):
31962
    L = ['%s=%r' % (key, value)
31963
      for key, value in self.__dict__.iteritems()]
31964
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31965
 
31966
  def __eq__(self, other):
31967
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31968
 
31969
  def __ne__(self, other):
31970
    return not (self == other)
31971
 
31972
class updateAmazonPromotion_args:
31973
  """
31974
  Attributes:
31975
   - amazonPromotions
31976
  """
31977
 
31978
  thrift_spec = (
31979
    None, # 0
31980
    (1, TType.LIST, 'amazonPromotions', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
31981
  )
31982
 
31983
  def __init__(self, amazonPromotions=None,):
31984
    self.amazonPromotions = amazonPromotions
31985
 
31986
  def read(self, iprot):
31987
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31988
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31989
      return
31990
    iprot.readStructBegin()
31991
    while True:
31992
      (fname, ftype, fid) = iprot.readFieldBegin()
31993
      if ftype == TType.STOP:
31994
        break
31995
      if fid == 1:
31996
        if ftype == TType.LIST:
31997
          self.amazonPromotions = []
13493 amit.gupta 31998
          (_etype773, _size770) = iprot.readListBegin()
31999
          for _i774 in xrange(_size770):
32000
            _elem775 = AmazonPromotion()
32001
            _elem775.read(iprot)
32002
            self.amazonPromotions.append(_elem775)
12363 kshitij.so 32003
          iprot.readListEnd()
32004
        else:
32005
          iprot.skip(ftype)
32006
      else:
32007
        iprot.skip(ftype)
32008
      iprot.readFieldEnd()
32009
    iprot.readStructEnd()
32010
 
32011
  def write(self, oprot):
32012
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32013
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32014
      return
32015
    oprot.writeStructBegin('updateAmazonPromotion_args')
32016
    if self.amazonPromotions is not None:
32017
      oprot.writeFieldBegin('amazonPromotions', TType.LIST, 1)
32018
      oprot.writeListBegin(TType.STRUCT, len(self.amazonPromotions))
13493 amit.gupta 32019
      for iter776 in self.amazonPromotions:
32020
        iter776.write(oprot)
12363 kshitij.so 32021
      oprot.writeListEnd()
32022
      oprot.writeFieldEnd()
32023
    oprot.writeFieldStop()
32024
    oprot.writeStructEnd()
32025
 
32026
  def validate(self):
32027
    return
32028
 
32029
 
32030
  def __repr__(self):
32031
    L = ['%s=%r' % (key, value)
32032
      for key, value in self.__dict__.iteritems()]
32033
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32034
 
32035
  def __eq__(self, other):
32036
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32037
 
32038
  def __ne__(self, other):
32039
    return not (self == other)
32040
 
32041
class updateAmazonPromotion_result:
32042
  """
32043
  Attributes:
32044
   - success
32045
  """
32046
 
32047
  thrift_spec = (
32048
    (0, TType.BOOL, 'success', None, None, ), # 0
32049
  )
32050
 
32051
  def __init__(self, success=None,):
32052
    self.success = success
32053
 
32054
  def read(self, iprot):
32055
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32056
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32057
      return
32058
    iprot.readStructBegin()
32059
    while True:
32060
      (fname, ftype, fid) = iprot.readFieldBegin()
32061
      if ftype == TType.STOP:
32062
        break
32063
      if fid == 0:
32064
        if ftype == TType.BOOL:
32065
          self.success = iprot.readBool();
32066
        else:
32067
          iprot.skip(ftype)
32068
      else:
32069
        iprot.skip(ftype)
32070
      iprot.readFieldEnd()
32071
    iprot.readStructEnd()
32072
 
32073
  def write(self, oprot):
32074
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32075
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32076
      return
32077
    oprot.writeStructBegin('updateAmazonPromotion_result')
32078
    if self.success is not None:
32079
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32080
      oprot.writeBool(self.success)
32081
      oprot.writeFieldEnd()
32082
    oprot.writeFieldStop()
32083
    oprot.writeStructEnd()
32084
 
32085
  def validate(self):
32086
    return
32087
 
32088
 
32089
  def __repr__(self):
32090
    L = ['%s=%r' % (key, value)
32091
      for key, value in self.__dict__.iteritems()]
32092
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32093
 
32094
  def __eq__(self, other):
32095
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32096
 
32097
  def __ne__(self, other):
32098
    return not (self == other)
12567 amit.gupta 32099
 
32100
class markPartiallyActive_args:
32101
  """
32102
  Attributes:
32103
   - itemId
32104
   - categoryId
32105
  """
32106
 
32107
  thrift_spec = (
32108
    None, # 0
32109
    (1, TType.I64, 'itemId', None, None, ), # 1
32110
    (2, TType.I64, 'categoryId', None, None, ), # 2
32111
  )
32112
 
32113
  def __init__(self, itemId=None, categoryId=None,):
32114
    self.itemId = itemId
32115
    self.categoryId = categoryId
32116
 
32117
  def read(self, iprot):
32118
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32119
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32120
      return
32121
    iprot.readStructBegin()
32122
    while True:
32123
      (fname, ftype, fid) = iprot.readFieldBegin()
32124
      if ftype == TType.STOP:
32125
        break
32126
      if fid == 1:
32127
        if ftype == TType.I64:
32128
          self.itemId = iprot.readI64();
32129
        else:
32130
          iprot.skip(ftype)
32131
      elif fid == 2:
32132
        if ftype == TType.I64:
32133
          self.categoryId = iprot.readI64();
32134
        else:
32135
          iprot.skip(ftype)
32136
      else:
32137
        iprot.skip(ftype)
32138
      iprot.readFieldEnd()
32139
    iprot.readStructEnd()
32140
 
32141
  def write(self, oprot):
32142
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32143
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32144
      return
32145
    oprot.writeStructBegin('markPartiallyActive_args')
32146
    if self.itemId is not None:
32147
      oprot.writeFieldBegin('itemId', TType.I64, 1)
32148
      oprot.writeI64(self.itemId)
32149
      oprot.writeFieldEnd()
32150
    if self.categoryId is not None:
32151
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
32152
      oprot.writeI64(self.categoryId)
32153
      oprot.writeFieldEnd()
32154
    oprot.writeFieldStop()
32155
    oprot.writeStructEnd()
32156
 
32157
  def validate(self):
32158
    return
32159
 
32160
 
32161
  def __repr__(self):
32162
    L = ['%s=%r' % (key, value)
32163
      for key, value in self.__dict__.iteritems()]
32164
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32165
 
32166
  def __eq__(self, other):
32167
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32168
 
32169
  def __ne__(self, other):
32170
    return not (self == other)
32171
 
32172
class markPartiallyActive_result:
32173
  """
32174
  Attributes:
32175
   - success
32176
  """
32177
 
32178
  thrift_spec = (
32179
    (0, TType.BOOL, 'success', None, None, ), # 0
32180
  )
32181
 
32182
  def __init__(self, success=None,):
32183
    self.success = success
32184
 
32185
  def read(self, iprot):
32186
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32187
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32188
      return
32189
    iprot.readStructBegin()
32190
    while True:
32191
      (fname, ftype, fid) = iprot.readFieldBegin()
32192
      if ftype == TType.STOP:
32193
        break
32194
      if fid == 0:
32195
        if ftype == TType.BOOL:
32196
          self.success = iprot.readBool();
32197
        else:
32198
          iprot.skip(ftype)
32199
      else:
32200
        iprot.skip(ftype)
32201
      iprot.readFieldEnd()
32202
    iprot.readStructEnd()
32203
 
32204
  def write(self, oprot):
32205
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32206
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32207
      return
32208
    oprot.writeStructBegin('markPartiallyActive_result')
32209
    if self.success is not None:
32210
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32211
      oprot.writeBool(self.success)
32212
      oprot.writeFieldEnd()
32213
    oprot.writeFieldStop()
32214
    oprot.writeStructEnd()
32215
 
32216
  def validate(self):
32217
    return
32218
 
32219
 
32220
  def __repr__(self):
32221
    L = ['%s=%r' % (key, value)
32222
      for key, value in self.__dict__.iteritems()]
32223
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32224
 
32225
  def __eq__(self, other):
32226
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32227
 
32228
  def __ne__(self, other):
32229
    return not (self == other)
32230
 
32231
class updateItemStateVat_args:
32232
  """
32233
  Attributes:
32234
   - itemId
32235
   - statevat
32236
  """
32237
 
32238
  thrift_spec = (
32239
    None, # 0
32240
    (1, TType.I64, 'itemId', None, None, ), # 1
32241
    (2, TType.MAP, 'statevat', (TType.I64,None,TType.DOUBLE,None), None, ), # 2
32242
  )
32243
 
32244
  def __init__(self, itemId=None, statevat=None,):
32245
    self.itemId = itemId
32246
    self.statevat = statevat
32247
 
32248
  def read(self, iprot):
32249
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32250
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32251
      return
32252
    iprot.readStructBegin()
32253
    while True:
32254
      (fname, ftype, fid) = iprot.readFieldBegin()
32255
      if ftype == TType.STOP:
32256
        break
32257
      if fid == 1:
32258
        if ftype == TType.I64:
32259
          self.itemId = iprot.readI64();
32260
        else:
32261
          iprot.skip(ftype)
32262
      elif fid == 2:
32263
        if ftype == TType.MAP:
32264
          self.statevat = {}
13493 amit.gupta 32265
          (_ktype778, _vtype779, _size777 ) = iprot.readMapBegin() 
32266
          for _i781 in xrange(_size777):
32267
            _key782 = iprot.readI64();
32268
            _val783 = iprot.readDouble();
32269
            self.statevat[_key782] = _val783
12567 amit.gupta 32270
          iprot.readMapEnd()
32271
        else:
32272
          iprot.skip(ftype)
32273
      else:
32274
        iprot.skip(ftype)
32275
      iprot.readFieldEnd()
32276
    iprot.readStructEnd()
32277
 
32278
  def write(self, oprot):
32279
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32280
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32281
      return
32282
    oprot.writeStructBegin('updateItemStateVat_args')
32283
    if self.itemId is not None:
32284
      oprot.writeFieldBegin('itemId', TType.I64, 1)
32285
      oprot.writeI64(self.itemId)
32286
      oprot.writeFieldEnd()
32287
    if self.statevat is not None:
32288
      oprot.writeFieldBegin('statevat', TType.MAP, 2)
32289
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.statevat))
13493 amit.gupta 32290
      for kiter784,viter785 in self.statevat.items():
32291
        oprot.writeI64(kiter784)
32292
        oprot.writeDouble(viter785)
12567 amit.gupta 32293
      oprot.writeMapEnd()
32294
      oprot.writeFieldEnd()
32295
    oprot.writeFieldStop()
32296
    oprot.writeStructEnd()
32297
 
32298
  def validate(self):
32299
    return
32300
 
32301
 
32302
  def __repr__(self):
32303
    L = ['%s=%r' % (key, value)
32304
      for key, value in self.__dict__.iteritems()]
32305
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32306
 
32307
  def __eq__(self, other):
32308
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32309
 
32310
  def __ne__(self, other):
32311
    return not (self == other)
32312
 
32313
class updateItemStateVat_result:
32314
  """
32315
  Attributes:
32316
   - success
32317
  """
32318
 
32319
  thrift_spec = (
32320
    (0, TType.BOOL, 'success', None, None, ), # 0
32321
  )
32322
 
32323
  def __init__(self, success=None,):
32324
    self.success = success
32325
 
32326
  def read(self, iprot):
32327
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32328
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32329
      return
32330
    iprot.readStructBegin()
32331
    while True:
32332
      (fname, ftype, fid) = iprot.readFieldBegin()
32333
      if ftype == TType.STOP:
32334
        break
32335
      if fid == 0:
32336
        if ftype == TType.BOOL:
32337
          self.success = iprot.readBool();
32338
        else:
32339
          iprot.skip(ftype)
32340
      else:
32341
        iprot.skip(ftype)
32342
      iprot.readFieldEnd()
32343
    iprot.readStructEnd()
32344
 
32345
  def write(self, oprot):
32346
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32347
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32348
      return
32349
    oprot.writeStructBegin('updateItemStateVat_result')
32350
    if self.success is not None:
32351
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32352
      oprot.writeBool(self.success)
32353
      oprot.writeFieldEnd()
32354
    oprot.writeFieldStop()
32355
    oprot.writeStructEnd()
32356
 
32357
  def validate(self):
32358
    return
32359
 
32360
 
32361
  def __repr__(self):
32362
    L = ['%s=%r' % (key, value)
32363
      for key, value in self.__dict__.iteritems()]
32364
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32365
 
32366
  def __eq__(self, other):
32367
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32368
 
32369
  def __ne__(self, other):
32370
    return not (self == other)
12620 amit.gupta 32371
 
32372
class getExAffiliateItemInfo_args:
32373
 
32374
  thrift_spec = (
32375
  )
32376
 
32377
  def read(self, iprot):
32378
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32379
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32380
      return
32381
    iprot.readStructBegin()
32382
    while True:
32383
      (fname, ftype, fid) = iprot.readFieldBegin()
32384
      if ftype == TType.STOP:
32385
        break
32386
      else:
32387
        iprot.skip(ftype)
32388
      iprot.readFieldEnd()
32389
    iprot.readStructEnd()
32390
 
32391
  def write(self, oprot):
32392
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32393
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32394
      return
32395
    oprot.writeStructBegin('getExAffiliateItemInfo_args')
32396
    oprot.writeFieldStop()
32397
    oprot.writeStructEnd()
32398
 
32399
  def validate(self):
32400
    return
32401
 
32402
 
32403
  def __repr__(self):
32404
    L = ['%s=%r' % (key, value)
32405
      for key, value in self.__dict__.iteritems()]
32406
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32407
 
32408
  def __eq__(self, other):
32409
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32410
 
32411
  def __ne__(self, other):
32412
    return not (self == other)
32413
 
32414
class getExAffiliateItemInfo_result:
32415
  """
32416
  Attributes:
32417
   - success
32418
  """
32419
 
32420
  thrift_spec = (
32421
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(ExclusiveAffiliateItemInfo, ExclusiveAffiliateItemInfo.thrift_spec)), None, ), # 0
32422
  )
32423
 
32424
  def __init__(self, success=None,):
32425
    self.success = success
32426
 
32427
  def read(self, iprot):
32428
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32429
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32430
      return
32431
    iprot.readStructBegin()
32432
    while True:
32433
      (fname, ftype, fid) = iprot.readFieldBegin()
32434
      if ftype == TType.STOP:
32435
        break
32436
      if fid == 0:
32437
        if ftype == TType.MAP:
32438
          self.success = {}
13493 amit.gupta 32439
          (_ktype787, _vtype788, _size786 ) = iprot.readMapBegin() 
32440
          for _i790 in xrange(_size786):
32441
            _key791 = iprot.readI64();
32442
            _val792 = ExclusiveAffiliateItemInfo()
32443
            _val792.read(iprot)
32444
            self.success[_key791] = _val792
12620 amit.gupta 32445
          iprot.readMapEnd()
32446
        else:
32447
          iprot.skip(ftype)
32448
      else:
32449
        iprot.skip(ftype)
32450
      iprot.readFieldEnd()
32451
    iprot.readStructEnd()
32452
 
32453
  def write(self, oprot):
32454
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32455
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32456
      return
32457
    oprot.writeStructBegin('getExAffiliateItemInfo_result')
32458
    if self.success is not None:
32459
      oprot.writeFieldBegin('success', TType.MAP, 0)
32460
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
13493 amit.gupta 32461
      for kiter793,viter794 in self.success.items():
32462
        oprot.writeI64(kiter793)
32463
        viter794.write(oprot)
12620 amit.gupta 32464
      oprot.writeMapEnd()
32465
      oprot.writeFieldEnd()
32466
    oprot.writeFieldStop()
32467
    oprot.writeStructEnd()
32468
 
32469
  def validate(self):
32470
    return
32471
 
32472
 
32473
  def __repr__(self):
32474
    L = ['%s=%r' % (key, value)
32475
      for key, value in self.__dict__.iteritems()]
32476
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32477
 
32478
  def __eq__(self, other):
32479
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32480
 
32481
  def __ne__(self, other):
32482
    return not (self == other)
12888 kshitij.so 32483
 
32484
class getAllItemstoListOnFbg_args:
32485
 
32486
  thrift_spec = (
32487
  )
32488
 
32489
  def read(self, iprot):
32490
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32491
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32492
      return
32493
    iprot.readStructBegin()
32494
    while True:
32495
      (fname, ftype, fid) = iprot.readFieldBegin()
32496
      if ftype == TType.STOP:
32497
        break
32498
      else:
32499
        iprot.skip(ftype)
32500
      iprot.readFieldEnd()
32501
    iprot.readStructEnd()
32502
 
32503
  def write(self, oprot):
32504
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32505
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32506
      return
32507
    oprot.writeStructBegin('getAllItemstoListOnFbg_args')
32508
    oprot.writeFieldStop()
32509
    oprot.writeStructEnd()
32510
 
32511
  def validate(self):
32512
    return
32513
 
32514
 
32515
  def __repr__(self):
32516
    L = ['%s=%r' % (key, value)
32517
      for key, value in self.__dict__.iteritems()]
32518
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32519
 
32520
  def __eq__(self, other):
32521
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32522
 
32523
  def __ne__(self, other):
32524
    return not (self == other)
32525
 
32526
class getAllItemstoListOnFbg_result:
32527
  """
32528
  Attributes:
32529
   - success
32530
  """
32531
 
32532
  thrift_spec = (
32533
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
32534
  )
32535
 
32536
  def __init__(self, success=None,):
32537
    self.success = success
32538
 
32539
  def read(self, iprot):
32540
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32541
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32542
      return
32543
    iprot.readStructBegin()
32544
    while True:
32545
      (fname, ftype, fid) = iprot.readFieldBegin()
32546
      if ftype == TType.STOP:
32547
        break
32548
      if fid == 0:
32549
        if ftype == TType.LIST:
32550
          self.success = []
13493 amit.gupta 32551
          (_etype798, _size795) = iprot.readListBegin()
32552
          for _i799 in xrange(_size795):
32553
            _elem800 = Amazonlisted()
32554
            _elem800.read(iprot)
32555
            self.success.append(_elem800)
12888 kshitij.so 32556
          iprot.readListEnd()
32557
        else:
32558
          iprot.skip(ftype)
32559
      else:
32560
        iprot.skip(ftype)
32561
      iprot.readFieldEnd()
32562
    iprot.readStructEnd()
32563
 
32564
  def write(self, oprot):
32565
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32566
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32567
      return
32568
    oprot.writeStructBegin('getAllItemstoListOnFbg_result')
32569
    if self.success is not None:
32570
      oprot.writeFieldBegin('success', TType.LIST, 0)
32571
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 32572
      for iter801 in self.success:
32573
        iter801.write(oprot)
12888 kshitij.so 32574
      oprot.writeListEnd()
32575
      oprot.writeFieldEnd()
32576
    oprot.writeFieldStop()
32577
    oprot.writeStructEnd()
32578
 
32579
  def validate(self):
32580
    return
32581
 
32582
 
32583
  def __repr__(self):
32584
    L = ['%s=%r' % (key, value)
32585
      for key, value in self.__dict__.iteritems()]
32586
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32587
 
32588
  def __eq__(self, other):
32589
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32590
 
32591
  def __ne__(self, other):
32592
    return not (self == other)
12892 kshitij.so 32593
 
32594
class getAllFbgListedItems_args:
32595
 
32596
  thrift_spec = (
32597
  )
32598
 
32599
  def read(self, iprot):
32600
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32601
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32602
      return
32603
    iprot.readStructBegin()
32604
    while True:
32605
      (fname, ftype, fid) = iprot.readFieldBegin()
32606
      if ftype == TType.STOP:
32607
        break
32608
      else:
32609
        iprot.skip(ftype)
32610
      iprot.readFieldEnd()
32611
    iprot.readStructEnd()
32612
 
32613
  def write(self, oprot):
32614
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32615
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32616
      return
32617
    oprot.writeStructBegin('getAllFbgListedItems_args')
32618
    oprot.writeFieldStop()
32619
    oprot.writeStructEnd()
32620
 
32621
  def validate(self):
32622
    return
32623
 
32624
 
32625
  def __repr__(self):
32626
    L = ['%s=%r' % (key, value)
32627
      for key, value in self.__dict__.iteritems()]
32628
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32629
 
32630
  def __eq__(self, other):
32631
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32632
 
32633
  def __ne__(self, other):
32634
    return not (self == other)
32635
 
32636
class getAllFbgListedItems_result:
32637
  """
32638
  Attributes:
32639
   - success
32640
  """
32641
 
32642
  thrift_spec = (
32643
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
32644
  )
32645
 
32646
  def __init__(self, success=None,):
32647
    self.success = success
32648
 
32649
  def read(self, iprot):
32650
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32651
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32652
      return
32653
    iprot.readStructBegin()
32654
    while True:
32655
      (fname, ftype, fid) = iprot.readFieldBegin()
32656
      if ftype == TType.STOP:
32657
        break
32658
      if fid == 0:
32659
        if ftype == TType.LIST:
32660
          self.success = []
13493 amit.gupta 32661
          (_etype805, _size802) = iprot.readListBegin()
32662
          for _i806 in xrange(_size802):
32663
            _elem807 = Amazonlisted()
32664
            _elem807.read(iprot)
32665
            self.success.append(_elem807)
12892 kshitij.so 32666
          iprot.readListEnd()
32667
        else:
32668
          iprot.skip(ftype)
32669
      else:
32670
        iprot.skip(ftype)
32671
      iprot.readFieldEnd()
32672
    iprot.readStructEnd()
32673
 
32674
  def write(self, oprot):
32675
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32676
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32677
      return
32678
    oprot.writeStructBegin('getAllFbgListedItems_result')
32679
    if self.success is not None:
32680
      oprot.writeFieldBegin('success', TType.LIST, 0)
32681
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 32682
      for iter808 in self.success:
32683
        iter808.write(oprot)
12892 kshitij.so 32684
      oprot.writeListEnd()
32685
      oprot.writeFieldEnd()
32686
    oprot.writeFieldStop()
32687
    oprot.writeStructEnd()
32688
 
32689
  def validate(self):
32690
    return
32691
 
32692
 
32693
  def __repr__(self):
32694
    L = ['%s=%r' % (key, value)
32695
      for key, value in self.__dict__.iteritems()]
32696
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32697
 
32698
  def __eq__(self, other):
32699
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32700
 
32701
  def __ne__(self, other):
32702
    return not (self == other)
13136 amit.gupta 32703
 
32704
class checkServices_args:
32705
  """
32706
  Attributes:
32707
   - lines
32708
  """
32709
 
32710
  thrift_spec = (
32711
    None, # 0
32712
    (1, TType.MAP, 'lines', (TType.I64,None,TType.MAP,(TType.STRING,None,TType.I64,None)), None, ), # 1
32713
  )
32714
 
32715
  def __init__(self, lines=None,):
32716
    self.lines = lines
32717
 
32718
  def read(self, iprot):
32719
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32720
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32721
      return
32722
    iprot.readStructBegin()
32723
    while True:
32724
      (fname, ftype, fid) = iprot.readFieldBegin()
32725
      if ftype == TType.STOP:
32726
        break
32727
      if fid == 1:
32728
        if ftype == TType.MAP:
32729
          self.lines = {}
13493 amit.gupta 32730
          (_ktype810, _vtype811, _size809 ) = iprot.readMapBegin() 
32731
          for _i813 in xrange(_size809):
32732
            _key814 = iprot.readI64();
32733
            _val815 = {}
32734
            (_ktype817, _vtype818, _size816 ) = iprot.readMapBegin() 
32735
            for _i820 in xrange(_size816):
32736
              _key821 = iprot.readString();
32737
              _val822 = iprot.readI64();
32738
              _val815[_key821] = _val822
13136 amit.gupta 32739
            iprot.readMapEnd()
13493 amit.gupta 32740
            self.lines[_key814] = _val815
13136 amit.gupta 32741
          iprot.readMapEnd()
32742
        else:
32743
          iprot.skip(ftype)
32744
      else:
32745
        iprot.skip(ftype)
32746
      iprot.readFieldEnd()
32747
    iprot.readStructEnd()
32748
 
32749
  def write(self, oprot):
32750
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32751
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32752
      return
32753
    oprot.writeStructBegin('checkServices_args')
32754
    if self.lines is not None:
32755
      oprot.writeFieldBegin('lines', TType.MAP, 1)
32756
      oprot.writeMapBegin(TType.I64, TType.MAP, len(self.lines))
13493 amit.gupta 32757
      for kiter823,viter824 in self.lines.items():
32758
        oprot.writeI64(kiter823)
32759
        oprot.writeMapBegin(TType.STRING, TType.I64, len(viter824))
32760
        for kiter825,viter826 in viter824.items():
32761
          oprot.writeString(kiter825)
32762
          oprot.writeI64(viter826)
13136 amit.gupta 32763
        oprot.writeMapEnd()
32764
      oprot.writeMapEnd()
32765
      oprot.writeFieldEnd()
32766
    oprot.writeFieldStop()
32767
    oprot.writeStructEnd()
32768
 
32769
  def validate(self):
32770
    return
32771
 
32772
 
32773
  def __repr__(self):
32774
    L = ['%s=%r' % (key, value)
32775
      for key, value in self.__dict__.iteritems()]
32776
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32777
 
32778
  def __eq__(self, other):
32779
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32780
 
32781
  def __ne__(self, other):
32782
    return not (self == other)
32783
 
32784
class checkServices_result:
32785
  """
32786
  Attributes:
32787
   - success
32788
   - cex
32789
  """
32790
 
32791
  thrift_spec = (
32792
    (0, TType.MAP, 'success', (TType.I64,None,TType.MAP,(TType.STRING,None,TType.I64,None)), None, ), # 0
32793
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
32794
  )
32795
 
32796
  def __init__(self, success=None, cex=None,):
32797
    self.success = success
32798
    self.cex = cex
32799
 
32800
  def read(self, iprot):
32801
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32802
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32803
      return
32804
    iprot.readStructBegin()
32805
    while True:
32806
      (fname, ftype, fid) = iprot.readFieldBegin()
32807
      if ftype == TType.STOP:
32808
        break
32809
      if fid == 0:
32810
        if ftype == TType.MAP:
32811
          self.success = {}
13493 amit.gupta 32812
          (_ktype828, _vtype829, _size827 ) = iprot.readMapBegin() 
32813
          for _i831 in xrange(_size827):
32814
            _key832 = iprot.readI64();
32815
            _val833 = {}
32816
            (_ktype835, _vtype836, _size834 ) = iprot.readMapBegin() 
32817
            for _i838 in xrange(_size834):
32818
              _key839 = iprot.readString();
32819
              _val840 = iprot.readI64();
32820
              _val833[_key839] = _val840
13136 amit.gupta 32821
            iprot.readMapEnd()
13493 amit.gupta 32822
            self.success[_key832] = _val833
13136 amit.gupta 32823
          iprot.readMapEnd()
32824
        else:
32825
          iprot.skip(ftype)
32826
      elif fid == 1:
32827
        if ftype == TType.STRUCT:
32828
          self.cex = CatalogServiceException()
32829
          self.cex.read(iprot)
32830
        else:
32831
          iprot.skip(ftype)
32832
      else:
32833
        iprot.skip(ftype)
32834
      iprot.readFieldEnd()
32835
    iprot.readStructEnd()
32836
 
32837
  def write(self, oprot):
32838
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32839
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32840
      return
32841
    oprot.writeStructBegin('checkServices_result')
32842
    if self.success is not None:
32843
      oprot.writeFieldBegin('success', TType.MAP, 0)
32844
      oprot.writeMapBegin(TType.I64, TType.MAP, len(self.success))
13493 amit.gupta 32845
      for kiter841,viter842 in self.success.items():
32846
        oprot.writeI64(kiter841)
32847
        oprot.writeMapBegin(TType.STRING, TType.I64, len(viter842))
32848
        for kiter843,viter844 in viter842.items():
32849
          oprot.writeString(kiter843)
32850
          oprot.writeI64(viter844)
13136 amit.gupta 32851
        oprot.writeMapEnd()
32852
      oprot.writeMapEnd()
32853
      oprot.writeFieldEnd()
32854
    if self.cex is not None:
32855
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
32856
      self.cex.write(oprot)
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)
13709 manish.sha 32875
 
32876
class addHsItem_args:
32877
  """
32878
  Attributes:
32879
   - hsItems
32880
  """
32881
 
32882
  thrift_spec = (
32883
    None, # 0
32884
    (1, TType.LIST, 'hsItems', (TType.STRUCT,(HsItem, HsItem.thrift_spec)), None, ), # 1
32885
  )
32886
 
32887
  def __init__(self, hsItems=None,):
32888
    self.hsItems = hsItems
32889
 
32890
  def read(self, iprot):
32891
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32892
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32893
      return
32894
    iprot.readStructBegin()
32895
    while True:
32896
      (fname, ftype, fid) = iprot.readFieldBegin()
32897
      if ftype == TType.STOP:
32898
        break
32899
      if fid == 1:
32900
        if ftype == TType.LIST:
32901
          self.hsItems = []
32902
          (_etype848, _size845) = iprot.readListBegin()
32903
          for _i849 in xrange(_size845):
32904
            _elem850 = HsItem()
32905
            _elem850.read(iprot)
32906
            self.hsItems.append(_elem850)
32907
          iprot.readListEnd()
32908
        else:
32909
          iprot.skip(ftype)
32910
      else:
32911
        iprot.skip(ftype)
32912
      iprot.readFieldEnd()
32913
    iprot.readStructEnd()
32914
 
32915
  def write(self, oprot):
32916
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32917
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32918
      return
32919
    oprot.writeStructBegin('addHsItem_args')
32920
    if self.hsItems is not None:
32921
      oprot.writeFieldBegin('hsItems', TType.LIST, 1)
32922
      oprot.writeListBegin(TType.STRUCT, len(self.hsItems))
32923
      for iter851 in self.hsItems:
32924
        iter851.write(oprot)
32925
      oprot.writeListEnd()
32926
      oprot.writeFieldEnd()
32927
    oprot.writeFieldStop()
32928
    oprot.writeStructEnd()
32929
 
32930
  def validate(self):
32931
    return
32932
 
32933
 
32934
  def __repr__(self):
32935
    L = ['%s=%r' % (key, value)
32936
      for key, value in self.__dict__.iteritems()]
32937
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32938
 
32939
  def __eq__(self, other):
32940
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32941
 
32942
  def __ne__(self, other):
32943
    return not (self == other)
32944
 
32945
class addHsItem_result:
32946
 
32947
  thrift_spec = (
32948
  )
32949
 
32950
  def read(self, iprot):
32951
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32952
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32953
      return
32954
    iprot.readStructBegin()
32955
    while True:
32956
      (fname, ftype, fid) = iprot.readFieldBegin()
32957
      if ftype == TType.STOP:
32958
        break
32959
      else:
32960
        iprot.skip(ftype)
32961
      iprot.readFieldEnd()
32962
    iprot.readStructEnd()
32963
 
32964
  def write(self, oprot):
32965
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32966
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32967
      return
32968
    oprot.writeStructBegin('addHsItem_result')
32969
    oprot.writeFieldStop()
32970
    oprot.writeStructEnd()
32971
 
32972
  def validate(self):
32973
    return
32974
 
32975
 
32976
  def __repr__(self):
32977
    L = ['%s=%r' % (key, value)
32978
      for key, value in self.__dict__.iteritems()]
32979
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32980
 
32981
  def __eq__(self, other):
32982
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32983
 
32984
  def __ne__(self, other):
32985
    return not (self == other)
32986
 
32987
class getHsItem_args:
32988
  """
32989
  Attributes:
32990
   - hsItemId
32991
  """
32992
 
32993
  thrift_spec = (
32994
    None, # 0
32995
    (1, TType.STRING, 'hsItemId', None, None, ), # 1
32996
  )
32997
 
32998
  def __init__(self, hsItemId=None,):
32999
    self.hsItemId = hsItemId
33000
 
33001
  def read(self, iprot):
33002
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33003
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33004
      return
33005
    iprot.readStructBegin()
33006
    while True:
33007
      (fname, ftype, fid) = iprot.readFieldBegin()
33008
      if ftype == TType.STOP:
33009
        break
33010
      if fid == 1:
33011
        if ftype == TType.STRING:
33012
          self.hsItemId = iprot.readString();
33013
        else:
33014
          iprot.skip(ftype)
33015
      else:
33016
        iprot.skip(ftype)
33017
      iprot.readFieldEnd()
33018
    iprot.readStructEnd()
33019
 
33020
  def write(self, oprot):
33021
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33022
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33023
      return
33024
    oprot.writeStructBegin('getHsItem_args')
33025
    if self.hsItemId is not None:
33026
      oprot.writeFieldBegin('hsItemId', TType.STRING, 1)
33027
      oprot.writeString(self.hsItemId)
33028
      oprot.writeFieldEnd()
33029
    oprot.writeFieldStop()
33030
    oprot.writeStructEnd()
33031
 
33032
  def validate(self):
33033
    return
33034
 
33035
 
33036
  def __repr__(self):
33037
    L = ['%s=%r' % (key, value)
33038
      for key, value in self.__dict__.iteritems()]
33039
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33040
 
33041
  def __eq__(self, other):
33042
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33043
 
33044
  def __ne__(self, other):
33045
    return not (self == other)
33046
 
33047
class getHsItem_result:
33048
  """
33049
  Attributes:
33050
   - success
33051
  """
33052
 
33053
  thrift_spec = (
33054
    (0, TType.STRUCT, 'success', (HsItem, HsItem.thrift_spec), None, ), # 0
33055
  )
33056
 
33057
  def __init__(self, success=None,):
33058
    self.success = success
33059
 
33060
  def read(self, iprot):
33061
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33062
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33063
      return
33064
    iprot.readStructBegin()
33065
    while True:
33066
      (fname, ftype, fid) = iprot.readFieldBegin()
33067
      if ftype == TType.STOP:
33068
        break
33069
      if fid == 0:
33070
        if ftype == TType.STRUCT:
33071
          self.success = HsItem()
33072
          self.success.read(iprot)
33073
        else:
33074
          iprot.skip(ftype)
33075
      else:
33076
        iprot.skip(ftype)
33077
      iprot.readFieldEnd()
33078
    iprot.readStructEnd()
33079
 
33080
  def write(self, oprot):
33081
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33082
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33083
      return
33084
    oprot.writeStructBegin('getHsItem_result')
33085
    if self.success is not None:
33086
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
33087
      self.success.write(oprot)
33088
      oprot.writeFieldEnd()
33089
    oprot.writeFieldStop()
33090
    oprot.writeStructEnd()
33091
 
33092
  def validate(self):
33093
    return
33094
 
33095
 
33096
  def __repr__(self):
33097
    L = ['%s=%r' % (key, value)
33098
      for key, value in self.__dict__.iteritems()]
33099
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33100
 
33101
  def __eq__(self, other):
33102
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33103
 
33104
  def __ne__(self, other):
33105
    return not (self == other)
33106
 
33107
class updateHsItem_args:
33108
  """
33109
  Attributes:
33110
   - hsItem
33111
  """
33112
 
33113
  thrift_spec = (
33114
    None, # 0
33115
    (1, TType.STRUCT, 'hsItem', (HsItem, HsItem.thrift_spec), None, ), # 1
33116
  )
33117
 
33118
  def __init__(self, hsItem=None,):
33119
    self.hsItem = hsItem
33120
 
33121
  def read(self, iprot):
33122
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33123
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33124
      return
33125
    iprot.readStructBegin()
33126
    while True:
33127
      (fname, ftype, fid) = iprot.readFieldBegin()
33128
      if ftype == TType.STOP:
33129
        break
33130
      if fid == 1:
33131
        if ftype == TType.STRUCT:
33132
          self.hsItem = HsItem()
33133
          self.hsItem.read(iprot)
33134
        else:
33135
          iprot.skip(ftype)
33136
      else:
33137
        iprot.skip(ftype)
33138
      iprot.readFieldEnd()
33139
    iprot.readStructEnd()
33140
 
33141
  def write(self, oprot):
33142
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33143
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33144
      return
33145
    oprot.writeStructBegin('updateHsItem_args')
33146
    if self.hsItem is not None:
33147
      oprot.writeFieldBegin('hsItem', TType.STRUCT, 1)
33148
      self.hsItem.write(oprot)
33149
      oprot.writeFieldEnd()
33150
    oprot.writeFieldStop()
33151
    oprot.writeStructEnd()
33152
 
33153
  def validate(self):
33154
    return
33155
 
33156
 
33157
  def __repr__(self):
33158
    L = ['%s=%r' % (key, value)
33159
      for key, value in self.__dict__.iteritems()]
33160
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33161
 
33162
  def __eq__(self, other):
33163
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33164
 
33165
  def __ne__(self, other):
33166
    return not (self == other)
33167
 
33168
class updateHsItem_result:
33169
 
33170
  thrift_spec = (
33171
  )
33172
 
33173
  def read(self, iprot):
33174
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33175
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33176
      return
33177
    iprot.readStructBegin()
33178
    while True:
33179
      (fname, ftype, fid) = iprot.readFieldBegin()
33180
      if ftype == TType.STOP:
33181
        break
33182
      else:
33183
        iprot.skip(ftype)
33184
      iprot.readFieldEnd()
33185
    iprot.readStructEnd()
33186
 
33187
  def write(self, oprot):
33188
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33189
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33190
      return
33191
    oprot.writeStructBegin('updateHsItem_result')
33192
    oprot.writeFieldStop()
33193
    oprot.writeStructEnd()
33194
 
33195
  def validate(self):
33196
    return
33197
 
33198
 
33199
  def __repr__(self):
33200
    L = ['%s=%r' % (key, value)
33201
      for key, value in self.__dict__.iteritems()]
33202
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33203
 
33204
  def __eq__(self, other):
33205
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33206
 
33207
  def __ne__(self, other):
33208
    return not (self == other)
14182 kshitij.so 33209
 
33210
class getPricingForDtr_args:
33211
  """
33212
  Attributes:
33213
   - catalogItemId
33214
  """
33215
 
33216
  thrift_spec = (
33217
    None, # 0
33218
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
33219
  )
33220
 
33221
  def __init__(self, catalogItemId=None,):
33222
    self.catalogItemId = catalogItemId
33223
 
33224
  def read(self, iprot):
33225
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33226
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33227
      return
33228
    iprot.readStructBegin()
33229
    while True:
33230
      (fname, ftype, fid) = iprot.readFieldBegin()
33231
      if ftype == TType.STOP:
33232
        break
33233
      if fid == 1:
33234
        if ftype == TType.I64:
33235
          self.catalogItemId = iprot.readI64();
33236
        else:
33237
          iprot.skip(ftype)
33238
      else:
33239
        iprot.skip(ftype)
33240
      iprot.readFieldEnd()
33241
    iprot.readStructEnd()
33242
 
33243
  def write(self, oprot):
33244
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33245
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33246
      return
33247
    oprot.writeStructBegin('getPricingForDtr_args')
33248
    if self.catalogItemId is not None:
33249
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
33250
      oprot.writeI64(self.catalogItemId)
33251
      oprot.writeFieldEnd()
33252
    oprot.writeFieldStop()
33253
    oprot.writeStructEnd()
33254
 
33255
  def validate(self):
33256
    return
33257
 
33258
 
33259
  def __repr__(self):
33260
    L = ['%s=%r' % (key, value)
33261
      for key, value in self.__dict__.iteritems()]
33262
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33263
 
33264
  def __eq__(self, other):
33265
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33266
 
33267
  def __ne__(self, other):
33268
    return not (self == other)
33269
 
33270
class getPricingForDtr_result:
33271
  """
33272
  Attributes:
33273
   - success
33274
  """
33275
 
33276
  thrift_spec = (
33277
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
33278
  )
33279
 
33280
  def __init__(self, success=None,):
33281
    self.success = success
33282
 
33283
  def read(self, iprot):
33284
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33285
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33286
      return
33287
    iprot.readStructBegin()
33288
    while True:
33289
      (fname, ftype, fid) = iprot.readFieldBegin()
33290
      if ftype == TType.STOP:
33291
        break
33292
      if fid == 0:
33293
        if ftype == TType.STRUCT:
33294
          self.success = Item()
33295
          self.success.read(iprot)
33296
        else:
33297
          iprot.skip(ftype)
33298
      else:
33299
        iprot.skip(ftype)
33300
      iprot.readFieldEnd()
33301
    iprot.readStructEnd()
33302
 
33303
  def write(self, oprot):
33304
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33305
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33306
      return
33307
    oprot.writeStructBegin('getPricingForDtr_result')
33308
    if self.success is not None:
33309
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
33310
      self.success.write(oprot)
33311
      oprot.writeFieldEnd()
33312
    oprot.writeFieldStop()
33313
    oprot.writeStructEnd()
33314
 
33315
  def validate(self):
33316
    return
33317
 
33318
 
33319
  def __repr__(self):
33320
    L = ['%s=%r' % (key, value)
33321
      for key, value in self.__dict__.iteritems()]
33322
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33323
 
33324
  def __eq__(self, other):
33325
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33326
 
33327
  def __ne__(self, other):
33328
    return not (self == other)
15702 kshitij.so 33329
 
33330
class getAllItemstoListOnFbd_args:
33331
 
33332
  thrift_spec = (
33333
  )
33334
 
33335
  def read(self, iprot):
33336
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33337
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33338
      return
33339
    iprot.readStructBegin()
33340
    while True:
33341
      (fname, ftype, fid) = iprot.readFieldBegin()
33342
      if ftype == TType.STOP:
33343
        break
33344
      else:
33345
        iprot.skip(ftype)
33346
      iprot.readFieldEnd()
33347
    iprot.readStructEnd()
33348
 
33349
  def write(self, oprot):
33350
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33351
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33352
      return
33353
    oprot.writeStructBegin('getAllItemstoListOnFbd_args')
33354
    oprot.writeFieldStop()
33355
    oprot.writeStructEnd()
33356
 
33357
  def validate(self):
33358
    return
33359
 
33360
 
33361
  def __repr__(self):
33362
    L = ['%s=%r' % (key, value)
33363
      for key, value in self.__dict__.iteritems()]
33364
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33365
 
33366
  def __eq__(self, other):
33367
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33368
 
33369
  def __ne__(self, other):
33370
    return not (self == other)
33371
 
33372
class getAllItemstoListOnFbd_result:
33373
  """
33374
  Attributes:
33375
   - success
33376
  """
33377
 
33378
  thrift_spec = (
33379
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
33380
  )
33381
 
33382
  def __init__(self, success=None,):
33383
    self.success = success
33384
 
33385
  def read(self, iprot):
33386
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33387
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33388
      return
33389
    iprot.readStructBegin()
33390
    while True:
33391
      (fname, ftype, fid) = iprot.readFieldBegin()
33392
      if ftype == TType.STOP:
33393
        break
33394
      if fid == 0:
33395
        if ftype == TType.LIST:
33396
          self.success = []
33397
          (_etype855, _size852) = iprot.readListBegin()
33398
          for _i856 in xrange(_size852):
33399
            _elem857 = Amazonlisted()
33400
            _elem857.read(iprot)
33401
            self.success.append(_elem857)
33402
          iprot.readListEnd()
33403
        else:
33404
          iprot.skip(ftype)
33405
      else:
33406
        iprot.skip(ftype)
33407
      iprot.readFieldEnd()
33408
    iprot.readStructEnd()
33409
 
33410
  def write(self, oprot):
33411
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33412
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33413
      return
33414
    oprot.writeStructBegin('getAllItemstoListOnFbd_result')
33415
    if self.success is not None:
33416
      oprot.writeFieldBegin('success', TType.LIST, 0)
33417
      oprot.writeListBegin(TType.STRUCT, len(self.success))
33418
      for iter858 in self.success:
33419
        iter858.write(oprot)
33420
      oprot.writeListEnd()
33421
      oprot.writeFieldEnd()
33422
    oprot.writeFieldStop()
33423
    oprot.writeStructEnd()
33424
 
33425
  def validate(self):
33426
    return
33427
 
33428
 
33429
  def __repr__(self):
33430
    L = ['%s=%r' % (key, value)
33431
      for key, value in self.__dict__.iteritems()]
33432
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33433
 
33434
  def __eq__(self, other):
33435
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33436
 
33437
  def __ne__(self, other):
33438
    return not (self == other)
15706 kshitij.so 33439
 
33440
class getAllFbdListedItems_args:
33441
 
33442
  thrift_spec = (
33443
  )
33444
 
33445
  def read(self, iprot):
33446
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33447
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33448
      return
33449
    iprot.readStructBegin()
33450
    while True:
33451
      (fname, ftype, fid) = iprot.readFieldBegin()
33452
      if ftype == TType.STOP:
33453
        break
33454
      else:
33455
        iprot.skip(ftype)
33456
      iprot.readFieldEnd()
33457
    iprot.readStructEnd()
33458
 
33459
  def write(self, oprot):
33460
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33461
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33462
      return
33463
    oprot.writeStructBegin('getAllFbdListedItems_args')
33464
    oprot.writeFieldStop()
33465
    oprot.writeStructEnd()
33466
 
33467
  def validate(self):
33468
    return
33469
 
33470
 
33471
  def __repr__(self):
33472
    L = ['%s=%r' % (key, value)
33473
      for key, value in self.__dict__.iteritems()]
33474
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33475
 
33476
  def __eq__(self, other):
33477
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33478
 
33479
  def __ne__(self, other):
33480
    return not (self == other)
33481
 
33482
class getAllFbdListedItems_result:
33483
  """
33484
  Attributes:
33485
   - success
33486
  """
33487
 
33488
  thrift_spec = (
33489
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
33490
  )
33491
 
33492
  def __init__(self, success=None,):
33493
    self.success = success
33494
 
33495
  def read(self, iprot):
33496
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33497
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33498
      return
33499
    iprot.readStructBegin()
33500
    while True:
33501
      (fname, ftype, fid) = iprot.readFieldBegin()
33502
      if ftype == TType.STOP:
33503
        break
33504
      if fid == 0:
33505
        if ftype == TType.LIST:
33506
          self.success = []
33507
          (_etype862, _size859) = iprot.readListBegin()
33508
          for _i863 in xrange(_size859):
33509
            _elem864 = Amazonlisted()
33510
            _elem864.read(iprot)
33511
            self.success.append(_elem864)
33512
          iprot.readListEnd()
33513
        else:
33514
          iprot.skip(ftype)
33515
      else:
33516
        iprot.skip(ftype)
33517
      iprot.readFieldEnd()
33518
    iprot.readStructEnd()
33519
 
33520
  def write(self, oprot):
33521
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33522
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33523
      return
33524
    oprot.writeStructBegin('getAllFbdListedItems_result')
33525
    if self.success is not None:
33526
      oprot.writeFieldBegin('success', TType.LIST, 0)
33527
      oprot.writeListBegin(TType.STRUCT, len(self.success))
33528
      for iter865 in self.success:
33529
        iter865.write(oprot)
33530
      oprot.writeListEnd()
33531
      oprot.writeFieldEnd()
33532
    oprot.writeFieldStop()
33533
    oprot.writeStructEnd()
33534
 
33535
  def validate(self):
33536
    return
33537
 
33538
 
33539
  def __repr__(self):
33540
    L = ['%s=%r' % (key, value)
33541
      for key, value in self.__dict__.iteritems()]
33542
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33543
 
33544
  def __eq__(self, other):
33545
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33546
 
33547
  def __ne__(self, other):
33548
    return not (self == other)