Subversion Repositories SmartDukaan

Rev

Rev 14780 | Rev 15706 | 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
 
15702 kshitij.so 1327
 
5944 mandeep.dh 1328
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1329
  def __init__(self, iprot, oprot=None):
1330
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1331
 
1332
  def addItem(self, item):
1333
    """
1334
    Availability and inventory attributes
1335
 
1336
    Parameters:
1337
     - item
1338
    """
1339
    self.send_addItem(item)
1340
    return self.recv_addItem()
1341
 
1342
  def send_addItem(self, item):
1343
    self._oprot.writeMessageBegin('addItem', TMessageType.CALL, self._seqid)
1344
    args = addItem_args()
1345
    args.item = item
1346
    args.write(self._oprot)
1347
    self._oprot.writeMessageEnd()
1348
    self._oprot.trans.flush()
1349
 
1350
  def recv_addItem(self, ):
1351
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1352
    if mtype == TMessageType.EXCEPTION:
1353
      x = TApplicationException()
1354
      x.read(self._iprot)
1355
      self._iprot.readMessageEnd()
1356
      raise x
1357
    result = addItem_result()
1358
    result.read(self._iprot)
1359
    self._iprot.readMessageEnd()
1360
    if result.success is not None:
1361
      return result.success
1362
    if result.cex is not None:
1363
      raise result.cex
1364
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addItem failed: unknown result");
1365
 
1366
  def updateItem(self, item):
1367
    """
1368
    Parameters:
1369
     - item
1370
    """
1371
    self.send_updateItem(item)
1372
    return self.recv_updateItem()
1373
 
1374
  def send_updateItem(self, item):
1375
    self._oprot.writeMessageBegin('updateItem', TMessageType.CALL, self._seqid)
1376
    args = updateItem_args()
1377
    args.item = item
1378
    args.write(self._oprot)
1379
    self._oprot.writeMessageEnd()
1380
    self._oprot.trans.flush()
1381
 
1382
  def recv_updateItem(self, ):
1383
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1384
    if mtype == TMessageType.EXCEPTION:
1385
      x = TApplicationException()
1386
      x.read(self._iprot)
1387
      self._iprot.readMessageEnd()
1388
      raise x
1389
    result = updateItem_result()
1390
    result.read(self._iprot)
1391
    self._iprot.readMessageEnd()
1392
    if result.success is not None:
1393
      return result.success
1394
    if result.cex is not None:
1395
      raise result.cex
1396
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItem failed: unknown result");
1397
 
1398
  def isActive(self, itemId):
1399
    """
1400
    Checks if the item given to the corresponding itemId is active. If it's active,
1401
    whether it's risky and if it's risky, its inventory position.
1402
 
1403
    Parameters:
1404
     - itemId
1405
    """
1406
    self.send_isActive(itemId)
1407
    return self.recv_isActive()
1408
 
1409
  def send_isActive(self, itemId):
1410
    self._oprot.writeMessageBegin('isActive', TMessageType.CALL, self._seqid)
1411
    args = isActive_args()
1412
    args.itemId = itemId
1413
    args.write(self._oprot)
1414
    self._oprot.writeMessageEnd()
1415
    self._oprot.trans.flush()
1416
 
1417
  def recv_isActive(self, ):
1418
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1419
    if mtype == TMessageType.EXCEPTION:
1420
      x = TApplicationException()
1421
      x.read(self._iprot)
1422
      self._iprot.readMessageEnd()
1423
      raise x
1424
    result = isActive_result()
1425
    result.read(self._iprot)
1426
    self._iprot.readMessageEnd()
1427
    if result.success is not None:
1428
      return result.success
1429
    if result.isex is not None:
1430
      raise result.isex
1431
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isActive failed: unknown result");
1432
 
7438 amit.gupta 1433
  def getItemsStatus(self, itemIds):
1434
    """
1435
    Parameters:
1436
     - itemIds
1437
    """
1438
    self.send_getItemsStatus(itemIds)
1439
    return self.recv_getItemsStatus()
1440
 
1441
  def send_getItemsStatus(self, itemIds):
1442
    self._oprot.writeMessageBegin('getItemsStatus', TMessageType.CALL, self._seqid)
1443
    args = getItemsStatus_args()
1444
    args.itemIds = itemIds
1445
    args.write(self._oprot)
1446
    self._oprot.writeMessageEnd()
1447
    self._oprot.trans.flush()
1448
 
1449
  def recv_getItemsStatus(self, ):
1450
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1451
    if mtype == TMessageType.EXCEPTION:
1452
      x = TApplicationException()
1453
      x.read(self._iprot)
1454
      self._iprot.readMessageEnd()
1455
      raise x
1456
    result = getItemsStatus_result()
1457
    result.read(self._iprot)
1458
    self._iprot.readMessageEnd()
1459
    if result.success is not None:
1460
      return result.success
1461
    if result.isex is not None:
1462
      raise result.isex
1463
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsStatus failed: unknown result");
1464
 
5944 mandeep.dh 1465
  def getItemStatusDescription(self, itemId):
1466
    """
1467
    Parameters:
1468
     - itemId
1469
    """
1470
    self.send_getItemStatusDescription(itemId)
1471
    return self.recv_getItemStatusDescription()
1472
 
1473
  def send_getItemStatusDescription(self, itemId):
1474
    self._oprot.writeMessageBegin('getItemStatusDescription', TMessageType.CALL, self._seqid)
1475
    args = getItemStatusDescription_args()
1476
    args.itemId = itemId
1477
    args.write(self._oprot)
1478
    self._oprot.writeMessageEnd()
1479
    self._oprot.trans.flush()
1480
 
1481
  def recv_getItemStatusDescription(self, ):
1482
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1483
    if mtype == TMessageType.EXCEPTION:
1484
      x = TApplicationException()
1485
      x.read(self._iprot)
1486
      self._iprot.readMessageEnd()
1487
      raise x
1488
    result = getItemStatusDescription_result()
1489
    result.read(self._iprot)
1490
    self._iprot.readMessageEnd()
1491
    if result.success is not None:
1492
      return result.success
1493
    if result.isex is not None:
1494
      raise result.isex
1495
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemStatusDescription failed: unknown result");
1496
 
1497
  def startItemOn(self, item_id, timestamp):
1498
    """
1499
    Parameters:
1500
     - item_id
1501
     - timestamp
1502
    """
1503
    self.send_startItemOn(item_id, timestamp)
1504
    self.recv_startItemOn()
1505
 
1506
  def send_startItemOn(self, item_id, timestamp):
1507
    self._oprot.writeMessageBegin('startItemOn', TMessageType.CALL, self._seqid)
1508
    args = startItemOn_args()
1509
    args.item_id = item_id
1510
    args.timestamp = timestamp
1511
    args.write(self._oprot)
1512
    self._oprot.writeMessageEnd()
1513
    self._oprot.trans.flush()
1514
 
1515
  def recv_startItemOn(self, ):
1516
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1517
    if mtype == TMessageType.EXCEPTION:
1518
      x = TApplicationException()
1519
      x.read(self._iprot)
1520
      self._iprot.readMessageEnd()
1521
      raise x
1522
    result = startItemOn_result()
1523
    result.read(self._iprot)
1524
    self._iprot.readMessageEnd()
1525
    if result.cex is not None:
1526
      raise result.cex
1527
    return
1528
 
1529
  def retireItemOn(self, item_id, timestamp):
1530
    """
1531
    Parameters:
1532
     - item_id
1533
     - timestamp
1534
    """
1535
    self.send_retireItemOn(item_id, timestamp)
1536
    self.recv_retireItemOn()
1537
 
1538
  def send_retireItemOn(self, item_id, timestamp):
1539
    self._oprot.writeMessageBegin('retireItemOn', TMessageType.CALL, self._seqid)
1540
    args = retireItemOn_args()
1541
    args.item_id = item_id
1542
    args.timestamp = timestamp
1543
    args.write(self._oprot)
1544
    self._oprot.writeMessageEnd()
1545
    self._oprot.trans.flush()
1546
 
1547
  def recv_retireItemOn(self, ):
1548
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1549
    if mtype == TMessageType.EXCEPTION:
1550
      x = TApplicationException()
1551
      x.read(self._iprot)
1552
      self._iprot.readMessageEnd()
1553
      raise x
1554
    result = retireItemOn_result()
1555
    result.read(self._iprot)
1556
    self._iprot.readMessageEnd()
1557
    if result.cex is not None:
1558
      raise result.cex
1559
    return
1560
 
1561
  def changeItemStatus(self, item_id, timestamp, newstatus):
1562
    """
1563
    Parameters:
1564
     - item_id
1565
     - timestamp
1566
     - newstatus
1567
    """
1568
    self.send_changeItemStatus(item_id, timestamp, newstatus)
1569
    self.recv_changeItemStatus()
1570
 
1571
  def send_changeItemStatus(self, item_id, timestamp, newstatus):
1572
    self._oprot.writeMessageBegin('changeItemStatus', TMessageType.CALL, self._seqid)
1573
    args = changeItemStatus_args()
1574
    args.item_id = item_id
1575
    args.timestamp = timestamp
1576
    args.newstatus = newstatus
1577
    args.write(self._oprot)
1578
    self._oprot.writeMessageEnd()
1579
    self._oprot.trans.flush()
1580
 
1581
  def recv_changeItemStatus(self, ):
1582
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1583
    if mtype == TMessageType.EXCEPTION:
1584
      x = TApplicationException()
1585
      x.read(self._iprot)
1586
      self._iprot.readMessageEnd()
1587
      raise x
1588
    result = changeItemStatus_result()
1589
    result.read(self._iprot)
1590
    self._iprot.readMessageEnd()
1591
    if result.cex is not None:
1592
      raise result.cex
1593
    return
1594
 
1595
  def getItem(self, item_id):
1596
    """
1597
    Parameters:
1598
     - item_id
1599
    """
1600
    self.send_getItem(item_id)
1601
    return self.recv_getItem()
1602
 
1603
  def send_getItem(self, item_id):
1604
    self._oprot.writeMessageBegin('getItem', TMessageType.CALL, self._seqid)
1605
    args = getItem_args()
1606
    args.item_id = item_id
1607
    args.write(self._oprot)
1608
    self._oprot.writeMessageEnd()
1609
    self._oprot.trans.flush()
1610
 
1611
  def recv_getItem(self, ):
1612
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1613
    if mtype == TMessageType.EXCEPTION:
1614
      x = TApplicationException()
1615
      x.read(self._iprot)
1616
      self._iprot.readMessageEnd()
1617
      raise x
1618
    result = getItem_result()
1619
    result.read(self._iprot)
1620
    self._iprot.readMessageEnd()
1621
    if result.success is not None:
1622
      return result.success
1623
    if result.cex is not None:
1624
      raise result.cex
1625
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItem failed: unknown result");
1626
 
13493 amit.gupta 1627
  def getItems(self, item_ids):
1628
    """
1629
    Parameters:
1630
     - item_ids
1631
    """
1632
    self.send_getItems(item_ids)
1633
    return self.recv_getItems()
1634
 
1635
  def send_getItems(self, item_ids):
1636
    self._oprot.writeMessageBegin('getItems', TMessageType.CALL, self._seqid)
1637
    args = getItems_args()
1638
    args.item_ids = item_ids
1639
    args.write(self._oprot)
1640
    self._oprot.writeMessageEnd()
1641
    self._oprot.trans.flush()
1642
 
1643
  def recv_getItems(self, ):
1644
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1645
    if mtype == TMessageType.EXCEPTION:
1646
      x = TApplicationException()
1647
      x.read(self._iprot)
1648
      self._iprot.readMessageEnd()
1649
      raise x
1650
    result = getItems_result()
1651
    result.read(self._iprot)
1652
    self._iprot.readMessageEnd()
1653
    if result.success is not None:
1654
      return result.success
1655
    if result.cex is not None:
1656
      raise result.cex
1657
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItems failed: unknown result");
1658
 
5944 mandeep.dh 1659
  def getItemsByCatalogId(self, catalog_item_id):
1660
    """
1661
    Parameters:
1662
     - catalog_item_id
1663
    """
1664
    self.send_getItemsByCatalogId(catalog_item_id)
1665
    return self.recv_getItemsByCatalogId()
1666
 
1667
  def send_getItemsByCatalogId(self, catalog_item_id):
1668
    self._oprot.writeMessageBegin('getItemsByCatalogId', TMessageType.CALL, self._seqid)
1669
    args = getItemsByCatalogId_args()
1670
    args.catalog_item_id = catalog_item_id
1671
    args.write(self._oprot)
1672
    self._oprot.writeMessageEnd()
1673
    self._oprot.trans.flush()
1674
 
1675
  def recv_getItemsByCatalogId(self, ):
1676
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1677
    if mtype == TMessageType.EXCEPTION:
1678
      x = TApplicationException()
1679
      x.read(self._iprot)
1680
      self._iprot.readMessageEnd()
1681
      raise x
1682
    result = getItemsByCatalogId_result()
1683
    result.read(self._iprot)
1684
    self._iprot.readMessageEnd()
1685
    if result.success is not None:
1686
      return result.success
1687
    if result.cex is not None:
1688
      raise result.cex
1689
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByCatalogId failed: unknown result");
1690
 
1691
  def getValidItemsByCatalogId(self, catalog_item_id):
1692
    """
1693
    Parameters:
1694
     - catalog_item_id
1695
    """
1696
    self.send_getValidItemsByCatalogId(catalog_item_id)
1697
    return self.recv_getValidItemsByCatalogId()
1698
 
1699
  def send_getValidItemsByCatalogId(self, catalog_item_id):
1700
    self._oprot.writeMessageBegin('getValidItemsByCatalogId', TMessageType.CALL, self._seqid)
1701
    args = getValidItemsByCatalogId_args()
1702
    args.catalog_item_id = catalog_item_id
1703
    args.write(self._oprot)
1704
    self._oprot.writeMessageEnd()
1705
    self._oprot.trans.flush()
1706
 
1707
  def recv_getValidItemsByCatalogId(self, ):
1708
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1709
    if mtype == TMessageType.EXCEPTION:
1710
      x = TApplicationException()
1711
      x.read(self._iprot)
1712
      self._iprot.readMessageEnd()
1713
      raise x
1714
    result = getValidItemsByCatalogId_result()
1715
    result.read(self._iprot)
1716
    self._iprot.readMessageEnd()
1717
    if result.success is not None:
1718
      return result.success
1719
    if result.cex is not None:
1720
      raise result.cex
1721
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getValidItemsByCatalogId failed: unknown result");
1722
 
1723
  def getAllItems(self, isActive):
1724
    """
1725
    Parameters:
1726
     - isActive
1727
    """
1728
    self.send_getAllItems(isActive)
1729
    return self.recv_getAllItems()
1730
 
1731
  def send_getAllItems(self, isActive):
1732
    self._oprot.writeMessageBegin('getAllItems', TMessageType.CALL, self._seqid)
1733
    args = getAllItems_args()
1734
    args.isActive = isActive
1735
    args.write(self._oprot)
1736
    self._oprot.writeMessageEnd()
1737
    self._oprot.trans.flush()
1738
 
1739
  def recv_getAllItems(self, ):
1740
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1741
    if mtype == TMessageType.EXCEPTION:
1742
      x = TApplicationException()
1743
      x.read(self._iprot)
1744
      self._iprot.readMessageEnd()
1745
      raise x
1746
    result = getAllItems_result()
1747
    result.read(self._iprot)
1748
    self._iprot.readMessageEnd()
1749
    if result.success is not None:
1750
      return result.success
1751
    if result.cex is not None:
1752
      raise result.cex
1753
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItems failed: unknown result");
1754
 
1755
  def getAllItemsByStatus(self, itemStatus):
1756
    """
1757
    Parameters:
1758
     - itemStatus
1759
    """
1760
    self.send_getAllItemsByStatus(itemStatus)
1761
    return self.recv_getAllItemsByStatus()
1762
 
1763
  def send_getAllItemsByStatus(self, itemStatus):
1764
    self._oprot.writeMessageBegin('getAllItemsByStatus', TMessageType.CALL, self._seqid)
1765
    args = getAllItemsByStatus_args()
1766
    args.itemStatus = itemStatus
1767
    args.write(self._oprot)
1768
    self._oprot.writeMessageEnd()
1769
    self._oprot.trans.flush()
1770
 
1771
  def recv_getAllItemsByStatus(self, ):
1772
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1773
    if mtype == TMessageType.EXCEPTION:
1774
      x = TApplicationException()
1775
      x.read(self._iprot)
1776
      self._iprot.readMessageEnd()
1777
      raise x
1778
    result = getAllItemsByStatus_result()
1779
    result.read(self._iprot)
1780
    self._iprot.readMessageEnd()
1781
    if result.success is not None:
1782
      return result.success
1783
    if result.cex is not None:
1784
      raise result.cex
1785
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatus failed: unknown result");
1786
 
9253 rajveer 1787
  def markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1788
    """
1789
    Parameters:
1790
     - entityId
1791
     - category
1792
     - brand
1793
     - modelName
1794
     - modelNumber
9253 rajveer 1795
     - isAndroid
5944 mandeep.dh 1796
    """
9253 rajveer 1797
    self.send_markItemAsContentComplete(entityId, category, brand, modelName, modelNumber, isAndroid)
5944 mandeep.dh 1798
    return self.recv_markItemAsContentComplete()
1799
 
9253 rajveer 1800
  def send_markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1801
    self._oprot.writeMessageBegin('markItemAsContentComplete', TMessageType.CALL, self._seqid)
1802
    args = markItemAsContentComplete_args()
1803
    args.entityId = entityId
1804
    args.category = category
1805
    args.brand = brand
1806
    args.modelName = modelName
1807
    args.modelNumber = modelNumber
9253 rajveer 1808
    args.isAndroid = isAndroid
5944 mandeep.dh 1809
    args.write(self._oprot)
1810
    self._oprot.writeMessageEnd()
1811
    self._oprot.trans.flush()
1812
 
1813
  def recv_markItemAsContentComplete(self, ):
1814
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1815
    if mtype == TMessageType.EXCEPTION:
1816
      x = TApplicationException()
1817
      x.read(self._iprot)
1818
      self._iprot.readMessageEnd()
1819
      raise x
1820
    result = markItemAsContentComplete_result()
1821
    result.read(self._iprot)
1822
    self._iprot.readMessageEnd()
1823
    if result.success is not None:
1824
      return result.success
1825
    if result.cex is not None:
1826
      raise result.cex
1827
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markItemAsContentComplete failed: unknown result");
1828
 
12567 amit.gupta 1829
  def getVatRates(self, itemId, categoryId):
1830
    """
1831
    Parameters:
1832
     - itemId
1833
     - categoryId
1834
    """
1835
    self.send_getVatRates(itemId, categoryId)
1836
    return self.recv_getVatRates()
1837
 
1838
  def send_getVatRates(self, itemId, categoryId):
1839
    self._oprot.writeMessageBegin('getVatRates', TMessageType.CALL, self._seqid)
1840
    args = getVatRates_args()
1841
    args.itemId = itemId
1842
    args.categoryId = categoryId
1843
    args.write(self._oprot)
1844
    self._oprot.writeMessageEnd()
1845
    self._oprot.trans.flush()
1846
 
1847
  def recv_getVatRates(self, ):
1848
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1849
    if mtype == TMessageType.EXCEPTION:
1850
      x = TApplicationException()
1851
      x.read(self._iprot)
1852
      self._iprot.readMessageEnd()
1853
      raise x
1854
    result = getVatRates_result()
1855
    result.read(self._iprot)
1856
    self._iprot.readMessageEnd()
1857
    if result.success is not None:
1858
      return result.success
1859
    if result.cex is not None:
1860
      raise result.cex
1861
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatRates failed: unknown result");
1862
 
5944 mandeep.dh 1863
  def getAllItemsInRange(self, offset, limit):
1864
    """
1865
    Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
1866
 
1867
    Parameters:
1868
     - offset
1869
     - limit
1870
    """
1871
    self.send_getAllItemsInRange(offset, limit)
1872
    return self.recv_getAllItemsInRange()
1873
 
1874
  def send_getAllItemsInRange(self, offset, limit):
1875
    self._oprot.writeMessageBegin('getAllItemsInRange', TMessageType.CALL, self._seqid)
1876
    args = getAllItemsInRange_args()
1877
    args.offset = offset
1878
    args.limit = limit
1879
    args.write(self._oprot)
1880
    self._oprot.writeMessageEnd()
1881
    self._oprot.trans.flush()
1882
 
1883
  def recv_getAllItemsInRange(self, ):
1884
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1885
    if mtype == TMessageType.EXCEPTION:
1886
      x = TApplicationException()
1887
      x.read(self._iprot)
1888
      self._iprot.readMessageEnd()
1889
      raise x
1890
    result = getAllItemsInRange_result()
1891
    result.read(self._iprot)
1892
    self._iprot.readMessageEnd()
1893
    if result.success is not None:
1894
      return result.success
1895
    if result.cex is not None:
1896
      raise result.cex
1897
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsInRange failed: unknown result");
1898
 
1899
  def getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1900
    """
1901
    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.
1902
 
1903
    Parameters:
1904
     - itemStatus
1905
     - offset
1906
     - limit
1907
    """
1908
    self.send_getAllItemsByStatusInRange(itemStatus, offset, limit)
1909
    return self.recv_getAllItemsByStatusInRange()
1910
 
1911
  def send_getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1912
    self._oprot.writeMessageBegin('getAllItemsByStatusInRange', TMessageType.CALL, self._seqid)
1913
    args = getAllItemsByStatusInRange_args()
1914
    args.itemStatus = itemStatus
1915
    args.offset = offset
1916
    args.limit = limit
1917
    args.write(self._oprot)
1918
    self._oprot.writeMessageEnd()
1919
    self._oprot.trans.flush()
1920
 
1921
  def recv_getAllItemsByStatusInRange(self, ):
1922
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1923
    if mtype == TMessageType.EXCEPTION:
1924
      x = TApplicationException()
1925
      x.read(self._iprot)
1926
      self._iprot.readMessageEnd()
1927
      raise x
1928
    result = getAllItemsByStatusInRange_result()
1929
    result.read(self._iprot)
1930
    self._iprot.readMessageEnd()
1931
    if result.success is not None:
1932
      return result.success
1933
    if result.cex is not None:
1934
      raise result.cex
1935
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatusInRange failed: unknown result");
1936
 
1937
  def getItemCountByStatus(self, useStatus, itemStatus):
1938
    """
1939
    Gets a count of all items by status
1940
 
1941
    Parameters:
1942
     - useStatus
1943
     - itemStatus
1944
    """
1945
    self.send_getItemCountByStatus(useStatus, itemStatus)
1946
    return self.recv_getItemCountByStatus()
1947
 
1948
  def send_getItemCountByStatus(self, useStatus, itemStatus):
1949
    self._oprot.writeMessageBegin('getItemCountByStatus', TMessageType.CALL, self._seqid)
1950
    args = getItemCountByStatus_args()
1951
    args.useStatus = useStatus
1952
    args.itemStatus = itemStatus
1953
    args.write(self._oprot)
1954
    self._oprot.writeMessageEnd()
1955
    self._oprot.trans.flush()
1956
 
1957
  def recv_getItemCountByStatus(self, ):
1958
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1959
    if mtype == TMessageType.EXCEPTION:
1960
      x = TApplicationException()
1961
      x.read(self._iprot)
1962
      self._iprot.readMessageEnd()
1963
      raise x
1964
    result = getItemCountByStatus_result()
1965
    result.read(self._iprot)
1966
    self._iprot.readMessageEnd()
1967
    if result.success is not None:
1968
      return result.success
1969
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemCountByStatus failed: unknown result");
1970
 
1971
  def getBestSellers(self, ):
1972
    self.send_getBestSellers()
1973
    return self.recv_getBestSellers()
1974
 
1975
  def send_getBestSellers(self, ):
1976
    self._oprot.writeMessageBegin('getBestSellers', TMessageType.CALL, self._seqid)
1977
    args = getBestSellers_args()
1978
    args.write(self._oprot)
1979
    self._oprot.writeMessageEnd()
1980
    self._oprot.trans.flush()
1981
 
1982
  def recv_getBestSellers(self, ):
1983
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1984
    if mtype == TMessageType.EXCEPTION:
1985
      x = TApplicationException()
1986
      x.read(self._iprot)
1987
      self._iprot.readMessageEnd()
1988
      raise x
1989
    result = getBestSellers_result()
1990
    result.read(self._iprot)
1991
    self._iprot.readMessageEnd()
1992
    if result.success is not None:
1993
      return result.success
1994
    if result.isex is not None:
1995
      raise result.isex
1996
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellers failed: unknown result");
1997
 
1998
  def getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
1999
    """
2000
    Parameters:
2001
     - beginIndex
2002
     - totalItems
2003
     - brand
2004
     - category
2005
    """
2006
    self.send_getBestSellersCatalogIds(beginIndex, totalItems, brand, category)
2007
    return self.recv_getBestSellersCatalogIds()
2008
 
2009
  def send_getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
2010
    self._oprot.writeMessageBegin('getBestSellersCatalogIds', TMessageType.CALL, self._seqid)
2011
    args = getBestSellersCatalogIds_args()
2012
    args.beginIndex = beginIndex
2013
    args.totalItems = totalItems
2014
    args.brand = brand
2015
    args.category = category
2016
    args.write(self._oprot)
2017
    self._oprot.writeMessageEnd()
2018
    self._oprot.trans.flush()
2019
 
2020
  def recv_getBestSellersCatalogIds(self, ):
2021
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2022
    if mtype == TMessageType.EXCEPTION:
2023
      x = TApplicationException()
2024
      x.read(self._iprot)
2025
      self._iprot.readMessageEnd()
2026
      raise x
2027
    result = getBestSellersCatalogIds_result()
2028
    result.read(self._iprot)
2029
    self._iprot.readMessageEnd()
2030
    if result.success is not None:
2031
      return result.success
2032
    if result.cex is not None:
2033
      raise result.cex
2034
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCatalogIds failed: unknown result");
2035
 
2036
  def getBestSellersCount(self, ):
2037
    self.send_getBestSellersCount()
2038
    return self.recv_getBestSellersCount()
2039
 
2040
  def send_getBestSellersCount(self, ):
2041
    self._oprot.writeMessageBegin('getBestSellersCount', TMessageType.CALL, self._seqid)
2042
    args = getBestSellersCount_args()
2043
    args.write(self._oprot)
2044
    self._oprot.writeMessageEnd()
2045
    self._oprot.trans.flush()
2046
 
2047
  def recv_getBestSellersCount(self, ):
2048
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2049
    if mtype == TMessageType.EXCEPTION:
2050
      x = TApplicationException()
2051
      x.read(self._iprot)
2052
      self._iprot.readMessageEnd()
2053
      raise x
2054
    result = getBestSellersCount_result()
2055
    result.read(self._iprot)
2056
    self._iprot.readMessageEnd()
2057
    if result.success is not None:
2058
      return result.success
2059
    if result.cex is not None:
2060
      raise result.cex
2061
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCount failed: unknown result");
2062
 
2063
  def getBestDeals(self, ):
2064
    self.send_getBestDeals()
2065
    return self.recv_getBestDeals()
2066
 
2067
  def send_getBestDeals(self, ):
2068
    self._oprot.writeMessageBegin('getBestDeals', TMessageType.CALL, self._seqid)
2069
    args = getBestDeals_args()
2070
    args.write(self._oprot)
2071
    self._oprot.writeMessageEnd()
2072
    self._oprot.trans.flush()
2073
 
2074
  def recv_getBestDeals(self, ):
2075
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2076
    if mtype == TMessageType.EXCEPTION:
2077
      x = TApplicationException()
2078
      x.read(self._iprot)
2079
      self._iprot.readMessageEnd()
2080
      raise x
2081
    result = getBestDeals_result()
2082
    result.read(self._iprot)
2083
    self._iprot.readMessageEnd()
2084
    if result.success is not None:
2085
      return result.success
2086
    if result.isex is not None:
2087
      raise result.isex
2088
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDeals failed: unknown result");
2089
 
2090
  def getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2091
    """
2092
    Parameters:
2093
     - beginIndex
2094
     - totalItems
2095
     - brand
2096
     - category
2097
    """
2098
    self.send_getBestDealsCatalogIds(beginIndex, totalItems, brand, category)
2099
    return self.recv_getBestDealsCatalogIds()
2100
 
2101
  def send_getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2102
    self._oprot.writeMessageBegin('getBestDealsCatalogIds', TMessageType.CALL, self._seqid)
2103
    args = getBestDealsCatalogIds_args()
2104
    args.beginIndex = beginIndex
2105
    args.totalItems = totalItems
2106
    args.brand = brand
2107
    args.category = category
2108
    args.write(self._oprot)
2109
    self._oprot.writeMessageEnd()
2110
    self._oprot.trans.flush()
2111
 
2112
  def recv_getBestDealsCatalogIds(self, ):
2113
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2114
    if mtype == TMessageType.EXCEPTION:
2115
      x = TApplicationException()
2116
      x.read(self._iprot)
2117
      self._iprot.readMessageEnd()
2118
      raise x
2119
    result = getBestDealsCatalogIds_result()
2120
    result.read(self._iprot)
2121
    self._iprot.readMessageEnd()
2122
    if result.success is not None:
2123
      return result.success
2124
    if result.cex is not None:
2125
      raise result.cex
2126
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCatalogIds failed: unknown result");
2127
 
2128
  def getBestDealsCount(self, ):
2129
    self.send_getBestDealsCount()
2130
    return self.recv_getBestDealsCount()
2131
 
2132
  def send_getBestDealsCount(self, ):
2133
    self._oprot.writeMessageBegin('getBestDealsCount', TMessageType.CALL, self._seqid)
2134
    args = getBestDealsCount_args()
2135
    args.write(self._oprot)
2136
    self._oprot.writeMessageEnd()
2137
    self._oprot.trans.flush()
2138
 
2139
  def recv_getBestDealsCount(self, ):
2140
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2141
    if mtype == TMessageType.EXCEPTION:
2142
      x = TApplicationException()
2143
      x.read(self._iprot)
2144
      self._iprot.readMessageEnd()
2145
      raise x
2146
    result = getBestDealsCount_result()
2147
    result.read(self._iprot)
2148
    self._iprot.readMessageEnd()
2149
    if result.success is not None:
2150
      return result.success
2151
    if result.cex is not None:
2152
      raise result.cex
2153
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCount failed: unknown result");
2154
 
2155
  def getComingSoon(self, ):
2156
    self.send_getComingSoon()
2157
    return self.recv_getComingSoon()
2158
 
2159
  def send_getComingSoon(self, ):
2160
    self._oprot.writeMessageBegin('getComingSoon', TMessageType.CALL, self._seqid)
2161
    args = getComingSoon_args()
2162
    args.write(self._oprot)
2163
    self._oprot.writeMessageEnd()
2164
    self._oprot.trans.flush()
2165
 
2166
  def recv_getComingSoon(self, ):
2167
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2168
    if mtype == TMessageType.EXCEPTION:
2169
      x = TApplicationException()
2170
      x.read(self._iprot)
2171
      self._iprot.readMessageEnd()
2172
      raise x
2173
    result = getComingSoon_result()
2174
    result.read(self._iprot)
2175
    self._iprot.readMessageEnd()
2176
    if result.success is not None:
2177
      return result.success
2178
    if result.isex is not None:
2179
      raise result.isex
2180
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoon failed: unknown result");
2181
 
2182
  def getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2183
    """
2184
    Parameters:
2185
     - beginIndex
2186
     - totalItems
2187
     - brand
2188
     - category
2189
    """
2190
    self.send_getComingSoonCatalogIds(beginIndex, totalItems, brand, category)
2191
    return self.recv_getComingSoonCatalogIds()
2192
 
2193
  def send_getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2194
    self._oprot.writeMessageBegin('getComingSoonCatalogIds', TMessageType.CALL, self._seqid)
2195
    args = getComingSoonCatalogIds_args()
2196
    args.beginIndex = beginIndex
2197
    args.totalItems = totalItems
2198
    args.brand = brand
2199
    args.category = category
2200
    args.write(self._oprot)
2201
    self._oprot.writeMessageEnd()
2202
    self._oprot.trans.flush()
2203
 
2204
  def recv_getComingSoonCatalogIds(self, ):
2205
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2206
    if mtype == TMessageType.EXCEPTION:
2207
      x = TApplicationException()
2208
      x.read(self._iprot)
2209
      self._iprot.readMessageEnd()
2210
      raise x
2211
    result = getComingSoonCatalogIds_result()
2212
    result.read(self._iprot)
2213
    self._iprot.readMessageEnd()
2214
    if result.success is not None:
2215
      return result.success
2216
    if result.cex is not None:
2217
      raise result.cex
2218
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCatalogIds failed: unknown result");
2219
 
2220
  def getComingSoonCount(self, ):
2221
    self.send_getComingSoonCount()
2222
    return self.recv_getComingSoonCount()
2223
 
2224
  def send_getComingSoonCount(self, ):
2225
    self._oprot.writeMessageBegin('getComingSoonCount', TMessageType.CALL, self._seqid)
2226
    args = getComingSoonCount_args()
2227
    args.write(self._oprot)
2228
    self._oprot.writeMessageEnd()
2229
    self._oprot.trans.flush()
2230
 
2231
  def recv_getComingSoonCount(self, ):
2232
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2233
    if mtype == TMessageType.EXCEPTION:
2234
      x = TApplicationException()
2235
      x.read(self._iprot)
2236
      self._iprot.readMessageEnd()
2237
      raise x
2238
    result = getComingSoonCount_result()
2239
    result.read(self._iprot)
2240
    self._iprot.readMessageEnd()
2241
    if result.success is not None:
2242
      return result.success
2243
    if result.cex is not None:
2244
      raise result.cex
2245
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCount failed: unknown result");
2246
 
2247
  def getLatestArrivals(self, ):
2248
    """
2249
    Returns a list of items sorted in the descending order by start date.
2250
    The list is limited to the 'latest_arrivals_count' configuraiton parameter.
2251
    """
2252
    self.send_getLatestArrivals()
2253
    return self.recv_getLatestArrivals()
2254
 
2255
  def send_getLatestArrivals(self, ):
2256
    self._oprot.writeMessageBegin('getLatestArrivals', TMessageType.CALL, self._seqid)
2257
    args = getLatestArrivals_args()
2258
    args.write(self._oprot)
2259
    self._oprot.writeMessageEnd()
2260
    self._oprot.trans.flush()
2261
 
2262
  def recv_getLatestArrivals(self, ):
2263
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2264
    if mtype == TMessageType.EXCEPTION:
2265
      x = TApplicationException()
2266
      x.read(self._iprot)
2267
      self._iprot.readMessageEnd()
2268
      raise x
2269
    result = getLatestArrivals_result()
2270
    result.read(self._iprot)
2271
    self._iprot.readMessageEnd()
2272
    if result.success is not None:
2273
      return result.success
2274
    if result.isex is not None:
2275
      raise result.isex
2276
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivals failed: unknown result");
2277
 
2278
  def getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2279
    """
2280
    Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
2281
    To ignore the categories, pass the list as empty. To ignore brand, pass it as null.
2282
 
2283
    Parameters:
2284
     - beginIndex
2285
     - totalItems
2286
     - brand
2287
     - categories
2288
    """
2289
    self.send_getLatestArrivalsCatalogIds(beginIndex, totalItems, brand, categories)
2290
    return self.recv_getLatestArrivalsCatalogIds()
2291
 
2292
  def send_getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2293
    self._oprot.writeMessageBegin('getLatestArrivalsCatalogIds', TMessageType.CALL, self._seqid)
2294
    args = getLatestArrivalsCatalogIds_args()
2295
    args.beginIndex = beginIndex
2296
    args.totalItems = totalItems
2297
    args.brand = brand
2298
    args.categories = categories
2299
    args.write(self._oprot)
2300
    self._oprot.writeMessageEnd()
2301
    self._oprot.trans.flush()
2302
 
2303
  def recv_getLatestArrivalsCatalogIds(self, ):
2304
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2305
    if mtype == TMessageType.EXCEPTION:
2306
      x = TApplicationException()
2307
      x.read(self._iprot)
2308
      self._iprot.readMessageEnd()
2309
      raise x
2310
    result = getLatestArrivalsCatalogIds_result()
2311
    result.read(self._iprot)
2312
    self._iprot.readMessageEnd()
2313
    if result.success is not None:
2314
      return result.success
2315
    if result.cex is not None:
2316
      raise result.cex
2317
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCatalogIds failed: unknown result");
2318
 
2319
  def getLatestArrivalsCount(self, ):
2320
    """
2321
    Get the total number of latest arrivals we are willing to show.
2322
    The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
2323
    """
2324
    self.send_getLatestArrivalsCount()
2325
    return self.recv_getLatestArrivalsCount()
2326
 
2327
  def send_getLatestArrivalsCount(self, ):
2328
    self._oprot.writeMessageBegin('getLatestArrivalsCount', TMessageType.CALL, self._seqid)
2329
    args = getLatestArrivalsCount_args()
2330
    args.write(self._oprot)
2331
    self._oprot.writeMessageEnd()
2332
    self._oprot.trans.flush()
2333
 
2334
  def recv_getLatestArrivalsCount(self, ):
2335
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2336
    if mtype == TMessageType.EXCEPTION:
2337
      x = TApplicationException()
2338
      x.read(self._iprot)
2339
      self._iprot.readMessageEnd()
2340
      raise x
2341
    result = getLatestArrivalsCount_result()
2342
    result.read(self._iprot)
2343
    self._iprot.readMessageEnd()
2344
    if result.success is not None:
2345
      return result.success
2346
    if result.cex is not None:
2347
      raise result.cex
2348
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCount failed: unknown result");
2349
 
2350
  def generateNewEntityID(self, ):
2351
    self.send_generateNewEntityID()
2352
    return self.recv_generateNewEntityID()
2353
 
2354
  def send_generateNewEntityID(self, ):
2355
    self._oprot.writeMessageBegin('generateNewEntityID', TMessageType.CALL, self._seqid)
2356
    args = generateNewEntityID_args()
2357
    args.write(self._oprot)
2358
    self._oprot.writeMessageEnd()
2359
    self._oprot.trans.flush()
2360
 
2361
  def recv_generateNewEntityID(self, ):
2362
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2363
    if mtype == TMessageType.EXCEPTION:
2364
      x = TApplicationException()
2365
      x.read(self._iprot)
2366
      self._iprot.readMessageEnd()
2367
      raise x
2368
    result = generateNewEntityID_result()
2369
    result.read(self._iprot)
2370
    self._iprot.readMessageEnd()
2371
    if result.success is not None:
2372
      return result.success
2373
    raise TApplicationException(TApplicationException.MISSING_RESULT, "generateNewEntityID failed: unknown result");
2374
 
2375
  def addCategory(self, category):
2376
    """
2377
    All category related functions
2378
 
2379
    Parameters:
2380
     - category
2381
    """
2382
    self.send_addCategory(category)
2383
    return self.recv_addCategory()
2384
 
2385
  def send_addCategory(self, category):
2386
    self._oprot.writeMessageBegin('addCategory', TMessageType.CALL, self._seqid)
2387
    args = addCategory_args()
2388
    args.category = category
2389
    args.write(self._oprot)
2390
    self._oprot.writeMessageEnd()
2391
    self._oprot.trans.flush()
2392
 
2393
  def recv_addCategory(self, ):
2394
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2395
    if mtype == TMessageType.EXCEPTION:
2396
      x = TApplicationException()
2397
      x.read(self._iprot)
2398
      self._iprot.readMessageEnd()
2399
      raise x
2400
    result = addCategory_result()
2401
    result.read(self._iprot)
2402
    self._iprot.readMessageEnd()
2403
    if result.success is not None:
2404
      return result.success
2405
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addCategory failed: unknown result");
2406
 
2407
  def getCategory(self, id):
2408
    """
2409
    Parameters:
2410
     - id
2411
    """
2412
    self.send_getCategory(id)
2413
    return self.recv_getCategory()
2414
 
2415
  def send_getCategory(self, id):
2416
    self._oprot.writeMessageBegin('getCategory', TMessageType.CALL, self._seqid)
2417
    args = getCategory_args()
2418
    args.id = id
2419
    args.write(self._oprot)
2420
    self._oprot.writeMessageEnd()
2421
    self._oprot.trans.flush()
2422
 
2423
  def recv_getCategory(self, ):
2424
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2425
    if mtype == TMessageType.EXCEPTION:
2426
      x = TApplicationException()
2427
      x.read(self._iprot)
2428
      self._iprot.readMessageEnd()
2429
      raise x
2430
    result = getCategory_result()
2431
    result.read(self._iprot)
2432
    self._iprot.readMessageEnd()
2433
    if result.success is not None:
2434
      return result.success
2435
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCategory failed: unknown result");
2436
 
2437
  def getAllCategories(self, ):
2438
    self.send_getAllCategories()
2439
    return self.recv_getAllCategories()
2440
 
2441
  def send_getAllCategories(self, ):
2442
    self._oprot.writeMessageBegin('getAllCategories', TMessageType.CALL, self._seqid)
2443
    args = getAllCategories_args()
2444
    args.write(self._oprot)
2445
    self._oprot.writeMessageEnd()
2446
    self._oprot.trans.flush()
2447
 
2448
  def recv_getAllCategories(self, ):
2449
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2450
    if mtype == TMessageType.EXCEPTION:
2451
      x = TApplicationException()
2452
      x.read(self._iprot)
2453
      self._iprot.readMessageEnd()
2454
      raise x
2455
    result = getAllCategories_result()
2456
    result.read(self._iprot)
2457
    self._iprot.readMessageEnd()
2458
    if result.success is not None:
2459
      return result.success
2460
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCategories failed: unknown result");
2461
 
2462
  def getAllSimilarItems(self, itemId):
2463
    """
2464
    Returns the list of similar items.
2465
 
2466
    Parameters:
2467
     - itemId
2468
    """
2469
    self.send_getAllSimilarItems(itemId)
2470
    return self.recv_getAllSimilarItems()
2471
 
2472
  def send_getAllSimilarItems(self, itemId):
2473
    self._oprot.writeMessageBegin('getAllSimilarItems', TMessageType.CALL, self._seqid)
2474
    args = getAllSimilarItems_args()
2475
    args.itemId = itemId
2476
    args.write(self._oprot)
2477
    self._oprot.writeMessageEnd()
2478
    self._oprot.trans.flush()
2479
 
2480
  def recv_getAllSimilarItems(self, ):
2481
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2482
    if mtype == TMessageType.EXCEPTION:
2483
      x = TApplicationException()
2484
      x.read(self._iprot)
2485
      self._iprot.readMessageEnd()
2486
      raise x
2487
    result = getAllSimilarItems_result()
2488
    result.read(self._iprot)
2489
    self._iprot.readMessageEnd()
2490
    if result.success is not None:
2491
      return result.success
2492
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSimilarItems failed: unknown result");
2493
 
2494
  def addSimilarItem(self, itemId, catalogItemId):
2495
    """
2496
    Adds similar item.
2497
 
2498
    Parameters:
2499
     - itemId
2500
     - catalogItemId
2501
    """
2502
    self.send_addSimilarItem(itemId, catalogItemId)
2503
    return self.recv_addSimilarItem()
2504
 
2505
  def send_addSimilarItem(self, itemId, catalogItemId):
2506
    self._oprot.writeMessageBegin('addSimilarItem', TMessageType.CALL, self._seqid)
2507
    args = addSimilarItem_args()
2508
    args.itemId = itemId
2509
    args.catalogItemId = catalogItemId
2510
    args.write(self._oprot)
2511
    self._oprot.writeMessageEnd()
2512
    self._oprot.trans.flush()
2513
 
2514
  def recv_addSimilarItem(self, ):
2515
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2516
    if mtype == TMessageType.EXCEPTION:
2517
      x = TApplicationException()
2518
      x.read(self._iprot)
2519
      self._iprot.readMessageEnd()
2520
      raise x
2521
    result = addSimilarItem_result()
2522
    result.read(self._iprot)
2523
    self._iprot.readMessageEnd()
2524
    if result.success is not None:
2525
      return result.success
2526
    if result.cex is not None:
2527
      raise result.cex
2528
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addSimilarItem failed: unknown result");
2529
 
6512 kshitij.so 2530
  def addTag(self, displayName, itemId):
2531
    """
2532
    Tag Related
2533
 
2534
    Parameters:
2535
     - displayName
2536
     - itemId
2537
    """
2538
    self.send_addTag(displayName, itemId)
2539
    return self.recv_addTag()
2540
 
2541
  def send_addTag(self, displayName, itemId):
2542
    self._oprot.writeMessageBegin('addTag', TMessageType.CALL, self._seqid)
2543
    args = addTag_args()
2544
    args.displayName = displayName
2545
    args.itemId = itemId
2546
    args.write(self._oprot)
2547
    self._oprot.writeMessageEnd()
2548
    self._oprot.trans.flush()
2549
 
2550
  def recv_addTag(self, ):
2551
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2552
    if mtype == TMessageType.EXCEPTION:
2553
      x = TApplicationException()
2554
      x.read(self._iprot)
2555
      self._iprot.readMessageEnd()
2556
      raise x
2557
    result = addTag_result()
2558
    result.read(self._iprot)
2559
    self._iprot.readMessageEnd()
2560
    if result.success is not None:
2561
      return result.success
2562
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addTag failed: unknown result");
2563
 
2564
  def deleteEntityTag(self, displayName, itemId):
2565
    """
2566
    Parameters:
2567
     - displayName
2568
     - itemId
2569
    """
2570
    self.send_deleteEntityTag(displayName, itemId)
2571
    return self.recv_deleteEntityTag()
2572
 
2573
  def send_deleteEntityTag(self, displayName, itemId):
2574
    self._oprot.writeMessageBegin('deleteEntityTag', TMessageType.CALL, self._seqid)
2575
    args = deleteEntityTag_args()
2576
    args.displayName = displayName
2577
    args.itemId = itemId
2578
    args.write(self._oprot)
2579
    self._oprot.writeMessageEnd()
2580
    self._oprot.trans.flush()
2581
 
2582
  def recv_deleteEntityTag(self, ):
2583
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2584
    if mtype == TMessageType.EXCEPTION:
2585
      x = TApplicationException()
2586
      x.read(self._iprot)
2587
      self._iprot.readMessageEnd()
2588
      raise x
2589
    result = deleteEntityTag_result()
2590
    result.read(self._iprot)
2591
    self._iprot.readMessageEnd()
2592
    if result.success is not None:
2593
      return result.success
2594
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteEntityTag failed: unknown result");
2595
 
2596
  def deleteTag(self, displayName):
2597
    """
2598
    Parameters:
2599
     - displayName
2600
    """
2601
    self.send_deleteTag(displayName)
2602
    return self.recv_deleteTag()
2603
 
2604
  def send_deleteTag(self, displayName):
2605
    self._oprot.writeMessageBegin('deleteTag', TMessageType.CALL, self._seqid)
2606
    args = deleteTag_args()
2607
    args.displayName = displayName
2608
    args.write(self._oprot)
2609
    self._oprot.writeMessageEnd()
2610
    self._oprot.trans.flush()
2611
 
2612
  def recv_deleteTag(self, ):
2613
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2614
    if mtype == TMessageType.EXCEPTION:
2615
      x = TApplicationException()
2616
      x.read(self._iprot)
2617
      self._iprot.readMessageEnd()
2618
      raise x
2619
    result = deleteTag_result()
2620
    result.read(self._iprot)
2621
    self._iprot.readMessageEnd()
2622
    if result.success is not None:
2623
      return result.success
2624
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteTag failed: unknown result");
2625
 
2626
  def getAllTags(self, ):
2627
    self.send_getAllTags()
2628
    return self.recv_getAllTags()
2629
 
2630
  def send_getAllTags(self, ):
2631
    self._oprot.writeMessageBegin('getAllTags', TMessageType.CALL, self._seqid)
2632
    args = getAllTags_args()
2633
    args.write(self._oprot)
2634
    self._oprot.writeMessageEnd()
2635
    self._oprot.trans.flush()
2636
 
2637
  def recv_getAllTags(self, ):
2638
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2639
    if mtype == TMessageType.EXCEPTION:
2640
      x = TApplicationException()
2641
      x.read(self._iprot)
2642
      self._iprot.readMessageEnd()
2643
      raise x
2644
    result = getAllTags_result()
2645
    result.read(self._iprot)
2646
    self._iprot.readMessageEnd()
2647
    if result.success is not None:
2648
      return result.success
2649
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllTags failed: unknown result");
2650
 
2651
  def getAllEntitiesByTagName(self, displayName):
2652
    """
2653
    Parameters:
2654
     - displayName
2655
    """
2656
    self.send_getAllEntitiesByTagName(displayName)
2657
    return self.recv_getAllEntitiesByTagName()
2658
 
2659
  def send_getAllEntitiesByTagName(self, displayName):
2660
    self._oprot.writeMessageBegin('getAllEntitiesByTagName', TMessageType.CALL, self._seqid)
2661
    args = getAllEntitiesByTagName_args()
2662
    args.displayName = displayName
2663
    args.write(self._oprot)
2664
    self._oprot.writeMessageEnd()
2665
    self._oprot.trans.flush()
2666
 
2667
  def recv_getAllEntitiesByTagName(self, ):
2668
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2669
    if mtype == TMessageType.EXCEPTION:
2670
      x = TApplicationException()
2671
      x.read(self._iprot)
2672
      self._iprot.readMessageEnd()
2673
      raise x
2674
    result = getAllEntitiesByTagName_result()
2675
    result.read(self._iprot)
2676
    self._iprot.readMessageEnd()
2677
    if result.success is not None:
2678
      return result.success
2679
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntitiesByTagName failed: unknown result");
2680
 
6845 amit.gupta 2681
  def getAllEntityTags(self, ):
2682
    self.send_getAllEntityTags()
2683
    return self.recv_getAllEntityTags()
2684
 
2685
  def send_getAllEntityTags(self, ):
2686
    self._oprot.writeMessageBegin('getAllEntityTags', TMessageType.CALL, self._seqid)
2687
    args = getAllEntityTags_args()
2688
    args.write(self._oprot)
2689
    self._oprot.writeMessageEnd()
2690
    self._oprot.trans.flush()
2691
 
2692
  def recv_getAllEntityTags(self, ):
2693
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2694
    if mtype == TMessageType.EXCEPTION:
2695
      x = TApplicationException()
2696
      x.read(self._iprot)
2697
      self._iprot.readMessageEnd()
2698
      raise x
2699
    result = getAllEntityTags_result()
2700
    result.read(self._iprot)
2701
    self._iprot.readMessageEnd()
2702
    if result.success is not None:
2703
      return result.success
2704
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
2705
 
8590 kshitij.so 2706
  def addBanner(self, bannerCongregate):
6850 kshitij.so 2707
    """
8579 kshitij.so 2708
    Banner Related
2709
 
6850 kshitij.so 2710
    Parameters:
8590 kshitij.so 2711
     - bannerCongregate
6850 kshitij.so 2712
    """
8590 kshitij.so 2713
    self.send_addBanner(bannerCongregate)
10097 kshitij.so 2714
    return self.recv_addBanner()
6850 kshitij.so 2715
 
8590 kshitij.so 2716
  def send_addBanner(self, bannerCongregate):
6850 kshitij.so 2717
    self._oprot.writeMessageBegin('addBanner', TMessageType.CALL, self._seqid)
2718
    args = addBanner_args()
8590 kshitij.so 2719
    args.bannerCongregate = bannerCongregate
6850 kshitij.so 2720
    args.write(self._oprot)
2721
    self._oprot.writeMessageEnd()
2722
    self._oprot.trans.flush()
2723
 
2724
  def recv_addBanner(self, ):
2725
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2726
    if mtype == TMessageType.EXCEPTION:
2727
      x = TApplicationException()
2728
      x.read(self._iprot)
2729
      self._iprot.readMessageEnd()
2730
      raise x
2731
    result = addBanner_result()
2732
    result.read(self._iprot)
2733
    self._iprot.readMessageEnd()
10097 kshitij.so 2734
    if result.success is not None:
2735
      return result.success
2736
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
6850 kshitij.so 2737
 
8579 kshitij.so 2738
  def updateBanner(self, banner):
2739
    """
2740
    Parameters:
2741
     - banner
2742
    """
2743
    self.send_updateBanner(banner)
2744
    return self.recv_updateBanner()
2745
 
2746
  def send_updateBanner(self, banner):
2747
    self._oprot.writeMessageBegin('updateBanner', TMessageType.CALL, self._seqid)
2748
    args = updateBanner_args()
2749
    args.banner = banner
2750
    args.write(self._oprot)
2751
    self._oprot.writeMessageEnd()
2752
    self._oprot.trans.flush()
2753
 
2754
  def recv_updateBanner(self, ):
2755
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2756
    if mtype == TMessageType.EXCEPTION:
2757
      x = TApplicationException()
2758
      x.read(self._iprot)
2759
      self._iprot.readMessageEnd()
2760
      raise x
2761
    result = updateBanner_result()
2762
    result.read(self._iprot)
2763
    self._iprot.readMessageEnd()
2764
    if result.success is not None:
2765
      return result.success
2766
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBanner failed: unknown result");
2767
 
6850 kshitij.so 2768
  def getAllBanners(self, ):
2769
    self.send_getAllBanners()
2770
    return self.recv_getAllBanners()
2771
 
2772
  def send_getAllBanners(self, ):
2773
    self._oprot.writeMessageBegin('getAllBanners', TMessageType.CALL, self._seqid)
2774
    args = getAllBanners_args()
2775
    args.write(self._oprot)
2776
    self._oprot.writeMessageEnd()
2777
    self._oprot.trans.flush()
2778
 
2779
  def recv_getAllBanners(self, ):
2780
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2781
    if mtype == TMessageType.EXCEPTION:
2782
      x = TApplicationException()
2783
      x.read(self._iprot)
2784
      self._iprot.readMessageEnd()
2785
      raise x
2786
    result = getAllBanners_result()
2787
    result.read(self._iprot)
2788
    self._iprot.readMessageEnd()
2789
    if result.success is not None:
2790
      return result.success
2791
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBanners failed: unknown result");
2792
 
9155 kshitij.so 2793
  def deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2794
    """
2795
    Parameters:
2796
     - bannerName
9155 kshitij.so 2797
     - bannerType
6850 kshitij.so 2798
    """
9155 kshitij.so 2799
    self.send_deleteBanner(bannerName, bannerType)
6850 kshitij.so 2800
    return self.recv_deleteBanner()
2801
 
9155 kshitij.so 2802
  def send_deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2803
    self._oprot.writeMessageBegin('deleteBanner', TMessageType.CALL, self._seqid)
2804
    args = deleteBanner_args()
2805
    args.bannerName = bannerName
9155 kshitij.so 2806
    args.bannerType = bannerType
6850 kshitij.so 2807
    args.write(self._oprot)
2808
    self._oprot.writeMessageEnd()
2809
    self._oprot.trans.flush()
2810
 
2811
  def recv_deleteBanner(self, ):
2812
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2813
    if mtype == TMessageType.EXCEPTION:
2814
      x = TApplicationException()
2815
      x.read(self._iprot)
2816
      self._iprot.readMessageEnd()
2817
      raise x
2818
    result = deleteBanner_result()
2819
    result.read(self._iprot)
2820
    self._iprot.readMessageEnd()
2821
    if result.success is not None:
2822
      return result.success
2823
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBanner failed: unknown result");
2824
 
9155 kshitij.so 2825
  def getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2826
    """
2827
    Parameters:
2828
     - bannerName
9155 kshitij.so 2829
     - bannerType
6850 kshitij.so 2830
    """
9155 kshitij.so 2831
    self.send_getBannerDetails(bannerName, bannerType)
6850 kshitij.so 2832
    return self.recv_getBannerDetails()
2833
 
9155 kshitij.so 2834
  def send_getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2835
    self._oprot.writeMessageBegin('getBannerDetails', TMessageType.CALL, self._seqid)
2836
    args = getBannerDetails_args()
2837
    args.bannerName = bannerName
9155 kshitij.so 2838
    args.bannerType = bannerType
6850 kshitij.so 2839
    args.write(self._oprot)
2840
    self._oprot.writeMessageEnd()
2841
    self._oprot.trans.flush()
2842
 
2843
  def recv_getBannerDetails(self, ):
2844
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2845
    if mtype == TMessageType.EXCEPTION:
2846
      x = TApplicationException()
2847
      x.read(self._iprot)
2848
      self._iprot.readMessageEnd()
2849
      raise x
2850
    result = getBannerDetails_result()
2851
    result.read(self._iprot)
2852
    self._iprot.readMessageEnd()
2853
    if result.success is not None:
2854
      return result.success
2855
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerDetails failed: unknown result");
2856
 
2857
  def getActiveBanners(self, ):
2858
    self.send_getActiveBanners()
2859
    return self.recv_getActiveBanners()
2860
 
2861
  def send_getActiveBanners(self, ):
2862
    self._oprot.writeMessageBegin('getActiveBanners', TMessageType.CALL, self._seqid)
2863
    args = getActiveBanners_args()
2864
    args.write(self._oprot)
2865
    self._oprot.writeMessageEnd()
2866
    self._oprot.trans.flush()
2867
 
2868
  def recv_getActiveBanners(self, ):
2869
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2870
    if mtype == TMessageType.EXCEPTION:
2871
      x = TApplicationException()
2872
      x.read(self._iprot)
2873
      self._iprot.readMessageEnd()
2874
      raise x
2875
    result = getActiveBanners_result()
2876
    result.read(self._iprot)
2877
    self._iprot.readMessageEnd()
2878
    if result.success is not None:
2879
      return result.success
2880
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
2881
 
8579 kshitij.so 2882
  def addBannerMap(self, bannerMaps):
6849 kshitij.so 2883
    """
2884
    Parameters:
8579 kshitij.so 2885
     - bannerMaps
6849 kshitij.so 2886
    """
8579 kshitij.so 2887
    self.send_addBannerMap(bannerMaps)
6849 kshitij.so 2888
    return self.recv_addBannerMap()
2889
 
8579 kshitij.so 2890
  def send_addBannerMap(self, bannerMaps):
6849 kshitij.so 2891
    self._oprot.writeMessageBegin('addBannerMap', TMessageType.CALL, self._seqid)
2892
    args = addBannerMap_args()
8579 kshitij.so 2893
    args.bannerMaps = bannerMaps
6849 kshitij.so 2894
    args.write(self._oprot)
2895
    self._oprot.writeMessageEnd()
2896
    self._oprot.trans.flush()
2897
 
2898
  def recv_addBannerMap(self, ):
2899
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2900
    if mtype == TMessageType.EXCEPTION:
2901
      x = TApplicationException()
2902
      x.read(self._iprot)
2903
      self._iprot.readMessageEnd()
2904
      raise x
2905
    result = addBannerMap_result()
2906
    result.read(self._iprot)
2907
    self._iprot.readMessageEnd()
2908
    if result.success is not None:
2909
      return result.success
2910
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
2911
 
8579 kshitij.so 2912
  def updateBannerMap(self, bannerMap):
2913
    """
2914
    Parameters:
2915
     - bannerMap
2916
    """
2917
    self.send_updateBannerMap(bannerMap)
2918
    return self.recv_updateBannerMap()
2919
 
2920
  def send_updateBannerMap(self, bannerMap):
2921
    self._oprot.writeMessageBegin('updateBannerMap', TMessageType.CALL, self._seqid)
2922
    args = updateBannerMap_args()
2923
    args.bannerMap = bannerMap
2924
    args.write(self._oprot)
2925
    self._oprot.writeMessageEnd()
2926
    self._oprot.trans.flush()
2927
 
2928
  def recv_updateBannerMap(self, ):
2929
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2930
    if mtype == TMessageType.EXCEPTION:
2931
      x = TApplicationException()
2932
      x.read(self._iprot)
2933
      self._iprot.readMessageEnd()
2934
      raise x
2935
    result = updateBannerMap_result()
2936
    result.read(self._iprot)
2937
    self._iprot.readMessageEnd()
2938
    if result.success is not None:
2939
      return result.success
2940
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBannerMap failed: unknown result");
2941
 
6849 kshitij.so 2942
  def deleteBannerMap(self, bannerName):
2943
    """
2944
    Parameters:
2945
     - bannerName
2946
    """
2947
    self.send_deleteBannerMap(bannerName)
2948
    return self.recv_deleteBannerMap()
2949
 
2950
  def send_deleteBannerMap(self, bannerName):
2951
    self._oprot.writeMessageBegin('deleteBannerMap', TMessageType.CALL, self._seqid)
2952
    args = deleteBannerMap_args()
2953
    args.bannerName = bannerName
2954
    args.write(self._oprot)
2955
    self._oprot.writeMessageEnd()
2956
    self._oprot.trans.flush()
2957
 
2958
  def recv_deleteBannerMap(self, ):
2959
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2960
    if mtype == TMessageType.EXCEPTION:
2961
      x = TApplicationException()
2962
      x.read(self._iprot)
2963
      self._iprot.readMessageEnd()
2964
      raise x
2965
    result = deleteBannerMap_result()
2966
    result.read(self._iprot)
2967
    self._iprot.readMessageEnd()
2968
    if result.success is not None:
2969
      return result.success
2970
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBannerMap failed: unknown result");
2971
 
9155 kshitij.so 2972
  def getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 2973
    """
2974
    Parameters:
2975
     - bannerName
9155 kshitij.so 2976
     - bannerType
6849 kshitij.so 2977
    """
9155 kshitij.so 2978
    self.send_getBannerMapDetails(bannerName, bannerType)
6849 kshitij.so 2979
    return self.recv_getBannerMapDetails()
2980
 
9155 kshitij.so 2981
  def send_getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 2982
    self._oprot.writeMessageBegin('getBannerMapDetails', TMessageType.CALL, self._seqid)
2983
    args = getBannerMapDetails_args()
2984
    args.bannerName = bannerName
9155 kshitij.so 2985
    args.bannerType = bannerType
6849 kshitij.so 2986
    args.write(self._oprot)
2987
    self._oprot.writeMessageEnd()
2988
    self._oprot.trans.flush()
2989
 
2990
  def recv_getBannerMapDetails(self, ):
2991
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2992
    if mtype == TMessageType.EXCEPTION:
2993
      x = TApplicationException()
2994
      x.read(self._iprot)
2995
      self._iprot.readMessageEnd()
2996
      raise x
2997
    result = getBannerMapDetails_result()
2998
    result.read(self._iprot)
2999
    self._iprot.readMessageEnd()
3000
    if result.success is not None:
3001
      return result.success
3002
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
3003
 
8579 kshitij.so 3004
  def addBannerUri(self, bannerUriMappings):
3005
    """
3006
    Parameters:
3007
     - bannerUriMappings
3008
    """
3009
    self.send_addBannerUri(bannerUriMappings)
3010
    self.recv_addBannerUri()
3011
 
3012
  def send_addBannerUri(self, bannerUriMappings):
3013
    self._oprot.writeMessageBegin('addBannerUri', TMessageType.CALL, self._seqid)
3014
    args = addBannerUri_args()
3015
    args.bannerUriMappings = bannerUriMappings
3016
    args.write(self._oprot)
3017
    self._oprot.writeMessageEnd()
3018
    self._oprot.trans.flush()
3019
 
3020
  def recv_addBannerUri(self, ):
3021
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3022
    if mtype == TMessageType.EXCEPTION:
3023
      x = TApplicationException()
3024
      x.read(self._iprot)
3025
      self._iprot.readMessageEnd()
3026
      raise x
3027
    result = addBannerUri_result()
3028
    result.read(self._iprot)
3029
    self._iprot.readMessageEnd()
3030
    return
3031
 
9155 kshitij.so 3032
  def getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 3033
    """
3034
    Parameters:
3035
     - bannerName
9155 kshitij.so 3036
     - bannerType
8579 kshitij.so 3037
    """
9155 kshitij.so 3038
    self.send_getUriMapping(bannerName, bannerType)
8579 kshitij.so 3039
    return self.recv_getUriMapping()
3040
 
9155 kshitij.so 3041
  def send_getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 3042
    self._oprot.writeMessageBegin('getUriMapping', TMessageType.CALL, self._seqid)
3043
    args = getUriMapping_args()
3044
    args.bannerName = bannerName
9155 kshitij.so 3045
    args.bannerType = bannerType
8579 kshitij.so 3046
    args.write(self._oprot)
3047
    self._oprot.writeMessageEnd()
3048
    self._oprot.trans.flush()
3049
 
3050
  def recv_getUriMapping(self, ):
3051
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3052
    if mtype == TMessageType.EXCEPTION:
3053
      x = TApplicationException()
3054
      x.read(self._iprot)
3055
      self._iprot.readMessageEnd()
3056
      raise x
3057
    result = getUriMapping_result()
3058
    result.read(self._iprot)
3059
    self._iprot.readMessageEnd()
3060
    if result.success is not None:
3061
      return result.success
3062
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUriMapping failed: unknown result");
3063
 
3064
  def addCampaign(self, campaign):
3065
    """
3066
    Parameters:
3067
     - campaign
3068
    """
3069
    self.send_addCampaign(campaign)
3070
    self.recv_addCampaign()
3071
 
3072
  def send_addCampaign(self, campaign):
3073
    self._oprot.writeMessageBegin('addCampaign', TMessageType.CALL, self._seqid)
3074
    args = addCampaign_args()
3075
    args.campaign = campaign
3076
    args.write(self._oprot)
3077
    self._oprot.writeMessageEnd()
3078
    self._oprot.trans.flush()
3079
 
3080
  def recv_addCampaign(self, ):
3081
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3082
    if mtype == TMessageType.EXCEPTION:
3083
      x = TApplicationException()
3084
      x.read(self._iprot)
3085
      self._iprot.readMessageEnd()
3086
      raise x
3087
    result = addCampaign_result()
3088
    result.read(self._iprot)
3089
    self._iprot.readMessageEnd()
3090
    return
3091
 
3092
  def getCampaigns(self, campaignName):
3093
    """
3094
    Parameters:
3095
     - campaignName
3096
    """
3097
    self.send_getCampaigns(campaignName)
3098
    return self.recv_getCampaigns()
3099
 
3100
  def send_getCampaigns(self, campaignName):
3101
    self._oprot.writeMessageBegin('getCampaigns', TMessageType.CALL, self._seqid)
3102
    args = getCampaigns_args()
3103
    args.campaignName = campaignName
3104
    args.write(self._oprot)
3105
    self._oprot.writeMessageEnd()
3106
    self._oprot.trans.flush()
3107
 
3108
  def recv_getCampaigns(self, ):
3109
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3110
    if mtype == TMessageType.EXCEPTION:
3111
      x = TApplicationException()
3112
      x.read(self._iprot)
3113
      self._iprot.readMessageEnd()
3114
      raise x
3115
    result = getCampaigns_result()
3116
    result.read(self._iprot)
3117
    self._iprot.readMessageEnd()
3118
    if result.success is not None:
3119
      return result.success
3120
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCampaigns failed: unknown result");
3121
 
3122
  def deleteCampaign(self, campaignId):
3123
    """
3124
    Parameters:
3125
     - campaignId
3126
    """
3127
    self.send_deleteCampaign(campaignId)
3128
    self.recv_deleteCampaign()
3129
 
3130
  def send_deleteCampaign(self, campaignId):
3131
    self._oprot.writeMessageBegin('deleteCampaign', TMessageType.CALL, self._seqid)
3132
    args = deleteCampaign_args()
3133
    args.campaignId = campaignId
3134
    args.write(self._oprot)
3135
    self._oprot.writeMessageEnd()
3136
    self._oprot.trans.flush()
3137
 
3138
  def recv_deleteCampaign(self, ):
3139
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3140
    if mtype == TMessageType.EXCEPTION:
3141
      x = TApplicationException()
3142
      x.read(self._iprot)
3143
      self._iprot.readMessageEnd()
3144
      raise x
3145
    result = deleteCampaign_result()
3146
    result.read(self._iprot)
3147
    self._iprot.readMessageEnd()
3148
    return
3149
 
3150
  def getAllCampaigns(self, ):
3151
    self.send_getAllCampaigns()
3152
    return self.recv_getAllCampaigns()
3153
 
3154
  def send_getAllCampaigns(self, ):
3155
    self._oprot.writeMessageBegin('getAllCampaigns', TMessageType.CALL, self._seqid)
3156
    args = getAllCampaigns_args()
3157
    args.write(self._oprot)
3158
    self._oprot.writeMessageEnd()
3159
    self._oprot.trans.flush()
3160
 
3161
  def recv_getAllCampaigns(self, ):
3162
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3163
    if mtype == TMessageType.EXCEPTION:
3164
      x = TApplicationException()
3165
      x.read(self._iprot)
3166
      self._iprot.readMessageEnd()
3167
      raise x
3168
    result = getAllCampaigns_result()
3169
    result.read(self._iprot)
3170
    self._iprot.readMessageEnd()
3171
    if result.success is not None:
3172
      return result.success
3173
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCampaigns failed: unknown result");
3174
 
9155 kshitij.so 3175
  def getActiveBannersForMobileSite(self, ):
3176
    self.send_getActiveBannersForMobileSite()
3177
    return self.recv_getActiveBannersForMobileSite()
3178
 
3179
  def send_getActiveBannersForMobileSite(self, ):
3180
    self._oprot.writeMessageBegin('getActiveBannersForMobileSite', TMessageType.CALL, self._seqid)
3181
    args = getActiveBannersForMobileSite_args()
3182
    args.write(self._oprot)
3183
    self._oprot.writeMessageEnd()
3184
    self._oprot.trans.flush()
3185
 
3186
  def recv_getActiveBannersForMobileSite(self, ):
3187
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3188
    if mtype == TMessageType.EXCEPTION:
3189
      x = TApplicationException()
3190
      x.read(self._iprot)
3191
      self._iprot.readMessageEnd()
3192
      raise x
3193
    result = getActiveBannersForMobileSite_result()
3194
    result.read(self._iprot)
3195
    self._iprot.readMessageEnd()
3196
    if result.success is not None:
3197
      return result.success
3198
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBannersForMobileSite failed: unknown result");
3199
 
5944 mandeep.dh 3200
  def deleteSimilarItem(self, itemId, catalogItemId):
3201
    """
3202
    Delete similar item.
3203
 
3204
    Parameters:
3205
     - itemId
3206
     - catalogItemId
3207
    """
3208
    self.send_deleteSimilarItem(itemId, catalogItemId)
3209
    return self.recv_deleteSimilarItem()
3210
 
3211
  def send_deleteSimilarItem(self, itemId, catalogItemId):
3212
    self._oprot.writeMessageBegin('deleteSimilarItem', TMessageType.CALL, self._seqid)
3213
    args = deleteSimilarItem_args()
3214
    args.itemId = itemId
3215
    args.catalogItemId = catalogItemId
3216
    args.write(self._oprot)
3217
    self._oprot.writeMessageEnd()
3218
    self._oprot.trans.flush()
3219
 
3220
  def recv_deleteSimilarItem(self, ):
3221
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3222
    if mtype == TMessageType.EXCEPTION:
3223
      x = TApplicationException()
3224
      x.read(self._iprot)
3225
      self._iprot.readMessageEnd()
3226
      raise x
3227
    result = deleteSimilarItem_result()
3228
    result.read(self._iprot)
3229
    self._iprot.readMessageEnd()
3230
    if result.success is not None:
3231
      return result.success
3232
    if result.cex is not None:
3233
      raise result.cex
3234
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteSimilarItem failed: unknown result");
3235
 
3236
  def checkSimilarItem(self, brand, modelNumber, modelName, color):
3237
    """
3238
    Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
3239
    If yes, returns the itemId else returns 0
3240
 
3241
    Parameters:
3242
     - brand
3243
     - modelNumber
3244
     - modelName
3245
     - color
3246
    """
3247
    self.send_checkSimilarItem(brand, modelNumber, modelName, color)
3248
    return self.recv_checkSimilarItem()
3249
 
3250
  def send_checkSimilarItem(self, brand, modelNumber, modelName, color):
3251
    self._oprot.writeMessageBegin('checkSimilarItem', TMessageType.CALL, self._seqid)
3252
    args = checkSimilarItem_args()
3253
    args.brand = brand
3254
    args.modelNumber = modelNumber
3255
    args.modelName = modelName
3256
    args.color = color
3257
    args.write(self._oprot)
3258
    self._oprot.writeMessageEnd()
3259
    self._oprot.trans.flush()
3260
 
3261
  def recv_checkSimilarItem(self, ):
3262
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3263
    if mtype == TMessageType.EXCEPTION:
3264
      x = TApplicationException()
3265
      x.read(self._iprot)
3266
      self._iprot.readMessageEnd()
3267
      raise x
3268
    result = checkSimilarItem_result()
3269
    result.read(self._iprot)
3270
    self._iprot.readMessageEnd()
3271
    if result.success is not None:
3272
      return result.success
3273
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkSimilarItem failed: unknown result");
3274
 
3275
  def validateRiskyStatus(self, itemId):
3276
    """
3277
    Check wether item is risky and change status if inventory is not available for risky items
3278
 
3279
    Parameters:
3280
     - itemId
3281
    """
3282
    self.send_validateRiskyStatus(itemId)
3283
    self.recv_validateRiskyStatus()
3284
 
3285
  def send_validateRiskyStatus(self, itemId):
3286
    self._oprot.writeMessageBegin('validateRiskyStatus', TMessageType.CALL, self._seqid)
3287
    args = validateRiskyStatus_args()
3288
    args.itemId = itemId
3289
    args.write(self._oprot)
3290
    self._oprot.writeMessageEnd()
3291
    self._oprot.trans.flush()
3292
 
3293
  def recv_validateRiskyStatus(self, ):
3294
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3295
    if mtype == TMessageType.EXCEPTION:
3296
      x = TApplicationException()
3297
      x.read(self._iprot)
3298
      self._iprot.readMessageEnd()
3299
      raise x
3300
    result = validateRiskyStatus_result()
3301
    result.read(self._iprot)
3302
    self._iprot.readMessageEnd()
3303
    return
3304
 
3305
  def changeItemRiskyFlag(self, itemId, risky):
3306
    """
3307
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
3308
 
3309
    Parameters:
3310
     - itemId
3311
     - risky
3312
    """
3313
    self.send_changeItemRiskyFlag(itemId, risky)
3314
    self.recv_changeItemRiskyFlag()
3315
 
3316
  def send_changeItemRiskyFlag(self, itemId, risky):
3317
    self._oprot.writeMessageBegin('changeItemRiskyFlag', TMessageType.CALL, self._seqid)
3318
    args = changeItemRiskyFlag_args()
3319
    args.itemId = itemId
3320
    args.risky = risky
3321
    args.write(self._oprot)
3322
    self._oprot.writeMessageEnd()
3323
    self._oprot.trans.flush()
3324
 
3325
  def recv_changeItemRiskyFlag(self, ):
3326
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3327
    if mtype == TMessageType.EXCEPTION:
3328
      x = TApplicationException()
3329
      x.read(self._iprot)
3330
      self._iprot.readMessageEnd()
3331
      raise x
3332
    result = changeItemRiskyFlag_result()
3333
    result.read(self._iprot)
3334
    self._iprot.readMessageEnd()
3335
    return
3336
 
3337
  def getItemsByRiskyFlag(self, ):
3338
    """
3339
    Returns list of items marked as risky.
3340
    """
3341
    self.send_getItemsByRiskyFlag()
3342
    return self.recv_getItemsByRiskyFlag()
3343
 
3344
  def send_getItemsByRiskyFlag(self, ):
3345
    self._oprot.writeMessageBegin('getItemsByRiskyFlag', TMessageType.CALL, self._seqid)
3346
    args = getItemsByRiskyFlag_args()
3347
    args.write(self._oprot)
3348
    self._oprot.writeMessageEnd()
3349
    self._oprot.trans.flush()
3350
 
3351
  def recv_getItemsByRiskyFlag(self, ):
3352
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3353
    if mtype == TMessageType.EXCEPTION:
3354
      x = TApplicationException()
3355
      x.read(self._iprot)
3356
      self._iprot.readMessageEnd()
3357
      raise x
3358
    result = getItemsByRiskyFlag_result()
3359
    result.read(self._iprot)
3360
    self._iprot.readMessageEnd()
3361
    if result.success is not None:
3362
      return result.success
3363
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByRiskyFlag failed: unknown result");
3364
 
3365
  def getItemsForMasterSheet(self, category, brand):
3366
    """
3367
    Returns list of items with any status except PHASED_OUT and filtered by category, brand.
3368
 
3369
    Parameters:
3370
     - category
3371
     - brand
3372
    """
3373
    self.send_getItemsForMasterSheet(category, brand)
3374
    return self.recv_getItemsForMasterSheet()
3375
 
3376
  def send_getItemsForMasterSheet(self, category, brand):
3377
    self._oprot.writeMessageBegin('getItemsForMasterSheet', TMessageType.CALL, self._seqid)
3378
    args = getItemsForMasterSheet_args()
3379
    args.category = category
3380
    args.brand = brand
3381
    args.write(self._oprot)
3382
    self._oprot.writeMessageEnd()
3383
    self._oprot.trans.flush()
3384
 
3385
  def recv_getItemsForMasterSheet(self, ):
3386
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3387
    if mtype == TMessageType.EXCEPTION:
3388
      x = TApplicationException()
3389
      x.read(self._iprot)
3390
      self._iprot.readMessageEnd()
3391
      raise x
3392
    result = getItemsForMasterSheet_result()
3393
    result.read(self._iprot)
3394
    self._iprot.readMessageEnd()
3395
    if result.success is not None:
3396
      return result.success
3397
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsForMasterSheet failed: unknown result");
3398
 
3399
  def getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3400
    """
3401
    Returns list of catalog ids of items with same similarity index as of the given itemId
3402
 
3403
    Parameters:
3404
     - beginIndex
3405
     - totalItems
3406
     - itemId
3407
    """
3408
    self.send_getSimilarItemsCatalogIds(beginIndex, totalItems, itemId)
3409
    return self.recv_getSimilarItemsCatalogIds()
3410
 
3411
  def send_getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3412
    self._oprot.writeMessageBegin('getSimilarItemsCatalogIds', TMessageType.CALL, self._seqid)
3413
    args = getSimilarItemsCatalogIds_args()
3414
    args.beginIndex = beginIndex
3415
    args.totalItems = totalItems
3416
    args.itemId = itemId
3417
    args.write(self._oprot)
3418
    self._oprot.writeMessageEnd()
3419
    self._oprot.trans.flush()
3420
 
3421
  def recv_getSimilarItemsCatalogIds(self, ):
3422
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3423
    if mtype == TMessageType.EXCEPTION:
3424
      x = TApplicationException()
3425
      x.read(self._iprot)
3426
      self._iprot.readMessageEnd()
3427
      raise x
3428
    result = getSimilarItemsCatalogIds_result()
3429
    result.read(self._iprot)
3430
    self._iprot.readMessageEnd()
3431
    if result.success is not None:
3432
      return result.success
3433
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSimilarItemsCatalogIds failed: unknown result");
3434
 
3435
  def addProductNotification(self, itemId, email):
3436
    """
3437
    Add user requests for out of stock items. Once user will ask for notify me an entry will
3438
 
3439
    Parameters:
3440
     - itemId
3441
     - email
3442
    """
3443
    self.send_addProductNotification(itemId, email)
3444
    return self.recv_addProductNotification()
3445
 
3446
  def send_addProductNotification(self, itemId, email):
3447
    self._oprot.writeMessageBegin('addProductNotification', TMessageType.CALL, self._seqid)
3448
    args = addProductNotification_args()
3449
    args.itemId = itemId
3450
    args.email = email
3451
    args.write(self._oprot)
3452
    self._oprot.writeMessageEnd()
3453
    self._oprot.trans.flush()
3454
 
3455
  def recv_addProductNotification(self, ):
3456
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3457
    if mtype == TMessageType.EXCEPTION:
3458
      x = TApplicationException()
3459
      x.read(self._iprot)
3460
      self._iprot.readMessageEnd()
3461
      raise x
3462
    result = addProductNotification_result()
3463
    result.read(self._iprot)
3464
    self._iprot.readMessageEnd()
3465
    if result.success is not None:
3466
      return result.success
3467
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductNotification failed: unknown result");
3468
 
3469
  def sendProductNotifications(self, ):
3470
    """
3471
    Send the product notifications to the users for items which has stock.
3472
    """
3473
    self.send_sendProductNotifications()
3474
    return self.recv_sendProductNotifications()
3475
 
3476
  def send_sendProductNotifications(self, ):
3477
    self._oprot.writeMessageBegin('sendProductNotifications', TMessageType.CALL, self._seqid)
3478
    args = sendProductNotifications_args()
3479
    args.write(self._oprot)
3480
    self._oprot.writeMessageEnd()
3481
    self._oprot.trans.flush()
3482
 
3483
  def recv_sendProductNotifications(self, ):
3484
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3485
    if mtype == TMessageType.EXCEPTION:
3486
      x = TApplicationException()
3487
      x.read(self._iprot)
3488
      self._iprot.readMessageEnd()
3489
      raise x
3490
    result = sendProductNotifications_result()
3491
    result.read(self._iprot)
3492
    self._iprot.readMessageEnd()
3493
    if result.success is not None:
3494
      return result.success
3495
    raise TApplicationException(TApplicationException.MISSING_RESULT, "sendProductNotifications failed: unknown result");
3496
 
3497
  def getAllBrandsByCategory(self, categoryId):
3498
    """
3499
    Returns list of brand names for a given category Id
3500
 
3501
    Parameters:
3502
     - categoryId
3503
    """
3504
    self.send_getAllBrandsByCategory(categoryId)
3505
    return self.recv_getAllBrandsByCategory()
3506
 
3507
  def send_getAllBrandsByCategory(self, categoryId):
3508
    self._oprot.writeMessageBegin('getAllBrandsByCategory', TMessageType.CALL, self._seqid)
3509
    args = getAllBrandsByCategory_args()
3510
    args.categoryId = categoryId
3511
    args.write(self._oprot)
3512
    self._oprot.writeMessageEnd()
3513
    self._oprot.trans.flush()
3514
 
3515
  def recv_getAllBrandsByCategory(self, ):
3516
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3517
    if mtype == TMessageType.EXCEPTION:
3518
      x = TApplicationException()
3519
      x.read(self._iprot)
3520
      self._iprot.readMessageEnd()
3521
      raise x
3522
    result = getAllBrandsByCategory_result()
3523
    result.read(self._iprot)
3524
    self._iprot.readMessageEnd()
3525
    if result.success is not None:
3526
      return result.success
3527
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrandsByCategory failed: unknown result");
3528
 
3529
  def getAllBrands(self, ):
3530
    """
3531
    Returns list of brand names
3532
    """
3533
    self.send_getAllBrands()
3534
    return self.recv_getAllBrands()
3535
 
3536
  def send_getAllBrands(self, ):
3537
    self._oprot.writeMessageBegin('getAllBrands', TMessageType.CALL, self._seqid)
3538
    args = getAllBrands_args()
3539
    args.write(self._oprot)
3540
    self._oprot.writeMessageEnd()
3541
    self._oprot.trans.flush()
3542
 
3543
  def recv_getAllBrands(self, ):
3544
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3545
    if mtype == TMessageType.EXCEPTION:
3546
      x = TApplicationException()
3547
      x.read(self._iprot)
3548
      self._iprot.readMessageEnd()
3549
      raise x
3550
    result = getAllBrands_result()
3551
    result.read(self._iprot)
3552
    self._iprot.readMessageEnd()
3553
    if result.success is not None:
3554
      return result.success
3555
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrands failed: unknown result");
3556
 
3557
  def getAllSources(self, ):
3558
    """
3559
    Return list of all sources
3560
    """
3561
    self.send_getAllSources()
3562
    return self.recv_getAllSources()
3563
 
3564
  def send_getAllSources(self, ):
3565
    self._oprot.writeMessageBegin('getAllSources', TMessageType.CALL, self._seqid)
3566
    args = getAllSources_args()
3567
    args.write(self._oprot)
3568
    self._oprot.writeMessageEnd()
3569
    self._oprot.trans.flush()
3570
 
3571
  def recv_getAllSources(self, ):
3572
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3573
    if mtype == TMessageType.EXCEPTION:
3574
      x = TApplicationException()
3575
      x.read(self._iprot)
3576
      self._iprot.readMessageEnd()
3577
      raise x
3578
    result = getAllSources_result()
3579
    result.read(self._iprot)
3580
    self._iprot.readMessageEnd()
3581
    if result.success is not None:
3582
      return result.success
3583
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSources failed: unknown result");
3584
 
3585
  def getItemPricingBySource(self, itemId, sourceId):
3586
    """
3587
    Returns the pricing information of an item. If no information is found, exception will be thrown.
3588
 
3589
    Parameters:
3590
     - itemId
3591
     - sourceId
3592
    """
3593
    self.send_getItemPricingBySource(itemId, sourceId)
3594
    return self.recv_getItemPricingBySource()
3595
 
3596
  def send_getItemPricingBySource(self, itemId, sourceId):
3597
    self._oprot.writeMessageBegin('getItemPricingBySource', TMessageType.CALL, self._seqid)
3598
    args = getItemPricingBySource_args()
3599
    args.itemId = itemId
3600
    args.sourceId = sourceId
3601
    args.write(self._oprot)
3602
    self._oprot.writeMessageEnd()
3603
    self._oprot.trans.flush()
3604
 
3605
  def recv_getItemPricingBySource(self, ):
3606
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3607
    if mtype == TMessageType.EXCEPTION:
3608
      x = TApplicationException()
3609
      x.read(self._iprot)
3610
      self._iprot.readMessageEnd()
3611
      raise x
3612
    result = getItemPricingBySource_result()
3613
    result.read(self._iprot)
3614
    self._iprot.readMessageEnd()
3615
    if result.success is not None:
3616
      return result.success
3617
    if result.cex is not None:
3618
      raise result.cex
3619
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemPricingBySource failed: unknown result");
3620
 
3621
  def addSourceItemPricing(self, sourceItemPricing):
3622
    """
3623
    Adds prices to be displayed corresponding to the item if user comes from a source.
3624
    If item is not found or source is not found, it will throw exception.
3625
 
3626
    Parameters:
3627
     - sourceItemPricing
3628
    """
3629
    self.send_addSourceItemPricing(sourceItemPricing)
3630
    self.recv_addSourceItemPricing()
3631
 
3632
  def send_addSourceItemPricing(self, sourceItemPricing):
3633
    self._oprot.writeMessageBegin('addSourceItemPricing', TMessageType.CALL, self._seqid)
3634
    args = addSourceItemPricing_args()
3635
    args.sourceItemPricing = sourceItemPricing
3636
    args.write(self._oprot)
3637
    self._oprot.writeMessageEnd()
3638
    self._oprot.trans.flush()
3639
 
3640
  def recv_addSourceItemPricing(self, ):
3641
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3642
    if mtype == TMessageType.EXCEPTION:
3643
      x = TApplicationException()
3644
      x.read(self._iprot)
3645
      self._iprot.readMessageEnd()
3646
      raise x
3647
    result = addSourceItemPricing_result()
3648
    result.read(self._iprot)
3649
    self._iprot.readMessageEnd()
3650
    if result.cex is not None:
3651
      raise result.cex
3652
    return
3653
 
3654
  def getAllSourcePricing(self, itemId):
3655
    """
3656
    Returns the list of source pricing information of an item.
3657
    Raises an exception if item not found corresponding to itemId
3658
 
3659
    Parameters:
3660
     - itemId
3661
    """
3662
    self.send_getAllSourcePricing(itemId)
3663
    return self.recv_getAllSourcePricing()
3664
 
3665
  def send_getAllSourcePricing(self, itemId):
3666
    self._oprot.writeMessageBegin('getAllSourcePricing', TMessageType.CALL, self._seqid)
3667
    args = getAllSourcePricing_args()
3668
    args.itemId = itemId
3669
    args.write(self._oprot)
3670
    self._oprot.writeMessageEnd()
3671
    self._oprot.trans.flush()
3672
 
3673
  def recv_getAllSourcePricing(self, ):
3674
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3675
    if mtype == TMessageType.EXCEPTION:
3676
      x = TApplicationException()
3677
      x.read(self._iprot)
3678
      self._iprot.readMessageEnd()
3679
      raise x
3680
    result = getAllSourcePricing_result()
3681
    result.read(self._iprot)
3682
    self._iprot.readMessageEnd()
3683
    if result.success is not None:
3684
      return result.success
3685
    if result.cex is not None:
3686
      raise result.cex
3687
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSourcePricing failed: unknown result");
3688
 
3689
  def getItemForSource(self, item_id, sourceId):
3690
    """
3691
    Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
3692
 
3693
    Parameters:
3694
     - item_id
3695
     - sourceId
3696
    """
3697
    self.send_getItemForSource(item_id, sourceId)
3698
    return self.recv_getItemForSource()
3699
 
3700
  def send_getItemForSource(self, item_id, sourceId):
3701
    self._oprot.writeMessageBegin('getItemForSource', TMessageType.CALL, self._seqid)
3702
    args = getItemForSource_args()
3703
    args.item_id = item_id
3704
    args.sourceId = sourceId
3705
    args.write(self._oprot)
3706
    self._oprot.writeMessageEnd()
3707
    self._oprot.trans.flush()
3708
 
3709
  def recv_getItemForSource(self, ):
3710
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3711
    if mtype == TMessageType.EXCEPTION:
3712
      x = TApplicationException()
3713
      x.read(self._iprot)
3714
      self._iprot.readMessageEnd()
3715
      raise x
3716
    result = getItemForSource_result()
3717
    result.read(self._iprot)
3718
    self._iprot.readMessageEnd()
3719
    if result.success is not None:
3720
      return result.success
3721
    if result.cex is not None:
3722
      raise result.cex
3723
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemForSource failed: unknown result");
3724
 
3725
  def searchItemsInRange(self, searchTerms, offset, limit):
3726
    """
3727
    Searches items matching the the given terms in the catalog and returns results within the specified range.
3728
 
3729
    Parameters:
3730
     - searchTerms
3731
     - offset
3732
     - limit
3733
    """
3734
    self.send_searchItemsInRange(searchTerms, offset, limit)
3735
    return self.recv_searchItemsInRange()
3736
 
3737
  def send_searchItemsInRange(self, searchTerms, offset, limit):
3738
    self._oprot.writeMessageBegin('searchItemsInRange', TMessageType.CALL, self._seqid)
3739
    args = searchItemsInRange_args()
3740
    args.searchTerms = searchTerms
3741
    args.offset = offset
3742
    args.limit = limit
3743
    args.write(self._oprot)
3744
    self._oprot.writeMessageEnd()
3745
    self._oprot.trans.flush()
3746
 
3747
  def recv_searchItemsInRange(self, ):
3748
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3749
    if mtype == TMessageType.EXCEPTION:
3750
      x = TApplicationException()
3751
      x.read(self._iprot)
3752
      self._iprot.readMessageEnd()
3753
      raise x
3754
    result = searchItemsInRange_result()
3755
    result.read(self._iprot)
3756
    self._iprot.readMessageEnd()
3757
    if result.success is not None:
3758
      return result.success
3759
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchItemsInRange failed: unknown result");
3760
 
3761
  def getSearchResultCount(self, searchTerms):
3762
    """
3763
    Gets the count of search results for the given search terms so that the user can go through all the pages.
3764
 
3765
    Parameters:
3766
     - searchTerms
3767
    """
3768
    self.send_getSearchResultCount(searchTerms)
3769
    return self.recv_getSearchResultCount()
3770
 
3771
  def send_getSearchResultCount(self, searchTerms):
3772
    self._oprot.writeMessageBegin('getSearchResultCount', TMessageType.CALL, self._seqid)
3773
    args = getSearchResultCount_args()
3774
    args.searchTerms = searchTerms
3775
    args.write(self._oprot)
3776
    self._oprot.writeMessageEnd()
3777
    self._oprot.trans.flush()
3778
 
3779
  def recv_getSearchResultCount(self, ):
3780
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3781
    if mtype == TMessageType.EXCEPTION:
3782
      x = TApplicationException()
3783
      x.read(self._iprot)
3784
      self._iprot.readMessageEnd()
3785
      raise x
3786
    result = getSearchResultCount_result()
3787
    result.read(self._iprot)
3788
    self._iprot.readMessageEnd()
3789
    if result.success is not None:
3790
      return result.success
3791
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSearchResultCount failed: unknown result");
3792
 
3793
  def getProductNotifications(self, startDateTime):
3794
    """
3795
    Returns a list of product notifications added after a supplied datetime
3796
 
3797
    Parameters:
3798
     - startDateTime
3799
    """
3800
    self.send_getProductNotifications(startDateTime)
3801
    return self.recv_getProductNotifications()
3802
 
3803
  def send_getProductNotifications(self, startDateTime):
3804
    self._oprot.writeMessageBegin('getProductNotifications', TMessageType.CALL, self._seqid)
3805
    args = getProductNotifications_args()
3806
    args.startDateTime = startDateTime
3807
    args.write(self._oprot)
3808
    self._oprot.writeMessageEnd()
3809
    self._oprot.trans.flush()
3810
 
3811
  def recv_getProductNotifications(self, ):
3812
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3813
    if mtype == TMessageType.EXCEPTION:
3814
      x = TApplicationException()
3815
      x.read(self._iprot)
3816
      self._iprot.readMessageEnd()
3817
      raise x
3818
    result = getProductNotifications_result()
3819
    result.read(self._iprot)
3820
    self._iprot.readMessageEnd()
3821
    if result.success is not None:
3822
      return result.success
3823
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotifications failed: unknown result");
3824
 
7897 amar.kumar 3825
  def getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3826
    """
3827
    Returns a list of count of requests for product notification against each item
3828
 
3829
    Parameters:
3830
     - startDateTime
7897 amar.kumar 3831
     - categoryId
5944 mandeep.dh 3832
    """
7897 amar.kumar 3833
    self.send_getProductNotificationRequestCount(startDateTime, categoryId)
5944 mandeep.dh 3834
    return self.recv_getProductNotificationRequestCount()
3835
 
7897 amar.kumar 3836
  def send_getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3837
    self._oprot.writeMessageBegin('getProductNotificationRequestCount', TMessageType.CALL, self._seqid)
3838
    args = getProductNotificationRequestCount_args()
3839
    args.startDateTime = startDateTime
7897 amar.kumar 3840
    args.categoryId = categoryId
5944 mandeep.dh 3841
    args.write(self._oprot)
3842
    self._oprot.writeMessageEnd()
3843
    self._oprot.trans.flush()
3844
 
3845
  def recv_getProductNotificationRequestCount(self, ):
3846
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3847
    if mtype == TMessageType.EXCEPTION:
3848
      x = TApplicationException()
3849
      x.read(self._iprot)
3850
      self._iprot.readMessageEnd()
3851
      raise x
3852
    result = getProductNotificationRequestCount_result()
3853
    result.read(self._iprot)
3854
    self._iprot.readMessageEnd()
3855
    if result.success is not None:
3856
      return result.success
3857
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotificationRequestCount failed: unknown result");
3858
 
3859
  def addAuthorizationLog(self, itemId, username, reason):
3860
    """
3861
    This method adds a log to authorize table with Item Id, username who authorized the change, reason.
3862
 
3863
    Parameters:
3864
     - itemId
3865
     - username
3866
     - reason
3867
    """
3868
    self.send_addAuthorizationLog(itemId, username, reason)
3869
    return self.recv_addAuthorizationLog()
3870
 
3871
  def send_addAuthorizationLog(self, itemId, username, reason):
3872
    self._oprot.writeMessageBegin('addAuthorizationLog', TMessageType.CALL, self._seqid)
3873
    args = addAuthorizationLog_args()
3874
    args.itemId = itemId
3875
    args.username = username
3876
    args.reason = reason
3877
    args.write(self._oprot)
3878
    self._oprot.writeMessageEnd()
3879
    self._oprot.trans.flush()
3880
 
3881
  def recv_addAuthorizationLog(self, ):
3882
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3883
    if mtype == TMessageType.EXCEPTION:
3884
      x = TApplicationException()
3885
      x.read(self._iprot)
3886
      self._iprot.readMessageEnd()
3887
      raise x
3888
    result = addAuthorizationLog_result()
3889
    result.read(self._iprot)
3890
    self._iprot.readMessageEnd()
3891
    if result.success is not None:
3892
      return result.success
3893
    if result.cex is not None:
3894
      raise result.cex
3895
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAuthorizationLog failed: unknown result");
3896
 
3897
  def addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3898
    """
3899
    Parameters:
3900
     - catalog_item_id
3901
     - voucherType
3902
     - voucherAmount
3903
    """
3904
    self.send_addupdateVoucherForItem(catalog_item_id, voucherType, voucherAmount)
3905
    return self.recv_addupdateVoucherForItem()
3906
 
3907
  def send_addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3908
    self._oprot.writeMessageBegin('addupdateVoucherForItem', TMessageType.CALL, self._seqid)
3909
    args = addupdateVoucherForItem_args()
3910
    args.catalog_item_id = catalog_item_id
3911
    args.voucherType = voucherType
3912
    args.voucherAmount = voucherAmount
3913
    args.write(self._oprot)
3914
    self._oprot.writeMessageEnd()
3915
    self._oprot.trans.flush()
3916
 
3917
  def recv_addupdateVoucherForItem(self, ):
3918
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3919
    if mtype == TMessageType.EXCEPTION:
3920
      x = TApplicationException()
3921
      x.read(self._iprot)
3922
      self._iprot.readMessageEnd()
3923
      raise x
3924
    result = addupdateVoucherForItem_result()
3925
    result.read(self._iprot)
3926
    self._iprot.readMessageEnd()
3927
    if result.success is not None:
3928
      return result.success
3929
    if result.cex is not None:
3930
      raise result.cex
3931
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addupdateVoucherForItem failed: unknown result");
3932
 
3933
  def deleteVoucherForItem(self, catalog_item_id, voucherType):
3934
    """
3935
    Parameters:
3936
     - catalog_item_id
3937
     - voucherType
3938
    """
3939
    self.send_deleteVoucherForItem(catalog_item_id, voucherType)
3940
    return self.recv_deleteVoucherForItem()
3941
 
3942
  def send_deleteVoucherForItem(self, catalog_item_id, voucherType):
3943
    self._oprot.writeMessageBegin('deleteVoucherForItem', TMessageType.CALL, self._seqid)
3944
    args = deleteVoucherForItem_args()
3945
    args.catalog_item_id = catalog_item_id
3946
    args.voucherType = voucherType
3947
    args.write(self._oprot)
3948
    self._oprot.writeMessageEnd()
3949
    self._oprot.trans.flush()
3950
 
3951
  def recv_deleteVoucherForItem(self, ):
3952
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3953
    if mtype == TMessageType.EXCEPTION:
3954
      x = TApplicationException()
3955
      x.read(self._iprot)
3956
      self._iprot.readMessageEnd()
3957
      raise x
3958
    result = deleteVoucherForItem_result()
3959
    result.read(self._iprot)
3960
    self._iprot.readMessageEnd()
3961
    if result.success is not None:
3962
      return result.success
3963
    if result.cex is not None:
3964
      raise result.cex
3965
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteVoucherForItem failed: unknown result");
3966
 
3967
  def getVoucherAmount(self, itemId, voucherType):
3968
    """
3969
    Parameters:
3970
     - itemId
3971
     - voucherType
3972
    """
3973
    self.send_getVoucherAmount(itemId, voucherType)
3974
    return self.recv_getVoucherAmount()
3975
 
3976
  def send_getVoucherAmount(self, itemId, voucherType):
3977
    self._oprot.writeMessageBegin('getVoucherAmount', TMessageType.CALL, self._seqid)
3978
    args = getVoucherAmount_args()
3979
    args.itemId = itemId
3980
    args.voucherType = voucherType
3981
    args.write(self._oprot)
3982
    self._oprot.writeMessageEnd()
3983
    self._oprot.trans.flush()
3984
 
3985
  def recv_getVoucherAmount(self, ):
3986
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3987
    if mtype == TMessageType.EXCEPTION:
3988
      x = TApplicationException()
3989
      x.read(self._iprot)
3990
      self._iprot.readMessageEnd()
3991
      raise x
3992
    result = getVoucherAmount_result()
3993
    result.read(self._iprot)
3994
    self._iprot.readMessageEnd()
3995
    if result.success is not None:
3996
      return result.success
3997
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVoucherAmount failed: unknown result");
3998
 
3999
  def getAllItemVouchers(self, itemId):
4000
    """
4001
    Parameters:
4002
     - itemId
4003
    """
4004
    self.send_getAllItemVouchers(itemId)
4005
    return self.recv_getAllItemVouchers()
4006
 
4007
  def send_getAllItemVouchers(self, itemId):
4008
    self._oprot.writeMessageBegin('getAllItemVouchers', TMessageType.CALL, self._seqid)
4009
    args = getAllItemVouchers_args()
4010
    args.itemId = itemId
4011
    args.write(self._oprot)
4012
    self._oprot.writeMessageEnd()
4013
    self._oprot.trans.flush()
4014
 
4015
  def recv_getAllItemVouchers(self, ):
4016
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4017
    if mtype == TMessageType.EXCEPTION:
4018
      x = TApplicationException()
4019
      x.read(self._iprot)
4020
      self._iprot.readMessageEnd()
4021
      raise x
4022
    result = getAllItemVouchers_result()
4023
    result.read(self._iprot)
4024
    self._iprot.readMessageEnd()
4025
    if result.success is not None:
4026
      return result.success
4027
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemVouchers failed: unknown result");
4028
 
4029
  def isValidCatalogItemId(self, catalog_item_id):
4030
    """
4031
    Parameters:
4032
     - catalog_item_id
4033
    """
4034
    self.send_isValidCatalogItemId(catalog_item_id)
4035
    return self.recv_isValidCatalogItemId()
4036
 
4037
  def send_isValidCatalogItemId(self, catalog_item_id):
4038
    self._oprot.writeMessageBegin('isValidCatalogItemId', TMessageType.CALL, self._seqid)
4039
    args = isValidCatalogItemId_args()
4040
    args.catalog_item_id = catalog_item_id
4041
    args.write(self._oprot)
4042
    self._oprot.writeMessageEnd()
4043
    self._oprot.trans.flush()
4044
 
4045
  def recv_isValidCatalogItemId(self, ):
4046
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4047
    if mtype == TMessageType.EXCEPTION:
4048
      x = TApplicationException()
4049
      x.read(self._iprot)
4050
      self._iprot.readMessageEnd()
4051
      raise x
4052
    result = isValidCatalogItemId_result()
4053
    result.read(self._iprot)
4054
    self._iprot.readMessageEnd()
4055
    if result.success is not None:
4056
      return result.success
4057
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isValidCatalogItemId failed: unknown result");
4058
 
7330 amit.gupta 4059
  def getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 4060
    """
4061
    Parameters:
4062
     - itemId
7330 amit.gupta 4063
     - stateId
6039 amit.gupta 4064
     - price
4065
    """
7330 amit.gupta 4066
    self.send_getVatPercentageForItem(itemId, stateId, price)
6039 amit.gupta 4067
    return self.recv_getVatPercentageForItem()
5944 mandeep.dh 4068
 
7330 amit.gupta 4069
  def send_getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 4070
    self._oprot.writeMessageBegin('getVatPercentageForItem', TMessageType.CALL, self._seqid)
4071
    args = getVatPercentageForItem_args()
4072
    args.itemId = itemId
7330 amit.gupta 4073
    args.stateId = stateId
6039 amit.gupta 4074
    args.price = price
4075
    args.write(self._oprot)
4076
    self._oprot.writeMessageEnd()
4077
    self._oprot.trans.flush()
4078
 
4079
  def recv_getVatPercentageForItem(self, ):
4080
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4081
    if mtype == TMessageType.EXCEPTION:
4082
      x = TApplicationException()
4083
      x.read(self._iprot)
4084
      self._iprot.readMessageEnd()
4085
      raise x
4086
    result = getVatPercentageForItem_result()
4087
    result.read(self._iprot)
4088
    self._iprot.readMessageEnd()
4089
    if result.success is not None:
4090
      return result.success
7340 amit.gupta 4091
    if result.cex is not None:
4092
      raise result.cex
6039 amit.gupta 4093
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatPercentageForItem failed: unknown result");
4094
 
4095
  def getVatAmountForItem(self, itemId, price):
4096
    """
4097
    Parameters:
4098
     - itemId
4099
     - price
4100
    """
4101
    self.send_getVatAmountForItem(itemId, price)
4102
    return self.recv_getVatAmountForItem()
4103
 
4104
  def send_getVatAmountForItem(self, itemId, price):
4105
    self._oprot.writeMessageBegin('getVatAmountForItem', TMessageType.CALL, self._seqid)
4106
    args = getVatAmountForItem_args()
4107
    args.itemId = itemId
4108
    args.price = price
4109
    args.write(self._oprot)
4110
    self._oprot.writeMessageEnd()
4111
    self._oprot.trans.flush()
4112
 
4113
  def recv_getVatAmountForItem(self, ):
4114
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4115
    if mtype == TMessageType.EXCEPTION:
4116
      x = TApplicationException()
4117
      x.read(self._iprot)
4118
      self._iprot.readMessageEnd()
4119
      raise x
4120
    result = getVatAmountForItem_result()
4121
    result.read(self._iprot)
4122
    self._iprot.readMessageEnd()
4123
    if result.success is not None:
4124
      return result.success
4125
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatAmountForItem failed: unknown result");
4126
 
6531 vikram.rag 4127
  def getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4128
    """
4129
    Parameters:
4130
     - offset
4131
     - limit
4132
    """
4133
    self.send_getAllIgnoredInventoryUpdateItemsList(offset, limit)
4134
    return self.recv_getAllIgnoredInventoryUpdateItemsList()
6039 amit.gupta 4135
 
6531 vikram.rag 4136
  def send_getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4137
    self._oprot.writeMessageBegin('getAllIgnoredInventoryUpdateItemsList', TMessageType.CALL, self._seqid)
4138
    args = getAllIgnoredInventoryUpdateItemsList_args()
4139
    args.offset = offset
4140
    args.limit = limit
4141
    args.write(self._oprot)
4142
    self._oprot.writeMessageEnd()
4143
    self._oprot.trans.flush()
4144
 
4145
  def recv_getAllIgnoredInventoryUpdateItemsList(self, ):
4146
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4147
    if mtype == TMessageType.EXCEPTION:
4148
      x = TApplicationException()
4149
      x.read(self._iprot)
4150
      self._iprot.readMessageEnd()
4151
      raise x
4152
    result = getAllIgnoredInventoryUpdateItemsList_result()
4153
    result.read(self._iprot)
4154
    self._iprot.readMessageEnd()
4155
    if result.success is not None:
4156
      return result.success
4157
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllIgnoredInventoryUpdateItemsList failed: unknown result");
4158
 
6821 amar.kumar 4159
  def getAllAliveItems(self, ):
4160
    self.send_getAllAliveItems()
4161
    return self.recv_getAllAliveItems()
4162
 
4163
  def send_getAllAliveItems(self, ):
4164
    self._oprot.writeMessageBegin('getAllAliveItems', TMessageType.CALL, self._seqid)
4165
    args = getAllAliveItems_args()
4166
    args.write(self._oprot)
4167
    self._oprot.writeMessageEnd()
4168
    self._oprot.trans.flush()
4169
 
4170
  def recv_getAllAliveItems(self, ):
4171
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4172
    if mtype == TMessageType.EXCEPTION:
4173
      x = TApplicationException()
4174
      x.read(self._iprot)
4175
      self._iprot.readMessageEnd()
4176
      raise x
4177
    result = getAllAliveItems_result()
4178
    result.read(self._iprot)
4179
    self._iprot.readMessageEnd()
4180
    if result.success is not None:
4181
      return result.success
4182
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAliveItems failed: unknown result");
4183
 
6921 anupam.sin 4184
  def getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4185
    """
4186
    This method returns the insurance amount needed to insure the given item for a given quantity.
6531 vikram.rag 4187
 
6805 anupam.sin 4188
    Parameters:
4189
     - itemId
6921 anupam.sin 4190
     - price
6805 anupam.sin 4191
     - insurerId
4192
     - quantity
4193
    """
6921 anupam.sin 4194
    self.send_getInsuranceAmount(itemId, price, insurerId, quantity)
6805 anupam.sin 4195
    return self.recv_getInsuranceAmount()
4196
 
6921 anupam.sin 4197
  def send_getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4198
    self._oprot.writeMessageBegin('getInsuranceAmount', TMessageType.CALL, self._seqid)
4199
    args = getInsuranceAmount_args()
4200
    args.itemId = itemId
6921 anupam.sin 4201
    args.price = price
6805 anupam.sin 4202
    args.insurerId = insurerId
4203
    args.quantity = quantity
4204
    args.write(self._oprot)
4205
    self._oprot.writeMessageEnd()
4206
    self._oprot.trans.flush()
4207
 
4208
  def recv_getInsuranceAmount(self, ):
4209
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4210
    if mtype == TMessageType.EXCEPTION:
4211
      x = TApplicationException()
4212
      x.read(self._iprot)
4213
      self._iprot.readMessageEnd()
4214
      raise x
4215
    result = getInsuranceAmount_result()
4216
    result.read(self._iprot)
4217
    self._iprot.readMessageEnd()
4218
    if result.success is not None:
4219
      return result.success
4220
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsuranceAmount failed: unknown result");
4221
 
4222
  def getInsurer(self, insurerId):
4223
    """
4224
    Parameters:
4225
     - insurerId
4226
    """
4227
    self.send_getInsurer(insurerId)
4228
    return self.recv_getInsurer()
4229
 
4230
  def send_getInsurer(self, insurerId):
4231
    self._oprot.writeMessageBegin('getInsurer', TMessageType.CALL, self._seqid)
4232
    args = getInsurer_args()
4233
    args.insurerId = insurerId
4234
    args.write(self._oprot)
4235
    self._oprot.writeMessageEnd()
4236
    self._oprot.trans.flush()
4237
 
4238
  def recv_getInsurer(self, ):
4239
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4240
    if mtype == TMessageType.EXCEPTION:
4241
      x = TApplicationException()
4242
      x.read(self._iprot)
4243
      self._iprot.readMessageEnd()
4244
      raise x
4245
    result = getInsurer_result()
4246
    result.read(self._iprot)
4247
    self._iprot.readMessageEnd()
4248
    if result.success is not None:
4249
      return result.success
4250
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsurer failed: unknown result");
4251
 
6838 vikram.rag 4252
  def getAllInsurers(self, ):
4253
    self.send_getAllInsurers()
4254
    return self.recv_getAllInsurers()
6805 anupam.sin 4255
 
6838 vikram.rag 4256
  def send_getAllInsurers(self, ):
4257
    self._oprot.writeMessageBegin('getAllInsurers', TMessageType.CALL, self._seqid)
4258
    args = getAllInsurers_args()
4259
    args.write(self._oprot)
4260
    self._oprot.writeMessageEnd()
4261
    self._oprot.trans.flush()
4262
 
4263
  def recv_getAllInsurers(self, ):
4264
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4265
    if mtype == TMessageType.EXCEPTION:
4266
      x = TApplicationException()
4267
      x.read(self._iprot)
4268
      self._iprot.readMessageEnd()
4269
      raise x
4270
    result = getAllInsurers_result()
4271
    result.read(self._iprot)
4272
    self._iprot.readMessageEnd()
4273
    if result.success is not None:
4274
      return result.success
4275
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllInsurers failed: unknown result");
4276
 
6962 rajveer 4277
  def updateInsuranceDeclaredAmount(self, insurerId, amount):
4278
    """
4279
    Parameters:
4280
     - insurerId
4281
     - amount
4282
    """
4283
    self.send_updateInsuranceDeclaredAmount(insurerId, amount)
4284
    self.recv_updateInsuranceDeclaredAmount()
6838 vikram.rag 4285
 
6962 rajveer 4286
  def send_updateInsuranceDeclaredAmount(self, insurerId, amount):
4287
    self._oprot.writeMessageBegin('updateInsuranceDeclaredAmount', TMessageType.CALL, self._seqid)
4288
    args = updateInsuranceDeclaredAmount_args()
4289
    args.insurerId = insurerId
4290
    args.amount = amount
4291
    args.write(self._oprot)
4292
    self._oprot.writeMessageEnd()
4293
    self._oprot.trans.flush()
4294
 
4295
  def recv_updateInsuranceDeclaredAmount(self, ):
4296
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4297
    if mtype == TMessageType.EXCEPTION:
4298
      x = TApplicationException()
4299
      x.read(self._iprot)
4300
      self._iprot.readMessageEnd()
4301
      raise x
4302
    result = updateInsuranceDeclaredAmount_result()
4303
    result.read(self._iprot)
4304
    self._iprot.readMessageEnd()
4305
    return
4306
 
7190 amar.kumar 4307
  def getFreebieForItem(self, itemId):
4308
    """
4309
    Parameters:
4310
     - itemId
4311
    """
4312
    self.send_getFreebieForItem(itemId)
4313
    return self.recv_getFreebieForItem()
6962 rajveer 4314
 
7190 amar.kumar 4315
  def send_getFreebieForItem(self, itemId):
4316
    self._oprot.writeMessageBegin('getFreebieForItem', TMessageType.CALL, self._seqid)
4317
    args = getFreebieForItem_args()
4318
    args.itemId = itemId
4319
    args.write(self._oprot)
4320
    self._oprot.writeMessageEnd()
4321
    self._oprot.trans.flush()
4322
 
4323
  def recv_getFreebieForItem(self, ):
4324
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4325
    if mtype == TMessageType.EXCEPTION:
4326
      x = TApplicationException()
4327
      x.read(self._iprot)
4328
      self._iprot.readMessageEnd()
4329
      raise x
4330
    result = getFreebieForItem_result()
4331
    result.read(self._iprot)
4332
    self._iprot.readMessageEnd()
4333
    if result.success is not None:
4334
      return result.success
4335
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFreebieForItem failed: unknown result");
4336
 
4337
  def addOrUpdateFreebieForItem(self, freebieItem):
4338
    """
4339
    Parameters:
4340
     - freebieItem
4341
    """
4342
    self.send_addOrUpdateFreebieForItem(freebieItem)
4343
    self.recv_addOrUpdateFreebieForItem()
4344
 
4345
  def send_addOrUpdateFreebieForItem(self, freebieItem):
4346
    self._oprot.writeMessageBegin('addOrUpdateFreebieForItem', TMessageType.CALL, self._seqid)
4347
    args = addOrUpdateFreebieForItem_args()
4348
    args.freebieItem = freebieItem
4349
    args.write(self._oprot)
4350
    self._oprot.writeMessageEnd()
4351
    self._oprot.trans.flush()
4352
 
4353
  def recv_addOrUpdateFreebieForItem(self, ):
4354
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4355
    if mtype == TMessageType.EXCEPTION:
4356
      x = TApplicationException()
4357
      x.read(self._iprot)
4358
      self._iprot.readMessageEnd()
4359
      raise x
4360
    result = addOrUpdateFreebieForItem_result()
4361
    result.read(self._iprot)
4362
    self._iprot.readMessageEnd()
4363
    return
4364
 
7272 amit.gupta 4365
  def addOrUpdateBrandInfo(self, brandInfo):
4366
    """
4367
    Parameters:
4368
     - brandInfo
4369
    """
4370
    self.send_addOrUpdateBrandInfo(brandInfo)
4371
    self.recv_addOrUpdateBrandInfo()
4372
 
4373
  def send_addOrUpdateBrandInfo(self, brandInfo):
4374
    self._oprot.writeMessageBegin('addOrUpdateBrandInfo', TMessageType.CALL, self._seqid)
4375
    args = addOrUpdateBrandInfo_args()
4376
    args.brandInfo = brandInfo
4377
    args.write(self._oprot)
4378
    self._oprot.writeMessageEnd()
4379
    self._oprot.trans.flush()
4380
 
4381
  def recv_addOrUpdateBrandInfo(self, ):
4382
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4383
    if mtype == TMessageType.EXCEPTION:
4384
      x = TApplicationException()
4385
      x.read(self._iprot)
4386
      self._iprot.readMessageEnd()
4387
      raise x
4388
    result = addOrUpdateBrandInfo_result()
4389
    result.read(self._iprot)
4390
    self._iprot.readMessageEnd()
4391
    return
4392
 
4393
  def getBrandInfo(self, ):
4394
    self.send_getBrandInfo()
4395
    return self.recv_getBrandInfo()
4396
 
4397
  def send_getBrandInfo(self, ):
4398
    self._oprot.writeMessageBegin('getBrandInfo', TMessageType.CALL, self._seqid)
4399
    args = getBrandInfo_args()
4400
    args.write(self._oprot)
4401
    self._oprot.writeMessageEnd()
4402
    self._oprot.trans.flush()
4403
 
4404
  def recv_getBrandInfo(self, ):
4405
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4406
    if mtype == TMessageType.EXCEPTION:
4407
      x = TApplicationException()
4408
      x.read(self._iprot)
4409
      self._iprot.readMessageEnd()
4410
      raise x
4411
    result = getBrandInfo_result()
4412
    result.read(self._iprot)
4413
    self._iprot.readMessageEnd()
4414
    if result.success is not None:
4415
      return result.success
4416
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBrandInfo failed: unknown result");
4417
 
7256 rajveer 4418
  def getStorePricing(self, itemId):
4419
    """
4420
    Parameters:
4421
     - itemId
4422
    """
4423
    self.send_getStorePricing(itemId)
4424
    return self.recv_getStorePricing()
7190 amar.kumar 4425
 
7256 rajveer 4426
  def send_getStorePricing(self, itemId):
4427
    self._oprot.writeMessageBegin('getStorePricing', TMessageType.CALL, self._seqid)
4428
    args = getStorePricing_args()
4429
    args.itemId = itemId
4430
    args.write(self._oprot)
4431
    self._oprot.writeMessageEnd()
4432
    self._oprot.trans.flush()
4433
 
4434
  def recv_getStorePricing(self, ):
4435
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4436
    if mtype == TMessageType.EXCEPTION:
4437
      x = TApplicationException()
4438
      x.read(self._iprot)
4439
      self._iprot.readMessageEnd()
4440
      raise x
4441
    result = getStorePricing_result()
4442
    result.read(self._iprot)
4443
    self._iprot.readMessageEnd()
4444
    if result.success is not None:
4445
      return result.success
4446
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricing failed: unknown result");
4447
 
7306 rajveer 4448
  def getStorePricings(self, itemIds):
4449
    """
4450
    Parameters:
4451
     - itemIds
4452
    """
4453
    self.send_getStorePricings(itemIds)
4454
    return self.recv_getStorePricings()
4455
 
4456
  def send_getStorePricings(self, itemIds):
4457
    self._oprot.writeMessageBegin('getStorePricings', TMessageType.CALL, self._seqid)
4458
    args = getStorePricings_args()
4459
    args.itemIds = itemIds
4460
    args.write(self._oprot)
4461
    self._oprot.writeMessageEnd()
4462
    self._oprot.trans.flush()
4463
 
4464
  def recv_getStorePricings(self, ):
4465
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4466
    if mtype == TMessageType.EXCEPTION:
4467
      x = TApplicationException()
4468
      x.read(self._iprot)
4469
      self._iprot.readMessageEnd()
4470
      raise x
4471
    result = getStorePricings_result()
4472
    result.read(self._iprot)
4473
    self._iprot.readMessageEnd()
4474
    if result.success is not None:
4475
      return result.success
4476
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricings failed: unknown result");
4477
 
7382 rajveer 4478
  def updateStorePricing(self, sp, allColors):
7265 rajveer 4479
    """
4480
    Parameters:
4481
     - sp
7382 rajveer 4482
     - allColors
7265 rajveer 4483
    """
7382 rajveer 4484
    self.send_updateStorePricing(sp, allColors)
7265 rajveer 4485
    self.recv_updateStorePricing()
7256 rajveer 4486
 
7382 rajveer 4487
  def send_updateStorePricing(self, sp, allColors):
7265 rajveer 4488
    self._oprot.writeMessageBegin('updateStorePricing', TMessageType.CALL, self._seqid)
4489
    args = updateStorePricing_args()
4490
    args.sp = sp
7382 rajveer 4491
    args.allColors = allColors
7265 rajveer 4492
    args.write(self._oprot)
4493
    self._oprot.writeMessageEnd()
4494
    self._oprot.trans.flush()
4495
 
4496
  def recv_updateStorePricing(self, ):
4497
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4498
    if mtype == TMessageType.EXCEPTION:
4499
      x = TApplicationException()
4500
      x.read(self._iprot)
4501
      self._iprot.readMessageEnd()
4502
      raise x
4503
    result = updateStorePricing_result()
4504
    result.read(self._iprot)
4505
    self._iprot.readMessageEnd()
4506
    return
4507
 
7281 kshitij.so 4508
  def getAllAmazonListedItems(self, ):
4509
    self.send_getAllAmazonListedItems()
4510
    return self.recv_getAllAmazonListedItems()
7265 rajveer 4511
 
7281 kshitij.so 4512
  def send_getAllAmazonListedItems(self, ):
4513
    self._oprot.writeMessageBegin('getAllAmazonListedItems', TMessageType.CALL, self._seqid)
4514
    args = getAllAmazonListedItems_args()
4515
    args.write(self._oprot)
4516
    self._oprot.writeMessageEnd()
4517
    self._oprot.trans.flush()
4518
 
4519
  def recv_getAllAmazonListedItems(self, ):
4520
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4521
    if mtype == TMessageType.EXCEPTION:
4522
      x = TApplicationException()
4523
      x.read(self._iprot)
4524
      self._iprot.readMessageEnd()
4525
      raise x
4526
    result = getAllAmazonListedItems_result()
4527
    result.read(self._iprot)
4528
    self._iprot.readMessageEnd()
4529
    if result.success is not None:
4530
      return result.success
4531
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAmazonListedItems failed: unknown result");
4532
 
8619 kshitij.so 4533
  def searchAmazonItems(self, searchTerm, offset, limit):
4534
    """
4535
    Parameters:
4536
     - searchTerm
4537
     - offset
4538
     - limit
4539
    """
4540
    self.send_searchAmazonItems(searchTerm, offset, limit)
4541
    return self.recv_searchAmazonItems()
4542
 
4543
  def send_searchAmazonItems(self, searchTerm, offset, limit):
4544
    self._oprot.writeMessageBegin('searchAmazonItems', TMessageType.CALL, self._seqid)
4545
    args = searchAmazonItems_args()
4546
    args.searchTerm = searchTerm
4547
    args.offset = offset
4548
    args.limit = limit
4549
    args.write(self._oprot)
4550
    self._oprot.writeMessageEnd()
4551
    self._oprot.trans.flush()
4552
 
4553
  def recv_searchAmazonItems(self, ):
4554
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4555
    if mtype == TMessageType.EXCEPTION:
4556
      x = TApplicationException()
4557
      x.read(self._iprot)
4558
      self._iprot.readMessageEnd()
4559
      raise x
4560
    result = searchAmazonItems_result()
4561
    result.read(self._iprot)
4562
    self._iprot.readMessageEnd()
4563
    if result.success is not None:
4564
      return result.success
4565
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchAmazonItems failed: unknown result");
4566
 
4567
  def getAmazonSearchResultCount(self, searchTerm):
4568
    """
4569
    Parameters:
4570
     - searchTerm
4571
    """
4572
    self.send_getAmazonSearchResultCount(searchTerm)
4573
    return self.recv_getAmazonSearchResultCount()
4574
 
4575
  def send_getAmazonSearchResultCount(self, searchTerm):
4576
    self._oprot.writeMessageBegin('getAmazonSearchResultCount', TMessageType.CALL, self._seqid)
4577
    args = getAmazonSearchResultCount_args()
4578
    args.searchTerm = searchTerm
4579
    args.write(self._oprot)
4580
    self._oprot.writeMessageEnd()
4581
    self._oprot.trans.flush()
4582
 
4583
  def recv_getAmazonSearchResultCount(self, ):
4584
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4585
    if mtype == TMessageType.EXCEPTION:
4586
      x = TApplicationException()
4587
      x.read(self._iprot)
4588
      self._iprot.readMessageEnd()
4589
      raise x
4590
    result = getAmazonSearchResultCount_result()
4591
    result.read(self._iprot)
4592
    self._iprot.readMessageEnd()
4593
    if result.success is not None:
4594
      return result.success
4595
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonSearchResultCount failed: unknown result");
4596
 
4597
  def getCountForAmazonlistedItems(self, ):
4598
    self.send_getCountForAmazonlistedItems()
4599
    return self.recv_getCountForAmazonlistedItems()
4600
 
4601
  def send_getCountForAmazonlistedItems(self, ):
4602
    self._oprot.writeMessageBegin('getCountForAmazonlistedItems', TMessageType.CALL, self._seqid)
4603
    args = getCountForAmazonlistedItems_args()
4604
    args.write(self._oprot)
4605
    self._oprot.writeMessageEnd()
4606
    self._oprot.trans.flush()
4607
 
4608
  def recv_getCountForAmazonlistedItems(self, ):
4609
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4610
    if mtype == TMessageType.EXCEPTION:
4611
      x = TApplicationException()
4612
      x.read(self._iprot)
4613
      self._iprot.readMessageEnd()
4614
      raise x
4615
    result = getCountForAmazonlistedItems_result()
4616
    result.read(self._iprot)
4617
    self._iprot.readMessageEnd()
4618
    if result.success is not None:
4619
      return result.success
4620
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForAmazonlistedItems failed: unknown result");
4621
 
7281 kshitij.so 4622
  def getAmazonItemDetails(self, itemId):
4623
    """
4624
    Parameters:
4625
     - itemId
4626
    """
4627
    self.send_getAmazonItemDetails(itemId)
4628
    return self.recv_getAmazonItemDetails()
4629
 
4630
  def send_getAmazonItemDetails(self, itemId):
4631
    self._oprot.writeMessageBegin('getAmazonItemDetails', TMessageType.CALL, self._seqid)
4632
    args = getAmazonItemDetails_args()
4633
    args.itemId = itemId
4634
    args.write(self._oprot)
4635
    self._oprot.writeMessageEnd()
4636
    self._oprot.trans.flush()
4637
 
4638
  def recv_getAmazonItemDetails(self, ):
4639
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4640
    if mtype == TMessageType.EXCEPTION:
4641
      x = TApplicationException()
4642
      x.read(self._iprot)
4643
      self._iprot.readMessageEnd()
4644
      raise x
4645
    result = getAmazonItemDetails_result()
4646
    result.read(self._iprot)
4647
    self._iprot.readMessageEnd()
4648
    if result.success is not None:
4649
      return result.success
4650
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonItemDetails failed: unknown result");
4651
 
8168 kshitij.so 4652
  def updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4653
    """
4654
    Parameters:
8168 kshitij.so 4655
     - amazonlisted
7281 kshitij.so 4656
    """
8168 kshitij.so 4657
    self.send_updateAmazonItemDetails(amazonlisted)
7281 kshitij.so 4658
    self.recv_updateAmazonItemDetails()
4659
 
8168 kshitij.so 4660
  def send_updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4661
    self._oprot.writeMessageBegin('updateAmazonItemDetails', TMessageType.CALL, self._seqid)
4662
    args = updateAmazonItemDetails_args()
8168 kshitij.so 4663
    args.amazonlisted = amazonlisted
7281 kshitij.so 4664
    args.write(self._oprot)
4665
    self._oprot.writeMessageEnd()
4666
    self._oprot.trans.flush()
4667
 
4668
  def recv_updateAmazonItemDetails(self, ):
4669
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4670
    if mtype == TMessageType.EXCEPTION:
4671
      x = TApplicationException()
4672
      x.read(self._iprot)
4673
      self._iprot.readMessageEnd()
4674
      raise x
4675
    result = updateAmazonItemDetails_result()
4676
    result.read(self._iprot)
4677
    self._iprot.readMessageEnd()
4678
    return
4679
 
4680
  def addAmazonItem(self, amazonlisted):
4681
    """
4682
    Parameters:
4683
     - amazonlisted
4684
    """
4685
    self.send_addAmazonItem(amazonlisted)
4686
    self.recv_addAmazonItem()
4687
 
4688
  def send_addAmazonItem(self, amazonlisted):
4689
    self._oprot.writeMessageBegin('addAmazonItem', TMessageType.CALL, self._seqid)
4690
    args = addAmazonItem_args()
4691
    args.amazonlisted = amazonlisted
4692
    args.write(self._oprot)
4693
    self._oprot.writeMessageEnd()
4694
    self._oprot.trans.flush()
4695
 
4696
  def recv_addAmazonItem(self, ):
4697
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4698
    if mtype == TMessageType.EXCEPTION:
4699
      x = TApplicationException()
4700
      x.read(self._iprot)
4701
      self._iprot.readMessageEnd()
4702
      raise x
4703
    result = addAmazonItem_result()
4704
    result.read(self._iprot)
4705
    self._iprot.readMessageEnd()
4706
    return
4707
 
7291 vikram.rag 4708
  def getAsinItems(self, ):
4709
    self.send_getAsinItems()
4710
    return self.recv_getAsinItems()
7281 kshitij.so 4711
 
7291 vikram.rag 4712
  def send_getAsinItems(self, ):
4713
    self._oprot.writeMessageBegin('getAsinItems', TMessageType.CALL, self._seqid)
4714
    args = getAsinItems_args()
4715
    args.write(self._oprot)
4716
    self._oprot.writeMessageEnd()
4717
    self._oprot.trans.flush()
4718
 
4719
  def recv_getAsinItems(self, ):
4720
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4721
    if mtype == TMessageType.EXCEPTION:
4722
      x = TApplicationException()
4723
      x.read(self._iprot)
4724
      self._iprot.readMessageEnd()
4725
      raise x
4726
    result = getAsinItems_result()
4727
    result.read(self._iprot)
4728
    self._iprot.readMessageEnd()
4729
    if result.success is not None:
4730
      return result.success
4731
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAsinItems failed: unknown result");
4732
 
4733
  def getAllFbaListedItems(self, ):
4734
    self.send_getAllFbaListedItems()
4735
    return self.recv_getAllFbaListedItems()
4736
 
4737
  def send_getAllFbaListedItems(self, ):
4738
    self._oprot.writeMessageBegin('getAllFbaListedItems', TMessageType.CALL, self._seqid)
4739
    args = getAllFbaListedItems_args()
4740
    args.write(self._oprot)
4741
    self._oprot.writeMessageEnd()
4742
    self._oprot.trans.flush()
4743
 
4744
  def recv_getAllFbaListedItems(self, ):
4745
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4746
    if mtype == TMessageType.EXCEPTION:
4747
      x = TApplicationException()
4748
      x.read(self._iprot)
4749
      self._iprot.readMessageEnd()
4750
      raise x
4751
    result = getAllFbaListedItems_result()
4752
    result.read(self._iprot)
4753
    self._iprot.readMessageEnd()
4754
    if result.success is not None:
4755
      return result.success
4756
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbaListedItems failed: unknown result");
4757
 
4758
  def getAllNonFbaListedItems(self, ):
4759
    self.send_getAllNonFbaListedItems()
4760
    return self.recv_getAllNonFbaListedItems()
4761
 
4762
  def send_getAllNonFbaListedItems(self, ):
4763
    self._oprot.writeMessageBegin('getAllNonFbaListedItems', TMessageType.CALL, self._seqid)
4764
    args = getAllNonFbaListedItems_args()
4765
    args.write(self._oprot)
4766
    self._oprot.writeMessageEnd()
4767
    self._oprot.trans.flush()
4768
 
4769
  def recv_getAllNonFbaListedItems(self, ):
4770
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4771
    if mtype == TMessageType.EXCEPTION:
4772
      x = TApplicationException()
4773
      x.read(self._iprot)
4774
      self._iprot.readMessageEnd()
4775
      raise x
4776
    result = getAllNonFbaListedItems_result()
4777
    result.read(self._iprot)
4778
    self._iprot.readMessageEnd()
4779
    if result.success is not None:
4780
      return result.success
4781
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllNonFbaListedItems failed: unknown result");
4782
 
7460 kshitij.so 4783
  def updateItemInventory(self, itemId, holdInventory, defaultInventory):
4784
    """
4785
    Parameters:
4786
     - itemId
4787
     - holdInventory
4788
     - defaultInventory
4789
    """
4790
    self.send_updateItemInventory(itemId, holdInventory, defaultInventory)
4791
    return self.recv_updateItemInventory()
7291 vikram.rag 4792
 
7460 kshitij.so 4793
  def send_updateItemInventory(self, itemId, holdInventory, defaultInventory):
4794
    self._oprot.writeMessageBegin('updateItemInventory', TMessageType.CALL, self._seqid)
4795
    args = updateItemInventory_args()
4796
    args.itemId = itemId
4797
    args.holdInventory = holdInventory
4798
    args.defaultInventory = defaultInventory
4799
    args.write(self._oprot)
4800
    self._oprot.writeMessageEnd()
4801
    self._oprot.trans.flush()
4802
 
4803
  def recv_updateItemInventory(self, ):
4804
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4805
    if mtype == TMessageType.EXCEPTION:
4806
      x = TApplicationException()
4807
      x.read(self._iprot)
4808
      self._iprot.readMessageEnd()
4809
      raise x
4810
    result = updateItemInventory_result()
4811
    result.read(self._iprot)
4812
    self._iprot.readMessageEnd()
4813
    if result.success is not None:
4814
      return result.success
4815
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemInventory failed: unknown result");
4816
 
7770 kshitij.so 4817
  def updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4818
    """
4819
    Parameters:
4820
     - type
4821
     - sku
4822
     - timestamp
4823
    """
4824
    self.send_updateTimestampForAmazonFeeds(type, sku, timestamp)
4825
    return self.recv_updateTimestampForAmazonFeeds()
7460 kshitij.so 4826
 
7770 kshitij.so 4827
  def send_updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4828
    self._oprot.writeMessageBegin('updateTimestampForAmazonFeeds', TMessageType.CALL, self._seqid)
4829
    args = updateTimestampForAmazonFeeds_args()
4830
    args.type = type
4831
    args.sku = sku
4832
    args.timestamp = timestamp
4833
    args.write(self._oprot)
4834
    self._oprot.writeMessageEnd()
4835
    self._oprot.trans.flush()
4836
 
4837
  def recv_updateTimestampForAmazonFeeds(self, ):
4838
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4839
    if mtype == TMessageType.EXCEPTION:
4840
      x = TApplicationException()
4841
      x.read(self._iprot)
4842
      self._iprot.readMessageEnd()
4843
      raise x
4844
    result = updateTimestampForAmazonFeeds_result()
4845
    result.read(self._iprot)
4846
    self._iprot.readMessageEnd()
4847
    if result.success is not None:
4848
      return result.success
4849
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateTimestampForAmazonFeeds failed: unknown result");
4850
 
7897 amar.kumar 4851
  def getAllParentCategories(self, ):
4852
    self.send_getAllParentCategories()
4853
    return self.recv_getAllParentCategories()
7770 kshitij.so 4854
 
7897 amar.kumar 4855
  def send_getAllParentCategories(self, ):
4856
    self._oprot.writeMessageBegin('getAllParentCategories', TMessageType.CALL, self._seqid)
4857
    args = getAllParentCategories_args()
4858
    args.write(self._oprot)
4859
    self._oprot.writeMessageEnd()
4860
    self._oprot.trans.flush()
4861
 
4862
  def recv_getAllParentCategories(self, ):
4863
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4864
    if mtype == TMessageType.EXCEPTION:
4865
      x = TApplicationException()
4866
      x.read(self._iprot)
4867
      self._iprot.readMessageEnd()
4868
      raise x
4869
    result = getAllParentCategories_result()
4870
    result.read(self._iprot)
4871
    self._iprot.readMessageEnd()
4872
    if result.success is not None:
4873
      return result.success
4874
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllParentCategories failed: unknown result");
4875
 
7977 kshitij.so 4876
  def addPageViewEvent(self, pageViewEvents):
4877
    """
4878
    Parameters:
4879
     - pageViewEvents
4880
    """
4881
    self.send_addPageViewEvent(pageViewEvents)
4882
    self.recv_addPageViewEvent()
7897 amar.kumar 4883
 
7977 kshitij.so 4884
  def send_addPageViewEvent(self, pageViewEvents):
4885
    self._oprot.writeMessageBegin('addPageViewEvent', TMessageType.CALL, self._seqid)
4886
    args = addPageViewEvent_args()
4887
    args.pageViewEvents = pageViewEvents
4888
    args.write(self._oprot)
4889
    self._oprot.writeMessageEnd()
4890
    self._oprot.trans.flush()
4891
 
4892
  def recv_addPageViewEvent(self, ):
4893
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4894
    if mtype == TMessageType.EXCEPTION:
4895
      x = TApplicationException()
4896
      x.read(self._iprot)
4897
      self._iprot.readMessageEnd()
4898
      raise x
4899
    result = addPageViewEvent_result()
4900
    result.read(self._iprot)
4901
    self._iprot.readMessageEnd()
4902
    return
4903
 
4904
  def addCartEvent(self, cartEvents):
4905
    """
4906
    Parameters:
4907
     - cartEvents
4908
    """
4909
    self.send_addCartEvent(cartEvents)
4910
    self.recv_addCartEvent()
4911
 
4912
  def send_addCartEvent(self, cartEvents):
4913
    self._oprot.writeMessageBegin('addCartEvent', TMessageType.CALL, self._seqid)
4914
    args = addCartEvent_args()
4915
    args.cartEvents = cartEvents
4916
    args.write(self._oprot)
4917
    self._oprot.writeMessageEnd()
4918
    self._oprot.trans.flush()
4919
 
4920
  def recv_addCartEvent(self, ):
4921
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4922
    if mtype == TMessageType.EXCEPTION:
4923
      x = TApplicationException()
4924
      x.read(self._iprot)
4925
      self._iprot.readMessageEnd()
4926
      raise x
4927
    result = addCartEvent_result()
4928
    result.read(self._iprot)
4929
    self._iprot.readMessageEnd()
4930
    return
4931
 
8182 amar.kumar 4932
  def addEbayItem(self, ebayItem):
4933
    """
4934
    Parameters:
4935
     - ebayItem
4936
    """
4937
    self.send_addEbayItem(ebayItem)
4938
    self.recv_addEbayItem()
4939
 
4940
  def send_addEbayItem(self, ebayItem):
4941
    self._oprot.writeMessageBegin('addEbayItem', TMessageType.CALL, self._seqid)
4942
    args = addEbayItem_args()
4943
    args.ebayItem = ebayItem
4944
    args.write(self._oprot)
4945
    self._oprot.writeMessageEnd()
4946
    self._oprot.trans.flush()
4947
 
4948
  def recv_addEbayItem(self, ):
4949
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4950
    if mtype == TMessageType.EXCEPTION:
4951
      x = TApplicationException()
4952
      x.read(self._iprot)
4953
      self._iprot.readMessageEnd()
4954
      raise x
4955
    result = addEbayItem_result()
4956
    result.read(self._iprot)
4957
    self._iprot.readMessageEnd()
4958
    return
4959
 
4960
  def getEbayItem(self, listingId):
4961
    """
4962
    Parameters:
4963
     - listingId
4964
    """
4965
    self.send_getEbayItem(listingId)
4966
    return self.recv_getEbayItem()
4967
 
4968
  def send_getEbayItem(self, listingId):
4969
    self._oprot.writeMessageBegin('getEbayItem', TMessageType.CALL, self._seqid)
4970
    args = getEbayItem_args()
4971
    args.listingId = listingId
4972
    args.write(self._oprot)
4973
    self._oprot.writeMessageEnd()
4974
    self._oprot.trans.flush()
4975
 
4976
  def recv_getEbayItem(self, ):
4977
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4978
    if mtype == TMessageType.EXCEPTION:
4979
      x = TApplicationException()
4980
      x.read(self._iprot)
4981
      self._iprot.readMessageEnd()
4982
      raise x
4983
    result = getEbayItem_result()
4984
    result.read(self._iprot)
4985
    self._iprot.readMessageEnd()
4986
    if result.success is not None:
4987
      return result.success
4988
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEbayItem failed: unknown result");
4989
 
4990
  def updateEbayItem(self, ebayItem):
4991
    """
4992
    Parameters:
4993
     - ebayItem
4994
    """
4995
    self.send_updateEbayItem(ebayItem)
4996
    self.recv_updateEbayItem()
4997
 
4998
  def send_updateEbayItem(self, ebayItem):
4999
    self._oprot.writeMessageBegin('updateEbayItem', TMessageType.CALL, self._seqid)
5000
    args = updateEbayItem_args()
5001
    args.ebayItem = ebayItem
5002
    args.write(self._oprot)
5003
    self._oprot.writeMessageEnd()
5004
    self._oprot.trans.flush()
5005
 
5006
  def recv_updateEbayItem(self, ):
5007
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5008
    if mtype == TMessageType.EXCEPTION:
5009
      x = TApplicationException()
5010
      x.read(self._iprot)
5011
      self._iprot.readMessageEnd()
5012
      raise x
5013
    result = updateEbayItem_result()
5014
    result.read(self._iprot)
5015
    self._iprot.readMessageEnd()
5016
    return
5017
 
8139 kshitij.so 5018
  def getAmazonListedItems(self, offset, limit):
5019
    """
5020
    Parameters:
5021
     - offset
5022
     - limit
5023
    """
5024
    self.send_getAmazonListedItems(offset, limit)
5025
    return self.recv_getAmazonListedItems()
7977 kshitij.so 5026
 
8139 kshitij.so 5027
  def send_getAmazonListedItems(self, offset, limit):
5028
    self._oprot.writeMessageBegin('getAmazonListedItems', TMessageType.CALL, self._seqid)
5029
    args = getAmazonListedItems_args()
5030
    args.offset = offset
5031
    args.limit = limit
5032
    args.write(self._oprot)
5033
    self._oprot.writeMessageEnd()
5034
    self._oprot.trans.flush()
5035
 
5036
  def recv_getAmazonListedItems(self, ):
5037
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5038
    if mtype == TMessageType.EXCEPTION:
5039
      x = TApplicationException()
5040
      x.read(self._iprot)
5041
      self._iprot.readMessageEnd()
5042
      raise x
5043
    result = getAmazonListedItems_result()
5044
    result.read(self._iprot)
5045
    self._iprot.readMessageEnd()
5046
    if result.success is not None:
5047
      return result.success
5048
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonListedItems failed: unknown result");
5049
 
8168 kshitij.so 5050
  def updateAmazonAttributesInBulk(self, amazonlisted):
5051
    """
5052
    Parameters:
5053
     - amazonlisted
5054
    """
5055
    self.send_updateAmazonAttributesInBulk(amazonlisted)
5056
    return self.recv_updateAmazonAttributesInBulk()
8139 kshitij.so 5057
 
8168 kshitij.so 5058
  def send_updateAmazonAttributesInBulk(self, amazonlisted):
5059
    self._oprot.writeMessageBegin('updateAmazonAttributesInBulk', TMessageType.CALL, self._seqid)
5060
    args = updateAmazonAttributesInBulk_args()
5061
    args.amazonlisted = amazonlisted
5062
    args.write(self._oprot)
5063
    self._oprot.writeMessageEnd()
5064
    self._oprot.trans.flush()
5065
 
5066
  def recv_updateAmazonAttributesInBulk(self, ):
5067
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5068
    if mtype == TMessageType.EXCEPTION:
5069
      x = TApplicationException()
5070
      x.read(self._iprot)
5071
      self._iprot.readMessageEnd()
5072
      raise x
5073
    result = updateAmazonAttributesInBulk_result()
5074
    result.read(self._iprot)
5075
    self._iprot.readMessageEnd()
5076
    if result.success is not None:
5077
      return result.success
5078
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonAttributesInBulk failed: unknown result");
5079
 
8379 vikram.rag 5080
  def getAllItemstoListOnFba(self, ):
5081
    self.send_getAllItemstoListOnFba()
5082
    return self.recv_getAllItemstoListOnFba()
8168 kshitij.so 5083
 
8379 vikram.rag 5084
  def send_getAllItemstoListOnFba(self, ):
5085
    self._oprot.writeMessageBegin('getAllItemstoListOnFba', TMessageType.CALL, self._seqid)
5086
    args = getAllItemstoListOnFba_args()
5087
    args.write(self._oprot)
5088
    self._oprot.writeMessageEnd()
5089
    self._oprot.trans.flush()
5090
 
5091
  def recv_getAllItemstoListOnFba(self, ):
5092
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5093
    if mtype == TMessageType.EXCEPTION:
5094
      x = TApplicationException()
5095
      x.read(self._iprot)
5096
      self._iprot.readMessageEnd()
5097
      raise x
5098
    result = getAllItemstoListOnFba_result()
5099
    result.read(self._iprot)
5100
    self._iprot.readMessageEnd()
5101
    if result.success is not None:
5102
      return result.success
5103
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFba failed: unknown result");
5104
 
5105
  def getAllItemstoListOnNonFba(self, ):
5106
    self.send_getAllItemstoListOnNonFba()
5107
    return self.recv_getAllItemstoListOnNonFba()
5108
 
5109
  def send_getAllItemstoListOnNonFba(self, ):
5110
    self._oprot.writeMessageBegin('getAllItemstoListOnNonFba', TMessageType.CALL, self._seqid)
5111
    args = getAllItemstoListOnNonFba_args()
5112
    args.write(self._oprot)
5113
    self._oprot.writeMessageEnd()
5114
    self._oprot.trans.flush()
5115
 
5116
  def recv_getAllItemstoListOnNonFba(self, ):
5117
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5118
    if mtype == TMessageType.EXCEPTION:
5119
      x = TApplicationException()
5120
      x.read(self._iprot)
5121
      self._iprot.readMessageEnd()
5122
      raise x
5123
    result = getAllItemstoListOnNonFba_result()
5124
    result.read(self._iprot)
5125
    self._iprot.readMessageEnd()
5126
    if result.success is not None:
5127
      return result.success
5128
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnNonFba failed: unknown result");
5129
 
8619 kshitij.so 5130
  def updateAsin(self, item):
5131
    """
5132
    Parameters:
5133
     - item
5134
    """
5135
    self.send_updateAsin(item)
5136
    self.recv_updateAsin()
8616 vikram.rag 5137
 
8619 kshitij.so 5138
  def send_updateAsin(self, item):
5139
    self._oprot.writeMessageBegin('updateAsin', TMessageType.CALL, self._seqid)
5140
    args = updateAsin_args()
5141
    args.item = item
5142
    args.write(self._oprot)
5143
    self._oprot.writeMessageEnd()
5144
    self._oprot.trans.flush()
5145
 
5146
  def recv_updateAsin(self, ):
5147
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5148
    if mtype == TMessageType.EXCEPTION:
5149
      x = TApplicationException()
5150
      x.read(self._iprot)
5151
      self._iprot.readMessageEnd()
5152
      raise x
5153
    result = updateAsin_result()
5154
    result.read(self._iprot)
5155
    self._iprot.readMessageEnd()
5156
    return
5157
 
8739 vikram.rag 5158
  def addOrUpdateSnapdealItem(self, snapdealitem):
5159
    """
5160
    Parameters:
5161
     - snapdealitem
5162
    """
5163
    self.send_addOrUpdateSnapdealItem(snapdealitem)
5164
    return self.recv_addOrUpdateSnapdealItem()
8619 kshitij.so 5165
 
8739 vikram.rag 5166
  def send_addOrUpdateSnapdealItem(self, snapdealitem):
5167
    self._oprot.writeMessageBegin('addOrUpdateSnapdealItem', TMessageType.CALL, self._seqid)
5168
    args = addOrUpdateSnapdealItem_args()
5169
    args.snapdealitem = snapdealitem
5170
    args.write(self._oprot)
5171
    self._oprot.writeMessageEnd()
5172
    self._oprot.trans.flush()
5173
 
5174
  def recv_addOrUpdateSnapdealItem(self, ):
5175
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5176
    if mtype == TMessageType.EXCEPTION:
5177
      x = TApplicationException()
5178
      x.read(self._iprot)
5179
      self._iprot.readMessageEnd()
5180
      raise x
5181
    result = addOrUpdateSnapdealItem_result()
5182
    result.read(self._iprot)
5183
    self._iprot.readMessageEnd()
5184
    if result.success is not None:
5185
      return result.success
5186
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateSnapdealItem failed: unknown result");
5187
 
5188
  def getSnapdealItem(self, item_id):
5189
    """
5190
    Parameters:
5191
     - item_id
5192
    """
5193
    self.send_getSnapdealItem(item_id)
5194
    return self.recv_getSnapdealItem()
5195
 
5196
  def send_getSnapdealItem(self, item_id):
5197
    self._oprot.writeMessageBegin('getSnapdealItem', TMessageType.CALL, self._seqid)
5198
    args = getSnapdealItem_args()
5199
    args.item_id = item_id
5200
    args.write(self._oprot)
5201
    self._oprot.writeMessageEnd()
5202
    self._oprot.trans.flush()
5203
 
5204
  def recv_getSnapdealItem(self, ):
5205
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5206
    if mtype == TMessageType.EXCEPTION:
5207
      x = TApplicationException()
5208
      x.read(self._iprot)
5209
      self._iprot.readMessageEnd()
5210
      raise x
5211
    result = getSnapdealItem_result()
5212
    result.read(self._iprot)
5213
    self._iprot.readMessageEnd()
5214
    if result.success is not None:
5215
      return result.success
5216
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItem failed: unknown result");
5217
 
9242 kshitij.so 5218
  def getSnapdealItemDetails(self, item_id):
5219
    """
5220
    Parameters:
5221
     - item_id
5222
    """
5223
    self.send_getSnapdealItemDetails(item_id)
5224
    return self.recv_getSnapdealItemDetails()
5225
 
5226
  def send_getSnapdealItemDetails(self, item_id):
5227
    self._oprot.writeMessageBegin('getSnapdealItemDetails', TMessageType.CALL, self._seqid)
5228
    args = getSnapdealItemDetails_args()
5229
    args.item_id = item_id
5230
    args.write(self._oprot)
5231
    self._oprot.writeMessageEnd()
5232
    self._oprot.trans.flush()
5233
 
5234
  def recv_getSnapdealItemDetails(self, ):
5235
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5236
    if mtype == TMessageType.EXCEPTION:
5237
      x = TApplicationException()
5238
      x.read(self._iprot)
5239
      self._iprot.readMessageEnd()
5240
      raise x
5241
    result = getSnapdealItemDetails_result()
5242
    result.read(self._iprot)
5243
    self._iprot.readMessageEnd()
5244
    if result.success is not None:
5245
      return result.success
5246
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItemDetails failed: unknown result");
5247
 
8739 vikram.rag 5248
  def getAllSnapdealItems(self, ):
5249
    self.send_getAllSnapdealItems()
5250
    return self.recv_getAllSnapdealItems()
5251
 
5252
  def send_getAllSnapdealItems(self, ):
5253
    self._oprot.writeMessageBegin('getAllSnapdealItems', TMessageType.CALL, self._seqid)
5254
    args = getAllSnapdealItems_args()
5255
    args.write(self._oprot)
5256
    self._oprot.writeMessageEnd()
5257
    self._oprot.trans.flush()
5258
 
5259
  def recv_getAllSnapdealItems(self, ):
5260
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5261
    if mtype == TMessageType.EXCEPTION:
5262
      x = TApplicationException()
5263
      x.read(self._iprot)
5264
      self._iprot.readMessageEnd()
5265
      raise x
5266
    result = getAllSnapdealItems_result()
5267
    result.read(self._iprot)
5268
    self._iprot.readMessageEnd()
5269
    if result.success is not None:
5270
      return result.success
5271
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealItems failed: unknown result");
5272
 
9242 kshitij.so 5273
  def getSnapdealItems(self, offset, limit):
5274
    """
5275
    Parameters:
5276
     - offset
5277
     - limit
5278
    """
5279
    self.send_getSnapdealItems(offset, limit)
5280
    return self.recv_getSnapdealItems()
8739 vikram.rag 5281
 
9242 kshitij.so 5282
  def send_getSnapdealItems(self, offset, limit):
5283
    self._oprot.writeMessageBegin('getSnapdealItems', TMessageType.CALL, self._seqid)
5284
    args = getSnapdealItems_args()
5285
    args.offset = offset
5286
    args.limit = limit
5287
    args.write(self._oprot)
5288
    self._oprot.writeMessageEnd()
5289
    self._oprot.trans.flush()
5290
 
5291
  def recv_getSnapdealItems(self, ):
5292
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5293
    if mtype == TMessageType.EXCEPTION:
5294
      x = TApplicationException()
5295
      x.read(self._iprot)
5296
      self._iprot.readMessageEnd()
5297
      raise x
5298
    result = getSnapdealItems_result()
5299
    result.read(self._iprot)
5300
    self._iprot.readMessageEnd()
5301
    if result.success is not None:
5302
      return result.success
5303
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItems failed: unknown result");
5304
 
5305
  def searchSnapdealItems(self, searchTerm, offset, limit):
5306
    """
5307
    Parameters:
5308
     - searchTerm
5309
     - offset
5310
     - limit
5311
    """
5312
    self.send_searchSnapdealItems(searchTerm, offset, limit)
5313
    return self.recv_searchSnapdealItems()
5314
 
5315
  def send_searchSnapdealItems(self, searchTerm, offset, limit):
5316
    self._oprot.writeMessageBegin('searchSnapdealItems', TMessageType.CALL, self._seqid)
5317
    args = searchSnapdealItems_args()
5318
    args.searchTerm = searchTerm
5319
    args.offset = offset
5320
    args.limit = limit
5321
    args.write(self._oprot)
5322
    self._oprot.writeMessageEnd()
5323
    self._oprot.trans.flush()
5324
 
5325
  def recv_searchSnapdealItems(self, ):
5326
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5327
    if mtype == TMessageType.EXCEPTION:
5328
      x = TApplicationException()
5329
      x.read(self._iprot)
5330
      self._iprot.readMessageEnd()
5331
      raise x
5332
    result = searchSnapdealItems_result()
5333
    result.read(self._iprot)
5334
    self._iprot.readMessageEnd()
5335
    if result.success is not None:
5336
      return result.success
5337
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchSnapdealItems failed: unknown result");
5338
 
5339
  def getCountForSnapdealItems(self, ):
5340
    self.send_getCountForSnapdealItems()
5341
    return self.recv_getCountForSnapdealItems()
5342
 
5343
  def send_getCountForSnapdealItems(self, ):
5344
    self._oprot.writeMessageBegin('getCountForSnapdealItems', TMessageType.CALL, self._seqid)
5345
    args = getCountForSnapdealItems_args()
5346
    args.write(self._oprot)
5347
    self._oprot.writeMessageEnd()
5348
    self._oprot.trans.flush()
5349
 
5350
  def recv_getCountForSnapdealItems(self, ):
5351
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5352
    if mtype == TMessageType.EXCEPTION:
5353
      x = TApplicationException()
5354
      x.read(self._iprot)
5355
      self._iprot.readMessageEnd()
5356
      raise x
5357
    result = getCountForSnapdealItems_result()
5358
    result.read(self._iprot)
5359
    self._iprot.readMessageEnd()
5360
    if result.success is not None:
5361
      return result.success
5362
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForSnapdealItems failed: unknown result");
5363
 
5364
  def getSnapdealSearchResultCount(self, searchTerm):
5365
    """
5366
    Parameters:
5367
     - searchTerm
5368
    """
5369
    self.send_getSnapdealSearchResultCount(searchTerm)
5370
    return self.recv_getSnapdealSearchResultCount()
5371
 
5372
  def send_getSnapdealSearchResultCount(self, searchTerm):
5373
    self._oprot.writeMessageBegin('getSnapdealSearchResultCount', TMessageType.CALL, self._seqid)
5374
    args = getSnapdealSearchResultCount_args()
5375
    args.searchTerm = searchTerm
5376
    args.write(self._oprot)
5377
    self._oprot.writeMessageEnd()
5378
    self._oprot.trans.flush()
5379
 
5380
  def recv_getSnapdealSearchResultCount(self, ):
5381
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5382
    if mtype == TMessageType.EXCEPTION:
5383
      x = TApplicationException()
5384
      x.read(self._iprot)
5385
      self._iprot.readMessageEnd()
5386
      raise x
5387
    result = getSnapdealSearchResultCount_result()
5388
    result.read(self._iprot)
5389
    self._iprot.readMessageEnd()
5390
    if result.success is not None:
5391
      return result.success
5392
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealSearchResultCount failed: unknown result");
5393
 
9299 kshitij.so 5394
  def getPrefferedInsurerForItem(self, itemId, insurerType):
5395
    """
5396
    Parameters:
5397
     - itemId
5398
     - insurerType
5399
    """
5400
    self.send_getPrefferedInsurerForItem(itemId, insurerType)
5401
    return self.recv_getPrefferedInsurerForItem()
9242 kshitij.so 5402
 
9299 kshitij.so 5403
  def send_getPrefferedInsurerForItem(self, itemId, insurerType):
5404
    self._oprot.writeMessageBegin('getPrefferedInsurerForItem', TMessageType.CALL, self._seqid)
5405
    args = getPrefferedInsurerForItem_args()
5406
    args.itemId = itemId
5407
    args.insurerType = insurerType
5408
    args.write(self._oprot)
5409
    self._oprot.writeMessageEnd()
5410
    self._oprot.trans.flush()
5411
 
5412
  def recv_getPrefferedInsurerForItem(self, ):
5413
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5414
    if mtype == TMessageType.EXCEPTION:
5415
      x = TApplicationException()
5416
      x.read(self._iprot)
5417
      self._iprot.readMessageEnd()
5418
      raise x
5419
    result = getPrefferedInsurerForItem_result()
5420
    result.read(self._iprot)
5421
    self._iprot.readMessageEnd()
5422
    if result.success is not None:
5423
      return result.success
5424
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrefferedInsurerForItem failed: unknown result");
5425
 
9456 vikram.rag 5426
  def getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5427
    """
5428
    Parameters:
5429
     - skuAtSnapdeal
5430
    """
5431
    self.send_getSnapdealItembySkuAtSnapdeal(skuAtSnapdeal)
5432
    return self.recv_getSnapdealItembySkuAtSnapdeal()
9299 kshitij.so 5433
 
9456 vikram.rag 5434
  def send_getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5435
    self._oprot.writeMessageBegin('getSnapdealItembySkuAtSnapdeal', TMessageType.CALL, self._seqid)
5436
    args = getSnapdealItembySkuAtSnapdeal_args()
5437
    args.skuAtSnapdeal = skuAtSnapdeal
5438
    args.write(self._oprot)
5439
    self._oprot.writeMessageEnd()
5440
    self._oprot.trans.flush()
5441
 
5442
  def recv_getSnapdealItembySkuAtSnapdeal(self, ):
5443
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5444
    if mtype == TMessageType.EXCEPTION:
5445
      x = TApplicationException()
5446
      x.read(self._iprot)
5447
      self._iprot.readMessageEnd()
5448
      raise x
5449
    result = getSnapdealItembySkuAtSnapdeal_result()
5450
    result.read(self._iprot)
5451
    self._iprot.readMessageEnd()
5452
    if result.success is not None:
5453
      return result.success
5454
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItembySkuAtSnapdeal failed: unknown result");
5455
 
9621 manish.sha 5456
  def getProductFeedSubmit(self, catalogItemId):
5457
    """
5458
    Parameters:
5459
     - catalogItemId
5460
    """
5461
    self.send_getProductFeedSubmit(catalogItemId)
5462
    return self.recv_getProductFeedSubmit()
9456 vikram.rag 5463
 
9621 manish.sha 5464
  def send_getProductFeedSubmit(self, catalogItemId):
5465
    self._oprot.writeMessageBegin('getProductFeedSubmit', TMessageType.CALL, self._seqid)
5466
    args = getProductFeedSubmit_args()
5467
    args.catalogItemId = catalogItemId
5468
    args.write(self._oprot)
5469
    self._oprot.writeMessageEnd()
5470
    self._oprot.trans.flush()
5471
 
5472
  def recv_getProductFeedSubmit(self, ):
5473
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5474
    if mtype == TMessageType.EXCEPTION:
5475
      x = TApplicationException()
5476
      x.read(self._iprot)
5477
      self._iprot.readMessageEnd()
5478
      raise x
5479
    result = getProductFeedSubmit_result()
5480
    result.read(self._iprot)
5481
    self._iprot.readMessageEnd()
5482
    if result.success is not None:
5483
      return result.success
5484
    if result.cex is not None:
5485
      raise result.cex
5486
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductFeedSubmit failed: unknown result");
5487
 
5488
  def addProductFeedSubmit(self, productFeedSubmit):
5489
    """
5490
    Parameters:
5491
     - productFeedSubmit
5492
    """
5493
    self.send_addProductFeedSubmit(productFeedSubmit)
5494
    return self.recv_addProductFeedSubmit()
5495
 
5496
  def send_addProductFeedSubmit(self, productFeedSubmit):
5497
    self._oprot.writeMessageBegin('addProductFeedSubmit', TMessageType.CALL, self._seqid)
5498
    args = addProductFeedSubmit_args()
5499
    args.productFeedSubmit = productFeedSubmit
5500
    args.write(self._oprot)
5501
    self._oprot.writeMessageEnd()
5502
    self._oprot.trans.flush()
5503
 
5504
  def recv_addProductFeedSubmit(self, ):
5505
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5506
    if mtype == TMessageType.EXCEPTION:
5507
      x = TApplicationException()
5508
      x.read(self._iprot)
5509
      self._iprot.readMessageEnd()
5510
      raise x
5511
    result = addProductFeedSubmit_result()
5512
    result.read(self._iprot)
5513
    self._iprot.readMessageEnd()
5514
    if result.success is not None:
5515
      return result.success
5516
    if result.cex is not None:
5517
      raise result.cex
5518
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductFeedSubmit failed: unknown result");
5519
 
5520
  def updateProductFeedSubmit(self, productFeedSubmit):
5521
    """
5522
    Parameters:
5523
     - productFeedSubmit
5524
    """
5525
    self.send_updateProductFeedSubmit(productFeedSubmit)
5526
    return self.recv_updateProductFeedSubmit()
5527
 
5528
  def send_updateProductFeedSubmit(self, productFeedSubmit):
5529
    self._oprot.writeMessageBegin('updateProductFeedSubmit', TMessageType.CALL, self._seqid)
5530
    args = updateProductFeedSubmit_args()
5531
    args.productFeedSubmit = productFeedSubmit
5532
    args.write(self._oprot)
5533
    self._oprot.writeMessageEnd()
5534
    self._oprot.trans.flush()
5535
 
5536
  def recv_updateProductFeedSubmit(self, ):
5537
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5538
    if mtype == TMessageType.EXCEPTION:
5539
      x = TApplicationException()
5540
      x.read(self._iprot)
5541
      self._iprot.readMessageEnd()
5542
      raise x
5543
    result = updateProductFeedSubmit_result()
5544
    result.read(self._iprot)
5545
    self._iprot.readMessageEnd()
5546
    if result.success is not None:
5547
      return result.success
5548
    if result.cex is not None:
5549
      raise result.cex
5550
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateProductFeedSubmit failed: unknown result");
5551
 
5552
  def deleteProductFeedSubmit(self, catalogItemId):
5553
    """
5554
    Parameters:
5555
     - catalogItemId
5556
    """
5557
    self.send_deleteProductFeedSubmit(catalogItemId)
5558
    return self.recv_deleteProductFeedSubmit()
5559
 
5560
  def send_deleteProductFeedSubmit(self, catalogItemId):
5561
    self._oprot.writeMessageBegin('deleteProductFeedSubmit', TMessageType.CALL, self._seqid)
5562
    args = deleteProductFeedSubmit_args()
5563
    args.catalogItemId = catalogItemId
5564
    args.write(self._oprot)
5565
    self._oprot.writeMessageEnd()
5566
    self._oprot.trans.flush()
5567
 
5568
  def recv_deleteProductFeedSubmit(self, ):
5569
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5570
    if mtype == TMessageType.EXCEPTION:
5571
      x = TApplicationException()
5572
      x.read(self._iprot)
5573
      self._iprot.readMessageEnd()
5574
      raise x
5575
    result = deleteProductFeedSubmit_result()
5576
    result.read(self._iprot)
5577
    self._iprot.readMessageEnd()
5578
    if result.success is not None:
5579
      return result.success
5580
    if result.cex is not None:
5581
      raise result.cex
5582
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteProductFeedSubmit failed: unknown result");
5583
 
5584
  def getAllProductFeedSubmit(self, ):
5585
    self.send_getAllProductFeedSubmit()
5586
    return self.recv_getAllProductFeedSubmit()
5587
 
5588
  def send_getAllProductFeedSubmit(self, ):
5589
    self._oprot.writeMessageBegin('getAllProductFeedSubmit', TMessageType.CALL, self._seqid)
5590
    args = getAllProductFeedSubmit_args()
5591
    args.write(self._oprot)
5592
    self._oprot.writeMessageEnd()
5593
    self._oprot.trans.flush()
5594
 
5595
  def recv_getAllProductFeedSubmit(self, ):
5596
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5597
    if mtype == TMessageType.EXCEPTION:
5598
      x = TApplicationException()
5599
      x.read(self._iprot)
5600
      self._iprot.readMessageEnd()
5601
      raise x
5602
    result = getAllProductFeedSubmit_result()
5603
    result.read(self._iprot)
5604
    self._iprot.readMessageEnd()
5605
    if result.success is not None:
5606
      return result.success
5607
    if result.cex is not None:
5608
      raise result.cex
5609
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllProductFeedSubmit failed: unknown result");
5610
 
9724 kshitij.so 5611
  def getMarketplacedetailsForItem(self, itemId, sourceId):
5612
    """
5613
    Parameters:
5614
     - itemId
5615
     - sourceId
5616
    """
5617
    self.send_getMarketplacedetailsForItem(itemId, sourceId)
5618
    return self.recv_getMarketplacedetailsForItem()
9621 manish.sha 5619
 
9724 kshitij.so 5620
  def send_getMarketplacedetailsForItem(self, itemId, sourceId):
5621
    self._oprot.writeMessageBegin('getMarketplacedetailsForItem', TMessageType.CALL, self._seqid)
5622
    args = getMarketplacedetailsForItem_args()
5623
    args.itemId = itemId
5624
    args.sourceId = sourceId
5625
    args.write(self._oprot)
5626
    self._oprot.writeMessageEnd()
5627
    self._oprot.trans.flush()
5628
 
5629
  def recv_getMarketplacedetailsForItem(self, ):
5630
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5631
    if mtype == TMessageType.EXCEPTION:
5632
      x = TApplicationException()
5633
      x.read(self._iprot)
5634
      self._iprot.readMessageEnd()
5635
      raise x
5636
    result = getMarketplacedetailsForItem_result()
5637
    result.read(self._iprot)
5638
    self._iprot.readMessageEnd()
5639
    if result.success is not None:
5640
      return result.success
5641
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplacedetailsForItem failed: unknown result");
5642
 
5643
  def updateMarketplaceAttributesForItem(self, marketPlaceItem):
5644
    """
5645
    Parameters:
5646
     - marketPlaceItem
5647
    """
5648
    self.send_updateMarketplaceAttributesForItem(marketPlaceItem)
5649
    return self.recv_updateMarketplaceAttributesForItem()
5650
 
5651
  def send_updateMarketplaceAttributesForItem(self, marketPlaceItem):
5652
    self._oprot.writeMessageBegin('updateMarketplaceAttributesForItem', TMessageType.CALL, self._seqid)
5653
    args = updateMarketplaceAttributesForItem_args()
5654
    args.marketPlaceItem = marketPlaceItem
5655
    args.write(self._oprot)
5656
    self._oprot.writeMessageEnd()
5657
    self._oprot.trans.flush()
5658
 
5659
  def recv_updateMarketplaceAttributesForItem(self, ):
5660
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5661
    if mtype == TMessageType.EXCEPTION:
5662
      x = TApplicationException()
5663
      x.read(self._iprot)
5664
      self._iprot.readMessageEnd()
5665
      raise x
5666
    result = updateMarketplaceAttributesForItem_result()
5667
    result.read(self._iprot)
5668
    self._iprot.readMessageEnd()
5669
    if result.success is not None:
5670
      return result.success
5671
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateMarketplaceAttributesForItem failed: unknown result");
5672
 
9779 kshitij.so 5673
  def getCostingForMarketplace(self, source, item_id):
5674
    """
5675
    Parameters:
5676
     - source
5677
     - item_id
5678
    """
5679
    self.send_getCostingForMarketplace(source, item_id)
5680
    return self.recv_getCostingForMarketplace()
5681
 
5682
  def send_getCostingForMarketplace(self, source, item_id):
5683
    self._oprot.writeMessageBegin('getCostingForMarketplace', TMessageType.CALL, self._seqid)
5684
    args = getCostingForMarketplace_args()
5685
    args.source = source
5686
    args.item_id = item_id
5687
    args.write(self._oprot)
5688
    self._oprot.writeMessageEnd()
5689
    self._oprot.trans.flush()
5690
 
5691
  def recv_getCostingForMarketplace(self, ):
5692
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5693
    if mtype == TMessageType.EXCEPTION:
5694
      x = TApplicationException()
5695
      x.read(self._iprot)
5696
      self._iprot.readMessageEnd()
5697
      raise x
5698
    result = getCostingForMarketplace_result()
5699
    result.read(self._iprot)
5700
    self._iprot.readMessageEnd()
5701
    if result.success is not None:
5702
      return result.success
5703
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCostingForMarketplace failed: unknown result");
5704
 
9776 vikram.rag 5705
  def getMarketPlaceItemsForPriceUpdate(self, source):
5706
    """
5707
    Parameters:
5708
     - source
5709
    """
5710
    self.send_getMarketPlaceItemsForPriceUpdate(source)
5711
    return self.recv_getMarketPlaceItemsForPriceUpdate()
9724 kshitij.so 5712
 
9776 vikram.rag 5713
  def send_getMarketPlaceItemsForPriceUpdate(self, source):
5714
    self._oprot.writeMessageBegin('getMarketPlaceItemsForPriceUpdate', TMessageType.CALL, self._seqid)
5715
    args = getMarketPlaceItemsForPriceUpdate_args()
5716
    args.source = source
5717
    args.write(self._oprot)
5718
    self._oprot.writeMessageEnd()
5719
    self._oprot.trans.flush()
5720
 
5721
  def recv_getMarketPlaceItemsForPriceUpdate(self, ):
5722
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5723
    if mtype == TMessageType.EXCEPTION:
5724
      x = TApplicationException()
5725
      x.read(self._iprot)
5726
      self._iprot.readMessageEnd()
5727
      raise x
5728
    result = getMarketPlaceItemsForPriceUpdate_result()
5729
    result.read(self._iprot)
5730
    self._iprot.readMessageEnd()
5731
    if result.success is not None:
5732
      return result.success
5733
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketPlaceItemsForPriceUpdate failed: unknown result");
5734
 
9816 kshitij.so 5735
  def updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5736
    """
5737
    Parameters:
5738
     - skulist
5739
     - timestamp
9816 kshitij.so 5740
     - source
9776 vikram.rag 5741
    """
9816 kshitij.so 5742
    self.send_updateMarketPlacePriceUpdateStatus(skulist, timestamp, source)
9776 vikram.rag 5743
    self.recv_updateMarketPlacePriceUpdateStatus()
5744
 
9816 kshitij.so 5745
  def send_updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5746
    self._oprot.writeMessageBegin('updateMarketPlacePriceUpdateStatus', TMessageType.CALL, self._seqid)
5747
    args = updateMarketPlacePriceUpdateStatus_args()
5748
    args.skulist = skulist
5749
    args.timestamp = timestamp
9816 kshitij.so 5750
    args.source = source
9776 vikram.rag 5751
    args.write(self._oprot)
5752
    self._oprot.writeMessageEnd()
5753
    self._oprot.trans.flush()
5754
 
5755
  def recv_updateMarketPlacePriceUpdateStatus(self, ):
5756
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5757
    if mtype == TMessageType.EXCEPTION:
5758
      x = TApplicationException()
5759
      x.read(self._iprot)
5760
      self._iprot.readMessageEnd()
5761
      raise x
5762
    result = updateMarketPlacePriceUpdateStatus_result()
5763
    result.read(self._iprot)
5764
    self._iprot.readMessageEnd()
5765
    return
5766
 
9861 rajveer 5767
  def updateItemHoldInventory(self, itemHoldMap):
5768
    """
5769
    Parameters:
5770
     - itemHoldMap
5771
    """
5772
    self.send_updateItemHoldInventory(itemHoldMap)
5773
    self.recv_updateItemHoldInventory()
9776 vikram.rag 5774
 
9861 rajveer 5775
  def send_updateItemHoldInventory(self, itemHoldMap):
5776
    self._oprot.writeMessageBegin('updateItemHoldInventory', TMessageType.CALL, self._seqid)
5777
    args = updateItemHoldInventory_args()
5778
    args.itemHoldMap = itemHoldMap
5779
    args.write(self._oprot)
5780
    self._oprot.writeMessageEnd()
5781
    self._oprot.trans.flush()
5782
 
5783
  def recv_updateItemHoldInventory(self, ):
5784
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5785
    if mtype == TMessageType.EXCEPTION:
5786
      x = TApplicationException()
5787
      x.read(self._iprot)
5788
      self._iprot.readMessageEnd()
5789
      raise x
5790
    result = updateItemHoldInventory_result()
5791
    result.read(self._iprot)
5792
    self._iprot.readMessageEnd()
5793
    return
5794
 
9895 vikram.rag 5795
  def updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5796
    """
5797
    Parameters:
5798
     - item_id
5799
     - vendor_id
5800
     - nlc
5801
    """
5802
    self.send_updateNlcAtMarketplaces(item_id, vendor_id, nlc)
5803
    self.recv_updateNlcAtMarketplaces()
9861 rajveer 5804
 
9895 vikram.rag 5805
  def send_updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5806
    self._oprot.writeMessageBegin('updateNlcAtMarketplaces', TMessageType.CALL, self._seqid)
5807
    args = updateNlcAtMarketplaces_args()
5808
    args.item_id = item_id
5809
    args.vendor_id = vendor_id
5810
    args.nlc = nlc
5811
    args.write(self._oprot)
5812
    self._oprot.writeMessageEnd()
5813
    self._oprot.trans.flush()
5814
 
5815
  def recv_updateNlcAtMarketplaces(self, ):
5816
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5817
    if mtype == TMessageType.EXCEPTION:
5818
      x = TApplicationException()
5819
      x.read(self._iprot)
5820
      self._iprot.readMessageEnd()
5821
      raise x
5822
    result = updateNlcAtMarketplaces_result()
5823
    result.read(self._iprot)
5824
    self._iprot.readMessageEnd()
5825
    return
5826
 
9945 vikram.rag 5827
  def getAllFlipkartItems(self, ):
5828
    self.send_getAllFlipkartItems()
5829
    return self.recv_getAllFlipkartItems()
9895 vikram.rag 5830
 
9945 vikram.rag 5831
  def send_getAllFlipkartItems(self, ):
5832
    self._oprot.writeMessageBegin('getAllFlipkartItems', TMessageType.CALL, self._seqid)
5833
    args = getAllFlipkartItems_args()
5834
    args.write(self._oprot)
5835
    self._oprot.writeMessageEnd()
5836
    self._oprot.trans.flush()
5837
 
5838
  def recv_getAllFlipkartItems(self, ):
5839
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5840
    if mtype == TMessageType.EXCEPTION:
5841
      x = TApplicationException()
5842
      x.read(self._iprot)
5843
      self._iprot.readMessageEnd()
5844
      raise x
5845
    result = getAllFlipkartItems_result()
5846
    result.read(self._iprot)
5847
    self._iprot.readMessageEnd()
5848
    if result.success is not None:
5849
      return result.success
5850
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartItems failed: unknown result");
5851
 
10097 kshitij.so 5852
  def addOrUpdateFlipkartItem(self, flipkartitem):
5853
    """
5854
    Parameters:
5855
     - flipkartitem
5856
    """
5857
    self.send_addOrUpdateFlipkartItem(flipkartitem)
5858
    return self.recv_addOrUpdateFlipkartItem()
9945 vikram.rag 5859
 
10097 kshitij.so 5860
  def send_addOrUpdateFlipkartItem(self, flipkartitem):
5861
    self._oprot.writeMessageBegin('addOrUpdateFlipkartItem', TMessageType.CALL, self._seqid)
5862
    args = addOrUpdateFlipkartItem_args()
5863
    args.flipkartitem = flipkartitem
5864
    args.write(self._oprot)
5865
    self._oprot.writeMessageEnd()
5866
    self._oprot.trans.flush()
5867
 
5868
  def recv_addOrUpdateFlipkartItem(self, ):
5869
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5870
    if mtype == TMessageType.EXCEPTION:
5871
      x = TApplicationException()
5872
      x.read(self._iprot)
5873
      self._iprot.readMessageEnd()
5874
      raise x
5875
    result = addOrUpdateFlipkartItem_result()
5876
    result.read(self._iprot)
5877
    self._iprot.readMessageEnd()
5878
    if result.success is not None:
5879
      return result.success
5880
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateFlipkartItem failed: unknown result");
5881
 
5882
  def getFlipkartItem(self, item_id):
5883
    """
5884
    Parameters:
5885
     - item_id
5886
    """
5887
    self.send_getFlipkartItem(item_id)
5888
    return self.recv_getFlipkartItem()
5889
 
5890
  def send_getFlipkartItem(self, item_id):
5891
    self._oprot.writeMessageBegin('getFlipkartItem', TMessageType.CALL, self._seqid)
5892
    args = getFlipkartItem_args()
5893
    args.item_id = item_id
5894
    args.write(self._oprot)
5895
    self._oprot.writeMessageEnd()
5896
    self._oprot.trans.flush()
5897
 
5898
  def recv_getFlipkartItem(self, ):
5899
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5900
    if mtype == TMessageType.EXCEPTION:
5901
      x = TApplicationException()
5902
      x.read(self._iprot)
5903
      self._iprot.readMessageEnd()
5904
      raise x
5905
    result = getFlipkartItem_result()
5906
    result.read(self._iprot)
5907
    self._iprot.readMessageEnd()
5908
    if result.success is not None:
5909
      return result.success
5910
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItem failed: unknown result");
5911
 
5912
  def getFlipkartItemDetails(self, item_id):
5913
    """
5914
    Parameters:
5915
     - item_id
5916
    """
5917
    self.send_getFlipkartItemDetails(item_id)
5918
    return self.recv_getFlipkartItemDetails()
5919
 
5920
  def send_getFlipkartItemDetails(self, item_id):
5921
    self._oprot.writeMessageBegin('getFlipkartItemDetails', TMessageType.CALL, self._seqid)
5922
    args = getFlipkartItemDetails_args()
5923
    args.item_id = item_id
5924
    args.write(self._oprot)
5925
    self._oprot.writeMessageEnd()
5926
    self._oprot.trans.flush()
5927
 
5928
  def recv_getFlipkartItemDetails(self, ):
5929
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5930
    if mtype == TMessageType.EXCEPTION:
5931
      x = TApplicationException()
5932
      x.read(self._iprot)
5933
      self._iprot.readMessageEnd()
5934
      raise x
5935
    result = getFlipkartItemDetails_result()
5936
    result.read(self._iprot)
5937
    self._iprot.readMessageEnd()
5938
    if result.success is not None:
5939
      return result.success
5940
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemDetails failed: unknown result");
5941
 
5942
  def getFlipkartItems(self, offset, limit):
5943
    """
5944
    Parameters:
5945
     - offset
5946
     - limit
5947
    """
5948
    self.send_getFlipkartItems(offset, limit)
5949
    return self.recv_getFlipkartItems()
5950
 
5951
  def send_getFlipkartItems(self, offset, limit):
5952
    self._oprot.writeMessageBegin('getFlipkartItems', TMessageType.CALL, self._seqid)
5953
    args = getFlipkartItems_args()
5954
    args.offset = offset
5955
    args.limit = limit
5956
    args.write(self._oprot)
5957
    self._oprot.writeMessageEnd()
5958
    self._oprot.trans.flush()
5959
 
5960
  def recv_getFlipkartItems(self, ):
5961
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5962
    if mtype == TMessageType.EXCEPTION:
5963
      x = TApplicationException()
5964
      x.read(self._iprot)
5965
      self._iprot.readMessageEnd()
5966
      raise x
5967
    result = getFlipkartItems_result()
5968
    result.read(self._iprot)
5969
    self._iprot.readMessageEnd()
5970
    if result.success is not None:
5971
      return result.success
5972
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItems failed: unknown result");
5973
 
5974
  def searchFlipkartItems(self, searchTerm, offset, limit):
5975
    """
5976
    Parameters:
5977
     - searchTerm
5978
     - offset
5979
     - limit
5980
    """
5981
    self.send_searchFlipkartItems(searchTerm, offset, limit)
5982
    return self.recv_searchFlipkartItems()
5983
 
5984
  def send_searchFlipkartItems(self, searchTerm, offset, limit):
5985
    self._oprot.writeMessageBegin('searchFlipkartItems', TMessageType.CALL, self._seqid)
5986
    args = searchFlipkartItems_args()
5987
    args.searchTerm = searchTerm
5988
    args.offset = offset
5989
    args.limit = limit
5990
    args.write(self._oprot)
5991
    self._oprot.writeMessageEnd()
5992
    self._oprot.trans.flush()
5993
 
5994
  def recv_searchFlipkartItems(self, ):
5995
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5996
    if mtype == TMessageType.EXCEPTION:
5997
      x = TApplicationException()
5998
      x.read(self._iprot)
5999
      self._iprot.readMessageEnd()
6000
      raise x
6001
    result = searchFlipkartItems_result()
6002
    result.read(self._iprot)
6003
    self._iprot.readMessageEnd()
6004
    if result.success is not None:
6005
      return result.success
6006
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchFlipkartItems failed: unknown result");
6007
 
6008
  def getCountForFlipkartItems(self, ):
6009
    self.send_getCountForFlipkartItems()
6010
    return self.recv_getCountForFlipkartItems()
6011
 
6012
  def send_getCountForFlipkartItems(self, ):
6013
    self._oprot.writeMessageBegin('getCountForFlipkartItems', TMessageType.CALL, self._seqid)
6014
    args = getCountForFlipkartItems_args()
6015
    args.write(self._oprot)
6016
    self._oprot.writeMessageEnd()
6017
    self._oprot.trans.flush()
6018
 
6019
  def recv_getCountForFlipkartItems(self, ):
6020
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6021
    if mtype == TMessageType.EXCEPTION:
6022
      x = TApplicationException()
6023
      x.read(self._iprot)
6024
      self._iprot.readMessageEnd()
6025
      raise x
6026
    result = getCountForFlipkartItems_result()
6027
    result.read(self._iprot)
6028
    self._iprot.readMessageEnd()
6029
    if result.success is not None:
6030
      return result.success
6031
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForFlipkartItems failed: unknown result");
6032
 
6033
  def getFlipkartSearchResultCount(self, searchTerm):
6034
    """
6035
    Parameters:
6036
     - searchTerm
6037
    """
6038
    self.send_getFlipkartSearchResultCount(searchTerm)
6039
    return self.recv_getFlipkartSearchResultCount()
6040
 
6041
  def send_getFlipkartSearchResultCount(self, searchTerm):
6042
    self._oprot.writeMessageBegin('getFlipkartSearchResultCount', TMessageType.CALL, self._seqid)
6043
    args = getFlipkartSearchResultCount_args()
6044
    args.searchTerm = searchTerm
6045
    args.write(self._oprot)
6046
    self._oprot.writeMessageEnd()
6047
    self._oprot.trans.flush()
6048
 
6049
  def recv_getFlipkartSearchResultCount(self, ):
6050
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6051
    if mtype == TMessageType.EXCEPTION:
6052
      x = TApplicationException()
6053
      x.read(self._iprot)
6054
      self._iprot.readMessageEnd()
6055
      raise x
6056
    result = getFlipkartSearchResultCount_result()
6057
    result.read(self._iprot)
6058
    self._iprot.readMessageEnd()
6059
    if result.success is not None:
6060
      return result.success
6061
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartSearchResultCount failed: unknown result");
6062
 
6063
  def getAllFkItems(self, ):
6064
    self.send_getAllFkItems()
6065
    return self.recv_getAllFkItems()
6066
 
6067
  def send_getAllFkItems(self, ):
6068
    self._oprot.writeMessageBegin('getAllFkItems', TMessageType.CALL, self._seqid)
6069
    args = getAllFkItems_args()
6070
    args.write(self._oprot)
6071
    self._oprot.writeMessageEnd()
6072
    self._oprot.trans.flush()
6073
 
6074
  def recv_getAllFkItems(self, ):
6075
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6076
    if mtype == TMessageType.EXCEPTION:
6077
      x = TApplicationException()
6078
      x.read(self._iprot)
6079
      self._iprot.readMessageEnd()
6080
      raise x
6081
    result = getAllFkItems_result()
6082
    result.read(self._iprot)
6083
    self._iprot.readMessageEnd()
6084
    if result.success is not None:
6085
      return result.success
6086
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFkItems failed: unknown result");
6087
 
10140 vikram.rag 6088
  def getFlipkartItemBySkyAtFlipkart(self, sku):
6089
    """
6090
    Parameters:
6091
     - sku
6092
    """
6093
    self.send_getFlipkartItemBySkyAtFlipkart(sku)
6094
    return self.recv_getFlipkartItemBySkyAtFlipkart()
10097 kshitij.so 6095
 
10140 vikram.rag 6096
  def send_getFlipkartItemBySkyAtFlipkart(self, sku):
6097
    self._oprot.writeMessageBegin('getFlipkartItemBySkyAtFlipkart', TMessageType.CALL, self._seqid)
6098
    args = getFlipkartItemBySkyAtFlipkart_args()
6099
    args.sku = sku
6100
    args.write(self._oprot)
6101
    self._oprot.writeMessageEnd()
6102
    self._oprot.trans.flush()
6103
 
6104
  def recv_getFlipkartItemBySkyAtFlipkart(self, ):
6105
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6106
    if mtype == TMessageType.EXCEPTION:
6107
      x = TApplicationException()
6108
      x.read(self._iprot)
6109
      self._iprot.readMessageEnd()
6110
      raise x
6111
    result = getFlipkartItemBySkyAtFlipkart_result()
6112
    result.read(self._iprot)
6113
    self._iprot.readMessageEnd()
6114
    if result.success is not None:
6115
      return result.success
6116
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemBySkyAtFlipkart failed: unknown result");
6117
 
11015 kshitij.so 6118
  def getMarketplaceHistory(self, source, offset, itemId):
6119
    """
6120
    Parameters:
6121
     - source
6122
     - offset
6123
     - itemId
6124
    """
6125
    self.send_getMarketplaceHistory(source, offset, itemId)
6126
    return self.recv_getMarketplaceHistory()
6127
 
6128
  def send_getMarketplaceHistory(self, source, offset, itemId):
6129
    self._oprot.writeMessageBegin('getMarketplaceHistory', TMessageType.CALL, self._seqid)
6130
    args = getMarketplaceHistory_args()
6131
    args.source = source
6132
    args.offset = offset
6133
    args.itemId = itemId
6134
    args.write(self._oprot)
6135
    self._oprot.writeMessageEnd()
6136
    self._oprot.trans.flush()
6137
 
6138
  def recv_getMarketplaceHistory(self, ):
6139
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6140
    if mtype == TMessageType.EXCEPTION:
6141
      x = TApplicationException()
6142
      x.read(self._iprot)
6143
      self._iprot.readMessageEnd()
6144
      raise x
6145
    result = getMarketplaceHistory_result()
6146
    result.read(self._iprot)
6147
    self._iprot.readMessageEnd()
6148
    if result.success is not None:
6149
      return result.success
6150
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistory failed: unknown result");
6151
 
10909 vikram.rag 6152
  def getAllFbbListedItems(self, ):
6153
    self.send_getAllFbbListedItems()
6154
    return self.recv_getAllFbbListedItems()
10140 vikram.rag 6155
 
10909 vikram.rag 6156
  def send_getAllFbbListedItems(self, ):
6157
    self._oprot.writeMessageBegin('getAllFbbListedItems', TMessageType.CALL, self._seqid)
6158
    args = getAllFbbListedItems_args()
6159
    args.write(self._oprot)
6160
    self._oprot.writeMessageEnd()
6161
    self._oprot.trans.flush()
6162
 
6163
  def recv_getAllFbbListedItems(self, ):
6164
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6165
    if mtype == TMessageType.EXCEPTION:
6166
      x = TApplicationException()
6167
      x.read(self._iprot)
6168
      self._iprot.readMessageEnd()
6169
      raise x
6170
    result = getAllFbbListedItems_result()
6171
    result.read(self._iprot)
6172
    self._iprot.readMessageEnd()
6173
    if result.success is not None:
6174
      return result.success
6175
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbListedItems failed: unknown result");
6176
 
10924 vikram.rag 6177
  def getAllFbbPricingItems(self, ):
6178
    self.send_getAllFbbPricingItems()
6179
    return self.recv_getAllFbbPricingItems()
10909 vikram.rag 6180
 
10924 vikram.rag 6181
  def send_getAllFbbPricingItems(self, ):
6182
    self._oprot.writeMessageBegin('getAllFbbPricingItems', TMessageType.CALL, self._seqid)
6183
    args = getAllFbbPricingItems_args()
6184
    args.write(self._oprot)
6185
    self._oprot.writeMessageEnd()
6186
    self._oprot.trans.flush()
6187
 
6188
  def recv_getAllFbbPricingItems(self, ):
6189
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6190
    if mtype == TMessageType.EXCEPTION:
6191
      x = TApplicationException()
6192
      x.read(self._iprot)
6193
      self._iprot.readMessageEnd()
6194
      raise x
6195
    result = getAllFbbPricingItems_result()
6196
    result.read(self._iprot)
6197
    self._iprot.readMessageEnd()
6198
    if result.success is not None:
6199
      return result.success
6200
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbPricingItems failed: unknown result");
6201
 
11015 kshitij.so 6202
  def getCountForMarketplaceHistory(self, source, itemId):
6203
    """
6204
    Parameters:
6205
     - source
6206
     - itemId
6207
    """
6208
    self.send_getCountForMarketplaceHistory(source, itemId)
6209
    return self.recv_getCountForMarketplaceHistory()
10924 vikram.rag 6210
 
11015 kshitij.so 6211
  def send_getCountForMarketplaceHistory(self, source, itemId):
6212
    self._oprot.writeMessageBegin('getCountForMarketplaceHistory', TMessageType.CALL, self._seqid)
6213
    args = getCountForMarketplaceHistory_args()
6214
    args.source = source
6215
    args.itemId = itemId
6216
    args.write(self._oprot)
6217
    self._oprot.writeMessageEnd()
6218
    self._oprot.trans.flush()
6219
 
6220
  def recv_getCountForMarketplaceHistory(self, ):
6221
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6222
    if mtype == TMessageType.EXCEPTION:
6223
      x = TApplicationException()
6224
      x.read(self._iprot)
6225
      self._iprot.readMessageEnd()
6226
      raise x
6227
    result = getCountForMarketplaceHistory_result()
6228
    result.read(self._iprot)
6229
    self._iprot.readMessageEnd()
6230
    if result.success is not None:
6231
      return result.success
6232
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForMarketplaceHistory failed: unknown result");
6233
 
6234
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6235
    """
6236
    Parameters:
6237
     - source
6238
     - startDate
6239
     - endDate
6240
     - offset
6241
     - limit
6242
     - itemId
6243
    """
6244
    self.send_getMarketplaceHistoryByDate(source, startDate, endDate, offset, limit, itemId)
6245
    return self.recv_getMarketplaceHistoryByDate()
6246
 
6247
  def send_getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6248
    self._oprot.writeMessageBegin('getMarketplaceHistoryByDate', TMessageType.CALL, self._seqid)
6249
    args = getMarketplaceHistoryByDate_args()
6250
    args.source = source
6251
    args.startDate = startDate
6252
    args.endDate = endDate
6253
    args.offset = offset
6254
    args.limit = limit
6255
    args.itemId = itemId
6256
    args.write(self._oprot)
6257
    self._oprot.writeMessageEnd()
6258
    self._oprot.trans.flush()
6259
 
6260
  def recv_getMarketplaceHistoryByDate(self, ):
6261
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6262
    if mtype == TMessageType.EXCEPTION:
6263
      x = TApplicationException()
6264
      x.read(self._iprot)
6265
      self._iprot.readMessageEnd()
6266
      raise x
6267
    result = getMarketplaceHistoryByDate_result()
6268
    result.read(self._iprot)
6269
    self._iprot.readMessageEnd()
6270
    if result.success is not None:
6271
      return result.success
6272
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistoryByDate failed: unknown result");
6273
 
11531 vikram.rag 6274
  def getPrivateDealDetails(self, item_id):
6275
    """
6276
    Parameters:
6277
     - item_id
6278
    """
6279
    self.send_getPrivateDealDetails(item_id)
6280
    return self.recv_getPrivateDealDetails()
11015 kshitij.so 6281
 
11531 vikram.rag 6282
  def send_getPrivateDealDetails(self, item_id):
6283
    self._oprot.writeMessageBegin('getPrivateDealDetails', TMessageType.CALL, self._seqid)
6284
    args = getPrivateDealDetails_args()
6285
    args.item_id = item_id
6286
    args.write(self._oprot)
6287
    self._oprot.writeMessageEnd()
6288
    self._oprot.trans.flush()
6289
 
6290
  def recv_getPrivateDealDetails(self, ):
6291
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6292
    if mtype == TMessageType.EXCEPTION:
6293
      x = TApplicationException()
6294
      x.read(self._iprot)
6295
      self._iprot.readMessageEnd()
6296
      raise x
6297
    result = getPrivateDealDetails_result()
6298
    result.read(self._iprot)
6299
    self._iprot.readMessageEnd()
6300
    if result.success is not None:
6301
      return result.success
6302
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealDetails failed: unknown result");
6303
 
6304
  def getPrivateDealItems(self, offset, limit):
6305
    """
6306
    Parameters:
6307
     - offset
6308
     - limit
6309
    """
6310
    self.send_getPrivateDealItems(offset, limit)
6311
    return self.recv_getPrivateDealItems()
6312
 
6313
  def send_getPrivateDealItems(self, offset, limit):
6314
    self._oprot.writeMessageBegin('getPrivateDealItems', TMessageType.CALL, self._seqid)
6315
    args = getPrivateDealItems_args()
6316
    args.offset = offset
6317
    args.limit = limit
6318
    args.write(self._oprot)
6319
    self._oprot.writeMessageEnd()
6320
    self._oprot.trans.flush()
6321
 
6322
  def recv_getPrivateDealItems(self, ):
6323
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6324
    if mtype == TMessageType.EXCEPTION:
6325
      x = TApplicationException()
6326
      x.read(self._iprot)
6327
      self._iprot.readMessageEnd()
6328
      raise x
6329
    result = getPrivateDealItems_result()
6330
    result.read(self._iprot)
6331
    self._iprot.readMessageEnd()
6332
    if result.success is not None:
6333
      return result.success
6334
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealItems failed: unknown result");
6335
 
11653 amit.gupta 6336
  def getAllActivePrivateDeals(self, itemIds, daysDelta):
6337
    """
6338
    Parameters:
6339
     - itemIds
6340
     - daysDelta
6341
    """
6342
    self.send_getAllActivePrivateDeals(itemIds, daysDelta)
11592 amit.gupta 6343
    return self.recv_getAllActivePrivateDeals()
6344
 
11653 amit.gupta 6345
  def send_getAllActivePrivateDeals(self, itemIds, daysDelta):
11592 amit.gupta 6346
    self._oprot.writeMessageBegin('getAllActivePrivateDeals', TMessageType.CALL, self._seqid)
6347
    args = getAllActivePrivateDeals_args()
11653 amit.gupta 6348
    args.itemIds = itemIds
6349
    args.daysDelta = daysDelta
11592 amit.gupta 6350
    args.write(self._oprot)
6351
    self._oprot.writeMessageEnd()
6352
    self._oprot.trans.flush()
6353
 
6354
  def recv_getAllActivePrivateDeals(self, ):
6355
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6356
    if mtype == TMessageType.EXCEPTION:
6357
      x = TApplicationException()
6358
      x.read(self._iprot)
6359
      self._iprot.readMessageEnd()
6360
      raise x
6361
    result = getAllActivePrivateDeals_result()
6362
    result.read(self._iprot)
6363
    self._iprot.readMessageEnd()
6364
    if result.success is not None:
6365
      return result.success
6366
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllActivePrivateDeals failed: unknown result");
6367
 
11531 vikram.rag 6368
  def addOrUpdatePrivateDeal(self, privateDeal):
6369
    """
6370
    Parameters:
6371
     - privateDeal
6372
    """
6373
    self.send_addOrUpdatePrivateDeal(privateDeal)
6374
    return self.recv_addOrUpdatePrivateDeal()
6375
 
6376
  def send_addOrUpdatePrivateDeal(self, privateDeal):
6377
    self._oprot.writeMessageBegin('addOrUpdatePrivateDeal', TMessageType.CALL, self._seqid)
6378
    args = addOrUpdatePrivateDeal_args()
6379
    args.privateDeal = privateDeal
6380
    args.write(self._oprot)
6381
    self._oprot.writeMessageEnd()
6382
    self._oprot.trans.flush()
6383
 
6384
  def recv_addOrUpdatePrivateDeal(self, ):
6385
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6386
    if mtype == TMessageType.EXCEPTION:
6387
      x = TApplicationException()
6388
      x.read(self._iprot)
6389
      self._iprot.readMessageEnd()
6390
      raise x
6391
    result = addOrUpdatePrivateDeal_result()
6392
    result.read(self._iprot)
6393
    self._iprot.readMessageEnd()
6394
    if result.success is not None:
6395
      return result.success
6396
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdatePrivateDeal failed: unknown result");
6397
 
11635 vikram.rag 6398
  def getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6399
    """
6400
    Parameters:
6401
     - beginIndex
6402
     - totalItems
6403
    """
6404
    self.send_getPrivateDealsCatalogIds(beginIndex, totalItems)
6405
    return self.recv_getPrivateDealsCatalogIds()
11531 vikram.rag 6406
 
11635 vikram.rag 6407
  def send_getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6408
    self._oprot.writeMessageBegin('getPrivateDealsCatalogIds', TMessageType.CALL, self._seqid)
6409
    args = getPrivateDealsCatalogIds_args()
6410
    args.beginIndex = beginIndex
6411
    args.totalItems = totalItems
6412
    args.write(self._oprot)
6413
    self._oprot.writeMessageEnd()
6414
    self._oprot.trans.flush()
6415
 
6416
  def recv_getPrivateDealsCatalogIds(self, ):
6417
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6418
    if mtype == TMessageType.EXCEPTION:
6419
      x = TApplicationException()
6420
      x.read(self._iprot)
6421
      self._iprot.readMessageEnd()
6422
      raise x
6423
    result = getPrivateDealsCatalogIds_result()
6424
    result.read(self._iprot)
6425
    self._iprot.readMessageEnd()
6426
    if result.success is not None:
6427
      return result.success
6428
    if result.cex is not None:
6429
      raise result.cex
6430
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCatalogIds failed: unknown result");
6431
 
11645 amit.gupta 6432
  def getPrivateDealsCount(self, ):
6433
    self.send_getPrivateDealsCount()
6434
    return self.recv_getPrivateDealsCount()
11635 vikram.rag 6435
 
11645 amit.gupta 6436
  def send_getPrivateDealsCount(self, ):
6437
    self._oprot.writeMessageBegin('getPrivateDealsCount', TMessageType.CALL, self._seqid)
6438
    args = getPrivateDealsCount_args()
6439
    args.write(self._oprot)
6440
    self._oprot.writeMessageEnd()
6441
    self._oprot.trans.flush()
6442
 
6443
  def recv_getPrivateDealsCount(self, ):
6444
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6445
    if mtype == TMessageType.EXCEPTION:
6446
      x = TApplicationException()
6447
      x.read(self._iprot)
6448
      self._iprot.readMessageEnd()
6449
      raise x
6450
    result = getPrivateDealsCount_result()
6451
    result.read(self._iprot)
6452
    self._iprot.readMessageEnd()
6453
    if result.success is not None:
6454
      return result.success
6455
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCount failed: unknown result");
6456
 
11905 kshitij.so 6457
  def getAmazonOutSyncItems(self, item_id):
6458
    """
6459
    Parameters:
6460
     - item_id
6461
    """
6462
    self.send_getAmazonOutSyncItems(item_id)
6463
    return self.recv_getAmazonOutSyncItems()
11645 amit.gupta 6464
 
11905 kshitij.so 6465
  def send_getAmazonOutSyncItems(self, item_id):
6466
    self._oprot.writeMessageBegin('getAmazonOutSyncItems', TMessageType.CALL, self._seqid)
6467
    args = getAmazonOutSyncItems_args()
6468
    args.item_id = item_id
6469
    args.write(self._oprot)
6470
    self._oprot.writeMessageEnd()
6471
    self._oprot.trans.flush()
6472
 
6473
  def recv_getAmazonOutSyncItems(self, ):
6474
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6475
    if mtype == TMessageType.EXCEPTION:
6476
      x = TApplicationException()
6477
      x.read(self._iprot)
6478
      self._iprot.readMessageEnd()
6479
      raise x
6480
    result = getAmazonOutSyncItems_result()
6481
    result.read(self._iprot)
6482
    self._iprot.readMessageEnd()
6483
    if result.success is not None:
6484
      return result.success
6485
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonOutSyncItems failed: unknown result");
6486
 
6487
  def getAllPrivateDealsComparison(self, ):
6488
    self.send_getAllPrivateDealsComparison()
6489
    return self.recv_getAllPrivateDealsComparison()
6490
 
6491
  def send_getAllPrivateDealsComparison(self, ):
6492
    self._oprot.writeMessageBegin('getAllPrivateDealsComparison', TMessageType.CALL, self._seqid)
6493
    args = getAllPrivateDealsComparison_args()
6494
    args.write(self._oprot)
6495
    self._oprot.writeMessageEnd()
6496
    self._oprot.trans.flush()
6497
 
6498
  def recv_getAllPrivateDealsComparison(self, ):
6499
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6500
    if mtype == TMessageType.EXCEPTION:
6501
      x = TApplicationException()
6502
      x.read(self._iprot)
6503
      self._iprot.readMessageEnd()
6504
      raise x
6505
    result = getAllPrivateDealsComparison_result()
6506
    result.read(self._iprot)
6507
    self._iprot.readMessageEnd()
6508
    if result.success is not None:
6509
      return result.success
6510
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllPrivateDealsComparison failed: unknown result");
6511
 
12133 kshitij.so 6512
  def getAllSnapdealMarketplaceItem(self, ):
6513
    self.send_getAllSnapdealMarketplaceItem()
6514
    return self.recv_getAllSnapdealMarketplaceItem()
11905 kshitij.so 6515
 
12133 kshitij.so 6516
  def send_getAllSnapdealMarketplaceItem(self, ):
6517
    self._oprot.writeMessageBegin('getAllSnapdealMarketplaceItem', TMessageType.CALL, self._seqid)
6518
    args = getAllSnapdealMarketplaceItem_args()
6519
    args.write(self._oprot)
6520
    self._oprot.writeMessageEnd()
6521
    self._oprot.trans.flush()
6522
 
6523
  def recv_getAllSnapdealMarketplaceItem(self, ):
6524
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6525
    if mtype == TMessageType.EXCEPTION:
6526
      x = TApplicationException()
6527
      x.read(self._iprot)
6528
      self._iprot.readMessageEnd()
6529
      raise x
6530
    result = getAllSnapdealMarketplaceItem_result()
6531
    result.read(self._iprot)
6532
    self._iprot.readMessageEnd()
6533
    if result.success is not None:
6534
      return result.success
6535
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealMarketplaceItem failed: unknown result");
6536
 
6537
  def getAllFlipkartMarketplaceItem(self, ):
6538
    self.send_getAllFlipkartMarketplaceItem()
6539
    return self.recv_getAllFlipkartMarketplaceItem()
6540
 
6541
  def send_getAllFlipkartMarketplaceItem(self, ):
6542
    self._oprot.writeMessageBegin('getAllFlipkartMarketplaceItem', TMessageType.CALL, self._seqid)
6543
    args = getAllFlipkartMarketplaceItem_args()
6544
    args.write(self._oprot)
6545
    self._oprot.writeMessageEnd()
6546
    self._oprot.trans.flush()
6547
 
6548
  def recv_getAllFlipkartMarketplaceItem(self, ):
6549
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6550
    if mtype == TMessageType.EXCEPTION:
6551
      x = TApplicationException()
6552
      x.read(self._iprot)
6553
      self._iprot.readMessageEnd()
6554
      raise x
6555
    result = getAllFlipkartMarketplaceItem_result()
6556
    result.read(self._iprot)
6557
    self._iprot.readMessageEnd()
6558
    if result.success is not None:
6559
      return result.success
6560
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartMarketplaceItem failed: unknown result");
6561
 
12243 kshitij.so 6562
  def addCompetitorScraping(self, competitorPricingMap):
6563
    """
6564
    Parameters:
6565
     - competitorPricingMap
6566
    """
6567
    self.send_addCompetitorScraping(competitorPricingMap)
6568
    self.recv_addCompetitorScraping()
12133 kshitij.so 6569
 
12243 kshitij.so 6570
  def send_addCompetitorScraping(self, competitorPricingMap):
6571
    self._oprot.writeMessageBegin('addCompetitorScraping', TMessageType.CALL, self._seqid)
6572
    args = addCompetitorScraping_args()
6573
    args.competitorPricingMap = competitorPricingMap
6574
    args.write(self._oprot)
6575
    self._oprot.writeMessageEnd()
6576
    self._oprot.trans.flush()
6577
 
6578
  def recv_addCompetitorScraping(self, ):
6579
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6580
    if mtype == TMessageType.EXCEPTION:
6581
      x = TApplicationException()
6582
      x.read(self._iprot)
6583
      self._iprot.readMessageEnd()
6584
      raise x
6585
    result = addCompetitorScraping_result()
6586
    result.read(self._iprot)
6587
    self._iprot.readMessageEnd()
6588
    return
6589
 
6590
  def getPreviousCompetitorScraping(self, delta):
6591
    """
6592
    Parameters:
6593
     - delta
6594
    """
6595
    self.send_getPreviousCompetitorScraping(delta)
6596
    return self.recv_getPreviousCompetitorScraping()
6597
 
6598
  def send_getPreviousCompetitorScraping(self, delta):
6599
    self._oprot.writeMessageBegin('getPreviousCompetitorScraping', TMessageType.CALL, self._seqid)
6600
    args = getPreviousCompetitorScraping_args()
6601
    args.delta = delta
6602
    args.write(self._oprot)
6603
    self._oprot.writeMessageEnd()
6604
    self._oprot.trans.flush()
6605
 
6606
  def recv_getPreviousCompetitorScraping(self, ):
6607
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6608
    if mtype == TMessageType.EXCEPTION:
6609
      x = TApplicationException()
6610
      x.read(self._iprot)
6611
      self._iprot.readMessageEnd()
6612
      raise x
6613
    result = getPreviousCompetitorScraping_result()
6614
    result.read(self._iprot)
6615
    self._iprot.readMessageEnd()
6616
    if result.success is not None:
6617
      return result.success
6618
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPreviousCompetitorScraping failed: unknown result");
6619
 
12256 kshitij.so 6620
  def getUploadResultById(self, uploadId):
6621
    """
6622
    Parameters:
6623
     - uploadId
6624
    """
6625
    self.send_getUploadResultById(uploadId)
6626
    return self.recv_getUploadResultById()
12243 kshitij.so 6627
 
12256 kshitij.so 6628
  def send_getUploadResultById(self, uploadId):
6629
    self._oprot.writeMessageBegin('getUploadResultById', TMessageType.CALL, self._seqid)
6630
    args = getUploadResultById_args()
6631
    args.uploadId = uploadId
6632
    args.write(self._oprot)
6633
    self._oprot.writeMessageEnd()
6634
    self._oprot.trans.flush()
6635
 
6636
  def recv_getUploadResultById(self, ):
6637
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6638
    if mtype == TMessageType.EXCEPTION:
6639
      x = TApplicationException()
6640
      x.read(self._iprot)
6641
      self._iprot.readMessageEnd()
6642
      raise x
6643
    result = getUploadResultById_result()
6644
    result.read(self._iprot)
6645
    self._iprot.readMessageEnd()
6646
    if result.success is not None:
6647
      return result.success
6648
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUploadResultById failed: unknown result");
6649
 
12363 kshitij.so 6650
  def addAmazonPromotion(self, amazonPromotions):
6651
    """
6652
    Parameters:
6653
     - amazonPromotions
6654
    """
6655
    self.send_addAmazonPromotion(amazonPromotions)
6656
    return self.recv_addAmazonPromotion()
12256 kshitij.so 6657
 
12363 kshitij.so 6658
  def send_addAmazonPromotion(self, amazonPromotions):
6659
    self._oprot.writeMessageBegin('addAmazonPromotion', TMessageType.CALL, self._seqid)
6660
    args = addAmazonPromotion_args()
6661
    args.amazonPromotions = amazonPromotions
6662
    args.write(self._oprot)
6663
    self._oprot.writeMessageEnd()
6664
    self._oprot.trans.flush()
6665
 
6666
  def recv_addAmazonPromotion(self, ):
6667
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6668
    if mtype == TMessageType.EXCEPTION:
6669
      x = TApplicationException()
6670
      x.read(self._iprot)
6671
      self._iprot.readMessageEnd()
6672
      raise x
6673
    result = addAmazonPromotion_result()
6674
    result.read(self._iprot)
6675
    self._iprot.readMessageEnd()
6676
    if result.success is not None:
6677
      return result.success
12947 kshitij.so 6678
    if result.cex is not None:
6679
      raise result.cex
12363 kshitij.so 6680
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAmazonPromotion failed: unknown result");
6681
 
6682
  def getAmazonPromotion(self, startDate, endDate):
6683
    """
6684
    Parameters:
6685
     - startDate
6686
     - endDate
6687
    """
6688
    self.send_getAmazonPromotion(startDate, endDate)
6689
    return self.recv_getAmazonPromotion()
6690
 
6691
  def send_getAmazonPromotion(self, startDate, endDate):
6692
    self._oprot.writeMessageBegin('getAmazonPromotion', TMessageType.CALL, self._seqid)
6693
    args = getAmazonPromotion_args()
6694
    args.startDate = startDate
6695
    args.endDate = endDate
6696
    args.write(self._oprot)
6697
    self._oprot.writeMessageEnd()
6698
    self._oprot.trans.flush()
6699
 
6700
  def recv_getAmazonPromotion(self, ):
6701
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6702
    if mtype == TMessageType.EXCEPTION:
6703
      x = TApplicationException()
6704
      x.read(self._iprot)
6705
      self._iprot.readMessageEnd()
6706
      raise x
6707
    result = getAmazonPromotion_result()
6708
    result.read(self._iprot)
6709
    self._iprot.readMessageEnd()
6710
    if result.success is not None:
6711
      return result.success
6712
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonPromotion failed: unknown result");
6713
 
6714
  def updateAmazonPromotion(self, amazonPromotions):
6715
    """
6716
    Parameters:
6717
     - amazonPromotions
6718
    """
6719
    self.send_updateAmazonPromotion(amazonPromotions)
6720
    return self.recv_updateAmazonPromotion()
6721
 
6722
  def send_updateAmazonPromotion(self, amazonPromotions):
6723
    self._oprot.writeMessageBegin('updateAmazonPromotion', TMessageType.CALL, self._seqid)
6724
    args = updateAmazonPromotion_args()
6725
    args.amazonPromotions = amazonPromotions
6726
    args.write(self._oprot)
6727
    self._oprot.writeMessageEnd()
6728
    self._oprot.trans.flush()
6729
 
6730
  def recv_updateAmazonPromotion(self, ):
6731
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6732
    if mtype == TMessageType.EXCEPTION:
6733
      x = TApplicationException()
6734
      x.read(self._iprot)
6735
      self._iprot.readMessageEnd()
6736
      raise x
6737
    result = updateAmazonPromotion_result()
6738
    result.read(self._iprot)
6739
    self._iprot.readMessageEnd()
6740
    if result.success is not None:
6741
      return result.success
6742
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonPromotion failed: unknown result");
6743
 
12567 amit.gupta 6744
  def markPartiallyActive(self, itemId, categoryId):
6745
    """
6746
    Parameters:
6747
     - itemId
6748
     - categoryId
6749
    """
6750
    self.send_markPartiallyActive(itemId, categoryId)
6751
    return self.recv_markPartiallyActive()
12363 kshitij.so 6752
 
12567 amit.gupta 6753
  def send_markPartiallyActive(self, itemId, categoryId):
6754
    self._oprot.writeMessageBegin('markPartiallyActive', TMessageType.CALL, self._seqid)
6755
    args = markPartiallyActive_args()
6756
    args.itemId = itemId
6757
    args.categoryId = categoryId
6758
    args.write(self._oprot)
6759
    self._oprot.writeMessageEnd()
6760
    self._oprot.trans.flush()
6761
 
6762
  def recv_markPartiallyActive(self, ):
6763
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6764
    if mtype == TMessageType.EXCEPTION:
6765
      x = TApplicationException()
6766
      x.read(self._iprot)
6767
      self._iprot.readMessageEnd()
6768
      raise x
6769
    result = markPartiallyActive_result()
6770
    result.read(self._iprot)
6771
    self._iprot.readMessageEnd()
6772
    if result.success is not None:
6773
      return result.success
6774
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markPartiallyActive failed: unknown result");
6775
 
6776
  def updateItemStateVat(self, itemId, statevat):
6777
    """
6778
    Parameters:
6779
     - itemId
6780
     - statevat
6781
    """
6782
    self.send_updateItemStateVat(itemId, statevat)
6783
    return self.recv_updateItemStateVat()
6784
 
6785
  def send_updateItemStateVat(self, itemId, statevat):
6786
    self._oprot.writeMessageBegin('updateItemStateVat', TMessageType.CALL, self._seqid)
6787
    args = updateItemStateVat_args()
6788
    args.itemId = itemId
6789
    args.statevat = statevat
6790
    args.write(self._oprot)
6791
    self._oprot.writeMessageEnd()
6792
    self._oprot.trans.flush()
6793
 
6794
  def recv_updateItemStateVat(self, ):
6795
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6796
    if mtype == TMessageType.EXCEPTION:
6797
      x = TApplicationException()
6798
      x.read(self._iprot)
6799
      self._iprot.readMessageEnd()
6800
      raise x
6801
    result = updateItemStateVat_result()
6802
    result.read(self._iprot)
6803
    self._iprot.readMessageEnd()
6804
    if result.success is not None:
6805
      return result.success
6806
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemStateVat failed: unknown result");
6807
 
12620 amit.gupta 6808
  def getExAffiliateItemInfo(self, ):
6809
    self.send_getExAffiliateItemInfo()
6810
    return self.recv_getExAffiliateItemInfo()
12567 amit.gupta 6811
 
12620 amit.gupta 6812
  def send_getExAffiliateItemInfo(self, ):
6813
    self._oprot.writeMessageBegin('getExAffiliateItemInfo', TMessageType.CALL, self._seqid)
6814
    args = getExAffiliateItemInfo_args()
6815
    args.write(self._oprot)
6816
    self._oprot.writeMessageEnd()
6817
    self._oprot.trans.flush()
6818
 
6819
  def recv_getExAffiliateItemInfo(self, ):
6820
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6821
    if mtype == TMessageType.EXCEPTION:
6822
      x = TApplicationException()
6823
      x.read(self._iprot)
6824
      self._iprot.readMessageEnd()
6825
      raise x
6826
    result = getExAffiliateItemInfo_result()
6827
    result.read(self._iprot)
6828
    self._iprot.readMessageEnd()
6829
    if result.success is not None:
6830
      return result.success
6831
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getExAffiliateItemInfo failed: unknown result");
6832
 
12888 kshitij.so 6833
  def getAllItemstoListOnFbg(self, ):
6834
    self.send_getAllItemstoListOnFbg()
6835
    return self.recv_getAllItemstoListOnFbg()
12620 amit.gupta 6836
 
12888 kshitij.so 6837
  def send_getAllItemstoListOnFbg(self, ):
6838
    self._oprot.writeMessageBegin('getAllItemstoListOnFbg', TMessageType.CALL, self._seqid)
6839
    args = getAllItemstoListOnFbg_args()
6840
    args.write(self._oprot)
6841
    self._oprot.writeMessageEnd()
6842
    self._oprot.trans.flush()
6843
 
6844
  def recv_getAllItemstoListOnFbg(self, ):
6845
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6846
    if mtype == TMessageType.EXCEPTION:
6847
      x = TApplicationException()
6848
      x.read(self._iprot)
6849
      self._iprot.readMessageEnd()
6850
      raise x
6851
    result = getAllItemstoListOnFbg_result()
6852
    result.read(self._iprot)
6853
    self._iprot.readMessageEnd()
6854
    if result.success is not None:
6855
      return result.success
6856
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFbg failed: unknown result");
6857
 
12892 kshitij.so 6858
  def getAllFbgListedItems(self, ):
6859
    self.send_getAllFbgListedItems()
6860
    return self.recv_getAllFbgListedItems()
12888 kshitij.so 6861
 
12892 kshitij.so 6862
  def send_getAllFbgListedItems(self, ):
6863
    self._oprot.writeMessageBegin('getAllFbgListedItems', TMessageType.CALL, self._seqid)
6864
    args = getAllFbgListedItems_args()
6865
    args.write(self._oprot)
6866
    self._oprot.writeMessageEnd()
6867
    self._oprot.trans.flush()
6868
 
6869
  def recv_getAllFbgListedItems(self, ):
6870
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6871
    if mtype == TMessageType.EXCEPTION:
6872
      x = TApplicationException()
6873
      x.read(self._iprot)
6874
      self._iprot.readMessageEnd()
6875
      raise x
6876
    result = getAllFbgListedItems_result()
6877
    result.read(self._iprot)
6878
    self._iprot.readMessageEnd()
6879
    if result.success is not None:
6880
      return result.success
6881
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbgListedItems failed: unknown result");
6882
 
13136 amit.gupta 6883
  def checkServices(self, lines):
6884
    """
6885
    Parameters:
6886
     - lines
6887
    """
6888
    self.send_checkServices(lines)
6889
    return self.recv_checkServices()
12892 kshitij.so 6890
 
13136 amit.gupta 6891
  def send_checkServices(self, lines):
6892
    self._oprot.writeMessageBegin('checkServices', TMessageType.CALL, self._seqid)
6893
    args = checkServices_args()
6894
    args.lines = lines
6895
    args.write(self._oprot)
6896
    self._oprot.writeMessageEnd()
6897
    self._oprot.trans.flush()
6898
 
6899
  def recv_checkServices(self, ):
6900
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6901
    if mtype == TMessageType.EXCEPTION:
6902
      x = TApplicationException()
6903
      x.read(self._iprot)
6904
      self._iprot.readMessageEnd()
6905
      raise x
6906
    result = checkServices_result()
6907
    result.read(self._iprot)
6908
    self._iprot.readMessageEnd()
6909
    if result.success is not None:
6910
      return result.success
6911
    if result.cex is not None:
6912
      raise result.cex
6913
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkServices failed: unknown result");
6914
 
13709 manish.sha 6915
  def addHsItem(self, hsItems):
6916
    """
6917
    Parameters:
6918
     - hsItems
6919
    """
6920
    self.send_addHsItem(hsItems)
6921
    self.recv_addHsItem()
13136 amit.gupta 6922
 
13709 manish.sha 6923
  def send_addHsItem(self, hsItems):
6924
    self._oprot.writeMessageBegin('addHsItem', TMessageType.CALL, self._seqid)
6925
    args = addHsItem_args()
6926
    args.hsItems = hsItems
6927
    args.write(self._oprot)
6928
    self._oprot.writeMessageEnd()
6929
    self._oprot.trans.flush()
6930
 
6931
  def recv_addHsItem(self, ):
6932
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6933
    if mtype == TMessageType.EXCEPTION:
6934
      x = TApplicationException()
6935
      x.read(self._iprot)
6936
      self._iprot.readMessageEnd()
6937
      raise x
6938
    result = addHsItem_result()
6939
    result.read(self._iprot)
6940
    self._iprot.readMessageEnd()
6941
    return
6942
 
6943
  def getHsItem(self, hsItemId):
6944
    """
6945
    Parameters:
6946
     - hsItemId
6947
    """
6948
    self.send_getHsItem(hsItemId)
6949
    return self.recv_getHsItem()
6950
 
6951
  def send_getHsItem(self, hsItemId):
6952
    self._oprot.writeMessageBegin('getHsItem', TMessageType.CALL, self._seqid)
6953
    args = getHsItem_args()
6954
    args.hsItemId = hsItemId
6955
    args.write(self._oprot)
6956
    self._oprot.writeMessageEnd()
6957
    self._oprot.trans.flush()
6958
 
6959
  def recv_getHsItem(self, ):
6960
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6961
    if mtype == TMessageType.EXCEPTION:
6962
      x = TApplicationException()
6963
      x.read(self._iprot)
6964
      self._iprot.readMessageEnd()
6965
      raise x
6966
    result = getHsItem_result()
6967
    result.read(self._iprot)
6968
    self._iprot.readMessageEnd()
6969
    if result.success is not None:
6970
      return result.success
6971
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getHsItem failed: unknown result");
6972
 
6973
  def updateHsItem(self, hsItem):
6974
    """
6975
    Parameters:
6976
     - hsItem
6977
    """
6978
    self.send_updateHsItem(hsItem)
6979
    self.recv_updateHsItem()
6980
 
6981
  def send_updateHsItem(self, hsItem):
6982
    self._oprot.writeMessageBegin('updateHsItem', TMessageType.CALL, self._seqid)
6983
    args = updateHsItem_args()
6984
    args.hsItem = hsItem
6985
    args.write(self._oprot)
6986
    self._oprot.writeMessageEnd()
6987
    self._oprot.trans.flush()
6988
 
6989
  def recv_updateHsItem(self, ):
6990
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6991
    if mtype == TMessageType.EXCEPTION:
6992
      x = TApplicationException()
6993
      x.read(self._iprot)
6994
      self._iprot.readMessageEnd()
6995
      raise x
6996
    result = updateHsItem_result()
6997
    result.read(self._iprot)
6998
    self._iprot.readMessageEnd()
6999
    return
7000
 
14182 kshitij.so 7001
  def getPricingForDtr(self, catalogItemId):
7002
    """
7003
    Parameters:
7004
     - catalogItemId
7005
    """
7006
    self.send_getPricingForDtr(catalogItemId)
7007
    return self.recv_getPricingForDtr()
13709 manish.sha 7008
 
14182 kshitij.so 7009
  def send_getPricingForDtr(self, catalogItemId):
7010
    self._oprot.writeMessageBegin('getPricingForDtr', TMessageType.CALL, self._seqid)
7011
    args = getPricingForDtr_args()
7012
    args.catalogItemId = catalogItemId
7013
    args.write(self._oprot)
7014
    self._oprot.writeMessageEnd()
7015
    self._oprot.trans.flush()
7016
 
7017
  def recv_getPricingForDtr(self, ):
7018
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7019
    if mtype == TMessageType.EXCEPTION:
7020
      x = TApplicationException()
7021
      x.read(self._iprot)
7022
      self._iprot.readMessageEnd()
7023
      raise x
7024
    result = getPricingForDtr_result()
7025
    result.read(self._iprot)
7026
    self._iprot.readMessageEnd()
7027
    if result.success is not None:
7028
      return result.success
7029
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPricingForDtr failed: unknown result");
7030
 
15702 kshitij.so 7031
  def getAllItemstoListOnFbd(self, ):
7032
    self.send_getAllItemstoListOnFbd()
7033
    return self.recv_getAllItemstoListOnFbd()
14182 kshitij.so 7034
 
15702 kshitij.so 7035
  def send_getAllItemstoListOnFbd(self, ):
7036
    self._oprot.writeMessageBegin('getAllItemstoListOnFbd', TMessageType.CALL, self._seqid)
7037
    args = getAllItemstoListOnFbd_args()
7038
    args.write(self._oprot)
7039
    self._oprot.writeMessageEnd()
7040
    self._oprot.trans.flush()
7041
 
7042
  def recv_getAllItemstoListOnFbd(self, ):
7043
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7044
    if mtype == TMessageType.EXCEPTION:
7045
      x = TApplicationException()
7046
      x.read(self._iprot)
7047
      self._iprot.readMessageEnd()
7048
      raise x
7049
    result = getAllItemstoListOnFbd_result()
7050
    result.read(self._iprot)
7051
    self._iprot.readMessageEnd()
7052
    if result.success is not None:
7053
      return result.success
7054
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFbd failed: unknown result");
7055
 
7056
 
5944 mandeep.dh 7057
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
7058
  def __init__(self, handler):
7059
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
7060
    self._processMap["addItem"] = Processor.process_addItem
7061
    self._processMap["updateItem"] = Processor.process_updateItem
7062
    self._processMap["isActive"] = Processor.process_isActive
7438 amit.gupta 7063
    self._processMap["getItemsStatus"] = Processor.process_getItemsStatus
5944 mandeep.dh 7064
    self._processMap["getItemStatusDescription"] = Processor.process_getItemStatusDescription
7065
    self._processMap["startItemOn"] = Processor.process_startItemOn
7066
    self._processMap["retireItemOn"] = Processor.process_retireItemOn
7067
    self._processMap["changeItemStatus"] = Processor.process_changeItemStatus
7068
    self._processMap["getItem"] = Processor.process_getItem
13493 amit.gupta 7069
    self._processMap["getItems"] = Processor.process_getItems
5944 mandeep.dh 7070
    self._processMap["getItemsByCatalogId"] = Processor.process_getItemsByCatalogId
7071
    self._processMap["getValidItemsByCatalogId"] = Processor.process_getValidItemsByCatalogId
7072
    self._processMap["getAllItems"] = Processor.process_getAllItems
7073
    self._processMap["getAllItemsByStatus"] = Processor.process_getAllItemsByStatus
7074
    self._processMap["markItemAsContentComplete"] = Processor.process_markItemAsContentComplete
12567 amit.gupta 7075
    self._processMap["getVatRates"] = Processor.process_getVatRates
5944 mandeep.dh 7076
    self._processMap["getAllItemsInRange"] = Processor.process_getAllItemsInRange
7077
    self._processMap["getAllItemsByStatusInRange"] = Processor.process_getAllItemsByStatusInRange
7078
    self._processMap["getItemCountByStatus"] = Processor.process_getItemCountByStatus
7079
    self._processMap["getBestSellers"] = Processor.process_getBestSellers
7080
    self._processMap["getBestSellersCatalogIds"] = Processor.process_getBestSellersCatalogIds
7081
    self._processMap["getBestSellersCount"] = Processor.process_getBestSellersCount
7082
    self._processMap["getBestDeals"] = Processor.process_getBestDeals
7083
    self._processMap["getBestDealsCatalogIds"] = Processor.process_getBestDealsCatalogIds
7084
    self._processMap["getBestDealsCount"] = Processor.process_getBestDealsCount
7085
    self._processMap["getComingSoon"] = Processor.process_getComingSoon
7086
    self._processMap["getComingSoonCatalogIds"] = Processor.process_getComingSoonCatalogIds
7087
    self._processMap["getComingSoonCount"] = Processor.process_getComingSoonCount
7088
    self._processMap["getLatestArrivals"] = Processor.process_getLatestArrivals
7089
    self._processMap["getLatestArrivalsCatalogIds"] = Processor.process_getLatestArrivalsCatalogIds
7090
    self._processMap["getLatestArrivalsCount"] = Processor.process_getLatestArrivalsCount
7091
    self._processMap["generateNewEntityID"] = Processor.process_generateNewEntityID
7092
    self._processMap["addCategory"] = Processor.process_addCategory
7093
    self._processMap["getCategory"] = Processor.process_getCategory
7094
    self._processMap["getAllCategories"] = Processor.process_getAllCategories
7095
    self._processMap["getAllSimilarItems"] = Processor.process_getAllSimilarItems
7096
    self._processMap["addSimilarItem"] = Processor.process_addSimilarItem
6512 kshitij.so 7097
    self._processMap["addTag"] = Processor.process_addTag
7098
    self._processMap["deleteEntityTag"] = Processor.process_deleteEntityTag
7099
    self._processMap["deleteTag"] = Processor.process_deleteTag
7100
    self._processMap["getAllTags"] = Processor.process_getAllTags
7101
    self._processMap["getAllEntitiesByTagName"] = Processor.process_getAllEntitiesByTagName
6845 amit.gupta 7102
    self._processMap["getAllEntityTags"] = Processor.process_getAllEntityTags
6850 kshitij.so 7103
    self._processMap["addBanner"] = Processor.process_addBanner
8579 kshitij.so 7104
    self._processMap["updateBanner"] = Processor.process_updateBanner
6850 kshitij.so 7105
    self._processMap["getAllBanners"] = Processor.process_getAllBanners
7106
    self._processMap["deleteBanner"] = Processor.process_deleteBanner
7107
    self._processMap["getBannerDetails"] = Processor.process_getBannerDetails
7108
    self._processMap["getActiveBanners"] = Processor.process_getActiveBanners
6849 kshitij.so 7109
    self._processMap["addBannerMap"] = Processor.process_addBannerMap
8579 kshitij.so 7110
    self._processMap["updateBannerMap"] = Processor.process_updateBannerMap
6849 kshitij.so 7111
    self._processMap["deleteBannerMap"] = Processor.process_deleteBannerMap
7112
    self._processMap["getBannerMapDetails"] = Processor.process_getBannerMapDetails
8579 kshitij.so 7113
    self._processMap["addBannerUri"] = Processor.process_addBannerUri
7114
    self._processMap["getUriMapping"] = Processor.process_getUriMapping
7115
    self._processMap["addCampaign"] = Processor.process_addCampaign
7116
    self._processMap["getCampaigns"] = Processor.process_getCampaigns
7117
    self._processMap["deleteCampaign"] = Processor.process_deleteCampaign
7118
    self._processMap["getAllCampaigns"] = Processor.process_getAllCampaigns
9155 kshitij.so 7119
    self._processMap["getActiveBannersForMobileSite"] = Processor.process_getActiveBannersForMobileSite
5944 mandeep.dh 7120
    self._processMap["deleteSimilarItem"] = Processor.process_deleteSimilarItem
7121
    self._processMap["checkSimilarItem"] = Processor.process_checkSimilarItem
7122
    self._processMap["validateRiskyStatus"] = Processor.process_validateRiskyStatus
7123
    self._processMap["changeItemRiskyFlag"] = Processor.process_changeItemRiskyFlag
7124
    self._processMap["getItemsByRiskyFlag"] = Processor.process_getItemsByRiskyFlag
7125
    self._processMap["getItemsForMasterSheet"] = Processor.process_getItemsForMasterSheet
7126
    self._processMap["getSimilarItemsCatalogIds"] = Processor.process_getSimilarItemsCatalogIds
7127
    self._processMap["addProductNotification"] = Processor.process_addProductNotification
7128
    self._processMap["sendProductNotifications"] = Processor.process_sendProductNotifications
7129
    self._processMap["getAllBrandsByCategory"] = Processor.process_getAllBrandsByCategory
7130
    self._processMap["getAllBrands"] = Processor.process_getAllBrands
7131
    self._processMap["getAllSources"] = Processor.process_getAllSources
7132
    self._processMap["getItemPricingBySource"] = Processor.process_getItemPricingBySource
7133
    self._processMap["addSourceItemPricing"] = Processor.process_addSourceItemPricing
7134
    self._processMap["getAllSourcePricing"] = Processor.process_getAllSourcePricing
7135
    self._processMap["getItemForSource"] = Processor.process_getItemForSource
7136
    self._processMap["searchItemsInRange"] = Processor.process_searchItemsInRange
7137
    self._processMap["getSearchResultCount"] = Processor.process_getSearchResultCount
7138
    self._processMap["getProductNotifications"] = Processor.process_getProductNotifications
7139
    self._processMap["getProductNotificationRequestCount"] = Processor.process_getProductNotificationRequestCount
7140
    self._processMap["addAuthorizationLog"] = Processor.process_addAuthorizationLog
7141
    self._processMap["addupdateVoucherForItem"] = Processor.process_addupdateVoucherForItem
7142
    self._processMap["deleteVoucherForItem"] = Processor.process_deleteVoucherForItem
7143
    self._processMap["getVoucherAmount"] = Processor.process_getVoucherAmount
7144
    self._processMap["getAllItemVouchers"] = Processor.process_getAllItemVouchers
7145
    self._processMap["isValidCatalogItemId"] = Processor.process_isValidCatalogItemId
6039 amit.gupta 7146
    self._processMap["getVatPercentageForItem"] = Processor.process_getVatPercentageForItem
7147
    self._processMap["getVatAmountForItem"] = Processor.process_getVatAmountForItem
6531 vikram.rag 7148
    self._processMap["getAllIgnoredInventoryUpdateItemsList"] = Processor.process_getAllIgnoredInventoryUpdateItemsList
6821 amar.kumar 7149
    self._processMap["getAllAliveItems"] = Processor.process_getAllAliveItems
6805 anupam.sin 7150
    self._processMap["getInsuranceAmount"] = Processor.process_getInsuranceAmount
7151
    self._processMap["getInsurer"] = Processor.process_getInsurer
6838 vikram.rag 7152
    self._processMap["getAllInsurers"] = Processor.process_getAllInsurers
6962 rajveer 7153
    self._processMap["updateInsuranceDeclaredAmount"] = Processor.process_updateInsuranceDeclaredAmount
7190 amar.kumar 7154
    self._processMap["getFreebieForItem"] = Processor.process_getFreebieForItem
7155
    self._processMap["addOrUpdateFreebieForItem"] = Processor.process_addOrUpdateFreebieForItem
7272 amit.gupta 7156
    self._processMap["addOrUpdateBrandInfo"] = Processor.process_addOrUpdateBrandInfo
7157
    self._processMap["getBrandInfo"] = Processor.process_getBrandInfo
7256 rajveer 7158
    self._processMap["getStorePricing"] = Processor.process_getStorePricing
7306 rajveer 7159
    self._processMap["getStorePricings"] = Processor.process_getStorePricings
7265 rajveer 7160
    self._processMap["updateStorePricing"] = Processor.process_updateStorePricing
7281 kshitij.so 7161
    self._processMap["getAllAmazonListedItems"] = Processor.process_getAllAmazonListedItems
8619 kshitij.so 7162
    self._processMap["searchAmazonItems"] = Processor.process_searchAmazonItems
7163
    self._processMap["getAmazonSearchResultCount"] = Processor.process_getAmazonSearchResultCount
7164
    self._processMap["getCountForAmazonlistedItems"] = Processor.process_getCountForAmazonlistedItems
7281 kshitij.so 7165
    self._processMap["getAmazonItemDetails"] = Processor.process_getAmazonItemDetails
7166
    self._processMap["updateAmazonItemDetails"] = Processor.process_updateAmazonItemDetails
7167
    self._processMap["addAmazonItem"] = Processor.process_addAmazonItem
7291 vikram.rag 7168
    self._processMap["getAsinItems"] = Processor.process_getAsinItems
7169
    self._processMap["getAllFbaListedItems"] = Processor.process_getAllFbaListedItems
7170
    self._processMap["getAllNonFbaListedItems"] = Processor.process_getAllNonFbaListedItems
7460 kshitij.so 7171
    self._processMap["updateItemInventory"] = Processor.process_updateItemInventory
7770 kshitij.so 7172
    self._processMap["updateTimestampForAmazonFeeds"] = Processor.process_updateTimestampForAmazonFeeds
7897 amar.kumar 7173
    self._processMap["getAllParentCategories"] = Processor.process_getAllParentCategories
7977 kshitij.so 7174
    self._processMap["addPageViewEvent"] = Processor.process_addPageViewEvent
7175
    self._processMap["addCartEvent"] = Processor.process_addCartEvent
8182 amar.kumar 7176
    self._processMap["addEbayItem"] = Processor.process_addEbayItem
7177
    self._processMap["getEbayItem"] = Processor.process_getEbayItem
7178
    self._processMap["updateEbayItem"] = Processor.process_updateEbayItem
8139 kshitij.so 7179
    self._processMap["getAmazonListedItems"] = Processor.process_getAmazonListedItems
8168 kshitij.so 7180
    self._processMap["updateAmazonAttributesInBulk"] = Processor.process_updateAmazonAttributesInBulk
8379 vikram.rag 7181
    self._processMap["getAllItemstoListOnFba"] = Processor.process_getAllItemstoListOnFba
7182
    self._processMap["getAllItemstoListOnNonFba"] = Processor.process_getAllItemstoListOnNonFba
8619 kshitij.so 7183
    self._processMap["updateAsin"] = Processor.process_updateAsin
8739 vikram.rag 7184
    self._processMap["addOrUpdateSnapdealItem"] = Processor.process_addOrUpdateSnapdealItem
7185
    self._processMap["getSnapdealItem"] = Processor.process_getSnapdealItem
9242 kshitij.so 7186
    self._processMap["getSnapdealItemDetails"] = Processor.process_getSnapdealItemDetails
8739 vikram.rag 7187
    self._processMap["getAllSnapdealItems"] = Processor.process_getAllSnapdealItems
9242 kshitij.so 7188
    self._processMap["getSnapdealItems"] = Processor.process_getSnapdealItems
7189
    self._processMap["searchSnapdealItems"] = Processor.process_searchSnapdealItems
7190
    self._processMap["getCountForSnapdealItems"] = Processor.process_getCountForSnapdealItems
7191
    self._processMap["getSnapdealSearchResultCount"] = Processor.process_getSnapdealSearchResultCount
9299 kshitij.so 7192
    self._processMap["getPrefferedInsurerForItem"] = Processor.process_getPrefferedInsurerForItem
9456 vikram.rag 7193
    self._processMap["getSnapdealItembySkuAtSnapdeal"] = Processor.process_getSnapdealItembySkuAtSnapdeal
9621 manish.sha 7194
    self._processMap["getProductFeedSubmit"] = Processor.process_getProductFeedSubmit
7195
    self._processMap["addProductFeedSubmit"] = Processor.process_addProductFeedSubmit
7196
    self._processMap["updateProductFeedSubmit"] = Processor.process_updateProductFeedSubmit
7197
    self._processMap["deleteProductFeedSubmit"] = Processor.process_deleteProductFeedSubmit
7198
    self._processMap["getAllProductFeedSubmit"] = Processor.process_getAllProductFeedSubmit
9724 kshitij.so 7199
    self._processMap["getMarketplacedetailsForItem"] = Processor.process_getMarketplacedetailsForItem
7200
    self._processMap["updateMarketplaceAttributesForItem"] = Processor.process_updateMarketplaceAttributesForItem
9779 kshitij.so 7201
    self._processMap["getCostingForMarketplace"] = Processor.process_getCostingForMarketplace
9776 vikram.rag 7202
    self._processMap["getMarketPlaceItemsForPriceUpdate"] = Processor.process_getMarketPlaceItemsForPriceUpdate
7203
    self._processMap["updateMarketPlacePriceUpdateStatus"] = Processor.process_updateMarketPlacePriceUpdateStatus
9861 rajveer 7204
    self._processMap["updateItemHoldInventory"] = Processor.process_updateItemHoldInventory
9895 vikram.rag 7205
    self._processMap["updateNlcAtMarketplaces"] = Processor.process_updateNlcAtMarketplaces
9945 vikram.rag 7206
    self._processMap["getAllFlipkartItems"] = Processor.process_getAllFlipkartItems
10097 kshitij.so 7207
    self._processMap["addOrUpdateFlipkartItem"] = Processor.process_addOrUpdateFlipkartItem
7208
    self._processMap["getFlipkartItem"] = Processor.process_getFlipkartItem
7209
    self._processMap["getFlipkartItemDetails"] = Processor.process_getFlipkartItemDetails
7210
    self._processMap["getFlipkartItems"] = Processor.process_getFlipkartItems
7211
    self._processMap["searchFlipkartItems"] = Processor.process_searchFlipkartItems
7212
    self._processMap["getCountForFlipkartItems"] = Processor.process_getCountForFlipkartItems
7213
    self._processMap["getFlipkartSearchResultCount"] = Processor.process_getFlipkartSearchResultCount
7214
    self._processMap["getAllFkItems"] = Processor.process_getAllFkItems
10140 vikram.rag 7215
    self._processMap["getFlipkartItemBySkyAtFlipkart"] = Processor.process_getFlipkartItemBySkyAtFlipkart
11015 kshitij.so 7216
    self._processMap["getMarketplaceHistory"] = Processor.process_getMarketplaceHistory
10909 vikram.rag 7217
    self._processMap["getAllFbbListedItems"] = Processor.process_getAllFbbListedItems
10924 vikram.rag 7218
    self._processMap["getAllFbbPricingItems"] = Processor.process_getAllFbbPricingItems
11015 kshitij.so 7219
    self._processMap["getCountForMarketplaceHistory"] = Processor.process_getCountForMarketplaceHistory
7220
    self._processMap["getMarketplaceHistoryByDate"] = Processor.process_getMarketplaceHistoryByDate
11531 vikram.rag 7221
    self._processMap["getPrivateDealDetails"] = Processor.process_getPrivateDealDetails
7222
    self._processMap["getPrivateDealItems"] = Processor.process_getPrivateDealItems
11592 amit.gupta 7223
    self._processMap["getAllActivePrivateDeals"] = Processor.process_getAllActivePrivateDeals
11531 vikram.rag 7224
    self._processMap["addOrUpdatePrivateDeal"] = Processor.process_addOrUpdatePrivateDeal
11635 vikram.rag 7225
    self._processMap["getPrivateDealsCatalogIds"] = Processor.process_getPrivateDealsCatalogIds
11645 amit.gupta 7226
    self._processMap["getPrivateDealsCount"] = Processor.process_getPrivateDealsCount
11905 kshitij.so 7227
    self._processMap["getAmazonOutSyncItems"] = Processor.process_getAmazonOutSyncItems
7228
    self._processMap["getAllPrivateDealsComparison"] = Processor.process_getAllPrivateDealsComparison
12133 kshitij.so 7229
    self._processMap["getAllSnapdealMarketplaceItem"] = Processor.process_getAllSnapdealMarketplaceItem
7230
    self._processMap["getAllFlipkartMarketplaceItem"] = Processor.process_getAllFlipkartMarketplaceItem
12243 kshitij.so 7231
    self._processMap["addCompetitorScraping"] = Processor.process_addCompetitorScraping
7232
    self._processMap["getPreviousCompetitorScraping"] = Processor.process_getPreviousCompetitorScraping
12256 kshitij.so 7233
    self._processMap["getUploadResultById"] = Processor.process_getUploadResultById
12363 kshitij.so 7234
    self._processMap["addAmazonPromotion"] = Processor.process_addAmazonPromotion
7235
    self._processMap["getAmazonPromotion"] = Processor.process_getAmazonPromotion
7236
    self._processMap["updateAmazonPromotion"] = Processor.process_updateAmazonPromotion
12567 amit.gupta 7237
    self._processMap["markPartiallyActive"] = Processor.process_markPartiallyActive
7238
    self._processMap["updateItemStateVat"] = Processor.process_updateItemStateVat
12620 amit.gupta 7239
    self._processMap["getExAffiliateItemInfo"] = Processor.process_getExAffiliateItemInfo
12888 kshitij.so 7240
    self._processMap["getAllItemstoListOnFbg"] = Processor.process_getAllItemstoListOnFbg
12892 kshitij.so 7241
    self._processMap["getAllFbgListedItems"] = Processor.process_getAllFbgListedItems
13136 amit.gupta 7242
    self._processMap["checkServices"] = Processor.process_checkServices
13709 manish.sha 7243
    self._processMap["addHsItem"] = Processor.process_addHsItem
7244
    self._processMap["getHsItem"] = Processor.process_getHsItem
7245
    self._processMap["updateHsItem"] = Processor.process_updateHsItem
14182 kshitij.so 7246
    self._processMap["getPricingForDtr"] = Processor.process_getPricingForDtr
15702 kshitij.so 7247
    self._processMap["getAllItemstoListOnFbd"] = Processor.process_getAllItemstoListOnFbd
5944 mandeep.dh 7248
 
7249
  def process(self, iprot, oprot):
7250
    (name, type, seqid) = iprot.readMessageBegin()
7251
    if name not in self._processMap:
7252
      iprot.skip(TType.STRUCT)
7253
      iprot.readMessageEnd()
7254
      x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
7255
      oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
7256
      x.write(oprot)
7257
      oprot.writeMessageEnd()
7258
      oprot.trans.flush()
7259
      return
7260
    else:
7261
      self._processMap[name](self, seqid, iprot, oprot)
7262
    return True
7263
 
7264
  def process_addItem(self, seqid, iprot, oprot):
7265
    args = addItem_args()
7266
    args.read(iprot)
7267
    iprot.readMessageEnd()
7268
    result = addItem_result()
7269
    try:
7270
      result.success = self._handler.addItem(args.item)
7271
    except CatalogServiceException, cex:
7272
      result.cex = cex
7273
    oprot.writeMessageBegin("addItem", TMessageType.REPLY, seqid)
7274
    result.write(oprot)
7275
    oprot.writeMessageEnd()
7276
    oprot.trans.flush()
7277
 
7278
  def process_updateItem(self, seqid, iprot, oprot):
7279
    args = updateItem_args()
7280
    args.read(iprot)
7281
    iprot.readMessageEnd()
7282
    result = updateItem_result()
7283
    try:
7284
      result.success = self._handler.updateItem(args.item)
7285
    except CatalogServiceException, cex:
7286
      result.cex = cex
7287
    oprot.writeMessageBegin("updateItem", TMessageType.REPLY, seqid)
7288
    result.write(oprot)
7289
    oprot.writeMessageEnd()
7290
    oprot.trans.flush()
7291
 
7292
  def process_isActive(self, seqid, iprot, oprot):
7293
    args = isActive_args()
7294
    args.read(iprot)
7295
    iprot.readMessageEnd()
7296
    result = isActive_result()
7297
    try:
7298
      result.success = self._handler.isActive(args.itemId)
7299
    except CatalogServiceException, isex:
7300
      result.isex = isex
7301
    oprot.writeMessageBegin("isActive", TMessageType.REPLY, seqid)
7302
    result.write(oprot)
7303
    oprot.writeMessageEnd()
7304
    oprot.trans.flush()
7305
 
7438 amit.gupta 7306
  def process_getItemsStatus(self, seqid, iprot, oprot):
7307
    args = getItemsStatus_args()
7308
    args.read(iprot)
7309
    iprot.readMessageEnd()
7310
    result = getItemsStatus_result()
7311
    try:
7312
      result.success = self._handler.getItemsStatus(args.itemIds)
7313
    except CatalogServiceException, isex:
7314
      result.isex = isex
7315
    oprot.writeMessageBegin("getItemsStatus", TMessageType.REPLY, seqid)
7316
    result.write(oprot)
7317
    oprot.writeMessageEnd()
7318
    oprot.trans.flush()
7319
 
5944 mandeep.dh 7320
  def process_getItemStatusDescription(self, seqid, iprot, oprot):
7321
    args = getItemStatusDescription_args()
7322
    args.read(iprot)
7323
    iprot.readMessageEnd()
7324
    result = getItemStatusDescription_result()
7325
    try:
7326
      result.success = self._handler.getItemStatusDescription(args.itemId)
7327
    except CatalogServiceException, isex:
7328
      result.isex = isex
7329
    oprot.writeMessageBegin("getItemStatusDescription", TMessageType.REPLY, seqid)
7330
    result.write(oprot)
7331
    oprot.writeMessageEnd()
7332
    oprot.trans.flush()
7333
 
7334
  def process_startItemOn(self, seqid, iprot, oprot):
7335
    args = startItemOn_args()
7336
    args.read(iprot)
7337
    iprot.readMessageEnd()
7338
    result = startItemOn_result()
7339
    try:
7340
      self._handler.startItemOn(args.item_id, args.timestamp)
7341
    except CatalogServiceException, cex:
7342
      result.cex = cex
7343
    oprot.writeMessageBegin("startItemOn", TMessageType.REPLY, seqid)
7344
    result.write(oprot)
7345
    oprot.writeMessageEnd()
7346
    oprot.trans.flush()
7347
 
7348
  def process_retireItemOn(self, seqid, iprot, oprot):
7349
    args = retireItemOn_args()
7350
    args.read(iprot)
7351
    iprot.readMessageEnd()
7352
    result = retireItemOn_result()
7353
    try:
7354
      self._handler.retireItemOn(args.item_id, args.timestamp)
7355
    except CatalogServiceException, cex:
7356
      result.cex = cex
7357
    oprot.writeMessageBegin("retireItemOn", TMessageType.REPLY, seqid)
7358
    result.write(oprot)
7359
    oprot.writeMessageEnd()
7360
    oprot.trans.flush()
7361
 
7362
  def process_changeItemStatus(self, seqid, iprot, oprot):
7363
    args = changeItemStatus_args()
7364
    args.read(iprot)
7365
    iprot.readMessageEnd()
7366
    result = changeItemStatus_result()
7367
    try:
7368
      self._handler.changeItemStatus(args.item_id, args.timestamp, args.newstatus)
7369
    except CatalogServiceException, cex:
7370
      result.cex = cex
7371
    oprot.writeMessageBegin("changeItemStatus", TMessageType.REPLY, seqid)
7372
    result.write(oprot)
7373
    oprot.writeMessageEnd()
7374
    oprot.trans.flush()
7375
 
7376
  def process_getItem(self, seqid, iprot, oprot):
7377
    args = getItem_args()
7378
    args.read(iprot)
7379
    iprot.readMessageEnd()
7380
    result = getItem_result()
7381
    try:
7382
      result.success = self._handler.getItem(args.item_id)
7383
    except CatalogServiceException, cex:
7384
      result.cex = cex
7385
    oprot.writeMessageBegin("getItem", TMessageType.REPLY, seqid)
7386
    result.write(oprot)
7387
    oprot.writeMessageEnd()
7388
    oprot.trans.flush()
7389
 
13493 amit.gupta 7390
  def process_getItems(self, seqid, iprot, oprot):
7391
    args = getItems_args()
7392
    args.read(iprot)
7393
    iprot.readMessageEnd()
7394
    result = getItems_result()
7395
    try:
7396
      result.success = self._handler.getItems(args.item_ids)
7397
    except CatalogServiceException, cex:
7398
      result.cex = cex
7399
    oprot.writeMessageBegin("getItems", TMessageType.REPLY, seqid)
7400
    result.write(oprot)
7401
    oprot.writeMessageEnd()
7402
    oprot.trans.flush()
7403
 
5944 mandeep.dh 7404
  def process_getItemsByCatalogId(self, seqid, iprot, oprot):
7405
    args = getItemsByCatalogId_args()
7406
    args.read(iprot)
7407
    iprot.readMessageEnd()
7408
    result = getItemsByCatalogId_result()
7409
    try:
7410
      result.success = self._handler.getItemsByCatalogId(args.catalog_item_id)
7411
    except CatalogServiceException, cex:
7412
      result.cex = cex
7413
    oprot.writeMessageBegin("getItemsByCatalogId", TMessageType.REPLY, seqid)
7414
    result.write(oprot)
7415
    oprot.writeMessageEnd()
7416
    oprot.trans.flush()
7417
 
7418
  def process_getValidItemsByCatalogId(self, seqid, iprot, oprot):
7419
    args = getValidItemsByCatalogId_args()
7420
    args.read(iprot)
7421
    iprot.readMessageEnd()
7422
    result = getValidItemsByCatalogId_result()
7423
    try:
7424
      result.success = self._handler.getValidItemsByCatalogId(args.catalog_item_id)
7425
    except CatalogServiceException, cex:
7426
      result.cex = cex
7427
    oprot.writeMessageBegin("getValidItemsByCatalogId", TMessageType.REPLY, seqid)
7428
    result.write(oprot)
7429
    oprot.writeMessageEnd()
7430
    oprot.trans.flush()
7431
 
7432
  def process_getAllItems(self, seqid, iprot, oprot):
7433
    args = getAllItems_args()
7434
    args.read(iprot)
7435
    iprot.readMessageEnd()
7436
    result = getAllItems_result()
7437
    try:
7438
      result.success = self._handler.getAllItems(args.isActive)
7439
    except CatalogServiceException, cex:
7440
      result.cex = cex
7441
    oprot.writeMessageBegin("getAllItems", TMessageType.REPLY, seqid)
7442
    result.write(oprot)
7443
    oprot.writeMessageEnd()
7444
    oprot.trans.flush()
7445
 
7446
  def process_getAllItemsByStatus(self, seqid, iprot, oprot):
7447
    args = getAllItemsByStatus_args()
7448
    args.read(iprot)
7449
    iprot.readMessageEnd()
7450
    result = getAllItemsByStatus_result()
7451
    try:
7452
      result.success = self._handler.getAllItemsByStatus(args.itemStatus)
7453
    except CatalogServiceException, cex:
7454
      result.cex = cex
7455
    oprot.writeMessageBegin("getAllItemsByStatus", TMessageType.REPLY, seqid)
7456
    result.write(oprot)
7457
    oprot.writeMessageEnd()
7458
    oprot.trans.flush()
7459
 
7460
  def process_markItemAsContentComplete(self, seqid, iprot, oprot):
7461
    args = markItemAsContentComplete_args()
7462
    args.read(iprot)
7463
    iprot.readMessageEnd()
7464
    result = markItemAsContentComplete_result()
7465
    try:
9253 rajveer 7466
      result.success = self._handler.markItemAsContentComplete(args.entityId, args.category, args.brand, args.modelName, args.modelNumber, args.isAndroid)
5944 mandeep.dh 7467
    except CatalogServiceException, cex:
7468
      result.cex = cex
7469
    oprot.writeMessageBegin("markItemAsContentComplete", TMessageType.REPLY, seqid)
7470
    result.write(oprot)
7471
    oprot.writeMessageEnd()
7472
    oprot.trans.flush()
7473
 
12567 amit.gupta 7474
  def process_getVatRates(self, seqid, iprot, oprot):
7475
    args = getVatRates_args()
7476
    args.read(iprot)
7477
    iprot.readMessageEnd()
7478
    result = getVatRates_result()
7479
    try:
7480
      result.success = self._handler.getVatRates(args.itemId, args.categoryId)
7481
    except CatalogServiceException, cex:
7482
      result.cex = cex
7483
    oprot.writeMessageBegin("getVatRates", TMessageType.REPLY, seqid)
7484
    result.write(oprot)
7485
    oprot.writeMessageEnd()
7486
    oprot.trans.flush()
7487
 
5944 mandeep.dh 7488
  def process_getAllItemsInRange(self, seqid, iprot, oprot):
7489
    args = getAllItemsInRange_args()
7490
    args.read(iprot)
7491
    iprot.readMessageEnd()
7492
    result = getAllItemsInRange_result()
7493
    try:
7494
      result.success = self._handler.getAllItemsInRange(args.offset, args.limit)
7495
    except CatalogServiceException, cex:
7496
      result.cex = cex
7497
    oprot.writeMessageBegin("getAllItemsInRange", TMessageType.REPLY, seqid)
7498
    result.write(oprot)
7499
    oprot.writeMessageEnd()
7500
    oprot.trans.flush()
7501
 
7502
  def process_getAllItemsByStatusInRange(self, seqid, iprot, oprot):
7503
    args = getAllItemsByStatusInRange_args()
7504
    args.read(iprot)
7505
    iprot.readMessageEnd()
7506
    result = getAllItemsByStatusInRange_result()
7507
    try:
7508
      result.success = self._handler.getAllItemsByStatusInRange(args.itemStatus, args.offset, args.limit)
7509
    except CatalogServiceException, cex:
7510
      result.cex = cex
7511
    oprot.writeMessageBegin("getAllItemsByStatusInRange", TMessageType.REPLY, seqid)
7512
    result.write(oprot)
7513
    oprot.writeMessageEnd()
7514
    oprot.trans.flush()
7515
 
7516
  def process_getItemCountByStatus(self, seqid, iprot, oprot):
7517
    args = getItemCountByStatus_args()
7518
    args.read(iprot)
7519
    iprot.readMessageEnd()
7520
    result = getItemCountByStatus_result()
7521
    result.success = self._handler.getItemCountByStatus(args.useStatus, args.itemStatus)
7522
    oprot.writeMessageBegin("getItemCountByStatus", TMessageType.REPLY, seqid)
7523
    result.write(oprot)
7524
    oprot.writeMessageEnd()
7525
    oprot.trans.flush()
7526
 
7527
  def process_getBestSellers(self, seqid, iprot, oprot):
7528
    args = getBestSellers_args()
7529
    args.read(iprot)
7530
    iprot.readMessageEnd()
7531
    result = getBestSellers_result()
7532
    try:
7533
      result.success = self._handler.getBestSellers()
7534
    except CatalogServiceException, isex:
7535
      result.isex = isex
7536
    oprot.writeMessageBegin("getBestSellers", TMessageType.REPLY, seqid)
7537
    result.write(oprot)
7538
    oprot.writeMessageEnd()
7539
    oprot.trans.flush()
7540
 
7541
  def process_getBestSellersCatalogIds(self, seqid, iprot, oprot):
7542
    args = getBestSellersCatalogIds_args()
7543
    args.read(iprot)
7544
    iprot.readMessageEnd()
7545
    result = getBestSellersCatalogIds_result()
7546
    try:
7547
      result.success = self._handler.getBestSellersCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7548
    except CatalogServiceException, cex:
7549
      result.cex = cex
7550
    oprot.writeMessageBegin("getBestSellersCatalogIds", TMessageType.REPLY, seqid)
7551
    result.write(oprot)
7552
    oprot.writeMessageEnd()
7553
    oprot.trans.flush()
7554
 
7555
  def process_getBestSellersCount(self, seqid, iprot, oprot):
7556
    args = getBestSellersCount_args()
7557
    args.read(iprot)
7558
    iprot.readMessageEnd()
7559
    result = getBestSellersCount_result()
7560
    try:
7561
      result.success = self._handler.getBestSellersCount()
7562
    except CatalogServiceException, cex:
7563
      result.cex = cex
7564
    oprot.writeMessageBegin("getBestSellersCount", TMessageType.REPLY, seqid)
7565
    result.write(oprot)
7566
    oprot.writeMessageEnd()
7567
    oprot.trans.flush()
7568
 
7569
  def process_getBestDeals(self, seqid, iprot, oprot):
7570
    args = getBestDeals_args()
7571
    args.read(iprot)
7572
    iprot.readMessageEnd()
7573
    result = getBestDeals_result()
7574
    try:
7575
      result.success = self._handler.getBestDeals()
7576
    except CatalogServiceException, isex:
7577
      result.isex = isex
7578
    oprot.writeMessageBegin("getBestDeals", TMessageType.REPLY, seqid)
7579
    result.write(oprot)
7580
    oprot.writeMessageEnd()
7581
    oprot.trans.flush()
7582
 
7583
  def process_getBestDealsCatalogIds(self, seqid, iprot, oprot):
7584
    args = getBestDealsCatalogIds_args()
7585
    args.read(iprot)
7586
    iprot.readMessageEnd()
7587
    result = getBestDealsCatalogIds_result()
7588
    try:
7589
      result.success = self._handler.getBestDealsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7590
    except CatalogServiceException, cex:
7591
      result.cex = cex
7592
    oprot.writeMessageBegin("getBestDealsCatalogIds", TMessageType.REPLY, seqid)
7593
    result.write(oprot)
7594
    oprot.writeMessageEnd()
7595
    oprot.trans.flush()
7596
 
7597
  def process_getBestDealsCount(self, seqid, iprot, oprot):
7598
    args = getBestDealsCount_args()
7599
    args.read(iprot)
7600
    iprot.readMessageEnd()
7601
    result = getBestDealsCount_result()
7602
    try:
7603
      result.success = self._handler.getBestDealsCount()
7604
    except CatalogServiceException, cex:
7605
      result.cex = cex
7606
    oprot.writeMessageBegin("getBestDealsCount", TMessageType.REPLY, seqid)
7607
    result.write(oprot)
7608
    oprot.writeMessageEnd()
7609
    oprot.trans.flush()
7610
 
7611
  def process_getComingSoon(self, seqid, iprot, oprot):
7612
    args = getComingSoon_args()
7613
    args.read(iprot)
7614
    iprot.readMessageEnd()
7615
    result = getComingSoon_result()
7616
    try:
7617
      result.success = self._handler.getComingSoon()
7618
    except CatalogServiceException, isex:
7619
      result.isex = isex
7620
    oprot.writeMessageBegin("getComingSoon", TMessageType.REPLY, seqid)
7621
    result.write(oprot)
7622
    oprot.writeMessageEnd()
7623
    oprot.trans.flush()
7624
 
7625
  def process_getComingSoonCatalogIds(self, seqid, iprot, oprot):
7626
    args = getComingSoonCatalogIds_args()
7627
    args.read(iprot)
7628
    iprot.readMessageEnd()
7629
    result = getComingSoonCatalogIds_result()
7630
    try:
7631
      result.success = self._handler.getComingSoonCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7632
    except CatalogServiceException, cex:
7633
      result.cex = cex
7634
    oprot.writeMessageBegin("getComingSoonCatalogIds", TMessageType.REPLY, seqid)
7635
    result.write(oprot)
7636
    oprot.writeMessageEnd()
7637
    oprot.trans.flush()
7638
 
7639
  def process_getComingSoonCount(self, seqid, iprot, oprot):
7640
    args = getComingSoonCount_args()
7641
    args.read(iprot)
7642
    iprot.readMessageEnd()
7643
    result = getComingSoonCount_result()
7644
    try:
7645
      result.success = self._handler.getComingSoonCount()
7646
    except CatalogServiceException, cex:
7647
      result.cex = cex
7648
    oprot.writeMessageBegin("getComingSoonCount", TMessageType.REPLY, seqid)
7649
    result.write(oprot)
7650
    oprot.writeMessageEnd()
7651
    oprot.trans.flush()
7652
 
7653
  def process_getLatestArrivals(self, seqid, iprot, oprot):
7654
    args = getLatestArrivals_args()
7655
    args.read(iprot)
7656
    iprot.readMessageEnd()
7657
    result = getLatestArrivals_result()
7658
    try:
7659
      result.success = self._handler.getLatestArrivals()
7660
    except CatalogServiceException, isex:
7661
      result.isex = isex
7662
    oprot.writeMessageBegin("getLatestArrivals", TMessageType.REPLY, seqid)
7663
    result.write(oprot)
7664
    oprot.writeMessageEnd()
7665
    oprot.trans.flush()
7666
 
7667
  def process_getLatestArrivalsCatalogIds(self, seqid, iprot, oprot):
7668
    args = getLatestArrivalsCatalogIds_args()
7669
    args.read(iprot)
7670
    iprot.readMessageEnd()
7671
    result = getLatestArrivalsCatalogIds_result()
7672
    try:
7673
      result.success = self._handler.getLatestArrivalsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.categories)
7674
    except CatalogServiceException, cex:
7675
      result.cex = cex
7676
    oprot.writeMessageBegin("getLatestArrivalsCatalogIds", TMessageType.REPLY, seqid)
7677
    result.write(oprot)
7678
    oprot.writeMessageEnd()
7679
    oprot.trans.flush()
7680
 
7681
  def process_getLatestArrivalsCount(self, seqid, iprot, oprot):
7682
    args = getLatestArrivalsCount_args()
7683
    args.read(iprot)
7684
    iprot.readMessageEnd()
7685
    result = getLatestArrivalsCount_result()
7686
    try:
7687
      result.success = self._handler.getLatestArrivalsCount()
7688
    except CatalogServiceException, cex:
7689
      result.cex = cex
7690
    oprot.writeMessageBegin("getLatestArrivalsCount", TMessageType.REPLY, seqid)
7691
    result.write(oprot)
7692
    oprot.writeMessageEnd()
7693
    oprot.trans.flush()
7694
 
7695
  def process_generateNewEntityID(self, seqid, iprot, oprot):
7696
    args = generateNewEntityID_args()
7697
    args.read(iprot)
7698
    iprot.readMessageEnd()
7699
    result = generateNewEntityID_result()
7700
    result.success = self._handler.generateNewEntityID()
7701
    oprot.writeMessageBegin("generateNewEntityID", TMessageType.REPLY, seqid)
7702
    result.write(oprot)
7703
    oprot.writeMessageEnd()
7704
    oprot.trans.flush()
7705
 
7706
  def process_addCategory(self, seqid, iprot, oprot):
7707
    args = addCategory_args()
7708
    args.read(iprot)
7709
    iprot.readMessageEnd()
7710
    result = addCategory_result()
7711
    result.success = self._handler.addCategory(args.category)
7712
    oprot.writeMessageBegin("addCategory", TMessageType.REPLY, seqid)
7713
    result.write(oprot)
7714
    oprot.writeMessageEnd()
7715
    oprot.trans.flush()
7716
 
7717
  def process_getCategory(self, seqid, iprot, oprot):
7718
    args = getCategory_args()
7719
    args.read(iprot)
7720
    iprot.readMessageEnd()
7721
    result = getCategory_result()
7722
    result.success = self._handler.getCategory(args.id)
7723
    oprot.writeMessageBegin("getCategory", TMessageType.REPLY, seqid)
7724
    result.write(oprot)
7725
    oprot.writeMessageEnd()
7726
    oprot.trans.flush()
7727
 
7728
  def process_getAllCategories(self, seqid, iprot, oprot):
7729
    args = getAllCategories_args()
7730
    args.read(iprot)
7731
    iprot.readMessageEnd()
7732
    result = getAllCategories_result()
7733
    result.success = self._handler.getAllCategories()
7734
    oprot.writeMessageBegin("getAllCategories", TMessageType.REPLY, seqid)
7735
    result.write(oprot)
7736
    oprot.writeMessageEnd()
7737
    oprot.trans.flush()
7738
 
7739
  def process_getAllSimilarItems(self, seqid, iprot, oprot):
7740
    args = getAllSimilarItems_args()
7741
    args.read(iprot)
7742
    iprot.readMessageEnd()
7743
    result = getAllSimilarItems_result()
7744
    result.success = self._handler.getAllSimilarItems(args.itemId)
7745
    oprot.writeMessageBegin("getAllSimilarItems", TMessageType.REPLY, seqid)
7746
    result.write(oprot)
7747
    oprot.writeMessageEnd()
7748
    oprot.trans.flush()
7749
 
7750
  def process_addSimilarItem(self, seqid, iprot, oprot):
7751
    args = addSimilarItem_args()
7752
    args.read(iprot)
7753
    iprot.readMessageEnd()
7754
    result = addSimilarItem_result()
7755
    try:
7756
      result.success = self._handler.addSimilarItem(args.itemId, args.catalogItemId)
7757
    except CatalogServiceException, cex:
7758
      result.cex = cex
7759
    oprot.writeMessageBegin("addSimilarItem", TMessageType.REPLY, seqid)
7760
    result.write(oprot)
7761
    oprot.writeMessageEnd()
7762
    oprot.trans.flush()
7763
 
6512 kshitij.so 7764
  def process_addTag(self, seqid, iprot, oprot):
7765
    args = addTag_args()
7766
    args.read(iprot)
7767
    iprot.readMessageEnd()
7768
    result = addTag_result()
7769
    result.success = self._handler.addTag(args.displayName, args.itemId)
7770
    oprot.writeMessageBegin("addTag", TMessageType.REPLY, seqid)
7771
    result.write(oprot)
7772
    oprot.writeMessageEnd()
7773
    oprot.trans.flush()
7774
 
7775
  def process_deleteEntityTag(self, seqid, iprot, oprot):
7776
    args = deleteEntityTag_args()
7777
    args.read(iprot)
7778
    iprot.readMessageEnd()
7779
    result = deleteEntityTag_result()
7780
    result.success = self._handler.deleteEntityTag(args.displayName, args.itemId)
7781
    oprot.writeMessageBegin("deleteEntityTag", TMessageType.REPLY, seqid)
7782
    result.write(oprot)
7783
    oprot.writeMessageEnd()
7784
    oprot.trans.flush()
7785
 
7786
  def process_deleteTag(self, seqid, iprot, oprot):
7787
    args = deleteTag_args()
7788
    args.read(iprot)
7789
    iprot.readMessageEnd()
7790
    result = deleteTag_result()
7791
    result.success = self._handler.deleteTag(args.displayName)
7792
    oprot.writeMessageBegin("deleteTag", TMessageType.REPLY, seqid)
7793
    result.write(oprot)
7794
    oprot.writeMessageEnd()
7795
    oprot.trans.flush()
7796
 
7797
  def process_getAllTags(self, seqid, iprot, oprot):
7798
    args = getAllTags_args()
7799
    args.read(iprot)
7800
    iprot.readMessageEnd()
7801
    result = getAllTags_result()
7802
    result.success = self._handler.getAllTags()
7803
    oprot.writeMessageBegin("getAllTags", TMessageType.REPLY, seqid)
7804
    result.write(oprot)
7805
    oprot.writeMessageEnd()
7806
    oprot.trans.flush()
7807
 
7808
  def process_getAllEntitiesByTagName(self, seqid, iprot, oprot):
7809
    args = getAllEntitiesByTagName_args()
7810
    args.read(iprot)
7811
    iprot.readMessageEnd()
7812
    result = getAllEntitiesByTagName_result()
7813
    result.success = self._handler.getAllEntitiesByTagName(args.displayName)
7814
    oprot.writeMessageBegin("getAllEntitiesByTagName", TMessageType.REPLY, seqid)
7815
    result.write(oprot)
7816
    oprot.writeMessageEnd()
7817
    oprot.trans.flush()
7818
 
6845 amit.gupta 7819
  def process_getAllEntityTags(self, seqid, iprot, oprot):
7820
    args = getAllEntityTags_args()
7821
    args.read(iprot)
7822
    iprot.readMessageEnd()
7823
    result = getAllEntityTags_result()
7824
    result.success = self._handler.getAllEntityTags()
7825
    oprot.writeMessageBegin("getAllEntityTags", TMessageType.REPLY, seqid)
7826
    result.write(oprot)
7827
    oprot.writeMessageEnd()
7828
    oprot.trans.flush()
7829
 
6850 kshitij.so 7830
  def process_addBanner(self, seqid, iprot, oprot):
7831
    args = addBanner_args()
7832
    args.read(iprot)
7833
    iprot.readMessageEnd()
7834
    result = addBanner_result()
10097 kshitij.so 7835
    result.success = self._handler.addBanner(args.bannerCongregate)
6850 kshitij.so 7836
    oprot.writeMessageBegin("addBanner", TMessageType.REPLY, seqid)
7837
    result.write(oprot)
7838
    oprot.writeMessageEnd()
7839
    oprot.trans.flush()
7840
 
8579 kshitij.so 7841
  def process_updateBanner(self, seqid, iprot, oprot):
7842
    args = updateBanner_args()
7843
    args.read(iprot)
7844
    iprot.readMessageEnd()
7845
    result = updateBanner_result()
7846
    result.success = self._handler.updateBanner(args.banner)
7847
    oprot.writeMessageBegin("updateBanner", TMessageType.REPLY, seqid)
7848
    result.write(oprot)
7849
    oprot.writeMessageEnd()
7850
    oprot.trans.flush()
7851
 
6850 kshitij.so 7852
  def process_getAllBanners(self, seqid, iprot, oprot):
7853
    args = getAllBanners_args()
7854
    args.read(iprot)
7855
    iprot.readMessageEnd()
7856
    result = getAllBanners_result()
7857
    result.success = self._handler.getAllBanners()
7858
    oprot.writeMessageBegin("getAllBanners", TMessageType.REPLY, seqid)
7859
    result.write(oprot)
7860
    oprot.writeMessageEnd()
7861
    oprot.trans.flush()
7862
 
7863
  def process_deleteBanner(self, seqid, iprot, oprot):
7864
    args = deleteBanner_args()
7865
    args.read(iprot)
7866
    iprot.readMessageEnd()
7867
    result = deleteBanner_result()
9155 kshitij.so 7868
    result.success = self._handler.deleteBanner(args.bannerName, args.bannerType)
6850 kshitij.so 7869
    oprot.writeMessageBegin("deleteBanner", TMessageType.REPLY, seqid)
7870
    result.write(oprot)
7871
    oprot.writeMessageEnd()
7872
    oprot.trans.flush()
7873
 
7874
  def process_getBannerDetails(self, seqid, iprot, oprot):
7875
    args = getBannerDetails_args()
7876
    args.read(iprot)
7877
    iprot.readMessageEnd()
7878
    result = getBannerDetails_result()
9155 kshitij.so 7879
    result.success = self._handler.getBannerDetails(args.bannerName, args.bannerType)
6850 kshitij.so 7880
    oprot.writeMessageBegin("getBannerDetails", TMessageType.REPLY, seqid)
7881
    result.write(oprot)
7882
    oprot.writeMessageEnd()
7883
    oprot.trans.flush()
7884
 
7885
  def process_getActiveBanners(self, seqid, iprot, oprot):
7886
    args = getActiveBanners_args()
7887
    args.read(iprot)
7888
    iprot.readMessageEnd()
7889
    result = getActiveBanners_result()
7890
    result.success = self._handler.getActiveBanners()
7891
    oprot.writeMessageBegin("getActiveBanners", TMessageType.REPLY, seqid)
7892
    result.write(oprot)
7893
    oprot.writeMessageEnd()
7894
    oprot.trans.flush()
7895
 
6849 kshitij.so 7896
  def process_addBannerMap(self, seqid, iprot, oprot):
7897
    args = addBannerMap_args()
7898
    args.read(iprot)
7899
    iprot.readMessageEnd()
7900
    result = addBannerMap_result()
8579 kshitij.so 7901
    result.success = self._handler.addBannerMap(args.bannerMaps)
6849 kshitij.so 7902
    oprot.writeMessageBegin("addBannerMap", TMessageType.REPLY, seqid)
7903
    result.write(oprot)
7904
    oprot.writeMessageEnd()
7905
    oprot.trans.flush()
7906
 
8579 kshitij.so 7907
  def process_updateBannerMap(self, seqid, iprot, oprot):
7908
    args = updateBannerMap_args()
7909
    args.read(iprot)
7910
    iprot.readMessageEnd()
7911
    result = updateBannerMap_result()
7912
    result.success = self._handler.updateBannerMap(args.bannerMap)
7913
    oprot.writeMessageBegin("updateBannerMap", TMessageType.REPLY, seqid)
7914
    result.write(oprot)
7915
    oprot.writeMessageEnd()
7916
    oprot.trans.flush()
7917
 
6849 kshitij.so 7918
  def process_deleteBannerMap(self, seqid, iprot, oprot):
7919
    args = deleteBannerMap_args()
7920
    args.read(iprot)
7921
    iprot.readMessageEnd()
7922
    result = deleteBannerMap_result()
7923
    result.success = self._handler.deleteBannerMap(args.bannerName)
7924
    oprot.writeMessageBegin("deleteBannerMap", TMessageType.REPLY, seqid)
7925
    result.write(oprot)
7926
    oprot.writeMessageEnd()
7927
    oprot.trans.flush()
7928
 
7929
  def process_getBannerMapDetails(self, seqid, iprot, oprot):
7930
    args = getBannerMapDetails_args()
7931
    args.read(iprot)
7932
    iprot.readMessageEnd()
7933
    result = getBannerMapDetails_result()
9155 kshitij.so 7934
    result.success = self._handler.getBannerMapDetails(args.bannerName, args.bannerType)
6849 kshitij.so 7935
    oprot.writeMessageBegin("getBannerMapDetails", TMessageType.REPLY, seqid)
7936
    result.write(oprot)
7937
    oprot.writeMessageEnd()
7938
    oprot.trans.flush()
7939
 
8579 kshitij.so 7940
  def process_addBannerUri(self, seqid, iprot, oprot):
7941
    args = addBannerUri_args()
7942
    args.read(iprot)
7943
    iprot.readMessageEnd()
7944
    result = addBannerUri_result()
7945
    self._handler.addBannerUri(args.bannerUriMappings)
7946
    oprot.writeMessageBegin("addBannerUri", TMessageType.REPLY, seqid)
7947
    result.write(oprot)
7948
    oprot.writeMessageEnd()
7949
    oprot.trans.flush()
7950
 
7951
  def process_getUriMapping(self, seqid, iprot, oprot):
7952
    args = getUriMapping_args()
7953
    args.read(iprot)
7954
    iprot.readMessageEnd()
7955
    result = getUriMapping_result()
9155 kshitij.so 7956
    result.success = self._handler.getUriMapping(args.bannerName, args.bannerType)
8579 kshitij.so 7957
    oprot.writeMessageBegin("getUriMapping", TMessageType.REPLY, seqid)
7958
    result.write(oprot)
7959
    oprot.writeMessageEnd()
7960
    oprot.trans.flush()
7961
 
7962
  def process_addCampaign(self, seqid, iprot, oprot):
7963
    args = addCampaign_args()
7964
    args.read(iprot)
7965
    iprot.readMessageEnd()
7966
    result = addCampaign_result()
7967
    self._handler.addCampaign(args.campaign)
7968
    oprot.writeMessageBegin("addCampaign", TMessageType.REPLY, seqid)
7969
    result.write(oprot)
7970
    oprot.writeMessageEnd()
7971
    oprot.trans.flush()
7972
 
7973
  def process_getCampaigns(self, seqid, iprot, oprot):
7974
    args = getCampaigns_args()
7975
    args.read(iprot)
7976
    iprot.readMessageEnd()
7977
    result = getCampaigns_result()
7978
    result.success = self._handler.getCampaigns(args.campaignName)
7979
    oprot.writeMessageBegin("getCampaigns", TMessageType.REPLY, seqid)
7980
    result.write(oprot)
7981
    oprot.writeMessageEnd()
7982
    oprot.trans.flush()
7983
 
7984
  def process_deleteCampaign(self, seqid, iprot, oprot):
7985
    args = deleteCampaign_args()
7986
    args.read(iprot)
7987
    iprot.readMessageEnd()
7988
    result = deleteCampaign_result()
7989
    self._handler.deleteCampaign(args.campaignId)
7990
    oprot.writeMessageBegin("deleteCampaign", TMessageType.REPLY, seqid)
7991
    result.write(oprot)
7992
    oprot.writeMessageEnd()
7993
    oprot.trans.flush()
7994
 
7995
  def process_getAllCampaigns(self, seqid, iprot, oprot):
7996
    args = getAllCampaigns_args()
7997
    args.read(iprot)
7998
    iprot.readMessageEnd()
7999
    result = getAllCampaigns_result()
8000
    result.success = self._handler.getAllCampaigns()
8001
    oprot.writeMessageBegin("getAllCampaigns", TMessageType.REPLY, seqid)
8002
    result.write(oprot)
8003
    oprot.writeMessageEnd()
8004
    oprot.trans.flush()
8005
 
9155 kshitij.so 8006
  def process_getActiveBannersForMobileSite(self, seqid, iprot, oprot):
8007
    args = getActiveBannersForMobileSite_args()
8008
    args.read(iprot)
8009
    iprot.readMessageEnd()
8010
    result = getActiveBannersForMobileSite_result()
8011
    result.success = self._handler.getActiveBannersForMobileSite()
8012
    oprot.writeMessageBegin("getActiveBannersForMobileSite", TMessageType.REPLY, seqid)
8013
    result.write(oprot)
8014
    oprot.writeMessageEnd()
8015
    oprot.trans.flush()
8016
 
5944 mandeep.dh 8017
  def process_deleteSimilarItem(self, seqid, iprot, oprot):
8018
    args = deleteSimilarItem_args()
8019
    args.read(iprot)
8020
    iprot.readMessageEnd()
8021
    result = deleteSimilarItem_result()
8022
    try:
8023
      result.success = self._handler.deleteSimilarItem(args.itemId, args.catalogItemId)
8024
    except CatalogServiceException, cex:
8025
      result.cex = cex
8026
    oprot.writeMessageBegin("deleteSimilarItem", TMessageType.REPLY, seqid)
8027
    result.write(oprot)
8028
    oprot.writeMessageEnd()
8029
    oprot.trans.flush()
8030
 
8031
  def process_checkSimilarItem(self, seqid, iprot, oprot):
8032
    args = checkSimilarItem_args()
8033
    args.read(iprot)
8034
    iprot.readMessageEnd()
8035
    result = checkSimilarItem_result()
8036
    result.success = self._handler.checkSimilarItem(args.brand, args.modelNumber, args.modelName, args.color)
8037
    oprot.writeMessageBegin("checkSimilarItem", TMessageType.REPLY, seqid)
8038
    result.write(oprot)
8039
    oprot.writeMessageEnd()
8040
    oprot.trans.flush()
8041
 
8042
  def process_validateRiskyStatus(self, seqid, iprot, oprot):
8043
    args = validateRiskyStatus_args()
8044
    args.read(iprot)
8045
    iprot.readMessageEnd()
8046
    result = validateRiskyStatus_result()
8047
    self._handler.validateRiskyStatus(args.itemId)
8048
    oprot.writeMessageBegin("validateRiskyStatus", TMessageType.REPLY, seqid)
8049
    result.write(oprot)
8050
    oprot.writeMessageEnd()
8051
    oprot.trans.flush()
8052
 
8053
  def process_changeItemRiskyFlag(self, seqid, iprot, oprot):
8054
    args = changeItemRiskyFlag_args()
8055
    args.read(iprot)
8056
    iprot.readMessageEnd()
8057
    result = changeItemRiskyFlag_result()
8058
    self._handler.changeItemRiskyFlag(args.itemId, args.risky)
8059
    oprot.writeMessageBegin("changeItemRiskyFlag", TMessageType.REPLY, seqid)
8060
    result.write(oprot)
8061
    oprot.writeMessageEnd()
8062
    oprot.trans.flush()
8063
 
8064
  def process_getItemsByRiskyFlag(self, seqid, iprot, oprot):
8065
    args = getItemsByRiskyFlag_args()
8066
    args.read(iprot)
8067
    iprot.readMessageEnd()
8068
    result = getItemsByRiskyFlag_result()
8069
    result.success = self._handler.getItemsByRiskyFlag()
8070
    oprot.writeMessageBegin("getItemsByRiskyFlag", TMessageType.REPLY, seqid)
8071
    result.write(oprot)
8072
    oprot.writeMessageEnd()
8073
    oprot.trans.flush()
8074
 
8075
  def process_getItemsForMasterSheet(self, seqid, iprot, oprot):
8076
    args = getItemsForMasterSheet_args()
8077
    args.read(iprot)
8078
    iprot.readMessageEnd()
8079
    result = getItemsForMasterSheet_result()
8080
    result.success = self._handler.getItemsForMasterSheet(args.category, args.brand)
8081
    oprot.writeMessageBegin("getItemsForMasterSheet", TMessageType.REPLY, seqid)
8082
    result.write(oprot)
8083
    oprot.writeMessageEnd()
8084
    oprot.trans.flush()
8085
 
8086
  def process_getSimilarItemsCatalogIds(self, seqid, iprot, oprot):
8087
    args = getSimilarItemsCatalogIds_args()
8088
    args.read(iprot)
8089
    iprot.readMessageEnd()
8090
    result = getSimilarItemsCatalogIds_result()
8091
    result.success = self._handler.getSimilarItemsCatalogIds(args.beginIndex, args.totalItems, args.itemId)
8092
    oprot.writeMessageBegin("getSimilarItemsCatalogIds", TMessageType.REPLY, seqid)
8093
    result.write(oprot)
8094
    oprot.writeMessageEnd()
8095
    oprot.trans.flush()
8096
 
8097
  def process_addProductNotification(self, seqid, iprot, oprot):
8098
    args = addProductNotification_args()
8099
    args.read(iprot)
8100
    iprot.readMessageEnd()
8101
    result = addProductNotification_result()
8102
    result.success = self._handler.addProductNotification(args.itemId, args.email)
8103
    oprot.writeMessageBegin("addProductNotification", TMessageType.REPLY, seqid)
8104
    result.write(oprot)
8105
    oprot.writeMessageEnd()
8106
    oprot.trans.flush()
8107
 
8108
  def process_sendProductNotifications(self, seqid, iprot, oprot):
8109
    args = sendProductNotifications_args()
8110
    args.read(iprot)
8111
    iprot.readMessageEnd()
8112
    result = sendProductNotifications_result()
8113
    result.success = self._handler.sendProductNotifications()
8114
    oprot.writeMessageBegin("sendProductNotifications", TMessageType.REPLY, seqid)
8115
    result.write(oprot)
8116
    oprot.writeMessageEnd()
8117
    oprot.trans.flush()
8118
 
8119
  def process_getAllBrandsByCategory(self, seqid, iprot, oprot):
8120
    args = getAllBrandsByCategory_args()
8121
    args.read(iprot)
8122
    iprot.readMessageEnd()
8123
    result = getAllBrandsByCategory_result()
8124
    result.success = self._handler.getAllBrandsByCategory(args.categoryId)
8125
    oprot.writeMessageBegin("getAllBrandsByCategory", TMessageType.REPLY, seqid)
8126
    result.write(oprot)
8127
    oprot.writeMessageEnd()
8128
    oprot.trans.flush()
8129
 
8130
  def process_getAllBrands(self, seqid, iprot, oprot):
8131
    args = getAllBrands_args()
8132
    args.read(iprot)
8133
    iprot.readMessageEnd()
8134
    result = getAllBrands_result()
8135
    result.success = self._handler.getAllBrands()
8136
    oprot.writeMessageBegin("getAllBrands", TMessageType.REPLY, seqid)
8137
    result.write(oprot)
8138
    oprot.writeMessageEnd()
8139
    oprot.trans.flush()
8140
 
8141
  def process_getAllSources(self, seqid, iprot, oprot):
8142
    args = getAllSources_args()
8143
    args.read(iprot)
8144
    iprot.readMessageEnd()
8145
    result = getAllSources_result()
8146
    result.success = self._handler.getAllSources()
8147
    oprot.writeMessageBegin("getAllSources", TMessageType.REPLY, seqid)
8148
    result.write(oprot)
8149
    oprot.writeMessageEnd()
8150
    oprot.trans.flush()
8151
 
8152
  def process_getItemPricingBySource(self, seqid, iprot, oprot):
8153
    args = getItemPricingBySource_args()
8154
    args.read(iprot)
8155
    iprot.readMessageEnd()
8156
    result = getItemPricingBySource_result()
8157
    try:
8158
      result.success = self._handler.getItemPricingBySource(args.itemId, args.sourceId)
8159
    except CatalogServiceException, cex:
8160
      result.cex = cex
8161
    oprot.writeMessageBegin("getItemPricingBySource", TMessageType.REPLY, seqid)
8162
    result.write(oprot)
8163
    oprot.writeMessageEnd()
8164
    oprot.trans.flush()
8165
 
8166
  def process_addSourceItemPricing(self, seqid, iprot, oprot):
8167
    args = addSourceItemPricing_args()
8168
    args.read(iprot)
8169
    iprot.readMessageEnd()
8170
    result = addSourceItemPricing_result()
8171
    try:
8172
      self._handler.addSourceItemPricing(args.sourceItemPricing)
8173
    except CatalogServiceException, cex:
8174
      result.cex = cex
8175
    oprot.writeMessageBegin("addSourceItemPricing", TMessageType.REPLY, seqid)
8176
    result.write(oprot)
8177
    oprot.writeMessageEnd()
8178
    oprot.trans.flush()
8179
 
8180
  def process_getAllSourcePricing(self, seqid, iprot, oprot):
8181
    args = getAllSourcePricing_args()
8182
    args.read(iprot)
8183
    iprot.readMessageEnd()
8184
    result = getAllSourcePricing_result()
8185
    try:
8186
      result.success = self._handler.getAllSourcePricing(args.itemId)
8187
    except CatalogServiceException, cex:
8188
      result.cex = cex
8189
    oprot.writeMessageBegin("getAllSourcePricing", TMessageType.REPLY, seqid)
8190
    result.write(oprot)
8191
    oprot.writeMessageEnd()
8192
    oprot.trans.flush()
8193
 
8194
  def process_getItemForSource(self, seqid, iprot, oprot):
8195
    args = getItemForSource_args()
8196
    args.read(iprot)
8197
    iprot.readMessageEnd()
8198
    result = getItemForSource_result()
8199
    try:
8200
      result.success = self._handler.getItemForSource(args.item_id, args.sourceId)
8201
    except CatalogServiceException, cex:
8202
      result.cex = cex
8203
    oprot.writeMessageBegin("getItemForSource", TMessageType.REPLY, seqid)
8204
    result.write(oprot)
8205
    oprot.writeMessageEnd()
8206
    oprot.trans.flush()
8207
 
8208
  def process_searchItemsInRange(self, seqid, iprot, oprot):
8209
    args = searchItemsInRange_args()
8210
    args.read(iprot)
8211
    iprot.readMessageEnd()
8212
    result = searchItemsInRange_result()
8213
    result.success = self._handler.searchItemsInRange(args.searchTerms, args.offset, args.limit)
8214
    oprot.writeMessageBegin("searchItemsInRange", TMessageType.REPLY, seqid)
8215
    result.write(oprot)
8216
    oprot.writeMessageEnd()
8217
    oprot.trans.flush()
8218
 
8219
  def process_getSearchResultCount(self, seqid, iprot, oprot):
8220
    args = getSearchResultCount_args()
8221
    args.read(iprot)
8222
    iprot.readMessageEnd()
8223
    result = getSearchResultCount_result()
8224
    result.success = self._handler.getSearchResultCount(args.searchTerms)
8225
    oprot.writeMessageBegin("getSearchResultCount", TMessageType.REPLY, seqid)
8226
    result.write(oprot)
8227
    oprot.writeMessageEnd()
8228
    oprot.trans.flush()
8229
 
8230
  def process_getProductNotifications(self, seqid, iprot, oprot):
8231
    args = getProductNotifications_args()
8232
    args.read(iprot)
8233
    iprot.readMessageEnd()
8234
    result = getProductNotifications_result()
8235
    result.success = self._handler.getProductNotifications(args.startDateTime)
8236
    oprot.writeMessageBegin("getProductNotifications", TMessageType.REPLY, seqid)
8237
    result.write(oprot)
8238
    oprot.writeMessageEnd()
8239
    oprot.trans.flush()
8240
 
8241
  def process_getProductNotificationRequestCount(self, seqid, iprot, oprot):
8242
    args = getProductNotificationRequestCount_args()
8243
    args.read(iprot)
8244
    iprot.readMessageEnd()
8245
    result = getProductNotificationRequestCount_result()
7897 amar.kumar 8246
    result.success = self._handler.getProductNotificationRequestCount(args.startDateTime, args.categoryId)
5944 mandeep.dh 8247
    oprot.writeMessageBegin("getProductNotificationRequestCount", TMessageType.REPLY, seqid)
8248
    result.write(oprot)
8249
    oprot.writeMessageEnd()
8250
    oprot.trans.flush()
8251
 
8252
  def process_addAuthorizationLog(self, seqid, iprot, oprot):
8253
    args = addAuthorizationLog_args()
8254
    args.read(iprot)
8255
    iprot.readMessageEnd()
8256
    result = addAuthorizationLog_result()
8257
    try:
8258
      result.success = self._handler.addAuthorizationLog(args.itemId, args.username, args.reason)
8259
    except CatalogServiceException, cex:
8260
      result.cex = cex
8261
    oprot.writeMessageBegin("addAuthorizationLog", TMessageType.REPLY, seqid)
8262
    result.write(oprot)
8263
    oprot.writeMessageEnd()
8264
    oprot.trans.flush()
8265
 
8266
  def process_addupdateVoucherForItem(self, seqid, iprot, oprot):
8267
    args = addupdateVoucherForItem_args()
8268
    args.read(iprot)
8269
    iprot.readMessageEnd()
8270
    result = addupdateVoucherForItem_result()
8271
    try:
8272
      result.success = self._handler.addupdateVoucherForItem(args.catalog_item_id, args.voucherType, args.voucherAmount)
8273
    except CatalogServiceException, cex:
8274
      result.cex = cex
8275
    oprot.writeMessageBegin("addupdateVoucherForItem", TMessageType.REPLY, seqid)
8276
    result.write(oprot)
8277
    oprot.writeMessageEnd()
8278
    oprot.trans.flush()
8279
 
8280
  def process_deleteVoucherForItem(self, seqid, iprot, oprot):
8281
    args = deleteVoucherForItem_args()
8282
    args.read(iprot)
8283
    iprot.readMessageEnd()
8284
    result = deleteVoucherForItem_result()
8285
    try:
8286
      result.success = self._handler.deleteVoucherForItem(args.catalog_item_id, args.voucherType)
8287
    except CatalogServiceException, cex:
8288
      result.cex = cex
8289
    oprot.writeMessageBegin("deleteVoucherForItem", TMessageType.REPLY, seqid)
8290
    result.write(oprot)
8291
    oprot.writeMessageEnd()
8292
    oprot.trans.flush()
8293
 
8294
  def process_getVoucherAmount(self, seqid, iprot, oprot):
8295
    args = getVoucherAmount_args()
8296
    args.read(iprot)
8297
    iprot.readMessageEnd()
8298
    result = getVoucherAmount_result()
8299
    result.success = self._handler.getVoucherAmount(args.itemId, args.voucherType)
8300
    oprot.writeMessageBegin("getVoucherAmount", TMessageType.REPLY, seqid)
8301
    result.write(oprot)
8302
    oprot.writeMessageEnd()
8303
    oprot.trans.flush()
8304
 
8305
  def process_getAllItemVouchers(self, seqid, iprot, oprot):
8306
    args = getAllItemVouchers_args()
8307
    args.read(iprot)
8308
    iprot.readMessageEnd()
8309
    result = getAllItemVouchers_result()
8310
    result.success = self._handler.getAllItemVouchers(args.itemId)
8311
    oprot.writeMessageBegin("getAllItemVouchers", TMessageType.REPLY, seqid)
8312
    result.write(oprot)
8313
    oprot.writeMessageEnd()
8314
    oprot.trans.flush()
8315
 
8316
  def process_isValidCatalogItemId(self, seqid, iprot, oprot):
8317
    args = isValidCatalogItemId_args()
8318
    args.read(iprot)
8319
    iprot.readMessageEnd()
8320
    result = isValidCatalogItemId_result()
8321
    result.success = self._handler.isValidCatalogItemId(args.catalog_item_id)
8322
    oprot.writeMessageBegin("isValidCatalogItemId", TMessageType.REPLY, seqid)
8323
    result.write(oprot)
8324
    oprot.writeMessageEnd()
8325
    oprot.trans.flush()
8326
 
6039 amit.gupta 8327
  def process_getVatPercentageForItem(self, seqid, iprot, oprot):
8328
    args = getVatPercentageForItem_args()
8329
    args.read(iprot)
8330
    iprot.readMessageEnd()
8331
    result = getVatPercentageForItem_result()
7340 amit.gupta 8332
    try:
8333
      result.success = self._handler.getVatPercentageForItem(args.itemId, args.stateId, args.price)
8334
    except CatalogServiceException, cex:
8335
      result.cex = cex
6039 amit.gupta 8336
    oprot.writeMessageBegin("getVatPercentageForItem", TMessageType.REPLY, seqid)
8337
    result.write(oprot)
8338
    oprot.writeMessageEnd()
8339
    oprot.trans.flush()
5944 mandeep.dh 8340
 
6039 amit.gupta 8341
  def process_getVatAmountForItem(self, seqid, iprot, oprot):
8342
    args = getVatAmountForItem_args()
8343
    args.read(iprot)
8344
    iprot.readMessageEnd()
8345
    result = getVatAmountForItem_result()
8346
    result.success = self._handler.getVatAmountForItem(args.itemId, args.price)
8347
    oprot.writeMessageBegin("getVatAmountForItem", TMessageType.REPLY, seqid)
8348
    result.write(oprot)
8349
    oprot.writeMessageEnd()
8350
    oprot.trans.flush()
8351
 
6531 vikram.rag 8352
  def process_getAllIgnoredInventoryUpdateItemsList(self, seqid, iprot, oprot):
8353
    args = getAllIgnoredInventoryUpdateItemsList_args()
8354
    args.read(iprot)
8355
    iprot.readMessageEnd()
8356
    result = getAllIgnoredInventoryUpdateItemsList_result()
8357
    result.success = self._handler.getAllIgnoredInventoryUpdateItemsList(args.offset, args.limit)
8358
    oprot.writeMessageBegin("getAllIgnoredInventoryUpdateItemsList", TMessageType.REPLY, seqid)
8359
    result.write(oprot)
8360
    oprot.writeMessageEnd()
8361
    oprot.trans.flush()
6039 amit.gupta 8362
 
6821 amar.kumar 8363
  def process_getAllAliveItems(self, seqid, iprot, oprot):
8364
    args = getAllAliveItems_args()
8365
    args.read(iprot)
8366
    iprot.readMessageEnd()
8367
    result = getAllAliveItems_result()
8368
    result.success = self._handler.getAllAliveItems()
8369
    oprot.writeMessageBegin("getAllAliveItems", TMessageType.REPLY, seqid)
8370
    result.write(oprot)
8371
    oprot.writeMessageEnd()
8372
    oprot.trans.flush()
8373
 
6805 anupam.sin 8374
  def process_getInsuranceAmount(self, seqid, iprot, oprot):
8375
    args = getInsuranceAmount_args()
8376
    args.read(iprot)
8377
    iprot.readMessageEnd()
8378
    result = getInsuranceAmount_result()
6921 anupam.sin 8379
    result.success = self._handler.getInsuranceAmount(args.itemId, args.price, args.insurerId, args.quantity)
6805 anupam.sin 8380
    oprot.writeMessageBegin("getInsuranceAmount", TMessageType.REPLY, seqid)
8381
    result.write(oprot)
8382
    oprot.writeMessageEnd()
8383
    oprot.trans.flush()
6531 vikram.rag 8384
 
6805 anupam.sin 8385
  def process_getInsurer(self, seqid, iprot, oprot):
8386
    args = getInsurer_args()
8387
    args.read(iprot)
8388
    iprot.readMessageEnd()
8389
    result = getInsurer_result()
8390
    result.success = self._handler.getInsurer(args.insurerId)
8391
    oprot.writeMessageBegin("getInsurer", TMessageType.REPLY, seqid)
8392
    result.write(oprot)
8393
    oprot.writeMessageEnd()
8394
    oprot.trans.flush()
8395
 
6838 vikram.rag 8396
  def process_getAllInsurers(self, seqid, iprot, oprot):
8397
    args = getAllInsurers_args()
8398
    args.read(iprot)
8399
    iprot.readMessageEnd()
8400
    result = getAllInsurers_result()
8401
    result.success = self._handler.getAllInsurers()
8402
    oprot.writeMessageBegin("getAllInsurers", TMessageType.REPLY, seqid)
8403
    result.write(oprot)
8404
    oprot.writeMessageEnd()
8405
    oprot.trans.flush()
6805 anupam.sin 8406
 
6962 rajveer 8407
  def process_updateInsuranceDeclaredAmount(self, seqid, iprot, oprot):
8408
    args = updateInsuranceDeclaredAmount_args()
8409
    args.read(iprot)
8410
    iprot.readMessageEnd()
8411
    result = updateInsuranceDeclaredAmount_result()
8412
    self._handler.updateInsuranceDeclaredAmount(args.insurerId, args.amount)
8413
    oprot.writeMessageBegin("updateInsuranceDeclaredAmount", TMessageType.REPLY, seqid)
8414
    result.write(oprot)
8415
    oprot.writeMessageEnd()
8416
    oprot.trans.flush()
6838 vikram.rag 8417
 
7190 amar.kumar 8418
  def process_getFreebieForItem(self, seqid, iprot, oprot):
8419
    args = getFreebieForItem_args()
8420
    args.read(iprot)
8421
    iprot.readMessageEnd()
8422
    result = getFreebieForItem_result()
8423
    result.success = self._handler.getFreebieForItem(args.itemId)
8424
    oprot.writeMessageBegin("getFreebieForItem", TMessageType.REPLY, seqid)
8425
    result.write(oprot)
8426
    oprot.writeMessageEnd()
8427
    oprot.trans.flush()
6962 rajveer 8428
 
7190 amar.kumar 8429
  def process_addOrUpdateFreebieForItem(self, seqid, iprot, oprot):
8430
    args = addOrUpdateFreebieForItem_args()
8431
    args.read(iprot)
8432
    iprot.readMessageEnd()
8433
    result = addOrUpdateFreebieForItem_result()
8434
    self._handler.addOrUpdateFreebieForItem(args.freebieItem)
8435
    oprot.writeMessageBegin("addOrUpdateFreebieForItem", TMessageType.REPLY, seqid)
8436
    result.write(oprot)
8437
    oprot.writeMessageEnd()
8438
    oprot.trans.flush()
8439
 
7272 amit.gupta 8440
  def process_addOrUpdateBrandInfo(self, seqid, iprot, oprot):
8441
    args = addOrUpdateBrandInfo_args()
8442
    args.read(iprot)
8443
    iprot.readMessageEnd()
8444
    result = addOrUpdateBrandInfo_result()
8445
    self._handler.addOrUpdateBrandInfo(args.brandInfo)
8446
    oprot.writeMessageBegin("addOrUpdateBrandInfo", TMessageType.REPLY, seqid)
8447
    result.write(oprot)
8448
    oprot.writeMessageEnd()
8449
    oprot.trans.flush()
8450
 
8451
  def process_getBrandInfo(self, seqid, iprot, oprot):
8452
    args = getBrandInfo_args()
8453
    args.read(iprot)
8454
    iprot.readMessageEnd()
8455
    result = getBrandInfo_result()
8456
    result.success = self._handler.getBrandInfo()
8457
    oprot.writeMessageBegin("getBrandInfo", TMessageType.REPLY, seqid)
8458
    result.write(oprot)
8459
    oprot.writeMessageEnd()
8460
    oprot.trans.flush()
8461
 
7256 rajveer 8462
  def process_getStorePricing(self, seqid, iprot, oprot):
8463
    args = getStorePricing_args()
8464
    args.read(iprot)
8465
    iprot.readMessageEnd()
8466
    result = getStorePricing_result()
8467
    result.success = self._handler.getStorePricing(args.itemId)
8468
    oprot.writeMessageBegin("getStorePricing", TMessageType.REPLY, seqid)
8469
    result.write(oprot)
8470
    oprot.writeMessageEnd()
8471
    oprot.trans.flush()
7190 amar.kumar 8472
 
7306 rajveer 8473
  def process_getStorePricings(self, seqid, iprot, oprot):
8474
    args = getStorePricings_args()
8475
    args.read(iprot)
8476
    iprot.readMessageEnd()
8477
    result = getStorePricings_result()
8478
    result.success = self._handler.getStorePricings(args.itemIds)
8479
    oprot.writeMessageBegin("getStorePricings", TMessageType.REPLY, seqid)
8480
    result.write(oprot)
8481
    oprot.writeMessageEnd()
8482
    oprot.trans.flush()
8483
 
7265 rajveer 8484
  def process_updateStorePricing(self, seqid, iprot, oprot):
8485
    args = updateStorePricing_args()
8486
    args.read(iprot)
8487
    iprot.readMessageEnd()
8488
    result = updateStorePricing_result()
7382 rajveer 8489
    self._handler.updateStorePricing(args.sp, args.allColors)
7265 rajveer 8490
    oprot.writeMessageBegin("updateStorePricing", TMessageType.REPLY, seqid)
8491
    result.write(oprot)
8492
    oprot.writeMessageEnd()
8493
    oprot.trans.flush()
7256 rajveer 8494
 
7281 kshitij.so 8495
  def process_getAllAmazonListedItems(self, seqid, iprot, oprot):
8496
    args = getAllAmazonListedItems_args()
8497
    args.read(iprot)
8498
    iprot.readMessageEnd()
8499
    result = getAllAmazonListedItems_result()
8500
    result.success = self._handler.getAllAmazonListedItems()
8501
    oprot.writeMessageBegin("getAllAmazonListedItems", TMessageType.REPLY, seqid)
8502
    result.write(oprot)
8503
    oprot.writeMessageEnd()
8504
    oprot.trans.flush()
7265 rajveer 8505
 
8619 kshitij.so 8506
  def process_searchAmazonItems(self, seqid, iprot, oprot):
8507
    args = searchAmazonItems_args()
8508
    args.read(iprot)
8509
    iprot.readMessageEnd()
8510
    result = searchAmazonItems_result()
8511
    result.success = self._handler.searchAmazonItems(args.searchTerm, args.offset, args.limit)
8512
    oprot.writeMessageBegin("searchAmazonItems", TMessageType.REPLY, seqid)
8513
    result.write(oprot)
8514
    oprot.writeMessageEnd()
8515
    oprot.trans.flush()
8516
 
8517
  def process_getAmazonSearchResultCount(self, seqid, iprot, oprot):
8518
    args = getAmazonSearchResultCount_args()
8519
    args.read(iprot)
8520
    iprot.readMessageEnd()
8521
    result = getAmazonSearchResultCount_result()
8522
    result.success = self._handler.getAmazonSearchResultCount(args.searchTerm)
8523
    oprot.writeMessageBegin("getAmazonSearchResultCount", TMessageType.REPLY, seqid)
8524
    result.write(oprot)
8525
    oprot.writeMessageEnd()
8526
    oprot.trans.flush()
8527
 
8528
  def process_getCountForAmazonlistedItems(self, seqid, iprot, oprot):
8529
    args = getCountForAmazonlistedItems_args()
8530
    args.read(iprot)
8531
    iprot.readMessageEnd()
8532
    result = getCountForAmazonlistedItems_result()
8533
    result.success = self._handler.getCountForAmazonlistedItems()
8534
    oprot.writeMessageBegin("getCountForAmazonlistedItems", TMessageType.REPLY, seqid)
8535
    result.write(oprot)
8536
    oprot.writeMessageEnd()
8537
    oprot.trans.flush()
8538
 
7281 kshitij.so 8539
  def process_getAmazonItemDetails(self, seqid, iprot, oprot):
8540
    args = getAmazonItemDetails_args()
8541
    args.read(iprot)
8542
    iprot.readMessageEnd()
8543
    result = getAmazonItemDetails_result()
8544
    result.success = self._handler.getAmazonItemDetails(args.itemId)
8545
    oprot.writeMessageBegin("getAmazonItemDetails", TMessageType.REPLY, seqid)
8546
    result.write(oprot)
8547
    oprot.writeMessageEnd()
8548
    oprot.trans.flush()
8549
 
8550
  def process_updateAmazonItemDetails(self, seqid, iprot, oprot):
8551
    args = updateAmazonItemDetails_args()
8552
    args.read(iprot)
8553
    iprot.readMessageEnd()
8554
    result = updateAmazonItemDetails_result()
8168 kshitij.so 8555
    self._handler.updateAmazonItemDetails(args.amazonlisted)
7281 kshitij.so 8556
    oprot.writeMessageBegin("updateAmazonItemDetails", TMessageType.REPLY, seqid)
8557
    result.write(oprot)
8558
    oprot.writeMessageEnd()
8559
    oprot.trans.flush()
8560
 
8561
  def process_addAmazonItem(self, seqid, iprot, oprot):
8562
    args = addAmazonItem_args()
8563
    args.read(iprot)
8564
    iprot.readMessageEnd()
8565
    result = addAmazonItem_result()
8566
    self._handler.addAmazonItem(args.amazonlisted)
8567
    oprot.writeMessageBegin("addAmazonItem", TMessageType.REPLY, seqid)
8568
    result.write(oprot)
8569
    oprot.writeMessageEnd()
8570
    oprot.trans.flush()
8571
 
7291 vikram.rag 8572
  def process_getAsinItems(self, seqid, iprot, oprot):
8573
    args = getAsinItems_args()
8574
    args.read(iprot)
8575
    iprot.readMessageEnd()
8576
    result = getAsinItems_result()
8577
    result.success = self._handler.getAsinItems()
8578
    oprot.writeMessageBegin("getAsinItems", TMessageType.REPLY, seqid)
8579
    result.write(oprot)
8580
    oprot.writeMessageEnd()
8581
    oprot.trans.flush()
7281 kshitij.so 8582
 
7291 vikram.rag 8583
  def process_getAllFbaListedItems(self, seqid, iprot, oprot):
8584
    args = getAllFbaListedItems_args()
8585
    args.read(iprot)
8586
    iprot.readMessageEnd()
8587
    result = getAllFbaListedItems_result()
8588
    result.success = self._handler.getAllFbaListedItems()
8589
    oprot.writeMessageBegin("getAllFbaListedItems", TMessageType.REPLY, seqid)
8590
    result.write(oprot)
8591
    oprot.writeMessageEnd()
8592
    oprot.trans.flush()
8593
 
8594
  def process_getAllNonFbaListedItems(self, seqid, iprot, oprot):
8595
    args = getAllNonFbaListedItems_args()
8596
    args.read(iprot)
8597
    iprot.readMessageEnd()
8598
    result = getAllNonFbaListedItems_result()
8599
    result.success = self._handler.getAllNonFbaListedItems()
8600
    oprot.writeMessageBegin("getAllNonFbaListedItems", TMessageType.REPLY, seqid)
8601
    result.write(oprot)
8602
    oprot.writeMessageEnd()
8603
    oprot.trans.flush()
8604
 
7460 kshitij.so 8605
  def process_updateItemInventory(self, seqid, iprot, oprot):
8606
    args = updateItemInventory_args()
8607
    args.read(iprot)
8608
    iprot.readMessageEnd()
8609
    result = updateItemInventory_result()
8610
    result.success = self._handler.updateItemInventory(args.itemId, args.holdInventory, args.defaultInventory)
8611
    oprot.writeMessageBegin("updateItemInventory", TMessageType.REPLY, seqid)
8612
    result.write(oprot)
8613
    oprot.writeMessageEnd()
8614
    oprot.trans.flush()
7291 vikram.rag 8615
 
7770 kshitij.so 8616
  def process_updateTimestampForAmazonFeeds(self, seqid, iprot, oprot):
8617
    args = updateTimestampForAmazonFeeds_args()
8618
    args.read(iprot)
8619
    iprot.readMessageEnd()
8620
    result = updateTimestampForAmazonFeeds_result()
8621
    result.success = self._handler.updateTimestampForAmazonFeeds(args.type, args.sku, args.timestamp)
8622
    oprot.writeMessageBegin("updateTimestampForAmazonFeeds", TMessageType.REPLY, seqid)
8623
    result.write(oprot)
8624
    oprot.writeMessageEnd()
8625
    oprot.trans.flush()
7460 kshitij.so 8626
 
7897 amar.kumar 8627
  def process_getAllParentCategories(self, seqid, iprot, oprot):
8628
    args = getAllParentCategories_args()
8629
    args.read(iprot)
8630
    iprot.readMessageEnd()
8631
    result = getAllParentCategories_result()
8632
    result.success = self._handler.getAllParentCategories()
8633
    oprot.writeMessageBegin("getAllParentCategories", TMessageType.REPLY, seqid)
8634
    result.write(oprot)
8635
    oprot.writeMessageEnd()
8636
    oprot.trans.flush()
7770 kshitij.so 8637
 
7977 kshitij.so 8638
  def process_addPageViewEvent(self, seqid, iprot, oprot):
8639
    args = addPageViewEvent_args()
8640
    args.read(iprot)
8641
    iprot.readMessageEnd()
8642
    result = addPageViewEvent_result()
8643
    self._handler.addPageViewEvent(args.pageViewEvents)
8644
    oprot.writeMessageBegin("addPageViewEvent", TMessageType.REPLY, seqid)
8645
    result.write(oprot)
8646
    oprot.writeMessageEnd()
8647
    oprot.trans.flush()
7897 amar.kumar 8648
 
7977 kshitij.so 8649
  def process_addCartEvent(self, seqid, iprot, oprot):
8650
    args = addCartEvent_args()
8651
    args.read(iprot)
8652
    iprot.readMessageEnd()
8653
    result = addCartEvent_result()
8654
    self._handler.addCartEvent(args.cartEvents)
8655
    oprot.writeMessageBegin("addCartEvent", TMessageType.REPLY, seqid)
8656
    result.write(oprot)
8657
    oprot.writeMessageEnd()
8658
    oprot.trans.flush()
8659
 
8182 amar.kumar 8660
  def process_addEbayItem(self, seqid, iprot, oprot):
8661
    args = addEbayItem_args()
8662
    args.read(iprot)
8663
    iprot.readMessageEnd()
8664
    result = addEbayItem_result()
8665
    self._handler.addEbayItem(args.ebayItem)
8666
    oprot.writeMessageBegin("addEbayItem", TMessageType.REPLY, seqid)
8667
    result.write(oprot)
8668
    oprot.writeMessageEnd()
8669
    oprot.trans.flush()
8670
 
8671
  def process_getEbayItem(self, seqid, iprot, oprot):
8672
    args = getEbayItem_args()
8673
    args.read(iprot)
8674
    iprot.readMessageEnd()
8675
    result = getEbayItem_result()
8676
    result.success = self._handler.getEbayItem(args.listingId)
8677
    oprot.writeMessageBegin("getEbayItem", TMessageType.REPLY, seqid)
8678
    result.write(oprot)
8679
    oprot.writeMessageEnd()
8680
    oprot.trans.flush()
8681
 
8682
  def process_updateEbayItem(self, seqid, iprot, oprot):
8683
    args = updateEbayItem_args()
8684
    args.read(iprot)
8685
    iprot.readMessageEnd()
8686
    result = updateEbayItem_result()
8687
    self._handler.updateEbayItem(args.ebayItem)
8688
    oprot.writeMessageBegin("updateEbayItem", TMessageType.REPLY, seqid)
8689
    result.write(oprot)
8690
    oprot.writeMessageEnd()
8691
    oprot.trans.flush()
8692
 
8139 kshitij.so 8693
  def process_getAmazonListedItems(self, seqid, iprot, oprot):
8694
    args = getAmazonListedItems_args()
8695
    args.read(iprot)
8696
    iprot.readMessageEnd()
8697
    result = getAmazonListedItems_result()
8698
    result.success = self._handler.getAmazonListedItems(args.offset, args.limit)
8699
    oprot.writeMessageBegin("getAmazonListedItems", TMessageType.REPLY, seqid)
8700
    result.write(oprot)
8701
    oprot.writeMessageEnd()
8702
    oprot.trans.flush()
7977 kshitij.so 8703
 
8168 kshitij.so 8704
  def process_updateAmazonAttributesInBulk(self, seqid, iprot, oprot):
8705
    args = updateAmazonAttributesInBulk_args()
8706
    args.read(iprot)
8707
    iprot.readMessageEnd()
8708
    result = updateAmazonAttributesInBulk_result()
8709
    result.success = self._handler.updateAmazonAttributesInBulk(args.amazonlisted)
8710
    oprot.writeMessageBegin("updateAmazonAttributesInBulk", TMessageType.REPLY, seqid)
8711
    result.write(oprot)
8712
    oprot.writeMessageEnd()
8713
    oprot.trans.flush()
8139 kshitij.so 8714
 
8379 vikram.rag 8715
  def process_getAllItemstoListOnFba(self, seqid, iprot, oprot):
8716
    args = getAllItemstoListOnFba_args()
8717
    args.read(iprot)
8718
    iprot.readMessageEnd()
8719
    result = getAllItemstoListOnFba_result()
8720
    result.success = self._handler.getAllItemstoListOnFba()
8721
    oprot.writeMessageBegin("getAllItemstoListOnFba", TMessageType.REPLY, seqid)
8722
    result.write(oprot)
8723
    oprot.writeMessageEnd()
8724
    oprot.trans.flush()
8168 kshitij.so 8725
 
8379 vikram.rag 8726
  def process_getAllItemstoListOnNonFba(self, seqid, iprot, oprot):
8727
    args = getAllItemstoListOnNonFba_args()
8728
    args.read(iprot)
8729
    iprot.readMessageEnd()
8730
    result = getAllItemstoListOnNonFba_result()
8731
    result.success = self._handler.getAllItemstoListOnNonFba()
8732
    oprot.writeMessageBegin("getAllItemstoListOnNonFba", TMessageType.REPLY, seqid)
8733
    result.write(oprot)
8734
    oprot.writeMessageEnd()
8735
    oprot.trans.flush()
8736
 
8619 kshitij.so 8737
  def process_updateAsin(self, seqid, iprot, oprot):
8738
    args = updateAsin_args()
8739
    args.read(iprot)
8740
    iprot.readMessageEnd()
8741
    result = updateAsin_result()
8742
    self._handler.updateAsin(args.item)
8743
    oprot.writeMessageBegin("updateAsin", TMessageType.REPLY, seqid)
8744
    result.write(oprot)
8745
    oprot.writeMessageEnd()
8746
    oprot.trans.flush()
8616 vikram.rag 8747
 
8739 vikram.rag 8748
  def process_addOrUpdateSnapdealItem(self, seqid, iprot, oprot):
8749
    args = addOrUpdateSnapdealItem_args()
8750
    args.read(iprot)
8751
    iprot.readMessageEnd()
8752
    result = addOrUpdateSnapdealItem_result()
8753
    result.success = self._handler.addOrUpdateSnapdealItem(args.snapdealitem)
8754
    oprot.writeMessageBegin("addOrUpdateSnapdealItem", TMessageType.REPLY, seqid)
8755
    result.write(oprot)
8756
    oprot.writeMessageEnd()
8757
    oprot.trans.flush()
8619 kshitij.so 8758
 
8739 vikram.rag 8759
  def process_getSnapdealItem(self, seqid, iprot, oprot):
8760
    args = getSnapdealItem_args()
8761
    args.read(iprot)
8762
    iprot.readMessageEnd()
8763
    result = getSnapdealItem_result()
8764
    result.success = self._handler.getSnapdealItem(args.item_id)
8765
    oprot.writeMessageBegin("getSnapdealItem", TMessageType.REPLY, seqid)
8766
    result.write(oprot)
8767
    oprot.writeMessageEnd()
8768
    oprot.trans.flush()
8769
 
9242 kshitij.so 8770
  def process_getSnapdealItemDetails(self, seqid, iprot, oprot):
8771
    args = getSnapdealItemDetails_args()
8772
    args.read(iprot)
8773
    iprot.readMessageEnd()
8774
    result = getSnapdealItemDetails_result()
8775
    result.success = self._handler.getSnapdealItemDetails(args.item_id)
8776
    oprot.writeMessageBegin("getSnapdealItemDetails", TMessageType.REPLY, seqid)
8777
    result.write(oprot)
8778
    oprot.writeMessageEnd()
8779
    oprot.trans.flush()
8780
 
8739 vikram.rag 8781
  def process_getAllSnapdealItems(self, seqid, iprot, oprot):
8782
    args = getAllSnapdealItems_args()
8783
    args.read(iprot)
8784
    iprot.readMessageEnd()
8785
    result = getAllSnapdealItems_result()
8786
    result.success = self._handler.getAllSnapdealItems()
8787
    oprot.writeMessageBegin("getAllSnapdealItems", TMessageType.REPLY, seqid)
8788
    result.write(oprot)
8789
    oprot.writeMessageEnd()
8790
    oprot.trans.flush()
8791
 
9242 kshitij.so 8792
  def process_getSnapdealItems(self, seqid, iprot, oprot):
8793
    args = getSnapdealItems_args()
8794
    args.read(iprot)
8795
    iprot.readMessageEnd()
8796
    result = getSnapdealItems_result()
8797
    result.success = self._handler.getSnapdealItems(args.offset, args.limit)
8798
    oprot.writeMessageBegin("getSnapdealItems", TMessageType.REPLY, seqid)
8799
    result.write(oprot)
8800
    oprot.writeMessageEnd()
8801
    oprot.trans.flush()
8739 vikram.rag 8802
 
9242 kshitij.so 8803
  def process_searchSnapdealItems(self, seqid, iprot, oprot):
8804
    args = searchSnapdealItems_args()
8805
    args.read(iprot)
8806
    iprot.readMessageEnd()
8807
    result = searchSnapdealItems_result()
8808
    result.success = self._handler.searchSnapdealItems(args.searchTerm, args.offset, args.limit)
8809
    oprot.writeMessageBegin("searchSnapdealItems", TMessageType.REPLY, seqid)
8810
    result.write(oprot)
8811
    oprot.writeMessageEnd()
8812
    oprot.trans.flush()
8813
 
8814
  def process_getCountForSnapdealItems(self, seqid, iprot, oprot):
8815
    args = getCountForSnapdealItems_args()
8816
    args.read(iprot)
8817
    iprot.readMessageEnd()
8818
    result = getCountForSnapdealItems_result()
8819
    result.success = self._handler.getCountForSnapdealItems()
8820
    oprot.writeMessageBegin("getCountForSnapdealItems", TMessageType.REPLY, seqid)
8821
    result.write(oprot)
8822
    oprot.writeMessageEnd()
8823
    oprot.trans.flush()
8824
 
8825
  def process_getSnapdealSearchResultCount(self, seqid, iprot, oprot):
8826
    args = getSnapdealSearchResultCount_args()
8827
    args.read(iprot)
8828
    iprot.readMessageEnd()
8829
    result = getSnapdealSearchResultCount_result()
8830
    result.success = self._handler.getSnapdealSearchResultCount(args.searchTerm)
8831
    oprot.writeMessageBegin("getSnapdealSearchResultCount", TMessageType.REPLY, seqid)
8832
    result.write(oprot)
8833
    oprot.writeMessageEnd()
8834
    oprot.trans.flush()
8835
 
9299 kshitij.so 8836
  def process_getPrefferedInsurerForItem(self, seqid, iprot, oprot):
8837
    args = getPrefferedInsurerForItem_args()
8838
    args.read(iprot)
8839
    iprot.readMessageEnd()
8840
    result = getPrefferedInsurerForItem_result()
8841
    result.success = self._handler.getPrefferedInsurerForItem(args.itemId, args.insurerType)
8842
    oprot.writeMessageBegin("getPrefferedInsurerForItem", TMessageType.REPLY, seqid)
8843
    result.write(oprot)
8844
    oprot.writeMessageEnd()
8845
    oprot.trans.flush()
9242 kshitij.so 8846
 
9456 vikram.rag 8847
  def process_getSnapdealItembySkuAtSnapdeal(self, seqid, iprot, oprot):
8848
    args = getSnapdealItembySkuAtSnapdeal_args()
8849
    args.read(iprot)
8850
    iprot.readMessageEnd()
8851
    result = getSnapdealItembySkuAtSnapdeal_result()
8852
    result.success = self._handler.getSnapdealItembySkuAtSnapdeal(args.skuAtSnapdeal)
8853
    oprot.writeMessageBegin("getSnapdealItembySkuAtSnapdeal", TMessageType.REPLY, seqid)
8854
    result.write(oprot)
8855
    oprot.writeMessageEnd()
8856
    oprot.trans.flush()
9299 kshitij.so 8857
 
9621 manish.sha 8858
  def process_getProductFeedSubmit(self, seqid, iprot, oprot):
8859
    args = getProductFeedSubmit_args()
8860
    args.read(iprot)
8861
    iprot.readMessageEnd()
8862
    result = getProductFeedSubmit_result()
8863
    try:
8864
      result.success = self._handler.getProductFeedSubmit(args.catalogItemId)
8865
    except CatalogServiceException, cex:
8866
      result.cex = cex
8867
    oprot.writeMessageBegin("getProductFeedSubmit", TMessageType.REPLY, seqid)
8868
    result.write(oprot)
8869
    oprot.writeMessageEnd()
8870
    oprot.trans.flush()
9456 vikram.rag 8871
 
9621 manish.sha 8872
  def process_addProductFeedSubmit(self, seqid, iprot, oprot):
8873
    args = addProductFeedSubmit_args()
8874
    args.read(iprot)
8875
    iprot.readMessageEnd()
8876
    result = addProductFeedSubmit_result()
8877
    try:
8878
      result.success = self._handler.addProductFeedSubmit(args.productFeedSubmit)
8879
    except CatalogServiceException, cex:
8880
      result.cex = cex
8881
    oprot.writeMessageBegin("addProductFeedSubmit", TMessageType.REPLY, seqid)
8882
    result.write(oprot)
8883
    oprot.writeMessageEnd()
8884
    oprot.trans.flush()
8885
 
8886
  def process_updateProductFeedSubmit(self, seqid, iprot, oprot):
8887
    args = updateProductFeedSubmit_args()
8888
    args.read(iprot)
8889
    iprot.readMessageEnd()
8890
    result = updateProductFeedSubmit_result()
8891
    try:
8892
      result.success = self._handler.updateProductFeedSubmit(args.productFeedSubmit)
8893
    except CatalogServiceException, cex:
8894
      result.cex = cex
8895
    oprot.writeMessageBegin("updateProductFeedSubmit", TMessageType.REPLY, seqid)
8896
    result.write(oprot)
8897
    oprot.writeMessageEnd()
8898
    oprot.trans.flush()
8899
 
8900
  def process_deleteProductFeedSubmit(self, seqid, iprot, oprot):
8901
    args = deleteProductFeedSubmit_args()
8902
    args.read(iprot)
8903
    iprot.readMessageEnd()
8904
    result = deleteProductFeedSubmit_result()
8905
    try:
8906
      result.success = self._handler.deleteProductFeedSubmit(args.catalogItemId)
8907
    except CatalogServiceException, cex:
8908
      result.cex = cex
8909
    oprot.writeMessageBegin("deleteProductFeedSubmit", TMessageType.REPLY, seqid)
8910
    result.write(oprot)
8911
    oprot.writeMessageEnd()
8912
    oprot.trans.flush()
8913
 
8914
  def process_getAllProductFeedSubmit(self, seqid, iprot, oprot):
8915
    args = getAllProductFeedSubmit_args()
8916
    args.read(iprot)
8917
    iprot.readMessageEnd()
8918
    result = getAllProductFeedSubmit_result()
8919
    try:
8920
      result.success = self._handler.getAllProductFeedSubmit()
8921
    except CatalogServiceException, cex:
8922
      result.cex = cex
8923
    oprot.writeMessageBegin("getAllProductFeedSubmit", TMessageType.REPLY, seqid)
8924
    result.write(oprot)
8925
    oprot.writeMessageEnd()
8926
    oprot.trans.flush()
8927
 
9724 kshitij.so 8928
  def process_getMarketplacedetailsForItem(self, seqid, iprot, oprot):
8929
    args = getMarketplacedetailsForItem_args()
8930
    args.read(iprot)
8931
    iprot.readMessageEnd()
8932
    result = getMarketplacedetailsForItem_result()
8933
    result.success = self._handler.getMarketplacedetailsForItem(args.itemId, args.sourceId)
8934
    oprot.writeMessageBegin("getMarketplacedetailsForItem", TMessageType.REPLY, seqid)
8935
    result.write(oprot)
8936
    oprot.writeMessageEnd()
8937
    oprot.trans.flush()
9621 manish.sha 8938
 
9724 kshitij.so 8939
  def process_updateMarketplaceAttributesForItem(self, seqid, iprot, oprot):
8940
    args = updateMarketplaceAttributesForItem_args()
8941
    args.read(iprot)
8942
    iprot.readMessageEnd()
8943
    result = updateMarketplaceAttributesForItem_result()
8944
    result.success = self._handler.updateMarketplaceAttributesForItem(args.marketPlaceItem)
8945
    oprot.writeMessageBegin("updateMarketplaceAttributesForItem", TMessageType.REPLY, seqid)
8946
    result.write(oprot)
8947
    oprot.writeMessageEnd()
8948
    oprot.trans.flush()
8949
 
9779 kshitij.so 8950
  def process_getCostingForMarketplace(self, seqid, iprot, oprot):
8951
    args = getCostingForMarketplace_args()
8952
    args.read(iprot)
8953
    iprot.readMessageEnd()
8954
    result = getCostingForMarketplace_result()
8955
    result.success = self._handler.getCostingForMarketplace(args.source, args.item_id)
8956
    oprot.writeMessageBegin("getCostingForMarketplace", TMessageType.REPLY, seqid)
8957
    result.write(oprot)
8958
    oprot.writeMessageEnd()
8959
    oprot.trans.flush()
8960
 
9776 vikram.rag 8961
  def process_getMarketPlaceItemsForPriceUpdate(self, seqid, iprot, oprot):
8962
    args = getMarketPlaceItemsForPriceUpdate_args()
8963
    args.read(iprot)
8964
    iprot.readMessageEnd()
8965
    result = getMarketPlaceItemsForPriceUpdate_result()
8966
    result.success = self._handler.getMarketPlaceItemsForPriceUpdate(args.source)
8967
    oprot.writeMessageBegin("getMarketPlaceItemsForPriceUpdate", TMessageType.REPLY, seqid)
8968
    result.write(oprot)
8969
    oprot.writeMessageEnd()
8970
    oprot.trans.flush()
9724 kshitij.so 8971
 
9776 vikram.rag 8972
  def process_updateMarketPlacePriceUpdateStatus(self, seqid, iprot, oprot):
8973
    args = updateMarketPlacePriceUpdateStatus_args()
8974
    args.read(iprot)
8975
    iprot.readMessageEnd()
8976
    result = updateMarketPlacePriceUpdateStatus_result()
9816 kshitij.so 8977
    self._handler.updateMarketPlacePriceUpdateStatus(args.skulist, args.timestamp, args.source)
9776 vikram.rag 8978
    oprot.writeMessageBegin("updateMarketPlacePriceUpdateStatus", TMessageType.REPLY, seqid)
8979
    result.write(oprot)
8980
    oprot.writeMessageEnd()
8981
    oprot.trans.flush()
8982
 
9861 rajveer 8983
  def process_updateItemHoldInventory(self, seqid, iprot, oprot):
8984
    args = updateItemHoldInventory_args()
8985
    args.read(iprot)
8986
    iprot.readMessageEnd()
8987
    result = updateItemHoldInventory_result()
8988
    self._handler.updateItemHoldInventory(args.itemHoldMap)
8989
    oprot.writeMessageBegin("updateItemHoldInventory", TMessageType.REPLY, seqid)
8990
    result.write(oprot)
8991
    oprot.writeMessageEnd()
8992
    oprot.trans.flush()
9776 vikram.rag 8993
 
9895 vikram.rag 8994
  def process_updateNlcAtMarketplaces(self, seqid, iprot, oprot):
8995
    args = updateNlcAtMarketplaces_args()
8996
    args.read(iprot)
8997
    iprot.readMessageEnd()
8998
    result = updateNlcAtMarketplaces_result()
8999
    self._handler.updateNlcAtMarketplaces(args.item_id, args.vendor_id, args.nlc)
9000
    oprot.writeMessageBegin("updateNlcAtMarketplaces", TMessageType.REPLY, seqid)
9001
    result.write(oprot)
9002
    oprot.writeMessageEnd()
9003
    oprot.trans.flush()
9861 rajveer 9004
 
9945 vikram.rag 9005
  def process_getAllFlipkartItems(self, seqid, iprot, oprot):
9006
    args = getAllFlipkartItems_args()
9007
    args.read(iprot)
9008
    iprot.readMessageEnd()
9009
    result = getAllFlipkartItems_result()
9010
    result.success = self._handler.getAllFlipkartItems()
9011
    oprot.writeMessageBegin("getAllFlipkartItems", TMessageType.REPLY, seqid)
9012
    result.write(oprot)
9013
    oprot.writeMessageEnd()
9014
    oprot.trans.flush()
9895 vikram.rag 9015
 
10097 kshitij.so 9016
  def process_addOrUpdateFlipkartItem(self, seqid, iprot, oprot):
9017
    args = addOrUpdateFlipkartItem_args()
9018
    args.read(iprot)
9019
    iprot.readMessageEnd()
9020
    result = addOrUpdateFlipkartItem_result()
9021
    result.success = self._handler.addOrUpdateFlipkartItem(args.flipkartitem)
9022
    oprot.writeMessageBegin("addOrUpdateFlipkartItem", TMessageType.REPLY, seqid)
9023
    result.write(oprot)
9024
    oprot.writeMessageEnd()
9025
    oprot.trans.flush()
9945 vikram.rag 9026
 
10097 kshitij.so 9027
  def process_getFlipkartItem(self, seqid, iprot, oprot):
9028
    args = getFlipkartItem_args()
9029
    args.read(iprot)
9030
    iprot.readMessageEnd()
9031
    result = getFlipkartItem_result()
9032
    result.success = self._handler.getFlipkartItem(args.item_id)
9033
    oprot.writeMessageBegin("getFlipkartItem", TMessageType.REPLY, seqid)
9034
    result.write(oprot)
9035
    oprot.writeMessageEnd()
9036
    oprot.trans.flush()
9037
 
9038
  def process_getFlipkartItemDetails(self, seqid, iprot, oprot):
9039
    args = getFlipkartItemDetails_args()
9040
    args.read(iprot)
9041
    iprot.readMessageEnd()
9042
    result = getFlipkartItemDetails_result()
9043
    result.success = self._handler.getFlipkartItemDetails(args.item_id)
9044
    oprot.writeMessageBegin("getFlipkartItemDetails", TMessageType.REPLY, seqid)
9045
    result.write(oprot)
9046
    oprot.writeMessageEnd()
9047
    oprot.trans.flush()
9048
 
9049
  def process_getFlipkartItems(self, seqid, iprot, oprot):
9050
    args = getFlipkartItems_args()
9051
    args.read(iprot)
9052
    iprot.readMessageEnd()
9053
    result = getFlipkartItems_result()
9054
    result.success = self._handler.getFlipkartItems(args.offset, args.limit)
9055
    oprot.writeMessageBegin("getFlipkartItems", TMessageType.REPLY, seqid)
9056
    result.write(oprot)
9057
    oprot.writeMessageEnd()
9058
    oprot.trans.flush()
9059
 
9060
  def process_searchFlipkartItems(self, seqid, iprot, oprot):
9061
    args = searchFlipkartItems_args()
9062
    args.read(iprot)
9063
    iprot.readMessageEnd()
9064
    result = searchFlipkartItems_result()
9065
    result.success = self._handler.searchFlipkartItems(args.searchTerm, args.offset, args.limit)
9066
    oprot.writeMessageBegin("searchFlipkartItems", TMessageType.REPLY, seqid)
9067
    result.write(oprot)
9068
    oprot.writeMessageEnd()
9069
    oprot.trans.flush()
9070
 
9071
  def process_getCountForFlipkartItems(self, seqid, iprot, oprot):
9072
    args = getCountForFlipkartItems_args()
9073
    args.read(iprot)
9074
    iprot.readMessageEnd()
9075
    result = getCountForFlipkartItems_result()
9076
    result.success = self._handler.getCountForFlipkartItems()
9077
    oprot.writeMessageBegin("getCountForFlipkartItems", TMessageType.REPLY, seqid)
9078
    result.write(oprot)
9079
    oprot.writeMessageEnd()
9080
    oprot.trans.flush()
9081
 
9082
  def process_getFlipkartSearchResultCount(self, seqid, iprot, oprot):
9083
    args = getFlipkartSearchResultCount_args()
9084
    args.read(iprot)
9085
    iprot.readMessageEnd()
9086
    result = getFlipkartSearchResultCount_result()
9087
    result.success = self._handler.getFlipkartSearchResultCount(args.searchTerm)
9088
    oprot.writeMessageBegin("getFlipkartSearchResultCount", TMessageType.REPLY, seqid)
9089
    result.write(oprot)
9090
    oprot.writeMessageEnd()
9091
    oprot.trans.flush()
9092
 
9093
  def process_getAllFkItems(self, seqid, iprot, oprot):
9094
    args = getAllFkItems_args()
9095
    args.read(iprot)
9096
    iprot.readMessageEnd()
9097
    result = getAllFkItems_result()
9098
    result.success = self._handler.getAllFkItems()
9099
    oprot.writeMessageBegin("getAllFkItems", TMessageType.REPLY, seqid)
9100
    result.write(oprot)
9101
    oprot.writeMessageEnd()
9102
    oprot.trans.flush()
9103
 
10140 vikram.rag 9104
  def process_getFlipkartItemBySkyAtFlipkart(self, seqid, iprot, oprot):
9105
    args = getFlipkartItemBySkyAtFlipkart_args()
9106
    args.read(iprot)
9107
    iprot.readMessageEnd()
9108
    result = getFlipkartItemBySkyAtFlipkart_result()
9109
    result.success = self._handler.getFlipkartItemBySkyAtFlipkart(args.sku)
9110
    oprot.writeMessageBegin("getFlipkartItemBySkyAtFlipkart", TMessageType.REPLY, seqid)
9111
    result.write(oprot)
9112
    oprot.writeMessageEnd()
9113
    oprot.trans.flush()
10097 kshitij.so 9114
 
11015 kshitij.so 9115
  def process_getMarketplaceHistory(self, seqid, iprot, oprot):
9116
    args = getMarketplaceHistory_args()
9117
    args.read(iprot)
9118
    iprot.readMessageEnd()
9119
    result = getMarketplaceHistory_result()
9120
    result.success = self._handler.getMarketplaceHistory(args.source, args.offset, args.itemId)
9121
    oprot.writeMessageBegin("getMarketplaceHistory", TMessageType.REPLY, seqid)
9122
    result.write(oprot)
9123
    oprot.writeMessageEnd()
9124
    oprot.trans.flush()
9125
 
10909 vikram.rag 9126
  def process_getAllFbbListedItems(self, seqid, iprot, oprot):
9127
    args = getAllFbbListedItems_args()
9128
    args.read(iprot)
9129
    iprot.readMessageEnd()
9130
    result = getAllFbbListedItems_result()
9131
    result.success = self._handler.getAllFbbListedItems()
9132
    oprot.writeMessageBegin("getAllFbbListedItems", TMessageType.REPLY, seqid)
9133
    result.write(oprot)
9134
    oprot.writeMessageEnd()
9135
    oprot.trans.flush()
10140 vikram.rag 9136
 
10924 vikram.rag 9137
  def process_getAllFbbPricingItems(self, seqid, iprot, oprot):
9138
    args = getAllFbbPricingItems_args()
9139
    args.read(iprot)
9140
    iprot.readMessageEnd()
9141
    result = getAllFbbPricingItems_result()
9142
    result.success = self._handler.getAllFbbPricingItems()
9143
    oprot.writeMessageBegin("getAllFbbPricingItems", TMessageType.REPLY, seqid)
9144
    result.write(oprot)
9145
    oprot.writeMessageEnd()
9146
    oprot.trans.flush()
10909 vikram.rag 9147
 
11015 kshitij.so 9148
  def process_getCountForMarketplaceHistory(self, seqid, iprot, oprot):
9149
    args = getCountForMarketplaceHistory_args()
9150
    args.read(iprot)
9151
    iprot.readMessageEnd()
9152
    result = getCountForMarketplaceHistory_result()
9153
    result.success = self._handler.getCountForMarketplaceHistory(args.source, args.itemId)
9154
    oprot.writeMessageBegin("getCountForMarketplaceHistory", TMessageType.REPLY, seqid)
9155
    result.write(oprot)
9156
    oprot.writeMessageEnd()
9157
    oprot.trans.flush()
10924 vikram.rag 9158
 
11015 kshitij.so 9159
  def process_getMarketplaceHistoryByDate(self, seqid, iprot, oprot):
9160
    args = getMarketplaceHistoryByDate_args()
9161
    args.read(iprot)
9162
    iprot.readMessageEnd()
9163
    result = getMarketplaceHistoryByDate_result()
9164
    result.success = self._handler.getMarketplaceHistoryByDate(args.source, args.startDate, args.endDate, args.offset, args.limit, args.itemId)
9165
    oprot.writeMessageBegin("getMarketplaceHistoryByDate", TMessageType.REPLY, seqid)
9166
    result.write(oprot)
9167
    oprot.writeMessageEnd()
9168
    oprot.trans.flush()
9169
 
11531 vikram.rag 9170
  def process_getPrivateDealDetails(self, seqid, iprot, oprot):
9171
    args = getPrivateDealDetails_args()
9172
    args.read(iprot)
9173
    iprot.readMessageEnd()
9174
    result = getPrivateDealDetails_result()
9175
    result.success = self._handler.getPrivateDealDetails(args.item_id)
9176
    oprot.writeMessageBegin("getPrivateDealDetails", TMessageType.REPLY, seqid)
9177
    result.write(oprot)
9178
    oprot.writeMessageEnd()
9179
    oprot.trans.flush()
11015 kshitij.so 9180
 
11531 vikram.rag 9181
  def process_getPrivateDealItems(self, seqid, iprot, oprot):
9182
    args = getPrivateDealItems_args()
9183
    args.read(iprot)
9184
    iprot.readMessageEnd()
9185
    result = getPrivateDealItems_result()
9186
    result.success = self._handler.getPrivateDealItems(args.offset, args.limit)
9187
    oprot.writeMessageBegin("getPrivateDealItems", TMessageType.REPLY, seqid)
9188
    result.write(oprot)
9189
    oprot.writeMessageEnd()
9190
    oprot.trans.flush()
9191
 
11592 amit.gupta 9192
  def process_getAllActivePrivateDeals(self, seqid, iprot, oprot):
9193
    args = getAllActivePrivateDeals_args()
9194
    args.read(iprot)
9195
    iprot.readMessageEnd()
9196
    result = getAllActivePrivateDeals_result()
11653 amit.gupta 9197
    result.success = self._handler.getAllActivePrivateDeals(args.itemIds, args.daysDelta)
11592 amit.gupta 9198
    oprot.writeMessageBegin("getAllActivePrivateDeals", TMessageType.REPLY, seqid)
9199
    result.write(oprot)
9200
    oprot.writeMessageEnd()
9201
    oprot.trans.flush()
9202
 
11531 vikram.rag 9203
  def process_addOrUpdatePrivateDeal(self, seqid, iprot, oprot):
9204
    args = addOrUpdatePrivateDeal_args()
9205
    args.read(iprot)
9206
    iprot.readMessageEnd()
9207
    result = addOrUpdatePrivateDeal_result()
9208
    result.success = self._handler.addOrUpdatePrivateDeal(args.privateDeal)
9209
    oprot.writeMessageBegin("addOrUpdatePrivateDeal", TMessageType.REPLY, seqid)
9210
    result.write(oprot)
9211
    oprot.writeMessageEnd()
9212
    oprot.trans.flush()
9213
 
11635 vikram.rag 9214
  def process_getPrivateDealsCatalogIds(self, seqid, iprot, oprot):
9215
    args = getPrivateDealsCatalogIds_args()
9216
    args.read(iprot)
9217
    iprot.readMessageEnd()
9218
    result = getPrivateDealsCatalogIds_result()
9219
    try:
9220
      result.success = self._handler.getPrivateDealsCatalogIds(args.beginIndex, args.totalItems)
9221
    except CatalogServiceException, cex:
9222
      result.cex = cex
9223
    oprot.writeMessageBegin("getPrivateDealsCatalogIds", TMessageType.REPLY, seqid)
9224
    result.write(oprot)
9225
    oprot.writeMessageEnd()
9226
    oprot.trans.flush()
11531 vikram.rag 9227
 
11645 amit.gupta 9228
  def process_getPrivateDealsCount(self, seqid, iprot, oprot):
9229
    args = getPrivateDealsCount_args()
9230
    args.read(iprot)
9231
    iprot.readMessageEnd()
9232
    result = getPrivateDealsCount_result()
9233
    result.success = self._handler.getPrivateDealsCount()
9234
    oprot.writeMessageBegin("getPrivateDealsCount", TMessageType.REPLY, seqid)
9235
    result.write(oprot)
9236
    oprot.writeMessageEnd()
9237
    oprot.trans.flush()
11635 vikram.rag 9238
 
11905 kshitij.so 9239
  def process_getAmazonOutSyncItems(self, seqid, iprot, oprot):
9240
    args = getAmazonOutSyncItems_args()
9241
    args.read(iprot)
9242
    iprot.readMessageEnd()
9243
    result = getAmazonOutSyncItems_result()
9244
    result.success = self._handler.getAmazonOutSyncItems(args.item_id)
9245
    oprot.writeMessageBegin("getAmazonOutSyncItems", TMessageType.REPLY, seqid)
9246
    result.write(oprot)
9247
    oprot.writeMessageEnd()
9248
    oprot.trans.flush()
11645 amit.gupta 9249
 
11905 kshitij.so 9250
  def process_getAllPrivateDealsComparison(self, seqid, iprot, oprot):
9251
    args = getAllPrivateDealsComparison_args()
9252
    args.read(iprot)
9253
    iprot.readMessageEnd()
9254
    result = getAllPrivateDealsComparison_result()
9255
    result.success = self._handler.getAllPrivateDealsComparison()
9256
    oprot.writeMessageBegin("getAllPrivateDealsComparison", TMessageType.REPLY, seqid)
9257
    result.write(oprot)
9258
    oprot.writeMessageEnd()
9259
    oprot.trans.flush()
9260
 
12133 kshitij.so 9261
  def process_getAllSnapdealMarketplaceItem(self, seqid, iprot, oprot):
9262
    args = getAllSnapdealMarketplaceItem_args()
9263
    args.read(iprot)
9264
    iprot.readMessageEnd()
9265
    result = getAllSnapdealMarketplaceItem_result()
9266
    result.success = self._handler.getAllSnapdealMarketplaceItem()
9267
    oprot.writeMessageBegin("getAllSnapdealMarketplaceItem", TMessageType.REPLY, seqid)
9268
    result.write(oprot)
9269
    oprot.writeMessageEnd()
9270
    oprot.trans.flush()
11905 kshitij.so 9271
 
12133 kshitij.so 9272
  def process_getAllFlipkartMarketplaceItem(self, seqid, iprot, oprot):
9273
    args = getAllFlipkartMarketplaceItem_args()
9274
    args.read(iprot)
9275
    iprot.readMessageEnd()
9276
    result = getAllFlipkartMarketplaceItem_result()
9277
    result.success = self._handler.getAllFlipkartMarketplaceItem()
9278
    oprot.writeMessageBegin("getAllFlipkartMarketplaceItem", TMessageType.REPLY, seqid)
9279
    result.write(oprot)
9280
    oprot.writeMessageEnd()
9281
    oprot.trans.flush()
9282
 
12243 kshitij.so 9283
  def process_addCompetitorScraping(self, seqid, iprot, oprot):
9284
    args = addCompetitorScraping_args()
9285
    args.read(iprot)
9286
    iprot.readMessageEnd()
9287
    result = addCompetitorScraping_result()
9288
    self._handler.addCompetitorScraping(args.competitorPricingMap)
9289
    oprot.writeMessageBegin("addCompetitorScraping", TMessageType.REPLY, seqid)
9290
    result.write(oprot)
9291
    oprot.writeMessageEnd()
9292
    oprot.trans.flush()
12133 kshitij.so 9293
 
12243 kshitij.so 9294
  def process_getPreviousCompetitorScraping(self, seqid, iprot, oprot):
9295
    args = getPreviousCompetitorScraping_args()
9296
    args.read(iprot)
9297
    iprot.readMessageEnd()
9298
    result = getPreviousCompetitorScraping_result()
9299
    result.success = self._handler.getPreviousCompetitorScraping(args.delta)
9300
    oprot.writeMessageBegin("getPreviousCompetitorScraping", TMessageType.REPLY, seqid)
9301
    result.write(oprot)
9302
    oprot.writeMessageEnd()
9303
    oprot.trans.flush()
9304
 
12256 kshitij.so 9305
  def process_getUploadResultById(self, seqid, iprot, oprot):
9306
    args = getUploadResultById_args()
9307
    args.read(iprot)
9308
    iprot.readMessageEnd()
9309
    result = getUploadResultById_result()
9310
    result.success = self._handler.getUploadResultById(args.uploadId)
9311
    oprot.writeMessageBegin("getUploadResultById", TMessageType.REPLY, seqid)
9312
    result.write(oprot)
9313
    oprot.writeMessageEnd()
9314
    oprot.trans.flush()
12243 kshitij.so 9315
 
12363 kshitij.so 9316
  def process_addAmazonPromotion(self, seqid, iprot, oprot):
9317
    args = addAmazonPromotion_args()
9318
    args.read(iprot)
9319
    iprot.readMessageEnd()
9320
    result = addAmazonPromotion_result()
12947 kshitij.so 9321
    try:
9322
      result.success = self._handler.addAmazonPromotion(args.amazonPromotions)
9323
    except CatalogServiceException, cex:
9324
      result.cex = cex
12363 kshitij.so 9325
    oprot.writeMessageBegin("addAmazonPromotion", TMessageType.REPLY, seqid)
9326
    result.write(oprot)
9327
    oprot.writeMessageEnd()
9328
    oprot.trans.flush()
12256 kshitij.so 9329
 
12363 kshitij.so 9330
  def process_getAmazonPromotion(self, seqid, iprot, oprot):
9331
    args = getAmazonPromotion_args()
9332
    args.read(iprot)
9333
    iprot.readMessageEnd()
9334
    result = getAmazonPromotion_result()
9335
    result.success = self._handler.getAmazonPromotion(args.startDate, args.endDate)
9336
    oprot.writeMessageBegin("getAmazonPromotion", TMessageType.REPLY, seqid)
9337
    result.write(oprot)
9338
    oprot.writeMessageEnd()
9339
    oprot.trans.flush()
9340
 
9341
  def process_updateAmazonPromotion(self, seqid, iprot, oprot):
9342
    args = updateAmazonPromotion_args()
9343
    args.read(iprot)
9344
    iprot.readMessageEnd()
9345
    result = updateAmazonPromotion_result()
9346
    result.success = self._handler.updateAmazonPromotion(args.amazonPromotions)
9347
    oprot.writeMessageBegin("updateAmazonPromotion", TMessageType.REPLY, seqid)
9348
    result.write(oprot)
9349
    oprot.writeMessageEnd()
9350
    oprot.trans.flush()
9351
 
12567 amit.gupta 9352
  def process_markPartiallyActive(self, seqid, iprot, oprot):
9353
    args = markPartiallyActive_args()
9354
    args.read(iprot)
9355
    iprot.readMessageEnd()
9356
    result = markPartiallyActive_result()
9357
    result.success = self._handler.markPartiallyActive(args.itemId, args.categoryId)
9358
    oprot.writeMessageBegin("markPartiallyActive", TMessageType.REPLY, seqid)
9359
    result.write(oprot)
9360
    oprot.writeMessageEnd()
9361
    oprot.trans.flush()
12363 kshitij.so 9362
 
12567 amit.gupta 9363
  def process_updateItemStateVat(self, seqid, iprot, oprot):
9364
    args = updateItemStateVat_args()
9365
    args.read(iprot)
9366
    iprot.readMessageEnd()
9367
    result = updateItemStateVat_result()
9368
    result.success = self._handler.updateItemStateVat(args.itemId, args.statevat)
9369
    oprot.writeMessageBegin("updateItemStateVat", TMessageType.REPLY, seqid)
9370
    result.write(oprot)
9371
    oprot.writeMessageEnd()
9372
    oprot.trans.flush()
9373
 
12620 amit.gupta 9374
  def process_getExAffiliateItemInfo(self, seqid, iprot, oprot):
9375
    args = getExAffiliateItemInfo_args()
9376
    args.read(iprot)
9377
    iprot.readMessageEnd()
9378
    result = getExAffiliateItemInfo_result()
9379
    result.success = self._handler.getExAffiliateItemInfo()
9380
    oprot.writeMessageBegin("getExAffiliateItemInfo", TMessageType.REPLY, seqid)
9381
    result.write(oprot)
9382
    oprot.writeMessageEnd()
9383
    oprot.trans.flush()
12567 amit.gupta 9384
 
12888 kshitij.so 9385
  def process_getAllItemstoListOnFbg(self, seqid, iprot, oprot):
9386
    args = getAllItemstoListOnFbg_args()
9387
    args.read(iprot)
9388
    iprot.readMessageEnd()
9389
    result = getAllItemstoListOnFbg_result()
9390
    result.success = self._handler.getAllItemstoListOnFbg()
9391
    oprot.writeMessageBegin("getAllItemstoListOnFbg", TMessageType.REPLY, seqid)
9392
    result.write(oprot)
9393
    oprot.writeMessageEnd()
9394
    oprot.trans.flush()
12620 amit.gupta 9395
 
12892 kshitij.so 9396
  def process_getAllFbgListedItems(self, seqid, iprot, oprot):
9397
    args = getAllFbgListedItems_args()
9398
    args.read(iprot)
9399
    iprot.readMessageEnd()
9400
    result = getAllFbgListedItems_result()
9401
    result.success = self._handler.getAllFbgListedItems()
9402
    oprot.writeMessageBegin("getAllFbgListedItems", TMessageType.REPLY, seqid)
9403
    result.write(oprot)
9404
    oprot.writeMessageEnd()
9405
    oprot.trans.flush()
12888 kshitij.so 9406
 
13136 amit.gupta 9407
  def process_checkServices(self, seqid, iprot, oprot):
9408
    args = checkServices_args()
9409
    args.read(iprot)
9410
    iprot.readMessageEnd()
9411
    result = checkServices_result()
9412
    try:
9413
      result.success = self._handler.checkServices(args.lines)
9414
    except CatalogServiceException, cex:
9415
      result.cex = cex
9416
    oprot.writeMessageBegin("checkServices", TMessageType.REPLY, seqid)
9417
    result.write(oprot)
9418
    oprot.writeMessageEnd()
9419
    oprot.trans.flush()
12892 kshitij.so 9420
 
13709 manish.sha 9421
  def process_addHsItem(self, seqid, iprot, oprot):
9422
    args = addHsItem_args()
9423
    args.read(iprot)
9424
    iprot.readMessageEnd()
9425
    result = addHsItem_result()
9426
    self._handler.addHsItem(args.hsItems)
9427
    oprot.writeMessageBegin("addHsItem", TMessageType.REPLY, seqid)
9428
    result.write(oprot)
9429
    oprot.writeMessageEnd()
9430
    oprot.trans.flush()
13136 amit.gupta 9431
 
13709 manish.sha 9432
  def process_getHsItem(self, seqid, iprot, oprot):
9433
    args = getHsItem_args()
9434
    args.read(iprot)
9435
    iprot.readMessageEnd()
9436
    result = getHsItem_result()
9437
    result.success = self._handler.getHsItem(args.hsItemId)
9438
    oprot.writeMessageBegin("getHsItem", TMessageType.REPLY, seqid)
9439
    result.write(oprot)
9440
    oprot.writeMessageEnd()
9441
    oprot.trans.flush()
9442
 
9443
  def process_updateHsItem(self, seqid, iprot, oprot):
9444
    args = updateHsItem_args()
9445
    args.read(iprot)
9446
    iprot.readMessageEnd()
9447
    result = updateHsItem_result()
9448
    self._handler.updateHsItem(args.hsItem)
9449
    oprot.writeMessageBegin("updateHsItem", TMessageType.REPLY, seqid)
9450
    result.write(oprot)
9451
    oprot.writeMessageEnd()
9452
    oprot.trans.flush()
9453
 
14182 kshitij.so 9454
  def process_getPricingForDtr(self, seqid, iprot, oprot):
9455
    args = getPricingForDtr_args()
9456
    args.read(iprot)
9457
    iprot.readMessageEnd()
9458
    result = getPricingForDtr_result()
9459
    result.success = self._handler.getPricingForDtr(args.catalogItemId)
9460
    oprot.writeMessageBegin("getPricingForDtr", TMessageType.REPLY, seqid)
9461
    result.write(oprot)
9462
    oprot.writeMessageEnd()
9463
    oprot.trans.flush()
13709 manish.sha 9464
 
15702 kshitij.so 9465
  def process_getAllItemstoListOnFbd(self, seqid, iprot, oprot):
9466
    args = getAllItemstoListOnFbd_args()
9467
    args.read(iprot)
9468
    iprot.readMessageEnd()
9469
    result = getAllItemstoListOnFbd_result()
9470
    result.success = self._handler.getAllItemstoListOnFbd()
9471
    oprot.writeMessageBegin("getAllItemstoListOnFbd", TMessageType.REPLY, seqid)
9472
    result.write(oprot)
9473
    oprot.writeMessageEnd()
9474
    oprot.trans.flush()
14182 kshitij.so 9475
 
15702 kshitij.so 9476
 
5944 mandeep.dh 9477
# HELPER FUNCTIONS AND STRUCTURES
9478
 
9479
class addItem_args:
9480
  """
9481
  Attributes:
9482
   - item
9483
  """
9484
 
9485
  thrift_spec = (
9486
    None, # 0
9487
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
9488
  )
9489
 
9490
  def __init__(self, item=None,):
9491
    self.item = item
9492
 
9493
  def read(self, iprot):
9494
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9495
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9496
      return
9497
    iprot.readStructBegin()
9498
    while True:
9499
      (fname, ftype, fid) = iprot.readFieldBegin()
9500
      if ftype == TType.STOP:
9501
        break
9502
      if fid == 1:
9503
        if ftype == TType.STRUCT:
9504
          self.item = Item()
9505
          self.item.read(iprot)
9506
        else:
9507
          iprot.skip(ftype)
9508
      else:
9509
        iprot.skip(ftype)
9510
      iprot.readFieldEnd()
9511
    iprot.readStructEnd()
9512
 
9513
  def write(self, oprot):
9514
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9515
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9516
      return
9517
    oprot.writeStructBegin('addItem_args')
9518
    if self.item is not None:
9519
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
9520
      self.item.write(oprot)
9521
      oprot.writeFieldEnd()
9522
    oprot.writeFieldStop()
9523
    oprot.writeStructEnd()
9524
 
9525
  def validate(self):
9526
    return
9527
 
9528
 
9529
  def __repr__(self):
9530
    L = ['%s=%r' % (key, value)
9531
      for key, value in self.__dict__.iteritems()]
9532
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9533
 
9534
  def __eq__(self, other):
9535
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9536
 
9537
  def __ne__(self, other):
9538
    return not (self == other)
9539
 
9540
class addItem_result:
9541
  """
9542
  Attributes:
9543
   - success
9544
   - cex
9545
  """
9546
 
9547
  thrift_spec = (
9548
    (0, TType.I64, 'success', None, None, ), # 0
9549
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9550
  )
9551
 
9552
  def __init__(self, success=None, cex=None,):
9553
    self.success = success
9554
    self.cex = cex
9555
 
9556
  def read(self, iprot):
9557
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9558
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9559
      return
9560
    iprot.readStructBegin()
9561
    while True:
9562
      (fname, ftype, fid) = iprot.readFieldBegin()
9563
      if ftype == TType.STOP:
9564
        break
9565
      if fid == 0:
9566
        if ftype == TType.I64:
9567
          self.success = iprot.readI64();
9568
        else:
9569
          iprot.skip(ftype)
9570
      elif fid == 1:
9571
        if ftype == TType.STRUCT:
9572
          self.cex = CatalogServiceException()
9573
          self.cex.read(iprot)
9574
        else:
9575
          iprot.skip(ftype)
9576
      else:
9577
        iprot.skip(ftype)
9578
      iprot.readFieldEnd()
9579
    iprot.readStructEnd()
9580
 
9581
  def write(self, oprot):
9582
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9583
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9584
      return
9585
    oprot.writeStructBegin('addItem_result')
9586
    if self.success is not None:
9587
      oprot.writeFieldBegin('success', TType.I64, 0)
9588
      oprot.writeI64(self.success)
9589
      oprot.writeFieldEnd()
9590
    if self.cex is not None:
9591
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9592
      self.cex.write(oprot)
9593
      oprot.writeFieldEnd()
9594
    oprot.writeFieldStop()
9595
    oprot.writeStructEnd()
9596
 
9597
  def validate(self):
9598
    return
9599
 
9600
 
9601
  def __repr__(self):
9602
    L = ['%s=%r' % (key, value)
9603
      for key, value in self.__dict__.iteritems()]
9604
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9605
 
9606
  def __eq__(self, other):
9607
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9608
 
9609
  def __ne__(self, other):
9610
    return not (self == other)
9611
 
9612
class updateItem_args:
9613
  """
9614
  Attributes:
9615
   - item
9616
  """
9617
 
9618
  thrift_spec = (
9619
    None, # 0
9620
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
9621
  )
9622
 
9623
  def __init__(self, item=None,):
9624
    self.item = item
9625
 
9626
  def read(self, iprot):
9627
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9628
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9629
      return
9630
    iprot.readStructBegin()
9631
    while True:
9632
      (fname, ftype, fid) = iprot.readFieldBegin()
9633
      if ftype == TType.STOP:
9634
        break
9635
      if fid == 1:
9636
        if ftype == TType.STRUCT:
9637
          self.item = Item()
9638
          self.item.read(iprot)
9639
        else:
9640
          iprot.skip(ftype)
9641
      else:
9642
        iprot.skip(ftype)
9643
      iprot.readFieldEnd()
9644
    iprot.readStructEnd()
9645
 
9646
  def write(self, oprot):
9647
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9648
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9649
      return
9650
    oprot.writeStructBegin('updateItem_args')
9651
    if self.item is not None:
9652
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
9653
      self.item.write(oprot)
9654
      oprot.writeFieldEnd()
9655
    oprot.writeFieldStop()
9656
    oprot.writeStructEnd()
9657
 
9658
  def validate(self):
9659
    return
9660
 
9661
 
9662
  def __repr__(self):
9663
    L = ['%s=%r' % (key, value)
9664
      for key, value in self.__dict__.iteritems()]
9665
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9666
 
9667
  def __eq__(self, other):
9668
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9669
 
9670
  def __ne__(self, other):
9671
    return not (self == other)
9672
 
9673
class updateItem_result:
9674
  """
9675
  Attributes:
9676
   - success
9677
   - cex
9678
  """
9679
 
9680
  thrift_spec = (
9681
    (0, TType.I64, 'success', None, None, ), # 0
9682
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9683
  )
9684
 
9685
  def __init__(self, success=None, cex=None,):
9686
    self.success = success
9687
    self.cex = cex
9688
 
9689
  def read(self, iprot):
9690
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9691
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9692
      return
9693
    iprot.readStructBegin()
9694
    while True:
9695
      (fname, ftype, fid) = iprot.readFieldBegin()
9696
      if ftype == TType.STOP:
9697
        break
9698
      if fid == 0:
9699
        if ftype == TType.I64:
9700
          self.success = iprot.readI64();
9701
        else:
9702
          iprot.skip(ftype)
9703
      elif fid == 1:
9704
        if ftype == TType.STRUCT:
9705
          self.cex = CatalogServiceException()
9706
          self.cex.read(iprot)
9707
        else:
9708
          iprot.skip(ftype)
9709
      else:
9710
        iprot.skip(ftype)
9711
      iprot.readFieldEnd()
9712
    iprot.readStructEnd()
9713
 
9714
  def write(self, oprot):
9715
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9716
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9717
      return
9718
    oprot.writeStructBegin('updateItem_result')
9719
    if self.success is not None:
9720
      oprot.writeFieldBegin('success', TType.I64, 0)
9721
      oprot.writeI64(self.success)
9722
      oprot.writeFieldEnd()
9723
    if self.cex is not None:
9724
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9725
      self.cex.write(oprot)
9726
      oprot.writeFieldEnd()
9727
    oprot.writeFieldStop()
9728
    oprot.writeStructEnd()
9729
 
9730
  def validate(self):
9731
    return
9732
 
9733
 
9734
  def __repr__(self):
9735
    L = ['%s=%r' % (key, value)
9736
      for key, value in self.__dict__.iteritems()]
9737
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9738
 
9739
  def __eq__(self, other):
9740
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9741
 
9742
  def __ne__(self, other):
9743
    return not (self == other)
9744
 
9745
class isActive_args:
9746
  """
9747
  Attributes:
9748
   - itemId
9749
  """
9750
 
9751
  thrift_spec = (
9752
    None, # 0
9753
    (1, TType.I64, 'itemId', None, None, ), # 1
9754
  )
9755
 
9756
  def __init__(self, itemId=None,):
9757
    self.itemId = itemId
9758
 
9759
  def read(self, iprot):
9760
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9761
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9762
      return
9763
    iprot.readStructBegin()
9764
    while True:
9765
      (fname, ftype, fid) = iprot.readFieldBegin()
9766
      if ftype == TType.STOP:
9767
        break
9768
      if fid == 1:
9769
        if ftype == TType.I64:
9770
          self.itemId = iprot.readI64();
9771
        else:
9772
          iprot.skip(ftype)
9773
      else:
9774
        iprot.skip(ftype)
9775
      iprot.readFieldEnd()
9776
    iprot.readStructEnd()
9777
 
9778
  def write(self, oprot):
9779
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9780
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9781
      return
9782
    oprot.writeStructBegin('isActive_args')
9783
    if self.itemId is not None:
9784
      oprot.writeFieldBegin('itemId', TType.I64, 1)
9785
      oprot.writeI64(self.itemId)
9786
      oprot.writeFieldEnd()
9787
    oprot.writeFieldStop()
9788
    oprot.writeStructEnd()
9789
 
9790
  def validate(self):
9791
    return
9792
 
9793
 
9794
  def __repr__(self):
9795
    L = ['%s=%r' % (key, value)
9796
      for key, value in self.__dict__.iteritems()]
9797
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9798
 
9799
  def __eq__(self, other):
9800
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9801
 
9802
  def __ne__(self, other):
9803
    return not (self == other)
9804
 
9805
class isActive_result:
9806
  """
9807
  Attributes:
9808
   - success
9809
   - isex
9810
  """
9811
 
9812
  thrift_spec = (
9813
    (0, TType.STRUCT, 'success', (ItemShippingInfo, ItemShippingInfo.thrift_spec), None, ), # 0
9814
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9815
  )
9816
 
9817
  def __init__(self, success=None, isex=None,):
9818
    self.success = success
9819
    self.isex = isex
9820
 
9821
  def read(self, iprot):
9822
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9823
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9824
      return
9825
    iprot.readStructBegin()
9826
    while True:
9827
      (fname, ftype, fid) = iprot.readFieldBegin()
9828
      if ftype == TType.STOP:
9829
        break
9830
      if fid == 0:
9831
        if ftype == TType.STRUCT:
9832
          self.success = ItemShippingInfo()
9833
          self.success.read(iprot)
9834
        else:
9835
          iprot.skip(ftype)
9836
      elif fid == 1:
9837
        if ftype == TType.STRUCT:
9838
          self.isex = CatalogServiceException()
9839
          self.isex.read(iprot)
9840
        else:
9841
          iprot.skip(ftype)
9842
      else:
9843
        iprot.skip(ftype)
9844
      iprot.readFieldEnd()
9845
    iprot.readStructEnd()
9846
 
9847
  def write(self, oprot):
9848
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9849
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9850
      return
9851
    oprot.writeStructBegin('isActive_result')
9852
    if self.success is not None:
9853
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
9854
      self.success.write(oprot)
9855
      oprot.writeFieldEnd()
9856
    if self.isex is not None:
9857
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
9858
      self.isex.write(oprot)
9859
      oprot.writeFieldEnd()
9860
    oprot.writeFieldStop()
9861
    oprot.writeStructEnd()
9862
 
9863
  def validate(self):
9864
    return
9865
 
9866
 
9867
  def __repr__(self):
9868
    L = ['%s=%r' % (key, value)
9869
      for key, value in self.__dict__.iteritems()]
9870
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9871
 
9872
  def __eq__(self, other):
9873
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9874
 
9875
  def __ne__(self, other):
9876
    return not (self == other)
9877
 
7438 amit.gupta 9878
class getItemsStatus_args:
9879
  """
9880
  Attributes:
9881
   - itemIds
9882
  """
9883
 
9884
  thrift_spec = (
9885
    None, # 0
9886
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
9887
  )
9888
 
9889
  def __init__(self, itemIds=None,):
9890
    self.itemIds = itemIds
9891
 
9892
  def read(self, iprot):
9893
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9894
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9895
      return
9896
    iprot.readStructBegin()
9897
    while True:
9898
      (fname, ftype, fid) = iprot.readFieldBegin()
9899
      if ftype == TType.STOP:
9900
        break
9901
      if fid == 1:
9902
        if ftype == TType.LIST:
9903
          self.itemIds = []
8590 kshitij.so 9904
          (_etype33, _size30) = iprot.readListBegin()
9905
          for _i34 in xrange(_size30):
9906
            _elem35 = iprot.readI64();
9907
            self.itemIds.append(_elem35)
7438 amit.gupta 9908
          iprot.readListEnd()
9909
        else:
9910
          iprot.skip(ftype)
9911
      else:
9912
        iprot.skip(ftype)
9913
      iprot.readFieldEnd()
9914
    iprot.readStructEnd()
9915
 
9916
  def write(self, oprot):
9917
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9918
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9919
      return
9920
    oprot.writeStructBegin('getItemsStatus_args')
9921
    if self.itemIds is not None:
9922
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
9923
      oprot.writeListBegin(TType.I64, len(self.itemIds))
8590 kshitij.so 9924
      for iter36 in self.itemIds:
9925
        oprot.writeI64(iter36)
7438 amit.gupta 9926
      oprot.writeListEnd()
9927
      oprot.writeFieldEnd()
9928
    oprot.writeFieldStop()
9929
    oprot.writeStructEnd()
9930
 
9931
  def validate(self):
9932
    return
9933
 
9934
 
9935
  def __repr__(self):
9936
    L = ['%s=%r' % (key, value)
9937
      for key, value in self.__dict__.iteritems()]
9938
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9939
 
9940
  def __eq__(self, other):
9941
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9942
 
9943
  def __ne__(self, other):
9944
    return not (self == other)
9945
 
9946
class getItemsStatus_result:
9947
  """
9948
  Attributes:
9949
   - success
9950
   - isex
9951
  """
9952
 
9953
  thrift_spec = (
9954
    (0, TType.MAP, 'success', (TType.I64,None,TType.BOOL,None), None, ), # 0
9955
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9956
  )
9957
 
9958
  def __init__(self, success=None, isex=None,):
9959
    self.success = success
9960
    self.isex = isex
9961
 
9962
  def read(self, iprot):
9963
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9964
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9965
      return
9966
    iprot.readStructBegin()
9967
    while True:
9968
      (fname, ftype, fid) = iprot.readFieldBegin()
9969
      if ftype == TType.STOP:
9970
        break
9971
      if fid == 0:
9972
        if ftype == TType.MAP:
9973
          self.success = {}
8590 kshitij.so 9974
          (_ktype38, _vtype39, _size37 ) = iprot.readMapBegin() 
9975
          for _i41 in xrange(_size37):
9976
            _key42 = iprot.readI64();
9977
            _val43 = iprot.readBool();
9978
            self.success[_key42] = _val43
7438 amit.gupta 9979
          iprot.readMapEnd()
9980
        else:
9981
          iprot.skip(ftype)
9982
      elif fid == 1:
9983
        if ftype == TType.STRUCT:
9984
          self.isex = CatalogServiceException()
9985
          self.isex.read(iprot)
9986
        else:
9987
          iprot.skip(ftype)
9988
      else:
9989
        iprot.skip(ftype)
9990
      iprot.readFieldEnd()
9991
    iprot.readStructEnd()
9992
 
9993
  def write(self, oprot):
9994
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9995
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9996
      return
9997
    oprot.writeStructBegin('getItemsStatus_result')
9998
    if self.success is not None:
9999
      oprot.writeFieldBegin('success', TType.MAP, 0)
10000
      oprot.writeMapBegin(TType.I64, TType.BOOL, len(self.success))
8590 kshitij.so 10001
      for kiter44,viter45 in self.success.items():
10002
        oprot.writeI64(kiter44)
10003
        oprot.writeBool(viter45)
7438 amit.gupta 10004
      oprot.writeMapEnd()
10005
      oprot.writeFieldEnd()
10006
    if self.isex is not None:
10007
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10008
      self.isex.write(oprot)
10009
      oprot.writeFieldEnd()
10010
    oprot.writeFieldStop()
10011
    oprot.writeStructEnd()
10012
 
10013
  def validate(self):
10014
    return
10015
 
10016
 
10017
  def __repr__(self):
10018
    L = ['%s=%r' % (key, value)
10019
      for key, value in self.__dict__.iteritems()]
10020
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10021
 
10022
  def __eq__(self, other):
10023
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10024
 
10025
  def __ne__(self, other):
10026
    return not (self == other)
10027
 
5944 mandeep.dh 10028
class getItemStatusDescription_args:
10029
  """
10030
  Attributes:
10031
   - itemId
10032
  """
10033
 
10034
  thrift_spec = (
10035
    None, # 0
10036
    (1, TType.I64, 'itemId', None, None, ), # 1
10037
  )
10038
 
10039
  def __init__(self, itemId=None,):
10040
    self.itemId = itemId
10041
 
10042
  def read(self, iprot):
10043
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10044
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10045
      return
10046
    iprot.readStructBegin()
10047
    while True:
10048
      (fname, ftype, fid) = iprot.readFieldBegin()
10049
      if ftype == TType.STOP:
10050
        break
10051
      if fid == 1:
10052
        if ftype == TType.I64:
10053
          self.itemId = iprot.readI64();
10054
        else:
10055
          iprot.skip(ftype)
10056
      else:
10057
        iprot.skip(ftype)
10058
      iprot.readFieldEnd()
10059
    iprot.readStructEnd()
10060
 
10061
  def write(self, oprot):
10062
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10063
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10064
      return
10065
    oprot.writeStructBegin('getItemStatusDescription_args')
10066
    if self.itemId is not None:
10067
      oprot.writeFieldBegin('itemId', TType.I64, 1)
10068
      oprot.writeI64(self.itemId)
10069
      oprot.writeFieldEnd()
10070
    oprot.writeFieldStop()
10071
    oprot.writeStructEnd()
10072
 
10073
  def validate(self):
10074
    return
10075
 
10076
 
10077
  def __repr__(self):
10078
    L = ['%s=%r' % (key, value)
10079
      for key, value in self.__dict__.iteritems()]
10080
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10081
 
10082
  def __eq__(self, other):
10083
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10084
 
10085
  def __ne__(self, other):
10086
    return not (self == other)
10087
 
10088
class getItemStatusDescription_result:
10089
  """
10090
  Attributes:
10091
   - success
10092
   - isex
10093
  """
10094
 
10095
  thrift_spec = (
10096
    (0, TType.STRING, 'success', None, None, ), # 0
10097
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10098
  )
10099
 
10100
  def __init__(self, success=None, isex=None,):
10101
    self.success = success
10102
    self.isex = isex
10103
 
10104
  def read(self, iprot):
10105
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10106
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10107
      return
10108
    iprot.readStructBegin()
10109
    while True:
10110
      (fname, ftype, fid) = iprot.readFieldBegin()
10111
      if ftype == TType.STOP:
10112
        break
10113
      if fid == 0:
10114
        if ftype == TType.STRING:
10115
          self.success = iprot.readString();
10116
        else:
10117
          iprot.skip(ftype)
10118
      elif fid == 1:
10119
        if ftype == TType.STRUCT:
10120
          self.isex = CatalogServiceException()
10121
          self.isex.read(iprot)
10122
        else:
10123
          iprot.skip(ftype)
10124
      else:
10125
        iprot.skip(ftype)
10126
      iprot.readFieldEnd()
10127
    iprot.readStructEnd()
10128
 
10129
  def write(self, oprot):
10130
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10131
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10132
      return
10133
    oprot.writeStructBegin('getItemStatusDescription_result')
10134
    if self.success is not None:
10135
      oprot.writeFieldBegin('success', TType.STRING, 0)
10136
      oprot.writeString(self.success)
10137
      oprot.writeFieldEnd()
10138
    if self.isex is not None:
10139
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10140
      self.isex.write(oprot)
10141
      oprot.writeFieldEnd()
10142
    oprot.writeFieldStop()
10143
    oprot.writeStructEnd()
10144
 
10145
  def validate(self):
10146
    return
10147
 
10148
 
10149
  def __repr__(self):
10150
    L = ['%s=%r' % (key, value)
10151
      for key, value in self.__dict__.iteritems()]
10152
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10153
 
10154
  def __eq__(self, other):
10155
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10156
 
10157
  def __ne__(self, other):
10158
    return not (self == other)
10159
 
10160
class startItemOn_args:
10161
  """
10162
  Attributes:
10163
   - item_id
10164
   - timestamp
10165
  """
10166
 
10167
  thrift_spec = (
10168
    None, # 0
10169
    (1, TType.I64, 'item_id', None, None, ), # 1
10170
    (2, TType.I64, 'timestamp', None, None, ), # 2
10171
  )
10172
 
10173
  def __init__(self, item_id=None, timestamp=None,):
10174
    self.item_id = item_id
10175
    self.timestamp = timestamp
10176
 
10177
  def read(self, iprot):
10178
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10179
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10180
      return
10181
    iprot.readStructBegin()
10182
    while True:
10183
      (fname, ftype, fid) = iprot.readFieldBegin()
10184
      if ftype == TType.STOP:
10185
        break
10186
      if fid == 1:
10187
        if ftype == TType.I64:
10188
          self.item_id = iprot.readI64();
10189
        else:
10190
          iprot.skip(ftype)
10191
      elif fid == 2:
10192
        if ftype == TType.I64:
10193
          self.timestamp = iprot.readI64();
10194
        else:
10195
          iprot.skip(ftype)
10196
      else:
10197
        iprot.skip(ftype)
10198
      iprot.readFieldEnd()
10199
    iprot.readStructEnd()
10200
 
10201
  def write(self, oprot):
10202
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10203
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10204
      return
10205
    oprot.writeStructBegin('startItemOn_args')
10206
    if self.item_id is not None:
10207
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10208
      oprot.writeI64(self.item_id)
10209
      oprot.writeFieldEnd()
10210
    if self.timestamp is not None:
10211
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10212
      oprot.writeI64(self.timestamp)
10213
      oprot.writeFieldEnd()
10214
    oprot.writeFieldStop()
10215
    oprot.writeStructEnd()
10216
 
10217
  def validate(self):
10218
    return
10219
 
10220
 
10221
  def __repr__(self):
10222
    L = ['%s=%r' % (key, value)
10223
      for key, value in self.__dict__.iteritems()]
10224
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10225
 
10226
  def __eq__(self, other):
10227
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10228
 
10229
  def __ne__(self, other):
10230
    return not (self == other)
10231
 
10232
class startItemOn_result:
10233
  """
10234
  Attributes:
10235
   - cex
10236
  """
10237
 
10238
  thrift_spec = (
10239
    None, # 0
10240
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10241
  )
10242
 
10243
  def __init__(self, cex=None,):
10244
    self.cex = cex
10245
 
10246
  def read(self, iprot):
10247
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10248
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10249
      return
10250
    iprot.readStructBegin()
10251
    while True:
10252
      (fname, ftype, fid) = iprot.readFieldBegin()
10253
      if ftype == TType.STOP:
10254
        break
10255
      if fid == 1:
10256
        if ftype == TType.STRUCT:
10257
          self.cex = CatalogServiceException()
10258
          self.cex.read(iprot)
10259
        else:
10260
          iprot.skip(ftype)
10261
      else:
10262
        iprot.skip(ftype)
10263
      iprot.readFieldEnd()
10264
    iprot.readStructEnd()
10265
 
10266
  def write(self, oprot):
10267
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10268
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10269
      return
10270
    oprot.writeStructBegin('startItemOn_result')
10271
    if self.cex is not None:
10272
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10273
      self.cex.write(oprot)
10274
      oprot.writeFieldEnd()
10275
    oprot.writeFieldStop()
10276
    oprot.writeStructEnd()
10277
 
10278
  def validate(self):
10279
    return
10280
 
10281
 
10282
  def __repr__(self):
10283
    L = ['%s=%r' % (key, value)
10284
      for key, value in self.__dict__.iteritems()]
10285
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10286
 
10287
  def __eq__(self, other):
10288
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10289
 
10290
  def __ne__(self, other):
10291
    return not (self == other)
10292
 
10293
class retireItemOn_args:
10294
  """
10295
  Attributes:
10296
   - item_id
10297
   - timestamp
10298
  """
10299
 
10300
  thrift_spec = (
10301
    None, # 0
10302
    (1, TType.I64, 'item_id', None, None, ), # 1
10303
    (2, TType.I64, 'timestamp', None, None, ), # 2
10304
  )
10305
 
10306
  def __init__(self, item_id=None, timestamp=None,):
10307
    self.item_id = item_id
10308
    self.timestamp = timestamp
10309
 
10310
  def read(self, iprot):
10311
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10312
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10313
      return
10314
    iprot.readStructBegin()
10315
    while True:
10316
      (fname, ftype, fid) = iprot.readFieldBegin()
10317
      if ftype == TType.STOP:
10318
        break
10319
      if fid == 1:
10320
        if ftype == TType.I64:
10321
          self.item_id = iprot.readI64();
10322
        else:
10323
          iprot.skip(ftype)
10324
      elif fid == 2:
10325
        if ftype == TType.I64:
10326
          self.timestamp = iprot.readI64();
10327
        else:
10328
          iprot.skip(ftype)
10329
      else:
10330
        iprot.skip(ftype)
10331
      iprot.readFieldEnd()
10332
    iprot.readStructEnd()
10333
 
10334
  def write(self, oprot):
10335
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10336
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10337
      return
10338
    oprot.writeStructBegin('retireItemOn_args')
10339
    if self.item_id is not None:
10340
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10341
      oprot.writeI64(self.item_id)
10342
      oprot.writeFieldEnd()
10343
    if self.timestamp is not None:
10344
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10345
      oprot.writeI64(self.timestamp)
10346
      oprot.writeFieldEnd()
10347
    oprot.writeFieldStop()
10348
    oprot.writeStructEnd()
10349
 
10350
  def validate(self):
10351
    return
10352
 
10353
 
10354
  def __repr__(self):
10355
    L = ['%s=%r' % (key, value)
10356
      for key, value in self.__dict__.iteritems()]
10357
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10358
 
10359
  def __eq__(self, other):
10360
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10361
 
10362
  def __ne__(self, other):
10363
    return not (self == other)
10364
 
10365
class retireItemOn_result:
10366
  """
10367
  Attributes:
10368
   - cex
10369
  """
10370
 
10371
  thrift_spec = (
10372
    None, # 0
10373
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10374
  )
10375
 
10376
  def __init__(self, cex=None,):
10377
    self.cex = cex
10378
 
10379
  def read(self, iprot):
10380
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10381
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10382
      return
10383
    iprot.readStructBegin()
10384
    while True:
10385
      (fname, ftype, fid) = iprot.readFieldBegin()
10386
      if ftype == TType.STOP:
10387
        break
10388
      if fid == 1:
10389
        if ftype == TType.STRUCT:
10390
          self.cex = CatalogServiceException()
10391
          self.cex.read(iprot)
10392
        else:
10393
          iprot.skip(ftype)
10394
      else:
10395
        iprot.skip(ftype)
10396
      iprot.readFieldEnd()
10397
    iprot.readStructEnd()
10398
 
10399
  def write(self, oprot):
10400
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10401
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10402
      return
10403
    oprot.writeStructBegin('retireItemOn_result')
10404
    if self.cex is not None:
10405
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10406
      self.cex.write(oprot)
10407
      oprot.writeFieldEnd()
10408
    oprot.writeFieldStop()
10409
    oprot.writeStructEnd()
10410
 
10411
  def validate(self):
10412
    return
10413
 
10414
 
10415
  def __repr__(self):
10416
    L = ['%s=%r' % (key, value)
10417
      for key, value in self.__dict__.iteritems()]
10418
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10419
 
10420
  def __eq__(self, other):
10421
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10422
 
10423
  def __ne__(self, other):
10424
    return not (self == other)
10425
 
10426
class changeItemStatus_args:
10427
  """
10428
  Attributes:
10429
   - item_id
10430
   - timestamp
10431
   - newstatus
10432
  """
10433
 
10434
  thrift_spec = (
10435
    None, # 0
10436
    (1, TType.I64, 'item_id', None, None, ), # 1
10437
    (2, TType.I64, 'timestamp', None, None, ), # 2
10438
    (3, TType.I32, 'newstatus', None, None, ), # 3
10439
  )
10440
 
10441
  def __init__(self, item_id=None, timestamp=None, newstatus=None,):
10442
    self.item_id = item_id
10443
    self.timestamp = timestamp
10444
    self.newstatus = newstatus
10445
 
10446
  def read(self, iprot):
10447
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10448
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10449
      return
10450
    iprot.readStructBegin()
10451
    while True:
10452
      (fname, ftype, fid) = iprot.readFieldBegin()
10453
      if ftype == TType.STOP:
10454
        break
10455
      if fid == 1:
10456
        if ftype == TType.I64:
10457
          self.item_id = iprot.readI64();
10458
        else:
10459
          iprot.skip(ftype)
10460
      elif fid == 2:
10461
        if ftype == TType.I64:
10462
          self.timestamp = iprot.readI64();
10463
        else:
10464
          iprot.skip(ftype)
10465
      elif fid == 3:
10466
        if ftype == TType.I32:
10467
          self.newstatus = iprot.readI32();
10468
        else:
10469
          iprot.skip(ftype)
10470
      else:
10471
        iprot.skip(ftype)
10472
      iprot.readFieldEnd()
10473
    iprot.readStructEnd()
10474
 
10475
  def write(self, oprot):
10476
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10477
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10478
      return
10479
    oprot.writeStructBegin('changeItemStatus_args')
10480
    if self.item_id is not None:
10481
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10482
      oprot.writeI64(self.item_id)
10483
      oprot.writeFieldEnd()
10484
    if self.timestamp is not None:
10485
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10486
      oprot.writeI64(self.timestamp)
10487
      oprot.writeFieldEnd()
10488
    if self.newstatus is not None:
10489
      oprot.writeFieldBegin('newstatus', TType.I32, 3)
10490
      oprot.writeI32(self.newstatus)
10491
      oprot.writeFieldEnd()
10492
    oprot.writeFieldStop()
10493
    oprot.writeStructEnd()
10494
 
10495
  def validate(self):
10496
    return
10497
 
10498
 
10499
  def __repr__(self):
10500
    L = ['%s=%r' % (key, value)
10501
      for key, value in self.__dict__.iteritems()]
10502
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10503
 
10504
  def __eq__(self, other):
10505
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10506
 
10507
  def __ne__(self, other):
10508
    return not (self == other)
10509
 
10510
class changeItemStatus_result:
10511
  """
10512
  Attributes:
10513
   - cex
10514
  """
10515
 
10516
  thrift_spec = (
10517
    None, # 0
10518
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10519
  )
10520
 
10521
  def __init__(self, cex=None,):
10522
    self.cex = cex
10523
 
10524
  def read(self, iprot):
10525
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10526
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10527
      return
10528
    iprot.readStructBegin()
10529
    while True:
10530
      (fname, ftype, fid) = iprot.readFieldBegin()
10531
      if ftype == TType.STOP:
10532
        break
10533
      if fid == 1:
10534
        if ftype == TType.STRUCT:
10535
          self.cex = CatalogServiceException()
10536
          self.cex.read(iprot)
10537
        else:
10538
          iprot.skip(ftype)
10539
      else:
10540
        iprot.skip(ftype)
10541
      iprot.readFieldEnd()
10542
    iprot.readStructEnd()
10543
 
10544
  def write(self, oprot):
10545
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10546
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10547
      return
10548
    oprot.writeStructBegin('changeItemStatus_result')
10549
    if self.cex is not None:
10550
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10551
      self.cex.write(oprot)
10552
      oprot.writeFieldEnd()
10553
    oprot.writeFieldStop()
10554
    oprot.writeStructEnd()
10555
 
10556
  def validate(self):
10557
    return
10558
 
10559
 
10560
  def __repr__(self):
10561
    L = ['%s=%r' % (key, value)
10562
      for key, value in self.__dict__.iteritems()]
10563
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10564
 
10565
  def __eq__(self, other):
10566
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10567
 
10568
  def __ne__(self, other):
10569
    return not (self == other)
10570
 
10571
class getItem_args:
10572
  """
10573
  Attributes:
10574
   - item_id
10575
  """
10576
 
10577
  thrift_spec = (
10578
    None, # 0
10579
    (1, TType.I64, 'item_id', None, None, ), # 1
10580
  )
10581
 
10582
  def __init__(self, item_id=None,):
10583
    self.item_id = item_id
10584
 
10585
  def read(self, iprot):
10586
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10587
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10588
      return
10589
    iprot.readStructBegin()
10590
    while True:
10591
      (fname, ftype, fid) = iprot.readFieldBegin()
10592
      if ftype == TType.STOP:
10593
        break
10594
      if fid == 1:
10595
        if ftype == TType.I64:
10596
          self.item_id = iprot.readI64();
10597
        else:
10598
          iprot.skip(ftype)
10599
      else:
10600
        iprot.skip(ftype)
10601
      iprot.readFieldEnd()
10602
    iprot.readStructEnd()
10603
 
10604
  def write(self, oprot):
10605
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10606
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10607
      return
10608
    oprot.writeStructBegin('getItem_args')
10609
    if self.item_id is not None:
10610
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10611
      oprot.writeI64(self.item_id)
10612
      oprot.writeFieldEnd()
10613
    oprot.writeFieldStop()
10614
    oprot.writeStructEnd()
10615
 
10616
  def validate(self):
10617
    return
10618
 
10619
 
10620
  def __repr__(self):
10621
    L = ['%s=%r' % (key, value)
10622
      for key, value in self.__dict__.iteritems()]
10623
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10624
 
10625
  def __eq__(self, other):
10626
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10627
 
10628
  def __ne__(self, other):
10629
    return not (self == other)
10630
 
10631
class getItem_result:
10632
  """
10633
  Attributes:
10634
   - success
10635
   - cex
10636
  """
10637
 
10638
  thrift_spec = (
10639
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
10640
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10641
  )
10642
 
10643
  def __init__(self, success=None, cex=None,):
10644
    self.success = success
10645
    self.cex = cex
10646
 
10647
  def read(self, iprot):
10648
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10649
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10650
      return
10651
    iprot.readStructBegin()
10652
    while True:
10653
      (fname, ftype, fid) = iprot.readFieldBegin()
10654
      if ftype == TType.STOP:
10655
        break
10656
      if fid == 0:
10657
        if ftype == TType.STRUCT:
10658
          self.success = Item()
10659
          self.success.read(iprot)
10660
        else:
10661
          iprot.skip(ftype)
10662
      elif fid == 1:
10663
        if ftype == TType.STRUCT:
10664
          self.cex = CatalogServiceException()
10665
          self.cex.read(iprot)
10666
        else:
10667
          iprot.skip(ftype)
10668
      else:
10669
        iprot.skip(ftype)
10670
      iprot.readFieldEnd()
10671
    iprot.readStructEnd()
10672
 
10673
  def write(self, oprot):
10674
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10675
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10676
      return
10677
    oprot.writeStructBegin('getItem_result')
10678
    if self.success is not None:
10679
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
10680
      self.success.write(oprot)
10681
      oprot.writeFieldEnd()
10682
    if self.cex is not None:
10683
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10684
      self.cex.write(oprot)
10685
      oprot.writeFieldEnd()
10686
    oprot.writeFieldStop()
10687
    oprot.writeStructEnd()
10688
 
10689
  def validate(self):
10690
    return
10691
 
10692
 
10693
  def __repr__(self):
10694
    L = ['%s=%r' % (key, value)
10695
      for key, value in self.__dict__.iteritems()]
10696
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10697
 
10698
  def __eq__(self, other):
10699
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10700
 
10701
  def __ne__(self, other):
10702
    return not (self == other)
10703
 
13493 amit.gupta 10704
class getItems_args:
10705
  """
10706
  Attributes:
10707
   - item_ids
10708
  """
10709
 
10710
  thrift_spec = (
10711
    None, # 0
10712
    (1, TType.LIST, 'item_ids', (TType.I64,None), None, ), # 1
10713
  )
10714
 
10715
  def __init__(self, item_ids=None,):
10716
    self.item_ids = item_ids
10717
 
10718
  def read(self, iprot):
10719
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10720
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10721
      return
10722
    iprot.readStructBegin()
10723
    while True:
10724
      (fname, ftype, fid) = iprot.readFieldBegin()
10725
      if ftype == TType.STOP:
10726
        break
10727
      if fid == 1:
10728
        if ftype == TType.LIST:
10729
          self.item_ids = []
10730
          (_etype49, _size46) = iprot.readListBegin()
10731
          for _i50 in xrange(_size46):
10732
            _elem51 = iprot.readI64();
10733
            self.item_ids.append(_elem51)
10734
          iprot.readListEnd()
10735
        else:
10736
          iprot.skip(ftype)
10737
      else:
10738
        iprot.skip(ftype)
10739
      iprot.readFieldEnd()
10740
    iprot.readStructEnd()
10741
 
10742
  def write(self, oprot):
10743
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10744
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10745
      return
10746
    oprot.writeStructBegin('getItems_args')
10747
    if self.item_ids is not None:
10748
      oprot.writeFieldBegin('item_ids', TType.LIST, 1)
10749
      oprot.writeListBegin(TType.I64, len(self.item_ids))
10750
      for iter52 in self.item_ids:
10751
        oprot.writeI64(iter52)
10752
      oprot.writeListEnd()
10753
      oprot.writeFieldEnd()
10754
    oprot.writeFieldStop()
10755
    oprot.writeStructEnd()
10756
 
10757
  def validate(self):
10758
    return
10759
 
10760
 
10761
  def __repr__(self):
10762
    L = ['%s=%r' % (key, value)
10763
      for key, value in self.__dict__.iteritems()]
10764
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10765
 
10766
  def __eq__(self, other):
10767
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10768
 
10769
  def __ne__(self, other):
10770
    return not (self == other)
10771
 
10772
class getItems_result:
10773
  """
10774
  Attributes:
10775
   - success
10776
   - cex
10777
  """
10778
 
10779
  thrift_spec = (
10780
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10781
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10782
  )
10783
 
10784
  def __init__(self, success=None, cex=None,):
10785
    self.success = success
10786
    self.cex = cex
10787
 
10788
  def read(self, iprot):
10789
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10790
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10791
      return
10792
    iprot.readStructBegin()
10793
    while True:
10794
      (fname, ftype, fid) = iprot.readFieldBegin()
10795
      if ftype == TType.STOP:
10796
        break
10797
      if fid == 0:
10798
        if ftype == TType.MAP:
10799
          self.success = {}
10800
          (_ktype54, _vtype55, _size53 ) = iprot.readMapBegin() 
10801
          for _i57 in xrange(_size53):
10802
            _key58 = iprot.readI64();
10803
            _val59 = Item()
10804
            _val59.read(iprot)
10805
            self.success[_key58] = _val59
10806
          iprot.readMapEnd()
10807
        else:
10808
          iprot.skip(ftype)
10809
      elif fid == 1:
10810
        if ftype == TType.STRUCT:
10811
          self.cex = CatalogServiceException()
10812
          self.cex.read(iprot)
10813
        else:
10814
          iprot.skip(ftype)
10815
      else:
10816
        iprot.skip(ftype)
10817
      iprot.readFieldEnd()
10818
    iprot.readStructEnd()
10819
 
10820
  def write(self, oprot):
10821
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10822
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10823
      return
10824
    oprot.writeStructBegin('getItems_result')
10825
    if self.success is not None:
10826
      oprot.writeFieldBegin('success', TType.MAP, 0)
10827
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
10828
      for kiter60,viter61 in self.success.items():
10829
        oprot.writeI64(kiter60)
10830
        viter61.write(oprot)
10831
      oprot.writeMapEnd()
10832
      oprot.writeFieldEnd()
10833
    if self.cex is not None:
10834
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10835
      self.cex.write(oprot)
10836
      oprot.writeFieldEnd()
10837
    oprot.writeFieldStop()
10838
    oprot.writeStructEnd()
10839
 
10840
  def validate(self):
10841
    return
10842
 
10843
 
10844
  def __repr__(self):
10845
    L = ['%s=%r' % (key, value)
10846
      for key, value in self.__dict__.iteritems()]
10847
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10848
 
10849
  def __eq__(self, other):
10850
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10851
 
10852
  def __ne__(self, other):
10853
    return not (self == other)
10854
 
5944 mandeep.dh 10855
class getItemsByCatalogId_args:
10856
  """
10857
  Attributes:
10858
   - catalog_item_id
10859
  """
10860
 
10861
  thrift_spec = (
10862
    None, # 0
10863
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
10864
  )
10865
 
10866
  def __init__(self, catalog_item_id=None,):
10867
    self.catalog_item_id = catalog_item_id
10868
 
10869
  def read(self, iprot):
10870
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10871
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10872
      return
10873
    iprot.readStructBegin()
10874
    while True:
10875
      (fname, ftype, fid) = iprot.readFieldBegin()
10876
      if ftype == TType.STOP:
10877
        break
10878
      if fid == 1:
10879
        if ftype == TType.I64:
10880
          self.catalog_item_id = iprot.readI64();
10881
        else:
10882
          iprot.skip(ftype)
10883
      else:
10884
        iprot.skip(ftype)
10885
      iprot.readFieldEnd()
10886
    iprot.readStructEnd()
10887
 
10888
  def write(self, oprot):
10889
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10890
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10891
      return
10892
    oprot.writeStructBegin('getItemsByCatalogId_args')
10893
    if self.catalog_item_id is not None:
10894
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
10895
      oprot.writeI64(self.catalog_item_id)
10896
      oprot.writeFieldEnd()
10897
    oprot.writeFieldStop()
10898
    oprot.writeStructEnd()
10899
 
10900
  def validate(self):
10901
    return
10902
 
10903
 
10904
  def __repr__(self):
10905
    L = ['%s=%r' % (key, value)
10906
      for key, value in self.__dict__.iteritems()]
10907
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10908
 
10909
  def __eq__(self, other):
10910
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10911
 
10912
  def __ne__(self, other):
10913
    return not (self == other)
10914
 
10915
class getItemsByCatalogId_result:
10916
  """
10917
  Attributes:
10918
   - success
10919
   - cex
10920
  """
10921
 
10922
  thrift_spec = (
10923
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10924
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10925
  )
10926
 
10927
  def __init__(self, success=None, cex=None,):
10928
    self.success = success
10929
    self.cex = cex
10930
 
10931
  def read(self, iprot):
10932
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10933
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10934
      return
10935
    iprot.readStructBegin()
10936
    while True:
10937
      (fname, ftype, fid) = iprot.readFieldBegin()
10938
      if ftype == TType.STOP:
10939
        break
10940
      if fid == 0:
10941
        if ftype == TType.LIST:
10942
          self.success = []
13493 amit.gupta 10943
          (_etype65, _size62) = iprot.readListBegin()
10944
          for _i66 in xrange(_size62):
10945
            _elem67 = Item()
10946
            _elem67.read(iprot)
10947
            self.success.append(_elem67)
5944 mandeep.dh 10948
          iprot.readListEnd()
10949
        else:
10950
          iprot.skip(ftype)
10951
      elif fid == 1:
10952
        if ftype == TType.STRUCT:
10953
          self.cex = CatalogServiceException()
10954
          self.cex.read(iprot)
10955
        else:
10956
          iprot.skip(ftype)
10957
      else:
10958
        iprot.skip(ftype)
10959
      iprot.readFieldEnd()
10960
    iprot.readStructEnd()
10961
 
10962
  def write(self, oprot):
10963
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10964
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10965
      return
10966
    oprot.writeStructBegin('getItemsByCatalogId_result')
10967
    if self.success is not None:
10968
      oprot.writeFieldBegin('success', TType.LIST, 0)
10969
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 10970
      for iter68 in self.success:
10971
        iter68.write(oprot)
5944 mandeep.dh 10972
      oprot.writeListEnd()
10973
      oprot.writeFieldEnd()
10974
    if self.cex is not None:
10975
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10976
      self.cex.write(oprot)
10977
      oprot.writeFieldEnd()
10978
    oprot.writeFieldStop()
10979
    oprot.writeStructEnd()
10980
 
10981
  def validate(self):
10982
    return
10983
 
10984
 
10985
  def __repr__(self):
10986
    L = ['%s=%r' % (key, value)
10987
      for key, value in self.__dict__.iteritems()]
10988
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10989
 
10990
  def __eq__(self, other):
10991
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10992
 
10993
  def __ne__(self, other):
10994
    return not (self == other)
10995
 
10996
class getValidItemsByCatalogId_args:
10997
  """
10998
  Attributes:
10999
   - catalog_item_id
11000
  """
11001
 
11002
  thrift_spec = (
11003
    None, # 0
11004
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
11005
  )
11006
 
11007
  def __init__(self, catalog_item_id=None,):
11008
    self.catalog_item_id = catalog_item_id
11009
 
11010
  def read(self, iprot):
11011
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11012
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11013
      return
11014
    iprot.readStructBegin()
11015
    while True:
11016
      (fname, ftype, fid) = iprot.readFieldBegin()
11017
      if ftype == TType.STOP:
11018
        break
11019
      if fid == 1:
11020
        if ftype == TType.I64:
11021
          self.catalog_item_id = iprot.readI64();
11022
        else:
11023
          iprot.skip(ftype)
11024
      else:
11025
        iprot.skip(ftype)
11026
      iprot.readFieldEnd()
11027
    iprot.readStructEnd()
11028
 
11029
  def write(self, oprot):
11030
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11031
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11032
      return
11033
    oprot.writeStructBegin('getValidItemsByCatalogId_args')
11034
    if self.catalog_item_id is not None:
11035
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
11036
      oprot.writeI64(self.catalog_item_id)
11037
      oprot.writeFieldEnd()
11038
    oprot.writeFieldStop()
11039
    oprot.writeStructEnd()
11040
 
11041
  def validate(self):
11042
    return
11043
 
11044
 
11045
  def __repr__(self):
11046
    L = ['%s=%r' % (key, value)
11047
      for key, value in self.__dict__.iteritems()]
11048
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11049
 
11050
  def __eq__(self, other):
11051
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11052
 
11053
  def __ne__(self, other):
11054
    return not (self == other)
11055
 
11056
class getValidItemsByCatalogId_result:
11057
  """
11058
  Attributes:
11059
   - success
11060
   - cex
11061
  """
11062
 
11063
  thrift_spec = (
11064
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11065
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11066
  )
11067
 
11068
  def __init__(self, success=None, cex=None,):
11069
    self.success = success
11070
    self.cex = cex
11071
 
11072
  def read(self, iprot):
11073
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11074
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11075
      return
11076
    iprot.readStructBegin()
11077
    while True:
11078
      (fname, ftype, fid) = iprot.readFieldBegin()
11079
      if ftype == TType.STOP:
11080
        break
11081
      if fid == 0:
11082
        if ftype == TType.LIST:
11083
          self.success = []
13493 amit.gupta 11084
          (_etype72, _size69) = iprot.readListBegin()
11085
          for _i73 in xrange(_size69):
11086
            _elem74 = Item()
11087
            _elem74.read(iprot)
11088
            self.success.append(_elem74)
5944 mandeep.dh 11089
          iprot.readListEnd()
11090
        else:
11091
          iprot.skip(ftype)
11092
      elif fid == 1:
11093
        if ftype == TType.STRUCT:
11094
          self.cex = CatalogServiceException()
11095
          self.cex.read(iprot)
11096
        else:
11097
          iprot.skip(ftype)
11098
      else:
11099
        iprot.skip(ftype)
11100
      iprot.readFieldEnd()
11101
    iprot.readStructEnd()
11102
 
11103
  def write(self, oprot):
11104
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11105
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11106
      return
11107
    oprot.writeStructBegin('getValidItemsByCatalogId_result')
11108
    if self.success is not None:
11109
      oprot.writeFieldBegin('success', TType.LIST, 0)
11110
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11111
      for iter75 in self.success:
11112
        iter75.write(oprot)
5944 mandeep.dh 11113
      oprot.writeListEnd()
11114
      oprot.writeFieldEnd()
11115
    if self.cex is not None:
11116
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11117
      self.cex.write(oprot)
11118
      oprot.writeFieldEnd()
11119
    oprot.writeFieldStop()
11120
    oprot.writeStructEnd()
11121
 
11122
  def validate(self):
11123
    return
11124
 
11125
 
11126
  def __repr__(self):
11127
    L = ['%s=%r' % (key, value)
11128
      for key, value in self.__dict__.iteritems()]
11129
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11130
 
11131
  def __eq__(self, other):
11132
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11133
 
11134
  def __ne__(self, other):
11135
    return not (self == other)
11136
 
11137
class getAllItems_args:
11138
  """
11139
  Attributes:
11140
   - isActive
11141
  """
11142
 
11143
  thrift_spec = (
11144
    None, # 0
11145
    (1, TType.BOOL, 'isActive', None, None, ), # 1
11146
  )
11147
 
11148
  def __init__(self, isActive=None,):
11149
    self.isActive = isActive
11150
 
11151
  def read(self, iprot):
11152
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11153
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11154
      return
11155
    iprot.readStructBegin()
11156
    while True:
11157
      (fname, ftype, fid) = iprot.readFieldBegin()
11158
      if ftype == TType.STOP:
11159
        break
11160
      if fid == 1:
11161
        if ftype == TType.BOOL:
11162
          self.isActive = iprot.readBool();
11163
        else:
11164
          iprot.skip(ftype)
11165
      else:
11166
        iprot.skip(ftype)
11167
      iprot.readFieldEnd()
11168
    iprot.readStructEnd()
11169
 
11170
  def write(self, oprot):
11171
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11172
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11173
      return
11174
    oprot.writeStructBegin('getAllItems_args')
11175
    if self.isActive is not None:
11176
      oprot.writeFieldBegin('isActive', TType.BOOL, 1)
11177
      oprot.writeBool(self.isActive)
11178
      oprot.writeFieldEnd()
11179
    oprot.writeFieldStop()
11180
    oprot.writeStructEnd()
11181
 
11182
  def validate(self):
11183
    return
11184
 
11185
 
11186
  def __repr__(self):
11187
    L = ['%s=%r' % (key, value)
11188
      for key, value in self.__dict__.iteritems()]
11189
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11190
 
11191
  def __eq__(self, other):
11192
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11193
 
11194
  def __ne__(self, other):
11195
    return not (self == other)
11196
 
11197
class getAllItems_result:
11198
  """
11199
  Attributes:
11200
   - success
11201
   - cex
11202
  """
11203
 
11204
  thrift_spec = (
11205
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11206
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11207
  )
11208
 
11209
  def __init__(self, success=None, cex=None,):
11210
    self.success = success
11211
    self.cex = cex
11212
 
11213
  def read(self, iprot):
11214
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11215
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11216
      return
11217
    iprot.readStructBegin()
11218
    while True:
11219
      (fname, ftype, fid) = iprot.readFieldBegin()
11220
      if ftype == TType.STOP:
11221
        break
11222
      if fid == 0:
11223
        if ftype == TType.LIST:
11224
          self.success = []
13493 amit.gupta 11225
          (_etype79, _size76) = iprot.readListBegin()
11226
          for _i80 in xrange(_size76):
11227
            _elem81 = Item()
11228
            _elem81.read(iprot)
11229
            self.success.append(_elem81)
5944 mandeep.dh 11230
          iprot.readListEnd()
11231
        else:
11232
          iprot.skip(ftype)
11233
      elif fid == 1:
11234
        if ftype == TType.STRUCT:
11235
          self.cex = CatalogServiceException()
11236
          self.cex.read(iprot)
11237
        else:
11238
          iprot.skip(ftype)
11239
      else:
11240
        iprot.skip(ftype)
11241
      iprot.readFieldEnd()
11242
    iprot.readStructEnd()
11243
 
11244
  def write(self, oprot):
11245
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11246
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11247
      return
11248
    oprot.writeStructBegin('getAllItems_result')
11249
    if self.success is not None:
11250
      oprot.writeFieldBegin('success', TType.LIST, 0)
11251
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11252
      for iter82 in self.success:
11253
        iter82.write(oprot)
5944 mandeep.dh 11254
      oprot.writeListEnd()
11255
      oprot.writeFieldEnd()
11256
    if self.cex is not None:
11257
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11258
      self.cex.write(oprot)
11259
      oprot.writeFieldEnd()
11260
    oprot.writeFieldStop()
11261
    oprot.writeStructEnd()
11262
 
11263
  def validate(self):
11264
    return
11265
 
11266
 
11267
  def __repr__(self):
11268
    L = ['%s=%r' % (key, value)
11269
      for key, value in self.__dict__.iteritems()]
11270
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11271
 
11272
  def __eq__(self, other):
11273
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11274
 
11275
  def __ne__(self, other):
11276
    return not (self == other)
11277
 
11278
class getAllItemsByStatus_args:
11279
  """
11280
  Attributes:
11281
   - itemStatus
11282
  """
11283
 
11284
  thrift_spec = (
11285
    None, # 0
11286
    (1, TType.I32, 'itemStatus', None, None, ), # 1
11287
  )
11288
 
11289
  def __init__(self, itemStatus=None,):
11290
    self.itemStatus = itemStatus
11291
 
11292
  def read(self, iprot):
11293
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11294
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11295
      return
11296
    iprot.readStructBegin()
11297
    while True:
11298
      (fname, ftype, fid) = iprot.readFieldBegin()
11299
      if ftype == TType.STOP:
11300
        break
11301
      if fid == 1:
11302
        if ftype == TType.I32:
11303
          self.itemStatus = iprot.readI32();
11304
        else:
11305
          iprot.skip(ftype)
11306
      else:
11307
        iprot.skip(ftype)
11308
      iprot.readFieldEnd()
11309
    iprot.readStructEnd()
11310
 
11311
  def write(self, oprot):
11312
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11313
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11314
      return
11315
    oprot.writeStructBegin('getAllItemsByStatus_args')
11316
    if self.itemStatus is not None:
11317
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
11318
      oprot.writeI32(self.itemStatus)
11319
      oprot.writeFieldEnd()
11320
    oprot.writeFieldStop()
11321
    oprot.writeStructEnd()
11322
 
11323
  def validate(self):
11324
    return
11325
 
11326
 
11327
  def __repr__(self):
11328
    L = ['%s=%r' % (key, value)
11329
      for key, value in self.__dict__.iteritems()]
11330
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11331
 
11332
  def __eq__(self, other):
11333
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11334
 
11335
  def __ne__(self, other):
11336
    return not (self == other)
11337
 
11338
class getAllItemsByStatus_result:
11339
  """
11340
  Attributes:
11341
   - success
11342
   - cex
11343
  """
11344
 
11345
  thrift_spec = (
11346
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11347
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11348
  )
11349
 
11350
  def __init__(self, success=None, cex=None,):
11351
    self.success = success
11352
    self.cex = cex
11353
 
11354
  def read(self, iprot):
11355
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11356
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11357
      return
11358
    iprot.readStructBegin()
11359
    while True:
11360
      (fname, ftype, fid) = iprot.readFieldBegin()
11361
      if ftype == TType.STOP:
11362
        break
11363
      if fid == 0:
11364
        if ftype == TType.LIST:
11365
          self.success = []
13493 amit.gupta 11366
          (_etype86, _size83) = iprot.readListBegin()
11367
          for _i87 in xrange(_size83):
11368
            _elem88 = Item()
11369
            _elem88.read(iprot)
11370
            self.success.append(_elem88)
5944 mandeep.dh 11371
          iprot.readListEnd()
11372
        else:
11373
          iprot.skip(ftype)
11374
      elif fid == 1:
11375
        if ftype == TType.STRUCT:
11376
          self.cex = CatalogServiceException()
11377
          self.cex.read(iprot)
11378
        else:
11379
          iprot.skip(ftype)
11380
      else:
11381
        iprot.skip(ftype)
11382
      iprot.readFieldEnd()
11383
    iprot.readStructEnd()
11384
 
11385
  def write(self, oprot):
11386
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11387
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11388
      return
11389
    oprot.writeStructBegin('getAllItemsByStatus_result')
11390
    if self.success is not None:
11391
      oprot.writeFieldBegin('success', TType.LIST, 0)
11392
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11393
      for iter89 in self.success:
11394
        iter89.write(oprot)
5944 mandeep.dh 11395
      oprot.writeListEnd()
11396
      oprot.writeFieldEnd()
11397
    if self.cex is not None:
11398
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11399
      self.cex.write(oprot)
11400
      oprot.writeFieldEnd()
11401
    oprot.writeFieldStop()
11402
    oprot.writeStructEnd()
11403
 
11404
  def validate(self):
11405
    return
11406
 
11407
 
11408
  def __repr__(self):
11409
    L = ['%s=%r' % (key, value)
11410
      for key, value in self.__dict__.iteritems()]
11411
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11412
 
11413
  def __eq__(self, other):
11414
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11415
 
11416
  def __ne__(self, other):
11417
    return not (self == other)
11418
 
11419
class markItemAsContentComplete_args:
11420
  """
11421
  Attributes:
11422
   - entityId
11423
   - category
11424
   - brand
11425
   - modelName
11426
   - modelNumber
9253 rajveer 11427
   - isAndroid
5944 mandeep.dh 11428
  """
11429
 
11430
  thrift_spec = (
11431
    None, # 0
11432
    (1, TType.I64, 'entityId', None, None, ), # 1
11433
    (2, TType.I64, 'category', None, None, ), # 2
11434
    (3, TType.STRING, 'brand', None, None, ), # 3
11435
    (4, TType.STRING, 'modelName', None, None, ), # 4
11436
    (5, TType.STRING, 'modelNumber', None, None, ), # 5
9253 rajveer 11437
    (6, TType.BOOL, 'isAndroid', None, None, ), # 6
5944 mandeep.dh 11438
  )
11439
 
9253 rajveer 11440
  def __init__(self, entityId=None, category=None, brand=None, modelName=None, modelNumber=None, isAndroid=None,):
5944 mandeep.dh 11441
    self.entityId = entityId
11442
    self.category = category
11443
    self.brand = brand
11444
    self.modelName = modelName
11445
    self.modelNumber = modelNumber
9253 rajveer 11446
    self.isAndroid = isAndroid
5944 mandeep.dh 11447
 
11448
  def read(self, iprot):
11449
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11450
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11451
      return
11452
    iprot.readStructBegin()
11453
    while True:
11454
      (fname, ftype, fid) = iprot.readFieldBegin()
11455
      if ftype == TType.STOP:
11456
        break
11457
      if fid == 1:
11458
        if ftype == TType.I64:
11459
          self.entityId = iprot.readI64();
11460
        else:
11461
          iprot.skip(ftype)
11462
      elif fid == 2:
11463
        if ftype == TType.I64:
11464
          self.category = iprot.readI64();
11465
        else:
11466
          iprot.skip(ftype)
11467
      elif fid == 3:
11468
        if ftype == TType.STRING:
11469
          self.brand = iprot.readString();
11470
        else:
11471
          iprot.skip(ftype)
11472
      elif fid == 4:
11473
        if ftype == TType.STRING:
11474
          self.modelName = iprot.readString();
11475
        else:
11476
          iprot.skip(ftype)
11477
      elif fid == 5:
11478
        if ftype == TType.STRING:
11479
          self.modelNumber = iprot.readString();
11480
        else:
11481
          iprot.skip(ftype)
9253 rajveer 11482
      elif fid == 6:
11483
        if ftype == TType.BOOL:
11484
          self.isAndroid = iprot.readBool();
11485
        else:
11486
          iprot.skip(ftype)
5944 mandeep.dh 11487
      else:
11488
        iprot.skip(ftype)
11489
      iprot.readFieldEnd()
11490
    iprot.readStructEnd()
11491
 
11492
  def write(self, oprot):
11493
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11494
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11495
      return
11496
    oprot.writeStructBegin('markItemAsContentComplete_args')
11497
    if self.entityId is not None:
11498
      oprot.writeFieldBegin('entityId', TType.I64, 1)
11499
      oprot.writeI64(self.entityId)
11500
      oprot.writeFieldEnd()
11501
    if self.category is not None:
11502
      oprot.writeFieldBegin('category', TType.I64, 2)
11503
      oprot.writeI64(self.category)
11504
      oprot.writeFieldEnd()
11505
    if self.brand is not None:
11506
      oprot.writeFieldBegin('brand', TType.STRING, 3)
11507
      oprot.writeString(self.brand)
11508
      oprot.writeFieldEnd()
11509
    if self.modelName is not None:
11510
      oprot.writeFieldBegin('modelName', TType.STRING, 4)
11511
      oprot.writeString(self.modelName)
11512
      oprot.writeFieldEnd()
11513
    if self.modelNumber is not None:
11514
      oprot.writeFieldBegin('modelNumber', TType.STRING, 5)
11515
      oprot.writeString(self.modelNumber)
11516
      oprot.writeFieldEnd()
9253 rajveer 11517
    if self.isAndroid is not None:
11518
      oprot.writeFieldBegin('isAndroid', TType.BOOL, 6)
11519
      oprot.writeBool(self.isAndroid)
11520
      oprot.writeFieldEnd()
5944 mandeep.dh 11521
    oprot.writeFieldStop()
11522
    oprot.writeStructEnd()
11523
 
11524
  def validate(self):
11525
    return
11526
 
11527
 
11528
  def __repr__(self):
11529
    L = ['%s=%r' % (key, value)
11530
      for key, value in self.__dict__.iteritems()]
11531
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11532
 
11533
  def __eq__(self, other):
11534
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11535
 
11536
  def __ne__(self, other):
11537
    return not (self == other)
11538
 
11539
class markItemAsContentComplete_result:
11540
  """
11541
  Attributes:
11542
   - success
11543
   - cex
11544
  """
11545
 
11546
  thrift_spec = (
11547
    (0, TType.BOOL, 'success', None, None, ), # 0
11548
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11549
  )
11550
 
11551
  def __init__(self, success=None, cex=None,):
11552
    self.success = success
11553
    self.cex = cex
11554
 
11555
  def read(self, iprot):
11556
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11557
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11558
      return
11559
    iprot.readStructBegin()
11560
    while True:
11561
      (fname, ftype, fid) = iprot.readFieldBegin()
11562
      if ftype == TType.STOP:
11563
        break
11564
      if fid == 0:
11565
        if ftype == TType.BOOL:
11566
          self.success = iprot.readBool();
11567
        else:
11568
          iprot.skip(ftype)
11569
      elif fid == 1:
11570
        if ftype == TType.STRUCT:
11571
          self.cex = CatalogServiceException()
11572
          self.cex.read(iprot)
11573
        else:
11574
          iprot.skip(ftype)
11575
      else:
11576
        iprot.skip(ftype)
11577
      iprot.readFieldEnd()
11578
    iprot.readStructEnd()
11579
 
11580
  def write(self, oprot):
11581
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11582
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11583
      return
11584
    oprot.writeStructBegin('markItemAsContentComplete_result')
11585
    if self.success is not None:
11586
      oprot.writeFieldBegin('success', TType.BOOL, 0)
11587
      oprot.writeBool(self.success)
11588
      oprot.writeFieldEnd()
11589
    if self.cex is not None:
11590
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11591
      self.cex.write(oprot)
11592
      oprot.writeFieldEnd()
11593
    oprot.writeFieldStop()
11594
    oprot.writeStructEnd()
11595
 
11596
  def validate(self):
11597
    return
11598
 
11599
 
11600
  def __repr__(self):
11601
    L = ['%s=%r' % (key, value)
11602
      for key, value in self.__dict__.iteritems()]
11603
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11604
 
11605
  def __eq__(self, other):
11606
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11607
 
11608
  def __ne__(self, other):
11609
    return not (self == other)
11610
 
12567 amit.gupta 11611
class getVatRates_args:
11612
  """
11613
  Attributes:
11614
   - itemId
11615
   - categoryId
11616
  """
11617
 
11618
  thrift_spec = (
11619
    None, # 0
11620
    (1, TType.I64, 'itemId', None, None, ), # 1
11621
    (2, TType.I64, 'categoryId', None, None, ), # 2
11622
  )
11623
 
11624
  def __init__(self, itemId=None, categoryId=None,):
11625
    self.itemId = itemId
11626
    self.categoryId = categoryId
11627
 
11628
  def read(self, iprot):
11629
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11630
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11631
      return
11632
    iprot.readStructBegin()
11633
    while True:
11634
      (fname, ftype, fid) = iprot.readFieldBegin()
11635
      if ftype == TType.STOP:
11636
        break
11637
      if fid == 1:
11638
        if ftype == TType.I64:
11639
          self.itemId = iprot.readI64();
11640
        else:
11641
          iprot.skip(ftype)
11642
      elif fid == 2:
11643
        if ftype == TType.I64:
11644
          self.categoryId = iprot.readI64();
11645
        else:
11646
          iprot.skip(ftype)
11647
      else:
11648
        iprot.skip(ftype)
11649
      iprot.readFieldEnd()
11650
    iprot.readStructEnd()
11651
 
11652
  def write(self, oprot):
11653
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11654
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11655
      return
11656
    oprot.writeStructBegin('getVatRates_args')
11657
    if self.itemId is not None:
11658
      oprot.writeFieldBegin('itemId', TType.I64, 1)
11659
      oprot.writeI64(self.itemId)
11660
      oprot.writeFieldEnd()
11661
    if self.categoryId is not None:
11662
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
11663
      oprot.writeI64(self.categoryId)
11664
      oprot.writeFieldEnd()
11665
    oprot.writeFieldStop()
11666
    oprot.writeStructEnd()
11667
 
11668
  def validate(self):
11669
    return
11670
 
11671
 
11672
  def __repr__(self):
11673
    L = ['%s=%r' % (key, value)
11674
      for key, value in self.__dict__.iteritems()]
11675
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11676
 
11677
  def __eq__(self, other):
11678
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11679
 
11680
  def __ne__(self, other):
11681
    return not (self == other)
11682
 
11683
class getVatRates_result:
11684
  """
11685
  Attributes:
11686
   - success
11687
   - cex
11688
  """
11689
 
11690
  thrift_spec = (
11691
    (0, TType.MAP, 'success', (TType.I64,None,TType.DOUBLE,None), None, ), # 0
11692
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11693
  )
11694
 
11695
  def __init__(self, success=None, cex=None,):
11696
    self.success = success
11697
    self.cex = cex
11698
 
11699
  def read(self, iprot):
11700
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11701
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11702
      return
11703
    iprot.readStructBegin()
11704
    while True:
11705
      (fname, ftype, fid) = iprot.readFieldBegin()
11706
      if ftype == TType.STOP:
11707
        break
11708
      if fid == 0:
11709
        if ftype == TType.MAP:
11710
          self.success = {}
13493 amit.gupta 11711
          (_ktype91, _vtype92, _size90 ) = iprot.readMapBegin() 
11712
          for _i94 in xrange(_size90):
11713
            _key95 = iprot.readI64();
11714
            _val96 = iprot.readDouble();
11715
            self.success[_key95] = _val96
12567 amit.gupta 11716
          iprot.readMapEnd()
11717
        else:
11718
          iprot.skip(ftype)
11719
      elif fid == 1:
11720
        if ftype == TType.STRUCT:
11721
          self.cex = CatalogServiceException()
11722
          self.cex.read(iprot)
11723
        else:
11724
          iprot.skip(ftype)
11725
      else:
11726
        iprot.skip(ftype)
11727
      iprot.readFieldEnd()
11728
    iprot.readStructEnd()
11729
 
11730
  def write(self, oprot):
11731
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11732
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11733
      return
11734
    oprot.writeStructBegin('getVatRates_result')
11735
    if self.success is not None:
11736
      oprot.writeFieldBegin('success', TType.MAP, 0)
11737
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.success))
13493 amit.gupta 11738
      for kiter97,viter98 in self.success.items():
11739
        oprot.writeI64(kiter97)
11740
        oprot.writeDouble(viter98)
12567 amit.gupta 11741
      oprot.writeMapEnd()
11742
      oprot.writeFieldEnd()
11743
    if self.cex is not None:
11744
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11745
      self.cex.write(oprot)
11746
      oprot.writeFieldEnd()
11747
    oprot.writeFieldStop()
11748
    oprot.writeStructEnd()
11749
 
11750
  def validate(self):
11751
    return
11752
 
11753
 
11754
  def __repr__(self):
11755
    L = ['%s=%r' % (key, value)
11756
      for key, value in self.__dict__.iteritems()]
11757
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11758
 
11759
  def __eq__(self, other):
11760
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11761
 
11762
  def __ne__(self, other):
11763
    return not (self == other)
11764
 
5944 mandeep.dh 11765
class getAllItemsInRange_args:
11766
  """
11767
  Attributes:
11768
   - offset
11769
   - limit
11770
  """
11771
 
11772
  thrift_spec = (
11773
    None, # 0
11774
    (1, TType.I64, 'offset', None, None, ), # 1
11775
    (2, TType.I64, 'limit', None, None, ), # 2
11776
  )
11777
 
11778
  def __init__(self, offset=None, limit=None,):
11779
    self.offset = offset
11780
    self.limit = limit
11781
 
11782
  def read(self, iprot):
11783
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11784
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11785
      return
11786
    iprot.readStructBegin()
11787
    while True:
11788
      (fname, ftype, fid) = iprot.readFieldBegin()
11789
      if ftype == TType.STOP:
11790
        break
11791
      if fid == 1:
11792
        if ftype == TType.I64:
11793
          self.offset = iprot.readI64();
11794
        else:
11795
          iprot.skip(ftype)
11796
      elif fid == 2:
11797
        if ftype == TType.I64:
11798
          self.limit = iprot.readI64();
11799
        else:
11800
          iprot.skip(ftype)
11801
      else:
11802
        iprot.skip(ftype)
11803
      iprot.readFieldEnd()
11804
    iprot.readStructEnd()
11805
 
11806
  def write(self, oprot):
11807
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11808
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11809
      return
11810
    oprot.writeStructBegin('getAllItemsInRange_args')
11811
    if self.offset is not None:
11812
      oprot.writeFieldBegin('offset', TType.I64, 1)
11813
      oprot.writeI64(self.offset)
11814
      oprot.writeFieldEnd()
11815
    if self.limit is not None:
11816
      oprot.writeFieldBegin('limit', TType.I64, 2)
11817
      oprot.writeI64(self.limit)
11818
      oprot.writeFieldEnd()
11819
    oprot.writeFieldStop()
11820
    oprot.writeStructEnd()
11821
 
11822
  def validate(self):
11823
    return
11824
 
11825
 
11826
  def __repr__(self):
11827
    L = ['%s=%r' % (key, value)
11828
      for key, value in self.__dict__.iteritems()]
11829
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11830
 
11831
  def __eq__(self, other):
11832
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11833
 
11834
  def __ne__(self, other):
11835
    return not (self == other)
11836
 
11837
class getAllItemsInRange_result:
11838
  """
11839
  Attributes:
11840
   - success
11841
   - cex
11842
  """
11843
 
11844
  thrift_spec = (
11845
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11846
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11847
  )
11848
 
11849
  def __init__(self, success=None, cex=None,):
11850
    self.success = success
11851
    self.cex = cex
11852
 
11853
  def read(self, iprot):
11854
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11855
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11856
      return
11857
    iprot.readStructBegin()
11858
    while True:
11859
      (fname, ftype, fid) = iprot.readFieldBegin()
11860
      if ftype == TType.STOP:
11861
        break
11862
      if fid == 0:
11863
        if ftype == TType.LIST:
11864
          self.success = []
13493 amit.gupta 11865
          (_etype102, _size99) = iprot.readListBegin()
11866
          for _i103 in xrange(_size99):
11867
            _elem104 = Item()
11868
            _elem104.read(iprot)
11869
            self.success.append(_elem104)
5944 mandeep.dh 11870
          iprot.readListEnd()
11871
        else:
11872
          iprot.skip(ftype)
11873
      elif fid == 1:
11874
        if ftype == TType.STRUCT:
11875
          self.cex = CatalogServiceException()
11876
          self.cex.read(iprot)
11877
        else:
11878
          iprot.skip(ftype)
11879
      else:
11880
        iprot.skip(ftype)
11881
      iprot.readFieldEnd()
11882
    iprot.readStructEnd()
11883
 
11884
  def write(self, oprot):
11885
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11886
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11887
      return
11888
    oprot.writeStructBegin('getAllItemsInRange_result')
11889
    if self.success is not None:
11890
      oprot.writeFieldBegin('success', TType.LIST, 0)
11891
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11892
      for iter105 in self.success:
11893
        iter105.write(oprot)
5944 mandeep.dh 11894
      oprot.writeListEnd()
11895
      oprot.writeFieldEnd()
11896
    if self.cex is not None:
11897
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11898
      self.cex.write(oprot)
11899
      oprot.writeFieldEnd()
11900
    oprot.writeFieldStop()
11901
    oprot.writeStructEnd()
11902
 
11903
  def validate(self):
11904
    return
11905
 
11906
 
11907
  def __repr__(self):
11908
    L = ['%s=%r' % (key, value)
11909
      for key, value in self.__dict__.iteritems()]
11910
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11911
 
11912
  def __eq__(self, other):
11913
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11914
 
11915
  def __ne__(self, other):
11916
    return not (self == other)
11917
 
11918
class getAllItemsByStatusInRange_args:
11919
  """
11920
  Attributes:
11921
   - itemStatus
11922
   - offset
11923
   - limit
11924
  """
11925
 
11926
  thrift_spec = (
11927
    None, # 0
11928
    (1, TType.I32, 'itemStatus', None, None, ), # 1
11929
    (2, TType.I64, 'offset', None, None, ), # 2
11930
    (3, TType.I64, 'limit', None, None, ), # 3
11931
  )
11932
 
11933
  def __init__(self, itemStatus=None, offset=None, limit=None,):
11934
    self.itemStatus = itemStatus
11935
    self.offset = offset
11936
    self.limit = limit
11937
 
11938
  def read(self, iprot):
11939
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11940
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11941
      return
11942
    iprot.readStructBegin()
11943
    while True:
11944
      (fname, ftype, fid) = iprot.readFieldBegin()
11945
      if ftype == TType.STOP:
11946
        break
11947
      if fid == 1:
11948
        if ftype == TType.I32:
11949
          self.itemStatus = iprot.readI32();
11950
        else:
11951
          iprot.skip(ftype)
11952
      elif fid == 2:
11953
        if ftype == TType.I64:
11954
          self.offset = iprot.readI64();
11955
        else:
11956
          iprot.skip(ftype)
11957
      elif fid == 3:
11958
        if ftype == TType.I64:
11959
          self.limit = iprot.readI64();
11960
        else:
11961
          iprot.skip(ftype)
11962
      else:
11963
        iprot.skip(ftype)
11964
      iprot.readFieldEnd()
11965
    iprot.readStructEnd()
11966
 
11967
  def write(self, oprot):
11968
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11969
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11970
      return
11971
    oprot.writeStructBegin('getAllItemsByStatusInRange_args')
11972
    if self.itemStatus is not None:
11973
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
11974
      oprot.writeI32(self.itemStatus)
11975
      oprot.writeFieldEnd()
11976
    if self.offset is not None:
11977
      oprot.writeFieldBegin('offset', TType.I64, 2)
11978
      oprot.writeI64(self.offset)
11979
      oprot.writeFieldEnd()
11980
    if self.limit is not None:
11981
      oprot.writeFieldBegin('limit', TType.I64, 3)
11982
      oprot.writeI64(self.limit)
11983
      oprot.writeFieldEnd()
11984
    oprot.writeFieldStop()
11985
    oprot.writeStructEnd()
11986
 
11987
  def validate(self):
11988
    return
11989
 
11990
 
11991
  def __repr__(self):
11992
    L = ['%s=%r' % (key, value)
11993
      for key, value in self.__dict__.iteritems()]
11994
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11995
 
11996
  def __eq__(self, other):
11997
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11998
 
11999
  def __ne__(self, other):
12000
    return not (self == other)
12001
 
12002
class getAllItemsByStatusInRange_result:
12003
  """
12004
  Attributes:
12005
   - success
12006
   - cex
12007
  """
12008
 
12009
  thrift_spec = (
12010
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12011
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12012
  )
12013
 
12014
  def __init__(self, success=None, cex=None,):
12015
    self.success = success
12016
    self.cex = cex
12017
 
12018
  def read(self, iprot):
12019
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12020
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12021
      return
12022
    iprot.readStructBegin()
12023
    while True:
12024
      (fname, ftype, fid) = iprot.readFieldBegin()
12025
      if ftype == TType.STOP:
12026
        break
12027
      if fid == 0:
12028
        if ftype == TType.LIST:
12029
          self.success = []
13493 amit.gupta 12030
          (_etype109, _size106) = iprot.readListBegin()
12031
          for _i110 in xrange(_size106):
12032
            _elem111 = Item()
12033
            _elem111.read(iprot)
12034
            self.success.append(_elem111)
5944 mandeep.dh 12035
          iprot.readListEnd()
12036
        else:
12037
          iprot.skip(ftype)
12038
      elif fid == 1:
12039
        if ftype == TType.STRUCT:
12040
          self.cex = CatalogServiceException()
12041
          self.cex.read(iprot)
12042
        else:
12043
          iprot.skip(ftype)
12044
      else:
12045
        iprot.skip(ftype)
12046
      iprot.readFieldEnd()
12047
    iprot.readStructEnd()
12048
 
12049
  def write(self, oprot):
12050
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12051
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12052
      return
12053
    oprot.writeStructBegin('getAllItemsByStatusInRange_result')
12054
    if self.success is not None:
12055
      oprot.writeFieldBegin('success', TType.LIST, 0)
12056
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 12057
      for iter112 in self.success:
12058
        iter112.write(oprot)
5944 mandeep.dh 12059
      oprot.writeListEnd()
12060
      oprot.writeFieldEnd()
12061
    if self.cex is not None:
12062
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12063
      self.cex.write(oprot)
12064
      oprot.writeFieldEnd()
12065
    oprot.writeFieldStop()
12066
    oprot.writeStructEnd()
12067
 
12068
  def validate(self):
12069
    return
12070
 
12071
 
12072
  def __repr__(self):
12073
    L = ['%s=%r' % (key, value)
12074
      for key, value in self.__dict__.iteritems()]
12075
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12076
 
12077
  def __eq__(self, other):
12078
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12079
 
12080
  def __ne__(self, other):
12081
    return not (self == other)
12082
 
12083
class getItemCountByStatus_args:
12084
  """
12085
  Attributes:
12086
   - useStatus
12087
   - itemStatus
12088
  """
12089
 
12090
  thrift_spec = (
12091
    None, # 0
12092
    (1, TType.BOOL, 'useStatus', None, None, ), # 1
12093
    (2, TType.I32, 'itemStatus', None, None, ), # 2
12094
  )
12095
 
12096
  def __init__(self, useStatus=None, itemStatus=None,):
12097
    self.useStatus = useStatus
12098
    self.itemStatus = itemStatus
12099
 
12100
  def read(self, iprot):
12101
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12102
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12103
      return
12104
    iprot.readStructBegin()
12105
    while True:
12106
      (fname, ftype, fid) = iprot.readFieldBegin()
12107
      if ftype == TType.STOP:
12108
        break
12109
      if fid == 1:
12110
        if ftype == TType.BOOL:
12111
          self.useStatus = iprot.readBool();
12112
        else:
12113
          iprot.skip(ftype)
12114
      elif fid == 2:
12115
        if ftype == TType.I32:
12116
          self.itemStatus = iprot.readI32();
12117
        else:
12118
          iprot.skip(ftype)
12119
      else:
12120
        iprot.skip(ftype)
12121
      iprot.readFieldEnd()
12122
    iprot.readStructEnd()
12123
 
12124
  def write(self, oprot):
12125
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12126
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12127
      return
12128
    oprot.writeStructBegin('getItemCountByStatus_args')
12129
    if self.useStatus is not None:
12130
      oprot.writeFieldBegin('useStatus', TType.BOOL, 1)
12131
      oprot.writeBool(self.useStatus)
12132
      oprot.writeFieldEnd()
12133
    if self.itemStatus is not None:
12134
      oprot.writeFieldBegin('itemStatus', TType.I32, 2)
12135
      oprot.writeI32(self.itemStatus)
12136
      oprot.writeFieldEnd()
12137
    oprot.writeFieldStop()
12138
    oprot.writeStructEnd()
12139
 
12140
  def validate(self):
12141
    return
12142
 
12143
 
12144
  def __repr__(self):
12145
    L = ['%s=%r' % (key, value)
12146
      for key, value in self.__dict__.iteritems()]
12147
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12148
 
12149
  def __eq__(self, other):
12150
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12151
 
12152
  def __ne__(self, other):
12153
    return not (self == other)
12154
 
12155
class getItemCountByStatus_result:
12156
  """
12157
  Attributes:
12158
   - success
12159
  """
12160
 
12161
  thrift_spec = (
12162
    (0, TType.I32, 'success', None, None, ), # 0
12163
  )
12164
 
12165
  def __init__(self, success=None,):
12166
    self.success = success
12167
 
12168
  def read(self, iprot):
12169
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12170
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12171
      return
12172
    iprot.readStructBegin()
12173
    while True:
12174
      (fname, ftype, fid) = iprot.readFieldBegin()
12175
      if ftype == TType.STOP:
12176
        break
12177
      if fid == 0:
12178
        if ftype == TType.I32:
12179
          self.success = iprot.readI32();
12180
        else:
12181
          iprot.skip(ftype)
12182
      else:
12183
        iprot.skip(ftype)
12184
      iprot.readFieldEnd()
12185
    iprot.readStructEnd()
12186
 
12187
  def write(self, oprot):
12188
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12189
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12190
      return
12191
    oprot.writeStructBegin('getItemCountByStatus_result')
12192
    if self.success is not None:
12193
      oprot.writeFieldBegin('success', TType.I32, 0)
12194
      oprot.writeI32(self.success)
12195
      oprot.writeFieldEnd()
12196
    oprot.writeFieldStop()
12197
    oprot.writeStructEnd()
12198
 
12199
  def validate(self):
12200
    return
12201
 
12202
 
12203
  def __repr__(self):
12204
    L = ['%s=%r' % (key, value)
12205
      for key, value in self.__dict__.iteritems()]
12206
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12207
 
12208
  def __eq__(self, other):
12209
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12210
 
12211
  def __ne__(self, other):
12212
    return not (self == other)
12213
 
12214
class getBestSellers_args:
12215
 
12216
  thrift_spec = (
12217
  )
12218
 
12219
  def read(self, iprot):
12220
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12221
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12222
      return
12223
    iprot.readStructBegin()
12224
    while True:
12225
      (fname, ftype, fid) = iprot.readFieldBegin()
12226
      if ftype == TType.STOP:
12227
        break
12228
      else:
12229
        iprot.skip(ftype)
12230
      iprot.readFieldEnd()
12231
    iprot.readStructEnd()
12232
 
12233
  def write(self, oprot):
12234
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12235
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12236
      return
12237
    oprot.writeStructBegin('getBestSellers_args')
12238
    oprot.writeFieldStop()
12239
    oprot.writeStructEnd()
12240
 
12241
  def validate(self):
12242
    return
12243
 
12244
 
12245
  def __repr__(self):
12246
    L = ['%s=%r' % (key, value)
12247
      for key, value in self.__dict__.iteritems()]
12248
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12249
 
12250
  def __eq__(self, other):
12251
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12252
 
12253
  def __ne__(self, other):
12254
    return not (self == other)
12255
 
12256
class getBestSellers_result:
12257
  """
12258
  Attributes:
12259
   - success
12260
   - isex
12261
  """
12262
 
12263
  thrift_spec = (
12264
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12265
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12266
  )
12267
 
12268
  def __init__(self, success=None, isex=None,):
12269
    self.success = success
12270
    self.isex = isex
12271
 
12272
  def read(self, iprot):
12273
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12274
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12275
      return
12276
    iprot.readStructBegin()
12277
    while True:
12278
      (fname, ftype, fid) = iprot.readFieldBegin()
12279
      if ftype == TType.STOP:
12280
        break
12281
      if fid == 0:
12282
        if ftype == TType.LIST:
12283
          self.success = []
13493 amit.gupta 12284
          (_etype116, _size113) = iprot.readListBegin()
12285
          for _i117 in xrange(_size113):
12286
            _elem118 = Item()
12287
            _elem118.read(iprot)
12288
            self.success.append(_elem118)
5944 mandeep.dh 12289
          iprot.readListEnd()
12290
        else:
12291
          iprot.skip(ftype)
12292
      elif fid == 1:
12293
        if ftype == TType.STRUCT:
12294
          self.isex = CatalogServiceException()
12295
          self.isex.read(iprot)
12296
        else:
12297
          iprot.skip(ftype)
12298
      else:
12299
        iprot.skip(ftype)
12300
      iprot.readFieldEnd()
12301
    iprot.readStructEnd()
12302
 
12303
  def write(self, oprot):
12304
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12305
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12306
      return
12307
    oprot.writeStructBegin('getBestSellers_result')
12308
    if self.success is not None:
12309
      oprot.writeFieldBegin('success', TType.LIST, 0)
12310
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 12311
      for iter119 in self.success:
12312
        iter119.write(oprot)
5944 mandeep.dh 12313
      oprot.writeListEnd()
12314
      oprot.writeFieldEnd()
12315
    if self.isex is not None:
12316
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
12317
      self.isex.write(oprot)
12318
      oprot.writeFieldEnd()
12319
    oprot.writeFieldStop()
12320
    oprot.writeStructEnd()
12321
 
12322
  def validate(self):
12323
    return
12324
 
12325
 
12326
  def __repr__(self):
12327
    L = ['%s=%r' % (key, value)
12328
      for key, value in self.__dict__.iteritems()]
12329
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12330
 
12331
  def __eq__(self, other):
12332
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12333
 
12334
  def __ne__(self, other):
12335
    return not (self == other)
12336
 
12337
class getBestSellersCatalogIds_args:
12338
  """
12339
  Attributes:
12340
   - beginIndex
12341
   - totalItems
12342
   - brand
12343
   - category
12344
  """
12345
 
12346
  thrift_spec = (
12347
    None, # 0
12348
    (1, TType.I64, 'beginIndex', None, None, ), # 1
12349
    (2, TType.I64, 'totalItems', None, None, ), # 2
12350
    (3, TType.STRING, 'brand', None, None, ), # 3
12351
    (4, TType.I64, 'category', None, None, ), # 4
12352
  )
12353
 
12354
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
12355
    self.beginIndex = beginIndex
12356
    self.totalItems = totalItems
12357
    self.brand = brand
12358
    self.category = category
12359
 
12360
  def read(self, iprot):
12361
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12362
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12363
      return
12364
    iprot.readStructBegin()
12365
    while True:
12366
      (fname, ftype, fid) = iprot.readFieldBegin()
12367
      if ftype == TType.STOP:
12368
        break
12369
      if fid == 1:
12370
        if ftype == TType.I64:
12371
          self.beginIndex = iprot.readI64();
12372
        else:
12373
          iprot.skip(ftype)
12374
      elif fid == 2:
12375
        if ftype == TType.I64:
12376
          self.totalItems = iprot.readI64();
12377
        else:
12378
          iprot.skip(ftype)
12379
      elif fid == 3:
12380
        if ftype == TType.STRING:
12381
          self.brand = iprot.readString();
12382
        else:
12383
          iprot.skip(ftype)
12384
      elif fid == 4:
12385
        if ftype == TType.I64:
12386
          self.category = iprot.readI64();
12387
        else:
12388
          iprot.skip(ftype)
12389
      else:
12390
        iprot.skip(ftype)
12391
      iprot.readFieldEnd()
12392
    iprot.readStructEnd()
12393
 
12394
  def write(self, oprot):
12395
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12396
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12397
      return
12398
    oprot.writeStructBegin('getBestSellersCatalogIds_args')
12399
    if self.beginIndex is not None:
12400
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
12401
      oprot.writeI64(self.beginIndex)
12402
      oprot.writeFieldEnd()
12403
    if self.totalItems is not None:
12404
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
12405
      oprot.writeI64(self.totalItems)
12406
      oprot.writeFieldEnd()
12407
    if self.brand is not None:
12408
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12409
      oprot.writeString(self.brand)
12410
      oprot.writeFieldEnd()
12411
    if self.category is not None:
12412
      oprot.writeFieldBegin('category', TType.I64, 4)
12413
      oprot.writeI64(self.category)
12414
      oprot.writeFieldEnd()
12415
    oprot.writeFieldStop()
12416
    oprot.writeStructEnd()
12417
 
12418
  def validate(self):
12419
    return
12420
 
12421
 
12422
  def __repr__(self):
12423
    L = ['%s=%r' % (key, value)
12424
      for key, value in self.__dict__.iteritems()]
12425
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12426
 
12427
  def __eq__(self, other):
12428
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12429
 
12430
  def __ne__(self, other):
12431
    return not (self == other)
12432
 
12433
class getBestSellersCatalogIds_result:
12434
  """
12435
  Attributes:
12436
   - success
12437
   - cex
12438
  """
12439
 
12440
  thrift_spec = (
12441
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
12442
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12443
  )
12444
 
12445
  def __init__(self, success=None, cex=None,):
12446
    self.success = success
12447
    self.cex = cex
12448
 
12449
  def read(self, iprot):
12450
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12451
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12452
      return
12453
    iprot.readStructBegin()
12454
    while True:
12455
      (fname, ftype, fid) = iprot.readFieldBegin()
12456
      if ftype == TType.STOP:
12457
        break
12458
      if fid == 0:
12459
        if ftype == TType.LIST:
12460
          self.success = []
13493 amit.gupta 12461
          (_etype123, _size120) = iprot.readListBegin()
12462
          for _i124 in xrange(_size120):
12463
            _elem125 = iprot.readI64();
12464
            self.success.append(_elem125)
5944 mandeep.dh 12465
          iprot.readListEnd()
12466
        else:
12467
          iprot.skip(ftype)
12468
      elif fid == 1:
12469
        if ftype == TType.STRUCT:
12470
          self.cex = CatalogServiceException()
12471
          self.cex.read(iprot)
12472
        else:
12473
          iprot.skip(ftype)
12474
      else:
12475
        iprot.skip(ftype)
12476
      iprot.readFieldEnd()
12477
    iprot.readStructEnd()
12478
 
12479
  def write(self, oprot):
12480
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12481
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12482
      return
12483
    oprot.writeStructBegin('getBestSellersCatalogIds_result')
12484
    if self.success is not None:
12485
      oprot.writeFieldBegin('success', TType.LIST, 0)
12486
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 12487
      for iter126 in self.success:
12488
        oprot.writeI64(iter126)
5944 mandeep.dh 12489
      oprot.writeListEnd()
12490
      oprot.writeFieldEnd()
12491
    if self.cex is not None:
12492
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12493
      self.cex.write(oprot)
12494
      oprot.writeFieldEnd()
12495
    oprot.writeFieldStop()
12496
    oprot.writeStructEnd()
12497
 
12498
  def validate(self):
12499
    return
12500
 
12501
 
12502
  def __repr__(self):
12503
    L = ['%s=%r' % (key, value)
12504
      for key, value in self.__dict__.iteritems()]
12505
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12506
 
12507
  def __eq__(self, other):
12508
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12509
 
12510
  def __ne__(self, other):
12511
    return not (self == other)
12512
 
12513
class getBestSellersCount_args:
12514
 
12515
  thrift_spec = (
12516
  )
12517
 
12518
  def read(self, iprot):
12519
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12520
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12521
      return
12522
    iprot.readStructBegin()
12523
    while True:
12524
      (fname, ftype, fid) = iprot.readFieldBegin()
12525
      if ftype == TType.STOP:
12526
        break
12527
      else:
12528
        iprot.skip(ftype)
12529
      iprot.readFieldEnd()
12530
    iprot.readStructEnd()
12531
 
12532
  def write(self, oprot):
12533
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12534
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12535
      return
12536
    oprot.writeStructBegin('getBestSellersCount_args')
12537
    oprot.writeFieldStop()
12538
    oprot.writeStructEnd()
12539
 
12540
  def validate(self):
12541
    return
12542
 
12543
 
12544
  def __repr__(self):
12545
    L = ['%s=%r' % (key, value)
12546
      for key, value in self.__dict__.iteritems()]
12547
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12548
 
12549
  def __eq__(self, other):
12550
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12551
 
12552
  def __ne__(self, other):
12553
    return not (self == other)
12554
 
12555
class getBestSellersCount_result:
12556
  """
12557
  Attributes:
12558
   - success
12559
   - cex
12560
  """
12561
 
12562
  thrift_spec = (
12563
    (0, TType.I64, 'success', None, None, ), # 0
12564
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12565
  )
12566
 
12567
  def __init__(self, success=None, cex=None,):
12568
    self.success = success
12569
    self.cex = cex
12570
 
12571
  def read(self, iprot):
12572
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12573
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12574
      return
12575
    iprot.readStructBegin()
12576
    while True:
12577
      (fname, ftype, fid) = iprot.readFieldBegin()
12578
      if ftype == TType.STOP:
12579
        break
12580
      if fid == 0:
12581
        if ftype == TType.I64:
12582
          self.success = iprot.readI64();
12583
        else:
12584
          iprot.skip(ftype)
12585
      elif fid == 1:
12586
        if ftype == TType.STRUCT:
12587
          self.cex = CatalogServiceException()
12588
          self.cex.read(iprot)
12589
        else:
12590
          iprot.skip(ftype)
12591
      else:
12592
        iprot.skip(ftype)
12593
      iprot.readFieldEnd()
12594
    iprot.readStructEnd()
12595
 
12596
  def write(self, oprot):
12597
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12598
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12599
      return
12600
    oprot.writeStructBegin('getBestSellersCount_result')
12601
    if self.success is not None:
12602
      oprot.writeFieldBegin('success', TType.I64, 0)
12603
      oprot.writeI64(self.success)
12604
      oprot.writeFieldEnd()
12605
    if self.cex is not None:
12606
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12607
      self.cex.write(oprot)
12608
      oprot.writeFieldEnd()
12609
    oprot.writeFieldStop()
12610
    oprot.writeStructEnd()
12611
 
12612
  def validate(self):
12613
    return
12614
 
12615
 
12616
  def __repr__(self):
12617
    L = ['%s=%r' % (key, value)
12618
      for key, value in self.__dict__.iteritems()]
12619
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12620
 
12621
  def __eq__(self, other):
12622
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12623
 
12624
  def __ne__(self, other):
12625
    return not (self == other)
12626
 
12627
class getBestDeals_args:
12628
 
12629
  thrift_spec = (
12630
  )
12631
 
12632
  def read(self, iprot):
12633
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12634
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12635
      return
12636
    iprot.readStructBegin()
12637
    while True:
12638
      (fname, ftype, fid) = iprot.readFieldBegin()
12639
      if ftype == TType.STOP:
12640
        break
12641
      else:
12642
        iprot.skip(ftype)
12643
      iprot.readFieldEnd()
12644
    iprot.readStructEnd()
12645
 
12646
  def write(self, oprot):
12647
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12648
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12649
      return
12650
    oprot.writeStructBegin('getBestDeals_args')
12651
    oprot.writeFieldStop()
12652
    oprot.writeStructEnd()
12653
 
12654
  def validate(self):
12655
    return
12656
 
12657
 
12658
  def __repr__(self):
12659
    L = ['%s=%r' % (key, value)
12660
      for key, value in self.__dict__.iteritems()]
12661
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12662
 
12663
  def __eq__(self, other):
12664
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12665
 
12666
  def __ne__(self, other):
12667
    return not (self == other)
12668
 
12669
class getBestDeals_result:
12670
  """
12671
  Attributes:
12672
   - success
12673
   - isex
12674
  """
12675
 
12676
  thrift_spec = (
12677
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12678
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12679
  )
12680
 
12681
  def __init__(self, success=None, isex=None,):
12682
    self.success = success
12683
    self.isex = isex
12684
 
12685
  def read(self, iprot):
12686
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12687
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12688
      return
12689
    iprot.readStructBegin()
12690
    while True:
12691
      (fname, ftype, fid) = iprot.readFieldBegin()
12692
      if ftype == TType.STOP:
12693
        break
12694
      if fid == 0:
12695
        if ftype == TType.LIST:
12696
          self.success = []
13493 amit.gupta 12697
          (_etype130, _size127) = iprot.readListBegin()
12698
          for _i131 in xrange(_size127):
12699
            _elem132 = Item()
12700
            _elem132.read(iprot)
12701
            self.success.append(_elem132)
5944 mandeep.dh 12702
          iprot.readListEnd()
12703
        else:
12704
          iprot.skip(ftype)
12705
      elif fid == 1:
12706
        if ftype == TType.STRUCT:
12707
          self.isex = CatalogServiceException()
12708
          self.isex.read(iprot)
12709
        else:
12710
          iprot.skip(ftype)
12711
      else:
12712
        iprot.skip(ftype)
12713
      iprot.readFieldEnd()
12714
    iprot.readStructEnd()
12715
 
12716
  def write(self, oprot):
12717
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12718
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12719
      return
12720
    oprot.writeStructBegin('getBestDeals_result')
12721
    if self.success is not None:
12722
      oprot.writeFieldBegin('success', TType.LIST, 0)
12723
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 12724
      for iter133 in self.success:
12725
        iter133.write(oprot)
5944 mandeep.dh 12726
      oprot.writeListEnd()
12727
      oprot.writeFieldEnd()
12728
    if self.isex is not None:
12729
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
12730
      self.isex.write(oprot)
12731
      oprot.writeFieldEnd()
12732
    oprot.writeFieldStop()
12733
    oprot.writeStructEnd()
12734
 
12735
  def validate(self):
12736
    return
12737
 
12738
 
12739
  def __repr__(self):
12740
    L = ['%s=%r' % (key, value)
12741
      for key, value in self.__dict__.iteritems()]
12742
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12743
 
12744
  def __eq__(self, other):
12745
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12746
 
12747
  def __ne__(self, other):
12748
    return not (self == other)
12749
 
12750
class getBestDealsCatalogIds_args:
12751
  """
12752
  Attributes:
12753
   - beginIndex
12754
   - totalItems
12755
   - brand
12756
   - category
12757
  """
12758
 
12759
  thrift_spec = (
12760
    None, # 0
12761
    (1, TType.I64, 'beginIndex', None, None, ), # 1
12762
    (2, TType.I64, 'totalItems', None, None, ), # 2
12763
    (3, TType.STRING, 'brand', None, None, ), # 3
12764
    (4, TType.I64, 'category', None, None, ), # 4
12765
  )
12766
 
12767
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
12768
    self.beginIndex = beginIndex
12769
    self.totalItems = totalItems
12770
    self.brand = brand
12771
    self.category = category
12772
 
12773
  def read(self, iprot):
12774
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12775
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12776
      return
12777
    iprot.readStructBegin()
12778
    while True:
12779
      (fname, ftype, fid) = iprot.readFieldBegin()
12780
      if ftype == TType.STOP:
12781
        break
12782
      if fid == 1:
12783
        if ftype == TType.I64:
12784
          self.beginIndex = iprot.readI64();
12785
        else:
12786
          iprot.skip(ftype)
12787
      elif fid == 2:
12788
        if ftype == TType.I64:
12789
          self.totalItems = iprot.readI64();
12790
        else:
12791
          iprot.skip(ftype)
12792
      elif fid == 3:
12793
        if ftype == TType.STRING:
12794
          self.brand = iprot.readString();
12795
        else:
12796
          iprot.skip(ftype)
12797
      elif fid == 4:
12798
        if ftype == TType.I64:
12799
          self.category = iprot.readI64();
12800
        else:
12801
          iprot.skip(ftype)
12802
      else:
12803
        iprot.skip(ftype)
12804
      iprot.readFieldEnd()
12805
    iprot.readStructEnd()
12806
 
12807
  def write(self, oprot):
12808
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12809
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12810
      return
12811
    oprot.writeStructBegin('getBestDealsCatalogIds_args')
12812
    if self.beginIndex is not None:
12813
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
12814
      oprot.writeI64(self.beginIndex)
12815
      oprot.writeFieldEnd()
12816
    if self.totalItems is not None:
12817
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
12818
      oprot.writeI64(self.totalItems)
12819
      oprot.writeFieldEnd()
12820
    if self.brand is not None:
12821
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12822
      oprot.writeString(self.brand)
12823
      oprot.writeFieldEnd()
12824
    if self.category is not None:
12825
      oprot.writeFieldBegin('category', TType.I64, 4)
12826
      oprot.writeI64(self.category)
12827
      oprot.writeFieldEnd()
12828
    oprot.writeFieldStop()
12829
    oprot.writeStructEnd()
12830
 
12831
  def validate(self):
12832
    return
12833
 
12834
 
12835
  def __repr__(self):
12836
    L = ['%s=%r' % (key, value)
12837
      for key, value in self.__dict__.iteritems()]
12838
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12839
 
12840
  def __eq__(self, other):
12841
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12842
 
12843
  def __ne__(self, other):
12844
    return not (self == other)
12845
 
12846
class getBestDealsCatalogIds_result:
12847
  """
12848
  Attributes:
12849
   - success
12850
   - cex
12851
  """
12852
 
12853
  thrift_spec = (
12854
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
12855
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12856
  )
12857
 
12858
  def __init__(self, success=None, cex=None,):
12859
    self.success = success
12860
    self.cex = cex
12861
 
12862
  def read(self, iprot):
12863
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12864
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12865
      return
12866
    iprot.readStructBegin()
12867
    while True:
12868
      (fname, ftype, fid) = iprot.readFieldBegin()
12869
      if ftype == TType.STOP:
12870
        break
12871
      if fid == 0:
12872
        if ftype == TType.LIST:
12873
          self.success = []
13493 amit.gupta 12874
          (_etype137, _size134) = iprot.readListBegin()
12875
          for _i138 in xrange(_size134):
12876
            _elem139 = iprot.readI64();
12877
            self.success.append(_elem139)
5944 mandeep.dh 12878
          iprot.readListEnd()
12879
        else:
12880
          iprot.skip(ftype)
12881
      elif fid == 1:
12882
        if ftype == TType.STRUCT:
12883
          self.cex = CatalogServiceException()
12884
          self.cex.read(iprot)
12885
        else:
12886
          iprot.skip(ftype)
12887
      else:
12888
        iprot.skip(ftype)
12889
      iprot.readFieldEnd()
12890
    iprot.readStructEnd()
12891
 
12892
  def write(self, oprot):
12893
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12894
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12895
      return
12896
    oprot.writeStructBegin('getBestDealsCatalogIds_result')
12897
    if self.success is not None:
12898
      oprot.writeFieldBegin('success', TType.LIST, 0)
12899
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 12900
      for iter140 in self.success:
12901
        oprot.writeI64(iter140)
5944 mandeep.dh 12902
      oprot.writeListEnd()
12903
      oprot.writeFieldEnd()
12904
    if self.cex is not None:
12905
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12906
      self.cex.write(oprot)
12907
      oprot.writeFieldEnd()
12908
    oprot.writeFieldStop()
12909
    oprot.writeStructEnd()
12910
 
12911
  def validate(self):
12912
    return
12913
 
12914
 
12915
  def __repr__(self):
12916
    L = ['%s=%r' % (key, value)
12917
      for key, value in self.__dict__.iteritems()]
12918
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12919
 
12920
  def __eq__(self, other):
12921
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12922
 
12923
  def __ne__(self, other):
12924
    return not (self == other)
12925
 
12926
class getBestDealsCount_args:
12927
 
12928
  thrift_spec = (
12929
  )
12930
 
12931
  def read(self, iprot):
12932
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12933
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12934
      return
12935
    iprot.readStructBegin()
12936
    while True:
12937
      (fname, ftype, fid) = iprot.readFieldBegin()
12938
      if ftype == TType.STOP:
12939
        break
12940
      else:
12941
        iprot.skip(ftype)
12942
      iprot.readFieldEnd()
12943
    iprot.readStructEnd()
12944
 
12945
  def write(self, oprot):
12946
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12947
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12948
      return
12949
    oprot.writeStructBegin('getBestDealsCount_args')
12950
    oprot.writeFieldStop()
12951
    oprot.writeStructEnd()
12952
 
12953
  def validate(self):
12954
    return
12955
 
12956
 
12957
  def __repr__(self):
12958
    L = ['%s=%r' % (key, value)
12959
      for key, value in self.__dict__.iteritems()]
12960
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12961
 
12962
  def __eq__(self, other):
12963
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12964
 
12965
  def __ne__(self, other):
12966
    return not (self == other)
12967
 
12968
class getBestDealsCount_result:
12969
  """
12970
  Attributes:
12971
   - success
12972
   - cex
12973
  """
12974
 
12975
  thrift_spec = (
12976
    (0, TType.I64, 'success', None, None, ), # 0
12977
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12978
  )
12979
 
12980
  def __init__(self, success=None, cex=None,):
12981
    self.success = success
12982
    self.cex = cex
12983
 
12984
  def read(self, iprot):
12985
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12986
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12987
      return
12988
    iprot.readStructBegin()
12989
    while True:
12990
      (fname, ftype, fid) = iprot.readFieldBegin()
12991
      if ftype == TType.STOP:
12992
        break
12993
      if fid == 0:
12994
        if ftype == TType.I64:
12995
          self.success = iprot.readI64();
12996
        else:
12997
          iprot.skip(ftype)
12998
      elif fid == 1:
12999
        if ftype == TType.STRUCT:
13000
          self.cex = CatalogServiceException()
13001
          self.cex.read(iprot)
13002
        else:
13003
          iprot.skip(ftype)
13004
      else:
13005
        iprot.skip(ftype)
13006
      iprot.readFieldEnd()
13007
    iprot.readStructEnd()
13008
 
13009
  def write(self, oprot):
13010
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13011
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13012
      return
13013
    oprot.writeStructBegin('getBestDealsCount_result')
13014
    if self.success is not None:
13015
      oprot.writeFieldBegin('success', TType.I64, 0)
13016
      oprot.writeI64(self.success)
13017
      oprot.writeFieldEnd()
13018
    if self.cex is not None:
13019
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13020
      self.cex.write(oprot)
13021
      oprot.writeFieldEnd()
13022
    oprot.writeFieldStop()
13023
    oprot.writeStructEnd()
13024
 
13025
  def validate(self):
13026
    return
13027
 
13028
 
13029
  def __repr__(self):
13030
    L = ['%s=%r' % (key, value)
13031
      for key, value in self.__dict__.iteritems()]
13032
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13033
 
13034
  def __eq__(self, other):
13035
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13036
 
13037
  def __ne__(self, other):
13038
    return not (self == other)
13039
 
13040
class getComingSoon_args:
13041
 
13042
  thrift_spec = (
13043
  )
13044
 
13045
  def read(self, iprot):
13046
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13047
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13048
      return
13049
    iprot.readStructBegin()
13050
    while True:
13051
      (fname, ftype, fid) = iprot.readFieldBegin()
13052
      if ftype == TType.STOP:
13053
        break
13054
      else:
13055
        iprot.skip(ftype)
13056
      iprot.readFieldEnd()
13057
    iprot.readStructEnd()
13058
 
13059
  def write(self, oprot):
13060
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13061
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13062
      return
13063
    oprot.writeStructBegin('getComingSoon_args')
13064
    oprot.writeFieldStop()
13065
    oprot.writeStructEnd()
13066
 
13067
  def validate(self):
13068
    return
13069
 
13070
 
13071
  def __repr__(self):
13072
    L = ['%s=%r' % (key, value)
13073
      for key, value in self.__dict__.iteritems()]
13074
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13075
 
13076
  def __eq__(self, other):
13077
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13078
 
13079
  def __ne__(self, other):
13080
    return not (self == other)
13081
 
13082
class getComingSoon_result:
13083
  """
13084
  Attributes:
13085
   - success
13086
   - isex
13087
  """
13088
 
13089
  thrift_spec = (
13090
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13091
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13092
  )
13093
 
13094
  def __init__(self, success=None, isex=None,):
13095
    self.success = success
13096
    self.isex = isex
13097
 
13098
  def read(self, iprot):
13099
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13100
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13101
      return
13102
    iprot.readStructBegin()
13103
    while True:
13104
      (fname, ftype, fid) = iprot.readFieldBegin()
13105
      if ftype == TType.STOP:
13106
        break
13107
      if fid == 0:
13108
        if ftype == TType.LIST:
13109
          self.success = []
13493 amit.gupta 13110
          (_etype144, _size141) = iprot.readListBegin()
13111
          for _i145 in xrange(_size141):
13112
            _elem146 = Item()
13113
            _elem146.read(iprot)
13114
            self.success.append(_elem146)
5944 mandeep.dh 13115
          iprot.readListEnd()
13116
        else:
13117
          iprot.skip(ftype)
13118
      elif fid == 1:
13119
        if ftype == TType.STRUCT:
13120
          self.isex = CatalogServiceException()
13121
          self.isex.read(iprot)
13122
        else:
13123
          iprot.skip(ftype)
13124
      else:
13125
        iprot.skip(ftype)
13126
      iprot.readFieldEnd()
13127
    iprot.readStructEnd()
13128
 
13129
  def write(self, oprot):
13130
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13131
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13132
      return
13133
    oprot.writeStructBegin('getComingSoon_result')
13134
    if self.success is not None:
13135
      oprot.writeFieldBegin('success', TType.LIST, 0)
13136
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 13137
      for iter147 in self.success:
13138
        iter147.write(oprot)
5944 mandeep.dh 13139
      oprot.writeListEnd()
13140
      oprot.writeFieldEnd()
13141
    if self.isex is not None:
13142
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13143
      self.isex.write(oprot)
13144
      oprot.writeFieldEnd()
13145
    oprot.writeFieldStop()
13146
    oprot.writeStructEnd()
13147
 
13148
  def validate(self):
13149
    return
13150
 
13151
 
13152
  def __repr__(self):
13153
    L = ['%s=%r' % (key, value)
13154
      for key, value in self.__dict__.iteritems()]
13155
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13156
 
13157
  def __eq__(self, other):
13158
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13159
 
13160
  def __ne__(self, other):
13161
    return not (self == other)
13162
 
13163
class getComingSoonCatalogIds_args:
13164
  """
13165
  Attributes:
13166
   - beginIndex
13167
   - totalItems
13168
   - brand
13169
   - category
13170
  """
13171
 
13172
  thrift_spec = (
13173
    None, # 0
13174
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13175
    (2, TType.I64, 'totalItems', None, None, ), # 2
13176
    (3, TType.STRING, 'brand', None, None, ), # 3
13177
    (4, TType.I64, 'category', None, None, ), # 4
13178
  )
13179
 
13180
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
13181
    self.beginIndex = beginIndex
13182
    self.totalItems = totalItems
13183
    self.brand = brand
13184
    self.category = category
13185
 
13186
  def read(self, iprot):
13187
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13188
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13189
      return
13190
    iprot.readStructBegin()
13191
    while True:
13192
      (fname, ftype, fid) = iprot.readFieldBegin()
13193
      if ftype == TType.STOP:
13194
        break
13195
      if fid == 1:
13196
        if ftype == TType.I64:
13197
          self.beginIndex = iprot.readI64();
13198
        else:
13199
          iprot.skip(ftype)
13200
      elif fid == 2:
13201
        if ftype == TType.I64:
13202
          self.totalItems = iprot.readI64();
13203
        else:
13204
          iprot.skip(ftype)
13205
      elif fid == 3:
13206
        if ftype == TType.STRING:
13207
          self.brand = iprot.readString();
13208
        else:
13209
          iprot.skip(ftype)
13210
      elif fid == 4:
13211
        if ftype == TType.I64:
13212
          self.category = iprot.readI64();
13213
        else:
13214
          iprot.skip(ftype)
13215
      else:
13216
        iprot.skip(ftype)
13217
      iprot.readFieldEnd()
13218
    iprot.readStructEnd()
13219
 
13220
  def write(self, oprot):
13221
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13222
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13223
      return
13224
    oprot.writeStructBegin('getComingSoonCatalogIds_args')
13225
    if self.beginIndex is not None:
13226
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13227
      oprot.writeI64(self.beginIndex)
13228
      oprot.writeFieldEnd()
13229
    if self.totalItems is not None:
13230
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13231
      oprot.writeI64(self.totalItems)
13232
      oprot.writeFieldEnd()
13233
    if self.brand is not None:
13234
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13235
      oprot.writeString(self.brand)
13236
      oprot.writeFieldEnd()
13237
    if self.category is not None:
13238
      oprot.writeFieldBegin('category', TType.I64, 4)
13239
      oprot.writeI64(self.category)
13240
      oprot.writeFieldEnd()
13241
    oprot.writeFieldStop()
13242
    oprot.writeStructEnd()
13243
 
13244
  def validate(self):
13245
    return
13246
 
13247
 
13248
  def __repr__(self):
13249
    L = ['%s=%r' % (key, value)
13250
      for key, value in self.__dict__.iteritems()]
13251
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13252
 
13253
  def __eq__(self, other):
13254
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13255
 
13256
  def __ne__(self, other):
13257
    return not (self == other)
13258
 
13259
class getComingSoonCatalogIds_result:
13260
  """
13261
  Attributes:
13262
   - success
13263
   - cex
13264
  """
13265
 
13266
  thrift_spec = (
13267
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
13268
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13269
  )
13270
 
13271
  def __init__(self, success=None, cex=None,):
13272
    self.success = success
13273
    self.cex = cex
13274
 
13275
  def read(self, iprot):
13276
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13277
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13278
      return
13279
    iprot.readStructBegin()
13280
    while True:
13281
      (fname, ftype, fid) = iprot.readFieldBegin()
13282
      if ftype == TType.STOP:
13283
        break
13284
      if fid == 0:
13285
        if ftype == TType.LIST:
13286
          self.success = []
13493 amit.gupta 13287
          (_etype151, _size148) = iprot.readListBegin()
13288
          for _i152 in xrange(_size148):
13289
            _elem153 = iprot.readI64();
13290
            self.success.append(_elem153)
5944 mandeep.dh 13291
          iprot.readListEnd()
13292
        else:
13293
          iprot.skip(ftype)
13294
      elif fid == 1:
13295
        if ftype == TType.STRUCT:
13296
          self.cex = CatalogServiceException()
13297
          self.cex.read(iprot)
13298
        else:
13299
          iprot.skip(ftype)
13300
      else:
13301
        iprot.skip(ftype)
13302
      iprot.readFieldEnd()
13303
    iprot.readStructEnd()
13304
 
13305
  def write(self, oprot):
13306
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13307
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13308
      return
13309
    oprot.writeStructBegin('getComingSoonCatalogIds_result')
13310
    if self.success is not None:
13311
      oprot.writeFieldBegin('success', TType.LIST, 0)
13312
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 13313
      for iter154 in self.success:
13314
        oprot.writeI64(iter154)
5944 mandeep.dh 13315
      oprot.writeListEnd()
13316
      oprot.writeFieldEnd()
13317
    if self.cex is not None:
13318
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13319
      self.cex.write(oprot)
13320
      oprot.writeFieldEnd()
13321
    oprot.writeFieldStop()
13322
    oprot.writeStructEnd()
13323
 
13324
  def validate(self):
13325
    return
13326
 
13327
 
13328
  def __repr__(self):
13329
    L = ['%s=%r' % (key, value)
13330
      for key, value in self.__dict__.iteritems()]
13331
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13332
 
13333
  def __eq__(self, other):
13334
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13335
 
13336
  def __ne__(self, other):
13337
    return not (self == other)
13338
 
13339
class getComingSoonCount_args:
13340
 
13341
  thrift_spec = (
13342
  )
13343
 
13344
  def read(self, iprot):
13345
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13346
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13347
      return
13348
    iprot.readStructBegin()
13349
    while True:
13350
      (fname, ftype, fid) = iprot.readFieldBegin()
13351
      if ftype == TType.STOP:
13352
        break
13353
      else:
13354
        iprot.skip(ftype)
13355
      iprot.readFieldEnd()
13356
    iprot.readStructEnd()
13357
 
13358
  def write(self, oprot):
13359
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13360
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13361
      return
13362
    oprot.writeStructBegin('getComingSoonCount_args')
13363
    oprot.writeFieldStop()
13364
    oprot.writeStructEnd()
13365
 
13366
  def validate(self):
13367
    return
13368
 
13369
 
13370
  def __repr__(self):
13371
    L = ['%s=%r' % (key, value)
13372
      for key, value in self.__dict__.iteritems()]
13373
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13374
 
13375
  def __eq__(self, other):
13376
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13377
 
13378
  def __ne__(self, other):
13379
    return not (self == other)
13380
 
13381
class getComingSoonCount_result:
13382
  """
13383
  Attributes:
13384
   - success
13385
   - cex
13386
  """
13387
 
13388
  thrift_spec = (
13389
    (0, TType.I64, 'success', None, None, ), # 0
13390
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13391
  )
13392
 
13393
  def __init__(self, success=None, cex=None,):
13394
    self.success = success
13395
    self.cex = cex
13396
 
13397
  def read(self, iprot):
13398
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13399
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13400
      return
13401
    iprot.readStructBegin()
13402
    while True:
13403
      (fname, ftype, fid) = iprot.readFieldBegin()
13404
      if ftype == TType.STOP:
13405
        break
13406
      if fid == 0:
13407
        if ftype == TType.I64:
13408
          self.success = iprot.readI64();
13409
        else:
13410
          iprot.skip(ftype)
13411
      elif fid == 1:
13412
        if ftype == TType.STRUCT:
13413
          self.cex = CatalogServiceException()
13414
          self.cex.read(iprot)
13415
        else:
13416
          iprot.skip(ftype)
13417
      else:
13418
        iprot.skip(ftype)
13419
      iprot.readFieldEnd()
13420
    iprot.readStructEnd()
13421
 
13422
  def write(self, oprot):
13423
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13424
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13425
      return
13426
    oprot.writeStructBegin('getComingSoonCount_result')
13427
    if self.success is not None:
13428
      oprot.writeFieldBegin('success', TType.I64, 0)
13429
      oprot.writeI64(self.success)
13430
      oprot.writeFieldEnd()
13431
    if self.cex is not None:
13432
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13433
      self.cex.write(oprot)
13434
      oprot.writeFieldEnd()
13435
    oprot.writeFieldStop()
13436
    oprot.writeStructEnd()
13437
 
13438
  def validate(self):
13439
    return
13440
 
13441
 
13442
  def __repr__(self):
13443
    L = ['%s=%r' % (key, value)
13444
      for key, value in self.__dict__.iteritems()]
13445
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13446
 
13447
  def __eq__(self, other):
13448
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13449
 
13450
  def __ne__(self, other):
13451
    return not (self == other)
13452
 
13453
class getLatestArrivals_args:
13454
 
13455
  thrift_spec = (
13456
  )
13457
 
13458
  def read(self, iprot):
13459
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13460
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13461
      return
13462
    iprot.readStructBegin()
13463
    while True:
13464
      (fname, ftype, fid) = iprot.readFieldBegin()
13465
      if ftype == TType.STOP:
13466
        break
13467
      else:
13468
        iprot.skip(ftype)
13469
      iprot.readFieldEnd()
13470
    iprot.readStructEnd()
13471
 
13472
  def write(self, oprot):
13473
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13474
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13475
      return
13476
    oprot.writeStructBegin('getLatestArrivals_args')
13477
    oprot.writeFieldStop()
13478
    oprot.writeStructEnd()
13479
 
13480
  def validate(self):
13481
    return
13482
 
13483
 
13484
  def __repr__(self):
13485
    L = ['%s=%r' % (key, value)
13486
      for key, value in self.__dict__.iteritems()]
13487
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13488
 
13489
  def __eq__(self, other):
13490
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13491
 
13492
  def __ne__(self, other):
13493
    return not (self == other)
13494
 
13495
class getLatestArrivals_result:
13496
  """
13497
  Attributes:
13498
   - success
13499
   - isex
13500
  """
13501
 
13502
  thrift_spec = (
13503
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13504
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13505
  )
13506
 
13507
  def __init__(self, success=None, isex=None,):
13508
    self.success = success
13509
    self.isex = isex
13510
 
13511
  def read(self, iprot):
13512
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13513
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13514
      return
13515
    iprot.readStructBegin()
13516
    while True:
13517
      (fname, ftype, fid) = iprot.readFieldBegin()
13518
      if ftype == TType.STOP:
13519
        break
13520
      if fid == 0:
13521
        if ftype == TType.LIST:
13522
          self.success = []
13493 amit.gupta 13523
          (_etype158, _size155) = iprot.readListBegin()
13524
          for _i159 in xrange(_size155):
13525
            _elem160 = Item()
13526
            _elem160.read(iprot)
13527
            self.success.append(_elem160)
5944 mandeep.dh 13528
          iprot.readListEnd()
13529
        else:
13530
          iprot.skip(ftype)
13531
      elif fid == 1:
13532
        if ftype == TType.STRUCT:
13533
          self.isex = CatalogServiceException()
13534
          self.isex.read(iprot)
13535
        else:
13536
          iprot.skip(ftype)
13537
      else:
13538
        iprot.skip(ftype)
13539
      iprot.readFieldEnd()
13540
    iprot.readStructEnd()
13541
 
13542
  def write(self, oprot):
13543
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13544
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13545
      return
13546
    oprot.writeStructBegin('getLatestArrivals_result')
13547
    if self.success is not None:
13548
      oprot.writeFieldBegin('success', TType.LIST, 0)
13549
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 13550
      for iter161 in self.success:
13551
        iter161.write(oprot)
5944 mandeep.dh 13552
      oprot.writeListEnd()
13553
      oprot.writeFieldEnd()
13554
    if self.isex is not None:
13555
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13556
      self.isex.write(oprot)
13557
      oprot.writeFieldEnd()
13558
    oprot.writeFieldStop()
13559
    oprot.writeStructEnd()
13560
 
13561
  def validate(self):
13562
    return
13563
 
13564
 
13565
  def __repr__(self):
13566
    L = ['%s=%r' % (key, value)
13567
      for key, value in self.__dict__.iteritems()]
13568
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13569
 
13570
  def __eq__(self, other):
13571
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13572
 
13573
  def __ne__(self, other):
13574
    return not (self == other)
13575
 
13576
class getLatestArrivalsCatalogIds_args:
13577
  """
13578
  Attributes:
13579
   - beginIndex
13580
   - totalItems
13581
   - brand
13582
   - categories
13583
  """
13584
 
13585
  thrift_spec = (
13586
    None, # 0
13587
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13588
    (2, TType.I64, 'totalItems', None, None, ), # 2
13589
    (3, TType.STRING, 'brand', None, None, ), # 3
13590
    (4, TType.LIST, 'categories', (TType.I64,None), None, ), # 4
13591
  )
13592
 
13593
  def __init__(self, beginIndex=None, totalItems=None, brand=None, categories=None,):
13594
    self.beginIndex = beginIndex
13595
    self.totalItems = totalItems
13596
    self.brand = brand
13597
    self.categories = categories
13598
 
13599
  def read(self, iprot):
13600
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13601
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13602
      return
13603
    iprot.readStructBegin()
13604
    while True:
13605
      (fname, ftype, fid) = iprot.readFieldBegin()
13606
      if ftype == TType.STOP:
13607
        break
13608
      if fid == 1:
13609
        if ftype == TType.I64:
13610
          self.beginIndex = iprot.readI64();
13611
        else:
13612
          iprot.skip(ftype)
13613
      elif fid == 2:
13614
        if ftype == TType.I64:
13615
          self.totalItems = iprot.readI64();
13616
        else:
13617
          iprot.skip(ftype)
13618
      elif fid == 3:
13619
        if ftype == TType.STRING:
13620
          self.brand = iprot.readString();
13621
        else:
13622
          iprot.skip(ftype)
13623
      elif fid == 4:
13624
        if ftype == TType.LIST:
13625
          self.categories = []
13493 amit.gupta 13626
          (_etype165, _size162) = iprot.readListBegin()
13627
          for _i166 in xrange(_size162):
13628
            _elem167 = iprot.readI64();
13629
            self.categories.append(_elem167)
5944 mandeep.dh 13630
          iprot.readListEnd()
13631
        else:
13632
          iprot.skip(ftype)
13633
      else:
13634
        iprot.skip(ftype)
13635
      iprot.readFieldEnd()
13636
    iprot.readStructEnd()
13637
 
13638
  def write(self, oprot):
13639
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13640
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13641
      return
13642
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_args')
13643
    if self.beginIndex is not None:
13644
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13645
      oprot.writeI64(self.beginIndex)
13646
      oprot.writeFieldEnd()
13647
    if self.totalItems is not None:
13648
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13649
      oprot.writeI64(self.totalItems)
13650
      oprot.writeFieldEnd()
13651
    if self.brand is not None:
13652
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13653
      oprot.writeString(self.brand)
13654
      oprot.writeFieldEnd()
13655
    if self.categories is not None:
13656
      oprot.writeFieldBegin('categories', TType.LIST, 4)
13657
      oprot.writeListBegin(TType.I64, len(self.categories))
13493 amit.gupta 13658
      for iter168 in self.categories:
13659
        oprot.writeI64(iter168)
5944 mandeep.dh 13660
      oprot.writeListEnd()
13661
      oprot.writeFieldEnd()
13662
    oprot.writeFieldStop()
13663
    oprot.writeStructEnd()
13664
 
13665
  def validate(self):
13666
    return
13667
 
13668
 
13669
  def __repr__(self):
13670
    L = ['%s=%r' % (key, value)
13671
      for key, value in self.__dict__.iteritems()]
13672
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13673
 
13674
  def __eq__(self, other):
13675
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13676
 
13677
  def __ne__(self, other):
13678
    return not (self == other)
13679
 
13680
class getLatestArrivalsCatalogIds_result:
13681
  """
13682
  Attributes:
13683
   - success
13684
   - cex
13685
  """
13686
 
13687
  thrift_spec = (
13688
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
13689
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13690
  )
13691
 
13692
  def __init__(self, success=None, cex=None,):
13693
    self.success = success
13694
    self.cex = cex
13695
 
13696
  def read(self, iprot):
13697
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13698
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13699
      return
13700
    iprot.readStructBegin()
13701
    while True:
13702
      (fname, ftype, fid) = iprot.readFieldBegin()
13703
      if ftype == TType.STOP:
13704
        break
13705
      if fid == 0:
13706
        if ftype == TType.LIST:
13707
          self.success = []
13493 amit.gupta 13708
          (_etype172, _size169) = iprot.readListBegin()
13709
          for _i173 in xrange(_size169):
13710
            _elem174 = iprot.readI64();
13711
            self.success.append(_elem174)
5944 mandeep.dh 13712
          iprot.readListEnd()
13713
        else:
13714
          iprot.skip(ftype)
13715
      elif fid == 1:
13716
        if ftype == TType.STRUCT:
13717
          self.cex = CatalogServiceException()
13718
          self.cex.read(iprot)
13719
        else:
13720
          iprot.skip(ftype)
13721
      else:
13722
        iprot.skip(ftype)
13723
      iprot.readFieldEnd()
13724
    iprot.readStructEnd()
13725
 
13726
  def write(self, oprot):
13727
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13728
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13729
      return
13730
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_result')
13731
    if self.success is not None:
13732
      oprot.writeFieldBegin('success', TType.LIST, 0)
13733
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 13734
      for iter175 in self.success:
13735
        oprot.writeI64(iter175)
5944 mandeep.dh 13736
      oprot.writeListEnd()
13737
      oprot.writeFieldEnd()
13738
    if self.cex is not None:
13739
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13740
      self.cex.write(oprot)
13741
      oprot.writeFieldEnd()
13742
    oprot.writeFieldStop()
13743
    oprot.writeStructEnd()
13744
 
13745
  def validate(self):
13746
    return
13747
 
13748
 
13749
  def __repr__(self):
13750
    L = ['%s=%r' % (key, value)
13751
      for key, value in self.__dict__.iteritems()]
13752
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13753
 
13754
  def __eq__(self, other):
13755
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13756
 
13757
  def __ne__(self, other):
13758
    return not (self == other)
13759
 
13760
class getLatestArrivalsCount_args:
13761
 
13762
  thrift_spec = (
13763
  )
13764
 
13765
  def read(self, iprot):
13766
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13767
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13768
      return
13769
    iprot.readStructBegin()
13770
    while True:
13771
      (fname, ftype, fid) = iprot.readFieldBegin()
13772
      if ftype == TType.STOP:
13773
        break
13774
      else:
13775
        iprot.skip(ftype)
13776
      iprot.readFieldEnd()
13777
    iprot.readStructEnd()
13778
 
13779
  def write(self, oprot):
13780
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13781
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13782
      return
13783
    oprot.writeStructBegin('getLatestArrivalsCount_args')
13784
    oprot.writeFieldStop()
13785
    oprot.writeStructEnd()
13786
 
13787
  def validate(self):
13788
    return
13789
 
13790
 
13791
  def __repr__(self):
13792
    L = ['%s=%r' % (key, value)
13793
      for key, value in self.__dict__.iteritems()]
13794
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13795
 
13796
  def __eq__(self, other):
13797
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13798
 
13799
  def __ne__(self, other):
13800
    return not (self == other)
13801
 
13802
class getLatestArrivalsCount_result:
13803
  """
13804
  Attributes:
13805
   - success
13806
   - cex
13807
  """
13808
 
13809
  thrift_spec = (
13810
    (0, TType.I64, 'success', None, None, ), # 0
13811
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13812
  )
13813
 
13814
  def __init__(self, success=None, cex=None,):
13815
    self.success = success
13816
    self.cex = cex
13817
 
13818
  def read(self, iprot):
13819
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13820
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13821
      return
13822
    iprot.readStructBegin()
13823
    while True:
13824
      (fname, ftype, fid) = iprot.readFieldBegin()
13825
      if ftype == TType.STOP:
13826
        break
13827
      if fid == 0:
13828
        if ftype == TType.I64:
13829
          self.success = iprot.readI64();
13830
        else:
13831
          iprot.skip(ftype)
13832
      elif fid == 1:
13833
        if ftype == TType.STRUCT:
13834
          self.cex = CatalogServiceException()
13835
          self.cex.read(iprot)
13836
        else:
13837
          iprot.skip(ftype)
13838
      else:
13839
        iprot.skip(ftype)
13840
      iprot.readFieldEnd()
13841
    iprot.readStructEnd()
13842
 
13843
  def write(self, oprot):
13844
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13845
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13846
      return
13847
    oprot.writeStructBegin('getLatestArrivalsCount_result')
13848
    if self.success is not None:
13849
      oprot.writeFieldBegin('success', TType.I64, 0)
13850
      oprot.writeI64(self.success)
13851
      oprot.writeFieldEnd()
13852
    if self.cex is not None:
13853
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13854
      self.cex.write(oprot)
13855
      oprot.writeFieldEnd()
13856
    oprot.writeFieldStop()
13857
    oprot.writeStructEnd()
13858
 
13859
  def validate(self):
13860
    return
13861
 
13862
 
13863
  def __repr__(self):
13864
    L = ['%s=%r' % (key, value)
13865
      for key, value in self.__dict__.iteritems()]
13866
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13867
 
13868
  def __eq__(self, other):
13869
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13870
 
13871
  def __ne__(self, other):
13872
    return not (self == other)
13873
 
13874
class generateNewEntityID_args:
13875
 
13876
  thrift_spec = (
13877
  )
13878
 
13879
  def read(self, iprot):
13880
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13881
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13882
      return
13883
    iprot.readStructBegin()
13884
    while True:
13885
      (fname, ftype, fid) = iprot.readFieldBegin()
13886
      if ftype == TType.STOP:
13887
        break
13888
      else:
13889
        iprot.skip(ftype)
13890
      iprot.readFieldEnd()
13891
    iprot.readStructEnd()
13892
 
13893
  def write(self, oprot):
13894
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13895
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13896
      return
13897
    oprot.writeStructBegin('generateNewEntityID_args')
13898
    oprot.writeFieldStop()
13899
    oprot.writeStructEnd()
13900
 
13901
  def validate(self):
13902
    return
13903
 
13904
 
13905
  def __repr__(self):
13906
    L = ['%s=%r' % (key, value)
13907
      for key, value in self.__dict__.iteritems()]
13908
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13909
 
13910
  def __eq__(self, other):
13911
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13912
 
13913
  def __ne__(self, other):
13914
    return not (self == other)
13915
 
13916
class generateNewEntityID_result:
13917
  """
13918
  Attributes:
13919
   - success
13920
  """
13921
 
13922
  thrift_spec = (
13923
    (0, TType.I64, 'success', None, None, ), # 0
13924
  )
13925
 
13926
  def __init__(self, success=None,):
13927
    self.success = success
13928
 
13929
  def read(self, iprot):
13930
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13931
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13932
      return
13933
    iprot.readStructBegin()
13934
    while True:
13935
      (fname, ftype, fid) = iprot.readFieldBegin()
13936
      if ftype == TType.STOP:
13937
        break
13938
      if fid == 0:
13939
        if ftype == TType.I64:
13940
          self.success = iprot.readI64();
13941
        else:
13942
          iprot.skip(ftype)
13943
      else:
13944
        iprot.skip(ftype)
13945
      iprot.readFieldEnd()
13946
    iprot.readStructEnd()
13947
 
13948
  def write(self, oprot):
13949
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13950
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13951
      return
13952
    oprot.writeStructBegin('generateNewEntityID_result')
13953
    if self.success is not None:
13954
      oprot.writeFieldBegin('success', TType.I64, 0)
13955
      oprot.writeI64(self.success)
13956
      oprot.writeFieldEnd()
13957
    oprot.writeFieldStop()
13958
    oprot.writeStructEnd()
13959
 
13960
  def validate(self):
13961
    return
13962
 
13963
 
13964
  def __repr__(self):
13965
    L = ['%s=%r' % (key, value)
13966
      for key, value in self.__dict__.iteritems()]
13967
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13968
 
13969
  def __eq__(self, other):
13970
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13971
 
13972
  def __ne__(self, other):
13973
    return not (self == other)
13974
 
13975
class addCategory_args:
13976
  """
13977
  Attributes:
13978
   - category
13979
  """
13980
 
13981
  thrift_spec = (
13982
    None, # 0
13983
    (1, TType.STRUCT, 'category', (Category, Category.thrift_spec), None, ), # 1
13984
  )
13985
 
13986
  def __init__(self, category=None,):
13987
    self.category = category
13988
 
13989
  def read(self, iprot):
13990
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13991
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13992
      return
13993
    iprot.readStructBegin()
13994
    while True:
13995
      (fname, ftype, fid) = iprot.readFieldBegin()
13996
      if ftype == TType.STOP:
13997
        break
13998
      if fid == 1:
13999
        if ftype == TType.STRUCT:
14000
          self.category = Category()
14001
          self.category.read(iprot)
14002
        else:
14003
          iprot.skip(ftype)
14004
      else:
14005
        iprot.skip(ftype)
14006
      iprot.readFieldEnd()
14007
    iprot.readStructEnd()
14008
 
14009
  def write(self, oprot):
14010
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14011
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14012
      return
14013
    oprot.writeStructBegin('addCategory_args')
14014
    if self.category is not None:
14015
      oprot.writeFieldBegin('category', TType.STRUCT, 1)
14016
      self.category.write(oprot)
14017
      oprot.writeFieldEnd()
14018
    oprot.writeFieldStop()
14019
    oprot.writeStructEnd()
14020
 
14021
  def validate(self):
14022
    return
14023
 
14024
 
14025
  def __repr__(self):
14026
    L = ['%s=%r' % (key, value)
14027
      for key, value in self.__dict__.iteritems()]
14028
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14029
 
14030
  def __eq__(self, other):
14031
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14032
 
14033
  def __ne__(self, other):
14034
    return not (self == other)
14035
 
14036
class addCategory_result:
14037
  """
14038
  Attributes:
14039
   - success
14040
  """
14041
 
14042
  thrift_spec = (
14043
    (0, TType.BOOL, 'success', None, None, ), # 0
14044
  )
14045
 
14046
  def __init__(self, success=None,):
14047
    self.success = success
14048
 
14049
  def read(self, iprot):
14050
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14051
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14052
      return
14053
    iprot.readStructBegin()
14054
    while True:
14055
      (fname, ftype, fid) = iprot.readFieldBegin()
14056
      if ftype == TType.STOP:
14057
        break
14058
      if fid == 0:
14059
        if ftype == TType.BOOL:
14060
          self.success = iprot.readBool();
14061
        else:
14062
          iprot.skip(ftype)
14063
      else:
14064
        iprot.skip(ftype)
14065
      iprot.readFieldEnd()
14066
    iprot.readStructEnd()
14067
 
14068
  def write(self, oprot):
14069
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14070
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14071
      return
14072
    oprot.writeStructBegin('addCategory_result')
14073
    if self.success is not None:
14074
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14075
      oprot.writeBool(self.success)
14076
      oprot.writeFieldEnd()
14077
    oprot.writeFieldStop()
14078
    oprot.writeStructEnd()
14079
 
14080
  def validate(self):
14081
    return
14082
 
14083
 
14084
  def __repr__(self):
14085
    L = ['%s=%r' % (key, value)
14086
      for key, value in self.__dict__.iteritems()]
14087
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14088
 
14089
  def __eq__(self, other):
14090
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14091
 
14092
  def __ne__(self, other):
14093
    return not (self == other)
14094
 
14095
class getCategory_args:
14096
  """
14097
  Attributes:
14098
   - id
14099
  """
14100
 
14101
  thrift_spec = (
14102
    None, # 0
14103
    (1, TType.I64, 'id', None, None, ), # 1
14104
  )
14105
 
14106
  def __init__(self, id=None,):
14107
    self.id = id
14108
 
14109
  def read(self, iprot):
14110
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14111
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14112
      return
14113
    iprot.readStructBegin()
14114
    while True:
14115
      (fname, ftype, fid) = iprot.readFieldBegin()
14116
      if ftype == TType.STOP:
14117
        break
14118
      if fid == 1:
14119
        if ftype == TType.I64:
14120
          self.id = iprot.readI64();
14121
        else:
14122
          iprot.skip(ftype)
14123
      else:
14124
        iprot.skip(ftype)
14125
      iprot.readFieldEnd()
14126
    iprot.readStructEnd()
14127
 
14128
  def write(self, oprot):
14129
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14130
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14131
      return
14132
    oprot.writeStructBegin('getCategory_args')
14133
    if self.id is not None:
14134
      oprot.writeFieldBegin('id', TType.I64, 1)
14135
      oprot.writeI64(self.id)
14136
      oprot.writeFieldEnd()
14137
    oprot.writeFieldStop()
14138
    oprot.writeStructEnd()
14139
 
14140
  def validate(self):
14141
    return
14142
 
14143
 
14144
  def __repr__(self):
14145
    L = ['%s=%r' % (key, value)
14146
      for key, value in self.__dict__.iteritems()]
14147
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14148
 
14149
  def __eq__(self, other):
14150
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14151
 
14152
  def __ne__(self, other):
14153
    return not (self == other)
14154
 
14155
class getCategory_result:
14156
  """
14157
  Attributes:
14158
   - success
14159
  """
14160
 
14161
  thrift_spec = (
14162
    (0, TType.STRUCT, 'success', (Category, Category.thrift_spec), None, ), # 0
14163
  )
14164
 
14165
  def __init__(self, success=None,):
14166
    self.success = success
14167
 
14168
  def read(self, iprot):
14169
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14170
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14171
      return
14172
    iprot.readStructBegin()
14173
    while True:
14174
      (fname, ftype, fid) = iprot.readFieldBegin()
14175
      if ftype == TType.STOP:
14176
        break
14177
      if fid == 0:
14178
        if ftype == TType.STRUCT:
14179
          self.success = Category()
14180
          self.success.read(iprot)
14181
        else:
14182
          iprot.skip(ftype)
14183
      else:
14184
        iprot.skip(ftype)
14185
      iprot.readFieldEnd()
14186
    iprot.readStructEnd()
14187
 
14188
  def write(self, oprot):
14189
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14190
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14191
      return
14192
    oprot.writeStructBegin('getCategory_result')
14193
    if self.success is not None:
14194
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
14195
      self.success.write(oprot)
14196
      oprot.writeFieldEnd()
14197
    oprot.writeFieldStop()
14198
    oprot.writeStructEnd()
14199
 
14200
  def validate(self):
14201
    return
14202
 
14203
 
14204
  def __repr__(self):
14205
    L = ['%s=%r' % (key, value)
14206
      for key, value in self.__dict__.iteritems()]
14207
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14208
 
14209
  def __eq__(self, other):
14210
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14211
 
14212
  def __ne__(self, other):
14213
    return not (self == other)
14214
 
14215
class getAllCategories_args:
14216
 
14217
  thrift_spec = (
14218
  )
14219
 
14220
  def read(self, iprot):
14221
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14222
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14223
      return
14224
    iprot.readStructBegin()
14225
    while True:
14226
      (fname, ftype, fid) = iprot.readFieldBegin()
14227
      if ftype == TType.STOP:
14228
        break
14229
      else:
14230
        iprot.skip(ftype)
14231
      iprot.readFieldEnd()
14232
    iprot.readStructEnd()
14233
 
14234
  def write(self, oprot):
14235
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14236
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14237
      return
14238
    oprot.writeStructBegin('getAllCategories_args')
14239
    oprot.writeFieldStop()
14240
    oprot.writeStructEnd()
14241
 
14242
  def validate(self):
14243
    return
14244
 
14245
 
14246
  def __repr__(self):
14247
    L = ['%s=%r' % (key, value)
14248
      for key, value in self.__dict__.iteritems()]
14249
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14250
 
14251
  def __eq__(self, other):
14252
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14253
 
14254
  def __ne__(self, other):
14255
    return not (self == other)
14256
 
14257
class getAllCategories_result:
14258
  """
14259
  Attributes:
14260
   - success
14261
  """
14262
 
14263
  thrift_spec = (
14264
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
14265
  )
14266
 
14267
  def __init__(self, success=None,):
14268
    self.success = success
14269
 
14270
  def read(self, iprot):
14271
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14272
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14273
      return
14274
    iprot.readStructBegin()
14275
    while True:
14276
      (fname, ftype, fid) = iprot.readFieldBegin()
14277
      if ftype == TType.STOP:
14278
        break
14279
      if fid == 0:
14280
        if ftype == TType.LIST:
14281
          self.success = []
13493 amit.gupta 14282
          (_etype179, _size176) = iprot.readListBegin()
14283
          for _i180 in xrange(_size176):
14284
            _elem181 = Category()
14285
            _elem181.read(iprot)
14286
            self.success.append(_elem181)
5944 mandeep.dh 14287
          iprot.readListEnd()
14288
        else:
14289
          iprot.skip(ftype)
14290
      else:
14291
        iprot.skip(ftype)
14292
      iprot.readFieldEnd()
14293
    iprot.readStructEnd()
14294
 
14295
  def write(self, oprot):
14296
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14297
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14298
      return
14299
    oprot.writeStructBegin('getAllCategories_result')
14300
    if self.success is not None:
14301
      oprot.writeFieldBegin('success', TType.LIST, 0)
14302
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 14303
      for iter182 in self.success:
14304
        iter182.write(oprot)
5944 mandeep.dh 14305
      oprot.writeListEnd()
14306
      oprot.writeFieldEnd()
14307
    oprot.writeFieldStop()
14308
    oprot.writeStructEnd()
14309
 
14310
  def validate(self):
14311
    return
14312
 
14313
 
14314
  def __repr__(self):
14315
    L = ['%s=%r' % (key, value)
14316
      for key, value in self.__dict__.iteritems()]
14317
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14318
 
14319
  def __eq__(self, other):
14320
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14321
 
14322
  def __ne__(self, other):
14323
    return not (self == other)
14324
 
14325
class getAllSimilarItems_args:
14326
  """
14327
  Attributes:
14328
   - itemId
14329
  """
14330
 
14331
  thrift_spec = (
14332
    None, # 0
14333
    (1, TType.I64, 'itemId', None, None, ), # 1
14334
  )
14335
 
14336
  def __init__(self, itemId=None,):
14337
    self.itemId = itemId
14338
 
14339
  def read(self, iprot):
14340
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14341
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14342
      return
14343
    iprot.readStructBegin()
14344
    while True:
14345
      (fname, ftype, fid) = iprot.readFieldBegin()
14346
      if ftype == TType.STOP:
14347
        break
14348
      if fid == 1:
14349
        if ftype == TType.I64:
14350
          self.itemId = iprot.readI64();
14351
        else:
14352
          iprot.skip(ftype)
14353
      else:
14354
        iprot.skip(ftype)
14355
      iprot.readFieldEnd()
14356
    iprot.readStructEnd()
14357
 
14358
  def write(self, oprot):
14359
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14360
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14361
      return
14362
    oprot.writeStructBegin('getAllSimilarItems_args')
14363
    if self.itemId is not None:
14364
      oprot.writeFieldBegin('itemId', TType.I64, 1)
14365
      oprot.writeI64(self.itemId)
14366
      oprot.writeFieldEnd()
14367
    oprot.writeFieldStop()
14368
    oprot.writeStructEnd()
14369
 
14370
  def validate(self):
14371
    return
14372
 
14373
 
14374
  def __repr__(self):
14375
    L = ['%s=%r' % (key, value)
14376
      for key, value in self.__dict__.iteritems()]
14377
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14378
 
14379
  def __eq__(self, other):
14380
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14381
 
14382
  def __ne__(self, other):
14383
    return not (self == other)
14384
 
14385
class getAllSimilarItems_result:
14386
  """
14387
  Attributes:
14388
   - success
14389
  """
14390
 
14391
  thrift_spec = (
14392
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
14393
  )
14394
 
14395
  def __init__(self, success=None,):
14396
    self.success = success
14397
 
14398
  def read(self, iprot):
14399
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14400
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14401
      return
14402
    iprot.readStructBegin()
14403
    while True:
14404
      (fname, ftype, fid) = iprot.readFieldBegin()
14405
      if ftype == TType.STOP:
14406
        break
14407
      if fid == 0:
14408
        if ftype == TType.LIST:
14409
          self.success = []
13493 amit.gupta 14410
          (_etype186, _size183) = iprot.readListBegin()
14411
          for _i187 in xrange(_size183):
14412
            _elem188 = Item()
14413
            _elem188.read(iprot)
14414
            self.success.append(_elem188)
5944 mandeep.dh 14415
          iprot.readListEnd()
14416
        else:
14417
          iprot.skip(ftype)
14418
      else:
14419
        iprot.skip(ftype)
14420
      iprot.readFieldEnd()
14421
    iprot.readStructEnd()
14422
 
14423
  def write(self, oprot):
14424
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14425
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14426
      return
14427
    oprot.writeStructBegin('getAllSimilarItems_result')
14428
    if self.success is not None:
14429
      oprot.writeFieldBegin('success', TType.LIST, 0)
14430
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 14431
      for iter189 in self.success:
14432
        iter189.write(oprot)
5944 mandeep.dh 14433
      oprot.writeListEnd()
14434
      oprot.writeFieldEnd()
14435
    oprot.writeFieldStop()
14436
    oprot.writeStructEnd()
14437
 
14438
  def validate(self):
14439
    return
14440
 
14441
 
14442
  def __repr__(self):
14443
    L = ['%s=%r' % (key, value)
14444
      for key, value in self.__dict__.iteritems()]
14445
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14446
 
14447
  def __eq__(self, other):
14448
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14449
 
14450
  def __ne__(self, other):
14451
    return not (self == other)
14452
 
14453
class addSimilarItem_args:
14454
  """
14455
  Attributes:
14456
   - itemId
14457
   - catalogItemId
14458
  """
14459
 
14460
  thrift_spec = (
14461
    None, # 0
14462
    (1, TType.I64, 'itemId', None, None, ), # 1
14463
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
14464
  )
14465
 
14466
  def __init__(self, itemId=None, catalogItemId=None,):
14467
    self.itemId = itemId
14468
    self.catalogItemId = catalogItemId
14469
 
14470
  def read(self, iprot):
14471
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14472
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14473
      return
14474
    iprot.readStructBegin()
14475
    while True:
14476
      (fname, ftype, fid) = iprot.readFieldBegin()
14477
      if ftype == TType.STOP:
14478
        break
14479
      if fid == 1:
14480
        if ftype == TType.I64:
14481
          self.itemId = iprot.readI64();
14482
        else:
14483
          iprot.skip(ftype)
14484
      elif fid == 2:
14485
        if ftype == TType.I64:
14486
          self.catalogItemId = iprot.readI64();
14487
        else:
14488
          iprot.skip(ftype)
14489
      else:
14490
        iprot.skip(ftype)
14491
      iprot.readFieldEnd()
14492
    iprot.readStructEnd()
14493
 
14494
  def write(self, oprot):
14495
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14496
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14497
      return
14498
    oprot.writeStructBegin('addSimilarItem_args')
14499
    if self.itemId is not None:
14500
      oprot.writeFieldBegin('itemId', TType.I64, 1)
14501
      oprot.writeI64(self.itemId)
14502
      oprot.writeFieldEnd()
14503
    if self.catalogItemId is not None:
14504
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
14505
      oprot.writeI64(self.catalogItemId)
14506
      oprot.writeFieldEnd()
14507
    oprot.writeFieldStop()
14508
    oprot.writeStructEnd()
14509
 
14510
  def validate(self):
14511
    return
14512
 
14513
 
14514
  def __repr__(self):
14515
    L = ['%s=%r' % (key, value)
14516
      for key, value in self.__dict__.iteritems()]
14517
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14518
 
14519
  def __eq__(self, other):
14520
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14521
 
14522
  def __ne__(self, other):
14523
    return not (self == other)
14524
 
14525
class addSimilarItem_result:
14526
  """
14527
  Attributes:
14528
   - success
14529
   - cex
14530
  """
14531
 
14532
  thrift_spec = (
14533
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
14534
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14535
  )
14536
 
14537
  def __init__(self, success=None, cex=None,):
14538
    self.success = success
14539
    self.cex = cex
14540
 
14541
  def read(self, iprot):
14542
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14543
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14544
      return
14545
    iprot.readStructBegin()
14546
    while True:
14547
      (fname, ftype, fid) = iprot.readFieldBegin()
14548
      if ftype == TType.STOP:
14549
        break
14550
      if fid == 0:
14551
        if ftype == TType.STRUCT:
14552
          self.success = Item()
14553
          self.success.read(iprot)
14554
        else:
14555
          iprot.skip(ftype)
14556
      elif fid == 1:
14557
        if ftype == TType.STRUCT:
14558
          self.cex = CatalogServiceException()
14559
          self.cex.read(iprot)
14560
        else:
14561
          iprot.skip(ftype)
14562
      else:
14563
        iprot.skip(ftype)
14564
      iprot.readFieldEnd()
14565
    iprot.readStructEnd()
14566
 
14567
  def write(self, oprot):
14568
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14569
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14570
      return
14571
    oprot.writeStructBegin('addSimilarItem_result')
14572
    if self.success is not None:
14573
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
14574
      self.success.write(oprot)
14575
      oprot.writeFieldEnd()
14576
    if self.cex is not None:
14577
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
14578
      self.cex.write(oprot)
14579
      oprot.writeFieldEnd()
14580
    oprot.writeFieldStop()
14581
    oprot.writeStructEnd()
14582
 
14583
  def validate(self):
14584
    return
14585
 
14586
 
14587
  def __repr__(self):
14588
    L = ['%s=%r' % (key, value)
14589
      for key, value in self.__dict__.iteritems()]
14590
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14591
 
14592
  def __eq__(self, other):
14593
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14594
 
14595
  def __ne__(self, other):
14596
    return not (self == other)
14597
 
6512 kshitij.so 14598
class addTag_args:
14599
  """
14600
  Attributes:
14601
   - displayName
14602
   - itemId
14603
  """
14604
 
14605
  thrift_spec = (
14606
    None, # 0
14607
    (1, TType.STRING, 'displayName', None, None, ), # 1
14608
    (2, TType.I64, 'itemId', None, None, ), # 2
14609
  )
14610
 
14611
  def __init__(self, displayName=None, itemId=None,):
14612
    self.displayName = displayName
14613
    self.itemId = itemId
14614
 
14615
  def read(self, iprot):
14616
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14617
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14618
      return
14619
    iprot.readStructBegin()
14620
    while True:
14621
      (fname, ftype, fid) = iprot.readFieldBegin()
14622
      if ftype == TType.STOP:
14623
        break
14624
      if fid == 1:
14625
        if ftype == TType.STRING:
14626
          self.displayName = iprot.readString();
14627
        else:
14628
          iprot.skip(ftype)
14629
      elif fid == 2:
14630
        if ftype == TType.I64:
14631
          self.itemId = iprot.readI64();
14632
        else:
14633
          iprot.skip(ftype)
14634
      else:
14635
        iprot.skip(ftype)
14636
      iprot.readFieldEnd()
14637
    iprot.readStructEnd()
14638
 
14639
  def write(self, oprot):
14640
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14641
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14642
      return
14643
    oprot.writeStructBegin('addTag_args')
14644
    if self.displayName is not None:
14645
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14646
      oprot.writeString(self.displayName)
14647
      oprot.writeFieldEnd()
14648
    if self.itemId is not None:
14649
      oprot.writeFieldBegin('itemId', TType.I64, 2)
14650
      oprot.writeI64(self.itemId)
14651
      oprot.writeFieldEnd()
14652
    oprot.writeFieldStop()
14653
    oprot.writeStructEnd()
14654
 
14655
  def validate(self):
14656
    return
14657
 
14658
 
14659
  def __repr__(self):
14660
    L = ['%s=%r' % (key, value)
14661
      for key, value in self.__dict__.iteritems()]
14662
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14663
 
14664
  def __eq__(self, other):
14665
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14666
 
14667
  def __ne__(self, other):
14668
    return not (self == other)
14669
 
14670
class addTag_result:
14671
  """
14672
  Attributes:
14673
   - success
14674
  """
14675
 
14676
  thrift_spec = (
14677
    (0, TType.BOOL, 'success', None, None, ), # 0
14678
  )
14679
 
14680
  def __init__(self, success=None,):
14681
    self.success = success
14682
 
14683
  def read(self, iprot):
14684
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14685
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14686
      return
14687
    iprot.readStructBegin()
14688
    while True:
14689
      (fname, ftype, fid) = iprot.readFieldBegin()
14690
      if ftype == TType.STOP:
14691
        break
14692
      if fid == 0:
14693
        if ftype == TType.BOOL:
14694
          self.success = iprot.readBool();
14695
        else:
14696
          iprot.skip(ftype)
14697
      else:
14698
        iprot.skip(ftype)
14699
      iprot.readFieldEnd()
14700
    iprot.readStructEnd()
14701
 
14702
  def write(self, oprot):
14703
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14704
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14705
      return
14706
    oprot.writeStructBegin('addTag_result')
14707
    if self.success is not None:
14708
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14709
      oprot.writeBool(self.success)
14710
      oprot.writeFieldEnd()
14711
    oprot.writeFieldStop()
14712
    oprot.writeStructEnd()
14713
 
14714
  def validate(self):
14715
    return
14716
 
14717
 
14718
  def __repr__(self):
14719
    L = ['%s=%r' % (key, value)
14720
      for key, value in self.__dict__.iteritems()]
14721
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14722
 
14723
  def __eq__(self, other):
14724
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14725
 
14726
  def __ne__(self, other):
14727
    return not (self == other)
14728
 
14729
class deleteEntityTag_args:
14730
  """
14731
  Attributes:
14732
   - displayName
14733
   - itemId
14734
  """
14735
 
14736
  thrift_spec = (
14737
    None, # 0
14738
    (1, TType.STRING, 'displayName', None, None, ), # 1
14739
    (2, TType.I64, 'itemId', None, None, ), # 2
14740
  )
14741
 
14742
  def __init__(self, displayName=None, itemId=None,):
14743
    self.displayName = displayName
14744
    self.itemId = itemId
14745
 
14746
  def read(self, iprot):
14747
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14748
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14749
      return
14750
    iprot.readStructBegin()
14751
    while True:
14752
      (fname, ftype, fid) = iprot.readFieldBegin()
14753
      if ftype == TType.STOP:
14754
        break
14755
      if fid == 1:
14756
        if ftype == TType.STRING:
14757
          self.displayName = iprot.readString();
14758
        else:
14759
          iprot.skip(ftype)
14760
      elif fid == 2:
14761
        if ftype == TType.I64:
14762
          self.itemId = iprot.readI64();
14763
        else:
14764
          iprot.skip(ftype)
14765
      else:
14766
        iprot.skip(ftype)
14767
      iprot.readFieldEnd()
14768
    iprot.readStructEnd()
14769
 
14770
  def write(self, oprot):
14771
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14772
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14773
      return
14774
    oprot.writeStructBegin('deleteEntityTag_args')
14775
    if self.displayName is not None:
14776
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14777
      oprot.writeString(self.displayName)
14778
      oprot.writeFieldEnd()
14779
    if self.itemId is not None:
14780
      oprot.writeFieldBegin('itemId', TType.I64, 2)
14781
      oprot.writeI64(self.itemId)
14782
      oprot.writeFieldEnd()
14783
    oprot.writeFieldStop()
14784
    oprot.writeStructEnd()
14785
 
14786
  def validate(self):
14787
    return
14788
 
14789
 
14790
  def __repr__(self):
14791
    L = ['%s=%r' % (key, value)
14792
      for key, value in self.__dict__.iteritems()]
14793
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14794
 
14795
  def __eq__(self, other):
14796
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14797
 
14798
  def __ne__(self, other):
14799
    return not (self == other)
14800
 
14801
class deleteEntityTag_result:
14802
  """
14803
  Attributes:
14804
   - success
14805
  """
14806
 
14807
  thrift_spec = (
14808
    (0, TType.BOOL, 'success', None, None, ), # 0
14809
  )
14810
 
14811
  def __init__(self, success=None,):
14812
    self.success = success
14813
 
14814
  def read(self, iprot):
14815
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14816
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14817
      return
14818
    iprot.readStructBegin()
14819
    while True:
14820
      (fname, ftype, fid) = iprot.readFieldBegin()
14821
      if ftype == TType.STOP:
14822
        break
14823
      if fid == 0:
14824
        if ftype == TType.BOOL:
14825
          self.success = iprot.readBool();
14826
        else:
14827
          iprot.skip(ftype)
14828
      else:
14829
        iprot.skip(ftype)
14830
      iprot.readFieldEnd()
14831
    iprot.readStructEnd()
14832
 
14833
  def write(self, oprot):
14834
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14835
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14836
      return
14837
    oprot.writeStructBegin('deleteEntityTag_result')
14838
    if self.success is not None:
14839
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14840
      oprot.writeBool(self.success)
14841
      oprot.writeFieldEnd()
14842
    oprot.writeFieldStop()
14843
    oprot.writeStructEnd()
14844
 
14845
  def validate(self):
14846
    return
14847
 
14848
 
14849
  def __repr__(self):
14850
    L = ['%s=%r' % (key, value)
14851
      for key, value in self.__dict__.iteritems()]
14852
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14853
 
14854
  def __eq__(self, other):
14855
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14856
 
14857
  def __ne__(self, other):
14858
    return not (self == other)
14859
 
14860
class deleteTag_args:
14861
  """
14862
  Attributes:
14863
   - displayName
14864
  """
14865
 
14866
  thrift_spec = (
14867
    None, # 0
14868
    (1, TType.STRING, 'displayName', None, None, ), # 1
14869
  )
14870
 
14871
  def __init__(self, displayName=None,):
14872
    self.displayName = displayName
14873
 
14874
  def read(self, iprot):
14875
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14876
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14877
      return
14878
    iprot.readStructBegin()
14879
    while True:
14880
      (fname, ftype, fid) = iprot.readFieldBegin()
14881
      if ftype == TType.STOP:
14882
        break
14883
      if fid == 1:
14884
        if ftype == TType.STRING:
14885
          self.displayName = iprot.readString();
14886
        else:
14887
          iprot.skip(ftype)
14888
      else:
14889
        iprot.skip(ftype)
14890
      iprot.readFieldEnd()
14891
    iprot.readStructEnd()
14892
 
14893
  def write(self, oprot):
14894
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14895
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14896
      return
14897
    oprot.writeStructBegin('deleteTag_args')
14898
    if self.displayName is not None:
14899
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14900
      oprot.writeString(self.displayName)
14901
      oprot.writeFieldEnd()
14902
    oprot.writeFieldStop()
14903
    oprot.writeStructEnd()
14904
 
14905
  def validate(self):
14906
    return
14907
 
14908
 
14909
  def __repr__(self):
14910
    L = ['%s=%r' % (key, value)
14911
      for key, value in self.__dict__.iteritems()]
14912
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14913
 
14914
  def __eq__(self, other):
14915
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14916
 
14917
  def __ne__(self, other):
14918
    return not (self == other)
14919
 
14920
class deleteTag_result:
14921
  """
14922
  Attributes:
14923
   - success
14924
  """
14925
 
14926
  thrift_spec = (
14927
    (0, TType.BOOL, 'success', None, None, ), # 0
14928
  )
14929
 
14930
  def __init__(self, success=None,):
14931
    self.success = success
14932
 
14933
  def read(self, iprot):
14934
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14935
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14936
      return
14937
    iprot.readStructBegin()
14938
    while True:
14939
      (fname, ftype, fid) = iprot.readFieldBegin()
14940
      if ftype == TType.STOP:
14941
        break
14942
      if fid == 0:
14943
        if ftype == TType.BOOL:
14944
          self.success = iprot.readBool();
14945
        else:
14946
          iprot.skip(ftype)
14947
      else:
14948
        iprot.skip(ftype)
14949
      iprot.readFieldEnd()
14950
    iprot.readStructEnd()
14951
 
14952
  def write(self, oprot):
14953
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14954
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14955
      return
14956
    oprot.writeStructBegin('deleteTag_result')
14957
    if self.success is not None:
14958
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14959
      oprot.writeBool(self.success)
14960
      oprot.writeFieldEnd()
14961
    oprot.writeFieldStop()
14962
    oprot.writeStructEnd()
14963
 
14964
  def validate(self):
14965
    return
14966
 
14967
 
14968
  def __repr__(self):
14969
    L = ['%s=%r' % (key, value)
14970
      for key, value in self.__dict__.iteritems()]
14971
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14972
 
14973
  def __eq__(self, other):
14974
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14975
 
14976
  def __ne__(self, other):
14977
    return not (self == other)
14978
 
14979
class getAllTags_args:
14980
 
14981
  thrift_spec = (
14982
  )
14983
 
14984
  def read(self, iprot):
14985
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14986
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14987
      return
14988
    iprot.readStructBegin()
14989
    while True:
14990
      (fname, ftype, fid) = iprot.readFieldBegin()
14991
      if ftype == TType.STOP:
14992
        break
14993
      else:
14994
        iprot.skip(ftype)
14995
      iprot.readFieldEnd()
14996
    iprot.readStructEnd()
14997
 
14998
  def write(self, oprot):
14999
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15000
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15001
      return
15002
    oprot.writeStructBegin('getAllTags_args')
15003
    oprot.writeFieldStop()
15004
    oprot.writeStructEnd()
15005
 
15006
  def validate(self):
15007
    return
15008
 
15009
 
15010
  def __repr__(self):
15011
    L = ['%s=%r' % (key, value)
15012
      for key, value in self.__dict__.iteritems()]
15013
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15014
 
15015
  def __eq__(self, other):
15016
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15017
 
15018
  def __ne__(self, other):
15019
    return not (self == other)
15020
 
15021
class getAllTags_result:
15022
  """
15023
  Attributes:
15024
   - success
15025
  """
15026
 
15027
  thrift_spec = (
15028
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
15029
  )
15030
 
15031
  def __init__(self, success=None,):
15032
    self.success = success
15033
 
15034
  def read(self, iprot):
15035
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15036
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15037
      return
15038
    iprot.readStructBegin()
15039
    while True:
15040
      (fname, ftype, fid) = iprot.readFieldBegin()
15041
      if ftype == TType.STOP:
15042
        break
15043
      if fid == 0:
15044
        if ftype == TType.LIST:
15045
          self.success = []
13493 amit.gupta 15046
          (_etype193, _size190) = iprot.readListBegin()
15047
          for _i194 in xrange(_size190):
15048
            _elem195 = iprot.readString();
15049
            self.success.append(_elem195)
6512 kshitij.so 15050
          iprot.readListEnd()
15051
        else:
15052
          iprot.skip(ftype)
15053
      else:
15054
        iprot.skip(ftype)
15055
      iprot.readFieldEnd()
15056
    iprot.readStructEnd()
15057
 
15058
  def write(self, oprot):
15059
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15060
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15061
      return
15062
    oprot.writeStructBegin('getAllTags_result')
15063
    if self.success is not None:
15064
      oprot.writeFieldBegin('success', TType.LIST, 0)
15065
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 15066
      for iter196 in self.success:
15067
        oprot.writeString(iter196)
6512 kshitij.so 15068
      oprot.writeListEnd()
15069
      oprot.writeFieldEnd()
15070
    oprot.writeFieldStop()
15071
    oprot.writeStructEnd()
15072
 
15073
  def validate(self):
15074
    return
15075
 
15076
 
15077
  def __repr__(self):
15078
    L = ['%s=%r' % (key, value)
15079
      for key, value in self.__dict__.iteritems()]
15080
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15081
 
15082
  def __eq__(self, other):
15083
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15084
 
15085
  def __ne__(self, other):
15086
    return not (self == other)
15087
 
15088
class getAllEntitiesByTagName_args:
15089
  """
15090
  Attributes:
15091
   - displayName
15092
  """
15093
 
15094
  thrift_spec = (
15095
    None, # 0
15096
    (1, TType.STRING, 'displayName', None, None, ), # 1
15097
  )
15098
 
15099
  def __init__(self, displayName=None,):
15100
    self.displayName = displayName
15101
 
15102
  def read(self, iprot):
15103
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15104
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15105
      return
15106
    iprot.readStructBegin()
15107
    while True:
15108
      (fname, ftype, fid) = iprot.readFieldBegin()
15109
      if ftype == TType.STOP:
15110
        break
15111
      if fid == 1:
15112
        if ftype == TType.STRING:
15113
          self.displayName = iprot.readString();
15114
        else:
15115
          iprot.skip(ftype)
15116
      else:
15117
        iprot.skip(ftype)
15118
      iprot.readFieldEnd()
15119
    iprot.readStructEnd()
15120
 
15121
  def write(self, oprot):
15122
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15123
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15124
      return
15125
    oprot.writeStructBegin('getAllEntitiesByTagName_args')
15126
    if self.displayName is not None:
15127
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
15128
      oprot.writeString(self.displayName)
15129
      oprot.writeFieldEnd()
15130
    oprot.writeFieldStop()
15131
    oprot.writeStructEnd()
15132
 
15133
  def validate(self):
15134
    return
15135
 
15136
 
15137
  def __repr__(self):
15138
    L = ['%s=%r' % (key, value)
15139
      for key, value in self.__dict__.iteritems()]
15140
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15141
 
15142
  def __eq__(self, other):
15143
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15144
 
15145
  def __ne__(self, other):
15146
    return not (self == other)
15147
 
15148
class getAllEntitiesByTagName_result:
15149
  """
15150
  Attributes:
15151
   - success
15152
  """
15153
 
15154
  thrift_spec = (
15155
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
15156
  )
15157
 
15158
  def __init__(self, success=None,):
15159
    self.success = success
15160
 
15161
  def read(self, iprot):
15162
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15163
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15164
      return
15165
    iprot.readStructBegin()
15166
    while True:
15167
      (fname, ftype, fid) = iprot.readFieldBegin()
15168
      if ftype == TType.STOP:
15169
        break
15170
      if fid == 0:
15171
        if ftype == TType.LIST:
15172
          self.success = []
13493 amit.gupta 15173
          (_etype200, _size197) = iprot.readListBegin()
15174
          for _i201 in xrange(_size197):
15175
            _elem202 = iprot.readI64();
15176
            self.success.append(_elem202)
6512 kshitij.so 15177
          iprot.readListEnd()
15178
        else:
15179
          iprot.skip(ftype)
15180
      else:
15181
        iprot.skip(ftype)
15182
      iprot.readFieldEnd()
15183
    iprot.readStructEnd()
15184
 
15185
  def write(self, oprot):
15186
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15187
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15188
      return
15189
    oprot.writeStructBegin('getAllEntitiesByTagName_result')
15190
    if self.success is not None:
15191
      oprot.writeFieldBegin('success', TType.LIST, 0)
15192
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 15193
      for iter203 in self.success:
15194
        oprot.writeI64(iter203)
6512 kshitij.so 15195
      oprot.writeListEnd()
15196
      oprot.writeFieldEnd()
15197
    oprot.writeFieldStop()
15198
    oprot.writeStructEnd()
15199
 
15200
  def validate(self):
15201
    return
15202
 
15203
 
15204
  def __repr__(self):
15205
    L = ['%s=%r' % (key, value)
15206
      for key, value in self.__dict__.iteritems()]
15207
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15208
 
15209
  def __eq__(self, other):
15210
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15211
 
15212
  def __ne__(self, other):
15213
    return not (self == other)
15214
 
6845 amit.gupta 15215
class getAllEntityTags_args:
15216
 
15217
  thrift_spec = (
15218
  )
15219
 
15220
  def read(self, iprot):
15221
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15222
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15223
      return
15224
    iprot.readStructBegin()
15225
    while True:
15226
      (fname, ftype, fid) = iprot.readFieldBegin()
15227
      if ftype == TType.STOP:
15228
        break
15229
      else:
15230
        iprot.skip(ftype)
15231
      iprot.readFieldEnd()
15232
    iprot.readStructEnd()
15233
 
15234
  def write(self, oprot):
15235
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15236
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15237
      return
15238
    oprot.writeStructBegin('getAllEntityTags_args')
15239
    oprot.writeFieldStop()
15240
    oprot.writeStructEnd()
15241
 
15242
  def validate(self):
15243
    return
15244
 
15245
 
15246
  def __repr__(self):
15247
    L = ['%s=%r' % (key, value)
15248
      for key, value in self.__dict__.iteritems()]
15249
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15250
 
15251
  def __eq__(self, other):
15252
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15253
 
15254
  def __ne__(self, other):
15255
    return not (self == other)
15256
 
15257
class getAllEntityTags_result:
15258
  """
15259
  Attributes:
15260
   - success
15261
  """
15262
 
15263
  thrift_spec = (
15264
    (0, TType.MAP, 'success', (TType.I64,None,TType.LIST,(TType.STRING,None)), None, ), # 0
15265
  )
15266
 
15267
  def __init__(self, success=None,):
15268
    self.success = success
15269
 
15270
  def read(self, iprot):
15271
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15272
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15273
      return
15274
    iprot.readStructBegin()
15275
    while True:
15276
      (fname, ftype, fid) = iprot.readFieldBegin()
15277
      if ftype == TType.STOP:
15278
        break
15279
      if fid == 0:
15280
        if ftype == TType.MAP:
15281
          self.success = {}
13493 amit.gupta 15282
          (_ktype205, _vtype206, _size204 ) = iprot.readMapBegin() 
15283
          for _i208 in xrange(_size204):
15284
            _key209 = iprot.readI64();
15285
            _val210 = []
15286
            (_etype214, _size211) = iprot.readListBegin()
15287
            for _i215 in xrange(_size211):
15288
              _elem216 = iprot.readString();
15289
              _val210.append(_elem216)
6845 amit.gupta 15290
            iprot.readListEnd()
13493 amit.gupta 15291
            self.success[_key209] = _val210
6845 amit.gupta 15292
          iprot.readMapEnd()
15293
        else:
15294
          iprot.skip(ftype)
15295
      else:
15296
        iprot.skip(ftype)
15297
      iprot.readFieldEnd()
15298
    iprot.readStructEnd()
15299
 
15300
  def write(self, oprot):
15301
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15302
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15303
      return
15304
    oprot.writeStructBegin('getAllEntityTags_result')
15305
    if self.success is not None:
15306
      oprot.writeFieldBegin('success', TType.MAP, 0)
15307
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.success))
13493 amit.gupta 15308
      for kiter217,viter218 in self.success.items():
15309
        oprot.writeI64(kiter217)
15310
        oprot.writeListBegin(TType.STRING, len(viter218))
15311
        for iter219 in viter218:
15312
          oprot.writeString(iter219)
6845 amit.gupta 15313
        oprot.writeListEnd()
15314
      oprot.writeMapEnd()
15315
      oprot.writeFieldEnd()
15316
    oprot.writeFieldStop()
15317
    oprot.writeStructEnd()
15318
 
15319
  def validate(self):
15320
    return
15321
 
15322
 
15323
  def __repr__(self):
15324
    L = ['%s=%r' % (key, value)
15325
      for key, value in self.__dict__.iteritems()]
15326
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15327
 
15328
  def __eq__(self, other):
15329
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15330
 
15331
  def __ne__(self, other):
15332
    return not (self == other)
15333
 
6850 kshitij.so 15334
class addBanner_args:
15335
  """
15336
  Attributes:
8590 kshitij.so 15337
   - bannerCongregate
6850 kshitij.so 15338
  """
15339
 
15340
  thrift_spec = (
15341
    None, # 0
8590 kshitij.so 15342
    (1, TType.STRUCT, 'bannerCongregate', (BannerCongregate, BannerCongregate.thrift_spec), None, ), # 1
6850 kshitij.so 15343
  )
15344
 
8590 kshitij.so 15345
  def __init__(self, bannerCongregate=None,):
15346
    self.bannerCongregate = bannerCongregate
6850 kshitij.so 15347
 
15348
  def read(self, iprot):
15349
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15350
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15351
      return
15352
    iprot.readStructBegin()
15353
    while True:
15354
      (fname, ftype, fid) = iprot.readFieldBegin()
15355
      if ftype == TType.STOP:
15356
        break
15357
      if fid == 1:
8579 kshitij.so 15358
        if ftype == TType.STRUCT:
8590 kshitij.so 15359
          self.bannerCongregate = BannerCongregate()
15360
          self.bannerCongregate.read(iprot)
6850 kshitij.so 15361
        else:
15362
          iprot.skip(ftype)
8579 kshitij.so 15363
      else:
15364
        iprot.skip(ftype)
15365
      iprot.readFieldEnd()
15366
    iprot.readStructEnd()
15367
 
15368
  def write(self, oprot):
15369
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15370
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15371
      return
15372
    oprot.writeStructBegin('addBanner_args')
8590 kshitij.so 15373
    if self.bannerCongregate is not None:
15374
      oprot.writeFieldBegin('bannerCongregate', TType.STRUCT, 1)
15375
      self.bannerCongregate.write(oprot)
8579 kshitij.so 15376
      oprot.writeFieldEnd()
15377
    oprot.writeFieldStop()
15378
    oprot.writeStructEnd()
15379
 
15380
  def validate(self):
15381
    return
15382
 
15383
 
15384
  def __repr__(self):
15385
    L = ['%s=%r' % (key, value)
15386
      for key, value in self.__dict__.iteritems()]
15387
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15388
 
15389
  def __eq__(self, other):
15390
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15391
 
15392
  def __ne__(self, other):
15393
    return not (self == other)
15394
 
15395
class addBanner_result:
10097 kshitij.so 15396
  """
15397
  Attributes:
15398
   - success
15399
  """
8579 kshitij.so 15400
 
15401
  thrift_spec = (
10097 kshitij.so 15402
    (0, TType.BOOL, 'success', None, None, ), # 0
8579 kshitij.so 15403
  )
15404
 
10097 kshitij.so 15405
  def __init__(self, success=None,):
15406
    self.success = success
15407
 
8579 kshitij.so 15408
  def read(self, iprot):
15409
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15410
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15411
      return
15412
    iprot.readStructBegin()
15413
    while True:
15414
      (fname, ftype, fid) = iprot.readFieldBegin()
15415
      if ftype == TType.STOP:
15416
        break
10097 kshitij.so 15417
      if fid == 0:
15418
        if ftype == TType.BOOL:
15419
          self.success = iprot.readBool();
15420
        else:
15421
          iprot.skip(ftype)
8579 kshitij.so 15422
      else:
15423
        iprot.skip(ftype)
15424
      iprot.readFieldEnd()
15425
    iprot.readStructEnd()
15426
 
15427
  def write(self, oprot):
15428
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15429
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15430
      return
15431
    oprot.writeStructBegin('addBanner_result')
10097 kshitij.so 15432
    if self.success is not None:
15433
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15434
      oprot.writeBool(self.success)
15435
      oprot.writeFieldEnd()
8579 kshitij.so 15436
    oprot.writeFieldStop()
15437
    oprot.writeStructEnd()
15438
 
15439
  def validate(self):
15440
    return
15441
 
15442
 
15443
  def __repr__(self):
15444
    L = ['%s=%r' % (key, value)
15445
      for key, value in self.__dict__.iteritems()]
15446
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15447
 
15448
  def __eq__(self, other):
15449
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15450
 
15451
  def __ne__(self, other):
15452
    return not (self == other)
15453
 
15454
class updateBanner_args:
15455
  """
15456
  Attributes:
15457
   - banner
15458
  """
15459
 
15460
  thrift_spec = (
15461
    None, # 0
15462
    (1, TType.STRUCT, 'banner', (Banner, Banner.thrift_spec), None, ), # 1
15463
  )
15464
 
15465
  def __init__(self, banner=None,):
15466
    self.banner = banner
15467
 
15468
  def read(self, iprot):
15469
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15470
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15471
      return
15472
    iprot.readStructBegin()
15473
    while True:
15474
      (fname, ftype, fid) = iprot.readFieldBegin()
15475
      if ftype == TType.STOP:
15476
        break
15477
      if fid == 1:
15478
        if ftype == TType.STRUCT:
15479
          self.banner = Banner()
15480
          self.banner.read(iprot)
6850 kshitij.so 15481
        else:
15482
          iprot.skip(ftype)
15483
      else:
15484
        iprot.skip(ftype)
15485
      iprot.readFieldEnd()
15486
    iprot.readStructEnd()
15487
 
15488
  def write(self, oprot):
15489
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15490
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15491
      return
8579 kshitij.so 15492
    oprot.writeStructBegin('updateBanner_args')
15493
    if self.banner is not None:
15494
      oprot.writeFieldBegin('banner', TType.STRUCT, 1)
15495
      self.banner.write(oprot)
6850 kshitij.so 15496
      oprot.writeFieldEnd()
15497
    oprot.writeFieldStop()
15498
    oprot.writeStructEnd()
15499
 
15500
  def validate(self):
15501
    return
15502
 
15503
 
15504
  def __repr__(self):
15505
    L = ['%s=%r' % (key, value)
15506
      for key, value in self.__dict__.iteritems()]
15507
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15508
 
15509
  def __eq__(self, other):
15510
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15511
 
15512
  def __ne__(self, other):
15513
    return not (self == other)
15514
 
8579 kshitij.so 15515
class updateBanner_result:
6850 kshitij.so 15516
  """
15517
  Attributes:
15518
   - success
15519
  """
15520
 
15521
  thrift_spec = (
15522
    (0, TType.BOOL, 'success', None, None, ), # 0
15523
  )
15524
 
15525
  def __init__(self, success=None,):
15526
    self.success = success
15527
 
15528
  def read(self, iprot):
15529
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15530
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15531
      return
15532
    iprot.readStructBegin()
15533
    while True:
15534
      (fname, ftype, fid) = iprot.readFieldBegin()
15535
      if ftype == TType.STOP:
15536
        break
15537
      if fid == 0:
15538
        if ftype == TType.BOOL:
15539
          self.success = iprot.readBool();
15540
        else:
15541
          iprot.skip(ftype)
15542
      else:
15543
        iprot.skip(ftype)
15544
      iprot.readFieldEnd()
15545
    iprot.readStructEnd()
15546
 
15547
  def write(self, oprot):
15548
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15549
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15550
      return
8579 kshitij.so 15551
    oprot.writeStructBegin('updateBanner_result')
6850 kshitij.so 15552
    if self.success is not None:
15553
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15554
      oprot.writeBool(self.success)
15555
      oprot.writeFieldEnd()
15556
    oprot.writeFieldStop()
15557
    oprot.writeStructEnd()
15558
 
15559
  def validate(self):
15560
    return
15561
 
15562
 
15563
  def __repr__(self):
15564
    L = ['%s=%r' % (key, value)
15565
      for key, value in self.__dict__.iteritems()]
15566
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15567
 
15568
  def __eq__(self, other):
15569
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15570
 
15571
  def __ne__(self, other):
15572
    return not (self == other)
15573
 
15574
class getAllBanners_args:
15575
 
15576
  thrift_spec = (
15577
  )
15578
 
15579
  def read(self, iprot):
15580
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15581
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15582
      return
15583
    iprot.readStructBegin()
15584
    while True:
15585
      (fname, ftype, fid) = iprot.readFieldBegin()
15586
      if ftype == TType.STOP:
15587
        break
15588
      else:
15589
        iprot.skip(ftype)
15590
      iprot.readFieldEnd()
15591
    iprot.readStructEnd()
15592
 
15593
  def write(self, oprot):
15594
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15595
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15596
      return
15597
    oprot.writeStructBegin('getAllBanners_args')
15598
    oprot.writeFieldStop()
15599
    oprot.writeStructEnd()
15600
 
15601
  def validate(self):
15602
    return
15603
 
15604
 
15605
  def __repr__(self):
15606
    L = ['%s=%r' % (key, value)
15607
      for key, value in self.__dict__.iteritems()]
15608
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15609
 
15610
  def __eq__(self, other):
15611
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15612
 
15613
  def __ne__(self, other):
15614
    return not (self == other)
15615
 
15616
class getAllBanners_result:
15617
  """
15618
  Attributes:
15619
   - success
15620
  """
15621
 
15622
  thrift_spec = (
8579 kshitij.so 15623
    (0, TType.LIST, 'success', (TType.STRUCT,(Banner, Banner.thrift_spec)), None, ), # 0
6850 kshitij.so 15624
  )
15625
 
15626
  def __init__(self, success=None,):
15627
    self.success = success
15628
 
15629
  def read(self, iprot):
15630
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15631
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15632
      return
15633
    iprot.readStructBegin()
15634
    while True:
15635
      (fname, ftype, fid) = iprot.readFieldBegin()
15636
      if ftype == TType.STOP:
15637
        break
15638
      if fid == 0:
15639
        if ftype == TType.LIST:
15640
          self.success = []
13493 amit.gupta 15641
          (_etype223, _size220) = iprot.readListBegin()
15642
          for _i224 in xrange(_size220):
15643
            _elem225 = Banner()
15644
            _elem225.read(iprot)
15645
            self.success.append(_elem225)
6850 kshitij.so 15646
          iprot.readListEnd()
15647
        else:
15648
          iprot.skip(ftype)
15649
      else:
15650
        iprot.skip(ftype)
15651
      iprot.readFieldEnd()
15652
    iprot.readStructEnd()
15653
 
15654
  def write(self, oprot):
15655
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15656
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15657
      return
15658
    oprot.writeStructBegin('getAllBanners_result')
15659
    if self.success is not None:
15660
      oprot.writeFieldBegin('success', TType.LIST, 0)
8579 kshitij.so 15661
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 15662
      for iter226 in self.success:
15663
        iter226.write(oprot)
6850 kshitij.so 15664
      oprot.writeListEnd()
15665
      oprot.writeFieldEnd()
15666
    oprot.writeFieldStop()
15667
    oprot.writeStructEnd()
15668
 
15669
  def validate(self):
15670
    return
15671
 
15672
 
15673
  def __repr__(self):
15674
    L = ['%s=%r' % (key, value)
15675
      for key, value in self.__dict__.iteritems()]
15676
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15677
 
15678
  def __eq__(self, other):
15679
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15680
 
15681
  def __ne__(self, other):
15682
    return not (self == other)
15683
 
15684
class deleteBanner_args:
15685
  """
15686
  Attributes:
15687
   - bannerName
9155 kshitij.so 15688
   - bannerType
6850 kshitij.so 15689
  """
15690
 
15691
  thrift_spec = (
15692
    None, # 0
15693
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 15694
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 15695
  )
15696
 
9155 kshitij.so 15697
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 15698
    self.bannerName = bannerName
9155 kshitij.so 15699
    self.bannerType = bannerType
6850 kshitij.so 15700
 
15701
  def read(self, iprot):
15702
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15703
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15704
      return
15705
    iprot.readStructBegin()
15706
    while True:
15707
      (fname, ftype, fid) = iprot.readFieldBegin()
15708
      if ftype == TType.STOP:
15709
        break
15710
      if fid == 1:
15711
        if ftype == TType.STRING:
15712
          self.bannerName = iprot.readString();
15713
        else:
15714
          iprot.skip(ftype)
9155 kshitij.so 15715
      elif fid == 2:
15716
        if ftype == TType.I32:
15717
          self.bannerType = iprot.readI32();
15718
        else:
15719
          iprot.skip(ftype)
6850 kshitij.so 15720
      else:
15721
        iprot.skip(ftype)
15722
      iprot.readFieldEnd()
15723
    iprot.readStructEnd()
15724
 
15725
  def write(self, oprot):
15726
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15727
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15728
      return
15729
    oprot.writeStructBegin('deleteBanner_args')
15730
    if self.bannerName is not None:
15731
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15732
      oprot.writeString(self.bannerName)
15733
      oprot.writeFieldEnd()
9155 kshitij.so 15734
    if self.bannerType is not None:
15735
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
15736
      oprot.writeI32(self.bannerType)
15737
      oprot.writeFieldEnd()
6850 kshitij.so 15738
    oprot.writeFieldStop()
15739
    oprot.writeStructEnd()
15740
 
15741
  def validate(self):
15742
    return
15743
 
15744
 
15745
  def __repr__(self):
15746
    L = ['%s=%r' % (key, value)
15747
      for key, value in self.__dict__.iteritems()]
15748
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15749
 
15750
  def __eq__(self, other):
15751
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15752
 
15753
  def __ne__(self, other):
15754
    return not (self == other)
15755
 
15756
class deleteBanner_result:
15757
  """
15758
  Attributes:
15759
   - success
15760
  """
15761
 
15762
  thrift_spec = (
15763
    (0, TType.BOOL, 'success', None, None, ), # 0
15764
  )
15765
 
15766
  def __init__(self, success=None,):
15767
    self.success = success
15768
 
15769
  def read(self, iprot):
15770
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15771
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15772
      return
15773
    iprot.readStructBegin()
15774
    while True:
15775
      (fname, ftype, fid) = iprot.readFieldBegin()
15776
      if ftype == TType.STOP:
15777
        break
15778
      if fid == 0:
15779
        if ftype == TType.BOOL:
15780
          self.success = iprot.readBool();
15781
        else:
15782
          iprot.skip(ftype)
15783
      else:
15784
        iprot.skip(ftype)
15785
      iprot.readFieldEnd()
15786
    iprot.readStructEnd()
15787
 
15788
  def write(self, oprot):
15789
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15790
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15791
      return
15792
    oprot.writeStructBegin('deleteBanner_result')
15793
    if self.success is not None:
15794
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15795
      oprot.writeBool(self.success)
15796
      oprot.writeFieldEnd()
15797
    oprot.writeFieldStop()
15798
    oprot.writeStructEnd()
15799
 
15800
  def validate(self):
15801
    return
15802
 
15803
 
15804
  def __repr__(self):
15805
    L = ['%s=%r' % (key, value)
15806
      for key, value in self.__dict__.iteritems()]
15807
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15808
 
15809
  def __eq__(self, other):
15810
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15811
 
15812
  def __ne__(self, other):
15813
    return not (self == other)
15814
 
15815
class getBannerDetails_args:
15816
  """
15817
  Attributes:
15818
   - bannerName
9155 kshitij.so 15819
   - bannerType
6850 kshitij.so 15820
  """
15821
 
15822
  thrift_spec = (
15823
    None, # 0
15824
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 15825
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 15826
  )
15827
 
9155 kshitij.so 15828
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 15829
    self.bannerName = bannerName
9155 kshitij.so 15830
    self.bannerType = bannerType
6850 kshitij.so 15831
 
15832
  def read(self, iprot):
15833
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15834
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15835
      return
15836
    iprot.readStructBegin()
15837
    while True:
15838
      (fname, ftype, fid) = iprot.readFieldBegin()
15839
      if ftype == TType.STOP:
15840
        break
15841
      if fid == 1:
15842
        if ftype == TType.STRING:
15843
          self.bannerName = iprot.readString();
15844
        else:
15845
          iprot.skip(ftype)
9155 kshitij.so 15846
      elif fid == 2:
15847
        if ftype == TType.I32:
15848
          self.bannerType = iprot.readI32();
15849
        else:
15850
          iprot.skip(ftype)
6850 kshitij.so 15851
      else:
15852
        iprot.skip(ftype)
15853
      iprot.readFieldEnd()
15854
    iprot.readStructEnd()
15855
 
15856
  def write(self, oprot):
15857
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15858
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15859
      return
15860
    oprot.writeStructBegin('getBannerDetails_args')
15861
    if self.bannerName is not None:
15862
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15863
      oprot.writeString(self.bannerName)
15864
      oprot.writeFieldEnd()
9155 kshitij.so 15865
    if self.bannerType is not None:
15866
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
15867
      oprot.writeI32(self.bannerType)
15868
      oprot.writeFieldEnd()
6850 kshitij.so 15869
    oprot.writeFieldStop()
15870
    oprot.writeStructEnd()
15871
 
15872
  def validate(self):
15873
    return
15874
 
15875
 
15876
  def __repr__(self):
15877
    L = ['%s=%r' % (key, value)
15878
      for key, value in self.__dict__.iteritems()]
15879
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15880
 
15881
  def __eq__(self, other):
15882
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15883
 
15884
  def __ne__(self, other):
15885
    return not (self == other)
15886
 
15887
class getBannerDetails_result:
15888
  """
15889
  Attributes:
15890
   - success
15891
  """
15892
 
15893
  thrift_spec = (
15894
    (0, TType.STRUCT, 'success', (Banner, Banner.thrift_spec), None, ), # 0
15895
  )
15896
 
15897
  def __init__(self, success=None,):
15898
    self.success = success
15899
 
15900
  def read(self, iprot):
15901
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15902
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15903
      return
15904
    iprot.readStructBegin()
15905
    while True:
15906
      (fname, ftype, fid) = iprot.readFieldBegin()
15907
      if ftype == TType.STOP:
15908
        break
15909
      if fid == 0:
15910
        if ftype == TType.STRUCT:
15911
          self.success = Banner()
15912
          self.success.read(iprot)
15913
        else:
15914
          iprot.skip(ftype)
15915
      else:
15916
        iprot.skip(ftype)
15917
      iprot.readFieldEnd()
15918
    iprot.readStructEnd()
15919
 
15920
  def write(self, oprot):
15921
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15922
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15923
      return
15924
    oprot.writeStructBegin('getBannerDetails_result')
15925
    if self.success is not None:
15926
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
15927
      self.success.write(oprot)
15928
      oprot.writeFieldEnd()
15929
    oprot.writeFieldStop()
15930
    oprot.writeStructEnd()
15931
 
15932
  def validate(self):
15933
    return
15934
 
15935
 
15936
  def __repr__(self):
15937
    L = ['%s=%r' % (key, value)
15938
      for key, value in self.__dict__.iteritems()]
15939
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15940
 
15941
  def __eq__(self, other):
15942
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15943
 
15944
  def __ne__(self, other):
15945
    return not (self == other)
15946
 
15947
class getActiveBanners_args:
15948
 
15949
  thrift_spec = (
15950
  )
15951
 
15952
  def read(self, iprot):
15953
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15954
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15955
      return
15956
    iprot.readStructBegin()
15957
    while True:
15958
      (fname, ftype, fid) = iprot.readFieldBegin()
15959
      if ftype == TType.STOP:
15960
        break
15961
      else:
15962
        iprot.skip(ftype)
15963
      iprot.readFieldEnd()
15964
    iprot.readStructEnd()
15965
 
15966
  def write(self, oprot):
15967
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15968
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15969
      return
15970
    oprot.writeStructBegin('getActiveBanners_args')
15971
    oprot.writeFieldStop()
15972
    oprot.writeStructEnd()
15973
 
15974
  def validate(self):
15975
    return
15976
 
15977
 
15978
  def __repr__(self):
15979
    L = ['%s=%r' % (key, value)
15980
      for key, value in self.__dict__.iteritems()]
15981
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15982
 
15983
  def __eq__(self, other):
15984
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15985
 
15986
  def __ne__(self, other):
15987
    return not (self == other)
15988
 
15989
class getActiveBanners_result:
15990
  """
15991
  Attributes:
15992
   - success
15993
  """
15994
 
15995
  thrift_spec = (
8579 kshitij.so 15996
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
6850 kshitij.so 15997
  )
15998
 
15999
  def __init__(self, success=None,):
16000
    self.success = success
16001
 
16002
  def read(self, iprot):
16003
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16004
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16005
      return
16006
    iprot.readStructBegin()
16007
    while True:
16008
      (fname, ftype, fid) = iprot.readFieldBegin()
16009
      if ftype == TType.STOP:
16010
        break
16011
      if fid == 0:
8579 kshitij.so 16012
        if ftype == TType.MAP:
16013
          self.success = {}
13493 amit.gupta 16014
          (_ktype228, _vtype229, _size227 ) = iprot.readMapBegin() 
16015
          for _i231 in xrange(_size227):
16016
            _key232 = iprot.readString();
16017
            _val233 = []
16018
            (_etype237, _size234) = iprot.readListBegin()
16019
            for _i238 in xrange(_size234):
16020
              _elem239 = Banner()
16021
              _elem239.read(iprot)
16022
              _val233.append(_elem239)
8579 kshitij.so 16023
            iprot.readListEnd()
13493 amit.gupta 16024
            self.success[_key232] = _val233
8579 kshitij.so 16025
          iprot.readMapEnd()
6850 kshitij.so 16026
        else:
16027
          iprot.skip(ftype)
16028
      else:
16029
        iprot.skip(ftype)
16030
      iprot.readFieldEnd()
16031
    iprot.readStructEnd()
16032
 
16033
  def write(self, oprot):
16034
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16035
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16036
      return
16037
    oprot.writeStructBegin('getActiveBanners_result')
16038
    if self.success is not None:
8579 kshitij.so 16039
      oprot.writeFieldBegin('success', TType.MAP, 0)
16040
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
13493 amit.gupta 16041
      for kiter240,viter241 in self.success.items():
16042
        oprot.writeString(kiter240)
16043
        oprot.writeListBegin(TType.STRUCT, len(viter241))
16044
        for iter242 in viter241:
16045
          iter242.write(oprot)
8579 kshitij.so 16046
        oprot.writeListEnd()
16047
      oprot.writeMapEnd()
6850 kshitij.so 16048
      oprot.writeFieldEnd()
16049
    oprot.writeFieldStop()
16050
    oprot.writeStructEnd()
16051
 
16052
  def validate(self):
16053
    return
16054
 
16055
 
16056
  def __repr__(self):
16057
    L = ['%s=%r' % (key, value)
16058
      for key, value in self.__dict__.iteritems()]
16059
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16060
 
16061
  def __eq__(self, other):
16062
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16063
 
16064
  def __ne__(self, other):
16065
    return not (self == other)
16066
 
6849 kshitij.so 16067
class addBannerMap_args:
16068
  """
16069
  Attributes:
8579 kshitij.so 16070
   - bannerMaps
6849 kshitij.so 16071
  """
16072
 
16073
  thrift_spec = (
16074
    None, # 0
8579 kshitij.so 16075
    (1, TType.LIST, 'bannerMaps', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 1
6849 kshitij.so 16076
  )
16077
 
8579 kshitij.so 16078
  def __init__(self, bannerMaps=None,):
16079
    self.bannerMaps = bannerMaps
6849 kshitij.so 16080
 
16081
  def read(self, iprot):
16082
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16083
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16084
      return
16085
    iprot.readStructBegin()
16086
    while True:
16087
      (fname, ftype, fid) = iprot.readFieldBegin()
16088
      if ftype == TType.STOP:
16089
        break
16090
      if fid == 1:
8579 kshitij.so 16091
        if ftype == TType.LIST:
16092
          self.bannerMaps = []
13493 amit.gupta 16093
          (_etype246, _size243) = iprot.readListBegin()
16094
          for _i247 in xrange(_size243):
16095
            _elem248 = BannerMap()
16096
            _elem248.read(iprot)
16097
            self.bannerMaps.append(_elem248)
8579 kshitij.so 16098
          iprot.readListEnd()
6849 kshitij.so 16099
        else:
16100
          iprot.skip(ftype)
8579 kshitij.so 16101
      else:
16102
        iprot.skip(ftype)
16103
      iprot.readFieldEnd()
16104
    iprot.readStructEnd()
16105
 
16106
  def write(self, oprot):
16107
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16108
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16109
      return
16110
    oprot.writeStructBegin('addBannerMap_args')
16111
    if self.bannerMaps is not None:
16112
      oprot.writeFieldBegin('bannerMaps', TType.LIST, 1)
16113
      oprot.writeListBegin(TType.STRUCT, len(self.bannerMaps))
13493 amit.gupta 16114
      for iter249 in self.bannerMaps:
16115
        iter249.write(oprot)
8579 kshitij.so 16116
      oprot.writeListEnd()
16117
      oprot.writeFieldEnd()
16118
    oprot.writeFieldStop()
16119
    oprot.writeStructEnd()
16120
 
16121
  def validate(self):
16122
    return
16123
 
16124
 
16125
  def __repr__(self):
16126
    L = ['%s=%r' % (key, value)
16127
      for key, value in self.__dict__.iteritems()]
16128
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16129
 
16130
  def __eq__(self, other):
16131
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16132
 
16133
  def __ne__(self, other):
16134
    return not (self == other)
16135
 
16136
class addBannerMap_result:
16137
  """
16138
  Attributes:
16139
   - success
16140
  """
16141
 
16142
  thrift_spec = (
16143
    (0, TType.BOOL, 'success', None, None, ), # 0
16144
  )
16145
 
16146
  def __init__(self, success=None,):
16147
    self.success = success
16148
 
16149
  def read(self, iprot):
16150
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16151
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16152
      return
16153
    iprot.readStructBegin()
16154
    while True:
16155
      (fname, ftype, fid) = iprot.readFieldBegin()
16156
      if ftype == TType.STOP:
16157
        break
16158
      if fid == 0:
16159
        if ftype == TType.BOOL:
16160
          self.success = iprot.readBool();
6849 kshitij.so 16161
        else:
16162
          iprot.skip(ftype)
8579 kshitij.so 16163
      else:
16164
        iprot.skip(ftype)
16165
      iprot.readFieldEnd()
16166
    iprot.readStructEnd()
16167
 
16168
  def write(self, oprot):
16169
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16170
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16171
      return
16172
    oprot.writeStructBegin('addBannerMap_result')
16173
    if self.success is not None:
16174
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16175
      oprot.writeBool(self.success)
16176
      oprot.writeFieldEnd()
16177
    oprot.writeFieldStop()
16178
    oprot.writeStructEnd()
16179
 
16180
  def validate(self):
16181
    return
16182
 
16183
 
16184
  def __repr__(self):
16185
    L = ['%s=%r' % (key, value)
16186
      for key, value in self.__dict__.iteritems()]
16187
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16188
 
16189
  def __eq__(self, other):
16190
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16191
 
16192
  def __ne__(self, other):
16193
    return not (self == other)
16194
 
16195
class updateBannerMap_args:
16196
  """
16197
  Attributes:
16198
   - bannerMap
16199
  """
16200
 
16201
  thrift_spec = (
16202
    None, # 0
16203
    (1, TType.STRUCT, 'bannerMap', (BannerMap, BannerMap.thrift_spec), None, ), # 1
16204
  )
16205
 
16206
  def __init__(self, bannerMap=None,):
16207
    self.bannerMap = bannerMap
16208
 
16209
  def read(self, iprot):
16210
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16211
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16212
      return
16213
    iprot.readStructBegin()
16214
    while True:
16215
      (fname, ftype, fid) = iprot.readFieldBegin()
16216
      if ftype == TType.STOP:
16217
        break
16218
      if fid == 1:
16219
        if ftype == TType.STRUCT:
16220
          self.bannerMap = BannerMap()
16221
          self.bannerMap.read(iprot)
6849 kshitij.so 16222
        else:
16223
          iprot.skip(ftype)
16224
      else:
16225
        iprot.skip(ftype)
16226
      iprot.readFieldEnd()
16227
    iprot.readStructEnd()
16228
 
16229
  def write(self, oprot):
16230
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16231
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16232
      return
8579 kshitij.so 16233
    oprot.writeStructBegin('updateBannerMap_args')
16234
    if self.bannerMap is not None:
16235
      oprot.writeFieldBegin('bannerMap', TType.STRUCT, 1)
16236
      self.bannerMap.write(oprot)
6849 kshitij.so 16237
      oprot.writeFieldEnd()
16238
    oprot.writeFieldStop()
16239
    oprot.writeStructEnd()
16240
 
16241
  def validate(self):
16242
    return
16243
 
16244
 
16245
  def __repr__(self):
16246
    L = ['%s=%r' % (key, value)
16247
      for key, value in self.__dict__.iteritems()]
16248
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16249
 
16250
  def __eq__(self, other):
16251
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16252
 
16253
  def __ne__(self, other):
16254
    return not (self == other)
16255
 
8579 kshitij.so 16256
class updateBannerMap_result:
6849 kshitij.so 16257
  """
16258
  Attributes:
16259
   - success
16260
  """
16261
 
16262
  thrift_spec = (
16263
    (0, TType.BOOL, 'success', None, None, ), # 0
16264
  )
16265
 
16266
  def __init__(self, success=None,):
16267
    self.success = success
16268
 
16269
  def read(self, iprot):
16270
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16271
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16272
      return
16273
    iprot.readStructBegin()
16274
    while True:
16275
      (fname, ftype, fid) = iprot.readFieldBegin()
16276
      if ftype == TType.STOP:
16277
        break
16278
      if fid == 0:
16279
        if ftype == TType.BOOL:
16280
          self.success = iprot.readBool();
16281
        else:
16282
          iprot.skip(ftype)
16283
      else:
16284
        iprot.skip(ftype)
16285
      iprot.readFieldEnd()
16286
    iprot.readStructEnd()
16287
 
16288
  def write(self, oprot):
16289
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16290
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16291
      return
8579 kshitij.so 16292
    oprot.writeStructBegin('updateBannerMap_result')
6849 kshitij.so 16293
    if self.success is not None:
16294
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16295
      oprot.writeBool(self.success)
16296
      oprot.writeFieldEnd()
16297
    oprot.writeFieldStop()
16298
    oprot.writeStructEnd()
16299
 
16300
  def validate(self):
16301
    return
16302
 
16303
 
16304
  def __repr__(self):
16305
    L = ['%s=%r' % (key, value)
16306
      for key, value in self.__dict__.iteritems()]
16307
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16308
 
16309
  def __eq__(self, other):
16310
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16311
 
16312
  def __ne__(self, other):
16313
    return not (self == other)
16314
 
16315
class deleteBannerMap_args:
16316
  """
16317
  Attributes:
16318
   - bannerName
16319
  """
16320
 
16321
  thrift_spec = (
16322
    None, # 0
16323
    (1, TType.STRING, 'bannerName', None, None, ), # 1
16324
  )
16325
 
16326
  def __init__(self, bannerName=None,):
16327
    self.bannerName = bannerName
16328
 
16329
  def read(self, iprot):
16330
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16331
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16332
      return
16333
    iprot.readStructBegin()
16334
    while True:
16335
      (fname, ftype, fid) = iprot.readFieldBegin()
16336
      if ftype == TType.STOP:
16337
        break
16338
      if fid == 1:
16339
        if ftype == TType.STRING:
16340
          self.bannerName = iprot.readString();
16341
        else:
16342
          iprot.skip(ftype)
16343
      else:
16344
        iprot.skip(ftype)
16345
      iprot.readFieldEnd()
16346
    iprot.readStructEnd()
16347
 
16348
  def write(self, oprot):
16349
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16350
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16351
      return
16352
    oprot.writeStructBegin('deleteBannerMap_args')
16353
    if self.bannerName is not None:
16354
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16355
      oprot.writeString(self.bannerName)
16356
      oprot.writeFieldEnd()
16357
    oprot.writeFieldStop()
16358
    oprot.writeStructEnd()
16359
 
16360
  def validate(self):
16361
    return
16362
 
16363
 
16364
  def __repr__(self):
16365
    L = ['%s=%r' % (key, value)
16366
      for key, value in self.__dict__.iteritems()]
16367
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16368
 
16369
  def __eq__(self, other):
16370
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16371
 
16372
  def __ne__(self, other):
16373
    return not (self == other)
16374
 
16375
class deleteBannerMap_result:
16376
  """
16377
  Attributes:
16378
   - success
16379
  """
16380
 
16381
  thrift_spec = (
16382
    (0, TType.BOOL, 'success', None, None, ), # 0
16383
  )
16384
 
16385
  def __init__(self, success=None,):
16386
    self.success = success
16387
 
16388
  def read(self, iprot):
16389
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16390
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16391
      return
16392
    iprot.readStructBegin()
16393
    while True:
16394
      (fname, ftype, fid) = iprot.readFieldBegin()
16395
      if ftype == TType.STOP:
16396
        break
16397
      if fid == 0:
16398
        if ftype == TType.BOOL:
16399
          self.success = iprot.readBool();
16400
        else:
16401
          iprot.skip(ftype)
16402
      else:
16403
        iprot.skip(ftype)
16404
      iprot.readFieldEnd()
16405
    iprot.readStructEnd()
16406
 
16407
  def write(self, oprot):
16408
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16409
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16410
      return
16411
    oprot.writeStructBegin('deleteBannerMap_result')
16412
    if self.success is not None:
16413
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16414
      oprot.writeBool(self.success)
16415
      oprot.writeFieldEnd()
16416
    oprot.writeFieldStop()
16417
    oprot.writeStructEnd()
16418
 
16419
  def validate(self):
16420
    return
16421
 
16422
 
16423
  def __repr__(self):
16424
    L = ['%s=%r' % (key, value)
16425
      for key, value in self.__dict__.iteritems()]
16426
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16427
 
16428
  def __eq__(self, other):
16429
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16430
 
16431
  def __ne__(self, other):
16432
    return not (self == other)
16433
 
16434
class getBannerMapDetails_args:
16435
  """
16436
  Attributes:
16437
   - bannerName
9155 kshitij.so 16438
   - bannerType
6849 kshitij.so 16439
  """
16440
 
16441
  thrift_spec = (
16442
    None, # 0
16443
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16444
    (2, TType.I32, 'bannerType', None, None, ), # 2
6849 kshitij.so 16445
  )
16446
 
9155 kshitij.so 16447
  def __init__(self, bannerName=None, bannerType=None,):
6849 kshitij.so 16448
    self.bannerName = bannerName
9155 kshitij.so 16449
    self.bannerType = bannerType
6849 kshitij.so 16450
 
16451
  def read(self, iprot):
16452
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16453
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16454
      return
16455
    iprot.readStructBegin()
16456
    while True:
16457
      (fname, ftype, fid) = iprot.readFieldBegin()
16458
      if ftype == TType.STOP:
16459
        break
16460
      if fid == 1:
16461
        if ftype == TType.STRING:
16462
          self.bannerName = iprot.readString();
16463
        else:
16464
          iprot.skip(ftype)
9155 kshitij.so 16465
      elif fid == 2:
16466
        if ftype == TType.I32:
16467
          self.bannerType = iprot.readI32();
16468
        else:
16469
          iprot.skip(ftype)
6849 kshitij.so 16470
      else:
16471
        iprot.skip(ftype)
16472
      iprot.readFieldEnd()
16473
    iprot.readStructEnd()
16474
 
16475
  def write(self, oprot):
16476
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16477
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16478
      return
16479
    oprot.writeStructBegin('getBannerMapDetails_args')
16480
    if self.bannerName is not None:
16481
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16482
      oprot.writeString(self.bannerName)
16483
      oprot.writeFieldEnd()
9155 kshitij.so 16484
    if self.bannerType is not None:
16485
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
16486
      oprot.writeI32(self.bannerType)
16487
      oprot.writeFieldEnd()
6849 kshitij.so 16488
    oprot.writeFieldStop()
16489
    oprot.writeStructEnd()
16490
 
16491
  def validate(self):
16492
    return
16493
 
16494
 
16495
  def __repr__(self):
16496
    L = ['%s=%r' % (key, value)
16497
      for key, value in self.__dict__.iteritems()]
16498
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16499
 
16500
  def __eq__(self, other):
16501
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16502
 
16503
  def __ne__(self, other):
16504
    return not (self == other)
16505
 
16506
class getBannerMapDetails_result:
16507
  """
16508
  Attributes:
16509
   - success
16510
  """
16511
 
16512
  thrift_spec = (
16513
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 0
16514
  )
16515
 
16516
  def __init__(self, success=None,):
16517
    self.success = success
16518
 
16519
  def read(self, iprot):
16520
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16521
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16522
      return
16523
    iprot.readStructBegin()
16524
    while True:
16525
      (fname, ftype, fid) = iprot.readFieldBegin()
16526
      if ftype == TType.STOP:
16527
        break
16528
      if fid == 0:
16529
        if ftype == TType.LIST:
16530
          self.success = []
13493 amit.gupta 16531
          (_etype253, _size250) = iprot.readListBegin()
16532
          for _i254 in xrange(_size250):
16533
            _elem255 = BannerMap()
16534
            _elem255.read(iprot)
16535
            self.success.append(_elem255)
6849 kshitij.so 16536
          iprot.readListEnd()
16537
        else:
16538
          iprot.skip(ftype)
16539
      else:
16540
        iprot.skip(ftype)
16541
      iprot.readFieldEnd()
16542
    iprot.readStructEnd()
16543
 
16544
  def write(self, oprot):
16545
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16546
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16547
      return
16548
    oprot.writeStructBegin('getBannerMapDetails_result')
16549
    if self.success is not None:
16550
      oprot.writeFieldBegin('success', TType.LIST, 0)
16551
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 16552
      for iter256 in self.success:
16553
        iter256.write(oprot)
6849 kshitij.so 16554
      oprot.writeListEnd()
16555
      oprot.writeFieldEnd()
16556
    oprot.writeFieldStop()
16557
    oprot.writeStructEnd()
16558
 
16559
  def validate(self):
16560
    return
16561
 
16562
 
16563
  def __repr__(self):
16564
    L = ['%s=%r' % (key, value)
16565
      for key, value in self.__dict__.iteritems()]
16566
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16567
 
16568
  def __eq__(self, other):
16569
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16570
 
16571
  def __ne__(self, other):
16572
    return not (self == other)
16573
 
8579 kshitij.so 16574
class addBannerUri_args:
16575
  """
16576
  Attributes:
16577
   - bannerUriMappings
16578
  """
16579
 
16580
  thrift_spec = (
16581
    None, # 0
16582
    (1, TType.LIST, 'bannerUriMappings', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 1
16583
  )
16584
 
16585
  def __init__(self, bannerUriMappings=None,):
16586
    self.bannerUriMappings = bannerUriMappings
16587
 
16588
  def read(self, iprot):
16589
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16590
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16591
      return
16592
    iprot.readStructBegin()
16593
    while True:
16594
      (fname, ftype, fid) = iprot.readFieldBegin()
16595
      if ftype == TType.STOP:
16596
        break
16597
      if fid == 1:
16598
        if ftype == TType.LIST:
16599
          self.bannerUriMappings = []
13493 amit.gupta 16600
          (_etype260, _size257) = iprot.readListBegin()
16601
          for _i261 in xrange(_size257):
16602
            _elem262 = BannerUriMapping()
16603
            _elem262.read(iprot)
16604
            self.bannerUriMappings.append(_elem262)
8579 kshitij.so 16605
          iprot.readListEnd()
16606
        else:
16607
          iprot.skip(ftype)
16608
      else:
16609
        iprot.skip(ftype)
16610
      iprot.readFieldEnd()
16611
    iprot.readStructEnd()
16612
 
16613
  def write(self, oprot):
16614
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16615
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16616
      return
16617
    oprot.writeStructBegin('addBannerUri_args')
16618
    if self.bannerUriMappings is not None:
16619
      oprot.writeFieldBegin('bannerUriMappings', TType.LIST, 1)
16620
      oprot.writeListBegin(TType.STRUCT, len(self.bannerUriMappings))
13493 amit.gupta 16621
      for iter263 in self.bannerUriMappings:
16622
        iter263.write(oprot)
8579 kshitij.so 16623
      oprot.writeListEnd()
16624
      oprot.writeFieldEnd()
16625
    oprot.writeFieldStop()
16626
    oprot.writeStructEnd()
16627
 
16628
  def validate(self):
16629
    return
16630
 
16631
 
16632
  def __repr__(self):
16633
    L = ['%s=%r' % (key, value)
16634
      for key, value in self.__dict__.iteritems()]
16635
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16636
 
16637
  def __eq__(self, other):
16638
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16639
 
16640
  def __ne__(self, other):
16641
    return not (self == other)
16642
 
16643
class addBannerUri_result:
16644
 
16645
  thrift_spec = (
16646
  )
16647
 
16648
  def read(self, iprot):
16649
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16650
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16651
      return
16652
    iprot.readStructBegin()
16653
    while True:
16654
      (fname, ftype, fid) = iprot.readFieldBegin()
16655
      if ftype == TType.STOP:
16656
        break
16657
      else:
16658
        iprot.skip(ftype)
16659
      iprot.readFieldEnd()
16660
    iprot.readStructEnd()
16661
 
16662
  def write(self, oprot):
16663
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16664
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16665
      return
16666
    oprot.writeStructBegin('addBannerUri_result')
16667
    oprot.writeFieldStop()
16668
    oprot.writeStructEnd()
16669
 
16670
  def validate(self):
16671
    return
16672
 
16673
 
16674
  def __repr__(self):
16675
    L = ['%s=%r' % (key, value)
16676
      for key, value in self.__dict__.iteritems()]
16677
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16678
 
16679
  def __eq__(self, other):
16680
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16681
 
16682
  def __ne__(self, other):
16683
    return not (self == other)
16684
 
16685
class getUriMapping_args:
16686
  """
16687
  Attributes:
16688
   - bannerName
9155 kshitij.so 16689
   - bannerType
8579 kshitij.so 16690
  """
16691
 
16692
  thrift_spec = (
16693
    None, # 0
16694
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16695
    (2, TType.I32, 'bannerType', None, None, ), # 2
8579 kshitij.so 16696
  )
16697
 
9155 kshitij.so 16698
  def __init__(self, bannerName=None, bannerType=None,):
8579 kshitij.so 16699
    self.bannerName = bannerName
9155 kshitij.so 16700
    self.bannerType = bannerType
8579 kshitij.so 16701
 
16702
  def read(self, iprot):
16703
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16704
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16705
      return
16706
    iprot.readStructBegin()
16707
    while True:
16708
      (fname, ftype, fid) = iprot.readFieldBegin()
16709
      if ftype == TType.STOP:
16710
        break
16711
      if fid == 1:
16712
        if ftype == TType.STRING:
16713
          self.bannerName = iprot.readString();
16714
        else:
16715
          iprot.skip(ftype)
9155 kshitij.so 16716
      elif fid == 2:
16717
        if ftype == TType.I32:
16718
          self.bannerType = iprot.readI32();
16719
        else:
16720
          iprot.skip(ftype)
8579 kshitij.so 16721
      else:
16722
        iprot.skip(ftype)
16723
      iprot.readFieldEnd()
16724
    iprot.readStructEnd()
16725
 
16726
  def write(self, oprot):
16727
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16728
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16729
      return
16730
    oprot.writeStructBegin('getUriMapping_args')
16731
    if self.bannerName is not None:
16732
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16733
      oprot.writeString(self.bannerName)
16734
      oprot.writeFieldEnd()
9155 kshitij.so 16735
    if self.bannerType is not None:
16736
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
16737
      oprot.writeI32(self.bannerType)
16738
      oprot.writeFieldEnd()
8579 kshitij.so 16739
    oprot.writeFieldStop()
16740
    oprot.writeStructEnd()
16741
 
16742
  def validate(self):
16743
    return
16744
 
16745
 
16746
  def __repr__(self):
16747
    L = ['%s=%r' % (key, value)
16748
      for key, value in self.__dict__.iteritems()]
16749
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16750
 
16751
  def __eq__(self, other):
16752
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16753
 
16754
  def __ne__(self, other):
16755
    return not (self == other)
16756
 
16757
class getUriMapping_result:
16758
  """
16759
  Attributes:
16760
   - success
16761
  """
16762
 
16763
  thrift_spec = (
16764
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 0
16765
  )
16766
 
16767
  def __init__(self, success=None,):
16768
    self.success = success
16769
 
16770
  def read(self, iprot):
16771
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16772
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16773
      return
16774
    iprot.readStructBegin()
16775
    while True:
16776
      (fname, ftype, fid) = iprot.readFieldBegin()
16777
      if ftype == TType.STOP:
16778
        break
16779
      if fid == 0:
16780
        if ftype == TType.LIST:
16781
          self.success = []
13493 amit.gupta 16782
          (_etype267, _size264) = iprot.readListBegin()
16783
          for _i268 in xrange(_size264):
16784
            _elem269 = BannerUriMapping()
16785
            _elem269.read(iprot)
16786
            self.success.append(_elem269)
8579 kshitij.so 16787
          iprot.readListEnd()
16788
        else:
16789
          iprot.skip(ftype)
16790
      else:
16791
        iprot.skip(ftype)
16792
      iprot.readFieldEnd()
16793
    iprot.readStructEnd()
16794
 
16795
  def write(self, oprot):
16796
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16797
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16798
      return
16799
    oprot.writeStructBegin('getUriMapping_result')
16800
    if self.success is not None:
16801
      oprot.writeFieldBegin('success', TType.LIST, 0)
16802
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 16803
      for iter270 in self.success:
16804
        iter270.write(oprot)
8579 kshitij.so 16805
      oprot.writeListEnd()
16806
      oprot.writeFieldEnd()
16807
    oprot.writeFieldStop()
16808
    oprot.writeStructEnd()
16809
 
16810
  def validate(self):
16811
    return
16812
 
16813
 
16814
  def __repr__(self):
16815
    L = ['%s=%r' % (key, value)
16816
      for key, value in self.__dict__.iteritems()]
16817
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16818
 
16819
  def __eq__(self, other):
16820
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16821
 
16822
  def __ne__(self, other):
16823
    return not (self == other)
16824
 
16825
class addCampaign_args:
16826
  """
16827
  Attributes:
16828
   - campaign
16829
  """
16830
 
16831
  thrift_spec = (
16832
    None, # 0
16833
    (1, TType.STRUCT, 'campaign', (Campaign, Campaign.thrift_spec), None, ), # 1
16834
  )
16835
 
16836
  def __init__(self, campaign=None,):
16837
    self.campaign = campaign
16838
 
16839
  def read(self, iprot):
16840
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16841
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16842
      return
16843
    iprot.readStructBegin()
16844
    while True:
16845
      (fname, ftype, fid) = iprot.readFieldBegin()
16846
      if ftype == TType.STOP:
16847
        break
16848
      if fid == 1:
16849
        if ftype == TType.STRUCT:
16850
          self.campaign = Campaign()
16851
          self.campaign.read(iprot)
16852
        else:
16853
          iprot.skip(ftype)
16854
      else:
16855
        iprot.skip(ftype)
16856
      iprot.readFieldEnd()
16857
    iprot.readStructEnd()
16858
 
16859
  def write(self, oprot):
16860
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16861
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16862
      return
16863
    oprot.writeStructBegin('addCampaign_args')
16864
    if self.campaign is not None:
16865
      oprot.writeFieldBegin('campaign', TType.STRUCT, 1)
16866
      self.campaign.write(oprot)
16867
      oprot.writeFieldEnd()
16868
    oprot.writeFieldStop()
16869
    oprot.writeStructEnd()
16870
 
16871
  def validate(self):
16872
    return
16873
 
16874
 
16875
  def __repr__(self):
16876
    L = ['%s=%r' % (key, value)
16877
      for key, value in self.__dict__.iteritems()]
16878
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16879
 
16880
  def __eq__(self, other):
16881
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16882
 
16883
  def __ne__(self, other):
16884
    return not (self == other)
16885
 
16886
class addCampaign_result:
16887
 
16888
  thrift_spec = (
16889
  )
16890
 
16891
  def read(self, iprot):
16892
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16893
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16894
      return
16895
    iprot.readStructBegin()
16896
    while True:
16897
      (fname, ftype, fid) = iprot.readFieldBegin()
16898
      if ftype == TType.STOP:
16899
        break
16900
      else:
16901
        iprot.skip(ftype)
16902
      iprot.readFieldEnd()
16903
    iprot.readStructEnd()
16904
 
16905
  def write(self, oprot):
16906
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16907
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16908
      return
16909
    oprot.writeStructBegin('addCampaign_result')
16910
    oprot.writeFieldStop()
16911
    oprot.writeStructEnd()
16912
 
16913
  def validate(self):
16914
    return
16915
 
16916
 
16917
  def __repr__(self):
16918
    L = ['%s=%r' % (key, value)
16919
      for key, value in self.__dict__.iteritems()]
16920
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16921
 
16922
  def __eq__(self, other):
16923
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16924
 
16925
  def __ne__(self, other):
16926
    return not (self == other)
16927
 
16928
class getCampaigns_args:
16929
  """
16930
  Attributes:
16931
   - campaignName
16932
  """
16933
 
16934
  thrift_spec = (
16935
    None, # 0
16936
    (1, TType.STRING, 'campaignName', None, None, ), # 1
16937
  )
16938
 
16939
  def __init__(self, campaignName=None,):
16940
    self.campaignName = campaignName
16941
 
16942
  def read(self, iprot):
16943
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16944
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16945
      return
16946
    iprot.readStructBegin()
16947
    while True:
16948
      (fname, ftype, fid) = iprot.readFieldBegin()
16949
      if ftype == TType.STOP:
16950
        break
16951
      if fid == 1:
16952
        if ftype == TType.STRING:
16953
          self.campaignName = iprot.readString();
16954
        else:
16955
          iprot.skip(ftype)
16956
      else:
16957
        iprot.skip(ftype)
16958
      iprot.readFieldEnd()
16959
    iprot.readStructEnd()
16960
 
16961
  def write(self, oprot):
16962
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16963
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16964
      return
16965
    oprot.writeStructBegin('getCampaigns_args')
16966
    if self.campaignName is not None:
16967
      oprot.writeFieldBegin('campaignName', TType.STRING, 1)
16968
      oprot.writeString(self.campaignName)
16969
      oprot.writeFieldEnd()
16970
    oprot.writeFieldStop()
16971
    oprot.writeStructEnd()
16972
 
16973
  def validate(self):
16974
    return
16975
 
16976
 
16977
  def __repr__(self):
16978
    L = ['%s=%r' % (key, value)
16979
      for key, value in self.__dict__.iteritems()]
16980
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16981
 
16982
  def __eq__(self, other):
16983
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16984
 
16985
  def __ne__(self, other):
16986
    return not (self == other)
16987
 
16988
class getCampaigns_result:
16989
  """
16990
  Attributes:
16991
   - success
16992
  """
16993
 
16994
  thrift_spec = (
16995
    (0, TType.LIST, 'success', (TType.STRUCT,(Campaign, Campaign.thrift_spec)), None, ), # 0
16996
  )
16997
 
16998
  def __init__(self, success=None,):
16999
    self.success = success
17000
 
17001
  def read(self, iprot):
17002
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17003
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17004
      return
17005
    iprot.readStructBegin()
17006
    while True:
17007
      (fname, ftype, fid) = iprot.readFieldBegin()
17008
      if ftype == TType.STOP:
17009
        break
17010
      if fid == 0:
17011
        if ftype == TType.LIST:
17012
          self.success = []
13493 amit.gupta 17013
          (_etype274, _size271) = iprot.readListBegin()
17014
          for _i275 in xrange(_size271):
17015
            _elem276 = Campaign()
17016
            _elem276.read(iprot)
17017
            self.success.append(_elem276)
8579 kshitij.so 17018
          iprot.readListEnd()
17019
        else:
17020
          iprot.skip(ftype)
17021
      else:
17022
        iprot.skip(ftype)
17023
      iprot.readFieldEnd()
17024
    iprot.readStructEnd()
17025
 
17026
  def write(self, oprot):
17027
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17028
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17029
      return
17030
    oprot.writeStructBegin('getCampaigns_result')
17031
    if self.success is not None:
17032
      oprot.writeFieldBegin('success', TType.LIST, 0)
17033
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 17034
      for iter277 in self.success:
17035
        iter277.write(oprot)
8579 kshitij.so 17036
      oprot.writeListEnd()
17037
      oprot.writeFieldEnd()
17038
    oprot.writeFieldStop()
17039
    oprot.writeStructEnd()
17040
 
17041
  def validate(self):
17042
    return
17043
 
17044
 
17045
  def __repr__(self):
17046
    L = ['%s=%r' % (key, value)
17047
      for key, value in self.__dict__.iteritems()]
17048
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17049
 
17050
  def __eq__(self, other):
17051
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17052
 
17053
  def __ne__(self, other):
17054
    return not (self == other)
17055
 
17056
class deleteCampaign_args:
17057
  """
17058
  Attributes:
17059
   - campaignId
17060
  """
17061
 
17062
  thrift_spec = (
17063
    None, # 0
17064
    (1, TType.I64, 'campaignId', None, None, ), # 1
17065
  )
17066
 
17067
  def __init__(self, campaignId=None,):
17068
    self.campaignId = campaignId
17069
 
17070
  def read(self, iprot):
17071
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17072
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17073
      return
17074
    iprot.readStructBegin()
17075
    while True:
17076
      (fname, ftype, fid) = iprot.readFieldBegin()
17077
      if ftype == TType.STOP:
17078
        break
17079
      if fid == 1:
17080
        if ftype == TType.I64:
17081
          self.campaignId = iprot.readI64();
17082
        else:
17083
          iprot.skip(ftype)
17084
      else:
17085
        iprot.skip(ftype)
17086
      iprot.readFieldEnd()
17087
    iprot.readStructEnd()
17088
 
17089
  def write(self, oprot):
17090
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17091
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17092
      return
17093
    oprot.writeStructBegin('deleteCampaign_args')
17094
    if self.campaignId is not None:
17095
      oprot.writeFieldBegin('campaignId', TType.I64, 1)
17096
      oprot.writeI64(self.campaignId)
17097
      oprot.writeFieldEnd()
17098
    oprot.writeFieldStop()
17099
    oprot.writeStructEnd()
17100
 
17101
  def validate(self):
17102
    return
17103
 
17104
 
17105
  def __repr__(self):
17106
    L = ['%s=%r' % (key, value)
17107
      for key, value in self.__dict__.iteritems()]
17108
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17109
 
17110
  def __eq__(self, other):
17111
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17112
 
17113
  def __ne__(self, other):
17114
    return not (self == other)
17115
 
17116
class deleteCampaign_result:
17117
 
17118
  thrift_spec = (
17119
  )
17120
 
17121
  def read(self, iprot):
17122
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17123
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17124
      return
17125
    iprot.readStructBegin()
17126
    while True:
17127
      (fname, ftype, fid) = iprot.readFieldBegin()
17128
      if ftype == TType.STOP:
17129
        break
17130
      else:
17131
        iprot.skip(ftype)
17132
      iprot.readFieldEnd()
17133
    iprot.readStructEnd()
17134
 
17135
  def write(self, oprot):
17136
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17137
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17138
      return
17139
    oprot.writeStructBegin('deleteCampaign_result')
17140
    oprot.writeFieldStop()
17141
    oprot.writeStructEnd()
17142
 
17143
  def validate(self):
17144
    return
17145
 
17146
 
17147
  def __repr__(self):
17148
    L = ['%s=%r' % (key, value)
17149
      for key, value in self.__dict__.iteritems()]
17150
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17151
 
17152
  def __eq__(self, other):
17153
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17154
 
17155
  def __ne__(self, other):
17156
    return not (self == other)
17157
 
17158
class getAllCampaigns_args:
17159
 
17160
  thrift_spec = (
17161
  )
17162
 
17163
  def read(self, iprot):
17164
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17165
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17166
      return
17167
    iprot.readStructBegin()
17168
    while True:
17169
      (fname, ftype, fid) = iprot.readFieldBegin()
17170
      if ftype == TType.STOP:
17171
        break
17172
      else:
17173
        iprot.skip(ftype)
17174
      iprot.readFieldEnd()
17175
    iprot.readStructEnd()
17176
 
17177
  def write(self, oprot):
17178
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17179
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17180
      return
17181
    oprot.writeStructBegin('getAllCampaigns_args')
17182
    oprot.writeFieldStop()
17183
    oprot.writeStructEnd()
17184
 
17185
  def validate(self):
17186
    return
17187
 
17188
 
17189
  def __repr__(self):
17190
    L = ['%s=%r' % (key, value)
17191
      for key, value in self.__dict__.iteritems()]
17192
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17193
 
17194
  def __eq__(self, other):
17195
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17196
 
17197
  def __ne__(self, other):
17198
    return not (self == other)
17199
 
17200
class getAllCampaigns_result:
17201
  """
17202
  Attributes:
17203
   - success
17204
  """
17205
 
17206
  thrift_spec = (
17207
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
17208
  )
17209
 
17210
  def __init__(self, success=None,):
17211
    self.success = success
17212
 
17213
  def read(self, iprot):
17214
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17215
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17216
      return
17217
    iprot.readStructBegin()
17218
    while True:
17219
      (fname, ftype, fid) = iprot.readFieldBegin()
17220
      if ftype == TType.STOP:
17221
        break
17222
      if fid == 0:
17223
        if ftype == TType.LIST:
17224
          self.success = []
13493 amit.gupta 17225
          (_etype281, _size278) = iprot.readListBegin()
17226
          for _i282 in xrange(_size278):
17227
            _elem283 = iprot.readString();
17228
            self.success.append(_elem283)
8579 kshitij.so 17229
          iprot.readListEnd()
17230
        else:
17231
          iprot.skip(ftype)
17232
      else:
17233
        iprot.skip(ftype)
17234
      iprot.readFieldEnd()
17235
    iprot.readStructEnd()
17236
 
17237
  def write(self, oprot):
17238
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17239
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17240
      return
17241
    oprot.writeStructBegin('getAllCampaigns_result')
17242
    if self.success is not None:
17243
      oprot.writeFieldBegin('success', TType.LIST, 0)
17244
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 17245
      for iter284 in self.success:
17246
        oprot.writeString(iter284)
8579 kshitij.so 17247
      oprot.writeListEnd()
17248
      oprot.writeFieldEnd()
17249
    oprot.writeFieldStop()
17250
    oprot.writeStructEnd()
17251
 
17252
  def validate(self):
17253
    return
17254
 
17255
 
17256
  def __repr__(self):
17257
    L = ['%s=%r' % (key, value)
17258
      for key, value in self.__dict__.iteritems()]
17259
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17260
 
17261
  def __eq__(self, other):
17262
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17263
 
17264
  def __ne__(self, other):
17265
    return not (self == other)
17266
 
9155 kshitij.so 17267
class getActiveBannersForMobileSite_args:
17268
 
17269
  thrift_spec = (
17270
  )
17271
 
17272
  def read(self, iprot):
17273
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17274
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17275
      return
17276
    iprot.readStructBegin()
17277
    while True:
17278
      (fname, ftype, fid) = iprot.readFieldBegin()
17279
      if ftype == TType.STOP:
17280
        break
17281
      else:
17282
        iprot.skip(ftype)
17283
      iprot.readFieldEnd()
17284
    iprot.readStructEnd()
17285
 
17286
  def write(self, oprot):
17287
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17288
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17289
      return
17290
    oprot.writeStructBegin('getActiveBannersForMobileSite_args')
17291
    oprot.writeFieldStop()
17292
    oprot.writeStructEnd()
17293
 
17294
  def validate(self):
17295
    return
17296
 
17297
 
17298
  def __repr__(self):
17299
    L = ['%s=%r' % (key, value)
17300
      for key, value in self.__dict__.iteritems()]
17301
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17302
 
17303
  def __eq__(self, other):
17304
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17305
 
17306
  def __ne__(self, other):
17307
    return not (self == other)
17308
 
17309
class getActiveBannersForMobileSite_result:
17310
  """
17311
  Attributes:
17312
   - success
17313
  """
17314
 
17315
  thrift_spec = (
17316
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
17317
  )
17318
 
17319
  def __init__(self, success=None,):
17320
    self.success = success
17321
 
17322
  def read(self, iprot):
17323
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17324
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17325
      return
17326
    iprot.readStructBegin()
17327
    while True:
17328
      (fname, ftype, fid) = iprot.readFieldBegin()
17329
      if ftype == TType.STOP:
17330
        break
17331
      if fid == 0:
17332
        if ftype == TType.MAP:
17333
          self.success = {}
13493 amit.gupta 17334
          (_ktype286, _vtype287, _size285 ) = iprot.readMapBegin() 
17335
          for _i289 in xrange(_size285):
17336
            _key290 = iprot.readString();
17337
            _val291 = []
17338
            (_etype295, _size292) = iprot.readListBegin()
17339
            for _i296 in xrange(_size292):
17340
              _elem297 = Banner()
17341
              _elem297.read(iprot)
17342
              _val291.append(_elem297)
9155 kshitij.so 17343
            iprot.readListEnd()
13493 amit.gupta 17344
            self.success[_key290] = _val291
9155 kshitij.so 17345
          iprot.readMapEnd()
17346
        else:
17347
          iprot.skip(ftype)
17348
      else:
17349
        iprot.skip(ftype)
17350
      iprot.readFieldEnd()
17351
    iprot.readStructEnd()
17352
 
17353
  def write(self, oprot):
17354
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17355
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17356
      return
17357
    oprot.writeStructBegin('getActiveBannersForMobileSite_result')
17358
    if self.success is not None:
17359
      oprot.writeFieldBegin('success', TType.MAP, 0)
17360
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
13493 amit.gupta 17361
      for kiter298,viter299 in self.success.items():
17362
        oprot.writeString(kiter298)
17363
        oprot.writeListBegin(TType.STRUCT, len(viter299))
17364
        for iter300 in viter299:
17365
          iter300.write(oprot)
9155 kshitij.so 17366
        oprot.writeListEnd()
17367
      oprot.writeMapEnd()
17368
      oprot.writeFieldEnd()
17369
    oprot.writeFieldStop()
17370
    oprot.writeStructEnd()
17371
 
17372
  def validate(self):
17373
    return
17374
 
17375
 
17376
  def __repr__(self):
17377
    L = ['%s=%r' % (key, value)
17378
      for key, value in self.__dict__.iteritems()]
17379
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17380
 
17381
  def __eq__(self, other):
17382
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17383
 
17384
  def __ne__(self, other):
17385
    return not (self == other)
17386
 
5944 mandeep.dh 17387
class deleteSimilarItem_args:
17388
  """
17389
  Attributes:
17390
   - itemId
17391
   - catalogItemId
17392
  """
17393
 
17394
  thrift_spec = (
17395
    None, # 0
17396
    (1, TType.I64, 'itemId', None, None, ), # 1
17397
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
17398
  )
17399
 
17400
  def __init__(self, itemId=None, catalogItemId=None,):
17401
    self.itemId = itemId
17402
    self.catalogItemId = catalogItemId
17403
 
17404
  def read(self, iprot):
17405
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17406
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17407
      return
17408
    iprot.readStructBegin()
17409
    while True:
17410
      (fname, ftype, fid) = iprot.readFieldBegin()
17411
      if ftype == TType.STOP:
17412
        break
17413
      if fid == 1:
17414
        if ftype == TType.I64:
17415
          self.itemId = iprot.readI64();
17416
        else:
17417
          iprot.skip(ftype)
17418
      elif fid == 2:
17419
        if ftype == TType.I64:
17420
          self.catalogItemId = iprot.readI64();
17421
        else:
17422
          iprot.skip(ftype)
17423
      else:
17424
        iprot.skip(ftype)
17425
      iprot.readFieldEnd()
17426
    iprot.readStructEnd()
17427
 
17428
  def write(self, oprot):
17429
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17430
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17431
      return
17432
    oprot.writeStructBegin('deleteSimilarItem_args')
17433
    if self.itemId is not None:
17434
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17435
      oprot.writeI64(self.itemId)
17436
      oprot.writeFieldEnd()
17437
    if self.catalogItemId is not None:
17438
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
17439
      oprot.writeI64(self.catalogItemId)
17440
      oprot.writeFieldEnd()
17441
    oprot.writeFieldStop()
17442
    oprot.writeStructEnd()
17443
 
17444
  def validate(self):
17445
    return
17446
 
17447
 
17448
  def __repr__(self):
17449
    L = ['%s=%r' % (key, value)
17450
      for key, value in self.__dict__.iteritems()]
17451
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17452
 
17453
  def __eq__(self, other):
17454
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17455
 
17456
  def __ne__(self, other):
17457
    return not (self == other)
17458
 
17459
class deleteSimilarItem_result:
17460
  """
17461
  Attributes:
17462
   - success
17463
   - cex
17464
  """
17465
 
17466
  thrift_spec = (
17467
    (0, TType.BOOL, 'success', None, None, ), # 0
17468
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
17469
  )
17470
 
17471
  def __init__(self, success=None, cex=None,):
17472
    self.success = success
17473
    self.cex = cex
17474
 
17475
  def read(self, iprot):
17476
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17477
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17478
      return
17479
    iprot.readStructBegin()
17480
    while True:
17481
      (fname, ftype, fid) = iprot.readFieldBegin()
17482
      if ftype == TType.STOP:
17483
        break
17484
      if fid == 0:
17485
        if ftype == TType.BOOL:
17486
          self.success = iprot.readBool();
17487
        else:
17488
          iprot.skip(ftype)
17489
      elif fid == 1:
17490
        if ftype == TType.STRUCT:
17491
          self.cex = CatalogServiceException()
17492
          self.cex.read(iprot)
17493
        else:
17494
          iprot.skip(ftype)
17495
      else:
17496
        iprot.skip(ftype)
17497
      iprot.readFieldEnd()
17498
    iprot.readStructEnd()
17499
 
17500
  def write(self, oprot):
17501
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17502
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17503
      return
17504
    oprot.writeStructBegin('deleteSimilarItem_result')
17505
    if self.success is not None:
17506
      oprot.writeFieldBegin('success', TType.BOOL, 0)
17507
      oprot.writeBool(self.success)
17508
      oprot.writeFieldEnd()
17509
    if self.cex is not None:
17510
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
17511
      self.cex.write(oprot)
17512
      oprot.writeFieldEnd()
17513
    oprot.writeFieldStop()
17514
    oprot.writeStructEnd()
17515
 
17516
  def validate(self):
17517
    return
17518
 
17519
 
17520
  def __repr__(self):
17521
    L = ['%s=%r' % (key, value)
17522
      for key, value in self.__dict__.iteritems()]
17523
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17524
 
17525
  def __eq__(self, other):
17526
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17527
 
17528
  def __ne__(self, other):
17529
    return not (self == other)
17530
 
17531
class checkSimilarItem_args:
17532
  """
17533
  Attributes:
17534
   - brand
17535
   - modelNumber
17536
   - modelName
17537
   - color
17538
  """
17539
 
17540
  thrift_spec = (
17541
    None, # 0
17542
    (1, TType.STRING, 'brand', None, None, ), # 1
17543
    (2, TType.STRING, 'modelNumber', None, None, ), # 2
17544
    (3, TType.STRING, 'modelName', None, None, ), # 3
17545
    (4, TType.STRING, 'color', None, None, ), # 4
17546
  )
17547
 
17548
  def __init__(self, brand=None, modelNumber=None, modelName=None, color=None,):
17549
    self.brand = brand
17550
    self.modelNumber = modelNumber
17551
    self.modelName = modelName
17552
    self.color = color
17553
 
17554
  def read(self, iprot):
17555
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17556
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17557
      return
17558
    iprot.readStructBegin()
17559
    while True:
17560
      (fname, ftype, fid) = iprot.readFieldBegin()
17561
      if ftype == TType.STOP:
17562
        break
17563
      if fid == 1:
17564
        if ftype == TType.STRING:
17565
          self.brand = iprot.readString();
17566
        else:
17567
          iprot.skip(ftype)
17568
      elif fid == 2:
17569
        if ftype == TType.STRING:
17570
          self.modelNumber = iprot.readString();
17571
        else:
17572
          iprot.skip(ftype)
17573
      elif fid == 3:
17574
        if ftype == TType.STRING:
17575
          self.modelName = iprot.readString();
17576
        else:
17577
          iprot.skip(ftype)
17578
      elif fid == 4:
17579
        if ftype == TType.STRING:
17580
          self.color = iprot.readString();
17581
        else:
17582
          iprot.skip(ftype)
17583
      else:
17584
        iprot.skip(ftype)
17585
      iprot.readFieldEnd()
17586
    iprot.readStructEnd()
17587
 
17588
  def write(self, oprot):
17589
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17590
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17591
      return
17592
    oprot.writeStructBegin('checkSimilarItem_args')
17593
    if self.brand is not None:
17594
      oprot.writeFieldBegin('brand', TType.STRING, 1)
17595
      oprot.writeString(self.brand)
17596
      oprot.writeFieldEnd()
17597
    if self.modelNumber is not None:
17598
      oprot.writeFieldBegin('modelNumber', TType.STRING, 2)
17599
      oprot.writeString(self.modelNumber)
17600
      oprot.writeFieldEnd()
17601
    if self.modelName is not None:
17602
      oprot.writeFieldBegin('modelName', TType.STRING, 3)
17603
      oprot.writeString(self.modelName)
17604
      oprot.writeFieldEnd()
17605
    if self.color is not None:
17606
      oprot.writeFieldBegin('color', TType.STRING, 4)
17607
      oprot.writeString(self.color)
17608
      oprot.writeFieldEnd()
17609
    oprot.writeFieldStop()
17610
    oprot.writeStructEnd()
17611
 
17612
  def validate(self):
17613
    return
17614
 
17615
 
17616
  def __repr__(self):
17617
    L = ['%s=%r' % (key, value)
17618
      for key, value in self.__dict__.iteritems()]
17619
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17620
 
17621
  def __eq__(self, other):
17622
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17623
 
17624
  def __ne__(self, other):
17625
    return not (self == other)
17626
 
17627
class checkSimilarItem_result:
17628
  """
17629
  Attributes:
17630
   - success
17631
  """
17632
 
17633
  thrift_spec = (
17634
    (0, TType.I64, 'success', None, None, ), # 0
17635
  )
17636
 
17637
  def __init__(self, success=None,):
17638
    self.success = success
17639
 
17640
  def read(self, iprot):
17641
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17642
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17643
      return
17644
    iprot.readStructBegin()
17645
    while True:
17646
      (fname, ftype, fid) = iprot.readFieldBegin()
17647
      if ftype == TType.STOP:
17648
        break
17649
      if fid == 0:
17650
        if ftype == TType.I64:
17651
          self.success = iprot.readI64();
17652
        else:
17653
          iprot.skip(ftype)
17654
      else:
17655
        iprot.skip(ftype)
17656
      iprot.readFieldEnd()
17657
    iprot.readStructEnd()
17658
 
17659
  def write(self, oprot):
17660
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17661
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17662
      return
17663
    oprot.writeStructBegin('checkSimilarItem_result')
17664
    if self.success is not None:
17665
      oprot.writeFieldBegin('success', TType.I64, 0)
17666
      oprot.writeI64(self.success)
17667
      oprot.writeFieldEnd()
17668
    oprot.writeFieldStop()
17669
    oprot.writeStructEnd()
17670
 
17671
  def validate(self):
17672
    return
17673
 
17674
 
17675
  def __repr__(self):
17676
    L = ['%s=%r' % (key, value)
17677
      for key, value in self.__dict__.iteritems()]
17678
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17679
 
17680
  def __eq__(self, other):
17681
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17682
 
17683
  def __ne__(self, other):
17684
    return not (self == other)
17685
 
17686
class validateRiskyStatus_args:
17687
  """
17688
  Attributes:
17689
   - itemId
17690
  """
17691
 
17692
  thrift_spec = (
17693
    None, # 0
17694
    (1, TType.I64, 'itemId', None, None, ), # 1
17695
  )
17696
 
17697
  def __init__(self, itemId=None,):
17698
    self.itemId = itemId
17699
 
17700
  def read(self, iprot):
17701
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17702
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17703
      return
17704
    iprot.readStructBegin()
17705
    while True:
17706
      (fname, ftype, fid) = iprot.readFieldBegin()
17707
      if ftype == TType.STOP:
17708
        break
17709
      if fid == 1:
17710
        if ftype == TType.I64:
17711
          self.itemId = iprot.readI64();
17712
        else:
17713
          iprot.skip(ftype)
17714
      else:
17715
        iprot.skip(ftype)
17716
      iprot.readFieldEnd()
17717
    iprot.readStructEnd()
17718
 
17719
  def write(self, oprot):
17720
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17721
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17722
      return
17723
    oprot.writeStructBegin('validateRiskyStatus_args')
17724
    if self.itemId is not None:
17725
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17726
      oprot.writeI64(self.itemId)
17727
      oprot.writeFieldEnd()
17728
    oprot.writeFieldStop()
17729
    oprot.writeStructEnd()
17730
 
17731
  def validate(self):
17732
    return
17733
 
17734
 
17735
  def __repr__(self):
17736
    L = ['%s=%r' % (key, value)
17737
      for key, value in self.__dict__.iteritems()]
17738
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17739
 
17740
  def __eq__(self, other):
17741
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17742
 
17743
  def __ne__(self, other):
17744
    return not (self == other)
17745
 
17746
class validateRiskyStatus_result:
17747
 
17748
  thrift_spec = (
17749
  )
17750
 
17751
  def read(self, iprot):
17752
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17753
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17754
      return
17755
    iprot.readStructBegin()
17756
    while True:
17757
      (fname, ftype, fid) = iprot.readFieldBegin()
17758
      if ftype == TType.STOP:
17759
        break
17760
      else:
17761
        iprot.skip(ftype)
17762
      iprot.readFieldEnd()
17763
    iprot.readStructEnd()
17764
 
17765
  def write(self, oprot):
17766
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17767
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17768
      return
17769
    oprot.writeStructBegin('validateRiskyStatus_result')
17770
    oprot.writeFieldStop()
17771
    oprot.writeStructEnd()
17772
 
17773
  def validate(self):
17774
    return
17775
 
17776
 
17777
  def __repr__(self):
17778
    L = ['%s=%r' % (key, value)
17779
      for key, value in self.__dict__.iteritems()]
17780
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17781
 
17782
  def __eq__(self, other):
17783
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17784
 
17785
  def __ne__(self, other):
17786
    return not (self == other)
17787
 
17788
class changeItemRiskyFlag_args:
17789
  """
17790
  Attributes:
17791
   - itemId
17792
   - risky
17793
  """
17794
 
17795
  thrift_spec = (
17796
    None, # 0
17797
    (1, TType.I64, 'itemId', None, None, ), # 1
17798
    (2, TType.BOOL, 'risky', None, None, ), # 2
17799
  )
17800
 
17801
  def __init__(self, itemId=None, risky=None,):
17802
    self.itemId = itemId
17803
    self.risky = risky
17804
 
17805
  def read(self, iprot):
17806
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17807
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17808
      return
17809
    iprot.readStructBegin()
17810
    while True:
17811
      (fname, ftype, fid) = iprot.readFieldBegin()
17812
      if ftype == TType.STOP:
17813
        break
17814
      if fid == 1:
17815
        if ftype == TType.I64:
17816
          self.itemId = iprot.readI64();
17817
        else:
17818
          iprot.skip(ftype)
17819
      elif fid == 2:
17820
        if ftype == TType.BOOL:
17821
          self.risky = iprot.readBool();
17822
        else:
17823
          iprot.skip(ftype)
17824
      else:
17825
        iprot.skip(ftype)
17826
      iprot.readFieldEnd()
17827
    iprot.readStructEnd()
17828
 
17829
  def write(self, oprot):
17830
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17831
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17832
      return
17833
    oprot.writeStructBegin('changeItemRiskyFlag_args')
17834
    if self.itemId is not None:
17835
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17836
      oprot.writeI64(self.itemId)
17837
      oprot.writeFieldEnd()
17838
    if self.risky is not None:
17839
      oprot.writeFieldBegin('risky', TType.BOOL, 2)
17840
      oprot.writeBool(self.risky)
17841
      oprot.writeFieldEnd()
17842
    oprot.writeFieldStop()
17843
    oprot.writeStructEnd()
17844
 
17845
  def validate(self):
17846
    return
17847
 
17848
 
17849
  def __repr__(self):
17850
    L = ['%s=%r' % (key, value)
17851
      for key, value in self.__dict__.iteritems()]
17852
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17853
 
17854
  def __eq__(self, other):
17855
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17856
 
17857
  def __ne__(self, other):
17858
    return not (self == other)
17859
 
17860
class changeItemRiskyFlag_result:
17861
 
17862
  thrift_spec = (
17863
  )
17864
 
17865
  def read(self, iprot):
17866
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17867
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17868
      return
17869
    iprot.readStructBegin()
17870
    while True:
17871
      (fname, ftype, fid) = iprot.readFieldBegin()
17872
      if ftype == TType.STOP:
17873
        break
17874
      else:
17875
        iprot.skip(ftype)
17876
      iprot.readFieldEnd()
17877
    iprot.readStructEnd()
17878
 
17879
  def write(self, oprot):
17880
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17881
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17882
      return
17883
    oprot.writeStructBegin('changeItemRiskyFlag_result')
17884
    oprot.writeFieldStop()
17885
    oprot.writeStructEnd()
17886
 
17887
  def validate(self):
17888
    return
17889
 
17890
 
17891
  def __repr__(self):
17892
    L = ['%s=%r' % (key, value)
17893
      for key, value in self.__dict__.iteritems()]
17894
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17895
 
17896
  def __eq__(self, other):
17897
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17898
 
17899
  def __ne__(self, other):
17900
    return not (self == other)
17901
 
17902
class getItemsByRiskyFlag_args:
17903
 
17904
  thrift_spec = (
17905
  )
17906
 
17907
  def read(self, iprot):
17908
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17909
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17910
      return
17911
    iprot.readStructBegin()
17912
    while True:
17913
      (fname, ftype, fid) = iprot.readFieldBegin()
17914
      if ftype == TType.STOP:
17915
        break
17916
      else:
17917
        iprot.skip(ftype)
17918
      iprot.readFieldEnd()
17919
    iprot.readStructEnd()
17920
 
17921
  def write(self, oprot):
17922
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17923
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17924
      return
17925
    oprot.writeStructBegin('getItemsByRiskyFlag_args')
17926
    oprot.writeFieldStop()
17927
    oprot.writeStructEnd()
17928
 
17929
  def validate(self):
17930
    return
17931
 
17932
 
17933
  def __repr__(self):
17934
    L = ['%s=%r' % (key, value)
17935
      for key, value in self.__dict__.iteritems()]
17936
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17937
 
17938
  def __eq__(self, other):
17939
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17940
 
17941
  def __ne__(self, other):
17942
    return not (self == other)
17943
 
17944
class getItemsByRiskyFlag_result:
17945
  """
17946
  Attributes:
17947
   - success
17948
  """
17949
 
17950
  thrift_spec = (
17951
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
17952
  )
17953
 
17954
  def __init__(self, success=None,):
17955
    self.success = success
17956
 
17957
  def read(self, iprot):
17958
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17959
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17960
      return
17961
    iprot.readStructBegin()
17962
    while True:
17963
      (fname, ftype, fid) = iprot.readFieldBegin()
17964
      if ftype == TType.STOP:
17965
        break
17966
      if fid == 0:
17967
        if ftype == TType.LIST:
17968
          self.success = []
13493 amit.gupta 17969
          (_etype304, _size301) = iprot.readListBegin()
17970
          for _i305 in xrange(_size301):
17971
            _elem306 = Item()
17972
            _elem306.read(iprot)
17973
            self.success.append(_elem306)
5944 mandeep.dh 17974
          iprot.readListEnd()
17975
        else:
17976
          iprot.skip(ftype)
17977
      else:
17978
        iprot.skip(ftype)
17979
      iprot.readFieldEnd()
17980
    iprot.readStructEnd()
17981
 
17982
  def write(self, oprot):
17983
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17984
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17985
      return
17986
    oprot.writeStructBegin('getItemsByRiskyFlag_result')
17987
    if self.success is not None:
17988
      oprot.writeFieldBegin('success', TType.LIST, 0)
17989
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 17990
      for iter307 in self.success:
17991
        iter307.write(oprot)
5944 mandeep.dh 17992
      oprot.writeListEnd()
17993
      oprot.writeFieldEnd()
17994
    oprot.writeFieldStop()
17995
    oprot.writeStructEnd()
17996
 
17997
  def validate(self):
17998
    return
17999
 
18000
 
18001
  def __repr__(self):
18002
    L = ['%s=%r' % (key, value)
18003
      for key, value in self.__dict__.iteritems()]
18004
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18005
 
18006
  def __eq__(self, other):
18007
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18008
 
18009
  def __ne__(self, other):
18010
    return not (self == other)
18011
 
18012
class getItemsForMasterSheet_args:
18013
  """
18014
  Attributes:
18015
   - category
18016
   - brand
18017
  """
18018
 
18019
  thrift_spec = (
18020
    None, # 0
18021
    (1, TType.STRING, 'category', None, None, ), # 1
18022
    (2, TType.STRING, 'brand', None, None, ), # 2
18023
  )
18024
 
18025
  def __init__(self, category=None, brand=None,):
18026
    self.category = category
18027
    self.brand = brand
18028
 
18029
  def read(self, iprot):
18030
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18031
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18032
      return
18033
    iprot.readStructBegin()
18034
    while True:
18035
      (fname, ftype, fid) = iprot.readFieldBegin()
18036
      if ftype == TType.STOP:
18037
        break
18038
      if fid == 1:
18039
        if ftype == TType.STRING:
18040
          self.category = iprot.readString();
18041
        else:
18042
          iprot.skip(ftype)
18043
      elif fid == 2:
18044
        if ftype == TType.STRING:
18045
          self.brand = iprot.readString();
18046
        else:
18047
          iprot.skip(ftype)
18048
      else:
18049
        iprot.skip(ftype)
18050
      iprot.readFieldEnd()
18051
    iprot.readStructEnd()
18052
 
18053
  def write(self, oprot):
18054
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18055
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18056
      return
18057
    oprot.writeStructBegin('getItemsForMasterSheet_args')
18058
    if self.category is not None:
18059
      oprot.writeFieldBegin('category', TType.STRING, 1)
18060
      oprot.writeString(self.category)
18061
      oprot.writeFieldEnd()
18062
    if self.brand is not None:
18063
      oprot.writeFieldBegin('brand', TType.STRING, 2)
18064
      oprot.writeString(self.brand)
18065
      oprot.writeFieldEnd()
18066
    oprot.writeFieldStop()
18067
    oprot.writeStructEnd()
18068
 
18069
  def validate(self):
18070
    return
18071
 
18072
 
18073
  def __repr__(self):
18074
    L = ['%s=%r' % (key, value)
18075
      for key, value in self.__dict__.iteritems()]
18076
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18077
 
18078
  def __eq__(self, other):
18079
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18080
 
18081
  def __ne__(self, other):
18082
    return not (self == other)
18083
 
18084
class getItemsForMasterSheet_result:
18085
  """
18086
  Attributes:
18087
   - success
18088
  """
18089
 
18090
  thrift_spec = (
18091
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
18092
  )
18093
 
18094
  def __init__(self, success=None,):
18095
    self.success = success
18096
 
18097
  def read(self, iprot):
18098
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18099
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18100
      return
18101
    iprot.readStructBegin()
18102
    while True:
18103
      (fname, ftype, fid) = iprot.readFieldBegin()
18104
      if ftype == TType.STOP:
18105
        break
18106
      if fid == 0:
18107
        if ftype == TType.LIST:
18108
          self.success = []
13493 amit.gupta 18109
          (_etype311, _size308) = iprot.readListBegin()
18110
          for _i312 in xrange(_size308):
18111
            _elem313 = Item()
18112
            _elem313.read(iprot)
18113
            self.success.append(_elem313)
5944 mandeep.dh 18114
          iprot.readListEnd()
18115
        else:
18116
          iprot.skip(ftype)
18117
      else:
18118
        iprot.skip(ftype)
18119
      iprot.readFieldEnd()
18120
    iprot.readStructEnd()
18121
 
18122
  def write(self, oprot):
18123
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18124
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18125
      return
18126
    oprot.writeStructBegin('getItemsForMasterSheet_result')
18127
    if self.success is not None:
18128
      oprot.writeFieldBegin('success', TType.LIST, 0)
18129
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 18130
      for iter314 in self.success:
18131
        iter314.write(oprot)
5944 mandeep.dh 18132
      oprot.writeListEnd()
18133
      oprot.writeFieldEnd()
18134
    oprot.writeFieldStop()
18135
    oprot.writeStructEnd()
18136
 
18137
  def validate(self):
18138
    return
18139
 
18140
 
18141
  def __repr__(self):
18142
    L = ['%s=%r' % (key, value)
18143
      for key, value in self.__dict__.iteritems()]
18144
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18145
 
18146
  def __eq__(self, other):
18147
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18148
 
18149
  def __ne__(self, other):
18150
    return not (self == other)
18151
 
18152
class getSimilarItemsCatalogIds_args:
18153
  """
18154
  Attributes:
18155
   - beginIndex
18156
   - totalItems
18157
   - itemId
18158
  """
18159
 
18160
  thrift_spec = (
18161
    None, # 0
18162
    (1, TType.I64, 'beginIndex', None, None, ), # 1
18163
    (2, TType.I64, 'totalItems', None, None, ), # 2
18164
    (3, TType.I64, 'itemId', None, None, ), # 3
18165
  )
18166
 
18167
  def __init__(self, beginIndex=None, totalItems=None, itemId=None,):
18168
    self.beginIndex = beginIndex
18169
    self.totalItems = totalItems
18170
    self.itemId = itemId
18171
 
18172
  def read(self, iprot):
18173
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18174
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18175
      return
18176
    iprot.readStructBegin()
18177
    while True:
18178
      (fname, ftype, fid) = iprot.readFieldBegin()
18179
      if ftype == TType.STOP:
18180
        break
18181
      if fid == 1:
18182
        if ftype == TType.I64:
18183
          self.beginIndex = iprot.readI64();
18184
        else:
18185
          iprot.skip(ftype)
18186
      elif fid == 2:
18187
        if ftype == TType.I64:
18188
          self.totalItems = iprot.readI64();
18189
        else:
18190
          iprot.skip(ftype)
18191
      elif fid == 3:
18192
        if ftype == TType.I64:
18193
          self.itemId = iprot.readI64();
18194
        else:
18195
          iprot.skip(ftype)
18196
      else:
18197
        iprot.skip(ftype)
18198
      iprot.readFieldEnd()
18199
    iprot.readStructEnd()
18200
 
18201
  def write(self, oprot):
18202
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18203
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18204
      return
18205
    oprot.writeStructBegin('getSimilarItemsCatalogIds_args')
18206
    if self.beginIndex is not None:
18207
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
18208
      oprot.writeI64(self.beginIndex)
18209
      oprot.writeFieldEnd()
18210
    if self.totalItems is not None:
18211
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
18212
      oprot.writeI64(self.totalItems)
18213
      oprot.writeFieldEnd()
18214
    if self.itemId is not None:
18215
      oprot.writeFieldBegin('itemId', TType.I64, 3)
18216
      oprot.writeI64(self.itemId)
18217
      oprot.writeFieldEnd()
18218
    oprot.writeFieldStop()
18219
    oprot.writeStructEnd()
18220
 
18221
  def validate(self):
18222
    return
18223
 
18224
 
18225
  def __repr__(self):
18226
    L = ['%s=%r' % (key, value)
18227
      for key, value in self.__dict__.iteritems()]
18228
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18229
 
18230
  def __eq__(self, other):
18231
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18232
 
18233
  def __ne__(self, other):
18234
    return not (self == other)
18235
 
18236
class getSimilarItemsCatalogIds_result:
18237
  """
18238
  Attributes:
18239
   - success
18240
  """
18241
 
18242
  thrift_spec = (
18243
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
18244
  )
18245
 
18246
  def __init__(self, success=None,):
18247
    self.success = success
18248
 
18249
  def read(self, iprot):
18250
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18251
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18252
      return
18253
    iprot.readStructBegin()
18254
    while True:
18255
      (fname, ftype, fid) = iprot.readFieldBegin()
18256
      if ftype == TType.STOP:
18257
        break
18258
      if fid == 0:
18259
        if ftype == TType.LIST:
18260
          self.success = []
13493 amit.gupta 18261
          (_etype318, _size315) = iprot.readListBegin()
18262
          for _i319 in xrange(_size315):
18263
            _elem320 = iprot.readI64();
18264
            self.success.append(_elem320)
5944 mandeep.dh 18265
          iprot.readListEnd()
18266
        else:
18267
          iprot.skip(ftype)
18268
      else:
18269
        iprot.skip(ftype)
18270
      iprot.readFieldEnd()
18271
    iprot.readStructEnd()
18272
 
18273
  def write(self, oprot):
18274
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18275
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18276
      return
18277
    oprot.writeStructBegin('getSimilarItemsCatalogIds_result')
18278
    if self.success is not None:
18279
      oprot.writeFieldBegin('success', TType.LIST, 0)
18280
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 18281
      for iter321 in self.success:
18282
        oprot.writeI64(iter321)
5944 mandeep.dh 18283
      oprot.writeListEnd()
18284
      oprot.writeFieldEnd()
18285
    oprot.writeFieldStop()
18286
    oprot.writeStructEnd()
18287
 
18288
  def validate(self):
18289
    return
18290
 
18291
 
18292
  def __repr__(self):
18293
    L = ['%s=%r' % (key, value)
18294
      for key, value in self.__dict__.iteritems()]
18295
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18296
 
18297
  def __eq__(self, other):
18298
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18299
 
18300
  def __ne__(self, other):
18301
    return not (self == other)
18302
 
18303
class addProductNotification_args:
18304
  """
18305
  Attributes:
18306
   - itemId
18307
   - email
18308
  """
18309
 
18310
  thrift_spec = None
18311
  def __init__(self, itemId=None, email=None,):
18312
    self.itemId = itemId
18313
    self.email = email
18314
 
18315
  def read(self, iprot):
18316
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18317
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18318
      return
18319
    iprot.readStructBegin()
18320
    while True:
18321
      (fname, ftype, fid) = iprot.readFieldBegin()
18322
      if ftype == TType.STOP:
18323
        break
18324
      if fid == -1:
18325
        if ftype == TType.I64:
18326
          self.itemId = iprot.readI64();
18327
        else:
18328
          iprot.skip(ftype)
18329
      elif fid == -2:
18330
        if ftype == TType.STRING:
18331
          self.email = iprot.readString();
18332
        else:
18333
          iprot.skip(ftype)
18334
      else:
18335
        iprot.skip(ftype)
18336
      iprot.readFieldEnd()
18337
    iprot.readStructEnd()
18338
 
18339
  def write(self, oprot):
18340
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18341
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18342
      return
18343
    oprot.writeStructBegin('addProductNotification_args')
18344
    if self.email is not None:
18345
      oprot.writeFieldBegin('email', TType.STRING, -2)
18346
      oprot.writeString(self.email)
18347
      oprot.writeFieldEnd()
18348
    if self.itemId is not None:
18349
      oprot.writeFieldBegin('itemId', TType.I64, -1)
18350
      oprot.writeI64(self.itemId)
18351
      oprot.writeFieldEnd()
18352
    oprot.writeFieldStop()
18353
    oprot.writeStructEnd()
18354
 
18355
  def validate(self):
18356
    return
18357
 
18358
 
18359
  def __repr__(self):
18360
    L = ['%s=%r' % (key, value)
18361
      for key, value in self.__dict__.iteritems()]
18362
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18363
 
18364
  def __eq__(self, other):
18365
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18366
 
18367
  def __ne__(self, other):
18368
    return not (self == other)
18369
 
18370
class addProductNotification_result:
18371
  """
18372
  Attributes:
18373
   - success
18374
  """
18375
 
18376
  thrift_spec = (
18377
    (0, TType.BOOL, 'success', None, None, ), # 0
18378
  )
18379
 
18380
  def __init__(self, success=None,):
18381
    self.success = success
18382
 
18383
  def read(self, iprot):
18384
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18385
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18386
      return
18387
    iprot.readStructBegin()
18388
    while True:
18389
      (fname, ftype, fid) = iprot.readFieldBegin()
18390
      if ftype == TType.STOP:
18391
        break
18392
      if fid == 0:
18393
        if ftype == TType.BOOL:
18394
          self.success = iprot.readBool();
18395
        else:
18396
          iprot.skip(ftype)
18397
      else:
18398
        iprot.skip(ftype)
18399
      iprot.readFieldEnd()
18400
    iprot.readStructEnd()
18401
 
18402
  def write(self, oprot):
18403
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18404
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18405
      return
18406
    oprot.writeStructBegin('addProductNotification_result')
18407
    if self.success is not None:
18408
      oprot.writeFieldBegin('success', TType.BOOL, 0)
18409
      oprot.writeBool(self.success)
18410
      oprot.writeFieldEnd()
18411
    oprot.writeFieldStop()
18412
    oprot.writeStructEnd()
18413
 
18414
  def validate(self):
18415
    return
18416
 
18417
 
18418
  def __repr__(self):
18419
    L = ['%s=%r' % (key, value)
18420
      for key, value in self.__dict__.iteritems()]
18421
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18422
 
18423
  def __eq__(self, other):
18424
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18425
 
18426
  def __ne__(self, other):
18427
    return not (self == other)
18428
 
18429
class sendProductNotifications_args:
18430
 
18431
  thrift_spec = (
18432
  )
18433
 
18434
  def read(self, iprot):
18435
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18436
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18437
      return
18438
    iprot.readStructBegin()
18439
    while True:
18440
      (fname, ftype, fid) = iprot.readFieldBegin()
18441
      if ftype == TType.STOP:
18442
        break
18443
      else:
18444
        iprot.skip(ftype)
18445
      iprot.readFieldEnd()
18446
    iprot.readStructEnd()
18447
 
18448
  def write(self, oprot):
18449
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18450
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18451
      return
18452
    oprot.writeStructBegin('sendProductNotifications_args')
18453
    oprot.writeFieldStop()
18454
    oprot.writeStructEnd()
18455
 
18456
  def validate(self):
18457
    return
18458
 
18459
 
18460
  def __repr__(self):
18461
    L = ['%s=%r' % (key, value)
18462
      for key, value in self.__dict__.iteritems()]
18463
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18464
 
18465
  def __eq__(self, other):
18466
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18467
 
18468
  def __ne__(self, other):
18469
    return not (self == other)
18470
 
18471
class sendProductNotifications_result:
18472
  """
18473
  Attributes:
18474
   - success
18475
  """
18476
 
18477
  thrift_spec = (
18478
    (0, TType.BOOL, 'success', None, None, ), # 0
18479
  )
18480
 
18481
  def __init__(self, success=None,):
18482
    self.success = success
18483
 
18484
  def read(self, iprot):
18485
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18486
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18487
      return
18488
    iprot.readStructBegin()
18489
    while True:
18490
      (fname, ftype, fid) = iprot.readFieldBegin()
18491
      if ftype == TType.STOP:
18492
        break
18493
      if fid == 0:
18494
        if ftype == TType.BOOL:
18495
          self.success = iprot.readBool();
18496
        else:
18497
          iprot.skip(ftype)
18498
      else:
18499
        iprot.skip(ftype)
18500
      iprot.readFieldEnd()
18501
    iprot.readStructEnd()
18502
 
18503
  def write(self, oprot):
18504
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18505
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18506
      return
18507
    oprot.writeStructBegin('sendProductNotifications_result')
18508
    if self.success is not None:
18509
      oprot.writeFieldBegin('success', TType.BOOL, 0)
18510
      oprot.writeBool(self.success)
18511
      oprot.writeFieldEnd()
18512
    oprot.writeFieldStop()
18513
    oprot.writeStructEnd()
18514
 
18515
  def validate(self):
18516
    return
18517
 
18518
 
18519
  def __repr__(self):
18520
    L = ['%s=%r' % (key, value)
18521
      for key, value in self.__dict__.iteritems()]
18522
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18523
 
18524
  def __eq__(self, other):
18525
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18526
 
18527
  def __ne__(self, other):
18528
    return not (self == other)
18529
 
18530
class getAllBrandsByCategory_args:
18531
  """
18532
  Attributes:
18533
   - categoryId
18534
  """
18535
 
18536
  thrift_spec = (
18537
    None, # 0
18538
    (1, TType.I64, 'categoryId', None, None, ), # 1
18539
  )
18540
 
18541
  def __init__(self, categoryId=None,):
18542
    self.categoryId = categoryId
18543
 
18544
  def read(self, iprot):
18545
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18546
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18547
      return
18548
    iprot.readStructBegin()
18549
    while True:
18550
      (fname, ftype, fid) = iprot.readFieldBegin()
18551
      if ftype == TType.STOP:
18552
        break
18553
      if fid == 1:
18554
        if ftype == TType.I64:
18555
          self.categoryId = iprot.readI64();
18556
        else:
18557
          iprot.skip(ftype)
18558
      else:
18559
        iprot.skip(ftype)
18560
      iprot.readFieldEnd()
18561
    iprot.readStructEnd()
18562
 
18563
  def write(self, oprot):
18564
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18565
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18566
      return
18567
    oprot.writeStructBegin('getAllBrandsByCategory_args')
18568
    if self.categoryId is not None:
18569
      oprot.writeFieldBegin('categoryId', TType.I64, 1)
18570
      oprot.writeI64(self.categoryId)
18571
      oprot.writeFieldEnd()
18572
    oprot.writeFieldStop()
18573
    oprot.writeStructEnd()
18574
 
18575
  def validate(self):
18576
    return
18577
 
18578
 
18579
  def __repr__(self):
18580
    L = ['%s=%r' % (key, value)
18581
      for key, value in self.__dict__.iteritems()]
18582
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18583
 
18584
  def __eq__(self, other):
18585
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18586
 
18587
  def __ne__(self, other):
18588
    return not (self == other)
18589
 
18590
class getAllBrandsByCategory_result:
18591
  """
18592
  Attributes:
18593
   - success
18594
  """
18595
 
18596
  thrift_spec = (
18597
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
18598
  )
18599
 
18600
  def __init__(self, success=None,):
18601
    self.success = success
18602
 
18603
  def read(self, iprot):
18604
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18605
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18606
      return
18607
    iprot.readStructBegin()
18608
    while True:
18609
      (fname, ftype, fid) = iprot.readFieldBegin()
18610
      if ftype == TType.STOP:
18611
        break
18612
      if fid == 0:
18613
        if ftype == TType.LIST:
18614
          self.success = []
13493 amit.gupta 18615
          (_etype325, _size322) = iprot.readListBegin()
18616
          for _i326 in xrange(_size322):
18617
            _elem327 = iprot.readString();
18618
            self.success.append(_elem327)
5944 mandeep.dh 18619
          iprot.readListEnd()
18620
        else:
18621
          iprot.skip(ftype)
18622
      else:
18623
        iprot.skip(ftype)
18624
      iprot.readFieldEnd()
18625
    iprot.readStructEnd()
18626
 
18627
  def write(self, oprot):
18628
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18629
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18630
      return
18631
    oprot.writeStructBegin('getAllBrandsByCategory_result')
18632
    if self.success is not None:
18633
      oprot.writeFieldBegin('success', TType.LIST, 0)
18634
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 18635
      for iter328 in self.success:
18636
        oprot.writeString(iter328)
5944 mandeep.dh 18637
      oprot.writeListEnd()
18638
      oprot.writeFieldEnd()
18639
    oprot.writeFieldStop()
18640
    oprot.writeStructEnd()
18641
 
18642
  def validate(self):
18643
    return
18644
 
18645
 
18646
  def __repr__(self):
18647
    L = ['%s=%r' % (key, value)
18648
      for key, value in self.__dict__.iteritems()]
18649
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18650
 
18651
  def __eq__(self, other):
18652
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18653
 
18654
  def __ne__(self, other):
18655
    return not (self == other)
18656
 
18657
class getAllBrands_args:
18658
 
18659
  thrift_spec = (
18660
  )
18661
 
18662
  def read(self, iprot):
18663
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18664
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18665
      return
18666
    iprot.readStructBegin()
18667
    while True:
18668
      (fname, ftype, fid) = iprot.readFieldBegin()
18669
      if ftype == TType.STOP:
18670
        break
18671
      else:
18672
        iprot.skip(ftype)
18673
      iprot.readFieldEnd()
18674
    iprot.readStructEnd()
18675
 
18676
  def write(self, oprot):
18677
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18678
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18679
      return
18680
    oprot.writeStructBegin('getAllBrands_args')
18681
    oprot.writeFieldStop()
18682
    oprot.writeStructEnd()
18683
 
18684
  def validate(self):
18685
    return
18686
 
18687
 
18688
  def __repr__(self):
18689
    L = ['%s=%r' % (key, value)
18690
      for key, value in self.__dict__.iteritems()]
18691
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18692
 
18693
  def __eq__(self, other):
18694
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18695
 
18696
  def __ne__(self, other):
18697
    return not (self == other)
18698
 
18699
class getAllBrands_result:
18700
  """
18701
  Attributes:
18702
   - success
18703
  """
18704
 
18705
  thrift_spec = (
18706
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
18707
  )
18708
 
18709
  def __init__(self, success=None,):
18710
    self.success = success
18711
 
18712
  def read(self, iprot):
18713
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18714
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18715
      return
18716
    iprot.readStructBegin()
18717
    while True:
18718
      (fname, ftype, fid) = iprot.readFieldBegin()
18719
      if ftype == TType.STOP:
18720
        break
18721
      if fid == 0:
18722
        if ftype == TType.LIST:
18723
          self.success = []
13493 amit.gupta 18724
          (_etype332, _size329) = iprot.readListBegin()
18725
          for _i333 in xrange(_size329):
18726
            _elem334 = iprot.readString();
18727
            self.success.append(_elem334)
5944 mandeep.dh 18728
          iprot.readListEnd()
18729
        else:
18730
          iprot.skip(ftype)
18731
      else:
18732
        iprot.skip(ftype)
18733
      iprot.readFieldEnd()
18734
    iprot.readStructEnd()
18735
 
18736
  def write(self, oprot):
18737
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18738
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18739
      return
18740
    oprot.writeStructBegin('getAllBrands_result')
18741
    if self.success is not None:
18742
      oprot.writeFieldBegin('success', TType.LIST, 0)
18743
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 18744
      for iter335 in self.success:
18745
        oprot.writeString(iter335)
5944 mandeep.dh 18746
      oprot.writeListEnd()
18747
      oprot.writeFieldEnd()
18748
    oprot.writeFieldStop()
18749
    oprot.writeStructEnd()
18750
 
18751
  def validate(self):
18752
    return
18753
 
18754
 
18755
  def __repr__(self):
18756
    L = ['%s=%r' % (key, value)
18757
      for key, value in self.__dict__.iteritems()]
18758
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18759
 
18760
  def __eq__(self, other):
18761
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18762
 
18763
  def __ne__(self, other):
18764
    return not (self == other)
18765
 
18766
class getAllSources_args:
18767
 
18768
  thrift_spec = (
18769
  )
18770
 
18771
  def read(self, iprot):
18772
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18773
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18774
      return
18775
    iprot.readStructBegin()
18776
    while True:
18777
      (fname, ftype, fid) = iprot.readFieldBegin()
18778
      if ftype == TType.STOP:
18779
        break
18780
      else:
18781
        iprot.skip(ftype)
18782
      iprot.readFieldEnd()
18783
    iprot.readStructEnd()
18784
 
18785
  def write(self, oprot):
18786
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18787
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18788
      return
18789
    oprot.writeStructBegin('getAllSources_args')
18790
    oprot.writeFieldStop()
18791
    oprot.writeStructEnd()
18792
 
18793
  def validate(self):
18794
    return
18795
 
18796
 
18797
  def __repr__(self):
18798
    L = ['%s=%r' % (key, value)
18799
      for key, value in self.__dict__.iteritems()]
18800
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18801
 
18802
  def __eq__(self, other):
18803
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18804
 
18805
  def __ne__(self, other):
18806
    return not (self == other)
18807
 
18808
class getAllSources_result:
18809
  """
18810
  Attributes:
18811
   - success
18812
  """
18813
 
18814
  thrift_spec = (
18815
    (0, TType.LIST, 'success', (TType.STRUCT,(Source, Source.thrift_spec)), None, ), # 0
18816
  )
18817
 
18818
  def __init__(self, success=None,):
18819
    self.success = success
18820
 
18821
  def read(self, iprot):
18822
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18823
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18824
      return
18825
    iprot.readStructBegin()
18826
    while True:
18827
      (fname, ftype, fid) = iprot.readFieldBegin()
18828
      if ftype == TType.STOP:
18829
        break
18830
      if fid == 0:
18831
        if ftype == TType.LIST:
18832
          self.success = []
13493 amit.gupta 18833
          (_etype339, _size336) = iprot.readListBegin()
18834
          for _i340 in xrange(_size336):
18835
            _elem341 = Source()
18836
            _elem341.read(iprot)
18837
            self.success.append(_elem341)
5944 mandeep.dh 18838
          iprot.readListEnd()
18839
        else:
18840
          iprot.skip(ftype)
18841
      else:
18842
        iprot.skip(ftype)
18843
      iprot.readFieldEnd()
18844
    iprot.readStructEnd()
18845
 
18846
  def write(self, oprot):
18847
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18848
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18849
      return
18850
    oprot.writeStructBegin('getAllSources_result')
18851
    if self.success is not None:
18852
      oprot.writeFieldBegin('success', TType.LIST, 0)
18853
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 18854
      for iter342 in self.success:
18855
        iter342.write(oprot)
5944 mandeep.dh 18856
      oprot.writeListEnd()
18857
      oprot.writeFieldEnd()
18858
    oprot.writeFieldStop()
18859
    oprot.writeStructEnd()
18860
 
18861
  def validate(self):
18862
    return
18863
 
18864
 
18865
  def __repr__(self):
18866
    L = ['%s=%r' % (key, value)
18867
      for key, value in self.__dict__.iteritems()]
18868
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18869
 
18870
  def __eq__(self, other):
18871
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18872
 
18873
  def __ne__(self, other):
18874
    return not (self == other)
18875
 
18876
class getItemPricingBySource_args:
18877
  """
18878
  Attributes:
18879
   - itemId
18880
   - sourceId
18881
  """
18882
 
18883
  thrift_spec = (
18884
    None, # 0
18885
    (1, TType.I64, 'itemId', None, None, ), # 1
18886
    (2, TType.I64, 'sourceId', None, None, ), # 2
18887
  )
18888
 
18889
  def __init__(self, itemId=None, sourceId=None,):
18890
    self.itemId = itemId
18891
    self.sourceId = sourceId
18892
 
18893
  def read(self, iprot):
18894
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18895
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18896
      return
18897
    iprot.readStructBegin()
18898
    while True:
18899
      (fname, ftype, fid) = iprot.readFieldBegin()
18900
      if ftype == TType.STOP:
18901
        break
18902
      if fid == 1:
18903
        if ftype == TType.I64:
18904
          self.itemId = iprot.readI64();
18905
        else:
18906
          iprot.skip(ftype)
18907
      elif fid == 2:
18908
        if ftype == TType.I64:
18909
          self.sourceId = iprot.readI64();
18910
        else:
18911
          iprot.skip(ftype)
18912
      else:
18913
        iprot.skip(ftype)
18914
      iprot.readFieldEnd()
18915
    iprot.readStructEnd()
18916
 
18917
  def write(self, oprot):
18918
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18919
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18920
      return
18921
    oprot.writeStructBegin('getItemPricingBySource_args')
18922
    if self.itemId is not None:
18923
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18924
      oprot.writeI64(self.itemId)
18925
      oprot.writeFieldEnd()
18926
    if self.sourceId is not None:
18927
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
18928
      oprot.writeI64(self.sourceId)
18929
      oprot.writeFieldEnd()
18930
    oprot.writeFieldStop()
18931
    oprot.writeStructEnd()
18932
 
18933
  def validate(self):
18934
    return
18935
 
18936
 
18937
  def __repr__(self):
18938
    L = ['%s=%r' % (key, value)
18939
      for key, value in self.__dict__.iteritems()]
18940
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18941
 
18942
  def __eq__(self, other):
18943
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18944
 
18945
  def __ne__(self, other):
18946
    return not (self == other)
18947
 
18948
class getItemPricingBySource_result:
18949
  """
18950
  Attributes:
18951
   - success
18952
   - cex
18953
  """
18954
 
18955
  thrift_spec = (
18956
    (0, TType.STRUCT, 'success', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 0
18957
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18958
  )
18959
 
18960
  def __init__(self, success=None, cex=None,):
18961
    self.success = success
18962
    self.cex = cex
18963
 
18964
  def read(self, iprot):
18965
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18966
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18967
      return
18968
    iprot.readStructBegin()
18969
    while True:
18970
      (fname, ftype, fid) = iprot.readFieldBegin()
18971
      if ftype == TType.STOP:
18972
        break
18973
      if fid == 0:
18974
        if ftype == TType.STRUCT:
18975
          self.success = SourceItemPricing()
18976
          self.success.read(iprot)
18977
        else:
18978
          iprot.skip(ftype)
18979
      elif fid == 1:
18980
        if ftype == TType.STRUCT:
18981
          self.cex = CatalogServiceException()
18982
          self.cex.read(iprot)
18983
        else:
18984
          iprot.skip(ftype)
18985
      else:
18986
        iprot.skip(ftype)
18987
      iprot.readFieldEnd()
18988
    iprot.readStructEnd()
18989
 
18990
  def write(self, oprot):
18991
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18992
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18993
      return
18994
    oprot.writeStructBegin('getItemPricingBySource_result')
18995
    if self.success is not None:
18996
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
18997
      self.success.write(oprot)
18998
      oprot.writeFieldEnd()
18999
    if self.cex is not None:
19000
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19001
      self.cex.write(oprot)
19002
      oprot.writeFieldEnd()
19003
    oprot.writeFieldStop()
19004
    oprot.writeStructEnd()
19005
 
19006
  def validate(self):
19007
    return
19008
 
19009
 
19010
  def __repr__(self):
19011
    L = ['%s=%r' % (key, value)
19012
      for key, value in self.__dict__.iteritems()]
19013
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19014
 
19015
  def __eq__(self, other):
19016
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19017
 
19018
  def __ne__(self, other):
19019
    return not (self == other)
19020
 
19021
class addSourceItemPricing_args:
19022
  """
19023
  Attributes:
19024
   - sourceItemPricing
19025
  """
19026
 
19027
  thrift_spec = (
19028
    None, # 0
19029
    (1, TType.STRUCT, 'sourceItemPricing', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 1
19030
  )
19031
 
19032
  def __init__(self, sourceItemPricing=None,):
19033
    self.sourceItemPricing = sourceItemPricing
19034
 
19035
  def read(self, iprot):
19036
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19037
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19038
      return
19039
    iprot.readStructBegin()
19040
    while True:
19041
      (fname, ftype, fid) = iprot.readFieldBegin()
19042
      if ftype == TType.STOP:
19043
        break
19044
      if fid == 1:
19045
        if ftype == TType.STRUCT:
19046
          self.sourceItemPricing = SourceItemPricing()
19047
          self.sourceItemPricing.read(iprot)
19048
        else:
19049
          iprot.skip(ftype)
19050
      else:
19051
        iprot.skip(ftype)
19052
      iprot.readFieldEnd()
19053
    iprot.readStructEnd()
19054
 
19055
  def write(self, oprot):
19056
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19057
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19058
      return
19059
    oprot.writeStructBegin('addSourceItemPricing_args')
19060
    if self.sourceItemPricing is not None:
19061
      oprot.writeFieldBegin('sourceItemPricing', TType.STRUCT, 1)
19062
      self.sourceItemPricing.write(oprot)
19063
      oprot.writeFieldEnd()
19064
    oprot.writeFieldStop()
19065
    oprot.writeStructEnd()
19066
 
19067
  def validate(self):
19068
    return
19069
 
19070
 
19071
  def __repr__(self):
19072
    L = ['%s=%r' % (key, value)
19073
      for key, value in self.__dict__.iteritems()]
19074
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19075
 
19076
  def __eq__(self, other):
19077
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19078
 
19079
  def __ne__(self, other):
19080
    return not (self == other)
19081
 
19082
class addSourceItemPricing_result:
19083
  """
19084
  Attributes:
19085
   - cex
19086
  """
19087
 
19088
  thrift_spec = (
19089
    None, # 0
19090
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19091
  )
19092
 
19093
  def __init__(self, cex=None,):
19094
    self.cex = cex
19095
 
19096
  def read(self, iprot):
19097
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19098
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19099
      return
19100
    iprot.readStructBegin()
19101
    while True:
19102
      (fname, ftype, fid) = iprot.readFieldBegin()
19103
      if ftype == TType.STOP:
19104
        break
19105
      if fid == 1:
19106
        if ftype == TType.STRUCT:
19107
          self.cex = CatalogServiceException()
19108
          self.cex.read(iprot)
19109
        else:
19110
          iprot.skip(ftype)
19111
      else:
19112
        iprot.skip(ftype)
19113
      iprot.readFieldEnd()
19114
    iprot.readStructEnd()
19115
 
19116
  def write(self, oprot):
19117
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19118
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19119
      return
19120
    oprot.writeStructBegin('addSourceItemPricing_result')
19121
    if self.cex is not None:
19122
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19123
      self.cex.write(oprot)
19124
      oprot.writeFieldEnd()
19125
    oprot.writeFieldStop()
19126
    oprot.writeStructEnd()
19127
 
19128
  def validate(self):
19129
    return
19130
 
19131
 
19132
  def __repr__(self):
19133
    L = ['%s=%r' % (key, value)
19134
      for key, value in self.__dict__.iteritems()]
19135
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19136
 
19137
  def __eq__(self, other):
19138
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19139
 
19140
  def __ne__(self, other):
19141
    return not (self == other)
19142
 
19143
class getAllSourcePricing_args:
19144
  """
19145
  Attributes:
19146
   - itemId
19147
  """
19148
 
19149
  thrift_spec = (
19150
    None, # 0
19151
    (1, TType.I64, 'itemId', None, None, ), # 1
19152
  )
19153
 
19154
  def __init__(self, itemId=None,):
19155
    self.itemId = itemId
19156
 
19157
  def read(self, iprot):
19158
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19159
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19160
      return
19161
    iprot.readStructBegin()
19162
    while True:
19163
      (fname, ftype, fid) = iprot.readFieldBegin()
19164
      if ftype == TType.STOP:
19165
        break
19166
      if fid == 1:
19167
        if ftype == TType.I64:
19168
          self.itemId = iprot.readI64();
19169
        else:
19170
          iprot.skip(ftype)
19171
      else:
19172
        iprot.skip(ftype)
19173
      iprot.readFieldEnd()
19174
    iprot.readStructEnd()
19175
 
19176
  def write(self, oprot):
19177
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19178
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19179
      return
19180
    oprot.writeStructBegin('getAllSourcePricing_args')
19181
    if self.itemId is not None:
19182
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19183
      oprot.writeI64(self.itemId)
19184
      oprot.writeFieldEnd()
19185
    oprot.writeFieldStop()
19186
    oprot.writeStructEnd()
19187
 
19188
  def validate(self):
19189
    return
19190
 
19191
 
19192
  def __repr__(self):
19193
    L = ['%s=%r' % (key, value)
19194
      for key, value in self.__dict__.iteritems()]
19195
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19196
 
19197
  def __eq__(self, other):
19198
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19199
 
19200
  def __ne__(self, other):
19201
    return not (self == other)
19202
 
19203
class getAllSourcePricing_result:
19204
  """
19205
  Attributes:
19206
   - success
19207
   - cex
19208
  """
19209
 
19210
  thrift_spec = (
19211
    (0, TType.LIST, 'success', (TType.STRUCT,(SourceItemPricing, SourceItemPricing.thrift_spec)), None, ), # 0
19212
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19213
  )
19214
 
19215
  def __init__(self, success=None, cex=None,):
19216
    self.success = success
19217
    self.cex = cex
19218
 
19219
  def read(self, iprot):
19220
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19221
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19222
      return
19223
    iprot.readStructBegin()
19224
    while True:
19225
      (fname, ftype, fid) = iprot.readFieldBegin()
19226
      if ftype == TType.STOP:
19227
        break
19228
      if fid == 0:
19229
        if ftype == TType.LIST:
19230
          self.success = []
13493 amit.gupta 19231
          (_etype346, _size343) = iprot.readListBegin()
19232
          for _i347 in xrange(_size343):
19233
            _elem348 = SourceItemPricing()
19234
            _elem348.read(iprot)
19235
            self.success.append(_elem348)
5944 mandeep.dh 19236
          iprot.readListEnd()
19237
        else:
19238
          iprot.skip(ftype)
19239
      elif fid == 1:
19240
        if ftype == TType.STRUCT:
19241
          self.cex = CatalogServiceException()
19242
          self.cex.read(iprot)
19243
        else:
19244
          iprot.skip(ftype)
19245
      else:
19246
        iprot.skip(ftype)
19247
      iprot.readFieldEnd()
19248
    iprot.readStructEnd()
19249
 
19250
  def write(self, oprot):
19251
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19252
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19253
      return
19254
    oprot.writeStructBegin('getAllSourcePricing_result')
19255
    if self.success is not None:
19256
      oprot.writeFieldBegin('success', TType.LIST, 0)
19257
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 19258
      for iter349 in self.success:
19259
        iter349.write(oprot)
5944 mandeep.dh 19260
      oprot.writeListEnd()
19261
      oprot.writeFieldEnd()
19262
    if self.cex is not None:
19263
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19264
      self.cex.write(oprot)
19265
      oprot.writeFieldEnd()
19266
    oprot.writeFieldStop()
19267
    oprot.writeStructEnd()
19268
 
19269
  def validate(self):
19270
    return
19271
 
19272
 
19273
  def __repr__(self):
19274
    L = ['%s=%r' % (key, value)
19275
      for key, value in self.__dict__.iteritems()]
19276
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19277
 
19278
  def __eq__(self, other):
19279
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19280
 
19281
  def __ne__(self, other):
19282
    return not (self == other)
19283
 
19284
class getItemForSource_args:
19285
  """
19286
  Attributes:
19287
   - item_id
19288
   - sourceId
19289
  """
19290
 
19291
  thrift_spec = (
19292
    None, # 0
19293
    (1, TType.I64, 'item_id', None, None, ), # 1
19294
    (2, TType.I64, 'sourceId', None, None, ), # 2
19295
  )
19296
 
19297
  def __init__(self, item_id=None, sourceId=None,):
19298
    self.item_id = item_id
19299
    self.sourceId = sourceId
19300
 
19301
  def read(self, iprot):
19302
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19303
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19304
      return
19305
    iprot.readStructBegin()
19306
    while True:
19307
      (fname, ftype, fid) = iprot.readFieldBegin()
19308
      if ftype == TType.STOP:
19309
        break
19310
      if fid == 1:
19311
        if ftype == TType.I64:
19312
          self.item_id = iprot.readI64();
19313
        else:
19314
          iprot.skip(ftype)
19315
      elif fid == 2:
19316
        if ftype == TType.I64:
19317
          self.sourceId = iprot.readI64();
19318
        else:
19319
          iprot.skip(ftype)
19320
      else:
19321
        iprot.skip(ftype)
19322
      iprot.readFieldEnd()
19323
    iprot.readStructEnd()
19324
 
19325
  def write(self, oprot):
19326
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19327
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19328
      return
19329
    oprot.writeStructBegin('getItemForSource_args')
19330
    if self.item_id is not None:
19331
      oprot.writeFieldBegin('item_id', TType.I64, 1)
19332
      oprot.writeI64(self.item_id)
19333
      oprot.writeFieldEnd()
19334
    if self.sourceId is not None:
19335
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
19336
      oprot.writeI64(self.sourceId)
19337
      oprot.writeFieldEnd()
19338
    oprot.writeFieldStop()
19339
    oprot.writeStructEnd()
19340
 
19341
  def validate(self):
19342
    return
19343
 
19344
 
19345
  def __repr__(self):
19346
    L = ['%s=%r' % (key, value)
19347
      for key, value in self.__dict__.iteritems()]
19348
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19349
 
19350
  def __eq__(self, other):
19351
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19352
 
19353
  def __ne__(self, other):
19354
    return not (self == other)
19355
 
19356
class getItemForSource_result:
19357
  """
19358
  Attributes:
19359
   - success
19360
   - cex
19361
  """
19362
 
19363
  thrift_spec = (
19364
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
19365
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19366
  )
19367
 
19368
  def __init__(self, success=None, cex=None,):
19369
    self.success = success
19370
    self.cex = cex
19371
 
19372
  def read(self, iprot):
19373
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19374
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19375
      return
19376
    iprot.readStructBegin()
19377
    while True:
19378
      (fname, ftype, fid) = iprot.readFieldBegin()
19379
      if ftype == TType.STOP:
19380
        break
19381
      if fid == 0:
19382
        if ftype == TType.STRUCT:
19383
          self.success = Item()
19384
          self.success.read(iprot)
19385
        else:
19386
          iprot.skip(ftype)
19387
      elif fid == 1:
19388
        if ftype == TType.STRUCT:
19389
          self.cex = CatalogServiceException()
19390
          self.cex.read(iprot)
19391
        else:
19392
          iprot.skip(ftype)
19393
      else:
19394
        iprot.skip(ftype)
19395
      iprot.readFieldEnd()
19396
    iprot.readStructEnd()
19397
 
19398
  def write(self, oprot):
19399
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19400
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19401
      return
19402
    oprot.writeStructBegin('getItemForSource_result')
19403
    if self.success is not None:
19404
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
19405
      self.success.write(oprot)
19406
      oprot.writeFieldEnd()
19407
    if self.cex is not None:
19408
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19409
      self.cex.write(oprot)
19410
      oprot.writeFieldEnd()
19411
    oprot.writeFieldStop()
19412
    oprot.writeStructEnd()
19413
 
19414
  def validate(self):
19415
    return
19416
 
19417
 
19418
  def __repr__(self):
19419
    L = ['%s=%r' % (key, value)
19420
      for key, value in self.__dict__.iteritems()]
19421
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19422
 
19423
  def __eq__(self, other):
19424
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19425
 
19426
  def __ne__(self, other):
19427
    return not (self == other)
19428
 
19429
class searchItemsInRange_args:
19430
  """
19431
  Attributes:
19432
   - searchTerms
19433
   - offset
19434
   - limit
19435
  """
19436
 
19437
  thrift_spec = (
19438
    None, # 0
19439
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
19440
    (2, TType.I64, 'offset', None, None, ), # 2
19441
    (3, TType.I64, 'limit', None, None, ), # 3
19442
  )
19443
 
19444
  def __init__(self, searchTerms=None, offset=None, limit=None,):
19445
    self.searchTerms = searchTerms
19446
    self.offset = offset
19447
    self.limit = limit
19448
 
19449
  def read(self, iprot):
19450
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19451
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19452
      return
19453
    iprot.readStructBegin()
19454
    while True:
19455
      (fname, ftype, fid) = iprot.readFieldBegin()
19456
      if ftype == TType.STOP:
19457
        break
19458
      if fid == 1:
19459
        if ftype == TType.LIST:
19460
          self.searchTerms = []
13493 amit.gupta 19461
          (_etype353, _size350) = iprot.readListBegin()
19462
          for _i354 in xrange(_size350):
19463
            _elem355 = iprot.readString();
19464
            self.searchTerms.append(_elem355)
5944 mandeep.dh 19465
          iprot.readListEnd()
19466
        else:
19467
          iprot.skip(ftype)
19468
      elif fid == 2:
19469
        if ftype == TType.I64:
19470
          self.offset = iprot.readI64();
19471
        else:
19472
          iprot.skip(ftype)
19473
      elif fid == 3:
19474
        if ftype == TType.I64:
19475
          self.limit = iprot.readI64();
19476
        else:
19477
          iprot.skip(ftype)
19478
      else:
19479
        iprot.skip(ftype)
19480
      iprot.readFieldEnd()
19481
    iprot.readStructEnd()
19482
 
19483
  def write(self, oprot):
19484
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19485
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19486
      return
19487
    oprot.writeStructBegin('searchItemsInRange_args')
19488
    if self.searchTerms is not None:
19489
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
19490
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
13493 amit.gupta 19491
      for iter356 in self.searchTerms:
19492
        oprot.writeString(iter356)
5944 mandeep.dh 19493
      oprot.writeListEnd()
19494
      oprot.writeFieldEnd()
19495
    if self.offset is not None:
19496
      oprot.writeFieldBegin('offset', TType.I64, 2)
19497
      oprot.writeI64(self.offset)
19498
      oprot.writeFieldEnd()
19499
    if self.limit is not None:
19500
      oprot.writeFieldBegin('limit', TType.I64, 3)
19501
      oprot.writeI64(self.limit)
19502
      oprot.writeFieldEnd()
19503
    oprot.writeFieldStop()
19504
    oprot.writeStructEnd()
19505
 
19506
  def validate(self):
19507
    return
19508
 
19509
 
19510
  def __repr__(self):
19511
    L = ['%s=%r' % (key, value)
19512
      for key, value in self.__dict__.iteritems()]
19513
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19514
 
19515
  def __eq__(self, other):
19516
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19517
 
19518
  def __ne__(self, other):
19519
    return not (self == other)
19520
 
19521
class searchItemsInRange_result:
19522
  """
19523
  Attributes:
19524
   - success
19525
  """
19526
 
19527
  thrift_spec = (
19528
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
19529
  )
19530
 
19531
  def __init__(self, success=None,):
19532
    self.success = success
19533
 
19534
  def read(self, iprot):
19535
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19536
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19537
      return
19538
    iprot.readStructBegin()
19539
    while True:
19540
      (fname, ftype, fid) = iprot.readFieldBegin()
19541
      if ftype == TType.STOP:
19542
        break
19543
      if fid == 0:
19544
        if ftype == TType.LIST:
19545
          self.success = []
13493 amit.gupta 19546
          (_etype360, _size357) = iprot.readListBegin()
19547
          for _i361 in xrange(_size357):
19548
            _elem362 = Item()
19549
            _elem362.read(iprot)
19550
            self.success.append(_elem362)
5944 mandeep.dh 19551
          iprot.readListEnd()
19552
        else:
19553
          iprot.skip(ftype)
19554
      else:
19555
        iprot.skip(ftype)
19556
      iprot.readFieldEnd()
19557
    iprot.readStructEnd()
19558
 
19559
  def write(self, oprot):
19560
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19561
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19562
      return
19563
    oprot.writeStructBegin('searchItemsInRange_result')
19564
    if self.success is not None:
19565
      oprot.writeFieldBegin('success', TType.LIST, 0)
19566
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 19567
      for iter363 in self.success:
19568
        iter363.write(oprot)
5944 mandeep.dh 19569
      oprot.writeListEnd()
19570
      oprot.writeFieldEnd()
19571
    oprot.writeFieldStop()
19572
    oprot.writeStructEnd()
19573
 
19574
  def validate(self):
19575
    return
19576
 
19577
 
19578
  def __repr__(self):
19579
    L = ['%s=%r' % (key, value)
19580
      for key, value in self.__dict__.iteritems()]
19581
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19582
 
19583
  def __eq__(self, other):
19584
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19585
 
19586
  def __ne__(self, other):
19587
    return not (self == other)
19588
 
19589
class getSearchResultCount_args:
19590
  """
19591
  Attributes:
19592
   - searchTerms
19593
  """
19594
 
19595
  thrift_spec = (
19596
    None, # 0
19597
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
19598
  )
19599
 
19600
  def __init__(self, searchTerms=None,):
19601
    self.searchTerms = searchTerms
19602
 
19603
  def read(self, iprot):
19604
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19605
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19606
      return
19607
    iprot.readStructBegin()
19608
    while True:
19609
      (fname, ftype, fid) = iprot.readFieldBegin()
19610
      if ftype == TType.STOP:
19611
        break
19612
      if fid == 1:
19613
        if ftype == TType.LIST:
19614
          self.searchTerms = []
13493 amit.gupta 19615
          (_etype367, _size364) = iprot.readListBegin()
19616
          for _i368 in xrange(_size364):
19617
            _elem369 = iprot.readString();
19618
            self.searchTerms.append(_elem369)
5944 mandeep.dh 19619
          iprot.readListEnd()
19620
        else:
19621
          iprot.skip(ftype)
19622
      else:
19623
        iprot.skip(ftype)
19624
      iprot.readFieldEnd()
19625
    iprot.readStructEnd()
19626
 
19627
  def write(self, oprot):
19628
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19629
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19630
      return
19631
    oprot.writeStructBegin('getSearchResultCount_args')
19632
    if self.searchTerms is not None:
19633
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
19634
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
13493 amit.gupta 19635
      for iter370 in self.searchTerms:
19636
        oprot.writeString(iter370)
5944 mandeep.dh 19637
      oprot.writeListEnd()
19638
      oprot.writeFieldEnd()
19639
    oprot.writeFieldStop()
19640
    oprot.writeStructEnd()
19641
 
19642
  def validate(self):
19643
    return
19644
 
19645
 
19646
  def __repr__(self):
19647
    L = ['%s=%r' % (key, value)
19648
      for key, value in self.__dict__.iteritems()]
19649
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19650
 
19651
  def __eq__(self, other):
19652
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19653
 
19654
  def __ne__(self, other):
19655
    return not (self == other)
19656
 
19657
class getSearchResultCount_result:
19658
  """
19659
  Attributes:
19660
   - success
19661
  """
19662
 
19663
  thrift_spec = (
19664
    (0, TType.I32, 'success', None, None, ), # 0
19665
  )
19666
 
19667
  def __init__(self, success=None,):
19668
    self.success = success
19669
 
19670
  def read(self, iprot):
19671
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19672
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19673
      return
19674
    iprot.readStructBegin()
19675
    while True:
19676
      (fname, ftype, fid) = iprot.readFieldBegin()
19677
      if ftype == TType.STOP:
19678
        break
19679
      if fid == 0:
19680
        if ftype == TType.I32:
19681
          self.success = iprot.readI32();
19682
        else:
19683
          iprot.skip(ftype)
19684
      else:
19685
        iprot.skip(ftype)
19686
      iprot.readFieldEnd()
19687
    iprot.readStructEnd()
19688
 
19689
  def write(self, oprot):
19690
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19691
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19692
      return
19693
    oprot.writeStructBegin('getSearchResultCount_result')
19694
    if self.success is not None:
19695
      oprot.writeFieldBegin('success', TType.I32, 0)
19696
      oprot.writeI32(self.success)
19697
      oprot.writeFieldEnd()
19698
    oprot.writeFieldStop()
19699
    oprot.writeStructEnd()
19700
 
19701
  def validate(self):
19702
    return
19703
 
19704
 
19705
  def __repr__(self):
19706
    L = ['%s=%r' % (key, value)
19707
      for key, value in self.__dict__.iteritems()]
19708
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19709
 
19710
  def __eq__(self, other):
19711
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19712
 
19713
  def __ne__(self, other):
19714
    return not (self == other)
19715
 
19716
class getProductNotifications_args:
19717
  """
19718
  Attributes:
19719
   - startDateTime
19720
  """
19721
 
19722
  thrift_spec = (
19723
    None, # 0
19724
    (1, TType.I64, 'startDateTime', None, None, ), # 1
19725
  )
19726
 
19727
  def __init__(self, startDateTime=None,):
19728
    self.startDateTime = startDateTime
19729
 
19730
  def read(self, iprot):
19731
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19732
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19733
      return
19734
    iprot.readStructBegin()
19735
    while True:
19736
      (fname, ftype, fid) = iprot.readFieldBegin()
19737
      if ftype == TType.STOP:
19738
        break
19739
      if fid == 1:
19740
        if ftype == TType.I64:
19741
          self.startDateTime = iprot.readI64();
19742
        else:
19743
          iprot.skip(ftype)
19744
      else:
19745
        iprot.skip(ftype)
19746
      iprot.readFieldEnd()
19747
    iprot.readStructEnd()
19748
 
19749
  def write(self, oprot):
19750
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19751
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19752
      return
19753
    oprot.writeStructBegin('getProductNotifications_args')
19754
    if self.startDateTime is not None:
19755
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
19756
      oprot.writeI64(self.startDateTime)
19757
      oprot.writeFieldEnd()
19758
    oprot.writeFieldStop()
19759
    oprot.writeStructEnd()
19760
 
19761
  def validate(self):
19762
    return
19763
 
19764
 
19765
  def __repr__(self):
19766
    L = ['%s=%r' % (key, value)
19767
      for key, value in self.__dict__.iteritems()]
19768
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19769
 
19770
  def __eq__(self, other):
19771
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19772
 
19773
  def __ne__(self, other):
19774
    return not (self == other)
19775
 
19776
class getProductNotifications_result:
19777
  """
19778
  Attributes:
19779
   - success
19780
  """
19781
 
19782
  thrift_spec = (
19783
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequest, ProductNotificationRequest.thrift_spec)), None, ), # 0
19784
  )
19785
 
19786
  def __init__(self, success=None,):
19787
    self.success = success
19788
 
19789
  def read(self, iprot):
19790
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19791
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19792
      return
19793
    iprot.readStructBegin()
19794
    while True:
19795
      (fname, ftype, fid) = iprot.readFieldBegin()
19796
      if ftype == TType.STOP:
19797
        break
19798
      if fid == 0:
19799
        if ftype == TType.LIST:
19800
          self.success = []
13493 amit.gupta 19801
          (_etype374, _size371) = iprot.readListBegin()
19802
          for _i375 in xrange(_size371):
19803
            _elem376 = ProductNotificationRequest()
19804
            _elem376.read(iprot)
19805
            self.success.append(_elem376)
5944 mandeep.dh 19806
          iprot.readListEnd()
19807
        else:
19808
          iprot.skip(ftype)
19809
      else:
19810
        iprot.skip(ftype)
19811
      iprot.readFieldEnd()
19812
    iprot.readStructEnd()
19813
 
19814
  def write(self, oprot):
19815
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19816
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19817
      return
19818
    oprot.writeStructBegin('getProductNotifications_result')
19819
    if self.success is not None:
19820
      oprot.writeFieldBegin('success', TType.LIST, 0)
19821
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 19822
      for iter377 in self.success:
19823
        iter377.write(oprot)
5944 mandeep.dh 19824
      oprot.writeListEnd()
19825
      oprot.writeFieldEnd()
19826
    oprot.writeFieldStop()
19827
    oprot.writeStructEnd()
19828
 
19829
  def validate(self):
19830
    return
19831
 
19832
 
19833
  def __repr__(self):
19834
    L = ['%s=%r' % (key, value)
19835
      for key, value in self.__dict__.iteritems()]
19836
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19837
 
19838
  def __eq__(self, other):
19839
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19840
 
19841
  def __ne__(self, other):
19842
    return not (self == other)
19843
 
19844
class getProductNotificationRequestCount_args:
19845
  """
19846
  Attributes:
19847
   - startDateTime
7897 amar.kumar 19848
   - categoryId
5944 mandeep.dh 19849
  """
19850
 
19851
  thrift_spec = (
19852
    None, # 0
19853
    (1, TType.I64, 'startDateTime', None, None, ), # 1
7897 amar.kumar 19854
    (2, TType.I64, 'categoryId', None, None, ), # 2
5944 mandeep.dh 19855
  )
19856
 
7897 amar.kumar 19857
  def __init__(self, startDateTime=None, categoryId=None,):
5944 mandeep.dh 19858
    self.startDateTime = startDateTime
7897 amar.kumar 19859
    self.categoryId = categoryId
5944 mandeep.dh 19860
 
19861
  def read(self, iprot):
19862
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19863
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19864
      return
19865
    iprot.readStructBegin()
19866
    while True:
19867
      (fname, ftype, fid) = iprot.readFieldBegin()
19868
      if ftype == TType.STOP:
19869
        break
19870
      if fid == 1:
19871
        if ftype == TType.I64:
19872
          self.startDateTime = iprot.readI64();
19873
        else:
19874
          iprot.skip(ftype)
7897 amar.kumar 19875
      elif fid == 2:
19876
        if ftype == TType.I64:
19877
          self.categoryId = iprot.readI64();
19878
        else:
19879
          iprot.skip(ftype)
5944 mandeep.dh 19880
      else:
19881
        iprot.skip(ftype)
19882
      iprot.readFieldEnd()
19883
    iprot.readStructEnd()
19884
 
19885
  def write(self, oprot):
19886
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19887
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19888
      return
19889
    oprot.writeStructBegin('getProductNotificationRequestCount_args')
19890
    if self.startDateTime is not None:
19891
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
19892
      oprot.writeI64(self.startDateTime)
19893
      oprot.writeFieldEnd()
7897 amar.kumar 19894
    if self.categoryId is not None:
19895
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
19896
      oprot.writeI64(self.categoryId)
19897
      oprot.writeFieldEnd()
5944 mandeep.dh 19898
    oprot.writeFieldStop()
19899
    oprot.writeStructEnd()
19900
 
19901
  def validate(self):
19902
    return
19903
 
19904
 
19905
  def __repr__(self):
19906
    L = ['%s=%r' % (key, value)
19907
      for key, value in self.__dict__.iteritems()]
19908
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19909
 
19910
  def __eq__(self, other):
19911
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19912
 
19913
  def __ne__(self, other):
19914
    return not (self == other)
19915
 
19916
class getProductNotificationRequestCount_result:
19917
  """
19918
  Attributes:
19919
   - success
19920
  """
19921
 
19922
  thrift_spec = (
19923
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequestCount, ProductNotificationRequestCount.thrift_spec)), None, ), # 0
19924
  )
19925
 
19926
  def __init__(self, success=None,):
19927
    self.success = success
19928
 
19929
  def read(self, iprot):
19930
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19931
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19932
      return
19933
    iprot.readStructBegin()
19934
    while True:
19935
      (fname, ftype, fid) = iprot.readFieldBegin()
19936
      if ftype == TType.STOP:
19937
        break
19938
      if fid == 0:
19939
        if ftype == TType.LIST:
19940
          self.success = []
13493 amit.gupta 19941
          (_etype381, _size378) = iprot.readListBegin()
19942
          for _i382 in xrange(_size378):
19943
            _elem383 = ProductNotificationRequestCount()
19944
            _elem383.read(iprot)
19945
            self.success.append(_elem383)
5944 mandeep.dh 19946
          iprot.readListEnd()
19947
        else:
19948
          iprot.skip(ftype)
19949
      else:
19950
        iprot.skip(ftype)
19951
      iprot.readFieldEnd()
19952
    iprot.readStructEnd()
19953
 
19954
  def write(self, oprot):
19955
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19956
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19957
      return
19958
    oprot.writeStructBegin('getProductNotificationRequestCount_result')
19959
    if self.success is not None:
19960
      oprot.writeFieldBegin('success', TType.LIST, 0)
19961
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 19962
      for iter384 in self.success:
19963
        iter384.write(oprot)
5944 mandeep.dh 19964
      oprot.writeListEnd()
19965
      oprot.writeFieldEnd()
19966
    oprot.writeFieldStop()
19967
    oprot.writeStructEnd()
19968
 
19969
  def validate(self):
19970
    return
19971
 
19972
 
19973
  def __repr__(self):
19974
    L = ['%s=%r' % (key, value)
19975
      for key, value in self.__dict__.iteritems()]
19976
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19977
 
19978
  def __eq__(self, other):
19979
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19980
 
19981
  def __ne__(self, other):
19982
    return not (self == other)
19983
 
19984
class addAuthorizationLog_args:
19985
  """
19986
  Attributes:
19987
   - itemId
19988
   - username
19989
   - reason
19990
  """
19991
 
19992
  thrift_spec = (
19993
    None, # 0
19994
    (1, TType.I64, 'itemId', None, None, ), # 1
19995
    (2, TType.STRING, 'username', None, None, ), # 2
19996
    (3, TType.STRING, 'reason', None, None, ), # 3
19997
  )
19998
 
19999
  def __init__(self, itemId=None, username=None, reason=None,):
20000
    self.itemId = itemId
20001
    self.username = username
20002
    self.reason = reason
20003
 
20004
  def read(self, iprot):
20005
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20006
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20007
      return
20008
    iprot.readStructBegin()
20009
    while True:
20010
      (fname, ftype, fid) = iprot.readFieldBegin()
20011
      if ftype == TType.STOP:
20012
        break
20013
      if fid == 1:
20014
        if ftype == TType.I64:
20015
          self.itemId = iprot.readI64();
20016
        else:
20017
          iprot.skip(ftype)
20018
      elif fid == 2:
20019
        if ftype == TType.STRING:
20020
          self.username = iprot.readString();
20021
        else:
20022
          iprot.skip(ftype)
20023
      elif fid == 3:
20024
        if ftype == TType.STRING:
20025
          self.reason = iprot.readString();
20026
        else:
20027
          iprot.skip(ftype)
20028
      else:
20029
        iprot.skip(ftype)
20030
      iprot.readFieldEnd()
20031
    iprot.readStructEnd()
20032
 
20033
  def write(self, oprot):
20034
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20035
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20036
      return
20037
    oprot.writeStructBegin('addAuthorizationLog_args')
20038
    if self.itemId is not None:
20039
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20040
      oprot.writeI64(self.itemId)
20041
      oprot.writeFieldEnd()
20042
    if self.username is not None:
20043
      oprot.writeFieldBegin('username', TType.STRING, 2)
20044
      oprot.writeString(self.username)
20045
      oprot.writeFieldEnd()
20046
    if self.reason is not None:
20047
      oprot.writeFieldBegin('reason', TType.STRING, 3)
20048
      oprot.writeString(self.reason)
20049
      oprot.writeFieldEnd()
20050
    oprot.writeFieldStop()
20051
    oprot.writeStructEnd()
20052
 
20053
  def validate(self):
20054
    return
20055
 
20056
 
20057
  def __repr__(self):
20058
    L = ['%s=%r' % (key, value)
20059
      for key, value in self.__dict__.iteritems()]
20060
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20061
 
20062
  def __eq__(self, other):
20063
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20064
 
20065
  def __ne__(self, other):
20066
    return not (self == other)
20067
 
20068
class addAuthorizationLog_result:
20069
  """
20070
  Attributes:
20071
   - success
20072
   - cex
20073
  """
20074
 
20075
  thrift_spec = (
20076
    (0, TType.BOOL, 'success', None, None, ), # 0
20077
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20078
  )
20079
 
20080
  def __init__(self, success=None, cex=None,):
20081
    self.success = success
20082
    self.cex = cex
20083
 
20084
  def read(self, iprot):
20085
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20086
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20087
      return
20088
    iprot.readStructBegin()
20089
    while True:
20090
      (fname, ftype, fid) = iprot.readFieldBegin()
20091
      if ftype == TType.STOP:
20092
        break
20093
      if fid == 0:
20094
        if ftype == TType.BOOL:
20095
          self.success = iprot.readBool();
20096
        else:
20097
          iprot.skip(ftype)
20098
      elif fid == 1:
20099
        if ftype == TType.STRUCT:
20100
          self.cex = CatalogServiceException()
20101
          self.cex.read(iprot)
20102
        else:
20103
          iprot.skip(ftype)
20104
      else:
20105
        iprot.skip(ftype)
20106
      iprot.readFieldEnd()
20107
    iprot.readStructEnd()
20108
 
20109
  def write(self, oprot):
20110
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20111
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20112
      return
20113
    oprot.writeStructBegin('addAuthorizationLog_result')
20114
    if self.success is not None:
20115
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20116
      oprot.writeBool(self.success)
20117
      oprot.writeFieldEnd()
20118
    if self.cex is not None:
20119
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20120
      self.cex.write(oprot)
20121
      oprot.writeFieldEnd()
20122
    oprot.writeFieldStop()
20123
    oprot.writeStructEnd()
20124
 
20125
  def validate(self):
20126
    return
20127
 
20128
 
20129
  def __repr__(self):
20130
    L = ['%s=%r' % (key, value)
20131
      for key, value in self.__dict__.iteritems()]
20132
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20133
 
20134
  def __eq__(self, other):
20135
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20136
 
20137
  def __ne__(self, other):
20138
    return not (self == other)
20139
 
20140
class addupdateVoucherForItem_args:
20141
  """
20142
  Attributes:
20143
   - catalog_item_id
20144
   - voucherType
20145
   - voucherAmount
20146
  """
20147
 
20148
  thrift_spec = (
20149
    None, # 0
20150
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20151
    (2, TType.I64, 'voucherType', None, None, ), # 2
20152
    (3, TType.I64, 'voucherAmount', None, None, ), # 3
20153
  )
20154
 
20155
  def __init__(self, catalog_item_id=None, voucherType=None, voucherAmount=None,):
20156
    self.catalog_item_id = catalog_item_id
20157
    self.voucherType = voucherType
20158
    self.voucherAmount = voucherAmount
20159
 
20160
  def read(self, iprot):
20161
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20162
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20163
      return
20164
    iprot.readStructBegin()
20165
    while True:
20166
      (fname, ftype, fid) = iprot.readFieldBegin()
20167
      if ftype == TType.STOP:
20168
        break
20169
      if fid == 1:
20170
        if ftype == TType.I64:
20171
          self.catalog_item_id = iprot.readI64();
20172
        else:
20173
          iprot.skip(ftype)
20174
      elif fid == 2:
20175
        if ftype == TType.I64:
20176
          self.voucherType = iprot.readI64();
20177
        else:
20178
          iprot.skip(ftype)
20179
      elif fid == 3:
20180
        if ftype == TType.I64:
20181
          self.voucherAmount = iprot.readI64();
20182
        else:
20183
          iprot.skip(ftype)
20184
      else:
20185
        iprot.skip(ftype)
20186
      iprot.readFieldEnd()
20187
    iprot.readStructEnd()
20188
 
20189
  def write(self, oprot):
20190
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20191
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20192
      return
20193
    oprot.writeStructBegin('addupdateVoucherForItem_args')
20194
    if self.catalog_item_id is not None:
20195
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20196
      oprot.writeI64(self.catalog_item_id)
20197
      oprot.writeFieldEnd()
20198
    if self.voucherType is not None:
20199
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20200
      oprot.writeI64(self.voucherType)
20201
      oprot.writeFieldEnd()
20202
    if self.voucherAmount is not None:
20203
      oprot.writeFieldBegin('voucherAmount', TType.I64, 3)
20204
      oprot.writeI64(self.voucherAmount)
20205
      oprot.writeFieldEnd()
20206
    oprot.writeFieldStop()
20207
    oprot.writeStructEnd()
20208
 
20209
  def validate(self):
20210
    return
20211
 
20212
 
20213
  def __repr__(self):
20214
    L = ['%s=%r' % (key, value)
20215
      for key, value in self.__dict__.iteritems()]
20216
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20217
 
20218
  def __eq__(self, other):
20219
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20220
 
20221
  def __ne__(self, other):
20222
    return not (self == other)
20223
 
20224
class addupdateVoucherForItem_result:
20225
  """
20226
  Attributes:
20227
   - success
20228
   - cex
20229
  """
20230
 
20231
  thrift_spec = (
20232
    (0, TType.BOOL, 'success', None, None, ), # 0
20233
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20234
  )
20235
 
20236
  def __init__(self, success=None, cex=None,):
20237
    self.success = success
20238
    self.cex = cex
20239
 
20240
  def read(self, iprot):
20241
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20242
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20243
      return
20244
    iprot.readStructBegin()
20245
    while True:
20246
      (fname, ftype, fid) = iprot.readFieldBegin()
20247
      if ftype == TType.STOP:
20248
        break
20249
      if fid == 0:
20250
        if ftype == TType.BOOL:
20251
          self.success = iprot.readBool();
20252
        else:
20253
          iprot.skip(ftype)
20254
      elif fid == 1:
20255
        if ftype == TType.STRUCT:
20256
          self.cex = CatalogServiceException()
20257
          self.cex.read(iprot)
20258
        else:
20259
          iprot.skip(ftype)
20260
      else:
20261
        iprot.skip(ftype)
20262
      iprot.readFieldEnd()
20263
    iprot.readStructEnd()
20264
 
20265
  def write(self, oprot):
20266
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20267
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20268
      return
20269
    oprot.writeStructBegin('addupdateVoucherForItem_result')
20270
    if self.success is not None:
20271
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20272
      oprot.writeBool(self.success)
20273
      oprot.writeFieldEnd()
20274
    if self.cex is not None:
20275
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20276
      self.cex.write(oprot)
20277
      oprot.writeFieldEnd()
20278
    oprot.writeFieldStop()
20279
    oprot.writeStructEnd()
20280
 
20281
  def validate(self):
20282
    return
20283
 
20284
 
20285
  def __repr__(self):
20286
    L = ['%s=%r' % (key, value)
20287
      for key, value in self.__dict__.iteritems()]
20288
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20289
 
20290
  def __eq__(self, other):
20291
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20292
 
20293
  def __ne__(self, other):
20294
    return not (self == other)
20295
 
20296
class deleteVoucherForItem_args:
20297
  """
20298
  Attributes:
20299
   - catalog_item_id
20300
   - voucherType
20301
  """
20302
 
20303
  thrift_spec = (
20304
    None, # 0
20305
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20306
    (2, TType.I64, 'voucherType', None, None, ), # 2
20307
  )
20308
 
20309
  def __init__(self, catalog_item_id=None, voucherType=None,):
20310
    self.catalog_item_id = catalog_item_id
20311
    self.voucherType = voucherType
20312
 
20313
  def read(self, iprot):
20314
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20315
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20316
      return
20317
    iprot.readStructBegin()
20318
    while True:
20319
      (fname, ftype, fid) = iprot.readFieldBegin()
20320
      if ftype == TType.STOP:
20321
        break
20322
      if fid == 1:
20323
        if ftype == TType.I64:
20324
          self.catalog_item_id = iprot.readI64();
20325
        else:
20326
          iprot.skip(ftype)
20327
      elif fid == 2:
20328
        if ftype == TType.I64:
20329
          self.voucherType = iprot.readI64();
20330
        else:
20331
          iprot.skip(ftype)
20332
      else:
20333
        iprot.skip(ftype)
20334
      iprot.readFieldEnd()
20335
    iprot.readStructEnd()
20336
 
20337
  def write(self, oprot):
20338
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20339
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20340
      return
20341
    oprot.writeStructBegin('deleteVoucherForItem_args')
20342
    if self.catalog_item_id is not None:
20343
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20344
      oprot.writeI64(self.catalog_item_id)
20345
      oprot.writeFieldEnd()
20346
    if self.voucherType is not None:
20347
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20348
      oprot.writeI64(self.voucherType)
20349
      oprot.writeFieldEnd()
20350
    oprot.writeFieldStop()
20351
    oprot.writeStructEnd()
20352
 
20353
  def validate(self):
20354
    return
20355
 
20356
 
20357
  def __repr__(self):
20358
    L = ['%s=%r' % (key, value)
20359
      for key, value in self.__dict__.iteritems()]
20360
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20361
 
20362
  def __eq__(self, other):
20363
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20364
 
20365
  def __ne__(self, other):
20366
    return not (self == other)
20367
 
20368
class deleteVoucherForItem_result:
20369
  """
20370
  Attributes:
20371
   - success
20372
   - cex
20373
  """
20374
 
20375
  thrift_spec = (
20376
    (0, TType.BOOL, 'success', None, None, ), # 0
20377
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20378
  )
20379
 
20380
  def __init__(self, success=None, cex=None,):
20381
    self.success = success
20382
    self.cex = cex
20383
 
20384
  def read(self, iprot):
20385
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20386
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20387
      return
20388
    iprot.readStructBegin()
20389
    while True:
20390
      (fname, ftype, fid) = iprot.readFieldBegin()
20391
      if ftype == TType.STOP:
20392
        break
20393
      if fid == 0:
20394
        if ftype == TType.BOOL:
20395
          self.success = iprot.readBool();
20396
        else:
20397
          iprot.skip(ftype)
20398
      elif fid == 1:
20399
        if ftype == TType.STRUCT:
20400
          self.cex = CatalogServiceException()
20401
          self.cex.read(iprot)
20402
        else:
20403
          iprot.skip(ftype)
20404
      else:
20405
        iprot.skip(ftype)
20406
      iprot.readFieldEnd()
20407
    iprot.readStructEnd()
20408
 
20409
  def write(self, oprot):
20410
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20411
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20412
      return
20413
    oprot.writeStructBegin('deleteVoucherForItem_result')
20414
    if self.success is not None:
20415
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20416
      oprot.writeBool(self.success)
20417
      oprot.writeFieldEnd()
20418
    if self.cex is not None:
20419
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20420
      self.cex.write(oprot)
20421
      oprot.writeFieldEnd()
20422
    oprot.writeFieldStop()
20423
    oprot.writeStructEnd()
20424
 
20425
  def validate(self):
20426
    return
20427
 
20428
 
20429
  def __repr__(self):
20430
    L = ['%s=%r' % (key, value)
20431
      for key, value in self.__dict__.iteritems()]
20432
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20433
 
20434
  def __eq__(self, other):
20435
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20436
 
20437
  def __ne__(self, other):
20438
    return not (self == other)
20439
 
20440
class getVoucherAmount_args:
20441
  """
20442
  Attributes:
20443
   - itemId
20444
   - voucherType
20445
  """
20446
 
20447
  thrift_spec = (
20448
    None, # 0
20449
    (1, TType.I64, 'itemId', None, None, ), # 1
20450
    (2, TType.I64, 'voucherType', None, None, ), # 2
20451
  )
20452
 
20453
  def __init__(self, itemId=None, voucherType=None,):
20454
    self.itemId = itemId
20455
    self.voucherType = voucherType
20456
 
20457
  def read(self, iprot):
20458
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20459
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20460
      return
20461
    iprot.readStructBegin()
20462
    while True:
20463
      (fname, ftype, fid) = iprot.readFieldBegin()
20464
      if ftype == TType.STOP:
20465
        break
20466
      if fid == 1:
20467
        if ftype == TType.I64:
20468
          self.itemId = iprot.readI64();
20469
        else:
20470
          iprot.skip(ftype)
20471
      elif fid == 2:
20472
        if ftype == TType.I64:
20473
          self.voucherType = iprot.readI64();
20474
        else:
20475
          iprot.skip(ftype)
20476
      else:
20477
        iprot.skip(ftype)
20478
      iprot.readFieldEnd()
20479
    iprot.readStructEnd()
20480
 
20481
  def write(self, oprot):
20482
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20483
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20484
      return
20485
    oprot.writeStructBegin('getVoucherAmount_args')
20486
    if self.itemId is not None:
20487
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20488
      oprot.writeI64(self.itemId)
20489
      oprot.writeFieldEnd()
20490
    if self.voucherType is not None:
20491
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20492
      oprot.writeI64(self.voucherType)
20493
      oprot.writeFieldEnd()
20494
    oprot.writeFieldStop()
20495
    oprot.writeStructEnd()
20496
 
20497
  def validate(self):
20498
    return
20499
 
20500
 
20501
  def __repr__(self):
20502
    L = ['%s=%r' % (key, value)
20503
      for key, value in self.__dict__.iteritems()]
20504
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20505
 
20506
  def __eq__(self, other):
20507
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20508
 
20509
  def __ne__(self, other):
20510
    return not (self == other)
20511
 
20512
class getVoucherAmount_result:
20513
  """
20514
  Attributes:
20515
   - success
20516
  """
20517
 
20518
  thrift_spec = (
20519
    (0, TType.I64, 'success', None, None, ), # 0
20520
  )
20521
 
20522
  def __init__(self, success=None,):
20523
    self.success = success
20524
 
20525
  def read(self, iprot):
20526
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20527
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20528
      return
20529
    iprot.readStructBegin()
20530
    while True:
20531
      (fname, ftype, fid) = iprot.readFieldBegin()
20532
      if ftype == TType.STOP:
20533
        break
20534
      if fid == 0:
20535
        if ftype == TType.I64:
20536
          self.success = iprot.readI64();
20537
        else:
20538
          iprot.skip(ftype)
20539
      else:
20540
        iprot.skip(ftype)
20541
      iprot.readFieldEnd()
20542
    iprot.readStructEnd()
20543
 
20544
  def write(self, oprot):
20545
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20546
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20547
      return
20548
    oprot.writeStructBegin('getVoucherAmount_result')
20549
    if self.success is not None:
20550
      oprot.writeFieldBegin('success', TType.I64, 0)
20551
      oprot.writeI64(self.success)
20552
      oprot.writeFieldEnd()
20553
    oprot.writeFieldStop()
20554
    oprot.writeStructEnd()
20555
 
20556
  def validate(self):
20557
    return
20558
 
20559
 
20560
  def __repr__(self):
20561
    L = ['%s=%r' % (key, value)
20562
      for key, value in self.__dict__.iteritems()]
20563
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20564
 
20565
  def __eq__(self, other):
20566
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20567
 
20568
  def __ne__(self, other):
20569
    return not (self == other)
20570
 
20571
class getAllItemVouchers_args:
20572
  """
20573
  Attributes:
20574
   - itemId
20575
  """
20576
 
20577
  thrift_spec = (
20578
    None, # 0
20579
    (1, TType.I64, 'itemId', None, None, ), # 1
20580
  )
20581
 
20582
  def __init__(self, itemId=None,):
20583
    self.itemId = itemId
20584
 
20585
  def read(self, iprot):
20586
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20587
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20588
      return
20589
    iprot.readStructBegin()
20590
    while True:
20591
      (fname, ftype, fid) = iprot.readFieldBegin()
20592
      if ftype == TType.STOP:
20593
        break
20594
      if fid == 1:
20595
        if ftype == TType.I64:
20596
          self.itemId = iprot.readI64();
20597
        else:
20598
          iprot.skip(ftype)
20599
      else:
20600
        iprot.skip(ftype)
20601
      iprot.readFieldEnd()
20602
    iprot.readStructEnd()
20603
 
20604
  def write(self, oprot):
20605
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20606
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20607
      return
20608
    oprot.writeStructBegin('getAllItemVouchers_args')
20609
    if self.itemId is not None:
20610
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20611
      oprot.writeI64(self.itemId)
20612
      oprot.writeFieldEnd()
20613
    oprot.writeFieldStop()
20614
    oprot.writeStructEnd()
20615
 
20616
  def validate(self):
20617
    return
20618
 
20619
 
20620
  def __repr__(self):
20621
    L = ['%s=%r' % (key, value)
20622
      for key, value in self.__dict__.iteritems()]
20623
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20624
 
20625
  def __eq__(self, other):
20626
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20627
 
20628
  def __ne__(self, other):
20629
    return not (self == other)
20630
 
20631
class getAllItemVouchers_result:
20632
  """
20633
  Attributes:
20634
   - success
20635
  """
20636
 
20637
  thrift_spec = (
20638
    (0, TType.LIST, 'success', (TType.STRUCT,(VoucherItemMapping, VoucherItemMapping.thrift_spec)), None, ), # 0
20639
  )
20640
 
20641
  def __init__(self, success=None,):
20642
    self.success = success
20643
 
20644
  def read(self, iprot):
20645
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20646
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20647
      return
20648
    iprot.readStructBegin()
20649
    while True:
20650
      (fname, ftype, fid) = iprot.readFieldBegin()
20651
      if ftype == TType.STOP:
20652
        break
20653
      if fid == 0:
20654
        if ftype == TType.LIST:
20655
          self.success = []
13493 amit.gupta 20656
          (_etype388, _size385) = iprot.readListBegin()
20657
          for _i389 in xrange(_size385):
20658
            _elem390 = VoucherItemMapping()
20659
            _elem390.read(iprot)
20660
            self.success.append(_elem390)
5944 mandeep.dh 20661
          iprot.readListEnd()
20662
        else:
20663
          iprot.skip(ftype)
20664
      else:
20665
        iprot.skip(ftype)
20666
      iprot.readFieldEnd()
20667
    iprot.readStructEnd()
20668
 
20669
  def write(self, oprot):
20670
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20671
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20672
      return
20673
    oprot.writeStructBegin('getAllItemVouchers_result')
20674
    if self.success is not None:
20675
      oprot.writeFieldBegin('success', TType.LIST, 0)
20676
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 20677
      for iter391 in self.success:
20678
        iter391.write(oprot)
5944 mandeep.dh 20679
      oprot.writeListEnd()
20680
      oprot.writeFieldEnd()
20681
    oprot.writeFieldStop()
20682
    oprot.writeStructEnd()
20683
 
20684
  def validate(self):
20685
    return
20686
 
20687
 
20688
  def __repr__(self):
20689
    L = ['%s=%r' % (key, value)
20690
      for key, value in self.__dict__.iteritems()]
20691
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20692
 
20693
  def __eq__(self, other):
20694
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20695
 
20696
  def __ne__(self, other):
20697
    return not (self == other)
20698
 
20699
class isValidCatalogItemId_args:
20700
  """
20701
  Attributes:
20702
   - catalog_item_id
20703
  """
20704
 
20705
  thrift_spec = (
20706
    None, # 0
20707
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20708
  )
20709
 
20710
  def __init__(self, catalog_item_id=None,):
20711
    self.catalog_item_id = catalog_item_id
20712
 
20713
  def read(self, iprot):
20714
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20715
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20716
      return
20717
    iprot.readStructBegin()
20718
    while True:
20719
      (fname, ftype, fid) = iprot.readFieldBegin()
20720
      if ftype == TType.STOP:
20721
        break
20722
      if fid == 1:
20723
        if ftype == TType.I64:
20724
          self.catalog_item_id = iprot.readI64();
20725
        else:
20726
          iprot.skip(ftype)
20727
      else:
20728
        iprot.skip(ftype)
20729
      iprot.readFieldEnd()
20730
    iprot.readStructEnd()
20731
 
20732
  def write(self, oprot):
20733
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20734
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20735
      return
20736
    oprot.writeStructBegin('isValidCatalogItemId_args')
20737
    if self.catalog_item_id is not None:
20738
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20739
      oprot.writeI64(self.catalog_item_id)
20740
      oprot.writeFieldEnd()
20741
    oprot.writeFieldStop()
20742
    oprot.writeStructEnd()
20743
 
20744
  def validate(self):
20745
    return
20746
 
20747
 
20748
  def __repr__(self):
20749
    L = ['%s=%r' % (key, value)
20750
      for key, value in self.__dict__.iteritems()]
20751
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20752
 
20753
  def __eq__(self, other):
20754
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20755
 
20756
  def __ne__(self, other):
20757
    return not (self == other)
20758
 
20759
class isValidCatalogItemId_result:
20760
  """
20761
  Attributes:
20762
   - success
20763
  """
20764
 
20765
  thrift_spec = (
20766
    (0, TType.BOOL, 'success', None, None, ), # 0
20767
  )
20768
 
20769
  def __init__(self, success=None,):
20770
    self.success = success
20771
 
20772
  def read(self, iprot):
20773
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20774
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20775
      return
20776
    iprot.readStructBegin()
20777
    while True:
20778
      (fname, ftype, fid) = iprot.readFieldBegin()
20779
      if ftype == TType.STOP:
20780
        break
20781
      if fid == 0:
20782
        if ftype == TType.BOOL:
20783
          self.success = iprot.readBool();
20784
        else:
20785
          iprot.skip(ftype)
20786
      else:
20787
        iprot.skip(ftype)
20788
      iprot.readFieldEnd()
20789
    iprot.readStructEnd()
20790
 
20791
  def write(self, oprot):
20792
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20793
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20794
      return
20795
    oprot.writeStructBegin('isValidCatalogItemId_result')
20796
    if self.success is not None:
20797
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20798
      oprot.writeBool(self.success)
20799
      oprot.writeFieldEnd()
20800
    oprot.writeFieldStop()
20801
    oprot.writeStructEnd()
20802
 
20803
  def validate(self):
20804
    return
20805
 
20806
 
20807
  def __repr__(self):
20808
    L = ['%s=%r' % (key, value)
20809
      for key, value in self.__dict__.iteritems()]
20810
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20811
 
20812
  def __eq__(self, other):
20813
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20814
 
20815
  def __ne__(self, other):
20816
    return not (self == other)
6039 amit.gupta 20817
 
20818
class getVatPercentageForItem_args:
20819
  """
20820
  Attributes:
20821
   - itemId
7330 amit.gupta 20822
   - stateId
6039 amit.gupta 20823
   - price
20824
  """
20825
 
20826
  thrift_spec = (
20827
    None, # 0
20828
    (1, TType.I64, 'itemId', None, None, ), # 1
7330 amit.gupta 20829
    (2, TType.I64, 'stateId', None, None, ), # 2
20830
    (3, TType.DOUBLE, 'price', None, None, ), # 3
6039 amit.gupta 20831
  )
20832
 
7330 amit.gupta 20833
  def __init__(self, itemId=None, stateId=None, price=None,):
6039 amit.gupta 20834
    self.itemId = itemId
7330 amit.gupta 20835
    self.stateId = stateId
6039 amit.gupta 20836
    self.price = price
20837
 
20838
  def read(self, iprot):
20839
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20840
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20841
      return
20842
    iprot.readStructBegin()
20843
    while True:
20844
      (fname, ftype, fid) = iprot.readFieldBegin()
20845
      if ftype == TType.STOP:
20846
        break
20847
      if fid == 1:
20848
        if ftype == TType.I64:
20849
          self.itemId = iprot.readI64();
20850
        else:
20851
          iprot.skip(ftype)
20852
      elif fid == 2:
7330 amit.gupta 20853
        if ftype == TType.I64:
20854
          self.stateId = iprot.readI64();
20855
        else:
20856
          iprot.skip(ftype)
20857
      elif fid == 3:
6039 amit.gupta 20858
        if ftype == TType.DOUBLE:
20859
          self.price = iprot.readDouble();
20860
        else:
20861
          iprot.skip(ftype)
20862
      else:
20863
        iprot.skip(ftype)
20864
      iprot.readFieldEnd()
20865
    iprot.readStructEnd()
20866
 
20867
  def write(self, oprot):
20868
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20869
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20870
      return
20871
    oprot.writeStructBegin('getVatPercentageForItem_args')
20872
    if self.itemId is not None:
20873
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20874
      oprot.writeI64(self.itemId)
20875
      oprot.writeFieldEnd()
7330 amit.gupta 20876
    if self.stateId is not None:
20877
      oprot.writeFieldBegin('stateId', TType.I64, 2)
20878
      oprot.writeI64(self.stateId)
20879
      oprot.writeFieldEnd()
6039 amit.gupta 20880
    if self.price is not None:
7330 amit.gupta 20881
      oprot.writeFieldBegin('price', TType.DOUBLE, 3)
6039 amit.gupta 20882
      oprot.writeDouble(self.price)
20883
      oprot.writeFieldEnd()
20884
    oprot.writeFieldStop()
20885
    oprot.writeStructEnd()
20886
 
20887
  def validate(self):
20888
    return
20889
 
20890
 
20891
  def __repr__(self):
20892
    L = ['%s=%r' % (key, value)
20893
      for key, value in self.__dict__.iteritems()]
20894
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20895
 
20896
  def __eq__(self, other):
20897
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20898
 
20899
  def __ne__(self, other):
20900
    return not (self == other)
20901
 
20902
class getVatPercentageForItem_result:
20903
  """
20904
  Attributes:
20905
   - success
7340 amit.gupta 20906
   - cex
6039 amit.gupta 20907
  """
20908
 
20909
  thrift_spec = (
20910
    (0, TType.DOUBLE, 'success', None, None, ), # 0
7340 amit.gupta 20911
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
6039 amit.gupta 20912
  )
20913
 
7340 amit.gupta 20914
  def __init__(self, success=None, cex=None,):
6039 amit.gupta 20915
    self.success = success
7340 amit.gupta 20916
    self.cex = cex
6039 amit.gupta 20917
 
20918
  def read(self, iprot):
20919
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20920
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20921
      return
20922
    iprot.readStructBegin()
20923
    while True:
20924
      (fname, ftype, fid) = iprot.readFieldBegin()
20925
      if ftype == TType.STOP:
20926
        break
20927
      if fid == 0:
20928
        if ftype == TType.DOUBLE:
20929
          self.success = iprot.readDouble();
20930
        else:
20931
          iprot.skip(ftype)
7340 amit.gupta 20932
      elif fid == 1:
20933
        if ftype == TType.STRUCT:
20934
          self.cex = CatalogServiceException()
20935
          self.cex.read(iprot)
20936
        else:
20937
          iprot.skip(ftype)
6039 amit.gupta 20938
      else:
20939
        iprot.skip(ftype)
20940
      iprot.readFieldEnd()
20941
    iprot.readStructEnd()
20942
 
20943
  def write(self, oprot):
20944
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20945
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20946
      return
20947
    oprot.writeStructBegin('getVatPercentageForItem_result')
20948
    if self.success is not None:
20949
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
20950
      oprot.writeDouble(self.success)
20951
      oprot.writeFieldEnd()
7340 amit.gupta 20952
    if self.cex is not None:
20953
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20954
      self.cex.write(oprot)
20955
      oprot.writeFieldEnd()
6039 amit.gupta 20956
    oprot.writeFieldStop()
20957
    oprot.writeStructEnd()
20958
 
20959
  def validate(self):
20960
    return
20961
 
20962
 
20963
  def __repr__(self):
20964
    L = ['%s=%r' % (key, value)
20965
      for key, value in self.__dict__.iteritems()]
20966
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20967
 
20968
  def __eq__(self, other):
20969
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20970
 
20971
  def __ne__(self, other):
20972
    return not (self == other)
20973
 
20974
class getVatAmountForItem_args:
20975
  """
20976
  Attributes:
20977
   - itemId
20978
   - price
20979
  """
20980
 
20981
  thrift_spec = (
20982
    None, # 0
20983
    (1, TType.I64, 'itemId', None, None, ), # 1
20984
    (2, TType.DOUBLE, 'price', None, None, ), # 2
20985
  )
20986
 
20987
  def __init__(self, itemId=None, price=None,):
20988
    self.itemId = itemId
20989
    self.price = price
20990
 
20991
  def read(self, iprot):
20992
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20993
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20994
      return
20995
    iprot.readStructBegin()
20996
    while True:
20997
      (fname, ftype, fid) = iprot.readFieldBegin()
20998
      if ftype == TType.STOP:
20999
        break
21000
      if fid == 1:
21001
        if ftype == TType.I64:
21002
          self.itemId = iprot.readI64();
21003
        else:
21004
          iprot.skip(ftype)
21005
      elif fid == 2:
21006
        if ftype == TType.DOUBLE:
21007
          self.price = iprot.readDouble();
21008
        else:
21009
          iprot.skip(ftype)
21010
      else:
21011
        iprot.skip(ftype)
21012
      iprot.readFieldEnd()
21013
    iprot.readStructEnd()
21014
 
21015
  def write(self, oprot):
21016
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21017
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21018
      return
21019
    oprot.writeStructBegin('getVatAmountForItem_args')
21020
    if self.itemId is not None:
21021
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21022
      oprot.writeI64(self.itemId)
21023
      oprot.writeFieldEnd()
21024
    if self.price is not None:
21025
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
21026
      oprot.writeDouble(self.price)
21027
      oprot.writeFieldEnd()
21028
    oprot.writeFieldStop()
21029
    oprot.writeStructEnd()
21030
 
21031
  def validate(self):
21032
    return
21033
 
21034
 
21035
  def __repr__(self):
21036
    L = ['%s=%r' % (key, value)
21037
      for key, value in self.__dict__.iteritems()]
21038
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21039
 
21040
  def __eq__(self, other):
21041
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21042
 
21043
  def __ne__(self, other):
21044
    return not (self == other)
21045
 
21046
class getVatAmountForItem_result:
21047
  """
21048
  Attributes:
21049
   - success
21050
  """
21051
 
21052
  thrift_spec = (
21053
    (0, TType.DOUBLE, 'success', None, None, ), # 0
21054
  )
21055
 
21056
  def __init__(self, success=None,):
21057
    self.success = success
21058
 
21059
  def read(self, iprot):
21060
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21061
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21062
      return
21063
    iprot.readStructBegin()
21064
    while True:
21065
      (fname, ftype, fid) = iprot.readFieldBegin()
21066
      if ftype == TType.STOP:
21067
        break
21068
      if fid == 0:
21069
        if ftype == TType.DOUBLE:
21070
          self.success = iprot.readDouble();
21071
        else:
21072
          iprot.skip(ftype)
21073
      else:
21074
        iprot.skip(ftype)
21075
      iprot.readFieldEnd()
21076
    iprot.readStructEnd()
21077
 
21078
  def write(self, oprot):
21079
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21080
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21081
      return
21082
    oprot.writeStructBegin('getVatAmountForItem_result')
21083
    if self.success is not None:
21084
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
21085
      oprot.writeDouble(self.success)
21086
      oprot.writeFieldEnd()
21087
    oprot.writeFieldStop()
21088
    oprot.writeStructEnd()
21089
 
21090
  def validate(self):
21091
    return
21092
 
21093
 
21094
  def __repr__(self):
21095
    L = ['%s=%r' % (key, value)
21096
      for key, value in self.__dict__.iteritems()]
21097
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21098
 
21099
  def __eq__(self, other):
21100
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21101
 
21102
  def __ne__(self, other):
21103
    return not (self == other)
6531 vikram.rag 21104
 
21105
class getAllIgnoredInventoryUpdateItemsList_args:
21106
  """
21107
  Attributes:
21108
   - offset
21109
   - limit
21110
  """
21111
 
21112
  thrift_spec = (
21113
    None, # 0
21114
    (1, TType.I32, 'offset', None, None, ), # 1
21115
    (2, TType.I32, 'limit', None, None, ), # 2
21116
  )
21117
 
21118
  def __init__(self, offset=None, limit=None,):
21119
    self.offset = offset
21120
    self.limit = limit
21121
 
21122
  def read(self, iprot):
21123
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21124
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21125
      return
21126
    iprot.readStructBegin()
21127
    while True:
21128
      (fname, ftype, fid) = iprot.readFieldBegin()
21129
      if ftype == TType.STOP:
21130
        break
21131
      if fid == 1:
21132
        if ftype == TType.I32:
21133
          self.offset = iprot.readI32();
21134
        else:
21135
          iprot.skip(ftype)
21136
      elif fid == 2:
21137
        if ftype == TType.I32:
21138
          self.limit = iprot.readI32();
21139
        else:
21140
          iprot.skip(ftype)
21141
      else:
21142
        iprot.skip(ftype)
21143
      iprot.readFieldEnd()
21144
    iprot.readStructEnd()
21145
 
21146
  def write(self, oprot):
21147
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21148
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21149
      return
21150
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_args')
21151
    if self.offset is not None:
21152
      oprot.writeFieldBegin('offset', TType.I32, 1)
21153
      oprot.writeI32(self.offset)
21154
      oprot.writeFieldEnd()
21155
    if self.limit is not None:
21156
      oprot.writeFieldBegin('limit', TType.I32, 2)
21157
      oprot.writeI32(self.limit)
21158
      oprot.writeFieldEnd()
21159
    oprot.writeFieldStop()
21160
    oprot.writeStructEnd()
21161
 
21162
  def validate(self):
21163
    return
21164
 
21165
 
21166
  def __repr__(self):
21167
    L = ['%s=%r' % (key, value)
21168
      for key, value in self.__dict__.iteritems()]
21169
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21170
 
21171
  def __eq__(self, other):
21172
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21173
 
21174
  def __ne__(self, other):
21175
    return not (self == other)
21176
 
21177
class getAllIgnoredInventoryUpdateItemsList_result:
21178
  """
21179
  Attributes:
21180
   - success
21181
  """
21182
 
21183
  thrift_spec = (
21184
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
21185
  )
21186
 
21187
  def __init__(self, success=None,):
21188
    self.success = success
21189
 
21190
  def read(self, iprot):
21191
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21192
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21193
      return
21194
    iprot.readStructBegin()
21195
    while True:
21196
      (fname, ftype, fid) = iprot.readFieldBegin()
21197
      if ftype == TType.STOP:
21198
        break
21199
      if fid == 0:
21200
        if ftype == TType.LIST:
21201
          self.success = []
13493 amit.gupta 21202
          (_etype395, _size392) = iprot.readListBegin()
21203
          for _i396 in xrange(_size392):
21204
            _elem397 = Item()
21205
            _elem397.read(iprot)
21206
            self.success.append(_elem397)
6531 vikram.rag 21207
          iprot.readListEnd()
21208
        else:
21209
          iprot.skip(ftype)
21210
      else:
21211
        iprot.skip(ftype)
21212
      iprot.readFieldEnd()
21213
    iprot.readStructEnd()
21214
 
21215
  def write(self, oprot):
21216
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21217
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21218
      return
21219
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_result')
21220
    if self.success is not None:
21221
      oprot.writeFieldBegin('success', TType.LIST, 0)
21222
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 21223
      for iter398 in self.success:
21224
        iter398.write(oprot)
6531 vikram.rag 21225
      oprot.writeListEnd()
21226
      oprot.writeFieldEnd()
21227
    oprot.writeFieldStop()
21228
    oprot.writeStructEnd()
21229
 
21230
  def validate(self):
21231
    return
21232
 
21233
 
21234
  def __repr__(self):
21235
    L = ['%s=%r' % (key, value)
21236
      for key, value in self.__dict__.iteritems()]
21237
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21238
 
21239
  def __eq__(self, other):
21240
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21241
 
21242
  def __ne__(self, other):
21243
    return not (self == other)
6805 anupam.sin 21244
 
6821 amar.kumar 21245
class getAllAliveItems_args:
21246
 
21247
  thrift_spec = (
21248
  )
21249
 
21250
  def read(self, iprot):
21251
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21252
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21253
      return
21254
    iprot.readStructBegin()
21255
    while True:
21256
      (fname, ftype, fid) = iprot.readFieldBegin()
21257
      if ftype == TType.STOP:
21258
        break
21259
      else:
21260
        iprot.skip(ftype)
21261
      iprot.readFieldEnd()
21262
    iprot.readStructEnd()
21263
 
21264
  def write(self, oprot):
21265
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21266
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21267
      return
21268
    oprot.writeStructBegin('getAllAliveItems_args')
21269
    oprot.writeFieldStop()
21270
    oprot.writeStructEnd()
21271
 
21272
  def validate(self):
21273
    return
21274
 
21275
 
21276
  def __repr__(self):
21277
    L = ['%s=%r' % (key, value)
21278
      for key, value in self.__dict__.iteritems()]
21279
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21280
 
21281
  def __eq__(self, other):
21282
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21283
 
21284
  def __ne__(self, other):
21285
    return not (self == other)
21286
 
21287
class getAllAliveItems_result:
21288
  """
21289
  Attributes:
21290
   - success
21291
  """
21292
 
21293
  thrift_spec = (
21294
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
21295
  )
21296
 
21297
  def __init__(self, success=None,):
21298
    self.success = success
21299
 
21300
  def read(self, iprot):
21301
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21302
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21303
      return
21304
    iprot.readStructBegin()
21305
    while True:
21306
      (fname, ftype, fid) = iprot.readFieldBegin()
21307
      if ftype == TType.STOP:
21308
        break
21309
      if fid == 0:
21310
        if ftype == TType.LIST:
21311
          self.success = []
13493 amit.gupta 21312
          (_etype402, _size399) = iprot.readListBegin()
21313
          for _i403 in xrange(_size399):
21314
            _elem404 = Item()
21315
            _elem404.read(iprot)
21316
            self.success.append(_elem404)
6821 amar.kumar 21317
          iprot.readListEnd()
21318
        else:
21319
          iprot.skip(ftype)
21320
      else:
21321
        iprot.skip(ftype)
21322
      iprot.readFieldEnd()
21323
    iprot.readStructEnd()
21324
 
21325
  def write(self, oprot):
21326
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21327
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21328
      return
21329
    oprot.writeStructBegin('getAllAliveItems_result')
21330
    if self.success is not None:
21331
      oprot.writeFieldBegin('success', TType.LIST, 0)
21332
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 21333
      for iter405 in self.success:
21334
        iter405.write(oprot)
6821 amar.kumar 21335
      oprot.writeListEnd()
21336
      oprot.writeFieldEnd()
21337
    oprot.writeFieldStop()
21338
    oprot.writeStructEnd()
21339
 
21340
  def validate(self):
21341
    return
21342
 
21343
 
21344
  def __repr__(self):
21345
    L = ['%s=%r' % (key, value)
21346
      for key, value in self.__dict__.iteritems()]
21347
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21348
 
21349
  def __eq__(self, other):
21350
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21351
 
21352
  def __ne__(self, other):
21353
    return not (self == other)
21354
 
6805 anupam.sin 21355
class getInsuranceAmount_args:
21356
  """
21357
  Attributes:
21358
   - itemId
6921 anupam.sin 21359
   - price
6805 anupam.sin 21360
   - insurerId
21361
   - quantity
21362
  """
21363
 
21364
  thrift_spec = (
21365
    None, # 0
21366
    (1, TType.I64, 'itemId', None, None, ), # 1
6921 anupam.sin 21367
    (2, TType.DOUBLE, 'price', None, None, ), # 2
21368
    (3, TType.I64, 'insurerId', None, None, ), # 3
21369
    (4, TType.I64, 'quantity', None, None, ), # 4
6805 anupam.sin 21370
  )
21371
 
6921 anupam.sin 21372
  def __init__(self, itemId=None, price=None, insurerId=None, quantity=None,):
6805 anupam.sin 21373
    self.itemId = itemId
6921 anupam.sin 21374
    self.price = price
6805 anupam.sin 21375
    self.insurerId = insurerId
21376
    self.quantity = quantity
21377
 
21378
  def read(self, iprot):
21379
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21380
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21381
      return
21382
    iprot.readStructBegin()
21383
    while True:
21384
      (fname, ftype, fid) = iprot.readFieldBegin()
21385
      if ftype == TType.STOP:
21386
        break
21387
      if fid == 1:
21388
        if ftype == TType.I64:
21389
          self.itemId = iprot.readI64();
21390
        else:
21391
          iprot.skip(ftype)
21392
      elif fid == 2:
6921 anupam.sin 21393
        if ftype == TType.DOUBLE:
21394
          self.price = iprot.readDouble();
21395
        else:
21396
          iprot.skip(ftype)
21397
      elif fid == 3:
6805 anupam.sin 21398
        if ftype == TType.I64:
21399
          self.insurerId = iprot.readI64();
21400
        else:
21401
          iprot.skip(ftype)
6921 anupam.sin 21402
      elif fid == 4:
6805 anupam.sin 21403
        if ftype == TType.I64:
21404
          self.quantity = iprot.readI64();
21405
        else:
21406
          iprot.skip(ftype)
21407
      else:
21408
        iprot.skip(ftype)
21409
      iprot.readFieldEnd()
21410
    iprot.readStructEnd()
21411
 
21412
  def write(self, oprot):
21413
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21414
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21415
      return
21416
    oprot.writeStructBegin('getInsuranceAmount_args')
21417
    if self.itemId is not None:
21418
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21419
      oprot.writeI64(self.itemId)
21420
      oprot.writeFieldEnd()
6921 anupam.sin 21421
    if self.price is not None:
21422
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
21423
      oprot.writeDouble(self.price)
21424
      oprot.writeFieldEnd()
6805 anupam.sin 21425
    if self.insurerId is not None:
6921 anupam.sin 21426
      oprot.writeFieldBegin('insurerId', TType.I64, 3)
6805 anupam.sin 21427
      oprot.writeI64(self.insurerId)
21428
      oprot.writeFieldEnd()
21429
    if self.quantity is not None:
6921 anupam.sin 21430
      oprot.writeFieldBegin('quantity', TType.I64, 4)
6805 anupam.sin 21431
      oprot.writeI64(self.quantity)
21432
      oprot.writeFieldEnd()
21433
    oprot.writeFieldStop()
21434
    oprot.writeStructEnd()
21435
 
21436
  def validate(self):
21437
    return
21438
 
21439
 
21440
  def __repr__(self):
21441
    L = ['%s=%r' % (key, value)
21442
      for key, value in self.__dict__.iteritems()]
21443
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21444
 
21445
  def __eq__(self, other):
21446
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21447
 
21448
  def __ne__(self, other):
21449
    return not (self == other)
21450
 
21451
class getInsuranceAmount_result:
21452
  """
21453
  Attributes:
21454
   - success
21455
  """
21456
 
21457
  thrift_spec = (
21458
    (0, TType.I64, 'success', None, None, ), # 0
21459
  )
21460
 
21461
  def __init__(self, success=None,):
21462
    self.success = success
21463
 
21464
  def read(self, iprot):
21465
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21466
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21467
      return
21468
    iprot.readStructBegin()
21469
    while True:
21470
      (fname, ftype, fid) = iprot.readFieldBegin()
21471
      if ftype == TType.STOP:
21472
        break
21473
      if fid == 0:
21474
        if ftype == TType.I64:
21475
          self.success = iprot.readI64();
21476
        else:
21477
          iprot.skip(ftype)
21478
      else:
21479
        iprot.skip(ftype)
21480
      iprot.readFieldEnd()
21481
    iprot.readStructEnd()
21482
 
21483
  def write(self, oprot):
21484
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21485
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21486
      return
21487
    oprot.writeStructBegin('getInsuranceAmount_result')
21488
    if self.success is not None:
21489
      oprot.writeFieldBegin('success', TType.I64, 0)
21490
      oprot.writeI64(self.success)
21491
      oprot.writeFieldEnd()
21492
    oprot.writeFieldStop()
21493
    oprot.writeStructEnd()
21494
 
21495
  def validate(self):
21496
    return
21497
 
21498
 
21499
  def __repr__(self):
21500
    L = ['%s=%r' % (key, value)
21501
      for key, value in self.__dict__.iteritems()]
21502
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21503
 
21504
  def __eq__(self, other):
21505
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21506
 
21507
  def __ne__(self, other):
21508
    return not (self == other)
21509
 
21510
class getInsurer_args:
21511
  """
21512
  Attributes:
21513
   - insurerId
21514
  """
21515
 
21516
  thrift_spec = (
21517
    None, # 0
21518
    (1, TType.I64, 'insurerId', None, None, ), # 1
21519
  )
21520
 
21521
  def __init__(self, insurerId=None,):
21522
    self.insurerId = insurerId
21523
 
21524
  def read(self, iprot):
21525
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21526
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21527
      return
21528
    iprot.readStructBegin()
21529
    while True:
21530
      (fname, ftype, fid) = iprot.readFieldBegin()
21531
      if ftype == TType.STOP:
21532
        break
21533
      if fid == 1:
21534
        if ftype == TType.I64:
21535
          self.insurerId = iprot.readI64();
21536
        else:
21537
          iprot.skip(ftype)
21538
      else:
21539
        iprot.skip(ftype)
21540
      iprot.readFieldEnd()
21541
    iprot.readStructEnd()
21542
 
21543
  def write(self, oprot):
21544
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21545
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21546
      return
21547
    oprot.writeStructBegin('getInsurer_args')
21548
    if self.insurerId is not None:
21549
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
21550
      oprot.writeI64(self.insurerId)
21551
      oprot.writeFieldEnd()
21552
    oprot.writeFieldStop()
21553
    oprot.writeStructEnd()
21554
 
21555
  def validate(self):
21556
    return
21557
 
21558
 
21559
  def __repr__(self):
21560
    L = ['%s=%r' % (key, value)
21561
      for key, value in self.__dict__.iteritems()]
21562
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21563
 
21564
  def __eq__(self, other):
21565
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21566
 
21567
  def __ne__(self, other):
21568
    return not (self == other)
21569
 
21570
class getInsurer_result:
21571
  """
21572
  Attributes:
21573
   - success
21574
  """
21575
 
21576
  thrift_spec = (
21577
    (0, TType.STRUCT, 'success', (Insurer, Insurer.thrift_spec), None, ), # 0
21578
  )
21579
 
21580
  def __init__(self, success=None,):
21581
    self.success = success
21582
 
21583
  def read(self, iprot):
21584
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21585
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21586
      return
21587
    iprot.readStructBegin()
21588
    while True:
21589
      (fname, ftype, fid) = iprot.readFieldBegin()
21590
      if ftype == TType.STOP:
21591
        break
21592
      if fid == 0:
21593
        if ftype == TType.STRUCT:
21594
          self.success = Insurer()
21595
          self.success.read(iprot)
21596
        else:
21597
          iprot.skip(ftype)
21598
      else:
21599
        iprot.skip(ftype)
21600
      iprot.readFieldEnd()
21601
    iprot.readStructEnd()
21602
 
21603
  def write(self, oprot):
21604
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21605
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21606
      return
21607
    oprot.writeStructBegin('getInsurer_result')
21608
    if self.success is not None:
21609
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
21610
      self.success.write(oprot)
21611
      oprot.writeFieldEnd()
21612
    oprot.writeFieldStop()
21613
    oprot.writeStructEnd()
21614
 
21615
  def validate(self):
21616
    return
21617
 
21618
 
21619
  def __repr__(self):
21620
    L = ['%s=%r' % (key, value)
21621
      for key, value in self.__dict__.iteritems()]
21622
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21623
 
21624
  def __eq__(self, other):
21625
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21626
 
21627
  def __ne__(self, other):
21628
    return not (self == other)
6838 vikram.rag 21629
 
21630
class getAllInsurers_args:
21631
 
21632
  thrift_spec = (
21633
  )
21634
 
21635
  def read(self, iprot):
21636
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21637
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21638
      return
21639
    iprot.readStructBegin()
21640
    while True:
21641
      (fname, ftype, fid) = iprot.readFieldBegin()
21642
      if ftype == TType.STOP:
21643
        break
21644
      else:
21645
        iprot.skip(ftype)
21646
      iprot.readFieldEnd()
21647
    iprot.readStructEnd()
21648
 
21649
  def write(self, oprot):
21650
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21651
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21652
      return
21653
    oprot.writeStructBegin('getAllInsurers_args')
21654
    oprot.writeFieldStop()
21655
    oprot.writeStructEnd()
21656
 
21657
  def validate(self):
21658
    return
21659
 
21660
 
21661
  def __repr__(self):
21662
    L = ['%s=%r' % (key, value)
21663
      for key, value in self.__dict__.iteritems()]
21664
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21665
 
21666
  def __eq__(self, other):
21667
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21668
 
21669
  def __ne__(self, other):
21670
    return not (self == other)
21671
 
21672
class getAllInsurers_result:
21673
  """
21674
  Attributes:
21675
   - success
21676
  """
21677
 
21678
  thrift_spec = (
21679
    (0, TType.LIST, 'success', (TType.STRUCT,(Insurer, Insurer.thrift_spec)), None, ), # 0
21680
  )
21681
 
21682
  def __init__(self, success=None,):
21683
    self.success = success
21684
 
21685
  def read(self, iprot):
21686
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21687
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21688
      return
21689
    iprot.readStructBegin()
21690
    while True:
21691
      (fname, ftype, fid) = iprot.readFieldBegin()
21692
      if ftype == TType.STOP:
21693
        break
21694
      if fid == 0:
21695
        if ftype == TType.LIST:
21696
          self.success = []
13493 amit.gupta 21697
          (_etype409, _size406) = iprot.readListBegin()
21698
          for _i410 in xrange(_size406):
21699
            _elem411 = Insurer()
21700
            _elem411.read(iprot)
21701
            self.success.append(_elem411)
6838 vikram.rag 21702
          iprot.readListEnd()
21703
        else:
21704
          iprot.skip(ftype)
21705
      else:
21706
        iprot.skip(ftype)
21707
      iprot.readFieldEnd()
21708
    iprot.readStructEnd()
21709
 
21710
  def write(self, oprot):
21711
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21712
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21713
      return
21714
    oprot.writeStructBegin('getAllInsurers_result')
21715
    if self.success is not None:
21716
      oprot.writeFieldBegin('success', TType.LIST, 0)
21717
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 21718
      for iter412 in self.success:
21719
        iter412.write(oprot)
6838 vikram.rag 21720
      oprot.writeListEnd()
21721
      oprot.writeFieldEnd()
21722
    oprot.writeFieldStop()
21723
    oprot.writeStructEnd()
21724
 
21725
  def validate(self):
21726
    return
21727
 
21728
 
21729
  def __repr__(self):
21730
    L = ['%s=%r' % (key, value)
21731
      for key, value in self.__dict__.iteritems()]
21732
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21733
 
21734
  def __eq__(self, other):
21735
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21736
 
21737
  def __ne__(self, other):
21738
    return not (self == other)
6962 rajveer 21739
 
21740
class updateInsuranceDeclaredAmount_args:
21741
  """
21742
  Attributes:
21743
   - insurerId
21744
   - amount
21745
  """
21746
 
21747
  thrift_spec = (
21748
    None, # 0
21749
    (1, TType.I64, 'insurerId', None, None, ), # 1
21750
    (2, TType.DOUBLE, 'amount', None, None, ), # 2
21751
  )
21752
 
21753
  def __init__(self, insurerId=None, amount=None,):
21754
    self.insurerId = insurerId
21755
    self.amount = amount
21756
 
21757
  def read(self, iprot):
21758
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21759
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21760
      return
21761
    iprot.readStructBegin()
21762
    while True:
21763
      (fname, ftype, fid) = iprot.readFieldBegin()
21764
      if ftype == TType.STOP:
21765
        break
21766
      if fid == 1:
21767
        if ftype == TType.I64:
21768
          self.insurerId = iprot.readI64();
21769
        else:
21770
          iprot.skip(ftype)
21771
      elif fid == 2:
21772
        if ftype == TType.DOUBLE:
21773
          self.amount = iprot.readDouble();
21774
        else:
21775
          iprot.skip(ftype)
21776
      else:
21777
        iprot.skip(ftype)
21778
      iprot.readFieldEnd()
21779
    iprot.readStructEnd()
21780
 
21781
  def write(self, oprot):
21782
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21783
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21784
      return
21785
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_args')
21786
    if self.insurerId is not None:
21787
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
21788
      oprot.writeI64(self.insurerId)
21789
      oprot.writeFieldEnd()
21790
    if self.amount is not None:
21791
      oprot.writeFieldBegin('amount', TType.DOUBLE, 2)
21792
      oprot.writeDouble(self.amount)
21793
      oprot.writeFieldEnd()
21794
    oprot.writeFieldStop()
21795
    oprot.writeStructEnd()
21796
 
21797
  def validate(self):
21798
    return
21799
 
21800
 
21801
  def __repr__(self):
21802
    L = ['%s=%r' % (key, value)
21803
      for key, value in self.__dict__.iteritems()]
21804
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21805
 
21806
  def __eq__(self, other):
21807
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21808
 
21809
  def __ne__(self, other):
21810
    return not (self == other)
21811
 
21812
class updateInsuranceDeclaredAmount_result:
21813
 
21814
  thrift_spec = (
21815
  )
21816
 
21817
  def read(self, iprot):
21818
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21819
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21820
      return
21821
    iprot.readStructBegin()
21822
    while True:
21823
      (fname, ftype, fid) = iprot.readFieldBegin()
21824
      if ftype == TType.STOP:
21825
        break
21826
      else:
21827
        iprot.skip(ftype)
21828
      iprot.readFieldEnd()
21829
    iprot.readStructEnd()
21830
 
21831
  def write(self, oprot):
21832
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21833
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21834
      return
21835
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_result')
21836
    oprot.writeFieldStop()
21837
    oprot.writeStructEnd()
21838
 
21839
  def validate(self):
21840
    return
21841
 
21842
 
21843
  def __repr__(self):
21844
    L = ['%s=%r' % (key, value)
21845
      for key, value in self.__dict__.iteritems()]
21846
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21847
 
21848
  def __eq__(self, other):
21849
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21850
 
21851
  def __ne__(self, other):
21852
    return not (self == other)
7190 amar.kumar 21853
 
21854
class getFreebieForItem_args:
21855
  """
21856
  Attributes:
21857
   - itemId
21858
  """
21859
 
21860
  thrift_spec = (
21861
    None, # 0
21862
    (1, TType.I64, 'itemId', None, None, ), # 1
21863
  )
21864
 
21865
  def __init__(self, itemId=None,):
21866
    self.itemId = itemId
21867
 
21868
  def read(self, iprot):
21869
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21870
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21871
      return
21872
    iprot.readStructBegin()
21873
    while True:
21874
      (fname, ftype, fid) = iprot.readFieldBegin()
21875
      if ftype == TType.STOP:
21876
        break
21877
      if fid == 1:
21878
        if ftype == TType.I64:
21879
          self.itemId = iprot.readI64();
21880
        else:
21881
          iprot.skip(ftype)
21882
      else:
21883
        iprot.skip(ftype)
21884
      iprot.readFieldEnd()
21885
    iprot.readStructEnd()
21886
 
21887
  def write(self, oprot):
21888
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21889
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21890
      return
21891
    oprot.writeStructBegin('getFreebieForItem_args')
21892
    if self.itemId is not None:
21893
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21894
      oprot.writeI64(self.itemId)
21895
      oprot.writeFieldEnd()
21896
    oprot.writeFieldStop()
21897
    oprot.writeStructEnd()
21898
 
21899
  def validate(self):
21900
    return
21901
 
21902
 
21903
  def __repr__(self):
21904
    L = ['%s=%r' % (key, value)
21905
      for key, value in self.__dict__.iteritems()]
21906
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21907
 
21908
  def __eq__(self, other):
21909
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21910
 
21911
  def __ne__(self, other):
21912
    return not (self == other)
21913
 
21914
class getFreebieForItem_result:
21915
  """
21916
  Attributes:
21917
   - success
21918
  """
21919
 
21920
  thrift_spec = (
21921
    (0, TType.I64, 'success', None, None, ), # 0
21922
  )
21923
 
21924
  def __init__(self, success=None,):
21925
    self.success = success
21926
 
21927
  def read(self, iprot):
21928
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21929
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21930
      return
21931
    iprot.readStructBegin()
21932
    while True:
21933
      (fname, ftype, fid) = iprot.readFieldBegin()
21934
      if ftype == TType.STOP:
21935
        break
21936
      if fid == 0:
21937
        if ftype == TType.I64:
21938
          self.success = iprot.readI64();
21939
        else:
21940
          iprot.skip(ftype)
21941
      else:
21942
        iprot.skip(ftype)
21943
      iprot.readFieldEnd()
21944
    iprot.readStructEnd()
21945
 
21946
  def write(self, oprot):
21947
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21948
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21949
      return
21950
    oprot.writeStructBegin('getFreebieForItem_result')
21951
    if self.success is not None:
21952
      oprot.writeFieldBegin('success', TType.I64, 0)
21953
      oprot.writeI64(self.success)
21954
      oprot.writeFieldEnd()
21955
    oprot.writeFieldStop()
21956
    oprot.writeStructEnd()
21957
 
21958
  def validate(self):
21959
    return
21960
 
21961
 
21962
  def __repr__(self):
21963
    L = ['%s=%r' % (key, value)
21964
      for key, value in self.__dict__.iteritems()]
21965
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21966
 
21967
  def __eq__(self, other):
21968
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21969
 
21970
  def __ne__(self, other):
21971
    return not (self == other)
21972
 
21973
class addOrUpdateFreebieForItem_args:
21974
  """
21975
  Attributes:
21976
   - freebieItem
21977
  """
21978
 
21979
  thrift_spec = (
21980
    None, # 0
21981
    (1, TType.STRUCT, 'freebieItem', (FreebieItem, FreebieItem.thrift_spec), None, ), # 1
21982
  )
21983
 
21984
  def __init__(self, freebieItem=None,):
21985
    self.freebieItem = freebieItem
21986
 
21987
  def read(self, iprot):
21988
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21989
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21990
      return
21991
    iprot.readStructBegin()
21992
    while True:
21993
      (fname, ftype, fid) = iprot.readFieldBegin()
21994
      if ftype == TType.STOP:
21995
        break
21996
      if fid == 1:
21997
        if ftype == TType.STRUCT:
21998
          self.freebieItem = FreebieItem()
21999
          self.freebieItem.read(iprot)
22000
        else:
22001
          iprot.skip(ftype)
22002
      else:
22003
        iprot.skip(ftype)
22004
      iprot.readFieldEnd()
22005
    iprot.readStructEnd()
22006
 
22007
  def write(self, oprot):
22008
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22009
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22010
      return
22011
    oprot.writeStructBegin('addOrUpdateFreebieForItem_args')
22012
    if self.freebieItem is not None:
22013
      oprot.writeFieldBegin('freebieItem', TType.STRUCT, 1)
22014
      self.freebieItem.write(oprot)
22015
      oprot.writeFieldEnd()
22016
    oprot.writeFieldStop()
22017
    oprot.writeStructEnd()
22018
 
22019
  def validate(self):
22020
    return
22021
 
22022
 
22023
  def __repr__(self):
22024
    L = ['%s=%r' % (key, value)
22025
      for key, value in self.__dict__.iteritems()]
22026
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22027
 
22028
  def __eq__(self, other):
22029
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22030
 
22031
  def __ne__(self, other):
22032
    return not (self == other)
22033
 
22034
class addOrUpdateFreebieForItem_result:
22035
 
22036
  thrift_spec = (
22037
  )
22038
 
22039
  def read(self, iprot):
22040
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22041
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22042
      return
22043
    iprot.readStructBegin()
22044
    while True:
22045
      (fname, ftype, fid) = iprot.readFieldBegin()
22046
      if ftype == TType.STOP:
22047
        break
22048
      else:
22049
        iprot.skip(ftype)
22050
      iprot.readFieldEnd()
22051
    iprot.readStructEnd()
22052
 
22053
  def write(self, oprot):
22054
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22055
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22056
      return
22057
    oprot.writeStructBegin('addOrUpdateFreebieForItem_result')
22058
    oprot.writeFieldStop()
22059
    oprot.writeStructEnd()
22060
 
22061
  def validate(self):
22062
    return
22063
 
22064
 
22065
  def __repr__(self):
22066
    L = ['%s=%r' % (key, value)
22067
      for key, value in self.__dict__.iteritems()]
22068
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22069
 
22070
  def __eq__(self, other):
22071
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22072
 
22073
  def __ne__(self, other):
22074
    return not (self == other)
7256 rajveer 22075
 
7272 amit.gupta 22076
class addOrUpdateBrandInfo_args:
22077
  """
22078
  Attributes:
22079
   - brandInfo
22080
  """
22081
 
22082
  thrift_spec = (
22083
    None, # 0
22084
    (1, TType.STRUCT, 'brandInfo', (BrandInfo, BrandInfo.thrift_spec), None, ), # 1
22085
  )
22086
 
22087
  def __init__(self, brandInfo=None,):
22088
    self.brandInfo = brandInfo
22089
 
22090
  def read(self, iprot):
22091
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22092
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22093
      return
22094
    iprot.readStructBegin()
22095
    while True:
22096
      (fname, ftype, fid) = iprot.readFieldBegin()
22097
      if ftype == TType.STOP:
22098
        break
22099
      if fid == 1:
22100
        if ftype == TType.STRUCT:
22101
          self.brandInfo = BrandInfo()
22102
          self.brandInfo.read(iprot)
22103
        else:
22104
          iprot.skip(ftype)
22105
      else:
22106
        iprot.skip(ftype)
22107
      iprot.readFieldEnd()
22108
    iprot.readStructEnd()
22109
 
22110
  def write(self, oprot):
22111
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22112
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22113
      return
22114
    oprot.writeStructBegin('addOrUpdateBrandInfo_args')
22115
    if self.brandInfo is not None:
22116
      oprot.writeFieldBegin('brandInfo', TType.STRUCT, 1)
22117
      self.brandInfo.write(oprot)
22118
      oprot.writeFieldEnd()
22119
    oprot.writeFieldStop()
22120
    oprot.writeStructEnd()
22121
 
22122
  def validate(self):
22123
    return
22124
 
22125
 
22126
  def __repr__(self):
22127
    L = ['%s=%r' % (key, value)
22128
      for key, value in self.__dict__.iteritems()]
22129
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22130
 
22131
  def __eq__(self, other):
22132
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22133
 
22134
  def __ne__(self, other):
22135
    return not (self == other)
22136
 
22137
class addOrUpdateBrandInfo_result:
22138
 
22139
  thrift_spec = (
22140
  )
22141
 
22142
  def read(self, iprot):
22143
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22144
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22145
      return
22146
    iprot.readStructBegin()
22147
    while True:
22148
      (fname, ftype, fid) = iprot.readFieldBegin()
22149
      if ftype == TType.STOP:
22150
        break
22151
      else:
22152
        iprot.skip(ftype)
22153
      iprot.readFieldEnd()
22154
    iprot.readStructEnd()
22155
 
22156
  def write(self, oprot):
22157
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22158
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22159
      return
22160
    oprot.writeStructBegin('addOrUpdateBrandInfo_result')
22161
    oprot.writeFieldStop()
22162
    oprot.writeStructEnd()
22163
 
22164
  def validate(self):
22165
    return
22166
 
22167
 
22168
  def __repr__(self):
22169
    L = ['%s=%r' % (key, value)
22170
      for key, value in self.__dict__.iteritems()]
22171
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22172
 
22173
  def __eq__(self, other):
22174
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22175
 
22176
  def __ne__(self, other):
22177
    return not (self == other)
22178
 
22179
class getBrandInfo_args:
22180
 
22181
  thrift_spec = (
22182
  )
22183
 
22184
  def read(self, iprot):
22185
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22186
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22187
      return
22188
    iprot.readStructBegin()
22189
    while True:
22190
      (fname, ftype, fid) = iprot.readFieldBegin()
22191
      if ftype == TType.STOP:
22192
        break
22193
      else:
22194
        iprot.skip(ftype)
22195
      iprot.readFieldEnd()
22196
    iprot.readStructEnd()
22197
 
22198
  def write(self, oprot):
22199
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22200
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22201
      return
22202
    oprot.writeStructBegin('getBrandInfo_args')
22203
    oprot.writeFieldStop()
22204
    oprot.writeStructEnd()
22205
 
22206
  def validate(self):
22207
    return
22208
 
22209
 
22210
  def __repr__(self):
22211
    L = ['%s=%r' % (key, value)
22212
      for key, value in self.__dict__.iteritems()]
22213
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22214
 
22215
  def __eq__(self, other):
22216
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22217
 
22218
  def __ne__(self, other):
22219
    return not (self == other)
22220
 
22221
class getBrandInfo_result:
22222
  """
22223
  Attributes:
22224
   - success
22225
  """
22226
 
22227
  thrift_spec = (
22228
    (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(BrandInfo, BrandInfo.thrift_spec)), None, ), # 0
22229
  )
22230
 
22231
  def __init__(self, success=None,):
22232
    self.success = success
22233
 
22234
  def read(self, iprot):
22235
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22236
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22237
      return
22238
    iprot.readStructBegin()
22239
    while True:
22240
      (fname, ftype, fid) = iprot.readFieldBegin()
22241
      if ftype == TType.STOP:
22242
        break
22243
      if fid == 0:
22244
        if ftype == TType.MAP:
22245
          self.success = {}
13493 amit.gupta 22246
          (_ktype414, _vtype415, _size413 ) = iprot.readMapBegin() 
22247
          for _i417 in xrange(_size413):
22248
            _key418 = iprot.readString();
22249
            _val419 = BrandInfo()
22250
            _val419.read(iprot)
22251
            self.success[_key418] = _val419
7272 amit.gupta 22252
          iprot.readMapEnd()
22253
        else:
22254
          iprot.skip(ftype)
22255
      else:
22256
        iprot.skip(ftype)
22257
      iprot.readFieldEnd()
22258
    iprot.readStructEnd()
22259
 
22260
  def write(self, oprot):
22261
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22262
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22263
      return
22264
    oprot.writeStructBegin('getBrandInfo_result')
22265
    if self.success is not None:
22266
      oprot.writeFieldBegin('success', TType.MAP, 0)
22267
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
13493 amit.gupta 22268
      for kiter420,viter421 in self.success.items():
22269
        oprot.writeString(kiter420)
22270
        viter421.write(oprot)
7272 amit.gupta 22271
      oprot.writeMapEnd()
22272
      oprot.writeFieldEnd()
22273
    oprot.writeFieldStop()
22274
    oprot.writeStructEnd()
22275
 
22276
  def validate(self):
22277
    return
22278
 
22279
 
22280
  def __repr__(self):
22281
    L = ['%s=%r' % (key, value)
22282
      for key, value in self.__dict__.iteritems()]
22283
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22284
 
22285
  def __eq__(self, other):
22286
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22287
 
22288
  def __ne__(self, other):
22289
    return not (self == other)
22290
 
7256 rajveer 22291
class getStorePricing_args:
22292
  """
22293
  Attributes:
22294
   - itemId
22295
  """
22296
 
22297
  thrift_spec = (
22298
    None, # 0
22299
    (1, TType.I64, 'itemId', None, None, ), # 1
22300
  )
22301
 
22302
  def __init__(self, itemId=None,):
22303
    self.itemId = itemId
22304
 
22305
  def read(self, iprot):
22306
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22307
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22308
      return
22309
    iprot.readStructBegin()
22310
    while True:
22311
      (fname, ftype, fid) = iprot.readFieldBegin()
22312
      if ftype == TType.STOP:
22313
        break
22314
      if fid == 1:
22315
        if ftype == TType.I64:
22316
          self.itemId = iprot.readI64();
22317
        else:
22318
          iprot.skip(ftype)
22319
      else:
22320
        iprot.skip(ftype)
22321
      iprot.readFieldEnd()
22322
    iprot.readStructEnd()
22323
 
22324
  def write(self, oprot):
22325
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22326
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22327
      return
22328
    oprot.writeStructBegin('getStorePricing_args')
22329
    if self.itemId is not None:
22330
      oprot.writeFieldBegin('itemId', TType.I64, 1)
22331
      oprot.writeI64(self.itemId)
22332
      oprot.writeFieldEnd()
22333
    oprot.writeFieldStop()
22334
    oprot.writeStructEnd()
22335
 
22336
  def validate(self):
22337
    return
22338
 
22339
 
22340
  def __repr__(self):
22341
    L = ['%s=%r' % (key, value)
22342
      for key, value in self.__dict__.iteritems()]
22343
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22344
 
22345
  def __eq__(self, other):
22346
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22347
 
22348
  def __ne__(self, other):
22349
    return not (self == other)
22350
 
22351
class getStorePricing_result:
22352
  """
22353
  Attributes:
22354
   - success
22355
  """
22356
 
22357
  thrift_spec = (
22358
    (0, TType.STRUCT, 'success', (StorePricing, StorePricing.thrift_spec), None, ), # 0
22359
  )
22360
 
22361
  def __init__(self, success=None,):
22362
    self.success = success
22363
 
22364
  def read(self, iprot):
22365
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22366
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22367
      return
22368
    iprot.readStructBegin()
22369
    while True:
22370
      (fname, ftype, fid) = iprot.readFieldBegin()
22371
      if ftype == TType.STOP:
22372
        break
22373
      if fid == 0:
22374
        if ftype == TType.STRUCT:
22375
          self.success = StorePricing()
22376
          self.success.read(iprot)
22377
        else:
22378
          iprot.skip(ftype)
22379
      else:
22380
        iprot.skip(ftype)
22381
      iprot.readFieldEnd()
22382
    iprot.readStructEnd()
22383
 
22384
  def write(self, oprot):
22385
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22386
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22387
      return
22388
    oprot.writeStructBegin('getStorePricing_result')
22389
    if self.success is not None:
22390
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
22391
      self.success.write(oprot)
22392
      oprot.writeFieldEnd()
22393
    oprot.writeFieldStop()
22394
    oprot.writeStructEnd()
22395
 
22396
  def validate(self):
22397
    return
22398
 
22399
 
22400
  def __repr__(self):
22401
    L = ['%s=%r' % (key, value)
22402
      for key, value in self.__dict__.iteritems()]
22403
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22404
 
22405
  def __eq__(self, other):
22406
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22407
 
22408
  def __ne__(self, other):
22409
    return not (self == other)
7265 rajveer 22410
 
7306 rajveer 22411
class getStorePricings_args:
22412
  """
22413
  Attributes:
22414
   - itemIds
22415
  """
22416
 
22417
  thrift_spec = (
22418
    None, # 0
22419
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
22420
  )
22421
 
22422
  def __init__(self, itemIds=None,):
22423
    self.itemIds = itemIds
22424
 
22425
  def read(self, iprot):
22426
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22427
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22428
      return
22429
    iprot.readStructBegin()
22430
    while True:
22431
      (fname, ftype, fid) = iprot.readFieldBegin()
22432
      if ftype == TType.STOP:
22433
        break
22434
      if fid == 1:
22435
        if ftype == TType.LIST:
22436
          self.itemIds = []
13493 amit.gupta 22437
          (_etype425, _size422) = iprot.readListBegin()
22438
          for _i426 in xrange(_size422):
22439
            _elem427 = iprot.readI64();
22440
            self.itemIds.append(_elem427)
7306 rajveer 22441
          iprot.readListEnd()
22442
        else:
22443
          iprot.skip(ftype)
22444
      else:
22445
        iprot.skip(ftype)
22446
      iprot.readFieldEnd()
22447
    iprot.readStructEnd()
22448
 
22449
  def write(self, oprot):
22450
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22451
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22452
      return
22453
    oprot.writeStructBegin('getStorePricings_args')
22454
    if self.itemIds is not None:
22455
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
22456
      oprot.writeListBegin(TType.I64, len(self.itemIds))
13493 amit.gupta 22457
      for iter428 in self.itemIds:
22458
        oprot.writeI64(iter428)
7306 rajveer 22459
      oprot.writeListEnd()
22460
      oprot.writeFieldEnd()
22461
    oprot.writeFieldStop()
22462
    oprot.writeStructEnd()
22463
 
22464
  def validate(self):
22465
    return
22466
 
22467
 
22468
  def __repr__(self):
22469
    L = ['%s=%r' % (key, value)
22470
      for key, value in self.__dict__.iteritems()]
22471
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22472
 
22473
  def __eq__(self, other):
22474
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22475
 
22476
  def __ne__(self, other):
22477
    return not (self == other)
22478
 
22479
class getStorePricings_result:
22480
  """
22481
  Attributes:
22482
   - success
22483
  """
22484
 
22485
  thrift_spec = (
22486
    (0, TType.LIST, 'success', (TType.STRUCT,(StorePricing, StorePricing.thrift_spec)), None, ), # 0
22487
  )
22488
 
22489
  def __init__(self, success=None,):
22490
    self.success = success
22491
 
22492
  def read(self, iprot):
22493
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22494
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22495
      return
22496
    iprot.readStructBegin()
22497
    while True:
22498
      (fname, ftype, fid) = iprot.readFieldBegin()
22499
      if ftype == TType.STOP:
22500
        break
22501
      if fid == 0:
22502
        if ftype == TType.LIST:
22503
          self.success = []
13493 amit.gupta 22504
          (_etype432, _size429) = iprot.readListBegin()
22505
          for _i433 in xrange(_size429):
22506
            _elem434 = StorePricing()
22507
            _elem434.read(iprot)
22508
            self.success.append(_elem434)
7306 rajveer 22509
          iprot.readListEnd()
22510
        else:
22511
          iprot.skip(ftype)
22512
      else:
22513
        iprot.skip(ftype)
22514
      iprot.readFieldEnd()
22515
    iprot.readStructEnd()
22516
 
22517
  def write(self, oprot):
22518
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22519
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22520
      return
22521
    oprot.writeStructBegin('getStorePricings_result')
22522
    if self.success is not None:
22523
      oprot.writeFieldBegin('success', TType.LIST, 0)
22524
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 22525
      for iter435 in self.success:
22526
        iter435.write(oprot)
7306 rajveer 22527
      oprot.writeListEnd()
22528
      oprot.writeFieldEnd()
22529
    oprot.writeFieldStop()
22530
    oprot.writeStructEnd()
22531
 
22532
  def validate(self):
22533
    return
22534
 
22535
 
22536
  def __repr__(self):
22537
    L = ['%s=%r' % (key, value)
22538
      for key, value in self.__dict__.iteritems()]
22539
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22540
 
22541
  def __eq__(self, other):
22542
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22543
 
22544
  def __ne__(self, other):
22545
    return not (self == other)
22546
 
7265 rajveer 22547
class updateStorePricing_args:
22548
  """
22549
  Attributes:
22550
   - sp
7382 rajveer 22551
   - allColors
7265 rajveer 22552
  """
22553
 
22554
  thrift_spec = (
22555
    None, # 0
22556
    (1, TType.STRUCT, 'sp', (StorePricing, StorePricing.thrift_spec), None, ), # 1
7382 rajveer 22557
    (2, TType.BOOL, 'allColors', None, None, ), # 2
7265 rajveer 22558
  )
22559
 
7382 rajveer 22560
  def __init__(self, sp=None, allColors=None,):
7265 rajveer 22561
    self.sp = sp
7382 rajveer 22562
    self.allColors = allColors
7265 rajveer 22563
 
22564
  def read(self, iprot):
22565
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22566
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22567
      return
22568
    iprot.readStructBegin()
22569
    while True:
22570
      (fname, ftype, fid) = iprot.readFieldBegin()
22571
      if ftype == TType.STOP:
22572
        break
22573
      if fid == 1:
22574
        if ftype == TType.STRUCT:
22575
          self.sp = StorePricing()
22576
          self.sp.read(iprot)
22577
        else:
22578
          iprot.skip(ftype)
7382 rajveer 22579
      elif fid == 2:
22580
        if ftype == TType.BOOL:
22581
          self.allColors = iprot.readBool();
22582
        else:
22583
          iprot.skip(ftype)
7265 rajveer 22584
      else:
22585
        iprot.skip(ftype)
22586
      iprot.readFieldEnd()
22587
    iprot.readStructEnd()
22588
 
22589
  def write(self, oprot):
22590
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22591
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22592
      return
22593
    oprot.writeStructBegin('updateStorePricing_args')
22594
    if self.sp is not None:
22595
      oprot.writeFieldBegin('sp', TType.STRUCT, 1)
22596
      self.sp.write(oprot)
22597
      oprot.writeFieldEnd()
7382 rajveer 22598
    if self.allColors is not None:
22599
      oprot.writeFieldBegin('allColors', TType.BOOL, 2)
22600
      oprot.writeBool(self.allColors)
22601
      oprot.writeFieldEnd()
7265 rajveer 22602
    oprot.writeFieldStop()
22603
    oprot.writeStructEnd()
22604
 
22605
  def validate(self):
22606
    return
22607
 
22608
 
22609
  def __repr__(self):
22610
    L = ['%s=%r' % (key, value)
22611
      for key, value in self.__dict__.iteritems()]
22612
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22613
 
22614
  def __eq__(self, other):
22615
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22616
 
22617
  def __ne__(self, other):
22618
    return not (self == other)
22619
 
22620
class updateStorePricing_result:
22621
 
22622
  thrift_spec = (
22623
  )
22624
 
22625
  def read(self, iprot):
22626
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22627
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22628
      return
22629
    iprot.readStructBegin()
22630
    while True:
22631
      (fname, ftype, fid) = iprot.readFieldBegin()
22632
      if ftype == TType.STOP:
22633
        break
22634
      else:
22635
        iprot.skip(ftype)
22636
      iprot.readFieldEnd()
22637
    iprot.readStructEnd()
22638
 
22639
  def write(self, oprot):
22640
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22641
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22642
      return
22643
    oprot.writeStructBegin('updateStorePricing_result')
22644
    oprot.writeFieldStop()
22645
    oprot.writeStructEnd()
22646
 
22647
  def validate(self):
22648
    return
22649
 
22650
 
22651
  def __repr__(self):
22652
    L = ['%s=%r' % (key, value)
22653
      for key, value in self.__dict__.iteritems()]
22654
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22655
 
22656
  def __eq__(self, other):
22657
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22658
 
22659
  def __ne__(self, other):
22660
    return not (self == other)
7281 kshitij.so 22661
 
22662
class getAllAmazonListedItems_args:
22663
 
22664
  thrift_spec = (
22665
  )
22666
 
22667
  def read(self, iprot):
22668
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22669
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22670
      return
22671
    iprot.readStructBegin()
22672
    while True:
22673
      (fname, ftype, fid) = iprot.readFieldBegin()
22674
      if ftype == TType.STOP:
22675
        break
22676
      else:
22677
        iprot.skip(ftype)
22678
      iprot.readFieldEnd()
22679
    iprot.readStructEnd()
22680
 
22681
  def write(self, oprot):
22682
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22683
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22684
      return
22685
    oprot.writeStructBegin('getAllAmazonListedItems_args')
22686
    oprot.writeFieldStop()
22687
    oprot.writeStructEnd()
22688
 
22689
  def validate(self):
22690
    return
22691
 
22692
 
22693
  def __repr__(self):
22694
    L = ['%s=%r' % (key, value)
22695
      for key, value in self.__dict__.iteritems()]
22696
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22697
 
22698
  def __eq__(self, other):
22699
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22700
 
22701
  def __ne__(self, other):
22702
    return not (self == other)
22703
 
22704
class getAllAmazonListedItems_result:
22705
  """
22706
  Attributes:
22707
   - success
22708
  """
22709
 
22710
  thrift_spec = (
22711
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
22712
  )
22713
 
22714
  def __init__(self, success=None,):
22715
    self.success = success
22716
 
22717
  def read(self, iprot):
22718
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22719
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22720
      return
22721
    iprot.readStructBegin()
22722
    while True:
22723
      (fname, ftype, fid) = iprot.readFieldBegin()
22724
      if ftype == TType.STOP:
22725
        break
22726
      if fid == 0:
22727
        if ftype == TType.LIST:
22728
          self.success = []
13493 amit.gupta 22729
          (_etype439, _size436) = iprot.readListBegin()
22730
          for _i440 in xrange(_size436):
22731
            _elem441 = Amazonlisted()
22732
            _elem441.read(iprot)
22733
            self.success.append(_elem441)
7281 kshitij.so 22734
          iprot.readListEnd()
22735
        else:
22736
          iprot.skip(ftype)
22737
      else:
22738
        iprot.skip(ftype)
22739
      iprot.readFieldEnd()
22740
    iprot.readStructEnd()
22741
 
22742
  def write(self, oprot):
22743
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22744
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22745
      return
22746
    oprot.writeStructBegin('getAllAmazonListedItems_result')
22747
    if self.success is not None:
22748
      oprot.writeFieldBegin('success', TType.LIST, 0)
22749
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 22750
      for iter442 in self.success:
22751
        iter442.write(oprot)
7281 kshitij.so 22752
      oprot.writeListEnd()
22753
      oprot.writeFieldEnd()
22754
    oprot.writeFieldStop()
22755
    oprot.writeStructEnd()
22756
 
22757
  def validate(self):
22758
    return
22759
 
22760
 
22761
  def __repr__(self):
22762
    L = ['%s=%r' % (key, value)
22763
      for key, value in self.__dict__.iteritems()]
22764
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22765
 
22766
  def __eq__(self, other):
22767
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22768
 
22769
  def __ne__(self, other):
22770
    return not (self == other)
22771
 
8619 kshitij.so 22772
class searchAmazonItems_args:
22773
  """
22774
  Attributes:
22775
   - searchTerm
22776
   - offset
22777
   - limit
22778
  """
22779
 
22780
  thrift_spec = (
22781
    None, # 0
22782
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
22783
    (2, TType.I64, 'offset', None, None, ), # 2
22784
    (3, TType.I64, 'limit', None, None, ), # 3
22785
  )
22786
 
22787
  def __init__(self, searchTerm=None, offset=None, limit=None,):
22788
    self.searchTerm = searchTerm
22789
    self.offset = offset
22790
    self.limit = limit
22791
 
22792
  def read(self, iprot):
22793
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22794
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22795
      return
22796
    iprot.readStructBegin()
22797
    while True:
22798
      (fname, ftype, fid) = iprot.readFieldBegin()
22799
      if ftype == TType.STOP:
22800
        break
22801
      if fid == 1:
22802
        if ftype == TType.LIST:
22803
          self.searchTerm = []
13493 amit.gupta 22804
          (_etype446, _size443) = iprot.readListBegin()
22805
          for _i447 in xrange(_size443):
22806
            _elem448 = iprot.readString();
22807
            self.searchTerm.append(_elem448)
8619 kshitij.so 22808
          iprot.readListEnd()
22809
        else:
22810
          iprot.skip(ftype)
22811
      elif fid == 2:
22812
        if ftype == TType.I64:
22813
          self.offset = iprot.readI64();
22814
        else:
22815
          iprot.skip(ftype)
22816
      elif fid == 3:
22817
        if ftype == TType.I64:
22818
          self.limit = iprot.readI64();
22819
        else:
22820
          iprot.skip(ftype)
22821
      else:
22822
        iprot.skip(ftype)
22823
      iprot.readFieldEnd()
22824
    iprot.readStructEnd()
22825
 
22826
  def write(self, oprot):
22827
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22828
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22829
      return
22830
    oprot.writeStructBegin('searchAmazonItems_args')
22831
    if self.searchTerm is not None:
22832
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
22833
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 22834
      for iter449 in self.searchTerm:
22835
        oprot.writeString(iter449)
8619 kshitij.so 22836
      oprot.writeListEnd()
22837
      oprot.writeFieldEnd()
22838
    if self.offset is not None:
22839
      oprot.writeFieldBegin('offset', TType.I64, 2)
22840
      oprot.writeI64(self.offset)
22841
      oprot.writeFieldEnd()
22842
    if self.limit is not None:
22843
      oprot.writeFieldBegin('limit', TType.I64, 3)
22844
      oprot.writeI64(self.limit)
22845
      oprot.writeFieldEnd()
22846
    oprot.writeFieldStop()
22847
    oprot.writeStructEnd()
22848
 
22849
  def validate(self):
22850
    return
22851
 
22852
 
22853
  def __repr__(self):
22854
    L = ['%s=%r' % (key, value)
22855
      for key, value in self.__dict__.iteritems()]
22856
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22857
 
22858
  def __eq__(self, other):
22859
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22860
 
22861
  def __ne__(self, other):
22862
    return not (self == other)
22863
 
22864
class searchAmazonItems_result:
22865
  """
22866
  Attributes:
22867
   - success
22868
  """
22869
 
22870
  thrift_spec = (
22871
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
22872
  )
22873
 
22874
  def __init__(self, success=None,):
22875
    self.success = success
22876
 
22877
  def read(self, iprot):
22878
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22879
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22880
      return
22881
    iprot.readStructBegin()
22882
    while True:
22883
      (fname, ftype, fid) = iprot.readFieldBegin()
22884
      if ftype == TType.STOP:
22885
        break
22886
      if fid == 0:
22887
        if ftype == TType.LIST:
22888
          self.success = []
13493 amit.gupta 22889
          (_etype453, _size450) = iprot.readListBegin()
22890
          for _i454 in xrange(_size450):
22891
            _elem455 = Amazonlisted()
22892
            _elem455.read(iprot)
22893
            self.success.append(_elem455)
8619 kshitij.so 22894
          iprot.readListEnd()
22895
        else:
22896
          iprot.skip(ftype)
22897
      else:
22898
        iprot.skip(ftype)
22899
      iprot.readFieldEnd()
22900
    iprot.readStructEnd()
22901
 
22902
  def write(self, oprot):
22903
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22904
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22905
      return
22906
    oprot.writeStructBegin('searchAmazonItems_result')
22907
    if self.success is not None:
22908
      oprot.writeFieldBegin('success', TType.LIST, 0)
22909
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 22910
      for iter456 in self.success:
22911
        iter456.write(oprot)
8619 kshitij.so 22912
      oprot.writeListEnd()
22913
      oprot.writeFieldEnd()
22914
    oprot.writeFieldStop()
22915
    oprot.writeStructEnd()
22916
 
22917
  def validate(self):
22918
    return
22919
 
22920
 
22921
  def __repr__(self):
22922
    L = ['%s=%r' % (key, value)
22923
      for key, value in self.__dict__.iteritems()]
22924
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22925
 
22926
  def __eq__(self, other):
22927
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22928
 
22929
  def __ne__(self, other):
22930
    return not (self == other)
22931
 
22932
class getAmazonSearchResultCount_args:
22933
  """
22934
  Attributes:
22935
   - searchTerm
22936
  """
22937
 
22938
  thrift_spec = (
22939
    None, # 0
22940
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
22941
  )
22942
 
22943
  def __init__(self, searchTerm=None,):
22944
    self.searchTerm = searchTerm
22945
 
22946
  def read(self, iprot):
22947
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22948
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22949
      return
22950
    iprot.readStructBegin()
22951
    while True:
22952
      (fname, ftype, fid) = iprot.readFieldBegin()
22953
      if ftype == TType.STOP:
22954
        break
22955
      if fid == 1:
22956
        if ftype == TType.LIST:
22957
          self.searchTerm = []
13493 amit.gupta 22958
          (_etype460, _size457) = iprot.readListBegin()
22959
          for _i461 in xrange(_size457):
22960
            _elem462 = iprot.readString();
22961
            self.searchTerm.append(_elem462)
8619 kshitij.so 22962
          iprot.readListEnd()
22963
        else:
22964
          iprot.skip(ftype)
22965
      else:
22966
        iprot.skip(ftype)
22967
      iprot.readFieldEnd()
22968
    iprot.readStructEnd()
22969
 
22970
  def write(self, oprot):
22971
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22972
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22973
      return
22974
    oprot.writeStructBegin('getAmazonSearchResultCount_args')
22975
    if self.searchTerm is not None:
22976
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
22977
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 22978
      for iter463 in self.searchTerm:
22979
        oprot.writeString(iter463)
8619 kshitij.so 22980
      oprot.writeListEnd()
22981
      oprot.writeFieldEnd()
22982
    oprot.writeFieldStop()
22983
    oprot.writeStructEnd()
22984
 
22985
  def validate(self):
22986
    return
22987
 
22988
 
22989
  def __repr__(self):
22990
    L = ['%s=%r' % (key, value)
22991
      for key, value in self.__dict__.iteritems()]
22992
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22993
 
22994
  def __eq__(self, other):
22995
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22996
 
22997
  def __ne__(self, other):
22998
    return not (self == other)
22999
 
23000
class getAmazonSearchResultCount_result:
23001
  """
23002
  Attributes:
23003
   - success
23004
  """
23005
 
23006
  thrift_spec = (
23007
    (0, TType.I64, 'success', None, None, ), # 0
23008
  )
23009
 
23010
  def __init__(self, success=None,):
23011
    self.success = success
23012
 
23013
  def read(self, iprot):
23014
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23015
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23016
      return
23017
    iprot.readStructBegin()
23018
    while True:
23019
      (fname, ftype, fid) = iprot.readFieldBegin()
23020
      if ftype == TType.STOP:
23021
        break
23022
      if fid == 0:
23023
        if ftype == TType.I64:
23024
          self.success = iprot.readI64();
23025
        else:
23026
          iprot.skip(ftype)
23027
      else:
23028
        iprot.skip(ftype)
23029
      iprot.readFieldEnd()
23030
    iprot.readStructEnd()
23031
 
23032
  def write(self, oprot):
23033
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23034
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23035
      return
23036
    oprot.writeStructBegin('getAmazonSearchResultCount_result')
23037
    if self.success is not None:
23038
      oprot.writeFieldBegin('success', TType.I64, 0)
23039
      oprot.writeI64(self.success)
23040
      oprot.writeFieldEnd()
23041
    oprot.writeFieldStop()
23042
    oprot.writeStructEnd()
23043
 
23044
  def validate(self):
23045
    return
23046
 
23047
 
23048
  def __repr__(self):
23049
    L = ['%s=%r' % (key, value)
23050
      for key, value in self.__dict__.iteritems()]
23051
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23052
 
23053
  def __eq__(self, other):
23054
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23055
 
23056
  def __ne__(self, other):
23057
    return not (self == other)
23058
 
23059
class getCountForAmazonlistedItems_args:
23060
 
23061
  thrift_spec = (
23062
  )
23063
 
23064
  def read(self, iprot):
23065
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23066
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23067
      return
23068
    iprot.readStructBegin()
23069
    while True:
23070
      (fname, ftype, fid) = iprot.readFieldBegin()
23071
      if ftype == TType.STOP:
23072
        break
23073
      else:
23074
        iprot.skip(ftype)
23075
      iprot.readFieldEnd()
23076
    iprot.readStructEnd()
23077
 
23078
  def write(self, oprot):
23079
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23080
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23081
      return
23082
    oprot.writeStructBegin('getCountForAmazonlistedItems_args')
23083
    oprot.writeFieldStop()
23084
    oprot.writeStructEnd()
23085
 
23086
  def validate(self):
23087
    return
23088
 
23089
 
23090
  def __repr__(self):
23091
    L = ['%s=%r' % (key, value)
23092
      for key, value in self.__dict__.iteritems()]
23093
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23094
 
23095
  def __eq__(self, other):
23096
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23097
 
23098
  def __ne__(self, other):
23099
    return not (self == other)
23100
 
23101
class getCountForAmazonlistedItems_result:
23102
  """
23103
  Attributes:
23104
   - success
23105
  """
23106
 
23107
  thrift_spec = (
23108
    (0, TType.I64, 'success', None, None, ), # 0
23109
  )
23110
 
23111
  def __init__(self, success=None,):
23112
    self.success = success
23113
 
23114
  def read(self, iprot):
23115
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23116
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23117
      return
23118
    iprot.readStructBegin()
23119
    while True:
23120
      (fname, ftype, fid) = iprot.readFieldBegin()
23121
      if ftype == TType.STOP:
23122
        break
23123
      if fid == 0:
23124
        if ftype == TType.I64:
23125
          self.success = iprot.readI64();
23126
        else:
23127
          iprot.skip(ftype)
23128
      else:
23129
        iprot.skip(ftype)
23130
      iprot.readFieldEnd()
23131
    iprot.readStructEnd()
23132
 
23133
  def write(self, oprot):
23134
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23135
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23136
      return
23137
    oprot.writeStructBegin('getCountForAmazonlistedItems_result')
23138
    if self.success is not None:
23139
      oprot.writeFieldBegin('success', TType.I64, 0)
23140
      oprot.writeI64(self.success)
23141
      oprot.writeFieldEnd()
23142
    oprot.writeFieldStop()
23143
    oprot.writeStructEnd()
23144
 
23145
  def validate(self):
23146
    return
23147
 
23148
 
23149
  def __repr__(self):
23150
    L = ['%s=%r' % (key, value)
23151
      for key, value in self.__dict__.iteritems()]
23152
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23153
 
23154
  def __eq__(self, other):
23155
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23156
 
23157
  def __ne__(self, other):
23158
    return not (self == other)
23159
 
7281 kshitij.so 23160
class getAmazonItemDetails_args:
23161
  """
23162
  Attributes:
23163
   - itemId
23164
  """
23165
 
23166
  thrift_spec = (
23167
    None, # 0
23168
    (1, TType.I64, 'itemId', None, None, ), # 1
23169
  )
23170
 
23171
  def __init__(self, itemId=None,):
23172
    self.itemId = itemId
23173
 
23174
  def read(self, iprot):
23175
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23176
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23177
      return
23178
    iprot.readStructBegin()
23179
    while True:
23180
      (fname, ftype, fid) = iprot.readFieldBegin()
23181
      if ftype == TType.STOP:
23182
        break
23183
      if fid == 1:
23184
        if ftype == TType.I64:
23185
          self.itemId = iprot.readI64();
23186
        else:
23187
          iprot.skip(ftype)
23188
      else:
23189
        iprot.skip(ftype)
23190
      iprot.readFieldEnd()
23191
    iprot.readStructEnd()
23192
 
23193
  def write(self, oprot):
23194
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23195
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23196
      return
23197
    oprot.writeStructBegin('getAmazonItemDetails_args')
23198
    if self.itemId is not None:
23199
      oprot.writeFieldBegin('itemId', TType.I64, 1)
23200
      oprot.writeI64(self.itemId)
23201
      oprot.writeFieldEnd()
23202
    oprot.writeFieldStop()
23203
    oprot.writeStructEnd()
23204
 
23205
  def validate(self):
23206
    return
23207
 
23208
 
23209
  def __repr__(self):
23210
    L = ['%s=%r' % (key, value)
23211
      for key, value in self.__dict__.iteritems()]
23212
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23213
 
23214
  def __eq__(self, other):
23215
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23216
 
23217
  def __ne__(self, other):
23218
    return not (self == other)
23219
 
23220
class getAmazonItemDetails_result:
23221
  """
23222
  Attributes:
23223
   - success
23224
  """
23225
 
23226
  thrift_spec = (
23227
    (0, TType.STRUCT, 'success', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 0
23228
  )
23229
 
23230
  def __init__(self, success=None,):
23231
    self.success = success
23232
 
23233
  def read(self, iprot):
23234
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23235
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23236
      return
23237
    iprot.readStructBegin()
23238
    while True:
23239
      (fname, ftype, fid) = iprot.readFieldBegin()
23240
      if ftype == TType.STOP:
23241
        break
23242
      if fid == 0:
23243
        if ftype == TType.STRUCT:
23244
          self.success = Amazonlisted()
23245
          self.success.read(iprot)
23246
        else:
23247
          iprot.skip(ftype)
23248
      else:
23249
        iprot.skip(ftype)
23250
      iprot.readFieldEnd()
23251
    iprot.readStructEnd()
23252
 
23253
  def write(self, oprot):
23254
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23255
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23256
      return
23257
    oprot.writeStructBegin('getAmazonItemDetails_result')
23258
    if self.success is not None:
23259
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
23260
      self.success.write(oprot)
23261
      oprot.writeFieldEnd()
23262
    oprot.writeFieldStop()
23263
    oprot.writeStructEnd()
23264
 
23265
  def validate(self):
23266
    return
23267
 
23268
 
23269
  def __repr__(self):
23270
    L = ['%s=%r' % (key, value)
23271
      for key, value in self.__dict__.iteritems()]
23272
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23273
 
23274
  def __eq__(self, other):
23275
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23276
 
23277
  def __ne__(self, other):
23278
    return not (self == other)
23279
 
23280
class updateAmazonItemDetails_args:
23281
  """
23282
  Attributes:
8168 kshitij.so 23283
   - amazonlisted
7281 kshitij.so 23284
  """
23285
 
23286
  thrift_spec = (
23287
    None, # 0
8168 kshitij.so 23288
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
7281 kshitij.so 23289
  )
23290
 
8168 kshitij.so 23291
  def __init__(self, amazonlisted=None,):
23292
    self.amazonlisted = amazonlisted
7281 kshitij.so 23293
 
23294
  def read(self, iprot):
23295
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23296
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23297
      return
23298
    iprot.readStructBegin()
23299
    while True:
23300
      (fname, ftype, fid) = iprot.readFieldBegin()
23301
      if ftype == TType.STOP:
23302
        break
23303
      if fid == 1:
8168 kshitij.so 23304
        if ftype == TType.STRUCT:
23305
          self.amazonlisted = Amazonlisted()
23306
          self.amazonlisted.read(iprot)
7281 kshitij.so 23307
        else:
23308
          iprot.skip(ftype)
23309
      else:
23310
        iprot.skip(ftype)
23311
      iprot.readFieldEnd()
23312
    iprot.readStructEnd()
23313
 
23314
  def write(self, oprot):
23315
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23316
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23317
      return
23318
    oprot.writeStructBegin('updateAmazonItemDetails_args')
8168 kshitij.so 23319
    if self.amazonlisted is not None:
23320
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
23321
      self.amazonlisted.write(oprot)
7281 kshitij.so 23322
      oprot.writeFieldEnd()
23323
    oprot.writeFieldStop()
23324
    oprot.writeStructEnd()
23325
 
23326
  def validate(self):
23327
    return
23328
 
23329
 
23330
  def __repr__(self):
23331
    L = ['%s=%r' % (key, value)
23332
      for key, value in self.__dict__.iteritems()]
23333
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23334
 
23335
  def __eq__(self, other):
23336
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23337
 
23338
  def __ne__(self, other):
23339
    return not (self == other)
23340
 
23341
class updateAmazonItemDetails_result:
23342
 
23343
  thrift_spec = (
23344
  )
23345
 
23346
  def read(self, iprot):
23347
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23348
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23349
      return
23350
    iprot.readStructBegin()
23351
    while True:
23352
      (fname, ftype, fid) = iprot.readFieldBegin()
23353
      if ftype == TType.STOP:
23354
        break
23355
      else:
23356
        iprot.skip(ftype)
23357
      iprot.readFieldEnd()
23358
    iprot.readStructEnd()
23359
 
23360
  def write(self, oprot):
23361
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23362
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23363
      return
23364
    oprot.writeStructBegin('updateAmazonItemDetails_result')
23365
    oprot.writeFieldStop()
23366
    oprot.writeStructEnd()
23367
 
23368
  def validate(self):
23369
    return
23370
 
23371
 
23372
  def __repr__(self):
23373
    L = ['%s=%r' % (key, value)
23374
      for key, value in self.__dict__.iteritems()]
23375
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23376
 
23377
  def __eq__(self, other):
23378
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23379
 
23380
  def __ne__(self, other):
23381
    return not (self == other)
23382
 
23383
class addAmazonItem_args:
23384
  """
23385
  Attributes:
23386
   - amazonlisted
23387
  """
23388
 
23389
  thrift_spec = (
23390
    None, # 0
23391
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
23392
  )
23393
 
23394
  def __init__(self, amazonlisted=None,):
23395
    self.amazonlisted = amazonlisted
23396
 
23397
  def read(self, iprot):
23398
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23399
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23400
      return
23401
    iprot.readStructBegin()
23402
    while True:
23403
      (fname, ftype, fid) = iprot.readFieldBegin()
23404
      if ftype == TType.STOP:
23405
        break
23406
      if fid == 1:
23407
        if ftype == TType.STRUCT:
23408
          self.amazonlisted = Amazonlisted()
23409
          self.amazonlisted.read(iprot)
23410
        else:
23411
          iprot.skip(ftype)
23412
      else:
23413
        iprot.skip(ftype)
23414
      iprot.readFieldEnd()
23415
    iprot.readStructEnd()
23416
 
23417
  def write(self, oprot):
23418
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23419
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23420
      return
23421
    oprot.writeStructBegin('addAmazonItem_args')
23422
    if self.amazonlisted is not None:
23423
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
23424
      self.amazonlisted.write(oprot)
23425
      oprot.writeFieldEnd()
23426
    oprot.writeFieldStop()
23427
    oprot.writeStructEnd()
23428
 
23429
  def validate(self):
23430
    return
23431
 
23432
 
23433
  def __repr__(self):
23434
    L = ['%s=%r' % (key, value)
23435
      for key, value in self.__dict__.iteritems()]
23436
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23437
 
23438
  def __eq__(self, other):
23439
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23440
 
23441
  def __ne__(self, other):
23442
    return not (self == other)
23443
 
23444
class addAmazonItem_result:
23445
 
23446
  thrift_spec = (
23447
  )
23448
 
23449
  def read(self, iprot):
23450
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23451
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23452
      return
23453
    iprot.readStructBegin()
23454
    while True:
23455
      (fname, ftype, fid) = iprot.readFieldBegin()
23456
      if ftype == TType.STOP:
23457
        break
23458
      else:
23459
        iprot.skip(ftype)
23460
      iprot.readFieldEnd()
23461
    iprot.readStructEnd()
23462
 
23463
  def write(self, oprot):
23464
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23465
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23466
      return
23467
    oprot.writeStructBegin('addAmazonItem_result')
23468
    oprot.writeFieldStop()
23469
    oprot.writeStructEnd()
23470
 
23471
  def validate(self):
23472
    return
23473
 
23474
 
23475
  def __repr__(self):
23476
    L = ['%s=%r' % (key, value)
23477
      for key, value in self.__dict__.iteritems()]
23478
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23479
 
23480
  def __eq__(self, other):
23481
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23482
 
23483
  def __ne__(self, other):
23484
    return not (self == other)
7291 vikram.rag 23485
 
23486
class getAsinItems_args:
23487
 
23488
  thrift_spec = (
23489
  )
23490
 
23491
  def read(self, iprot):
23492
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23493
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23494
      return
23495
    iprot.readStructBegin()
23496
    while True:
23497
      (fname, ftype, fid) = iprot.readFieldBegin()
23498
      if ftype == TType.STOP:
23499
        break
23500
      else:
23501
        iprot.skip(ftype)
23502
      iprot.readFieldEnd()
23503
    iprot.readStructEnd()
23504
 
23505
  def write(self, oprot):
23506
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23507
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23508
      return
23509
    oprot.writeStructBegin('getAsinItems_args')
23510
    oprot.writeFieldStop()
23511
    oprot.writeStructEnd()
23512
 
23513
  def validate(self):
23514
    return
23515
 
23516
 
23517
  def __repr__(self):
23518
    L = ['%s=%r' % (key, value)
23519
      for key, value in self.__dict__.iteritems()]
23520
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23521
 
23522
  def __eq__(self, other):
23523
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23524
 
23525
  def __ne__(self, other):
23526
    return not (self == other)
23527
 
23528
class getAsinItems_result:
23529
  """
23530
  Attributes:
23531
   - success
23532
  """
23533
 
23534
  thrift_spec = (
23535
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
23536
  )
23537
 
23538
  def __init__(self, success=None,):
23539
    self.success = success
23540
 
23541
  def read(self, iprot):
23542
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23543
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23544
      return
23545
    iprot.readStructBegin()
23546
    while True:
23547
      (fname, ftype, fid) = iprot.readFieldBegin()
23548
      if ftype == TType.STOP:
23549
        break
23550
      if fid == 0:
23551
        if ftype == TType.LIST:
23552
          self.success = []
13493 amit.gupta 23553
          (_etype467, _size464) = iprot.readListBegin()
23554
          for _i468 in xrange(_size464):
23555
            _elem469 = Item()
23556
            _elem469.read(iprot)
23557
            self.success.append(_elem469)
7291 vikram.rag 23558
          iprot.readListEnd()
23559
        else:
23560
          iprot.skip(ftype)
23561
      else:
23562
        iprot.skip(ftype)
23563
      iprot.readFieldEnd()
23564
    iprot.readStructEnd()
23565
 
23566
  def write(self, oprot):
23567
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23568
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23569
      return
23570
    oprot.writeStructBegin('getAsinItems_result')
23571
    if self.success is not None:
23572
      oprot.writeFieldBegin('success', TType.LIST, 0)
23573
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 23574
      for iter470 in self.success:
23575
        iter470.write(oprot)
7291 vikram.rag 23576
      oprot.writeListEnd()
23577
      oprot.writeFieldEnd()
23578
    oprot.writeFieldStop()
23579
    oprot.writeStructEnd()
23580
 
23581
  def validate(self):
23582
    return
23583
 
23584
 
23585
  def __repr__(self):
23586
    L = ['%s=%r' % (key, value)
23587
      for key, value in self.__dict__.iteritems()]
23588
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23589
 
23590
  def __eq__(self, other):
23591
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23592
 
23593
  def __ne__(self, other):
23594
    return not (self == other)
23595
 
23596
class getAllFbaListedItems_args:
23597
 
23598
  thrift_spec = (
23599
  )
23600
 
23601
  def read(self, iprot):
23602
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23603
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23604
      return
23605
    iprot.readStructBegin()
23606
    while True:
23607
      (fname, ftype, fid) = iprot.readFieldBegin()
23608
      if ftype == TType.STOP:
23609
        break
23610
      else:
23611
        iprot.skip(ftype)
23612
      iprot.readFieldEnd()
23613
    iprot.readStructEnd()
23614
 
23615
  def write(self, oprot):
23616
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23617
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23618
      return
23619
    oprot.writeStructBegin('getAllFbaListedItems_args')
23620
    oprot.writeFieldStop()
23621
    oprot.writeStructEnd()
23622
 
23623
  def validate(self):
23624
    return
23625
 
23626
 
23627
  def __repr__(self):
23628
    L = ['%s=%r' % (key, value)
23629
      for key, value in self.__dict__.iteritems()]
23630
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23631
 
23632
  def __eq__(self, other):
23633
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23634
 
23635
  def __ne__(self, other):
23636
    return not (self == other)
23637
 
23638
class getAllFbaListedItems_result:
23639
  """
23640
  Attributes:
23641
   - success
23642
  """
23643
 
23644
  thrift_spec = (
23645
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23646
  )
23647
 
23648
  def __init__(self, success=None,):
23649
    self.success = success
23650
 
23651
  def read(self, iprot):
23652
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23653
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23654
      return
23655
    iprot.readStructBegin()
23656
    while True:
23657
      (fname, ftype, fid) = iprot.readFieldBegin()
23658
      if ftype == TType.STOP:
23659
        break
23660
      if fid == 0:
23661
        if ftype == TType.LIST:
23662
          self.success = []
13493 amit.gupta 23663
          (_etype474, _size471) = iprot.readListBegin()
23664
          for _i475 in xrange(_size471):
23665
            _elem476 = Amazonlisted()
23666
            _elem476.read(iprot)
23667
            self.success.append(_elem476)
7291 vikram.rag 23668
          iprot.readListEnd()
23669
        else:
23670
          iprot.skip(ftype)
23671
      else:
23672
        iprot.skip(ftype)
23673
      iprot.readFieldEnd()
23674
    iprot.readStructEnd()
23675
 
23676
  def write(self, oprot):
23677
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23678
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23679
      return
23680
    oprot.writeStructBegin('getAllFbaListedItems_result')
23681
    if self.success is not None:
23682
      oprot.writeFieldBegin('success', TType.LIST, 0)
23683
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 23684
      for iter477 in self.success:
23685
        iter477.write(oprot)
7291 vikram.rag 23686
      oprot.writeListEnd()
23687
      oprot.writeFieldEnd()
23688
    oprot.writeFieldStop()
23689
    oprot.writeStructEnd()
23690
 
23691
  def validate(self):
23692
    return
23693
 
23694
 
23695
  def __repr__(self):
23696
    L = ['%s=%r' % (key, value)
23697
      for key, value in self.__dict__.iteritems()]
23698
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23699
 
23700
  def __eq__(self, other):
23701
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23702
 
23703
  def __ne__(self, other):
23704
    return not (self == other)
23705
 
23706
class getAllNonFbaListedItems_args:
23707
 
23708
  thrift_spec = (
23709
  )
23710
 
23711
  def read(self, iprot):
23712
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23713
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23714
      return
23715
    iprot.readStructBegin()
23716
    while True:
23717
      (fname, ftype, fid) = iprot.readFieldBegin()
23718
      if ftype == TType.STOP:
23719
        break
23720
      else:
23721
        iprot.skip(ftype)
23722
      iprot.readFieldEnd()
23723
    iprot.readStructEnd()
23724
 
23725
  def write(self, oprot):
23726
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23727
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23728
      return
23729
    oprot.writeStructBegin('getAllNonFbaListedItems_args')
23730
    oprot.writeFieldStop()
23731
    oprot.writeStructEnd()
23732
 
23733
  def validate(self):
23734
    return
23735
 
23736
 
23737
  def __repr__(self):
23738
    L = ['%s=%r' % (key, value)
23739
      for key, value in self.__dict__.iteritems()]
23740
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23741
 
23742
  def __eq__(self, other):
23743
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23744
 
23745
  def __ne__(self, other):
23746
    return not (self == other)
23747
 
23748
class getAllNonFbaListedItems_result:
23749
  """
23750
  Attributes:
23751
   - success
23752
  """
23753
 
23754
  thrift_spec = (
23755
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23756
  )
23757
 
23758
  def __init__(self, success=None,):
23759
    self.success = success
23760
 
23761
  def read(self, iprot):
23762
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23763
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23764
      return
23765
    iprot.readStructBegin()
23766
    while True:
23767
      (fname, ftype, fid) = iprot.readFieldBegin()
23768
      if ftype == TType.STOP:
23769
        break
23770
      if fid == 0:
23771
        if ftype == TType.LIST:
23772
          self.success = []
13493 amit.gupta 23773
          (_etype481, _size478) = iprot.readListBegin()
23774
          for _i482 in xrange(_size478):
23775
            _elem483 = Amazonlisted()
23776
            _elem483.read(iprot)
23777
            self.success.append(_elem483)
7291 vikram.rag 23778
          iprot.readListEnd()
23779
        else:
23780
          iprot.skip(ftype)
23781
      else:
23782
        iprot.skip(ftype)
23783
      iprot.readFieldEnd()
23784
    iprot.readStructEnd()
23785
 
23786
  def write(self, oprot):
23787
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23788
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23789
      return
23790
    oprot.writeStructBegin('getAllNonFbaListedItems_result')
23791
    if self.success is not None:
23792
      oprot.writeFieldBegin('success', TType.LIST, 0)
23793
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 23794
      for iter484 in self.success:
23795
        iter484.write(oprot)
7291 vikram.rag 23796
      oprot.writeListEnd()
23797
      oprot.writeFieldEnd()
23798
    oprot.writeFieldStop()
23799
    oprot.writeStructEnd()
23800
 
23801
  def validate(self):
23802
    return
23803
 
23804
 
23805
  def __repr__(self):
23806
    L = ['%s=%r' % (key, value)
23807
      for key, value in self.__dict__.iteritems()]
23808
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23809
 
23810
  def __eq__(self, other):
23811
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23812
 
23813
  def __ne__(self, other):
23814
    return not (self == other)
7460 kshitij.so 23815
 
23816
class updateItemInventory_args:
23817
  """
23818
  Attributes:
23819
   - itemId
23820
   - holdInventory
23821
   - defaultInventory
23822
  """
23823
 
23824
  thrift_spec = (
23825
    None, # 0
23826
    (1, TType.I64, 'itemId', None, None, ), # 1
23827
    (2, TType.I64, 'holdInventory', None, None, ), # 2
23828
    (3, TType.I64, 'defaultInventory', None, None, ), # 3
23829
  )
23830
 
23831
  def __init__(self, itemId=None, holdInventory=None, defaultInventory=None,):
23832
    self.itemId = itemId
23833
    self.holdInventory = holdInventory
23834
    self.defaultInventory = defaultInventory
23835
 
23836
  def read(self, iprot):
23837
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23838
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23839
      return
23840
    iprot.readStructBegin()
23841
    while True:
23842
      (fname, ftype, fid) = iprot.readFieldBegin()
23843
      if ftype == TType.STOP:
23844
        break
23845
      if fid == 1:
23846
        if ftype == TType.I64:
23847
          self.itemId = iprot.readI64();
23848
        else:
23849
          iprot.skip(ftype)
23850
      elif fid == 2:
23851
        if ftype == TType.I64:
23852
          self.holdInventory = iprot.readI64();
23853
        else:
23854
          iprot.skip(ftype)
23855
      elif fid == 3:
23856
        if ftype == TType.I64:
23857
          self.defaultInventory = iprot.readI64();
23858
        else:
23859
          iprot.skip(ftype)
23860
      else:
23861
        iprot.skip(ftype)
23862
      iprot.readFieldEnd()
23863
    iprot.readStructEnd()
23864
 
23865
  def write(self, oprot):
23866
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23867
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23868
      return
23869
    oprot.writeStructBegin('updateItemInventory_args')
23870
    if self.itemId is not None:
23871
      oprot.writeFieldBegin('itemId', TType.I64, 1)
23872
      oprot.writeI64(self.itemId)
23873
      oprot.writeFieldEnd()
23874
    if self.holdInventory is not None:
23875
      oprot.writeFieldBegin('holdInventory', TType.I64, 2)
23876
      oprot.writeI64(self.holdInventory)
23877
      oprot.writeFieldEnd()
23878
    if self.defaultInventory is not None:
23879
      oprot.writeFieldBegin('defaultInventory', TType.I64, 3)
23880
      oprot.writeI64(self.defaultInventory)
23881
      oprot.writeFieldEnd()
23882
    oprot.writeFieldStop()
23883
    oprot.writeStructEnd()
23884
 
23885
  def validate(self):
23886
    return
23887
 
23888
 
23889
  def __repr__(self):
23890
    L = ['%s=%r' % (key, value)
23891
      for key, value in self.__dict__.iteritems()]
23892
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23893
 
23894
  def __eq__(self, other):
23895
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23896
 
23897
  def __ne__(self, other):
23898
    return not (self == other)
23899
 
23900
class updateItemInventory_result:
23901
  """
23902
  Attributes:
23903
   - success
23904
  """
23905
 
23906
  thrift_spec = (
23907
    (0, TType.BOOL, 'success', None, None, ), # 0
23908
  )
23909
 
23910
  def __init__(self, success=None,):
23911
    self.success = success
23912
 
23913
  def read(self, iprot):
23914
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23915
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23916
      return
23917
    iprot.readStructBegin()
23918
    while True:
23919
      (fname, ftype, fid) = iprot.readFieldBegin()
23920
      if ftype == TType.STOP:
23921
        break
23922
      if fid == 0:
23923
        if ftype == TType.BOOL:
23924
          self.success = iprot.readBool();
23925
        else:
23926
          iprot.skip(ftype)
23927
      else:
23928
        iprot.skip(ftype)
23929
      iprot.readFieldEnd()
23930
    iprot.readStructEnd()
23931
 
23932
  def write(self, oprot):
23933
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23934
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23935
      return
23936
    oprot.writeStructBegin('updateItemInventory_result')
23937
    if self.success is not None:
23938
      oprot.writeFieldBegin('success', TType.BOOL, 0)
23939
      oprot.writeBool(self.success)
23940
      oprot.writeFieldEnd()
23941
    oprot.writeFieldStop()
23942
    oprot.writeStructEnd()
23943
 
23944
  def validate(self):
23945
    return
23946
 
23947
 
23948
  def __repr__(self):
23949
    L = ['%s=%r' % (key, value)
23950
      for key, value in self.__dict__.iteritems()]
23951
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23952
 
23953
  def __eq__(self, other):
23954
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23955
 
23956
  def __ne__(self, other):
23957
    return not (self == other)
7770 kshitij.so 23958
 
23959
class updateTimestampForAmazonFeeds_args:
23960
  """
23961
  Attributes:
23962
   - type
23963
   - sku
23964
   - timestamp
23965
  """
23966
 
23967
  thrift_spec = (
23968
    None, # 0
23969
    (1, TType.STRING, 'type', None, None, ), # 1
23970
    (2, TType.LIST, 'sku', (TType.I64,None), None, ), # 2
23971
    (3, TType.I64, 'timestamp', None, None, ), # 3
23972
  )
23973
 
23974
  def __init__(self, type=None, sku=None, timestamp=None,):
23975
    self.type = type
23976
    self.sku = sku
23977
    self.timestamp = timestamp
23978
 
23979
  def read(self, iprot):
23980
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23981
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23982
      return
23983
    iprot.readStructBegin()
23984
    while True:
23985
      (fname, ftype, fid) = iprot.readFieldBegin()
23986
      if ftype == TType.STOP:
23987
        break
23988
      if fid == 1:
23989
        if ftype == TType.STRING:
23990
          self.type = iprot.readString();
23991
        else:
23992
          iprot.skip(ftype)
23993
      elif fid == 2:
23994
        if ftype == TType.LIST:
23995
          self.sku = []
13493 amit.gupta 23996
          (_etype488, _size485) = iprot.readListBegin()
23997
          for _i489 in xrange(_size485):
23998
            _elem490 = iprot.readI64();
23999
            self.sku.append(_elem490)
7770 kshitij.so 24000
          iprot.readListEnd()
24001
        else:
24002
          iprot.skip(ftype)
24003
      elif fid == 3:
24004
        if ftype == TType.I64:
24005
          self.timestamp = iprot.readI64();
24006
        else:
24007
          iprot.skip(ftype)
24008
      else:
24009
        iprot.skip(ftype)
24010
      iprot.readFieldEnd()
24011
    iprot.readStructEnd()
24012
 
24013
  def write(self, oprot):
24014
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24015
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24016
      return
24017
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_args')
24018
    if self.type is not None:
24019
      oprot.writeFieldBegin('type', TType.STRING, 1)
24020
      oprot.writeString(self.type)
24021
      oprot.writeFieldEnd()
24022
    if self.sku is not None:
24023
      oprot.writeFieldBegin('sku', TType.LIST, 2)
24024
      oprot.writeListBegin(TType.I64, len(self.sku))
13493 amit.gupta 24025
      for iter491 in self.sku:
24026
        oprot.writeI64(iter491)
7770 kshitij.so 24027
      oprot.writeListEnd()
24028
      oprot.writeFieldEnd()
24029
    if self.timestamp is not None:
24030
      oprot.writeFieldBegin('timestamp', TType.I64, 3)
24031
      oprot.writeI64(self.timestamp)
24032
      oprot.writeFieldEnd()
24033
    oprot.writeFieldStop()
24034
    oprot.writeStructEnd()
24035
 
24036
  def validate(self):
24037
    return
24038
 
24039
 
24040
  def __repr__(self):
24041
    L = ['%s=%r' % (key, value)
24042
      for key, value in self.__dict__.iteritems()]
24043
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24044
 
24045
  def __eq__(self, other):
24046
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24047
 
24048
  def __ne__(self, other):
24049
    return not (self == other)
24050
 
24051
class updateTimestampForAmazonFeeds_result:
24052
  """
24053
  Attributes:
24054
   - success
24055
  """
24056
 
24057
  thrift_spec = (
24058
    (0, TType.BOOL, 'success', None, None, ), # 0
24059
  )
24060
 
24061
  def __init__(self, success=None,):
24062
    self.success = success
24063
 
24064
  def read(self, iprot):
24065
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24066
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24067
      return
24068
    iprot.readStructBegin()
24069
    while True:
24070
      (fname, ftype, fid) = iprot.readFieldBegin()
24071
      if ftype == TType.STOP:
24072
        break
24073
      if fid == 0:
24074
        if ftype == TType.BOOL:
24075
          self.success = iprot.readBool();
24076
        else:
24077
          iprot.skip(ftype)
24078
      else:
24079
        iprot.skip(ftype)
24080
      iprot.readFieldEnd()
24081
    iprot.readStructEnd()
24082
 
24083
  def write(self, oprot):
24084
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24085
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24086
      return
24087
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_result')
24088
    if self.success is not None:
24089
      oprot.writeFieldBegin('success', TType.BOOL, 0)
24090
      oprot.writeBool(self.success)
24091
      oprot.writeFieldEnd()
24092
    oprot.writeFieldStop()
24093
    oprot.writeStructEnd()
24094
 
24095
  def validate(self):
24096
    return
24097
 
24098
 
24099
  def __repr__(self):
24100
    L = ['%s=%r' % (key, value)
24101
      for key, value in self.__dict__.iteritems()]
24102
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24103
 
24104
  def __eq__(self, other):
24105
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24106
 
24107
  def __ne__(self, other):
24108
    return not (self == other)
7897 amar.kumar 24109
 
24110
class getAllParentCategories_args:
24111
 
24112
  thrift_spec = (
24113
  )
24114
 
24115
  def read(self, iprot):
24116
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24117
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24118
      return
24119
    iprot.readStructBegin()
24120
    while True:
24121
      (fname, ftype, fid) = iprot.readFieldBegin()
24122
      if ftype == TType.STOP:
24123
        break
24124
      else:
24125
        iprot.skip(ftype)
24126
      iprot.readFieldEnd()
24127
    iprot.readStructEnd()
24128
 
24129
  def write(self, oprot):
24130
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24131
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24132
      return
24133
    oprot.writeStructBegin('getAllParentCategories_args')
24134
    oprot.writeFieldStop()
24135
    oprot.writeStructEnd()
24136
 
24137
  def validate(self):
24138
    return
24139
 
24140
 
24141
  def __repr__(self):
24142
    L = ['%s=%r' % (key, value)
24143
      for key, value in self.__dict__.iteritems()]
24144
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24145
 
24146
  def __eq__(self, other):
24147
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24148
 
24149
  def __ne__(self, other):
24150
    return not (self == other)
24151
 
24152
class getAllParentCategories_result:
24153
  """
24154
  Attributes:
24155
   - success
24156
  """
24157
 
24158
  thrift_spec = (
24159
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
24160
  )
24161
 
24162
  def __init__(self, success=None,):
24163
    self.success = success
24164
 
24165
  def read(self, iprot):
24166
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24167
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24168
      return
24169
    iprot.readStructBegin()
24170
    while True:
24171
      (fname, ftype, fid) = iprot.readFieldBegin()
24172
      if ftype == TType.STOP:
24173
        break
24174
      if fid == 0:
24175
        if ftype == TType.LIST:
24176
          self.success = []
13493 amit.gupta 24177
          (_etype495, _size492) = iprot.readListBegin()
24178
          for _i496 in xrange(_size492):
24179
            _elem497 = Category()
24180
            _elem497.read(iprot)
24181
            self.success.append(_elem497)
7897 amar.kumar 24182
          iprot.readListEnd()
24183
        else:
24184
          iprot.skip(ftype)
24185
      else:
24186
        iprot.skip(ftype)
24187
      iprot.readFieldEnd()
24188
    iprot.readStructEnd()
24189
 
24190
  def write(self, oprot):
24191
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24192
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24193
      return
24194
    oprot.writeStructBegin('getAllParentCategories_result')
24195
    if self.success is not None:
24196
      oprot.writeFieldBegin('success', TType.LIST, 0)
24197
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 24198
      for iter498 in self.success:
24199
        iter498.write(oprot)
7897 amar.kumar 24200
      oprot.writeListEnd()
24201
      oprot.writeFieldEnd()
24202
    oprot.writeFieldStop()
24203
    oprot.writeStructEnd()
24204
 
24205
  def validate(self):
24206
    return
24207
 
24208
 
24209
  def __repr__(self):
24210
    L = ['%s=%r' % (key, value)
24211
      for key, value in self.__dict__.iteritems()]
24212
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24213
 
24214
  def __eq__(self, other):
24215
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24216
 
24217
  def __ne__(self, other):
24218
    return not (self == other)
7977 kshitij.so 24219
 
24220
class addPageViewEvent_args:
24221
  """
24222
  Attributes:
24223
   - pageViewEvents
24224
  """
24225
 
24226
  thrift_spec = (
24227
    None, # 0
24228
    (1, TType.STRUCT, 'pageViewEvents', (PageViewEvents, PageViewEvents.thrift_spec), None, ), # 1
24229
  )
24230
 
24231
  def __init__(self, pageViewEvents=None,):
24232
    self.pageViewEvents = pageViewEvents
24233
 
24234
  def read(self, iprot):
24235
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24236
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24237
      return
24238
    iprot.readStructBegin()
24239
    while True:
24240
      (fname, ftype, fid) = iprot.readFieldBegin()
24241
      if ftype == TType.STOP:
24242
        break
24243
      if fid == 1:
24244
        if ftype == TType.STRUCT:
24245
          self.pageViewEvents = PageViewEvents()
24246
          self.pageViewEvents.read(iprot)
24247
        else:
24248
          iprot.skip(ftype)
24249
      else:
24250
        iprot.skip(ftype)
24251
      iprot.readFieldEnd()
24252
    iprot.readStructEnd()
24253
 
24254
  def write(self, oprot):
24255
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24256
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24257
      return
24258
    oprot.writeStructBegin('addPageViewEvent_args')
24259
    if self.pageViewEvents is not None:
24260
      oprot.writeFieldBegin('pageViewEvents', TType.STRUCT, 1)
24261
      self.pageViewEvents.write(oprot)
24262
      oprot.writeFieldEnd()
24263
    oprot.writeFieldStop()
24264
    oprot.writeStructEnd()
24265
 
24266
  def validate(self):
24267
    return
24268
 
24269
 
24270
  def __repr__(self):
24271
    L = ['%s=%r' % (key, value)
24272
      for key, value in self.__dict__.iteritems()]
24273
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24274
 
24275
  def __eq__(self, other):
24276
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24277
 
24278
  def __ne__(self, other):
24279
    return not (self == other)
24280
 
24281
class addPageViewEvent_result:
24282
 
24283
  thrift_spec = (
24284
  )
24285
 
24286
  def read(self, iprot):
24287
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24288
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24289
      return
24290
    iprot.readStructBegin()
24291
    while True:
24292
      (fname, ftype, fid) = iprot.readFieldBegin()
24293
      if ftype == TType.STOP:
24294
        break
24295
      else:
24296
        iprot.skip(ftype)
24297
      iprot.readFieldEnd()
24298
    iprot.readStructEnd()
24299
 
24300
  def write(self, oprot):
24301
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24302
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24303
      return
24304
    oprot.writeStructBegin('addPageViewEvent_result')
24305
    oprot.writeFieldStop()
24306
    oprot.writeStructEnd()
24307
 
24308
  def validate(self):
24309
    return
24310
 
24311
 
24312
  def __repr__(self):
24313
    L = ['%s=%r' % (key, value)
24314
      for key, value in self.__dict__.iteritems()]
24315
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24316
 
24317
  def __eq__(self, other):
24318
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24319
 
24320
  def __ne__(self, other):
24321
    return not (self == other)
24322
 
24323
class addCartEvent_args:
24324
  """
24325
  Attributes:
24326
   - cartEvents
24327
  """
24328
 
24329
  thrift_spec = (
24330
    None, # 0
24331
    (1, TType.STRUCT, 'cartEvents', (CartEvents, CartEvents.thrift_spec), None, ), # 1
24332
  )
24333
 
24334
  def __init__(self, cartEvents=None,):
24335
    self.cartEvents = cartEvents
24336
 
24337
  def read(self, iprot):
24338
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24339
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24340
      return
24341
    iprot.readStructBegin()
24342
    while True:
24343
      (fname, ftype, fid) = iprot.readFieldBegin()
24344
      if ftype == TType.STOP:
24345
        break
24346
      if fid == 1:
24347
        if ftype == TType.STRUCT:
24348
          self.cartEvents = CartEvents()
24349
          self.cartEvents.read(iprot)
24350
        else:
24351
          iprot.skip(ftype)
24352
      else:
24353
        iprot.skip(ftype)
24354
      iprot.readFieldEnd()
24355
    iprot.readStructEnd()
24356
 
24357
  def write(self, oprot):
24358
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24359
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24360
      return
24361
    oprot.writeStructBegin('addCartEvent_args')
24362
    if self.cartEvents is not None:
24363
      oprot.writeFieldBegin('cartEvents', TType.STRUCT, 1)
24364
      self.cartEvents.write(oprot)
24365
      oprot.writeFieldEnd()
24366
    oprot.writeFieldStop()
24367
    oprot.writeStructEnd()
24368
 
24369
  def validate(self):
24370
    return
24371
 
24372
 
24373
  def __repr__(self):
24374
    L = ['%s=%r' % (key, value)
24375
      for key, value in self.__dict__.iteritems()]
24376
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24377
 
24378
  def __eq__(self, other):
24379
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24380
 
24381
  def __ne__(self, other):
24382
    return not (self == other)
24383
 
24384
class addCartEvent_result:
24385
 
24386
  thrift_spec = (
24387
  )
24388
 
24389
  def read(self, iprot):
24390
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24391
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24392
      return
24393
    iprot.readStructBegin()
24394
    while True:
24395
      (fname, ftype, fid) = iprot.readFieldBegin()
24396
      if ftype == TType.STOP:
24397
        break
24398
      else:
24399
        iprot.skip(ftype)
24400
      iprot.readFieldEnd()
24401
    iprot.readStructEnd()
24402
 
24403
  def write(self, oprot):
24404
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24405
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24406
      return
24407
    oprot.writeStructBegin('addCartEvent_result')
24408
    oprot.writeFieldStop()
24409
    oprot.writeStructEnd()
24410
 
24411
  def validate(self):
24412
    return
24413
 
24414
 
24415
  def __repr__(self):
24416
    L = ['%s=%r' % (key, value)
24417
      for key, value in self.__dict__.iteritems()]
24418
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24419
 
24420
  def __eq__(self, other):
24421
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24422
 
24423
  def __ne__(self, other):
24424
    return not (self == other)
8139 kshitij.so 24425
 
8182 amar.kumar 24426
class addEbayItem_args:
24427
  """
24428
  Attributes:
24429
   - ebayItem
24430
  """
24431
 
24432
  thrift_spec = (
24433
    None, # 0
24434
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
24435
  )
24436
 
24437
  def __init__(self, ebayItem=None,):
24438
    self.ebayItem = ebayItem
24439
 
24440
  def read(self, iprot):
24441
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24442
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24443
      return
24444
    iprot.readStructBegin()
24445
    while True:
24446
      (fname, ftype, fid) = iprot.readFieldBegin()
24447
      if ftype == TType.STOP:
24448
        break
24449
      if fid == 1:
24450
        if ftype == TType.STRUCT:
24451
          self.ebayItem = EbayItem()
24452
          self.ebayItem.read(iprot)
24453
        else:
24454
          iprot.skip(ftype)
24455
      else:
24456
        iprot.skip(ftype)
24457
      iprot.readFieldEnd()
24458
    iprot.readStructEnd()
24459
 
24460
  def write(self, oprot):
24461
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24462
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24463
      return
24464
    oprot.writeStructBegin('addEbayItem_args')
24465
    if self.ebayItem is not None:
24466
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
24467
      self.ebayItem.write(oprot)
24468
      oprot.writeFieldEnd()
24469
    oprot.writeFieldStop()
24470
    oprot.writeStructEnd()
24471
 
24472
  def validate(self):
24473
    return
24474
 
24475
 
24476
  def __repr__(self):
24477
    L = ['%s=%r' % (key, value)
24478
      for key, value in self.__dict__.iteritems()]
24479
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24480
 
24481
  def __eq__(self, other):
24482
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24483
 
24484
  def __ne__(self, other):
24485
    return not (self == other)
24486
 
24487
class addEbayItem_result:
24488
 
24489
  thrift_spec = (
24490
  )
24491
 
24492
  def read(self, iprot):
24493
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24494
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24495
      return
24496
    iprot.readStructBegin()
24497
    while True:
24498
      (fname, ftype, fid) = iprot.readFieldBegin()
24499
      if ftype == TType.STOP:
24500
        break
24501
      else:
24502
        iprot.skip(ftype)
24503
      iprot.readFieldEnd()
24504
    iprot.readStructEnd()
24505
 
24506
  def write(self, oprot):
24507
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24508
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24509
      return
24510
    oprot.writeStructBegin('addEbayItem_result')
24511
    oprot.writeFieldStop()
24512
    oprot.writeStructEnd()
24513
 
24514
  def validate(self):
24515
    return
24516
 
24517
 
24518
  def __repr__(self):
24519
    L = ['%s=%r' % (key, value)
24520
      for key, value in self.__dict__.iteritems()]
24521
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24522
 
24523
  def __eq__(self, other):
24524
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24525
 
24526
  def __ne__(self, other):
24527
    return not (self == other)
24528
 
24529
class getEbayItem_args:
24530
  """
24531
  Attributes:
24532
   - listingId
24533
  """
24534
 
24535
  thrift_spec = (
24536
    None, # 0
24537
    (1, TType.STRING, 'listingId', None, None, ), # 1
24538
  )
24539
 
24540
  def __init__(self, listingId=None,):
24541
    self.listingId = listingId
24542
 
24543
  def read(self, iprot):
24544
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24545
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24546
      return
24547
    iprot.readStructBegin()
24548
    while True:
24549
      (fname, ftype, fid) = iprot.readFieldBegin()
24550
      if ftype == TType.STOP:
24551
        break
24552
      if fid == 1:
24553
        if ftype == TType.STRING:
24554
          self.listingId = iprot.readString();
24555
        else:
24556
          iprot.skip(ftype)
24557
      else:
24558
        iprot.skip(ftype)
24559
      iprot.readFieldEnd()
24560
    iprot.readStructEnd()
24561
 
24562
  def write(self, oprot):
24563
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24564
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24565
      return
24566
    oprot.writeStructBegin('getEbayItem_args')
24567
    if self.listingId is not None:
24568
      oprot.writeFieldBegin('listingId', TType.STRING, 1)
24569
      oprot.writeString(self.listingId)
24570
      oprot.writeFieldEnd()
24571
    oprot.writeFieldStop()
24572
    oprot.writeStructEnd()
24573
 
24574
  def validate(self):
24575
    return
24576
 
24577
 
24578
  def __repr__(self):
24579
    L = ['%s=%r' % (key, value)
24580
      for key, value in self.__dict__.iteritems()]
24581
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24582
 
24583
  def __eq__(self, other):
24584
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24585
 
24586
  def __ne__(self, other):
24587
    return not (self == other)
24588
 
24589
class getEbayItem_result:
24590
  """
24591
  Attributes:
24592
   - success
24593
  """
24594
 
24595
  thrift_spec = (
24596
    (0, TType.STRUCT, 'success', (EbayItem, EbayItem.thrift_spec), None, ), # 0
24597
  )
24598
 
24599
  def __init__(self, success=None,):
24600
    self.success = success
24601
 
24602
  def read(self, iprot):
24603
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24604
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24605
      return
24606
    iprot.readStructBegin()
24607
    while True:
24608
      (fname, ftype, fid) = iprot.readFieldBegin()
24609
      if ftype == TType.STOP:
24610
        break
24611
      if fid == 0:
24612
        if ftype == TType.STRUCT:
24613
          self.success = EbayItem()
24614
          self.success.read(iprot)
24615
        else:
24616
          iprot.skip(ftype)
24617
      else:
24618
        iprot.skip(ftype)
24619
      iprot.readFieldEnd()
24620
    iprot.readStructEnd()
24621
 
24622
  def write(self, oprot):
24623
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24624
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24625
      return
24626
    oprot.writeStructBegin('getEbayItem_result')
24627
    if self.success is not None:
24628
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
24629
      self.success.write(oprot)
24630
      oprot.writeFieldEnd()
24631
    oprot.writeFieldStop()
24632
    oprot.writeStructEnd()
24633
 
24634
  def validate(self):
24635
    return
24636
 
24637
 
24638
  def __repr__(self):
24639
    L = ['%s=%r' % (key, value)
24640
      for key, value in self.__dict__.iteritems()]
24641
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24642
 
24643
  def __eq__(self, other):
24644
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24645
 
24646
  def __ne__(self, other):
24647
    return not (self == other)
24648
 
24649
class updateEbayItem_args:
24650
  """
24651
  Attributes:
24652
   - ebayItem
24653
  """
24654
 
24655
  thrift_spec = (
24656
    None, # 0
24657
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
24658
  )
24659
 
24660
  def __init__(self, ebayItem=None,):
24661
    self.ebayItem = ebayItem
24662
 
24663
  def read(self, iprot):
24664
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24665
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24666
      return
24667
    iprot.readStructBegin()
24668
    while True:
24669
      (fname, ftype, fid) = iprot.readFieldBegin()
24670
      if ftype == TType.STOP:
24671
        break
24672
      if fid == 1:
24673
        if ftype == TType.STRUCT:
24674
          self.ebayItem = EbayItem()
24675
          self.ebayItem.read(iprot)
24676
        else:
24677
          iprot.skip(ftype)
24678
      else:
24679
        iprot.skip(ftype)
24680
      iprot.readFieldEnd()
24681
    iprot.readStructEnd()
24682
 
24683
  def write(self, oprot):
24684
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24685
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24686
      return
24687
    oprot.writeStructBegin('updateEbayItem_args')
24688
    if self.ebayItem is not None:
24689
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
24690
      self.ebayItem.write(oprot)
24691
      oprot.writeFieldEnd()
24692
    oprot.writeFieldStop()
24693
    oprot.writeStructEnd()
24694
 
24695
  def validate(self):
24696
    return
24697
 
24698
 
24699
  def __repr__(self):
24700
    L = ['%s=%r' % (key, value)
24701
      for key, value in self.__dict__.iteritems()]
24702
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24703
 
24704
  def __eq__(self, other):
24705
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24706
 
24707
  def __ne__(self, other):
24708
    return not (self == other)
24709
 
24710
class updateEbayItem_result:
24711
 
24712
  thrift_spec = (
24713
  )
24714
 
24715
  def read(self, iprot):
24716
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24717
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24718
      return
24719
    iprot.readStructBegin()
24720
    while True:
24721
      (fname, ftype, fid) = iprot.readFieldBegin()
24722
      if ftype == TType.STOP:
24723
        break
24724
      else:
24725
        iprot.skip(ftype)
24726
      iprot.readFieldEnd()
24727
    iprot.readStructEnd()
24728
 
24729
  def write(self, oprot):
24730
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24731
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24732
      return
24733
    oprot.writeStructBegin('updateEbayItem_result')
24734
    oprot.writeFieldStop()
24735
    oprot.writeStructEnd()
24736
 
24737
  def validate(self):
24738
    return
24739
 
24740
 
24741
  def __repr__(self):
24742
    L = ['%s=%r' % (key, value)
24743
      for key, value in self.__dict__.iteritems()]
24744
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24745
 
24746
  def __eq__(self, other):
24747
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24748
 
24749
  def __ne__(self, other):
24750
    return not (self == other)
24751
 
8139 kshitij.so 24752
class getAmazonListedItems_args:
24753
  """
24754
  Attributes:
24755
   - offset
24756
   - limit
24757
  """
24758
 
24759
  thrift_spec = (
24760
    None, # 0
24761
    (1, TType.I64, 'offset', None, None, ), # 1
24762
    (2, TType.I64, 'limit', None, None, ), # 2
24763
  )
24764
 
24765
  def __init__(self, offset=None, limit=None,):
24766
    self.offset = offset
24767
    self.limit = limit
24768
 
24769
  def read(self, iprot):
24770
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24771
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24772
      return
24773
    iprot.readStructBegin()
24774
    while True:
24775
      (fname, ftype, fid) = iprot.readFieldBegin()
24776
      if ftype == TType.STOP:
24777
        break
24778
      if fid == 1:
24779
        if ftype == TType.I64:
24780
          self.offset = iprot.readI64();
24781
        else:
24782
          iprot.skip(ftype)
24783
      elif fid == 2:
24784
        if ftype == TType.I64:
24785
          self.limit = iprot.readI64();
24786
        else:
24787
          iprot.skip(ftype)
24788
      else:
24789
        iprot.skip(ftype)
24790
      iprot.readFieldEnd()
24791
    iprot.readStructEnd()
24792
 
24793
  def write(self, oprot):
24794
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24795
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24796
      return
24797
    oprot.writeStructBegin('getAmazonListedItems_args')
24798
    if self.offset is not None:
24799
      oprot.writeFieldBegin('offset', TType.I64, 1)
24800
      oprot.writeI64(self.offset)
24801
      oprot.writeFieldEnd()
24802
    if self.limit is not None:
24803
      oprot.writeFieldBegin('limit', TType.I64, 2)
24804
      oprot.writeI64(self.limit)
24805
      oprot.writeFieldEnd()
24806
    oprot.writeFieldStop()
24807
    oprot.writeStructEnd()
24808
 
24809
  def validate(self):
24810
    return
24811
 
24812
 
24813
  def __repr__(self):
24814
    L = ['%s=%r' % (key, value)
24815
      for key, value in self.__dict__.iteritems()]
24816
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24817
 
24818
  def __eq__(self, other):
24819
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24820
 
24821
  def __ne__(self, other):
24822
    return not (self == other)
24823
 
24824
class getAmazonListedItems_result:
24825
  """
24826
  Attributes:
24827
   - success
24828
  """
24829
 
24830
  thrift_spec = (
24831
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
24832
  )
24833
 
24834
  def __init__(self, success=None,):
24835
    self.success = success
24836
 
24837
  def read(self, iprot):
24838
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24839
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24840
      return
24841
    iprot.readStructBegin()
24842
    while True:
24843
      (fname, ftype, fid) = iprot.readFieldBegin()
24844
      if ftype == TType.STOP:
24845
        break
24846
      if fid == 0:
24847
        if ftype == TType.LIST:
24848
          self.success = []
13493 amit.gupta 24849
          (_etype502, _size499) = iprot.readListBegin()
24850
          for _i503 in xrange(_size499):
24851
            _elem504 = Amazonlisted()
24852
            _elem504.read(iprot)
24853
            self.success.append(_elem504)
8139 kshitij.so 24854
          iprot.readListEnd()
24855
        else:
24856
          iprot.skip(ftype)
24857
      else:
24858
        iprot.skip(ftype)
24859
      iprot.readFieldEnd()
24860
    iprot.readStructEnd()
24861
 
24862
  def write(self, oprot):
24863
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24864
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24865
      return
24866
    oprot.writeStructBegin('getAmazonListedItems_result')
24867
    if self.success is not None:
24868
      oprot.writeFieldBegin('success', TType.LIST, 0)
24869
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 24870
      for iter505 in self.success:
24871
        iter505.write(oprot)
8139 kshitij.so 24872
      oprot.writeListEnd()
24873
      oprot.writeFieldEnd()
24874
    oprot.writeFieldStop()
24875
    oprot.writeStructEnd()
24876
 
24877
  def validate(self):
24878
    return
24879
 
24880
 
24881
  def __repr__(self):
24882
    L = ['%s=%r' % (key, value)
24883
      for key, value in self.__dict__.iteritems()]
24884
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24885
 
24886
  def __eq__(self, other):
24887
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24888
 
24889
  def __ne__(self, other):
24890
    return not (self == other)
8168 kshitij.so 24891
 
24892
class updateAmazonAttributesInBulk_args:
24893
  """
24894
  Attributes:
24895
   - amazonlisted
24896
  """
24897
 
24898
  thrift_spec = (
24899
    None, # 0
24900
    (1, TType.MAP, 'amazonlisted', (TType.I64,None,TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 1
24901
  )
24902
 
24903
  def __init__(self, amazonlisted=None,):
24904
    self.amazonlisted = amazonlisted
24905
 
24906
  def read(self, iprot):
24907
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24908
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24909
      return
24910
    iprot.readStructBegin()
24911
    while True:
24912
      (fname, ftype, fid) = iprot.readFieldBegin()
24913
      if ftype == TType.STOP:
24914
        break
24915
      if fid == 1:
24916
        if ftype == TType.MAP:
24917
          self.amazonlisted = {}
13493 amit.gupta 24918
          (_ktype507, _vtype508, _size506 ) = iprot.readMapBegin() 
24919
          for _i510 in xrange(_size506):
24920
            _key511 = iprot.readI64();
24921
            _val512 = Amazonlisted()
24922
            _val512.read(iprot)
24923
            self.amazonlisted[_key511] = _val512
8168 kshitij.so 24924
          iprot.readMapEnd()
24925
        else:
24926
          iprot.skip(ftype)
24927
      else:
24928
        iprot.skip(ftype)
24929
      iprot.readFieldEnd()
24930
    iprot.readStructEnd()
24931
 
24932
  def write(self, oprot):
24933
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24934
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24935
      return
24936
    oprot.writeStructBegin('updateAmazonAttributesInBulk_args')
24937
    if self.amazonlisted is not None:
24938
      oprot.writeFieldBegin('amazonlisted', TType.MAP, 1)
24939
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.amazonlisted))
13493 amit.gupta 24940
      for kiter513,viter514 in self.amazonlisted.items():
24941
        oprot.writeI64(kiter513)
24942
        viter514.write(oprot)
8168 kshitij.so 24943
      oprot.writeMapEnd()
24944
      oprot.writeFieldEnd()
24945
    oprot.writeFieldStop()
24946
    oprot.writeStructEnd()
24947
 
24948
  def validate(self):
24949
    return
24950
 
24951
 
24952
  def __repr__(self):
24953
    L = ['%s=%r' % (key, value)
24954
      for key, value in self.__dict__.iteritems()]
24955
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24956
 
24957
  def __eq__(self, other):
24958
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24959
 
24960
  def __ne__(self, other):
24961
    return not (self == other)
24962
 
24963
class updateAmazonAttributesInBulk_result:
24964
  """
24965
  Attributes:
24966
   - success
24967
  """
24968
 
24969
  thrift_spec = (
24970
    (0, TType.BOOL, 'success', None, None, ), # 0
24971
  )
24972
 
24973
  def __init__(self, success=None,):
24974
    self.success = success
24975
 
24976
  def read(self, iprot):
24977
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24978
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24979
      return
24980
    iprot.readStructBegin()
24981
    while True:
24982
      (fname, ftype, fid) = iprot.readFieldBegin()
24983
      if ftype == TType.STOP:
24984
        break
24985
      if fid == 0:
24986
        if ftype == TType.BOOL:
24987
          self.success = iprot.readBool();
24988
        else:
24989
          iprot.skip(ftype)
24990
      else:
24991
        iprot.skip(ftype)
24992
      iprot.readFieldEnd()
24993
    iprot.readStructEnd()
24994
 
24995
  def write(self, oprot):
24996
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24997
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24998
      return
24999
    oprot.writeStructBegin('updateAmazonAttributesInBulk_result')
25000
    if self.success is not None:
25001
      oprot.writeFieldBegin('success', TType.BOOL, 0)
25002
      oprot.writeBool(self.success)
25003
      oprot.writeFieldEnd()
25004
    oprot.writeFieldStop()
25005
    oprot.writeStructEnd()
25006
 
25007
  def validate(self):
25008
    return
25009
 
25010
 
25011
  def __repr__(self):
25012
    L = ['%s=%r' % (key, value)
25013
      for key, value in self.__dict__.iteritems()]
25014
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25015
 
25016
  def __eq__(self, other):
25017
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25018
 
25019
  def __ne__(self, other):
25020
    return not (self == other)
8379 vikram.rag 25021
 
25022
class getAllItemstoListOnFba_args:
25023
 
25024
  thrift_spec = (
25025
  )
25026
 
25027
  def read(self, iprot):
25028
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25029
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25030
      return
25031
    iprot.readStructBegin()
25032
    while True:
25033
      (fname, ftype, fid) = iprot.readFieldBegin()
25034
      if ftype == TType.STOP:
25035
        break
25036
      else:
25037
        iprot.skip(ftype)
25038
      iprot.readFieldEnd()
25039
    iprot.readStructEnd()
25040
 
25041
  def write(self, oprot):
25042
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25043
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25044
      return
25045
    oprot.writeStructBegin('getAllItemstoListOnFba_args')
25046
    oprot.writeFieldStop()
25047
    oprot.writeStructEnd()
25048
 
25049
  def validate(self):
25050
    return
25051
 
25052
 
25053
  def __repr__(self):
25054
    L = ['%s=%r' % (key, value)
25055
      for key, value in self.__dict__.iteritems()]
25056
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25057
 
25058
  def __eq__(self, other):
25059
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25060
 
25061
  def __ne__(self, other):
25062
    return not (self == other)
25063
 
25064
class getAllItemstoListOnFba_result:
25065
  """
25066
  Attributes:
25067
   - success
25068
  """
25069
 
25070
  thrift_spec = (
25071
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25072
  )
25073
 
25074
  def __init__(self, success=None,):
25075
    self.success = success
25076
 
25077
  def read(self, iprot):
25078
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25079
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25080
      return
25081
    iprot.readStructBegin()
25082
    while True:
25083
      (fname, ftype, fid) = iprot.readFieldBegin()
25084
      if ftype == TType.STOP:
25085
        break
25086
      if fid == 0:
25087
        if ftype == TType.LIST:
25088
          self.success = []
13493 amit.gupta 25089
          (_etype518, _size515) = iprot.readListBegin()
25090
          for _i519 in xrange(_size515):
25091
            _elem520 = Amazonlisted()
25092
            _elem520.read(iprot)
25093
            self.success.append(_elem520)
8379 vikram.rag 25094
          iprot.readListEnd()
25095
        else:
25096
          iprot.skip(ftype)
25097
      else:
25098
        iprot.skip(ftype)
25099
      iprot.readFieldEnd()
25100
    iprot.readStructEnd()
25101
 
25102
  def write(self, oprot):
25103
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25104
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25105
      return
25106
    oprot.writeStructBegin('getAllItemstoListOnFba_result')
25107
    if self.success is not None:
25108
      oprot.writeFieldBegin('success', TType.LIST, 0)
25109
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25110
      for iter521 in self.success:
25111
        iter521.write(oprot)
8379 vikram.rag 25112
      oprot.writeListEnd()
25113
      oprot.writeFieldEnd()
25114
    oprot.writeFieldStop()
25115
    oprot.writeStructEnd()
25116
 
25117
  def validate(self):
25118
    return
25119
 
25120
 
25121
  def __repr__(self):
25122
    L = ['%s=%r' % (key, value)
25123
      for key, value in self.__dict__.iteritems()]
25124
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25125
 
25126
  def __eq__(self, other):
25127
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25128
 
25129
  def __ne__(self, other):
25130
    return not (self == other)
25131
 
25132
class getAllItemstoListOnNonFba_args:
25133
 
25134
  thrift_spec = (
25135
  )
25136
 
25137
  def read(self, iprot):
25138
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25139
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25140
      return
25141
    iprot.readStructBegin()
25142
    while True:
25143
      (fname, ftype, fid) = iprot.readFieldBegin()
25144
      if ftype == TType.STOP:
25145
        break
25146
      else:
25147
        iprot.skip(ftype)
25148
      iprot.readFieldEnd()
25149
    iprot.readStructEnd()
25150
 
25151
  def write(self, oprot):
25152
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25153
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25154
      return
25155
    oprot.writeStructBegin('getAllItemstoListOnNonFba_args')
25156
    oprot.writeFieldStop()
25157
    oprot.writeStructEnd()
25158
 
25159
  def validate(self):
25160
    return
25161
 
25162
 
25163
  def __repr__(self):
25164
    L = ['%s=%r' % (key, value)
25165
      for key, value in self.__dict__.iteritems()]
25166
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25167
 
25168
  def __eq__(self, other):
25169
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25170
 
25171
  def __ne__(self, other):
25172
    return not (self == other)
25173
 
25174
class getAllItemstoListOnNonFba_result:
25175
  """
25176
  Attributes:
25177
   - success
25178
  """
25179
 
25180
  thrift_spec = (
25181
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25182
  )
25183
 
25184
  def __init__(self, success=None,):
25185
    self.success = success
25186
 
25187
  def read(self, iprot):
25188
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25189
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25190
      return
25191
    iprot.readStructBegin()
25192
    while True:
25193
      (fname, ftype, fid) = iprot.readFieldBegin()
25194
      if ftype == TType.STOP:
25195
        break
25196
      if fid == 0:
25197
        if ftype == TType.LIST:
25198
          self.success = []
13493 amit.gupta 25199
          (_etype525, _size522) = iprot.readListBegin()
25200
          for _i526 in xrange(_size522):
25201
            _elem527 = Amazonlisted()
25202
            _elem527.read(iprot)
25203
            self.success.append(_elem527)
8379 vikram.rag 25204
          iprot.readListEnd()
25205
        else:
25206
          iprot.skip(ftype)
25207
      else:
25208
        iprot.skip(ftype)
25209
      iprot.readFieldEnd()
25210
    iprot.readStructEnd()
25211
 
25212
  def write(self, oprot):
25213
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25214
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25215
      return
25216
    oprot.writeStructBegin('getAllItemstoListOnNonFba_result')
25217
    if self.success is not None:
25218
      oprot.writeFieldBegin('success', TType.LIST, 0)
25219
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25220
      for iter528 in self.success:
25221
        iter528.write(oprot)
8379 vikram.rag 25222
      oprot.writeListEnd()
25223
      oprot.writeFieldEnd()
25224
    oprot.writeFieldStop()
25225
    oprot.writeStructEnd()
25226
 
25227
  def validate(self):
25228
    return
25229
 
25230
 
25231
  def __repr__(self):
25232
    L = ['%s=%r' % (key, value)
25233
      for key, value in self.__dict__.iteritems()]
25234
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25235
 
25236
  def __eq__(self, other):
25237
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25238
 
25239
  def __ne__(self, other):
25240
    return not (self == other)
8616 vikram.rag 25241
 
9242 kshitij.so 25242
class updateAsin_args:
25243
  """
25244
  Attributes:
25245
   - item
25246
  """
8616 vikram.rag 25247
 
25248
  thrift_spec = (
9242 kshitij.so 25249
    None, # 0
25250
    (1, TType.MAP, 'item', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 1
8616 vikram.rag 25251
  )
25252
 
9242 kshitij.so 25253
  def __init__(self, item=None,):
25254
    self.item = item
25255
 
8616 vikram.rag 25256
  def read(self, iprot):
25257
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25258
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25259
      return
25260
    iprot.readStructBegin()
25261
    while True:
25262
      (fname, ftype, fid) = iprot.readFieldBegin()
25263
      if ftype == TType.STOP:
25264
        break
9242 kshitij.so 25265
      if fid == 1:
25266
        if ftype == TType.MAP:
25267
          self.item = {}
13493 amit.gupta 25268
          (_ktype530, _vtype531, _size529 ) = iprot.readMapBegin() 
25269
          for _i533 in xrange(_size529):
25270
            _key534 = iprot.readI64();
25271
            _val535 = Item()
25272
            _val535.read(iprot)
25273
            self.item[_key534] = _val535
9242 kshitij.so 25274
          iprot.readMapEnd()
25275
        else:
25276
          iprot.skip(ftype)
8616 vikram.rag 25277
      else:
25278
        iprot.skip(ftype)
25279
      iprot.readFieldEnd()
25280
    iprot.readStructEnd()
25281
 
25282
  def write(self, oprot):
25283
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25284
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25285
      return
9242 kshitij.so 25286
    oprot.writeStructBegin('updateAsin_args')
25287
    if self.item is not None:
25288
      oprot.writeFieldBegin('item', TType.MAP, 1)
25289
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.item))
13493 amit.gupta 25290
      for kiter536,viter537 in self.item.items():
25291
        oprot.writeI64(kiter536)
25292
        viter537.write(oprot)
9242 kshitij.so 25293
      oprot.writeMapEnd()
25294
      oprot.writeFieldEnd()
8616 vikram.rag 25295
    oprot.writeFieldStop()
25296
    oprot.writeStructEnd()
25297
 
25298
  def validate(self):
25299
    return
25300
 
25301
 
25302
  def __repr__(self):
25303
    L = ['%s=%r' % (key, value)
25304
      for key, value in self.__dict__.iteritems()]
25305
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25306
 
25307
  def __eq__(self, other):
25308
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25309
 
25310
  def __ne__(self, other):
25311
    return not (self == other)
25312
 
9242 kshitij.so 25313
class updateAsin_result:
8616 vikram.rag 25314
 
25315
  thrift_spec = (
25316
  )
25317
 
25318
  def read(self, iprot):
25319
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25320
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25321
      return
25322
    iprot.readStructBegin()
25323
    while True:
25324
      (fname, ftype, fid) = iprot.readFieldBegin()
25325
      if ftype == TType.STOP:
25326
        break
25327
      else:
25328
        iprot.skip(ftype)
25329
      iprot.readFieldEnd()
25330
    iprot.readStructEnd()
25331
 
25332
  def write(self, oprot):
25333
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25334
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25335
      return
9242 kshitij.so 25336
    oprot.writeStructBegin('updateAsin_result')
8616 vikram.rag 25337
    oprot.writeFieldStop()
25338
    oprot.writeStructEnd()
25339
 
25340
  def validate(self):
25341
    return
25342
 
25343
 
25344
  def __repr__(self):
25345
    L = ['%s=%r' % (key, value)
25346
      for key, value in self.__dict__.iteritems()]
25347
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25348
 
25349
  def __eq__(self, other):
25350
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25351
 
25352
  def __ne__(self, other):
25353
    return not (self == other)
8619 kshitij.so 25354
 
9242 kshitij.so 25355
class addOrUpdateSnapdealItem_args:
8619 kshitij.so 25356
  """
25357
  Attributes:
9242 kshitij.so 25358
   - snapdealitem
8619 kshitij.so 25359
  """
25360
 
9242 kshitij.so 25361
  thrift_spec = None
25362
  def __init__(self, snapdealitem=None,):
25363
    self.snapdealitem = snapdealitem
8619 kshitij.so 25364
 
25365
  def read(self, iprot):
25366
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25367
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25368
      return
25369
    iprot.readStructBegin()
25370
    while True:
25371
      (fname, ftype, fid) = iprot.readFieldBegin()
25372
      if ftype == TType.STOP:
25373
        break
9242 kshitij.so 25374
      if fid == -1:
25375
        if ftype == TType.STRUCT:
25376
          self.snapdealitem = SnapdealItem()
25377
          self.snapdealitem.read(iprot)
8619 kshitij.so 25378
        else:
25379
          iprot.skip(ftype)
25380
      else:
25381
        iprot.skip(ftype)
25382
      iprot.readFieldEnd()
25383
    iprot.readStructEnd()
25384
 
25385
  def write(self, oprot):
25386
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25387
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25388
      return
9242 kshitij.so 25389
    oprot.writeStructBegin('addOrUpdateSnapdealItem_args')
25390
    if self.snapdealitem is not None:
25391
      oprot.writeFieldBegin('snapdealitem', TType.STRUCT, -1)
25392
      self.snapdealitem.write(oprot)
8619 kshitij.so 25393
      oprot.writeFieldEnd()
25394
    oprot.writeFieldStop()
25395
    oprot.writeStructEnd()
25396
 
25397
  def validate(self):
25398
    return
25399
 
25400
 
25401
  def __repr__(self):
25402
    L = ['%s=%r' % (key, value)
25403
      for key, value in self.__dict__.iteritems()]
25404
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25405
 
25406
  def __eq__(self, other):
25407
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25408
 
25409
  def __ne__(self, other):
25410
    return not (self == other)
25411
 
9242 kshitij.so 25412
class addOrUpdateSnapdealItem_result:
25413
  """
25414
  Attributes:
25415
   - success
25416
  """
8619 kshitij.so 25417
 
25418
  thrift_spec = (
9242 kshitij.so 25419
    (0, TType.BOOL, 'success', None, None, ), # 0
8619 kshitij.so 25420
  )
25421
 
9242 kshitij.so 25422
  def __init__(self, success=None,):
25423
    self.success = success
25424
 
8619 kshitij.so 25425
  def read(self, iprot):
25426
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25427
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25428
      return
25429
    iprot.readStructBegin()
25430
    while True:
25431
      (fname, ftype, fid) = iprot.readFieldBegin()
25432
      if ftype == TType.STOP:
25433
        break
9242 kshitij.so 25434
      if fid == 0:
25435
        if ftype == TType.BOOL:
25436
          self.success = iprot.readBool();
25437
        else:
25438
          iprot.skip(ftype)
8619 kshitij.so 25439
      else:
25440
        iprot.skip(ftype)
25441
      iprot.readFieldEnd()
25442
    iprot.readStructEnd()
25443
 
25444
  def write(self, oprot):
25445
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25446
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25447
      return
9242 kshitij.so 25448
    oprot.writeStructBegin('addOrUpdateSnapdealItem_result')
25449
    if self.success is not None:
25450
      oprot.writeFieldBegin('success', TType.BOOL, 0)
25451
      oprot.writeBool(self.success)
25452
      oprot.writeFieldEnd()
8619 kshitij.so 25453
    oprot.writeFieldStop()
25454
    oprot.writeStructEnd()
25455
 
25456
  def validate(self):
25457
    return
25458
 
25459
 
25460
  def __repr__(self):
25461
    L = ['%s=%r' % (key, value)
25462
      for key, value in self.__dict__.iteritems()]
25463
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25464
 
25465
  def __eq__(self, other):
25466
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25467
 
25468
  def __ne__(self, other):
25469
    return not (self == other)
8739 vikram.rag 25470
 
9242 kshitij.so 25471
class getSnapdealItem_args:
8739 vikram.rag 25472
  """
25473
  Attributes:
9242 kshitij.so 25474
   - item_id
8739 vikram.rag 25475
  """
25476
 
9242 kshitij.so 25477
  thrift_spec = (
25478
    None, # 0
25479
    (1, TType.I64, 'item_id', None, None, ), # 1
25480
  )
8739 vikram.rag 25481
 
9242 kshitij.so 25482
  def __init__(self, item_id=None,):
25483
    self.item_id = item_id
25484
 
8739 vikram.rag 25485
  def read(self, iprot):
25486
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25487
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25488
      return
25489
    iprot.readStructBegin()
25490
    while True:
25491
      (fname, ftype, fid) = iprot.readFieldBegin()
25492
      if ftype == TType.STOP:
25493
        break
9242 kshitij.so 25494
      if fid == 1:
25495
        if ftype == TType.I64:
25496
          self.item_id = iprot.readI64();
8739 vikram.rag 25497
        else:
25498
          iprot.skip(ftype)
25499
      else:
25500
        iprot.skip(ftype)
25501
      iprot.readFieldEnd()
25502
    iprot.readStructEnd()
25503
 
25504
  def write(self, oprot):
25505
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25506
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25507
      return
9242 kshitij.so 25508
    oprot.writeStructBegin('getSnapdealItem_args')
25509
    if self.item_id is not None:
25510
      oprot.writeFieldBegin('item_id', TType.I64, 1)
25511
      oprot.writeI64(self.item_id)
8739 vikram.rag 25512
      oprot.writeFieldEnd()
25513
    oprot.writeFieldStop()
25514
    oprot.writeStructEnd()
25515
 
25516
  def validate(self):
25517
    return
25518
 
25519
 
25520
  def __repr__(self):
25521
    L = ['%s=%r' % (key, value)
25522
      for key, value in self.__dict__.iteritems()]
25523
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25524
 
25525
  def __eq__(self, other):
25526
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25527
 
25528
  def __ne__(self, other):
25529
    return not (self == other)
25530
 
9242 kshitij.so 25531
class getSnapdealItem_result:
8739 vikram.rag 25532
  """
25533
  Attributes:
25534
   - success
25535
  """
25536
 
25537
  thrift_spec = (
9242 kshitij.so 25538
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
8739 vikram.rag 25539
  )
25540
 
25541
  def __init__(self, success=None,):
25542
    self.success = success
25543
 
25544
  def read(self, iprot):
25545
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25546
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25547
      return
25548
    iprot.readStructBegin()
25549
    while True:
25550
      (fname, ftype, fid) = iprot.readFieldBegin()
25551
      if ftype == TType.STOP:
25552
        break
25553
      if fid == 0:
9242 kshitij.so 25554
        if ftype == TType.STRUCT:
25555
          self.success = SnapdealItem()
25556
          self.success.read(iprot)
8739 vikram.rag 25557
        else:
25558
          iprot.skip(ftype)
25559
      else:
25560
        iprot.skip(ftype)
25561
      iprot.readFieldEnd()
25562
    iprot.readStructEnd()
25563
 
25564
  def write(self, oprot):
25565
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25566
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25567
      return
9242 kshitij.so 25568
    oprot.writeStructBegin('getSnapdealItem_result')
8739 vikram.rag 25569
    if self.success is not None:
9242 kshitij.so 25570
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25571
      self.success.write(oprot)
8739 vikram.rag 25572
      oprot.writeFieldEnd()
25573
    oprot.writeFieldStop()
25574
    oprot.writeStructEnd()
25575
 
25576
  def validate(self):
25577
    return
25578
 
25579
 
25580
  def __repr__(self):
25581
    L = ['%s=%r' % (key, value)
25582
      for key, value in self.__dict__.iteritems()]
25583
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25584
 
25585
  def __eq__(self, other):
25586
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25587
 
25588
  def __ne__(self, other):
25589
    return not (self == other)
25590
 
9242 kshitij.so 25591
class getSnapdealItemDetails_args:
8739 vikram.rag 25592
  """
25593
  Attributes:
25594
   - item_id
25595
  """
25596
 
25597
  thrift_spec = (
25598
    None, # 0
25599
    (1, TType.I64, 'item_id', None, None, ), # 1
25600
  )
25601
 
25602
  def __init__(self, item_id=None,):
25603
    self.item_id = item_id
25604
 
25605
  def read(self, iprot):
25606
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25607
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25608
      return
25609
    iprot.readStructBegin()
25610
    while True:
25611
      (fname, ftype, fid) = iprot.readFieldBegin()
25612
      if ftype == TType.STOP:
25613
        break
25614
      if fid == 1:
25615
        if ftype == TType.I64:
25616
          self.item_id = iprot.readI64();
25617
        else:
25618
          iprot.skip(ftype)
25619
      else:
25620
        iprot.skip(ftype)
25621
      iprot.readFieldEnd()
25622
    iprot.readStructEnd()
25623
 
25624
  def write(self, oprot):
25625
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25626
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25627
      return
9242 kshitij.so 25628
    oprot.writeStructBegin('getSnapdealItemDetails_args')
8739 vikram.rag 25629
    if self.item_id is not None:
25630
      oprot.writeFieldBegin('item_id', TType.I64, 1)
25631
      oprot.writeI64(self.item_id)
25632
      oprot.writeFieldEnd()
25633
    oprot.writeFieldStop()
25634
    oprot.writeStructEnd()
25635
 
25636
  def validate(self):
25637
    return
25638
 
25639
 
25640
  def __repr__(self):
25641
    L = ['%s=%r' % (key, value)
25642
      for key, value in self.__dict__.iteritems()]
25643
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25644
 
25645
  def __eq__(self, other):
25646
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25647
 
25648
  def __ne__(self, other):
25649
    return not (self == other)
25650
 
9242 kshitij.so 25651
class getSnapdealItemDetails_result:
8739 vikram.rag 25652
  """
25653
  Attributes:
25654
   - success
25655
  """
25656
 
25657
  thrift_spec = (
9242 kshitij.so 25658
    (0, TType.STRUCT, 'success', (SnapdealItemDetails, SnapdealItemDetails.thrift_spec), None, ), # 0
8739 vikram.rag 25659
  )
25660
 
25661
  def __init__(self, success=None,):
25662
    self.success = success
25663
 
25664
  def read(self, iprot):
25665
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25666
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25667
      return
25668
    iprot.readStructBegin()
25669
    while True:
25670
      (fname, ftype, fid) = iprot.readFieldBegin()
25671
      if ftype == TType.STOP:
25672
        break
25673
      if fid == 0:
25674
        if ftype == TType.STRUCT:
9242 kshitij.so 25675
          self.success = SnapdealItemDetails()
8739 vikram.rag 25676
          self.success.read(iprot)
25677
        else:
25678
          iprot.skip(ftype)
25679
      else:
25680
        iprot.skip(ftype)
25681
      iprot.readFieldEnd()
25682
    iprot.readStructEnd()
25683
 
25684
  def write(self, oprot):
25685
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25686
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25687
      return
9242 kshitij.so 25688
    oprot.writeStructBegin('getSnapdealItemDetails_result')
8739 vikram.rag 25689
    if self.success is not None:
25690
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25691
      self.success.write(oprot)
25692
      oprot.writeFieldEnd()
25693
    oprot.writeFieldStop()
25694
    oprot.writeStructEnd()
25695
 
25696
  def validate(self):
25697
    return
25698
 
25699
 
25700
  def __repr__(self):
25701
    L = ['%s=%r' % (key, value)
25702
      for key, value in self.__dict__.iteritems()]
25703
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25704
 
25705
  def __eq__(self, other):
25706
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25707
 
25708
  def __ne__(self, other):
25709
    return not (self == other)
25710
 
25711
class getAllSnapdealItems_args:
25712
 
25713
  thrift_spec = (
25714
  )
25715
 
25716
  def read(self, iprot):
25717
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25718
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25719
      return
25720
    iprot.readStructBegin()
25721
    while True:
25722
      (fname, ftype, fid) = iprot.readFieldBegin()
25723
      if ftype == TType.STOP:
25724
        break
25725
      else:
25726
        iprot.skip(ftype)
25727
      iprot.readFieldEnd()
25728
    iprot.readStructEnd()
25729
 
25730
  def write(self, oprot):
25731
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25732
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25733
      return
25734
    oprot.writeStructBegin('getAllSnapdealItems_args')
25735
    oprot.writeFieldStop()
25736
    oprot.writeStructEnd()
25737
 
25738
  def validate(self):
25739
    return
25740
 
25741
 
25742
  def __repr__(self):
25743
    L = ['%s=%r' % (key, value)
25744
      for key, value in self.__dict__.iteritems()]
25745
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25746
 
25747
  def __eq__(self, other):
25748
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25749
 
25750
  def __ne__(self, other):
25751
    return not (self == other)
25752
 
25753
class getAllSnapdealItems_result:
25754
  """
25755
  Attributes:
25756
   - success
25757
  """
25758
 
25759
  thrift_spec = (
9242 kshitij.so 25760
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
8739 vikram.rag 25761
  )
25762
 
25763
  def __init__(self, success=None,):
25764
    self.success = success
25765
 
25766
  def read(self, iprot):
25767
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25768
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25769
      return
25770
    iprot.readStructBegin()
25771
    while True:
25772
      (fname, ftype, fid) = iprot.readFieldBegin()
25773
      if ftype == TType.STOP:
25774
        break
25775
      if fid == 0:
25776
        if ftype == TType.LIST:
25777
          self.success = []
13493 amit.gupta 25778
          (_etype541, _size538) = iprot.readListBegin()
25779
          for _i542 in xrange(_size538):
25780
            _elem543 = SnapdealItemDetails()
25781
            _elem543.read(iprot)
25782
            self.success.append(_elem543)
9242 kshitij.so 25783
          iprot.readListEnd()
25784
        else:
25785
          iprot.skip(ftype)
25786
      else:
25787
        iprot.skip(ftype)
25788
      iprot.readFieldEnd()
25789
    iprot.readStructEnd()
25790
 
25791
  def write(self, oprot):
25792
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25793
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25794
      return
25795
    oprot.writeStructBegin('getAllSnapdealItems_result')
25796
    if self.success is not None:
25797
      oprot.writeFieldBegin('success', TType.LIST, 0)
25798
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25799
      for iter544 in self.success:
25800
        iter544.write(oprot)
9242 kshitij.so 25801
      oprot.writeListEnd()
25802
      oprot.writeFieldEnd()
25803
    oprot.writeFieldStop()
25804
    oprot.writeStructEnd()
25805
 
25806
  def validate(self):
25807
    return
25808
 
25809
 
25810
  def __repr__(self):
25811
    L = ['%s=%r' % (key, value)
25812
      for key, value in self.__dict__.iteritems()]
25813
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25814
 
25815
  def __eq__(self, other):
25816
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25817
 
25818
  def __ne__(self, other):
25819
    return not (self == other)
25820
 
25821
class getSnapdealItems_args:
25822
  """
25823
  Attributes:
25824
   - offset
25825
   - limit
25826
  """
25827
 
25828
  thrift_spec = (
25829
    None, # 0
25830
    (1, TType.I64, 'offset', None, None, ), # 1
25831
    (2, TType.I64, 'limit', None, None, ), # 2
25832
  )
25833
 
25834
  def __init__(self, offset=None, limit=None,):
25835
    self.offset = offset
25836
    self.limit = limit
25837
 
25838
  def read(self, iprot):
25839
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25840
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25841
      return
25842
    iprot.readStructBegin()
25843
    while True:
25844
      (fname, ftype, fid) = iprot.readFieldBegin()
25845
      if ftype == TType.STOP:
25846
        break
25847
      if fid == 1:
25848
        if ftype == TType.I64:
25849
          self.offset = iprot.readI64();
25850
        else:
25851
          iprot.skip(ftype)
25852
      elif fid == 2:
25853
        if ftype == TType.I64:
25854
          self.limit = iprot.readI64();
25855
        else:
25856
          iprot.skip(ftype)
25857
      else:
25858
        iprot.skip(ftype)
25859
      iprot.readFieldEnd()
25860
    iprot.readStructEnd()
25861
 
25862
  def write(self, oprot):
25863
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25864
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25865
      return
25866
    oprot.writeStructBegin('getSnapdealItems_args')
25867
    if self.offset is not None:
25868
      oprot.writeFieldBegin('offset', TType.I64, 1)
25869
      oprot.writeI64(self.offset)
25870
      oprot.writeFieldEnd()
25871
    if self.limit is not None:
25872
      oprot.writeFieldBegin('limit', TType.I64, 2)
25873
      oprot.writeI64(self.limit)
25874
      oprot.writeFieldEnd()
25875
    oprot.writeFieldStop()
25876
    oprot.writeStructEnd()
25877
 
25878
  def validate(self):
25879
    return
25880
 
25881
 
25882
  def __repr__(self):
25883
    L = ['%s=%r' % (key, value)
25884
      for key, value in self.__dict__.iteritems()]
25885
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25886
 
25887
  def __eq__(self, other):
25888
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25889
 
25890
  def __ne__(self, other):
25891
    return not (self == other)
25892
 
25893
class getSnapdealItems_result:
25894
  """
25895
  Attributes:
25896
   - success
25897
  """
25898
 
25899
  thrift_spec = (
25900
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
25901
  )
25902
 
25903
  def __init__(self, success=None,):
25904
    self.success = success
25905
 
25906
  def read(self, iprot):
25907
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25908
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25909
      return
25910
    iprot.readStructBegin()
25911
    while True:
25912
      (fname, ftype, fid) = iprot.readFieldBegin()
25913
      if ftype == TType.STOP:
25914
        break
25915
      if fid == 0:
25916
        if ftype == TType.LIST:
25917
          self.success = []
13493 amit.gupta 25918
          (_etype548, _size545) = iprot.readListBegin()
25919
          for _i549 in xrange(_size545):
25920
            _elem550 = SnapdealItemDetails()
25921
            _elem550.read(iprot)
25922
            self.success.append(_elem550)
8739 vikram.rag 25923
          iprot.readListEnd()
25924
        else:
25925
          iprot.skip(ftype)
25926
      else:
25927
        iprot.skip(ftype)
25928
      iprot.readFieldEnd()
25929
    iprot.readStructEnd()
25930
 
25931
  def write(self, oprot):
25932
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25933
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25934
      return
9242 kshitij.so 25935
    oprot.writeStructBegin('getSnapdealItems_result')
8739 vikram.rag 25936
    if self.success is not None:
25937
      oprot.writeFieldBegin('success', TType.LIST, 0)
25938
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25939
      for iter551 in self.success:
25940
        iter551.write(oprot)
8739 vikram.rag 25941
      oprot.writeListEnd()
25942
      oprot.writeFieldEnd()
25943
    oprot.writeFieldStop()
25944
    oprot.writeStructEnd()
25945
 
25946
  def validate(self):
25947
    return
25948
 
25949
 
25950
  def __repr__(self):
25951
    L = ['%s=%r' % (key, value)
25952
      for key, value in self.__dict__.iteritems()]
25953
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25954
 
25955
  def __eq__(self, other):
25956
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25957
 
25958
  def __ne__(self, other):
25959
    return not (self == other)
9242 kshitij.so 25960
 
25961
class searchSnapdealItems_args:
25962
  """
25963
  Attributes:
25964
   - searchTerm
25965
   - offset
25966
   - limit
25967
  """
25968
 
25969
  thrift_spec = (
25970
    None, # 0
25971
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
25972
    (2, TType.I64, 'offset', None, None, ), # 2
25973
    (3, TType.I64, 'limit', None, None, ), # 3
25974
  )
25975
 
25976
  def __init__(self, searchTerm=None, offset=None, limit=None,):
25977
    self.searchTerm = searchTerm
25978
    self.offset = offset
25979
    self.limit = limit
25980
 
25981
  def read(self, iprot):
25982
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25983
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25984
      return
25985
    iprot.readStructBegin()
25986
    while True:
25987
      (fname, ftype, fid) = iprot.readFieldBegin()
25988
      if ftype == TType.STOP:
25989
        break
25990
      if fid == 1:
25991
        if ftype == TType.LIST:
25992
          self.searchTerm = []
13493 amit.gupta 25993
          (_etype555, _size552) = iprot.readListBegin()
25994
          for _i556 in xrange(_size552):
25995
            _elem557 = iprot.readString();
25996
            self.searchTerm.append(_elem557)
9242 kshitij.so 25997
          iprot.readListEnd()
25998
        else:
25999
          iprot.skip(ftype)
26000
      elif fid == 2:
26001
        if ftype == TType.I64:
26002
          self.offset = iprot.readI64();
26003
        else:
26004
          iprot.skip(ftype)
26005
      elif fid == 3:
26006
        if ftype == TType.I64:
26007
          self.limit = iprot.readI64();
26008
        else:
26009
          iprot.skip(ftype)
26010
      else:
26011
        iprot.skip(ftype)
26012
      iprot.readFieldEnd()
26013
    iprot.readStructEnd()
26014
 
26015
  def write(self, oprot):
26016
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26017
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26018
      return
26019
    oprot.writeStructBegin('searchSnapdealItems_args')
26020
    if self.searchTerm is not None:
26021
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
26022
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 26023
      for iter558 in self.searchTerm:
26024
        oprot.writeString(iter558)
9242 kshitij.so 26025
      oprot.writeListEnd()
26026
      oprot.writeFieldEnd()
26027
    if self.offset is not None:
26028
      oprot.writeFieldBegin('offset', TType.I64, 2)
26029
      oprot.writeI64(self.offset)
26030
      oprot.writeFieldEnd()
26031
    if self.limit is not None:
26032
      oprot.writeFieldBegin('limit', TType.I64, 3)
26033
      oprot.writeI64(self.limit)
26034
      oprot.writeFieldEnd()
26035
    oprot.writeFieldStop()
26036
    oprot.writeStructEnd()
26037
 
26038
  def validate(self):
26039
    return
26040
 
26041
 
26042
  def __repr__(self):
26043
    L = ['%s=%r' % (key, value)
26044
      for key, value in self.__dict__.iteritems()]
26045
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26046
 
26047
  def __eq__(self, other):
26048
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26049
 
26050
  def __ne__(self, other):
26051
    return not (self == other)
26052
 
26053
class searchSnapdealItems_result:
26054
  """
26055
  Attributes:
26056
   - success
26057
  """
26058
 
26059
  thrift_spec = (
26060
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
26061
  )
26062
 
26063
  def __init__(self, success=None,):
26064
    self.success = success
26065
 
26066
  def read(self, iprot):
26067
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26068
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26069
      return
26070
    iprot.readStructBegin()
26071
    while True:
26072
      (fname, ftype, fid) = iprot.readFieldBegin()
26073
      if ftype == TType.STOP:
26074
        break
26075
      if fid == 0:
26076
        if ftype == TType.LIST:
26077
          self.success = []
13493 amit.gupta 26078
          (_etype562, _size559) = iprot.readListBegin()
26079
          for _i563 in xrange(_size559):
26080
            _elem564 = SnapdealItemDetails()
26081
            _elem564.read(iprot)
26082
            self.success.append(_elem564)
9242 kshitij.so 26083
          iprot.readListEnd()
26084
        else:
26085
          iprot.skip(ftype)
26086
      else:
26087
        iprot.skip(ftype)
26088
      iprot.readFieldEnd()
26089
    iprot.readStructEnd()
26090
 
26091
  def write(self, oprot):
26092
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26093
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26094
      return
26095
    oprot.writeStructBegin('searchSnapdealItems_result')
26096
    if self.success is not None:
26097
      oprot.writeFieldBegin('success', TType.LIST, 0)
26098
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 26099
      for iter565 in self.success:
26100
        iter565.write(oprot)
9242 kshitij.so 26101
      oprot.writeListEnd()
26102
      oprot.writeFieldEnd()
26103
    oprot.writeFieldStop()
26104
    oprot.writeStructEnd()
26105
 
26106
  def validate(self):
26107
    return
26108
 
26109
 
26110
  def __repr__(self):
26111
    L = ['%s=%r' % (key, value)
26112
      for key, value in self.__dict__.iteritems()]
26113
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26114
 
26115
  def __eq__(self, other):
26116
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26117
 
26118
  def __ne__(self, other):
26119
    return not (self == other)
26120
 
26121
class getCountForSnapdealItems_args:
26122
 
26123
  thrift_spec = (
26124
  )
26125
 
26126
  def read(self, iprot):
26127
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26128
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26129
      return
26130
    iprot.readStructBegin()
26131
    while True:
26132
      (fname, ftype, fid) = iprot.readFieldBegin()
26133
      if ftype == TType.STOP:
26134
        break
26135
      else:
26136
        iprot.skip(ftype)
26137
      iprot.readFieldEnd()
26138
    iprot.readStructEnd()
26139
 
26140
  def write(self, oprot):
26141
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26142
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26143
      return
26144
    oprot.writeStructBegin('getCountForSnapdealItems_args')
26145
    oprot.writeFieldStop()
26146
    oprot.writeStructEnd()
26147
 
26148
  def validate(self):
26149
    return
26150
 
26151
 
26152
  def __repr__(self):
26153
    L = ['%s=%r' % (key, value)
26154
      for key, value in self.__dict__.iteritems()]
26155
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26156
 
26157
  def __eq__(self, other):
26158
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26159
 
26160
  def __ne__(self, other):
26161
    return not (self == other)
26162
 
26163
class getCountForSnapdealItems_result:
26164
  """
26165
  Attributes:
26166
   - success
26167
  """
26168
 
26169
  thrift_spec = (
26170
    (0, TType.I64, 'success', None, None, ), # 0
26171
  )
26172
 
26173
  def __init__(self, success=None,):
26174
    self.success = success
26175
 
26176
  def read(self, iprot):
26177
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26178
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26179
      return
26180
    iprot.readStructBegin()
26181
    while True:
26182
      (fname, ftype, fid) = iprot.readFieldBegin()
26183
      if ftype == TType.STOP:
26184
        break
26185
      if fid == 0:
26186
        if ftype == TType.I64:
26187
          self.success = iprot.readI64();
26188
        else:
26189
          iprot.skip(ftype)
26190
      else:
26191
        iprot.skip(ftype)
26192
      iprot.readFieldEnd()
26193
    iprot.readStructEnd()
26194
 
26195
  def write(self, oprot):
26196
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26197
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26198
      return
26199
    oprot.writeStructBegin('getCountForSnapdealItems_result')
26200
    if self.success is not None:
26201
      oprot.writeFieldBegin('success', TType.I64, 0)
26202
      oprot.writeI64(self.success)
26203
      oprot.writeFieldEnd()
26204
    oprot.writeFieldStop()
26205
    oprot.writeStructEnd()
26206
 
26207
  def validate(self):
26208
    return
26209
 
26210
 
26211
  def __repr__(self):
26212
    L = ['%s=%r' % (key, value)
26213
      for key, value in self.__dict__.iteritems()]
26214
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26215
 
26216
  def __eq__(self, other):
26217
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26218
 
26219
  def __ne__(self, other):
26220
    return not (self == other)
26221
 
26222
class getSnapdealSearchResultCount_args:
26223
  """
26224
  Attributes:
26225
   - searchTerm
26226
  """
26227
 
26228
  thrift_spec = (
26229
    None, # 0
26230
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
26231
  )
26232
 
26233
  def __init__(self, searchTerm=None,):
26234
    self.searchTerm = searchTerm
26235
 
26236
  def read(self, iprot):
26237
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26238
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26239
      return
26240
    iprot.readStructBegin()
26241
    while True:
26242
      (fname, ftype, fid) = iprot.readFieldBegin()
26243
      if ftype == TType.STOP:
26244
        break
26245
      if fid == 1:
26246
        if ftype == TType.LIST:
26247
          self.searchTerm = []
13493 amit.gupta 26248
          (_etype569, _size566) = iprot.readListBegin()
26249
          for _i570 in xrange(_size566):
26250
            _elem571 = iprot.readString();
26251
            self.searchTerm.append(_elem571)
9242 kshitij.so 26252
          iprot.readListEnd()
26253
        else:
26254
          iprot.skip(ftype)
26255
      else:
26256
        iprot.skip(ftype)
26257
      iprot.readFieldEnd()
26258
    iprot.readStructEnd()
26259
 
26260
  def write(self, oprot):
26261
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26262
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26263
      return
26264
    oprot.writeStructBegin('getSnapdealSearchResultCount_args')
26265
    if self.searchTerm is not None:
26266
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
26267
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 26268
      for iter572 in self.searchTerm:
26269
        oprot.writeString(iter572)
9242 kshitij.so 26270
      oprot.writeListEnd()
26271
      oprot.writeFieldEnd()
26272
    oprot.writeFieldStop()
26273
    oprot.writeStructEnd()
26274
 
26275
  def validate(self):
26276
    return
26277
 
26278
 
26279
  def __repr__(self):
26280
    L = ['%s=%r' % (key, value)
26281
      for key, value in self.__dict__.iteritems()]
26282
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26283
 
26284
  def __eq__(self, other):
26285
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26286
 
26287
  def __ne__(self, other):
26288
    return not (self == other)
26289
 
26290
class getSnapdealSearchResultCount_result:
26291
  """
26292
  Attributes:
26293
   - success
26294
  """
26295
 
26296
  thrift_spec = (
26297
    (0, TType.I64, 'success', None, None, ), # 0
26298
  )
26299
 
26300
  def __init__(self, success=None,):
26301
    self.success = success
26302
 
26303
  def read(self, iprot):
26304
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26305
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26306
      return
26307
    iprot.readStructBegin()
26308
    while True:
26309
      (fname, ftype, fid) = iprot.readFieldBegin()
26310
      if ftype == TType.STOP:
26311
        break
26312
      if fid == 0:
26313
        if ftype == TType.I64:
26314
          self.success = iprot.readI64();
26315
        else:
26316
          iprot.skip(ftype)
26317
      else:
26318
        iprot.skip(ftype)
26319
      iprot.readFieldEnd()
26320
    iprot.readStructEnd()
26321
 
26322
  def write(self, oprot):
26323
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26324
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26325
      return
26326
    oprot.writeStructBegin('getSnapdealSearchResultCount_result')
26327
    if self.success is not None:
26328
      oprot.writeFieldBegin('success', TType.I64, 0)
26329
      oprot.writeI64(self.success)
26330
      oprot.writeFieldEnd()
26331
    oprot.writeFieldStop()
26332
    oprot.writeStructEnd()
26333
 
26334
  def validate(self):
26335
    return
26336
 
26337
 
26338
  def __repr__(self):
26339
    L = ['%s=%r' % (key, value)
26340
      for key, value in self.__dict__.iteritems()]
26341
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26342
 
26343
  def __eq__(self, other):
26344
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26345
 
26346
  def __ne__(self, other):
26347
    return not (self == other)
9299 kshitij.so 26348
 
26349
class getPrefferedInsurerForItem_args:
26350
  """
26351
  Attributes:
26352
   - itemId
26353
   - insurerType
26354
  """
26355
 
26356
  thrift_spec = (
26357
    None, # 0
26358
    (1, TType.I64, 'itemId', None, None, ), # 1
26359
    (2, TType.I32, 'insurerType', None, None, ), # 2
26360
  )
26361
 
26362
  def __init__(self, itemId=None, insurerType=None,):
26363
    self.itemId = itemId
26364
    self.insurerType = insurerType
26365
 
26366
  def read(self, iprot):
26367
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26368
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26369
      return
26370
    iprot.readStructBegin()
26371
    while True:
26372
      (fname, ftype, fid) = iprot.readFieldBegin()
26373
      if ftype == TType.STOP:
26374
        break
26375
      if fid == 1:
26376
        if ftype == TType.I64:
26377
          self.itemId = iprot.readI64();
26378
        else:
26379
          iprot.skip(ftype)
26380
      elif fid == 2:
26381
        if ftype == TType.I32:
26382
          self.insurerType = iprot.readI32();
26383
        else:
26384
          iprot.skip(ftype)
26385
      else:
26386
        iprot.skip(ftype)
26387
      iprot.readFieldEnd()
26388
    iprot.readStructEnd()
26389
 
26390
  def write(self, oprot):
26391
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26392
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26393
      return
26394
    oprot.writeStructBegin('getPrefferedInsurerForItem_args')
26395
    if self.itemId is not None:
26396
      oprot.writeFieldBegin('itemId', TType.I64, 1)
26397
      oprot.writeI64(self.itemId)
26398
      oprot.writeFieldEnd()
26399
    if self.insurerType is not None:
26400
      oprot.writeFieldBegin('insurerType', TType.I32, 2)
26401
      oprot.writeI32(self.insurerType)
26402
      oprot.writeFieldEnd()
26403
    oprot.writeFieldStop()
26404
    oprot.writeStructEnd()
26405
 
26406
  def validate(self):
26407
    return
26408
 
26409
 
26410
  def __repr__(self):
26411
    L = ['%s=%r' % (key, value)
26412
      for key, value in self.__dict__.iteritems()]
26413
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26414
 
26415
  def __eq__(self, other):
26416
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26417
 
26418
  def __ne__(self, other):
26419
    return not (self == other)
26420
 
26421
class getPrefferedInsurerForItem_result:
26422
  """
26423
  Attributes:
26424
   - success
26425
  """
26426
 
26427
  thrift_spec = (
26428
    (0, TType.I64, 'success', None, None, ), # 0
26429
  )
26430
 
26431
  def __init__(self, success=None,):
26432
    self.success = success
26433
 
26434
  def read(self, iprot):
26435
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26436
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26437
      return
26438
    iprot.readStructBegin()
26439
    while True:
26440
      (fname, ftype, fid) = iprot.readFieldBegin()
26441
      if ftype == TType.STOP:
26442
        break
26443
      if fid == 0:
26444
        if ftype == TType.I64:
26445
          self.success = iprot.readI64();
26446
        else:
26447
          iprot.skip(ftype)
26448
      else:
26449
        iprot.skip(ftype)
26450
      iprot.readFieldEnd()
26451
    iprot.readStructEnd()
26452
 
26453
  def write(self, oprot):
26454
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26455
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26456
      return
26457
    oprot.writeStructBegin('getPrefferedInsurerForItem_result')
26458
    if self.success is not None:
26459
      oprot.writeFieldBegin('success', TType.I64, 0)
26460
      oprot.writeI64(self.success)
26461
      oprot.writeFieldEnd()
26462
    oprot.writeFieldStop()
26463
    oprot.writeStructEnd()
26464
 
26465
  def validate(self):
26466
    return
26467
 
26468
 
26469
  def __repr__(self):
26470
    L = ['%s=%r' % (key, value)
26471
      for key, value in self.__dict__.iteritems()]
26472
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26473
 
26474
  def __eq__(self, other):
26475
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26476
 
26477
  def __ne__(self, other):
26478
    return not (self == other)
9456 vikram.rag 26479
 
26480
class getSnapdealItembySkuAtSnapdeal_args:
26481
  """
26482
  Attributes:
26483
   - skuAtSnapdeal
26484
  """
26485
 
26486
  thrift_spec = None
26487
  def __init__(self, skuAtSnapdeal=None,):
26488
    self.skuAtSnapdeal = skuAtSnapdeal
26489
 
26490
  def read(self, iprot):
26491
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26492
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26493
      return
26494
    iprot.readStructBegin()
26495
    while True:
26496
      (fname, ftype, fid) = iprot.readFieldBegin()
26497
      if ftype == TType.STOP:
26498
        break
26499
      if fid == -1:
26500
        if ftype == TType.STRING:
26501
          self.skuAtSnapdeal = iprot.readString();
26502
        else:
26503
          iprot.skip(ftype)
26504
      else:
26505
        iprot.skip(ftype)
26506
      iprot.readFieldEnd()
26507
    iprot.readStructEnd()
26508
 
26509
  def write(self, oprot):
26510
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26511
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26512
      return
26513
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_args')
26514
    if self.skuAtSnapdeal is not None:
26515
      oprot.writeFieldBegin('skuAtSnapdeal', TType.STRING, -1)
26516
      oprot.writeString(self.skuAtSnapdeal)
26517
      oprot.writeFieldEnd()
26518
    oprot.writeFieldStop()
26519
    oprot.writeStructEnd()
26520
 
26521
  def validate(self):
26522
    return
26523
 
26524
 
26525
  def __repr__(self):
26526
    L = ['%s=%r' % (key, value)
26527
      for key, value in self.__dict__.iteritems()]
26528
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26529
 
26530
  def __eq__(self, other):
26531
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26532
 
26533
  def __ne__(self, other):
26534
    return not (self == other)
26535
 
26536
class getSnapdealItembySkuAtSnapdeal_result:
26537
  """
26538
  Attributes:
26539
   - success
26540
  """
26541
 
26542
  thrift_spec = (
26543
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
26544
  )
26545
 
26546
  def __init__(self, success=None,):
26547
    self.success = success
26548
 
26549
  def read(self, iprot):
26550
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26551
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26552
      return
26553
    iprot.readStructBegin()
26554
    while True:
26555
      (fname, ftype, fid) = iprot.readFieldBegin()
26556
      if ftype == TType.STOP:
26557
        break
26558
      if fid == 0:
26559
        if ftype == TType.STRUCT:
26560
          self.success = SnapdealItem()
26561
          self.success.read(iprot)
26562
        else:
26563
          iprot.skip(ftype)
26564
      else:
26565
        iprot.skip(ftype)
26566
      iprot.readFieldEnd()
26567
    iprot.readStructEnd()
26568
 
26569
  def write(self, oprot):
26570
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26571
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26572
      return
26573
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_result')
26574
    if self.success is not None:
26575
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26576
      self.success.write(oprot)
26577
      oprot.writeFieldEnd()
26578
    oprot.writeFieldStop()
26579
    oprot.writeStructEnd()
26580
 
26581
  def validate(self):
26582
    return
26583
 
26584
 
26585
  def __repr__(self):
26586
    L = ['%s=%r' % (key, value)
26587
      for key, value in self.__dict__.iteritems()]
26588
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26589
 
26590
  def __eq__(self, other):
26591
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26592
 
26593
  def __ne__(self, other):
26594
    return not (self == other)
9621 manish.sha 26595
 
26596
class getProductFeedSubmit_args:
26597
  """
26598
  Attributes:
26599
   - catalogItemId
26600
  """
26601
 
26602
  thrift_spec = (
26603
    None, # 0
26604
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
26605
  )
26606
 
26607
  def __init__(self, catalogItemId=None,):
26608
    self.catalogItemId = catalogItemId
26609
 
26610
  def read(self, iprot):
26611
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26612
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26613
      return
26614
    iprot.readStructBegin()
26615
    while True:
26616
      (fname, ftype, fid) = iprot.readFieldBegin()
26617
      if ftype == TType.STOP:
26618
        break
26619
      if fid == 1:
26620
        if ftype == TType.I64:
26621
          self.catalogItemId = iprot.readI64();
26622
        else:
26623
          iprot.skip(ftype)
26624
      else:
26625
        iprot.skip(ftype)
26626
      iprot.readFieldEnd()
26627
    iprot.readStructEnd()
26628
 
26629
  def write(self, oprot):
26630
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26631
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26632
      return
26633
    oprot.writeStructBegin('getProductFeedSubmit_args')
26634
    if self.catalogItemId is not None:
26635
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
26636
      oprot.writeI64(self.catalogItemId)
26637
      oprot.writeFieldEnd()
26638
    oprot.writeFieldStop()
26639
    oprot.writeStructEnd()
26640
 
26641
  def validate(self):
26642
    return
26643
 
26644
 
26645
  def __repr__(self):
26646
    L = ['%s=%r' % (key, value)
26647
      for key, value in self.__dict__.iteritems()]
26648
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26649
 
26650
  def __eq__(self, other):
26651
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26652
 
26653
  def __ne__(self, other):
26654
    return not (self == other)
26655
 
26656
class getProductFeedSubmit_result:
26657
  """
26658
  Attributes:
26659
   - success
26660
   - cex
26661
  """
26662
 
26663
  thrift_spec = (
26664
    (0, TType.STRUCT, 'success', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 0
26665
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26666
  )
26667
 
26668
  def __init__(self, success=None, cex=None,):
26669
    self.success = success
26670
    self.cex = cex
26671
 
26672
  def read(self, iprot):
26673
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26674
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26675
      return
26676
    iprot.readStructBegin()
26677
    while True:
26678
      (fname, ftype, fid) = iprot.readFieldBegin()
26679
      if ftype == TType.STOP:
26680
        break
26681
      if fid == 0:
26682
        if ftype == TType.STRUCT:
26683
          self.success = ProductFeedSubmit()
26684
          self.success.read(iprot)
26685
        else:
26686
          iprot.skip(ftype)
26687
      elif fid == 1:
26688
        if ftype == TType.STRUCT:
26689
          self.cex = CatalogServiceException()
26690
          self.cex.read(iprot)
26691
        else:
26692
          iprot.skip(ftype)
26693
      else:
26694
        iprot.skip(ftype)
26695
      iprot.readFieldEnd()
26696
    iprot.readStructEnd()
26697
 
26698
  def write(self, oprot):
26699
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26700
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26701
      return
26702
    oprot.writeStructBegin('getProductFeedSubmit_result')
26703
    if self.success is not None:
26704
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26705
      self.success.write(oprot)
26706
      oprot.writeFieldEnd()
26707
    if self.cex is not None:
26708
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26709
      self.cex.write(oprot)
26710
      oprot.writeFieldEnd()
26711
    oprot.writeFieldStop()
26712
    oprot.writeStructEnd()
26713
 
26714
  def validate(self):
26715
    return
26716
 
26717
 
26718
  def __repr__(self):
26719
    L = ['%s=%r' % (key, value)
26720
      for key, value in self.__dict__.iteritems()]
26721
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26722
 
26723
  def __eq__(self, other):
26724
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26725
 
26726
  def __ne__(self, other):
26727
    return not (self == other)
26728
 
26729
class addProductFeedSubmit_args:
26730
  """
26731
  Attributes:
26732
   - productFeedSubmit
26733
  """
26734
 
26735
  thrift_spec = (
26736
    None, # 0
26737
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
26738
  )
26739
 
26740
  def __init__(self, productFeedSubmit=None,):
26741
    self.productFeedSubmit = productFeedSubmit
26742
 
26743
  def read(self, iprot):
26744
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26745
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26746
      return
26747
    iprot.readStructBegin()
26748
    while True:
26749
      (fname, ftype, fid) = iprot.readFieldBegin()
26750
      if ftype == TType.STOP:
26751
        break
26752
      if fid == 1:
26753
        if ftype == TType.STRUCT:
26754
          self.productFeedSubmit = ProductFeedSubmit()
26755
          self.productFeedSubmit.read(iprot)
26756
        else:
26757
          iprot.skip(ftype)
26758
      else:
26759
        iprot.skip(ftype)
26760
      iprot.readFieldEnd()
26761
    iprot.readStructEnd()
26762
 
26763
  def write(self, oprot):
26764
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26765
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26766
      return
26767
    oprot.writeStructBegin('addProductFeedSubmit_args')
26768
    if self.productFeedSubmit is not None:
26769
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
26770
      self.productFeedSubmit.write(oprot)
26771
      oprot.writeFieldEnd()
26772
    oprot.writeFieldStop()
26773
    oprot.writeStructEnd()
26774
 
26775
  def validate(self):
26776
    return
26777
 
26778
 
26779
  def __repr__(self):
26780
    L = ['%s=%r' % (key, value)
26781
      for key, value in self.__dict__.iteritems()]
26782
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26783
 
26784
  def __eq__(self, other):
26785
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26786
 
26787
  def __ne__(self, other):
26788
    return not (self == other)
26789
 
26790
class addProductFeedSubmit_result:
26791
  """
26792
  Attributes:
26793
   - success
26794
   - cex
26795
  """
26796
 
26797
  thrift_spec = (
26798
    (0, TType.BOOL, 'success', None, None, ), # 0
26799
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26800
  )
26801
 
26802
  def __init__(self, success=None, cex=None,):
26803
    self.success = success
26804
    self.cex = cex
26805
 
26806
  def read(self, iprot):
26807
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26808
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26809
      return
26810
    iprot.readStructBegin()
26811
    while True:
26812
      (fname, ftype, fid) = iprot.readFieldBegin()
26813
      if ftype == TType.STOP:
26814
        break
26815
      if fid == 0:
26816
        if ftype == TType.BOOL:
26817
          self.success = iprot.readBool();
26818
        else:
26819
          iprot.skip(ftype)
26820
      elif fid == 1:
26821
        if ftype == TType.STRUCT:
26822
          self.cex = CatalogServiceException()
26823
          self.cex.read(iprot)
26824
        else:
26825
          iprot.skip(ftype)
26826
      else:
26827
        iprot.skip(ftype)
26828
      iprot.readFieldEnd()
26829
    iprot.readStructEnd()
26830
 
26831
  def write(self, oprot):
26832
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26833
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26834
      return
26835
    oprot.writeStructBegin('addProductFeedSubmit_result')
26836
    if self.success is not None:
26837
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26838
      oprot.writeBool(self.success)
26839
      oprot.writeFieldEnd()
26840
    if self.cex is not None:
26841
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26842
      self.cex.write(oprot)
26843
      oprot.writeFieldEnd()
26844
    oprot.writeFieldStop()
26845
    oprot.writeStructEnd()
26846
 
26847
  def validate(self):
26848
    return
26849
 
26850
 
26851
  def __repr__(self):
26852
    L = ['%s=%r' % (key, value)
26853
      for key, value in self.__dict__.iteritems()]
26854
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26855
 
26856
  def __eq__(self, other):
26857
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26858
 
26859
  def __ne__(self, other):
26860
    return not (self == other)
26861
 
26862
class updateProductFeedSubmit_args:
26863
  """
26864
  Attributes:
26865
   - productFeedSubmit
26866
  """
26867
 
26868
  thrift_spec = (
26869
    None, # 0
26870
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
26871
  )
26872
 
26873
  def __init__(self, productFeedSubmit=None,):
26874
    self.productFeedSubmit = productFeedSubmit
26875
 
26876
  def read(self, iprot):
26877
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26878
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26879
      return
26880
    iprot.readStructBegin()
26881
    while True:
26882
      (fname, ftype, fid) = iprot.readFieldBegin()
26883
      if ftype == TType.STOP:
26884
        break
26885
      if fid == 1:
26886
        if ftype == TType.STRUCT:
26887
          self.productFeedSubmit = ProductFeedSubmit()
26888
          self.productFeedSubmit.read(iprot)
26889
        else:
26890
          iprot.skip(ftype)
26891
      else:
26892
        iprot.skip(ftype)
26893
      iprot.readFieldEnd()
26894
    iprot.readStructEnd()
26895
 
26896
  def write(self, oprot):
26897
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26898
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26899
      return
26900
    oprot.writeStructBegin('updateProductFeedSubmit_args')
26901
    if self.productFeedSubmit is not None:
26902
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
26903
      self.productFeedSubmit.write(oprot)
26904
      oprot.writeFieldEnd()
26905
    oprot.writeFieldStop()
26906
    oprot.writeStructEnd()
26907
 
26908
  def validate(self):
26909
    return
26910
 
26911
 
26912
  def __repr__(self):
26913
    L = ['%s=%r' % (key, value)
26914
      for key, value in self.__dict__.iteritems()]
26915
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26916
 
26917
  def __eq__(self, other):
26918
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26919
 
26920
  def __ne__(self, other):
26921
    return not (self == other)
26922
 
26923
class updateProductFeedSubmit_result:
26924
  """
26925
  Attributes:
26926
   - success
26927
   - cex
26928
  """
26929
 
26930
  thrift_spec = (
26931
    (0, TType.BOOL, 'success', None, None, ), # 0
26932
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26933
  )
26934
 
26935
  def __init__(self, success=None, cex=None,):
26936
    self.success = success
26937
    self.cex = cex
26938
 
26939
  def read(self, iprot):
26940
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26941
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26942
      return
26943
    iprot.readStructBegin()
26944
    while True:
26945
      (fname, ftype, fid) = iprot.readFieldBegin()
26946
      if ftype == TType.STOP:
26947
        break
26948
      if fid == 0:
26949
        if ftype == TType.BOOL:
26950
          self.success = iprot.readBool();
26951
        else:
26952
          iprot.skip(ftype)
26953
      elif fid == 1:
26954
        if ftype == TType.STRUCT:
26955
          self.cex = CatalogServiceException()
26956
          self.cex.read(iprot)
26957
        else:
26958
          iprot.skip(ftype)
26959
      else:
26960
        iprot.skip(ftype)
26961
      iprot.readFieldEnd()
26962
    iprot.readStructEnd()
26963
 
26964
  def write(self, oprot):
26965
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26966
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26967
      return
26968
    oprot.writeStructBegin('updateProductFeedSubmit_result')
26969
    if self.success is not None:
26970
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26971
      oprot.writeBool(self.success)
26972
      oprot.writeFieldEnd()
26973
    if self.cex is not None:
26974
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26975
      self.cex.write(oprot)
26976
      oprot.writeFieldEnd()
26977
    oprot.writeFieldStop()
26978
    oprot.writeStructEnd()
26979
 
26980
  def validate(self):
26981
    return
26982
 
26983
 
26984
  def __repr__(self):
26985
    L = ['%s=%r' % (key, value)
26986
      for key, value in self.__dict__.iteritems()]
26987
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26988
 
26989
  def __eq__(self, other):
26990
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26991
 
26992
  def __ne__(self, other):
26993
    return not (self == other)
26994
 
26995
class deleteProductFeedSubmit_args:
26996
  """
26997
  Attributes:
26998
   - catalogItemId
26999
  """
27000
 
27001
  thrift_spec = (
27002
    None, # 0
27003
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
27004
  )
27005
 
27006
  def __init__(self, catalogItemId=None,):
27007
    self.catalogItemId = catalogItemId
27008
 
27009
  def read(self, iprot):
27010
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27011
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27012
      return
27013
    iprot.readStructBegin()
27014
    while True:
27015
      (fname, ftype, fid) = iprot.readFieldBegin()
27016
      if ftype == TType.STOP:
27017
        break
27018
      if fid == 1:
27019
        if ftype == TType.I64:
27020
          self.catalogItemId = iprot.readI64();
27021
        else:
27022
          iprot.skip(ftype)
27023
      else:
27024
        iprot.skip(ftype)
27025
      iprot.readFieldEnd()
27026
    iprot.readStructEnd()
27027
 
27028
  def write(self, oprot):
27029
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27030
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27031
      return
27032
    oprot.writeStructBegin('deleteProductFeedSubmit_args')
27033
    if self.catalogItemId is not None:
27034
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
27035
      oprot.writeI64(self.catalogItemId)
27036
      oprot.writeFieldEnd()
27037
    oprot.writeFieldStop()
27038
    oprot.writeStructEnd()
27039
 
27040
  def validate(self):
27041
    return
27042
 
27043
 
27044
  def __repr__(self):
27045
    L = ['%s=%r' % (key, value)
27046
      for key, value in self.__dict__.iteritems()]
27047
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27048
 
27049
  def __eq__(self, other):
27050
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27051
 
27052
  def __ne__(self, other):
27053
    return not (self == other)
27054
 
27055
class deleteProductFeedSubmit_result:
27056
  """
27057
  Attributes:
27058
   - success
27059
   - cex
27060
  """
27061
 
27062
  thrift_spec = (
27063
    (0, TType.BOOL, 'success', None, None, ), # 0
27064
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27065
  )
27066
 
27067
  def __init__(self, success=None, cex=None,):
27068
    self.success = success
27069
    self.cex = cex
27070
 
27071
  def read(self, iprot):
27072
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27073
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27074
      return
27075
    iprot.readStructBegin()
27076
    while True:
27077
      (fname, ftype, fid) = iprot.readFieldBegin()
27078
      if ftype == TType.STOP:
27079
        break
27080
      if fid == 0:
27081
        if ftype == TType.BOOL:
27082
          self.success = iprot.readBool();
27083
        else:
27084
          iprot.skip(ftype)
27085
      elif fid == 1:
27086
        if ftype == TType.STRUCT:
27087
          self.cex = CatalogServiceException()
27088
          self.cex.read(iprot)
27089
        else:
27090
          iprot.skip(ftype)
27091
      else:
27092
        iprot.skip(ftype)
27093
      iprot.readFieldEnd()
27094
    iprot.readStructEnd()
27095
 
27096
  def write(self, oprot):
27097
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27098
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27099
      return
27100
    oprot.writeStructBegin('deleteProductFeedSubmit_result')
27101
    if self.success is not None:
27102
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27103
      oprot.writeBool(self.success)
27104
      oprot.writeFieldEnd()
27105
    if self.cex is not None:
27106
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27107
      self.cex.write(oprot)
27108
      oprot.writeFieldEnd()
27109
    oprot.writeFieldStop()
27110
    oprot.writeStructEnd()
27111
 
27112
  def validate(self):
27113
    return
27114
 
27115
 
27116
  def __repr__(self):
27117
    L = ['%s=%r' % (key, value)
27118
      for key, value in self.__dict__.iteritems()]
27119
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27120
 
27121
  def __eq__(self, other):
27122
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27123
 
27124
  def __ne__(self, other):
27125
    return not (self == other)
27126
 
27127
class getAllProductFeedSubmit_args:
27128
 
27129
  thrift_spec = (
27130
  )
27131
 
27132
  def read(self, iprot):
27133
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27134
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27135
      return
27136
    iprot.readStructBegin()
27137
    while True:
27138
      (fname, ftype, fid) = iprot.readFieldBegin()
27139
      if ftype == TType.STOP:
27140
        break
27141
      else:
27142
        iprot.skip(ftype)
27143
      iprot.readFieldEnd()
27144
    iprot.readStructEnd()
27145
 
27146
  def write(self, oprot):
27147
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27148
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27149
      return
27150
    oprot.writeStructBegin('getAllProductFeedSubmit_args')
27151
    oprot.writeFieldStop()
27152
    oprot.writeStructEnd()
27153
 
27154
  def validate(self):
27155
    return
27156
 
27157
 
27158
  def __repr__(self):
27159
    L = ['%s=%r' % (key, value)
27160
      for key, value in self.__dict__.iteritems()]
27161
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27162
 
27163
  def __eq__(self, other):
27164
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27165
 
27166
  def __ne__(self, other):
27167
    return not (self == other)
27168
 
27169
class getAllProductFeedSubmit_result:
27170
  """
27171
  Attributes:
27172
   - success
27173
   - cex
27174
  """
27175
 
27176
  thrift_spec = (
27177
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductFeedSubmit, ProductFeedSubmit.thrift_spec)), None, ), # 0
27178
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27179
  )
27180
 
27181
  def __init__(self, success=None, cex=None,):
27182
    self.success = success
27183
    self.cex = cex
27184
 
27185
  def read(self, iprot):
27186
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27187
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27188
      return
27189
    iprot.readStructBegin()
27190
    while True:
27191
      (fname, ftype, fid) = iprot.readFieldBegin()
27192
      if ftype == TType.STOP:
27193
        break
27194
      if fid == 0:
27195
        if ftype == TType.LIST:
27196
          self.success = []
13493 amit.gupta 27197
          (_etype576, _size573) = iprot.readListBegin()
27198
          for _i577 in xrange(_size573):
27199
            _elem578 = ProductFeedSubmit()
27200
            _elem578.read(iprot)
27201
            self.success.append(_elem578)
9621 manish.sha 27202
          iprot.readListEnd()
27203
        else:
27204
          iprot.skip(ftype)
27205
      elif fid == 1:
27206
        if ftype == TType.STRUCT:
27207
          self.cex = CatalogServiceException()
27208
          self.cex.read(iprot)
27209
        else:
27210
          iprot.skip(ftype)
27211
      else:
27212
        iprot.skip(ftype)
27213
      iprot.readFieldEnd()
27214
    iprot.readStructEnd()
27215
 
27216
  def write(self, oprot):
27217
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27218
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27219
      return
27220
    oprot.writeStructBegin('getAllProductFeedSubmit_result')
27221
    if self.success is not None:
27222
      oprot.writeFieldBegin('success', TType.LIST, 0)
27223
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 27224
      for iter579 in self.success:
27225
        iter579.write(oprot)
9621 manish.sha 27226
      oprot.writeListEnd()
27227
      oprot.writeFieldEnd()
27228
    if self.cex is not None:
27229
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27230
      self.cex.write(oprot)
27231
      oprot.writeFieldEnd()
27232
    oprot.writeFieldStop()
27233
    oprot.writeStructEnd()
27234
 
27235
  def validate(self):
27236
    return
27237
 
27238
 
27239
  def __repr__(self):
27240
    L = ['%s=%r' % (key, value)
27241
      for key, value in self.__dict__.iteritems()]
27242
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27243
 
27244
  def __eq__(self, other):
27245
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27246
 
27247
  def __ne__(self, other):
27248
    return not (self == other)
9724 kshitij.so 27249
 
27250
class getMarketplacedetailsForItem_args:
27251
  """
27252
  Attributes:
27253
   - itemId
27254
   - sourceId
27255
  """
27256
 
27257
  thrift_spec = (
27258
    None, # 0
27259
    (1, TType.I64, 'itemId', None, None, ), # 1
27260
    (2, TType.I64, 'sourceId', None, None, ), # 2
27261
  )
27262
 
27263
  def __init__(self, itemId=None, sourceId=None,):
27264
    self.itemId = itemId
27265
    self.sourceId = sourceId
27266
 
27267
  def read(self, iprot):
27268
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27269
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27270
      return
27271
    iprot.readStructBegin()
27272
    while True:
27273
      (fname, ftype, fid) = iprot.readFieldBegin()
27274
      if ftype == TType.STOP:
27275
        break
27276
      if fid == 1:
27277
        if ftype == TType.I64:
27278
          self.itemId = iprot.readI64();
27279
        else:
27280
          iprot.skip(ftype)
27281
      elif fid == 2:
27282
        if ftype == TType.I64:
27283
          self.sourceId = iprot.readI64();
27284
        else:
27285
          iprot.skip(ftype)
27286
      else:
27287
        iprot.skip(ftype)
27288
      iprot.readFieldEnd()
27289
    iprot.readStructEnd()
27290
 
27291
  def write(self, oprot):
27292
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27293
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27294
      return
27295
    oprot.writeStructBegin('getMarketplacedetailsForItem_args')
27296
    if self.itemId is not None:
27297
      oprot.writeFieldBegin('itemId', TType.I64, 1)
27298
      oprot.writeI64(self.itemId)
27299
      oprot.writeFieldEnd()
27300
    if self.sourceId is not None:
27301
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
27302
      oprot.writeI64(self.sourceId)
27303
      oprot.writeFieldEnd()
27304
    oprot.writeFieldStop()
27305
    oprot.writeStructEnd()
27306
 
27307
  def validate(self):
27308
    return
27309
 
27310
 
27311
  def __repr__(self):
27312
    L = ['%s=%r' % (key, value)
27313
      for key, value in self.__dict__.iteritems()]
27314
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27315
 
27316
  def __eq__(self, other):
27317
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27318
 
27319
  def __ne__(self, other):
27320
    return not (self == other)
27321
 
27322
class getMarketplacedetailsForItem_result:
27323
  """
27324
  Attributes:
27325
   - success
27326
  """
27327
 
27328
  thrift_spec = (
27329
    (0, TType.STRUCT, 'success', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 0
27330
  )
27331
 
27332
  def __init__(self, success=None,):
27333
    self.success = success
27334
 
27335
  def read(self, iprot):
27336
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27337
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27338
      return
27339
    iprot.readStructBegin()
27340
    while True:
27341
      (fname, ftype, fid) = iprot.readFieldBegin()
27342
      if ftype == TType.STOP:
27343
        break
27344
      if fid == 0:
27345
        if ftype == TType.STRUCT:
27346
          self.success = MarketplaceItems()
27347
          self.success.read(iprot)
27348
        else:
27349
          iprot.skip(ftype)
27350
      else:
27351
        iprot.skip(ftype)
27352
      iprot.readFieldEnd()
27353
    iprot.readStructEnd()
27354
 
27355
  def write(self, oprot):
27356
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27357
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27358
      return
27359
    oprot.writeStructBegin('getMarketplacedetailsForItem_result')
27360
    if self.success is not None:
27361
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27362
      self.success.write(oprot)
27363
      oprot.writeFieldEnd()
27364
    oprot.writeFieldStop()
27365
    oprot.writeStructEnd()
27366
 
27367
  def validate(self):
27368
    return
27369
 
27370
 
27371
  def __repr__(self):
27372
    L = ['%s=%r' % (key, value)
27373
      for key, value in self.__dict__.iteritems()]
27374
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27375
 
27376
  def __eq__(self, other):
27377
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27378
 
27379
  def __ne__(self, other):
27380
    return not (self == other)
27381
 
27382
class updateMarketplaceAttributesForItem_args:
27383
  """
27384
  Attributes:
27385
   - marketPlaceItem
27386
  """
27387
 
27388
  thrift_spec = (
27389
    None, # 0
27390
    (1, TType.STRUCT, 'marketPlaceItem', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 1
27391
  )
27392
 
27393
  def __init__(self, marketPlaceItem=None,):
27394
    self.marketPlaceItem = marketPlaceItem
27395
 
27396
  def read(self, iprot):
27397
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27398
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27399
      return
27400
    iprot.readStructBegin()
27401
    while True:
27402
      (fname, ftype, fid) = iprot.readFieldBegin()
27403
      if ftype == TType.STOP:
27404
        break
27405
      if fid == 1:
27406
        if ftype == TType.STRUCT:
27407
          self.marketPlaceItem = MarketplaceItems()
27408
          self.marketPlaceItem.read(iprot)
27409
        else:
27410
          iprot.skip(ftype)
27411
      else:
27412
        iprot.skip(ftype)
27413
      iprot.readFieldEnd()
27414
    iprot.readStructEnd()
27415
 
27416
  def write(self, oprot):
27417
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27418
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27419
      return
27420
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_args')
27421
    if self.marketPlaceItem is not None:
27422
      oprot.writeFieldBegin('marketPlaceItem', TType.STRUCT, 1)
27423
      self.marketPlaceItem.write(oprot)
27424
      oprot.writeFieldEnd()
27425
    oprot.writeFieldStop()
27426
    oprot.writeStructEnd()
27427
 
27428
  def validate(self):
27429
    return
27430
 
27431
 
27432
  def __repr__(self):
27433
    L = ['%s=%r' % (key, value)
27434
      for key, value in self.__dict__.iteritems()]
27435
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27436
 
27437
  def __eq__(self, other):
27438
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27439
 
27440
  def __ne__(self, other):
27441
    return not (self == other)
27442
 
27443
class updateMarketplaceAttributesForItem_result:
27444
  """
27445
  Attributes:
27446
   - success
27447
  """
27448
 
27449
  thrift_spec = (
27450
    (0, TType.BOOL, 'success', None, None, ), # 0
27451
  )
27452
 
27453
  def __init__(self, success=None,):
27454
    self.success = success
27455
 
27456
  def read(self, iprot):
27457
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27458
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27459
      return
27460
    iprot.readStructBegin()
27461
    while True:
27462
      (fname, ftype, fid) = iprot.readFieldBegin()
27463
      if ftype == TType.STOP:
27464
        break
27465
      if fid == 0:
27466
        if ftype == TType.BOOL:
27467
          self.success = iprot.readBool();
27468
        else:
27469
          iprot.skip(ftype)
27470
      else:
27471
        iprot.skip(ftype)
27472
      iprot.readFieldEnd()
27473
    iprot.readStructEnd()
27474
 
27475
  def write(self, oprot):
27476
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27477
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27478
      return
27479
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_result')
27480
    if self.success is not None:
27481
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27482
      oprot.writeBool(self.success)
27483
      oprot.writeFieldEnd()
27484
    oprot.writeFieldStop()
27485
    oprot.writeStructEnd()
27486
 
27487
  def validate(self):
27488
    return
27489
 
27490
 
27491
  def __repr__(self):
27492
    L = ['%s=%r' % (key, value)
27493
      for key, value in self.__dict__.iteritems()]
27494
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27495
 
27496
  def __eq__(self, other):
27497
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27498
 
27499
  def __ne__(self, other):
27500
    return not (self == other)
9776 vikram.rag 27501
 
9779 kshitij.so 27502
class getCostingForMarketplace_args:
27503
  """
27504
  Attributes:
27505
   - source
27506
   - item_id
27507
  """
27508
 
27509
  thrift_spec = (
27510
    None, # 0
27511
    (1, TType.I64, 'source', None, None, ), # 1
27512
    (2, TType.I64, 'item_id', None, None, ), # 2
27513
  )
27514
 
27515
  def __init__(self, source=None, item_id=None,):
27516
    self.source = source
27517
    self.item_id = item_id
27518
 
27519
  def read(self, iprot):
27520
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27521
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27522
      return
27523
    iprot.readStructBegin()
27524
    while True:
27525
      (fname, ftype, fid) = iprot.readFieldBegin()
27526
      if ftype == TType.STOP:
27527
        break
27528
      if fid == 1:
27529
        if ftype == TType.I64:
27530
          self.source = iprot.readI64();
27531
        else:
27532
          iprot.skip(ftype)
27533
      elif fid == 2:
27534
        if ftype == TType.I64:
27535
          self.item_id = iprot.readI64();
27536
        else:
27537
          iprot.skip(ftype)
27538
      else:
27539
        iprot.skip(ftype)
27540
      iprot.readFieldEnd()
27541
    iprot.readStructEnd()
27542
 
27543
  def write(self, oprot):
27544
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27545
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27546
      return
27547
    oprot.writeStructBegin('getCostingForMarketplace_args')
27548
    if self.source is not None:
27549
      oprot.writeFieldBegin('source', TType.I64, 1)
27550
      oprot.writeI64(self.source)
27551
      oprot.writeFieldEnd()
27552
    if self.item_id is not None:
27553
      oprot.writeFieldBegin('item_id', TType.I64, 2)
27554
      oprot.writeI64(self.item_id)
27555
      oprot.writeFieldEnd()
27556
    oprot.writeFieldStop()
27557
    oprot.writeStructEnd()
27558
 
27559
  def validate(self):
27560
    return
27561
 
27562
 
27563
  def __repr__(self):
27564
    L = ['%s=%r' % (key, value)
27565
      for key, value in self.__dict__.iteritems()]
27566
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27567
 
27568
  def __eq__(self, other):
27569
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27570
 
27571
  def __ne__(self, other):
27572
    return not (self == other)
27573
 
27574
class getCostingForMarketplace_result:
27575
  """
27576
  Attributes:
27577
   - success
27578
  """
27579
 
27580
  thrift_spec = (
27581
    (0, TType.STRUCT, 'success', (MarketplacePercentage, MarketplacePercentage.thrift_spec), None, ), # 0
27582
  )
27583
 
27584
  def __init__(self, success=None,):
27585
    self.success = success
27586
 
27587
  def read(self, iprot):
27588
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27589
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27590
      return
27591
    iprot.readStructBegin()
27592
    while True:
27593
      (fname, ftype, fid) = iprot.readFieldBegin()
27594
      if ftype == TType.STOP:
27595
        break
27596
      if fid == 0:
27597
        if ftype == TType.STRUCT:
27598
          self.success = MarketplacePercentage()
27599
          self.success.read(iprot)
27600
        else:
27601
          iprot.skip(ftype)
27602
      else:
27603
        iprot.skip(ftype)
27604
      iprot.readFieldEnd()
27605
    iprot.readStructEnd()
27606
 
27607
  def write(self, oprot):
27608
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27609
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27610
      return
27611
    oprot.writeStructBegin('getCostingForMarketplace_result')
27612
    if self.success is not None:
27613
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27614
      self.success.write(oprot)
27615
      oprot.writeFieldEnd()
27616
    oprot.writeFieldStop()
27617
    oprot.writeStructEnd()
27618
 
27619
  def validate(self):
27620
    return
27621
 
27622
 
27623
  def __repr__(self):
27624
    L = ['%s=%r' % (key, value)
27625
      for key, value in self.__dict__.iteritems()]
27626
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27627
 
27628
  def __eq__(self, other):
27629
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27630
 
27631
  def __ne__(self, other):
27632
    return not (self == other)
27633
 
9776 vikram.rag 27634
class getMarketPlaceItemsForPriceUpdate_args:
27635
  """
27636
  Attributes:
27637
   - source
27638
  """
27639
 
27640
  thrift_spec = (
27641
    None, # 0
27642
    (1, TType.I64, 'source', None, None, ), # 1
27643
  )
27644
 
27645
  def __init__(self, source=None,):
27646
    self.source = source
27647
 
27648
  def read(self, iprot):
27649
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27650
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27651
      return
27652
    iprot.readStructBegin()
27653
    while True:
27654
      (fname, ftype, fid) = iprot.readFieldBegin()
27655
      if ftype == TType.STOP:
27656
        break
27657
      if fid == 1:
27658
        if ftype == TType.I64:
27659
          self.source = iprot.readI64();
27660
        else:
27661
          iprot.skip(ftype)
27662
      else:
27663
        iprot.skip(ftype)
27664
      iprot.readFieldEnd()
27665
    iprot.readStructEnd()
27666
 
27667
  def write(self, oprot):
27668
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27669
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27670
      return
27671
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_args')
27672
    if self.source is not None:
27673
      oprot.writeFieldBegin('source', TType.I64, 1)
27674
      oprot.writeI64(self.source)
27675
      oprot.writeFieldEnd()
27676
    oprot.writeFieldStop()
27677
    oprot.writeStructEnd()
27678
 
27679
  def validate(self):
27680
    return
27681
 
27682
 
27683
  def __repr__(self):
27684
    L = ['%s=%r' % (key, value)
27685
      for key, value in self.__dict__.iteritems()]
27686
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27687
 
27688
  def __eq__(self, other):
27689
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27690
 
27691
  def __ne__(self, other):
27692
    return not (self == other)
27693
 
27694
class getMarketPlaceItemsForPriceUpdate_result:
27695
  """
27696
  Attributes:
27697
   - success
27698
  """
27699
 
27700
  thrift_spec = (
27701
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketPlaceItemPrice, MarketPlaceItemPrice.thrift_spec)), None, ), # 0
27702
  )
27703
 
27704
  def __init__(self, success=None,):
27705
    self.success = success
27706
 
27707
  def read(self, iprot):
27708
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27709
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27710
      return
27711
    iprot.readStructBegin()
27712
    while True:
27713
      (fname, ftype, fid) = iprot.readFieldBegin()
27714
      if ftype == TType.STOP:
27715
        break
27716
      if fid == 0:
27717
        if ftype == TType.LIST:
27718
          self.success = []
13493 amit.gupta 27719
          (_etype583, _size580) = iprot.readListBegin()
27720
          for _i584 in xrange(_size580):
27721
            _elem585 = MarketPlaceItemPrice()
27722
            _elem585.read(iprot)
27723
            self.success.append(_elem585)
9776 vikram.rag 27724
          iprot.readListEnd()
27725
        else:
27726
          iprot.skip(ftype)
27727
      else:
27728
        iprot.skip(ftype)
27729
      iprot.readFieldEnd()
27730
    iprot.readStructEnd()
27731
 
27732
  def write(self, oprot):
27733
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27734
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27735
      return
27736
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_result')
27737
    if self.success is not None:
27738
      oprot.writeFieldBegin('success', TType.LIST, 0)
27739
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 27740
      for iter586 in self.success:
27741
        iter586.write(oprot)
9776 vikram.rag 27742
      oprot.writeListEnd()
27743
      oprot.writeFieldEnd()
27744
    oprot.writeFieldStop()
27745
    oprot.writeStructEnd()
27746
 
27747
  def validate(self):
27748
    return
27749
 
27750
 
27751
  def __repr__(self):
27752
    L = ['%s=%r' % (key, value)
27753
      for key, value in self.__dict__.iteritems()]
27754
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27755
 
27756
  def __eq__(self, other):
27757
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27758
 
27759
  def __ne__(self, other):
27760
    return not (self == other)
27761
 
27762
class updateMarketPlacePriceUpdateStatus_args:
27763
  """
27764
  Attributes:
27765
   - skulist
27766
   - timestamp
9816 kshitij.so 27767
   - source
9776 vikram.rag 27768
  """
27769
 
27770
  thrift_spec = (
27771
    None, # 0
27772
    (1, TType.LIST, 'skulist', (TType.I64,None), None, ), # 1
27773
    (2, TType.I64, 'timestamp', None, None, ), # 2
9816 kshitij.so 27774
    (3, TType.I64, 'source', None, None, ), # 3
9776 vikram.rag 27775
  )
27776
 
9816 kshitij.so 27777
  def __init__(self, skulist=None, timestamp=None, source=None,):
9776 vikram.rag 27778
    self.skulist = skulist
27779
    self.timestamp = timestamp
9816 kshitij.so 27780
    self.source = source
9776 vikram.rag 27781
 
27782
  def read(self, iprot):
27783
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27784
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27785
      return
27786
    iprot.readStructBegin()
27787
    while True:
27788
      (fname, ftype, fid) = iprot.readFieldBegin()
27789
      if ftype == TType.STOP:
27790
        break
27791
      if fid == 1:
27792
        if ftype == TType.LIST:
27793
          self.skulist = []
13493 amit.gupta 27794
          (_etype590, _size587) = iprot.readListBegin()
27795
          for _i591 in xrange(_size587):
27796
            _elem592 = iprot.readI64();
27797
            self.skulist.append(_elem592)
9776 vikram.rag 27798
          iprot.readListEnd()
27799
        else:
27800
          iprot.skip(ftype)
27801
      elif fid == 2:
27802
        if ftype == TType.I64:
27803
          self.timestamp = iprot.readI64();
27804
        else:
27805
          iprot.skip(ftype)
9816 kshitij.so 27806
      elif fid == 3:
27807
        if ftype == TType.I64:
27808
          self.source = iprot.readI64();
27809
        else:
27810
          iprot.skip(ftype)
9776 vikram.rag 27811
      else:
27812
        iprot.skip(ftype)
27813
      iprot.readFieldEnd()
27814
    iprot.readStructEnd()
27815
 
27816
  def write(self, oprot):
27817
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27818
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27819
      return
27820
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_args')
27821
    if self.skulist is not None:
27822
      oprot.writeFieldBegin('skulist', TType.LIST, 1)
27823
      oprot.writeListBegin(TType.I64, len(self.skulist))
13493 amit.gupta 27824
      for iter593 in self.skulist:
27825
        oprot.writeI64(iter593)
9776 vikram.rag 27826
      oprot.writeListEnd()
27827
      oprot.writeFieldEnd()
27828
    if self.timestamp is not None:
27829
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
27830
      oprot.writeI64(self.timestamp)
27831
      oprot.writeFieldEnd()
9816 kshitij.so 27832
    if self.source is not None:
27833
      oprot.writeFieldBegin('source', TType.I64, 3)
27834
      oprot.writeI64(self.source)
27835
      oprot.writeFieldEnd()
9776 vikram.rag 27836
    oprot.writeFieldStop()
27837
    oprot.writeStructEnd()
27838
 
27839
  def validate(self):
27840
    return
27841
 
27842
 
27843
  def __repr__(self):
27844
    L = ['%s=%r' % (key, value)
27845
      for key, value in self.__dict__.iteritems()]
27846
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27847
 
27848
  def __eq__(self, other):
27849
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27850
 
27851
  def __ne__(self, other):
27852
    return not (self == other)
27853
 
27854
class updateMarketPlacePriceUpdateStatus_result:
27855
 
27856
  thrift_spec = (
27857
  )
27858
 
27859
  def read(self, iprot):
27860
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27861
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27862
      return
27863
    iprot.readStructBegin()
27864
    while True:
27865
      (fname, ftype, fid) = iprot.readFieldBegin()
27866
      if ftype == TType.STOP:
27867
        break
27868
      else:
27869
        iprot.skip(ftype)
27870
      iprot.readFieldEnd()
27871
    iprot.readStructEnd()
27872
 
27873
  def write(self, oprot):
27874
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27875
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27876
      return
27877
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_result')
27878
    oprot.writeFieldStop()
27879
    oprot.writeStructEnd()
27880
 
27881
  def validate(self):
27882
    return
27883
 
27884
 
27885
  def __repr__(self):
27886
    L = ['%s=%r' % (key, value)
27887
      for key, value in self.__dict__.iteritems()]
27888
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27889
 
27890
  def __eq__(self, other):
27891
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27892
 
27893
  def __ne__(self, other):
27894
    return not (self == other)
9861 rajveer 27895
 
27896
class updateItemHoldInventory_args:
27897
  """
27898
  Attributes:
27899
   - itemHoldMap
27900
  """
27901
 
27902
  thrift_spec = (
27903
    None, # 0
27904
    (1, TType.MAP, 'itemHoldMap', (TType.I64,None,TType.I64,None), None, ), # 1
27905
  )
27906
 
27907
  def __init__(self, itemHoldMap=None,):
27908
    self.itemHoldMap = itemHoldMap
27909
 
27910
  def read(self, iprot):
27911
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27912
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27913
      return
27914
    iprot.readStructBegin()
27915
    while True:
27916
      (fname, ftype, fid) = iprot.readFieldBegin()
27917
      if ftype == TType.STOP:
27918
        break
27919
      if fid == 1:
27920
        if ftype == TType.MAP:
27921
          self.itemHoldMap = {}
13493 amit.gupta 27922
          (_ktype595, _vtype596, _size594 ) = iprot.readMapBegin() 
27923
          for _i598 in xrange(_size594):
27924
            _key599 = iprot.readI64();
27925
            _val600 = iprot.readI64();
27926
            self.itemHoldMap[_key599] = _val600
9861 rajveer 27927
          iprot.readMapEnd()
27928
        else:
27929
          iprot.skip(ftype)
27930
      else:
27931
        iprot.skip(ftype)
27932
      iprot.readFieldEnd()
27933
    iprot.readStructEnd()
27934
 
27935
  def write(self, oprot):
27936
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27937
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27938
      return
27939
    oprot.writeStructBegin('updateItemHoldInventory_args')
27940
    if self.itemHoldMap is not None:
27941
      oprot.writeFieldBegin('itemHoldMap', TType.MAP, 1)
27942
      oprot.writeMapBegin(TType.I64, TType.I64, len(self.itemHoldMap))
13493 amit.gupta 27943
      for kiter601,viter602 in self.itemHoldMap.items():
27944
        oprot.writeI64(kiter601)
27945
        oprot.writeI64(viter602)
9861 rajveer 27946
      oprot.writeMapEnd()
27947
      oprot.writeFieldEnd()
27948
    oprot.writeFieldStop()
27949
    oprot.writeStructEnd()
27950
 
27951
  def validate(self):
27952
    return
27953
 
27954
 
27955
  def __repr__(self):
27956
    L = ['%s=%r' % (key, value)
27957
      for key, value in self.__dict__.iteritems()]
27958
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27959
 
27960
  def __eq__(self, other):
27961
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27962
 
27963
  def __ne__(self, other):
27964
    return not (self == other)
27965
 
27966
class updateItemHoldInventory_result:
27967
 
27968
  thrift_spec = (
27969
  )
27970
 
27971
  def read(self, iprot):
27972
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27973
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27974
      return
27975
    iprot.readStructBegin()
27976
    while True:
27977
      (fname, ftype, fid) = iprot.readFieldBegin()
27978
      if ftype == TType.STOP:
27979
        break
27980
      else:
27981
        iprot.skip(ftype)
27982
      iprot.readFieldEnd()
27983
    iprot.readStructEnd()
27984
 
27985
  def write(self, oprot):
27986
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27987
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27988
      return
27989
    oprot.writeStructBegin('updateItemHoldInventory_result')
27990
    oprot.writeFieldStop()
27991
    oprot.writeStructEnd()
27992
 
27993
  def validate(self):
27994
    return
27995
 
27996
 
27997
  def __repr__(self):
27998
    L = ['%s=%r' % (key, value)
27999
      for key, value in self.__dict__.iteritems()]
28000
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28001
 
28002
  def __eq__(self, other):
28003
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28004
 
28005
  def __ne__(self, other):
28006
    return not (self == other)
9895 vikram.rag 28007
 
28008
class updateNlcAtMarketplaces_args:
28009
  """
28010
  Attributes:
28011
   - item_id
28012
   - vendor_id
28013
   - nlc
28014
  """
28015
 
28016
  thrift_spec = None
28017
  def __init__(self, item_id=None, vendor_id=None, nlc=None,):
28018
    self.item_id = item_id
28019
    self.vendor_id = vendor_id
28020
    self.nlc = nlc
28021
 
28022
  def read(self, iprot):
28023
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28024
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28025
      return
28026
    iprot.readStructBegin()
28027
    while True:
28028
      (fname, ftype, fid) = iprot.readFieldBegin()
28029
      if ftype == TType.STOP:
28030
        break
28031
      if fid == 1:
28032
        if ftype == TType.I64:
28033
          self.item_id = iprot.readI64();
28034
        else:
28035
          iprot.skip(ftype)
28036
      elif fid == 2:
28037
        if ftype == TType.I64:
28038
          self.vendor_id = iprot.readI64();
28039
        else:
28040
          iprot.skip(ftype)
28041
      elif fid == -1:
28042
        if ftype == TType.DOUBLE:
28043
          self.nlc = iprot.readDouble();
28044
        else:
28045
          iprot.skip(ftype)
28046
      else:
28047
        iprot.skip(ftype)
28048
      iprot.readFieldEnd()
28049
    iprot.readStructEnd()
28050
 
28051
  def write(self, oprot):
28052
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28053
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28054
      return
28055
    oprot.writeStructBegin('updateNlcAtMarketplaces_args')
28056
    if self.nlc is not None:
28057
      oprot.writeFieldBegin('nlc', TType.DOUBLE, -1)
28058
      oprot.writeDouble(self.nlc)
28059
      oprot.writeFieldEnd()
28060
    if self.item_id is not None:
28061
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28062
      oprot.writeI64(self.item_id)
28063
      oprot.writeFieldEnd()
28064
    if self.vendor_id is not None:
28065
      oprot.writeFieldBegin('vendor_id', TType.I64, 2)
28066
      oprot.writeI64(self.vendor_id)
28067
      oprot.writeFieldEnd()
28068
    oprot.writeFieldStop()
28069
    oprot.writeStructEnd()
28070
 
28071
  def validate(self):
28072
    return
28073
 
28074
 
28075
  def __repr__(self):
28076
    L = ['%s=%r' % (key, value)
28077
      for key, value in self.__dict__.iteritems()]
28078
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28079
 
28080
  def __eq__(self, other):
28081
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28082
 
28083
  def __ne__(self, other):
28084
    return not (self == other)
28085
 
28086
class updateNlcAtMarketplaces_result:
28087
 
28088
  thrift_spec = (
28089
  )
28090
 
28091
  def read(self, iprot):
28092
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28093
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28094
      return
28095
    iprot.readStructBegin()
28096
    while True:
28097
      (fname, ftype, fid) = iprot.readFieldBegin()
28098
      if ftype == TType.STOP:
28099
        break
28100
      else:
28101
        iprot.skip(ftype)
28102
      iprot.readFieldEnd()
28103
    iprot.readStructEnd()
28104
 
28105
  def write(self, oprot):
28106
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28107
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28108
      return
28109
    oprot.writeStructBegin('updateNlcAtMarketplaces_result')
28110
    oprot.writeFieldStop()
28111
    oprot.writeStructEnd()
28112
 
28113
  def validate(self):
28114
    return
28115
 
28116
 
28117
  def __repr__(self):
28118
    L = ['%s=%r' % (key, value)
28119
      for key, value in self.__dict__.iteritems()]
28120
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28121
 
28122
  def __eq__(self, other):
28123
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28124
 
28125
  def __ne__(self, other):
28126
    return not (self == other)
9945 vikram.rag 28127
 
28128
class getAllFlipkartItems_args:
28129
 
28130
  thrift_spec = (
28131
  )
28132
 
28133
  def read(self, iprot):
28134
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28135
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28136
      return
28137
    iprot.readStructBegin()
28138
    while True:
28139
      (fname, ftype, fid) = iprot.readFieldBegin()
28140
      if ftype == TType.STOP:
28141
        break
28142
      else:
28143
        iprot.skip(ftype)
28144
      iprot.readFieldEnd()
28145
    iprot.readStructEnd()
28146
 
28147
  def write(self, oprot):
28148
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28149
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28150
      return
28151
    oprot.writeStructBegin('getAllFlipkartItems_args')
28152
    oprot.writeFieldStop()
28153
    oprot.writeStructEnd()
28154
 
28155
  def validate(self):
28156
    return
28157
 
28158
 
28159
  def __repr__(self):
28160
    L = ['%s=%r' % (key, value)
28161
      for key, value in self.__dict__.iteritems()]
28162
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28163
 
28164
  def __eq__(self, other):
28165
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28166
 
28167
  def __ne__(self, other):
28168
    return not (self == other)
28169
 
28170
class getAllFlipkartItems_result:
28171
  """
28172
  Attributes:
28173
   - success
28174
  """
28175
 
28176
  thrift_spec = (
28177
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
28178
  )
28179
 
28180
  def __init__(self, success=None,):
28181
    self.success = success
28182
 
28183
  def read(self, iprot):
28184
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28185
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28186
      return
28187
    iprot.readStructBegin()
28188
    while True:
28189
      (fname, ftype, fid) = iprot.readFieldBegin()
28190
      if ftype == TType.STOP:
28191
        break
28192
      if fid == 0:
28193
        if ftype == TType.LIST:
28194
          self.success = []
13493 amit.gupta 28195
          (_etype606, _size603) = iprot.readListBegin()
28196
          for _i607 in xrange(_size603):
28197
            _elem608 = FlipkartItem()
28198
            _elem608.read(iprot)
28199
            self.success.append(_elem608)
9945 vikram.rag 28200
          iprot.readListEnd()
28201
        else:
28202
          iprot.skip(ftype)
28203
      else:
28204
        iprot.skip(ftype)
28205
      iprot.readFieldEnd()
28206
    iprot.readStructEnd()
28207
 
28208
  def write(self, oprot):
28209
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28210
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28211
      return
28212
    oprot.writeStructBegin('getAllFlipkartItems_result')
28213
    if self.success is not None:
28214
      oprot.writeFieldBegin('success', TType.LIST, 0)
28215
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 28216
      for iter609 in self.success:
28217
        iter609.write(oprot)
9945 vikram.rag 28218
      oprot.writeListEnd()
28219
      oprot.writeFieldEnd()
28220
    oprot.writeFieldStop()
28221
    oprot.writeStructEnd()
28222
 
28223
  def validate(self):
28224
    return
28225
 
28226
 
28227
  def __repr__(self):
28228
    L = ['%s=%r' % (key, value)
28229
      for key, value in self.__dict__.iteritems()]
28230
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28231
 
28232
  def __eq__(self, other):
28233
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28234
 
28235
  def __ne__(self, other):
28236
    return not (self == other)
10097 kshitij.so 28237
 
28238
class addOrUpdateFlipkartItem_args:
28239
  """
28240
  Attributes:
28241
   - flipkartitem
28242
  """
28243
 
28244
  thrift_spec = None
28245
  def __init__(self, flipkartitem=None,):
28246
    self.flipkartitem = flipkartitem
28247
 
28248
  def read(self, iprot):
28249
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28250
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28251
      return
28252
    iprot.readStructBegin()
28253
    while True:
28254
      (fname, ftype, fid) = iprot.readFieldBegin()
28255
      if ftype == TType.STOP:
28256
        break
28257
      if fid == -1:
28258
        if ftype == TType.STRUCT:
28259
          self.flipkartitem = FlipkartItem()
28260
          self.flipkartitem.read(iprot)
28261
        else:
28262
          iprot.skip(ftype)
28263
      else:
28264
        iprot.skip(ftype)
28265
      iprot.readFieldEnd()
28266
    iprot.readStructEnd()
28267
 
28268
  def write(self, oprot):
28269
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28270
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28271
      return
28272
    oprot.writeStructBegin('addOrUpdateFlipkartItem_args')
28273
    if self.flipkartitem is not None:
28274
      oprot.writeFieldBegin('flipkartitem', TType.STRUCT, -1)
28275
      self.flipkartitem.write(oprot)
28276
      oprot.writeFieldEnd()
28277
    oprot.writeFieldStop()
28278
    oprot.writeStructEnd()
28279
 
28280
  def validate(self):
28281
    return
28282
 
28283
 
28284
  def __repr__(self):
28285
    L = ['%s=%r' % (key, value)
28286
      for key, value in self.__dict__.iteritems()]
28287
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28288
 
28289
  def __eq__(self, other):
28290
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28291
 
28292
  def __ne__(self, other):
28293
    return not (self == other)
28294
 
28295
class addOrUpdateFlipkartItem_result:
28296
  """
28297
  Attributes:
28298
   - success
28299
  """
28300
 
28301
  thrift_spec = (
28302
    (0, TType.BOOL, 'success', None, None, ), # 0
28303
  )
28304
 
28305
  def __init__(self, success=None,):
28306
    self.success = success
28307
 
28308
  def read(self, iprot):
28309
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28310
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28311
      return
28312
    iprot.readStructBegin()
28313
    while True:
28314
      (fname, ftype, fid) = iprot.readFieldBegin()
28315
      if ftype == TType.STOP:
28316
        break
28317
      if fid == 0:
28318
        if ftype == TType.BOOL:
28319
          self.success = iprot.readBool();
28320
        else:
28321
          iprot.skip(ftype)
28322
      else:
28323
        iprot.skip(ftype)
28324
      iprot.readFieldEnd()
28325
    iprot.readStructEnd()
28326
 
28327
  def write(self, oprot):
28328
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28329
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28330
      return
28331
    oprot.writeStructBegin('addOrUpdateFlipkartItem_result')
28332
    if self.success is not None:
28333
      oprot.writeFieldBegin('success', TType.BOOL, 0)
28334
      oprot.writeBool(self.success)
28335
      oprot.writeFieldEnd()
28336
    oprot.writeFieldStop()
28337
    oprot.writeStructEnd()
28338
 
28339
  def validate(self):
28340
    return
28341
 
28342
 
28343
  def __repr__(self):
28344
    L = ['%s=%r' % (key, value)
28345
      for key, value in self.__dict__.iteritems()]
28346
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28347
 
28348
  def __eq__(self, other):
28349
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28350
 
28351
  def __ne__(self, other):
28352
    return not (self == other)
28353
 
28354
class getFlipkartItem_args:
28355
  """
28356
  Attributes:
28357
   - item_id
28358
  """
28359
 
28360
  thrift_spec = (
28361
    None, # 0
28362
    (1, TType.I64, 'item_id', None, None, ), # 1
28363
  )
28364
 
28365
  def __init__(self, item_id=None,):
28366
    self.item_id = item_id
28367
 
28368
  def read(self, iprot):
28369
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28370
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28371
      return
28372
    iprot.readStructBegin()
28373
    while True:
28374
      (fname, ftype, fid) = iprot.readFieldBegin()
28375
      if ftype == TType.STOP:
28376
        break
28377
      if fid == 1:
28378
        if ftype == TType.I64:
28379
          self.item_id = iprot.readI64();
28380
        else:
28381
          iprot.skip(ftype)
28382
      else:
28383
        iprot.skip(ftype)
28384
      iprot.readFieldEnd()
28385
    iprot.readStructEnd()
28386
 
28387
  def write(self, oprot):
28388
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28389
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28390
      return
28391
    oprot.writeStructBegin('getFlipkartItem_args')
28392
    if self.item_id is not None:
28393
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28394
      oprot.writeI64(self.item_id)
28395
      oprot.writeFieldEnd()
28396
    oprot.writeFieldStop()
28397
    oprot.writeStructEnd()
28398
 
28399
  def validate(self):
28400
    return
28401
 
28402
 
28403
  def __repr__(self):
28404
    L = ['%s=%r' % (key, value)
28405
      for key, value in self.__dict__.iteritems()]
28406
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28407
 
28408
  def __eq__(self, other):
28409
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28410
 
28411
  def __ne__(self, other):
28412
    return not (self == other)
28413
 
28414
class getFlipkartItem_result:
28415
  """
28416
  Attributes:
28417
   - success
28418
  """
28419
 
28420
  thrift_spec = (
28421
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
28422
  )
28423
 
28424
  def __init__(self, success=None,):
28425
    self.success = success
28426
 
28427
  def read(self, iprot):
28428
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28429
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28430
      return
28431
    iprot.readStructBegin()
28432
    while True:
28433
      (fname, ftype, fid) = iprot.readFieldBegin()
28434
      if ftype == TType.STOP:
28435
        break
28436
      if fid == 0:
28437
        if ftype == TType.STRUCT:
28438
          self.success = FlipkartItem()
28439
          self.success.read(iprot)
28440
        else:
28441
          iprot.skip(ftype)
28442
      else:
28443
        iprot.skip(ftype)
28444
      iprot.readFieldEnd()
28445
    iprot.readStructEnd()
28446
 
28447
  def write(self, oprot):
28448
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28449
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28450
      return
28451
    oprot.writeStructBegin('getFlipkartItem_result')
28452
    if self.success is not None:
28453
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28454
      self.success.write(oprot)
28455
      oprot.writeFieldEnd()
28456
    oprot.writeFieldStop()
28457
    oprot.writeStructEnd()
28458
 
28459
  def validate(self):
28460
    return
28461
 
28462
 
28463
  def __repr__(self):
28464
    L = ['%s=%r' % (key, value)
28465
      for key, value in self.__dict__.iteritems()]
28466
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28467
 
28468
  def __eq__(self, other):
28469
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28470
 
28471
  def __ne__(self, other):
28472
    return not (self == other)
28473
 
28474
class getFlipkartItemDetails_args:
28475
  """
28476
  Attributes:
28477
   - item_id
28478
  """
28479
 
28480
  thrift_spec = (
28481
    None, # 0
28482
    (1, TType.I64, 'item_id', None, None, ), # 1
28483
  )
28484
 
28485
  def __init__(self, item_id=None,):
28486
    self.item_id = item_id
28487
 
28488
  def read(self, iprot):
28489
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28490
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28491
      return
28492
    iprot.readStructBegin()
28493
    while True:
28494
      (fname, ftype, fid) = iprot.readFieldBegin()
28495
      if ftype == TType.STOP:
28496
        break
28497
      if fid == 1:
28498
        if ftype == TType.I64:
28499
          self.item_id = iprot.readI64();
28500
        else:
28501
          iprot.skip(ftype)
28502
      else:
28503
        iprot.skip(ftype)
28504
      iprot.readFieldEnd()
28505
    iprot.readStructEnd()
28506
 
28507
  def write(self, oprot):
28508
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28509
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28510
      return
28511
    oprot.writeStructBegin('getFlipkartItemDetails_args')
28512
    if self.item_id is not None:
28513
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28514
      oprot.writeI64(self.item_id)
28515
      oprot.writeFieldEnd()
28516
    oprot.writeFieldStop()
28517
    oprot.writeStructEnd()
28518
 
28519
  def validate(self):
28520
    return
28521
 
28522
 
28523
  def __repr__(self):
28524
    L = ['%s=%r' % (key, value)
28525
      for key, value in self.__dict__.iteritems()]
28526
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28527
 
28528
  def __eq__(self, other):
28529
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28530
 
28531
  def __ne__(self, other):
28532
    return not (self == other)
28533
 
28534
class getFlipkartItemDetails_result:
28535
  """
28536
  Attributes:
28537
   - success
28538
  """
28539
 
28540
  thrift_spec = (
28541
    (0, TType.STRUCT, 'success', (FlipkartItemDetails, FlipkartItemDetails.thrift_spec), None, ), # 0
28542
  )
28543
 
28544
  def __init__(self, success=None,):
28545
    self.success = success
28546
 
28547
  def read(self, iprot):
28548
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28549
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28550
      return
28551
    iprot.readStructBegin()
28552
    while True:
28553
      (fname, ftype, fid) = iprot.readFieldBegin()
28554
      if ftype == TType.STOP:
28555
        break
28556
      if fid == 0:
28557
        if ftype == TType.STRUCT:
28558
          self.success = FlipkartItemDetails()
28559
          self.success.read(iprot)
28560
        else:
28561
          iprot.skip(ftype)
28562
      else:
28563
        iprot.skip(ftype)
28564
      iprot.readFieldEnd()
28565
    iprot.readStructEnd()
28566
 
28567
  def write(self, oprot):
28568
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28569
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28570
      return
28571
    oprot.writeStructBegin('getFlipkartItemDetails_result')
28572
    if self.success is not None:
28573
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28574
      self.success.write(oprot)
28575
      oprot.writeFieldEnd()
28576
    oprot.writeFieldStop()
28577
    oprot.writeStructEnd()
28578
 
28579
  def validate(self):
28580
    return
28581
 
28582
 
28583
  def __repr__(self):
28584
    L = ['%s=%r' % (key, value)
28585
      for key, value in self.__dict__.iteritems()]
28586
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28587
 
28588
  def __eq__(self, other):
28589
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28590
 
28591
  def __ne__(self, other):
28592
    return not (self == other)
28593
 
28594
class getFlipkartItems_args:
28595
  """
28596
  Attributes:
28597
   - offset
28598
   - limit
28599
  """
28600
 
28601
  thrift_spec = (
28602
    None, # 0
28603
    (1, TType.I64, 'offset', None, None, ), # 1
28604
    (2, TType.I64, 'limit', None, None, ), # 2
28605
  )
28606
 
28607
  def __init__(self, offset=None, limit=None,):
28608
    self.offset = offset
28609
    self.limit = limit
28610
 
28611
  def read(self, iprot):
28612
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28613
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28614
      return
28615
    iprot.readStructBegin()
28616
    while True:
28617
      (fname, ftype, fid) = iprot.readFieldBegin()
28618
      if ftype == TType.STOP:
28619
        break
28620
      if fid == 1:
28621
        if ftype == TType.I64:
28622
          self.offset = iprot.readI64();
28623
        else:
28624
          iprot.skip(ftype)
28625
      elif fid == 2:
28626
        if ftype == TType.I64:
28627
          self.limit = iprot.readI64();
28628
        else:
28629
          iprot.skip(ftype)
28630
      else:
28631
        iprot.skip(ftype)
28632
      iprot.readFieldEnd()
28633
    iprot.readStructEnd()
28634
 
28635
  def write(self, oprot):
28636
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28637
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28638
      return
28639
    oprot.writeStructBegin('getFlipkartItems_args')
28640
    if self.offset is not None:
28641
      oprot.writeFieldBegin('offset', TType.I64, 1)
28642
      oprot.writeI64(self.offset)
28643
      oprot.writeFieldEnd()
28644
    if self.limit is not None:
28645
      oprot.writeFieldBegin('limit', TType.I64, 2)
28646
      oprot.writeI64(self.limit)
28647
      oprot.writeFieldEnd()
28648
    oprot.writeFieldStop()
28649
    oprot.writeStructEnd()
28650
 
28651
  def validate(self):
28652
    return
28653
 
28654
 
28655
  def __repr__(self):
28656
    L = ['%s=%r' % (key, value)
28657
      for key, value in self.__dict__.iteritems()]
28658
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28659
 
28660
  def __eq__(self, other):
28661
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28662
 
28663
  def __ne__(self, other):
28664
    return not (self == other)
28665
 
28666
class getFlipkartItems_result:
28667
  """
28668
  Attributes:
28669
   - success
28670
  """
28671
 
28672
  thrift_spec = (
28673
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
28674
  )
28675
 
28676
  def __init__(self, success=None,):
28677
    self.success = success
28678
 
28679
  def read(self, iprot):
28680
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28681
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28682
      return
28683
    iprot.readStructBegin()
28684
    while True:
28685
      (fname, ftype, fid) = iprot.readFieldBegin()
28686
      if ftype == TType.STOP:
28687
        break
28688
      if fid == 0:
28689
        if ftype == TType.LIST:
28690
          self.success = []
13493 amit.gupta 28691
          (_etype613, _size610) = iprot.readListBegin()
28692
          for _i614 in xrange(_size610):
28693
            _elem615 = FlipkartItemDetails()
28694
            _elem615.read(iprot)
28695
            self.success.append(_elem615)
10097 kshitij.so 28696
          iprot.readListEnd()
28697
        else:
28698
          iprot.skip(ftype)
28699
      else:
28700
        iprot.skip(ftype)
28701
      iprot.readFieldEnd()
28702
    iprot.readStructEnd()
28703
 
28704
  def write(self, oprot):
28705
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28706
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28707
      return
28708
    oprot.writeStructBegin('getFlipkartItems_result')
28709
    if self.success is not None:
28710
      oprot.writeFieldBegin('success', TType.LIST, 0)
28711
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 28712
      for iter616 in self.success:
28713
        iter616.write(oprot)
10097 kshitij.so 28714
      oprot.writeListEnd()
28715
      oprot.writeFieldEnd()
28716
    oprot.writeFieldStop()
28717
    oprot.writeStructEnd()
28718
 
28719
  def validate(self):
28720
    return
28721
 
28722
 
28723
  def __repr__(self):
28724
    L = ['%s=%r' % (key, value)
28725
      for key, value in self.__dict__.iteritems()]
28726
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28727
 
28728
  def __eq__(self, other):
28729
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28730
 
28731
  def __ne__(self, other):
28732
    return not (self == other)
28733
 
28734
class searchFlipkartItems_args:
28735
  """
28736
  Attributes:
28737
   - searchTerm
28738
   - offset
28739
   - limit
28740
  """
28741
 
28742
  thrift_spec = (
28743
    None, # 0
28744
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
28745
    (2, TType.I64, 'offset', None, None, ), # 2
28746
    (3, TType.I64, 'limit', None, None, ), # 3
28747
  )
28748
 
28749
  def __init__(self, searchTerm=None, offset=None, limit=None,):
28750
    self.searchTerm = searchTerm
28751
    self.offset = offset
28752
    self.limit = limit
28753
 
28754
  def read(self, iprot):
28755
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28756
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28757
      return
28758
    iprot.readStructBegin()
28759
    while True:
28760
      (fname, ftype, fid) = iprot.readFieldBegin()
28761
      if ftype == TType.STOP:
28762
        break
28763
      if fid == 1:
28764
        if ftype == TType.LIST:
28765
          self.searchTerm = []
13493 amit.gupta 28766
          (_etype620, _size617) = iprot.readListBegin()
28767
          for _i621 in xrange(_size617):
28768
            _elem622 = iprot.readString();
28769
            self.searchTerm.append(_elem622)
10097 kshitij.so 28770
          iprot.readListEnd()
28771
        else:
28772
          iprot.skip(ftype)
28773
      elif fid == 2:
28774
        if ftype == TType.I64:
28775
          self.offset = iprot.readI64();
28776
        else:
28777
          iprot.skip(ftype)
28778
      elif fid == 3:
28779
        if ftype == TType.I64:
28780
          self.limit = iprot.readI64();
28781
        else:
28782
          iprot.skip(ftype)
28783
      else:
28784
        iprot.skip(ftype)
28785
      iprot.readFieldEnd()
28786
    iprot.readStructEnd()
28787
 
28788
  def write(self, oprot):
28789
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28790
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28791
      return
28792
    oprot.writeStructBegin('searchFlipkartItems_args')
28793
    if self.searchTerm is not None:
28794
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
28795
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 28796
      for iter623 in self.searchTerm:
28797
        oprot.writeString(iter623)
10097 kshitij.so 28798
      oprot.writeListEnd()
28799
      oprot.writeFieldEnd()
28800
    if self.offset is not None:
28801
      oprot.writeFieldBegin('offset', TType.I64, 2)
28802
      oprot.writeI64(self.offset)
28803
      oprot.writeFieldEnd()
28804
    if self.limit is not None:
28805
      oprot.writeFieldBegin('limit', TType.I64, 3)
28806
      oprot.writeI64(self.limit)
28807
      oprot.writeFieldEnd()
28808
    oprot.writeFieldStop()
28809
    oprot.writeStructEnd()
28810
 
28811
  def validate(self):
28812
    return
28813
 
28814
 
28815
  def __repr__(self):
28816
    L = ['%s=%r' % (key, value)
28817
      for key, value in self.__dict__.iteritems()]
28818
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28819
 
28820
  def __eq__(self, other):
28821
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28822
 
28823
  def __ne__(self, other):
28824
    return not (self == other)
28825
 
28826
class searchFlipkartItems_result:
28827
  """
28828
  Attributes:
28829
   - success
28830
  """
28831
 
28832
  thrift_spec = (
28833
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
28834
  )
28835
 
28836
  def __init__(self, success=None,):
28837
    self.success = success
28838
 
28839
  def read(self, iprot):
28840
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28841
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28842
      return
28843
    iprot.readStructBegin()
28844
    while True:
28845
      (fname, ftype, fid) = iprot.readFieldBegin()
28846
      if ftype == TType.STOP:
28847
        break
28848
      if fid == 0:
28849
        if ftype == TType.LIST:
28850
          self.success = []
13493 amit.gupta 28851
          (_etype627, _size624) = iprot.readListBegin()
28852
          for _i628 in xrange(_size624):
28853
            _elem629 = FlipkartItemDetails()
28854
            _elem629.read(iprot)
28855
            self.success.append(_elem629)
10097 kshitij.so 28856
          iprot.readListEnd()
28857
        else:
28858
          iprot.skip(ftype)
28859
      else:
28860
        iprot.skip(ftype)
28861
      iprot.readFieldEnd()
28862
    iprot.readStructEnd()
28863
 
28864
  def write(self, oprot):
28865
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28866
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28867
      return
28868
    oprot.writeStructBegin('searchFlipkartItems_result')
28869
    if self.success is not None:
28870
      oprot.writeFieldBegin('success', TType.LIST, 0)
28871
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 28872
      for iter630 in self.success:
28873
        iter630.write(oprot)
10097 kshitij.so 28874
      oprot.writeListEnd()
28875
      oprot.writeFieldEnd()
28876
    oprot.writeFieldStop()
28877
    oprot.writeStructEnd()
28878
 
28879
  def validate(self):
28880
    return
28881
 
28882
 
28883
  def __repr__(self):
28884
    L = ['%s=%r' % (key, value)
28885
      for key, value in self.__dict__.iteritems()]
28886
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28887
 
28888
  def __eq__(self, other):
28889
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28890
 
28891
  def __ne__(self, other):
28892
    return not (self == other)
28893
 
28894
class getCountForFlipkartItems_args:
28895
 
28896
  thrift_spec = (
28897
  )
28898
 
28899
  def read(self, iprot):
28900
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28901
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28902
      return
28903
    iprot.readStructBegin()
28904
    while True:
28905
      (fname, ftype, fid) = iprot.readFieldBegin()
28906
      if ftype == TType.STOP:
28907
        break
28908
      else:
28909
        iprot.skip(ftype)
28910
      iprot.readFieldEnd()
28911
    iprot.readStructEnd()
28912
 
28913
  def write(self, oprot):
28914
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28915
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28916
      return
28917
    oprot.writeStructBegin('getCountForFlipkartItems_args')
28918
    oprot.writeFieldStop()
28919
    oprot.writeStructEnd()
28920
 
28921
  def validate(self):
28922
    return
28923
 
28924
 
28925
  def __repr__(self):
28926
    L = ['%s=%r' % (key, value)
28927
      for key, value in self.__dict__.iteritems()]
28928
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28929
 
28930
  def __eq__(self, other):
28931
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28932
 
28933
  def __ne__(self, other):
28934
    return not (self == other)
28935
 
28936
class getCountForFlipkartItems_result:
28937
  """
28938
  Attributes:
28939
   - success
28940
  """
28941
 
28942
  thrift_spec = (
28943
    (0, TType.I64, 'success', None, None, ), # 0
28944
  )
28945
 
28946
  def __init__(self, success=None,):
28947
    self.success = success
28948
 
28949
  def read(self, iprot):
28950
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28951
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28952
      return
28953
    iprot.readStructBegin()
28954
    while True:
28955
      (fname, ftype, fid) = iprot.readFieldBegin()
28956
      if ftype == TType.STOP:
28957
        break
28958
      if fid == 0:
28959
        if ftype == TType.I64:
28960
          self.success = iprot.readI64();
28961
        else:
28962
          iprot.skip(ftype)
28963
      else:
28964
        iprot.skip(ftype)
28965
      iprot.readFieldEnd()
28966
    iprot.readStructEnd()
28967
 
28968
  def write(self, oprot):
28969
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28970
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28971
      return
28972
    oprot.writeStructBegin('getCountForFlipkartItems_result')
28973
    if self.success is not None:
28974
      oprot.writeFieldBegin('success', TType.I64, 0)
28975
      oprot.writeI64(self.success)
28976
      oprot.writeFieldEnd()
28977
    oprot.writeFieldStop()
28978
    oprot.writeStructEnd()
28979
 
28980
  def validate(self):
28981
    return
28982
 
28983
 
28984
  def __repr__(self):
28985
    L = ['%s=%r' % (key, value)
28986
      for key, value in self.__dict__.iteritems()]
28987
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28988
 
28989
  def __eq__(self, other):
28990
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28991
 
28992
  def __ne__(self, other):
28993
    return not (self == other)
28994
 
28995
class getFlipkartSearchResultCount_args:
28996
  """
28997
  Attributes:
28998
   - searchTerm
28999
  """
29000
 
29001
  thrift_spec = (
29002
    None, # 0
29003
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
29004
  )
29005
 
29006
  def __init__(self, searchTerm=None,):
29007
    self.searchTerm = searchTerm
29008
 
29009
  def read(self, iprot):
29010
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29011
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29012
      return
29013
    iprot.readStructBegin()
29014
    while True:
29015
      (fname, ftype, fid) = iprot.readFieldBegin()
29016
      if ftype == TType.STOP:
29017
        break
29018
      if fid == 1:
29019
        if ftype == TType.LIST:
29020
          self.searchTerm = []
13493 amit.gupta 29021
          (_etype634, _size631) = iprot.readListBegin()
29022
          for _i635 in xrange(_size631):
29023
            _elem636 = iprot.readString();
29024
            self.searchTerm.append(_elem636)
10097 kshitij.so 29025
          iprot.readListEnd()
29026
        else:
29027
          iprot.skip(ftype)
29028
      else:
29029
        iprot.skip(ftype)
29030
      iprot.readFieldEnd()
29031
    iprot.readStructEnd()
29032
 
29033
  def write(self, oprot):
29034
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29035
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29036
      return
29037
    oprot.writeStructBegin('getFlipkartSearchResultCount_args')
29038
    if self.searchTerm is not None:
29039
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
29040
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 29041
      for iter637 in self.searchTerm:
29042
        oprot.writeString(iter637)
10097 kshitij.so 29043
      oprot.writeListEnd()
29044
      oprot.writeFieldEnd()
29045
    oprot.writeFieldStop()
29046
    oprot.writeStructEnd()
29047
 
29048
  def validate(self):
29049
    return
29050
 
29051
 
29052
  def __repr__(self):
29053
    L = ['%s=%r' % (key, value)
29054
      for key, value in self.__dict__.iteritems()]
29055
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29056
 
29057
  def __eq__(self, other):
29058
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29059
 
29060
  def __ne__(self, other):
29061
    return not (self == other)
29062
 
29063
class getFlipkartSearchResultCount_result:
29064
  """
29065
  Attributes:
29066
   - success
29067
  """
29068
 
29069
  thrift_spec = (
29070
    (0, TType.I64, 'success', None, None, ), # 0
29071
  )
29072
 
29073
  def __init__(self, success=None,):
29074
    self.success = success
29075
 
29076
  def read(self, iprot):
29077
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29078
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29079
      return
29080
    iprot.readStructBegin()
29081
    while True:
29082
      (fname, ftype, fid) = iprot.readFieldBegin()
29083
      if ftype == TType.STOP:
29084
        break
29085
      if fid == 0:
29086
        if ftype == TType.I64:
29087
          self.success = iprot.readI64();
29088
        else:
29089
          iprot.skip(ftype)
29090
      else:
29091
        iprot.skip(ftype)
29092
      iprot.readFieldEnd()
29093
    iprot.readStructEnd()
29094
 
29095
  def write(self, oprot):
29096
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29097
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29098
      return
29099
    oprot.writeStructBegin('getFlipkartSearchResultCount_result')
29100
    if self.success is not None:
29101
      oprot.writeFieldBegin('success', TType.I64, 0)
29102
      oprot.writeI64(self.success)
29103
      oprot.writeFieldEnd()
29104
    oprot.writeFieldStop()
29105
    oprot.writeStructEnd()
29106
 
29107
  def validate(self):
29108
    return
29109
 
29110
 
29111
  def __repr__(self):
29112
    L = ['%s=%r' % (key, value)
29113
      for key, value in self.__dict__.iteritems()]
29114
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29115
 
29116
  def __eq__(self, other):
29117
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29118
 
29119
  def __ne__(self, other):
29120
    return not (self == other)
29121
 
29122
class getAllFkItems_args:
29123
 
29124
  thrift_spec = (
29125
  )
29126
 
29127
  def read(self, iprot):
29128
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29129
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29130
      return
29131
    iprot.readStructBegin()
29132
    while True:
29133
      (fname, ftype, fid) = iprot.readFieldBegin()
29134
      if ftype == TType.STOP:
29135
        break
29136
      else:
29137
        iprot.skip(ftype)
29138
      iprot.readFieldEnd()
29139
    iprot.readStructEnd()
29140
 
29141
  def write(self, oprot):
29142
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29143
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29144
      return
29145
    oprot.writeStructBegin('getAllFkItems_args')
29146
    oprot.writeFieldStop()
29147
    oprot.writeStructEnd()
29148
 
29149
  def validate(self):
29150
    return
29151
 
29152
 
29153
  def __repr__(self):
29154
    L = ['%s=%r' % (key, value)
29155
      for key, value in self.__dict__.iteritems()]
29156
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29157
 
29158
  def __eq__(self, other):
29159
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29160
 
29161
  def __ne__(self, other):
29162
    return not (self == other)
29163
 
29164
class getAllFkItems_result:
29165
  """
29166
  Attributes:
29167
   - success
29168
  """
29169
 
29170
  thrift_spec = (
29171
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
29172
  )
29173
 
29174
  def __init__(self, success=None,):
29175
    self.success = success
29176
 
29177
  def read(self, iprot):
29178
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29179
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29180
      return
29181
    iprot.readStructBegin()
29182
    while True:
29183
      (fname, ftype, fid) = iprot.readFieldBegin()
29184
      if ftype == TType.STOP:
29185
        break
29186
      if fid == 0:
29187
        if ftype == TType.LIST:
29188
          self.success = []
13493 amit.gupta 29189
          (_etype641, _size638) = iprot.readListBegin()
29190
          for _i642 in xrange(_size638):
29191
            _elem643 = FlipkartItemDetails()
29192
            _elem643.read(iprot)
29193
            self.success.append(_elem643)
10097 kshitij.so 29194
          iprot.readListEnd()
29195
        else:
29196
          iprot.skip(ftype)
29197
      else:
29198
        iprot.skip(ftype)
29199
      iprot.readFieldEnd()
29200
    iprot.readStructEnd()
29201
 
29202
  def write(self, oprot):
29203
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29204
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29205
      return
29206
    oprot.writeStructBegin('getAllFkItems_result')
29207
    if self.success is not None:
29208
      oprot.writeFieldBegin('success', TType.LIST, 0)
29209
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29210
      for iter644 in self.success:
29211
        iter644.write(oprot)
10097 kshitij.so 29212
      oprot.writeListEnd()
29213
      oprot.writeFieldEnd()
29214
    oprot.writeFieldStop()
29215
    oprot.writeStructEnd()
29216
 
29217
  def validate(self):
29218
    return
29219
 
29220
 
29221
  def __repr__(self):
29222
    L = ['%s=%r' % (key, value)
29223
      for key, value in self.__dict__.iteritems()]
29224
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29225
 
29226
  def __eq__(self, other):
29227
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29228
 
29229
  def __ne__(self, other):
29230
    return not (self == other)
10140 vikram.rag 29231
 
29232
class getFlipkartItemBySkyAtFlipkart_args:
29233
  """
29234
  Attributes:
29235
   - sku
29236
  """
29237
 
11531 vikram.rag 29238
  thrift_spec = None
10140 vikram.rag 29239
  def __init__(self, sku=None,):
29240
    self.sku = sku
29241
 
29242
  def read(self, iprot):
29243
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29244
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29245
      return
29246
    iprot.readStructBegin()
29247
    while True:
29248
      (fname, ftype, fid) = iprot.readFieldBegin()
29249
      if ftype == TType.STOP:
29250
        break
11531 vikram.rag 29251
      if fid == -1:
10140 vikram.rag 29252
        if ftype == TType.STRING:
29253
          self.sku = iprot.readString();
29254
        else:
29255
          iprot.skip(ftype)
29256
      else:
29257
        iprot.skip(ftype)
29258
      iprot.readFieldEnd()
29259
    iprot.readStructEnd()
29260
 
29261
  def write(self, oprot):
29262
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29263
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29264
      return
29265
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_args')
29266
    if self.sku is not None:
11531 vikram.rag 29267
      oprot.writeFieldBegin('sku', TType.STRING, -1)
10140 vikram.rag 29268
      oprot.writeString(self.sku)
29269
      oprot.writeFieldEnd()
29270
    oprot.writeFieldStop()
29271
    oprot.writeStructEnd()
29272
 
29273
  def validate(self):
29274
    return
29275
 
29276
 
29277
  def __repr__(self):
29278
    L = ['%s=%r' % (key, value)
29279
      for key, value in self.__dict__.iteritems()]
29280
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29281
 
29282
  def __eq__(self, other):
29283
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29284
 
29285
  def __ne__(self, other):
29286
    return not (self == other)
29287
 
29288
class getFlipkartItemBySkyAtFlipkart_result:
29289
  """
29290
  Attributes:
29291
   - success
29292
  """
29293
 
29294
  thrift_spec = (
29295
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
29296
  )
29297
 
29298
  def __init__(self, success=None,):
29299
    self.success = success
29300
 
29301
  def read(self, iprot):
29302
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29303
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29304
      return
29305
    iprot.readStructBegin()
29306
    while True:
29307
      (fname, ftype, fid) = iprot.readFieldBegin()
29308
      if ftype == TType.STOP:
29309
        break
29310
      if fid == 0:
29311
        if ftype == TType.STRUCT:
29312
          self.success = FlipkartItem()
29313
          self.success.read(iprot)
29314
        else:
29315
          iprot.skip(ftype)
29316
      else:
29317
        iprot.skip(ftype)
29318
      iprot.readFieldEnd()
29319
    iprot.readStructEnd()
29320
 
29321
  def write(self, oprot):
29322
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29323
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29324
      return
29325
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_result')
29326
    if self.success is not None:
29327
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
29328
      self.success.write(oprot)
29329
      oprot.writeFieldEnd()
29330
    oprot.writeFieldStop()
29331
    oprot.writeStructEnd()
29332
 
29333
  def validate(self):
29334
    return
29335
 
29336
 
29337
  def __repr__(self):
29338
    L = ['%s=%r' % (key, value)
29339
      for key, value in self.__dict__.iteritems()]
29340
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29341
 
29342
  def __eq__(self, other):
29343
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29344
 
29345
  def __ne__(self, other):
29346
    return not (self == other)
10909 vikram.rag 29347
 
11015 kshitij.so 29348
class getMarketplaceHistory_args:
29349
  """
29350
  Attributes:
29351
   - source
29352
   - offset
29353
   - itemId
29354
  """
10909 vikram.rag 29355
 
29356
  thrift_spec = (
11015 kshitij.so 29357
    None, # 0
29358
    (1, TType.I64, 'source', None, None, ), # 1
29359
    (2, TType.I64, 'offset', None, None, ), # 2
29360
    (3, TType.I64, 'itemId', None, None, ), # 3
10909 vikram.rag 29361
  )
29362
 
11015 kshitij.so 29363
  def __init__(self, source=None, offset=None, itemId=None,):
29364
    self.source = source
29365
    self.offset = offset
29366
    self.itemId = itemId
29367
 
10909 vikram.rag 29368
  def read(self, iprot):
29369
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29370
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29371
      return
29372
    iprot.readStructBegin()
29373
    while True:
29374
      (fname, ftype, fid) = iprot.readFieldBegin()
29375
      if ftype == TType.STOP:
29376
        break
11015 kshitij.so 29377
      if fid == 1:
29378
        if ftype == TType.I64:
29379
          self.source = iprot.readI64();
29380
        else:
29381
          iprot.skip(ftype)
29382
      elif fid == 2:
29383
        if ftype == TType.I64:
29384
          self.offset = iprot.readI64();
29385
        else:
29386
          iprot.skip(ftype)
29387
      elif fid == 3:
29388
        if ftype == TType.I64:
29389
          self.itemId = iprot.readI64();
29390
        else:
29391
          iprot.skip(ftype)
10909 vikram.rag 29392
      else:
29393
        iprot.skip(ftype)
29394
      iprot.readFieldEnd()
29395
    iprot.readStructEnd()
29396
 
29397
  def write(self, oprot):
29398
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29399
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29400
      return
11015 kshitij.so 29401
    oprot.writeStructBegin('getMarketplaceHistory_args')
29402
    if self.source is not None:
29403
      oprot.writeFieldBegin('source', TType.I64, 1)
29404
      oprot.writeI64(self.source)
29405
      oprot.writeFieldEnd()
29406
    if self.offset is not None:
29407
      oprot.writeFieldBegin('offset', TType.I64, 2)
29408
      oprot.writeI64(self.offset)
29409
      oprot.writeFieldEnd()
29410
    if self.itemId is not None:
29411
      oprot.writeFieldBegin('itemId', TType.I64, 3)
29412
      oprot.writeI64(self.itemId)
29413
      oprot.writeFieldEnd()
10909 vikram.rag 29414
    oprot.writeFieldStop()
29415
    oprot.writeStructEnd()
29416
 
29417
  def validate(self):
29418
    return
29419
 
29420
 
29421
  def __repr__(self):
29422
    L = ['%s=%r' % (key, value)
29423
      for key, value in self.__dict__.iteritems()]
29424
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29425
 
29426
  def __eq__(self, other):
29427
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29428
 
29429
  def __ne__(self, other):
29430
    return not (self == other)
29431
 
11015 kshitij.so 29432
class getMarketplaceHistory_result:
10909 vikram.rag 29433
  """
29434
  Attributes:
29435
   - success
29436
  """
29437
 
29438
  thrift_spec = (
11015 kshitij.so 29439
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
10909 vikram.rag 29440
  )
29441
 
29442
  def __init__(self, success=None,):
29443
    self.success = success
29444
 
29445
  def read(self, iprot):
29446
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29447
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29448
      return
29449
    iprot.readStructBegin()
29450
    while True:
29451
      (fname, ftype, fid) = iprot.readFieldBegin()
29452
      if ftype == TType.STOP:
29453
        break
29454
      if fid == 0:
29455
        if ftype == TType.LIST:
29456
          self.success = []
13493 amit.gupta 29457
          (_etype648, _size645) = iprot.readListBegin()
29458
          for _i649 in xrange(_size645):
29459
            _elem650 = MarketplaceHistory()
29460
            _elem650.read(iprot)
29461
            self.success.append(_elem650)
10909 vikram.rag 29462
          iprot.readListEnd()
29463
        else:
29464
          iprot.skip(ftype)
29465
      else:
29466
        iprot.skip(ftype)
29467
      iprot.readFieldEnd()
29468
    iprot.readStructEnd()
29469
 
29470
  def write(self, oprot):
29471
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29472
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29473
      return
11015 kshitij.so 29474
    oprot.writeStructBegin('getMarketplaceHistory_result')
10909 vikram.rag 29475
    if self.success is not None:
29476
      oprot.writeFieldBegin('success', TType.LIST, 0)
29477
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29478
      for iter651 in self.success:
29479
        iter651.write(oprot)
10909 vikram.rag 29480
      oprot.writeListEnd()
29481
      oprot.writeFieldEnd()
29482
    oprot.writeFieldStop()
29483
    oprot.writeStructEnd()
29484
 
29485
  def validate(self):
29486
    return
29487
 
29488
 
29489
  def __repr__(self):
29490
    L = ['%s=%r' % (key, value)
29491
      for key, value in self.__dict__.iteritems()]
29492
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29493
 
29494
  def __eq__(self, other):
29495
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29496
 
29497
  def __ne__(self, other):
29498
    return not (self == other)
10924 vikram.rag 29499
 
11015 kshitij.so 29500
class getAllFbbListedItems_args:
10924 vikram.rag 29501
 
29502
  thrift_spec = (
29503
  )
29504
 
29505
  def read(self, iprot):
29506
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29507
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29508
      return
29509
    iprot.readStructBegin()
29510
    while True:
29511
      (fname, ftype, fid) = iprot.readFieldBegin()
29512
      if ftype == TType.STOP:
29513
        break
29514
      else:
29515
        iprot.skip(ftype)
29516
      iprot.readFieldEnd()
29517
    iprot.readStructEnd()
29518
 
29519
  def write(self, oprot):
29520
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29521
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29522
      return
11015 kshitij.so 29523
    oprot.writeStructBegin('getAllFbbListedItems_args')
10924 vikram.rag 29524
    oprot.writeFieldStop()
29525
    oprot.writeStructEnd()
29526
 
29527
  def validate(self):
29528
    return
29529
 
29530
 
29531
  def __repr__(self):
29532
    L = ['%s=%r' % (key, value)
29533
      for key, value in self.__dict__.iteritems()]
29534
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29535
 
29536
  def __eq__(self, other):
29537
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29538
 
29539
  def __ne__(self, other):
29540
    return not (self == other)
29541
 
11015 kshitij.so 29542
class getAllFbbListedItems_result:
10924 vikram.rag 29543
  """
29544
  Attributes:
29545
   - success
29546
  """
29547
 
29548
  thrift_spec = (
29549
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
29550
  )
29551
 
29552
  def __init__(self, success=None,):
29553
    self.success = success
29554
 
29555
  def read(self, iprot):
29556
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29557
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29558
      return
29559
    iprot.readStructBegin()
29560
    while True:
29561
      (fname, ftype, fid) = iprot.readFieldBegin()
29562
      if ftype == TType.STOP:
29563
        break
29564
      if fid == 0:
29565
        if ftype == TType.LIST:
29566
          self.success = []
13493 amit.gupta 29567
          (_etype655, _size652) = iprot.readListBegin()
29568
          for _i656 in xrange(_size652):
29569
            _elem657 = Amazonlisted()
29570
            _elem657.read(iprot)
29571
            self.success.append(_elem657)
10924 vikram.rag 29572
          iprot.readListEnd()
29573
        else:
29574
          iprot.skip(ftype)
29575
      else:
29576
        iprot.skip(ftype)
29577
      iprot.readFieldEnd()
29578
    iprot.readStructEnd()
29579
 
29580
  def write(self, oprot):
29581
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29582
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29583
      return
11015 kshitij.so 29584
    oprot.writeStructBegin('getAllFbbListedItems_result')
10924 vikram.rag 29585
    if self.success is not None:
29586
      oprot.writeFieldBegin('success', TType.LIST, 0)
29587
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29588
      for iter658 in self.success:
29589
        iter658.write(oprot)
10924 vikram.rag 29590
      oprot.writeListEnd()
29591
      oprot.writeFieldEnd()
29592
    oprot.writeFieldStop()
29593
    oprot.writeStructEnd()
29594
 
29595
  def validate(self):
29596
    return
29597
 
29598
 
29599
  def __repr__(self):
29600
    L = ['%s=%r' % (key, value)
29601
      for key, value in self.__dict__.iteritems()]
29602
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29603
 
29604
  def __eq__(self, other):
29605
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29606
 
29607
  def __ne__(self, other):
29608
    return not (self == other)
11015 kshitij.so 29609
 
29610
class getAllFbbPricingItems_args:
29611
 
29612
  thrift_spec = (
29613
  )
29614
 
29615
  def read(self, iprot):
29616
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29617
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29618
      return
29619
    iprot.readStructBegin()
29620
    while True:
29621
      (fname, ftype, fid) = iprot.readFieldBegin()
29622
      if ftype == TType.STOP:
29623
        break
29624
      else:
29625
        iprot.skip(ftype)
29626
      iprot.readFieldEnd()
29627
    iprot.readStructEnd()
29628
 
29629
  def write(self, oprot):
29630
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29631
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29632
      return
29633
    oprot.writeStructBegin('getAllFbbPricingItems_args')
29634
    oprot.writeFieldStop()
29635
    oprot.writeStructEnd()
29636
 
29637
  def validate(self):
29638
    return
29639
 
29640
 
29641
  def __repr__(self):
29642
    L = ['%s=%r' % (key, value)
29643
      for key, value in self.__dict__.iteritems()]
29644
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29645
 
29646
  def __eq__(self, other):
29647
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29648
 
29649
  def __ne__(self, other):
29650
    return not (self == other)
29651
 
29652
class getAllFbbPricingItems_result:
29653
  """
29654
  Attributes:
29655
   - success
29656
  """
29657
 
29658
  thrift_spec = (
29659
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
29660
  )
29661
 
29662
  def __init__(self, success=None,):
29663
    self.success = success
29664
 
29665
  def read(self, iprot):
29666
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29667
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29668
      return
29669
    iprot.readStructBegin()
29670
    while True:
29671
      (fname, ftype, fid) = iprot.readFieldBegin()
29672
      if ftype == TType.STOP:
29673
        break
29674
      if fid == 0:
29675
        if ftype == TType.LIST:
29676
          self.success = []
13493 amit.gupta 29677
          (_etype662, _size659) = iprot.readListBegin()
29678
          for _i663 in xrange(_size659):
29679
            _elem664 = Amazonlisted()
29680
            _elem664.read(iprot)
29681
            self.success.append(_elem664)
11015 kshitij.so 29682
          iprot.readListEnd()
29683
        else:
29684
          iprot.skip(ftype)
29685
      else:
29686
        iprot.skip(ftype)
29687
      iprot.readFieldEnd()
29688
    iprot.readStructEnd()
29689
 
29690
  def write(self, oprot):
29691
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29692
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29693
      return
29694
    oprot.writeStructBegin('getAllFbbPricingItems_result')
29695
    if self.success is not None:
29696
      oprot.writeFieldBegin('success', TType.LIST, 0)
29697
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29698
      for iter665 in self.success:
29699
        iter665.write(oprot)
11015 kshitij.so 29700
      oprot.writeListEnd()
29701
      oprot.writeFieldEnd()
29702
    oprot.writeFieldStop()
29703
    oprot.writeStructEnd()
29704
 
29705
  def validate(self):
29706
    return
29707
 
29708
 
29709
  def __repr__(self):
29710
    L = ['%s=%r' % (key, value)
29711
      for key, value in self.__dict__.iteritems()]
29712
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29713
 
29714
  def __eq__(self, other):
29715
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29716
 
29717
  def __ne__(self, other):
29718
    return not (self == other)
29719
 
29720
class getCountForMarketplaceHistory_args:
29721
  """
29722
  Attributes:
29723
   - source
29724
   - itemId
29725
  """
29726
 
29727
  thrift_spec = (
29728
    None, # 0
29729
    (1, TType.I64, 'source', None, None, ), # 1
29730
    (2, TType.I64, 'itemId', None, None, ), # 2
29731
  )
29732
 
29733
  def __init__(self, source=None, itemId=None,):
29734
    self.source = source
29735
    self.itemId = itemId
29736
 
29737
  def read(self, iprot):
29738
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29739
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29740
      return
29741
    iprot.readStructBegin()
29742
    while True:
29743
      (fname, ftype, fid) = iprot.readFieldBegin()
29744
      if ftype == TType.STOP:
29745
        break
29746
      if fid == 1:
29747
        if ftype == TType.I64:
29748
          self.source = iprot.readI64();
29749
        else:
29750
          iprot.skip(ftype)
29751
      elif fid == 2:
29752
        if ftype == TType.I64:
29753
          self.itemId = iprot.readI64();
29754
        else:
29755
          iprot.skip(ftype)
29756
      else:
29757
        iprot.skip(ftype)
29758
      iprot.readFieldEnd()
29759
    iprot.readStructEnd()
29760
 
29761
  def write(self, oprot):
29762
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29763
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29764
      return
29765
    oprot.writeStructBegin('getCountForMarketplaceHistory_args')
29766
    if self.source is not None:
29767
      oprot.writeFieldBegin('source', TType.I64, 1)
29768
      oprot.writeI64(self.source)
29769
      oprot.writeFieldEnd()
29770
    if self.itemId is not None:
29771
      oprot.writeFieldBegin('itemId', TType.I64, 2)
29772
      oprot.writeI64(self.itemId)
29773
      oprot.writeFieldEnd()
29774
    oprot.writeFieldStop()
29775
    oprot.writeStructEnd()
29776
 
29777
  def validate(self):
29778
    return
29779
 
29780
 
29781
  def __repr__(self):
29782
    L = ['%s=%r' % (key, value)
29783
      for key, value in self.__dict__.iteritems()]
29784
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29785
 
29786
  def __eq__(self, other):
29787
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29788
 
29789
  def __ne__(self, other):
29790
    return not (self == other)
29791
 
29792
class getCountForMarketplaceHistory_result:
29793
  """
29794
  Attributes:
29795
   - success
29796
  """
29797
 
29798
  thrift_spec = (
29799
    (0, TType.I64, 'success', None, None, ), # 0
29800
  )
29801
 
29802
  def __init__(self, success=None,):
29803
    self.success = success
29804
 
29805
  def read(self, iprot):
29806
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29807
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29808
      return
29809
    iprot.readStructBegin()
29810
    while True:
29811
      (fname, ftype, fid) = iprot.readFieldBegin()
29812
      if ftype == TType.STOP:
29813
        break
29814
      if fid == 0:
29815
        if ftype == TType.I64:
29816
          self.success = iprot.readI64();
29817
        else:
29818
          iprot.skip(ftype)
29819
      else:
29820
        iprot.skip(ftype)
29821
      iprot.readFieldEnd()
29822
    iprot.readStructEnd()
29823
 
29824
  def write(self, oprot):
29825
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29826
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29827
      return
29828
    oprot.writeStructBegin('getCountForMarketplaceHistory_result')
29829
    if self.success is not None:
29830
      oprot.writeFieldBegin('success', TType.I64, 0)
29831
      oprot.writeI64(self.success)
29832
      oprot.writeFieldEnd()
29833
    oprot.writeFieldStop()
29834
    oprot.writeStructEnd()
29835
 
29836
  def validate(self):
29837
    return
29838
 
29839
 
29840
  def __repr__(self):
29841
    L = ['%s=%r' % (key, value)
29842
      for key, value in self.__dict__.iteritems()]
29843
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29844
 
29845
  def __eq__(self, other):
29846
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29847
 
29848
  def __ne__(self, other):
29849
    return not (self == other)
29850
 
29851
class getMarketplaceHistoryByDate_args:
29852
  """
29853
  Attributes:
29854
   - source
29855
   - startDate
29856
   - endDate
29857
   - offset
29858
   - limit
29859
   - itemId
29860
  """
29861
 
29862
  thrift_spec = (
29863
    None, # 0
29864
    (1, TType.I64, 'source', None, None, ), # 1
29865
    (2, TType.I64, 'startDate', None, None, ), # 2
29866
    (3, TType.I64, 'endDate', None, None, ), # 3
29867
    (4, TType.I64, 'offset', None, None, ), # 4
29868
    (5, TType.I64, 'limit', None, None, ), # 5
29869
    (6, TType.I64, 'itemId', None, None, ), # 6
29870
  )
29871
 
29872
  def __init__(self, source=None, startDate=None, endDate=None, offset=None, limit=None, itemId=None,):
29873
    self.source = source
29874
    self.startDate = startDate
29875
    self.endDate = endDate
29876
    self.offset = offset
29877
    self.limit = limit
29878
    self.itemId = itemId
29879
 
29880
  def read(self, iprot):
29881
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29882
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29883
      return
29884
    iprot.readStructBegin()
29885
    while True:
29886
      (fname, ftype, fid) = iprot.readFieldBegin()
29887
      if ftype == TType.STOP:
29888
        break
29889
      if fid == 1:
29890
        if ftype == TType.I64:
29891
          self.source = iprot.readI64();
29892
        else:
29893
          iprot.skip(ftype)
29894
      elif fid == 2:
29895
        if ftype == TType.I64:
29896
          self.startDate = iprot.readI64();
29897
        else:
29898
          iprot.skip(ftype)
29899
      elif fid == 3:
29900
        if ftype == TType.I64:
29901
          self.endDate = iprot.readI64();
29902
        else:
29903
          iprot.skip(ftype)
29904
      elif fid == 4:
29905
        if ftype == TType.I64:
29906
          self.offset = iprot.readI64();
29907
        else:
29908
          iprot.skip(ftype)
29909
      elif fid == 5:
29910
        if ftype == TType.I64:
29911
          self.limit = iprot.readI64();
29912
        else:
29913
          iprot.skip(ftype)
29914
      elif fid == 6:
29915
        if ftype == TType.I64:
29916
          self.itemId = iprot.readI64();
29917
        else:
29918
          iprot.skip(ftype)
29919
      else:
29920
        iprot.skip(ftype)
29921
      iprot.readFieldEnd()
29922
    iprot.readStructEnd()
29923
 
29924
  def write(self, oprot):
29925
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29926
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29927
      return
29928
    oprot.writeStructBegin('getMarketplaceHistoryByDate_args')
29929
    if self.source is not None:
29930
      oprot.writeFieldBegin('source', TType.I64, 1)
29931
      oprot.writeI64(self.source)
29932
      oprot.writeFieldEnd()
29933
    if self.startDate is not None:
29934
      oprot.writeFieldBegin('startDate', TType.I64, 2)
29935
      oprot.writeI64(self.startDate)
29936
      oprot.writeFieldEnd()
29937
    if self.endDate is not None:
29938
      oprot.writeFieldBegin('endDate', TType.I64, 3)
29939
      oprot.writeI64(self.endDate)
29940
      oprot.writeFieldEnd()
29941
    if self.offset is not None:
29942
      oprot.writeFieldBegin('offset', TType.I64, 4)
29943
      oprot.writeI64(self.offset)
29944
      oprot.writeFieldEnd()
29945
    if self.limit is not None:
29946
      oprot.writeFieldBegin('limit', TType.I64, 5)
29947
      oprot.writeI64(self.limit)
29948
      oprot.writeFieldEnd()
29949
    if self.itemId is not None:
29950
      oprot.writeFieldBegin('itemId', TType.I64, 6)
29951
      oprot.writeI64(self.itemId)
29952
      oprot.writeFieldEnd()
29953
    oprot.writeFieldStop()
29954
    oprot.writeStructEnd()
29955
 
29956
  def validate(self):
29957
    return
29958
 
29959
 
29960
  def __repr__(self):
29961
    L = ['%s=%r' % (key, value)
29962
      for key, value in self.__dict__.iteritems()]
29963
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29964
 
29965
  def __eq__(self, other):
29966
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29967
 
29968
  def __ne__(self, other):
29969
    return not (self == other)
29970
 
29971
class getMarketplaceHistoryByDate_result:
29972
  """
29973
  Attributes:
29974
   - success
29975
  """
29976
 
29977
  thrift_spec = (
29978
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
29979
  )
29980
 
29981
  def __init__(self, success=None,):
29982
    self.success = success
29983
 
29984
  def read(self, iprot):
29985
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29986
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29987
      return
29988
    iprot.readStructBegin()
29989
    while True:
29990
      (fname, ftype, fid) = iprot.readFieldBegin()
29991
      if ftype == TType.STOP:
29992
        break
29993
      if fid == 0:
29994
        if ftype == TType.LIST:
29995
          self.success = []
13493 amit.gupta 29996
          (_etype669, _size666) = iprot.readListBegin()
29997
          for _i670 in xrange(_size666):
29998
            _elem671 = MarketplaceHistory()
29999
            _elem671.read(iprot)
30000
            self.success.append(_elem671)
11015 kshitij.so 30001
          iprot.readListEnd()
30002
        else:
30003
          iprot.skip(ftype)
30004
      else:
30005
        iprot.skip(ftype)
30006
      iprot.readFieldEnd()
30007
    iprot.readStructEnd()
30008
 
30009
  def write(self, oprot):
30010
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30011
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30012
      return
30013
    oprot.writeStructBegin('getMarketplaceHistoryByDate_result')
30014
    if self.success is not None:
30015
      oprot.writeFieldBegin('success', TType.LIST, 0)
30016
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 30017
      for iter672 in self.success:
30018
        iter672.write(oprot)
11015 kshitij.so 30019
      oprot.writeListEnd()
30020
      oprot.writeFieldEnd()
30021
    oprot.writeFieldStop()
30022
    oprot.writeStructEnd()
30023
 
30024
  def validate(self):
30025
    return
30026
 
30027
 
30028
  def __repr__(self):
30029
    L = ['%s=%r' % (key, value)
30030
      for key, value in self.__dict__.iteritems()]
30031
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30032
 
30033
  def __eq__(self, other):
30034
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30035
 
30036
  def __ne__(self, other):
30037
    return not (self == other)
11531 vikram.rag 30038
 
30039
class getPrivateDealDetails_args:
30040
  """
30041
  Attributes:
30042
   - item_id
30043
  """
30044
 
30045
  thrift_spec = (
30046
    None, # 0
30047
    (1, TType.I64, 'item_id', None, None, ), # 1
30048
  )
30049
 
30050
  def __init__(self, item_id=None,):
30051
    self.item_id = item_id
30052
 
30053
  def read(self, iprot):
30054
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30055
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30056
      return
30057
    iprot.readStructBegin()
30058
    while True:
30059
      (fname, ftype, fid) = iprot.readFieldBegin()
30060
      if ftype == TType.STOP:
30061
        break
30062
      if fid == 1:
30063
        if ftype == TType.I64:
30064
          self.item_id = iprot.readI64();
30065
        else:
30066
          iprot.skip(ftype)
30067
      else:
30068
        iprot.skip(ftype)
30069
      iprot.readFieldEnd()
30070
    iprot.readStructEnd()
30071
 
30072
  def write(self, oprot):
30073
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30074
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30075
      return
30076
    oprot.writeStructBegin('getPrivateDealDetails_args')
30077
    if self.item_id is not None:
30078
      oprot.writeFieldBegin('item_id', TType.I64, 1)
30079
      oprot.writeI64(self.item_id)
30080
      oprot.writeFieldEnd()
30081
    oprot.writeFieldStop()
30082
    oprot.writeStructEnd()
30083
 
30084
  def validate(self):
30085
    return
30086
 
30087
 
30088
  def __repr__(self):
30089
    L = ['%s=%r' % (key, value)
30090
      for key, value in self.__dict__.iteritems()]
30091
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30092
 
30093
  def __eq__(self, other):
30094
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30095
 
30096
  def __ne__(self, other):
30097
    return not (self == other)
30098
 
30099
class getPrivateDealDetails_result:
30100
  """
30101
  Attributes:
30102
   - success
30103
  """
30104
 
30105
  thrift_spec = (
30106
    (0, TType.STRUCT, 'success', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 0
30107
  )
30108
 
30109
  def __init__(self, success=None,):
30110
    self.success = success
30111
 
30112
  def read(self, iprot):
30113
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30114
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30115
      return
30116
    iprot.readStructBegin()
30117
    while True:
30118
      (fname, ftype, fid) = iprot.readFieldBegin()
30119
      if ftype == TType.STOP:
30120
        break
30121
      if fid == 0:
30122
        if ftype == TType.STRUCT:
30123
          self.success = PrivateDeal()
30124
          self.success.read(iprot)
30125
        else:
30126
          iprot.skip(ftype)
30127
      else:
30128
        iprot.skip(ftype)
30129
      iprot.readFieldEnd()
30130
    iprot.readStructEnd()
30131
 
30132
  def write(self, oprot):
30133
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30134
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30135
      return
30136
    oprot.writeStructBegin('getPrivateDealDetails_result')
30137
    if self.success is not None:
30138
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
30139
      self.success.write(oprot)
30140
      oprot.writeFieldEnd()
30141
    oprot.writeFieldStop()
30142
    oprot.writeStructEnd()
30143
 
30144
  def validate(self):
30145
    return
30146
 
30147
 
30148
  def __repr__(self):
30149
    L = ['%s=%r' % (key, value)
30150
      for key, value in self.__dict__.iteritems()]
30151
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30152
 
30153
  def __eq__(self, other):
30154
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30155
 
30156
  def __ne__(self, other):
30157
    return not (self == other)
30158
 
30159
class getPrivateDealItems_args:
30160
  """
30161
  Attributes:
30162
   - offset
30163
   - limit
30164
  """
30165
 
30166
  thrift_spec = (
30167
    None, # 0
30168
    (1, TType.I64, 'offset', None, None, ), # 1
30169
    (2, TType.I64, 'limit', None, None, ), # 2
30170
  )
30171
 
30172
  def __init__(self, offset=None, limit=None,):
30173
    self.offset = offset
30174
    self.limit = limit
30175
 
30176
  def read(self, iprot):
30177
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30178
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30179
      return
30180
    iprot.readStructBegin()
30181
    while True:
30182
      (fname, ftype, fid) = iprot.readFieldBegin()
30183
      if ftype == TType.STOP:
30184
        break
30185
      if fid == 1:
30186
        if ftype == TType.I64:
30187
          self.offset = iprot.readI64();
30188
        else:
30189
          iprot.skip(ftype)
30190
      elif fid == 2:
30191
        if ftype == TType.I64:
30192
          self.limit = iprot.readI64();
30193
        else:
30194
          iprot.skip(ftype)
30195
      else:
30196
        iprot.skip(ftype)
30197
      iprot.readFieldEnd()
30198
    iprot.readStructEnd()
30199
 
30200
  def write(self, oprot):
30201
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30202
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30203
      return
30204
    oprot.writeStructBegin('getPrivateDealItems_args')
30205
    if self.offset is not None:
30206
      oprot.writeFieldBegin('offset', TType.I64, 1)
30207
      oprot.writeI64(self.offset)
30208
      oprot.writeFieldEnd()
30209
    if self.limit is not None:
30210
      oprot.writeFieldBegin('limit', TType.I64, 2)
30211
      oprot.writeI64(self.limit)
30212
      oprot.writeFieldEnd()
30213
    oprot.writeFieldStop()
30214
    oprot.writeStructEnd()
30215
 
30216
  def validate(self):
30217
    return
30218
 
30219
 
30220
  def __repr__(self):
30221
    L = ['%s=%r' % (key, value)
30222
      for key, value in self.__dict__.iteritems()]
30223
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30224
 
30225
  def __eq__(self, other):
30226
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30227
 
30228
  def __ne__(self, other):
30229
    return not (self == other)
30230
 
30231
class getPrivateDealItems_result:
30232
  """
30233
  Attributes:
30234
   - success
30235
  """
30236
 
30237
  thrift_spec = (
30238
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
30239
  )
30240
 
30241
  def __init__(self, success=None,):
30242
    self.success = success
30243
 
30244
  def read(self, iprot):
30245
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30246
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30247
      return
30248
    iprot.readStructBegin()
30249
    while True:
30250
      (fname, ftype, fid) = iprot.readFieldBegin()
30251
      if ftype == TType.STOP:
30252
        break
30253
      if fid == 0:
30254
        if ftype == TType.LIST:
30255
          self.success = []
13493 amit.gupta 30256
          (_etype676, _size673) = iprot.readListBegin()
30257
          for _i677 in xrange(_size673):
30258
            _elem678 = Item()
30259
            _elem678.read(iprot)
30260
            self.success.append(_elem678)
11531 vikram.rag 30261
          iprot.readListEnd()
30262
        else:
30263
          iprot.skip(ftype)
30264
      else:
30265
        iprot.skip(ftype)
30266
      iprot.readFieldEnd()
30267
    iprot.readStructEnd()
30268
 
30269
  def write(self, oprot):
30270
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30271
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30272
      return
30273
    oprot.writeStructBegin('getPrivateDealItems_result')
30274
    if self.success is not None:
30275
      oprot.writeFieldBegin('success', TType.LIST, 0)
30276
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 30277
      for iter679 in self.success:
30278
        iter679.write(oprot)
11531 vikram.rag 30279
      oprot.writeListEnd()
30280
      oprot.writeFieldEnd()
30281
    oprot.writeFieldStop()
30282
    oprot.writeStructEnd()
30283
 
30284
  def validate(self):
30285
    return
30286
 
30287
 
30288
  def __repr__(self):
30289
    L = ['%s=%r' % (key, value)
30290
      for key, value in self.__dict__.iteritems()]
30291
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30292
 
30293
  def __eq__(self, other):
30294
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30295
 
30296
  def __ne__(self, other):
30297
    return not (self == other)
30298
 
11592 amit.gupta 30299
class getAllActivePrivateDeals_args:
11653 amit.gupta 30300
  """
30301
  Attributes:
30302
   - itemIds
30303
   - daysDelta
30304
  """
11592 amit.gupta 30305
 
30306
  thrift_spec = (
11653 amit.gupta 30307
    None, # 0
30308
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
30309
    (2, TType.I64, 'daysDelta', None, None, ), # 2
11592 amit.gupta 30310
  )
30311
 
11653 amit.gupta 30312
  def __init__(self, itemIds=None, daysDelta=None,):
30313
    self.itemIds = itemIds
30314
    self.daysDelta = daysDelta
30315
 
11592 amit.gupta 30316
  def read(self, iprot):
30317
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30318
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30319
      return
30320
    iprot.readStructBegin()
30321
    while True:
30322
      (fname, ftype, fid) = iprot.readFieldBegin()
30323
      if ftype == TType.STOP:
30324
        break
11653 amit.gupta 30325
      if fid == 1:
30326
        if ftype == TType.LIST:
30327
          self.itemIds = []
13493 amit.gupta 30328
          (_etype683, _size680) = iprot.readListBegin()
30329
          for _i684 in xrange(_size680):
30330
            _elem685 = iprot.readI64();
30331
            self.itemIds.append(_elem685)
11653 amit.gupta 30332
          iprot.readListEnd()
30333
        else:
30334
          iprot.skip(ftype)
30335
      elif fid == 2:
30336
        if ftype == TType.I64:
30337
          self.daysDelta = iprot.readI64();
30338
        else:
30339
          iprot.skip(ftype)
11592 amit.gupta 30340
      else:
30341
        iprot.skip(ftype)
30342
      iprot.readFieldEnd()
30343
    iprot.readStructEnd()
30344
 
30345
  def write(self, oprot):
30346
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30347
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30348
      return
30349
    oprot.writeStructBegin('getAllActivePrivateDeals_args')
11653 amit.gupta 30350
    if self.itemIds is not None:
30351
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
30352
      oprot.writeListBegin(TType.I64, len(self.itemIds))
13493 amit.gupta 30353
      for iter686 in self.itemIds:
30354
        oprot.writeI64(iter686)
11653 amit.gupta 30355
      oprot.writeListEnd()
30356
      oprot.writeFieldEnd()
30357
    if self.daysDelta is not None:
30358
      oprot.writeFieldBegin('daysDelta', TType.I64, 2)
30359
      oprot.writeI64(self.daysDelta)
30360
      oprot.writeFieldEnd()
11592 amit.gupta 30361
    oprot.writeFieldStop()
30362
    oprot.writeStructEnd()
30363
 
30364
  def validate(self):
30365
    return
30366
 
30367
 
30368
  def __repr__(self):
30369
    L = ['%s=%r' % (key, value)
30370
      for key, value in self.__dict__.iteritems()]
30371
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30372
 
30373
  def __eq__(self, other):
30374
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30375
 
30376
  def __ne__(self, other):
30377
    return not (self == other)
30378
 
30379
class getAllActivePrivateDeals_result:
30380
  """
30381
  Attributes:
30382
   - success
30383
  """
30384
 
30385
  thrift_spec = (
30386
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(PrivateDeal, PrivateDeal.thrift_spec)), None, ), # 0
30387
  )
30388
 
30389
  def __init__(self, success=None,):
30390
    self.success = success
30391
 
30392
  def read(self, iprot):
30393
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30394
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30395
      return
30396
    iprot.readStructBegin()
30397
    while True:
30398
      (fname, ftype, fid) = iprot.readFieldBegin()
30399
      if ftype == TType.STOP:
30400
        break
30401
      if fid == 0:
30402
        if ftype == TType.MAP:
30403
          self.success = {}
13493 amit.gupta 30404
          (_ktype688, _vtype689, _size687 ) = iprot.readMapBegin() 
30405
          for _i691 in xrange(_size687):
30406
            _key692 = iprot.readI64();
30407
            _val693 = PrivateDeal()
30408
            _val693.read(iprot)
30409
            self.success[_key692] = _val693
11592 amit.gupta 30410
          iprot.readMapEnd()
30411
        else:
30412
          iprot.skip(ftype)
30413
      else:
30414
        iprot.skip(ftype)
30415
      iprot.readFieldEnd()
30416
    iprot.readStructEnd()
30417
 
30418
  def write(self, oprot):
30419
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30420
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30421
      return
30422
    oprot.writeStructBegin('getAllActivePrivateDeals_result')
30423
    if self.success is not None:
30424
      oprot.writeFieldBegin('success', TType.MAP, 0)
30425
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
13493 amit.gupta 30426
      for kiter694,viter695 in self.success.items():
30427
        oprot.writeI64(kiter694)
30428
        viter695.write(oprot)
11592 amit.gupta 30429
      oprot.writeMapEnd()
30430
      oprot.writeFieldEnd()
30431
    oprot.writeFieldStop()
30432
    oprot.writeStructEnd()
30433
 
30434
  def validate(self):
30435
    return
30436
 
30437
 
30438
  def __repr__(self):
30439
    L = ['%s=%r' % (key, value)
30440
      for key, value in self.__dict__.iteritems()]
30441
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30442
 
30443
  def __eq__(self, other):
30444
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30445
 
30446
  def __ne__(self, other):
30447
    return not (self == other)
30448
 
11531 vikram.rag 30449
class addOrUpdatePrivateDeal_args:
30450
  """
30451
  Attributes:
30452
   - privateDeal
30453
  """
30454
 
30455
  thrift_spec = (
30456
    None, # 0
30457
    (1, TType.STRUCT, 'privateDeal', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 1
30458
  )
30459
 
30460
  def __init__(self, privateDeal=None,):
30461
    self.privateDeal = privateDeal
30462
 
30463
  def read(self, iprot):
30464
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30465
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30466
      return
30467
    iprot.readStructBegin()
30468
    while True:
30469
      (fname, ftype, fid) = iprot.readFieldBegin()
30470
      if ftype == TType.STOP:
30471
        break
30472
      if fid == 1:
30473
        if ftype == TType.STRUCT:
30474
          self.privateDeal = PrivateDeal()
30475
          self.privateDeal.read(iprot)
30476
        else:
30477
          iprot.skip(ftype)
30478
      else:
30479
        iprot.skip(ftype)
30480
      iprot.readFieldEnd()
30481
    iprot.readStructEnd()
30482
 
30483
  def write(self, oprot):
30484
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30485
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30486
      return
30487
    oprot.writeStructBegin('addOrUpdatePrivateDeal_args')
30488
    if self.privateDeal is not None:
30489
      oprot.writeFieldBegin('privateDeal', TType.STRUCT, 1)
30490
      self.privateDeal.write(oprot)
30491
      oprot.writeFieldEnd()
30492
    oprot.writeFieldStop()
30493
    oprot.writeStructEnd()
30494
 
30495
  def validate(self):
30496
    return
30497
 
30498
 
30499
  def __repr__(self):
30500
    L = ['%s=%r' % (key, value)
30501
      for key, value in self.__dict__.iteritems()]
30502
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30503
 
30504
  def __eq__(self, other):
30505
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30506
 
30507
  def __ne__(self, other):
30508
    return not (self == other)
30509
 
30510
class addOrUpdatePrivateDeal_result:
30511
  """
30512
  Attributes:
30513
   - success
30514
  """
30515
 
30516
  thrift_spec = (
30517
    (0, TType.BOOL, 'success', None, None, ), # 0
30518
  )
30519
 
30520
  def __init__(self, success=None,):
30521
    self.success = success
30522
 
30523
  def read(self, iprot):
30524
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30525
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30526
      return
30527
    iprot.readStructBegin()
30528
    while True:
30529
      (fname, ftype, fid) = iprot.readFieldBegin()
30530
      if ftype == TType.STOP:
30531
        break
30532
      if fid == 0:
30533
        if ftype == TType.BOOL:
30534
          self.success = iprot.readBool();
30535
        else:
30536
          iprot.skip(ftype)
30537
      else:
30538
        iprot.skip(ftype)
30539
      iprot.readFieldEnd()
30540
    iprot.readStructEnd()
30541
 
30542
  def write(self, oprot):
30543
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30544
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30545
      return
30546
    oprot.writeStructBegin('addOrUpdatePrivateDeal_result')
30547
    if self.success is not None:
30548
      oprot.writeFieldBegin('success', TType.BOOL, 0)
30549
      oprot.writeBool(self.success)
30550
      oprot.writeFieldEnd()
30551
    oprot.writeFieldStop()
30552
    oprot.writeStructEnd()
30553
 
30554
  def validate(self):
30555
    return
30556
 
30557
 
30558
  def __repr__(self):
30559
    L = ['%s=%r' % (key, value)
30560
      for key, value in self.__dict__.iteritems()]
30561
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30562
 
30563
  def __eq__(self, other):
30564
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30565
 
30566
  def __ne__(self, other):
30567
    return not (self == other)
11635 vikram.rag 30568
 
30569
class getPrivateDealsCatalogIds_args:
30570
  """
30571
  Attributes:
30572
   - beginIndex
30573
   - totalItems
30574
  """
30575
 
30576
  thrift_spec = (
30577
    None, # 0
30578
    (1, TType.I64, 'beginIndex', None, None, ), # 1
30579
    (2, TType.I64, 'totalItems', None, None, ), # 2
30580
  )
30581
 
30582
  def __init__(self, beginIndex=None, totalItems=None,):
30583
    self.beginIndex = beginIndex
30584
    self.totalItems = totalItems
30585
 
30586
  def read(self, iprot):
30587
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30588
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30589
      return
30590
    iprot.readStructBegin()
30591
    while True:
30592
      (fname, ftype, fid) = iprot.readFieldBegin()
30593
      if ftype == TType.STOP:
30594
        break
30595
      if fid == 1:
30596
        if ftype == TType.I64:
30597
          self.beginIndex = iprot.readI64();
30598
        else:
30599
          iprot.skip(ftype)
30600
      elif fid == 2:
30601
        if ftype == TType.I64:
30602
          self.totalItems = iprot.readI64();
30603
        else:
30604
          iprot.skip(ftype)
30605
      else:
30606
        iprot.skip(ftype)
30607
      iprot.readFieldEnd()
30608
    iprot.readStructEnd()
30609
 
30610
  def write(self, oprot):
30611
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30612
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30613
      return
30614
    oprot.writeStructBegin('getPrivateDealsCatalogIds_args')
30615
    if self.beginIndex is not None:
30616
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
30617
      oprot.writeI64(self.beginIndex)
30618
      oprot.writeFieldEnd()
30619
    if self.totalItems is not None:
30620
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
30621
      oprot.writeI64(self.totalItems)
30622
      oprot.writeFieldEnd()
30623
    oprot.writeFieldStop()
30624
    oprot.writeStructEnd()
30625
 
30626
  def validate(self):
30627
    return
30628
 
30629
 
30630
  def __repr__(self):
30631
    L = ['%s=%r' % (key, value)
30632
      for key, value in self.__dict__.iteritems()]
30633
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30634
 
30635
  def __eq__(self, other):
30636
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30637
 
30638
  def __ne__(self, other):
30639
    return not (self == other)
30640
 
30641
class getPrivateDealsCatalogIds_result:
30642
  """
30643
  Attributes:
30644
   - success
30645
   - cex
30646
  """
30647
 
30648
  thrift_spec = (
30649
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
30650
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
30651
  )
30652
 
30653
  def __init__(self, success=None, cex=None,):
30654
    self.success = success
30655
    self.cex = cex
30656
 
30657
  def read(self, iprot):
30658
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30659
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30660
      return
30661
    iprot.readStructBegin()
30662
    while True:
30663
      (fname, ftype, fid) = iprot.readFieldBegin()
30664
      if ftype == TType.STOP:
30665
        break
30666
      if fid == 0:
30667
        if ftype == TType.LIST:
30668
          self.success = []
13493 amit.gupta 30669
          (_etype699, _size696) = iprot.readListBegin()
30670
          for _i700 in xrange(_size696):
30671
            _elem701 = iprot.readI64();
30672
            self.success.append(_elem701)
11635 vikram.rag 30673
          iprot.readListEnd()
30674
        else:
30675
          iprot.skip(ftype)
30676
      elif fid == 1:
30677
        if ftype == TType.STRUCT:
30678
          self.cex = CatalogServiceException()
30679
          self.cex.read(iprot)
30680
        else:
30681
          iprot.skip(ftype)
30682
      else:
30683
        iprot.skip(ftype)
30684
      iprot.readFieldEnd()
30685
    iprot.readStructEnd()
30686
 
30687
  def write(self, oprot):
30688
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30689
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30690
      return
30691
    oprot.writeStructBegin('getPrivateDealsCatalogIds_result')
30692
    if self.success is not None:
30693
      oprot.writeFieldBegin('success', TType.LIST, 0)
30694
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 30695
      for iter702 in self.success:
30696
        oprot.writeI64(iter702)
11635 vikram.rag 30697
      oprot.writeListEnd()
30698
      oprot.writeFieldEnd()
30699
    if self.cex is not None:
30700
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
30701
      self.cex.write(oprot)
30702
      oprot.writeFieldEnd()
30703
    oprot.writeFieldStop()
30704
    oprot.writeStructEnd()
30705
 
30706
  def validate(self):
30707
    return
30708
 
30709
 
30710
  def __repr__(self):
30711
    L = ['%s=%r' % (key, value)
30712
      for key, value in self.__dict__.iteritems()]
30713
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30714
 
30715
  def __eq__(self, other):
30716
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30717
 
30718
  def __ne__(self, other):
30719
    return not (self == other)
11645 amit.gupta 30720
 
30721
class getPrivateDealsCount_args:
30722
 
30723
  thrift_spec = (
30724
  )
30725
 
30726
  def read(self, iprot):
30727
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30728
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30729
      return
30730
    iprot.readStructBegin()
30731
    while True:
30732
      (fname, ftype, fid) = iprot.readFieldBegin()
30733
      if ftype == TType.STOP:
30734
        break
30735
      else:
30736
        iprot.skip(ftype)
30737
      iprot.readFieldEnd()
30738
    iprot.readStructEnd()
30739
 
30740
  def write(self, oprot):
30741
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30742
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30743
      return
30744
    oprot.writeStructBegin('getPrivateDealsCount_args')
30745
    oprot.writeFieldStop()
30746
    oprot.writeStructEnd()
30747
 
30748
  def validate(self):
30749
    return
30750
 
30751
 
30752
  def __repr__(self):
30753
    L = ['%s=%r' % (key, value)
30754
      for key, value in self.__dict__.iteritems()]
30755
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30756
 
30757
  def __eq__(self, other):
30758
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30759
 
30760
  def __ne__(self, other):
30761
    return not (self == other)
30762
 
30763
class getPrivateDealsCount_result:
30764
  """
30765
  Attributes:
30766
   - success
30767
  """
30768
 
30769
  thrift_spec = (
30770
    (0, TType.I32, 'success', None, None, ), # 0
30771
  )
30772
 
30773
  def __init__(self, success=None,):
30774
    self.success = success
30775
 
30776
  def read(self, iprot):
30777
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30778
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30779
      return
30780
    iprot.readStructBegin()
30781
    while True:
30782
      (fname, ftype, fid) = iprot.readFieldBegin()
30783
      if ftype == TType.STOP:
30784
        break
30785
      if fid == 0:
30786
        if ftype == TType.I32:
30787
          self.success = iprot.readI32();
30788
        else:
30789
          iprot.skip(ftype)
30790
      else:
30791
        iprot.skip(ftype)
30792
      iprot.readFieldEnd()
30793
    iprot.readStructEnd()
30794
 
30795
  def write(self, oprot):
30796
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30797
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30798
      return
30799
    oprot.writeStructBegin('getPrivateDealsCount_result')
30800
    if self.success is not None:
30801
      oprot.writeFieldBegin('success', TType.I32, 0)
30802
      oprot.writeI32(self.success)
30803
      oprot.writeFieldEnd()
30804
    oprot.writeFieldStop()
30805
    oprot.writeStructEnd()
30806
 
30807
  def validate(self):
30808
    return
30809
 
30810
 
30811
  def __repr__(self):
30812
    L = ['%s=%r' % (key, value)
30813
      for key, value in self.__dict__.iteritems()]
30814
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30815
 
30816
  def __eq__(self, other):
30817
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30818
 
30819
  def __ne__(self, other):
30820
    return not (self == other)
11905 kshitij.so 30821
 
30822
class getAmazonOutSyncItems_args:
30823
  """
30824
  Attributes:
30825
   - item_id
30826
  """
30827
 
30828
  thrift_spec = (
30829
    None, # 0
30830
    (1, TType.I64, 'item_id', None, None, ), # 1
30831
  )
30832
 
30833
  def __init__(self, item_id=None,):
30834
    self.item_id = item_id
30835
 
30836
  def read(self, iprot):
30837
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30838
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30839
      return
30840
    iprot.readStructBegin()
30841
    while True:
30842
      (fname, ftype, fid) = iprot.readFieldBegin()
30843
      if ftype == TType.STOP:
30844
        break
30845
      if fid == 1:
30846
        if ftype == TType.I64:
30847
          self.item_id = iprot.readI64();
30848
        else:
30849
          iprot.skip(ftype)
30850
      else:
30851
        iprot.skip(ftype)
30852
      iprot.readFieldEnd()
30853
    iprot.readStructEnd()
30854
 
30855
  def write(self, oprot):
30856
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30857
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30858
      return
30859
    oprot.writeStructBegin('getAmazonOutSyncItems_args')
30860
    if self.item_id is not None:
30861
      oprot.writeFieldBegin('item_id', TType.I64, 1)
30862
      oprot.writeI64(self.item_id)
30863
      oprot.writeFieldEnd()
30864
    oprot.writeFieldStop()
30865
    oprot.writeStructEnd()
30866
 
30867
  def validate(self):
30868
    return
30869
 
30870
 
30871
  def __repr__(self):
30872
    L = ['%s=%r' % (key, value)
30873
      for key, value in self.__dict__.iteritems()]
30874
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30875
 
30876
  def __eq__(self, other):
30877
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30878
 
30879
  def __ne__(self, other):
30880
    return not (self == other)
30881
 
30882
class getAmazonOutSyncItems_result:
30883
  """
30884
  Attributes:
30885
   - success
30886
  """
30887
 
30888
  thrift_spec = (
30889
    (0, TType.STRUCT, 'success', (AmazonOutOfSync, AmazonOutOfSync.thrift_spec), None, ), # 0
30890
  )
30891
 
30892
  def __init__(self, success=None,):
30893
    self.success = success
30894
 
30895
  def read(self, iprot):
30896
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30897
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30898
      return
30899
    iprot.readStructBegin()
30900
    while True:
30901
      (fname, ftype, fid) = iprot.readFieldBegin()
30902
      if ftype == TType.STOP:
30903
        break
30904
      if fid == 0:
30905
        if ftype == TType.STRUCT:
30906
          self.success = AmazonOutOfSync()
30907
          self.success.read(iprot)
30908
        else:
30909
          iprot.skip(ftype)
30910
      else:
30911
        iprot.skip(ftype)
30912
      iprot.readFieldEnd()
30913
    iprot.readStructEnd()
30914
 
30915
  def write(self, oprot):
30916
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30917
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30918
      return
30919
    oprot.writeStructBegin('getAmazonOutSyncItems_result')
30920
    if self.success is not None:
30921
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
30922
      self.success.write(oprot)
30923
      oprot.writeFieldEnd()
30924
    oprot.writeFieldStop()
30925
    oprot.writeStructEnd()
30926
 
30927
  def validate(self):
30928
    return
30929
 
30930
 
30931
  def __repr__(self):
30932
    L = ['%s=%r' % (key, value)
30933
      for key, value in self.__dict__.iteritems()]
30934
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30935
 
30936
  def __eq__(self, other):
30937
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30938
 
30939
  def __ne__(self, other):
30940
    return not (self == other)
30941
 
30942
class getAllPrivateDealsComparison_args:
30943
 
30944
  thrift_spec = (
30945
  )
30946
 
30947
  def read(self, iprot):
30948
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30949
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30950
      return
30951
    iprot.readStructBegin()
30952
    while True:
30953
      (fname, ftype, fid) = iprot.readFieldBegin()
30954
      if ftype == TType.STOP:
30955
        break
30956
      else:
30957
        iprot.skip(ftype)
30958
      iprot.readFieldEnd()
30959
    iprot.readStructEnd()
30960
 
30961
  def write(self, oprot):
30962
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30963
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30964
      return
30965
    oprot.writeStructBegin('getAllPrivateDealsComparison_args')
30966
    oprot.writeFieldStop()
30967
    oprot.writeStructEnd()
30968
 
30969
  def validate(self):
30970
    return
30971
 
30972
 
30973
  def __repr__(self):
30974
    L = ['%s=%r' % (key, value)
30975
      for key, value in self.__dict__.iteritems()]
30976
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30977
 
30978
  def __eq__(self, other):
30979
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30980
 
30981
  def __ne__(self, other):
30982
    return not (self == other)
30983
 
30984
class getAllPrivateDealsComparison_result:
30985
  """
30986
  Attributes:
30987
   - success
30988
  """
30989
 
30990
  thrift_spec = (
30991
    (0, TType.LIST, 'success', (TType.STRUCT,(PdPriceComp, PdPriceComp.thrift_spec)), None, ), # 0
30992
  )
30993
 
30994
  def __init__(self, success=None,):
30995
    self.success = success
30996
 
30997
  def read(self, iprot):
30998
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30999
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31000
      return
31001
    iprot.readStructBegin()
31002
    while True:
31003
      (fname, ftype, fid) = iprot.readFieldBegin()
31004
      if ftype == TType.STOP:
31005
        break
31006
      if fid == 0:
31007
        if ftype == TType.LIST:
31008
          self.success = []
13493 amit.gupta 31009
          (_etype706, _size703) = iprot.readListBegin()
31010
          for _i707 in xrange(_size703):
31011
            _elem708 = PdPriceComp()
31012
            _elem708.read(iprot)
31013
            self.success.append(_elem708)
11905 kshitij.so 31014
          iprot.readListEnd()
31015
        else:
31016
          iprot.skip(ftype)
31017
      else:
31018
        iprot.skip(ftype)
31019
      iprot.readFieldEnd()
31020
    iprot.readStructEnd()
31021
 
31022
  def write(self, oprot):
31023
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31024
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31025
      return
31026
    oprot.writeStructBegin('getAllPrivateDealsComparison_result')
31027
    if self.success is not None:
31028
      oprot.writeFieldBegin('success', TType.LIST, 0)
31029
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31030
      for iter709 in self.success:
31031
        iter709.write(oprot)
11905 kshitij.so 31032
      oprot.writeListEnd()
31033
      oprot.writeFieldEnd()
31034
    oprot.writeFieldStop()
31035
    oprot.writeStructEnd()
31036
 
31037
  def validate(self):
31038
    return
31039
 
31040
 
31041
  def __repr__(self):
31042
    L = ['%s=%r' % (key, value)
31043
      for key, value in self.__dict__.iteritems()]
31044
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31045
 
31046
  def __eq__(self, other):
31047
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31048
 
31049
  def __ne__(self, other):
31050
    return not (self == other)
12133 kshitij.so 31051
 
31052
class getAllSnapdealMarketplaceItem_args:
31053
 
31054
  thrift_spec = (
31055
  )
31056
 
31057
  def read(self, iprot):
31058
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31059
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31060
      return
31061
    iprot.readStructBegin()
31062
    while True:
31063
      (fname, ftype, fid) = iprot.readFieldBegin()
31064
      if ftype == TType.STOP:
31065
        break
31066
      else:
31067
        iprot.skip(ftype)
31068
      iprot.readFieldEnd()
31069
    iprot.readStructEnd()
31070
 
31071
  def write(self, oprot):
31072
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31073
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31074
      return
31075
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_args')
31076
    oprot.writeFieldStop()
31077
    oprot.writeStructEnd()
31078
 
31079
  def validate(self):
31080
    return
31081
 
31082
 
31083
  def __repr__(self):
31084
    L = ['%s=%r' % (key, value)
31085
      for key, value in self.__dict__.iteritems()]
31086
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31087
 
31088
  def __eq__(self, other):
31089
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31090
 
31091
  def __ne__(self, other):
31092
    return not (self == other)
31093
 
31094
class getAllSnapdealMarketplaceItem_result:
31095
  """
31096
  Attributes:
31097
   - success
31098
  """
31099
 
31100
  thrift_spec = (
31101
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItem, SnapdealItem.thrift_spec)), None, ), # 0
31102
  )
31103
 
31104
  def __init__(self, success=None,):
31105
    self.success = success
31106
 
31107
  def read(self, iprot):
31108
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31109
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31110
      return
31111
    iprot.readStructBegin()
31112
    while True:
31113
      (fname, ftype, fid) = iprot.readFieldBegin()
31114
      if ftype == TType.STOP:
31115
        break
31116
      if fid == 0:
31117
        if ftype == TType.LIST:
31118
          self.success = []
13493 amit.gupta 31119
          (_etype713, _size710) = iprot.readListBegin()
31120
          for _i714 in xrange(_size710):
31121
            _elem715 = SnapdealItem()
31122
            _elem715.read(iprot)
31123
            self.success.append(_elem715)
12133 kshitij.so 31124
          iprot.readListEnd()
31125
        else:
31126
          iprot.skip(ftype)
31127
      else:
31128
        iprot.skip(ftype)
31129
      iprot.readFieldEnd()
31130
    iprot.readStructEnd()
31131
 
31132
  def write(self, oprot):
31133
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31134
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31135
      return
31136
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_result')
31137
    if self.success is not None:
31138
      oprot.writeFieldBegin('success', TType.LIST, 0)
31139
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31140
      for iter716 in self.success:
31141
        iter716.write(oprot)
12133 kshitij.so 31142
      oprot.writeListEnd()
31143
      oprot.writeFieldEnd()
31144
    oprot.writeFieldStop()
31145
    oprot.writeStructEnd()
31146
 
31147
  def validate(self):
31148
    return
31149
 
31150
 
31151
  def __repr__(self):
31152
    L = ['%s=%r' % (key, value)
31153
      for key, value in self.__dict__.iteritems()]
31154
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31155
 
31156
  def __eq__(self, other):
31157
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31158
 
31159
  def __ne__(self, other):
31160
    return not (self == other)
31161
 
31162
class getAllFlipkartMarketplaceItem_args:
31163
 
31164
  thrift_spec = (
31165
  )
31166
 
31167
  def read(self, iprot):
31168
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31169
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31170
      return
31171
    iprot.readStructBegin()
31172
    while True:
31173
      (fname, ftype, fid) = iprot.readFieldBegin()
31174
      if ftype == TType.STOP:
31175
        break
31176
      else:
31177
        iprot.skip(ftype)
31178
      iprot.readFieldEnd()
31179
    iprot.readStructEnd()
31180
 
31181
  def write(self, oprot):
31182
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31183
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31184
      return
31185
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_args')
31186
    oprot.writeFieldStop()
31187
    oprot.writeStructEnd()
31188
 
31189
  def validate(self):
31190
    return
31191
 
31192
 
31193
  def __repr__(self):
31194
    L = ['%s=%r' % (key, value)
31195
      for key, value in self.__dict__.iteritems()]
31196
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31197
 
31198
  def __eq__(self, other):
31199
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31200
 
31201
  def __ne__(self, other):
31202
    return not (self == other)
31203
 
31204
class getAllFlipkartMarketplaceItem_result:
31205
  """
31206
  Attributes:
31207
   - success
31208
  """
31209
 
31210
  thrift_spec = (
31211
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
31212
  )
31213
 
31214
  def __init__(self, success=None,):
31215
    self.success = success
31216
 
31217
  def read(self, iprot):
31218
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31219
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31220
      return
31221
    iprot.readStructBegin()
31222
    while True:
31223
      (fname, ftype, fid) = iprot.readFieldBegin()
31224
      if ftype == TType.STOP:
31225
        break
31226
      if fid == 0:
31227
        if ftype == TType.LIST:
31228
          self.success = []
13493 amit.gupta 31229
          (_etype720, _size717) = iprot.readListBegin()
31230
          for _i721 in xrange(_size717):
31231
            _elem722 = FlipkartItem()
31232
            _elem722.read(iprot)
31233
            self.success.append(_elem722)
12133 kshitij.so 31234
          iprot.readListEnd()
31235
        else:
31236
          iprot.skip(ftype)
31237
      else:
31238
        iprot.skip(ftype)
31239
      iprot.readFieldEnd()
31240
    iprot.readStructEnd()
31241
 
31242
  def write(self, oprot):
31243
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31244
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31245
      return
31246
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_result')
31247
    if self.success is not None:
31248
      oprot.writeFieldBegin('success', TType.LIST, 0)
31249
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31250
      for iter723 in self.success:
31251
        iter723.write(oprot)
12133 kshitij.so 31252
      oprot.writeListEnd()
31253
      oprot.writeFieldEnd()
31254
    oprot.writeFieldStop()
31255
    oprot.writeStructEnd()
31256
 
31257
  def validate(self):
31258
    return
31259
 
31260
 
31261
  def __repr__(self):
31262
    L = ['%s=%r' % (key, value)
31263
      for key, value in self.__dict__.iteritems()]
31264
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31265
 
31266
  def __eq__(self, other):
31267
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31268
 
31269
  def __ne__(self, other):
31270
    return not (self == other)
12243 kshitij.so 31271
 
31272
class addCompetitorScraping_args:
31273
  """
31274
  Attributes:
31275
   - competitorPricingMap
31276
  """
31277
 
31278
  thrift_spec = (
31279
    None, # 0
31280
    (1, TType.MAP, 'competitorPricingMap', (TType.I64,None,TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 1
31281
  )
31282
 
31283
  def __init__(self, competitorPricingMap=None,):
31284
    self.competitorPricingMap = competitorPricingMap
31285
 
31286
  def read(self, iprot):
31287
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31288
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31289
      return
31290
    iprot.readStructBegin()
31291
    while True:
31292
      (fname, ftype, fid) = iprot.readFieldBegin()
31293
      if ftype == TType.STOP:
31294
        break
31295
      if fid == 1:
31296
        if ftype == TType.MAP:
31297
          self.competitorPricingMap = {}
13493 amit.gupta 31298
          (_ktype725, _vtype726, _size724 ) = iprot.readMapBegin() 
31299
          for _i728 in xrange(_size724):
31300
            _key729 = iprot.readI64();
31301
            _val730 = CompetitorPricing()
31302
            _val730.read(iprot)
31303
            self.competitorPricingMap[_key729] = _val730
12243 kshitij.so 31304
          iprot.readMapEnd()
31305
        else:
31306
          iprot.skip(ftype)
31307
      else:
31308
        iprot.skip(ftype)
31309
      iprot.readFieldEnd()
31310
    iprot.readStructEnd()
31311
 
31312
  def write(self, oprot):
31313
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31314
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31315
      return
31316
    oprot.writeStructBegin('addCompetitorScraping_args')
31317
    if self.competitorPricingMap is not None:
31318
      oprot.writeFieldBegin('competitorPricingMap', TType.MAP, 1)
31319
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.competitorPricingMap))
13493 amit.gupta 31320
      for kiter731,viter732 in self.competitorPricingMap.items():
31321
        oprot.writeI64(kiter731)
31322
        viter732.write(oprot)
12243 kshitij.so 31323
      oprot.writeMapEnd()
31324
      oprot.writeFieldEnd()
31325
    oprot.writeFieldStop()
31326
    oprot.writeStructEnd()
31327
 
31328
  def validate(self):
31329
    return
31330
 
31331
 
31332
  def __repr__(self):
31333
    L = ['%s=%r' % (key, value)
31334
      for key, value in self.__dict__.iteritems()]
31335
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31336
 
31337
  def __eq__(self, other):
31338
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31339
 
31340
  def __ne__(self, other):
31341
    return not (self == other)
31342
 
31343
class addCompetitorScraping_result:
31344
 
31345
  thrift_spec = (
31346
  )
31347
 
31348
  def read(self, iprot):
31349
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31350
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31351
      return
31352
    iprot.readStructBegin()
31353
    while True:
31354
      (fname, ftype, fid) = iprot.readFieldBegin()
31355
      if ftype == TType.STOP:
31356
        break
31357
      else:
31358
        iprot.skip(ftype)
31359
      iprot.readFieldEnd()
31360
    iprot.readStructEnd()
31361
 
31362
  def write(self, oprot):
31363
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31364
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31365
      return
31366
    oprot.writeStructBegin('addCompetitorScraping_result')
31367
    oprot.writeFieldStop()
31368
    oprot.writeStructEnd()
31369
 
31370
  def validate(self):
31371
    return
31372
 
31373
 
31374
  def __repr__(self):
31375
    L = ['%s=%r' % (key, value)
31376
      for key, value in self.__dict__.iteritems()]
31377
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31378
 
31379
  def __eq__(self, other):
31380
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31381
 
31382
  def __ne__(self, other):
31383
    return not (self == other)
31384
 
31385
class getPreviousCompetitorScraping_args:
31386
  """
31387
  Attributes:
31388
   - delta
31389
  """
31390
 
31391
  thrift_spec = (
31392
    None, # 0
31393
    (1, TType.I64, 'delta', None, None, ), # 1
31394
  )
31395
 
31396
  def __init__(self, delta=None,):
31397
    self.delta = delta
31398
 
31399
  def read(self, iprot):
31400
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31401
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31402
      return
31403
    iprot.readStructBegin()
31404
    while True:
31405
      (fname, ftype, fid) = iprot.readFieldBegin()
31406
      if ftype == TType.STOP:
31407
        break
31408
      if fid == 1:
31409
        if ftype == TType.I64:
31410
          self.delta = iprot.readI64();
31411
        else:
31412
          iprot.skip(ftype)
31413
      else:
31414
        iprot.skip(ftype)
31415
      iprot.readFieldEnd()
31416
    iprot.readStructEnd()
31417
 
31418
  def write(self, oprot):
31419
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31420
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31421
      return
31422
    oprot.writeStructBegin('getPreviousCompetitorScraping_args')
31423
    if self.delta is not None:
31424
      oprot.writeFieldBegin('delta', TType.I64, 1)
31425
      oprot.writeI64(self.delta)
31426
      oprot.writeFieldEnd()
31427
    oprot.writeFieldStop()
31428
    oprot.writeStructEnd()
31429
 
31430
  def validate(self):
31431
    return
31432
 
31433
 
31434
  def __repr__(self):
31435
    L = ['%s=%r' % (key, value)
31436
      for key, value in self.__dict__.iteritems()]
31437
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31438
 
31439
  def __eq__(self, other):
31440
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31441
 
31442
  def __ne__(self, other):
31443
    return not (self == other)
31444
 
31445
class getPreviousCompetitorScraping_result:
31446
  """
31447
  Attributes:
31448
   - success
31449
  """
31450
 
31451
  thrift_spec = (
31452
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
31453
  )
31454
 
31455
  def __init__(self, success=None,):
31456
    self.success = success
31457
 
31458
  def read(self, iprot):
31459
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31460
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31461
      return
31462
    iprot.readStructBegin()
31463
    while True:
31464
      (fname, ftype, fid) = iprot.readFieldBegin()
31465
      if ftype == TType.STOP:
31466
        break
31467
      if fid == 0:
31468
        if ftype == TType.LIST:
31469
          self.success = []
13493 amit.gupta 31470
          (_etype736, _size733) = iprot.readListBegin()
31471
          for _i737 in xrange(_size733):
31472
            _elem738 = CompetitorPricing()
31473
            _elem738.read(iprot)
31474
            self.success.append(_elem738)
12243 kshitij.so 31475
          iprot.readListEnd()
31476
        else:
31477
          iprot.skip(ftype)
31478
      else:
31479
        iprot.skip(ftype)
31480
      iprot.readFieldEnd()
31481
    iprot.readStructEnd()
31482
 
31483
  def write(self, oprot):
31484
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31485
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31486
      return
31487
    oprot.writeStructBegin('getPreviousCompetitorScraping_result')
31488
    if self.success is not None:
31489
      oprot.writeFieldBegin('success', TType.LIST, 0)
31490
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31491
      for iter739 in self.success:
31492
        iter739.write(oprot)
12243 kshitij.so 31493
      oprot.writeListEnd()
31494
      oprot.writeFieldEnd()
31495
    oprot.writeFieldStop()
31496
    oprot.writeStructEnd()
31497
 
31498
  def validate(self):
31499
    return
31500
 
31501
 
31502
  def __repr__(self):
31503
    L = ['%s=%r' % (key, value)
31504
      for key, value in self.__dict__.iteritems()]
31505
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31506
 
31507
  def __eq__(self, other):
31508
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31509
 
31510
  def __ne__(self, other):
31511
    return not (self == other)
12256 kshitij.so 31512
 
31513
class getUploadResultById_args:
31514
  """
31515
  Attributes:
31516
   - uploadId
31517
  """
31518
 
31519
  thrift_spec = (
31520
    None, # 0
31521
    (1, TType.I64, 'uploadId', None, None, ), # 1
31522
  )
31523
 
31524
  def __init__(self, uploadId=None,):
31525
    self.uploadId = uploadId
31526
 
31527
  def read(self, iprot):
31528
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31529
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31530
      return
31531
    iprot.readStructBegin()
31532
    while True:
31533
      (fname, ftype, fid) = iprot.readFieldBegin()
31534
      if ftype == TType.STOP:
31535
        break
31536
      if fid == 1:
31537
        if ftype == TType.I64:
31538
          self.uploadId = iprot.readI64();
31539
        else:
31540
          iprot.skip(ftype)
31541
      else:
31542
        iprot.skip(ftype)
31543
      iprot.readFieldEnd()
31544
    iprot.readStructEnd()
31545
 
31546
  def write(self, oprot):
31547
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31548
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31549
      return
31550
    oprot.writeStructBegin('getUploadResultById_args')
31551
    if self.uploadId is not None:
31552
      oprot.writeFieldBegin('uploadId', TType.I64, 1)
31553
      oprot.writeI64(self.uploadId)
31554
      oprot.writeFieldEnd()
31555
    oprot.writeFieldStop()
31556
    oprot.writeStructEnd()
31557
 
31558
  def validate(self):
31559
    return
31560
 
31561
 
31562
  def __repr__(self):
31563
    L = ['%s=%r' % (key, value)
31564
      for key, value in self.__dict__.iteritems()]
31565
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31566
 
31567
  def __eq__(self, other):
31568
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31569
 
31570
  def __ne__(self, other):
31571
    return not (self == other)
31572
 
31573
class getUploadResultById_result:
31574
  """
31575
  Attributes:
31576
   - success
31577
  """
31578
 
31579
  thrift_spec = (
31580
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
31581
  )
31582
 
31583
  def __init__(self, success=None,):
31584
    self.success = success
31585
 
31586
  def read(self, iprot):
31587
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31588
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31589
      return
31590
    iprot.readStructBegin()
31591
    while True:
31592
      (fname, ftype, fid) = iprot.readFieldBegin()
31593
      if ftype == TType.STOP:
31594
        break
31595
      if fid == 0:
31596
        if ftype == TType.LIST:
31597
          self.success = []
13493 amit.gupta 31598
          (_etype743, _size740) = iprot.readListBegin()
31599
          for _i744 in xrange(_size740):
31600
            _elem745 = CompetitorPricing()
31601
            _elem745.read(iprot)
31602
            self.success.append(_elem745)
12256 kshitij.so 31603
          iprot.readListEnd()
31604
        else:
31605
          iprot.skip(ftype)
31606
      else:
31607
        iprot.skip(ftype)
31608
      iprot.readFieldEnd()
31609
    iprot.readStructEnd()
31610
 
31611
  def write(self, oprot):
31612
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31613
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31614
      return
31615
    oprot.writeStructBegin('getUploadResultById_result')
31616
    if self.success is not None:
31617
      oprot.writeFieldBegin('success', TType.LIST, 0)
31618
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31619
      for iter746 in self.success:
31620
        iter746.write(oprot)
12256 kshitij.so 31621
      oprot.writeListEnd()
31622
      oprot.writeFieldEnd()
31623
    oprot.writeFieldStop()
31624
    oprot.writeStructEnd()
31625
 
31626
  def validate(self):
31627
    return
31628
 
31629
 
31630
  def __repr__(self):
31631
    L = ['%s=%r' % (key, value)
31632
      for key, value in self.__dict__.iteritems()]
31633
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31634
 
31635
  def __eq__(self, other):
31636
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31637
 
31638
  def __ne__(self, other):
31639
    return not (self == other)
12363 kshitij.so 31640
 
31641
class addAmazonPromotion_args:
31642
  """
31643
  Attributes:
31644
   - amazonPromotions
31645
  """
31646
 
31647
  thrift_spec = (
31648
    None, # 0
31649
    (1, TType.MAP, 'amazonPromotions', (TType.STRING,None,TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
31650
  )
31651
 
31652
  def __init__(self, amazonPromotions=None,):
31653
    self.amazonPromotions = amazonPromotions
31654
 
31655
  def read(self, iprot):
31656
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31657
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31658
      return
31659
    iprot.readStructBegin()
31660
    while True:
31661
      (fname, ftype, fid) = iprot.readFieldBegin()
31662
      if ftype == TType.STOP:
31663
        break
31664
      if fid == 1:
31665
        if ftype == TType.MAP:
31666
          self.amazonPromotions = {}
13493 amit.gupta 31667
          (_ktype748, _vtype749, _size747 ) = iprot.readMapBegin() 
31668
          for _i751 in xrange(_size747):
31669
            _key752 = iprot.readString();
31670
            _val753 = AmazonPromotion()
31671
            _val753.read(iprot)
31672
            self.amazonPromotions[_key752] = _val753
12363 kshitij.so 31673
          iprot.readMapEnd()
31674
        else:
31675
          iprot.skip(ftype)
31676
      else:
31677
        iprot.skip(ftype)
31678
      iprot.readFieldEnd()
31679
    iprot.readStructEnd()
31680
 
31681
  def write(self, oprot):
31682
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31683
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31684
      return
31685
    oprot.writeStructBegin('addAmazonPromotion_args')
31686
    if self.amazonPromotions is not None:
31687
      oprot.writeFieldBegin('amazonPromotions', TType.MAP, 1)
31688
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.amazonPromotions))
13493 amit.gupta 31689
      for kiter754,viter755 in self.amazonPromotions.items():
31690
        oprot.writeString(kiter754)
31691
        viter755.write(oprot)
12363 kshitij.so 31692
      oprot.writeMapEnd()
31693
      oprot.writeFieldEnd()
31694
    oprot.writeFieldStop()
31695
    oprot.writeStructEnd()
31696
 
31697
  def validate(self):
31698
    return
31699
 
31700
 
31701
  def __repr__(self):
31702
    L = ['%s=%r' % (key, value)
31703
      for key, value in self.__dict__.iteritems()]
31704
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31705
 
31706
  def __eq__(self, other):
31707
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31708
 
31709
  def __ne__(self, other):
31710
    return not (self == other)
31711
 
31712
class addAmazonPromotion_result:
31713
  """
31714
  Attributes:
31715
   - success
12947 kshitij.so 31716
   - cex
12363 kshitij.so 31717
  """
31718
 
31719
  thrift_spec = (
12947 kshitij.so 31720
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
31721
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12363 kshitij.so 31722
  )
31723
 
12947 kshitij.so 31724
  def __init__(self, success=None, cex=None,):
12363 kshitij.so 31725
    self.success = success
12947 kshitij.so 31726
    self.cex = cex
12363 kshitij.so 31727
 
31728
  def read(self, iprot):
31729
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31730
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31731
      return
31732
    iprot.readStructBegin()
31733
    while True:
31734
      (fname, ftype, fid) = iprot.readFieldBegin()
31735
      if ftype == TType.STOP:
31736
        break
31737
      if fid == 0:
12947 kshitij.so 31738
        if ftype == TType.LIST:
31739
          self.success = []
13493 amit.gupta 31740
          (_etype759, _size756) = iprot.readListBegin()
31741
          for _i760 in xrange(_size756):
31742
            _elem761 = iprot.readString();
31743
            self.success.append(_elem761)
12947 kshitij.so 31744
          iprot.readListEnd()
12363 kshitij.so 31745
        else:
31746
          iprot.skip(ftype)
12947 kshitij.so 31747
      elif fid == 1:
31748
        if ftype == TType.STRUCT:
31749
          self.cex = CatalogServiceException()
31750
          self.cex.read(iprot)
31751
        else:
31752
          iprot.skip(ftype)
12363 kshitij.so 31753
      else:
31754
        iprot.skip(ftype)
31755
      iprot.readFieldEnd()
31756
    iprot.readStructEnd()
31757
 
31758
  def write(self, oprot):
31759
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31760
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31761
      return
31762
    oprot.writeStructBegin('addAmazonPromotion_result')
31763
    if self.success is not None:
12947 kshitij.so 31764
      oprot.writeFieldBegin('success', TType.LIST, 0)
31765
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 31766
      for iter762 in self.success:
31767
        oprot.writeString(iter762)
12947 kshitij.so 31768
      oprot.writeListEnd()
12363 kshitij.so 31769
      oprot.writeFieldEnd()
12947 kshitij.so 31770
    if self.cex is not None:
31771
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
31772
      self.cex.write(oprot)
31773
      oprot.writeFieldEnd()
12363 kshitij.so 31774
    oprot.writeFieldStop()
31775
    oprot.writeStructEnd()
31776
 
31777
  def validate(self):
31778
    return
31779
 
31780
 
31781
  def __repr__(self):
31782
    L = ['%s=%r' % (key, value)
31783
      for key, value in self.__dict__.iteritems()]
31784
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31785
 
31786
  def __eq__(self, other):
31787
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31788
 
31789
  def __ne__(self, other):
31790
    return not (self == other)
31791
 
31792
class getAmazonPromotion_args:
31793
  """
31794
  Attributes:
31795
   - startDate
31796
   - endDate
31797
  """
31798
 
31799
  thrift_spec = (
31800
    None, # 0
31801
    (1, TType.I64, 'startDate', None, None, ), # 1
31802
    (2, TType.I64, 'endDate', None, None, ), # 2
31803
  )
31804
 
31805
  def __init__(self, startDate=None, endDate=None,):
31806
    self.startDate = startDate
31807
    self.endDate = endDate
31808
 
31809
  def read(self, iprot):
31810
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31811
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31812
      return
31813
    iprot.readStructBegin()
31814
    while True:
31815
      (fname, ftype, fid) = iprot.readFieldBegin()
31816
      if ftype == TType.STOP:
31817
        break
31818
      if fid == 1:
31819
        if ftype == TType.I64:
31820
          self.startDate = iprot.readI64();
31821
        else:
31822
          iprot.skip(ftype)
31823
      elif fid == 2:
31824
        if ftype == TType.I64:
31825
          self.endDate = iprot.readI64();
31826
        else:
31827
          iprot.skip(ftype)
31828
      else:
31829
        iprot.skip(ftype)
31830
      iprot.readFieldEnd()
31831
    iprot.readStructEnd()
31832
 
31833
  def write(self, oprot):
31834
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31835
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31836
      return
31837
    oprot.writeStructBegin('getAmazonPromotion_args')
31838
    if self.startDate is not None:
31839
      oprot.writeFieldBegin('startDate', TType.I64, 1)
31840
      oprot.writeI64(self.startDate)
31841
      oprot.writeFieldEnd()
31842
    if self.endDate is not None:
31843
      oprot.writeFieldBegin('endDate', TType.I64, 2)
31844
      oprot.writeI64(self.endDate)
31845
      oprot.writeFieldEnd()
31846
    oprot.writeFieldStop()
31847
    oprot.writeStructEnd()
31848
 
31849
  def validate(self):
31850
    return
31851
 
31852
 
31853
  def __repr__(self):
31854
    L = ['%s=%r' % (key, value)
31855
      for key, value in self.__dict__.iteritems()]
31856
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31857
 
31858
  def __eq__(self, other):
31859
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31860
 
31861
  def __ne__(self, other):
31862
    return not (self == other)
31863
 
31864
class getAmazonPromotion_result:
31865
  """
31866
  Attributes:
31867
   - success
31868
  """
31869
 
31870
  thrift_spec = (
31871
    (0, TType.LIST, 'success', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 0
31872
  )
31873
 
31874
  def __init__(self, success=None,):
31875
    self.success = success
31876
 
31877
  def read(self, iprot):
31878
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31879
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31880
      return
31881
    iprot.readStructBegin()
31882
    while True:
31883
      (fname, ftype, fid) = iprot.readFieldBegin()
31884
      if ftype == TType.STOP:
31885
        break
31886
      if fid == 0:
31887
        if ftype == TType.LIST:
31888
          self.success = []
13493 amit.gupta 31889
          (_etype766, _size763) = iprot.readListBegin()
31890
          for _i767 in xrange(_size763):
31891
            _elem768 = AmazonPromotion()
31892
            _elem768.read(iprot)
31893
            self.success.append(_elem768)
12363 kshitij.so 31894
          iprot.readListEnd()
31895
        else:
31896
          iprot.skip(ftype)
31897
      else:
31898
        iprot.skip(ftype)
31899
      iprot.readFieldEnd()
31900
    iprot.readStructEnd()
31901
 
31902
  def write(self, oprot):
31903
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31904
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31905
      return
31906
    oprot.writeStructBegin('getAmazonPromotion_result')
31907
    if self.success is not None:
31908
      oprot.writeFieldBegin('success', TType.LIST, 0)
31909
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31910
      for iter769 in self.success:
31911
        iter769.write(oprot)
12363 kshitij.so 31912
      oprot.writeListEnd()
31913
      oprot.writeFieldEnd()
31914
    oprot.writeFieldStop()
31915
    oprot.writeStructEnd()
31916
 
31917
  def validate(self):
31918
    return
31919
 
31920
 
31921
  def __repr__(self):
31922
    L = ['%s=%r' % (key, value)
31923
      for key, value in self.__dict__.iteritems()]
31924
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31925
 
31926
  def __eq__(self, other):
31927
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31928
 
31929
  def __ne__(self, other):
31930
    return not (self == other)
31931
 
31932
class updateAmazonPromotion_args:
31933
  """
31934
  Attributes:
31935
   - amazonPromotions
31936
  """
31937
 
31938
  thrift_spec = (
31939
    None, # 0
31940
    (1, TType.LIST, 'amazonPromotions', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
31941
  )
31942
 
31943
  def __init__(self, amazonPromotions=None,):
31944
    self.amazonPromotions = amazonPromotions
31945
 
31946
  def read(self, iprot):
31947
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31948
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31949
      return
31950
    iprot.readStructBegin()
31951
    while True:
31952
      (fname, ftype, fid) = iprot.readFieldBegin()
31953
      if ftype == TType.STOP:
31954
        break
31955
      if fid == 1:
31956
        if ftype == TType.LIST:
31957
          self.amazonPromotions = []
13493 amit.gupta 31958
          (_etype773, _size770) = iprot.readListBegin()
31959
          for _i774 in xrange(_size770):
31960
            _elem775 = AmazonPromotion()
31961
            _elem775.read(iprot)
31962
            self.amazonPromotions.append(_elem775)
12363 kshitij.so 31963
          iprot.readListEnd()
31964
        else:
31965
          iprot.skip(ftype)
31966
      else:
31967
        iprot.skip(ftype)
31968
      iprot.readFieldEnd()
31969
    iprot.readStructEnd()
31970
 
31971
  def write(self, oprot):
31972
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31973
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31974
      return
31975
    oprot.writeStructBegin('updateAmazonPromotion_args')
31976
    if self.amazonPromotions is not None:
31977
      oprot.writeFieldBegin('amazonPromotions', TType.LIST, 1)
31978
      oprot.writeListBegin(TType.STRUCT, len(self.amazonPromotions))
13493 amit.gupta 31979
      for iter776 in self.amazonPromotions:
31980
        iter776.write(oprot)
12363 kshitij.so 31981
      oprot.writeListEnd()
31982
      oprot.writeFieldEnd()
31983
    oprot.writeFieldStop()
31984
    oprot.writeStructEnd()
31985
 
31986
  def validate(self):
31987
    return
31988
 
31989
 
31990
  def __repr__(self):
31991
    L = ['%s=%r' % (key, value)
31992
      for key, value in self.__dict__.iteritems()]
31993
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31994
 
31995
  def __eq__(self, other):
31996
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31997
 
31998
  def __ne__(self, other):
31999
    return not (self == other)
32000
 
32001
class updateAmazonPromotion_result:
32002
  """
32003
  Attributes:
32004
   - success
32005
  """
32006
 
32007
  thrift_spec = (
32008
    (0, TType.BOOL, 'success', None, None, ), # 0
32009
  )
32010
 
32011
  def __init__(self, success=None,):
32012
    self.success = success
32013
 
32014
  def read(self, iprot):
32015
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32016
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32017
      return
32018
    iprot.readStructBegin()
32019
    while True:
32020
      (fname, ftype, fid) = iprot.readFieldBegin()
32021
      if ftype == TType.STOP:
32022
        break
32023
      if fid == 0:
32024
        if ftype == TType.BOOL:
32025
          self.success = iprot.readBool();
32026
        else:
32027
          iprot.skip(ftype)
32028
      else:
32029
        iprot.skip(ftype)
32030
      iprot.readFieldEnd()
32031
    iprot.readStructEnd()
32032
 
32033
  def write(self, oprot):
32034
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32035
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32036
      return
32037
    oprot.writeStructBegin('updateAmazonPromotion_result')
32038
    if self.success is not None:
32039
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32040
      oprot.writeBool(self.success)
32041
      oprot.writeFieldEnd()
32042
    oprot.writeFieldStop()
32043
    oprot.writeStructEnd()
32044
 
32045
  def validate(self):
32046
    return
32047
 
32048
 
32049
  def __repr__(self):
32050
    L = ['%s=%r' % (key, value)
32051
      for key, value in self.__dict__.iteritems()]
32052
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32053
 
32054
  def __eq__(self, other):
32055
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32056
 
32057
  def __ne__(self, other):
32058
    return not (self == other)
12567 amit.gupta 32059
 
32060
class markPartiallyActive_args:
32061
  """
32062
  Attributes:
32063
   - itemId
32064
   - categoryId
32065
  """
32066
 
32067
  thrift_spec = (
32068
    None, # 0
32069
    (1, TType.I64, 'itemId', None, None, ), # 1
32070
    (2, TType.I64, 'categoryId', None, None, ), # 2
32071
  )
32072
 
32073
  def __init__(self, itemId=None, categoryId=None,):
32074
    self.itemId = itemId
32075
    self.categoryId = categoryId
32076
 
32077
  def read(self, iprot):
32078
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32079
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32080
      return
32081
    iprot.readStructBegin()
32082
    while True:
32083
      (fname, ftype, fid) = iprot.readFieldBegin()
32084
      if ftype == TType.STOP:
32085
        break
32086
      if fid == 1:
32087
        if ftype == TType.I64:
32088
          self.itemId = iprot.readI64();
32089
        else:
32090
          iprot.skip(ftype)
32091
      elif fid == 2:
32092
        if ftype == TType.I64:
32093
          self.categoryId = iprot.readI64();
32094
        else:
32095
          iprot.skip(ftype)
32096
      else:
32097
        iprot.skip(ftype)
32098
      iprot.readFieldEnd()
32099
    iprot.readStructEnd()
32100
 
32101
  def write(self, oprot):
32102
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32103
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32104
      return
32105
    oprot.writeStructBegin('markPartiallyActive_args')
32106
    if self.itemId is not None:
32107
      oprot.writeFieldBegin('itemId', TType.I64, 1)
32108
      oprot.writeI64(self.itemId)
32109
      oprot.writeFieldEnd()
32110
    if self.categoryId is not None:
32111
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
32112
      oprot.writeI64(self.categoryId)
32113
      oprot.writeFieldEnd()
32114
    oprot.writeFieldStop()
32115
    oprot.writeStructEnd()
32116
 
32117
  def validate(self):
32118
    return
32119
 
32120
 
32121
  def __repr__(self):
32122
    L = ['%s=%r' % (key, value)
32123
      for key, value in self.__dict__.iteritems()]
32124
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32125
 
32126
  def __eq__(self, other):
32127
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32128
 
32129
  def __ne__(self, other):
32130
    return not (self == other)
32131
 
32132
class markPartiallyActive_result:
32133
  """
32134
  Attributes:
32135
   - success
32136
  """
32137
 
32138
  thrift_spec = (
32139
    (0, TType.BOOL, 'success', None, None, ), # 0
32140
  )
32141
 
32142
  def __init__(self, success=None,):
32143
    self.success = success
32144
 
32145
  def read(self, iprot):
32146
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32147
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32148
      return
32149
    iprot.readStructBegin()
32150
    while True:
32151
      (fname, ftype, fid) = iprot.readFieldBegin()
32152
      if ftype == TType.STOP:
32153
        break
32154
      if fid == 0:
32155
        if ftype == TType.BOOL:
32156
          self.success = iprot.readBool();
32157
        else:
32158
          iprot.skip(ftype)
32159
      else:
32160
        iprot.skip(ftype)
32161
      iprot.readFieldEnd()
32162
    iprot.readStructEnd()
32163
 
32164
  def write(self, oprot):
32165
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32166
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32167
      return
32168
    oprot.writeStructBegin('markPartiallyActive_result')
32169
    if self.success is not None:
32170
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32171
      oprot.writeBool(self.success)
32172
      oprot.writeFieldEnd()
32173
    oprot.writeFieldStop()
32174
    oprot.writeStructEnd()
32175
 
32176
  def validate(self):
32177
    return
32178
 
32179
 
32180
  def __repr__(self):
32181
    L = ['%s=%r' % (key, value)
32182
      for key, value in self.__dict__.iteritems()]
32183
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32184
 
32185
  def __eq__(self, other):
32186
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32187
 
32188
  def __ne__(self, other):
32189
    return not (self == other)
32190
 
32191
class updateItemStateVat_args:
32192
  """
32193
  Attributes:
32194
   - itemId
32195
   - statevat
32196
  """
32197
 
32198
  thrift_spec = (
32199
    None, # 0
32200
    (1, TType.I64, 'itemId', None, None, ), # 1
32201
    (2, TType.MAP, 'statevat', (TType.I64,None,TType.DOUBLE,None), None, ), # 2
32202
  )
32203
 
32204
  def __init__(self, itemId=None, statevat=None,):
32205
    self.itemId = itemId
32206
    self.statevat = statevat
32207
 
32208
  def read(self, iprot):
32209
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32210
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32211
      return
32212
    iprot.readStructBegin()
32213
    while True:
32214
      (fname, ftype, fid) = iprot.readFieldBegin()
32215
      if ftype == TType.STOP:
32216
        break
32217
      if fid == 1:
32218
        if ftype == TType.I64:
32219
          self.itemId = iprot.readI64();
32220
        else:
32221
          iprot.skip(ftype)
32222
      elif fid == 2:
32223
        if ftype == TType.MAP:
32224
          self.statevat = {}
13493 amit.gupta 32225
          (_ktype778, _vtype779, _size777 ) = iprot.readMapBegin() 
32226
          for _i781 in xrange(_size777):
32227
            _key782 = iprot.readI64();
32228
            _val783 = iprot.readDouble();
32229
            self.statevat[_key782] = _val783
12567 amit.gupta 32230
          iprot.readMapEnd()
32231
        else:
32232
          iprot.skip(ftype)
32233
      else:
32234
        iprot.skip(ftype)
32235
      iprot.readFieldEnd()
32236
    iprot.readStructEnd()
32237
 
32238
  def write(self, oprot):
32239
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32240
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32241
      return
32242
    oprot.writeStructBegin('updateItemStateVat_args')
32243
    if self.itemId is not None:
32244
      oprot.writeFieldBegin('itemId', TType.I64, 1)
32245
      oprot.writeI64(self.itemId)
32246
      oprot.writeFieldEnd()
32247
    if self.statevat is not None:
32248
      oprot.writeFieldBegin('statevat', TType.MAP, 2)
32249
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.statevat))
13493 amit.gupta 32250
      for kiter784,viter785 in self.statevat.items():
32251
        oprot.writeI64(kiter784)
32252
        oprot.writeDouble(viter785)
12567 amit.gupta 32253
      oprot.writeMapEnd()
32254
      oprot.writeFieldEnd()
32255
    oprot.writeFieldStop()
32256
    oprot.writeStructEnd()
32257
 
32258
  def validate(self):
32259
    return
32260
 
32261
 
32262
  def __repr__(self):
32263
    L = ['%s=%r' % (key, value)
32264
      for key, value in self.__dict__.iteritems()]
32265
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32266
 
32267
  def __eq__(self, other):
32268
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32269
 
32270
  def __ne__(self, other):
32271
    return not (self == other)
32272
 
32273
class updateItemStateVat_result:
32274
  """
32275
  Attributes:
32276
   - success
32277
  """
32278
 
32279
  thrift_spec = (
32280
    (0, TType.BOOL, 'success', None, None, ), # 0
32281
  )
32282
 
32283
  def __init__(self, success=None,):
32284
    self.success = success
32285
 
32286
  def read(self, iprot):
32287
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32288
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32289
      return
32290
    iprot.readStructBegin()
32291
    while True:
32292
      (fname, ftype, fid) = iprot.readFieldBegin()
32293
      if ftype == TType.STOP:
32294
        break
32295
      if fid == 0:
32296
        if ftype == TType.BOOL:
32297
          self.success = iprot.readBool();
32298
        else:
32299
          iprot.skip(ftype)
32300
      else:
32301
        iprot.skip(ftype)
32302
      iprot.readFieldEnd()
32303
    iprot.readStructEnd()
32304
 
32305
  def write(self, oprot):
32306
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32307
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32308
      return
32309
    oprot.writeStructBegin('updateItemStateVat_result')
32310
    if self.success is not None:
32311
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32312
      oprot.writeBool(self.success)
32313
      oprot.writeFieldEnd()
32314
    oprot.writeFieldStop()
32315
    oprot.writeStructEnd()
32316
 
32317
  def validate(self):
32318
    return
32319
 
32320
 
32321
  def __repr__(self):
32322
    L = ['%s=%r' % (key, value)
32323
      for key, value in self.__dict__.iteritems()]
32324
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32325
 
32326
  def __eq__(self, other):
32327
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32328
 
32329
  def __ne__(self, other):
32330
    return not (self == other)
12620 amit.gupta 32331
 
32332
class getExAffiliateItemInfo_args:
32333
 
32334
  thrift_spec = (
32335
  )
32336
 
32337
  def read(self, iprot):
32338
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32339
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32340
      return
32341
    iprot.readStructBegin()
32342
    while True:
32343
      (fname, ftype, fid) = iprot.readFieldBegin()
32344
      if ftype == TType.STOP:
32345
        break
32346
      else:
32347
        iprot.skip(ftype)
32348
      iprot.readFieldEnd()
32349
    iprot.readStructEnd()
32350
 
32351
  def write(self, oprot):
32352
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32353
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32354
      return
32355
    oprot.writeStructBegin('getExAffiliateItemInfo_args')
32356
    oprot.writeFieldStop()
32357
    oprot.writeStructEnd()
32358
 
32359
  def validate(self):
32360
    return
32361
 
32362
 
32363
  def __repr__(self):
32364
    L = ['%s=%r' % (key, value)
32365
      for key, value in self.__dict__.iteritems()]
32366
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32367
 
32368
  def __eq__(self, other):
32369
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32370
 
32371
  def __ne__(self, other):
32372
    return not (self == other)
32373
 
32374
class getExAffiliateItemInfo_result:
32375
  """
32376
  Attributes:
32377
   - success
32378
  """
32379
 
32380
  thrift_spec = (
32381
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(ExclusiveAffiliateItemInfo, ExclusiveAffiliateItemInfo.thrift_spec)), None, ), # 0
32382
  )
32383
 
32384
  def __init__(self, success=None,):
32385
    self.success = success
32386
 
32387
  def read(self, iprot):
32388
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32389
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32390
      return
32391
    iprot.readStructBegin()
32392
    while True:
32393
      (fname, ftype, fid) = iprot.readFieldBegin()
32394
      if ftype == TType.STOP:
32395
        break
32396
      if fid == 0:
32397
        if ftype == TType.MAP:
32398
          self.success = {}
13493 amit.gupta 32399
          (_ktype787, _vtype788, _size786 ) = iprot.readMapBegin() 
32400
          for _i790 in xrange(_size786):
32401
            _key791 = iprot.readI64();
32402
            _val792 = ExclusiveAffiliateItemInfo()
32403
            _val792.read(iprot)
32404
            self.success[_key791] = _val792
12620 amit.gupta 32405
          iprot.readMapEnd()
32406
        else:
32407
          iprot.skip(ftype)
32408
      else:
32409
        iprot.skip(ftype)
32410
      iprot.readFieldEnd()
32411
    iprot.readStructEnd()
32412
 
32413
  def write(self, oprot):
32414
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32415
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32416
      return
32417
    oprot.writeStructBegin('getExAffiliateItemInfo_result')
32418
    if self.success is not None:
32419
      oprot.writeFieldBegin('success', TType.MAP, 0)
32420
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
13493 amit.gupta 32421
      for kiter793,viter794 in self.success.items():
32422
        oprot.writeI64(kiter793)
32423
        viter794.write(oprot)
12620 amit.gupta 32424
      oprot.writeMapEnd()
32425
      oprot.writeFieldEnd()
32426
    oprot.writeFieldStop()
32427
    oprot.writeStructEnd()
32428
 
32429
  def validate(self):
32430
    return
32431
 
32432
 
32433
  def __repr__(self):
32434
    L = ['%s=%r' % (key, value)
32435
      for key, value in self.__dict__.iteritems()]
32436
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32437
 
32438
  def __eq__(self, other):
32439
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32440
 
32441
  def __ne__(self, other):
32442
    return not (self == other)
12888 kshitij.so 32443
 
32444
class getAllItemstoListOnFbg_args:
32445
 
32446
  thrift_spec = (
32447
  )
32448
 
32449
  def read(self, iprot):
32450
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32451
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32452
      return
32453
    iprot.readStructBegin()
32454
    while True:
32455
      (fname, ftype, fid) = iprot.readFieldBegin()
32456
      if ftype == TType.STOP:
32457
        break
32458
      else:
32459
        iprot.skip(ftype)
32460
      iprot.readFieldEnd()
32461
    iprot.readStructEnd()
32462
 
32463
  def write(self, oprot):
32464
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32465
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32466
      return
32467
    oprot.writeStructBegin('getAllItemstoListOnFbg_args')
32468
    oprot.writeFieldStop()
32469
    oprot.writeStructEnd()
32470
 
32471
  def validate(self):
32472
    return
32473
 
32474
 
32475
  def __repr__(self):
32476
    L = ['%s=%r' % (key, value)
32477
      for key, value in self.__dict__.iteritems()]
32478
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32479
 
32480
  def __eq__(self, other):
32481
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32482
 
32483
  def __ne__(self, other):
32484
    return not (self == other)
32485
 
32486
class getAllItemstoListOnFbg_result:
32487
  """
32488
  Attributes:
32489
   - success
32490
  """
32491
 
32492
  thrift_spec = (
32493
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
32494
  )
32495
 
32496
  def __init__(self, success=None,):
32497
    self.success = success
32498
 
32499
  def read(self, iprot):
32500
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32501
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32502
      return
32503
    iprot.readStructBegin()
32504
    while True:
32505
      (fname, ftype, fid) = iprot.readFieldBegin()
32506
      if ftype == TType.STOP:
32507
        break
32508
      if fid == 0:
32509
        if ftype == TType.LIST:
32510
          self.success = []
13493 amit.gupta 32511
          (_etype798, _size795) = iprot.readListBegin()
32512
          for _i799 in xrange(_size795):
32513
            _elem800 = Amazonlisted()
32514
            _elem800.read(iprot)
32515
            self.success.append(_elem800)
12888 kshitij.so 32516
          iprot.readListEnd()
32517
        else:
32518
          iprot.skip(ftype)
32519
      else:
32520
        iprot.skip(ftype)
32521
      iprot.readFieldEnd()
32522
    iprot.readStructEnd()
32523
 
32524
  def write(self, oprot):
32525
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32526
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32527
      return
32528
    oprot.writeStructBegin('getAllItemstoListOnFbg_result')
32529
    if self.success is not None:
32530
      oprot.writeFieldBegin('success', TType.LIST, 0)
32531
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 32532
      for iter801 in self.success:
32533
        iter801.write(oprot)
12888 kshitij.so 32534
      oprot.writeListEnd()
32535
      oprot.writeFieldEnd()
32536
    oprot.writeFieldStop()
32537
    oprot.writeStructEnd()
32538
 
32539
  def validate(self):
32540
    return
32541
 
32542
 
32543
  def __repr__(self):
32544
    L = ['%s=%r' % (key, value)
32545
      for key, value in self.__dict__.iteritems()]
32546
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32547
 
32548
  def __eq__(self, other):
32549
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32550
 
32551
  def __ne__(self, other):
32552
    return not (self == other)
12892 kshitij.so 32553
 
32554
class getAllFbgListedItems_args:
32555
 
32556
  thrift_spec = (
32557
  )
32558
 
32559
  def read(self, iprot):
32560
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32561
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32562
      return
32563
    iprot.readStructBegin()
32564
    while True:
32565
      (fname, ftype, fid) = iprot.readFieldBegin()
32566
      if ftype == TType.STOP:
32567
        break
32568
      else:
32569
        iprot.skip(ftype)
32570
      iprot.readFieldEnd()
32571
    iprot.readStructEnd()
32572
 
32573
  def write(self, oprot):
32574
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32575
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32576
      return
32577
    oprot.writeStructBegin('getAllFbgListedItems_args')
32578
    oprot.writeFieldStop()
32579
    oprot.writeStructEnd()
32580
 
32581
  def validate(self):
32582
    return
32583
 
32584
 
32585
  def __repr__(self):
32586
    L = ['%s=%r' % (key, value)
32587
      for key, value in self.__dict__.iteritems()]
32588
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32589
 
32590
  def __eq__(self, other):
32591
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32592
 
32593
  def __ne__(self, other):
32594
    return not (self == other)
32595
 
32596
class getAllFbgListedItems_result:
32597
  """
32598
  Attributes:
32599
   - success
32600
  """
32601
 
32602
  thrift_spec = (
32603
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
32604
  )
32605
 
32606
  def __init__(self, success=None,):
32607
    self.success = success
32608
 
32609
  def read(self, iprot):
32610
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32611
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32612
      return
32613
    iprot.readStructBegin()
32614
    while True:
32615
      (fname, ftype, fid) = iprot.readFieldBegin()
32616
      if ftype == TType.STOP:
32617
        break
32618
      if fid == 0:
32619
        if ftype == TType.LIST:
32620
          self.success = []
13493 amit.gupta 32621
          (_etype805, _size802) = iprot.readListBegin()
32622
          for _i806 in xrange(_size802):
32623
            _elem807 = Amazonlisted()
32624
            _elem807.read(iprot)
32625
            self.success.append(_elem807)
12892 kshitij.so 32626
          iprot.readListEnd()
32627
        else:
32628
          iprot.skip(ftype)
32629
      else:
32630
        iprot.skip(ftype)
32631
      iprot.readFieldEnd()
32632
    iprot.readStructEnd()
32633
 
32634
  def write(self, oprot):
32635
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32636
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32637
      return
32638
    oprot.writeStructBegin('getAllFbgListedItems_result')
32639
    if self.success is not None:
32640
      oprot.writeFieldBegin('success', TType.LIST, 0)
32641
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 32642
      for iter808 in self.success:
32643
        iter808.write(oprot)
12892 kshitij.so 32644
      oprot.writeListEnd()
32645
      oprot.writeFieldEnd()
32646
    oprot.writeFieldStop()
32647
    oprot.writeStructEnd()
32648
 
32649
  def validate(self):
32650
    return
32651
 
32652
 
32653
  def __repr__(self):
32654
    L = ['%s=%r' % (key, value)
32655
      for key, value in self.__dict__.iteritems()]
32656
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32657
 
32658
  def __eq__(self, other):
32659
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32660
 
32661
  def __ne__(self, other):
32662
    return not (self == other)
13136 amit.gupta 32663
 
32664
class checkServices_args:
32665
  """
32666
  Attributes:
32667
   - lines
32668
  """
32669
 
32670
  thrift_spec = (
32671
    None, # 0
32672
    (1, TType.MAP, 'lines', (TType.I64,None,TType.MAP,(TType.STRING,None,TType.I64,None)), None, ), # 1
32673
  )
32674
 
32675
  def __init__(self, lines=None,):
32676
    self.lines = lines
32677
 
32678
  def read(self, iprot):
32679
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32680
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32681
      return
32682
    iprot.readStructBegin()
32683
    while True:
32684
      (fname, ftype, fid) = iprot.readFieldBegin()
32685
      if ftype == TType.STOP:
32686
        break
32687
      if fid == 1:
32688
        if ftype == TType.MAP:
32689
          self.lines = {}
13493 amit.gupta 32690
          (_ktype810, _vtype811, _size809 ) = iprot.readMapBegin() 
32691
          for _i813 in xrange(_size809):
32692
            _key814 = iprot.readI64();
32693
            _val815 = {}
32694
            (_ktype817, _vtype818, _size816 ) = iprot.readMapBegin() 
32695
            for _i820 in xrange(_size816):
32696
              _key821 = iprot.readString();
32697
              _val822 = iprot.readI64();
32698
              _val815[_key821] = _val822
13136 amit.gupta 32699
            iprot.readMapEnd()
13493 amit.gupta 32700
            self.lines[_key814] = _val815
13136 amit.gupta 32701
          iprot.readMapEnd()
32702
        else:
32703
          iprot.skip(ftype)
32704
      else:
32705
        iprot.skip(ftype)
32706
      iprot.readFieldEnd()
32707
    iprot.readStructEnd()
32708
 
32709
  def write(self, oprot):
32710
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32711
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32712
      return
32713
    oprot.writeStructBegin('checkServices_args')
32714
    if self.lines is not None:
32715
      oprot.writeFieldBegin('lines', TType.MAP, 1)
32716
      oprot.writeMapBegin(TType.I64, TType.MAP, len(self.lines))
13493 amit.gupta 32717
      for kiter823,viter824 in self.lines.items():
32718
        oprot.writeI64(kiter823)
32719
        oprot.writeMapBegin(TType.STRING, TType.I64, len(viter824))
32720
        for kiter825,viter826 in viter824.items():
32721
          oprot.writeString(kiter825)
32722
          oprot.writeI64(viter826)
13136 amit.gupta 32723
        oprot.writeMapEnd()
32724
      oprot.writeMapEnd()
32725
      oprot.writeFieldEnd()
32726
    oprot.writeFieldStop()
32727
    oprot.writeStructEnd()
32728
 
32729
  def validate(self):
32730
    return
32731
 
32732
 
32733
  def __repr__(self):
32734
    L = ['%s=%r' % (key, value)
32735
      for key, value in self.__dict__.iteritems()]
32736
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32737
 
32738
  def __eq__(self, other):
32739
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32740
 
32741
  def __ne__(self, other):
32742
    return not (self == other)
32743
 
32744
class checkServices_result:
32745
  """
32746
  Attributes:
32747
   - success
32748
   - cex
32749
  """
32750
 
32751
  thrift_spec = (
32752
    (0, TType.MAP, 'success', (TType.I64,None,TType.MAP,(TType.STRING,None,TType.I64,None)), None, ), # 0
32753
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
32754
  )
32755
 
32756
  def __init__(self, success=None, cex=None,):
32757
    self.success = success
32758
    self.cex = cex
32759
 
32760
  def read(self, iprot):
32761
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32762
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32763
      return
32764
    iprot.readStructBegin()
32765
    while True:
32766
      (fname, ftype, fid) = iprot.readFieldBegin()
32767
      if ftype == TType.STOP:
32768
        break
32769
      if fid == 0:
32770
        if ftype == TType.MAP:
32771
          self.success = {}
13493 amit.gupta 32772
          (_ktype828, _vtype829, _size827 ) = iprot.readMapBegin() 
32773
          for _i831 in xrange(_size827):
32774
            _key832 = iprot.readI64();
32775
            _val833 = {}
32776
            (_ktype835, _vtype836, _size834 ) = iprot.readMapBegin() 
32777
            for _i838 in xrange(_size834):
32778
              _key839 = iprot.readString();
32779
              _val840 = iprot.readI64();
32780
              _val833[_key839] = _val840
13136 amit.gupta 32781
            iprot.readMapEnd()
13493 amit.gupta 32782
            self.success[_key832] = _val833
13136 amit.gupta 32783
          iprot.readMapEnd()
32784
        else:
32785
          iprot.skip(ftype)
32786
      elif fid == 1:
32787
        if ftype == TType.STRUCT:
32788
          self.cex = CatalogServiceException()
32789
          self.cex.read(iprot)
32790
        else:
32791
          iprot.skip(ftype)
32792
      else:
32793
        iprot.skip(ftype)
32794
      iprot.readFieldEnd()
32795
    iprot.readStructEnd()
32796
 
32797
  def write(self, oprot):
32798
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32799
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32800
      return
32801
    oprot.writeStructBegin('checkServices_result')
32802
    if self.success is not None:
32803
      oprot.writeFieldBegin('success', TType.MAP, 0)
32804
      oprot.writeMapBegin(TType.I64, TType.MAP, len(self.success))
13493 amit.gupta 32805
      for kiter841,viter842 in self.success.items():
32806
        oprot.writeI64(kiter841)
32807
        oprot.writeMapBegin(TType.STRING, TType.I64, len(viter842))
32808
        for kiter843,viter844 in viter842.items():
32809
          oprot.writeString(kiter843)
32810
          oprot.writeI64(viter844)
13136 amit.gupta 32811
        oprot.writeMapEnd()
32812
      oprot.writeMapEnd()
32813
      oprot.writeFieldEnd()
32814
    if self.cex is not None:
32815
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
32816
      self.cex.write(oprot)
32817
      oprot.writeFieldEnd()
32818
    oprot.writeFieldStop()
32819
    oprot.writeStructEnd()
32820
 
32821
  def validate(self):
32822
    return
32823
 
32824
 
32825
  def __repr__(self):
32826
    L = ['%s=%r' % (key, value)
32827
      for key, value in self.__dict__.iteritems()]
32828
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32829
 
32830
  def __eq__(self, other):
32831
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32832
 
32833
  def __ne__(self, other):
32834
    return not (self == other)
13709 manish.sha 32835
 
32836
class addHsItem_args:
32837
  """
32838
  Attributes:
32839
   - hsItems
32840
  """
32841
 
32842
  thrift_spec = (
32843
    None, # 0
32844
    (1, TType.LIST, 'hsItems', (TType.STRUCT,(HsItem, HsItem.thrift_spec)), None, ), # 1
32845
  )
32846
 
32847
  def __init__(self, hsItems=None,):
32848
    self.hsItems = hsItems
32849
 
32850
  def read(self, iprot):
32851
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32852
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32853
      return
32854
    iprot.readStructBegin()
32855
    while True:
32856
      (fname, ftype, fid) = iprot.readFieldBegin()
32857
      if ftype == TType.STOP:
32858
        break
32859
      if fid == 1:
32860
        if ftype == TType.LIST:
32861
          self.hsItems = []
32862
          (_etype848, _size845) = iprot.readListBegin()
32863
          for _i849 in xrange(_size845):
32864
            _elem850 = HsItem()
32865
            _elem850.read(iprot)
32866
            self.hsItems.append(_elem850)
32867
          iprot.readListEnd()
32868
        else:
32869
          iprot.skip(ftype)
32870
      else:
32871
        iprot.skip(ftype)
32872
      iprot.readFieldEnd()
32873
    iprot.readStructEnd()
32874
 
32875
  def write(self, oprot):
32876
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32877
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32878
      return
32879
    oprot.writeStructBegin('addHsItem_args')
32880
    if self.hsItems is not None:
32881
      oprot.writeFieldBegin('hsItems', TType.LIST, 1)
32882
      oprot.writeListBegin(TType.STRUCT, len(self.hsItems))
32883
      for iter851 in self.hsItems:
32884
        iter851.write(oprot)
32885
      oprot.writeListEnd()
32886
      oprot.writeFieldEnd()
32887
    oprot.writeFieldStop()
32888
    oprot.writeStructEnd()
32889
 
32890
  def validate(self):
32891
    return
32892
 
32893
 
32894
  def __repr__(self):
32895
    L = ['%s=%r' % (key, value)
32896
      for key, value in self.__dict__.iteritems()]
32897
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32898
 
32899
  def __eq__(self, other):
32900
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32901
 
32902
  def __ne__(self, other):
32903
    return not (self == other)
32904
 
32905
class addHsItem_result:
32906
 
32907
  thrift_spec = (
32908
  )
32909
 
32910
  def read(self, iprot):
32911
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32912
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32913
      return
32914
    iprot.readStructBegin()
32915
    while True:
32916
      (fname, ftype, fid) = iprot.readFieldBegin()
32917
      if ftype == TType.STOP:
32918
        break
32919
      else:
32920
        iprot.skip(ftype)
32921
      iprot.readFieldEnd()
32922
    iprot.readStructEnd()
32923
 
32924
  def write(self, oprot):
32925
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32926
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32927
      return
32928
    oprot.writeStructBegin('addHsItem_result')
32929
    oprot.writeFieldStop()
32930
    oprot.writeStructEnd()
32931
 
32932
  def validate(self):
32933
    return
32934
 
32935
 
32936
  def __repr__(self):
32937
    L = ['%s=%r' % (key, value)
32938
      for key, value in self.__dict__.iteritems()]
32939
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32940
 
32941
  def __eq__(self, other):
32942
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32943
 
32944
  def __ne__(self, other):
32945
    return not (self == other)
32946
 
32947
class getHsItem_args:
32948
  """
32949
  Attributes:
32950
   - hsItemId
32951
  """
32952
 
32953
  thrift_spec = (
32954
    None, # 0
32955
    (1, TType.STRING, 'hsItemId', None, None, ), # 1
32956
  )
32957
 
32958
  def __init__(self, hsItemId=None,):
32959
    self.hsItemId = hsItemId
32960
 
32961
  def read(self, iprot):
32962
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32963
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32964
      return
32965
    iprot.readStructBegin()
32966
    while True:
32967
      (fname, ftype, fid) = iprot.readFieldBegin()
32968
      if ftype == TType.STOP:
32969
        break
32970
      if fid == 1:
32971
        if ftype == TType.STRING:
32972
          self.hsItemId = iprot.readString();
32973
        else:
32974
          iprot.skip(ftype)
32975
      else:
32976
        iprot.skip(ftype)
32977
      iprot.readFieldEnd()
32978
    iprot.readStructEnd()
32979
 
32980
  def write(self, oprot):
32981
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32982
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32983
      return
32984
    oprot.writeStructBegin('getHsItem_args')
32985
    if self.hsItemId is not None:
32986
      oprot.writeFieldBegin('hsItemId', TType.STRING, 1)
32987
      oprot.writeString(self.hsItemId)
32988
      oprot.writeFieldEnd()
32989
    oprot.writeFieldStop()
32990
    oprot.writeStructEnd()
32991
 
32992
  def validate(self):
32993
    return
32994
 
32995
 
32996
  def __repr__(self):
32997
    L = ['%s=%r' % (key, value)
32998
      for key, value in self.__dict__.iteritems()]
32999
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33000
 
33001
  def __eq__(self, other):
33002
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33003
 
33004
  def __ne__(self, other):
33005
    return not (self == other)
33006
 
33007
class getHsItem_result:
33008
  """
33009
  Attributes:
33010
   - success
33011
  """
33012
 
33013
  thrift_spec = (
33014
    (0, TType.STRUCT, 'success', (HsItem, HsItem.thrift_spec), None, ), # 0
33015
  )
33016
 
33017
  def __init__(self, success=None,):
33018
    self.success = success
33019
 
33020
  def read(self, iprot):
33021
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33022
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33023
      return
33024
    iprot.readStructBegin()
33025
    while True:
33026
      (fname, ftype, fid) = iprot.readFieldBegin()
33027
      if ftype == TType.STOP:
33028
        break
33029
      if fid == 0:
33030
        if ftype == TType.STRUCT:
33031
          self.success = HsItem()
33032
          self.success.read(iprot)
33033
        else:
33034
          iprot.skip(ftype)
33035
      else:
33036
        iprot.skip(ftype)
33037
      iprot.readFieldEnd()
33038
    iprot.readStructEnd()
33039
 
33040
  def write(self, oprot):
33041
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33042
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33043
      return
33044
    oprot.writeStructBegin('getHsItem_result')
33045
    if self.success is not None:
33046
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
33047
      self.success.write(oprot)
33048
      oprot.writeFieldEnd()
33049
    oprot.writeFieldStop()
33050
    oprot.writeStructEnd()
33051
 
33052
  def validate(self):
33053
    return
33054
 
33055
 
33056
  def __repr__(self):
33057
    L = ['%s=%r' % (key, value)
33058
      for key, value in self.__dict__.iteritems()]
33059
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33060
 
33061
  def __eq__(self, other):
33062
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33063
 
33064
  def __ne__(self, other):
33065
    return not (self == other)
33066
 
33067
class updateHsItem_args:
33068
  """
33069
  Attributes:
33070
   - hsItem
33071
  """
33072
 
33073
  thrift_spec = (
33074
    None, # 0
33075
    (1, TType.STRUCT, 'hsItem', (HsItem, HsItem.thrift_spec), None, ), # 1
33076
  )
33077
 
33078
  def __init__(self, hsItem=None,):
33079
    self.hsItem = hsItem
33080
 
33081
  def read(self, iprot):
33082
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33083
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33084
      return
33085
    iprot.readStructBegin()
33086
    while True:
33087
      (fname, ftype, fid) = iprot.readFieldBegin()
33088
      if ftype == TType.STOP:
33089
        break
33090
      if fid == 1:
33091
        if ftype == TType.STRUCT:
33092
          self.hsItem = HsItem()
33093
          self.hsItem.read(iprot)
33094
        else:
33095
          iprot.skip(ftype)
33096
      else:
33097
        iprot.skip(ftype)
33098
      iprot.readFieldEnd()
33099
    iprot.readStructEnd()
33100
 
33101
  def write(self, oprot):
33102
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33103
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33104
      return
33105
    oprot.writeStructBegin('updateHsItem_args')
33106
    if self.hsItem is not None:
33107
      oprot.writeFieldBegin('hsItem', TType.STRUCT, 1)
33108
      self.hsItem.write(oprot)
33109
      oprot.writeFieldEnd()
33110
    oprot.writeFieldStop()
33111
    oprot.writeStructEnd()
33112
 
33113
  def validate(self):
33114
    return
33115
 
33116
 
33117
  def __repr__(self):
33118
    L = ['%s=%r' % (key, value)
33119
      for key, value in self.__dict__.iteritems()]
33120
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33121
 
33122
  def __eq__(self, other):
33123
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33124
 
33125
  def __ne__(self, other):
33126
    return not (self == other)
33127
 
33128
class updateHsItem_result:
33129
 
33130
  thrift_spec = (
33131
  )
33132
 
33133
  def read(self, iprot):
33134
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33135
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33136
      return
33137
    iprot.readStructBegin()
33138
    while True:
33139
      (fname, ftype, fid) = iprot.readFieldBegin()
33140
      if ftype == TType.STOP:
33141
        break
33142
      else:
33143
        iprot.skip(ftype)
33144
      iprot.readFieldEnd()
33145
    iprot.readStructEnd()
33146
 
33147
  def write(self, oprot):
33148
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33149
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33150
      return
33151
    oprot.writeStructBegin('updateHsItem_result')
33152
    oprot.writeFieldStop()
33153
    oprot.writeStructEnd()
33154
 
33155
  def validate(self):
33156
    return
33157
 
33158
 
33159
  def __repr__(self):
33160
    L = ['%s=%r' % (key, value)
33161
      for key, value in self.__dict__.iteritems()]
33162
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33163
 
33164
  def __eq__(self, other):
33165
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33166
 
33167
  def __ne__(self, other):
33168
    return not (self == other)
14182 kshitij.so 33169
 
33170
class getPricingForDtr_args:
33171
  """
33172
  Attributes:
33173
   - catalogItemId
33174
  """
33175
 
33176
  thrift_spec = (
33177
    None, # 0
33178
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
33179
  )
33180
 
33181
  def __init__(self, catalogItemId=None,):
33182
    self.catalogItemId = catalogItemId
33183
 
33184
  def read(self, iprot):
33185
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33186
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33187
      return
33188
    iprot.readStructBegin()
33189
    while True:
33190
      (fname, ftype, fid) = iprot.readFieldBegin()
33191
      if ftype == TType.STOP:
33192
        break
33193
      if fid == 1:
33194
        if ftype == TType.I64:
33195
          self.catalogItemId = iprot.readI64();
33196
        else:
33197
          iprot.skip(ftype)
33198
      else:
33199
        iprot.skip(ftype)
33200
      iprot.readFieldEnd()
33201
    iprot.readStructEnd()
33202
 
33203
  def write(self, oprot):
33204
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33205
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33206
      return
33207
    oprot.writeStructBegin('getPricingForDtr_args')
33208
    if self.catalogItemId is not None:
33209
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
33210
      oprot.writeI64(self.catalogItemId)
33211
      oprot.writeFieldEnd()
33212
    oprot.writeFieldStop()
33213
    oprot.writeStructEnd()
33214
 
33215
  def validate(self):
33216
    return
33217
 
33218
 
33219
  def __repr__(self):
33220
    L = ['%s=%r' % (key, value)
33221
      for key, value in self.__dict__.iteritems()]
33222
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33223
 
33224
  def __eq__(self, other):
33225
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33226
 
33227
  def __ne__(self, other):
33228
    return not (self == other)
33229
 
33230
class getPricingForDtr_result:
33231
  """
33232
  Attributes:
33233
   - success
33234
  """
33235
 
33236
  thrift_spec = (
33237
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
33238
  )
33239
 
33240
  def __init__(self, success=None,):
33241
    self.success = success
33242
 
33243
  def read(self, iprot):
33244
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33245
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33246
      return
33247
    iprot.readStructBegin()
33248
    while True:
33249
      (fname, ftype, fid) = iprot.readFieldBegin()
33250
      if ftype == TType.STOP:
33251
        break
33252
      if fid == 0:
33253
        if ftype == TType.STRUCT:
33254
          self.success = Item()
33255
          self.success.read(iprot)
33256
        else:
33257
          iprot.skip(ftype)
33258
      else:
33259
        iprot.skip(ftype)
33260
      iprot.readFieldEnd()
33261
    iprot.readStructEnd()
33262
 
33263
  def write(self, oprot):
33264
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33265
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33266
      return
33267
    oprot.writeStructBegin('getPricingForDtr_result')
33268
    if self.success is not None:
33269
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
33270
      self.success.write(oprot)
33271
      oprot.writeFieldEnd()
33272
    oprot.writeFieldStop()
33273
    oprot.writeStructEnd()
33274
 
33275
  def validate(self):
33276
    return
33277
 
33278
 
33279
  def __repr__(self):
33280
    L = ['%s=%r' % (key, value)
33281
      for key, value in self.__dict__.iteritems()]
33282
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33283
 
33284
  def __eq__(self, other):
33285
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33286
 
33287
  def __ne__(self, other):
33288
    return not (self == other)
15702 kshitij.so 33289
 
33290
class getAllItemstoListOnFbd_args:
33291
 
33292
  thrift_spec = (
33293
  )
33294
 
33295
  def read(self, iprot):
33296
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33297
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33298
      return
33299
    iprot.readStructBegin()
33300
    while True:
33301
      (fname, ftype, fid) = iprot.readFieldBegin()
33302
      if ftype == TType.STOP:
33303
        break
33304
      else:
33305
        iprot.skip(ftype)
33306
      iprot.readFieldEnd()
33307
    iprot.readStructEnd()
33308
 
33309
  def write(self, oprot):
33310
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33311
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33312
      return
33313
    oprot.writeStructBegin('getAllItemstoListOnFbd_args')
33314
    oprot.writeFieldStop()
33315
    oprot.writeStructEnd()
33316
 
33317
  def validate(self):
33318
    return
33319
 
33320
 
33321
  def __repr__(self):
33322
    L = ['%s=%r' % (key, value)
33323
      for key, value in self.__dict__.iteritems()]
33324
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33325
 
33326
  def __eq__(self, other):
33327
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33328
 
33329
  def __ne__(self, other):
33330
    return not (self == other)
33331
 
33332
class getAllItemstoListOnFbd_result:
33333
  """
33334
  Attributes:
33335
   - success
33336
  """
33337
 
33338
  thrift_spec = (
33339
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
33340
  )
33341
 
33342
  def __init__(self, success=None,):
33343
    self.success = success
33344
 
33345
  def read(self, iprot):
33346
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33347
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33348
      return
33349
    iprot.readStructBegin()
33350
    while True:
33351
      (fname, ftype, fid) = iprot.readFieldBegin()
33352
      if ftype == TType.STOP:
33353
        break
33354
      if fid == 0:
33355
        if ftype == TType.LIST:
33356
          self.success = []
33357
          (_etype855, _size852) = iprot.readListBegin()
33358
          for _i856 in xrange(_size852):
33359
            _elem857 = Amazonlisted()
33360
            _elem857.read(iprot)
33361
            self.success.append(_elem857)
33362
          iprot.readListEnd()
33363
        else:
33364
          iprot.skip(ftype)
33365
      else:
33366
        iprot.skip(ftype)
33367
      iprot.readFieldEnd()
33368
    iprot.readStructEnd()
33369
 
33370
  def write(self, oprot):
33371
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33372
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33373
      return
33374
    oprot.writeStructBegin('getAllItemstoListOnFbd_result')
33375
    if self.success is not None:
33376
      oprot.writeFieldBegin('success', TType.LIST, 0)
33377
      oprot.writeListBegin(TType.STRUCT, len(self.success))
33378
      for iter858 in self.success:
33379
        iter858.write(oprot)
33380
      oprot.writeListEnd()
33381
      oprot.writeFieldEnd()
33382
    oprot.writeFieldStop()
33383
    oprot.writeStructEnd()
33384
 
33385
  def validate(self):
33386
    return
33387
 
33388
 
33389
  def __repr__(self):
33390
    L = ['%s=%r' % (key, value)
33391
      for key, value in self.__dict__.iteritems()]
33392
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33393
 
33394
  def __eq__(self, other):
33395
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33396
 
33397
  def __ne__(self, other):
33398
    return not (self == other)