Subversion Repositories SmartDukaan

Rev

Rev 14182 | Rev 14780 | 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
 
14362 kshitij.so 1324
  def getLatestPricing(self, skuBundleId, source_id):
1325
    """
1326
    Parameters:
1327
     - skuBundleId
1328
     - source_id
1329
    """
1330
    pass
14182 kshitij.so 1331
 
14362 kshitij.so 1332
 
5944 mandeep.dh 1333
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1334
  def __init__(self, iprot, oprot=None):
1335
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1336
 
1337
  def addItem(self, item):
1338
    """
1339
    Availability and inventory attributes
1340
 
1341
    Parameters:
1342
     - item
1343
    """
1344
    self.send_addItem(item)
1345
    return self.recv_addItem()
1346
 
1347
  def send_addItem(self, item):
1348
    self._oprot.writeMessageBegin('addItem', TMessageType.CALL, self._seqid)
1349
    args = addItem_args()
1350
    args.item = item
1351
    args.write(self._oprot)
1352
    self._oprot.writeMessageEnd()
1353
    self._oprot.trans.flush()
1354
 
1355
  def recv_addItem(self, ):
1356
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1357
    if mtype == TMessageType.EXCEPTION:
1358
      x = TApplicationException()
1359
      x.read(self._iprot)
1360
      self._iprot.readMessageEnd()
1361
      raise x
1362
    result = addItem_result()
1363
    result.read(self._iprot)
1364
    self._iprot.readMessageEnd()
1365
    if result.success is not None:
1366
      return result.success
1367
    if result.cex is not None:
1368
      raise result.cex
1369
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addItem failed: unknown result");
1370
 
1371
  def updateItem(self, item):
1372
    """
1373
    Parameters:
1374
     - item
1375
    """
1376
    self.send_updateItem(item)
1377
    return self.recv_updateItem()
1378
 
1379
  def send_updateItem(self, item):
1380
    self._oprot.writeMessageBegin('updateItem', TMessageType.CALL, self._seqid)
1381
    args = updateItem_args()
1382
    args.item = item
1383
    args.write(self._oprot)
1384
    self._oprot.writeMessageEnd()
1385
    self._oprot.trans.flush()
1386
 
1387
  def recv_updateItem(self, ):
1388
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1389
    if mtype == TMessageType.EXCEPTION:
1390
      x = TApplicationException()
1391
      x.read(self._iprot)
1392
      self._iprot.readMessageEnd()
1393
      raise x
1394
    result = updateItem_result()
1395
    result.read(self._iprot)
1396
    self._iprot.readMessageEnd()
1397
    if result.success is not None:
1398
      return result.success
1399
    if result.cex is not None:
1400
      raise result.cex
1401
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItem failed: unknown result");
1402
 
1403
  def isActive(self, itemId):
1404
    """
1405
    Checks if the item given to the corresponding itemId is active. If it's active,
1406
    whether it's risky and if it's risky, its inventory position.
1407
 
1408
    Parameters:
1409
     - itemId
1410
    """
1411
    self.send_isActive(itemId)
1412
    return self.recv_isActive()
1413
 
1414
  def send_isActive(self, itemId):
1415
    self._oprot.writeMessageBegin('isActive', TMessageType.CALL, self._seqid)
1416
    args = isActive_args()
1417
    args.itemId = itemId
1418
    args.write(self._oprot)
1419
    self._oprot.writeMessageEnd()
1420
    self._oprot.trans.flush()
1421
 
1422
  def recv_isActive(self, ):
1423
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1424
    if mtype == TMessageType.EXCEPTION:
1425
      x = TApplicationException()
1426
      x.read(self._iprot)
1427
      self._iprot.readMessageEnd()
1428
      raise x
1429
    result = isActive_result()
1430
    result.read(self._iprot)
1431
    self._iprot.readMessageEnd()
1432
    if result.success is not None:
1433
      return result.success
1434
    if result.isex is not None:
1435
      raise result.isex
1436
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isActive failed: unknown result");
1437
 
7438 amit.gupta 1438
  def getItemsStatus(self, itemIds):
1439
    """
1440
    Parameters:
1441
     - itemIds
1442
    """
1443
    self.send_getItemsStatus(itemIds)
1444
    return self.recv_getItemsStatus()
1445
 
1446
  def send_getItemsStatus(self, itemIds):
1447
    self._oprot.writeMessageBegin('getItemsStatus', TMessageType.CALL, self._seqid)
1448
    args = getItemsStatus_args()
1449
    args.itemIds = itemIds
1450
    args.write(self._oprot)
1451
    self._oprot.writeMessageEnd()
1452
    self._oprot.trans.flush()
1453
 
1454
  def recv_getItemsStatus(self, ):
1455
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1456
    if mtype == TMessageType.EXCEPTION:
1457
      x = TApplicationException()
1458
      x.read(self._iprot)
1459
      self._iprot.readMessageEnd()
1460
      raise x
1461
    result = getItemsStatus_result()
1462
    result.read(self._iprot)
1463
    self._iprot.readMessageEnd()
1464
    if result.success is not None:
1465
      return result.success
1466
    if result.isex is not None:
1467
      raise result.isex
1468
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsStatus failed: unknown result");
1469
 
5944 mandeep.dh 1470
  def getItemStatusDescription(self, itemId):
1471
    """
1472
    Parameters:
1473
     - itemId
1474
    """
1475
    self.send_getItemStatusDescription(itemId)
1476
    return self.recv_getItemStatusDescription()
1477
 
1478
  def send_getItemStatusDescription(self, itemId):
1479
    self._oprot.writeMessageBegin('getItemStatusDescription', TMessageType.CALL, self._seqid)
1480
    args = getItemStatusDescription_args()
1481
    args.itemId = itemId
1482
    args.write(self._oprot)
1483
    self._oprot.writeMessageEnd()
1484
    self._oprot.trans.flush()
1485
 
1486
  def recv_getItemStatusDescription(self, ):
1487
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1488
    if mtype == TMessageType.EXCEPTION:
1489
      x = TApplicationException()
1490
      x.read(self._iprot)
1491
      self._iprot.readMessageEnd()
1492
      raise x
1493
    result = getItemStatusDescription_result()
1494
    result.read(self._iprot)
1495
    self._iprot.readMessageEnd()
1496
    if result.success is not None:
1497
      return result.success
1498
    if result.isex is not None:
1499
      raise result.isex
1500
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemStatusDescription failed: unknown result");
1501
 
1502
  def startItemOn(self, item_id, timestamp):
1503
    """
1504
    Parameters:
1505
     - item_id
1506
     - timestamp
1507
    """
1508
    self.send_startItemOn(item_id, timestamp)
1509
    self.recv_startItemOn()
1510
 
1511
  def send_startItemOn(self, item_id, timestamp):
1512
    self._oprot.writeMessageBegin('startItemOn', TMessageType.CALL, self._seqid)
1513
    args = startItemOn_args()
1514
    args.item_id = item_id
1515
    args.timestamp = timestamp
1516
    args.write(self._oprot)
1517
    self._oprot.writeMessageEnd()
1518
    self._oprot.trans.flush()
1519
 
1520
  def recv_startItemOn(self, ):
1521
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1522
    if mtype == TMessageType.EXCEPTION:
1523
      x = TApplicationException()
1524
      x.read(self._iprot)
1525
      self._iprot.readMessageEnd()
1526
      raise x
1527
    result = startItemOn_result()
1528
    result.read(self._iprot)
1529
    self._iprot.readMessageEnd()
1530
    if result.cex is not None:
1531
      raise result.cex
1532
    return
1533
 
1534
  def retireItemOn(self, item_id, timestamp):
1535
    """
1536
    Parameters:
1537
     - item_id
1538
     - timestamp
1539
    """
1540
    self.send_retireItemOn(item_id, timestamp)
1541
    self.recv_retireItemOn()
1542
 
1543
  def send_retireItemOn(self, item_id, timestamp):
1544
    self._oprot.writeMessageBegin('retireItemOn', TMessageType.CALL, self._seqid)
1545
    args = retireItemOn_args()
1546
    args.item_id = item_id
1547
    args.timestamp = timestamp
1548
    args.write(self._oprot)
1549
    self._oprot.writeMessageEnd()
1550
    self._oprot.trans.flush()
1551
 
1552
  def recv_retireItemOn(self, ):
1553
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1554
    if mtype == TMessageType.EXCEPTION:
1555
      x = TApplicationException()
1556
      x.read(self._iprot)
1557
      self._iprot.readMessageEnd()
1558
      raise x
1559
    result = retireItemOn_result()
1560
    result.read(self._iprot)
1561
    self._iprot.readMessageEnd()
1562
    if result.cex is not None:
1563
      raise result.cex
1564
    return
1565
 
1566
  def changeItemStatus(self, item_id, timestamp, newstatus):
1567
    """
1568
    Parameters:
1569
     - item_id
1570
     - timestamp
1571
     - newstatus
1572
    """
1573
    self.send_changeItemStatus(item_id, timestamp, newstatus)
1574
    self.recv_changeItemStatus()
1575
 
1576
  def send_changeItemStatus(self, item_id, timestamp, newstatus):
1577
    self._oprot.writeMessageBegin('changeItemStatus', TMessageType.CALL, self._seqid)
1578
    args = changeItemStatus_args()
1579
    args.item_id = item_id
1580
    args.timestamp = timestamp
1581
    args.newstatus = newstatus
1582
    args.write(self._oprot)
1583
    self._oprot.writeMessageEnd()
1584
    self._oprot.trans.flush()
1585
 
1586
  def recv_changeItemStatus(self, ):
1587
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1588
    if mtype == TMessageType.EXCEPTION:
1589
      x = TApplicationException()
1590
      x.read(self._iprot)
1591
      self._iprot.readMessageEnd()
1592
      raise x
1593
    result = changeItemStatus_result()
1594
    result.read(self._iprot)
1595
    self._iprot.readMessageEnd()
1596
    if result.cex is not None:
1597
      raise result.cex
1598
    return
1599
 
1600
  def getItem(self, item_id):
1601
    """
1602
    Parameters:
1603
     - item_id
1604
    """
1605
    self.send_getItem(item_id)
1606
    return self.recv_getItem()
1607
 
1608
  def send_getItem(self, item_id):
1609
    self._oprot.writeMessageBegin('getItem', TMessageType.CALL, self._seqid)
1610
    args = getItem_args()
1611
    args.item_id = item_id
1612
    args.write(self._oprot)
1613
    self._oprot.writeMessageEnd()
1614
    self._oprot.trans.flush()
1615
 
1616
  def recv_getItem(self, ):
1617
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1618
    if mtype == TMessageType.EXCEPTION:
1619
      x = TApplicationException()
1620
      x.read(self._iprot)
1621
      self._iprot.readMessageEnd()
1622
      raise x
1623
    result = getItem_result()
1624
    result.read(self._iprot)
1625
    self._iprot.readMessageEnd()
1626
    if result.success is not None:
1627
      return result.success
1628
    if result.cex is not None:
1629
      raise result.cex
1630
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItem failed: unknown result");
1631
 
13493 amit.gupta 1632
  def getItems(self, item_ids):
1633
    """
1634
    Parameters:
1635
     - item_ids
1636
    """
1637
    self.send_getItems(item_ids)
1638
    return self.recv_getItems()
1639
 
1640
  def send_getItems(self, item_ids):
1641
    self._oprot.writeMessageBegin('getItems', TMessageType.CALL, self._seqid)
1642
    args = getItems_args()
1643
    args.item_ids = item_ids
1644
    args.write(self._oprot)
1645
    self._oprot.writeMessageEnd()
1646
    self._oprot.trans.flush()
1647
 
1648
  def recv_getItems(self, ):
1649
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1650
    if mtype == TMessageType.EXCEPTION:
1651
      x = TApplicationException()
1652
      x.read(self._iprot)
1653
      self._iprot.readMessageEnd()
1654
      raise x
1655
    result = getItems_result()
1656
    result.read(self._iprot)
1657
    self._iprot.readMessageEnd()
1658
    if result.success is not None:
1659
      return result.success
1660
    if result.cex is not None:
1661
      raise result.cex
1662
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItems failed: unknown result");
1663
 
5944 mandeep.dh 1664
  def getItemsByCatalogId(self, catalog_item_id):
1665
    """
1666
    Parameters:
1667
     - catalog_item_id
1668
    """
1669
    self.send_getItemsByCatalogId(catalog_item_id)
1670
    return self.recv_getItemsByCatalogId()
1671
 
1672
  def send_getItemsByCatalogId(self, catalog_item_id):
1673
    self._oprot.writeMessageBegin('getItemsByCatalogId', TMessageType.CALL, self._seqid)
1674
    args = getItemsByCatalogId_args()
1675
    args.catalog_item_id = catalog_item_id
1676
    args.write(self._oprot)
1677
    self._oprot.writeMessageEnd()
1678
    self._oprot.trans.flush()
1679
 
1680
  def recv_getItemsByCatalogId(self, ):
1681
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1682
    if mtype == TMessageType.EXCEPTION:
1683
      x = TApplicationException()
1684
      x.read(self._iprot)
1685
      self._iprot.readMessageEnd()
1686
      raise x
1687
    result = getItemsByCatalogId_result()
1688
    result.read(self._iprot)
1689
    self._iprot.readMessageEnd()
1690
    if result.success is not None:
1691
      return result.success
1692
    if result.cex is not None:
1693
      raise result.cex
1694
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByCatalogId failed: unknown result");
1695
 
1696
  def getValidItemsByCatalogId(self, catalog_item_id):
1697
    """
1698
    Parameters:
1699
     - catalog_item_id
1700
    """
1701
    self.send_getValidItemsByCatalogId(catalog_item_id)
1702
    return self.recv_getValidItemsByCatalogId()
1703
 
1704
  def send_getValidItemsByCatalogId(self, catalog_item_id):
1705
    self._oprot.writeMessageBegin('getValidItemsByCatalogId', TMessageType.CALL, self._seqid)
1706
    args = getValidItemsByCatalogId_args()
1707
    args.catalog_item_id = catalog_item_id
1708
    args.write(self._oprot)
1709
    self._oprot.writeMessageEnd()
1710
    self._oprot.trans.flush()
1711
 
1712
  def recv_getValidItemsByCatalogId(self, ):
1713
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1714
    if mtype == TMessageType.EXCEPTION:
1715
      x = TApplicationException()
1716
      x.read(self._iprot)
1717
      self._iprot.readMessageEnd()
1718
      raise x
1719
    result = getValidItemsByCatalogId_result()
1720
    result.read(self._iprot)
1721
    self._iprot.readMessageEnd()
1722
    if result.success is not None:
1723
      return result.success
1724
    if result.cex is not None:
1725
      raise result.cex
1726
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getValidItemsByCatalogId failed: unknown result");
1727
 
1728
  def getAllItems(self, isActive):
1729
    """
1730
    Parameters:
1731
     - isActive
1732
    """
1733
    self.send_getAllItems(isActive)
1734
    return self.recv_getAllItems()
1735
 
1736
  def send_getAllItems(self, isActive):
1737
    self._oprot.writeMessageBegin('getAllItems', TMessageType.CALL, self._seqid)
1738
    args = getAllItems_args()
1739
    args.isActive = isActive
1740
    args.write(self._oprot)
1741
    self._oprot.writeMessageEnd()
1742
    self._oprot.trans.flush()
1743
 
1744
  def recv_getAllItems(self, ):
1745
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1746
    if mtype == TMessageType.EXCEPTION:
1747
      x = TApplicationException()
1748
      x.read(self._iprot)
1749
      self._iprot.readMessageEnd()
1750
      raise x
1751
    result = getAllItems_result()
1752
    result.read(self._iprot)
1753
    self._iprot.readMessageEnd()
1754
    if result.success is not None:
1755
      return result.success
1756
    if result.cex is not None:
1757
      raise result.cex
1758
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItems failed: unknown result");
1759
 
1760
  def getAllItemsByStatus(self, itemStatus):
1761
    """
1762
    Parameters:
1763
     - itemStatus
1764
    """
1765
    self.send_getAllItemsByStatus(itemStatus)
1766
    return self.recv_getAllItemsByStatus()
1767
 
1768
  def send_getAllItemsByStatus(self, itemStatus):
1769
    self._oprot.writeMessageBegin('getAllItemsByStatus', TMessageType.CALL, self._seqid)
1770
    args = getAllItemsByStatus_args()
1771
    args.itemStatus = itemStatus
1772
    args.write(self._oprot)
1773
    self._oprot.writeMessageEnd()
1774
    self._oprot.trans.flush()
1775
 
1776
  def recv_getAllItemsByStatus(self, ):
1777
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1778
    if mtype == TMessageType.EXCEPTION:
1779
      x = TApplicationException()
1780
      x.read(self._iprot)
1781
      self._iprot.readMessageEnd()
1782
      raise x
1783
    result = getAllItemsByStatus_result()
1784
    result.read(self._iprot)
1785
    self._iprot.readMessageEnd()
1786
    if result.success is not None:
1787
      return result.success
1788
    if result.cex is not None:
1789
      raise result.cex
1790
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatus failed: unknown result");
1791
 
9253 rajveer 1792
  def markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1793
    """
1794
    Parameters:
1795
     - entityId
1796
     - category
1797
     - brand
1798
     - modelName
1799
     - modelNumber
9253 rajveer 1800
     - isAndroid
5944 mandeep.dh 1801
    """
9253 rajveer 1802
    self.send_markItemAsContentComplete(entityId, category, brand, modelName, modelNumber, isAndroid)
5944 mandeep.dh 1803
    return self.recv_markItemAsContentComplete()
1804
 
9253 rajveer 1805
  def send_markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1806
    self._oprot.writeMessageBegin('markItemAsContentComplete', TMessageType.CALL, self._seqid)
1807
    args = markItemAsContentComplete_args()
1808
    args.entityId = entityId
1809
    args.category = category
1810
    args.brand = brand
1811
    args.modelName = modelName
1812
    args.modelNumber = modelNumber
9253 rajveer 1813
    args.isAndroid = isAndroid
5944 mandeep.dh 1814
    args.write(self._oprot)
1815
    self._oprot.writeMessageEnd()
1816
    self._oprot.trans.flush()
1817
 
1818
  def recv_markItemAsContentComplete(self, ):
1819
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1820
    if mtype == TMessageType.EXCEPTION:
1821
      x = TApplicationException()
1822
      x.read(self._iprot)
1823
      self._iprot.readMessageEnd()
1824
      raise x
1825
    result = markItemAsContentComplete_result()
1826
    result.read(self._iprot)
1827
    self._iprot.readMessageEnd()
1828
    if result.success is not None:
1829
      return result.success
1830
    if result.cex is not None:
1831
      raise result.cex
1832
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markItemAsContentComplete failed: unknown result");
1833
 
12567 amit.gupta 1834
  def getVatRates(self, itemId, categoryId):
1835
    """
1836
    Parameters:
1837
     - itemId
1838
     - categoryId
1839
    """
1840
    self.send_getVatRates(itemId, categoryId)
1841
    return self.recv_getVatRates()
1842
 
1843
  def send_getVatRates(self, itemId, categoryId):
1844
    self._oprot.writeMessageBegin('getVatRates', TMessageType.CALL, self._seqid)
1845
    args = getVatRates_args()
1846
    args.itemId = itemId
1847
    args.categoryId = categoryId
1848
    args.write(self._oprot)
1849
    self._oprot.writeMessageEnd()
1850
    self._oprot.trans.flush()
1851
 
1852
  def recv_getVatRates(self, ):
1853
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1854
    if mtype == TMessageType.EXCEPTION:
1855
      x = TApplicationException()
1856
      x.read(self._iprot)
1857
      self._iprot.readMessageEnd()
1858
      raise x
1859
    result = getVatRates_result()
1860
    result.read(self._iprot)
1861
    self._iprot.readMessageEnd()
1862
    if result.success is not None:
1863
      return result.success
1864
    if result.cex is not None:
1865
      raise result.cex
1866
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatRates failed: unknown result");
1867
 
5944 mandeep.dh 1868
  def getAllItemsInRange(self, offset, limit):
1869
    """
1870
    Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
1871
 
1872
    Parameters:
1873
     - offset
1874
     - limit
1875
    """
1876
    self.send_getAllItemsInRange(offset, limit)
1877
    return self.recv_getAllItemsInRange()
1878
 
1879
  def send_getAllItemsInRange(self, offset, limit):
1880
    self._oprot.writeMessageBegin('getAllItemsInRange', TMessageType.CALL, self._seqid)
1881
    args = getAllItemsInRange_args()
1882
    args.offset = offset
1883
    args.limit = limit
1884
    args.write(self._oprot)
1885
    self._oprot.writeMessageEnd()
1886
    self._oprot.trans.flush()
1887
 
1888
  def recv_getAllItemsInRange(self, ):
1889
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1890
    if mtype == TMessageType.EXCEPTION:
1891
      x = TApplicationException()
1892
      x.read(self._iprot)
1893
      self._iprot.readMessageEnd()
1894
      raise x
1895
    result = getAllItemsInRange_result()
1896
    result.read(self._iprot)
1897
    self._iprot.readMessageEnd()
1898
    if result.success is not None:
1899
      return result.success
1900
    if result.cex is not None:
1901
      raise result.cex
1902
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsInRange failed: unknown result");
1903
 
1904
  def getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1905
    """
1906
    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.
1907
 
1908
    Parameters:
1909
     - itemStatus
1910
     - offset
1911
     - limit
1912
    """
1913
    self.send_getAllItemsByStatusInRange(itemStatus, offset, limit)
1914
    return self.recv_getAllItemsByStatusInRange()
1915
 
1916
  def send_getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1917
    self._oprot.writeMessageBegin('getAllItemsByStatusInRange', TMessageType.CALL, self._seqid)
1918
    args = getAllItemsByStatusInRange_args()
1919
    args.itemStatus = itemStatus
1920
    args.offset = offset
1921
    args.limit = limit
1922
    args.write(self._oprot)
1923
    self._oprot.writeMessageEnd()
1924
    self._oprot.trans.flush()
1925
 
1926
  def recv_getAllItemsByStatusInRange(self, ):
1927
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1928
    if mtype == TMessageType.EXCEPTION:
1929
      x = TApplicationException()
1930
      x.read(self._iprot)
1931
      self._iprot.readMessageEnd()
1932
      raise x
1933
    result = getAllItemsByStatusInRange_result()
1934
    result.read(self._iprot)
1935
    self._iprot.readMessageEnd()
1936
    if result.success is not None:
1937
      return result.success
1938
    if result.cex is not None:
1939
      raise result.cex
1940
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatusInRange failed: unknown result");
1941
 
1942
  def getItemCountByStatus(self, useStatus, itemStatus):
1943
    """
1944
    Gets a count of all items by status
1945
 
1946
    Parameters:
1947
     - useStatus
1948
     - itemStatus
1949
    """
1950
    self.send_getItemCountByStatus(useStatus, itemStatus)
1951
    return self.recv_getItemCountByStatus()
1952
 
1953
  def send_getItemCountByStatus(self, useStatus, itemStatus):
1954
    self._oprot.writeMessageBegin('getItemCountByStatus', TMessageType.CALL, self._seqid)
1955
    args = getItemCountByStatus_args()
1956
    args.useStatus = useStatus
1957
    args.itemStatus = itemStatus
1958
    args.write(self._oprot)
1959
    self._oprot.writeMessageEnd()
1960
    self._oprot.trans.flush()
1961
 
1962
  def recv_getItemCountByStatus(self, ):
1963
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1964
    if mtype == TMessageType.EXCEPTION:
1965
      x = TApplicationException()
1966
      x.read(self._iprot)
1967
      self._iprot.readMessageEnd()
1968
      raise x
1969
    result = getItemCountByStatus_result()
1970
    result.read(self._iprot)
1971
    self._iprot.readMessageEnd()
1972
    if result.success is not None:
1973
      return result.success
1974
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemCountByStatus failed: unknown result");
1975
 
1976
  def getBestSellers(self, ):
1977
    self.send_getBestSellers()
1978
    return self.recv_getBestSellers()
1979
 
1980
  def send_getBestSellers(self, ):
1981
    self._oprot.writeMessageBegin('getBestSellers', TMessageType.CALL, self._seqid)
1982
    args = getBestSellers_args()
1983
    args.write(self._oprot)
1984
    self._oprot.writeMessageEnd()
1985
    self._oprot.trans.flush()
1986
 
1987
  def recv_getBestSellers(self, ):
1988
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1989
    if mtype == TMessageType.EXCEPTION:
1990
      x = TApplicationException()
1991
      x.read(self._iprot)
1992
      self._iprot.readMessageEnd()
1993
      raise x
1994
    result = getBestSellers_result()
1995
    result.read(self._iprot)
1996
    self._iprot.readMessageEnd()
1997
    if result.success is not None:
1998
      return result.success
1999
    if result.isex is not None:
2000
      raise result.isex
2001
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellers failed: unknown result");
2002
 
2003
  def getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
2004
    """
2005
    Parameters:
2006
     - beginIndex
2007
     - totalItems
2008
     - brand
2009
     - category
2010
    """
2011
    self.send_getBestSellersCatalogIds(beginIndex, totalItems, brand, category)
2012
    return self.recv_getBestSellersCatalogIds()
2013
 
2014
  def send_getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
2015
    self._oprot.writeMessageBegin('getBestSellersCatalogIds', TMessageType.CALL, self._seqid)
2016
    args = getBestSellersCatalogIds_args()
2017
    args.beginIndex = beginIndex
2018
    args.totalItems = totalItems
2019
    args.brand = brand
2020
    args.category = category
2021
    args.write(self._oprot)
2022
    self._oprot.writeMessageEnd()
2023
    self._oprot.trans.flush()
2024
 
2025
  def recv_getBestSellersCatalogIds(self, ):
2026
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2027
    if mtype == TMessageType.EXCEPTION:
2028
      x = TApplicationException()
2029
      x.read(self._iprot)
2030
      self._iprot.readMessageEnd()
2031
      raise x
2032
    result = getBestSellersCatalogIds_result()
2033
    result.read(self._iprot)
2034
    self._iprot.readMessageEnd()
2035
    if result.success is not None:
2036
      return result.success
2037
    if result.cex is not None:
2038
      raise result.cex
2039
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCatalogIds failed: unknown result");
2040
 
2041
  def getBestSellersCount(self, ):
2042
    self.send_getBestSellersCount()
2043
    return self.recv_getBestSellersCount()
2044
 
2045
  def send_getBestSellersCount(self, ):
2046
    self._oprot.writeMessageBegin('getBestSellersCount', TMessageType.CALL, self._seqid)
2047
    args = getBestSellersCount_args()
2048
    args.write(self._oprot)
2049
    self._oprot.writeMessageEnd()
2050
    self._oprot.trans.flush()
2051
 
2052
  def recv_getBestSellersCount(self, ):
2053
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2054
    if mtype == TMessageType.EXCEPTION:
2055
      x = TApplicationException()
2056
      x.read(self._iprot)
2057
      self._iprot.readMessageEnd()
2058
      raise x
2059
    result = getBestSellersCount_result()
2060
    result.read(self._iprot)
2061
    self._iprot.readMessageEnd()
2062
    if result.success is not None:
2063
      return result.success
2064
    if result.cex is not None:
2065
      raise result.cex
2066
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCount failed: unknown result");
2067
 
2068
  def getBestDeals(self, ):
2069
    self.send_getBestDeals()
2070
    return self.recv_getBestDeals()
2071
 
2072
  def send_getBestDeals(self, ):
2073
    self._oprot.writeMessageBegin('getBestDeals', TMessageType.CALL, self._seqid)
2074
    args = getBestDeals_args()
2075
    args.write(self._oprot)
2076
    self._oprot.writeMessageEnd()
2077
    self._oprot.trans.flush()
2078
 
2079
  def recv_getBestDeals(self, ):
2080
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2081
    if mtype == TMessageType.EXCEPTION:
2082
      x = TApplicationException()
2083
      x.read(self._iprot)
2084
      self._iprot.readMessageEnd()
2085
      raise x
2086
    result = getBestDeals_result()
2087
    result.read(self._iprot)
2088
    self._iprot.readMessageEnd()
2089
    if result.success is not None:
2090
      return result.success
2091
    if result.isex is not None:
2092
      raise result.isex
2093
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDeals failed: unknown result");
2094
 
2095
  def getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2096
    """
2097
    Parameters:
2098
     - beginIndex
2099
     - totalItems
2100
     - brand
2101
     - category
2102
    """
2103
    self.send_getBestDealsCatalogIds(beginIndex, totalItems, brand, category)
2104
    return self.recv_getBestDealsCatalogIds()
2105
 
2106
  def send_getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2107
    self._oprot.writeMessageBegin('getBestDealsCatalogIds', TMessageType.CALL, self._seqid)
2108
    args = getBestDealsCatalogIds_args()
2109
    args.beginIndex = beginIndex
2110
    args.totalItems = totalItems
2111
    args.brand = brand
2112
    args.category = category
2113
    args.write(self._oprot)
2114
    self._oprot.writeMessageEnd()
2115
    self._oprot.trans.flush()
2116
 
2117
  def recv_getBestDealsCatalogIds(self, ):
2118
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2119
    if mtype == TMessageType.EXCEPTION:
2120
      x = TApplicationException()
2121
      x.read(self._iprot)
2122
      self._iprot.readMessageEnd()
2123
      raise x
2124
    result = getBestDealsCatalogIds_result()
2125
    result.read(self._iprot)
2126
    self._iprot.readMessageEnd()
2127
    if result.success is not None:
2128
      return result.success
2129
    if result.cex is not None:
2130
      raise result.cex
2131
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCatalogIds failed: unknown result");
2132
 
2133
  def getBestDealsCount(self, ):
2134
    self.send_getBestDealsCount()
2135
    return self.recv_getBestDealsCount()
2136
 
2137
  def send_getBestDealsCount(self, ):
2138
    self._oprot.writeMessageBegin('getBestDealsCount', TMessageType.CALL, self._seqid)
2139
    args = getBestDealsCount_args()
2140
    args.write(self._oprot)
2141
    self._oprot.writeMessageEnd()
2142
    self._oprot.trans.flush()
2143
 
2144
  def recv_getBestDealsCount(self, ):
2145
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2146
    if mtype == TMessageType.EXCEPTION:
2147
      x = TApplicationException()
2148
      x.read(self._iprot)
2149
      self._iprot.readMessageEnd()
2150
      raise x
2151
    result = getBestDealsCount_result()
2152
    result.read(self._iprot)
2153
    self._iprot.readMessageEnd()
2154
    if result.success is not None:
2155
      return result.success
2156
    if result.cex is not None:
2157
      raise result.cex
2158
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCount failed: unknown result");
2159
 
2160
  def getComingSoon(self, ):
2161
    self.send_getComingSoon()
2162
    return self.recv_getComingSoon()
2163
 
2164
  def send_getComingSoon(self, ):
2165
    self._oprot.writeMessageBegin('getComingSoon', TMessageType.CALL, self._seqid)
2166
    args = getComingSoon_args()
2167
    args.write(self._oprot)
2168
    self._oprot.writeMessageEnd()
2169
    self._oprot.trans.flush()
2170
 
2171
  def recv_getComingSoon(self, ):
2172
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2173
    if mtype == TMessageType.EXCEPTION:
2174
      x = TApplicationException()
2175
      x.read(self._iprot)
2176
      self._iprot.readMessageEnd()
2177
      raise x
2178
    result = getComingSoon_result()
2179
    result.read(self._iprot)
2180
    self._iprot.readMessageEnd()
2181
    if result.success is not None:
2182
      return result.success
2183
    if result.isex is not None:
2184
      raise result.isex
2185
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoon failed: unknown result");
2186
 
2187
  def getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2188
    """
2189
    Parameters:
2190
     - beginIndex
2191
     - totalItems
2192
     - brand
2193
     - category
2194
    """
2195
    self.send_getComingSoonCatalogIds(beginIndex, totalItems, brand, category)
2196
    return self.recv_getComingSoonCatalogIds()
2197
 
2198
  def send_getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2199
    self._oprot.writeMessageBegin('getComingSoonCatalogIds', TMessageType.CALL, self._seqid)
2200
    args = getComingSoonCatalogIds_args()
2201
    args.beginIndex = beginIndex
2202
    args.totalItems = totalItems
2203
    args.brand = brand
2204
    args.category = category
2205
    args.write(self._oprot)
2206
    self._oprot.writeMessageEnd()
2207
    self._oprot.trans.flush()
2208
 
2209
  def recv_getComingSoonCatalogIds(self, ):
2210
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2211
    if mtype == TMessageType.EXCEPTION:
2212
      x = TApplicationException()
2213
      x.read(self._iprot)
2214
      self._iprot.readMessageEnd()
2215
      raise x
2216
    result = getComingSoonCatalogIds_result()
2217
    result.read(self._iprot)
2218
    self._iprot.readMessageEnd()
2219
    if result.success is not None:
2220
      return result.success
2221
    if result.cex is not None:
2222
      raise result.cex
2223
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCatalogIds failed: unknown result");
2224
 
2225
  def getComingSoonCount(self, ):
2226
    self.send_getComingSoonCount()
2227
    return self.recv_getComingSoonCount()
2228
 
2229
  def send_getComingSoonCount(self, ):
2230
    self._oprot.writeMessageBegin('getComingSoonCount', TMessageType.CALL, self._seqid)
2231
    args = getComingSoonCount_args()
2232
    args.write(self._oprot)
2233
    self._oprot.writeMessageEnd()
2234
    self._oprot.trans.flush()
2235
 
2236
  def recv_getComingSoonCount(self, ):
2237
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2238
    if mtype == TMessageType.EXCEPTION:
2239
      x = TApplicationException()
2240
      x.read(self._iprot)
2241
      self._iprot.readMessageEnd()
2242
      raise x
2243
    result = getComingSoonCount_result()
2244
    result.read(self._iprot)
2245
    self._iprot.readMessageEnd()
2246
    if result.success is not None:
2247
      return result.success
2248
    if result.cex is not None:
2249
      raise result.cex
2250
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCount failed: unknown result");
2251
 
2252
  def getLatestArrivals(self, ):
2253
    """
2254
    Returns a list of items sorted in the descending order by start date.
2255
    The list is limited to the 'latest_arrivals_count' configuraiton parameter.
2256
    """
2257
    self.send_getLatestArrivals()
2258
    return self.recv_getLatestArrivals()
2259
 
2260
  def send_getLatestArrivals(self, ):
2261
    self._oprot.writeMessageBegin('getLatestArrivals', TMessageType.CALL, self._seqid)
2262
    args = getLatestArrivals_args()
2263
    args.write(self._oprot)
2264
    self._oprot.writeMessageEnd()
2265
    self._oprot.trans.flush()
2266
 
2267
  def recv_getLatestArrivals(self, ):
2268
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2269
    if mtype == TMessageType.EXCEPTION:
2270
      x = TApplicationException()
2271
      x.read(self._iprot)
2272
      self._iprot.readMessageEnd()
2273
      raise x
2274
    result = getLatestArrivals_result()
2275
    result.read(self._iprot)
2276
    self._iprot.readMessageEnd()
2277
    if result.success is not None:
2278
      return result.success
2279
    if result.isex is not None:
2280
      raise result.isex
2281
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivals failed: unknown result");
2282
 
2283
  def getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2284
    """
2285
    Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
2286
    To ignore the categories, pass the list as empty. To ignore brand, pass it as null.
2287
 
2288
    Parameters:
2289
     - beginIndex
2290
     - totalItems
2291
     - brand
2292
     - categories
2293
    """
2294
    self.send_getLatestArrivalsCatalogIds(beginIndex, totalItems, brand, categories)
2295
    return self.recv_getLatestArrivalsCatalogIds()
2296
 
2297
  def send_getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2298
    self._oprot.writeMessageBegin('getLatestArrivalsCatalogIds', TMessageType.CALL, self._seqid)
2299
    args = getLatestArrivalsCatalogIds_args()
2300
    args.beginIndex = beginIndex
2301
    args.totalItems = totalItems
2302
    args.brand = brand
2303
    args.categories = categories
2304
    args.write(self._oprot)
2305
    self._oprot.writeMessageEnd()
2306
    self._oprot.trans.flush()
2307
 
2308
  def recv_getLatestArrivalsCatalogIds(self, ):
2309
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2310
    if mtype == TMessageType.EXCEPTION:
2311
      x = TApplicationException()
2312
      x.read(self._iprot)
2313
      self._iprot.readMessageEnd()
2314
      raise x
2315
    result = getLatestArrivalsCatalogIds_result()
2316
    result.read(self._iprot)
2317
    self._iprot.readMessageEnd()
2318
    if result.success is not None:
2319
      return result.success
2320
    if result.cex is not None:
2321
      raise result.cex
2322
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCatalogIds failed: unknown result");
2323
 
2324
  def getLatestArrivalsCount(self, ):
2325
    """
2326
    Get the total number of latest arrivals we are willing to show.
2327
    The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
2328
    """
2329
    self.send_getLatestArrivalsCount()
2330
    return self.recv_getLatestArrivalsCount()
2331
 
2332
  def send_getLatestArrivalsCount(self, ):
2333
    self._oprot.writeMessageBegin('getLatestArrivalsCount', TMessageType.CALL, self._seqid)
2334
    args = getLatestArrivalsCount_args()
2335
    args.write(self._oprot)
2336
    self._oprot.writeMessageEnd()
2337
    self._oprot.trans.flush()
2338
 
2339
  def recv_getLatestArrivalsCount(self, ):
2340
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2341
    if mtype == TMessageType.EXCEPTION:
2342
      x = TApplicationException()
2343
      x.read(self._iprot)
2344
      self._iprot.readMessageEnd()
2345
      raise x
2346
    result = getLatestArrivalsCount_result()
2347
    result.read(self._iprot)
2348
    self._iprot.readMessageEnd()
2349
    if result.success is not None:
2350
      return result.success
2351
    if result.cex is not None:
2352
      raise result.cex
2353
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCount failed: unknown result");
2354
 
2355
  def generateNewEntityID(self, ):
2356
    self.send_generateNewEntityID()
2357
    return self.recv_generateNewEntityID()
2358
 
2359
  def send_generateNewEntityID(self, ):
2360
    self._oprot.writeMessageBegin('generateNewEntityID', TMessageType.CALL, self._seqid)
2361
    args = generateNewEntityID_args()
2362
    args.write(self._oprot)
2363
    self._oprot.writeMessageEnd()
2364
    self._oprot.trans.flush()
2365
 
2366
  def recv_generateNewEntityID(self, ):
2367
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2368
    if mtype == TMessageType.EXCEPTION:
2369
      x = TApplicationException()
2370
      x.read(self._iprot)
2371
      self._iprot.readMessageEnd()
2372
      raise x
2373
    result = generateNewEntityID_result()
2374
    result.read(self._iprot)
2375
    self._iprot.readMessageEnd()
2376
    if result.success is not None:
2377
      return result.success
2378
    raise TApplicationException(TApplicationException.MISSING_RESULT, "generateNewEntityID failed: unknown result");
2379
 
2380
  def addCategory(self, category):
2381
    """
2382
    All category related functions
2383
 
2384
    Parameters:
2385
     - category
2386
    """
2387
    self.send_addCategory(category)
2388
    return self.recv_addCategory()
2389
 
2390
  def send_addCategory(self, category):
2391
    self._oprot.writeMessageBegin('addCategory', TMessageType.CALL, self._seqid)
2392
    args = addCategory_args()
2393
    args.category = category
2394
    args.write(self._oprot)
2395
    self._oprot.writeMessageEnd()
2396
    self._oprot.trans.flush()
2397
 
2398
  def recv_addCategory(self, ):
2399
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2400
    if mtype == TMessageType.EXCEPTION:
2401
      x = TApplicationException()
2402
      x.read(self._iprot)
2403
      self._iprot.readMessageEnd()
2404
      raise x
2405
    result = addCategory_result()
2406
    result.read(self._iprot)
2407
    self._iprot.readMessageEnd()
2408
    if result.success is not None:
2409
      return result.success
2410
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addCategory failed: unknown result");
2411
 
2412
  def getCategory(self, id):
2413
    """
2414
    Parameters:
2415
     - id
2416
    """
2417
    self.send_getCategory(id)
2418
    return self.recv_getCategory()
2419
 
2420
  def send_getCategory(self, id):
2421
    self._oprot.writeMessageBegin('getCategory', TMessageType.CALL, self._seqid)
2422
    args = getCategory_args()
2423
    args.id = id
2424
    args.write(self._oprot)
2425
    self._oprot.writeMessageEnd()
2426
    self._oprot.trans.flush()
2427
 
2428
  def recv_getCategory(self, ):
2429
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2430
    if mtype == TMessageType.EXCEPTION:
2431
      x = TApplicationException()
2432
      x.read(self._iprot)
2433
      self._iprot.readMessageEnd()
2434
      raise x
2435
    result = getCategory_result()
2436
    result.read(self._iprot)
2437
    self._iprot.readMessageEnd()
2438
    if result.success is not None:
2439
      return result.success
2440
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCategory failed: unknown result");
2441
 
2442
  def getAllCategories(self, ):
2443
    self.send_getAllCategories()
2444
    return self.recv_getAllCategories()
2445
 
2446
  def send_getAllCategories(self, ):
2447
    self._oprot.writeMessageBegin('getAllCategories', TMessageType.CALL, self._seqid)
2448
    args = getAllCategories_args()
2449
    args.write(self._oprot)
2450
    self._oprot.writeMessageEnd()
2451
    self._oprot.trans.flush()
2452
 
2453
  def recv_getAllCategories(self, ):
2454
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2455
    if mtype == TMessageType.EXCEPTION:
2456
      x = TApplicationException()
2457
      x.read(self._iprot)
2458
      self._iprot.readMessageEnd()
2459
      raise x
2460
    result = getAllCategories_result()
2461
    result.read(self._iprot)
2462
    self._iprot.readMessageEnd()
2463
    if result.success is not None:
2464
      return result.success
2465
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCategories failed: unknown result");
2466
 
2467
  def getAllSimilarItems(self, itemId):
2468
    """
2469
    Returns the list of similar items.
2470
 
2471
    Parameters:
2472
     - itemId
2473
    """
2474
    self.send_getAllSimilarItems(itemId)
2475
    return self.recv_getAllSimilarItems()
2476
 
2477
  def send_getAllSimilarItems(self, itemId):
2478
    self._oprot.writeMessageBegin('getAllSimilarItems', TMessageType.CALL, self._seqid)
2479
    args = getAllSimilarItems_args()
2480
    args.itemId = itemId
2481
    args.write(self._oprot)
2482
    self._oprot.writeMessageEnd()
2483
    self._oprot.trans.flush()
2484
 
2485
  def recv_getAllSimilarItems(self, ):
2486
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2487
    if mtype == TMessageType.EXCEPTION:
2488
      x = TApplicationException()
2489
      x.read(self._iprot)
2490
      self._iprot.readMessageEnd()
2491
      raise x
2492
    result = getAllSimilarItems_result()
2493
    result.read(self._iprot)
2494
    self._iprot.readMessageEnd()
2495
    if result.success is not None:
2496
      return result.success
2497
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSimilarItems failed: unknown result");
2498
 
2499
  def addSimilarItem(self, itemId, catalogItemId):
2500
    """
2501
    Adds similar item.
2502
 
2503
    Parameters:
2504
     - itemId
2505
     - catalogItemId
2506
    """
2507
    self.send_addSimilarItem(itemId, catalogItemId)
2508
    return self.recv_addSimilarItem()
2509
 
2510
  def send_addSimilarItem(self, itemId, catalogItemId):
2511
    self._oprot.writeMessageBegin('addSimilarItem', TMessageType.CALL, self._seqid)
2512
    args = addSimilarItem_args()
2513
    args.itemId = itemId
2514
    args.catalogItemId = catalogItemId
2515
    args.write(self._oprot)
2516
    self._oprot.writeMessageEnd()
2517
    self._oprot.trans.flush()
2518
 
2519
  def recv_addSimilarItem(self, ):
2520
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2521
    if mtype == TMessageType.EXCEPTION:
2522
      x = TApplicationException()
2523
      x.read(self._iprot)
2524
      self._iprot.readMessageEnd()
2525
      raise x
2526
    result = addSimilarItem_result()
2527
    result.read(self._iprot)
2528
    self._iprot.readMessageEnd()
2529
    if result.success is not None:
2530
      return result.success
2531
    if result.cex is not None:
2532
      raise result.cex
2533
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addSimilarItem failed: unknown result");
2534
 
6512 kshitij.so 2535
  def addTag(self, displayName, itemId):
2536
    """
2537
    Tag Related
2538
 
2539
    Parameters:
2540
     - displayName
2541
     - itemId
2542
    """
2543
    self.send_addTag(displayName, itemId)
2544
    return self.recv_addTag()
2545
 
2546
  def send_addTag(self, displayName, itemId):
2547
    self._oprot.writeMessageBegin('addTag', TMessageType.CALL, self._seqid)
2548
    args = addTag_args()
2549
    args.displayName = displayName
2550
    args.itemId = itemId
2551
    args.write(self._oprot)
2552
    self._oprot.writeMessageEnd()
2553
    self._oprot.trans.flush()
2554
 
2555
  def recv_addTag(self, ):
2556
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2557
    if mtype == TMessageType.EXCEPTION:
2558
      x = TApplicationException()
2559
      x.read(self._iprot)
2560
      self._iprot.readMessageEnd()
2561
      raise x
2562
    result = addTag_result()
2563
    result.read(self._iprot)
2564
    self._iprot.readMessageEnd()
2565
    if result.success is not None:
2566
      return result.success
2567
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addTag failed: unknown result");
2568
 
2569
  def deleteEntityTag(self, displayName, itemId):
2570
    """
2571
    Parameters:
2572
     - displayName
2573
     - itemId
2574
    """
2575
    self.send_deleteEntityTag(displayName, itemId)
2576
    return self.recv_deleteEntityTag()
2577
 
2578
  def send_deleteEntityTag(self, displayName, itemId):
2579
    self._oprot.writeMessageBegin('deleteEntityTag', TMessageType.CALL, self._seqid)
2580
    args = deleteEntityTag_args()
2581
    args.displayName = displayName
2582
    args.itemId = itemId
2583
    args.write(self._oprot)
2584
    self._oprot.writeMessageEnd()
2585
    self._oprot.trans.flush()
2586
 
2587
  def recv_deleteEntityTag(self, ):
2588
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2589
    if mtype == TMessageType.EXCEPTION:
2590
      x = TApplicationException()
2591
      x.read(self._iprot)
2592
      self._iprot.readMessageEnd()
2593
      raise x
2594
    result = deleteEntityTag_result()
2595
    result.read(self._iprot)
2596
    self._iprot.readMessageEnd()
2597
    if result.success is not None:
2598
      return result.success
2599
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteEntityTag failed: unknown result");
2600
 
2601
  def deleteTag(self, displayName):
2602
    """
2603
    Parameters:
2604
     - displayName
2605
    """
2606
    self.send_deleteTag(displayName)
2607
    return self.recv_deleteTag()
2608
 
2609
  def send_deleteTag(self, displayName):
2610
    self._oprot.writeMessageBegin('deleteTag', TMessageType.CALL, self._seqid)
2611
    args = deleteTag_args()
2612
    args.displayName = displayName
2613
    args.write(self._oprot)
2614
    self._oprot.writeMessageEnd()
2615
    self._oprot.trans.flush()
2616
 
2617
  def recv_deleteTag(self, ):
2618
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2619
    if mtype == TMessageType.EXCEPTION:
2620
      x = TApplicationException()
2621
      x.read(self._iprot)
2622
      self._iprot.readMessageEnd()
2623
      raise x
2624
    result = deleteTag_result()
2625
    result.read(self._iprot)
2626
    self._iprot.readMessageEnd()
2627
    if result.success is not None:
2628
      return result.success
2629
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteTag failed: unknown result");
2630
 
2631
  def getAllTags(self, ):
2632
    self.send_getAllTags()
2633
    return self.recv_getAllTags()
2634
 
2635
  def send_getAllTags(self, ):
2636
    self._oprot.writeMessageBegin('getAllTags', TMessageType.CALL, self._seqid)
2637
    args = getAllTags_args()
2638
    args.write(self._oprot)
2639
    self._oprot.writeMessageEnd()
2640
    self._oprot.trans.flush()
2641
 
2642
  def recv_getAllTags(self, ):
2643
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2644
    if mtype == TMessageType.EXCEPTION:
2645
      x = TApplicationException()
2646
      x.read(self._iprot)
2647
      self._iprot.readMessageEnd()
2648
      raise x
2649
    result = getAllTags_result()
2650
    result.read(self._iprot)
2651
    self._iprot.readMessageEnd()
2652
    if result.success is not None:
2653
      return result.success
2654
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllTags failed: unknown result");
2655
 
2656
  def getAllEntitiesByTagName(self, displayName):
2657
    """
2658
    Parameters:
2659
     - displayName
2660
    """
2661
    self.send_getAllEntitiesByTagName(displayName)
2662
    return self.recv_getAllEntitiesByTagName()
2663
 
2664
  def send_getAllEntitiesByTagName(self, displayName):
2665
    self._oprot.writeMessageBegin('getAllEntitiesByTagName', TMessageType.CALL, self._seqid)
2666
    args = getAllEntitiesByTagName_args()
2667
    args.displayName = displayName
2668
    args.write(self._oprot)
2669
    self._oprot.writeMessageEnd()
2670
    self._oprot.trans.flush()
2671
 
2672
  def recv_getAllEntitiesByTagName(self, ):
2673
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2674
    if mtype == TMessageType.EXCEPTION:
2675
      x = TApplicationException()
2676
      x.read(self._iprot)
2677
      self._iprot.readMessageEnd()
2678
      raise x
2679
    result = getAllEntitiesByTagName_result()
2680
    result.read(self._iprot)
2681
    self._iprot.readMessageEnd()
2682
    if result.success is not None:
2683
      return result.success
2684
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntitiesByTagName failed: unknown result");
2685
 
6845 amit.gupta 2686
  def getAllEntityTags(self, ):
2687
    self.send_getAllEntityTags()
2688
    return self.recv_getAllEntityTags()
2689
 
2690
  def send_getAllEntityTags(self, ):
2691
    self._oprot.writeMessageBegin('getAllEntityTags', TMessageType.CALL, self._seqid)
2692
    args = getAllEntityTags_args()
2693
    args.write(self._oprot)
2694
    self._oprot.writeMessageEnd()
2695
    self._oprot.trans.flush()
2696
 
2697
  def recv_getAllEntityTags(self, ):
2698
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2699
    if mtype == TMessageType.EXCEPTION:
2700
      x = TApplicationException()
2701
      x.read(self._iprot)
2702
      self._iprot.readMessageEnd()
2703
      raise x
2704
    result = getAllEntityTags_result()
2705
    result.read(self._iprot)
2706
    self._iprot.readMessageEnd()
2707
    if result.success is not None:
2708
      return result.success
2709
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
2710
 
8590 kshitij.so 2711
  def addBanner(self, bannerCongregate):
6850 kshitij.so 2712
    """
8579 kshitij.so 2713
    Banner Related
2714
 
6850 kshitij.so 2715
    Parameters:
8590 kshitij.so 2716
     - bannerCongregate
6850 kshitij.so 2717
    """
8590 kshitij.so 2718
    self.send_addBanner(bannerCongregate)
10097 kshitij.so 2719
    return self.recv_addBanner()
6850 kshitij.so 2720
 
8590 kshitij.so 2721
  def send_addBanner(self, bannerCongregate):
6850 kshitij.so 2722
    self._oprot.writeMessageBegin('addBanner', TMessageType.CALL, self._seqid)
2723
    args = addBanner_args()
8590 kshitij.so 2724
    args.bannerCongregate = bannerCongregate
6850 kshitij.so 2725
    args.write(self._oprot)
2726
    self._oprot.writeMessageEnd()
2727
    self._oprot.trans.flush()
2728
 
2729
  def recv_addBanner(self, ):
2730
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2731
    if mtype == TMessageType.EXCEPTION:
2732
      x = TApplicationException()
2733
      x.read(self._iprot)
2734
      self._iprot.readMessageEnd()
2735
      raise x
2736
    result = addBanner_result()
2737
    result.read(self._iprot)
2738
    self._iprot.readMessageEnd()
10097 kshitij.so 2739
    if result.success is not None:
2740
      return result.success
2741
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
6850 kshitij.so 2742
 
8579 kshitij.so 2743
  def updateBanner(self, banner):
2744
    """
2745
    Parameters:
2746
     - banner
2747
    """
2748
    self.send_updateBanner(banner)
2749
    return self.recv_updateBanner()
2750
 
2751
  def send_updateBanner(self, banner):
2752
    self._oprot.writeMessageBegin('updateBanner', TMessageType.CALL, self._seqid)
2753
    args = updateBanner_args()
2754
    args.banner = banner
2755
    args.write(self._oprot)
2756
    self._oprot.writeMessageEnd()
2757
    self._oprot.trans.flush()
2758
 
2759
  def recv_updateBanner(self, ):
2760
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2761
    if mtype == TMessageType.EXCEPTION:
2762
      x = TApplicationException()
2763
      x.read(self._iprot)
2764
      self._iprot.readMessageEnd()
2765
      raise x
2766
    result = updateBanner_result()
2767
    result.read(self._iprot)
2768
    self._iprot.readMessageEnd()
2769
    if result.success is not None:
2770
      return result.success
2771
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBanner failed: unknown result");
2772
 
6850 kshitij.so 2773
  def getAllBanners(self, ):
2774
    self.send_getAllBanners()
2775
    return self.recv_getAllBanners()
2776
 
2777
  def send_getAllBanners(self, ):
2778
    self._oprot.writeMessageBegin('getAllBanners', TMessageType.CALL, self._seqid)
2779
    args = getAllBanners_args()
2780
    args.write(self._oprot)
2781
    self._oprot.writeMessageEnd()
2782
    self._oprot.trans.flush()
2783
 
2784
  def recv_getAllBanners(self, ):
2785
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2786
    if mtype == TMessageType.EXCEPTION:
2787
      x = TApplicationException()
2788
      x.read(self._iprot)
2789
      self._iprot.readMessageEnd()
2790
      raise x
2791
    result = getAllBanners_result()
2792
    result.read(self._iprot)
2793
    self._iprot.readMessageEnd()
2794
    if result.success is not None:
2795
      return result.success
2796
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBanners failed: unknown result");
2797
 
9155 kshitij.so 2798
  def deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2799
    """
2800
    Parameters:
2801
     - bannerName
9155 kshitij.so 2802
     - bannerType
6850 kshitij.so 2803
    """
9155 kshitij.so 2804
    self.send_deleteBanner(bannerName, bannerType)
6850 kshitij.so 2805
    return self.recv_deleteBanner()
2806
 
9155 kshitij.so 2807
  def send_deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2808
    self._oprot.writeMessageBegin('deleteBanner', TMessageType.CALL, self._seqid)
2809
    args = deleteBanner_args()
2810
    args.bannerName = bannerName
9155 kshitij.so 2811
    args.bannerType = bannerType
6850 kshitij.so 2812
    args.write(self._oprot)
2813
    self._oprot.writeMessageEnd()
2814
    self._oprot.trans.flush()
2815
 
2816
  def recv_deleteBanner(self, ):
2817
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2818
    if mtype == TMessageType.EXCEPTION:
2819
      x = TApplicationException()
2820
      x.read(self._iprot)
2821
      self._iprot.readMessageEnd()
2822
      raise x
2823
    result = deleteBanner_result()
2824
    result.read(self._iprot)
2825
    self._iprot.readMessageEnd()
2826
    if result.success is not None:
2827
      return result.success
2828
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBanner failed: unknown result");
2829
 
9155 kshitij.so 2830
  def getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2831
    """
2832
    Parameters:
2833
     - bannerName
9155 kshitij.so 2834
     - bannerType
6850 kshitij.so 2835
    """
9155 kshitij.so 2836
    self.send_getBannerDetails(bannerName, bannerType)
6850 kshitij.so 2837
    return self.recv_getBannerDetails()
2838
 
9155 kshitij.so 2839
  def send_getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2840
    self._oprot.writeMessageBegin('getBannerDetails', TMessageType.CALL, self._seqid)
2841
    args = getBannerDetails_args()
2842
    args.bannerName = bannerName
9155 kshitij.so 2843
    args.bannerType = bannerType
6850 kshitij.so 2844
    args.write(self._oprot)
2845
    self._oprot.writeMessageEnd()
2846
    self._oprot.trans.flush()
2847
 
2848
  def recv_getBannerDetails(self, ):
2849
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2850
    if mtype == TMessageType.EXCEPTION:
2851
      x = TApplicationException()
2852
      x.read(self._iprot)
2853
      self._iprot.readMessageEnd()
2854
      raise x
2855
    result = getBannerDetails_result()
2856
    result.read(self._iprot)
2857
    self._iprot.readMessageEnd()
2858
    if result.success is not None:
2859
      return result.success
2860
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerDetails failed: unknown result");
2861
 
2862
  def getActiveBanners(self, ):
2863
    self.send_getActiveBanners()
2864
    return self.recv_getActiveBanners()
2865
 
2866
  def send_getActiveBanners(self, ):
2867
    self._oprot.writeMessageBegin('getActiveBanners', TMessageType.CALL, self._seqid)
2868
    args = getActiveBanners_args()
2869
    args.write(self._oprot)
2870
    self._oprot.writeMessageEnd()
2871
    self._oprot.trans.flush()
2872
 
2873
  def recv_getActiveBanners(self, ):
2874
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2875
    if mtype == TMessageType.EXCEPTION:
2876
      x = TApplicationException()
2877
      x.read(self._iprot)
2878
      self._iprot.readMessageEnd()
2879
      raise x
2880
    result = getActiveBanners_result()
2881
    result.read(self._iprot)
2882
    self._iprot.readMessageEnd()
2883
    if result.success is not None:
2884
      return result.success
2885
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
2886
 
8579 kshitij.so 2887
  def addBannerMap(self, bannerMaps):
6849 kshitij.so 2888
    """
2889
    Parameters:
8579 kshitij.so 2890
     - bannerMaps
6849 kshitij.so 2891
    """
8579 kshitij.so 2892
    self.send_addBannerMap(bannerMaps)
6849 kshitij.so 2893
    return self.recv_addBannerMap()
2894
 
8579 kshitij.so 2895
  def send_addBannerMap(self, bannerMaps):
6849 kshitij.so 2896
    self._oprot.writeMessageBegin('addBannerMap', TMessageType.CALL, self._seqid)
2897
    args = addBannerMap_args()
8579 kshitij.so 2898
    args.bannerMaps = bannerMaps
6849 kshitij.so 2899
    args.write(self._oprot)
2900
    self._oprot.writeMessageEnd()
2901
    self._oprot.trans.flush()
2902
 
2903
  def recv_addBannerMap(self, ):
2904
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2905
    if mtype == TMessageType.EXCEPTION:
2906
      x = TApplicationException()
2907
      x.read(self._iprot)
2908
      self._iprot.readMessageEnd()
2909
      raise x
2910
    result = addBannerMap_result()
2911
    result.read(self._iprot)
2912
    self._iprot.readMessageEnd()
2913
    if result.success is not None:
2914
      return result.success
2915
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
2916
 
8579 kshitij.so 2917
  def updateBannerMap(self, bannerMap):
2918
    """
2919
    Parameters:
2920
     - bannerMap
2921
    """
2922
    self.send_updateBannerMap(bannerMap)
2923
    return self.recv_updateBannerMap()
2924
 
2925
  def send_updateBannerMap(self, bannerMap):
2926
    self._oprot.writeMessageBegin('updateBannerMap', TMessageType.CALL, self._seqid)
2927
    args = updateBannerMap_args()
2928
    args.bannerMap = bannerMap
2929
    args.write(self._oprot)
2930
    self._oprot.writeMessageEnd()
2931
    self._oprot.trans.flush()
2932
 
2933
  def recv_updateBannerMap(self, ):
2934
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2935
    if mtype == TMessageType.EXCEPTION:
2936
      x = TApplicationException()
2937
      x.read(self._iprot)
2938
      self._iprot.readMessageEnd()
2939
      raise x
2940
    result = updateBannerMap_result()
2941
    result.read(self._iprot)
2942
    self._iprot.readMessageEnd()
2943
    if result.success is not None:
2944
      return result.success
2945
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBannerMap failed: unknown result");
2946
 
6849 kshitij.so 2947
  def deleteBannerMap(self, bannerName):
2948
    """
2949
    Parameters:
2950
     - bannerName
2951
    """
2952
    self.send_deleteBannerMap(bannerName)
2953
    return self.recv_deleteBannerMap()
2954
 
2955
  def send_deleteBannerMap(self, bannerName):
2956
    self._oprot.writeMessageBegin('deleteBannerMap', TMessageType.CALL, self._seqid)
2957
    args = deleteBannerMap_args()
2958
    args.bannerName = bannerName
2959
    args.write(self._oprot)
2960
    self._oprot.writeMessageEnd()
2961
    self._oprot.trans.flush()
2962
 
2963
  def recv_deleteBannerMap(self, ):
2964
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2965
    if mtype == TMessageType.EXCEPTION:
2966
      x = TApplicationException()
2967
      x.read(self._iprot)
2968
      self._iprot.readMessageEnd()
2969
      raise x
2970
    result = deleteBannerMap_result()
2971
    result.read(self._iprot)
2972
    self._iprot.readMessageEnd()
2973
    if result.success is not None:
2974
      return result.success
2975
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBannerMap failed: unknown result");
2976
 
9155 kshitij.so 2977
  def getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 2978
    """
2979
    Parameters:
2980
     - bannerName
9155 kshitij.so 2981
     - bannerType
6849 kshitij.so 2982
    """
9155 kshitij.so 2983
    self.send_getBannerMapDetails(bannerName, bannerType)
6849 kshitij.so 2984
    return self.recv_getBannerMapDetails()
2985
 
9155 kshitij.so 2986
  def send_getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 2987
    self._oprot.writeMessageBegin('getBannerMapDetails', TMessageType.CALL, self._seqid)
2988
    args = getBannerMapDetails_args()
2989
    args.bannerName = bannerName
9155 kshitij.so 2990
    args.bannerType = bannerType
6849 kshitij.so 2991
    args.write(self._oprot)
2992
    self._oprot.writeMessageEnd()
2993
    self._oprot.trans.flush()
2994
 
2995
  def recv_getBannerMapDetails(self, ):
2996
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2997
    if mtype == TMessageType.EXCEPTION:
2998
      x = TApplicationException()
2999
      x.read(self._iprot)
3000
      self._iprot.readMessageEnd()
3001
      raise x
3002
    result = getBannerMapDetails_result()
3003
    result.read(self._iprot)
3004
    self._iprot.readMessageEnd()
3005
    if result.success is not None:
3006
      return result.success
3007
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
3008
 
8579 kshitij.so 3009
  def addBannerUri(self, bannerUriMappings):
3010
    """
3011
    Parameters:
3012
     - bannerUriMappings
3013
    """
3014
    self.send_addBannerUri(bannerUriMappings)
3015
    self.recv_addBannerUri()
3016
 
3017
  def send_addBannerUri(self, bannerUriMappings):
3018
    self._oprot.writeMessageBegin('addBannerUri', TMessageType.CALL, self._seqid)
3019
    args = addBannerUri_args()
3020
    args.bannerUriMappings = bannerUriMappings
3021
    args.write(self._oprot)
3022
    self._oprot.writeMessageEnd()
3023
    self._oprot.trans.flush()
3024
 
3025
  def recv_addBannerUri(self, ):
3026
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3027
    if mtype == TMessageType.EXCEPTION:
3028
      x = TApplicationException()
3029
      x.read(self._iprot)
3030
      self._iprot.readMessageEnd()
3031
      raise x
3032
    result = addBannerUri_result()
3033
    result.read(self._iprot)
3034
    self._iprot.readMessageEnd()
3035
    return
3036
 
9155 kshitij.so 3037
  def getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 3038
    """
3039
    Parameters:
3040
     - bannerName
9155 kshitij.so 3041
     - bannerType
8579 kshitij.so 3042
    """
9155 kshitij.so 3043
    self.send_getUriMapping(bannerName, bannerType)
8579 kshitij.so 3044
    return self.recv_getUriMapping()
3045
 
9155 kshitij.so 3046
  def send_getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 3047
    self._oprot.writeMessageBegin('getUriMapping', TMessageType.CALL, self._seqid)
3048
    args = getUriMapping_args()
3049
    args.bannerName = bannerName
9155 kshitij.so 3050
    args.bannerType = bannerType
8579 kshitij.so 3051
    args.write(self._oprot)
3052
    self._oprot.writeMessageEnd()
3053
    self._oprot.trans.flush()
3054
 
3055
  def recv_getUriMapping(self, ):
3056
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3057
    if mtype == TMessageType.EXCEPTION:
3058
      x = TApplicationException()
3059
      x.read(self._iprot)
3060
      self._iprot.readMessageEnd()
3061
      raise x
3062
    result = getUriMapping_result()
3063
    result.read(self._iprot)
3064
    self._iprot.readMessageEnd()
3065
    if result.success is not None:
3066
      return result.success
3067
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUriMapping failed: unknown result");
3068
 
3069
  def addCampaign(self, campaign):
3070
    """
3071
    Parameters:
3072
     - campaign
3073
    """
3074
    self.send_addCampaign(campaign)
3075
    self.recv_addCampaign()
3076
 
3077
  def send_addCampaign(self, campaign):
3078
    self._oprot.writeMessageBegin('addCampaign', TMessageType.CALL, self._seqid)
3079
    args = addCampaign_args()
3080
    args.campaign = campaign
3081
    args.write(self._oprot)
3082
    self._oprot.writeMessageEnd()
3083
    self._oprot.trans.flush()
3084
 
3085
  def recv_addCampaign(self, ):
3086
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3087
    if mtype == TMessageType.EXCEPTION:
3088
      x = TApplicationException()
3089
      x.read(self._iprot)
3090
      self._iprot.readMessageEnd()
3091
      raise x
3092
    result = addCampaign_result()
3093
    result.read(self._iprot)
3094
    self._iprot.readMessageEnd()
3095
    return
3096
 
3097
  def getCampaigns(self, campaignName):
3098
    """
3099
    Parameters:
3100
     - campaignName
3101
    """
3102
    self.send_getCampaigns(campaignName)
3103
    return self.recv_getCampaigns()
3104
 
3105
  def send_getCampaigns(self, campaignName):
3106
    self._oprot.writeMessageBegin('getCampaigns', TMessageType.CALL, self._seqid)
3107
    args = getCampaigns_args()
3108
    args.campaignName = campaignName
3109
    args.write(self._oprot)
3110
    self._oprot.writeMessageEnd()
3111
    self._oprot.trans.flush()
3112
 
3113
  def recv_getCampaigns(self, ):
3114
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3115
    if mtype == TMessageType.EXCEPTION:
3116
      x = TApplicationException()
3117
      x.read(self._iprot)
3118
      self._iprot.readMessageEnd()
3119
      raise x
3120
    result = getCampaigns_result()
3121
    result.read(self._iprot)
3122
    self._iprot.readMessageEnd()
3123
    if result.success is not None:
3124
      return result.success
3125
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCampaigns failed: unknown result");
3126
 
3127
  def deleteCampaign(self, campaignId):
3128
    """
3129
    Parameters:
3130
     - campaignId
3131
    """
3132
    self.send_deleteCampaign(campaignId)
3133
    self.recv_deleteCampaign()
3134
 
3135
  def send_deleteCampaign(self, campaignId):
3136
    self._oprot.writeMessageBegin('deleteCampaign', TMessageType.CALL, self._seqid)
3137
    args = deleteCampaign_args()
3138
    args.campaignId = campaignId
3139
    args.write(self._oprot)
3140
    self._oprot.writeMessageEnd()
3141
    self._oprot.trans.flush()
3142
 
3143
  def recv_deleteCampaign(self, ):
3144
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3145
    if mtype == TMessageType.EXCEPTION:
3146
      x = TApplicationException()
3147
      x.read(self._iprot)
3148
      self._iprot.readMessageEnd()
3149
      raise x
3150
    result = deleteCampaign_result()
3151
    result.read(self._iprot)
3152
    self._iprot.readMessageEnd()
3153
    return
3154
 
3155
  def getAllCampaigns(self, ):
3156
    self.send_getAllCampaigns()
3157
    return self.recv_getAllCampaigns()
3158
 
3159
  def send_getAllCampaigns(self, ):
3160
    self._oprot.writeMessageBegin('getAllCampaigns', TMessageType.CALL, self._seqid)
3161
    args = getAllCampaigns_args()
3162
    args.write(self._oprot)
3163
    self._oprot.writeMessageEnd()
3164
    self._oprot.trans.flush()
3165
 
3166
  def recv_getAllCampaigns(self, ):
3167
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3168
    if mtype == TMessageType.EXCEPTION:
3169
      x = TApplicationException()
3170
      x.read(self._iprot)
3171
      self._iprot.readMessageEnd()
3172
      raise x
3173
    result = getAllCampaigns_result()
3174
    result.read(self._iprot)
3175
    self._iprot.readMessageEnd()
3176
    if result.success is not None:
3177
      return result.success
3178
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCampaigns failed: unknown result");
3179
 
9155 kshitij.so 3180
  def getActiveBannersForMobileSite(self, ):
3181
    self.send_getActiveBannersForMobileSite()
3182
    return self.recv_getActiveBannersForMobileSite()
3183
 
3184
  def send_getActiveBannersForMobileSite(self, ):
3185
    self._oprot.writeMessageBegin('getActiveBannersForMobileSite', TMessageType.CALL, self._seqid)
3186
    args = getActiveBannersForMobileSite_args()
3187
    args.write(self._oprot)
3188
    self._oprot.writeMessageEnd()
3189
    self._oprot.trans.flush()
3190
 
3191
  def recv_getActiveBannersForMobileSite(self, ):
3192
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3193
    if mtype == TMessageType.EXCEPTION:
3194
      x = TApplicationException()
3195
      x.read(self._iprot)
3196
      self._iprot.readMessageEnd()
3197
      raise x
3198
    result = getActiveBannersForMobileSite_result()
3199
    result.read(self._iprot)
3200
    self._iprot.readMessageEnd()
3201
    if result.success is not None:
3202
      return result.success
3203
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBannersForMobileSite failed: unknown result");
3204
 
5944 mandeep.dh 3205
  def deleteSimilarItem(self, itemId, catalogItemId):
3206
    """
3207
    Delete similar item.
3208
 
3209
    Parameters:
3210
     - itemId
3211
     - catalogItemId
3212
    """
3213
    self.send_deleteSimilarItem(itemId, catalogItemId)
3214
    return self.recv_deleteSimilarItem()
3215
 
3216
  def send_deleteSimilarItem(self, itemId, catalogItemId):
3217
    self._oprot.writeMessageBegin('deleteSimilarItem', TMessageType.CALL, self._seqid)
3218
    args = deleteSimilarItem_args()
3219
    args.itemId = itemId
3220
    args.catalogItemId = catalogItemId
3221
    args.write(self._oprot)
3222
    self._oprot.writeMessageEnd()
3223
    self._oprot.trans.flush()
3224
 
3225
  def recv_deleteSimilarItem(self, ):
3226
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3227
    if mtype == TMessageType.EXCEPTION:
3228
      x = TApplicationException()
3229
      x.read(self._iprot)
3230
      self._iprot.readMessageEnd()
3231
      raise x
3232
    result = deleteSimilarItem_result()
3233
    result.read(self._iprot)
3234
    self._iprot.readMessageEnd()
3235
    if result.success is not None:
3236
      return result.success
3237
    if result.cex is not None:
3238
      raise result.cex
3239
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteSimilarItem failed: unknown result");
3240
 
3241
  def checkSimilarItem(self, brand, modelNumber, modelName, color):
3242
    """
3243
    Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
3244
    If yes, returns the itemId else returns 0
3245
 
3246
    Parameters:
3247
     - brand
3248
     - modelNumber
3249
     - modelName
3250
     - color
3251
    """
3252
    self.send_checkSimilarItem(brand, modelNumber, modelName, color)
3253
    return self.recv_checkSimilarItem()
3254
 
3255
  def send_checkSimilarItem(self, brand, modelNumber, modelName, color):
3256
    self._oprot.writeMessageBegin('checkSimilarItem', TMessageType.CALL, self._seqid)
3257
    args = checkSimilarItem_args()
3258
    args.brand = brand
3259
    args.modelNumber = modelNumber
3260
    args.modelName = modelName
3261
    args.color = color
3262
    args.write(self._oprot)
3263
    self._oprot.writeMessageEnd()
3264
    self._oprot.trans.flush()
3265
 
3266
  def recv_checkSimilarItem(self, ):
3267
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3268
    if mtype == TMessageType.EXCEPTION:
3269
      x = TApplicationException()
3270
      x.read(self._iprot)
3271
      self._iprot.readMessageEnd()
3272
      raise x
3273
    result = checkSimilarItem_result()
3274
    result.read(self._iprot)
3275
    self._iprot.readMessageEnd()
3276
    if result.success is not None:
3277
      return result.success
3278
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkSimilarItem failed: unknown result");
3279
 
3280
  def validateRiskyStatus(self, itemId):
3281
    """
3282
    Check wether item is risky and change status if inventory is not available for risky items
3283
 
3284
    Parameters:
3285
     - itemId
3286
    """
3287
    self.send_validateRiskyStatus(itemId)
3288
    self.recv_validateRiskyStatus()
3289
 
3290
  def send_validateRiskyStatus(self, itemId):
3291
    self._oprot.writeMessageBegin('validateRiskyStatus', TMessageType.CALL, self._seqid)
3292
    args = validateRiskyStatus_args()
3293
    args.itemId = itemId
3294
    args.write(self._oprot)
3295
    self._oprot.writeMessageEnd()
3296
    self._oprot.trans.flush()
3297
 
3298
  def recv_validateRiskyStatus(self, ):
3299
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3300
    if mtype == TMessageType.EXCEPTION:
3301
      x = TApplicationException()
3302
      x.read(self._iprot)
3303
      self._iprot.readMessageEnd()
3304
      raise x
3305
    result = validateRiskyStatus_result()
3306
    result.read(self._iprot)
3307
    self._iprot.readMessageEnd()
3308
    return
3309
 
3310
  def changeItemRiskyFlag(self, itemId, risky):
3311
    """
3312
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
3313
 
3314
    Parameters:
3315
     - itemId
3316
     - risky
3317
    """
3318
    self.send_changeItemRiskyFlag(itemId, risky)
3319
    self.recv_changeItemRiskyFlag()
3320
 
3321
  def send_changeItemRiskyFlag(self, itemId, risky):
3322
    self._oprot.writeMessageBegin('changeItemRiskyFlag', TMessageType.CALL, self._seqid)
3323
    args = changeItemRiskyFlag_args()
3324
    args.itemId = itemId
3325
    args.risky = risky
3326
    args.write(self._oprot)
3327
    self._oprot.writeMessageEnd()
3328
    self._oprot.trans.flush()
3329
 
3330
  def recv_changeItemRiskyFlag(self, ):
3331
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3332
    if mtype == TMessageType.EXCEPTION:
3333
      x = TApplicationException()
3334
      x.read(self._iprot)
3335
      self._iprot.readMessageEnd()
3336
      raise x
3337
    result = changeItemRiskyFlag_result()
3338
    result.read(self._iprot)
3339
    self._iprot.readMessageEnd()
3340
    return
3341
 
3342
  def getItemsByRiskyFlag(self, ):
3343
    """
3344
    Returns list of items marked as risky.
3345
    """
3346
    self.send_getItemsByRiskyFlag()
3347
    return self.recv_getItemsByRiskyFlag()
3348
 
3349
  def send_getItemsByRiskyFlag(self, ):
3350
    self._oprot.writeMessageBegin('getItemsByRiskyFlag', TMessageType.CALL, self._seqid)
3351
    args = getItemsByRiskyFlag_args()
3352
    args.write(self._oprot)
3353
    self._oprot.writeMessageEnd()
3354
    self._oprot.trans.flush()
3355
 
3356
  def recv_getItemsByRiskyFlag(self, ):
3357
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3358
    if mtype == TMessageType.EXCEPTION:
3359
      x = TApplicationException()
3360
      x.read(self._iprot)
3361
      self._iprot.readMessageEnd()
3362
      raise x
3363
    result = getItemsByRiskyFlag_result()
3364
    result.read(self._iprot)
3365
    self._iprot.readMessageEnd()
3366
    if result.success is not None:
3367
      return result.success
3368
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByRiskyFlag failed: unknown result");
3369
 
3370
  def getItemsForMasterSheet(self, category, brand):
3371
    """
3372
    Returns list of items with any status except PHASED_OUT and filtered by category, brand.
3373
 
3374
    Parameters:
3375
     - category
3376
     - brand
3377
    """
3378
    self.send_getItemsForMasterSheet(category, brand)
3379
    return self.recv_getItemsForMasterSheet()
3380
 
3381
  def send_getItemsForMasterSheet(self, category, brand):
3382
    self._oprot.writeMessageBegin('getItemsForMasterSheet', TMessageType.CALL, self._seqid)
3383
    args = getItemsForMasterSheet_args()
3384
    args.category = category
3385
    args.brand = brand
3386
    args.write(self._oprot)
3387
    self._oprot.writeMessageEnd()
3388
    self._oprot.trans.flush()
3389
 
3390
  def recv_getItemsForMasterSheet(self, ):
3391
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3392
    if mtype == TMessageType.EXCEPTION:
3393
      x = TApplicationException()
3394
      x.read(self._iprot)
3395
      self._iprot.readMessageEnd()
3396
      raise x
3397
    result = getItemsForMasterSheet_result()
3398
    result.read(self._iprot)
3399
    self._iprot.readMessageEnd()
3400
    if result.success is not None:
3401
      return result.success
3402
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsForMasterSheet failed: unknown result");
3403
 
3404
  def getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3405
    """
3406
    Returns list of catalog ids of items with same similarity index as of the given itemId
3407
 
3408
    Parameters:
3409
     - beginIndex
3410
     - totalItems
3411
     - itemId
3412
    """
3413
    self.send_getSimilarItemsCatalogIds(beginIndex, totalItems, itemId)
3414
    return self.recv_getSimilarItemsCatalogIds()
3415
 
3416
  def send_getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3417
    self._oprot.writeMessageBegin('getSimilarItemsCatalogIds', TMessageType.CALL, self._seqid)
3418
    args = getSimilarItemsCatalogIds_args()
3419
    args.beginIndex = beginIndex
3420
    args.totalItems = totalItems
3421
    args.itemId = itemId
3422
    args.write(self._oprot)
3423
    self._oprot.writeMessageEnd()
3424
    self._oprot.trans.flush()
3425
 
3426
  def recv_getSimilarItemsCatalogIds(self, ):
3427
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3428
    if mtype == TMessageType.EXCEPTION:
3429
      x = TApplicationException()
3430
      x.read(self._iprot)
3431
      self._iprot.readMessageEnd()
3432
      raise x
3433
    result = getSimilarItemsCatalogIds_result()
3434
    result.read(self._iprot)
3435
    self._iprot.readMessageEnd()
3436
    if result.success is not None:
3437
      return result.success
3438
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSimilarItemsCatalogIds failed: unknown result");
3439
 
3440
  def addProductNotification(self, itemId, email):
3441
    """
3442
    Add user requests for out of stock items. Once user will ask for notify me an entry will
3443
 
3444
    Parameters:
3445
     - itemId
3446
     - email
3447
    """
3448
    self.send_addProductNotification(itemId, email)
3449
    return self.recv_addProductNotification()
3450
 
3451
  def send_addProductNotification(self, itemId, email):
3452
    self._oprot.writeMessageBegin('addProductNotification', TMessageType.CALL, self._seqid)
3453
    args = addProductNotification_args()
3454
    args.itemId = itemId
3455
    args.email = email
3456
    args.write(self._oprot)
3457
    self._oprot.writeMessageEnd()
3458
    self._oprot.trans.flush()
3459
 
3460
  def recv_addProductNotification(self, ):
3461
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3462
    if mtype == TMessageType.EXCEPTION:
3463
      x = TApplicationException()
3464
      x.read(self._iprot)
3465
      self._iprot.readMessageEnd()
3466
      raise x
3467
    result = addProductNotification_result()
3468
    result.read(self._iprot)
3469
    self._iprot.readMessageEnd()
3470
    if result.success is not None:
3471
      return result.success
3472
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductNotification failed: unknown result");
3473
 
3474
  def sendProductNotifications(self, ):
3475
    """
3476
    Send the product notifications to the users for items which has stock.
3477
    """
3478
    self.send_sendProductNotifications()
3479
    return self.recv_sendProductNotifications()
3480
 
3481
  def send_sendProductNotifications(self, ):
3482
    self._oprot.writeMessageBegin('sendProductNotifications', TMessageType.CALL, self._seqid)
3483
    args = sendProductNotifications_args()
3484
    args.write(self._oprot)
3485
    self._oprot.writeMessageEnd()
3486
    self._oprot.trans.flush()
3487
 
3488
  def recv_sendProductNotifications(self, ):
3489
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3490
    if mtype == TMessageType.EXCEPTION:
3491
      x = TApplicationException()
3492
      x.read(self._iprot)
3493
      self._iprot.readMessageEnd()
3494
      raise x
3495
    result = sendProductNotifications_result()
3496
    result.read(self._iprot)
3497
    self._iprot.readMessageEnd()
3498
    if result.success is not None:
3499
      return result.success
3500
    raise TApplicationException(TApplicationException.MISSING_RESULT, "sendProductNotifications failed: unknown result");
3501
 
3502
  def getAllBrandsByCategory(self, categoryId):
3503
    """
3504
    Returns list of brand names for a given category Id
3505
 
3506
    Parameters:
3507
     - categoryId
3508
    """
3509
    self.send_getAllBrandsByCategory(categoryId)
3510
    return self.recv_getAllBrandsByCategory()
3511
 
3512
  def send_getAllBrandsByCategory(self, categoryId):
3513
    self._oprot.writeMessageBegin('getAllBrandsByCategory', TMessageType.CALL, self._seqid)
3514
    args = getAllBrandsByCategory_args()
3515
    args.categoryId = categoryId
3516
    args.write(self._oprot)
3517
    self._oprot.writeMessageEnd()
3518
    self._oprot.trans.flush()
3519
 
3520
  def recv_getAllBrandsByCategory(self, ):
3521
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3522
    if mtype == TMessageType.EXCEPTION:
3523
      x = TApplicationException()
3524
      x.read(self._iprot)
3525
      self._iprot.readMessageEnd()
3526
      raise x
3527
    result = getAllBrandsByCategory_result()
3528
    result.read(self._iprot)
3529
    self._iprot.readMessageEnd()
3530
    if result.success is not None:
3531
      return result.success
3532
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrandsByCategory failed: unknown result");
3533
 
3534
  def getAllBrands(self, ):
3535
    """
3536
    Returns list of brand names
3537
    """
3538
    self.send_getAllBrands()
3539
    return self.recv_getAllBrands()
3540
 
3541
  def send_getAllBrands(self, ):
3542
    self._oprot.writeMessageBegin('getAllBrands', TMessageType.CALL, self._seqid)
3543
    args = getAllBrands_args()
3544
    args.write(self._oprot)
3545
    self._oprot.writeMessageEnd()
3546
    self._oprot.trans.flush()
3547
 
3548
  def recv_getAllBrands(self, ):
3549
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3550
    if mtype == TMessageType.EXCEPTION:
3551
      x = TApplicationException()
3552
      x.read(self._iprot)
3553
      self._iprot.readMessageEnd()
3554
      raise x
3555
    result = getAllBrands_result()
3556
    result.read(self._iprot)
3557
    self._iprot.readMessageEnd()
3558
    if result.success is not None:
3559
      return result.success
3560
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrands failed: unknown result");
3561
 
3562
  def getAllSources(self, ):
3563
    """
3564
    Return list of all sources
3565
    """
3566
    self.send_getAllSources()
3567
    return self.recv_getAllSources()
3568
 
3569
  def send_getAllSources(self, ):
3570
    self._oprot.writeMessageBegin('getAllSources', TMessageType.CALL, self._seqid)
3571
    args = getAllSources_args()
3572
    args.write(self._oprot)
3573
    self._oprot.writeMessageEnd()
3574
    self._oprot.trans.flush()
3575
 
3576
  def recv_getAllSources(self, ):
3577
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3578
    if mtype == TMessageType.EXCEPTION:
3579
      x = TApplicationException()
3580
      x.read(self._iprot)
3581
      self._iprot.readMessageEnd()
3582
      raise x
3583
    result = getAllSources_result()
3584
    result.read(self._iprot)
3585
    self._iprot.readMessageEnd()
3586
    if result.success is not None:
3587
      return result.success
3588
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSources failed: unknown result");
3589
 
3590
  def getItemPricingBySource(self, itemId, sourceId):
3591
    """
3592
    Returns the pricing information of an item. If no information is found, exception will be thrown.
3593
 
3594
    Parameters:
3595
     - itemId
3596
     - sourceId
3597
    """
3598
    self.send_getItemPricingBySource(itemId, sourceId)
3599
    return self.recv_getItemPricingBySource()
3600
 
3601
  def send_getItemPricingBySource(self, itemId, sourceId):
3602
    self._oprot.writeMessageBegin('getItemPricingBySource', TMessageType.CALL, self._seqid)
3603
    args = getItemPricingBySource_args()
3604
    args.itemId = itemId
3605
    args.sourceId = sourceId
3606
    args.write(self._oprot)
3607
    self._oprot.writeMessageEnd()
3608
    self._oprot.trans.flush()
3609
 
3610
  def recv_getItemPricingBySource(self, ):
3611
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3612
    if mtype == TMessageType.EXCEPTION:
3613
      x = TApplicationException()
3614
      x.read(self._iprot)
3615
      self._iprot.readMessageEnd()
3616
      raise x
3617
    result = getItemPricingBySource_result()
3618
    result.read(self._iprot)
3619
    self._iprot.readMessageEnd()
3620
    if result.success is not None:
3621
      return result.success
3622
    if result.cex is not None:
3623
      raise result.cex
3624
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemPricingBySource failed: unknown result");
3625
 
3626
  def addSourceItemPricing(self, sourceItemPricing):
3627
    """
3628
    Adds prices to be displayed corresponding to the item if user comes from a source.
3629
    If item is not found or source is not found, it will throw exception.
3630
 
3631
    Parameters:
3632
     - sourceItemPricing
3633
    """
3634
    self.send_addSourceItemPricing(sourceItemPricing)
3635
    self.recv_addSourceItemPricing()
3636
 
3637
  def send_addSourceItemPricing(self, sourceItemPricing):
3638
    self._oprot.writeMessageBegin('addSourceItemPricing', TMessageType.CALL, self._seqid)
3639
    args = addSourceItemPricing_args()
3640
    args.sourceItemPricing = sourceItemPricing
3641
    args.write(self._oprot)
3642
    self._oprot.writeMessageEnd()
3643
    self._oprot.trans.flush()
3644
 
3645
  def recv_addSourceItemPricing(self, ):
3646
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3647
    if mtype == TMessageType.EXCEPTION:
3648
      x = TApplicationException()
3649
      x.read(self._iprot)
3650
      self._iprot.readMessageEnd()
3651
      raise x
3652
    result = addSourceItemPricing_result()
3653
    result.read(self._iprot)
3654
    self._iprot.readMessageEnd()
3655
    if result.cex is not None:
3656
      raise result.cex
3657
    return
3658
 
3659
  def getAllSourcePricing(self, itemId):
3660
    """
3661
    Returns the list of source pricing information of an item.
3662
    Raises an exception if item not found corresponding to itemId
3663
 
3664
    Parameters:
3665
     - itemId
3666
    """
3667
    self.send_getAllSourcePricing(itemId)
3668
    return self.recv_getAllSourcePricing()
3669
 
3670
  def send_getAllSourcePricing(self, itemId):
3671
    self._oprot.writeMessageBegin('getAllSourcePricing', TMessageType.CALL, self._seqid)
3672
    args = getAllSourcePricing_args()
3673
    args.itemId = itemId
3674
    args.write(self._oprot)
3675
    self._oprot.writeMessageEnd()
3676
    self._oprot.trans.flush()
3677
 
3678
  def recv_getAllSourcePricing(self, ):
3679
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3680
    if mtype == TMessageType.EXCEPTION:
3681
      x = TApplicationException()
3682
      x.read(self._iprot)
3683
      self._iprot.readMessageEnd()
3684
      raise x
3685
    result = getAllSourcePricing_result()
3686
    result.read(self._iprot)
3687
    self._iprot.readMessageEnd()
3688
    if result.success is not None:
3689
      return result.success
3690
    if result.cex is not None:
3691
      raise result.cex
3692
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSourcePricing failed: unknown result");
3693
 
3694
  def getItemForSource(self, item_id, sourceId):
3695
    """
3696
    Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
3697
 
3698
    Parameters:
3699
     - item_id
3700
     - sourceId
3701
    """
3702
    self.send_getItemForSource(item_id, sourceId)
3703
    return self.recv_getItemForSource()
3704
 
3705
  def send_getItemForSource(self, item_id, sourceId):
3706
    self._oprot.writeMessageBegin('getItemForSource', TMessageType.CALL, self._seqid)
3707
    args = getItemForSource_args()
3708
    args.item_id = item_id
3709
    args.sourceId = sourceId
3710
    args.write(self._oprot)
3711
    self._oprot.writeMessageEnd()
3712
    self._oprot.trans.flush()
3713
 
3714
  def recv_getItemForSource(self, ):
3715
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3716
    if mtype == TMessageType.EXCEPTION:
3717
      x = TApplicationException()
3718
      x.read(self._iprot)
3719
      self._iprot.readMessageEnd()
3720
      raise x
3721
    result = getItemForSource_result()
3722
    result.read(self._iprot)
3723
    self._iprot.readMessageEnd()
3724
    if result.success is not None:
3725
      return result.success
3726
    if result.cex is not None:
3727
      raise result.cex
3728
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemForSource failed: unknown result");
3729
 
3730
  def searchItemsInRange(self, searchTerms, offset, limit):
3731
    """
3732
    Searches items matching the the given terms in the catalog and returns results within the specified range.
3733
 
3734
    Parameters:
3735
     - searchTerms
3736
     - offset
3737
     - limit
3738
    """
3739
    self.send_searchItemsInRange(searchTerms, offset, limit)
3740
    return self.recv_searchItemsInRange()
3741
 
3742
  def send_searchItemsInRange(self, searchTerms, offset, limit):
3743
    self._oprot.writeMessageBegin('searchItemsInRange', TMessageType.CALL, self._seqid)
3744
    args = searchItemsInRange_args()
3745
    args.searchTerms = searchTerms
3746
    args.offset = offset
3747
    args.limit = limit
3748
    args.write(self._oprot)
3749
    self._oprot.writeMessageEnd()
3750
    self._oprot.trans.flush()
3751
 
3752
  def recv_searchItemsInRange(self, ):
3753
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3754
    if mtype == TMessageType.EXCEPTION:
3755
      x = TApplicationException()
3756
      x.read(self._iprot)
3757
      self._iprot.readMessageEnd()
3758
      raise x
3759
    result = searchItemsInRange_result()
3760
    result.read(self._iprot)
3761
    self._iprot.readMessageEnd()
3762
    if result.success is not None:
3763
      return result.success
3764
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchItemsInRange failed: unknown result");
3765
 
3766
  def getSearchResultCount(self, searchTerms):
3767
    """
3768
    Gets the count of search results for the given search terms so that the user can go through all the pages.
3769
 
3770
    Parameters:
3771
     - searchTerms
3772
    """
3773
    self.send_getSearchResultCount(searchTerms)
3774
    return self.recv_getSearchResultCount()
3775
 
3776
  def send_getSearchResultCount(self, searchTerms):
3777
    self._oprot.writeMessageBegin('getSearchResultCount', TMessageType.CALL, self._seqid)
3778
    args = getSearchResultCount_args()
3779
    args.searchTerms = searchTerms
3780
    args.write(self._oprot)
3781
    self._oprot.writeMessageEnd()
3782
    self._oprot.trans.flush()
3783
 
3784
  def recv_getSearchResultCount(self, ):
3785
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3786
    if mtype == TMessageType.EXCEPTION:
3787
      x = TApplicationException()
3788
      x.read(self._iprot)
3789
      self._iprot.readMessageEnd()
3790
      raise x
3791
    result = getSearchResultCount_result()
3792
    result.read(self._iprot)
3793
    self._iprot.readMessageEnd()
3794
    if result.success is not None:
3795
      return result.success
3796
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSearchResultCount failed: unknown result");
3797
 
3798
  def getProductNotifications(self, startDateTime):
3799
    """
3800
    Returns a list of product notifications added after a supplied datetime
3801
 
3802
    Parameters:
3803
     - startDateTime
3804
    """
3805
    self.send_getProductNotifications(startDateTime)
3806
    return self.recv_getProductNotifications()
3807
 
3808
  def send_getProductNotifications(self, startDateTime):
3809
    self._oprot.writeMessageBegin('getProductNotifications', TMessageType.CALL, self._seqid)
3810
    args = getProductNotifications_args()
3811
    args.startDateTime = startDateTime
3812
    args.write(self._oprot)
3813
    self._oprot.writeMessageEnd()
3814
    self._oprot.trans.flush()
3815
 
3816
  def recv_getProductNotifications(self, ):
3817
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3818
    if mtype == TMessageType.EXCEPTION:
3819
      x = TApplicationException()
3820
      x.read(self._iprot)
3821
      self._iprot.readMessageEnd()
3822
      raise x
3823
    result = getProductNotifications_result()
3824
    result.read(self._iprot)
3825
    self._iprot.readMessageEnd()
3826
    if result.success is not None:
3827
      return result.success
3828
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotifications failed: unknown result");
3829
 
7897 amar.kumar 3830
  def getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3831
    """
3832
    Returns a list of count of requests for product notification against each item
3833
 
3834
    Parameters:
3835
     - startDateTime
7897 amar.kumar 3836
     - categoryId
5944 mandeep.dh 3837
    """
7897 amar.kumar 3838
    self.send_getProductNotificationRequestCount(startDateTime, categoryId)
5944 mandeep.dh 3839
    return self.recv_getProductNotificationRequestCount()
3840
 
7897 amar.kumar 3841
  def send_getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3842
    self._oprot.writeMessageBegin('getProductNotificationRequestCount', TMessageType.CALL, self._seqid)
3843
    args = getProductNotificationRequestCount_args()
3844
    args.startDateTime = startDateTime
7897 amar.kumar 3845
    args.categoryId = categoryId
5944 mandeep.dh 3846
    args.write(self._oprot)
3847
    self._oprot.writeMessageEnd()
3848
    self._oprot.trans.flush()
3849
 
3850
  def recv_getProductNotificationRequestCount(self, ):
3851
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3852
    if mtype == TMessageType.EXCEPTION:
3853
      x = TApplicationException()
3854
      x.read(self._iprot)
3855
      self._iprot.readMessageEnd()
3856
      raise x
3857
    result = getProductNotificationRequestCount_result()
3858
    result.read(self._iprot)
3859
    self._iprot.readMessageEnd()
3860
    if result.success is not None:
3861
      return result.success
3862
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotificationRequestCount failed: unknown result");
3863
 
3864
  def addAuthorizationLog(self, itemId, username, reason):
3865
    """
3866
    This method adds a log to authorize table with Item Id, username who authorized the change, reason.
3867
 
3868
    Parameters:
3869
     - itemId
3870
     - username
3871
     - reason
3872
    """
3873
    self.send_addAuthorizationLog(itemId, username, reason)
3874
    return self.recv_addAuthorizationLog()
3875
 
3876
  def send_addAuthorizationLog(self, itemId, username, reason):
3877
    self._oprot.writeMessageBegin('addAuthorizationLog', TMessageType.CALL, self._seqid)
3878
    args = addAuthorizationLog_args()
3879
    args.itemId = itemId
3880
    args.username = username
3881
    args.reason = reason
3882
    args.write(self._oprot)
3883
    self._oprot.writeMessageEnd()
3884
    self._oprot.trans.flush()
3885
 
3886
  def recv_addAuthorizationLog(self, ):
3887
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3888
    if mtype == TMessageType.EXCEPTION:
3889
      x = TApplicationException()
3890
      x.read(self._iprot)
3891
      self._iprot.readMessageEnd()
3892
      raise x
3893
    result = addAuthorizationLog_result()
3894
    result.read(self._iprot)
3895
    self._iprot.readMessageEnd()
3896
    if result.success is not None:
3897
      return result.success
3898
    if result.cex is not None:
3899
      raise result.cex
3900
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAuthorizationLog failed: unknown result");
3901
 
3902
  def addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3903
    """
3904
    Parameters:
3905
     - catalog_item_id
3906
     - voucherType
3907
     - voucherAmount
3908
    """
3909
    self.send_addupdateVoucherForItem(catalog_item_id, voucherType, voucherAmount)
3910
    return self.recv_addupdateVoucherForItem()
3911
 
3912
  def send_addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3913
    self._oprot.writeMessageBegin('addupdateVoucherForItem', TMessageType.CALL, self._seqid)
3914
    args = addupdateVoucherForItem_args()
3915
    args.catalog_item_id = catalog_item_id
3916
    args.voucherType = voucherType
3917
    args.voucherAmount = voucherAmount
3918
    args.write(self._oprot)
3919
    self._oprot.writeMessageEnd()
3920
    self._oprot.trans.flush()
3921
 
3922
  def recv_addupdateVoucherForItem(self, ):
3923
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3924
    if mtype == TMessageType.EXCEPTION:
3925
      x = TApplicationException()
3926
      x.read(self._iprot)
3927
      self._iprot.readMessageEnd()
3928
      raise x
3929
    result = addupdateVoucherForItem_result()
3930
    result.read(self._iprot)
3931
    self._iprot.readMessageEnd()
3932
    if result.success is not None:
3933
      return result.success
3934
    if result.cex is not None:
3935
      raise result.cex
3936
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addupdateVoucherForItem failed: unknown result");
3937
 
3938
  def deleteVoucherForItem(self, catalog_item_id, voucherType):
3939
    """
3940
    Parameters:
3941
     - catalog_item_id
3942
     - voucherType
3943
    """
3944
    self.send_deleteVoucherForItem(catalog_item_id, voucherType)
3945
    return self.recv_deleteVoucherForItem()
3946
 
3947
  def send_deleteVoucherForItem(self, catalog_item_id, voucherType):
3948
    self._oprot.writeMessageBegin('deleteVoucherForItem', TMessageType.CALL, self._seqid)
3949
    args = deleteVoucherForItem_args()
3950
    args.catalog_item_id = catalog_item_id
3951
    args.voucherType = voucherType
3952
    args.write(self._oprot)
3953
    self._oprot.writeMessageEnd()
3954
    self._oprot.trans.flush()
3955
 
3956
  def recv_deleteVoucherForItem(self, ):
3957
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3958
    if mtype == TMessageType.EXCEPTION:
3959
      x = TApplicationException()
3960
      x.read(self._iprot)
3961
      self._iprot.readMessageEnd()
3962
      raise x
3963
    result = deleteVoucherForItem_result()
3964
    result.read(self._iprot)
3965
    self._iprot.readMessageEnd()
3966
    if result.success is not None:
3967
      return result.success
3968
    if result.cex is not None:
3969
      raise result.cex
3970
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteVoucherForItem failed: unknown result");
3971
 
3972
  def getVoucherAmount(self, itemId, voucherType):
3973
    """
3974
    Parameters:
3975
     - itemId
3976
     - voucherType
3977
    """
3978
    self.send_getVoucherAmount(itemId, voucherType)
3979
    return self.recv_getVoucherAmount()
3980
 
3981
  def send_getVoucherAmount(self, itemId, voucherType):
3982
    self._oprot.writeMessageBegin('getVoucherAmount', TMessageType.CALL, self._seqid)
3983
    args = getVoucherAmount_args()
3984
    args.itemId = itemId
3985
    args.voucherType = voucherType
3986
    args.write(self._oprot)
3987
    self._oprot.writeMessageEnd()
3988
    self._oprot.trans.flush()
3989
 
3990
  def recv_getVoucherAmount(self, ):
3991
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3992
    if mtype == TMessageType.EXCEPTION:
3993
      x = TApplicationException()
3994
      x.read(self._iprot)
3995
      self._iprot.readMessageEnd()
3996
      raise x
3997
    result = getVoucherAmount_result()
3998
    result.read(self._iprot)
3999
    self._iprot.readMessageEnd()
4000
    if result.success is not None:
4001
      return result.success
4002
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVoucherAmount failed: unknown result");
4003
 
4004
  def getAllItemVouchers(self, itemId):
4005
    """
4006
    Parameters:
4007
     - itemId
4008
    """
4009
    self.send_getAllItemVouchers(itemId)
4010
    return self.recv_getAllItemVouchers()
4011
 
4012
  def send_getAllItemVouchers(self, itemId):
4013
    self._oprot.writeMessageBegin('getAllItemVouchers', TMessageType.CALL, self._seqid)
4014
    args = getAllItemVouchers_args()
4015
    args.itemId = itemId
4016
    args.write(self._oprot)
4017
    self._oprot.writeMessageEnd()
4018
    self._oprot.trans.flush()
4019
 
4020
  def recv_getAllItemVouchers(self, ):
4021
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4022
    if mtype == TMessageType.EXCEPTION:
4023
      x = TApplicationException()
4024
      x.read(self._iprot)
4025
      self._iprot.readMessageEnd()
4026
      raise x
4027
    result = getAllItemVouchers_result()
4028
    result.read(self._iprot)
4029
    self._iprot.readMessageEnd()
4030
    if result.success is not None:
4031
      return result.success
4032
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemVouchers failed: unknown result");
4033
 
4034
  def isValidCatalogItemId(self, catalog_item_id):
4035
    """
4036
    Parameters:
4037
     - catalog_item_id
4038
    """
4039
    self.send_isValidCatalogItemId(catalog_item_id)
4040
    return self.recv_isValidCatalogItemId()
4041
 
4042
  def send_isValidCatalogItemId(self, catalog_item_id):
4043
    self._oprot.writeMessageBegin('isValidCatalogItemId', TMessageType.CALL, self._seqid)
4044
    args = isValidCatalogItemId_args()
4045
    args.catalog_item_id = catalog_item_id
4046
    args.write(self._oprot)
4047
    self._oprot.writeMessageEnd()
4048
    self._oprot.trans.flush()
4049
 
4050
  def recv_isValidCatalogItemId(self, ):
4051
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4052
    if mtype == TMessageType.EXCEPTION:
4053
      x = TApplicationException()
4054
      x.read(self._iprot)
4055
      self._iprot.readMessageEnd()
4056
      raise x
4057
    result = isValidCatalogItemId_result()
4058
    result.read(self._iprot)
4059
    self._iprot.readMessageEnd()
4060
    if result.success is not None:
4061
      return result.success
4062
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isValidCatalogItemId failed: unknown result");
4063
 
7330 amit.gupta 4064
  def getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 4065
    """
4066
    Parameters:
4067
     - itemId
7330 amit.gupta 4068
     - stateId
6039 amit.gupta 4069
     - price
4070
    """
7330 amit.gupta 4071
    self.send_getVatPercentageForItem(itemId, stateId, price)
6039 amit.gupta 4072
    return self.recv_getVatPercentageForItem()
5944 mandeep.dh 4073
 
7330 amit.gupta 4074
  def send_getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 4075
    self._oprot.writeMessageBegin('getVatPercentageForItem', TMessageType.CALL, self._seqid)
4076
    args = getVatPercentageForItem_args()
4077
    args.itemId = itemId
7330 amit.gupta 4078
    args.stateId = stateId
6039 amit.gupta 4079
    args.price = price
4080
    args.write(self._oprot)
4081
    self._oprot.writeMessageEnd()
4082
    self._oprot.trans.flush()
4083
 
4084
  def recv_getVatPercentageForItem(self, ):
4085
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4086
    if mtype == TMessageType.EXCEPTION:
4087
      x = TApplicationException()
4088
      x.read(self._iprot)
4089
      self._iprot.readMessageEnd()
4090
      raise x
4091
    result = getVatPercentageForItem_result()
4092
    result.read(self._iprot)
4093
    self._iprot.readMessageEnd()
4094
    if result.success is not None:
4095
      return result.success
7340 amit.gupta 4096
    if result.cex is not None:
4097
      raise result.cex
6039 amit.gupta 4098
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatPercentageForItem failed: unknown result");
4099
 
4100
  def getVatAmountForItem(self, itemId, price):
4101
    """
4102
    Parameters:
4103
     - itemId
4104
     - price
4105
    """
4106
    self.send_getVatAmountForItem(itemId, price)
4107
    return self.recv_getVatAmountForItem()
4108
 
4109
  def send_getVatAmountForItem(self, itemId, price):
4110
    self._oprot.writeMessageBegin('getVatAmountForItem', TMessageType.CALL, self._seqid)
4111
    args = getVatAmountForItem_args()
4112
    args.itemId = itemId
4113
    args.price = price
4114
    args.write(self._oprot)
4115
    self._oprot.writeMessageEnd()
4116
    self._oprot.trans.flush()
4117
 
4118
  def recv_getVatAmountForItem(self, ):
4119
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4120
    if mtype == TMessageType.EXCEPTION:
4121
      x = TApplicationException()
4122
      x.read(self._iprot)
4123
      self._iprot.readMessageEnd()
4124
      raise x
4125
    result = getVatAmountForItem_result()
4126
    result.read(self._iprot)
4127
    self._iprot.readMessageEnd()
4128
    if result.success is not None:
4129
      return result.success
4130
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatAmountForItem failed: unknown result");
4131
 
6531 vikram.rag 4132
  def getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4133
    """
4134
    Parameters:
4135
     - offset
4136
     - limit
4137
    """
4138
    self.send_getAllIgnoredInventoryUpdateItemsList(offset, limit)
4139
    return self.recv_getAllIgnoredInventoryUpdateItemsList()
6039 amit.gupta 4140
 
6531 vikram.rag 4141
  def send_getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4142
    self._oprot.writeMessageBegin('getAllIgnoredInventoryUpdateItemsList', TMessageType.CALL, self._seqid)
4143
    args = getAllIgnoredInventoryUpdateItemsList_args()
4144
    args.offset = offset
4145
    args.limit = limit
4146
    args.write(self._oprot)
4147
    self._oprot.writeMessageEnd()
4148
    self._oprot.trans.flush()
4149
 
4150
  def recv_getAllIgnoredInventoryUpdateItemsList(self, ):
4151
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4152
    if mtype == TMessageType.EXCEPTION:
4153
      x = TApplicationException()
4154
      x.read(self._iprot)
4155
      self._iprot.readMessageEnd()
4156
      raise x
4157
    result = getAllIgnoredInventoryUpdateItemsList_result()
4158
    result.read(self._iprot)
4159
    self._iprot.readMessageEnd()
4160
    if result.success is not None:
4161
      return result.success
4162
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllIgnoredInventoryUpdateItemsList failed: unknown result");
4163
 
6821 amar.kumar 4164
  def getAllAliveItems(self, ):
4165
    self.send_getAllAliveItems()
4166
    return self.recv_getAllAliveItems()
4167
 
4168
  def send_getAllAliveItems(self, ):
4169
    self._oprot.writeMessageBegin('getAllAliveItems', TMessageType.CALL, self._seqid)
4170
    args = getAllAliveItems_args()
4171
    args.write(self._oprot)
4172
    self._oprot.writeMessageEnd()
4173
    self._oprot.trans.flush()
4174
 
4175
  def recv_getAllAliveItems(self, ):
4176
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4177
    if mtype == TMessageType.EXCEPTION:
4178
      x = TApplicationException()
4179
      x.read(self._iprot)
4180
      self._iprot.readMessageEnd()
4181
      raise x
4182
    result = getAllAliveItems_result()
4183
    result.read(self._iprot)
4184
    self._iprot.readMessageEnd()
4185
    if result.success is not None:
4186
      return result.success
4187
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAliveItems failed: unknown result");
4188
 
6921 anupam.sin 4189
  def getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4190
    """
4191
    This method returns the insurance amount needed to insure the given item for a given quantity.
6531 vikram.rag 4192
 
6805 anupam.sin 4193
    Parameters:
4194
     - itemId
6921 anupam.sin 4195
     - price
6805 anupam.sin 4196
     - insurerId
4197
     - quantity
4198
    """
6921 anupam.sin 4199
    self.send_getInsuranceAmount(itemId, price, insurerId, quantity)
6805 anupam.sin 4200
    return self.recv_getInsuranceAmount()
4201
 
6921 anupam.sin 4202
  def send_getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4203
    self._oprot.writeMessageBegin('getInsuranceAmount', TMessageType.CALL, self._seqid)
4204
    args = getInsuranceAmount_args()
4205
    args.itemId = itemId
6921 anupam.sin 4206
    args.price = price
6805 anupam.sin 4207
    args.insurerId = insurerId
4208
    args.quantity = quantity
4209
    args.write(self._oprot)
4210
    self._oprot.writeMessageEnd()
4211
    self._oprot.trans.flush()
4212
 
4213
  def recv_getInsuranceAmount(self, ):
4214
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4215
    if mtype == TMessageType.EXCEPTION:
4216
      x = TApplicationException()
4217
      x.read(self._iprot)
4218
      self._iprot.readMessageEnd()
4219
      raise x
4220
    result = getInsuranceAmount_result()
4221
    result.read(self._iprot)
4222
    self._iprot.readMessageEnd()
4223
    if result.success is not None:
4224
      return result.success
4225
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsuranceAmount failed: unknown result");
4226
 
4227
  def getInsurer(self, insurerId):
4228
    """
4229
    Parameters:
4230
     - insurerId
4231
    """
4232
    self.send_getInsurer(insurerId)
4233
    return self.recv_getInsurer()
4234
 
4235
  def send_getInsurer(self, insurerId):
4236
    self._oprot.writeMessageBegin('getInsurer', TMessageType.CALL, self._seqid)
4237
    args = getInsurer_args()
4238
    args.insurerId = insurerId
4239
    args.write(self._oprot)
4240
    self._oprot.writeMessageEnd()
4241
    self._oprot.trans.flush()
4242
 
4243
  def recv_getInsurer(self, ):
4244
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4245
    if mtype == TMessageType.EXCEPTION:
4246
      x = TApplicationException()
4247
      x.read(self._iprot)
4248
      self._iprot.readMessageEnd()
4249
      raise x
4250
    result = getInsurer_result()
4251
    result.read(self._iprot)
4252
    self._iprot.readMessageEnd()
4253
    if result.success is not None:
4254
      return result.success
4255
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsurer failed: unknown result");
4256
 
6838 vikram.rag 4257
  def getAllInsurers(self, ):
4258
    self.send_getAllInsurers()
4259
    return self.recv_getAllInsurers()
6805 anupam.sin 4260
 
6838 vikram.rag 4261
  def send_getAllInsurers(self, ):
4262
    self._oprot.writeMessageBegin('getAllInsurers', TMessageType.CALL, self._seqid)
4263
    args = getAllInsurers_args()
4264
    args.write(self._oprot)
4265
    self._oprot.writeMessageEnd()
4266
    self._oprot.trans.flush()
4267
 
4268
  def recv_getAllInsurers(self, ):
4269
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4270
    if mtype == TMessageType.EXCEPTION:
4271
      x = TApplicationException()
4272
      x.read(self._iprot)
4273
      self._iprot.readMessageEnd()
4274
      raise x
4275
    result = getAllInsurers_result()
4276
    result.read(self._iprot)
4277
    self._iprot.readMessageEnd()
4278
    if result.success is not None:
4279
      return result.success
4280
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllInsurers failed: unknown result");
4281
 
6962 rajveer 4282
  def updateInsuranceDeclaredAmount(self, insurerId, amount):
4283
    """
4284
    Parameters:
4285
     - insurerId
4286
     - amount
4287
    """
4288
    self.send_updateInsuranceDeclaredAmount(insurerId, amount)
4289
    self.recv_updateInsuranceDeclaredAmount()
6838 vikram.rag 4290
 
6962 rajveer 4291
  def send_updateInsuranceDeclaredAmount(self, insurerId, amount):
4292
    self._oprot.writeMessageBegin('updateInsuranceDeclaredAmount', TMessageType.CALL, self._seqid)
4293
    args = updateInsuranceDeclaredAmount_args()
4294
    args.insurerId = insurerId
4295
    args.amount = amount
4296
    args.write(self._oprot)
4297
    self._oprot.writeMessageEnd()
4298
    self._oprot.trans.flush()
4299
 
4300
  def recv_updateInsuranceDeclaredAmount(self, ):
4301
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4302
    if mtype == TMessageType.EXCEPTION:
4303
      x = TApplicationException()
4304
      x.read(self._iprot)
4305
      self._iprot.readMessageEnd()
4306
      raise x
4307
    result = updateInsuranceDeclaredAmount_result()
4308
    result.read(self._iprot)
4309
    self._iprot.readMessageEnd()
4310
    return
4311
 
7190 amar.kumar 4312
  def getFreebieForItem(self, itemId):
4313
    """
4314
    Parameters:
4315
     - itemId
4316
    """
4317
    self.send_getFreebieForItem(itemId)
4318
    return self.recv_getFreebieForItem()
6962 rajveer 4319
 
7190 amar.kumar 4320
  def send_getFreebieForItem(self, itemId):
4321
    self._oprot.writeMessageBegin('getFreebieForItem', TMessageType.CALL, self._seqid)
4322
    args = getFreebieForItem_args()
4323
    args.itemId = itemId
4324
    args.write(self._oprot)
4325
    self._oprot.writeMessageEnd()
4326
    self._oprot.trans.flush()
4327
 
4328
  def recv_getFreebieForItem(self, ):
4329
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4330
    if mtype == TMessageType.EXCEPTION:
4331
      x = TApplicationException()
4332
      x.read(self._iprot)
4333
      self._iprot.readMessageEnd()
4334
      raise x
4335
    result = getFreebieForItem_result()
4336
    result.read(self._iprot)
4337
    self._iprot.readMessageEnd()
4338
    if result.success is not None:
4339
      return result.success
4340
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFreebieForItem failed: unknown result");
4341
 
4342
  def addOrUpdateFreebieForItem(self, freebieItem):
4343
    """
4344
    Parameters:
4345
     - freebieItem
4346
    """
4347
    self.send_addOrUpdateFreebieForItem(freebieItem)
4348
    self.recv_addOrUpdateFreebieForItem()
4349
 
4350
  def send_addOrUpdateFreebieForItem(self, freebieItem):
4351
    self._oprot.writeMessageBegin('addOrUpdateFreebieForItem', TMessageType.CALL, self._seqid)
4352
    args = addOrUpdateFreebieForItem_args()
4353
    args.freebieItem = freebieItem
4354
    args.write(self._oprot)
4355
    self._oprot.writeMessageEnd()
4356
    self._oprot.trans.flush()
4357
 
4358
  def recv_addOrUpdateFreebieForItem(self, ):
4359
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4360
    if mtype == TMessageType.EXCEPTION:
4361
      x = TApplicationException()
4362
      x.read(self._iprot)
4363
      self._iprot.readMessageEnd()
4364
      raise x
4365
    result = addOrUpdateFreebieForItem_result()
4366
    result.read(self._iprot)
4367
    self._iprot.readMessageEnd()
4368
    return
4369
 
7272 amit.gupta 4370
  def addOrUpdateBrandInfo(self, brandInfo):
4371
    """
4372
    Parameters:
4373
     - brandInfo
4374
    """
4375
    self.send_addOrUpdateBrandInfo(brandInfo)
4376
    self.recv_addOrUpdateBrandInfo()
4377
 
4378
  def send_addOrUpdateBrandInfo(self, brandInfo):
4379
    self._oprot.writeMessageBegin('addOrUpdateBrandInfo', TMessageType.CALL, self._seqid)
4380
    args = addOrUpdateBrandInfo_args()
4381
    args.brandInfo = brandInfo
4382
    args.write(self._oprot)
4383
    self._oprot.writeMessageEnd()
4384
    self._oprot.trans.flush()
4385
 
4386
  def recv_addOrUpdateBrandInfo(self, ):
4387
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4388
    if mtype == TMessageType.EXCEPTION:
4389
      x = TApplicationException()
4390
      x.read(self._iprot)
4391
      self._iprot.readMessageEnd()
4392
      raise x
4393
    result = addOrUpdateBrandInfo_result()
4394
    result.read(self._iprot)
4395
    self._iprot.readMessageEnd()
4396
    return
4397
 
4398
  def getBrandInfo(self, ):
4399
    self.send_getBrandInfo()
4400
    return self.recv_getBrandInfo()
4401
 
4402
  def send_getBrandInfo(self, ):
4403
    self._oprot.writeMessageBegin('getBrandInfo', TMessageType.CALL, self._seqid)
4404
    args = getBrandInfo_args()
4405
    args.write(self._oprot)
4406
    self._oprot.writeMessageEnd()
4407
    self._oprot.trans.flush()
4408
 
4409
  def recv_getBrandInfo(self, ):
4410
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4411
    if mtype == TMessageType.EXCEPTION:
4412
      x = TApplicationException()
4413
      x.read(self._iprot)
4414
      self._iprot.readMessageEnd()
4415
      raise x
4416
    result = getBrandInfo_result()
4417
    result.read(self._iprot)
4418
    self._iprot.readMessageEnd()
4419
    if result.success is not None:
4420
      return result.success
4421
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBrandInfo failed: unknown result");
4422
 
7256 rajveer 4423
  def getStorePricing(self, itemId):
4424
    """
4425
    Parameters:
4426
     - itemId
4427
    """
4428
    self.send_getStorePricing(itemId)
4429
    return self.recv_getStorePricing()
7190 amar.kumar 4430
 
7256 rajveer 4431
  def send_getStorePricing(self, itemId):
4432
    self._oprot.writeMessageBegin('getStorePricing', TMessageType.CALL, self._seqid)
4433
    args = getStorePricing_args()
4434
    args.itemId = itemId
4435
    args.write(self._oprot)
4436
    self._oprot.writeMessageEnd()
4437
    self._oprot.trans.flush()
4438
 
4439
  def recv_getStorePricing(self, ):
4440
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4441
    if mtype == TMessageType.EXCEPTION:
4442
      x = TApplicationException()
4443
      x.read(self._iprot)
4444
      self._iprot.readMessageEnd()
4445
      raise x
4446
    result = getStorePricing_result()
4447
    result.read(self._iprot)
4448
    self._iprot.readMessageEnd()
4449
    if result.success is not None:
4450
      return result.success
4451
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricing failed: unknown result");
4452
 
7306 rajveer 4453
  def getStorePricings(self, itemIds):
4454
    """
4455
    Parameters:
4456
     - itemIds
4457
    """
4458
    self.send_getStorePricings(itemIds)
4459
    return self.recv_getStorePricings()
4460
 
4461
  def send_getStorePricings(self, itemIds):
4462
    self._oprot.writeMessageBegin('getStorePricings', TMessageType.CALL, self._seqid)
4463
    args = getStorePricings_args()
4464
    args.itemIds = itemIds
4465
    args.write(self._oprot)
4466
    self._oprot.writeMessageEnd()
4467
    self._oprot.trans.flush()
4468
 
4469
  def recv_getStorePricings(self, ):
4470
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4471
    if mtype == TMessageType.EXCEPTION:
4472
      x = TApplicationException()
4473
      x.read(self._iprot)
4474
      self._iprot.readMessageEnd()
4475
      raise x
4476
    result = getStorePricings_result()
4477
    result.read(self._iprot)
4478
    self._iprot.readMessageEnd()
4479
    if result.success is not None:
4480
      return result.success
4481
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricings failed: unknown result");
4482
 
7382 rajveer 4483
  def updateStorePricing(self, sp, allColors):
7265 rajveer 4484
    """
4485
    Parameters:
4486
     - sp
7382 rajveer 4487
     - allColors
7265 rajveer 4488
    """
7382 rajveer 4489
    self.send_updateStorePricing(sp, allColors)
7265 rajveer 4490
    self.recv_updateStorePricing()
7256 rajveer 4491
 
7382 rajveer 4492
  def send_updateStorePricing(self, sp, allColors):
7265 rajveer 4493
    self._oprot.writeMessageBegin('updateStorePricing', TMessageType.CALL, self._seqid)
4494
    args = updateStorePricing_args()
4495
    args.sp = sp
7382 rajveer 4496
    args.allColors = allColors
7265 rajveer 4497
    args.write(self._oprot)
4498
    self._oprot.writeMessageEnd()
4499
    self._oprot.trans.flush()
4500
 
4501
  def recv_updateStorePricing(self, ):
4502
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4503
    if mtype == TMessageType.EXCEPTION:
4504
      x = TApplicationException()
4505
      x.read(self._iprot)
4506
      self._iprot.readMessageEnd()
4507
      raise x
4508
    result = updateStorePricing_result()
4509
    result.read(self._iprot)
4510
    self._iprot.readMessageEnd()
4511
    return
4512
 
7281 kshitij.so 4513
  def getAllAmazonListedItems(self, ):
4514
    self.send_getAllAmazonListedItems()
4515
    return self.recv_getAllAmazonListedItems()
7265 rajveer 4516
 
7281 kshitij.so 4517
  def send_getAllAmazonListedItems(self, ):
4518
    self._oprot.writeMessageBegin('getAllAmazonListedItems', TMessageType.CALL, self._seqid)
4519
    args = getAllAmazonListedItems_args()
4520
    args.write(self._oprot)
4521
    self._oprot.writeMessageEnd()
4522
    self._oprot.trans.flush()
4523
 
4524
  def recv_getAllAmazonListedItems(self, ):
4525
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4526
    if mtype == TMessageType.EXCEPTION:
4527
      x = TApplicationException()
4528
      x.read(self._iprot)
4529
      self._iprot.readMessageEnd()
4530
      raise x
4531
    result = getAllAmazonListedItems_result()
4532
    result.read(self._iprot)
4533
    self._iprot.readMessageEnd()
4534
    if result.success is not None:
4535
      return result.success
4536
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAmazonListedItems failed: unknown result");
4537
 
8619 kshitij.so 4538
  def searchAmazonItems(self, searchTerm, offset, limit):
4539
    """
4540
    Parameters:
4541
     - searchTerm
4542
     - offset
4543
     - limit
4544
    """
4545
    self.send_searchAmazonItems(searchTerm, offset, limit)
4546
    return self.recv_searchAmazonItems()
4547
 
4548
  def send_searchAmazonItems(self, searchTerm, offset, limit):
4549
    self._oprot.writeMessageBegin('searchAmazonItems', TMessageType.CALL, self._seqid)
4550
    args = searchAmazonItems_args()
4551
    args.searchTerm = searchTerm
4552
    args.offset = offset
4553
    args.limit = limit
4554
    args.write(self._oprot)
4555
    self._oprot.writeMessageEnd()
4556
    self._oprot.trans.flush()
4557
 
4558
  def recv_searchAmazonItems(self, ):
4559
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4560
    if mtype == TMessageType.EXCEPTION:
4561
      x = TApplicationException()
4562
      x.read(self._iprot)
4563
      self._iprot.readMessageEnd()
4564
      raise x
4565
    result = searchAmazonItems_result()
4566
    result.read(self._iprot)
4567
    self._iprot.readMessageEnd()
4568
    if result.success is not None:
4569
      return result.success
4570
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchAmazonItems failed: unknown result");
4571
 
4572
  def getAmazonSearchResultCount(self, searchTerm):
4573
    """
4574
    Parameters:
4575
     - searchTerm
4576
    """
4577
    self.send_getAmazonSearchResultCount(searchTerm)
4578
    return self.recv_getAmazonSearchResultCount()
4579
 
4580
  def send_getAmazonSearchResultCount(self, searchTerm):
4581
    self._oprot.writeMessageBegin('getAmazonSearchResultCount', TMessageType.CALL, self._seqid)
4582
    args = getAmazonSearchResultCount_args()
4583
    args.searchTerm = searchTerm
4584
    args.write(self._oprot)
4585
    self._oprot.writeMessageEnd()
4586
    self._oprot.trans.flush()
4587
 
4588
  def recv_getAmazonSearchResultCount(self, ):
4589
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4590
    if mtype == TMessageType.EXCEPTION:
4591
      x = TApplicationException()
4592
      x.read(self._iprot)
4593
      self._iprot.readMessageEnd()
4594
      raise x
4595
    result = getAmazonSearchResultCount_result()
4596
    result.read(self._iprot)
4597
    self._iprot.readMessageEnd()
4598
    if result.success is not None:
4599
      return result.success
4600
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonSearchResultCount failed: unknown result");
4601
 
4602
  def getCountForAmazonlistedItems(self, ):
4603
    self.send_getCountForAmazonlistedItems()
4604
    return self.recv_getCountForAmazonlistedItems()
4605
 
4606
  def send_getCountForAmazonlistedItems(self, ):
4607
    self._oprot.writeMessageBegin('getCountForAmazonlistedItems', TMessageType.CALL, self._seqid)
4608
    args = getCountForAmazonlistedItems_args()
4609
    args.write(self._oprot)
4610
    self._oprot.writeMessageEnd()
4611
    self._oprot.trans.flush()
4612
 
4613
  def recv_getCountForAmazonlistedItems(self, ):
4614
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4615
    if mtype == TMessageType.EXCEPTION:
4616
      x = TApplicationException()
4617
      x.read(self._iprot)
4618
      self._iprot.readMessageEnd()
4619
      raise x
4620
    result = getCountForAmazonlistedItems_result()
4621
    result.read(self._iprot)
4622
    self._iprot.readMessageEnd()
4623
    if result.success is not None:
4624
      return result.success
4625
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForAmazonlistedItems failed: unknown result");
4626
 
7281 kshitij.so 4627
  def getAmazonItemDetails(self, itemId):
4628
    """
4629
    Parameters:
4630
     - itemId
4631
    """
4632
    self.send_getAmazonItemDetails(itemId)
4633
    return self.recv_getAmazonItemDetails()
4634
 
4635
  def send_getAmazonItemDetails(self, itemId):
4636
    self._oprot.writeMessageBegin('getAmazonItemDetails', TMessageType.CALL, self._seqid)
4637
    args = getAmazonItemDetails_args()
4638
    args.itemId = itemId
4639
    args.write(self._oprot)
4640
    self._oprot.writeMessageEnd()
4641
    self._oprot.trans.flush()
4642
 
4643
  def recv_getAmazonItemDetails(self, ):
4644
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4645
    if mtype == TMessageType.EXCEPTION:
4646
      x = TApplicationException()
4647
      x.read(self._iprot)
4648
      self._iprot.readMessageEnd()
4649
      raise x
4650
    result = getAmazonItemDetails_result()
4651
    result.read(self._iprot)
4652
    self._iprot.readMessageEnd()
4653
    if result.success is not None:
4654
      return result.success
4655
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonItemDetails failed: unknown result");
4656
 
8168 kshitij.so 4657
  def updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4658
    """
4659
    Parameters:
8168 kshitij.so 4660
     - amazonlisted
7281 kshitij.so 4661
    """
8168 kshitij.so 4662
    self.send_updateAmazonItemDetails(amazonlisted)
7281 kshitij.so 4663
    self.recv_updateAmazonItemDetails()
4664
 
8168 kshitij.so 4665
  def send_updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4666
    self._oprot.writeMessageBegin('updateAmazonItemDetails', TMessageType.CALL, self._seqid)
4667
    args = updateAmazonItemDetails_args()
8168 kshitij.so 4668
    args.amazonlisted = amazonlisted
7281 kshitij.so 4669
    args.write(self._oprot)
4670
    self._oprot.writeMessageEnd()
4671
    self._oprot.trans.flush()
4672
 
4673
  def recv_updateAmazonItemDetails(self, ):
4674
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4675
    if mtype == TMessageType.EXCEPTION:
4676
      x = TApplicationException()
4677
      x.read(self._iprot)
4678
      self._iprot.readMessageEnd()
4679
      raise x
4680
    result = updateAmazonItemDetails_result()
4681
    result.read(self._iprot)
4682
    self._iprot.readMessageEnd()
4683
    return
4684
 
4685
  def addAmazonItem(self, amazonlisted):
4686
    """
4687
    Parameters:
4688
     - amazonlisted
4689
    """
4690
    self.send_addAmazonItem(amazonlisted)
4691
    self.recv_addAmazonItem()
4692
 
4693
  def send_addAmazonItem(self, amazonlisted):
4694
    self._oprot.writeMessageBegin('addAmazonItem', TMessageType.CALL, self._seqid)
4695
    args = addAmazonItem_args()
4696
    args.amazonlisted = amazonlisted
4697
    args.write(self._oprot)
4698
    self._oprot.writeMessageEnd()
4699
    self._oprot.trans.flush()
4700
 
4701
  def recv_addAmazonItem(self, ):
4702
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4703
    if mtype == TMessageType.EXCEPTION:
4704
      x = TApplicationException()
4705
      x.read(self._iprot)
4706
      self._iprot.readMessageEnd()
4707
      raise x
4708
    result = addAmazonItem_result()
4709
    result.read(self._iprot)
4710
    self._iprot.readMessageEnd()
4711
    return
4712
 
7291 vikram.rag 4713
  def getAsinItems(self, ):
4714
    self.send_getAsinItems()
4715
    return self.recv_getAsinItems()
7281 kshitij.so 4716
 
7291 vikram.rag 4717
  def send_getAsinItems(self, ):
4718
    self._oprot.writeMessageBegin('getAsinItems', TMessageType.CALL, self._seqid)
4719
    args = getAsinItems_args()
4720
    args.write(self._oprot)
4721
    self._oprot.writeMessageEnd()
4722
    self._oprot.trans.flush()
4723
 
4724
  def recv_getAsinItems(self, ):
4725
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4726
    if mtype == TMessageType.EXCEPTION:
4727
      x = TApplicationException()
4728
      x.read(self._iprot)
4729
      self._iprot.readMessageEnd()
4730
      raise x
4731
    result = getAsinItems_result()
4732
    result.read(self._iprot)
4733
    self._iprot.readMessageEnd()
4734
    if result.success is not None:
4735
      return result.success
4736
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAsinItems failed: unknown result");
4737
 
4738
  def getAllFbaListedItems(self, ):
4739
    self.send_getAllFbaListedItems()
4740
    return self.recv_getAllFbaListedItems()
4741
 
4742
  def send_getAllFbaListedItems(self, ):
4743
    self._oprot.writeMessageBegin('getAllFbaListedItems', TMessageType.CALL, self._seqid)
4744
    args = getAllFbaListedItems_args()
4745
    args.write(self._oprot)
4746
    self._oprot.writeMessageEnd()
4747
    self._oprot.trans.flush()
4748
 
4749
  def recv_getAllFbaListedItems(self, ):
4750
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4751
    if mtype == TMessageType.EXCEPTION:
4752
      x = TApplicationException()
4753
      x.read(self._iprot)
4754
      self._iprot.readMessageEnd()
4755
      raise x
4756
    result = getAllFbaListedItems_result()
4757
    result.read(self._iprot)
4758
    self._iprot.readMessageEnd()
4759
    if result.success is not None:
4760
      return result.success
4761
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbaListedItems failed: unknown result");
4762
 
4763
  def getAllNonFbaListedItems(self, ):
4764
    self.send_getAllNonFbaListedItems()
4765
    return self.recv_getAllNonFbaListedItems()
4766
 
4767
  def send_getAllNonFbaListedItems(self, ):
4768
    self._oprot.writeMessageBegin('getAllNonFbaListedItems', TMessageType.CALL, self._seqid)
4769
    args = getAllNonFbaListedItems_args()
4770
    args.write(self._oprot)
4771
    self._oprot.writeMessageEnd()
4772
    self._oprot.trans.flush()
4773
 
4774
  def recv_getAllNonFbaListedItems(self, ):
4775
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4776
    if mtype == TMessageType.EXCEPTION:
4777
      x = TApplicationException()
4778
      x.read(self._iprot)
4779
      self._iprot.readMessageEnd()
4780
      raise x
4781
    result = getAllNonFbaListedItems_result()
4782
    result.read(self._iprot)
4783
    self._iprot.readMessageEnd()
4784
    if result.success is not None:
4785
      return result.success
4786
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllNonFbaListedItems failed: unknown result");
4787
 
7460 kshitij.so 4788
  def updateItemInventory(self, itemId, holdInventory, defaultInventory):
4789
    """
4790
    Parameters:
4791
     - itemId
4792
     - holdInventory
4793
     - defaultInventory
4794
    """
4795
    self.send_updateItemInventory(itemId, holdInventory, defaultInventory)
4796
    return self.recv_updateItemInventory()
7291 vikram.rag 4797
 
7460 kshitij.so 4798
  def send_updateItemInventory(self, itemId, holdInventory, defaultInventory):
4799
    self._oprot.writeMessageBegin('updateItemInventory', TMessageType.CALL, self._seqid)
4800
    args = updateItemInventory_args()
4801
    args.itemId = itemId
4802
    args.holdInventory = holdInventory
4803
    args.defaultInventory = defaultInventory
4804
    args.write(self._oprot)
4805
    self._oprot.writeMessageEnd()
4806
    self._oprot.trans.flush()
4807
 
4808
  def recv_updateItemInventory(self, ):
4809
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4810
    if mtype == TMessageType.EXCEPTION:
4811
      x = TApplicationException()
4812
      x.read(self._iprot)
4813
      self._iprot.readMessageEnd()
4814
      raise x
4815
    result = updateItemInventory_result()
4816
    result.read(self._iprot)
4817
    self._iprot.readMessageEnd()
4818
    if result.success is not None:
4819
      return result.success
4820
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemInventory failed: unknown result");
4821
 
7770 kshitij.so 4822
  def updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4823
    """
4824
    Parameters:
4825
     - type
4826
     - sku
4827
     - timestamp
4828
    """
4829
    self.send_updateTimestampForAmazonFeeds(type, sku, timestamp)
4830
    return self.recv_updateTimestampForAmazonFeeds()
7460 kshitij.so 4831
 
7770 kshitij.so 4832
  def send_updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4833
    self._oprot.writeMessageBegin('updateTimestampForAmazonFeeds', TMessageType.CALL, self._seqid)
4834
    args = updateTimestampForAmazonFeeds_args()
4835
    args.type = type
4836
    args.sku = sku
4837
    args.timestamp = timestamp
4838
    args.write(self._oprot)
4839
    self._oprot.writeMessageEnd()
4840
    self._oprot.trans.flush()
4841
 
4842
  def recv_updateTimestampForAmazonFeeds(self, ):
4843
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4844
    if mtype == TMessageType.EXCEPTION:
4845
      x = TApplicationException()
4846
      x.read(self._iprot)
4847
      self._iprot.readMessageEnd()
4848
      raise x
4849
    result = updateTimestampForAmazonFeeds_result()
4850
    result.read(self._iprot)
4851
    self._iprot.readMessageEnd()
4852
    if result.success is not None:
4853
      return result.success
4854
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateTimestampForAmazonFeeds failed: unknown result");
4855
 
7897 amar.kumar 4856
  def getAllParentCategories(self, ):
4857
    self.send_getAllParentCategories()
4858
    return self.recv_getAllParentCategories()
7770 kshitij.so 4859
 
7897 amar.kumar 4860
  def send_getAllParentCategories(self, ):
4861
    self._oprot.writeMessageBegin('getAllParentCategories', TMessageType.CALL, self._seqid)
4862
    args = getAllParentCategories_args()
4863
    args.write(self._oprot)
4864
    self._oprot.writeMessageEnd()
4865
    self._oprot.trans.flush()
4866
 
4867
  def recv_getAllParentCategories(self, ):
4868
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4869
    if mtype == TMessageType.EXCEPTION:
4870
      x = TApplicationException()
4871
      x.read(self._iprot)
4872
      self._iprot.readMessageEnd()
4873
      raise x
4874
    result = getAllParentCategories_result()
4875
    result.read(self._iprot)
4876
    self._iprot.readMessageEnd()
4877
    if result.success is not None:
4878
      return result.success
4879
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllParentCategories failed: unknown result");
4880
 
7977 kshitij.so 4881
  def addPageViewEvent(self, pageViewEvents):
4882
    """
4883
    Parameters:
4884
     - pageViewEvents
4885
    """
4886
    self.send_addPageViewEvent(pageViewEvents)
4887
    self.recv_addPageViewEvent()
7897 amar.kumar 4888
 
7977 kshitij.so 4889
  def send_addPageViewEvent(self, pageViewEvents):
4890
    self._oprot.writeMessageBegin('addPageViewEvent', TMessageType.CALL, self._seqid)
4891
    args = addPageViewEvent_args()
4892
    args.pageViewEvents = pageViewEvents
4893
    args.write(self._oprot)
4894
    self._oprot.writeMessageEnd()
4895
    self._oprot.trans.flush()
4896
 
4897
  def recv_addPageViewEvent(self, ):
4898
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4899
    if mtype == TMessageType.EXCEPTION:
4900
      x = TApplicationException()
4901
      x.read(self._iprot)
4902
      self._iprot.readMessageEnd()
4903
      raise x
4904
    result = addPageViewEvent_result()
4905
    result.read(self._iprot)
4906
    self._iprot.readMessageEnd()
4907
    return
4908
 
4909
  def addCartEvent(self, cartEvents):
4910
    """
4911
    Parameters:
4912
     - cartEvents
4913
    """
4914
    self.send_addCartEvent(cartEvents)
4915
    self.recv_addCartEvent()
4916
 
4917
  def send_addCartEvent(self, cartEvents):
4918
    self._oprot.writeMessageBegin('addCartEvent', TMessageType.CALL, self._seqid)
4919
    args = addCartEvent_args()
4920
    args.cartEvents = cartEvents
4921
    args.write(self._oprot)
4922
    self._oprot.writeMessageEnd()
4923
    self._oprot.trans.flush()
4924
 
4925
  def recv_addCartEvent(self, ):
4926
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4927
    if mtype == TMessageType.EXCEPTION:
4928
      x = TApplicationException()
4929
      x.read(self._iprot)
4930
      self._iprot.readMessageEnd()
4931
      raise x
4932
    result = addCartEvent_result()
4933
    result.read(self._iprot)
4934
    self._iprot.readMessageEnd()
4935
    return
4936
 
8182 amar.kumar 4937
  def addEbayItem(self, ebayItem):
4938
    """
4939
    Parameters:
4940
     - ebayItem
4941
    """
4942
    self.send_addEbayItem(ebayItem)
4943
    self.recv_addEbayItem()
4944
 
4945
  def send_addEbayItem(self, ebayItem):
4946
    self._oprot.writeMessageBegin('addEbayItem', TMessageType.CALL, self._seqid)
4947
    args = addEbayItem_args()
4948
    args.ebayItem = ebayItem
4949
    args.write(self._oprot)
4950
    self._oprot.writeMessageEnd()
4951
    self._oprot.trans.flush()
4952
 
4953
  def recv_addEbayItem(self, ):
4954
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4955
    if mtype == TMessageType.EXCEPTION:
4956
      x = TApplicationException()
4957
      x.read(self._iprot)
4958
      self._iprot.readMessageEnd()
4959
      raise x
4960
    result = addEbayItem_result()
4961
    result.read(self._iprot)
4962
    self._iprot.readMessageEnd()
4963
    return
4964
 
4965
  def getEbayItem(self, listingId):
4966
    """
4967
    Parameters:
4968
     - listingId
4969
    """
4970
    self.send_getEbayItem(listingId)
4971
    return self.recv_getEbayItem()
4972
 
4973
  def send_getEbayItem(self, listingId):
4974
    self._oprot.writeMessageBegin('getEbayItem', TMessageType.CALL, self._seqid)
4975
    args = getEbayItem_args()
4976
    args.listingId = listingId
4977
    args.write(self._oprot)
4978
    self._oprot.writeMessageEnd()
4979
    self._oprot.trans.flush()
4980
 
4981
  def recv_getEbayItem(self, ):
4982
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4983
    if mtype == TMessageType.EXCEPTION:
4984
      x = TApplicationException()
4985
      x.read(self._iprot)
4986
      self._iprot.readMessageEnd()
4987
      raise x
4988
    result = getEbayItem_result()
4989
    result.read(self._iprot)
4990
    self._iprot.readMessageEnd()
4991
    if result.success is not None:
4992
      return result.success
4993
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEbayItem failed: unknown result");
4994
 
4995
  def updateEbayItem(self, ebayItem):
4996
    """
4997
    Parameters:
4998
     - ebayItem
4999
    """
5000
    self.send_updateEbayItem(ebayItem)
5001
    self.recv_updateEbayItem()
5002
 
5003
  def send_updateEbayItem(self, ebayItem):
5004
    self._oprot.writeMessageBegin('updateEbayItem', TMessageType.CALL, self._seqid)
5005
    args = updateEbayItem_args()
5006
    args.ebayItem = ebayItem
5007
    args.write(self._oprot)
5008
    self._oprot.writeMessageEnd()
5009
    self._oprot.trans.flush()
5010
 
5011
  def recv_updateEbayItem(self, ):
5012
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5013
    if mtype == TMessageType.EXCEPTION:
5014
      x = TApplicationException()
5015
      x.read(self._iprot)
5016
      self._iprot.readMessageEnd()
5017
      raise x
5018
    result = updateEbayItem_result()
5019
    result.read(self._iprot)
5020
    self._iprot.readMessageEnd()
5021
    return
5022
 
8139 kshitij.so 5023
  def getAmazonListedItems(self, offset, limit):
5024
    """
5025
    Parameters:
5026
     - offset
5027
     - limit
5028
    """
5029
    self.send_getAmazonListedItems(offset, limit)
5030
    return self.recv_getAmazonListedItems()
7977 kshitij.so 5031
 
8139 kshitij.so 5032
  def send_getAmazonListedItems(self, offset, limit):
5033
    self._oprot.writeMessageBegin('getAmazonListedItems', TMessageType.CALL, self._seqid)
5034
    args = getAmazonListedItems_args()
5035
    args.offset = offset
5036
    args.limit = limit
5037
    args.write(self._oprot)
5038
    self._oprot.writeMessageEnd()
5039
    self._oprot.trans.flush()
5040
 
5041
  def recv_getAmazonListedItems(self, ):
5042
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5043
    if mtype == TMessageType.EXCEPTION:
5044
      x = TApplicationException()
5045
      x.read(self._iprot)
5046
      self._iprot.readMessageEnd()
5047
      raise x
5048
    result = getAmazonListedItems_result()
5049
    result.read(self._iprot)
5050
    self._iprot.readMessageEnd()
5051
    if result.success is not None:
5052
      return result.success
5053
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonListedItems failed: unknown result");
5054
 
8168 kshitij.so 5055
  def updateAmazonAttributesInBulk(self, amazonlisted):
5056
    """
5057
    Parameters:
5058
     - amazonlisted
5059
    """
5060
    self.send_updateAmazonAttributesInBulk(amazonlisted)
5061
    return self.recv_updateAmazonAttributesInBulk()
8139 kshitij.so 5062
 
8168 kshitij.so 5063
  def send_updateAmazonAttributesInBulk(self, amazonlisted):
5064
    self._oprot.writeMessageBegin('updateAmazonAttributesInBulk', TMessageType.CALL, self._seqid)
5065
    args = updateAmazonAttributesInBulk_args()
5066
    args.amazonlisted = amazonlisted
5067
    args.write(self._oprot)
5068
    self._oprot.writeMessageEnd()
5069
    self._oprot.trans.flush()
5070
 
5071
  def recv_updateAmazonAttributesInBulk(self, ):
5072
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5073
    if mtype == TMessageType.EXCEPTION:
5074
      x = TApplicationException()
5075
      x.read(self._iprot)
5076
      self._iprot.readMessageEnd()
5077
      raise x
5078
    result = updateAmazonAttributesInBulk_result()
5079
    result.read(self._iprot)
5080
    self._iprot.readMessageEnd()
5081
    if result.success is not None:
5082
      return result.success
5083
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonAttributesInBulk failed: unknown result");
5084
 
8379 vikram.rag 5085
  def getAllItemstoListOnFba(self, ):
5086
    self.send_getAllItemstoListOnFba()
5087
    return self.recv_getAllItemstoListOnFba()
8168 kshitij.so 5088
 
8379 vikram.rag 5089
  def send_getAllItemstoListOnFba(self, ):
5090
    self._oprot.writeMessageBegin('getAllItemstoListOnFba', TMessageType.CALL, self._seqid)
5091
    args = getAllItemstoListOnFba_args()
5092
    args.write(self._oprot)
5093
    self._oprot.writeMessageEnd()
5094
    self._oprot.trans.flush()
5095
 
5096
  def recv_getAllItemstoListOnFba(self, ):
5097
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5098
    if mtype == TMessageType.EXCEPTION:
5099
      x = TApplicationException()
5100
      x.read(self._iprot)
5101
      self._iprot.readMessageEnd()
5102
      raise x
5103
    result = getAllItemstoListOnFba_result()
5104
    result.read(self._iprot)
5105
    self._iprot.readMessageEnd()
5106
    if result.success is not None:
5107
      return result.success
5108
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFba failed: unknown result");
5109
 
5110
  def getAllItemstoListOnNonFba(self, ):
5111
    self.send_getAllItemstoListOnNonFba()
5112
    return self.recv_getAllItemstoListOnNonFba()
5113
 
5114
  def send_getAllItemstoListOnNonFba(self, ):
5115
    self._oprot.writeMessageBegin('getAllItemstoListOnNonFba', TMessageType.CALL, self._seqid)
5116
    args = getAllItemstoListOnNonFba_args()
5117
    args.write(self._oprot)
5118
    self._oprot.writeMessageEnd()
5119
    self._oprot.trans.flush()
5120
 
5121
  def recv_getAllItemstoListOnNonFba(self, ):
5122
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5123
    if mtype == TMessageType.EXCEPTION:
5124
      x = TApplicationException()
5125
      x.read(self._iprot)
5126
      self._iprot.readMessageEnd()
5127
      raise x
5128
    result = getAllItemstoListOnNonFba_result()
5129
    result.read(self._iprot)
5130
    self._iprot.readMessageEnd()
5131
    if result.success is not None:
5132
      return result.success
5133
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnNonFba failed: unknown result");
5134
 
8619 kshitij.so 5135
  def updateAsin(self, item):
5136
    """
5137
    Parameters:
5138
     - item
5139
    """
5140
    self.send_updateAsin(item)
5141
    self.recv_updateAsin()
8616 vikram.rag 5142
 
8619 kshitij.so 5143
  def send_updateAsin(self, item):
5144
    self._oprot.writeMessageBegin('updateAsin', TMessageType.CALL, self._seqid)
5145
    args = updateAsin_args()
5146
    args.item = item
5147
    args.write(self._oprot)
5148
    self._oprot.writeMessageEnd()
5149
    self._oprot.trans.flush()
5150
 
5151
  def recv_updateAsin(self, ):
5152
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5153
    if mtype == TMessageType.EXCEPTION:
5154
      x = TApplicationException()
5155
      x.read(self._iprot)
5156
      self._iprot.readMessageEnd()
5157
      raise x
5158
    result = updateAsin_result()
5159
    result.read(self._iprot)
5160
    self._iprot.readMessageEnd()
5161
    return
5162
 
8739 vikram.rag 5163
  def addOrUpdateSnapdealItem(self, snapdealitem):
5164
    """
5165
    Parameters:
5166
     - snapdealitem
5167
    """
5168
    self.send_addOrUpdateSnapdealItem(snapdealitem)
5169
    return self.recv_addOrUpdateSnapdealItem()
8619 kshitij.so 5170
 
8739 vikram.rag 5171
  def send_addOrUpdateSnapdealItem(self, snapdealitem):
5172
    self._oprot.writeMessageBegin('addOrUpdateSnapdealItem', TMessageType.CALL, self._seqid)
5173
    args = addOrUpdateSnapdealItem_args()
5174
    args.snapdealitem = snapdealitem
5175
    args.write(self._oprot)
5176
    self._oprot.writeMessageEnd()
5177
    self._oprot.trans.flush()
5178
 
5179
  def recv_addOrUpdateSnapdealItem(self, ):
5180
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5181
    if mtype == TMessageType.EXCEPTION:
5182
      x = TApplicationException()
5183
      x.read(self._iprot)
5184
      self._iprot.readMessageEnd()
5185
      raise x
5186
    result = addOrUpdateSnapdealItem_result()
5187
    result.read(self._iprot)
5188
    self._iprot.readMessageEnd()
5189
    if result.success is not None:
5190
      return result.success
5191
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateSnapdealItem failed: unknown result");
5192
 
5193
  def getSnapdealItem(self, item_id):
5194
    """
5195
    Parameters:
5196
     - item_id
5197
    """
5198
    self.send_getSnapdealItem(item_id)
5199
    return self.recv_getSnapdealItem()
5200
 
5201
  def send_getSnapdealItem(self, item_id):
5202
    self._oprot.writeMessageBegin('getSnapdealItem', TMessageType.CALL, self._seqid)
5203
    args = getSnapdealItem_args()
5204
    args.item_id = item_id
5205
    args.write(self._oprot)
5206
    self._oprot.writeMessageEnd()
5207
    self._oprot.trans.flush()
5208
 
5209
  def recv_getSnapdealItem(self, ):
5210
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5211
    if mtype == TMessageType.EXCEPTION:
5212
      x = TApplicationException()
5213
      x.read(self._iprot)
5214
      self._iprot.readMessageEnd()
5215
      raise x
5216
    result = getSnapdealItem_result()
5217
    result.read(self._iprot)
5218
    self._iprot.readMessageEnd()
5219
    if result.success is not None:
5220
      return result.success
5221
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItem failed: unknown result");
5222
 
9242 kshitij.so 5223
  def getSnapdealItemDetails(self, item_id):
5224
    """
5225
    Parameters:
5226
     - item_id
5227
    """
5228
    self.send_getSnapdealItemDetails(item_id)
5229
    return self.recv_getSnapdealItemDetails()
5230
 
5231
  def send_getSnapdealItemDetails(self, item_id):
5232
    self._oprot.writeMessageBegin('getSnapdealItemDetails', TMessageType.CALL, self._seqid)
5233
    args = getSnapdealItemDetails_args()
5234
    args.item_id = item_id
5235
    args.write(self._oprot)
5236
    self._oprot.writeMessageEnd()
5237
    self._oprot.trans.flush()
5238
 
5239
  def recv_getSnapdealItemDetails(self, ):
5240
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5241
    if mtype == TMessageType.EXCEPTION:
5242
      x = TApplicationException()
5243
      x.read(self._iprot)
5244
      self._iprot.readMessageEnd()
5245
      raise x
5246
    result = getSnapdealItemDetails_result()
5247
    result.read(self._iprot)
5248
    self._iprot.readMessageEnd()
5249
    if result.success is not None:
5250
      return result.success
5251
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItemDetails failed: unknown result");
5252
 
8739 vikram.rag 5253
  def getAllSnapdealItems(self, ):
5254
    self.send_getAllSnapdealItems()
5255
    return self.recv_getAllSnapdealItems()
5256
 
5257
  def send_getAllSnapdealItems(self, ):
5258
    self._oprot.writeMessageBegin('getAllSnapdealItems', TMessageType.CALL, self._seqid)
5259
    args = getAllSnapdealItems_args()
5260
    args.write(self._oprot)
5261
    self._oprot.writeMessageEnd()
5262
    self._oprot.trans.flush()
5263
 
5264
  def recv_getAllSnapdealItems(self, ):
5265
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5266
    if mtype == TMessageType.EXCEPTION:
5267
      x = TApplicationException()
5268
      x.read(self._iprot)
5269
      self._iprot.readMessageEnd()
5270
      raise x
5271
    result = getAllSnapdealItems_result()
5272
    result.read(self._iprot)
5273
    self._iprot.readMessageEnd()
5274
    if result.success is not None:
5275
      return result.success
5276
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealItems failed: unknown result");
5277
 
9242 kshitij.so 5278
  def getSnapdealItems(self, offset, limit):
5279
    """
5280
    Parameters:
5281
     - offset
5282
     - limit
5283
    """
5284
    self.send_getSnapdealItems(offset, limit)
5285
    return self.recv_getSnapdealItems()
8739 vikram.rag 5286
 
9242 kshitij.so 5287
  def send_getSnapdealItems(self, offset, limit):
5288
    self._oprot.writeMessageBegin('getSnapdealItems', TMessageType.CALL, self._seqid)
5289
    args = getSnapdealItems_args()
5290
    args.offset = offset
5291
    args.limit = limit
5292
    args.write(self._oprot)
5293
    self._oprot.writeMessageEnd()
5294
    self._oprot.trans.flush()
5295
 
5296
  def recv_getSnapdealItems(self, ):
5297
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5298
    if mtype == TMessageType.EXCEPTION:
5299
      x = TApplicationException()
5300
      x.read(self._iprot)
5301
      self._iprot.readMessageEnd()
5302
      raise x
5303
    result = getSnapdealItems_result()
5304
    result.read(self._iprot)
5305
    self._iprot.readMessageEnd()
5306
    if result.success is not None:
5307
      return result.success
5308
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItems failed: unknown result");
5309
 
5310
  def searchSnapdealItems(self, searchTerm, offset, limit):
5311
    """
5312
    Parameters:
5313
     - searchTerm
5314
     - offset
5315
     - limit
5316
    """
5317
    self.send_searchSnapdealItems(searchTerm, offset, limit)
5318
    return self.recv_searchSnapdealItems()
5319
 
5320
  def send_searchSnapdealItems(self, searchTerm, offset, limit):
5321
    self._oprot.writeMessageBegin('searchSnapdealItems', TMessageType.CALL, self._seqid)
5322
    args = searchSnapdealItems_args()
5323
    args.searchTerm = searchTerm
5324
    args.offset = offset
5325
    args.limit = limit
5326
    args.write(self._oprot)
5327
    self._oprot.writeMessageEnd()
5328
    self._oprot.trans.flush()
5329
 
5330
  def recv_searchSnapdealItems(self, ):
5331
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5332
    if mtype == TMessageType.EXCEPTION:
5333
      x = TApplicationException()
5334
      x.read(self._iprot)
5335
      self._iprot.readMessageEnd()
5336
      raise x
5337
    result = searchSnapdealItems_result()
5338
    result.read(self._iprot)
5339
    self._iprot.readMessageEnd()
5340
    if result.success is not None:
5341
      return result.success
5342
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchSnapdealItems failed: unknown result");
5343
 
5344
  def getCountForSnapdealItems(self, ):
5345
    self.send_getCountForSnapdealItems()
5346
    return self.recv_getCountForSnapdealItems()
5347
 
5348
  def send_getCountForSnapdealItems(self, ):
5349
    self._oprot.writeMessageBegin('getCountForSnapdealItems', TMessageType.CALL, self._seqid)
5350
    args = getCountForSnapdealItems_args()
5351
    args.write(self._oprot)
5352
    self._oprot.writeMessageEnd()
5353
    self._oprot.trans.flush()
5354
 
5355
  def recv_getCountForSnapdealItems(self, ):
5356
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5357
    if mtype == TMessageType.EXCEPTION:
5358
      x = TApplicationException()
5359
      x.read(self._iprot)
5360
      self._iprot.readMessageEnd()
5361
      raise x
5362
    result = getCountForSnapdealItems_result()
5363
    result.read(self._iprot)
5364
    self._iprot.readMessageEnd()
5365
    if result.success is not None:
5366
      return result.success
5367
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForSnapdealItems failed: unknown result");
5368
 
5369
  def getSnapdealSearchResultCount(self, searchTerm):
5370
    """
5371
    Parameters:
5372
     - searchTerm
5373
    """
5374
    self.send_getSnapdealSearchResultCount(searchTerm)
5375
    return self.recv_getSnapdealSearchResultCount()
5376
 
5377
  def send_getSnapdealSearchResultCount(self, searchTerm):
5378
    self._oprot.writeMessageBegin('getSnapdealSearchResultCount', TMessageType.CALL, self._seqid)
5379
    args = getSnapdealSearchResultCount_args()
5380
    args.searchTerm = searchTerm
5381
    args.write(self._oprot)
5382
    self._oprot.writeMessageEnd()
5383
    self._oprot.trans.flush()
5384
 
5385
  def recv_getSnapdealSearchResultCount(self, ):
5386
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5387
    if mtype == TMessageType.EXCEPTION:
5388
      x = TApplicationException()
5389
      x.read(self._iprot)
5390
      self._iprot.readMessageEnd()
5391
      raise x
5392
    result = getSnapdealSearchResultCount_result()
5393
    result.read(self._iprot)
5394
    self._iprot.readMessageEnd()
5395
    if result.success is not None:
5396
      return result.success
5397
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealSearchResultCount failed: unknown result");
5398
 
9299 kshitij.so 5399
  def getPrefferedInsurerForItem(self, itemId, insurerType):
5400
    """
5401
    Parameters:
5402
     - itemId
5403
     - insurerType
5404
    """
5405
    self.send_getPrefferedInsurerForItem(itemId, insurerType)
5406
    return self.recv_getPrefferedInsurerForItem()
9242 kshitij.so 5407
 
9299 kshitij.so 5408
  def send_getPrefferedInsurerForItem(self, itemId, insurerType):
5409
    self._oprot.writeMessageBegin('getPrefferedInsurerForItem', TMessageType.CALL, self._seqid)
5410
    args = getPrefferedInsurerForItem_args()
5411
    args.itemId = itemId
5412
    args.insurerType = insurerType
5413
    args.write(self._oprot)
5414
    self._oprot.writeMessageEnd()
5415
    self._oprot.trans.flush()
5416
 
5417
  def recv_getPrefferedInsurerForItem(self, ):
5418
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5419
    if mtype == TMessageType.EXCEPTION:
5420
      x = TApplicationException()
5421
      x.read(self._iprot)
5422
      self._iprot.readMessageEnd()
5423
      raise x
5424
    result = getPrefferedInsurerForItem_result()
5425
    result.read(self._iprot)
5426
    self._iprot.readMessageEnd()
5427
    if result.success is not None:
5428
      return result.success
5429
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrefferedInsurerForItem failed: unknown result");
5430
 
9456 vikram.rag 5431
  def getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5432
    """
5433
    Parameters:
5434
     - skuAtSnapdeal
5435
    """
5436
    self.send_getSnapdealItembySkuAtSnapdeal(skuAtSnapdeal)
5437
    return self.recv_getSnapdealItembySkuAtSnapdeal()
9299 kshitij.so 5438
 
9456 vikram.rag 5439
  def send_getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5440
    self._oprot.writeMessageBegin('getSnapdealItembySkuAtSnapdeal', TMessageType.CALL, self._seqid)
5441
    args = getSnapdealItembySkuAtSnapdeal_args()
5442
    args.skuAtSnapdeal = skuAtSnapdeal
5443
    args.write(self._oprot)
5444
    self._oprot.writeMessageEnd()
5445
    self._oprot.trans.flush()
5446
 
5447
  def recv_getSnapdealItembySkuAtSnapdeal(self, ):
5448
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5449
    if mtype == TMessageType.EXCEPTION:
5450
      x = TApplicationException()
5451
      x.read(self._iprot)
5452
      self._iprot.readMessageEnd()
5453
      raise x
5454
    result = getSnapdealItembySkuAtSnapdeal_result()
5455
    result.read(self._iprot)
5456
    self._iprot.readMessageEnd()
5457
    if result.success is not None:
5458
      return result.success
5459
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItembySkuAtSnapdeal failed: unknown result");
5460
 
9621 manish.sha 5461
  def getProductFeedSubmit(self, catalogItemId):
5462
    """
5463
    Parameters:
5464
     - catalogItemId
5465
    """
5466
    self.send_getProductFeedSubmit(catalogItemId)
5467
    return self.recv_getProductFeedSubmit()
9456 vikram.rag 5468
 
9621 manish.sha 5469
  def send_getProductFeedSubmit(self, catalogItemId):
5470
    self._oprot.writeMessageBegin('getProductFeedSubmit', TMessageType.CALL, self._seqid)
5471
    args = getProductFeedSubmit_args()
5472
    args.catalogItemId = catalogItemId
5473
    args.write(self._oprot)
5474
    self._oprot.writeMessageEnd()
5475
    self._oprot.trans.flush()
5476
 
5477
  def recv_getProductFeedSubmit(self, ):
5478
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5479
    if mtype == TMessageType.EXCEPTION:
5480
      x = TApplicationException()
5481
      x.read(self._iprot)
5482
      self._iprot.readMessageEnd()
5483
      raise x
5484
    result = getProductFeedSubmit_result()
5485
    result.read(self._iprot)
5486
    self._iprot.readMessageEnd()
5487
    if result.success is not None:
5488
      return result.success
5489
    if result.cex is not None:
5490
      raise result.cex
5491
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductFeedSubmit failed: unknown result");
5492
 
5493
  def addProductFeedSubmit(self, productFeedSubmit):
5494
    """
5495
    Parameters:
5496
     - productFeedSubmit
5497
    """
5498
    self.send_addProductFeedSubmit(productFeedSubmit)
5499
    return self.recv_addProductFeedSubmit()
5500
 
5501
  def send_addProductFeedSubmit(self, productFeedSubmit):
5502
    self._oprot.writeMessageBegin('addProductFeedSubmit', TMessageType.CALL, self._seqid)
5503
    args = addProductFeedSubmit_args()
5504
    args.productFeedSubmit = productFeedSubmit
5505
    args.write(self._oprot)
5506
    self._oprot.writeMessageEnd()
5507
    self._oprot.trans.flush()
5508
 
5509
  def recv_addProductFeedSubmit(self, ):
5510
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5511
    if mtype == TMessageType.EXCEPTION:
5512
      x = TApplicationException()
5513
      x.read(self._iprot)
5514
      self._iprot.readMessageEnd()
5515
      raise x
5516
    result = addProductFeedSubmit_result()
5517
    result.read(self._iprot)
5518
    self._iprot.readMessageEnd()
5519
    if result.success is not None:
5520
      return result.success
5521
    if result.cex is not None:
5522
      raise result.cex
5523
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductFeedSubmit failed: unknown result");
5524
 
5525
  def updateProductFeedSubmit(self, productFeedSubmit):
5526
    """
5527
    Parameters:
5528
     - productFeedSubmit
5529
    """
5530
    self.send_updateProductFeedSubmit(productFeedSubmit)
5531
    return self.recv_updateProductFeedSubmit()
5532
 
5533
  def send_updateProductFeedSubmit(self, productFeedSubmit):
5534
    self._oprot.writeMessageBegin('updateProductFeedSubmit', TMessageType.CALL, self._seqid)
5535
    args = updateProductFeedSubmit_args()
5536
    args.productFeedSubmit = productFeedSubmit
5537
    args.write(self._oprot)
5538
    self._oprot.writeMessageEnd()
5539
    self._oprot.trans.flush()
5540
 
5541
  def recv_updateProductFeedSubmit(self, ):
5542
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5543
    if mtype == TMessageType.EXCEPTION:
5544
      x = TApplicationException()
5545
      x.read(self._iprot)
5546
      self._iprot.readMessageEnd()
5547
      raise x
5548
    result = updateProductFeedSubmit_result()
5549
    result.read(self._iprot)
5550
    self._iprot.readMessageEnd()
5551
    if result.success is not None:
5552
      return result.success
5553
    if result.cex is not None:
5554
      raise result.cex
5555
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateProductFeedSubmit failed: unknown result");
5556
 
5557
  def deleteProductFeedSubmit(self, catalogItemId):
5558
    """
5559
    Parameters:
5560
     - catalogItemId
5561
    """
5562
    self.send_deleteProductFeedSubmit(catalogItemId)
5563
    return self.recv_deleteProductFeedSubmit()
5564
 
5565
  def send_deleteProductFeedSubmit(self, catalogItemId):
5566
    self._oprot.writeMessageBegin('deleteProductFeedSubmit', TMessageType.CALL, self._seqid)
5567
    args = deleteProductFeedSubmit_args()
5568
    args.catalogItemId = catalogItemId
5569
    args.write(self._oprot)
5570
    self._oprot.writeMessageEnd()
5571
    self._oprot.trans.flush()
5572
 
5573
  def recv_deleteProductFeedSubmit(self, ):
5574
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5575
    if mtype == TMessageType.EXCEPTION:
5576
      x = TApplicationException()
5577
      x.read(self._iprot)
5578
      self._iprot.readMessageEnd()
5579
      raise x
5580
    result = deleteProductFeedSubmit_result()
5581
    result.read(self._iprot)
5582
    self._iprot.readMessageEnd()
5583
    if result.success is not None:
5584
      return result.success
5585
    if result.cex is not None:
5586
      raise result.cex
5587
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteProductFeedSubmit failed: unknown result");
5588
 
5589
  def getAllProductFeedSubmit(self, ):
5590
    self.send_getAllProductFeedSubmit()
5591
    return self.recv_getAllProductFeedSubmit()
5592
 
5593
  def send_getAllProductFeedSubmit(self, ):
5594
    self._oprot.writeMessageBegin('getAllProductFeedSubmit', TMessageType.CALL, self._seqid)
5595
    args = getAllProductFeedSubmit_args()
5596
    args.write(self._oprot)
5597
    self._oprot.writeMessageEnd()
5598
    self._oprot.trans.flush()
5599
 
5600
  def recv_getAllProductFeedSubmit(self, ):
5601
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5602
    if mtype == TMessageType.EXCEPTION:
5603
      x = TApplicationException()
5604
      x.read(self._iprot)
5605
      self._iprot.readMessageEnd()
5606
      raise x
5607
    result = getAllProductFeedSubmit_result()
5608
    result.read(self._iprot)
5609
    self._iprot.readMessageEnd()
5610
    if result.success is not None:
5611
      return result.success
5612
    if result.cex is not None:
5613
      raise result.cex
5614
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllProductFeedSubmit failed: unknown result");
5615
 
9724 kshitij.so 5616
  def getMarketplacedetailsForItem(self, itemId, sourceId):
5617
    """
5618
    Parameters:
5619
     - itemId
5620
     - sourceId
5621
    """
5622
    self.send_getMarketplacedetailsForItem(itemId, sourceId)
5623
    return self.recv_getMarketplacedetailsForItem()
9621 manish.sha 5624
 
9724 kshitij.so 5625
  def send_getMarketplacedetailsForItem(self, itemId, sourceId):
5626
    self._oprot.writeMessageBegin('getMarketplacedetailsForItem', TMessageType.CALL, self._seqid)
5627
    args = getMarketplacedetailsForItem_args()
5628
    args.itemId = itemId
5629
    args.sourceId = sourceId
5630
    args.write(self._oprot)
5631
    self._oprot.writeMessageEnd()
5632
    self._oprot.trans.flush()
5633
 
5634
  def recv_getMarketplacedetailsForItem(self, ):
5635
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5636
    if mtype == TMessageType.EXCEPTION:
5637
      x = TApplicationException()
5638
      x.read(self._iprot)
5639
      self._iprot.readMessageEnd()
5640
      raise x
5641
    result = getMarketplacedetailsForItem_result()
5642
    result.read(self._iprot)
5643
    self._iprot.readMessageEnd()
5644
    if result.success is not None:
5645
      return result.success
5646
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplacedetailsForItem failed: unknown result");
5647
 
5648
  def updateMarketplaceAttributesForItem(self, marketPlaceItem):
5649
    """
5650
    Parameters:
5651
     - marketPlaceItem
5652
    """
5653
    self.send_updateMarketplaceAttributesForItem(marketPlaceItem)
5654
    return self.recv_updateMarketplaceAttributesForItem()
5655
 
5656
  def send_updateMarketplaceAttributesForItem(self, marketPlaceItem):
5657
    self._oprot.writeMessageBegin('updateMarketplaceAttributesForItem', TMessageType.CALL, self._seqid)
5658
    args = updateMarketplaceAttributesForItem_args()
5659
    args.marketPlaceItem = marketPlaceItem
5660
    args.write(self._oprot)
5661
    self._oprot.writeMessageEnd()
5662
    self._oprot.trans.flush()
5663
 
5664
  def recv_updateMarketplaceAttributesForItem(self, ):
5665
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5666
    if mtype == TMessageType.EXCEPTION:
5667
      x = TApplicationException()
5668
      x.read(self._iprot)
5669
      self._iprot.readMessageEnd()
5670
      raise x
5671
    result = updateMarketplaceAttributesForItem_result()
5672
    result.read(self._iprot)
5673
    self._iprot.readMessageEnd()
5674
    if result.success is not None:
5675
      return result.success
5676
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateMarketplaceAttributesForItem failed: unknown result");
5677
 
9779 kshitij.so 5678
  def getCostingForMarketplace(self, source, item_id):
5679
    """
5680
    Parameters:
5681
     - source
5682
     - item_id
5683
    """
5684
    self.send_getCostingForMarketplace(source, item_id)
5685
    return self.recv_getCostingForMarketplace()
5686
 
5687
  def send_getCostingForMarketplace(self, source, item_id):
5688
    self._oprot.writeMessageBegin('getCostingForMarketplace', TMessageType.CALL, self._seqid)
5689
    args = getCostingForMarketplace_args()
5690
    args.source = source
5691
    args.item_id = item_id
5692
    args.write(self._oprot)
5693
    self._oprot.writeMessageEnd()
5694
    self._oprot.trans.flush()
5695
 
5696
  def recv_getCostingForMarketplace(self, ):
5697
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5698
    if mtype == TMessageType.EXCEPTION:
5699
      x = TApplicationException()
5700
      x.read(self._iprot)
5701
      self._iprot.readMessageEnd()
5702
      raise x
5703
    result = getCostingForMarketplace_result()
5704
    result.read(self._iprot)
5705
    self._iprot.readMessageEnd()
5706
    if result.success is not None:
5707
      return result.success
5708
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCostingForMarketplace failed: unknown result");
5709
 
9776 vikram.rag 5710
  def getMarketPlaceItemsForPriceUpdate(self, source):
5711
    """
5712
    Parameters:
5713
     - source
5714
    """
5715
    self.send_getMarketPlaceItemsForPriceUpdate(source)
5716
    return self.recv_getMarketPlaceItemsForPriceUpdate()
9724 kshitij.so 5717
 
9776 vikram.rag 5718
  def send_getMarketPlaceItemsForPriceUpdate(self, source):
5719
    self._oprot.writeMessageBegin('getMarketPlaceItemsForPriceUpdate', TMessageType.CALL, self._seqid)
5720
    args = getMarketPlaceItemsForPriceUpdate_args()
5721
    args.source = source
5722
    args.write(self._oprot)
5723
    self._oprot.writeMessageEnd()
5724
    self._oprot.trans.flush()
5725
 
5726
  def recv_getMarketPlaceItemsForPriceUpdate(self, ):
5727
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5728
    if mtype == TMessageType.EXCEPTION:
5729
      x = TApplicationException()
5730
      x.read(self._iprot)
5731
      self._iprot.readMessageEnd()
5732
      raise x
5733
    result = getMarketPlaceItemsForPriceUpdate_result()
5734
    result.read(self._iprot)
5735
    self._iprot.readMessageEnd()
5736
    if result.success is not None:
5737
      return result.success
5738
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketPlaceItemsForPriceUpdate failed: unknown result");
5739
 
9816 kshitij.so 5740
  def updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5741
    """
5742
    Parameters:
5743
     - skulist
5744
     - timestamp
9816 kshitij.so 5745
     - source
9776 vikram.rag 5746
    """
9816 kshitij.so 5747
    self.send_updateMarketPlacePriceUpdateStatus(skulist, timestamp, source)
9776 vikram.rag 5748
    self.recv_updateMarketPlacePriceUpdateStatus()
5749
 
9816 kshitij.so 5750
  def send_updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5751
    self._oprot.writeMessageBegin('updateMarketPlacePriceUpdateStatus', TMessageType.CALL, self._seqid)
5752
    args = updateMarketPlacePriceUpdateStatus_args()
5753
    args.skulist = skulist
5754
    args.timestamp = timestamp
9816 kshitij.so 5755
    args.source = source
9776 vikram.rag 5756
    args.write(self._oprot)
5757
    self._oprot.writeMessageEnd()
5758
    self._oprot.trans.flush()
5759
 
5760
  def recv_updateMarketPlacePriceUpdateStatus(self, ):
5761
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5762
    if mtype == TMessageType.EXCEPTION:
5763
      x = TApplicationException()
5764
      x.read(self._iprot)
5765
      self._iprot.readMessageEnd()
5766
      raise x
5767
    result = updateMarketPlacePriceUpdateStatus_result()
5768
    result.read(self._iprot)
5769
    self._iprot.readMessageEnd()
5770
    return
5771
 
9861 rajveer 5772
  def updateItemHoldInventory(self, itemHoldMap):
5773
    """
5774
    Parameters:
5775
     - itemHoldMap
5776
    """
5777
    self.send_updateItemHoldInventory(itemHoldMap)
5778
    self.recv_updateItemHoldInventory()
9776 vikram.rag 5779
 
9861 rajveer 5780
  def send_updateItemHoldInventory(self, itemHoldMap):
5781
    self._oprot.writeMessageBegin('updateItemHoldInventory', TMessageType.CALL, self._seqid)
5782
    args = updateItemHoldInventory_args()
5783
    args.itemHoldMap = itemHoldMap
5784
    args.write(self._oprot)
5785
    self._oprot.writeMessageEnd()
5786
    self._oprot.trans.flush()
5787
 
5788
  def recv_updateItemHoldInventory(self, ):
5789
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5790
    if mtype == TMessageType.EXCEPTION:
5791
      x = TApplicationException()
5792
      x.read(self._iprot)
5793
      self._iprot.readMessageEnd()
5794
      raise x
5795
    result = updateItemHoldInventory_result()
5796
    result.read(self._iprot)
5797
    self._iprot.readMessageEnd()
5798
    return
5799
 
9895 vikram.rag 5800
  def updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5801
    """
5802
    Parameters:
5803
     - item_id
5804
     - vendor_id
5805
     - nlc
5806
    """
5807
    self.send_updateNlcAtMarketplaces(item_id, vendor_id, nlc)
5808
    self.recv_updateNlcAtMarketplaces()
9861 rajveer 5809
 
9895 vikram.rag 5810
  def send_updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5811
    self._oprot.writeMessageBegin('updateNlcAtMarketplaces', TMessageType.CALL, self._seqid)
5812
    args = updateNlcAtMarketplaces_args()
5813
    args.item_id = item_id
5814
    args.vendor_id = vendor_id
5815
    args.nlc = nlc
5816
    args.write(self._oprot)
5817
    self._oprot.writeMessageEnd()
5818
    self._oprot.trans.flush()
5819
 
5820
  def recv_updateNlcAtMarketplaces(self, ):
5821
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5822
    if mtype == TMessageType.EXCEPTION:
5823
      x = TApplicationException()
5824
      x.read(self._iprot)
5825
      self._iprot.readMessageEnd()
5826
      raise x
5827
    result = updateNlcAtMarketplaces_result()
5828
    result.read(self._iprot)
5829
    self._iprot.readMessageEnd()
5830
    return
5831
 
9945 vikram.rag 5832
  def getAllFlipkartItems(self, ):
5833
    self.send_getAllFlipkartItems()
5834
    return self.recv_getAllFlipkartItems()
9895 vikram.rag 5835
 
9945 vikram.rag 5836
  def send_getAllFlipkartItems(self, ):
5837
    self._oprot.writeMessageBegin('getAllFlipkartItems', TMessageType.CALL, self._seqid)
5838
    args = getAllFlipkartItems_args()
5839
    args.write(self._oprot)
5840
    self._oprot.writeMessageEnd()
5841
    self._oprot.trans.flush()
5842
 
5843
  def recv_getAllFlipkartItems(self, ):
5844
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5845
    if mtype == TMessageType.EXCEPTION:
5846
      x = TApplicationException()
5847
      x.read(self._iprot)
5848
      self._iprot.readMessageEnd()
5849
      raise x
5850
    result = getAllFlipkartItems_result()
5851
    result.read(self._iprot)
5852
    self._iprot.readMessageEnd()
5853
    if result.success is not None:
5854
      return result.success
5855
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartItems failed: unknown result");
5856
 
10097 kshitij.so 5857
  def addOrUpdateFlipkartItem(self, flipkartitem):
5858
    """
5859
    Parameters:
5860
     - flipkartitem
5861
    """
5862
    self.send_addOrUpdateFlipkartItem(flipkartitem)
5863
    return self.recv_addOrUpdateFlipkartItem()
9945 vikram.rag 5864
 
10097 kshitij.so 5865
  def send_addOrUpdateFlipkartItem(self, flipkartitem):
5866
    self._oprot.writeMessageBegin('addOrUpdateFlipkartItem', TMessageType.CALL, self._seqid)
5867
    args = addOrUpdateFlipkartItem_args()
5868
    args.flipkartitem = flipkartitem
5869
    args.write(self._oprot)
5870
    self._oprot.writeMessageEnd()
5871
    self._oprot.trans.flush()
5872
 
5873
  def recv_addOrUpdateFlipkartItem(self, ):
5874
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5875
    if mtype == TMessageType.EXCEPTION:
5876
      x = TApplicationException()
5877
      x.read(self._iprot)
5878
      self._iprot.readMessageEnd()
5879
      raise x
5880
    result = addOrUpdateFlipkartItem_result()
5881
    result.read(self._iprot)
5882
    self._iprot.readMessageEnd()
5883
    if result.success is not None:
5884
      return result.success
5885
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateFlipkartItem failed: unknown result");
5886
 
5887
  def getFlipkartItem(self, item_id):
5888
    """
5889
    Parameters:
5890
     - item_id
5891
    """
5892
    self.send_getFlipkartItem(item_id)
5893
    return self.recv_getFlipkartItem()
5894
 
5895
  def send_getFlipkartItem(self, item_id):
5896
    self._oprot.writeMessageBegin('getFlipkartItem', TMessageType.CALL, self._seqid)
5897
    args = getFlipkartItem_args()
5898
    args.item_id = item_id
5899
    args.write(self._oprot)
5900
    self._oprot.writeMessageEnd()
5901
    self._oprot.trans.flush()
5902
 
5903
  def recv_getFlipkartItem(self, ):
5904
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5905
    if mtype == TMessageType.EXCEPTION:
5906
      x = TApplicationException()
5907
      x.read(self._iprot)
5908
      self._iprot.readMessageEnd()
5909
      raise x
5910
    result = getFlipkartItem_result()
5911
    result.read(self._iprot)
5912
    self._iprot.readMessageEnd()
5913
    if result.success is not None:
5914
      return result.success
5915
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItem failed: unknown result");
5916
 
5917
  def getFlipkartItemDetails(self, item_id):
5918
    """
5919
    Parameters:
5920
     - item_id
5921
    """
5922
    self.send_getFlipkartItemDetails(item_id)
5923
    return self.recv_getFlipkartItemDetails()
5924
 
5925
  def send_getFlipkartItemDetails(self, item_id):
5926
    self._oprot.writeMessageBegin('getFlipkartItemDetails', TMessageType.CALL, self._seqid)
5927
    args = getFlipkartItemDetails_args()
5928
    args.item_id = item_id
5929
    args.write(self._oprot)
5930
    self._oprot.writeMessageEnd()
5931
    self._oprot.trans.flush()
5932
 
5933
  def recv_getFlipkartItemDetails(self, ):
5934
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5935
    if mtype == TMessageType.EXCEPTION:
5936
      x = TApplicationException()
5937
      x.read(self._iprot)
5938
      self._iprot.readMessageEnd()
5939
      raise x
5940
    result = getFlipkartItemDetails_result()
5941
    result.read(self._iprot)
5942
    self._iprot.readMessageEnd()
5943
    if result.success is not None:
5944
      return result.success
5945
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemDetails failed: unknown result");
5946
 
5947
  def getFlipkartItems(self, offset, limit):
5948
    """
5949
    Parameters:
5950
     - offset
5951
     - limit
5952
    """
5953
    self.send_getFlipkartItems(offset, limit)
5954
    return self.recv_getFlipkartItems()
5955
 
5956
  def send_getFlipkartItems(self, offset, limit):
5957
    self._oprot.writeMessageBegin('getFlipkartItems', TMessageType.CALL, self._seqid)
5958
    args = getFlipkartItems_args()
5959
    args.offset = offset
5960
    args.limit = limit
5961
    args.write(self._oprot)
5962
    self._oprot.writeMessageEnd()
5963
    self._oprot.trans.flush()
5964
 
5965
  def recv_getFlipkartItems(self, ):
5966
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5967
    if mtype == TMessageType.EXCEPTION:
5968
      x = TApplicationException()
5969
      x.read(self._iprot)
5970
      self._iprot.readMessageEnd()
5971
      raise x
5972
    result = getFlipkartItems_result()
5973
    result.read(self._iprot)
5974
    self._iprot.readMessageEnd()
5975
    if result.success is not None:
5976
      return result.success
5977
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItems failed: unknown result");
5978
 
5979
  def searchFlipkartItems(self, searchTerm, offset, limit):
5980
    """
5981
    Parameters:
5982
     - searchTerm
5983
     - offset
5984
     - limit
5985
    """
5986
    self.send_searchFlipkartItems(searchTerm, offset, limit)
5987
    return self.recv_searchFlipkartItems()
5988
 
5989
  def send_searchFlipkartItems(self, searchTerm, offset, limit):
5990
    self._oprot.writeMessageBegin('searchFlipkartItems', TMessageType.CALL, self._seqid)
5991
    args = searchFlipkartItems_args()
5992
    args.searchTerm = searchTerm
5993
    args.offset = offset
5994
    args.limit = limit
5995
    args.write(self._oprot)
5996
    self._oprot.writeMessageEnd()
5997
    self._oprot.trans.flush()
5998
 
5999
  def recv_searchFlipkartItems(self, ):
6000
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6001
    if mtype == TMessageType.EXCEPTION:
6002
      x = TApplicationException()
6003
      x.read(self._iprot)
6004
      self._iprot.readMessageEnd()
6005
      raise x
6006
    result = searchFlipkartItems_result()
6007
    result.read(self._iprot)
6008
    self._iprot.readMessageEnd()
6009
    if result.success is not None:
6010
      return result.success
6011
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchFlipkartItems failed: unknown result");
6012
 
6013
  def getCountForFlipkartItems(self, ):
6014
    self.send_getCountForFlipkartItems()
6015
    return self.recv_getCountForFlipkartItems()
6016
 
6017
  def send_getCountForFlipkartItems(self, ):
6018
    self._oprot.writeMessageBegin('getCountForFlipkartItems', TMessageType.CALL, self._seqid)
6019
    args = getCountForFlipkartItems_args()
6020
    args.write(self._oprot)
6021
    self._oprot.writeMessageEnd()
6022
    self._oprot.trans.flush()
6023
 
6024
  def recv_getCountForFlipkartItems(self, ):
6025
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6026
    if mtype == TMessageType.EXCEPTION:
6027
      x = TApplicationException()
6028
      x.read(self._iprot)
6029
      self._iprot.readMessageEnd()
6030
      raise x
6031
    result = getCountForFlipkartItems_result()
6032
    result.read(self._iprot)
6033
    self._iprot.readMessageEnd()
6034
    if result.success is not None:
6035
      return result.success
6036
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForFlipkartItems failed: unknown result");
6037
 
6038
  def getFlipkartSearchResultCount(self, searchTerm):
6039
    """
6040
    Parameters:
6041
     - searchTerm
6042
    """
6043
    self.send_getFlipkartSearchResultCount(searchTerm)
6044
    return self.recv_getFlipkartSearchResultCount()
6045
 
6046
  def send_getFlipkartSearchResultCount(self, searchTerm):
6047
    self._oprot.writeMessageBegin('getFlipkartSearchResultCount', TMessageType.CALL, self._seqid)
6048
    args = getFlipkartSearchResultCount_args()
6049
    args.searchTerm = searchTerm
6050
    args.write(self._oprot)
6051
    self._oprot.writeMessageEnd()
6052
    self._oprot.trans.flush()
6053
 
6054
  def recv_getFlipkartSearchResultCount(self, ):
6055
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6056
    if mtype == TMessageType.EXCEPTION:
6057
      x = TApplicationException()
6058
      x.read(self._iprot)
6059
      self._iprot.readMessageEnd()
6060
      raise x
6061
    result = getFlipkartSearchResultCount_result()
6062
    result.read(self._iprot)
6063
    self._iprot.readMessageEnd()
6064
    if result.success is not None:
6065
      return result.success
6066
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartSearchResultCount failed: unknown result");
6067
 
6068
  def getAllFkItems(self, ):
6069
    self.send_getAllFkItems()
6070
    return self.recv_getAllFkItems()
6071
 
6072
  def send_getAllFkItems(self, ):
6073
    self._oprot.writeMessageBegin('getAllFkItems', TMessageType.CALL, self._seqid)
6074
    args = getAllFkItems_args()
6075
    args.write(self._oprot)
6076
    self._oprot.writeMessageEnd()
6077
    self._oprot.trans.flush()
6078
 
6079
  def recv_getAllFkItems(self, ):
6080
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6081
    if mtype == TMessageType.EXCEPTION:
6082
      x = TApplicationException()
6083
      x.read(self._iprot)
6084
      self._iprot.readMessageEnd()
6085
      raise x
6086
    result = getAllFkItems_result()
6087
    result.read(self._iprot)
6088
    self._iprot.readMessageEnd()
6089
    if result.success is not None:
6090
      return result.success
6091
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFkItems failed: unknown result");
6092
 
10140 vikram.rag 6093
  def getFlipkartItemBySkyAtFlipkart(self, sku):
6094
    """
6095
    Parameters:
6096
     - sku
6097
    """
6098
    self.send_getFlipkartItemBySkyAtFlipkart(sku)
6099
    return self.recv_getFlipkartItemBySkyAtFlipkart()
10097 kshitij.so 6100
 
10140 vikram.rag 6101
  def send_getFlipkartItemBySkyAtFlipkart(self, sku):
6102
    self._oprot.writeMessageBegin('getFlipkartItemBySkyAtFlipkart', TMessageType.CALL, self._seqid)
6103
    args = getFlipkartItemBySkyAtFlipkart_args()
6104
    args.sku = sku
6105
    args.write(self._oprot)
6106
    self._oprot.writeMessageEnd()
6107
    self._oprot.trans.flush()
6108
 
6109
  def recv_getFlipkartItemBySkyAtFlipkart(self, ):
6110
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6111
    if mtype == TMessageType.EXCEPTION:
6112
      x = TApplicationException()
6113
      x.read(self._iprot)
6114
      self._iprot.readMessageEnd()
6115
      raise x
6116
    result = getFlipkartItemBySkyAtFlipkart_result()
6117
    result.read(self._iprot)
6118
    self._iprot.readMessageEnd()
6119
    if result.success is not None:
6120
      return result.success
6121
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemBySkyAtFlipkart failed: unknown result");
6122
 
11015 kshitij.so 6123
  def getMarketplaceHistory(self, source, offset, itemId):
6124
    """
6125
    Parameters:
6126
     - source
6127
     - offset
6128
     - itemId
6129
    """
6130
    self.send_getMarketplaceHistory(source, offset, itemId)
6131
    return self.recv_getMarketplaceHistory()
6132
 
6133
  def send_getMarketplaceHistory(self, source, offset, itemId):
6134
    self._oprot.writeMessageBegin('getMarketplaceHistory', TMessageType.CALL, self._seqid)
6135
    args = getMarketplaceHistory_args()
6136
    args.source = source
6137
    args.offset = offset
6138
    args.itemId = itemId
6139
    args.write(self._oprot)
6140
    self._oprot.writeMessageEnd()
6141
    self._oprot.trans.flush()
6142
 
6143
  def recv_getMarketplaceHistory(self, ):
6144
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6145
    if mtype == TMessageType.EXCEPTION:
6146
      x = TApplicationException()
6147
      x.read(self._iprot)
6148
      self._iprot.readMessageEnd()
6149
      raise x
6150
    result = getMarketplaceHistory_result()
6151
    result.read(self._iprot)
6152
    self._iprot.readMessageEnd()
6153
    if result.success is not None:
6154
      return result.success
6155
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistory failed: unknown result");
6156
 
10909 vikram.rag 6157
  def getAllFbbListedItems(self, ):
6158
    self.send_getAllFbbListedItems()
6159
    return self.recv_getAllFbbListedItems()
10140 vikram.rag 6160
 
10909 vikram.rag 6161
  def send_getAllFbbListedItems(self, ):
6162
    self._oprot.writeMessageBegin('getAllFbbListedItems', TMessageType.CALL, self._seqid)
6163
    args = getAllFbbListedItems_args()
6164
    args.write(self._oprot)
6165
    self._oprot.writeMessageEnd()
6166
    self._oprot.trans.flush()
6167
 
6168
  def recv_getAllFbbListedItems(self, ):
6169
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6170
    if mtype == TMessageType.EXCEPTION:
6171
      x = TApplicationException()
6172
      x.read(self._iprot)
6173
      self._iprot.readMessageEnd()
6174
      raise x
6175
    result = getAllFbbListedItems_result()
6176
    result.read(self._iprot)
6177
    self._iprot.readMessageEnd()
6178
    if result.success is not None:
6179
      return result.success
6180
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbListedItems failed: unknown result");
6181
 
10924 vikram.rag 6182
  def getAllFbbPricingItems(self, ):
6183
    self.send_getAllFbbPricingItems()
6184
    return self.recv_getAllFbbPricingItems()
10909 vikram.rag 6185
 
10924 vikram.rag 6186
  def send_getAllFbbPricingItems(self, ):
6187
    self._oprot.writeMessageBegin('getAllFbbPricingItems', TMessageType.CALL, self._seqid)
6188
    args = getAllFbbPricingItems_args()
6189
    args.write(self._oprot)
6190
    self._oprot.writeMessageEnd()
6191
    self._oprot.trans.flush()
6192
 
6193
  def recv_getAllFbbPricingItems(self, ):
6194
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6195
    if mtype == TMessageType.EXCEPTION:
6196
      x = TApplicationException()
6197
      x.read(self._iprot)
6198
      self._iprot.readMessageEnd()
6199
      raise x
6200
    result = getAllFbbPricingItems_result()
6201
    result.read(self._iprot)
6202
    self._iprot.readMessageEnd()
6203
    if result.success is not None:
6204
      return result.success
6205
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbPricingItems failed: unknown result");
6206
 
11015 kshitij.so 6207
  def getCountForMarketplaceHistory(self, source, itemId):
6208
    """
6209
    Parameters:
6210
     - source
6211
     - itemId
6212
    """
6213
    self.send_getCountForMarketplaceHistory(source, itemId)
6214
    return self.recv_getCountForMarketplaceHistory()
10924 vikram.rag 6215
 
11015 kshitij.so 6216
  def send_getCountForMarketplaceHistory(self, source, itemId):
6217
    self._oprot.writeMessageBegin('getCountForMarketplaceHistory', TMessageType.CALL, self._seqid)
6218
    args = getCountForMarketplaceHistory_args()
6219
    args.source = source
6220
    args.itemId = itemId
6221
    args.write(self._oprot)
6222
    self._oprot.writeMessageEnd()
6223
    self._oprot.trans.flush()
6224
 
6225
  def recv_getCountForMarketplaceHistory(self, ):
6226
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6227
    if mtype == TMessageType.EXCEPTION:
6228
      x = TApplicationException()
6229
      x.read(self._iprot)
6230
      self._iprot.readMessageEnd()
6231
      raise x
6232
    result = getCountForMarketplaceHistory_result()
6233
    result.read(self._iprot)
6234
    self._iprot.readMessageEnd()
6235
    if result.success is not None:
6236
      return result.success
6237
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForMarketplaceHistory failed: unknown result");
6238
 
6239
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6240
    """
6241
    Parameters:
6242
     - source
6243
     - startDate
6244
     - endDate
6245
     - offset
6246
     - limit
6247
     - itemId
6248
    """
6249
    self.send_getMarketplaceHistoryByDate(source, startDate, endDate, offset, limit, itemId)
6250
    return self.recv_getMarketplaceHistoryByDate()
6251
 
6252
  def send_getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6253
    self._oprot.writeMessageBegin('getMarketplaceHistoryByDate', TMessageType.CALL, self._seqid)
6254
    args = getMarketplaceHistoryByDate_args()
6255
    args.source = source
6256
    args.startDate = startDate
6257
    args.endDate = endDate
6258
    args.offset = offset
6259
    args.limit = limit
6260
    args.itemId = itemId
6261
    args.write(self._oprot)
6262
    self._oprot.writeMessageEnd()
6263
    self._oprot.trans.flush()
6264
 
6265
  def recv_getMarketplaceHistoryByDate(self, ):
6266
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6267
    if mtype == TMessageType.EXCEPTION:
6268
      x = TApplicationException()
6269
      x.read(self._iprot)
6270
      self._iprot.readMessageEnd()
6271
      raise x
6272
    result = getMarketplaceHistoryByDate_result()
6273
    result.read(self._iprot)
6274
    self._iprot.readMessageEnd()
6275
    if result.success is not None:
6276
      return result.success
6277
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistoryByDate failed: unknown result");
6278
 
11531 vikram.rag 6279
  def getPrivateDealDetails(self, item_id):
6280
    """
6281
    Parameters:
6282
     - item_id
6283
    """
6284
    self.send_getPrivateDealDetails(item_id)
6285
    return self.recv_getPrivateDealDetails()
11015 kshitij.so 6286
 
11531 vikram.rag 6287
  def send_getPrivateDealDetails(self, item_id):
6288
    self._oprot.writeMessageBegin('getPrivateDealDetails', TMessageType.CALL, self._seqid)
6289
    args = getPrivateDealDetails_args()
6290
    args.item_id = item_id
6291
    args.write(self._oprot)
6292
    self._oprot.writeMessageEnd()
6293
    self._oprot.trans.flush()
6294
 
6295
  def recv_getPrivateDealDetails(self, ):
6296
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6297
    if mtype == TMessageType.EXCEPTION:
6298
      x = TApplicationException()
6299
      x.read(self._iprot)
6300
      self._iprot.readMessageEnd()
6301
      raise x
6302
    result = getPrivateDealDetails_result()
6303
    result.read(self._iprot)
6304
    self._iprot.readMessageEnd()
6305
    if result.success is not None:
6306
      return result.success
6307
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealDetails failed: unknown result");
6308
 
6309
  def getPrivateDealItems(self, offset, limit):
6310
    """
6311
    Parameters:
6312
     - offset
6313
     - limit
6314
    """
6315
    self.send_getPrivateDealItems(offset, limit)
6316
    return self.recv_getPrivateDealItems()
6317
 
6318
  def send_getPrivateDealItems(self, offset, limit):
6319
    self._oprot.writeMessageBegin('getPrivateDealItems', TMessageType.CALL, self._seqid)
6320
    args = getPrivateDealItems_args()
6321
    args.offset = offset
6322
    args.limit = limit
6323
    args.write(self._oprot)
6324
    self._oprot.writeMessageEnd()
6325
    self._oprot.trans.flush()
6326
 
6327
  def recv_getPrivateDealItems(self, ):
6328
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6329
    if mtype == TMessageType.EXCEPTION:
6330
      x = TApplicationException()
6331
      x.read(self._iprot)
6332
      self._iprot.readMessageEnd()
6333
      raise x
6334
    result = getPrivateDealItems_result()
6335
    result.read(self._iprot)
6336
    self._iprot.readMessageEnd()
6337
    if result.success is not None:
6338
      return result.success
6339
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealItems failed: unknown result");
6340
 
11653 amit.gupta 6341
  def getAllActivePrivateDeals(self, itemIds, daysDelta):
6342
    """
6343
    Parameters:
6344
     - itemIds
6345
     - daysDelta
6346
    """
6347
    self.send_getAllActivePrivateDeals(itemIds, daysDelta)
11592 amit.gupta 6348
    return self.recv_getAllActivePrivateDeals()
6349
 
11653 amit.gupta 6350
  def send_getAllActivePrivateDeals(self, itemIds, daysDelta):
11592 amit.gupta 6351
    self._oprot.writeMessageBegin('getAllActivePrivateDeals', TMessageType.CALL, self._seqid)
6352
    args = getAllActivePrivateDeals_args()
11653 amit.gupta 6353
    args.itemIds = itemIds
6354
    args.daysDelta = daysDelta
11592 amit.gupta 6355
    args.write(self._oprot)
6356
    self._oprot.writeMessageEnd()
6357
    self._oprot.trans.flush()
6358
 
6359
  def recv_getAllActivePrivateDeals(self, ):
6360
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6361
    if mtype == TMessageType.EXCEPTION:
6362
      x = TApplicationException()
6363
      x.read(self._iprot)
6364
      self._iprot.readMessageEnd()
6365
      raise x
6366
    result = getAllActivePrivateDeals_result()
6367
    result.read(self._iprot)
6368
    self._iprot.readMessageEnd()
6369
    if result.success is not None:
6370
      return result.success
6371
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllActivePrivateDeals failed: unknown result");
6372
 
11531 vikram.rag 6373
  def addOrUpdatePrivateDeal(self, privateDeal):
6374
    """
6375
    Parameters:
6376
     - privateDeal
6377
    """
6378
    self.send_addOrUpdatePrivateDeal(privateDeal)
6379
    return self.recv_addOrUpdatePrivateDeal()
6380
 
6381
  def send_addOrUpdatePrivateDeal(self, privateDeal):
6382
    self._oprot.writeMessageBegin('addOrUpdatePrivateDeal', TMessageType.CALL, self._seqid)
6383
    args = addOrUpdatePrivateDeal_args()
6384
    args.privateDeal = privateDeal
6385
    args.write(self._oprot)
6386
    self._oprot.writeMessageEnd()
6387
    self._oprot.trans.flush()
6388
 
6389
  def recv_addOrUpdatePrivateDeal(self, ):
6390
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6391
    if mtype == TMessageType.EXCEPTION:
6392
      x = TApplicationException()
6393
      x.read(self._iprot)
6394
      self._iprot.readMessageEnd()
6395
      raise x
6396
    result = addOrUpdatePrivateDeal_result()
6397
    result.read(self._iprot)
6398
    self._iprot.readMessageEnd()
6399
    if result.success is not None:
6400
      return result.success
6401
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdatePrivateDeal failed: unknown result");
6402
 
11635 vikram.rag 6403
  def getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6404
    """
6405
    Parameters:
6406
     - beginIndex
6407
     - totalItems
6408
    """
6409
    self.send_getPrivateDealsCatalogIds(beginIndex, totalItems)
6410
    return self.recv_getPrivateDealsCatalogIds()
11531 vikram.rag 6411
 
11635 vikram.rag 6412
  def send_getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6413
    self._oprot.writeMessageBegin('getPrivateDealsCatalogIds', TMessageType.CALL, self._seqid)
6414
    args = getPrivateDealsCatalogIds_args()
6415
    args.beginIndex = beginIndex
6416
    args.totalItems = totalItems
6417
    args.write(self._oprot)
6418
    self._oprot.writeMessageEnd()
6419
    self._oprot.trans.flush()
6420
 
6421
  def recv_getPrivateDealsCatalogIds(self, ):
6422
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6423
    if mtype == TMessageType.EXCEPTION:
6424
      x = TApplicationException()
6425
      x.read(self._iprot)
6426
      self._iprot.readMessageEnd()
6427
      raise x
6428
    result = getPrivateDealsCatalogIds_result()
6429
    result.read(self._iprot)
6430
    self._iprot.readMessageEnd()
6431
    if result.success is not None:
6432
      return result.success
6433
    if result.cex is not None:
6434
      raise result.cex
6435
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCatalogIds failed: unknown result");
6436
 
11645 amit.gupta 6437
  def getPrivateDealsCount(self, ):
6438
    self.send_getPrivateDealsCount()
6439
    return self.recv_getPrivateDealsCount()
11635 vikram.rag 6440
 
11645 amit.gupta 6441
  def send_getPrivateDealsCount(self, ):
6442
    self._oprot.writeMessageBegin('getPrivateDealsCount', TMessageType.CALL, self._seqid)
6443
    args = getPrivateDealsCount_args()
6444
    args.write(self._oprot)
6445
    self._oprot.writeMessageEnd()
6446
    self._oprot.trans.flush()
6447
 
6448
  def recv_getPrivateDealsCount(self, ):
6449
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6450
    if mtype == TMessageType.EXCEPTION:
6451
      x = TApplicationException()
6452
      x.read(self._iprot)
6453
      self._iprot.readMessageEnd()
6454
      raise x
6455
    result = getPrivateDealsCount_result()
6456
    result.read(self._iprot)
6457
    self._iprot.readMessageEnd()
6458
    if result.success is not None:
6459
      return result.success
6460
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCount failed: unknown result");
6461
 
11905 kshitij.so 6462
  def getAmazonOutSyncItems(self, item_id):
6463
    """
6464
    Parameters:
6465
     - item_id
6466
    """
6467
    self.send_getAmazonOutSyncItems(item_id)
6468
    return self.recv_getAmazonOutSyncItems()
11645 amit.gupta 6469
 
11905 kshitij.so 6470
  def send_getAmazonOutSyncItems(self, item_id):
6471
    self._oprot.writeMessageBegin('getAmazonOutSyncItems', TMessageType.CALL, self._seqid)
6472
    args = getAmazonOutSyncItems_args()
6473
    args.item_id = item_id
6474
    args.write(self._oprot)
6475
    self._oprot.writeMessageEnd()
6476
    self._oprot.trans.flush()
6477
 
6478
  def recv_getAmazonOutSyncItems(self, ):
6479
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6480
    if mtype == TMessageType.EXCEPTION:
6481
      x = TApplicationException()
6482
      x.read(self._iprot)
6483
      self._iprot.readMessageEnd()
6484
      raise x
6485
    result = getAmazonOutSyncItems_result()
6486
    result.read(self._iprot)
6487
    self._iprot.readMessageEnd()
6488
    if result.success is not None:
6489
      return result.success
6490
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonOutSyncItems failed: unknown result");
6491
 
6492
  def getAllPrivateDealsComparison(self, ):
6493
    self.send_getAllPrivateDealsComparison()
6494
    return self.recv_getAllPrivateDealsComparison()
6495
 
6496
  def send_getAllPrivateDealsComparison(self, ):
6497
    self._oprot.writeMessageBegin('getAllPrivateDealsComparison', TMessageType.CALL, self._seqid)
6498
    args = getAllPrivateDealsComparison_args()
6499
    args.write(self._oprot)
6500
    self._oprot.writeMessageEnd()
6501
    self._oprot.trans.flush()
6502
 
6503
  def recv_getAllPrivateDealsComparison(self, ):
6504
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6505
    if mtype == TMessageType.EXCEPTION:
6506
      x = TApplicationException()
6507
      x.read(self._iprot)
6508
      self._iprot.readMessageEnd()
6509
      raise x
6510
    result = getAllPrivateDealsComparison_result()
6511
    result.read(self._iprot)
6512
    self._iprot.readMessageEnd()
6513
    if result.success is not None:
6514
      return result.success
6515
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllPrivateDealsComparison failed: unknown result");
6516
 
12133 kshitij.so 6517
  def getAllSnapdealMarketplaceItem(self, ):
6518
    self.send_getAllSnapdealMarketplaceItem()
6519
    return self.recv_getAllSnapdealMarketplaceItem()
11905 kshitij.so 6520
 
12133 kshitij.so 6521
  def send_getAllSnapdealMarketplaceItem(self, ):
6522
    self._oprot.writeMessageBegin('getAllSnapdealMarketplaceItem', TMessageType.CALL, self._seqid)
6523
    args = getAllSnapdealMarketplaceItem_args()
6524
    args.write(self._oprot)
6525
    self._oprot.writeMessageEnd()
6526
    self._oprot.trans.flush()
6527
 
6528
  def recv_getAllSnapdealMarketplaceItem(self, ):
6529
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6530
    if mtype == TMessageType.EXCEPTION:
6531
      x = TApplicationException()
6532
      x.read(self._iprot)
6533
      self._iprot.readMessageEnd()
6534
      raise x
6535
    result = getAllSnapdealMarketplaceItem_result()
6536
    result.read(self._iprot)
6537
    self._iprot.readMessageEnd()
6538
    if result.success is not None:
6539
      return result.success
6540
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealMarketplaceItem failed: unknown result");
6541
 
6542
  def getAllFlipkartMarketplaceItem(self, ):
6543
    self.send_getAllFlipkartMarketplaceItem()
6544
    return self.recv_getAllFlipkartMarketplaceItem()
6545
 
6546
  def send_getAllFlipkartMarketplaceItem(self, ):
6547
    self._oprot.writeMessageBegin('getAllFlipkartMarketplaceItem', TMessageType.CALL, self._seqid)
6548
    args = getAllFlipkartMarketplaceItem_args()
6549
    args.write(self._oprot)
6550
    self._oprot.writeMessageEnd()
6551
    self._oprot.trans.flush()
6552
 
6553
  def recv_getAllFlipkartMarketplaceItem(self, ):
6554
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6555
    if mtype == TMessageType.EXCEPTION:
6556
      x = TApplicationException()
6557
      x.read(self._iprot)
6558
      self._iprot.readMessageEnd()
6559
      raise x
6560
    result = getAllFlipkartMarketplaceItem_result()
6561
    result.read(self._iprot)
6562
    self._iprot.readMessageEnd()
6563
    if result.success is not None:
6564
      return result.success
6565
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartMarketplaceItem failed: unknown result");
6566
 
12243 kshitij.so 6567
  def addCompetitorScraping(self, competitorPricingMap):
6568
    """
6569
    Parameters:
6570
     - competitorPricingMap
6571
    """
6572
    self.send_addCompetitorScraping(competitorPricingMap)
6573
    self.recv_addCompetitorScraping()
12133 kshitij.so 6574
 
12243 kshitij.so 6575
  def send_addCompetitorScraping(self, competitorPricingMap):
6576
    self._oprot.writeMessageBegin('addCompetitorScraping', TMessageType.CALL, self._seqid)
6577
    args = addCompetitorScraping_args()
6578
    args.competitorPricingMap = competitorPricingMap
6579
    args.write(self._oprot)
6580
    self._oprot.writeMessageEnd()
6581
    self._oprot.trans.flush()
6582
 
6583
  def recv_addCompetitorScraping(self, ):
6584
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6585
    if mtype == TMessageType.EXCEPTION:
6586
      x = TApplicationException()
6587
      x.read(self._iprot)
6588
      self._iprot.readMessageEnd()
6589
      raise x
6590
    result = addCompetitorScraping_result()
6591
    result.read(self._iprot)
6592
    self._iprot.readMessageEnd()
6593
    return
6594
 
6595
  def getPreviousCompetitorScraping(self, delta):
6596
    """
6597
    Parameters:
6598
     - delta
6599
    """
6600
    self.send_getPreviousCompetitorScraping(delta)
6601
    return self.recv_getPreviousCompetitorScraping()
6602
 
6603
  def send_getPreviousCompetitorScraping(self, delta):
6604
    self._oprot.writeMessageBegin('getPreviousCompetitorScraping', TMessageType.CALL, self._seqid)
6605
    args = getPreviousCompetitorScraping_args()
6606
    args.delta = delta
6607
    args.write(self._oprot)
6608
    self._oprot.writeMessageEnd()
6609
    self._oprot.trans.flush()
6610
 
6611
  def recv_getPreviousCompetitorScraping(self, ):
6612
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6613
    if mtype == TMessageType.EXCEPTION:
6614
      x = TApplicationException()
6615
      x.read(self._iprot)
6616
      self._iprot.readMessageEnd()
6617
      raise x
6618
    result = getPreviousCompetitorScraping_result()
6619
    result.read(self._iprot)
6620
    self._iprot.readMessageEnd()
6621
    if result.success is not None:
6622
      return result.success
6623
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPreviousCompetitorScraping failed: unknown result");
6624
 
12256 kshitij.so 6625
  def getUploadResultById(self, uploadId):
6626
    """
6627
    Parameters:
6628
     - uploadId
6629
    """
6630
    self.send_getUploadResultById(uploadId)
6631
    return self.recv_getUploadResultById()
12243 kshitij.so 6632
 
12256 kshitij.so 6633
  def send_getUploadResultById(self, uploadId):
6634
    self._oprot.writeMessageBegin('getUploadResultById', TMessageType.CALL, self._seqid)
6635
    args = getUploadResultById_args()
6636
    args.uploadId = uploadId
6637
    args.write(self._oprot)
6638
    self._oprot.writeMessageEnd()
6639
    self._oprot.trans.flush()
6640
 
6641
  def recv_getUploadResultById(self, ):
6642
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6643
    if mtype == TMessageType.EXCEPTION:
6644
      x = TApplicationException()
6645
      x.read(self._iprot)
6646
      self._iprot.readMessageEnd()
6647
      raise x
6648
    result = getUploadResultById_result()
6649
    result.read(self._iprot)
6650
    self._iprot.readMessageEnd()
6651
    if result.success is not None:
6652
      return result.success
6653
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUploadResultById failed: unknown result");
6654
 
12363 kshitij.so 6655
  def addAmazonPromotion(self, amazonPromotions):
6656
    """
6657
    Parameters:
6658
     - amazonPromotions
6659
    """
6660
    self.send_addAmazonPromotion(amazonPromotions)
6661
    return self.recv_addAmazonPromotion()
12256 kshitij.so 6662
 
12363 kshitij.so 6663
  def send_addAmazonPromotion(self, amazonPromotions):
6664
    self._oprot.writeMessageBegin('addAmazonPromotion', TMessageType.CALL, self._seqid)
6665
    args = addAmazonPromotion_args()
6666
    args.amazonPromotions = amazonPromotions
6667
    args.write(self._oprot)
6668
    self._oprot.writeMessageEnd()
6669
    self._oprot.trans.flush()
6670
 
6671
  def recv_addAmazonPromotion(self, ):
6672
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6673
    if mtype == TMessageType.EXCEPTION:
6674
      x = TApplicationException()
6675
      x.read(self._iprot)
6676
      self._iprot.readMessageEnd()
6677
      raise x
6678
    result = addAmazonPromotion_result()
6679
    result.read(self._iprot)
6680
    self._iprot.readMessageEnd()
6681
    if result.success is not None:
6682
      return result.success
12947 kshitij.so 6683
    if result.cex is not None:
6684
      raise result.cex
12363 kshitij.so 6685
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAmazonPromotion failed: unknown result");
6686
 
6687
  def getAmazonPromotion(self, startDate, endDate):
6688
    """
6689
    Parameters:
6690
     - startDate
6691
     - endDate
6692
    """
6693
    self.send_getAmazonPromotion(startDate, endDate)
6694
    return self.recv_getAmazonPromotion()
6695
 
6696
  def send_getAmazonPromotion(self, startDate, endDate):
6697
    self._oprot.writeMessageBegin('getAmazonPromotion', TMessageType.CALL, self._seqid)
6698
    args = getAmazonPromotion_args()
6699
    args.startDate = startDate
6700
    args.endDate = endDate
6701
    args.write(self._oprot)
6702
    self._oprot.writeMessageEnd()
6703
    self._oprot.trans.flush()
6704
 
6705
  def recv_getAmazonPromotion(self, ):
6706
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6707
    if mtype == TMessageType.EXCEPTION:
6708
      x = TApplicationException()
6709
      x.read(self._iprot)
6710
      self._iprot.readMessageEnd()
6711
      raise x
6712
    result = getAmazonPromotion_result()
6713
    result.read(self._iprot)
6714
    self._iprot.readMessageEnd()
6715
    if result.success is not None:
6716
      return result.success
6717
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonPromotion failed: unknown result");
6718
 
6719
  def updateAmazonPromotion(self, amazonPromotions):
6720
    """
6721
    Parameters:
6722
     - amazonPromotions
6723
    """
6724
    self.send_updateAmazonPromotion(amazonPromotions)
6725
    return self.recv_updateAmazonPromotion()
6726
 
6727
  def send_updateAmazonPromotion(self, amazonPromotions):
6728
    self._oprot.writeMessageBegin('updateAmazonPromotion', TMessageType.CALL, self._seqid)
6729
    args = updateAmazonPromotion_args()
6730
    args.amazonPromotions = amazonPromotions
6731
    args.write(self._oprot)
6732
    self._oprot.writeMessageEnd()
6733
    self._oprot.trans.flush()
6734
 
6735
  def recv_updateAmazonPromotion(self, ):
6736
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6737
    if mtype == TMessageType.EXCEPTION:
6738
      x = TApplicationException()
6739
      x.read(self._iprot)
6740
      self._iprot.readMessageEnd()
6741
      raise x
6742
    result = updateAmazonPromotion_result()
6743
    result.read(self._iprot)
6744
    self._iprot.readMessageEnd()
6745
    if result.success is not None:
6746
      return result.success
6747
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonPromotion failed: unknown result");
6748
 
12567 amit.gupta 6749
  def markPartiallyActive(self, itemId, categoryId):
6750
    """
6751
    Parameters:
6752
     - itemId
6753
     - categoryId
6754
    """
6755
    self.send_markPartiallyActive(itemId, categoryId)
6756
    return self.recv_markPartiallyActive()
12363 kshitij.so 6757
 
12567 amit.gupta 6758
  def send_markPartiallyActive(self, itemId, categoryId):
6759
    self._oprot.writeMessageBegin('markPartiallyActive', TMessageType.CALL, self._seqid)
6760
    args = markPartiallyActive_args()
6761
    args.itemId = itemId
6762
    args.categoryId = categoryId
6763
    args.write(self._oprot)
6764
    self._oprot.writeMessageEnd()
6765
    self._oprot.trans.flush()
6766
 
6767
  def recv_markPartiallyActive(self, ):
6768
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6769
    if mtype == TMessageType.EXCEPTION:
6770
      x = TApplicationException()
6771
      x.read(self._iprot)
6772
      self._iprot.readMessageEnd()
6773
      raise x
6774
    result = markPartiallyActive_result()
6775
    result.read(self._iprot)
6776
    self._iprot.readMessageEnd()
6777
    if result.success is not None:
6778
      return result.success
6779
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markPartiallyActive failed: unknown result");
6780
 
6781
  def updateItemStateVat(self, itemId, statevat):
6782
    """
6783
    Parameters:
6784
     - itemId
6785
     - statevat
6786
    """
6787
    self.send_updateItemStateVat(itemId, statevat)
6788
    return self.recv_updateItemStateVat()
6789
 
6790
  def send_updateItemStateVat(self, itemId, statevat):
6791
    self._oprot.writeMessageBegin('updateItemStateVat', TMessageType.CALL, self._seqid)
6792
    args = updateItemStateVat_args()
6793
    args.itemId = itemId
6794
    args.statevat = statevat
6795
    args.write(self._oprot)
6796
    self._oprot.writeMessageEnd()
6797
    self._oprot.trans.flush()
6798
 
6799
  def recv_updateItemStateVat(self, ):
6800
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6801
    if mtype == TMessageType.EXCEPTION:
6802
      x = TApplicationException()
6803
      x.read(self._iprot)
6804
      self._iprot.readMessageEnd()
6805
      raise x
6806
    result = updateItemStateVat_result()
6807
    result.read(self._iprot)
6808
    self._iprot.readMessageEnd()
6809
    if result.success is not None:
6810
      return result.success
6811
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemStateVat failed: unknown result");
6812
 
12620 amit.gupta 6813
  def getExAffiliateItemInfo(self, ):
6814
    self.send_getExAffiliateItemInfo()
6815
    return self.recv_getExAffiliateItemInfo()
12567 amit.gupta 6816
 
12620 amit.gupta 6817
  def send_getExAffiliateItemInfo(self, ):
6818
    self._oprot.writeMessageBegin('getExAffiliateItemInfo', TMessageType.CALL, self._seqid)
6819
    args = getExAffiliateItemInfo_args()
6820
    args.write(self._oprot)
6821
    self._oprot.writeMessageEnd()
6822
    self._oprot.trans.flush()
6823
 
6824
  def recv_getExAffiliateItemInfo(self, ):
6825
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6826
    if mtype == TMessageType.EXCEPTION:
6827
      x = TApplicationException()
6828
      x.read(self._iprot)
6829
      self._iprot.readMessageEnd()
6830
      raise x
6831
    result = getExAffiliateItemInfo_result()
6832
    result.read(self._iprot)
6833
    self._iprot.readMessageEnd()
6834
    if result.success is not None:
6835
      return result.success
6836
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getExAffiliateItemInfo failed: unknown result");
6837
 
12888 kshitij.so 6838
  def getAllItemstoListOnFbg(self, ):
6839
    self.send_getAllItemstoListOnFbg()
6840
    return self.recv_getAllItemstoListOnFbg()
12620 amit.gupta 6841
 
12888 kshitij.so 6842
  def send_getAllItemstoListOnFbg(self, ):
6843
    self._oprot.writeMessageBegin('getAllItemstoListOnFbg', TMessageType.CALL, self._seqid)
6844
    args = getAllItemstoListOnFbg_args()
6845
    args.write(self._oprot)
6846
    self._oprot.writeMessageEnd()
6847
    self._oprot.trans.flush()
6848
 
6849
  def recv_getAllItemstoListOnFbg(self, ):
6850
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6851
    if mtype == TMessageType.EXCEPTION:
6852
      x = TApplicationException()
6853
      x.read(self._iprot)
6854
      self._iprot.readMessageEnd()
6855
      raise x
6856
    result = getAllItemstoListOnFbg_result()
6857
    result.read(self._iprot)
6858
    self._iprot.readMessageEnd()
6859
    if result.success is not None:
6860
      return result.success
6861
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFbg failed: unknown result");
6862
 
12892 kshitij.so 6863
  def getAllFbgListedItems(self, ):
6864
    self.send_getAllFbgListedItems()
6865
    return self.recv_getAllFbgListedItems()
12888 kshitij.so 6866
 
12892 kshitij.so 6867
  def send_getAllFbgListedItems(self, ):
6868
    self._oprot.writeMessageBegin('getAllFbgListedItems', TMessageType.CALL, self._seqid)
6869
    args = getAllFbgListedItems_args()
6870
    args.write(self._oprot)
6871
    self._oprot.writeMessageEnd()
6872
    self._oprot.trans.flush()
6873
 
6874
  def recv_getAllFbgListedItems(self, ):
6875
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6876
    if mtype == TMessageType.EXCEPTION:
6877
      x = TApplicationException()
6878
      x.read(self._iprot)
6879
      self._iprot.readMessageEnd()
6880
      raise x
6881
    result = getAllFbgListedItems_result()
6882
    result.read(self._iprot)
6883
    self._iprot.readMessageEnd()
6884
    if result.success is not None:
6885
      return result.success
6886
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbgListedItems failed: unknown result");
6887
 
13136 amit.gupta 6888
  def checkServices(self, lines):
6889
    """
6890
    Parameters:
6891
     - lines
6892
    """
6893
    self.send_checkServices(lines)
6894
    return self.recv_checkServices()
12892 kshitij.so 6895
 
13136 amit.gupta 6896
  def send_checkServices(self, lines):
6897
    self._oprot.writeMessageBegin('checkServices', TMessageType.CALL, self._seqid)
6898
    args = checkServices_args()
6899
    args.lines = lines
6900
    args.write(self._oprot)
6901
    self._oprot.writeMessageEnd()
6902
    self._oprot.trans.flush()
6903
 
6904
  def recv_checkServices(self, ):
6905
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6906
    if mtype == TMessageType.EXCEPTION:
6907
      x = TApplicationException()
6908
      x.read(self._iprot)
6909
      self._iprot.readMessageEnd()
6910
      raise x
6911
    result = checkServices_result()
6912
    result.read(self._iprot)
6913
    self._iprot.readMessageEnd()
6914
    if result.success is not None:
6915
      return result.success
6916
    if result.cex is not None:
6917
      raise result.cex
6918
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkServices failed: unknown result");
6919
 
13709 manish.sha 6920
  def addHsItem(self, hsItems):
6921
    """
6922
    Parameters:
6923
     - hsItems
6924
    """
6925
    self.send_addHsItem(hsItems)
6926
    self.recv_addHsItem()
13136 amit.gupta 6927
 
13709 manish.sha 6928
  def send_addHsItem(self, hsItems):
6929
    self._oprot.writeMessageBegin('addHsItem', TMessageType.CALL, self._seqid)
6930
    args = addHsItem_args()
6931
    args.hsItems = hsItems
6932
    args.write(self._oprot)
6933
    self._oprot.writeMessageEnd()
6934
    self._oprot.trans.flush()
6935
 
6936
  def recv_addHsItem(self, ):
6937
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6938
    if mtype == TMessageType.EXCEPTION:
6939
      x = TApplicationException()
6940
      x.read(self._iprot)
6941
      self._iprot.readMessageEnd()
6942
      raise x
6943
    result = addHsItem_result()
6944
    result.read(self._iprot)
6945
    self._iprot.readMessageEnd()
6946
    return
6947
 
6948
  def getHsItem(self, hsItemId):
6949
    """
6950
    Parameters:
6951
     - hsItemId
6952
    """
6953
    self.send_getHsItem(hsItemId)
6954
    return self.recv_getHsItem()
6955
 
6956
  def send_getHsItem(self, hsItemId):
6957
    self._oprot.writeMessageBegin('getHsItem', TMessageType.CALL, self._seqid)
6958
    args = getHsItem_args()
6959
    args.hsItemId = hsItemId
6960
    args.write(self._oprot)
6961
    self._oprot.writeMessageEnd()
6962
    self._oprot.trans.flush()
6963
 
6964
  def recv_getHsItem(self, ):
6965
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6966
    if mtype == TMessageType.EXCEPTION:
6967
      x = TApplicationException()
6968
      x.read(self._iprot)
6969
      self._iprot.readMessageEnd()
6970
      raise x
6971
    result = getHsItem_result()
6972
    result.read(self._iprot)
6973
    self._iprot.readMessageEnd()
6974
    if result.success is not None:
6975
      return result.success
6976
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getHsItem failed: unknown result");
6977
 
6978
  def updateHsItem(self, hsItem):
6979
    """
6980
    Parameters:
6981
     - hsItem
6982
    """
6983
    self.send_updateHsItem(hsItem)
6984
    self.recv_updateHsItem()
6985
 
6986
  def send_updateHsItem(self, hsItem):
6987
    self._oprot.writeMessageBegin('updateHsItem', TMessageType.CALL, self._seqid)
6988
    args = updateHsItem_args()
6989
    args.hsItem = hsItem
6990
    args.write(self._oprot)
6991
    self._oprot.writeMessageEnd()
6992
    self._oprot.trans.flush()
6993
 
6994
  def recv_updateHsItem(self, ):
6995
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6996
    if mtype == TMessageType.EXCEPTION:
6997
      x = TApplicationException()
6998
      x.read(self._iprot)
6999
      self._iprot.readMessageEnd()
7000
      raise x
7001
    result = updateHsItem_result()
7002
    result.read(self._iprot)
7003
    self._iprot.readMessageEnd()
7004
    return
7005
 
14182 kshitij.so 7006
  def getPricingForDtr(self, catalogItemId):
7007
    """
7008
    Parameters:
7009
     - catalogItemId
7010
    """
7011
    self.send_getPricingForDtr(catalogItemId)
7012
    return self.recv_getPricingForDtr()
13709 manish.sha 7013
 
14182 kshitij.so 7014
  def send_getPricingForDtr(self, catalogItemId):
7015
    self._oprot.writeMessageBegin('getPricingForDtr', TMessageType.CALL, self._seqid)
7016
    args = getPricingForDtr_args()
7017
    args.catalogItemId = catalogItemId
7018
    args.write(self._oprot)
7019
    self._oprot.writeMessageEnd()
7020
    self._oprot.trans.flush()
7021
 
7022
  def recv_getPricingForDtr(self, ):
7023
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7024
    if mtype == TMessageType.EXCEPTION:
7025
      x = TApplicationException()
7026
      x.read(self._iprot)
7027
      self._iprot.readMessageEnd()
7028
      raise x
7029
    result = getPricingForDtr_result()
7030
    result.read(self._iprot)
7031
    self._iprot.readMessageEnd()
7032
    if result.success is not None:
7033
      return result.success
7034
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPricingForDtr failed: unknown result");
7035
 
14362 kshitij.so 7036
  def getLatestPricing(self, skuBundleId, source_id):
7037
    """
7038
    Parameters:
7039
     - skuBundleId
7040
     - source_id
7041
    """
7042
    self.send_getLatestPricing(skuBundleId, source_id)
7043
    return self.recv_getLatestPricing()
14182 kshitij.so 7044
 
14362 kshitij.so 7045
  def send_getLatestPricing(self, skuBundleId, source_id):
7046
    self._oprot.writeMessageBegin('getLatestPricing', TMessageType.CALL, self._seqid)
7047
    args = getLatestPricing_args()
7048
    args.skuBundleId = skuBundleId
7049
    args.source_id = source_id
7050
    args.write(self._oprot)
7051
    self._oprot.writeMessageEnd()
7052
    self._oprot.trans.flush()
7053
 
7054
  def recv_getLatestPricing(self, ):
7055
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
7056
    if mtype == TMessageType.EXCEPTION:
7057
      x = TApplicationException()
7058
      x.read(self._iprot)
7059
      self._iprot.readMessageEnd()
7060
      raise x
7061
    result = getLatestPricing_result()
7062
    result.read(self._iprot)
7063
    self._iprot.readMessageEnd()
7064
    if result.success is not None:
7065
      return result.success
7066
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestPricing failed: unknown result");
7067
 
7068
 
5944 mandeep.dh 7069
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
7070
  def __init__(self, handler):
7071
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
7072
    self._processMap["addItem"] = Processor.process_addItem
7073
    self._processMap["updateItem"] = Processor.process_updateItem
7074
    self._processMap["isActive"] = Processor.process_isActive
7438 amit.gupta 7075
    self._processMap["getItemsStatus"] = Processor.process_getItemsStatus
5944 mandeep.dh 7076
    self._processMap["getItemStatusDescription"] = Processor.process_getItemStatusDescription
7077
    self._processMap["startItemOn"] = Processor.process_startItemOn
7078
    self._processMap["retireItemOn"] = Processor.process_retireItemOn
7079
    self._processMap["changeItemStatus"] = Processor.process_changeItemStatus
7080
    self._processMap["getItem"] = Processor.process_getItem
13493 amit.gupta 7081
    self._processMap["getItems"] = Processor.process_getItems
5944 mandeep.dh 7082
    self._processMap["getItemsByCatalogId"] = Processor.process_getItemsByCatalogId
7083
    self._processMap["getValidItemsByCatalogId"] = Processor.process_getValidItemsByCatalogId
7084
    self._processMap["getAllItems"] = Processor.process_getAllItems
7085
    self._processMap["getAllItemsByStatus"] = Processor.process_getAllItemsByStatus
7086
    self._processMap["markItemAsContentComplete"] = Processor.process_markItemAsContentComplete
12567 amit.gupta 7087
    self._processMap["getVatRates"] = Processor.process_getVatRates
5944 mandeep.dh 7088
    self._processMap["getAllItemsInRange"] = Processor.process_getAllItemsInRange
7089
    self._processMap["getAllItemsByStatusInRange"] = Processor.process_getAllItemsByStatusInRange
7090
    self._processMap["getItemCountByStatus"] = Processor.process_getItemCountByStatus
7091
    self._processMap["getBestSellers"] = Processor.process_getBestSellers
7092
    self._processMap["getBestSellersCatalogIds"] = Processor.process_getBestSellersCatalogIds
7093
    self._processMap["getBestSellersCount"] = Processor.process_getBestSellersCount
7094
    self._processMap["getBestDeals"] = Processor.process_getBestDeals
7095
    self._processMap["getBestDealsCatalogIds"] = Processor.process_getBestDealsCatalogIds
7096
    self._processMap["getBestDealsCount"] = Processor.process_getBestDealsCount
7097
    self._processMap["getComingSoon"] = Processor.process_getComingSoon
7098
    self._processMap["getComingSoonCatalogIds"] = Processor.process_getComingSoonCatalogIds
7099
    self._processMap["getComingSoonCount"] = Processor.process_getComingSoonCount
7100
    self._processMap["getLatestArrivals"] = Processor.process_getLatestArrivals
7101
    self._processMap["getLatestArrivalsCatalogIds"] = Processor.process_getLatestArrivalsCatalogIds
7102
    self._processMap["getLatestArrivalsCount"] = Processor.process_getLatestArrivalsCount
7103
    self._processMap["generateNewEntityID"] = Processor.process_generateNewEntityID
7104
    self._processMap["addCategory"] = Processor.process_addCategory
7105
    self._processMap["getCategory"] = Processor.process_getCategory
7106
    self._processMap["getAllCategories"] = Processor.process_getAllCategories
7107
    self._processMap["getAllSimilarItems"] = Processor.process_getAllSimilarItems
7108
    self._processMap["addSimilarItem"] = Processor.process_addSimilarItem
6512 kshitij.so 7109
    self._processMap["addTag"] = Processor.process_addTag
7110
    self._processMap["deleteEntityTag"] = Processor.process_deleteEntityTag
7111
    self._processMap["deleteTag"] = Processor.process_deleteTag
7112
    self._processMap["getAllTags"] = Processor.process_getAllTags
7113
    self._processMap["getAllEntitiesByTagName"] = Processor.process_getAllEntitiesByTagName
6845 amit.gupta 7114
    self._processMap["getAllEntityTags"] = Processor.process_getAllEntityTags
6850 kshitij.so 7115
    self._processMap["addBanner"] = Processor.process_addBanner
8579 kshitij.so 7116
    self._processMap["updateBanner"] = Processor.process_updateBanner
6850 kshitij.so 7117
    self._processMap["getAllBanners"] = Processor.process_getAllBanners
7118
    self._processMap["deleteBanner"] = Processor.process_deleteBanner
7119
    self._processMap["getBannerDetails"] = Processor.process_getBannerDetails
7120
    self._processMap["getActiveBanners"] = Processor.process_getActiveBanners
6849 kshitij.so 7121
    self._processMap["addBannerMap"] = Processor.process_addBannerMap
8579 kshitij.so 7122
    self._processMap["updateBannerMap"] = Processor.process_updateBannerMap
6849 kshitij.so 7123
    self._processMap["deleteBannerMap"] = Processor.process_deleteBannerMap
7124
    self._processMap["getBannerMapDetails"] = Processor.process_getBannerMapDetails
8579 kshitij.so 7125
    self._processMap["addBannerUri"] = Processor.process_addBannerUri
7126
    self._processMap["getUriMapping"] = Processor.process_getUriMapping
7127
    self._processMap["addCampaign"] = Processor.process_addCampaign
7128
    self._processMap["getCampaigns"] = Processor.process_getCampaigns
7129
    self._processMap["deleteCampaign"] = Processor.process_deleteCampaign
7130
    self._processMap["getAllCampaigns"] = Processor.process_getAllCampaigns
9155 kshitij.so 7131
    self._processMap["getActiveBannersForMobileSite"] = Processor.process_getActiveBannersForMobileSite
5944 mandeep.dh 7132
    self._processMap["deleteSimilarItem"] = Processor.process_deleteSimilarItem
7133
    self._processMap["checkSimilarItem"] = Processor.process_checkSimilarItem
7134
    self._processMap["validateRiskyStatus"] = Processor.process_validateRiskyStatus
7135
    self._processMap["changeItemRiskyFlag"] = Processor.process_changeItemRiskyFlag
7136
    self._processMap["getItemsByRiskyFlag"] = Processor.process_getItemsByRiskyFlag
7137
    self._processMap["getItemsForMasterSheet"] = Processor.process_getItemsForMasterSheet
7138
    self._processMap["getSimilarItemsCatalogIds"] = Processor.process_getSimilarItemsCatalogIds
7139
    self._processMap["addProductNotification"] = Processor.process_addProductNotification
7140
    self._processMap["sendProductNotifications"] = Processor.process_sendProductNotifications
7141
    self._processMap["getAllBrandsByCategory"] = Processor.process_getAllBrandsByCategory
7142
    self._processMap["getAllBrands"] = Processor.process_getAllBrands
7143
    self._processMap["getAllSources"] = Processor.process_getAllSources
7144
    self._processMap["getItemPricingBySource"] = Processor.process_getItemPricingBySource
7145
    self._processMap["addSourceItemPricing"] = Processor.process_addSourceItemPricing
7146
    self._processMap["getAllSourcePricing"] = Processor.process_getAllSourcePricing
7147
    self._processMap["getItemForSource"] = Processor.process_getItemForSource
7148
    self._processMap["searchItemsInRange"] = Processor.process_searchItemsInRange
7149
    self._processMap["getSearchResultCount"] = Processor.process_getSearchResultCount
7150
    self._processMap["getProductNotifications"] = Processor.process_getProductNotifications
7151
    self._processMap["getProductNotificationRequestCount"] = Processor.process_getProductNotificationRequestCount
7152
    self._processMap["addAuthorizationLog"] = Processor.process_addAuthorizationLog
7153
    self._processMap["addupdateVoucherForItem"] = Processor.process_addupdateVoucherForItem
7154
    self._processMap["deleteVoucherForItem"] = Processor.process_deleteVoucherForItem
7155
    self._processMap["getVoucherAmount"] = Processor.process_getVoucherAmount
7156
    self._processMap["getAllItemVouchers"] = Processor.process_getAllItemVouchers
7157
    self._processMap["isValidCatalogItemId"] = Processor.process_isValidCatalogItemId
6039 amit.gupta 7158
    self._processMap["getVatPercentageForItem"] = Processor.process_getVatPercentageForItem
7159
    self._processMap["getVatAmountForItem"] = Processor.process_getVatAmountForItem
6531 vikram.rag 7160
    self._processMap["getAllIgnoredInventoryUpdateItemsList"] = Processor.process_getAllIgnoredInventoryUpdateItemsList
6821 amar.kumar 7161
    self._processMap["getAllAliveItems"] = Processor.process_getAllAliveItems
6805 anupam.sin 7162
    self._processMap["getInsuranceAmount"] = Processor.process_getInsuranceAmount
7163
    self._processMap["getInsurer"] = Processor.process_getInsurer
6838 vikram.rag 7164
    self._processMap["getAllInsurers"] = Processor.process_getAllInsurers
6962 rajveer 7165
    self._processMap["updateInsuranceDeclaredAmount"] = Processor.process_updateInsuranceDeclaredAmount
7190 amar.kumar 7166
    self._processMap["getFreebieForItem"] = Processor.process_getFreebieForItem
7167
    self._processMap["addOrUpdateFreebieForItem"] = Processor.process_addOrUpdateFreebieForItem
7272 amit.gupta 7168
    self._processMap["addOrUpdateBrandInfo"] = Processor.process_addOrUpdateBrandInfo
7169
    self._processMap["getBrandInfo"] = Processor.process_getBrandInfo
7256 rajveer 7170
    self._processMap["getStorePricing"] = Processor.process_getStorePricing
7306 rajveer 7171
    self._processMap["getStorePricings"] = Processor.process_getStorePricings
7265 rajveer 7172
    self._processMap["updateStorePricing"] = Processor.process_updateStorePricing
7281 kshitij.so 7173
    self._processMap["getAllAmazonListedItems"] = Processor.process_getAllAmazonListedItems
8619 kshitij.so 7174
    self._processMap["searchAmazonItems"] = Processor.process_searchAmazonItems
7175
    self._processMap["getAmazonSearchResultCount"] = Processor.process_getAmazonSearchResultCount
7176
    self._processMap["getCountForAmazonlistedItems"] = Processor.process_getCountForAmazonlistedItems
7281 kshitij.so 7177
    self._processMap["getAmazonItemDetails"] = Processor.process_getAmazonItemDetails
7178
    self._processMap["updateAmazonItemDetails"] = Processor.process_updateAmazonItemDetails
7179
    self._processMap["addAmazonItem"] = Processor.process_addAmazonItem
7291 vikram.rag 7180
    self._processMap["getAsinItems"] = Processor.process_getAsinItems
7181
    self._processMap["getAllFbaListedItems"] = Processor.process_getAllFbaListedItems
7182
    self._processMap["getAllNonFbaListedItems"] = Processor.process_getAllNonFbaListedItems
7460 kshitij.so 7183
    self._processMap["updateItemInventory"] = Processor.process_updateItemInventory
7770 kshitij.so 7184
    self._processMap["updateTimestampForAmazonFeeds"] = Processor.process_updateTimestampForAmazonFeeds
7897 amar.kumar 7185
    self._processMap["getAllParentCategories"] = Processor.process_getAllParentCategories
7977 kshitij.so 7186
    self._processMap["addPageViewEvent"] = Processor.process_addPageViewEvent
7187
    self._processMap["addCartEvent"] = Processor.process_addCartEvent
8182 amar.kumar 7188
    self._processMap["addEbayItem"] = Processor.process_addEbayItem
7189
    self._processMap["getEbayItem"] = Processor.process_getEbayItem
7190
    self._processMap["updateEbayItem"] = Processor.process_updateEbayItem
8139 kshitij.so 7191
    self._processMap["getAmazonListedItems"] = Processor.process_getAmazonListedItems
8168 kshitij.so 7192
    self._processMap["updateAmazonAttributesInBulk"] = Processor.process_updateAmazonAttributesInBulk
8379 vikram.rag 7193
    self._processMap["getAllItemstoListOnFba"] = Processor.process_getAllItemstoListOnFba
7194
    self._processMap["getAllItemstoListOnNonFba"] = Processor.process_getAllItemstoListOnNonFba
8619 kshitij.so 7195
    self._processMap["updateAsin"] = Processor.process_updateAsin
8739 vikram.rag 7196
    self._processMap["addOrUpdateSnapdealItem"] = Processor.process_addOrUpdateSnapdealItem
7197
    self._processMap["getSnapdealItem"] = Processor.process_getSnapdealItem
9242 kshitij.so 7198
    self._processMap["getSnapdealItemDetails"] = Processor.process_getSnapdealItemDetails
8739 vikram.rag 7199
    self._processMap["getAllSnapdealItems"] = Processor.process_getAllSnapdealItems
9242 kshitij.so 7200
    self._processMap["getSnapdealItems"] = Processor.process_getSnapdealItems
7201
    self._processMap["searchSnapdealItems"] = Processor.process_searchSnapdealItems
7202
    self._processMap["getCountForSnapdealItems"] = Processor.process_getCountForSnapdealItems
7203
    self._processMap["getSnapdealSearchResultCount"] = Processor.process_getSnapdealSearchResultCount
9299 kshitij.so 7204
    self._processMap["getPrefferedInsurerForItem"] = Processor.process_getPrefferedInsurerForItem
9456 vikram.rag 7205
    self._processMap["getSnapdealItembySkuAtSnapdeal"] = Processor.process_getSnapdealItembySkuAtSnapdeal
9621 manish.sha 7206
    self._processMap["getProductFeedSubmit"] = Processor.process_getProductFeedSubmit
7207
    self._processMap["addProductFeedSubmit"] = Processor.process_addProductFeedSubmit
7208
    self._processMap["updateProductFeedSubmit"] = Processor.process_updateProductFeedSubmit
7209
    self._processMap["deleteProductFeedSubmit"] = Processor.process_deleteProductFeedSubmit
7210
    self._processMap["getAllProductFeedSubmit"] = Processor.process_getAllProductFeedSubmit
9724 kshitij.so 7211
    self._processMap["getMarketplacedetailsForItem"] = Processor.process_getMarketplacedetailsForItem
7212
    self._processMap["updateMarketplaceAttributesForItem"] = Processor.process_updateMarketplaceAttributesForItem
9779 kshitij.so 7213
    self._processMap["getCostingForMarketplace"] = Processor.process_getCostingForMarketplace
9776 vikram.rag 7214
    self._processMap["getMarketPlaceItemsForPriceUpdate"] = Processor.process_getMarketPlaceItemsForPriceUpdate
7215
    self._processMap["updateMarketPlacePriceUpdateStatus"] = Processor.process_updateMarketPlacePriceUpdateStatus
9861 rajveer 7216
    self._processMap["updateItemHoldInventory"] = Processor.process_updateItemHoldInventory
9895 vikram.rag 7217
    self._processMap["updateNlcAtMarketplaces"] = Processor.process_updateNlcAtMarketplaces
9945 vikram.rag 7218
    self._processMap["getAllFlipkartItems"] = Processor.process_getAllFlipkartItems
10097 kshitij.so 7219
    self._processMap["addOrUpdateFlipkartItem"] = Processor.process_addOrUpdateFlipkartItem
7220
    self._processMap["getFlipkartItem"] = Processor.process_getFlipkartItem
7221
    self._processMap["getFlipkartItemDetails"] = Processor.process_getFlipkartItemDetails
7222
    self._processMap["getFlipkartItems"] = Processor.process_getFlipkartItems
7223
    self._processMap["searchFlipkartItems"] = Processor.process_searchFlipkartItems
7224
    self._processMap["getCountForFlipkartItems"] = Processor.process_getCountForFlipkartItems
7225
    self._processMap["getFlipkartSearchResultCount"] = Processor.process_getFlipkartSearchResultCount
7226
    self._processMap["getAllFkItems"] = Processor.process_getAllFkItems
10140 vikram.rag 7227
    self._processMap["getFlipkartItemBySkyAtFlipkart"] = Processor.process_getFlipkartItemBySkyAtFlipkart
11015 kshitij.so 7228
    self._processMap["getMarketplaceHistory"] = Processor.process_getMarketplaceHistory
10909 vikram.rag 7229
    self._processMap["getAllFbbListedItems"] = Processor.process_getAllFbbListedItems
10924 vikram.rag 7230
    self._processMap["getAllFbbPricingItems"] = Processor.process_getAllFbbPricingItems
11015 kshitij.so 7231
    self._processMap["getCountForMarketplaceHistory"] = Processor.process_getCountForMarketplaceHistory
7232
    self._processMap["getMarketplaceHistoryByDate"] = Processor.process_getMarketplaceHistoryByDate
11531 vikram.rag 7233
    self._processMap["getPrivateDealDetails"] = Processor.process_getPrivateDealDetails
7234
    self._processMap["getPrivateDealItems"] = Processor.process_getPrivateDealItems
11592 amit.gupta 7235
    self._processMap["getAllActivePrivateDeals"] = Processor.process_getAllActivePrivateDeals
11531 vikram.rag 7236
    self._processMap["addOrUpdatePrivateDeal"] = Processor.process_addOrUpdatePrivateDeal
11635 vikram.rag 7237
    self._processMap["getPrivateDealsCatalogIds"] = Processor.process_getPrivateDealsCatalogIds
11645 amit.gupta 7238
    self._processMap["getPrivateDealsCount"] = Processor.process_getPrivateDealsCount
11905 kshitij.so 7239
    self._processMap["getAmazonOutSyncItems"] = Processor.process_getAmazonOutSyncItems
7240
    self._processMap["getAllPrivateDealsComparison"] = Processor.process_getAllPrivateDealsComparison
12133 kshitij.so 7241
    self._processMap["getAllSnapdealMarketplaceItem"] = Processor.process_getAllSnapdealMarketplaceItem
7242
    self._processMap["getAllFlipkartMarketplaceItem"] = Processor.process_getAllFlipkartMarketplaceItem
12243 kshitij.so 7243
    self._processMap["addCompetitorScraping"] = Processor.process_addCompetitorScraping
7244
    self._processMap["getPreviousCompetitorScraping"] = Processor.process_getPreviousCompetitorScraping
12256 kshitij.so 7245
    self._processMap["getUploadResultById"] = Processor.process_getUploadResultById
12363 kshitij.so 7246
    self._processMap["addAmazonPromotion"] = Processor.process_addAmazonPromotion
7247
    self._processMap["getAmazonPromotion"] = Processor.process_getAmazonPromotion
7248
    self._processMap["updateAmazonPromotion"] = Processor.process_updateAmazonPromotion
12567 amit.gupta 7249
    self._processMap["markPartiallyActive"] = Processor.process_markPartiallyActive
7250
    self._processMap["updateItemStateVat"] = Processor.process_updateItemStateVat
12620 amit.gupta 7251
    self._processMap["getExAffiliateItemInfo"] = Processor.process_getExAffiliateItemInfo
12888 kshitij.so 7252
    self._processMap["getAllItemstoListOnFbg"] = Processor.process_getAllItemstoListOnFbg
12892 kshitij.so 7253
    self._processMap["getAllFbgListedItems"] = Processor.process_getAllFbgListedItems
13136 amit.gupta 7254
    self._processMap["checkServices"] = Processor.process_checkServices
13709 manish.sha 7255
    self._processMap["addHsItem"] = Processor.process_addHsItem
7256
    self._processMap["getHsItem"] = Processor.process_getHsItem
7257
    self._processMap["updateHsItem"] = Processor.process_updateHsItem
14182 kshitij.so 7258
    self._processMap["getPricingForDtr"] = Processor.process_getPricingForDtr
14362 kshitij.so 7259
    self._processMap["getLatestPricing"] = Processor.process_getLatestPricing
5944 mandeep.dh 7260
 
7261
  def process(self, iprot, oprot):
7262
    (name, type, seqid) = iprot.readMessageBegin()
7263
    if name not in self._processMap:
7264
      iprot.skip(TType.STRUCT)
7265
      iprot.readMessageEnd()
7266
      x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
7267
      oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
7268
      x.write(oprot)
7269
      oprot.writeMessageEnd()
7270
      oprot.trans.flush()
7271
      return
7272
    else:
7273
      self._processMap[name](self, seqid, iprot, oprot)
7274
    return True
7275
 
7276
  def process_addItem(self, seqid, iprot, oprot):
7277
    args = addItem_args()
7278
    args.read(iprot)
7279
    iprot.readMessageEnd()
7280
    result = addItem_result()
7281
    try:
7282
      result.success = self._handler.addItem(args.item)
7283
    except CatalogServiceException, cex:
7284
      result.cex = cex
7285
    oprot.writeMessageBegin("addItem", TMessageType.REPLY, seqid)
7286
    result.write(oprot)
7287
    oprot.writeMessageEnd()
7288
    oprot.trans.flush()
7289
 
7290
  def process_updateItem(self, seqid, iprot, oprot):
7291
    args = updateItem_args()
7292
    args.read(iprot)
7293
    iprot.readMessageEnd()
7294
    result = updateItem_result()
7295
    try:
7296
      result.success = self._handler.updateItem(args.item)
7297
    except CatalogServiceException, cex:
7298
      result.cex = cex
7299
    oprot.writeMessageBegin("updateItem", TMessageType.REPLY, seqid)
7300
    result.write(oprot)
7301
    oprot.writeMessageEnd()
7302
    oprot.trans.flush()
7303
 
7304
  def process_isActive(self, seqid, iprot, oprot):
7305
    args = isActive_args()
7306
    args.read(iprot)
7307
    iprot.readMessageEnd()
7308
    result = isActive_result()
7309
    try:
7310
      result.success = self._handler.isActive(args.itemId)
7311
    except CatalogServiceException, isex:
7312
      result.isex = isex
7313
    oprot.writeMessageBegin("isActive", TMessageType.REPLY, seqid)
7314
    result.write(oprot)
7315
    oprot.writeMessageEnd()
7316
    oprot.trans.flush()
7317
 
7438 amit.gupta 7318
  def process_getItemsStatus(self, seqid, iprot, oprot):
7319
    args = getItemsStatus_args()
7320
    args.read(iprot)
7321
    iprot.readMessageEnd()
7322
    result = getItemsStatus_result()
7323
    try:
7324
      result.success = self._handler.getItemsStatus(args.itemIds)
7325
    except CatalogServiceException, isex:
7326
      result.isex = isex
7327
    oprot.writeMessageBegin("getItemsStatus", TMessageType.REPLY, seqid)
7328
    result.write(oprot)
7329
    oprot.writeMessageEnd()
7330
    oprot.trans.flush()
7331
 
5944 mandeep.dh 7332
  def process_getItemStatusDescription(self, seqid, iprot, oprot):
7333
    args = getItemStatusDescription_args()
7334
    args.read(iprot)
7335
    iprot.readMessageEnd()
7336
    result = getItemStatusDescription_result()
7337
    try:
7338
      result.success = self._handler.getItemStatusDescription(args.itemId)
7339
    except CatalogServiceException, isex:
7340
      result.isex = isex
7341
    oprot.writeMessageBegin("getItemStatusDescription", TMessageType.REPLY, seqid)
7342
    result.write(oprot)
7343
    oprot.writeMessageEnd()
7344
    oprot.trans.flush()
7345
 
7346
  def process_startItemOn(self, seqid, iprot, oprot):
7347
    args = startItemOn_args()
7348
    args.read(iprot)
7349
    iprot.readMessageEnd()
7350
    result = startItemOn_result()
7351
    try:
7352
      self._handler.startItemOn(args.item_id, args.timestamp)
7353
    except CatalogServiceException, cex:
7354
      result.cex = cex
7355
    oprot.writeMessageBegin("startItemOn", TMessageType.REPLY, seqid)
7356
    result.write(oprot)
7357
    oprot.writeMessageEnd()
7358
    oprot.trans.flush()
7359
 
7360
  def process_retireItemOn(self, seqid, iprot, oprot):
7361
    args = retireItemOn_args()
7362
    args.read(iprot)
7363
    iprot.readMessageEnd()
7364
    result = retireItemOn_result()
7365
    try:
7366
      self._handler.retireItemOn(args.item_id, args.timestamp)
7367
    except CatalogServiceException, cex:
7368
      result.cex = cex
7369
    oprot.writeMessageBegin("retireItemOn", TMessageType.REPLY, seqid)
7370
    result.write(oprot)
7371
    oprot.writeMessageEnd()
7372
    oprot.trans.flush()
7373
 
7374
  def process_changeItemStatus(self, seqid, iprot, oprot):
7375
    args = changeItemStatus_args()
7376
    args.read(iprot)
7377
    iprot.readMessageEnd()
7378
    result = changeItemStatus_result()
7379
    try:
7380
      self._handler.changeItemStatus(args.item_id, args.timestamp, args.newstatus)
7381
    except CatalogServiceException, cex:
7382
      result.cex = cex
7383
    oprot.writeMessageBegin("changeItemStatus", TMessageType.REPLY, seqid)
7384
    result.write(oprot)
7385
    oprot.writeMessageEnd()
7386
    oprot.trans.flush()
7387
 
7388
  def process_getItem(self, seqid, iprot, oprot):
7389
    args = getItem_args()
7390
    args.read(iprot)
7391
    iprot.readMessageEnd()
7392
    result = getItem_result()
7393
    try:
7394
      result.success = self._handler.getItem(args.item_id)
7395
    except CatalogServiceException, cex:
7396
      result.cex = cex
7397
    oprot.writeMessageBegin("getItem", TMessageType.REPLY, seqid)
7398
    result.write(oprot)
7399
    oprot.writeMessageEnd()
7400
    oprot.trans.flush()
7401
 
13493 amit.gupta 7402
  def process_getItems(self, seqid, iprot, oprot):
7403
    args = getItems_args()
7404
    args.read(iprot)
7405
    iprot.readMessageEnd()
7406
    result = getItems_result()
7407
    try:
7408
      result.success = self._handler.getItems(args.item_ids)
7409
    except CatalogServiceException, cex:
7410
      result.cex = cex
7411
    oprot.writeMessageBegin("getItems", TMessageType.REPLY, seqid)
7412
    result.write(oprot)
7413
    oprot.writeMessageEnd()
7414
    oprot.trans.flush()
7415
 
5944 mandeep.dh 7416
  def process_getItemsByCatalogId(self, seqid, iprot, oprot):
7417
    args = getItemsByCatalogId_args()
7418
    args.read(iprot)
7419
    iprot.readMessageEnd()
7420
    result = getItemsByCatalogId_result()
7421
    try:
7422
      result.success = self._handler.getItemsByCatalogId(args.catalog_item_id)
7423
    except CatalogServiceException, cex:
7424
      result.cex = cex
7425
    oprot.writeMessageBegin("getItemsByCatalogId", TMessageType.REPLY, seqid)
7426
    result.write(oprot)
7427
    oprot.writeMessageEnd()
7428
    oprot.trans.flush()
7429
 
7430
  def process_getValidItemsByCatalogId(self, seqid, iprot, oprot):
7431
    args = getValidItemsByCatalogId_args()
7432
    args.read(iprot)
7433
    iprot.readMessageEnd()
7434
    result = getValidItemsByCatalogId_result()
7435
    try:
7436
      result.success = self._handler.getValidItemsByCatalogId(args.catalog_item_id)
7437
    except CatalogServiceException, cex:
7438
      result.cex = cex
7439
    oprot.writeMessageBegin("getValidItemsByCatalogId", TMessageType.REPLY, seqid)
7440
    result.write(oprot)
7441
    oprot.writeMessageEnd()
7442
    oprot.trans.flush()
7443
 
7444
  def process_getAllItems(self, seqid, iprot, oprot):
7445
    args = getAllItems_args()
7446
    args.read(iprot)
7447
    iprot.readMessageEnd()
7448
    result = getAllItems_result()
7449
    try:
7450
      result.success = self._handler.getAllItems(args.isActive)
7451
    except CatalogServiceException, cex:
7452
      result.cex = cex
7453
    oprot.writeMessageBegin("getAllItems", TMessageType.REPLY, seqid)
7454
    result.write(oprot)
7455
    oprot.writeMessageEnd()
7456
    oprot.trans.flush()
7457
 
7458
  def process_getAllItemsByStatus(self, seqid, iprot, oprot):
7459
    args = getAllItemsByStatus_args()
7460
    args.read(iprot)
7461
    iprot.readMessageEnd()
7462
    result = getAllItemsByStatus_result()
7463
    try:
7464
      result.success = self._handler.getAllItemsByStatus(args.itemStatus)
7465
    except CatalogServiceException, cex:
7466
      result.cex = cex
7467
    oprot.writeMessageBegin("getAllItemsByStatus", TMessageType.REPLY, seqid)
7468
    result.write(oprot)
7469
    oprot.writeMessageEnd()
7470
    oprot.trans.flush()
7471
 
7472
  def process_markItemAsContentComplete(self, seqid, iprot, oprot):
7473
    args = markItemAsContentComplete_args()
7474
    args.read(iprot)
7475
    iprot.readMessageEnd()
7476
    result = markItemAsContentComplete_result()
7477
    try:
9253 rajveer 7478
      result.success = self._handler.markItemAsContentComplete(args.entityId, args.category, args.brand, args.modelName, args.modelNumber, args.isAndroid)
5944 mandeep.dh 7479
    except CatalogServiceException, cex:
7480
      result.cex = cex
7481
    oprot.writeMessageBegin("markItemAsContentComplete", TMessageType.REPLY, seqid)
7482
    result.write(oprot)
7483
    oprot.writeMessageEnd()
7484
    oprot.trans.flush()
7485
 
12567 amit.gupta 7486
  def process_getVatRates(self, seqid, iprot, oprot):
7487
    args = getVatRates_args()
7488
    args.read(iprot)
7489
    iprot.readMessageEnd()
7490
    result = getVatRates_result()
7491
    try:
7492
      result.success = self._handler.getVatRates(args.itemId, args.categoryId)
7493
    except CatalogServiceException, cex:
7494
      result.cex = cex
7495
    oprot.writeMessageBegin("getVatRates", TMessageType.REPLY, seqid)
7496
    result.write(oprot)
7497
    oprot.writeMessageEnd()
7498
    oprot.trans.flush()
7499
 
5944 mandeep.dh 7500
  def process_getAllItemsInRange(self, seqid, iprot, oprot):
7501
    args = getAllItemsInRange_args()
7502
    args.read(iprot)
7503
    iprot.readMessageEnd()
7504
    result = getAllItemsInRange_result()
7505
    try:
7506
      result.success = self._handler.getAllItemsInRange(args.offset, args.limit)
7507
    except CatalogServiceException, cex:
7508
      result.cex = cex
7509
    oprot.writeMessageBegin("getAllItemsInRange", TMessageType.REPLY, seqid)
7510
    result.write(oprot)
7511
    oprot.writeMessageEnd()
7512
    oprot.trans.flush()
7513
 
7514
  def process_getAllItemsByStatusInRange(self, seqid, iprot, oprot):
7515
    args = getAllItemsByStatusInRange_args()
7516
    args.read(iprot)
7517
    iprot.readMessageEnd()
7518
    result = getAllItemsByStatusInRange_result()
7519
    try:
7520
      result.success = self._handler.getAllItemsByStatusInRange(args.itemStatus, args.offset, args.limit)
7521
    except CatalogServiceException, cex:
7522
      result.cex = cex
7523
    oprot.writeMessageBegin("getAllItemsByStatusInRange", TMessageType.REPLY, seqid)
7524
    result.write(oprot)
7525
    oprot.writeMessageEnd()
7526
    oprot.trans.flush()
7527
 
7528
  def process_getItemCountByStatus(self, seqid, iprot, oprot):
7529
    args = getItemCountByStatus_args()
7530
    args.read(iprot)
7531
    iprot.readMessageEnd()
7532
    result = getItemCountByStatus_result()
7533
    result.success = self._handler.getItemCountByStatus(args.useStatus, args.itemStatus)
7534
    oprot.writeMessageBegin("getItemCountByStatus", TMessageType.REPLY, seqid)
7535
    result.write(oprot)
7536
    oprot.writeMessageEnd()
7537
    oprot.trans.flush()
7538
 
7539
  def process_getBestSellers(self, seqid, iprot, oprot):
7540
    args = getBestSellers_args()
7541
    args.read(iprot)
7542
    iprot.readMessageEnd()
7543
    result = getBestSellers_result()
7544
    try:
7545
      result.success = self._handler.getBestSellers()
7546
    except CatalogServiceException, isex:
7547
      result.isex = isex
7548
    oprot.writeMessageBegin("getBestSellers", TMessageType.REPLY, seqid)
7549
    result.write(oprot)
7550
    oprot.writeMessageEnd()
7551
    oprot.trans.flush()
7552
 
7553
  def process_getBestSellersCatalogIds(self, seqid, iprot, oprot):
7554
    args = getBestSellersCatalogIds_args()
7555
    args.read(iprot)
7556
    iprot.readMessageEnd()
7557
    result = getBestSellersCatalogIds_result()
7558
    try:
7559
      result.success = self._handler.getBestSellersCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7560
    except CatalogServiceException, cex:
7561
      result.cex = cex
7562
    oprot.writeMessageBegin("getBestSellersCatalogIds", TMessageType.REPLY, seqid)
7563
    result.write(oprot)
7564
    oprot.writeMessageEnd()
7565
    oprot.trans.flush()
7566
 
7567
  def process_getBestSellersCount(self, seqid, iprot, oprot):
7568
    args = getBestSellersCount_args()
7569
    args.read(iprot)
7570
    iprot.readMessageEnd()
7571
    result = getBestSellersCount_result()
7572
    try:
7573
      result.success = self._handler.getBestSellersCount()
7574
    except CatalogServiceException, cex:
7575
      result.cex = cex
7576
    oprot.writeMessageBegin("getBestSellersCount", TMessageType.REPLY, seqid)
7577
    result.write(oprot)
7578
    oprot.writeMessageEnd()
7579
    oprot.trans.flush()
7580
 
7581
  def process_getBestDeals(self, seqid, iprot, oprot):
7582
    args = getBestDeals_args()
7583
    args.read(iprot)
7584
    iprot.readMessageEnd()
7585
    result = getBestDeals_result()
7586
    try:
7587
      result.success = self._handler.getBestDeals()
7588
    except CatalogServiceException, isex:
7589
      result.isex = isex
7590
    oprot.writeMessageBegin("getBestDeals", TMessageType.REPLY, seqid)
7591
    result.write(oprot)
7592
    oprot.writeMessageEnd()
7593
    oprot.trans.flush()
7594
 
7595
  def process_getBestDealsCatalogIds(self, seqid, iprot, oprot):
7596
    args = getBestDealsCatalogIds_args()
7597
    args.read(iprot)
7598
    iprot.readMessageEnd()
7599
    result = getBestDealsCatalogIds_result()
7600
    try:
7601
      result.success = self._handler.getBestDealsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7602
    except CatalogServiceException, cex:
7603
      result.cex = cex
7604
    oprot.writeMessageBegin("getBestDealsCatalogIds", TMessageType.REPLY, seqid)
7605
    result.write(oprot)
7606
    oprot.writeMessageEnd()
7607
    oprot.trans.flush()
7608
 
7609
  def process_getBestDealsCount(self, seqid, iprot, oprot):
7610
    args = getBestDealsCount_args()
7611
    args.read(iprot)
7612
    iprot.readMessageEnd()
7613
    result = getBestDealsCount_result()
7614
    try:
7615
      result.success = self._handler.getBestDealsCount()
7616
    except CatalogServiceException, cex:
7617
      result.cex = cex
7618
    oprot.writeMessageBegin("getBestDealsCount", TMessageType.REPLY, seqid)
7619
    result.write(oprot)
7620
    oprot.writeMessageEnd()
7621
    oprot.trans.flush()
7622
 
7623
  def process_getComingSoon(self, seqid, iprot, oprot):
7624
    args = getComingSoon_args()
7625
    args.read(iprot)
7626
    iprot.readMessageEnd()
7627
    result = getComingSoon_result()
7628
    try:
7629
      result.success = self._handler.getComingSoon()
7630
    except CatalogServiceException, isex:
7631
      result.isex = isex
7632
    oprot.writeMessageBegin("getComingSoon", TMessageType.REPLY, seqid)
7633
    result.write(oprot)
7634
    oprot.writeMessageEnd()
7635
    oprot.trans.flush()
7636
 
7637
  def process_getComingSoonCatalogIds(self, seqid, iprot, oprot):
7638
    args = getComingSoonCatalogIds_args()
7639
    args.read(iprot)
7640
    iprot.readMessageEnd()
7641
    result = getComingSoonCatalogIds_result()
7642
    try:
7643
      result.success = self._handler.getComingSoonCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7644
    except CatalogServiceException, cex:
7645
      result.cex = cex
7646
    oprot.writeMessageBegin("getComingSoonCatalogIds", TMessageType.REPLY, seqid)
7647
    result.write(oprot)
7648
    oprot.writeMessageEnd()
7649
    oprot.trans.flush()
7650
 
7651
  def process_getComingSoonCount(self, seqid, iprot, oprot):
7652
    args = getComingSoonCount_args()
7653
    args.read(iprot)
7654
    iprot.readMessageEnd()
7655
    result = getComingSoonCount_result()
7656
    try:
7657
      result.success = self._handler.getComingSoonCount()
7658
    except CatalogServiceException, cex:
7659
      result.cex = cex
7660
    oprot.writeMessageBegin("getComingSoonCount", TMessageType.REPLY, seqid)
7661
    result.write(oprot)
7662
    oprot.writeMessageEnd()
7663
    oprot.trans.flush()
7664
 
7665
  def process_getLatestArrivals(self, seqid, iprot, oprot):
7666
    args = getLatestArrivals_args()
7667
    args.read(iprot)
7668
    iprot.readMessageEnd()
7669
    result = getLatestArrivals_result()
7670
    try:
7671
      result.success = self._handler.getLatestArrivals()
7672
    except CatalogServiceException, isex:
7673
      result.isex = isex
7674
    oprot.writeMessageBegin("getLatestArrivals", TMessageType.REPLY, seqid)
7675
    result.write(oprot)
7676
    oprot.writeMessageEnd()
7677
    oprot.trans.flush()
7678
 
7679
  def process_getLatestArrivalsCatalogIds(self, seqid, iprot, oprot):
7680
    args = getLatestArrivalsCatalogIds_args()
7681
    args.read(iprot)
7682
    iprot.readMessageEnd()
7683
    result = getLatestArrivalsCatalogIds_result()
7684
    try:
7685
      result.success = self._handler.getLatestArrivalsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.categories)
7686
    except CatalogServiceException, cex:
7687
      result.cex = cex
7688
    oprot.writeMessageBegin("getLatestArrivalsCatalogIds", TMessageType.REPLY, seqid)
7689
    result.write(oprot)
7690
    oprot.writeMessageEnd()
7691
    oprot.trans.flush()
7692
 
7693
  def process_getLatestArrivalsCount(self, seqid, iprot, oprot):
7694
    args = getLatestArrivalsCount_args()
7695
    args.read(iprot)
7696
    iprot.readMessageEnd()
7697
    result = getLatestArrivalsCount_result()
7698
    try:
7699
      result.success = self._handler.getLatestArrivalsCount()
7700
    except CatalogServiceException, cex:
7701
      result.cex = cex
7702
    oprot.writeMessageBegin("getLatestArrivalsCount", TMessageType.REPLY, seqid)
7703
    result.write(oprot)
7704
    oprot.writeMessageEnd()
7705
    oprot.trans.flush()
7706
 
7707
  def process_generateNewEntityID(self, seqid, iprot, oprot):
7708
    args = generateNewEntityID_args()
7709
    args.read(iprot)
7710
    iprot.readMessageEnd()
7711
    result = generateNewEntityID_result()
7712
    result.success = self._handler.generateNewEntityID()
7713
    oprot.writeMessageBegin("generateNewEntityID", TMessageType.REPLY, seqid)
7714
    result.write(oprot)
7715
    oprot.writeMessageEnd()
7716
    oprot.trans.flush()
7717
 
7718
  def process_addCategory(self, seqid, iprot, oprot):
7719
    args = addCategory_args()
7720
    args.read(iprot)
7721
    iprot.readMessageEnd()
7722
    result = addCategory_result()
7723
    result.success = self._handler.addCategory(args.category)
7724
    oprot.writeMessageBegin("addCategory", TMessageType.REPLY, seqid)
7725
    result.write(oprot)
7726
    oprot.writeMessageEnd()
7727
    oprot.trans.flush()
7728
 
7729
  def process_getCategory(self, seqid, iprot, oprot):
7730
    args = getCategory_args()
7731
    args.read(iprot)
7732
    iprot.readMessageEnd()
7733
    result = getCategory_result()
7734
    result.success = self._handler.getCategory(args.id)
7735
    oprot.writeMessageBegin("getCategory", TMessageType.REPLY, seqid)
7736
    result.write(oprot)
7737
    oprot.writeMessageEnd()
7738
    oprot.trans.flush()
7739
 
7740
  def process_getAllCategories(self, seqid, iprot, oprot):
7741
    args = getAllCategories_args()
7742
    args.read(iprot)
7743
    iprot.readMessageEnd()
7744
    result = getAllCategories_result()
7745
    result.success = self._handler.getAllCategories()
7746
    oprot.writeMessageBegin("getAllCategories", TMessageType.REPLY, seqid)
7747
    result.write(oprot)
7748
    oprot.writeMessageEnd()
7749
    oprot.trans.flush()
7750
 
7751
  def process_getAllSimilarItems(self, seqid, iprot, oprot):
7752
    args = getAllSimilarItems_args()
7753
    args.read(iprot)
7754
    iprot.readMessageEnd()
7755
    result = getAllSimilarItems_result()
7756
    result.success = self._handler.getAllSimilarItems(args.itemId)
7757
    oprot.writeMessageBegin("getAllSimilarItems", TMessageType.REPLY, seqid)
7758
    result.write(oprot)
7759
    oprot.writeMessageEnd()
7760
    oprot.trans.flush()
7761
 
7762
  def process_addSimilarItem(self, seqid, iprot, oprot):
7763
    args = addSimilarItem_args()
7764
    args.read(iprot)
7765
    iprot.readMessageEnd()
7766
    result = addSimilarItem_result()
7767
    try:
7768
      result.success = self._handler.addSimilarItem(args.itemId, args.catalogItemId)
7769
    except CatalogServiceException, cex:
7770
      result.cex = cex
7771
    oprot.writeMessageBegin("addSimilarItem", TMessageType.REPLY, seqid)
7772
    result.write(oprot)
7773
    oprot.writeMessageEnd()
7774
    oprot.trans.flush()
7775
 
6512 kshitij.so 7776
  def process_addTag(self, seqid, iprot, oprot):
7777
    args = addTag_args()
7778
    args.read(iprot)
7779
    iprot.readMessageEnd()
7780
    result = addTag_result()
7781
    result.success = self._handler.addTag(args.displayName, args.itemId)
7782
    oprot.writeMessageBegin("addTag", TMessageType.REPLY, seqid)
7783
    result.write(oprot)
7784
    oprot.writeMessageEnd()
7785
    oprot.trans.flush()
7786
 
7787
  def process_deleteEntityTag(self, seqid, iprot, oprot):
7788
    args = deleteEntityTag_args()
7789
    args.read(iprot)
7790
    iprot.readMessageEnd()
7791
    result = deleteEntityTag_result()
7792
    result.success = self._handler.deleteEntityTag(args.displayName, args.itemId)
7793
    oprot.writeMessageBegin("deleteEntityTag", TMessageType.REPLY, seqid)
7794
    result.write(oprot)
7795
    oprot.writeMessageEnd()
7796
    oprot.trans.flush()
7797
 
7798
  def process_deleteTag(self, seqid, iprot, oprot):
7799
    args = deleteTag_args()
7800
    args.read(iprot)
7801
    iprot.readMessageEnd()
7802
    result = deleteTag_result()
7803
    result.success = self._handler.deleteTag(args.displayName)
7804
    oprot.writeMessageBegin("deleteTag", TMessageType.REPLY, seqid)
7805
    result.write(oprot)
7806
    oprot.writeMessageEnd()
7807
    oprot.trans.flush()
7808
 
7809
  def process_getAllTags(self, seqid, iprot, oprot):
7810
    args = getAllTags_args()
7811
    args.read(iprot)
7812
    iprot.readMessageEnd()
7813
    result = getAllTags_result()
7814
    result.success = self._handler.getAllTags()
7815
    oprot.writeMessageBegin("getAllTags", TMessageType.REPLY, seqid)
7816
    result.write(oprot)
7817
    oprot.writeMessageEnd()
7818
    oprot.trans.flush()
7819
 
7820
  def process_getAllEntitiesByTagName(self, seqid, iprot, oprot):
7821
    args = getAllEntitiesByTagName_args()
7822
    args.read(iprot)
7823
    iprot.readMessageEnd()
7824
    result = getAllEntitiesByTagName_result()
7825
    result.success = self._handler.getAllEntitiesByTagName(args.displayName)
7826
    oprot.writeMessageBegin("getAllEntitiesByTagName", TMessageType.REPLY, seqid)
7827
    result.write(oprot)
7828
    oprot.writeMessageEnd()
7829
    oprot.trans.flush()
7830
 
6845 amit.gupta 7831
  def process_getAllEntityTags(self, seqid, iprot, oprot):
7832
    args = getAllEntityTags_args()
7833
    args.read(iprot)
7834
    iprot.readMessageEnd()
7835
    result = getAllEntityTags_result()
7836
    result.success = self._handler.getAllEntityTags()
7837
    oprot.writeMessageBegin("getAllEntityTags", TMessageType.REPLY, seqid)
7838
    result.write(oprot)
7839
    oprot.writeMessageEnd()
7840
    oprot.trans.flush()
7841
 
6850 kshitij.so 7842
  def process_addBanner(self, seqid, iprot, oprot):
7843
    args = addBanner_args()
7844
    args.read(iprot)
7845
    iprot.readMessageEnd()
7846
    result = addBanner_result()
10097 kshitij.so 7847
    result.success = self._handler.addBanner(args.bannerCongregate)
6850 kshitij.so 7848
    oprot.writeMessageBegin("addBanner", TMessageType.REPLY, seqid)
7849
    result.write(oprot)
7850
    oprot.writeMessageEnd()
7851
    oprot.trans.flush()
7852
 
8579 kshitij.so 7853
  def process_updateBanner(self, seqid, iprot, oprot):
7854
    args = updateBanner_args()
7855
    args.read(iprot)
7856
    iprot.readMessageEnd()
7857
    result = updateBanner_result()
7858
    result.success = self._handler.updateBanner(args.banner)
7859
    oprot.writeMessageBegin("updateBanner", TMessageType.REPLY, seqid)
7860
    result.write(oprot)
7861
    oprot.writeMessageEnd()
7862
    oprot.trans.flush()
7863
 
6850 kshitij.so 7864
  def process_getAllBanners(self, seqid, iprot, oprot):
7865
    args = getAllBanners_args()
7866
    args.read(iprot)
7867
    iprot.readMessageEnd()
7868
    result = getAllBanners_result()
7869
    result.success = self._handler.getAllBanners()
7870
    oprot.writeMessageBegin("getAllBanners", TMessageType.REPLY, seqid)
7871
    result.write(oprot)
7872
    oprot.writeMessageEnd()
7873
    oprot.trans.flush()
7874
 
7875
  def process_deleteBanner(self, seqid, iprot, oprot):
7876
    args = deleteBanner_args()
7877
    args.read(iprot)
7878
    iprot.readMessageEnd()
7879
    result = deleteBanner_result()
9155 kshitij.so 7880
    result.success = self._handler.deleteBanner(args.bannerName, args.bannerType)
6850 kshitij.so 7881
    oprot.writeMessageBegin("deleteBanner", TMessageType.REPLY, seqid)
7882
    result.write(oprot)
7883
    oprot.writeMessageEnd()
7884
    oprot.trans.flush()
7885
 
7886
  def process_getBannerDetails(self, seqid, iprot, oprot):
7887
    args = getBannerDetails_args()
7888
    args.read(iprot)
7889
    iprot.readMessageEnd()
7890
    result = getBannerDetails_result()
9155 kshitij.so 7891
    result.success = self._handler.getBannerDetails(args.bannerName, args.bannerType)
6850 kshitij.so 7892
    oprot.writeMessageBegin("getBannerDetails", TMessageType.REPLY, seqid)
7893
    result.write(oprot)
7894
    oprot.writeMessageEnd()
7895
    oprot.trans.flush()
7896
 
7897
  def process_getActiveBanners(self, seqid, iprot, oprot):
7898
    args = getActiveBanners_args()
7899
    args.read(iprot)
7900
    iprot.readMessageEnd()
7901
    result = getActiveBanners_result()
7902
    result.success = self._handler.getActiveBanners()
7903
    oprot.writeMessageBegin("getActiveBanners", TMessageType.REPLY, seqid)
7904
    result.write(oprot)
7905
    oprot.writeMessageEnd()
7906
    oprot.trans.flush()
7907
 
6849 kshitij.so 7908
  def process_addBannerMap(self, seqid, iprot, oprot):
7909
    args = addBannerMap_args()
7910
    args.read(iprot)
7911
    iprot.readMessageEnd()
7912
    result = addBannerMap_result()
8579 kshitij.so 7913
    result.success = self._handler.addBannerMap(args.bannerMaps)
6849 kshitij.so 7914
    oprot.writeMessageBegin("addBannerMap", TMessageType.REPLY, seqid)
7915
    result.write(oprot)
7916
    oprot.writeMessageEnd()
7917
    oprot.trans.flush()
7918
 
8579 kshitij.so 7919
  def process_updateBannerMap(self, seqid, iprot, oprot):
7920
    args = updateBannerMap_args()
7921
    args.read(iprot)
7922
    iprot.readMessageEnd()
7923
    result = updateBannerMap_result()
7924
    result.success = self._handler.updateBannerMap(args.bannerMap)
7925
    oprot.writeMessageBegin("updateBannerMap", TMessageType.REPLY, seqid)
7926
    result.write(oprot)
7927
    oprot.writeMessageEnd()
7928
    oprot.trans.flush()
7929
 
6849 kshitij.so 7930
  def process_deleteBannerMap(self, seqid, iprot, oprot):
7931
    args = deleteBannerMap_args()
7932
    args.read(iprot)
7933
    iprot.readMessageEnd()
7934
    result = deleteBannerMap_result()
7935
    result.success = self._handler.deleteBannerMap(args.bannerName)
7936
    oprot.writeMessageBegin("deleteBannerMap", TMessageType.REPLY, seqid)
7937
    result.write(oprot)
7938
    oprot.writeMessageEnd()
7939
    oprot.trans.flush()
7940
 
7941
  def process_getBannerMapDetails(self, seqid, iprot, oprot):
7942
    args = getBannerMapDetails_args()
7943
    args.read(iprot)
7944
    iprot.readMessageEnd()
7945
    result = getBannerMapDetails_result()
9155 kshitij.so 7946
    result.success = self._handler.getBannerMapDetails(args.bannerName, args.bannerType)
6849 kshitij.so 7947
    oprot.writeMessageBegin("getBannerMapDetails", TMessageType.REPLY, seqid)
7948
    result.write(oprot)
7949
    oprot.writeMessageEnd()
7950
    oprot.trans.flush()
7951
 
8579 kshitij.so 7952
  def process_addBannerUri(self, seqid, iprot, oprot):
7953
    args = addBannerUri_args()
7954
    args.read(iprot)
7955
    iprot.readMessageEnd()
7956
    result = addBannerUri_result()
7957
    self._handler.addBannerUri(args.bannerUriMappings)
7958
    oprot.writeMessageBegin("addBannerUri", TMessageType.REPLY, seqid)
7959
    result.write(oprot)
7960
    oprot.writeMessageEnd()
7961
    oprot.trans.flush()
7962
 
7963
  def process_getUriMapping(self, seqid, iprot, oprot):
7964
    args = getUriMapping_args()
7965
    args.read(iprot)
7966
    iprot.readMessageEnd()
7967
    result = getUriMapping_result()
9155 kshitij.so 7968
    result.success = self._handler.getUriMapping(args.bannerName, args.bannerType)
8579 kshitij.so 7969
    oprot.writeMessageBegin("getUriMapping", TMessageType.REPLY, seqid)
7970
    result.write(oprot)
7971
    oprot.writeMessageEnd()
7972
    oprot.trans.flush()
7973
 
7974
  def process_addCampaign(self, seqid, iprot, oprot):
7975
    args = addCampaign_args()
7976
    args.read(iprot)
7977
    iprot.readMessageEnd()
7978
    result = addCampaign_result()
7979
    self._handler.addCampaign(args.campaign)
7980
    oprot.writeMessageBegin("addCampaign", TMessageType.REPLY, seqid)
7981
    result.write(oprot)
7982
    oprot.writeMessageEnd()
7983
    oprot.trans.flush()
7984
 
7985
  def process_getCampaigns(self, seqid, iprot, oprot):
7986
    args = getCampaigns_args()
7987
    args.read(iprot)
7988
    iprot.readMessageEnd()
7989
    result = getCampaigns_result()
7990
    result.success = self._handler.getCampaigns(args.campaignName)
7991
    oprot.writeMessageBegin("getCampaigns", TMessageType.REPLY, seqid)
7992
    result.write(oprot)
7993
    oprot.writeMessageEnd()
7994
    oprot.trans.flush()
7995
 
7996
  def process_deleteCampaign(self, seqid, iprot, oprot):
7997
    args = deleteCampaign_args()
7998
    args.read(iprot)
7999
    iprot.readMessageEnd()
8000
    result = deleteCampaign_result()
8001
    self._handler.deleteCampaign(args.campaignId)
8002
    oprot.writeMessageBegin("deleteCampaign", TMessageType.REPLY, seqid)
8003
    result.write(oprot)
8004
    oprot.writeMessageEnd()
8005
    oprot.trans.flush()
8006
 
8007
  def process_getAllCampaigns(self, seqid, iprot, oprot):
8008
    args = getAllCampaigns_args()
8009
    args.read(iprot)
8010
    iprot.readMessageEnd()
8011
    result = getAllCampaigns_result()
8012
    result.success = self._handler.getAllCampaigns()
8013
    oprot.writeMessageBegin("getAllCampaigns", TMessageType.REPLY, seqid)
8014
    result.write(oprot)
8015
    oprot.writeMessageEnd()
8016
    oprot.trans.flush()
8017
 
9155 kshitij.so 8018
  def process_getActiveBannersForMobileSite(self, seqid, iprot, oprot):
8019
    args = getActiveBannersForMobileSite_args()
8020
    args.read(iprot)
8021
    iprot.readMessageEnd()
8022
    result = getActiveBannersForMobileSite_result()
8023
    result.success = self._handler.getActiveBannersForMobileSite()
8024
    oprot.writeMessageBegin("getActiveBannersForMobileSite", TMessageType.REPLY, seqid)
8025
    result.write(oprot)
8026
    oprot.writeMessageEnd()
8027
    oprot.trans.flush()
8028
 
5944 mandeep.dh 8029
  def process_deleteSimilarItem(self, seqid, iprot, oprot):
8030
    args = deleteSimilarItem_args()
8031
    args.read(iprot)
8032
    iprot.readMessageEnd()
8033
    result = deleteSimilarItem_result()
8034
    try:
8035
      result.success = self._handler.deleteSimilarItem(args.itemId, args.catalogItemId)
8036
    except CatalogServiceException, cex:
8037
      result.cex = cex
8038
    oprot.writeMessageBegin("deleteSimilarItem", TMessageType.REPLY, seqid)
8039
    result.write(oprot)
8040
    oprot.writeMessageEnd()
8041
    oprot.trans.flush()
8042
 
8043
  def process_checkSimilarItem(self, seqid, iprot, oprot):
8044
    args = checkSimilarItem_args()
8045
    args.read(iprot)
8046
    iprot.readMessageEnd()
8047
    result = checkSimilarItem_result()
8048
    result.success = self._handler.checkSimilarItem(args.brand, args.modelNumber, args.modelName, args.color)
8049
    oprot.writeMessageBegin("checkSimilarItem", TMessageType.REPLY, seqid)
8050
    result.write(oprot)
8051
    oprot.writeMessageEnd()
8052
    oprot.trans.flush()
8053
 
8054
  def process_validateRiskyStatus(self, seqid, iprot, oprot):
8055
    args = validateRiskyStatus_args()
8056
    args.read(iprot)
8057
    iprot.readMessageEnd()
8058
    result = validateRiskyStatus_result()
8059
    self._handler.validateRiskyStatus(args.itemId)
8060
    oprot.writeMessageBegin("validateRiskyStatus", TMessageType.REPLY, seqid)
8061
    result.write(oprot)
8062
    oprot.writeMessageEnd()
8063
    oprot.trans.flush()
8064
 
8065
  def process_changeItemRiskyFlag(self, seqid, iprot, oprot):
8066
    args = changeItemRiskyFlag_args()
8067
    args.read(iprot)
8068
    iprot.readMessageEnd()
8069
    result = changeItemRiskyFlag_result()
8070
    self._handler.changeItemRiskyFlag(args.itemId, args.risky)
8071
    oprot.writeMessageBegin("changeItemRiskyFlag", TMessageType.REPLY, seqid)
8072
    result.write(oprot)
8073
    oprot.writeMessageEnd()
8074
    oprot.trans.flush()
8075
 
8076
  def process_getItemsByRiskyFlag(self, seqid, iprot, oprot):
8077
    args = getItemsByRiskyFlag_args()
8078
    args.read(iprot)
8079
    iprot.readMessageEnd()
8080
    result = getItemsByRiskyFlag_result()
8081
    result.success = self._handler.getItemsByRiskyFlag()
8082
    oprot.writeMessageBegin("getItemsByRiskyFlag", TMessageType.REPLY, seqid)
8083
    result.write(oprot)
8084
    oprot.writeMessageEnd()
8085
    oprot.trans.flush()
8086
 
8087
  def process_getItemsForMasterSheet(self, seqid, iprot, oprot):
8088
    args = getItemsForMasterSheet_args()
8089
    args.read(iprot)
8090
    iprot.readMessageEnd()
8091
    result = getItemsForMasterSheet_result()
8092
    result.success = self._handler.getItemsForMasterSheet(args.category, args.brand)
8093
    oprot.writeMessageBegin("getItemsForMasterSheet", TMessageType.REPLY, seqid)
8094
    result.write(oprot)
8095
    oprot.writeMessageEnd()
8096
    oprot.trans.flush()
8097
 
8098
  def process_getSimilarItemsCatalogIds(self, seqid, iprot, oprot):
8099
    args = getSimilarItemsCatalogIds_args()
8100
    args.read(iprot)
8101
    iprot.readMessageEnd()
8102
    result = getSimilarItemsCatalogIds_result()
8103
    result.success = self._handler.getSimilarItemsCatalogIds(args.beginIndex, args.totalItems, args.itemId)
8104
    oprot.writeMessageBegin("getSimilarItemsCatalogIds", TMessageType.REPLY, seqid)
8105
    result.write(oprot)
8106
    oprot.writeMessageEnd()
8107
    oprot.trans.flush()
8108
 
8109
  def process_addProductNotification(self, seqid, iprot, oprot):
8110
    args = addProductNotification_args()
8111
    args.read(iprot)
8112
    iprot.readMessageEnd()
8113
    result = addProductNotification_result()
8114
    result.success = self._handler.addProductNotification(args.itemId, args.email)
8115
    oprot.writeMessageBegin("addProductNotification", TMessageType.REPLY, seqid)
8116
    result.write(oprot)
8117
    oprot.writeMessageEnd()
8118
    oprot.trans.flush()
8119
 
8120
  def process_sendProductNotifications(self, seqid, iprot, oprot):
8121
    args = sendProductNotifications_args()
8122
    args.read(iprot)
8123
    iprot.readMessageEnd()
8124
    result = sendProductNotifications_result()
8125
    result.success = self._handler.sendProductNotifications()
8126
    oprot.writeMessageBegin("sendProductNotifications", TMessageType.REPLY, seqid)
8127
    result.write(oprot)
8128
    oprot.writeMessageEnd()
8129
    oprot.trans.flush()
8130
 
8131
  def process_getAllBrandsByCategory(self, seqid, iprot, oprot):
8132
    args = getAllBrandsByCategory_args()
8133
    args.read(iprot)
8134
    iprot.readMessageEnd()
8135
    result = getAllBrandsByCategory_result()
8136
    result.success = self._handler.getAllBrandsByCategory(args.categoryId)
8137
    oprot.writeMessageBegin("getAllBrandsByCategory", TMessageType.REPLY, seqid)
8138
    result.write(oprot)
8139
    oprot.writeMessageEnd()
8140
    oprot.trans.flush()
8141
 
8142
  def process_getAllBrands(self, seqid, iprot, oprot):
8143
    args = getAllBrands_args()
8144
    args.read(iprot)
8145
    iprot.readMessageEnd()
8146
    result = getAllBrands_result()
8147
    result.success = self._handler.getAllBrands()
8148
    oprot.writeMessageBegin("getAllBrands", TMessageType.REPLY, seqid)
8149
    result.write(oprot)
8150
    oprot.writeMessageEnd()
8151
    oprot.trans.flush()
8152
 
8153
  def process_getAllSources(self, seqid, iprot, oprot):
8154
    args = getAllSources_args()
8155
    args.read(iprot)
8156
    iprot.readMessageEnd()
8157
    result = getAllSources_result()
8158
    result.success = self._handler.getAllSources()
8159
    oprot.writeMessageBegin("getAllSources", TMessageType.REPLY, seqid)
8160
    result.write(oprot)
8161
    oprot.writeMessageEnd()
8162
    oprot.trans.flush()
8163
 
8164
  def process_getItemPricingBySource(self, seqid, iprot, oprot):
8165
    args = getItemPricingBySource_args()
8166
    args.read(iprot)
8167
    iprot.readMessageEnd()
8168
    result = getItemPricingBySource_result()
8169
    try:
8170
      result.success = self._handler.getItemPricingBySource(args.itemId, args.sourceId)
8171
    except CatalogServiceException, cex:
8172
      result.cex = cex
8173
    oprot.writeMessageBegin("getItemPricingBySource", TMessageType.REPLY, seqid)
8174
    result.write(oprot)
8175
    oprot.writeMessageEnd()
8176
    oprot.trans.flush()
8177
 
8178
  def process_addSourceItemPricing(self, seqid, iprot, oprot):
8179
    args = addSourceItemPricing_args()
8180
    args.read(iprot)
8181
    iprot.readMessageEnd()
8182
    result = addSourceItemPricing_result()
8183
    try:
8184
      self._handler.addSourceItemPricing(args.sourceItemPricing)
8185
    except CatalogServiceException, cex:
8186
      result.cex = cex
8187
    oprot.writeMessageBegin("addSourceItemPricing", TMessageType.REPLY, seqid)
8188
    result.write(oprot)
8189
    oprot.writeMessageEnd()
8190
    oprot.trans.flush()
8191
 
8192
  def process_getAllSourcePricing(self, seqid, iprot, oprot):
8193
    args = getAllSourcePricing_args()
8194
    args.read(iprot)
8195
    iprot.readMessageEnd()
8196
    result = getAllSourcePricing_result()
8197
    try:
8198
      result.success = self._handler.getAllSourcePricing(args.itemId)
8199
    except CatalogServiceException, cex:
8200
      result.cex = cex
8201
    oprot.writeMessageBegin("getAllSourcePricing", TMessageType.REPLY, seqid)
8202
    result.write(oprot)
8203
    oprot.writeMessageEnd()
8204
    oprot.trans.flush()
8205
 
8206
  def process_getItemForSource(self, seqid, iprot, oprot):
8207
    args = getItemForSource_args()
8208
    args.read(iprot)
8209
    iprot.readMessageEnd()
8210
    result = getItemForSource_result()
8211
    try:
8212
      result.success = self._handler.getItemForSource(args.item_id, args.sourceId)
8213
    except CatalogServiceException, cex:
8214
      result.cex = cex
8215
    oprot.writeMessageBegin("getItemForSource", TMessageType.REPLY, seqid)
8216
    result.write(oprot)
8217
    oprot.writeMessageEnd()
8218
    oprot.trans.flush()
8219
 
8220
  def process_searchItemsInRange(self, seqid, iprot, oprot):
8221
    args = searchItemsInRange_args()
8222
    args.read(iprot)
8223
    iprot.readMessageEnd()
8224
    result = searchItemsInRange_result()
8225
    result.success = self._handler.searchItemsInRange(args.searchTerms, args.offset, args.limit)
8226
    oprot.writeMessageBegin("searchItemsInRange", TMessageType.REPLY, seqid)
8227
    result.write(oprot)
8228
    oprot.writeMessageEnd()
8229
    oprot.trans.flush()
8230
 
8231
  def process_getSearchResultCount(self, seqid, iprot, oprot):
8232
    args = getSearchResultCount_args()
8233
    args.read(iprot)
8234
    iprot.readMessageEnd()
8235
    result = getSearchResultCount_result()
8236
    result.success = self._handler.getSearchResultCount(args.searchTerms)
8237
    oprot.writeMessageBegin("getSearchResultCount", TMessageType.REPLY, seqid)
8238
    result.write(oprot)
8239
    oprot.writeMessageEnd()
8240
    oprot.trans.flush()
8241
 
8242
  def process_getProductNotifications(self, seqid, iprot, oprot):
8243
    args = getProductNotifications_args()
8244
    args.read(iprot)
8245
    iprot.readMessageEnd()
8246
    result = getProductNotifications_result()
8247
    result.success = self._handler.getProductNotifications(args.startDateTime)
8248
    oprot.writeMessageBegin("getProductNotifications", TMessageType.REPLY, seqid)
8249
    result.write(oprot)
8250
    oprot.writeMessageEnd()
8251
    oprot.trans.flush()
8252
 
8253
  def process_getProductNotificationRequestCount(self, seqid, iprot, oprot):
8254
    args = getProductNotificationRequestCount_args()
8255
    args.read(iprot)
8256
    iprot.readMessageEnd()
8257
    result = getProductNotificationRequestCount_result()
7897 amar.kumar 8258
    result.success = self._handler.getProductNotificationRequestCount(args.startDateTime, args.categoryId)
5944 mandeep.dh 8259
    oprot.writeMessageBegin("getProductNotificationRequestCount", TMessageType.REPLY, seqid)
8260
    result.write(oprot)
8261
    oprot.writeMessageEnd()
8262
    oprot.trans.flush()
8263
 
8264
  def process_addAuthorizationLog(self, seqid, iprot, oprot):
8265
    args = addAuthorizationLog_args()
8266
    args.read(iprot)
8267
    iprot.readMessageEnd()
8268
    result = addAuthorizationLog_result()
8269
    try:
8270
      result.success = self._handler.addAuthorizationLog(args.itemId, args.username, args.reason)
8271
    except CatalogServiceException, cex:
8272
      result.cex = cex
8273
    oprot.writeMessageBegin("addAuthorizationLog", TMessageType.REPLY, seqid)
8274
    result.write(oprot)
8275
    oprot.writeMessageEnd()
8276
    oprot.trans.flush()
8277
 
8278
  def process_addupdateVoucherForItem(self, seqid, iprot, oprot):
8279
    args = addupdateVoucherForItem_args()
8280
    args.read(iprot)
8281
    iprot.readMessageEnd()
8282
    result = addupdateVoucherForItem_result()
8283
    try:
8284
      result.success = self._handler.addupdateVoucherForItem(args.catalog_item_id, args.voucherType, args.voucherAmount)
8285
    except CatalogServiceException, cex:
8286
      result.cex = cex
8287
    oprot.writeMessageBegin("addupdateVoucherForItem", TMessageType.REPLY, seqid)
8288
    result.write(oprot)
8289
    oprot.writeMessageEnd()
8290
    oprot.trans.flush()
8291
 
8292
  def process_deleteVoucherForItem(self, seqid, iprot, oprot):
8293
    args = deleteVoucherForItem_args()
8294
    args.read(iprot)
8295
    iprot.readMessageEnd()
8296
    result = deleteVoucherForItem_result()
8297
    try:
8298
      result.success = self._handler.deleteVoucherForItem(args.catalog_item_id, args.voucherType)
8299
    except CatalogServiceException, cex:
8300
      result.cex = cex
8301
    oprot.writeMessageBegin("deleteVoucherForItem", TMessageType.REPLY, seqid)
8302
    result.write(oprot)
8303
    oprot.writeMessageEnd()
8304
    oprot.trans.flush()
8305
 
8306
  def process_getVoucherAmount(self, seqid, iprot, oprot):
8307
    args = getVoucherAmount_args()
8308
    args.read(iprot)
8309
    iprot.readMessageEnd()
8310
    result = getVoucherAmount_result()
8311
    result.success = self._handler.getVoucherAmount(args.itemId, args.voucherType)
8312
    oprot.writeMessageBegin("getVoucherAmount", TMessageType.REPLY, seqid)
8313
    result.write(oprot)
8314
    oprot.writeMessageEnd()
8315
    oprot.trans.flush()
8316
 
8317
  def process_getAllItemVouchers(self, seqid, iprot, oprot):
8318
    args = getAllItemVouchers_args()
8319
    args.read(iprot)
8320
    iprot.readMessageEnd()
8321
    result = getAllItemVouchers_result()
8322
    result.success = self._handler.getAllItemVouchers(args.itemId)
8323
    oprot.writeMessageBegin("getAllItemVouchers", TMessageType.REPLY, seqid)
8324
    result.write(oprot)
8325
    oprot.writeMessageEnd()
8326
    oprot.trans.flush()
8327
 
8328
  def process_isValidCatalogItemId(self, seqid, iprot, oprot):
8329
    args = isValidCatalogItemId_args()
8330
    args.read(iprot)
8331
    iprot.readMessageEnd()
8332
    result = isValidCatalogItemId_result()
8333
    result.success = self._handler.isValidCatalogItemId(args.catalog_item_id)
8334
    oprot.writeMessageBegin("isValidCatalogItemId", TMessageType.REPLY, seqid)
8335
    result.write(oprot)
8336
    oprot.writeMessageEnd()
8337
    oprot.trans.flush()
8338
 
6039 amit.gupta 8339
  def process_getVatPercentageForItem(self, seqid, iprot, oprot):
8340
    args = getVatPercentageForItem_args()
8341
    args.read(iprot)
8342
    iprot.readMessageEnd()
8343
    result = getVatPercentageForItem_result()
7340 amit.gupta 8344
    try:
8345
      result.success = self._handler.getVatPercentageForItem(args.itemId, args.stateId, args.price)
8346
    except CatalogServiceException, cex:
8347
      result.cex = cex
6039 amit.gupta 8348
    oprot.writeMessageBegin("getVatPercentageForItem", TMessageType.REPLY, seqid)
8349
    result.write(oprot)
8350
    oprot.writeMessageEnd()
8351
    oprot.trans.flush()
5944 mandeep.dh 8352
 
6039 amit.gupta 8353
  def process_getVatAmountForItem(self, seqid, iprot, oprot):
8354
    args = getVatAmountForItem_args()
8355
    args.read(iprot)
8356
    iprot.readMessageEnd()
8357
    result = getVatAmountForItem_result()
8358
    result.success = self._handler.getVatAmountForItem(args.itemId, args.price)
8359
    oprot.writeMessageBegin("getVatAmountForItem", TMessageType.REPLY, seqid)
8360
    result.write(oprot)
8361
    oprot.writeMessageEnd()
8362
    oprot.trans.flush()
8363
 
6531 vikram.rag 8364
  def process_getAllIgnoredInventoryUpdateItemsList(self, seqid, iprot, oprot):
8365
    args = getAllIgnoredInventoryUpdateItemsList_args()
8366
    args.read(iprot)
8367
    iprot.readMessageEnd()
8368
    result = getAllIgnoredInventoryUpdateItemsList_result()
8369
    result.success = self._handler.getAllIgnoredInventoryUpdateItemsList(args.offset, args.limit)
8370
    oprot.writeMessageBegin("getAllIgnoredInventoryUpdateItemsList", TMessageType.REPLY, seqid)
8371
    result.write(oprot)
8372
    oprot.writeMessageEnd()
8373
    oprot.trans.flush()
6039 amit.gupta 8374
 
6821 amar.kumar 8375
  def process_getAllAliveItems(self, seqid, iprot, oprot):
8376
    args = getAllAliveItems_args()
8377
    args.read(iprot)
8378
    iprot.readMessageEnd()
8379
    result = getAllAliveItems_result()
8380
    result.success = self._handler.getAllAliveItems()
8381
    oprot.writeMessageBegin("getAllAliveItems", TMessageType.REPLY, seqid)
8382
    result.write(oprot)
8383
    oprot.writeMessageEnd()
8384
    oprot.trans.flush()
8385
 
6805 anupam.sin 8386
  def process_getInsuranceAmount(self, seqid, iprot, oprot):
8387
    args = getInsuranceAmount_args()
8388
    args.read(iprot)
8389
    iprot.readMessageEnd()
8390
    result = getInsuranceAmount_result()
6921 anupam.sin 8391
    result.success = self._handler.getInsuranceAmount(args.itemId, args.price, args.insurerId, args.quantity)
6805 anupam.sin 8392
    oprot.writeMessageBegin("getInsuranceAmount", TMessageType.REPLY, seqid)
8393
    result.write(oprot)
8394
    oprot.writeMessageEnd()
8395
    oprot.trans.flush()
6531 vikram.rag 8396
 
6805 anupam.sin 8397
  def process_getInsurer(self, seqid, iprot, oprot):
8398
    args = getInsurer_args()
8399
    args.read(iprot)
8400
    iprot.readMessageEnd()
8401
    result = getInsurer_result()
8402
    result.success = self._handler.getInsurer(args.insurerId)
8403
    oprot.writeMessageBegin("getInsurer", TMessageType.REPLY, seqid)
8404
    result.write(oprot)
8405
    oprot.writeMessageEnd()
8406
    oprot.trans.flush()
8407
 
6838 vikram.rag 8408
  def process_getAllInsurers(self, seqid, iprot, oprot):
8409
    args = getAllInsurers_args()
8410
    args.read(iprot)
8411
    iprot.readMessageEnd()
8412
    result = getAllInsurers_result()
8413
    result.success = self._handler.getAllInsurers()
8414
    oprot.writeMessageBegin("getAllInsurers", TMessageType.REPLY, seqid)
8415
    result.write(oprot)
8416
    oprot.writeMessageEnd()
8417
    oprot.trans.flush()
6805 anupam.sin 8418
 
6962 rajveer 8419
  def process_updateInsuranceDeclaredAmount(self, seqid, iprot, oprot):
8420
    args = updateInsuranceDeclaredAmount_args()
8421
    args.read(iprot)
8422
    iprot.readMessageEnd()
8423
    result = updateInsuranceDeclaredAmount_result()
8424
    self._handler.updateInsuranceDeclaredAmount(args.insurerId, args.amount)
8425
    oprot.writeMessageBegin("updateInsuranceDeclaredAmount", TMessageType.REPLY, seqid)
8426
    result.write(oprot)
8427
    oprot.writeMessageEnd()
8428
    oprot.trans.flush()
6838 vikram.rag 8429
 
7190 amar.kumar 8430
  def process_getFreebieForItem(self, seqid, iprot, oprot):
8431
    args = getFreebieForItem_args()
8432
    args.read(iprot)
8433
    iprot.readMessageEnd()
8434
    result = getFreebieForItem_result()
8435
    result.success = self._handler.getFreebieForItem(args.itemId)
8436
    oprot.writeMessageBegin("getFreebieForItem", TMessageType.REPLY, seqid)
8437
    result.write(oprot)
8438
    oprot.writeMessageEnd()
8439
    oprot.trans.flush()
6962 rajveer 8440
 
7190 amar.kumar 8441
  def process_addOrUpdateFreebieForItem(self, seqid, iprot, oprot):
8442
    args = addOrUpdateFreebieForItem_args()
8443
    args.read(iprot)
8444
    iprot.readMessageEnd()
8445
    result = addOrUpdateFreebieForItem_result()
8446
    self._handler.addOrUpdateFreebieForItem(args.freebieItem)
8447
    oprot.writeMessageBegin("addOrUpdateFreebieForItem", TMessageType.REPLY, seqid)
8448
    result.write(oprot)
8449
    oprot.writeMessageEnd()
8450
    oprot.trans.flush()
8451
 
7272 amit.gupta 8452
  def process_addOrUpdateBrandInfo(self, seqid, iprot, oprot):
8453
    args = addOrUpdateBrandInfo_args()
8454
    args.read(iprot)
8455
    iprot.readMessageEnd()
8456
    result = addOrUpdateBrandInfo_result()
8457
    self._handler.addOrUpdateBrandInfo(args.brandInfo)
8458
    oprot.writeMessageBegin("addOrUpdateBrandInfo", TMessageType.REPLY, seqid)
8459
    result.write(oprot)
8460
    oprot.writeMessageEnd()
8461
    oprot.trans.flush()
8462
 
8463
  def process_getBrandInfo(self, seqid, iprot, oprot):
8464
    args = getBrandInfo_args()
8465
    args.read(iprot)
8466
    iprot.readMessageEnd()
8467
    result = getBrandInfo_result()
8468
    result.success = self._handler.getBrandInfo()
8469
    oprot.writeMessageBegin("getBrandInfo", TMessageType.REPLY, seqid)
8470
    result.write(oprot)
8471
    oprot.writeMessageEnd()
8472
    oprot.trans.flush()
8473
 
7256 rajveer 8474
  def process_getStorePricing(self, seqid, iprot, oprot):
8475
    args = getStorePricing_args()
8476
    args.read(iprot)
8477
    iprot.readMessageEnd()
8478
    result = getStorePricing_result()
8479
    result.success = self._handler.getStorePricing(args.itemId)
8480
    oprot.writeMessageBegin("getStorePricing", TMessageType.REPLY, seqid)
8481
    result.write(oprot)
8482
    oprot.writeMessageEnd()
8483
    oprot.trans.flush()
7190 amar.kumar 8484
 
7306 rajveer 8485
  def process_getStorePricings(self, seqid, iprot, oprot):
8486
    args = getStorePricings_args()
8487
    args.read(iprot)
8488
    iprot.readMessageEnd()
8489
    result = getStorePricings_result()
8490
    result.success = self._handler.getStorePricings(args.itemIds)
8491
    oprot.writeMessageBegin("getStorePricings", TMessageType.REPLY, seqid)
8492
    result.write(oprot)
8493
    oprot.writeMessageEnd()
8494
    oprot.trans.flush()
8495
 
7265 rajveer 8496
  def process_updateStorePricing(self, seqid, iprot, oprot):
8497
    args = updateStorePricing_args()
8498
    args.read(iprot)
8499
    iprot.readMessageEnd()
8500
    result = updateStorePricing_result()
7382 rajveer 8501
    self._handler.updateStorePricing(args.sp, args.allColors)
7265 rajveer 8502
    oprot.writeMessageBegin("updateStorePricing", TMessageType.REPLY, seqid)
8503
    result.write(oprot)
8504
    oprot.writeMessageEnd()
8505
    oprot.trans.flush()
7256 rajveer 8506
 
7281 kshitij.so 8507
  def process_getAllAmazonListedItems(self, seqid, iprot, oprot):
8508
    args = getAllAmazonListedItems_args()
8509
    args.read(iprot)
8510
    iprot.readMessageEnd()
8511
    result = getAllAmazonListedItems_result()
8512
    result.success = self._handler.getAllAmazonListedItems()
8513
    oprot.writeMessageBegin("getAllAmazonListedItems", TMessageType.REPLY, seqid)
8514
    result.write(oprot)
8515
    oprot.writeMessageEnd()
8516
    oprot.trans.flush()
7265 rajveer 8517
 
8619 kshitij.so 8518
  def process_searchAmazonItems(self, seqid, iprot, oprot):
8519
    args = searchAmazonItems_args()
8520
    args.read(iprot)
8521
    iprot.readMessageEnd()
8522
    result = searchAmazonItems_result()
8523
    result.success = self._handler.searchAmazonItems(args.searchTerm, args.offset, args.limit)
8524
    oprot.writeMessageBegin("searchAmazonItems", TMessageType.REPLY, seqid)
8525
    result.write(oprot)
8526
    oprot.writeMessageEnd()
8527
    oprot.trans.flush()
8528
 
8529
  def process_getAmazonSearchResultCount(self, seqid, iprot, oprot):
8530
    args = getAmazonSearchResultCount_args()
8531
    args.read(iprot)
8532
    iprot.readMessageEnd()
8533
    result = getAmazonSearchResultCount_result()
8534
    result.success = self._handler.getAmazonSearchResultCount(args.searchTerm)
8535
    oprot.writeMessageBegin("getAmazonSearchResultCount", TMessageType.REPLY, seqid)
8536
    result.write(oprot)
8537
    oprot.writeMessageEnd()
8538
    oprot.trans.flush()
8539
 
8540
  def process_getCountForAmazonlistedItems(self, seqid, iprot, oprot):
8541
    args = getCountForAmazonlistedItems_args()
8542
    args.read(iprot)
8543
    iprot.readMessageEnd()
8544
    result = getCountForAmazonlistedItems_result()
8545
    result.success = self._handler.getCountForAmazonlistedItems()
8546
    oprot.writeMessageBegin("getCountForAmazonlistedItems", TMessageType.REPLY, seqid)
8547
    result.write(oprot)
8548
    oprot.writeMessageEnd()
8549
    oprot.trans.flush()
8550
 
7281 kshitij.so 8551
  def process_getAmazonItemDetails(self, seqid, iprot, oprot):
8552
    args = getAmazonItemDetails_args()
8553
    args.read(iprot)
8554
    iprot.readMessageEnd()
8555
    result = getAmazonItemDetails_result()
8556
    result.success = self._handler.getAmazonItemDetails(args.itemId)
8557
    oprot.writeMessageBegin("getAmazonItemDetails", TMessageType.REPLY, seqid)
8558
    result.write(oprot)
8559
    oprot.writeMessageEnd()
8560
    oprot.trans.flush()
8561
 
8562
  def process_updateAmazonItemDetails(self, seqid, iprot, oprot):
8563
    args = updateAmazonItemDetails_args()
8564
    args.read(iprot)
8565
    iprot.readMessageEnd()
8566
    result = updateAmazonItemDetails_result()
8168 kshitij.so 8567
    self._handler.updateAmazonItemDetails(args.amazonlisted)
7281 kshitij.so 8568
    oprot.writeMessageBegin("updateAmazonItemDetails", TMessageType.REPLY, seqid)
8569
    result.write(oprot)
8570
    oprot.writeMessageEnd()
8571
    oprot.trans.flush()
8572
 
8573
  def process_addAmazonItem(self, seqid, iprot, oprot):
8574
    args = addAmazonItem_args()
8575
    args.read(iprot)
8576
    iprot.readMessageEnd()
8577
    result = addAmazonItem_result()
8578
    self._handler.addAmazonItem(args.amazonlisted)
8579
    oprot.writeMessageBegin("addAmazonItem", TMessageType.REPLY, seqid)
8580
    result.write(oprot)
8581
    oprot.writeMessageEnd()
8582
    oprot.trans.flush()
8583
 
7291 vikram.rag 8584
  def process_getAsinItems(self, seqid, iprot, oprot):
8585
    args = getAsinItems_args()
8586
    args.read(iprot)
8587
    iprot.readMessageEnd()
8588
    result = getAsinItems_result()
8589
    result.success = self._handler.getAsinItems()
8590
    oprot.writeMessageBegin("getAsinItems", TMessageType.REPLY, seqid)
8591
    result.write(oprot)
8592
    oprot.writeMessageEnd()
8593
    oprot.trans.flush()
7281 kshitij.so 8594
 
7291 vikram.rag 8595
  def process_getAllFbaListedItems(self, seqid, iprot, oprot):
8596
    args = getAllFbaListedItems_args()
8597
    args.read(iprot)
8598
    iprot.readMessageEnd()
8599
    result = getAllFbaListedItems_result()
8600
    result.success = self._handler.getAllFbaListedItems()
8601
    oprot.writeMessageBegin("getAllFbaListedItems", TMessageType.REPLY, seqid)
8602
    result.write(oprot)
8603
    oprot.writeMessageEnd()
8604
    oprot.trans.flush()
8605
 
8606
  def process_getAllNonFbaListedItems(self, seqid, iprot, oprot):
8607
    args = getAllNonFbaListedItems_args()
8608
    args.read(iprot)
8609
    iprot.readMessageEnd()
8610
    result = getAllNonFbaListedItems_result()
8611
    result.success = self._handler.getAllNonFbaListedItems()
8612
    oprot.writeMessageBegin("getAllNonFbaListedItems", TMessageType.REPLY, seqid)
8613
    result.write(oprot)
8614
    oprot.writeMessageEnd()
8615
    oprot.trans.flush()
8616
 
7460 kshitij.so 8617
  def process_updateItemInventory(self, seqid, iprot, oprot):
8618
    args = updateItemInventory_args()
8619
    args.read(iprot)
8620
    iprot.readMessageEnd()
8621
    result = updateItemInventory_result()
8622
    result.success = self._handler.updateItemInventory(args.itemId, args.holdInventory, args.defaultInventory)
8623
    oprot.writeMessageBegin("updateItemInventory", TMessageType.REPLY, seqid)
8624
    result.write(oprot)
8625
    oprot.writeMessageEnd()
8626
    oprot.trans.flush()
7291 vikram.rag 8627
 
7770 kshitij.so 8628
  def process_updateTimestampForAmazonFeeds(self, seqid, iprot, oprot):
8629
    args = updateTimestampForAmazonFeeds_args()
8630
    args.read(iprot)
8631
    iprot.readMessageEnd()
8632
    result = updateTimestampForAmazonFeeds_result()
8633
    result.success = self._handler.updateTimestampForAmazonFeeds(args.type, args.sku, args.timestamp)
8634
    oprot.writeMessageBegin("updateTimestampForAmazonFeeds", TMessageType.REPLY, seqid)
8635
    result.write(oprot)
8636
    oprot.writeMessageEnd()
8637
    oprot.trans.flush()
7460 kshitij.so 8638
 
7897 amar.kumar 8639
  def process_getAllParentCategories(self, seqid, iprot, oprot):
8640
    args = getAllParentCategories_args()
8641
    args.read(iprot)
8642
    iprot.readMessageEnd()
8643
    result = getAllParentCategories_result()
8644
    result.success = self._handler.getAllParentCategories()
8645
    oprot.writeMessageBegin("getAllParentCategories", TMessageType.REPLY, seqid)
8646
    result.write(oprot)
8647
    oprot.writeMessageEnd()
8648
    oprot.trans.flush()
7770 kshitij.so 8649
 
7977 kshitij.so 8650
  def process_addPageViewEvent(self, seqid, iprot, oprot):
8651
    args = addPageViewEvent_args()
8652
    args.read(iprot)
8653
    iprot.readMessageEnd()
8654
    result = addPageViewEvent_result()
8655
    self._handler.addPageViewEvent(args.pageViewEvents)
8656
    oprot.writeMessageBegin("addPageViewEvent", TMessageType.REPLY, seqid)
8657
    result.write(oprot)
8658
    oprot.writeMessageEnd()
8659
    oprot.trans.flush()
7897 amar.kumar 8660
 
7977 kshitij.so 8661
  def process_addCartEvent(self, seqid, iprot, oprot):
8662
    args = addCartEvent_args()
8663
    args.read(iprot)
8664
    iprot.readMessageEnd()
8665
    result = addCartEvent_result()
8666
    self._handler.addCartEvent(args.cartEvents)
8667
    oprot.writeMessageBegin("addCartEvent", TMessageType.REPLY, seqid)
8668
    result.write(oprot)
8669
    oprot.writeMessageEnd()
8670
    oprot.trans.flush()
8671
 
8182 amar.kumar 8672
  def process_addEbayItem(self, seqid, iprot, oprot):
8673
    args = addEbayItem_args()
8674
    args.read(iprot)
8675
    iprot.readMessageEnd()
8676
    result = addEbayItem_result()
8677
    self._handler.addEbayItem(args.ebayItem)
8678
    oprot.writeMessageBegin("addEbayItem", TMessageType.REPLY, seqid)
8679
    result.write(oprot)
8680
    oprot.writeMessageEnd()
8681
    oprot.trans.flush()
8682
 
8683
  def process_getEbayItem(self, seqid, iprot, oprot):
8684
    args = getEbayItem_args()
8685
    args.read(iprot)
8686
    iprot.readMessageEnd()
8687
    result = getEbayItem_result()
8688
    result.success = self._handler.getEbayItem(args.listingId)
8689
    oprot.writeMessageBegin("getEbayItem", TMessageType.REPLY, seqid)
8690
    result.write(oprot)
8691
    oprot.writeMessageEnd()
8692
    oprot.trans.flush()
8693
 
8694
  def process_updateEbayItem(self, seqid, iprot, oprot):
8695
    args = updateEbayItem_args()
8696
    args.read(iprot)
8697
    iprot.readMessageEnd()
8698
    result = updateEbayItem_result()
8699
    self._handler.updateEbayItem(args.ebayItem)
8700
    oprot.writeMessageBegin("updateEbayItem", TMessageType.REPLY, seqid)
8701
    result.write(oprot)
8702
    oprot.writeMessageEnd()
8703
    oprot.trans.flush()
8704
 
8139 kshitij.so 8705
  def process_getAmazonListedItems(self, seqid, iprot, oprot):
8706
    args = getAmazonListedItems_args()
8707
    args.read(iprot)
8708
    iprot.readMessageEnd()
8709
    result = getAmazonListedItems_result()
8710
    result.success = self._handler.getAmazonListedItems(args.offset, args.limit)
8711
    oprot.writeMessageBegin("getAmazonListedItems", TMessageType.REPLY, seqid)
8712
    result.write(oprot)
8713
    oprot.writeMessageEnd()
8714
    oprot.trans.flush()
7977 kshitij.so 8715
 
8168 kshitij.so 8716
  def process_updateAmazonAttributesInBulk(self, seqid, iprot, oprot):
8717
    args = updateAmazonAttributesInBulk_args()
8718
    args.read(iprot)
8719
    iprot.readMessageEnd()
8720
    result = updateAmazonAttributesInBulk_result()
8721
    result.success = self._handler.updateAmazonAttributesInBulk(args.amazonlisted)
8722
    oprot.writeMessageBegin("updateAmazonAttributesInBulk", TMessageType.REPLY, seqid)
8723
    result.write(oprot)
8724
    oprot.writeMessageEnd()
8725
    oprot.trans.flush()
8139 kshitij.so 8726
 
8379 vikram.rag 8727
  def process_getAllItemstoListOnFba(self, seqid, iprot, oprot):
8728
    args = getAllItemstoListOnFba_args()
8729
    args.read(iprot)
8730
    iprot.readMessageEnd()
8731
    result = getAllItemstoListOnFba_result()
8732
    result.success = self._handler.getAllItemstoListOnFba()
8733
    oprot.writeMessageBegin("getAllItemstoListOnFba", TMessageType.REPLY, seqid)
8734
    result.write(oprot)
8735
    oprot.writeMessageEnd()
8736
    oprot.trans.flush()
8168 kshitij.so 8737
 
8379 vikram.rag 8738
  def process_getAllItemstoListOnNonFba(self, seqid, iprot, oprot):
8739
    args = getAllItemstoListOnNonFba_args()
8740
    args.read(iprot)
8741
    iprot.readMessageEnd()
8742
    result = getAllItemstoListOnNonFba_result()
8743
    result.success = self._handler.getAllItemstoListOnNonFba()
8744
    oprot.writeMessageBegin("getAllItemstoListOnNonFba", TMessageType.REPLY, seqid)
8745
    result.write(oprot)
8746
    oprot.writeMessageEnd()
8747
    oprot.trans.flush()
8748
 
8619 kshitij.so 8749
  def process_updateAsin(self, seqid, iprot, oprot):
8750
    args = updateAsin_args()
8751
    args.read(iprot)
8752
    iprot.readMessageEnd()
8753
    result = updateAsin_result()
8754
    self._handler.updateAsin(args.item)
8755
    oprot.writeMessageBegin("updateAsin", TMessageType.REPLY, seqid)
8756
    result.write(oprot)
8757
    oprot.writeMessageEnd()
8758
    oprot.trans.flush()
8616 vikram.rag 8759
 
8739 vikram.rag 8760
  def process_addOrUpdateSnapdealItem(self, seqid, iprot, oprot):
8761
    args = addOrUpdateSnapdealItem_args()
8762
    args.read(iprot)
8763
    iprot.readMessageEnd()
8764
    result = addOrUpdateSnapdealItem_result()
8765
    result.success = self._handler.addOrUpdateSnapdealItem(args.snapdealitem)
8766
    oprot.writeMessageBegin("addOrUpdateSnapdealItem", TMessageType.REPLY, seqid)
8767
    result.write(oprot)
8768
    oprot.writeMessageEnd()
8769
    oprot.trans.flush()
8619 kshitij.so 8770
 
8739 vikram.rag 8771
  def process_getSnapdealItem(self, seqid, iprot, oprot):
8772
    args = getSnapdealItem_args()
8773
    args.read(iprot)
8774
    iprot.readMessageEnd()
8775
    result = getSnapdealItem_result()
8776
    result.success = self._handler.getSnapdealItem(args.item_id)
8777
    oprot.writeMessageBegin("getSnapdealItem", TMessageType.REPLY, seqid)
8778
    result.write(oprot)
8779
    oprot.writeMessageEnd()
8780
    oprot.trans.flush()
8781
 
9242 kshitij.so 8782
  def process_getSnapdealItemDetails(self, seqid, iprot, oprot):
8783
    args = getSnapdealItemDetails_args()
8784
    args.read(iprot)
8785
    iprot.readMessageEnd()
8786
    result = getSnapdealItemDetails_result()
8787
    result.success = self._handler.getSnapdealItemDetails(args.item_id)
8788
    oprot.writeMessageBegin("getSnapdealItemDetails", TMessageType.REPLY, seqid)
8789
    result.write(oprot)
8790
    oprot.writeMessageEnd()
8791
    oprot.trans.flush()
8792
 
8739 vikram.rag 8793
  def process_getAllSnapdealItems(self, seqid, iprot, oprot):
8794
    args = getAllSnapdealItems_args()
8795
    args.read(iprot)
8796
    iprot.readMessageEnd()
8797
    result = getAllSnapdealItems_result()
8798
    result.success = self._handler.getAllSnapdealItems()
8799
    oprot.writeMessageBegin("getAllSnapdealItems", TMessageType.REPLY, seqid)
8800
    result.write(oprot)
8801
    oprot.writeMessageEnd()
8802
    oprot.trans.flush()
8803
 
9242 kshitij.so 8804
  def process_getSnapdealItems(self, seqid, iprot, oprot):
8805
    args = getSnapdealItems_args()
8806
    args.read(iprot)
8807
    iprot.readMessageEnd()
8808
    result = getSnapdealItems_result()
8809
    result.success = self._handler.getSnapdealItems(args.offset, args.limit)
8810
    oprot.writeMessageBegin("getSnapdealItems", TMessageType.REPLY, seqid)
8811
    result.write(oprot)
8812
    oprot.writeMessageEnd()
8813
    oprot.trans.flush()
8739 vikram.rag 8814
 
9242 kshitij.so 8815
  def process_searchSnapdealItems(self, seqid, iprot, oprot):
8816
    args = searchSnapdealItems_args()
8817
    args.read(iprot)
8818
    iprot.readMessageEnd()
8819
    result = searchSnapdealItems_result()
8820
    result.success = self._handler.searchSnapdealItems(args.searchTerm, args.offset, args.limit)
8821
    oprot.writeMessageBegin("searchSnapdealItems", TMessageType.REPLY, seqid)
8822
    result.write(oprot)
8823
    oprot.writeMessageEnd()
8824
    oprot.trans.flush()
8825
 
8826
  def process_getCountForSnapdealItems(self, seqid, iprot, oprot):
8827
    args = getCountForSnapdealItems_args()
8828
    args.read(iprot)
8829
    iprot.readMessageEnd()
8830
    result = getCountForSnapdealItems_result()
8831
    result.success = self._handler.getCountForSnapdealItems()
8832
    oprot.writeMessageBegin("getCountForSnapdealItems", TMessageType.REPLY, seqid)
8833
    result.write(oprot)
8834
    oprot.writeMessageEnd()
8835
    oprot.trans.flush()
8836
 
8837
  def process_getSnapdealSearchResultCount(self, seqid, iprot, oprot):
8838
    args = getSnapdealSearchResultCount_args()
8839
    args.read(iprot)
8840
    iprot.readMessageEnd()
8841
    result = getSnapdealSearchResultCount_result()
8842
    result.success = self._handler.getSnapdealSearchResultCount(args.searchTerm)
8843
    oprot.writeMessageBegin("getSnapdealSearchResultCount", TMessageType.REPLY, seqid)
8844
    result.write(oprot)
8845
    oprot.writeMessageEnd()
8846
    oprot.trans.flush()
8847
 
9299 kshitij.so 8848
  def process_getPrefferedInsurerForItem(self, seqid, iprot, oprot):
8849
    args = getPrefferedInsurerForItem_args()
8850
    args.read(iprot)
8851
    iprot.readMessageEnd()
8852
    result = getPrefferedInsurerForItem_result()
8853
    result.success = self._handler.getPrefferedInsurerForItem(args.itemId, args.insurerType)
8854
    oprot.writeMessageBegin("getPrefferedInsurerForItem", TMessageType.REPLY, seqid)
8855
    result.write(oprot)
8856
    oprot.writeMessageEnd()
8857
    oprot.trans.flush()
9242 kshitij.so 8858
 
9456 vikram.rag 8859
  def process_getSnapdealItembySkuAtSnapdeal(self, seqid, iprot, oprot):
8860
    args = getSnapdealItembySkuAtSnapdeal_args()
8861
    args.read(iprot)
8862
    iprot.readMessageEnd()
8863
    result = getSnapdealItembySkuAtSnapdeal_result()
8864
    result.success = self._handler.getSnapdealItembySkuAtSnapdeal(args.skuAtSnapdeal)
8865
    oprot.writeMessageBegin("getSnapdealItembySkuAtSnapdeal", TMessageType.REPLY, seqid)
8866
    result.write(oprot)
8867
    oprot.writeMessageEnd()
8868
    oprot.trans.flush()
9299 kshitij.so 8869
 
9621 manish.sha 8870
  def process_getProductFeedSubmit(self, seqid, iprot, oprot):
8871
    args = getProductFeedSubmit_args()
8872
    args.read(iprot)
8873
    iprot.readMessageEnd()
8874
    result = getProductFeedSubmit_result()
8875
    try:
8876
      result.success = self._handler.getProductFeedSubmit(args.catalogItemId)
8877
    except CatalogServiceException, cex:
8878
      result.cex = cex
8879
    oprot.writeMessageBegin("getProductFeedSubmit", TMessageType.REPLY, seqid)
8880
    result.write(oprot)
8881
    oprot.writeMessageEnd()
8882
    oprot.trans.flush()
9456 vikram.rag 8883
 
9621 manish.sha 8884
  def process_addProductFeedSubmit(self, seqid, iprot, oprot):
8885
    args = addProductFeedSubmit_args()
8886
    args.read(iprot)
8887
    iprot.readMessageEnd()
8888
    result = addProductFeedSubmit_result()
8889
    try:
8890
      result.success = self._handler.addProductFeedSubmit(args.productFeedSubmit)
8891
    except CatalogServiceException, cex:
8892
      result.cex = cex
8893
    oprot.writeMessageBegin("addProductFeedSubmit", TMessageType.REPLY, seqid)
8894
    result.write(oprot)
8895
    oprot.writeMessageEnd()
8896
    oprot.trans.flush()
8897
 
8898
  def process_updateProductFeedSubmit(self, seqid, iprot, oprot):
8899
    args = updateProductFeedSubmit_args()
8900
    args.read(iprot)
8901
    iprot.readMessageEnd()
8902
    result = updateProductFeedSubmit_result()
8903
    try:
8904
      result.success = self._handler.updateProductFeedSubmit(args.productFeedSubmit)
8905
    except CatalogServiceException, cex:
8906
      result.cex = cex
8907
    oprot.writeMessageBegin("updateProductFeedSubmit", TMessageType.REPLY, seqid)
8908
    result.write(oprot)
8909
    oprot.writeMessageEnd()
8910
    oprot.trans.flush()
8911
 
8912
  def process_deleteProductFeedSubmit(self, seqid, iprot, oprot):
8913
    args = deleteProductFeedSubmit_args()
8914
    args.read(iprot)
8915
    iprot.readMessageEnd()
8916
    result = deleteProductFeedSubmit_result()
8917
    try:
8918
      result.success = self._handler.deleteProductFeedSubmit(args.catalogItemId)
8919
    except CatalogServiceException, cex:
8920
      result.cex = cex
8921
    oprot.writeMessageBegin("deleteProductFeedSubmit", TMessageType.REPLY, seqid)
8922
    result.write(oprot)
8923
    oprot.writeMessageEnd()
8924
    oprot.trans.flush()
8925
 
8926
  def process_getAllProductFeedSubmit(self, seqid, iprot, oprot):
8927
    args = getAllProductFeedSubmit_args()
8928
    args.read(iprot)
8929
    iprot.readMessageEnd()
8930
    result = getAllProductFeedSubmit_result()
8931
    try:
8932
      result.success = self._handler.getAllProductFeedSubmit()
8933
    except CatalogServiceException, cex:
8934
      result.cex = cex
8935
    oprot.writeMessageBegin("getAllProductFeedSubmit", TMessageType.REPLY, seqid)
8936
    result.write(oprot)
8937
    oprot.writeMessageEnd()
8938
    oprot.trans.flush()
8939
 
9724 kshitij.so 8940
  def process_getMarketplacedetailsForItem(self, seqid, iprot, oprot):
8941
    args = getMarketplacedetailsForItem_args()
8942
    args.read(iprot)
8943
    iprot.readMessageEnd()
8944
    result = getMarketplacedetailsForItem_result()
8945
    result.success = self._handler.getMarketplacedetailsForItem(args.itemId, args.sourceId)
8946
    oprot.writeMessageBegin("getMarketplacedetailsForItem", TMessageType.REPLY, seqid)
8947
    result.write(oprot)
8948
    oprot.writeMessageEnd()
8949
    oprot.trans.flush()
9621 manish.sha 8950
 
9724 kshitij.so 8951
  def process_updateMarketplaceAttributesForItem(self, seqid, iprot, oprot):
8952
    args = updateMarketplaceAttributesForItem_args()
8953
    args.read(iprot)
8954
    iprot.readMessageEnd()
8955
    result = updateMarketplaceAttributesForItem_result()
8956
    result.success = self._handler.updateMarketplaceAttributesForItem(args.marketPlaceItem)
8957
    oprot.writeMessageBegin("updateMarketplaceAttributesForItem", TMessageType.REPLY, seqid)
8958
    result.write(oprot)
8959
    oprot.writeMessageEnd()
8960
    oprot.trans.flush()
8961
 
9779 kshitij.so 8962
  def process_getCostingForMarketplace(self, seqid, iprot, oprot):
8963
    args = getCostingForMarketplace_args()
8964
    args.read(iprot)
8965
    iprot.readMessageEnd()
8966
    result = getCostingForMarketplace_result()
8967
    result.success = self._handler.getCostingForMarketplace(args.source, args.item_id)
8968
    oprot.writeMessageBegin("getCostingForMarketplace", TMessageType.REPLY, seqid)
8969
    result.write(oprot)
8970
    oprot.writeMessageEnd()
8971
    oprot.trans.flush()
8972
 
9776 vikram.rag 8973
  def process_getMarketPlaceItemsForPriceUpdate(self, seqid, iprot, oprot):
8974
    args = getMarketPlaceItemsForPriceUpdate_args()
8975
    args.read(iprot)
8976
    iprot.readMessageEnd()
8977
    result = getMarketPlaceItemsForPriceUpdate_result()
8978
    result.success = self._handler.getMarketPlaceItemsForPriceUpdate(args.source)
8979
    oprot.writeMessageBegin("getMarketPlaceItemsForPriceUpdate", TMessageType.REPLY, seqid)
8980
    result.write(oprot)
8981
    oprot.writeMessageEnd()
8982
    oprot.trans.flush()
9724 kshitij.so 8983
 
9776 vikram.rag 8984
  def process_updateMarketPlacePriceUpdateStatus(self, seqid, iprot, oprot):
8985
    args = updateMarketPlacePriceUpdateStatus_args()
8986
    args.read(iprot)
8987
    iprot.readMessageEnd()
8988
    result = updateMarketPlacePriceUpdateStatus_result()
9816 kshitij.so 8989
    self._handler.updateMarketPlacePriceUpdateStatus(args.skulist, args.timestamp, args.source)
9776 vikram.rag 8990
    oprot.writeMessageBegin("updateMarketPlacePriceUpdateStatus", TMessageType.REPLY, seqid)
8991
    result.write(oprot)
8992
    oprot.writeMessageEnd()
8993
    oprot.trans.flush()
8994
 
9861 rajveer 8995
  def process_updateItemHoldInventory(self, seqid, iprot, oprot):
8996
    args = updateItemHoldInventory_args()
8997
    args.read(iprot)
8998
    iprot.readMessageEnd()
8999
    result = updateItemHoldInventory_result()
9000
    self._handler.updateItemHoldInventory(args.itemHoldMap)
9001
    oprot.writeMessageBegin("updateItemHoldInventory", TMessageType.REPLY, seqid)
9002
    result.write(oprot)
9003
    oprot.writeMessageEnd()
9004
    oprot.trans.flush()
9776 vikram.rag 9005
 
9895 vikram.rag 9006
  def process_updateNlcAtMarketplaces(self, seqid, iprot, oprot):
9007
    args = updateNlcAtMarketplaces_args()
9008
    args.read(iprot)
9009
    iprot.readMessageEnd()
9010
    result = updateNlcAtMarketplaces_result()
9011
    self._handler.updateNlcAtMarketplaces(args.item_id, args.vendor_id, args.nlc)
9012
    oprot.writeMessageBegin("updateNlcAtMarketplaces", TMessageType.REPLY, seqid)
9013
    result.write(oprot)
9014
    oprot.writeMessageEnd()
9015
    oprot.trans.flush()
9861 rajveer 9016
 
9945 vikram.rag 9017
  def process_getAllFlipkartItems(self, seqid, iprot, oprot):
9018
    args = getAllFlipkartItems_args()
9019
    args.read(iprot)
9020
    iprot.readMessageEnd()
9021
    result = getAllFlipkartItems_result()
9022
    result.success = self._handler.getAllFlipkartItems()
9023
    oprot.writeMessageBegin("getAllFlipkartItems", TMessageType.REPLY, seqid)
9024
    result.write(oprot)
9025
    oprot.writeMessageEnd()
9026
    oprot.trans.flush()
9895 vikram.rag 9027
 
10097 kshitij.so 9028
  def process_addOrUpdateFlipkartItem(self, seqid, iprot, oprot):
9029
    args = addOrUpdateFlipkartItem_args()
9030
    args.read(iprot)
9031
    iprot.readMessageEnd()
9032
    result = addOrUpdateFlipkartItem_result()
9033
    result.success = self._handler.addOrUpdateFlipkartItem(args.flipkartitem)
9034
    oprot.writeMessageBegin("addOrUpdateFlipkartItem", TMessageType.REPLY, seqid)
9035
    result.write(oprot)
9036
    oprot.writeMessageEnd()
9037
    oprot.trans.flush()
9945 vikram.rag 9038
 
10097 kshitij.so 9039
  def process_getFlipkartItem(self, seqid, iprot, oprot):
9040
    args = getFlipkartItem_args()
9041
    args.read(iprot)
9042
    iprot.readMessageEnd()
9043
    result = getFlipkartItem_result()
9044
    result.success = self._handler.getFlipkartItem(args.item_id)
9045
    oprot.writeMessageBegin("getFlipkartItem", TMessageType.REPLY, seqid)
9046
    result.write(oprot)
9047
    oprot.writeMessageEnd()
9048
    oprot.trans.flush()
9049
 
9050
  def process_getFlipkartItemDetails(self, seqid, iprot, oprot):
9051
    args = getFlipkartItemDetails_args()
9052
    args.read(iprot)
9053
    iprot.readMessageEnd()
9054
    result = getFlipkartItemDetails_result()
9055
    result.success = self._handler.getFlipkartItemDetails(args.item_id)
9056
    oprot.writeMessageBegin("getFlipkartItemDetails", TMessageType.REPLY, seqid)
9057
    result.write(oprot)
9058
    oprot.writeMessageEnd()
9059
    oprot.trans.flush()
9060
 
9061
  def process_getFlipkartItems(self, seqid, iprot, oprot):
9062
    args = getFlipkartItems_args()
9063
    args.read(iprot)
9064
    iprot.readMessageEnd()
9065
    result = getFlipkartItems_result()
9066
    result.success = self._handler.getFlipkartItems(args.offset, args.limit)
9067
    oprot.writeMessageBegin("getFlipkartItems", TMessageType.REPLY, seqid)
9068
    result.write(oprot)
9069
    oprot.writeMessageEnd()
9070
    oprot.trans.flush()
9071
 
9072
  def process_searchFlipkartItems(self, seqid, iprot, oprot):
9073
    args = searchFlipkartItems_args()
9074
    args.read(iprot)
9075
    iprot.readMessageEnd()
9076
    result = searchFlipkartItems_result()
9077
    result.success = self._handler.searchFlipkartItems(args.searchTerm, args.offset, args.limit)
9078
    oprot.writeMessageBegin("searchFlipkartItems", TMessageType.REPLY, seqid)
9079
    result.write(oprot)
9080
    oprot.writeMessageEnd()
9081
    oprot.trans.flush()
9082
 
9083
  def process_getCountForFlipkartItems(self, seqid, iprot, oprot):
9084
    args = getCountForFlipkartItems_args()
9085
    args.read(iprot)
9086
    iprot.readMessageEnd()
9087
    result = getCountForFlipkartItems_result()
9088
    result.success = self._handler.getCountForFlipkartItems()
9089
    oprot.writeMessageBegin("getCountForFlipkartItems", TMessageType.REPLY, seqid)
9090
    result.write(oprot)
9091
    oprot.writeMessageEnd()
9092
    oprot.trans.flush()
9093
 
9094
  def process_getFlipkartSearchResultCount(self, seqid, iprot, oprot):
9095
    args = getFlipkartSearchResultCount_args()
9096
    args.read(iprot)
9097
    iprot.readMessageEnd()
9098
    result = getFlipkartSearchResultCount_result()
9099
    result.success = self._handler.getFlipkartSearchResultCount(args.searchTerm)
9100
    oprot.writeMessageBegin("getFlipkartSearchResultCount", TMessageType.REPLY, seqid)
9101
    result.write(oprot)
9102
    oprot.writeMessageEnd()
9103
    oprot.trans.flush()
9104
 
9105
  def process_getAllFkItems(self, seqid, iprot, oprot):
9106
    args = getAllFkItems_args()
9107
    args.read(iprot)
9108
    iprot.readMessageEnd()
9109
    result = getAllFkItems_result()
9110
    result.success = self._handler.getAllFkItems()
9111
    oprot.writeMessageBegin("getAllFkItems", TMessageType.REPLY, seqid)
9112
    result.write(oprot)
9113
    oprot.writeMessageEnd()
9114
    oprot.trans.flush()
9115
 
10140 vikram.rag 9116
  def process_getFlipkartItemBySkyAtFlipkart(self, seqid, iprot, oprot):
9117
    args = getFlipkartItemBySkyAtFlipkart_args()
9118
    args.read(iprot)
9119
    iprot.readMessageEnd()
9120
    result = getFlipkartItemBySkyAtFlipkart_result()
9121
    result.success = self._handler.getFlipkartItemBySkyAtFlipkart(args.sku)
9122
    oprot.writeMessageBegin("getFlipkartItemBySkyAtFlipkart", TMessageType.REPLY, seqid)
9123
    result.write(oprot)
9124
    oprot.writeMessageEnd()
9125
    oprot.trans.flush()
10097 kshitij.so 9126
 
11015 kshitij.so 9127
  def process_getMarketplaceHistory(self, seqid, iprot, oprot):
9128
    args = getMarketplaceHistory_args()
9129
    args.read(iprot)
9130
    iprot.readMessageEnd()
9131
    result = getMarketplaceHistory_result()
9132
    result.success = self._handler.getMarketplaceHistory(args.source, args.offset, args.itemId)
9133
    oprot.writeMessageBegin("getMarketplaceHistory", TMessageType.REPLY, seqid)
9134
    result.write(oprot)
9135
    oprot.writeMessageEnd()
9136
    oprot.trans.flush()
9137
 
10909 vikram.rag 9138
  def process_getAllFbbListedItems(self, seqid, iprot, oprot):
9139
    args = getAllFbbListedItems_args()
9140
    args.read(iprot)
9141
    iprot.readMessageEnd()
9142
    result = getAllFbbListedItems_result()
9143
    result.success = self._handler.getAllFbbListedItems()
9144
    oprot.writeMessageBegin("getAllFbbListedItems", TMessageType.REPLY, seqid)
9145
    result.write(oprot)
9146
    oprot.writeMessageEnd()
9147
    oprot.trans.flush()
10140 vikram.rag 9148
 
10924 vikram.rag 9149
  def process_getAllFbbPricingItems(self, seqid, iprot, oprot):
9150
    args = getAllFbbPricingItems_args()
9151
    args.read(iprot)
9152
    iprot.readMessageEnd()
9153
    result = getAllFbbPricingItems_result()
9154
    result.success = self._handler.getAllFbbPricingItems()
9155
    oprot.writeMessageBegin("getAllFbbPricingItems", TMessageType.REPLY, seqid)
9156
    result.write(oprot)
9157
    oprot.writeMessageEnd()
9158
    oprot.trans.flush()
10909 vikram.rag 9159
 
11015 kshitij.so 9160
  def process_getCountForMarketplaceHistory(self, seqid, iprot, oprot):
9161
    args = getCountForMarketplaceHistory_args()
9162
    args.read(iprot)
9163
    iprot.readMessageEnd()
9164
    result = getCountForMarketplaceHistory_result()
9165
    result.success = self._handler.getCountForMarketplaceHistory(args.source, args.itemId)
9166
    oprot.writeMessageBegin("getCountForMarketplaceHistory", TMessageType.REPLY, seqid)
9167
    result.write(oprot)
9168
    oprot.writeMessageEnd()
9169
    oprot.trans.flush()
10924 vikram.rag 9170
 
11015 kshitij.so 9171
  def process_getMarketplaceHistoryByDate(self, seqid, iprot, oprot):
9172
    args = getMarketplaceHistoryByDate_args()
9173
    args.read(iprot)
9174
    iprot.readMessageEnd()
9175
    result = getMarketplaceHistoryByDate_result()
9176
    result.success = self._handler.getMarketplaceHistoryByDate(args.source, args.startDate, args.endDate, args.offset, args.limit, args.itemId)
9177
    oprot.writeMessageBegin("getMarketplaceHistoryByDate", TMessageType.REPLY, seqid)
9178
    result.write(oprot)
9179
    oprot.writeMessageEnd()
9180
    oprot.trans.flush()
9181
 
11531 vikram.rag 9182
  def process_getPrivateDealDetails(self, seqid, iprot, oprot):
9183
    args = getPrivateDealDetails_args()
9184
    args.read(iprot)
9185
    iprot.readMessageEnd()
9186
    result = getPrivateDealDetails_result()
9187
    result.success = self._handler.getPrivateDealDetails(args.item_id)
9188
    oprot.writeMessageBegin("getPrivateDealDetails", TMessageType.REPLY, seqid)
9189
    result.write(oprot)
9190
    oprot.writeMessageEnd()
9191
    oprot.trans.flush()
11015 kshitij.so 9192
 
11531 vikram.rag 9193
  def process_getPrivateDealItems(self, seqid, iprot, oprot):
9194
    args = getPrivateDealItems_args()
9195
    args.read(iprot)
9196
    iprot.readMessageEnd()
9197
    result = getPrivateDealItems_result()
9198
    result.success = self._handler.getPrivateDealItems(args.offset, args.limit)
9199
    oprot.writeMessageBegin("getPrivateDealItems", TMessageType.REPLY, seqid)
9200
    result.write(oprot)
9201
    oprot.writeMessageEnd()
9202
    oprot.trans.flush()
9203
 
11592 amit.gupta 9204
  def process_getAllActivePrivateDeals(self, seqid, iprot, oprot):
9205
    args = getAllActivePrivateDeals_args()
9206
    args.read(iprot)
9207
    iprot.readMessageEnd()
9208
    result = getAllActivePrivateDeals_result()
11653 amit.gupta 9209
    result.success = self._handler.getAllActivePrivateDeals(args.itemIds, args.daysDelta)
11592 amit.gupta 9210
    oprot.writeMessageBegin("getAllActivePrivateDeals", TMessageType.REPLY, seqid)
9211
    result.write(oprot)
9212
    oprot.writeMessageEnd()
9213
    oprot.trans.flush()
9214
 
11531 vikram.rag 9215
  def process_addOrUpdatePrivateDeal(self, seqid, iprot, oprot):
9216
    args = addOrUpdatePrivateDeal_args()
9217
    args.read(iprot)
9218
    iprot.readMessageEnd()
9219
    result = addOrUpdatePrivateDeal_result()
9220
    result.success = self._handler.addOrUpdatePrivateDeal(args.privateDeal)
9221
    oprot.writeMessageBegin("addOrUpdatePrivateDeal", TMessageType.REPLY, seqid)
9222
    result.write(oprot)
9223
    oprot.writeMessageEnd()
9224
    oprot.trans.flush()
9225
 
11635 vikram.rag 9226
  def process_getPrivateDealsCatalogIds(self, seqid, iprot, oprot):
9227
    args = getPrivateDealsCatalogIds_args()
9228
    args.read(iprot)
9229
    iprot.readMessageEnd()
9230
    result = getPrivateDealsCatalogIds_result()
9231
    try:
9232
      result.success = self._handler.getPrivateDealsCatalogIds(args.beginIndex, args.totalItems)
9233
    except CatalogServiceException, cex:
9234
      result.cex = cex
9235
    oprot.writeMessageBegin("getPrivateDealsCatalogIds", TMessageType.REPLY, seqid)
9236
    result.write(oprot)
9237
    oprot.writeMessageEnd()
9238
    oprot.trans.flush()
11531 vikram.rag 9239
 
11645 amit.gupta 9240
  def process_getPrivateDealsCount(self, seqid, iprot, oprot):
9241
    args = getPrivateDealsCount_args()
9242
    args.read(iprot)
9243
    iprot.readMessageEnd()
9244
    result = getPrivateDealsCount_result()
9245
    result.success = self._handler.getPrivateDealsCount()
9246
    oprot.writeMessageBegin("getPrivateDealsCount", TMessageType.REPLY, seqid)
9247
    result.write(oprot)
9248
    oprot.writeMessageEnd()
9249
    oprot.trans.flush()
11635 vikram.rag 9250
 
11905 kshitij.so 9251
  def process_getAmazonOutSyncItems(self, seqid, iprot, oprot):
9252
    args = getAmazonOutSyncItems_args()
9253
    args.read(iprot)
9254
    iprot.readMessageEnd()
9255
    result = getAmazonOutSyncItems_result()
9256
    result.success = self._handler.getAmazonOutSyncItems(args.item_id)
9257
    oprot.writeMessageBegin("getAmazonOutSyncItems", TMessageType.REPLY, seqid)
9258
    result.write(oprot)
9259
    oprot.writeMessageEnd()
9260
    oprot.trans.flush()
11645 amit.gupta 9261
 
11905 kshitij.so 9262
  def process_getAllPrivateDealsComparison(self, seqid, iprot, oprot):
9263
    args = getAllPrivateDealsComparison_args()
9264
    args.read(iprot)
9265
    iprot.readMessageEnd()
9266
    result = getAllPrivateDealsComparison_result()
9267
    result.success = self._handler.getAllPrivateDealsComparison()
9268
    oprot.writeMessageBegin("getAllPrivateDealsComparison", TMessageType.REPLY, seqid)
9269
    result.write(oprot)
9270
    oprot.writeMessageEnd()
9271
    oprot.trans.flush()
9272
 
12133 kshitij.so 9273
  def process_getAllSnapdealMarketplaceItem(self, seqid, iprot, oprot):
9274
    args = getAllSnapdealMarketplaceItem_args()
9275
    args.read(iprot)
9276
    iprot.readMessageEnd()
9277
    result = getAllSnapdealMarketplaceItem_result()
9278
    result.success = self._handler.getAllSnapdealMarketplaceItem()
9279
    oprot.writeMessageBegin("getAllSnapdealMarketplaceItem", TMessageType.REPLY, seqid)
9280
    result.write(oprot)
9281
    oprot.writeMessageEnd()
9282
    oprot.trans.flush()
11905 kshitij.so 9283
 
12133 kshitij.so 9284
  def process_getAllFlipkartMarketplaceItem(self, seqid, iprot, oprot):
9285
    args = getAllFlipkartMarketplaceItem_args()
9286
    args.read(iprot)
9287
    iprot.readMessageEnd()
9288
    result = getAllFlipkartMarketplaceItem_result()
9289
    result.success = self._handler.getAllFlipkartMarketplaceItem()
9290
    oprot.writeMessageBegin("getAllFlipkartMarketplaceItem", TMessageType.REPLY, seqid)
9291
    result.write(oprot)
9292
    oprot.writeMessageEnd()
9293
    oprot.trans.flush()
9294
 
12243 kshitij.so 9295
  def process_addCompetitorScraping(self, seqid, iprot, oprot):
9296
    args = addCompetitorScraping_args()
9297
    args.read(iprot)
9298
    iprot.readMessageEnd()
9299
    result = addCompetitorScraping_result()
9300
    self._handler.addCompetitorScraping(args.competitorPricingMap)
9301
    oprot.writeMessageBegin("addCompetitorScraping", TMessageType.REPLY, seqid)
9302
    result.write(oprot)
9303
    oprot.writeMessageEnd()
9304
    oprot.trans.flush()
12133 kshitij.so 9305
 
12243 kshitij.so 9306
  def process_getPreviousCompetitorScraping(self, seqid, iprot, oprot):
9307
    args = getPreviousCompetitorScraping_args()
9308
    args.read(iprot)
9309
    iprot.readMessageEnd()
9310
    result = getPreviousCompetitorScraping_result()
9311
    result.success = self._handler.getPreviousCompetitorScraping(args.delta)
9312
    oprot.writeMessageBegin("getPreviousCompetitorScraping", TMessageType.REPLY, seqid)
9313
    result.write(oprot)
9314
    oprot.writeMessageEnd()
9315
    oprot.trans.flush()
9316
 
12256 kshitij.so 9317
  def process_getUploadResultById(self, seqid, iprot, oprot):
9318
    args = getUploadResultById_args()
9319
    args.read(iprot)
9320
    iprot.readMessageEnd()
9321
    result = getUploadResultById_result()
9322
    result.success = self._handler.getUploadResultById(args.uploadId)
9323
    oprot.writeMessageBegin("getUploadResultById", TMessageType.REPLY, seqid)
9324
    result.write(oprot)
9325
    oprot.writeMessageEnd()
9326
    oprot.trans.flush()
12243 kshitij.so 9327
 
12363 kshitij.so 9328
  def process_addAmazonPromotion(self, seqid, iprot, oprot):
9329
    args = addAmazonPromotion_args()
9330
    args.read(iprot)
9331
    iprot.readMessageEnd()
9332
    result = addAmazonPromotion_result()
12947 kshitij.so 9333
    try:
9334
      result.success = self._handler.addAmazonPromotion(args.amazonPromotions)
9335
    except CatalogServiceException, cex:
9336
      result.cex = cex
12363 kshitij.so 9337
    oprot.writeMessageBegin("addAmazonPromotion", TMessageType.REPLY, seqid)
9338
    result.write(oprot)
9339
    oprot.writeMessageEnd()
9340
    oprot.trans.flush()
12256 kshitij.so 9341
 
12363 kshitij.so 9342
  def process_getAmazonPromotion(self, seqid, iprot, oprot):
9343
    args = getAmazonPromotion_args()
9344
    args.read(iprot)
9345
    iprot.readMessageEnd()
9346
    result = getAmazonPromotion_result()
9347
    result.success = self._handler.getAmazonPromotion(args.startDate, args.endDate)
9348
    oprot.writeMessageBegin("getAmazonPromotion", TMessageType.REPLY, seqid)
9349
    result.write(oprot)
9350
    oprot.writeMessageEnd()
9351
    oprot.trans.flush()
9352
 
9353
  def process_updateAmazonPromotion(self, seqid, iprot, oprot):
9354
    args = updateAmazonPromotion_args()
9355
    args.read(iprot)
9356
    iprot.readMessageEnd()
9357
    result = updateAmazonPromotion_result()
9358
    result.success = self._handler.updateAmazonPromotion(args.amazonPromotions)
9359
    oprot.writeMessageBegin("updateAmazonPromotion", TMessageType.REPLY, seqid)
9360
    result.write(oprot)
9361
    oprot.writeMessageEnd()
9362
    oprot.trans.flush()
9363
 
12567 amit.gupta 9364
  def process_markPartiallyActive(self, seqid, iprot, oprot):
9365
    args = markPartiallyActive_args()
9366
    args.read(iprot)
9367
    iprot.readMessageEnd()
9368
    result = markPartiallyActive_result()
9369
    result.success = self._handler.markPartiallyActive(args.itemId, args.categoryId)
9370
    oprot.writeMessageBegin("markPartiallyActive", TMessageType.REPLY, seqid)
9371
    result.write(oprot)
9372
    oprot.writeMessageEnd()
9373
    oprot.trans.flush()
12363 kshitij.so 9374
 
12567 amit.gupta 9375
  def process_updateItemStateVat(self, seqid, iprot, oprot):
9376
    args = updateItemStateVat_args()
9377
    args.read(iprot)
9378
    iprot.readMessageEnd()
9379
    result = updateItemStateVat_result()
9380
    result.success = self._handler.updateItemStateVat(args.itemId, args.statevat)
9381
    oprot.writeMessageBegin("updateItemStateVat", TMessageType.REPLY, seqid)
9382
    result.write(oprot)
9383
    oprot.writeMessageEnd()
9384
    oprot.trans.flush()
9385
 
12620 amit.gupta 9386
  def process_getExAffiliateItemInfo(self, seqid, iprot, oprot):
9387
    args = getExAffiliateItemInfo_args()
9388
    args.read(iprot)
9389
    iprot.readMessageEnd()
9390
    result = getExAffiliateItemInfo_result()
9391
    result.success = self._handler.getExAffiliateItemInfo()
9392
    oprot.writeMessageBegin("getExAffiliateItemInfo", TMessageType.REPLY, seqid)
9393
    result.write(oprot)
9394
    oprot.writeMessageEnd()
9395
    oprot.trans.flush()
12567 amit.gupta 9396
 
12888 kshitij.so 9397
  def process_getAllItemstoListOnFbg(self, seqid, iprot, oprot):
9398
    args = getAllItemstoListOnFbg_args()
9399
    args.read(iprot)
9400
    iprot.readMessageEnd()
9401
    result = getAllItemstoListOnFbg_result()
9402
    result.success = self._handler.getAllItemstoListOnFbg()
9403
    oprot.writeMessageBegin("getAllItemstoListOnFbg", TMessageType.REPLY, seqid)
9404
    result.write(oprot)
9405
    oprot.writeMessageEnd()
9406
    oprot.trans.flush()
12620 amit.gupta 9407
 
12892 kshitij.so 9408
  def process_getAllFbgListedItems(self, seqid, iprot, oprot):
9409
    args = getAllFbgListedItems_args()
9410
    args.read(iprot)
9411
    iprot.readMessageEnd()
9412
    result = getAllFbgListedItems_result()
9413
    result.success = self._handler.getAllFbgListedItems()
9414
    oprot.writeMessageBegin("getAllFbgListedItems", TMessageType.REPLY, seqid)
9415
    result.write(oprot)
9416
    oprot.writeMessageEnd()
9417
    oprot.trans.flush()
12888 kshitij.so 9418
 
13136 amit.gupta 9419
  def process_checkServices(self, seqid, iprot, oprot):
9420
    args = checkServices_args()
9421
    args.read(iprot)
9422
    iprot.readMessageEnd()
9423
    result = checkServices_result()
9424
    try:
9425
      result.success = self._handler.checkServices(args.lines)
9426
    except CatalogServiceException, cex:
9427
      result.cex = cex
9428
    oprot.writeMessageBegin("checkServices", TMessageType.REPLY, seqid)
9429
    result.write(oprot)
9430
    oprot.writeMessageEnd()
9431
    oprot.trans.flush()
12892 kshitij.so 9432
 
13709 manish.sha 9433
  def process_addHsItem(self, seqid, iprot, oprot):
9434
    args = addHsItem_args()
9435
    args.read(iprot)
9436
    iprot.readMessageEnd()
9437
    result = addHsItem_result()
9438
    self._handler.addHsItem(args.hsItems)
9439
    oprot.writeMessageBegin("addHsItem", TMessageType.REPLY, seqid)
9440
    result.write(oprot)
9441
    oprot.writeMessageEnd()
9442
    oprot.trans.flush()
13136 amit.gupta 9443
 
13709 manish.sha 9444
  def process_getHsItem(self, seqid, iprot, oprot):
9445
    args = getHsItem_args()
9446
    args.read(iprot)
9447
    iprot.readMessageEnd()
9448
    result = getHsItem_result()
9449
    result.success = self._handler.getHsItem(args.hsItemId)
9450
    oprot.writeMessageBegin("getHsItem", TMessageType.REPLY, seqid)
9451
    result.write(oprot)
9452
    oprot.writeMessageEnd()
9453
    oprot.trans.flush()
9454
 
9455
  def process_updateHsItem(self, seqid, iprot, oprot):
9456
    args = updateHsItem_args()
9457
    args.read(iprot)
9458
    iprot.readMessageEnd()
9459
    result = updateHsItem_result()
9460
    self._handler.updateHsItem(args.hsItem)
9461
    oprot.writeMessageBegin("updateHsItem", TMessageType.REPLY, seqid)
9462
    result.write(oprot)
9463
    oprot.writeMessageEnd()
9464
    oprot.trans.flush()
9465
 
14182 kshitij.so 9466
  def process_getPricingForDtr(self, seqid, iprot, oprot):
9467
    args = getPricingForDtr_args()
9468
    args.read(iprot)
9469
    iprot.readMessageEnd()
9470
    result = getPricingForDtr_result()
9471
    result.success = self._handler.getPricingForDtr(args.catalogItemId)
9472
    oprot.writeMessageBegin("getPricingForDtr", TMessageType.REPLY, seqid)
9473
    result.write(oprot)
9474
    oprot.writeMessageEnd()
9475
    oprot.trans.flush()
13709 manish.sha 9476
 
14362 kshitij.so 9477
  def process_getLatestPricing(self, seqid, iprot, oprot):
9478
    args = getLatestPricing_args()
9479
    args.read(iprot)
9480
    iprot.readMessageEnd()
9481
    result = getLatestPricing_result()
9482
    result.success = self._handler.getLatestPricing(args.skuBundleId, args.source_id)
9483
    oprot.writeMessageBegin("getLatestPricing", TMessageType.REPLY, seqid)
9484
    result.write(oprot)
9485
    oprot.writeMessageEnd()
9486
    oprot.trans.flush()
14182 kshitij.so 9487
 
14362 kshitij.so 9488
 
5944 mandeep.dh 9489
# HELPER FUNCTIONS AND STRUCTURES
9490
 
9491
class addItem_args:
9492
  """
9493
  Attributes:
9494
   - item
9495
  """
9496
 
9497
  thrift_spec = (
9498
    None, # 0
9499
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
9500
  )
9501
 
9502
  def __init__(self, item=None,):
9503
    self.item = item
9504
 
9505
  def read(self, iprot):
9506
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9507
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9508
      return
9509
    iprot.readStructBegin()
9510
    while True:
9511
      (fname, ftype, fid) = iprot.readFieldBegin()
9512
      if ftype == TType.STOP:
9513
        break
9514
      if fid == 1:
9515
        if ftype == TType.STRUCT:
9516
          self.item = Item()
9517
          self.item.read(iprot)
9518
        else:
9519
          iprot.skip(ftype)
9520
      else:
9521
        iprot.skip(ftype)
9522
      iprot.readFieldEnd()
9523
    iprot.readStructEnd()
9524
 
9525
  def write(self, oprot):
9526
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9527
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9528
      return
9529
    oprot.writeStructBegin('addItem_args')
9530
    if self.item is not None:
9531
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
9532
      self.item.write(oprot)
9533
      oprot.writeFieldEnd()
9534
    oprot.writeFieldStop()
9535
    oprot.writeStructEnd()
9536
 
9537
  def validate(self):
9538
    return
9539
 
9540
 
9541
  def __repr__(self):
9542
    L = ['%s=%r' % (key, value)
9543
      for key, value in self.__dict__.iteritems()]
9544
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9545
 
9546
  def __eq__(self, other):
9547
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9548
 
9549
  def __ne__(self, other):
9550
    return not (self == other)
9551
 
9552
class addItem_result:
9553
  """
9554
  Attributes:
9555
   - success
9556
   - cex
9557
  """
9558
 
9559
  thrift_spec = (
9560
    (0, TType.I64, 'success', None, None, ), # 0
9561
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9562
  )
9563
 
9564
  def __init__(self, success=None, cex=None,):
9565
    self.success = success
9566
    self.cex = cex
9567
 
9568
  def read(self, iprot):
9569
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9570
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9571
      return
9572
    iprot.readStructBegin()
9573
    while True:
9574
      (fname, ftype, fid) = iprot.readFieldBegin()
9575
      if ftype == TType.STOP:
9576
        break
9577
      if fid == 0:
9578
        if ftype == TType.I64:
9579
          self.success = iprot.readI64();
9580
        else:
9581
          iprot.skip(ftype)
9582
      elif fid == 1:
9583
        if ftype == TType.STRUCT:
9584
          self.cex = CatalogServiceException()
9585
          self.cex.read(iprot)
9586
        else:
9587
          iprot.skip(ftype)
9588
      else:
9589
        iprot.skip(ftype)
9590
      iprot.readFieldEnd()
9591
    iprot.readStructEnd()
9592
 
9593
  def write(self, oprot):
9594
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9595
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9596
      return
9597
    oprot.writeStructBegin('addItem_result')
9598
    if self.success is not None:
9599
      oprot.writeFieldBegin('success', TType.I64, 0)
9600
      oprot.writeI64(self.success)
9601
      oprot.writeFieldEnd()
9602
    if self.cex is not None:
9603
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9604
      self.cex.write(oprot)
9605
      oprot.writeFieldEnd()
9606
    oprot.writeFieldStop()
9607
    oprot.writeStructEnd()
9608
 
9609
  def validate(self):
9610
    return
9611
 
9612
 
9613
  def __repr__(self):
9614
    L = ['%s=%r' % (key, value)
9615
      for key, value in self.__dict__.iteritems()]
9616
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9617
 
9618
  def __eq__(self, other):
9619
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9620
 
9621
  def __ne__(self, other):
9622
    return not (self == other)
9623
 
9624
class updateItem_args:
9625
  """
9626
  Attributes:
9627
   - item
9628
  """
9629
 
9630
  thrift_spec = (
9631
    None, # 0
9632
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
9633
  )
9634
 
9635
  def __init__(self, item=None,):
9636
    self.item = item
9637
 
9638
  def read(self, iprot):
9639
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9640
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9641
      return
9642
    iprot.readStructBegin()
9643
    while True:
9644
      (fname, ftype, fid) = iprot.readFieldBegin()
9645
      if ftype == TType.STOP:
9646
        break
9647
      if fid == 1:
9648
        if ftype == TType.STRUCT:
9649
          self.item = Item()
9650
          self.item.read(iprot)
9651
        else:
9652
          iprot.skip(ftype)
9653
      else:
9654
        iprot.skip(ftype)
9655
      iprot.readFieldEnd()
9656
    iprot.readStructEnd()
9657
 
9658
  def write(self, oprot):
9659
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9660
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9661
      return
9662
    oprot.writeStructBegin('updateItem_args')
9663
    if self.item is not None:
9664
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
9665
      self.item.write(oprot)
9666
      oprot.writeFieldEnd()
9667
    oprot.writeFieldStop()
9668
    oprot.writeStructEnd()
9669
 
9670
  def validate(self):
9671
    return
9672
 
9673
 
9674
  def __repr__(self):
9675
    L = ['%s=%r' % (key, value)
9676
      for key, value in self.__dict__.iteritems()]
9677
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9678
 
9679
  def __eq__(self, other):
9680
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9681
 
9682
  def __ne__(self, other):
9683
    return not (self == other)
9684
 
9685
class updateItem_result:
9686
  """
9687
  Attributes:
9688
   - success
9689
   - cex
9690
  """
9691
 
9692
  thrift_spec = (
9693
    (0, TType.I64, 'success', None, None, ), # 0
9694
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9695
  )
9696
 
9697
  def __init__(self, success=None, cex=None,):
9698
    self.success = success
9699
    self.cex = cex
9700
 
9701
  def read(self, iprot):
9702
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9703
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9704
      return
9705
    iprot.readStructBegin()
9706
    while True:
9707
      (fname, ftype, fid) = iprot.readFieldBegin()
9708
      if ftype == TType.STOP:
9709
        break
9710
      if fid == 0:
9711
        if ftype == TType.I64:
9712
          self.success = iprot.readI64();
9713
        else:
9714
          iprot.skip(ftype)
9715
      elif fid == 1:
9716
        if ftype == TType.STRUCT:
9717
          self.cex = CatalogServiceException()
9718
          self.cex.read(iprot)
9719
        else:
9720
          iprot.skip(ftype)
9721
      else:
9722
        iprot.skip(ftype)
9723
      iprot.readFieldEnd()
9724
    iprot.readStructEnd()
9725
 
9726
  def write(self, oprot):
9727
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9728
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9729
      return
9730
    oprot.writeStructBegin('updateItem_result')
9731
    if self.success is not None:
9732
      oprot.writeFieldBegin('success', TType.I64, 0)
9733
      oprot.writeI64(self.success)
9734
      oprot.writeFieldEnd()
9735
    if self.cex is not None:
9736
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9737
      self.cex.write(oprot)
9738
      oprot.writeFieldEnd()
9739
    oprot.writeFieldStop()
9740
    oprot.writeStructEnd()
9741
 
9742
  def validate(self):
9743
    return
9744
 
9745
 
9746
  def __repr__(self):
9747
    L = ['%s=%r' % (key, value)
9748
      for key, value in self.__dict__.iteritems()]
9749
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9750
 
9751
  def __eq__(self, other):
9752
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9753
 
9754
  def __ne__(self, other):
9755
    return not (self == other)
9756
 
9757
class isActive_args:
9758
  """
9759
  Attributes:
9760
   - itemId
9761
  """
9762
 
9763
  thrift_spec = (
9764
    None, # 0
9765
    (1, TType.I64, 'itemId', None, None, ), # 1
9766
  )
9767
 
9768
  def __init__(self, itemId=None,):
9769
    self.itemId = itemId
9770
 
9771
  def read(self, iprot):
9772
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9773
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9774
      return
9775
    iprot.readStructBegin()
9776
    while True:
9777
      (fname, ftype, fid) = iprot.readFieldBegin()
9778
      if ftype == TType.STOP:
9779
        break
9780
      if fid == 1:
9781
        if ftype == TType.I64:
9782
          self.itemId = iprot.readI64();
9783
        else:
9784
          iprot.skip(ftype)
9785
      else:
9786
        iprot.skip(ftype)
9787
      iprot.readFieldEnd()
9788
    iprot.readStructEnd()
9789
 
9790
  def write(self, oprot):
9791
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9792
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9793
      return
9794
    oprot.writeStructBegin('isActive_args')
9795
    if self.itemId is not None:
9796
      oprot.writeFieldBegin('itemId', TType.I64, 1)
9797
      oprot.writeI64(self.itemId)
9798
      oprot.writeFieldEnd()
9799
    oprot.writeFieldStop()
9800
    oprot.writeStructEnd()
9801
 
9802
  def validate(self):
9803
    return
9804
 
9805
 
9806
  def __repr__(self):
9807
    L = ['%s=%r' % (key, value)
9808
      for key, value in self.__dict__.iteritems()]
9809
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9810
 
9811
  def __eq__(self, other):
9812
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9813
 
9814
  def __ne__(self, other):
9815
    return not (self == other)
9816
 
9817
class isActive_result:
9818
  """
9819
  Attributes:
9820
   - success
9821
   - isex
9822
  """
9823
 
9824
  thrift_spec = (
9825
    (0, TType.STRUCT, 'success', (ItemShippingInfo, ItemShippingInfo.thrift_spec), None, ), # 0
9826
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9827
  )
9828
 
9829
  def __init__(self, success=None, isex=None,):
9830
    self.success = success
9831
    self.isex = isex
9832
 
9833
  def read(self, iprot):
9834
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9835
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9836
      return
9837
    iprot.readStructBegin()
9838
    while True:
9839
      (fname, ftype, fid) = iprot.readFieldBegin()
9840
      if ftype == TType.STOP:
9841
        break
9842
      if fid == 0:
9843
        if ftype == TType.STRUCT:
9844
          self.success = ItemShippingInfo()
9845
          self.success.read(iprot)
9846
        else:
9847
          iprot.skip(ftype)
9848
      elif fid == 1:
9849
        if ftype == TType.STRUCT:
9850
          self.isex = CatalogServiceException()
9851
          self.isex.read(iprot)
9852
        else:
9853
          iprot.skip(ftype)
9854
      else:
9855
        iprot.skip(ftype)
9856
      iprot.readFieldEnd()
9857
    iprot.readStructEnd()
9858
 
9859
  def write(self, oprot):
9860
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9861
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9862
      return
9863
    oprot.writeStructBegin('isActive_result')
9864
    if self.success is not None:
9865
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
9866
      self.success.write(oprot)
9867
      oprot.writeFieldEnd()
9868
    if self.isex is not None:
9869
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
9870
      self.isex.write(oprot)
9871
      oprot.writeFieldEnd()
9872
    oprot.writeFieldStop()
9873
    oprot.writeStructEnd()
9874
 
9875
  def validate(self):
9876
    return
9877
 
9878
 
9879
  def __repr__(self):
9880
    L = ['%s=%r' % (key, value)
9881
      for key, value in self.__dict__.iteritems()]
9882
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9883
 
9884
  def __eq__(self, other):
9885
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9886
 
9887
  def __ne__(self, other):
9888
    return not (self == other)
9889
 
7438 amit.gupta 9890
class getItemsStatus_args:
9891
  """
9892
  Attributes:
9893
   - itemIds
9894
  """
9895
 
9896
  thrift_spec = (
9897
    None, # 0
9898
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
9899
  )
9900
 
9901
  def __init__(self, itemIds=None,):
9902
    self.itemIds = itemIds
9903
 
9904
  def read(self, iprot):
9905
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9906
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9907
      return
9908
    iprot.readStructBegin()
9909
    while True:
9910
      (fname, ftype, fid) = iprot.readFieldBegin()
9911
      if ftype == TType.STOP:
9912
        break
9913
      if fid == 1:
9914
        if ftype == TType.LIST:
9915
          self.itemIds = []
8590 kshitij.so 9916
          (_etype33, _size30) = iprot.readListBegin()
9917
          for _i34 in xrange(_size30):
9918
            _elem35 = iprot.readI64();
9919
            self.itemIds.append(_elem35)
7438 amit.gupta 9920
          iprot.readListEnd()
9921
        else:
9922
          iprot.skip(ftype)
9923
      else:
9924
        iprot.skip(ftype)
9925
      iprot.readFieldEnd()
9926
    iprot.readStructEnd()
9927
 
9928
  def write(self, oprot):
9929
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9930
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9931
      return
9932
    oprot.writeStructBegin('getItemsStatus_args')
9933
    if self.itemIds is not None:
9934
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
9935
      oprot.writeListBegin(TType.I64, len(self.itemIds))
8590 kshitij.so 9936
      for iter36 in self.itemIds:
9937
        oprot.writeI64(iter36)
7438 amit.gupta 9938
      oprot.writeListEnd()
9939
      oprot.writeFieldEnd()
9940
    oprot.writeFieldStop()
9941
    oprot.writeStructEnd()
9942
 
9943
  def validate(self):
9944
    return
9945
 
9946
 
9947
  def __repr__(self):
9948
    L = ['%s=%r' % (key, value)
9949
      for key, value in self.__dict__.iteritems()]
9950
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9951
 
9952
  def __eq__(self, other):
9953
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9954
 
9955
  def __ne__(self, other):
9956
    return not (self == other)
9957
 
9958
class getItemsStatus_result:
9959
  """
9960
  Attributes:
9961
   - success
9962
   - isex
9963
  """
9964
 
9965
  thrift_spec = (
9966
    (0, TType.MAP, 'success', (TType.I64,None,TType.BOOL,None), None, ), # 0
9967
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9968
  )
9969
 
9970
  def __init__(self, success=None, isex=None,):
9971
    self.success = success
9972
    self.isex = isex
9973
 
9974
  def read(self, iprot):
9975
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9976
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9977
      return
9978
    iprot.readStructBegin()
9979
    while True:
9980
      (fname, ftype, fid) = iprot.readFieldBegin()
9981
      if ftype == TType.STOP:
9982
        break
9983
      if fid == 0:
9984
        if ftype == TType.MAP:
9985
          self.success = {}
8590 kshitij.so 9986
          (_ktype38, _vtype39, _size37 ) = iprot.readMapBegin() 
9987
          for _i41 in xrange(_size37):
9988
            _key42 = iprot.readI64();
9989
            _val43 = iprot.readBool();
9990
            self.success[_key42] = _val43
7438 amit.gupta 9991
          iprot.readMapEnd()
9992
        else:
9993
          iprot.skip(ftype)
9994
      elif fid == 1:
9995
        if ftype == TType.STRUCT:
9996
          self.isex = CatalogServiceException()
9997
          self.isex.read(iprot)
9998
        else:
9999
          iprot.skip(ftype)
10000
      else:
10001
        iprot.skip(ftype)
10002
      iprot.readFieldEnd()
10003
    iprot.readStructEnd()
10004
 
10005
  def write(self, oprot):
10006
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10007
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10008
      return
10009
    oprot.writeStructBegin('getItemsStatus_result')
10010
    if self.success is not None:
10011
      oprot.writeFieldBegin('success', TType.MAP, 0)
10012
      oprot.writeMapBegin(TType.I64, TType.BOOL, len(self.success))
8590 kshitij.so 10013
      for kiter44,viter45 in self.success.items():
10014
        oprot.writeI64(kiter44)
10015
        oprot.writeBool(viter45)
7438 amit.gupta 10016
      oprot.writeMapEnd()
10017
      oprot.writeFieldEnd()
10018
    if self.isex is not None:
10019
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10020
      self.isex.write(oprot)
10021
      oprot.writeFieldEnd()
10022
    oprot.writeFieldStop()
10023
    oprot.writeStructEnd()
10024
 
10025
  def validate(self):
10026
    return
10027
 
10028
 
10029
  def __repr__(self):
10030
    L = ['%s=%r' % (key, value)
10031
      for key, value in self.__dict__.iteritems()]
10032
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10033
 
10034
  def __eq__(self, other):
10035
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10036
 
10037
  def __ne__(self, other):
10038
    return not (self == other)
10039
 
5944 mandeep.dh 10040
class getItemStatusDescription_args:
10041
  """
10042
  Attributes:
10043
   - itemId
10044
  """
10045
 
10046
  thrift_spec = (
10047
    None, # 0
10048
    (1, TType.I64, 'itemId', None, None, ), # 1
10049
  )
10050
 
10051
  def __init__(self, itemId=None,):
10052
    self.itemId = itemId
10053
 
10054
  def read(self, iprot):
10055
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10056
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10057
      return
10058
    iprot.readStructBegin()
10059
    while True:
10060
      (fname, ftype, fid) = iprot.readFieldBegin()
10061
      if ftype == TType.STOP:
10062
        break
10063
      if fid == 1:
10064
        if ftype == TType.I64:
10065
          self.itemId = iprot.readI64();
10066
        else:
10067
          iprot.skip(ftype)
10068
      else:
10069
        iprot.skip(ftype)
10070
      iprot.readFieldEnd()
10071
    iprot.readStructEnd()
10072
 
10073
  def write(self, oprot):
10074
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10075
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10076
      return
10077
    oprot.writeStructBegin('getItemStatusDescription_args')
10078
    if self.itemId is not None:
10079
      oprot.writeFieldBegin('itemId', TType.I64, 1)
10080
      oprot.writeI64(self.itemId)
10081
      oprot.writeFieldEnd()
10082
    oprot.writeFieldStop()
10083
    oprot.writeStructEnd()
10084
 
10085
  def validate(self):
10086
    return
10087
 
10088
 
10089
  def __repr__(self):
10090
    L = ['%s=%r' % (key, value)
10091
      for key, value in self.__dict__.iteritems()]
10092
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10093
 
10094
  def __eq__(self, other):
10095
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10096
 
10097
  def __ne__(self, other):
10098
    return not (self == other)
10099
 
10100
class getItemStatusDescription_result:
10101
  """
10102
  Attributes:
10103
   - success
10104
   - isex
10105
  """
10106
 
10107
  thrift_spec = (
10108
    (0, TType.STRING, 'success', None, None, ), # 0
10109
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10110
  )
10111
 
10112
  def __init__(self, success=None, isex=None,):
10113
    self.success = success
10114
    self.isex = isex
10115
 
10116
  def read(self, iprot):
10117
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10118
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10119
      return
10120
    iprot.readStructBegin()
10121
    while True:
10122
      (fname, ftype, fid) = iprot.readFieldBegin()
10123
      if ftype == TType.STOP:
10124
        break
10125
      if fid == 0:
10126
        if ftype == TType.STRING:
10127
          self.success = iprot.readString();
10128
        else:
10129
          iprot.skip(ftype)
10130
      elif fid == 1:
10131
        if ftype == TType.STRUCT:
10132
          self.isex = CatalogServiceException()
10133
          self.isex.read(iprot)
10134
        else:
10135
          iprot.skip(ftype)
10136
      else:
10137
        iprot.skip(ftype)
10138
      iprot.readFieldEnd()
10139
    iprot.readStructEnd()
10140
 
10141
  def write(self, oprot):
10142
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10143
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10144
      return
10145
    oprot.writeStructBegin('getItemStatusDescription_result')
10146
    if self.success is not None:
10147
      oprot.writeFieldBegin('success', TType.STRING, 0)
10148
      oprot.writeString(self.success)
10149
      oprot.writeFieldEnd()
10150
    if self.isex is not None:
10151
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
10152
      self.isex.write(oprot)
10153
      oprot.writeFieldEnd()
10154
    oprot.writeFieldStop()
10155
    oprot.writeStructEnd()
10156
 
10157
  def validate(self):
10158
    return
10159
 
10160
 
10161
  def __repr__(self):
10162
    L = ['%s=%r' % (key, value)
10163
      for key, value in self.__dict__.iteritems()]
10164
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10165
 
10166
  def __eq__(self, other):
10167
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10168
 
10169
  def __ne__(self, other):
10170
    return not (self == other)
10171
 
10172
class startItemOn_args:
10173
  """
10174
  Attributes:
10175
   - item_id
10176
   - timestamp
10177
  """
10178
 
10179
  thrift_spec = (
10180
    None, # 0
10181
    (1, TType.I64, 'item_id', None, None, ), # 1
10182
    (2, TType.I64, 'timestamp', None, None, ), # 2
10183
  )
10184
 
10185
  def __init__(self, item_id=None, timestamp=None,):
10186
    self.item_id = item_id
10187
    self.timestamp = timestamp
10188
 
10189
  def read(self, iprot):
10190
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10191
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10192
      return
10193
    iprot.readStructBegin()
10194
    while True:
10195
      (fname, ftype, fid) = iprot.readFieldBegin()
10196
      if ftype == TType.STOP:
10197
        break
10198
      if fid == 1:
10199
        if ftype == TType.I64:
10200
          self.item_id = iprot.readI64();
10201
        else:
10202
          iprot.skip(ftype)
10203
      elif fid == 2:
10204
        if ftype == TType.I64:
10205
          self.timestamp = iprot.readI64();
10206
        else:
10207
          iprot.skip(ftype)
10208
      else:
10209
        iprot.skip(ftype)
10210
      iprot.readFieldEnd()
10211
    iprot.readStructEnd()
10212
 
10213
  def write(self, oprot):
10214
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10215
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10216
      return
10217
    oprot.writeStructBegin('startItemOn_args')
10218
    if self.item_id is not None:
10219
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10220
      oprot.writeI64(self.item_id)
10221
      oprot.writeFieldEnd()
10222
    if self.timestamp is not None:
10223
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10224
      oprot.writeI64(self.timestamp)
10225
      oprot.writeFieldEnd()
10226
    oprot.writeFieldStop()
10227
    oprot.writeStructEnd()
10228
 
10229
  def validate(self):
10230
    return
10231
 
10232
 
10233
  def __repr__(self):
10234
    L = ['%s=%r' % (key, value)
10235
      for key, value in self.__dict__.iteritems()]
10236
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10237
 
10238
  def __eq__(self, other):
10239
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10240
 
10241
  def __ne__(self, other):
10242
    return not (self == other)
10243
 
10244
class startItemOn_result:
10245
  """
10246
  Attributes:
10247
   - cex
10248
  """
10249
 
10250
  thrift_spec = (
10251
    None, # 0
10252
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10253
  )
10254
 
10255
  def __init__(self, cex=None,):
10256
    self.cex = cex
10257
 
10258
  def read(self, iprot):
10259
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10260
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10261
      return
10262
    iprot.readStructBegin()
10263
    while True:
10264
      (fname, ftype, fid) = iprot.readFieldBegin()
10265
      if ftype == TType.STOP:
10266
        break
10267
      if fid == 1:
10268
        if ftype == TType.STRUCT:
10269
          self.cex = CatalogServiceException()
10270
          self.cex.read(iprot)
10271
        else:
10272
          iprot.skip(ftype)
10273
      else:
10274
        iprot.skip(ftype)
10275
      iprot.readFieldEnd()
10276
    iprot.readStructEnd()
10277
 
10278
  def write(self, oprot):
10279
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10280
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10281
      return
10282
    oprot.writeStructBegin('startItemOn_result')
10283
    if self.cex is not None:
10284
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10285
      self.cex.write(oprot)
10286
      oprot.writeFieldEnd()
10287
    oprot.writeFieldStop()
10288
    oprot.writeStructEnd()
10289
 
10290
  def validate(self):
10291
    return
10292
 
10293
 
10294
  def __repr__(self):
10295
    L = ['%s=%r' % (key, value)
10296
      for key, value in self.__dict__.iteritems()]
10297
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10298
 
10299
  def __eq__(self, other):
10300
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10301
 
10302
  def __ne__(self, other):
10303
    return not (self == other)
10304
 
10305
class retireItemOn_args:
10306
  """
10307
  Attributes:
10308
   - item_id
10309
   - timestamp
10310
  """
10311
 
10312
  thrift_spec = (
10313
    None, # 0
10314
    (1, TType.I64, 'item_id', None, None, ), # 1
10315
    (2, TType.I64, 'timestamp', None, None, ), # 2
10316
  )
10317
 
10318
  def __init__(self, item_id=None, timestamp=None,):
10319
    self.item_id = item_id
10320
    self.timestamp = timestamp
10321
 
10322
  def read(self, iprot):
10323
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10324
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10325
      return
10326
    iprot.readStructBegin()
10327
    while True:
10328
      (fname, ftype, fid) = iprot.readFieldBegin()
10329
      if ftype == TType.STOP:
10330
        break
10331
      if fid == 1:
10332
        if ftype == TType.I64:
10333
          self.item_id = iprot.readI64();
10334
        else:
10335
          iprot.skip(ftype)
10336
      elif fid == 2:
10337
        if ftype == TType.I64:
10338
          self.timestamp = iprot.readI64();
10339
        else:
10340
          iprot.skip(ftype)
10341
      else:
10342
        iprot.skip(ftype)
10343
      iprot.readFieldEnd()
10344
    iprot.readStructEnd()
10345
 
10346
  def write(self, oprot):
10347
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10348
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10349
      return
10350
    oprot.writeStructBegin('retireItemOn_args')
10351
    if self.item_id is not None:
10352
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10353
      oprot.writeI64(self.item_id)
10354
      oprot.writeFieldEnd()
10355
    if self.timestamp is not None:
10356
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10357
      oprot.writeI64(self.timestamp)
10358
      oprot.writeFieldEnd()
10359
    oprot.writeFieldStop()
10360
    oprot.writeStructEnd()
10361
 
10362
  def validate(self):
10363
    return
10364
 
10365
 
10366
  def __repr__(self):
10367
    L = ['%s=%r' % (key, value)
10368
      for key, value in self.__dict__.iteritems()]
10369
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10370
 
10371
  def __eq__(self, other):
10372
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10373
 
10374
  def __ne__(self, other):
10375
    return not (self == other)
10376
 
10377
class retireItemOn_result:
10378
  """
10379
  Attributes:
10380
   - cex
10381
  """
10382
 
10383
  thrift_spec = (
10384
    None, # 0
10385
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10386
  )
10387
 
10388
  def __init__(self, cex=None,):
10389
    self.cex = cex
10390
 
10391
  def read(self, iprot):
10392
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10393
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10394
      return
10395
    iprot.readStructBegin()
10396
    while True:
10397
      (fname, ftype, fid) = iprot.readFieldBegin()
10398
      if ftype == TType.STOP:
10399
        break
10400
      if fid == 1:
10401
        if ftype == TType.STRUCT:
10402
          self.cex = CatalogServiceException()
10403
          self.cex.read(iprot)
10404
        else:
10405
          iprot.skip(ftype)
10406
      else:
10407
        iprot.skip(ftype)
10408
      iprot.readFieldEnd()
10409
    iprot.readStructEnd()
10410
 
10411
  def write(self, oprot):
10412
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10413
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10414
      return
10415
    oprot.writeStructBegin('retireItemOn_result')
10416
    if self.cex is not None:
10417
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10418
      self.cex.write(oprot)
10419
      oprot.writeFieldEnd()
10420
    oprot.writeFieldStop()
10421
    oprot.writeStructEnd()
10422
 
10423
  def validate(self):
10424
    return
10425
 
10426
 
10427
  def __repr__(self):
10428
    L = ['%s=%r' % (key, value)
10429
      for key, value in self.__dict__.iteritems()]
10430
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10431
 
10432
  def __eq__(self, other):
10433
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10434
 
10435
  def __ne__(self, other):
10436
    return not (self == other)
10437
 
10438
class changeItemStatus_args:
10439
  """
10440
  Attributes:
10441
   - item_id
10442
   - timestamp
10443
   - newstatus
10444
  """
10445
 
10446
  thrift_spec = (
10447
    None, # 0
10448
    (1, TType.I64, 'item_id', None, None, ), # 1
10449
    (2, TType.I64, 'timestamp', None, None, ), # 2
10450
    (3, TType.I32, 'newstatus', None, None, ), # 3
10451
  )
10452
 
10453
  def __init__(self, item_id=None, timestamp=None, newstatus=None,):
10454
    self.item_id = item_id
10455
    self.timestamp = timestamp
10456
    self.newstatus = newstatus
10457
 
10458
  def read(self, iprot):
10459
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10460
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10461
      return
10462
    iprot.readStructBegin()
10463
    while True:
10464
      (fname, ftype, fid) = iprot.readFieldBegin()
10465
      if ftype == TType.STOP:
10466
        break
10467
      if fid == 1:
10468
        if ftype == TType.I64:
10469
          self.item_id = iprot.readI64();
10470
        else:
10471
          iprot.skip(ftype)
10472
      elif fid == 2:
10473
        if ftype == TType.I64:
10474
          self.timestamp = iprot.readI64();
10475
        else:
10476
          iprot.skip(ftype)
10477
      elif fid == 3:
10478
        if ftype == TType.I32:
10479
          self.newstatus = iprot.readI32();
10480
        else:
10481
          iprot.skip(ftype)
10482
      else:
10483
        iprot.skip(ftype)
10484
      iprot.readFieldEnd()
10485
    iprot.readStructEnd()
10486
 
10487
  def write(self, oprot):
10488
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10489
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10490
      return
10491
    oprot.writeStructBegin('changeItemStatus_args')
10492
    if self.item_id is not None:
10493
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10494
      oprot.writeI64(self.item_id)
10495
      oprot.writeFieldEnd()
10496
    if self.timestamp is not None:
10497
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10498
      oprot.writeI64(self.timestamp)
10499
      oprot.writeFieldEnd()
10500
    if self.newstatus is not None:
10501
      oprot.writeFieldBegin('newstatus', TType.I32, 3)
10502
      oprot.writeI32(self.newstatus)
10503
      oprot.writeFieldEnd()
10504
    oprot.writeFieldStop()
10505
    oprot.writeStructEnd()
10506
 
10507
  def validate(self):
10508
    return
10509
 
10510
 
10511
  def __repr__(self):
10512
    L = ['%s=%r' % (key, value)
10513
      for key, value in self.__dict__.iteritems()]
10514
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10515
 
10516
  def __eq__(self, other):
10517
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10518
 
10519
  def __ne__(self, other):
10520
    return not (self == other)
10521
 
10522
class changeItemStatus_result:
10523
  """
10524
  Attributes:
10525
   - cex
10526
  """
10527
 
10528
  thrift_spec = (
10529
    None, # 0
10530
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10531
  )
10532
 
10533
  def __init__(self, cex=None,):
10534
    self.cex = cex
10535
 
10536
  def read(self, iprot):
10537
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10538
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10539
      return
10540
    iprot.readStructBegin()
10541
    while True:
10542
      (fname, ftype, fid) = iprot.readFieldBegin()
10543
      if ftype == TType.STOP:
10544
        break
10545
      if fid == 1:
10546
        if ftype == TType.STRUCT:
10547
          self.cex = CatalogServiceException()
10548
          self.cex.read(iprot)
10549
        else:
10550
          iprot.skip(ftype)
10551
      else:
10552
        iprot.skip(ftype)
10553
      iprot.readFieldEnd()
10554
    iprot.readStructEnd()
10555
 
10556
  def write(self, oprot):
10557
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10558
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10559
      return
10560
    oprot.writeStructBegin('changeItemStatus_result')
10561
    if self.cex is not None:
10562
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10563
      self.cex.write(oprot)
10564
      oprot.writeFieldEnd()
10565
    oprot.writeFieldStop()
10566
    oprot.writeStructEnd()
10567
 
10568
  def validate(self):
10569
    return
10570
 
10571
 
10572
  def __repr__(self):
10573
    L = ['%s=%r' % (key, value)
10574
      for key, value in self.__dict__.iteritems()]
10575
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10576
 
10577
  def __eq__(self, other):
10578
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10579
 
10580
  def __ne__(self, other):
10581
    return not (self == other)
10582
 
10583
class getItem_args:
10584
  """
10585
  Attributes:
10586
   - item_id
10587
  """
10588
 
10589
  thrift_spec = (
10590
    None, # 0
10591
    (1, TType.I64, 'item_id', None, None, ), # 1
10592
  )
10593
 
10594
  def __init__(self, item_id=None,):
10595
    self.item_id = item_id
10596
 
10597
  def read(self, iprot):
10598
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10599
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10600
      return
10601
    iprot.readStructBegin()
10602
    while True:
10603
      (fname, ftype, fid) = iprot.readFieldBegin()
10604
      if ftype == TType.STOP:
10605
        break
10606
      if fid == 1:
10607
        if ftype == TType.I64:
10608
          self.item_id = iprot.readI64();
10609
        else:
10610
          iprot.skip(ftype)
10611
      else:
10612
        iprot.skip(ftype)
10613
      iprot.readFieldEnd()
10614
    iprot.readStructEnd()
10615
 
10616
  def write(self, oprot):
10617
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10618
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10619
      return
10620
    oprot.writeStructBegin('getItem_args')
10621
    if self.item_id is not None:
10622
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10623
      oprot.writeI64(self.item_id)
10624
      oprot.writeFieldEnd()
10625
    oprot.writeFieldStop()
10626
    oprot.writeStructEnd()
10627
 
10628
  def validate(self):
10629
    return
10630
 
10631
 
10632
  def __repr__(self):
10633
    L = ['%s=%r' % (key, value)
10634
      for key, value in self.__dict__.iteritems()]
10635
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10636
 
10637
  def __eq__(self, other):
10638
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10639
 
10640
  def __ne__(self, other):
10641
    return not (self == other)
10642
 
10643
class getItem_result:
10644
  """
10645
  Attributes:
10646
   - success
10647
   - cex
10648
  """
10649
 
10650
  thrift_spec = (
10651
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
10652
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10653
  )
10654
 
10655
  def __init__(self, success=None, cex=None,):
10656
    self.success = success
10657
    self.cex = cex
10658
 
10659
  def read(self, iprot):
10660
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10661
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10662
      return
10663
    iprot.readStructBegin()
10664
    while True:
10665
      (fname, ftype, fid) = iprot.readFieldBegin()
10666
      if ftype == TType.STOP:
10667
        break
10668
      if fid == 0:
10669
        if ftype == TType.STRUCT:
10670
          self.success = Item()
10671
          self.success.read(iprot)
10672
        else:
10673
          iprot.skip(ftype)
10674
      elif fid == 1:
10675
        if ftype == TType.STRUCT:
10676
          self.cex = CatalogServiceException()
10677
          self.cex.read(iprot)
10678
        else:
10679
          iprot.skip(ftype)
10680
      else:
10681
        iprot.skip(ftype)
10682
      iprot.readFieldEnd()
10683
    iprot.readStructEnd()
10684
 
10685
  def write(self, oprot):
10686
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10687
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10688
      return
10689
    oprot.writeStructBegin('getItem_result')
10690
    if self.success is not None:
10691
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
10692
      self.success.write(oprot)
10693
      oprot.writeFieldEnd()
10694
    if self.cex is not None:
10695
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10696
      self.cex.write(oprot)
10697
      oprot.writeFieldEnd()
10698
    oprot.writeFieldStop()
10699
    oprot.writeStructEnd()
10700
 
10701
  def validate(self):
10702
    return
10703
 
10704
 
10705
  def __repr__(self):
10706
    L = ['%s=%r' % (key, value)
10707
      for key, value in self.__dict__.iteritems()]
10708
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10709
 
10710
  def __eq__(self, other):
10711
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10712
 
10713
  def __ne__(self, other):
10714
    return not (self == other)
10715
 
13493 amit.gupta 10716
class getItems_args:
10717
  """
10718
  Attributes:
10719
   - item_ids
10720
  """
10721
 
10722
  thrift_spec = (
10723
    None, # 0
10724
    (1, TType.LIST, 'item_ids', (TType.I64,None), None, ), # 1
10725
  )
10726
 
10727
  def __init__(self, item_ids=None,):
10728
    self.item_ids = item_ids
10729
 
10730
  def read(self, iprot):
10731
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10732
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10733
      return
10734
    iprot.readStructBegin()
10735
    while True:
10736
      (fname, ftype, fid) = iprot.readFieldBegin()
10737
      if ftype == TType.STOP:
10738
        break
10739
      if fid == 1:
10740
        if ftype == TType.LIST:
10741
          self.item_ids = []
10742
          (_etype49, _size46) = iprot.readListBegin()
10743
          for _i50 in xrange(_size46):
10744
            _elem51 = iprot.readI64();
10745
            self.item_ids.append(_elem51)
10746
          iprot.readListEnd()
10747
        else:
10748
          iprot.skip(ftype)
10749
      else:
10750
        iprot.skip(ftype)
10751
      iprot.readFieldEnd()
10752
    iprot.readStructEnd()
10753
 
10754
  def write(self, oprot):
10755
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10756
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10757
      return
10758
    oprot.writeStructBegin('getItems_args')
10759
    if self.item_ids is not None:
10760
      oprot.writeFieldBegin('item_ids', TType.LIST, 1)
10761
      oprot.writeListBegin(TType.I64, len(self.item_ids))
10762
      for iter52 in self.item_ids:
10763
        oprot.writeI64(iter52)
10764
      oprot.writeListEnd()
10765
      oprot.writeFieldEnd()
10766
    oprot.writeFieldStop()
10767
    oprot.writeStructEnd()
10768
 
10769
  def validate(self):
10770
    return
10771
 
10772
 
10773
  def __repr__(self):
10774
    L = ['%s=%r' % (key, value)
10775
      for key, value in self.__dict__.iteritems()]
10776
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10777
 
10778
  def __eq__(self, other):
10779
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10780
 
10781
  def __ne__(self, other):
10782
    return not (self == other)
10783
 
10784
class getItems_result:
10785
  """
10786
  Attributes:
10787
   - success
10788
   - cex
10789
  """
10790
 
10791
  thrift_spec = (
10792
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10793
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10794
  )
10795
 
10796
  def __init__(self, success=None, cex=None,):
10797
    self.success = success
10798
    self.cex = cex
10799
 
10800
  def read(self, iprot):
10801
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10802
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10803
      return
10804
    iprot.readStructBegin()
10805
    while True:
10806
      (fname, ftype, fid) = iprot.readFieldBegin()
10807
      if ftype == TType.STOP:
10808
        break
10809
      if fid == 0:
10810
        if ftype == TType.MAP:
10811
          self.success = {}
10812
          (_ktype54, _vtype55, _size53 ) = iprot.readMapBegin() 
10813
          for _i57 in xrange(_size53):
10814
            _key58 = iprot.readI64();
10815
            _val59 = Item()
10816
            _val59.read(iprot)
10817
            self.success[_key58] = _val59
10818
          iprot.readMapEnd()
10819
        else:
10820
          iprot.skip(ftype)
10821
      elif fid == 1:
10822
        if ftype == TType.STRUCT:
10823
          self.cex = CatalogServiceException()
10824
          self.cex.read(iprot)
10825
        else:
10826
          iprot.skip(ftype)
10827
      else:
10828
        iprot.skip(ftype)
10829
      iprot.readFieldEnd()
10830
    iprot.readStructEnd()
10831
 
10832
  def write(self, oprot):
10833
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10834
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10835
      return
10836
    oprot.writeStructBegin('getItems_result')
10837
    if self.success is not None:
10838
      oprot.writeFieldBegin('success', TType.MAP, 0)
10839
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
10840
      for kiter60,viter61 in self.success.items():
10841
        oprot.writeI64(kiter60)
10842
        viter61.write(oprot)
10843
      oprot.writeMapEnd()
10844
      oprot.writeFieldEnd()
10845
    if self.cex is not None:
10846
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10847
      self.cex.write(oprot)
10848
      oprot.writeFieldEnd()
10849
    oprot.writeFieldStop()
10850
    oprot.writeStructEnd()
10851
 
10852
  def validate(self):
10853
    return
10854
 
10855
 
10856
  def __repr__(self):
10857
    L = ['%s=%r' % (key, value)
10858
      for key, value in self.__dict__.iteritems()]
10859
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10860
 
10861
  def __eq__(self, other):
10862
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10863
 
10864
  def __ne__(self, other):
10865
    return not (self == other)
10866
 
5944 mandeep.dh 10867
class getItemsByCatalogId_args:
10868
  """
10869
  Attributes:
10870
   - catalog_item_id
10871
  """
10872
 
10873
  thrift_spec = (
10874
    None, # 0
10875
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
10876
  )
10877
 
10878
  def __init__(self, catalog_item_id=None,):
10879
    self.catalog_item_id = catalog_item_id
10880
 
10881
  def read(self, iprot):
10882
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10883
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10884
      return
10885
    iprot.readStructBegin()
10886
    while True:
10887
      (fname, ftype, fid) = iprot.readFieldBegin()
10888
      if ftype == TType.STOP:
10889
        break
10890
      if fid == 1:
10891
        if ftype == TType.I64:
10892
          self.catalog_item_id = iprot.readI64();
10893
        else:
10894
          iprot.skip(ftype)
10895
      else:
10896
        iprot.skip(ftype)
10897
      iprot.readFieldEnd()
10898
    iprot.readStructEnd()
10899
 
10900
  def write(self, oprot):
10901
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10902
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10903
      return
10904
    oprot.writeStructBegin('getItemsByCatalogId_args')
10905
    if self.catalog_item_id is not None:
10906
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
10907
      oprot.writeI64(self.catalog_item_id)
10908
      oprot.writeFieldEnd()
10909
    oprot.writeFieldStop()
10910
    oprot.writeStructEnd()
10911
 
10912
  def validate(self):
10913
    return
10914
 
10915
 
10916
  def __repr__(self):
10917
    L = ['%s=%r' % (key, value)
10918
      for key, value in self.__dict__.iteritems()]
10919
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10920
 
10921
  def __eq__(self, other):
10922
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10923
 
10924
  def __ne__(self, other):
10925
    return not (self == other)
10926
 
10927
class getItemsByCatalogId_result:
10928
  """
10929
  Attributes:
10930
   - success
10931
   - cex
10932
  """
10933
 
10934
  thrift_spec = (
10935
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10936
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10937
  )
10938
 
10939
  def __init__(self, success=None, cex=None,):
10940
    self.success = success
10941
    self.cex = cex
10942
 
10943
  def read(self, iprot):
10944
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10945
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10946
      return
10947
    iprot.readStructBegin()
10948
    while True:
10949
      (fname, ftype, fid) = iprot.readFieldBegin()
10950
      if ftype == TType.STOP:
10951
        break
10952
      if fid == 0:
10953
        if ftype == TType.LIST:
10954
          self.success = []
13493 amit.gupta 10955
          (_etype65, _size62) = iprot.readListBegin()
10956
          for _i66 in xrange(_size62):
10957
            _elem67 = Item()
10958
            _elem67.read(iprot)
10959
            self.success.append(_elem67)
5944 mandeep.dh 10960
          iprot.readListEnd()
10961
        else:
10962
          iprot.skip(ftype)
10963
      elif fid == 1:
10964
        if ftype == TType.STRUCT:
10965
          self.cex = CatalogServiceException()
10966
          self.cex.read(iprot)
10967
        else:
10968
          iprot.skip(ftype)
10969
      else:
10970
        iprot.skip(ftype)
10971
      iprot.readFieldEnd()
10972
    iprot.readStructEnd()
10973
 
10974
  def write(self, oprot):
10975
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10976
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10977
      return
10978
    oprot.writeStructBegin('getItemsByCatalogId_result')
10979
    if self.success is not None:
10980
      oprot.writeFieldBegin('success', TType.LIST, 0)
10981
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 10982
      for iter68 in self.success:
10983
        iter68.write(oprot)
5944 mandeep.dh 10984
      oprot.writeListEnd()
10985
      oprot.writeFieldEnd()
10986
    if self.cex is not None:
10987
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10988
      self.cex.write(oprot)
10989
      oprot.writeFieldEnd()
10990
    oprot.writeFieldStop()
10991
    oprot.writeStructEnd()
10992
 
10993
  def validate(self):
10994
    return
10995
 
10996
 
10997
  def __repr__(self):
10998
    L = ['%s=%r' % (key, value)
10999
      for key, value in self.__dict__.iteritems()]
11000
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11001
 
11002
  def __eq__(self, other):
11003
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11004
 
11005
  def __ne__(self, other):
11006
    return not (self == other)
11007
 
11008
class getValidItemsByCatalogId_args:
11009
  """
11010
  Attributes:
11011
   - catalog_item_id
11012
  """
11013
 
11014
  thrift_spec = (
11015
    None, # 0
11016
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
11017
  )
11018
 
11019
  def __init__(self, catalog_item_id=None,):
11020
    self.catalog_item_id = catalog_item_id
11021
 
11022
  def read(self, iprot):
11023
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11024
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11025
      return
11026
    iprot.readStructBegin()
11027
    while True:
11028
      (fname, ftype, fid) = iprot.readFieldBegin()
11029
      if ftype == TType.STOP:
11030
        break
11031
      if fid == 1:
11032
        if ftype == TType.I64:
11033
          self.catalog_item_id = iprot.readI64();
11034
        else:
11035
          iprot.skip(ftype)
11036
      else:
11037
        iprot.skip(ftype)
11038
      iprot.readFieldEnd()
11039
    iprot.readStructEnd()
11040
 
11041
  def write(self, oprot):
11042
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11043
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11044
      return
11045
    oprot.writeStructBegin('getValidItemsByCatalogId_args')
11046
    if self.catalog_item_id is not None:
11047
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
11048
      oprot.writeI64(self.catalog_item_id)
11049
      oprot.writeFieldEnd()
11050
    oprot.writeFieldStop()
11051
    oprot.writeStructEnd()
11052
 
11053
  def validate(self):
11054
    return
11055
 
11056
 
11057
  def __repr__(self):
11058
    L = ['%s=%r' % (key, value)
11059
      for key, value in self.__dict__.iteritems()]
11060
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11061
 
11062
  def __eq__(self, other):
11063
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11064
 
11065
  def __ne__(self, other):
11066
    return not (self == other)
11067
 
11068
class getValidItemsByCatalogId_result:
11069
  """
11070
  Attributes:
11071
   - success
11072
   - cex
11073
  """
11074
 
11075
  thrift_spec = (
11076
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11077
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11078
  )
11079
 
11080
  def __init__(self, success=None, cex=None,):
11081
    self.success = success
11082
    self.cex = cex
11083
 
11084
  def read(self, iprot):
11085
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11086
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11087
      return
11088
    iprot.readStructBegin()
11089
    while True:
11090
      (fname, ftype, fid) = iprot.readFieldBegin()
11091
      if ftype == TType.STOP:
11092
        break
11093
      if fid == 0:
11094
        if ftype == TType.LIST:
11095
          self.success = []
13493 amit.gupta 11096
          (_etype72, _size69) = iprot.readListBegin()
11097
          for _i73 in xrange(_size69):
11098
            _elem74 = Item()
11099
            _elem74.read(iprot)
11100
            self.success.append(_elem74)
5944 mandeep.dh 11101
          iprot.readListEnd()
11102
        else:
11103
          iprot.skip(ftype)
11104
      elif fid == 1:
11105
        if ftype == TType.STRUCT:
11106
          self.cex = CatalogServiceException()
11107
          self.cex.read(iprot)
11108
        else:
11109
          iprot.skip(ftype)
11110
      else:
11111
        iprot.skip(ftype)
11112
      iprot.readFieldEnd()
11113
    iprot.readStructEnd()
11114
 
11115
  def write(self, oprot):
11116
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11117
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11118
      return
11119
    oprot.writeStructBegin('getValidItemsByCatalogId_result')
11120
    if self.success is not None:
11121
      oprot.writeFieldBegin('success', TType.LIST, 0)
11122
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11123
      for iter75 in self.success:
11124
        iter75.write(oprot)
5944 mandeep.dh 11125
      oprot.writeListEnd()
11126
      oprot.writeFieldEnd()
11127
    if self.cex is not None:
11128
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11129
      self.cex.write(oprot)
11130
      oprot.writeFieldEnd()
11131
    oprot.writeFieldStop()
11132
    oprot.writeStructEnd()
11133
 
11134
  def validate(self):
11135
    return
11136
 
11137
 
11138
  def __repr__(self):
11139
    L = ['%s=%r' % (key, value)
11140
      for key, value in self.__dict__.iteritems()]
11141
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11142
 
11143
  def __eq__(self, other):
11144
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11145
 
11146
  def __ne__(self, other):
11147
    return not (self == other)
11148
 
11149
class getAllItems_args:
11150
  """
11151
  Attributes:
11152
   - isActive
11153
  """
11154
 
11155
  thrift_spec = (
11156
    None, # 0
11157
    (1, TType.BOOL, 'isActive', None, None, ), # 1
11158
  )
11159
 
11160
  def __init__(self, isActive=None,):
11161
    self.isActive = isActive
11162
 
11163
  def read(self, iprot):
11164
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11165
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11166
      return
11167
    iprot.readStructBegin()
11168
    while True:
11169
      (fname, ftype, fid) = iprot.readFieldBegin()
11170
      if ftype == TType.STOP:
11171
        break
11172
      if fid == 1:
11173
        if ftype == TType.BOOL:
11174
          self.isActive = iprot.readBool();
11175
        else:
11176
          iprot.skip(ftype)
11177
      else:
11178
        iprot.skip(ftype)
11179
      iprot.readFieldEnd()
11180
    iprot.readStructEnd()
11181
 
11182
  def write(self, oprot):
11183
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11184
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11185
      return
11186
    oprot.writeStructBegin('getAllItems_args')
11187
    if self.isActive is not None:
11188
      oprot.writeFieldBegin('isActive', TType.BOOL, 1)
11189
      oprot.writeBool(self.isActive)
11190
      oprot.writeFieldEnd()
11191
    oprot.writeFieldStop()
11192
    oprot.writeStructEnd()
11193
 
11194
  def validate(self):
11195
    return
11196
 
11197
 
11198
  def __repr__(self):
11199
    L = ['%s=%r' % (key, value)
11200
      for key, value in self.__dict__.iteritems()]
11201
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11202
 
11203
  def __eq__(self, other):
11204
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11205
 
11206
  def __ne__(self, other):
11207
    return not (self == other)
11208
 
11209
class getAllItems_result:
11210
  """
11211
  Attributes:
11212
   - success
11213
   - cex
11214
  """
11215
 
11216
  thrift_spec = (
11217
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11218
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11219
  )
11220
 
11221
  def __init__(self, success=None, cex=None,):
11222
    self.success = success
11223
    self.cex = cex
11224
 
11225
  def read(self, iprot):
11226
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11227
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11228
      return
11229
    iprot.readStructBegin()
11230
    while True:
11231
      (fname, ftype, fid) = iprot.readFieldBegin()
11232
      if ftype == TType.STOP:
11233
        break
11234
      if fid == 0:
11235
        if ftype == TType.LIST:
11236
          self.success = []
13493 amit.gupta 11237
          (_etype79, _size76) = iprot.readListBegin()
11238
          for _i80 in xrange(_size76):
11239
            _elem81 = Item()
11240
            _elem81.read(iprot)
11241
            self.success.append(_elem81)
5944 mandeep.dh 11242
          iprot.readListEnd()
11243
        else:
11244
          iprot.skip(ftype)
11245
      elif fid == 1:
11246
        if ftype == TType.STRUCT:
11247
          self.cex = CatalogServiceException()
11248
          self.cex.read(iprot)
11249
        else:
11250
          iprot.skip(ftype)
11251
      else:
11252
        iprot.skip(ftype)
11253
      iprot.readFieldEnd()
11254
    iprot.readStructEnd()
11255
 
11256
  def write(self, oprot):
11257
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11258
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11259
      return
11260
    oprot.writeStructBegin('getAllItems_result')
11261
    if self.success is not None:
11262
      oprot.writeFieldBegin('success', TType.LIST, 0)
11263
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11264
      for iter82 in self.success:
11265
        iter82.write(oprot)
5944 mandeep.dh 11266
      oprot.writeListEnd()
11267
      oprot.writeFieldEnd()
11268
    if self.cex is not None:
11269
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11270
      self.cex.write(oprot)
11271
      oprot.writeFieldEnd()
11272
    oprot.writeFieldStop()
11273
    oprot.writeStructEnd()
11274
 
11275
  def validate(self):
11276
    return
11277
 
11278
 
11279
  def __repr__(self):
11280
    L = ['%s=%r' % (key, value)
11281
      for key, value in self.__dict__.iteritems()]
11282
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11283
 
11284
  def __eq__(self, other):
11285
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11286
 
11287
  def __ne__(self, other):
11288
    return not (self == other)
11289
 
11290
class getAllItemsByStatus_args:
11291
  """
11292
  Attributes:
11293
   - itemStatus
11294
  """
11295
 
11296
  thrift_spec = (
11297
    None, # 0
11298
    (1, TType.I32, 'itemStatus', None, None, ), # 1
11299
  )
11300
 
11301
  def __init__(self, itemStatus=None,):
11302
    self.itemStatus = itemStatus
11303
 
11304
  def read(self, iprot):
11305
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11306
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11307
      return
11308
    iprot.readStructBegin()
11309
    while True:
11310
      (fname, ftype, fid) = iprot.readFieldBegin()
11311
      if ftype == TType.STOP:
11312
        break
11313
      if fid == 1:
11314
        if ftype == TType.I32:
11315
          self.itemStatus = iprot.readI32();
11316
        else:
11317
          iprot.skip(ftype)
11318
      else:
11319
        iprot.skip(ftype)
11320
      iprot.readFieldEnd()
11321
    iprot.readStructEnd()
11322
 
11323
  def write(self, oprot):
11324
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11325
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11326
      return
11327
    oprot.writeStructBegin('getAllItemsByStatus_args')
11328
    if self.itemStatus is not None:
11329
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
11330
      oprot.writeI32(self.itemStatus)
11331
      oprot.writeFieldEnd()
11332
    oprot.writeFieldStop()
11333
    oprot.writeStructEnd()
11334
 
11335
  def validate(self):
11336
    return
11337
 
11338
 
11339
  def __repr__(self):
11340
    L = ['%s=%r' % (key, value)
11341
      for key, value in self.__dict__.iteritems()]
11342
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11343
 
11344
  def __eq__(self, other):
11345
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11346
 
11347
  def __ne__(self, other):
11348
    return not (self == other)
11349
 
11350
class getAllItemsByStatus_result:
11351
  """
11352
  Attributes:
11353
   - success
11354
   - cex
11355
  """
11356
 
11357
  thrift_spec = (
11358
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11359
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11360
  )
11361
 
11362
  def __init__(self, success=None, cex=None,):
11363
    self.success = success
11364
    self.cex = cex
11365
 
11366
  def read(self, iprot):
11367
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11368
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11369
      return
11370
    iprot.readStructBegin()
11371
    while True:
11372
      (fname, ftype, fid) = iprot.readFieldBegin()
11373
      if ftype == TType.STOP:
11374
        break
11375
      if fid == 0:
11376
        if ftype == TType.LIST:
11377
          self.success = []
13493 amit.gupta 11378
          (_etype86, _size83) = iprot.readListBegin()
11379
          for _i87 in xrange(_size83):
11380
            _elem88 = Item()
11381
            _elem88.read(iprot)
11382
            self.success.append(_elem88)
5944 mandeep.dh 11383
          iprot.readListEnd()
11384
        else:
11385
          iprot.skip(ftype)
11386
      elif fid == 1:
11387
        if ftype == TType.STRUCT:
11388
          self.cex = CatalogServiceException()
11389
          self.cex.read(iprot)
11390
        else:
11391
          iprot.skip(ftype)
11392
      else:
11393
        iprot.skip(ftype)
11394
      iprot.readFieldEnd()
11395
    iprot.readStructEnd()
11396
 
11397
  def write(self, oprot):
11398
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11399
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11400
      return
11401
    oprot.writeStructBegin('getAllItemsByStatus_result')
11402
    if self.success is not None:
11403
      oprot.writeFieldBegin('success', TType.LIST, 0)
11404
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11405
      for iter89 in self.success:
11406
        iter89.write(oprot)
5944 mandeep.dh 11407
      oprot.writeListEnd()
11408
      oprot.writeFieldEnd()
11409
    if self.cex is not None:
11410
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11411
      self.cex.write(oprot)
11412
      oprot.writeFieldEnd()
11413
    oprot.writeFieldStop()
11414
    oprot.writeStructEnd()
11415
 
11416
  def validate(self):
11417
    return
11418
 
11419
 
11420
  def __repr__(self):
11421
    L = ['%s=%r' % (key, value)
11422
      for key, value in self.__dict__.iteritems()]
11423
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11424
 
11425
  def __eq__(self, other):
11426
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11427
 
11428
  def __ne__(self, other):
11429
    return not (self == other)
11430
 
11431
class markItemAsContentComplete_args:
11432
  """
11433
  Attributes:
11434
   - entityId
11435
   - category
11436
   - brand
11437
   - modelName
11438
   - modelNumber
9253 rajveer 11439
   - isAndroid
5944 mandeep.dh 11440
  """
11441
 
11442
  thrift_spec = (
11443
    None, # 0
11444
    (1, TType.I64, 'entityId', None, None, ), # 1
11445
    (2, TType.I64, 'category', None, None, ), # 2
11446
    (3, TType.STRING, 'brand', None, None, ), # 3
11447
    (4, TType.STRING, 'modelName', None, None, ), # 4
11448
    (5, TType.STRING, 'modelNumber', None, None, ), # 5
9253 rajveer 11449
    (6, TType.BOOL, 'isAndroid', None, None, ), # 6
5944 mandeep.dh 11450
  )
11451
 
9253 rajveer 11452
  def __init__(self, entityId=None, category=None, brand=None, modelName=None, modelNumber=None, isAndroid=None,):
5944 mandeep.dh 11453
    self.entityId = entityId
11454
    self.category = category
11455
    self.brand = brand
11456
    self.modelName = modelName
11457
    self.modelNumber = modelNumber
9253 rajveer 11458
    self.isAndroid = isAndroid
5944 mandeep.dh 11459
 
11460
  def read(self, iprot):
11461
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11462
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11463
      return
11464
    iprot.readStructBegin()
11465
    while True:
11466
      (fname, ftype, fid) = iprot.readFieldBegin()
11467
      if ftype == TType.STOP:
11468
        break
11469
      if fid == 1:
11470
        if ftype == TType.I64:
11471
          self.entityId = iprot.readI64();
11472
        else:
11473
          iprot.skip(ftype)
11474
      elif fid == 2:
11475
        if ftype == TType.I64:
11476
          self.category = iprot.readI64();
11477
        else:
11478
          iprot.skip(ftype)
11479
      elif fid == 3:
11480
        if ftype == TType.STRING:
11481
          self.brand = iprot.readString();
11482
        else:
11483
          iprot.skip(ftype)
11484
      elif fid == 4:
11485
        if ftype == TType.STRING:
11486
          self.modelName = iprot.readString();
11487
        else:
11488
          iprot.skip(ftype)
11489
      elif fid == 5:
11490
        if ftype == TType.STRING:
11491
          self.modelNumber = iprot.readString();
11492
        else:
11493
          iprot.skip(ftype)
9253 rajveer 11494
      elif fid == 6:
11495
        if ftype == TType.BOOL:
11496
          self.isAndroid = iprot.readBool();
11497
        else:
11498
          iprot.skip(ftype)
5944 mandeep.dh 11499
      else:
11500
        iprot.skip(ftype)
11501
      iprot.readFieldEnd()
11502
    iprot.readStructEnd()
11503
 
11504
  def write(self, oprot):
11505
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11506
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11507
      return
11508
    oprot.writeStructBegin('markItemAsContentComplete_args')
11509
    if self.entityId is not None:
11510
      oprot.writeFieldBegin('entityId', TType.I64, 1)
11511
      oprot.writeI64(self.entityId)
11512
      oprot.writeFieldEnd()
11513
    if self.category is not None:
11514
      oprot.writeFieldBegin('category', TType.I64, 2)
11515
      oprot.writeI64(self.category)
11516
      oprot.writeFieldEnd()
11517
    if self.brand is not None:
11518
      oprot.writeFieldBegin('brand', TType.STRING, 3)
11519
      oprot.writeString(self.brand)
11520
      oprot.writeFieldEnd()
11521
    if self.modelName is not None:
11522
      oprot.writeFieldBegin('modelName', TType.STRING, 4)
11523
      oprot.writeString(self.modelName)
11524
      oprot.writeFieldEnd()
11525
    if self.modelNumber is not None:
11526
      oprot.writeFieldBegin('modelNumber', TType.STRING, 5)
11527
      oprot.writeString(self.modelNumber)
11528
      oprot.writeFieldEnd()
9253 rajveer 11529
    if self.isAndroid is not None:
11530
      oprot.writeFieldBegin('isAndroid', TType.BOOL, 6)
11531
      oprot.writeBool(self.isAndroid)
11532
      oprot.writeFieldEnd()
5944 mandeep.dh 11533
    oprot.writeFieldStop()
11534
    oprot.writeStructEnd()
11535
 
11536
  def validate(self):
11537
    return
11538
 
11539
 
11540
  def __repr__(self):
11541
    L = ['%s=%r' % (key, value)
11542
      for key, value in self.__dict__.iteritems()]
11543
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11544
 
11545
  def __eq__(self, other):
11546
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11547
 
11548
  def __ne__(self, other):
11549
    return not (self == other)
11550
 
11551
class markItemAsContentComplete_result:
11552
  """
11553
  Attributes:
11554
   - success
11555
   - cex
11556
  """
11557
 
11558
  thrift_spec = (
11559
    (0, TType.BOOL, 'success', None, None, ), # 0
11560
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11561
  )
11562
 
11563
  def __init__(self, success=None, cex=None,):
11564
    self.success = success
11565
    self.cex = cex
11566
 
11567
  def read(self, iprot):
11568
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11569
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11570
      return
11571
    iprot.readStructBegin()
11572
    while True:
11573
      (fname, ftype, fid) = iprot.readFieldBegin()
11574
      if ftype == TType.STOP:
11575
        break
11576
      if fid == 0:
11577
        if ftype == TType.BOOL:
11578
          self.success = iprot.readBool();
11579
        else:
11580
          iprot.skip(ftype)
11581
      elif fid == 1:
11582
        if ftype == TType.STRUCT:
11583
          self.cex = CatalogServiceException()
11584
          self.cex.read(iprot)
11585
        else:
11586
          iprot.skip(ftype)
11587
      else:
11588
        iprot.skip(ftype)
11589
      iprot.readFieldEnd()
11590
    iprot.readStructEnd()
11591
 
11592
  def write(self, oprot):
11593
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11594
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11595
      return
11596
    oprot.writeStructBegin('markItemAsContentComplete_result')
11597
    if self.success is not None:
11598
      oprot.writeFieldBegin('success', TType.BOOL, 0)
11599
      oprot.writeBool(self.success)
11600
      oprot.writeFieldEnd()
11601
    if self.cex is not None:
11602
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11603
      self.cex.write(oprot)
11604
      oprot.writeFieldEnd()
11605
    oprot.writeFieldStop()
11606
    oprot.writeStructEnd()
11607
 
11608
  def validate(self):
11609
    return
11610
 
11611
 
11612
  def __repr__(self):
11613
    L = ['%s=%r' % (key, value)
11614
      for key, value in self.__dict__.iteritems()]
11615
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11616
 
11617
  def __eq__(self, other):
11618
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11619
 
11620
  def __ne__(self, other):
11621
    return not (self == other)
11622
 
12567 amit.gupta 11623
class getVatRates_args:
11624
  """
11625
  Attributes:
11626
   - itemId
11627
   - categoryId
11628
  """
11629
 
11630
  thrift_spec = (
11631
    None, # 0
11632
    (1, TType.I64, 'itemId', None, None, ), # 1
11633
    (2, TType.I64, 'categoryId', None, None, ), # 2
11634
  )
11635
 
11636
  def __init__(self, itemId=None, categoryId=None,):
11637
    self.itemId = itemId
11638
    self.categoryId = categoryId
11639
 
11640
  def read(self, iprot):
11641
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11642
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11643
      return
11644
    iprot.readStructBegin()
11645
    while True:
11646
      (fname, ftype, fid) = iprot.readFieldBegin()
11647
      if ftype == TType.STOP:
11648
        break
11649
      if fid == 1:
11650
        if ftype == TType.I64:
11651
          self.itemId = iprot.readI64();
11652
        else:
11653
          iprot.skip(ftype)
11654
      elif fid == 2:
11655
        if ftype == TType.I64:
11656
          self.categoryId = iprot.readI64();
11657
        else:
11658
          iprot.skip(ftype)
11659
      else:
11660
        iprot.skip(ftype)
11661
      iprot.readFieldEnd()
11662
    iprot.readStructEnd()
11663
 
11664
  def write(self, oprot):
11665
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11666
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11667
      return
11668
    oprot.writeStructBegin('getVatRates_args')
11669
    if self.itemId is not None:
11670
      oprot.writeFieldBegin('itemId', TType.I64, 1)
11671
      oprot.writeI64(self.itemId)
11672
      oprot.writeFieldEnd()
11673
    if self.categoryId is not None:
11674
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
11675
      oprot.writeI64(self.categoryId)
11676
      oprot.writeFieldEnd()
11677
    oprot.writeFieldStop()
11678
    oprot.writeStructEnd()
11679
 
11680
  def validate(self):
11681
    return
11682
 
11683
 
11684
  def __repr__(self):
11685
    L = ['%s=%r' % (key, value)
11686
      for key, value in self.__dict__.iteritems()]
11687
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11688
 
11689
  def __eq__(self, other):
11690
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11691
 
11692
  def __ne__(self, other):
11693
    return not (self == other)
11694
 
11695
class getVatRates_result:
11696
  """
11697
  Attributes:
11698
   - success
11699
   - cex
11700
  """
11701
 
11702
  thrift_spec = (
11703
    (0, TType.MAP, 'success', (TType.I64,None,TType.DOUBLE,None), None, ), # 0
11704
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11705
  )
11706
 
11707
  def __init__(self, success=None, cex=None,):
11708
    self.success = success
11709
    self.cex = cex
11710
 
11711
  def read(self, iprot):
11712
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11713
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11714
      return
11715
    iprot.readStructBegin()
11716
    while True:
11717
      (fname, ftype, fid) = iprot.readFieldBegin()
11718
      if ftype == TType.STOP:
11719
        break
11720
      if fid == 0:
11721
        if ftype == TType.MAP:
11722
          self.success = {}
13493 amit.gupta 11723
          (_ktype91, _vtype92, _size90 ) = iprot.readMapBegin() 
11724
          for _i94 in xrange(_size90):
11725
            _key95 = iprot.readI64();
11726
            _val96 = iprot.readDouble();
11727
            self.success[_key95] = _val96
12567 amit.gupta 11728
          iprot.readMapEnd()
11729
        else:
11730
          iprot.skip(ftype)
11731
      elif fid == 1:
11732
        if ftype == TType.STRUCT:
11733
          self.cex = CatalogServiceException()
11734
          self.cex.read(iprot)
11735
        else:
11736
          iprot.skip(ftype)
11737
      else:
11738
        iprot.skip(ftype)
11739
      iprot.readFieldEnd()
11740
    iprot.readStructEnd()
11741
 
11742
  def write(self, oprot):
11743
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11744
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11745
      return
11746
    oprot.writeStructBegin('getVatRates_result')
11747
    if self.success is not None:
11748
      oprot.writeFieldBegin('success', TType.MAP, 0)
11749
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.success))
13493 amit.gupta 11750
      for kiter97,viter98 in self.success.items():
11751
        oprot.writeI64(kiter97)
11752
        oprot.writeDouble(viter98)
12567 amit.gupta 11753
      oprot.writeMapEnd()
11754
      oprot.writeFieldEnd()
11755
    if self.cex is not None:
11756
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11757
      self.cex.write(oprot)
11758
      oprot.writeFieldEnd()
11759
    oprot.writeFieldStop()
11760
    oprot.writeStructEnd()
11761
 
11762
  def validate(self):
11763
    return
11764
 
11765
 
11766
  def __repr__(self):
11767
    L = ['%s=%r' % (key, value)
11768
      for key, value in self.__dict__.iteritems()]
11769
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11770
 
11771
  def __eq__(self, other):
11772
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11773
 
11774
  def __ne__(self, other):
11775
    return not (self == other)
11776
 
5944 mandeep.dh 11777
class getAllItemsInRange_args:
11778
  """
11779
  Attributes:
11780
   - offset
11781
   - limit
11782
  """
11783
 
11784
  thrift_spec = (
11785
    None, # 0
11786
    (1, TType.I64, 'offset', None, None, ), # 1
11787
    (2, TType.I64, 'limit', None, None, ), # 2
11788
  )
11789
 
11790
  def __init__(self, offset=None, limit=None,):
11791
    self.offset = offset
11792
    self.limit = limit
11793
 
11794
  def read(self, iprot):
11795
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11796
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11797
      return
11798
    iprot.readStructBegin()
11799
    while True:
11800
      (fname, ftype, fid) = iprot.readFieldBegin()
11801
      if ftype == TType.STOP:
11802
        break
11803
      if fid == 1:
11804
        if ftype == TType.I64:
11805
          self.offset = iprot.readI64();
11806
        else:
11807
          iprot.skip(ftype)
11808
      elif fid == 2:
11809
        if ftype == TType.I64:
11810
          self.limit = iprot.readI64();
11811
        else:
11812
          iprot.skip(ftype)
11813
      else:
11814
        iprot.skip(ftype)
11815
      iprot.readFieldEnd()
11816
    iprot.readStructEnd()
11817
 
11818
  def write(self, oprot):
11819
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11820
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11821
      return
11822
    oprot.writeStructBegin('getAllItemsInRange_args')
11823
    if self.offset is not None:
11824
      oprot.writeFieldBegin('offset', TType.I64, 1)
11825
      oprot.writeI64(self.offset)
11826
      oprot.writeFieldEnd()
11827
    if self.limit is not None:
11828
      oprot.writeFieldBegin('limit', TType.I64, 2)
11829
      oprot.writeI64(self.limit)
11830
      oprot.writeFieldEnd()
11831
    oprot.writeFieldStop()
11832
    oprot.writeStructEnd()
11833
 
11834
  def validate(self):
11835
    return
11836
 
11837
 
11838
  def __repr__(self):
11839
    L = ['%s=%r' % (key, value)
11840
      for key, value in self.__dict__.iteritems()]
11841
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11842
 
11843
  def __eq__(self, other):
11844
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11845
 
11846
  def __ne__(self, other):
11847
    return not (self == other)
11848
 
11849
class getAllItemsInRange_result:
11850
  """
11851
  Attributes:
11852
   - success
11853
   - cex
11854
  """
11855
 
11856
  thrift_spec = (
11857
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11858
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11859
  )
11860
 
11861
  def __init__(self, success=None, cex=None,):
11862
    self.success = success
11863
    self.cex = cex
11864
 
11865
  def read(self, iprot):
11866
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11867
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11868
      return
11869
    iprot.readStructBegin()
11870
    while True:
11871
      (fname, ftype, fid) = iprot.readFieldBegin()
11872
      if ftype == TType.STOP:
11873
        break
11874
      if fid == 0:
11875
        if ftype == TType.LIST:
11876
          self.success = []
13493 amit.gupta 11877
          (_etype102, _size99) = iprot.readListBegin()
11878
          for _i103 in xrange(_size99):
11879
            _elem104 = Item()
11880
            _elem104.read(iprot)
11881
            self.success.append(_elem104)
5944 mandeep.dh 11882
          iprot.readListEnd()
11883
        else:
11884
          iprot.skip(ftype)
11885
      elif fid == 1:
11886
        if ftype == TType.STRUCT:
11887
          self.cex = CatalogServiceException()
11888
          self.cex.read(iprot)
11889
        else:
11890
          iprot.skip(ftype)
11891
      else:
11892
        iprot.skip(ftype)
11893
      iprot.readFieldEnd()
11894
    iprot.readStructEnd()
11895
 
11896
  def write(self, oprot):
11897
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11898
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11899
      return
11900
    oprot.writeStructBegin('getAllItemsInRange_result')
11901
    if self.success is not None:
11902
      oprot.writeFieldBegin('success', TType.LIST, 0)
11903
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 11904
      for iter105 in self.success:
11905
        iter105.write(oprot)
5944 mandeep.dh 11906
      oprot.writeListEnd()
11907
      oprot.writeFieldEnd()
11908
    if self.cex is not None:
11909
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11910
      self.cex.write(oprot)
11911
      oprot.writeFieldEnd()
11912
    oprot.writeFieldStop()
11913
    oprot.writeStructEnd()
11914
 
11915
  def validate(self):
11916
    return
11917
 
11918
 
11919
  def __repr__(self):
11920
    L = ['%s=%r' % (key, value)
11921
      for key, value in self.__dict__.iteritems()]
11922
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11923
 
11924
  def __eq__(self, other):
11925
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11926
 
11927
  def __ne__(self, other):
11928
    return not (self == other)
11929
 
11930
class getAllItemsByStatusInRange_args:
11931
  """
11932
  Attributes:
11933
   - itemStatus
11934
   - offset
11935
   - limit
11936
  """
11937
 
11938
  thrift_spec = (
11939
    None, # 0
11940
    (1, TType.I32, 'itemStatus', None, None, ), # 1
11941
    (2, TType.I64, 'offset', None, None, ), # 2
11942
    (3, TType.I64, 'limit', None, None, ), # 3
11943
  )
11944
 
11945
  def __init__(self, itemStatus=None, offset=None, limit=None,):
11946
    self.itemStatus = itemStatus
11947
    self.offset = offset
11948
    self.limit = limit
11949
 
11950
  def read(self, iprot):
11951
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11952
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11953
      return
11954
    iprot.readStructBegin()
11955
    while True:
11956
      (fname, ftype, fid) = iprot.readFieldBegin()
11957
      if ftype == TType.STOP:
11958
        break
11959
      if fid == 1:
11960
        if ftype == TType.I32:
11961
          self.itemStatus = iprot.readI32();
11962
        else:
11963
          iprot.skip(ftype)
11964
      elif fid == 2:
11965
        if ftype == TType.I64:
11966
          self.offset = iprot.readI64();
11967
        else:
11968
          iprot.skip(ftype)
11969
      elif fid == 3:
11970
        if ftype == TType.I64:
11971
          self.limit = iprot.readI64();
11972
        else:
11973
          iprot.skip(ftype)
11974
      else:
11975
        iprot.skip(ftype)
11976
      iprot.readFieldEnd()
11977
    iprot.readStructEnd()
11978
 
11979
  def write(self, oprot):
11980
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11981
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11982
      return
11983
    oprot.writeStructBegin('getAllItemsByStatusInRange_args')
11984
    if self.itemStatus is not None:
11985
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
11986
      oprot.writeI32(self.itemStatus)
11987
      oprot.writeFieldEnd()
11988
    if self.offset is not None:
11989
      oprot.writeFieldBegin('offset', TType.I64, 2)
11990
      oprot.writeI64(self.offset)
11991
      oprot.writeFieldEnd()
11992
    if self.limit is not None:
11993
      oprot.writeFieldBegin('limit', TType.I64, 3)
11994
      oprot.writeI64(self.limit)
11995
      oprot.writeFieldEnd()
11996
    oprot.writeFieldStop()
11997
    oprot.writeStructEnd()
11998
 
11999
  def validate(self):
12000
    return
12001
 
12002
 
12003
  def __repr__(self):
12004
    L = ['%s=%r' % (key, value)
12005
      for key, value in self.__dict__.iteritems()]
12006
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12007
 
12008
  def __eq__(self, other):
12009
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12010
 
12011
  def __ne__(self, other):
12012
    return not (self == other)
12013
 
12014
class getAllItemsByStatusInRange_result:
12015
  """
12016
  Attributes:
12017
   - success
12018
   - cex
12019
  """
12020
 
12021
  thrift_spec = (
12022
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12023
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12024
  )
12025
 
12026
  def __init__(self, success=None, cex=None,):
12027
    self.success = success
12028
    self.cex = cex
12029
 
12030
  def read(self, iprot):
12031
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12032
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12033
      return
12034
    iprot.readStructBegin()
12035
    while True:
12036
      (fname, ftype, fid) = iprot.readFieldBegin()
12037
      if ftype == TType.STOP:
12038
        break
12039
      if fid == 0:
12040
        if ftype == TType.LIST:
12041
          self.success = []
13493 amit.gupta 12042
          (_etype109, _size106) = iprot.readListBegin()
12043
          for _i110 in xrange(_size106):
12044
            _elem111 = Item()
12045
            _elem111.read(iprot)
12046
            self.success.append(_elem111)
5944 mandeep.dh 12047
          iprot.readListEnd()
12048
        else:
12049
          iprot.skip(ftype)
12050
      elif fid == 1:
12051
        if ftype == TType.STRUCT:
12052
          self.cex = CatalogServiceException()
12053
          self.cex.read(iprot)
12054
        else:
12055
          iprot.skip(ftype)
12056
      else:
12057
        iprot.skip(ftype)
12058
      iprot.readFieldEnd()
12059
    iprot.readStructEnd()
12060
 
12061
  def write(self, oprot):
12062
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12063
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12064
      return
12065
    oprot.writeStructBegin('getAllItemsByStatusInRange_result')
12066
    if self.success is not None:
12067
      oprot.writeFieldBegin('success', TType.LIST, 0)
12068
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 12069
      for iter112 in self.success:
12070
        iter112.write(oprot)
5944 mandeep.dh 12071
      oprot.writeListEnd()
12072
      oprot.writeFieldEnd()
12073
    if self.cex is not None:
12074
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12075
      self.cex.write(oprot)
12076
      oprot.writeFieldEnd()
12077
    oprot.writeFieldStop()
12078
    oprot.writeStructEnd()
12079
 
12080
  def validate(self):
12081
    return
12082
 
12083
 
12084
  def __repr__(self):
12085
    L = ['%s=%r' % (key, value)
12086
      for key, value in self.__dict__.iteritems()]
12087
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12088
 
12089
  def __eq__(self, other):
12090
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12091
 
12092
  def __ne__(self, other):
12093
    return not (self == other)
12094
 
12095
class getItemCountByStatus_args:
12096
  """
12097
  Attributes:
12098
   - useStatus
12099
   - itemStatus
12100
  """
12101
 
12102
  thrift_spec = (
12103
    None, # 0
12104
    (1, TType.BOOL, 'useStatus', None, None, ), # 1
12105
    (2, TType.I32, 'itemStatus', None, None, ), # 2
12106
  )
12107
 
12108
  def __init__(self, useStatus=None, itemStatus=None,):
12109
    self.useStatus = useStatus
12110
    self.itemStatus = itemStatus
12111
 
12112
  def read(self, iprot):
12113
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12114
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12115
      return
12116
    iprot.readStructBegin()
12117
    while True:
12118
      (fname, ftype, fid) = iprot.readFieldBegin()
12119
      if ftype == TType.STOP:
12120
        break
12121
      if fid == 1:
12122
        if ftype == TType.BOOL:
12123
          self.useStatus = iprot.readBool();
12124
        else:
12125
          iprot.skip(ftype)
12126
      elif fid == 2:
12127
        if ftype == TType.I32:
12128
          self.itemStatus = iprot.readI32();
12129
        else:
12130
          iprot.skip(ftype)
12131
      else:
12132
        iprot.skip(ftype)
12133
      iprot.readFieldEnd()
12134
    iprot.readStructEnd()
12135
 
12136
  def write(self, oprot):
12137
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12138
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12139
      return
12140
    oprot.writeStructBegin('getItemCountByStatus_args')
12141
    if self.useStatus is not None:
12142
      oprot.writeFieldBegin('useStatus', TType.BOOL, 1)
12143
      oprot.writeBool(self.useStatus)
12144
      oprot.writeFieldEnd()
12145
    if self.itemStatus is not None:
12146
      oprot.writeFieldBegin('itemStatus', TType.I32, 2)
12147
      oprot.writeI32(self.itemStatus)
12148
      oprot.writeFieldEnd()
12149
    oprot.writeFieldStop()
12150
    oprot.writeStructEnd()
12151
 
12152
  def validate(self):
12153
    return
12154
 
12155
 
12156
  def __repr__(self):
12157
    L = ['%s=%r' % (key, value)
12158
      for key, value in self.__dict__.iteritems()]
12159
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12160
 
12161
  def __eq__(self, other):
12162
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12163
 
12164
  def __ne__(self, other):
12165
    return not (self == other)
12166
 
12167
class getItemCountByStatus_result:
12168
  """
12169
  Attributes:
12170
   - success
12171
  """
12172
 
12173
  thrift_spec = (
12174
    (0, TType.I32, 'success', None, None, ), # 0
12175
  )
12176
 
12177
  def __init__(self, success=None,):
12178
    self.success = success
12179
 
12180
  def read(self, iprot):
12181
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12182
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12183
      return
12184
    iprot.readStructBegin()
12185
    while True:
12186
      (fname, ftype, fid) = iprot.readFieldBegin()
12187
      if ftype == TType.STOP:
12188
        break
12189
      if fid == 0:
12190
        if ftype == TType.I32:
12191
          self.success = iprot.readI32();
12192
        else:
12193
          iprot.skip(ftype)
12194
      else:
12195
        iprot.skip(ftype)
12196
      iprot.readFieldEnd()
12197
    iprot.readStructEnd()
12198
 
12199
  def write(self, oprot):
12200
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12201
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12202
      return
12203
    oprot.writeStructBegin('getItemCountByStatus_result')
12204
    if self.success is not None:
12205
      oprot.writeFieldBegin('success', TType.I32, 0)
12206
      oprot.writeI32(self.success)
12207
      oprot.writeFieldEnd()
12208
    oprot.writeFieldStop()
12209
    oprot.writeStructEnd()
12210
 
12211
  def validate(self):
12212
    return
12213
 
12214
 
12215
  def __repr__(self):
12216
    L = ['%s=%r' % (key, value)
12217
      for key, value in self.__dict__.iteritems()]
12218
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12219
 
12220
  def __eq__(self, other):
12221
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12222
 
12223
  def __ne__(self, other):
12224
    return not (self == other)
12225
 
12226
class getBestSellers_args:
12227
 
12228
  thrift_spec = (
12229
  )
12230
 
12231
  def read(self, iprot):
12232
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12233
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12234
      return
12235
    iprot.readStructBegin()
12236
    while True:
12237
      (fname, ftype, fid) = iprot.readFieldBegin()
12238
      if ftype == TType.STOP:
12239
        break
12240
      else:
12241
        iprot.skip(ftype)
12242
      iprot.readFieldEnd()
12243
    iprot.readStructEnd()
12244
 
12245
  def write(self, oprot):
12246
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12247
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12248
      return
12249
    oprot.writeStructBegin('getBestSellers_args')
12250
    oprot.writeFieldStop()
12251
    oprot.writeStructEnd()
12252
 
12253
  def validate(self):
12254
    return
12255
 
12256
 
12257
  def __repr__(self):
12258
    L = ['%s=%r' % (key, value)
12259
      for key, value in self.__dict__.iteritems()]
12260
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12261
 
12262
  def __eq__(self, other):
12263
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12264
 
12265
  def __ne__(self, other):
12266
    return not (self == other)
12267
 
12268
class getBestSellers_result:
12269
  """
12270
  Attributes:
12271
   - success
12272
   - isex
12273
  """
12274
 
12275
  thrift_spec = (
12276
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12277
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12278
  )
12279
 
12280
  def __init__(self, success=None, isex=None,):
12281
    self.success = success
12282
    self.isex = isex
12283
 
12284
  def read(self, iprot):
12285
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12286
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12287
      return
12288
    iprot.readStructBegin()
12289
    while True:
12290
      (fname, ftype, fid) = iprot.readFieldBegin()
12291
      if ftype == TType.STOP:
12292
        break
12293
      if fid == 0:
12294
        if ftype == TType.LIST:
12295
          self.success = []
13493 amit.gupta 12296
          (_etype116, _size113) = iprot.readListBegin()
12297
          for _i117 in xrange(_size113):
12298
            _elem118 = Item()
12299
            _elem118.read(iprot)
12300
            self.success.append(_elem118)
5944 mandeep.dh 12301
          iprot.readListEnd()
12302
        else:
12303
          iprot.skip(ftype)
12304
      elif fid == 1:
12305
        if ftype == TType.STRUCT:
12306
          self.isex = CatalogServiceException()
12307
          self.isex.read(iprot)
12308
        else:
12309
          iprot.skip(ftype)
12310
      else:
12311
        iprot.skip(ftype)
12312
      iprot.readFieldEnd()
12313
    iprot.readStructEnd()
12314
 
12315
  def write(self, oprot):
12316
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12317
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12318
      return
12319
    oprot.writeStructBegin('getBestSellers_result')
12320
    if self.success is not None:
12321
      oprot.writeFieldBegin('success', TType.LIST, 0)
12322
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 12323
      for iter119 in self.success:
12324
        iter119.write(oprot)
5944 mandeep.dh 12325
      oprot.writeListEnd()
12326
      oprot.writeFieldEnd()
12327
    if self.isex is not None:
12328
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
12329
      self.isex.write(oprot)
12330
      oprot.writeFieldEnd()
12331
    oprot.writeFieldStop()
12332
    oprot.writeStructEnd()
12333
 
12334
  def validate(self):
12335
    return
12336
 
12337
 
12338
  def __repr__(self):
12339
    L = ['%s=%r' % (key, value)
12340
      for key, value in self.__dict__.iteritems()]
12341
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12342
 
12343
  def __eq__(self, other):
12344
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12345
 
12346
  def __ne__(self, other):
12347
    return not (self == other)
12348
 
12349
class getBestSellersCatalogIds_args:
12350
  """
12351
  Attributes:
12352
   - beginIndex
12353
   - totalItems
12354
   - brand
12355
   - category
12356
  """
12357
 
12358
  thrift_spec = (
12359
    None, # 0
12360
    (1, TType.I64, 'beginIndex', None, None, ), # 1
12361
    (2, TType.I64, 'totalItems', None, None, ), # 2
12362
    (3, TType.STRING, 'brand', None, None, ), # 3
12363
    (4, TType.I64, 'category', None, None, ), # 4
12364
  )
12365
 
12366
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
12367
    self.beginIndex = beginIndex
12368
    self.totalItems = totalItems
12369
    self.brand = brand
12370
    self.category = category
12371
 
12372
  def read(self, iprot):
12373
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12374
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12375
      return
12376
    iprot.readStructBegin()
12377
    while True:
12378
      (fname, ftype, fid) = iprot.readFieldBegin()
12379
      if ftype == TType.STOP:
12380
        break
12381
      if fid == 1:
12382
        if ftype == TType.I64:
12383
          self.beginIndex = iprot.readI64();
12384
        else:
12385
          iprot.skip(ftype)
12386
      elif fid == 2:
12387
        if ftype == TType.I64:
12388
          self.totalItems = iprot.readI64();
12389
        else:
12390
          iprot.skip(ftype)
12391
      elif fid == 3:
12392
        if ftype == TType.STRING:
12393
          self.brand = iprot.readString();
12394
        else:
12395
          iprot.skip(ftype)
12396
      elif fid == 4:
12397
        if ftype == TType.I64:
12398
          self.category = iprot.readI64();
12399
        else:
12400
          iprot.skip(ftype)
12401
      else:
12402
        iprot.skip(ftype)
12403
      iprot.readFieldEnd()
12404
    iprot.readStructEnd()
12405
 
12406
  def write(self, oprot):
12407
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12408
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12409
      return
12410
    oprot.writeStructBegin('getBestSellersCatalogIds_args')
12411
    if self.beginIndex is not None:
12412
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
12413
      oprot.writeI64(self.beginIndex)
12414
      oprot.writeFieldEnd()
12415
    if self.totalItems is not None:
12416
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
12417
      oprot.writeI64(self.totalItems)
12418
      oprot.writeFieldEnd()
12419
    if self.brand is not None:
12420
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12421
      oprot.writeString(self.brand)
12422
      oprot.writeFieldEnd()
12423
    if self.category is not None:
12424
      oprot.writeFieldBegin('category', TType.I64, 4)
12425
      oprot.writeI64(self.category)
12426
      oprot.writeFieldEnd()
12427
    oprot.writeFieldStop()
12428
    oprot.writeStructEnd()
12429
 
12430
  def validate(self):
12431
    return
12432
 
12433
 
12434
  def __repr__(self):
12435
    L = ['%s=%r' % (key, value)
12436
      for key, value in self.__dict__.iteritems()]
12437
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12438
 
12439
  def __eq__(self, other):
12440
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12441
 
12442
  def __ne__(self, other):
12443
    return not (self == other)
12444
 
12445
class getBestSellersCatalogIds_result:
12446
  """
12447
  Attributes:
12448
   - success
12449
   - cex
12450
  """
12451
 
12452
  thrift_spec = (
12453
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
12454
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12455
  )
12456
 
12457
  def __init__(self, success=None, cex=None,):
12458
    self.success = success
12459
    self.cex = cex
12460
 
12461
  def read(self, iprot):
12462
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12463
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12464
      return
12465
    iprot.readStructBegin()
12466
    while True:
12467
      (fname, ftype, fid) = iprot.readFieldBegin()
12468
      if ftype == TType.STOP:
12469
        break
12470
      if fid == 0:
12471
        if ftype == TType.LIST:
12472
          self.success = []
13493 amit.gupta 12473
          (_etype123, _size120) = iprot.readListBegin()
12474
          for _i124 in xrange(_size120):
12475
            _elem125 = iprot.readI64();
12476
            self.success.append(_elem125)
5944 mandeep.dh 12477
          iprot.readListEnd()
12478
        else:
12479
          iprot.skip(ftype)
12480
      elif fid == 1:
12481
        if ftype == TType.STRUCT:
12482
          self.cex = CatalogServiceException()
12483
          self.cex.read(iprot)
12484
        else:
12485
          iprot.skip(ftype)
12486
      else:
12487
        iprot.skip(ftype)
12488
      iprot.readFieldEnd()
12489
    iprot.readStructEnd()
12490
 
12491
  def write(self, oprot):
12492
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12493
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12494
      return
12495
    oprot.writeStructBegin('getBestSellersCatalogIds_result')
12496
    if self.success is not None:
12497
      oprot.writeFieldBegin('success', TType.LIST, 0)
12498
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 12499
      for iter126 in self.success:
12500
        oprot.writeI64(iter126)
5944 mandeep.dh 12501
      oprot.writeListEnd()
12502
      oprot.writeFieldEnd()
12503
    if self.cex is not None:
12504
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12505
      self.cex.write(oprot)
12506
      oprot.writeFieldEnd()
12507
    oprot.writeFieldStop()
12508
    oprot.writeStructEnd()
12509
 
12510
  def validate(self):
12511
    return
12512
 
12513
 
12514
  def __repr__(self):
12515
    L = ['%s=%r' % (key, value)
12516
      for key, value in self.__dict__.iteritems()]
12517
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12518
 
12519
  def __eq__(self, other):
12520
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12521
 
12522
  def __ne__(self, other):
12523
    return not (self == other)
12524
 
12525
class getBestSellersCount_args:
12526
 
12527
  thrift_spec = (
12528
  )
12529
 
12530
  def read(self, iprot):
12531
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12532
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12533
      return
12534
    iprot.readStructBegin()
12535
    while True:
12536
      (fname, ftype, fid) = iprot.readFieldBegin()
12537
      if ftype == TType.STOP:
12538
        break
12539
      else:
12540
        iprot.skip(ftype)
12541
      iprot.readFieldEnd()
12542
    iprot.readStructEnd()
12543
 
12544
  def write(self, oprot):
12545
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12546
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12547
      return
12548
    oprot.writeStructBegin('getBestSellersCount_args')
12549
    oprot.writeFieldStop()
12550
    oprot.writeStructEnd()
12551
 
12552
  def validate(self):
12553
    return
12554
 
12555
 
12556
  def __repr__(self):
12557
    L = ['%s=%r' % (key, value)
12558
      for key, value in self.__dict__.iteritems()]
12559
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12560
 
12561
  def __eq__(self, other):
12562
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12563
 
12564
  def __ne__(self, other):
12565
    return not (self == other)
12566
 
12567
class getBestSellersCount_result:
12568
  """
12569
  Attributes:
12570
   - success
12571
   - cex
12572
  """
12573
 
12574
  thrift_spec = (
12575
    (0, TType.I64, 'success', None, None, ), # 0
12576
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12577
  )
12578
 
12579
  def __init__(self, success=None, cex=None,):
12580
    self.success = success
12581
    self.cex = cex
12582
 
12583
  def read(self, iprot):
12584
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12585
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12586
      return
12587
    iprot.readStructBegin()
12588
    while True:
12589
      (fname, ftype, fid) = iprot.readFieldBegin()
12590
      if ftype == TType.STOP:
12591
        break
12592
      if fid == 0:
12593
        if ftype == TType.I64:
12594
          self.success = iprot.readI64();
12595
        else:
12596
          iprot.skip(ftype)
12597
      elif fid == 1:
12598
        if ftype == TType.STRUCT:
12599
          self.cex = CatalogServiceException()
12600
          self.cex.read(iprot)
12601
        else:
12602
          iprot.skip(ftype)
12603
      else:
12604
        iprot.skip(ftype)
12605
      iprot.readFieldEnd()
12606
    iprot.readStructEnd()
12607
 
12608
  def write(self, oprot):
12609
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12610
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12611
      return
12612
    oprot.writeStructBegin('getBestSellersCount_result')
12613
    if self.success is not None:
12614
      oprot.writeFieldBegin('success', TType.I64, 0)
12615
      oprot.writeI64(self.success)
12616
      oprot.writeFieldEnd()
12617
    if self.cex is not None:
12618
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12619
      self.cex.write(oprot)
12620
      oprot.writeFieldEnd()
12621
    oprot.writeFieldStop()
12622
    oprot.writeStructEnd()
12623
 
12624
  def validate(self):
12625
    return
12626
 
12627
 
12628
  def __repr__(self):
12629
    L = ['%s=%r' % (key, value)
12630
      for key, value in self.__dict__.iteritems()]
12631
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12632
 
12633
  def __eq__(self, other):
12634
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12635
 
12636
  def __ne__(self, other):
12637
    return not (self == other)
12638
 
12639
class getBestDeals_args:
12640
 
12641
  thrift_spec = (
12642
  )
12643
 
12644
  def read(self, iprot):
12645
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12646
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12647
      return
12648
    iprot.readStructBegin()
12649
    while True:
12650
      (fname, ftype, fid) = iprot.readFieldBegin()
12651
      if ftype == TType.STOP:
12652
        break
12653
      else:
12654
        iprot.skip(ftype)
12655
      iprot.readFieldEnd()
12656
    iprot.readStructEnd()
12657
 
12658
  def write(self, oprot):
12659
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12660
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12661
      return
12662
    oprot.writeStructBegin('getBestDeals_args')
12663
    oprot.writeFieldStop()
12664
    oprot.writeStructEnd()
12665
 
12666
  def validate(self):
12667
    return
12668
 
12669
 
12670
  def __repr__(self):
12671
    L = ['%s=%r' % (key, value)
12672
      for key, value in self.__dict__.iteritems()]
12673
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12674
 
12675
  def __eq__(self, other):
12676
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12677
 
12678
  def __ne__(self, other):
12679
    return not (self == other)
12680
 
12681
class getBestDeals_result:
12682
  """
12683
  Attributes:
12684
   - success
12685
   - isex
12686
  """
12687
 
12688
  thrift_spec = (
12689
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12690
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12691
  )
12692
 
12693
  def __init__(self, success=None, isex=None,):
12694
    self.success = success
12695
    self.isex = isex
12696
 
12697
  def read(self, iprot):
12698
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12699
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12700
      return
12701
    iprot.readStructBegin()
12702
    while True:
12703
      (fname, ftype, fid) = iprot.readFieldBegin()
12704
      if ftype == TType.STOP:
12705
        break
12706
      if fid == 0:
12707
        if ftype == TType.LIST:
12708
          self.success = []
13493 amit.gupta 12709
          (_etype130, _size127) = iprot.readListBegin()
12710
          for _i131 in xrange(_size127):
12711
            _elem132 = Item()
12712
            _elem132.read(iprot)
12713
            self.success.append(_elem132)
5944 mandeep.dh 12714
          iprot.readListEnd()
12715
        else:
12716
          iprot.skip(ftype)
12717
      elif fid == 1:
12718
        if ftype == TType.STRUCT:
12719
          self.isex = CatalogServiceException()
12720
          self.isex.read(iprot)
12721
        else:
12722
          iprot.skip(ftype)
12723
      else:
12724
        iprot.skip(ftype)
12725
      iprot.readFieldEnd()
12726
    iprot.readStructEnd()
12727
 
12728
  def write(self, oprot):
12729
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12730
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12731
      return
12732
    oprot.writeStructBegin('getBestDeals_result')
12733
    if self.success is not None:
12734
      oprot.writeFieldBegin('success', TType.LIST, 0)
12735
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 12736
      for iter133 in self.success:
12737
        iter133.write(oprot)
5944 mandeep.dh 12738
      oprot.writeListEnd()
12739
      oprot.writeFieldEnd()
12740
    if self.isex is not None:
12741
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
12742
      self.isex.write(oprot)
12743
      oprot.writeFieldEnd()
12744
    oprot.writeFieldStop()
12745
    oprot.writeStructEnd()
12746
 
12747
  def validate(self):
12748
    return
12749
 
12750
 
12751
  def __repr__(self):
12752
    L = ['%s=%r' % (key, value)
12753
      for key, value in self.__dict__.iteritems()]
12754
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12755
 
12756
  def __eq__(self, other):
12757
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12758
 
12759
  def __ne__(self, other):
12760
    return not (self == other)
12761
 
12762
class getBestDealsCatalogIds_args:
12763
  """
12764
  Attributes:
12765
   - beginIndex
12766
   - totalItems
12767
   - brand
12768
   - category
12769
  """
12770
 
12771
  thrift_spec = (
12772
    None, # 0
12773
    (1, TType.I64, 'beginIndex', None, None, ), # 1
12774
    (2, TType.I64, 'totalItems', None, None, ), # 2
12775
    (3, TType.STRING, 'brand', None, None, ), # 3
12776
    (4, TType.I64, 'category', None, None, ), # 4
12777
  )
12778
 
12779
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
12780
    self.beginIndex = beginIndex
12781
    self.totalItems = totalItems
12782
    self.brand = brand
12783
    self.category = category
12784
 
12785
  def read(self, iprot):
12786
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12787
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12788
      return
12789
    iprot.readStructBegin()
12790
    while True:
12791
      (fname, ftype, fid) = iprot.readFieldBegin()
12792
      if ftype == TType.STOP:
12793
        break
12794
      if fid == 1:
12795
        if ftype == TType.I64:
12796
          self.beginIndex = iprot.readI64();
12797
        else:
12798
          iprot.skip(ftype)
12799
      elif fid == 2:
12800
        if ftype == TType.I64:
12801
          self.totalItems = iprot.readI64();
12802
        else:
12803
          iprot.skip(ftype)
12804
      elif fid == 3:
12805
        if ftype == TType.STRING:
12806
          self.brand = iprot.readString();
12807
        else:
12808
          iprot.skip(ftype)
12809
      elif fid == 4:
12810
        if ftype == TType.I64:
12811
          self.category = iprot.readI64();
12812
        else:
12813
          iprot.skip(ftype)
12814
      else:
12815
        iprot.skip(ftype)
12816
      iprot.readFieldEnd()
12817
    iprot.readStructEnd()
12818
 
12819
  def write(self, oprot):
12820
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12821
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12822
      return
12823
    oprot.writeStructBegin('getBestDealsCatalogIds_args')
12824
    if self.beginIndex is not None:
12825
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
12826
      oprot.writeI64(self.beginIndex)
12827
      oprot.writeFieldEnd()
12828
    if self.totalItems is not None:
12829
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
12830
      oprot.writeI64(self.totalItems)
12831
      oprot.writeFieldEnd()
12832
    if self.brand is not None:
12833
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12834
      oprot.writeString(self.brand)
12835
      oprot.writeFieldEnd()
12836
    if self.category is not None:
12837
      oprot.writeFieldBegin('category', TType.I64, 4)
12838
      oprot.writeI64(self.category)
12839
      oprot.writeFieldEnd()
12840
    oprot.writeFieldStop()
12841
    oprot.writeStructEnd()
12842
 
12843
  def validate(self):
12844
    return
12845
 
12846
 
12847
  def __repr__(self):
12848
    L = ['%s=%r' % (key, value)
12849
      for key, value in self.__dict__.iteritems()]
12850
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12851
 
12852
  def __eq__(self, other):
12853
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12854
 
12855
  def __ne__(self, other):
12856
    return not (self == other)
12857
 
12858
class getBestDealsCatalogIds_result:
12859
  """
12860
  Attributes:
12861
   - success
12862
   - cex
12863
  """
12864
 
12865
  thrift_spec = (
12866
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
12867
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12868
  )
12869
 
12870
  def __init__(self, success=None, cex=None,):
12871
    self.success = success
12872
    self.cex = cex
12873
 
12874
  def read(self, iprot):
12875
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12876
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12877
      return
12878
    iprot.readStructBegin()
12879
    while True:
12880
      (fname, ftype, fid) = iprot.readFieldBegin()
12881
      if ftype == TType.STOP:
12882
        break
12883
      if fid == 0:
12884
        if ftype == TType.LIST:
12885
          self.success = []
13493 amit.gupta 12886
          (_etype137, _size134) = iprot.readListBegin()
12887
          for _i138 in xrange(_size134):
12888
            _elem139 = iprot.readI64();
12889
            self.success.append(_elem139)
5944 mandeep.dh 12890
          iprot.readListEnd()
12891
        else:
12892
          iprot.skip(ftype)
12893
      elif fid == 1:
12894
        if ftype == TType.STRUCT:
12895
          self.cex = CatalogServiceException()
12896
          self.cex.read(iprot)
12897
        else:
12898
          iprot.skip(ftype)
12899
      else:
12900
        iprot.skip(ftype)
12901
      iprot.readFieldEnd()
12902
    iprot.readStructEnd()
12903
 
12904
  def write(self, oprot):
12905
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12906
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12907
      return
12908
    oprot.writeStructBegin('getBestDealsCatalogIds_result')
12909
    if self.success is not None:
12910
      oprot.writeFieldBegin('success', TType.LIST, 0)
12911
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 12912
      for iter140 in self.success:
12913
        oprot.writeI64(iter140)
5944 mandeep.dh 12914
      oprot.writeListEnd()
12915
      oprot.writeFieldEnd()
12916
    if self.cex is not None:
12917
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12918
      self.cex.write(oprot)
12919
      oprot.writeFieldEnd()
12920
    oprot.writeFieldStop()
12921
    oprot.writeStructEnd()
12922
 
12923
  def validate(self):
12924
    return
12925
 
12926
 
12927
  def __repr__(self):
12928
    L = ['%s=%r' % (key, value)
12929
      for key, value in self.__dict__.iteritems()]
12930
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12931
 
12932
  def __eq__(self, other):
12933
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12934
 
12935
  def __ne__(self, other):
12936
    return not (self == other)
12937
 
12938
class getBestDealsCount_args:
12939
 
12940
  thrift_spec = (
12941
  )
12942
 
12943
  def read(self, iprot):
12944
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12945
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12946
      return
12947
    iprot.readStructBegin()
12948
    while True:
12949
      (fname, ftype, fid) = iprot.readFieldBegin()
12950
      if ftype == TType.STOP:
12951
        break
12952
      else:
12953
        iprot.skip(ftype)
12954
      iprot.readFieldEnd()
12955
    iprot.readStructEnd()
12956
 
12957
  def write(self, oprot):
12958
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12959
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12960
      return
12961
    oprot.writeStructBegin('getBestDealsCount_args')
12962
    oprot.writeFieldStop()
12963
    oprot.writeStructEnd()
12964
 
12965
  def validate(self):
12966
    return
12967
 
12968
 
12969
  def __repr__(self):
12970
    L = ['%s=%r' % (key, value)
12971
      for key, value in self.__dict__.iteritems()]
12972
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12973
 
12974
  def __eq__(self, other):
12975
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12976
 
12977
  def __ne__(self, other):
12978
    return not (self == other)
12979
 
12980
class getBestDealsCount_result:
12981
  """
12982
  Attributes:
12983
   - success
12984
   - cex
12985
  """
12986
 
12987
  thrift_spec = (
12988
    (0, TType.I64, 'success', None, None, ), # 0
12989
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12990
  )
12991
 
12992
  def __init__(self, success=None, cex=None,):
12993
    self.success = success
12994
    self.cex = cex
12995
 
12996
  def read(self, iprot):
12997
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12998
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12999
      return
13000
    iprot.readStructBegin()
13001
    while True:
13002
      (fname, ftype, fid) = iprot.readFieldBegin()
13003
      if ftype == TType.STOP:
13004
        break
13005
      if fid == 0:
13006
        if ftype == TType.I64:
13007
          self.success = iprot.readI64();
13008
        else:
13009
          iprot.skip(ftype)
13010
      elif fid == 1:
13011
        if ftype == TType.STRUCT:
13012
          self.cex = CatalogServiceException()
13013
          self.cex.read(iprot)
13014
        else:
13015
          iprot.skip(ftype)
13016
      else:
13017
        iprot.skip(ftype)
13018
      iprot.readFieldEnd()
13019
    iprot.readStructEnd()
13020
 
13021
  def write(self, oprot):
13022
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13023
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13024
      return
13025
    oprot.writeStructBegin('getBestDealsCount_result')
13026
    if self.success is not None:
13027
      oprot.writeFieldBegin('success', TType.I64, 0)
13028
      oprot.writeI64(self.success)
13029
      oprot.writeFieldEnd()
13030
    if self.cex is not None:
13031
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13032
      self.cex.write(oprot)
13033
      oprot.writeFieldEnd()
13034
    oprot.writeFieldStop()
13035
    oprot.writeStructEnd()
13036
 
13037
  def validate(self):
13038
    return
13039
 
13040
 
13041
  def __repr__(self):
13042
    L = ['%s=%r' % (key, value)
13043
      for key, value in self.__dict__.iteritems()]
13044
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13045
 
13046
  def __eq__(self, other):
13047
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13048
 
13049
  def __ne__(self, other):
13050
    return not (self == other)
13051
 
13052
class getComingSoon_args:
13053
 
13054
  thrift_spec = (
13055
  )
13056
 
13057
  def read(self, iprot):
13058
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13059
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13060
      return
13061
    iprot.readStructBegin()
13062
    while True:
13063
      (fname, ftype, fid) = iprot.readFieldBegin()
13064
      if ftype == TType.STOP:
13065
        break
13066
      else:
13067
        iprot.skip(ftype)
13068
      iprot.readFieldEnd()
13069
    iprot.readStructEnd()
13070
 
13071
  def write(self, oprot):
13072
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13073
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13074
      return
13075
    oprot.writeStructBegin('getComingSoon_args')
13076
    oprot.writeFieldStop()
13077
    oprot.writeStructEnd()
13078
 
13079
  def validate(self):
13080
    return
13081
 
13082
 
13083
  def __repr__(self):
13084
    L = ['%s=%r' % (key, value)
13085
      for key, value in self.__dict__.iteritems()]
13086
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13087
 
13088
  def __eq__(self, other):
13089
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13090
 
13091
  def __ne__(self, other):
13092
    return not (self == other)
13093
 
13094
class getComingSoon_result:
13095
  """
13096
  Attributes:
13097
   - success
13098
   - isex
13099
  """
13100
 
13101
  thrift_spec = (
13102
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13103
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13104
  )
13105
 
13106
  def __init__(self, success=None, isex=None,):
13107
    self.success = success
13108
    self.isex = isex
13109
 
13110
  def read(self, iprot):
13111
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13112
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13113
      return
13114
    iprot.readStructBegin()
13115
    while True:
13116
      (fname, ftype, fid) = iprot.readFieldBegin()
13117
      if ftype == TType.STOP:
13118
        break
13119
      if fid == 0:
13120
        if ftype == TType.LIST:
13121
          self.success = []
13493 amit.gupta 13122
          (_etype144, _size141) = iprot.readListBegin()
13123
          for _i145 in xrange(_size141):
13124
            _elem146 = Item()
13125
            _elem146.read(iprot)
13126
            self.success.append(_elem146)
5944 mandeep.dh 13127
          iprot.readListEnd()
13128
        else:
13129
          iprot.skip(ftype)
13130
      elif fid == 1:
13131
        if ftype == TType.STRUCT:
13132
          self.isex = CatalogServiceException()
13133
          self.isex.read(iprot)
13134
        else:
13135
          iprot.skip(ftype)
13136
      else:
13137
        iprot.skip(ftype)
13138
      iprot.readFieldEnd()
13139
    iprot.readStructEnd()
13140
 
13141
  def write(self, oprot):
13142
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13143
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13144
      return
13145
    oprot.writeStructBegin('getComingSoon_result')
13146
    if self.success is not None:
13147
      oprot.writeFieldBegin('success', TType.LIST, 0)
13148
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 13149
      for iter147 in self.success:
13150
        iter147.write(oprot)
5944 mandeep.dh 13151
      oprot.writeListEnd()
13152
      oprot.writeFieldEnd()
13153
    if self.isex is not None:
13154
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13155
      self.isex.write(oprot)
13156
      oprot.writeFieldEnd()
13157
    oprot.writeFieldStop()
13158
    oprot.writeStructEnd()
13159
 
13160
  def validate(self):
13161
    return
13162
 
13163
 
13164
  def __repr__(self):
13165
    L = ['%s=%r' % (key, value)
13166
      for key, value in self.__dict__.iteritems()]
13167
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13168
 
13169
  def __eq__(self, other):
13170
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13171
 
13172
  def __ne__(self, other):
13173
    return not (self == other)
13174
 
13175
class getComingSoonCatalogIds_args:
13176
  """
13177
  Attributes:
13178
   - beginIndex
13179
   - totalItems
13180
   - brand
13181
   - category
13182
  """
13183
 
13184
  thrift_spec = (
13185
    None, # 0
13186
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13187
    (2, TType.I64, 'totalItems', None, None, ), # 2
13188
    (3, TType.STRING, 'brand', None, None, ), # 3
13189
    (4, TType.I64, 'category', None, None, ), # 4
13190
  )
13191
 
13192
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
13193
    self.beginIndex = beginIndex
13194
    self.totalItems = totalItems
13195
    self.brand = brand
13196
    self.category = category
13197
 
13198
  def read(self, iprot):
13199
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13200
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13201
      return
13202
    iprot.readStructBegin()
13203
    while True:
13204
      (fname, ftype, fid) = iprot.readFieldBegin()
13205
      if ftype == TType.STOP:
13206
        break
13207
      if fid == 1:
13208
        if ftype == TType.I64:
13209
          self.beginIndex = iprot.readI64();
13210
        else:
13211
          iprot.skip(ftype)
13212
      elif fid == 2:
13213
        if ftype == TType.I64:
13214
          self.totalItems = iprot.readI64();
13215
        else:
13216
          iprot.skip(ftype)
13217
      elif fid == 3:
13218
        if ftype == TType.STRING:
13219
          self.brand = iprot.readString();
13220
        else:
13221
          iprot.skip(ftype)
13222
      elif fid == 4:
13223
        if ftype == TType.I64:
13224
          self.category = iprot.readI64();
13225
        else:
13226
          iprot.skip(ftype)
13227
      else:
13228
        iprot.skip(ftype)
13229
      iprot.readFieldEnd()
13230
    iprot.readStructEnd()
13231
 
13232
  def write(self, oprot):
13233
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13234
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13235
      return
13236
    oprot.writeStructBegin('getComingSoonCatalogIds_args')
13237
    if self.beginIndex is not None:
13238
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13239
      oprot.writeI64(self.beginIndex)
13240
      oprot.writeFieldEnd()
13241
    if self.totalItems is not None:
13242
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13243
      oprot.writeI64(self.totalItems)
13244
      oprot.writeFieldEnd()
13245
    if self.brand is not None:
13246
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13247
      oprot.writeString(self.brand)
13248
      oprot.writeFieldEnd()
13249
    if self.category is not None:
13250
      oprot.writeFieldBegin('category', TType.I64, 4)
13251
      oprot.writeI64(self.category)
13252
      oprot.writeFieldEnd()
13253
    oprot.writeFieldStop()
13254
    oprot.writeStructEnd()
13255
 
13256
  def validate(self):
13257
    return
13258
 
13259
 
13260
  def __repr__(self):
13261
    L = ['%s=%r' % (key, value)
13262
      for key, value in self.__dict__.iteritems()]
13263
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13264
 
13265
  def __eq__(self, other):
13266
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13267
 
13268
  def __ne__(self, other):
13269
    return not (self == other)
13270
 
13271
class getComingSoonCatalogIds_result:
13272
  """
13273
  Attributes:
13274
   - success
13275
   - cex
13276
  """
13277
 
13278
  thrift_spec = (
13279
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
13280
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13281
  )
13282
 
13283
  def __init__(self, success=None, cex=None,):
13284
    self.success = success
13285
    self.cex = cex
13286
 
13287
  def read(self, iprot):
13288
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13289
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13290
      return
13291
    iprot.readStructBegin()
13292
    while True:
13293
      (fname, ftype, fid) = iprot.readFieldBegin()
13294
      if ftype == TType.STOP:
13295
        break
13296
      if fid == 0:
13297
        if ftype == TType.LIST:
13298
          self.success = []
13493 amit.gupta 13299
          (_etype151, _size148) = iprot.readListBegin()
13300
          for _i152 in xrange(_size148):
13301
            _elem153 = iprot.readI64();
13302
            self.success.append(_elem153)
5944 mandeep.dh 13303
          iprot.readListEnd()
13304
        else:
13305
          iprot.skip(ftype)
13306
      elif fid == 1:
13307
        if ftype == TType.STRUCT:
13308
          self.cex = CatalogServiceException()
13309
          self.cex.read(iprot)
13310
        else:
13311
          iprot.skip(ftype)
13312
      else:
13313
        iprot.skip(ftype)
13314
      iprot.readFieldEnd()
13315
    iprot.readStructEnd()
13316
 
13317
  def write(self, oprot):
13318
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13319
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13320
      return
13321
    oprot.writeStructBegin('getComingSoonCatalogIds_result')
13322
    if self.success is not None:
13323
      oprot.writeFieldBegin('success', TType.LIST, 0)
13324
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 13325
      for iter154 in self.success:
13326
        oprot.writeI64(iter154)
5944 mandeep.dh 13327
      oprot.writeListEnd()
13328
      oprot.writeFieldEnd()
13329
    if self.cex is not None:
13330
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13331
      self.cex.write(oprot)
13332
      oprot.writeFieldEnd()
13333
    oprot.writeFieldStop()
13334
    oprot.writeStructEnd()
13335
 
13336
  def validate(self):
13337
    return
13338
 
13339
 
13340
  def __repr__(self):
13341
    L = ['%s=%r' % (key, value)
13342
      for key, value in self.__dict__.iteritems()]
13343
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13344
 
13345
  def __eq__(self, other):
13346
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13347
 
13348
  def __ne__(self, other):
13349
    return not (self == other)
13350
 
13351
class getComingSoonCount_args:
13352
 
13353
  thrift_spec = (
13354
  )
13355
 
13356
  def read(self, iprot):
13357
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13358
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13359
      return
13360
    iprot.readStructBegin()
13361
    while True:
13362
      (fname, ftype, fid) = iprot.readFieldBegin()
13363
      if ftype == TType.STOP:
13364
        break
13365
      else:
13366
        iprot.skip(ftype)
13367
      iprot.readFieldEnd()
13368
    iprot.readStructEnd()
13369
 
13370
  def write(self, oprot):
13371
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13372
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13373
      return
13374
    oprot.writeStructBegin('getComingSoonCount_args')
13375
    oprot.writeFieldStop()
13376
    oprot.writeStructEnd()
13377
 
13378
  def validate(self):
13379
    return
13380
 
13381
 
13382
  def __repr__(self):
13383
    L = ['%s=%r' % (key, value)
13384
      for key, value in self.__dict__.iteritems()]
13385
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13386
 
13387
  def __eq__(self, other):
13388
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13389
 
13390
  def __ne__(self, other):
13391
    return not (self == other)
13392
 
13393
class getComingSoonCount_result:
13394
  """
13395
  Attributes:
13396
   - success
13397
   - cex
13398
  """
13399
 
13400
  thrift_spec = (
13401
    (0, TType.I64, 'success', None, None, ), # 0
13402
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13403
  )
13404
 
13405
  def __init__(self, success=None, cex=None,):
13406
    self.success = success
13407
    self.cex = cex
13408
 
13409
  def read(self, iprot):
13410
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13411
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13412
      return
13413
    iprot.readStructBegin()
13414
    while True:
13415
      (fname, ftype, fid) = iprot.readFieldBegin()
13416
      if ftype == TType.STOP:
13417
        break
13418
      if fid == 0:
13419
        if ftype == TType.I64:
13420
          self.success = iprot.readI64();
13421
        else:
13422
          iprot.skip(ftype)
13423
      elif fid == 1:
13424
        if ftype == TType.STRUCT:
13425
          self.cex = CatalogServiceException()
13426
          self.cex.read(iprot)
13427
        else:
13428
          iprot.skip(ftype)
13429
      else:
13430
        iprot.skip(ftype)
13431
      iprot.readFieldEnd()
13432
    iprot.readStructEnd()
13433
 
13434
  def write(self, oprot):
13435
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13436
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13437
      return
13438
    oprot.writeStructBegin('getComingSoonCount_result')
13439
    if self.success is not None:
13440
      oprot.writeFieldBegin('success', TType.I64, 0)
13441
      oprot.writeI64(self.success)
13442
      oprot.writeFieldEnd()
13443
    if self.cex is not None:
13444
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13445
      self.cex.write(oprot)
13446
      oprot.writeFieldEnd()
13447
    oprot.writeFieldStop()
13448
    oprot.writeStructEnd()
13449
 
13450
  def validate(self):
13451
    return
13452
 
13453
 
13454
  def __repr__(self):
13455
    L = ['%s=%r' % (key, value)
13456
      for key, value in self.__dict__.iteritems()]
13457
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13458
 
13459
  def __eq__(self, other):
13460
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13461
 
13462
  def __ne__(self, other):
13463
    return not (self == other)
13464
 
13465
class getLatestArrivals_args:
13466
 
13467
  thrift_spec = (
13468
  )
13469
 
13470
  def read(self, iprot):
13471
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13472
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13473
      return
13474
    iprot.readStructBegin()
13475
    while True:
13476
      (fname, ftype, fid) = iprot.readFieldBegin()
13477
      if ftype == TType.STOP:
13478
        break
13479
      else:
13480
        iprot.skip(ftype)
13481
      iprot.readFieldEnd()
13482
    iprot.readStructEnd()
13483
 
13484
  def write(self, oprot):
13485
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13486
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13487
      return
13488
    oprot.writeStructBegin('getLatestArrivals_args')
13489
    oprot.writeFieldStop()
13490
    oprot.writeStructEnd()
13491
 
13492
  def validate(self):
13493
    return
13494
 
13495
 
13496
  def __repr__(self):
13497
    L = ['%s=%r' % (key, value)
13498
      for key, value in self.__dict__.iteritems()]
13499
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13500
 
13501
  def __eq__(self, other):
13502
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13503
 
13504
  def __ne__(self, other):
13505
    return not (self == other)
13506
 
13507
class getLatestArrivals_result:
13508
  """
13509
  Attributes:
13510
   - success
13511
   - isex
13512
  """
13513
 
13514
  thrift_spec = (
13515
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13516
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13517
  )
13518
 
13519
  def __init__(self, success=None, isex=None,):
13520
    self.success = success
13521
    self.isex = isex
13522
 
13523
  def read(self, iprot):
13524
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13525
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13526
      return
13527
    iprot.readStructBegin()
13528
    while True:
13529
      (fname, ftype, fid) = iprot.readFieldBegin()
13530
      if ftype == TType.STOP:
13531
        break
13532
      if fid == 0:
13533
        if ftype == TType.LIST:
13534
          self.success = []
13493 amit.gupta 13535
          (_etype158, _size155) = iprot.readListBegin()
13536
          for _i159 in xrange(_size155):
13537
            _elem160 = Item()
13538
            _elem160.read(iprot)
13539
            self.success.append(_elem160)
5944 mandeep.dh 13540
          iprot.readListEnd()
13541
        else:
13542
          iprot.skip(ftype)
13543
      elif fid == 1:
13544
        if ftype == TType.STRUCT:
13545
          self.isex = CatalogServiceException()
13546
          self.isex.read(iprot)
13547
        else:
13548
          iprot.skip(ftype)
13549
      else:
13550
        iprot.skip(ftype)
13551
      iprot.readFieldEnd()
13552
    iprot.readStructEnd()
13553
 
13554
  def write(self, oprot):
13555
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13556
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13557
      return
13558
    oprot.writeStructBegin('getLatestArrivals_result')
13559
    if self.success is not None:
13560
      oprot.writeFieldBegin('success', TType.LIST, 0)
13561
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 13562
      for iter161 in self.success:
13563
        iter161.write(oprot)
5944 mandeep.dh 13564
      oprot.writeListEnd()
13565
      oprot.writeFieldEnd()
13566
    if self.isex is not None:
13567
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13568
      self.isex.write(oprot)
13569
      oprot.writeFieldEnd()
13570
    oprot.writeFieldStop()
13571
    oprot.writeStructEnd()
13572
 
13573
  def validate(self):
13574
    return
13575
 
13576
 
13577
  def __repr__(self):
13578
    L = ['%s=%r' % (key, value)
13579
      for key, value in self.__dict__.iteritems()]
13580
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13581
 
13582
  def __eq__(self, other):
13583
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13584
 
13585
  def __ne__(self, other):
13586
    return not (self == other)
13587
 
13588
class getLatestArrivalsCatalogIds_args:
13589
  """
13590
  Attributes:
13591
   - beginIndex
13592
   - totalItems
13593
   - brand
13594
   - categories
13595
  """
13596
 
13597
  thrift_spec = (
13598
    None, # 0
13599
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13600
    (2, TType.I64, 'totalItems', None, None, ), # 2
13601
    (3, TType.STRING, 'brand', None, None, ), # 3
13602
    (4, TType.LIST, 'categories', (TType.I64,None), None, ), # 4
13603
  )
13604
 
13605
  def __init__(self, beginIndex=None, totalItems=None, brand=None, categories=None,):
13606
    self.beginIndex = beginIndex
13607
    self.totalItems = totalItems
13608
    self.brand = brand
13609
    self.categories = categories
13610
 
13611
  def read(self, iprot):
13612
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13613
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13614
      return
13615
    iprot.readStructBegin()
13616
    while True:
13617
      (fname, ftype, fid) = iprot.readFieldBegin()
13618
      if ftype == TType.STOP:
13619
        break
13620
      if fid == 1:
13621
        if ftype == TType.I64:
13622
          self.beginIndex = iprot.readI64();
13623
        else:
13624
          iprot.skip(ftype)
13625
      elif fid == 2:
13626
        if ftype == TType.I64:
13627
          self.totalItems = iprot.readI64();
13628
        else:
13629
          iprot.skip(ftype)
13630
      elif fid == 3:
13631
        if ftype == TType.STRING:
13632
          self.brand = iprot.readString();
13633
        else:
13634
          iprot.skip(ftype)
13635
      elif fid == 4:
13636
        if ftype == TType.LIST:
13637
          self.categories = []
13493 amit.gupta 13638
          (_etype165, _size162) = iprot.readListBegin()
13639
          for _i166 in xrange(_size162):
13640
            _elem167 = iprot.readI64();
13641
            self.categories.append(_elem167)
5944 mandeep.dh 13642
          iprot.readListEnd()
13643
        else:
13644
          iprot.skip(ftype)
13645
      else:
13646
        iprot.skip(ftype)
13647
      iprot.readFieldEnd()
13648
    iprot.readStructEnd()
13649
 
13650
  def write(self, oprot):
13651
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13652
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13653
      return
13654
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_args')
13655
    if self.beginIndex is not None:
13656
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13657
      oprot.writeI64(self.beginIndex)
13658
      oprot.writeFieldEnd()
13659
    if self.totalItems is not None:
13660
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13661
      oprot.writeI64(self.totalItems)
13662
      oprot.writeFieldEnd()
13663
    if self.brand is not None:
13664
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13665
      oprot.writeString(self.brand)
13666
      oprot.writeFieldEnd()
13667
    if self.categories is not None:
13668
      oprot.writeFieldBegin('categories', TType.LIST, 4)
13669
      oprot.writeListBegin(TType.I64, len(self.categories))
13493 amit.gupta 13670
      for iter168 in self.categories:
13671
        oprot.writeI64(iter168)
5944 mandeep.dh 13672
      oprot.writeListEnd()
13673
      oprot.writeFieldEnd()
13674
    oprot.writeFieldStop()
13675
    oprot.writeStructEnd()
13676
 
13677
  def validate(self):
13678
    return
13679
 
13680
 
13681
  def __repr__(self):
13682
    L = ['%s=%r' % (key, value)
13683
      for key, value in self.__dict__.iteritems()]
13684
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13685
 
13686
  def __eq__(self, other):
13687
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13688
 
13689
  def __ne__(self, other):
13690
    return not (self == other)
13691
 
13692
class getLatestArrivalsCatalogIds_result:
13693
  """
13694
  Attributes:
13695
   - success
13696
   - cex
13697
  """
13698
 
13699
  thrift_spec = (
13700
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
13701
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13702
  )
13703
 
13704
  def __init__(self, success=None, cex=None,):
13705
    self.success = success
13706
    self.cex = cex
13707
 
13708
  def read(self, iprot):
13709
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13710
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13711
      return
13712
    iprot.readStructBegin()
13713
    while True:
13714
      (fname, ftype, fid) = iprot.readFieldBegin()
13715
      if ftype == TType.STOP:
13716
        break
13717
      if fid == 0:
13718
        if ftype == TType.LIST:
13719
          self.success = []
13493 amit.gupta 13720
          (_etype172, _size169) = iprot.readListBegin()
13721
          for _i173 in xrange(_size169):
13722
            _elem174 = iprot.readI64();
13723
            self.success.append(_elem174)
5944 mandeep.dh 13724
          iprot.readListEnd()
13725
        else:
13726
          iprot.skip(ftype)
13727
      elif fid == 1:
13728
        if ftype == TType.STRUCT:
13729
          self.cex = CatalogServiceException()
13730
          self.cex.read(iprot)
13731
        else:
13732
          iprot.skip(ftype)
13733
      else:
13734
        iprot.skip(ftype)
13735
      iprot.readFieldEnd()
13736
    iprot.readStructEnd()
13737
 
13738
  def write(self, oprot):
13739
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13740
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13741
      return
13742
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_result')
13743
    if self.success is not None:
13744
      oprot.writeFieldBegin('success', TType.LIST, 0)
13745
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 13746
      for iter175 in self.success:
13747
        oprot.writeI64(iter175)
5944 mandeep.dh 13748
      oprot.writeListEnd()
13749
      oprot.writeFieldEnd()
13750
    if self.cex is not None:
13751
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13752
      self.cex.write(oprot)
13753
      oprot.writeFieldEnd()
13754
    oprot.writeFieldStop()
13755
    oprot.writeStructEnd()
13756
 
13757
  def validate(self):
13758
    return
13759
 
13760
 
13761
  def __repr__(self):
13762
    L = ['%s=%r' % (key, value)
13763
      for key, value in self.__dict__.iteritems()]
13764
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13765
 
13766
  def __eq__(self, other):
13767
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13768
 
13769
  def __ne__(self, other):
13770
    return not (self == other)
13771
 
13772
class getLatestArrivalsCount_args:
13773
 
13774
  thrift_spec = (
13775
  )
13776
 
13777
  def read(self, iprot):
13778
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13779
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13780
      return
13781
    iprot.readStructBegin()
13782
    while True:
13783
      (fname, ftype, fid) = iprot.readFieldBegin()
13784
      if ftype == TType.STOP:
13785
        break
13786
      else:
13787
        iprot.skip(ftype)
13788
      iprot.readFieldEnd()
13789
    iprot.readStructEnd()
13790
 
13791
  def write(self, oprot):
13792
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13793
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13794
      return
13795
    oprot.writeStructBegin('getLatestArrivalsCount_args')
13796
    oprot.writeFieldStop()
13797
    oprot.writeStructEnd()
13798
 
13799
  def validate(self):
13800
    return
13801
 
13802
 
13803
  def __repr__(self):
13804
    L = ['%s=%r' % (key, value)
13805
      for key, value in self.__dict__.iteritems()]
13806
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13807
 
13808
  def __eq__(self, other):
13809
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13810
 
13811
  def __ne__(self, other):
13812
    return not (self == other)
13813
 
13814
class getLatestArrivalsCount_result:
13815
  """
13816
  Attributes:
13817
   - success
13818
   - cex
13819
  """
13820
 
13821
  thrift_spec = (
13822
    (0, TType.I64, 'success', None, None, ), # 0
13823
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13824
  )
13825
 
13826
  def __init__(self, success=None, cex=None,):
13827
    self.success = success
13828
    self.cex = cex
13829
 
13830
  def read(self, iprot):
13831
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13832
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13833
      return
13834
    iprot.readStructBegin()
13835
    while True:
13836
      (fname, ftype, fid) = iprot.readFieldBegin()
13837
      if ftype == TType.STOP:
13838
        break
13839
      if fid == 0:
13840
        if ftype == TType.I64:
13841
          self.success = iprot.readI64();
13842
        else:
13843
          iprot.skip(ftype)
13844
      elif fid == 1:
13845
        if ftype == TType.STRUCT:
13846
          self.cex = CatalogServiceException()
13847
          self.cex.read(iprot)
13848
        else:
13849
          iprot.skip(ftype)
13850
      else:
13851
        iprot.skip(ftype)
13852
      iprot.readFieldEnd()
13853
    iprot.readStructEnd()
13854
 
13855
  def write(self, oprot):
13856
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13857
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13858
      return
13859
    oprot.writeStructBegin('getLatestArrivalsCount_result')
13860
    if self.success is not None:
13861
      oprot.writeFieldBegin('success', TType.I64, 0)
13862
      oprot.writeI64(self.success)
13863
      oprot.writeFieldEnd()
13864
    if self.cex is not None:
13865
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13866
      self.cex.write(oprot)
13867
      oprot.writeFieldEnd()
13868
    oprot.writeFieldStop()
13869
    oprot.writeStructEnd()
13870
 
13871
  def validate(self):
13872
    return
13873
 
13874
 
13875
  def __repr__(self):
13876
    L = ['%s=%r' % (key, value)
13877
      for key, value in self.__dict__.iteritems()]
13878
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13879
 
13880
  def __eq__(self, other):
13881
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13882
 
13883
  def __ne__(self, other):
13884
    return not (self == other)
13885
 
13886
class generateNewEntityID_args:
13887
 
13888
  thrift_spec = (
13889
  )
13890
 
13891
  def read(self, iprot):
13892
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13893
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13894
      return
13895
    iprot.readStructBegin()
13896
    while True:
13897
      (fname, ftype, fid) = iprot.readFieldBegin()
13898
      if ftype == TType.STOP:
13899
        break
13900
      else:
13901
        iprot.skip(ftype)
13902
      iprot.readFieldEnd()
13903
    iprot.readStructEnd()
13904
 
13905
  def write(self, oprot):
13906
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13907
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13908
      return
13909
    oprot.writeStructBegin('generateNewEntityID_args')
13910
    oprot.writeFieldStop()
13911
    oprot.writeStructEnd()
13912
 
13913
  def validate(self):
13914
    return
13915
 
13916
 
13917
  def __repr__(self):
13918
    L = ['%s=%r' % (key, value)
13919
      for key, value in self.__dict__.iteritems()]
13920
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13921
 
13922
  def __eq__(self, other):
13923
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13924
 
13925
  def __ne__(self, other):
13926
    return not (self == other)
13927
 
13928
class generateNewEntityID_result:
13929
  """
13930
  Attributes:
13931
   - success
13932
  """
13933
 
13934
  thrift_spec = (
13935
    (0, TType.I64, 'success', None, None, ), # 0
13936
  )
13937
 
13938
  def __init__(self, success=None,):
13939
    self.success = success
13940
 
13941
  def read(self, iprot):
13942
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13943
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13944
      return
13945
    iprot.readStructBegin()
13946
    while True:
13947
      (fname, ftype, fid) = iprot.readFieldBegin()
13948
      if ftype == TType.STOP:
13949
        break
13950
      if fid == 0:
13951
        if ftype == TType.I64:
13952
          self.success = iprot.readI64();
13953
        else:
13954
          iprot.skip(ftype)
13955
      else:
13956
        iprot.skip(ftype)
13957
      iprot.readFieldEnd()
13958
    iprot.readStructEnd()
13959
 
13960
  def write(self, oprot):
13961
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13962
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13963
      return
13964
    oprot.writeStructBegin('generateNewEntityID_result')
13965
    if self.success is not None:
13966
      oprot.writeFieldBegin('success', TType.I64, 0)
13967
      oprot.writeI64(self.success)
13968
      oprot.writeFieldEnd()
13969
    oprot.writeFieldStop()
13970
    oprot.writeStructEnd()
13971
 
13972
  def validate(self):
13973
    return
13974
 
13975
 
13976
  def __repr__(self):
13977
    L = ['%s=%r' % (key, value)
13978
      for key, value in self.__dict__.iteritems()]
13979
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13980
 
13981
  def __eq__(self, other):
13982
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13983
 
13984
  def __ne__(self, other):
13985
    return not (self == other)
13986
 
13987
class addCategory_args:
13988
  """
13989
  Attributes:
13990
   - category
13991
  """
13992
 
13993
  thrift_spec = (
13994
    None, # 0
13995
    (1, TType.STRUCT, 'category', (Category, Category.thrift_spec), None, ), # 1
13996
  )
13997
 
13998
  def __init__(self, category=None,):
13999
    self.category = category
14000
 
14001
  def read(self, iprot):
14002
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14003
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14004
      return
14005
    iprot.readStructBegin()
14006
    while True:
14007
      (fname, ftype, fid) = iprot.readFieldBegin()
14008
      if ftype == TType.STOP:
14009
        break
14010
      if fid == 1:
14011
        if ftype == TType.STRUCT:
14012
          self.category = Category()
14013
          self.category.read(iprot)
14014
        else:
14015
          iprot.skip(ftype)
14016
      else:
14017
        iprot.skip(ftype)
14018
      iprot.readFieldEnd()
14019
    iprot.readStructEnd()
14020
 
14021
  def write(self, oprot):
14022
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14023
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14024
      return
14025
    oprot.writeStructBegin('addCategory_args')
14026
    if self.category is not None:
14027
      oprot.writeFieldBegin('category', TType.STRUCT, 1)
14028
      self.category.write(oprot)
14029
      oprot.writeFieldEnd()
14030
    oprot.writeFieldStop()
14031
    oprot.writeStructEnd()
14032
 
14033
  def validate(self):
14034
    return
14035
 
14036
 
14037
  def __repr__(self):
14038
    L = ['%s=%r' % (key, value)
14039
      for key, value in self.__dict__.iteritems()]
14040
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14041
 
14042
  def __eq__(self, other):
14043
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14044
 
14045
  def __ne__(self, other):
14046
    return not (self == other)
14047
 
14048
class addCategory_result:
14049
  """
14050
  Attributes:
14051
   - success
14052
  """
14053
 
14054
  thrift_spec = (
14055
    (0, TType.BOOL, 'success', None, None, ), # 0
14056
  )
14057
 
14058
  def __init__(self, success=None,):
14059
    self.success = success
14060
 
14061
  def read(self, iprot):
14062
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14063
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14064
      return
14065
    iprot.readStructBegin()
14066
    while True:
14067
      (fname, ftype, fid) = iprot.readFieldBegin()
14068
      if ftype == TType.STOP:
14069
        break
14070
      if fid == 0:
14071
        if ftype == TType.BOOL:
14072
          self.success = iprot.readBool();
14073
        else:
14074
          iprot.skip(ftype)
14075
      else:
14076
        iprot.skip(ftype)
14077
      iprot.readFieldEnd()
14078
    iprot.readStructEnd()
14079
 
14080
  def write(self, oprot):
14081
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14082
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14083
      return
14084
    oprot.writeStructBegin('addCategory_result')
14085
    if self.success is not None:
14086
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14087
      oprot.writeBool(self.success)
14088
      oprot.writeFieldEnd()
14089
    oprot.writeFieldStop()
14090
    oprot.writeStructEnd()
14091
 
14092
  def validate(self):
14093
    return
14094
 
14095
 
14096
  def __repr__(self):
14097
    L = ['%s=%r' % (key, value)
14098
      for key, value in self.__dict__.iteritems()]
14099
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14100
 
14101
  def __eq__(self, other):
14102
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14103
 
14104
  def __ne__(self, other):
14105
    return not (self == other)
14106
 
14107
class getCategory_args:
14108
  """
14109
  Attributes:
14110
   - id
14111
  """
14112
 
14113
  thrift_spec = (
14114
    None, # 0
14115
    (1, TType.I64, 'id', None, None, ), # 1
14116
  )
14117
 
14118
  def __init__(self, id=None,):
14119
    self.id = id
14120
 
14121
  def read(self, iprot):
14122
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14123
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14124
      return
14125
    iprot.readStructBegin()
14126
    while True:
14127
      (fname, ftype, fid) = iprot.readFieldBegin()
14128
      if ftype == TType.STOP:
14129
        break
14130
      if fid == 1:
14131
        if ftype == TType.I64:
14132
          self.id = iprot.readI64();
14133
        else:
14134
          iprot.skip(ftype)
14135
      else:
14136
        iprot.skip(ftype)
14137
      iprot.readFieldEnd()
14138
    iprot.readStructEnd()
14139
 
14140
  def write(self, oprot):
14141
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14142
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14143
      return
14144
    oprot.writeStructBegin('getCategory_args')
14145
    if self.id is not None:
14146
      oprot.writeFieldBegin('id', TType.I64, 1)
14147
      oprot.writeI64(self.id)
14148
      oprot.writeFieldEnd()
14149
    oprot.writeFieldStop()
14150
    oprot.writeStructEnd()
14151
 
14152
  def validate(self):
14153
    return
14154
 
14155
 
14156
  def __repr__(self):
14157
    L = ['%s=%r' % (key, value)
14158
      for key, value in self.__dict__.iteritems()]
14159
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14160
 
14161
  def __eq__(self, other):
14162
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14163
 
14164
  def __ne__(self, other):
14165
    return not (self == other)
14166
 
14167
class getCategory_result:
14168
  """
14169
  Attributes:
14170
   - success
14171
  """
14172
 
14173
  thrift_spec = (
14174
    (0, TType.STRUCT, 'success', (Category, Category.thrift_spec), None, ), # 0
14175
  )
14176
 
14177
  def __init__(self, success=None,):
14178
    self.success = success
14179
 
14180
  def read(self, iprot):
14181
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14182
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14183
      return
14184
    iprot.readStructBegin()
14185
    while True:
14186
      (fname, ftype, fid) = iprot.readFieldBegin()
14187
      if ftype == TType.STOP:
14188
        break
14189
      if fid == 0:
14190
        if ftype == TType.STRUCT:
14191
          self.success = Category()
14192
          self.success.read(iprot)
14193
        else:
14194
          iprot.skip(ftype)
14195
      else:
14196
        iprot.skip(ftype)
14197
      iprot.readFieldEnd()
14198
    iprot.readStructEnd()
14199
 
14200
  def write(self, oprot):
14201
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14202
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14203
      return
14204
    oprot.writeStructBegin('getCategory_result')
14205
    if self.success is not None:
14206
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
14207
      self.success.write(oprot)
14208
      oprot.writeFieldEnd()
14209
    oprot.writeFieldStop()
14210
    oprot.writeStructEnd()
14211
 
14212
  def validate(self):
14213
    return
14214
 
14215
 
14216
  def __repr__(self):
14217
    L = ['%s=%r' % (key, value)
14218
      for key, value in self.__dict__.iteritems()]
14219
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14220
 
14221
  def __eq__(self, other):
14222
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14223
 
14224
  def __ne__(self, other):
14225
    return not (self == other)
14226
 
14227
class getAllCategories_args:
14228
 
14229
  thrift_spec = (
14230
  )
14231
 
14232
  def read(self, iprot):
14233
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14234
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14235
      return
14236
    iprot.readStructBegin()
14237
    while True:
14238
      (fname, ftype, fid) = iprot.readFieldBegin()
14239
      if ftype == TType.STOP:
14240
        break
14241
      else:
14242
        iprot.skip(ftype)
14243
      iprot.readFieldEnd()
14244
    iprot.readStructEnd()
14245
 
14246
  def write(self, oprot):
14247
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14248
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14249
      return
14250
    oprot.writeStructBegin('getAllCategories_args')
14251
    oprot.writeFieldStop()
14252
    oprot.writeStructEnd()
14253
 
14254
  def validate(self):
14255
    return
14256
 
14257
 
14258
  def __repr__(self):
14259
    L = ['%s=%r' % (key, value)
14260
      for key, value in self.__dict__.iteritems()]
14261
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14262
 
14263
  def __eq__(self, other):
14264
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14265
 
14266
  def __ne__(self, other):
14267
    return not (self == other)
14268
 
14269
class getAllCategories_result:
14270
  """
14271
  Attributes:
14272
   - success
14273
  """
14274
 
14275
  thrift_spec = (
14276
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
14277
  )
14278
 
14279
  def __init__(self, success=None,):
14280
    self.success = success
14281
 
14282
  def read(self, iprot):
14283
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14284
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14285
      return
14286
    iprot.readStructBegin()
14287
    while True:
14288
      (fname, ftype, fid) = iprot.readFieldBegin()
14289
      if ftype == TType.STOP:
14290
        break
14291
      if fid == 0:
14292
        if ftype == TType.LIST:
14293
          self.success = []
13493 amit.gupta 14294
          (_etype179, _size176) = iprot.readListBegin()
14295
          for _i180 in xrange(_size176):
14296
            _elem181 = Category()
14297
            _elem181.read(iprot)
14298
            self.success.append(_elem181)
5944 mandeep.dh 14299
          iprot.readListEnd()
14300
        else:
14301
          iprot.skip(ftype)
14302
      else:
14303
        iprot.skip(ftype)
14304
      iprot.readFieldEnd()
14305
    iprot.readStructEnd()
14306
 
14307
  def write(self, oprot):
14308
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14309
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14310
      return
14311
    oprot.writeStructBegin('getAllCategories_result')
14312
    if self.success is not None:
14313
      oprot.writeFieldBegin('success', TType.LIST, 0)
14314
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 14315
      for iter182 in self.success:
14316
        iter182.write(oprot)
5944 mandeep.dh 14317
      oprot.writeListEnd()
14318
      oprot.writeFieldEnd()
14319
    oprot.writeFieldStop()
14320
    oprot.writeStructEnd()
14321
 
14322
  def validate(self):
14323
    return
14324
 
14325
 
14326
  def __repr__(self):
14327
    L = ['%s=%r' % (key, value)
14328
      for key, value in self.__dict__.iteritems()]
14329
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14330
 
14331
  def __eq__(self, other):
14332
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14333
 
14334
  def __ne__(self, other):
14335
    return not (self == other)
14336
 
14337
class getAllSimilarItems_args:
14338
  """
14339
  Attributes:
14340
   - itemId
14341
  """
14342
 
14343
  thrift_spec = (
14344
    None, # 0
14345
    (1, TType.I64, 'itemId', None, None, ), # 1
14346
  )
14347
 
14348
  def __init__(self, itemId=None,):
14349
    self.itemId = itemId
14350
 
14351
  def read(self, iprot):
14352
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14353
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14354
      return
14355
    iprot.readStructBegin()
14356
    while True:
14357
      (fname, ftype, fid) = iprot.readFieldBegin()
14358
      if ftype == TType.STOP:
14359
        break
14360
      if fid == 1:
14361
        if ftype == TType.I64:
14362
          self.itemId = iprot.readI64();
14363
        else:
14364
          iprot.skip(ftype)
14365
      else:
14366
        iprot.skip(ftype)
14367
      iprot.readFieldEnd()
14368
    iprot.readStructEnd()
14369
 
14370
  def write(self, oprot):
14371
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14372
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14373
      return
14374
    oprot.writeStructBegin('getAllSimilarItems_args')
14375
    if self.itemId is not None:
14376
      oprot.writeFieldBegin('itemId', TType.I64, 1)
14377
      oprot.writeI64(self.itemId)
14378
      oprot.writeFieldEnd()
14379
    oprot.writeFieldStop()
14380
    oprot.writeStructEnd()
14381
 
14382
  def validate(self):
14383
    return
14384
 
14385
 
14386
  def __repr__(self):
14387
    L = ['%s=%r' % (key, value)
14388
      for key, value in self.__dict__.iteritems()]
14389
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14390
 
14391
  def __eq__(self, other):
14392
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14393
 
14394
  def __ne__(self, other):
14395
    return not (self == other)
14396
 
14397
class getAllSimilarItems_result:
14398
  """
14399
  Attributes:
14400
   - success
14401
  """
14402
 
14403
  thrift_spec = (
14404
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
14405
  )
14406
 
14407
  def __init__(self, success=None,):
14408
    self.success = success
14409
 
14410
  def read(self, iprot):
14411
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14412
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14413
      return
14414
    iprot.readStructBegin()
14415
    while True:
14416
      (fname, ftype, fid) = iprot.readFieldBegin()
14417
      if ftype == TType.STOP:
14418
        break
14419
      if fid == 0:
14420
        if ftype == TType.LIST:
14421
          self.success = []
13493 amit.gupta 14422
          (_etype186, _size183) = iprot.readListBegin()
14423
          for _i187 in xrange(_size183):
14424
            _elem188 = Item()
14425
            _elem188.read(iprot)
14426
            self.success.append(_elem188)
5944 mandeep.dh 14427
          iprot.readListEnd()
14428
        else:
14429
          iprot.skip(ftype)
14430
      else:
14431
        iprot.skip(ftype)
14432
      iprot.readFieldEnd()
14433
    iprot.readStructEnd()
14434
 
14435
  def write(self, oprot):
14436
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14437
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14438
      return
14439
    oprot.writeStructBegin('getAllSimilarItems_result')
14440
    if self.success is not None:
14441
      oprot.writeFieldBegin('success', TType.LIST, 0)
14442
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 14443
      for iter189 in self.success:
14444
        iter189.write(oprot)
5944 mandeep.dh 14445
      oprot.writeListEnd()
14446
      oprot.writeFieldEnd()
14447
    oprot.writeFieldStop()
14448
    oprot.writeStructEnd()
14449
 
14450
  def validate(self):
14451
    return
14452
 
14453
 
14454
  def __repr__(self):
14455
    L = ['%s=%r' % (key, value)
14456
      for key, value in self.__dict__.iteritems()]
14457
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14458
 
14459
  def __eq__(self, other):
14460
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14461
 
14462
  def __ne__(self, other):
14463
    return not (self == other)
14464
 
14465
class addSimilarItem_args:
14466
  """
14467
  Attributes:
14468
   - itemId
14469
   - catalogItemId
14470
  """
14471
 
14472
  thrift_spec = (
14473
    None, # 0
14474
    (1, TType.I64, 'itemId', None, None, ), # 1
14475
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
14476
  )
14477
 
14478
  def __init__(self, itemId=None, catalogItemId=None,):
14479
    self.itemId = itemId
14480
    self.catalogItemId = catalogItemId
14481
 
14482
  def read(self, iprot):
14483
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14484
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14485
      return
14486
    iprot.readStructBegin()
14487
    while True:
14488
      (fname, ftype, fid) = iprot.readFieldBegin()
14489
      if ftype == TType.STOP:
14490
        break
14491
      if fid == 1:
14492
        if ftype == TType.I64:
14493
          self.itemId = iprot.readI64();
14494
        else:
14495
          iprot.skip(ftype)
14496
      elif fid == 2:
14497
        if ftype == TType.I64:
14498
          self.catalogItemId = iprot.readI64();
14499
        else:
14500
          iprot.skip(ftype)
14501
      else:
14502
        iprot.skip(ftype)
14503
      iprot.readFieldEnd()
14504
    iprot.readStructEnd()
14505
 
14506
  def write(self, oprot):
14507
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14508
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14509
      return
14510
    oprot.writeStructBegin('addSimilarItem_args')
14511
    if self.itemId is not None:
14512
      oprot.writeFieldBegin('itemId', TType.I64, 1)
14513
      oprot.writeI64(self.itemId)
14514
      oprot.writeFieldEnd()
14515
    if self.catalogItemId is not None:
14516
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
14517
      oprot.writeI64(self.catalogItemId)
14518
      oprot.writeFieldEnd()
14519
    oprot.writeFieldStop()
14520
    oprot.writeStructEnd()
14521
 
14522
  def validate(self):
14523
    return
14524
 
14525
 
14526
  def __repr__(self):
14527
    L = ['%s=%r' % (key, value)
14528
      for key, value in self.__dict__.iteritems()]
14529
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14530
 
14531
  def __eq__(self, other):
14532
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14533
 
14534
  def __ne__(self, other):
14535
    return not (self == other)
14536
 
14537
class addSimilarItem_result:
14538
  """
14539
  Attributes:
14540
   - success
14541
   - cex
14542
  """
14543
 
14544
  thrift_spec = (
14545
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
14546
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14547
  )
14548
 
14549
  def __init__(self, success=None, cex=None,):
14550
    self.success = success
14551
    self.cex = cex
14552
 
14553
  def read(self, iprot):
14554
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14555
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14556
      return
14557
    iprot.readStructBegin()
14558
    while True:
14559
      (fname, ftype, fid) = iprot.readFieldBegin()
14560
      if ftype == TType.STOP:
14561
        break
14562
      if fid == 0:
14563
        if ftype == TType.STRUCT:
14564
          self.success = Item()
14565
          self.success.read(iprot)
14566
        else:
14567
          iprot.skip(ftype)
14568
      elif fid == 1:
14569
        if ftype == TType.STRUCT:
14570
          self.cex = CatalogServiceException()
14571
          self.cex.read(iprot)
14572
        else:
14573
          iprot.skip(ftype)
14574
      else:
14575
        iprot.skip(ftype)
14576
      iprot.readFieldEnd()
14577
    iprot.readStructEnd()
14578
 
14579
  def write(self, oprot):
14580
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14581
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14582
      return
14583
    oprot.writeStructBegin('addSimilarItem_result')
14584
    if self.success is not None:
14585
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
14586
      self.success.write(oprot)
14587
      oprot.writeFieldEnd()
14588
    if self.cex is not None:
14589
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
14590
      self.cex.write(oprot)
14591
      oprot.writeFieldEnd()
14592
    oprot.writeFieldStop()
14593
    oprot.writeStructEnd()
14594
 
14595
  def validate(self):
14596
    return
14597
 
14598
 
14599
  def __repr__(self):
14600
    L = ['%s=%r' % (key, value)
14601
      for key, value in self.__dict__.iteritems()]
14602
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14603
 
14604
  def __eq__(self, other):
14605
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14606
 
14607
  def __ne__(self, other):
14608
    return not (self == other)
14609
 
6512 kshitij.so 14610
class addTag_args:
14611
  """
14612
  Attributes:
14613
   - displayName
14614
   - itemId
14615
  """
14616
 
14617
  thrift_spec = (
14618
    None, # 0
14619
    (1, TType.STRING, 'displayName', None, None, ), # 1
14620
    (2, TType.I64, 'itemId', None, None, ), # 2
14621
  )
14622
 
14623
  def __init__(self, displayName=None, itemId=None,):
14624
    self.displayName = displayName
14625
    self.itemId = itemId
14626
 
14627
  def read(self, iprot):
14628
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14629
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14630
      return
14631
    iprot.readStructBegin()
14632
    while True:
14633
      (fname, ftype, fid) = iprot.readFieldBegin()
14634
      if ftype == TType.STOP:
14635
        break
14636
      if fid == 1:
14637
        if ftype == TType.STRING:
14638
          self.displayName = iprot.readString();
14639
        else:
14640
          iprot.skip(ftype)
14641
      elif fid == 2:
14642
        if ftype == TType.I64:
14643
          self.itemId = iprot.readI64();
14644
        else:
14645
          iprot.skip(ftype)
14646
      else:
14647
        iprot.skip(ftype)
14648
      iprot.readFieldEnd()
14649
    iprot.readStructEnd()
14650
 
14651
  def write(self, oprot):
14652
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14653
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14654
      return
14655
    oprot.writeStructBegin('addTag_args')
14656
    if self.displayName is not None:
14657
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14658
      oprot.writeString(self.displayName)
14659
      oprot.writeFieldEnd()
14660
    if self.itemId is not None:
14661
      oprot.writeFieldBegin('itemId', TType.I64, 2)
14662
      oprot.writeI64(self.itemId)
14663
      oprot.writeFieldEnd()
14664
    oprot.writeFieldStop()
14665
    oprot.writeStructEnd()
14666
 
14667
  def validate(self):
14668
    return
14669
 
14670
 
14671
  def __repr__(self):
14672
    L = ['%s=%r' % (key, value)
14673
      for key, value in self.__dict__.iteritems()]
14674
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14675
 
14676
  def __eq__(self, other):
14677
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14678
 
14679
  def __ne__(self, other):
14680
    return not (self == other)
14681
 
14682
class addTag_result:
14683
  """
14684
  Attributes:
14685
   - success
14686
  """
14687
 
14688
  thrift_spec = (
14689
    (0, TType.BOOL, 'success', None, None, ), # 0
14690
  )
14691
 
14692
  def __init__(self, success=None,):
14693
    self.success = success
14694
 
14695
  def read(self, iprot):
14696
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14697
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14698
      return
14699
    iprot.readStructBegin()
14700
    while True:
14701
      (fname, ftype, fid) = iprot.readFieldBegin()
14702
      if ftype == TType.STOP:
14703
        break
14704
      if fid == 0:
14705
        if ftype == TType.BOOL:
14706
          self.success = iprot.readBool();
14707
        else:
14708
          iprot.skip(ftype)
14709
      else:
14710
        iprot.skip(ftype)
14711
      iprot.readFieldEnd()
14712
    iprot.readStructEnd()
14713
 
14714
  def write(self, oprot):
14715
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14716
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14717
      return
14718
    oprot.writeStructBegin('addTag_result')
14719
    if self.success is not None:
14720
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14721
      oprot.writeBool(self.success)
14722
      oprot.writeFieldEnd()
14723
    oprot.writeFieldStop()
14724
    oprot.writeStructEnd()
14725
 
14726
  def validate(self):
14727
    return
14728
 
14729
 
14730
  def __repr__(self):
14731
    L = ['%s=%r' % (key, value)
14732
      for key, value in self.__dict__.iteritems()]
14733
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14734
 
14735
  def __eq__(self, other):
14736
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14737
 
14738
  def __ne__(self, other):
14739
    return not (self == other)
14740
 
14741
class deleteEntityTag_args:
14742
  """
14743
  Attributes:
14744
   - displayName
14745
   - itemId
14746
  """
14747
 
14748
  thrift_spec = (
14749
    None, # 0
14750
    (1, TType.STRING, 'displayName', None, None, ), # 1
14751
    (2, TType.I64, 'itemId', None, None, ), # 2
14752
  )
14753
 
14754
  def __init__(self, displayName=None, itemId=None,):
14755
    self.displayName = displayName
14756
    self.itemId = itemId
14757
 
14758
  def read(self, iprot):
14759
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14760
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14761
      return
14762
    iprot.readStructBegin()
14763
    while True:
14764
      (fname, ftype, fid) = iprot.readFieldBegin()
14765
      if ftype == TType.STOP:
14766
        break
14767
      if fid == 1:
14768
        if ftype == TType.STRING:
14769
          self.displayName = iprot.readString();
14770
        else:
14771
          iprot.skip(ftype)
14772
      elif fid == 2:
14773
        if ftype == TType.I64:
14774
          self.itemId = iprot.readI64();
14775
        else:
14776
          iprot.skip(ftype)
14777
      else:
14778
        iprot.skip(ftype)
14779
      iprot.readFieldEnd()
14780
    iprot.readStructEnd()
14781
 
14782
  def write(self, oprot):
14783
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14784
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14785
      return
14786
    oprot.writeStructBegin('deleteEntityTag_args')
14787
    if self.displayName is not None:
14788
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14789
      oprot.writeString(self.displayName)
14790
      oprot.writeFieldEnd()
14791
    if self.itemId is not None:
14792
      oprot.writeFieldBegin('itemId', TType.I64, 2)
14793
      oprot.writeI64(self.itemId)
14794
      oprot.writeFieldEnd()
14795
    oprot.writeFieldStop()
14796
    oprot.writeStructEnd()
14797
 
14798
  def validate(self):
14799
    return
14800
 
14801
 
14802
  def __repr__(self):
14803
    L = ['%s=%r' % (key, value)
14804
      for key, value in self.__dict__.iteritems()]
14805
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14806
 
14807
  def __eq__(self, other):
14808
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14809
 
14810
  def __ne__(self, other):
14811
    return not (self == other)
14812
 
14813
class deleteEntityTag_result:
14814
  """
14815
  Attributes:
14816
   - success
14817
  """
14818
 
14819
  thrift_spec = (
14820
    (0, TType.BOOL, 'success', None, None, ), # 0
14821
  )
14822
 
14823
  def __init__(self, success=None,):
14824
    self.success = success
14825
 
14826
  def read(self, iprot):
14827
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14828
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14829
      return
14830
    iprot.readStructBegin()
14831
    while True:
14832
      (fname, ftype, fid) = iprot.readFieldBegin()
14833
      if ftype == TType.STOP:
14834
        break
14835
      if fid == 0:
14836
        if ftype == TType.BOOL:
14837
          self.success = iprot.readBool();
14838
        else:
14839
          iprot.skip(ftype)
14840
      else:
14841
        iprot.skip(ftype)
14842
      iprot.readFieldEnd()
14843
    iprot.readStructEnd()
14844
 
14845
  def write(self, oprot):
14846
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14847
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14848
      return
14849
    oprot.writeStructBegin('deleteEntityTag_result')
14850
    if self.success is not None:
14851
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14852
      oprot.writeBool(self.success)
14853
      oprot.writeFieldEnd()
14854
    oprot.writeFieldStop()
14855
    oprot.writeStructEnd()
14856
 
14857
  def validate(self):
14858
    return
14859
 
14860
 
14861
  def __repr__(self):
14862
    L = ['%s=%r' % (key, value)
14863
      for key, value in self.__dict__.iteritems()]
14864
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14865
 
14866
  def __eq__(self, other):
14867
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14868
 
14869
  def __ne__(self, other):
14870
    return not (self == other)
14871
 
14872
class deleteTag_args:
14873
  """
14874
  Attributes:
14875
   - displayName
14876
  """
14877
 
14878
  thrift_spec = (
14879
    None, # 0
14880
    (1, TType.STRING, 'displayName', None, None, ), # 1
14881
  )
14882
 
14883
  def __init__(self, displayName=None,):
14884
    self.displayName = displayName
14885
 
14886
  def read(self, iprot):
14887
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14888
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14889
      return
14890
    iprot.readStructBegin()
14891
    while True:
14892
      (fname, ftype, fid) = iprot.readFieldBegin()
14893
      if ftype == TType.STOP:
14894
        break
14895
      if fid == 1:
14896
        if ftype == TType.STRING:
14897
          self.displayName = iprot.readString();
14898
        else:
14899
          iprot.skip(ftype)
14900
      else:
14901
        iprot.skip(ftype)
14902
      iprot.readFieldEnd()
14903
    iprot.readStructEnd()
14904
 
14905
  def write(self, oprot):
14906
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14907
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14908
      return
14909
    oprot.writeStructBegin('deleteTag_args')
14910
    if self.displayName is not None:
14911
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14912
      oprot.writeString(self.displayName)
14913
      oprot.writeFieldEnd()
14914
    oprot.writeFieldStop()
14915
    oprot.writeStructEnd()
14916
 
14917
  def validate(self):
14918
    return
14919
 
14920
 
14921
  def __repr__(self):
14922
    L = ['%s=%r' % (key, value)
14923
      for key, value in self.__dict__.iteritems()]
14924
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14925
 
14926
  def __eq__(self, other):
14927
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14928
 
14929
  def __ne__(self, other):
14930
    return not (self == other)
14931
 
14932
class deleteTag_result:
14933
  """
14934
  Attributes:
14935
   - success
14936
  """
14937
 
14938
  thrift_spec = (
14939
    (0, TType.BOOL, 'success', None, None, ), # 0
14940
  )
14941
 
14942
  def __init__(self, success=None,):
14943
    self.success = success
14944
 
14945
  def read(self, iprot):
14946
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14947
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14948
      return
14949
    iprot.readStructBegin()
14950
    while True:
14951
      (fname, ftype, fid) = iprot.readFieldBegin()
14952
      if ftype == TType.STOP:
14953
        break
14954
      if fid == 0:
14955
        if ftype == TType.BOOL:
14956
          self.success = iprot.readBool();
14957
        else:
14958
          iprot.skip(ftype)
14959
      else:
14960
        iprot.skip(ftype)
14961
      iprot.readFieldEnd()
14962
    iprot.readStructEnd()
14963
 
14964
  def write(self, oprot):
14965
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14966
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14967
      return
14968
    oprot.writeStructBegin('deleteTag_result')
14969
    if self.success is not None:
14970
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14971
      oprot.writeBool(self.success)
14972
      oprot.writeFieldEnd()
14973
    oprot.writeFieldStop()
14974
    oprot.writeStructEnd()
14975
 
14976
  def validate(self):
14977
    return
14978
 
14979
 
14980
  def __repr__(self):
14981
    L = ['%s=%r' % (key, value)
14982
      for key, value in self.__dict__.iteritems()]
14983
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14984
 
14985
  def __eq__(self, other):
14986
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14987
 
14988
  def __ne__(self, other):
14989
    return not (self == other)
14990
 
14991
class getAllTags_args:
14992
 
14993
  thrift_spec = (
14994
  )
14995
 
14996
  def read(self, iprot):
14997
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14998
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14999
      return
15000
    iprot.readStructBegin()
15001
    while True:
15002
      (fname, ftype, fid) = iprot.readFieldBegin()
15003
      if ftype == TType.STOP:
15004
        break
15005
      else:
15006
        iprot.skip(ftype)
15007
      iprot.readFieldEnd()
15008
    iprot.readStructEnd()
15009
 
15010
  def write(self, oprot):
15011
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15012
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15013
      return
15014
    oprot.writeStructBegin('getAllTags_args')
15015
    oprot.writeFieldStop()
15016
    oprot.writeStructEnd()
15017
 
15018
  def validate(self):
15019
    return
15020
 
15021
 
15022
  def __repr__(self):
15023
    L = ['%s=%r' % (key, value)
15024
      for key, value in self.__dict__.iteritems()]
15025
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15026
 
15027
  def __eq__(self, other):
15028
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15029
 
15030
  def __ne__(self, other):
15031
    return not (self == other)
15032
 
15033
class getAllTags_result:
15034
  """
15035
  Attributes:
15036
   - success
15037
  """
15038
 
15039
  thrift_spec = (
15040
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
15041
  )
15042
 
15043
  def __init__(self, success=None,):
15044
    self.success = success
15045
 
15046
  def read(self, iprot):
15047
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15048
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15049
      return
15050
    iprot.readStructBegin()
15051
    while True:
15052
      (fname, ftype, fid) = iprot.readFieldBegin()
15053
      if ftype == TType.STOP:
15054
        break
15055
      if fid == 0:
15056
        if ftype == TType.LIST:
15057
          self.success = []
13493 amit.gupta 15058
          (_etype193, _size190) = iprot.readListBegin()
15059
          for _i194 in xrange(_size190):
15060
            _elem195 = iprot.readString();
15061
            self.success.append(_elem195)
6512 kshitij.so 15062
          iprot.readListEnd()
15063
        else:
15064
          iprot.skip(ftype)
15065
      else:
15066
        iprot.skip(ftype)
15067
      iprot.readFieldEnd()
15068
    iprot.readStructEnd()
15069
 
15070
  def write(self, oprot):
15071
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15072
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15073
      return
15074
    oprot.writeStructBegin('getAllTags_result')
15075
    if self.success is not None:
15076
      oprot.writeFieldBegin('success', TType.LIST, 0)
15077
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 15078
      for iter196 in self.success:
15079
        oprot.writeString(iter196)
6512 kshitij.so 15080
      oprot.writeListEnd()
15081
      oprot.writeFieldEnd()
15082
    oprot.writeFieldStop()
15083
    oprot.writeStructEnd()
15084
 
15085
  def validate(self):
15086
    return
15087
 
15088
 
15089
  def __repr__(self):
15090
    L = ['%s=%r' % (key, value)
15091
      for key, value in self.__dict__.iteritems()]
15092
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15093
 
15094
  def __eq__(self, other):
15095
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15096
 
15097
  def __ne__(self, other):
15098
    return not (self == other)
15099
 
15100
class getAllEntitiesByTagName_args:
15101
  """
15102
  Attributes:
15103
   - displayName
15104
  """
15105
 
15106
  thrift_spec = (
15107
    None, # 0
15108
    (1, TType.STRING, 'displayName', None, None, ), # 1
15109
  )
15110
 
15111
  def __init__(self, displayName=None,):
15112
    self.displayName = displayName
15113
 
15114
  def read(self, iprot):
15115
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15116
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15117
      return
15118
    iprot.readStructBegin()
15119
    while True:
15120
      (fname, ftype, fid) = iprot.readFieldBegin()
15121
      if ftype == TType.STOP:
15122
        break
15123
      if fid == 1:
15124
        if ftype == TType.STRING:
15125
          self.displayName = iprot.readString();
15126
        else:
15127
          iprot.skip(ftype)
15128
      else:
15129
        iprot.skip(ftype)
15130
      iprot.readFieldEnd()
15131
    iprot.readStructEnd()
15132
 
15133
  def write(self, oprot):
15134
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15135
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15136
      return
15137
    oprot.writeStructBegin('getAllEntitiesByTagName_args')
15138
    if self.displayName is not None:
15139
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
15140
      oprot.writeString(self.displayName)
15141
      oprot.writeFieldEnd()
15142
    oprot.writeFieldStop()
15143
    oprot.writeStructEnd()
15144
 
15145
  def validate(self):
15146
    return
15147
 
15148
 
15149
  def __repr__(self):
15150
    L = ['%s=%r' % (key, value)
15151
      for key, value in self.__dict__.iteritems()]
15152
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15153
 
15154
  def __eq__(self, other):
15155
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15156
 
15157
  def __ne__(self, other):
15158
    return not (self == other)
15159
 
15160
class getAllEntitiesByTagName_result:
15161
  """
15162
  Attributes:
15163
   - success
15164
  """
15165
 
15166
  thrift_spec = (
15167
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
15168
  )
15169
 
15170
  def __init__(self, success=None,):
15171
    self.success = success
15172
 
15173
  def read(self, iprot):
15174
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15175
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15176
      return
15177
    iprot.readStructBegin()
15178
    while True:
15179
      (fname, ftype, fid) = iprot.readFieldBegin()
15180
      if ftype == TType.STOP:
15181
        break
15182
      if fid == 0:
15183
        if ftype == TType.LIST:
15184
          self.success = []
13493 amit.gupta 15185
          (_etype200, _size197) = iprot.readListBegin()
15186
          for _i201 in xrange(_size197):
15187
            _elem202 = iprot.readI64();
15188
            self.success.append(_elem202)
6512 kshitij.so 15189
          iprot.readListEnd()
15190
        else:
15191
          iprot.skip(ftype)
15192
      else:
15193
        iprot.skip(ftype)
15194
      iprot.readFieldEnd()
15195
    iprot.readStructEnd()
15196
 
15197
  def write(self, oprot):
15198
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15199
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15200
      return
15201
    oprot.writeStructBegin('getAllEntitiesByTagName_result')
15202
    if self.success is not None:
15203
      oprot.writeFieldBegin('success', TType.LIST, 0)
15204
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 15205
      for iter203 in self.success:
15206
        oprot.writeI64(iter203)
6512 kshitij.so 15207
      oprot.writeListEnd()
15208
      oprot.writeFieldEnd()
15209
    oprot.writeFieldStop()
15210
    oprot.writeStructEnd()
15211
 
15212
  def validate(self):
15213
    return
15214
 
15215
 
15216
  def __repr__(self):
15217
    L = ['%s=%r' % (key, value)
15218
      for key, value in self.__dict__.iteritems()]
15219
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15220
 
15221
  def __eq__(self, other):
15222
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15223
 
15224
  def __ne__(self, other):
15225
    return not (self == other)
15226
 
6845 amit.gupta 15227
class getAllEntityTags_args:
15228
 
15229
  thrift_spec = (
15230
  )
15231
 
15232
  def read(self, iprot):
15233
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15234
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15235
      return
15236
    iprot.readStructBegin()
15237
    while True:
15238
      (fname, ftype, fid) = iprot.readFieldBegin()
15239
      if ftype == TType.STOP:
15240
        break
15241
      else:
15242
        iprot.skip(ftype)
15243
      iprot.readFieldEnd()
15244
    iprot.readStructEnd()
15245
 
15246
  def write(self, oprot):
15247
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15248
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15249
      return
15250
    oprot.writeStructBegin('getAllEntityTags_args')
15251
    oprot.writeFieldStop()
15252
    oprot.writeStructEnd()
15253
 
15254
  def validate(self):
15255
    return
15256
 
15257
 
15258
  def __repr__(self):
15259
    L = ['%s=%r' % (key, value)
15260
      for key, value in self.__dict__.iteritems()]
15261
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15262
 
15263
  def __eq__(self, other):
15264
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15265
 
15266
  def __ne__(self, other):
15267
    return not (self == other)
15268
 
15269
class getAllEntityTags_result:
15270
  """
15271
  Attributes:
15272
   - success
15273
  """
15274
 
15275
  thrift_spec = (
15276
    (0, TType.MAP, 'success', (TType.I64,None,TType.LIST,(TType.STRING,None)), None, ), # 0
15277
  )
15278
 
15279
  def __init__(self, success=None,):
15280
    self.success = success
15281
 
15282
  def read(self, iprot):
15283
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15284
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15285
      return
15286
    iprot.readStructBegin()
15287
    while True:
15288
      (fname, ftype, fid) = iprot.readFieldBegin()
15289
      if ftype == TType.STOP:
15290
        break
15291
      if fid == 0:
15292
        if ftype == TType.MAP:
15293
          self.success = {}
13493 amit.gupta 15294
          (_ktype205, _vtype206, _size204 ) = iprot.readMapBegin() 
15295
          for _i208 in xrange(_size204):
15296
            _key209 = iprot.readI64();
15297
            _val210 = []
15298
            (_etype214, _size211) = iprot.readListBegin()
15299
            for _i215 in xrange(_size211):
15300
              _elem216 = iprot.readString();
15301
              _val210.append(_elem216)
6845 amit.gupta 15302
            iprot.readListEnd()
13493 amit.gupta 15303
            self.success[_key209] = _val210
6845 amit.gupta 15304
          iprot.readMapEnd()
15305
        else:
15306
          iprot.skip(ftype)
15307
      else:
15308
        iprot.skip(ftype)
15309
      iprot.readFieldEnd()
15310
    iprot.readStructEnd()
15311
 
15312
  def write(self, oprot):
15313
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15314
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15315
      return
15316
    oprot.writeStructBegin('getAllEntityTags_result')
15317
    if self.success is not None:
15318
      oprot.writeFieldBegin('success', TType.MAP, 0)
15319
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.success))
13493 amit.gupta 15320
      for kiter217,viter218 in self.success.items():
15321
        oprot.writeI64(kiter217)
15322
        oprot.writeListBegin(TType.STRING, len(viter218))
15323
        for iter219 in viter218:
15324
          oprot.writeString(iter219)
6845 amit.gupta 15325
        oprot.writeListEnd()
15326
      oprot.writeMapEnd()
15327
      oprot.writeFieldEnd()
15328
    oprot.writeFieldStop()
15329
    oprot.writeStructEnd()
15330
 
15331
  def validate(self):
15332
    return
15333
 
15334
 
15335
  def __repr__(self):
15336
    L = ['%s=%r' % (key, value)
15337
      for key, value in self.__dict__.iteritems()]
15338
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15339
 
15340
  def __eq__(self, other):
15341
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15342
 
15343
  def __ne__(self, other):
15344
    return not (self == other)
15345
 
6850 kshitij.so 15346
class addBanner_args:
15347
  """
15348
  Attributes:
8590 kshitij.so 15349
   - bannerCongregate
6850 kshitij.so 15350
  """
15351
 
15352
  thrift_spec = (
15353
    None, # 0
8590 kshitij.so 15354
    (1, TType.STRUCT, 'bannerCongregate', (BannerCongregate, BannerCongregate.thrift_spec), None, ), # 1
6850 kshitij.so 15355
  )
15356
 
8590 kshitij.so 15357
  def __init__(self, bannerCongregate=None,):
15358
    self.bannerCongregate = bannerCongregate
6850 kshitij.so 15359
 
15360
  def read(self, iprot):
15361
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15362
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15363
      return
15364
    iprot.readStructBegin()
15365
    while True:
15366
      (fname, ftype, fid) = iprot.readFieldBegin()
15367
      if ftype == TType.STOP:
15368
        break
15369
      if fid == 1:
8579 kshitij.so 15370
        if ftype == TType.STRUCT:
8590 kshitij.so 15371
          self.bannerCongregate = BannerCongregate()
15372
          self.bannerCongregate.read(iprot)
6850 kshitij.so 15373
        else:
15374
          iprot.skip(ftype)
8579 kshitij.so 15375
      else:
15376
        iprot.skip(ftype)
15377
      iprot.readFieldEnd()
15378
    iprot.readStructEnd()
15379
 
15380
  def write(self, oprot):
15381
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15382
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15383
      return
15384
    oprot.writeStructBegin('addBanner_args')
8590 kshitij.so 15385
    if self.bannerCongregate is not None:
15386
      oprot.writeFieldBegin('bannerCongregate', TType.STRUCT, 1)
15387
      self.bannerCongregate.write(oprot)
8579 kshitij.so 15388
      oprot.writeFieldEnd()
15389
    oprot.writeFieldStop()
15390
    oprot.writeStructEnd()
15391
 
15392
  def validate(self):
15393
    return
15394
 
15395
 
15396
  def __repr__(self):
15397
    L = ['%s=%r' % (key, value)
15398
      for key, value in self.__dict__.iteritems()]
15399
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15400
 
15401
  def __eq__(self, other):
15402
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15403
 
15404
  def __ne__(self, other):
15405
    return not (self == other)
15406
 
15407
class addBanner_result:
10097 kshitij.so 15408
  """
15409
  Attributes:
15410
   - success
15411
  """
8579 kshitij.so 15412
 
15413
  thrift_spec = (
10097 kshitij.so 15414
    (0, TType.BOOL, 'success', None, None, ), # 0
8579 kshitij.so 15415
  )
15416
 
10097 kshitij.so 15417
  def __init__(self, success=None,):
15418
    self.success = success
15419
 
8579 kshitij.so 15420
  def read(self, iprot):
15421
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15422
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15423
      return
15424
    iprot.readStructBegin()
15425
    while True:
15426
      (fname, ftype, fid) = iprot.readFieldBegin()
15427
      if ftype == TType.STOP:
15428
        break
10097 kshitij.so 15429
      if fid == 0:
15430
        if ftype == TType.BOOL:
15431
          self.success = iprot.readBool();
15432
        else:
15433
          iprot.skip(ftype)
8579 kshitij.so 15434
      else:
15435
        iprot.skip(ftype)
15436
      iprot.readFieldEnd()
15437
    iprot.readStructEnd()
15438
 
15439
  def write(self, oprot):
15440
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15441
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15442
      return
15443
    oprot.writeStructBegin('addBanner_result')
10097 kshitij.so 15444
    if self.success is not None:
15445
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15446
      oprot.writeBool(self.success)
15447
      oprot.writeFieldEnd()
8579 kshitij.so 15448
    oprot.writeFieldStop()
15449
    oprot.writeStructEnd()
15450
 
15451
  def validate(self):
15452
    return
15453
 
15454
 
15455
  def __repr__(self):
15456
    L = ['%s=%r' % (key, value)
15457
      for key, value in self.__dict__.iteritems()]
15458
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15459
 
15460
  def __eq__(self, other):
15461
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15462
 
15463
  def __ne__(self, other):
15464
    return not (self == other)
15465
 
15466
class updateBanner_args:
15467
  """
15468
  Attributes:
15469
   - banner
15470
  """
15471
 
15472
  thrift_spec = (
15473
    None, # 0
15474
    (1, TType.STRUCT, 'banner', (Banner, Banner.thrift_spec), None, ), # 1
15475
  )
15476
 
15477
  def __init__(self, banner=None,):
15478
    self.banner = banner
15479
 
15480
  def read(self, iprot):
15481
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15482
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15483
      return
15484
    iprot.readStructBegin()
15485
    while True:
15486
      (fname, ftype, fid) = iprot.readFieldBegin()
15487
      if ftype == TType.STOP:
15488
        break
15489
      if fid == 1:
15490
        if ftype == TType.STRUCT:
15491
          self.banner = Banner()
15492
          self.banner.read(iprot)
6850 kshitij.so 15493
        else:
15494
          iprot.skip(ftype)
15495
      else:
15496
        iprot.skip(ftype)
15497
      iprot.readFieldEnd()
15498
    iprot.readStructEnd()
15499
 
15500
  def write(self, oprot):
15501
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15502
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15503
      return
8579 kshitij.so 15504
    oprot.writeStructBegin('updateBanner_args')
15505
    if self.banner is not None:
15506
      oprot.writeFieldBegin('banner', TType.STRUCT, 1)
15507
      self.banner.write(oprot)
6850 kshitij.so 15508
      oprot.writeFieldEnd()
15509
    oprot.writeFieldStop()
15510
    oprot.writeStructEnd()
15511
 
15512
  def validate(self):
15513
    return
15514
 
15515
 
15516
  def __repr__(self):
15517
    L = ['%s=%r' % (key, value)
15518
      for key, value in self.__dict__.iteritems()]
15519
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15520
 
15521
  def __eq__(self, other):
15522
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15523
 
15524
  def __ne__(self, other):
15525
    return not (self == other)
15526
 
8579 kshitij.so 15527
class updateBanner_result:
6850 kshitij.so 15528
  """
15529
  Attributes:
15530
   - success
15531
  """
15532
 
15533
  thrift_spec = (
15534
    (0, TType.BOOL, 'success', None, None, ), # 0
15535
  )
15536
 
15537
  def __init__(self, success=None,):
15538
    self.success = success
15539
 
15540
  def read(self, iprot):
15541
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15542
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15543
      return
15544
    iprot.readStructBegin()
15545
    while True:
15546
      (fname, ftype, fid) = iprot.readFieldBegin()
15547
      if ftype == TType.STOP:
15548
        break
15549
      if fid == 0:
15550
        if ftype == TType.BOOL:
15551
          self.success = iprot.readBool();
15552
        else:
15553
          iprot.skip(ftype)
15554
      else:
15555
        iprot.skip(ftype)
15556
      iprot.readFieldEnd()
15557
    iprot.readStructEnd()
15558
 
15559
  def write(self, oprot):
15560
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15561
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15562
      return
8579 kshitij.so 15563
    oprot.writeStructBegin('updateBanner_result')
6850 kshitij.so 15564
    if self.success is not None:
15565
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15566
      oprot.writeBool(self.success)
15567
      oprot.writeFieldEnd()
15568
    oprot.writeFieldStop()
15569
    oprot.writeStructEnd()
15570
 
15571
  def validate(self):
15572
    return
15573
 
15574
 
15575
  def __repr__(self):
15576
    L = ['%s=%r' % (key, value)
15577
      for key, value in self.__dict__.iteritems()]
15578
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15579
 
15580
  def __eq__(self, other):
15581
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15582
 
15583
  def __ne__(self, other):
15584
    return not (self == other)
15585
 
15586
class getAllBanners_args:
15587
 
15588
  thrift_spec = (
15589
  )
15590
 
15591
  def read(self, iprot):
15592
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15593
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15594
      return
15595
    iprot.readStructBegin()
15596
    while True:
15597
      (fname, ftype, fid) = iprot.readFieldBegin()
15598
      if ftype == TType.STOP:
15599
        break
15600
      else:
15601
        iprot.skip(ftype)
15602
      iprot.readFieldEnd()
15603
    iprot.readStructEnd()
15604
 
15605
  def write(self, oprot):
15606
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15607
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15608
      return
15609
    oprot.writeStructBegin('getAllBanners_args')
15610
    oprot.writeFieldStop()
15611
    oprot.writeStructEnd()
15612
 
15613
  def validate(self):
15614
    return
15615
 
15616
 
15617
  def __repr__(self):
15618
    L = ['%s=%r' % (key, value)
15619
      for key, value in self.__dict__.iteritems()]
15620
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15621
 
15622
  def __eq__(self, other):
15623
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15624
 
15625
  def __ne__(self, other):
15626
    return not (self == other)
15627
 
15628
class getAllBanners_result:
15629
  """
15630
  Attributes:
15631
   - success
15632
  """
15633
 
15634
  thrift_spec = (
8579 kshitij.so 15635
    (0, TType.LIST, 'success', (TType.STRUCT,(Banner, Banner.thrift_spec)), None, ), # 0
6850 kshitij.so 15636
  )
15637
 
15638
  def __init__(self, success=None,):
15639
    self.success = success
15640
 
15641
  def read(self, iprot):
15642
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15643
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15644
      return
15645
    iprot.readStructBegin()
15646
    while True:
15647
      (fname, ftype, fid) = iprot.readFieldBegin()
15648
      if ftype == TType.STOP:
15649
        break
15650
      if fid == 0:
15651
        if ftype == TType.LIST:
15652
          self.success = []
13493 amit.gupta 15653
          (_etype223, _size220) = iprot.readListBegin()
15654
          for _i224 in xrange(_size220):
15655
            _elem225 = Banner()
15656
            _elem225.read(iprot)
15657
            self.success.append(_elem225)
6850 kshitij.so 15658
          iprot.readListEnd()
15659
        else:
15660
          iprot.skip(ftype)
15661
      else:
15662
        iprot.skip(ftype)
15663
      iprot.readFieldEnd()
15664
    iprot.readStructEnd()
15665
 
15666
  def write(self, oprot):
15667
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15668
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15669
      return
15670
    oprot.writeStructBegin('getAllBanners_result')
15671
    if self.success is not None:
15672
      oprot.writeFieldBegin('success', TType.LIST, 0)
8579 kshitij.so 15673
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 15674
      for iter226 in self.success:
15675
        iter226.write(oprot)
6850 kshitij.so 15676
      oprot.writeListEnd()
15677
      oprot.writeFieldEnd()
15678
    oprot.writeFieldStop()
15679
    oprot.writeStructEnd()
15680
 
15681
  def validate(self):
15682
    return
15683
 
15684
 
15685
  def __repr__(self):
15686
    L = ['%s=%r' % (key, value)
15687
      for key, value in self.__dict__.iteritems()]
15688
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15689
 
15690
  def __eq__(self, other):
15691
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15692
 
15693
  def __ne__(self, other):
15694
    return not (self == other)
15695
 
15696
class deleteBanner_args:
15697
  """
15698
  Attributes:
15699
   - bannerName
9155 kshitij.so 15700
   - bannerType
6850 kshitij.so 15701
  """
15702
 
15703
  thrift_spec = (
15704
    None, # 0
15705
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 15706
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 15707
  )
15708
 
9155 kshitij.so 15709
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 15710
    self.bannerName = bannerName
9155 kshitij.so 15711
    self.bannerType = bannerType
6850 kshitij.so 15712
 
15713
  def read(self, iprot):
15714
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15715
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15716
      return
15717
    iprot.readStructBegin()
15718
    while True:
15719
      (fname, ftype, fid) = iprot.readFieldBegin()
15720
      if ftype == TType.STOP:
15721
        break
15722
      if fid == 1:
15723
        if ftype == TType.STRING:
15724
          self.bannerName = iprot.readString();
15725
        else:
15726
          iprot.skip(ftype)
9155 kshitij.so 15727
      elif fid == 2:
15728
        if ftype == TType.I32:
15729
          self.bannerType = iprot.readI32();
15730
        else:
15731
          iprot.skip(ftype)
6850 kshitij.so 15732
      else:
15733
        iprot.skip(ftype)
15734
      iprot.readFieldEnd()
15735
    iprot.readStructEnd()
15736
 
15737
  def write(self, oprot):
15738
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15739
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15740
      return
15741
    oprot.writeStructBegin('deleteBanner_args')
15742
    if self.bannerName is not None:
15743
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15744
      oprot.writeString(self.bannerName)
15745
      oprot.writeFieldEnd()
9155 kshitij.so 15746
    if self.bannerType is not None:
15747
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
15748
      oprot.writeI32(self.bannerType)
15749
      oprot.writeFieldEnd()
6850 kshitij.so 15750
    oprot.writeFieldStop()
15751
    oprot.writeStructEnd()
15752
 
15753
  def validate(self):
15754
    return
15755
 
15756
 
15757
  def __repr__(self):
15758
    L = ['%s=%r' % (key, value)
15759
      for key, value in self.__dict__.iteritems()]
15760
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15761
 
15762
  def __eq__(self, other):
15763
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15764
 
15765
  def __ne__(self, other):
15766
    return not (self == other)
15767
 
15768
class deleteBanner_result:
15769
  """
15770
  Attributes:
15771
   - success
15772
  """
15773
 
15774
  thrift_spec = (
15775
    (0, TType.BOOL, 'success', None, None, ), # 0
15776
  )
15777
 
15778
  def __init__(self, success=None,):
15779
    self.success = success
15780
 
15781
  def read(self, iprot):
15782
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15783
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15784
      return
15785
    iprot.readStructBegin()
15786
    while True:
15787
      (fname, ftype, fid) = iprot.readFieldBegin()
15788
      if ftype == TType.STOP:
15789
        break
15790
      if fid == 0:
15791
        if ftype == TType.BOOL:
15792
          self.success = iprot.readBool();
15793
        else:
15794
          iprot.skip(ftype)
15795
      else:
15796
        iprot.skip(ftype)
15797
      iprot.readFieldEnd()
15798
    iprot.readStructEnd()
15799
 
15800
  def write(self, oprot):
15801
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15802
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15803
      return
15804
    oprot.writeStructBegin('deleteBanner_result')
15805
    if self.success is not None:
15806
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15807
      oprot.writeBool(self.success)
15808
      oprot.writeFieldEnd()
15809
    oprot.writeFieldStop()
15810
    oprot.writeStructEnd()
15811
 
15812
  def validate(self):
15813
    return
15814
 
15815
 
15816
  def __repr__(self):
15817
    L = ['%s=%r' % (key, value)
15818
      for key, value in self.__dict__.iteritems()]
15819
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15820
 
15821
  def __eq__(self, other):
15822
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15823
 
15824
  def __ne__(self, other):
15825
    return not (self == other)
15826
 
15827
class getBannerDetails_args:
15828
  """
15829
  Attributes:
15830
   - bannerName
9155 kshitij.so 15831
   - bannerType
6850 kshitij.so 15832
  """
15833
 
15834
  thrift_spec = (
15835
    None, # 0
15836
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 15837
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 15838
  )
15839
 
9155 kshitij.so 15840
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 15841
    self.bannerName = bannerName
9155 kshitij.so 15842
    self.bannerType = bannerType
6850 kshitij.so 15843
 
15844
  def read(self, iprot):
15845
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15846
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15847
      return
15848
    iprot.readStructBegin()
15849
    while True:
15850
      (fname, ftype, fid) = iprot.readFieldBegin()
15851
      if ftype == TType.STOP:
15852
        break
15853
      if fid == 1:
15854
        if ftype == TType.STRING:
15855
          self.bannerName = iprot.readString();
15856
        else:
15857
          iprot.skip(ftype)
9155 kshitij.so 15858
      elif fid == 2:
15859
        if ftype == TType.I32:
15860
          self.bannerType = iprot.readI32();
15861
        else:
15862
          iprot.skip(ftype)
6850 kshitij.so 15863
      else:
15864
        iprot.skip(ftype)
15865
      iprot.readFieldEnd()
15866
    iprot.readStructEnd()
15867
 
15868
  def write(self, oprot):
15869
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15870
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15871
      return
15872
    oprot.writeStructBegin('getBannerDetails_args')
15873
    if self.bannerName is not None:
15874
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15875
      oprot.writeString(self.bannerName)
15876
      oprot.writeFieldEnd()
9155 kshitij.so 15877
    if self.bannerType is not None:
15878
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
15879
      oprot.writeI32(self.bannerType)
15880
      oprot.writeFieldEnd()
6850 kshitij.so 15881
    oprot.writeFieldStop()
15882
    oprot.writeStructEnd()
15883
 
15884
  def validate(self):
15885
    return
15886
 
15887
 
15888
  def __repr__(self):
15889
    L = ['%s=%r' % (key, value)
15890
      for key, value in self.__dict__.iteritems()]
15891
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15892
 
15893
  def __eq__(self, other):
15894
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15895
 
15896
  def __ne__(self, other):
15897
    return not (self == other)
15898
 
15899
class getBannerDetails_result:
15900
  """
15901
  Attributes:
15902
   - success
15903
  """
15904
 
15905
  thrift_spec = (
15906
    (0, TType.STRUCT, 'success', (Banner, Banner.thrift_spec), None, ), # 0
15907
  )
15908
 
15909
  def __init__(self, success=None,):
15910
    self.success = success
15911
 
15912
  def read(self, iprot):
15913
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15914
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15915
      return
15916
    iprot.readStructBegin()
15917
    while True:
15918
      (fname, ftype, fid) = iprot.readFieldBegin()
15919
      if ftype == TType.STOP:
15920
        break
15921
      if fid == 0:
15922
        if ftype == TType.STRUCT:
15923
          self.success = Banner()
15924
          self.success.read(iprot)
15925
        else:
15926
          iprot.skip(ftype)
15927
      else:
15928
        iprot.skip(ftype)
15929
      iprot.readFieldEnd()
15930
    iprot.readStructEnd()
15931
 
15932
  def write(self, oprot):
15933
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15934
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15935
      return
15936
    oprot.writeStructBegin('getBannerDetails_result')
15937
    if self.success is not None:
15938
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
15939
      self.success.write(oprot)
15940
      oprot.writeFieldEnd()
15941
    oprot.writeFieldStop()
15942
    oprot.writeStructEnd()
15943
 
15944
  def validate(self):
15945
    return
15946
 
15947
 
15948
  def __repr__(self):
15949
    L = ['%s=%r' % (key, value)
15950
      for key, value in self.__dict__.iteritems()]
15951
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15952
 
15953
  def __eq__(self, other):
15954
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15955
 
15956
  def __ne__(self, other):
15957
    return not (self == other)
15958
 
15959
class getActiveBanners_args:
15960
 
15961
  thrift_spec = (
15962
  )
15963
 
15964
  def read(self, iprot):
15965
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15966
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15967
      return
15968
    iprot.readStructBegin()
15969
    while True:
15970
      (fname, ftype, fid) = iprot.readFieldBegin()
15971
      if ftype == TType.STOP:
15972
        break
15973
      else:
15974
        iprot.skip(ftype)
15975
      iprot.readFieldEnd()
15976
    iprot.readStructEnd()
15977
 
15978
  def write(self, oprot):
15979
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15980
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15981
      return
15982
    oprot.writeStructBegin('getActiveBanners_args')
15983
    oprot.writeFieldStop()
15984
    oprot.writeStructEnd()
15985
 
15986
  def validate(self):
15987
    return
15988
 
15989
 
15990
  def __repr__(self):
15991
    L = ['%s=%r' % (key, value)
15992
      for key, value in self.__dict__.iteritems()]
15993
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15994
 
15995
  def __eq__(self, other):
15996
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15997
 
15998
  def __ne__(self, other):
15999
    return not (self == other)
16000
 
16001
class getActiveBanners_result:
16002
  """
16003
  Attributes:
16004
   - success
16005
  """
16006
 
16007
  thrift_spec = (
8579 kshitij.so 16008
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
6850 kshitij.so 16009
  )
16010
 
16011
  def __init__(self, success=None,):
16012
    self.success = success
16013
 
16014
  def read(self, iprot):
16015
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16016
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16017
      return
16018
    iprot.readStructBegin()
16019
    while True:
16020
      (fname, ftype, fid) = iprot.readFieldBegin()
16021
      if ftype == TType.STOP:
16022
        break
16023
      if fid == 0:
8579 kshitij.so 16024
        if ftype == TType.MAP:
16025
          self.success = {}
13493 amit.gupta 16026
          (_ktype228, _vtype229, _size227 ) = iprot.readMapBegin() 
16027
          for _i231 in xrange(_size227):
16028
            _key232 = iprot.readString();
16029
            _val233 = []
16030
            (_etype237, _size234) = iprot.readListBegin()
16031
            for _i238 in xrange(_size234):
16032
              _elem239 = Banner()
16033
              _elem239.read(iprot)
16034
              _val233.append(_elem239)
8579 kshitij.so 16035
            iprot.readListEnd()
13493 amit.gupta 16036
            self.success[_key232] = _val233
8579 kshitij.so 16037
          iprot.readMapEnd()
6850 kshitij.so 16038
        else:
16039
          iprot.skip(ftype)
16040
      else:
16041
        iprot.skip(ftype)
16042
      iprot.readFieldEnd()
16043
    iprot.readStructEnd()
16044
 
16045
  def write(self, oprot):
16046
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16047
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16048
      return
16049
    oprot.writeStructBegin('getActiveBanners_result')
16050
    if self.success is not None:
8579 kshitij.so 16051
      oprot.writeFieldBegin('success', TType.MAP, 0)
16052
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
13493 amit.gupta 16053
      for kiter240,viter241 in self.success.items():
16054
        oprot.writeString(kiter240)
16055
        oprot.writeListBegin(TType.STRUCT, len(viter241))
16056
        for iter242 in viter241:
16057
          iter242.write(oprot)
8579 kshitij.so 16058
        oprot.writeListEnd()
16059
      oprot.writeMapEnd()
6850 kshitij.so 16060
      oprot.writeFieldEnd()
16061
    oprot.writeFieldStop()
16062
    oprot.writeStructEnd()
16063
 
16064
  def validate(self):
16065
    return
16066
 
16067
 
16068
  def __repr__(self):
16069
    L = ['%s=%r' % (key, value)
16070
      for key, value in self.__dict__.iteritems()]
16071
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16072
 
16073
  def __eq__(self, other):
16074
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16075
 
16076
  def __ne__(self, other):
16077
    return not (self == other)
16078
 
6849 kshitij.so 16079
class addBannerMap_args:
16080
  """
16081
  Attributes:
8579 kshitij.so 16082
   - bannerMaps
6849 kshitij.so 16083
  """
16084
 
16085
  thrift_spec = (
16086
    None, # 0
8579 kshitij.so 16087
    (1, TType.LIST, 'bannerMaps', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 1
6849 kshitij.so 16088
  )
16089
 
8579 kshitij.so 16090
  def __init__(self, bannerMaps=None,):
16091
    self.bannerMaps = bannerMaps
6849 kshitij.so 16092
 
16093
  def read(self, iprot):
16094
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16095
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16096
      return
16097
    iprot.readStructBegin()
16098
    while True:
16099
      (fname, ftype, fid) = iprot.readFieldBegin()
16100
      if ftype == TType.STOP:
16101
        break
16102
      if fid == 1:
8579 kshitij.so 16103
        if ftype == TType.LIST:
16104
          self.bannerMaps = []
13493 amit.gupta 16105
          (_etype246, _size243) = iprot.readListBegin()
16106
          for _i247 in xrange(_size243):
16107
            _elem248 = BannerMap()
16108
            _elem248.read(iprot)
16109
            self.bannerMaps.append(_elem248)
8579 kshitij.so 16110
          iprot.readListEnd()
6849 kshitij.so 16111
        else:
16112
          iprot.skip(ftype)
8579 kshitij.so 16113
      else:
16114
        iprot.skip(ftype)
16115
      iprot.readFieldEnd()
16116
    iprot.readStructEnd()
16117
 
16118
  def write(self, oprot):
16119
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16120
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16121
      return
16122
    oprot.writeStructBegin('addBannerMap_args')
16123
    if self.bannerMaps is not None:
16124
      oprot.writeFieldBegin('bannerMaps', TType.LIST, 1)
16125
      oprot.writeListBegin(TType.STRUCT, len(self.bannerMaps))
13493 amit.gupta 16126
      for iter249 in self.bannerMaps:
16127
        iter249.write(oprot)
8579 kshitij.so 16128
      oprot.writeListEnd()
16129
      oprot.writeFieldEnd()
16130
    oprot.writeFieldStop()
16131
    oprot.writeStructEnd()
16132
 
16133
  def validate(self):
16134
    return
16135
 
16136
 
16137
  def __repr__(self):
16138
    L = ['%s=%r' % (key, value)
16139
      for key, value in self.__dict__.iteritems()]
16140
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16141
 
16142
  def __eq__(self, other):
16143
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16144
 
16145
  def __ne__(self, other):
16146
    return not (self == other)
16147
 
16148
class addBannerMap_result:
16149
  """
16150
  Attributes:
16151
   - success
16152
  """
16153
 
16154
  thrift_spec = (
16155
    (0, TType.BOOL, 'success', None, None, ), # 0
16156
  )
16157
 
16158
  def __init__(self, success=None,):
16159
    self.success = success
16160
 
16161
  def read(self, iprot):
16162
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16163
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16164
      return
16165
    iprot.readStructBegin()
16166
    while True:
16167
      (fname, ftype, fid) = iprot.readFieldBegin()
16168
      if ftype == TType.STOP:
16169
        break
16170
      if fid == 0:
16171
        if ftype == TType.BOOL:
16172
          self.success = iprot.readBool();
6849 kshitij.so 16173
        else:
16174
          iprot.skip(ftype)
8579 kshitij.so 16175
      else:
16176
        iprot.skip(ftype)
16177
      iprot.readFieldEnd()
16178
    iprot.readStructEnd()
16179
 
16180
  def write(self, oprot):
16181
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16182
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16183
      return
16184
    oprot.writeStructBegin('addBannerMap_result')
16185
    if self.success is not None:
16186
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16187
      oprot.writeBool(self.success)
16188
      oprot.writeFieldEnd()
16189
    oprot.writeFieldStop()
16190
    oprot.writeStructEnd()
16191
 
16192
  def validate(self):
16193
    return
16194
 
16195
 
16196
  def __repr__(self):
16197
    L = ['%s=%r' % (key, value)
16198
      for key, value in self.__dict__.iteritems()]
16199
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16200
 
16201
  def __eq__(self, other):
16202
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16203
 
16204
  def __ne__(self, other):
16205
    return not (self == other)
16206
 
16207
class updateBannerMap_args:
16208
  """
16209
  Attributes:
16210
   - bannerMap
16211
  """
16212
 
16213
  thrift_spec = (
16214
    None, # 0
16215
    (1, TType.STRUCT, 'bannerMap', (BannerMap, BannerMap.thrift_spec), None, ), # 1
16216
  )
16217
 
16218
  def __init__(self, bannerMap=None,):
16219
    self.bannerMap = bannerMap
16220
 
16221
  def read(self, iprot):
16222
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16223
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16224
      return
16225
    iprot.readStructBegin()
16226
    while True:
16227
      (fname, ftype, fid) = iprot.readFieldBegin()
16228
      if ftype == TType.STOP:
16229
        break
16230
      if fid == 1:
16231
        if ftype == TType.STRUCT:
16232
          self.bannerMap = BannerMap()
16233
          self.bannerMap.read(iprot)
6849 kshitij.so 16234
        else:
16235
          iprot.skip(ftype)
16236
      else:
16237
        iprot.skip(ftype)
16238
      iprot.readFieldEnd()
16239
    iprot.readStructEnd()
16240
 
16241
  def write(self, oprot):
16242
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16243
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16244
      return
8579 kshitij.so 16245
    oprot.writeStructBegin('updateBannerMap_args')
16246
    if self.bannerMap is not None:
16247
      oprot.writeFieldBegin('bannerMap', TType.STRUCT, 1)
16248
      self.bannerMap.write(oprot)
6849 kshitij.so 16249
      oprot.writeFieldEnd()
16250
    oprot.writeFieldStop()
16251
    oprot.writeStructEnd()
16252
 
16253
  def validate(self):
16254
    return
16255
 
16256
 
16257
  def __repr__(self):
16258
    L = ['%s=%r' % (key, value)
16259
      for key, value in self.__dict__.iteritems()]
16260
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16261
 
16262
  def __eq__(self, other):
16263
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16264
 
16265
  def __ne__(self, other):
16266
    return not (self == other)
16267
 
8579 kshitij.so 16268
class updateBannerMap_result:
6849 kshitij.so 16269
  """
16270
  Attributes:
16271
   - success
16272
  """
16273
 
16274
  thrift_spec = (
16275
    (0, TType.BOOL, 'success', None, None, ), # 0
16276
  )
16277
 
16278
  def __init__(self, success=None,):
16279
    self.success = success
16280
 
16281
  def read(self, iprot):
16282
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16283
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16284
      return
16285
    iprot.readStructBegin()
16286
    while True:
16287
      (fname, ftype, fid) = iprot.readFieldBegin()
16288
      if ftype == TType.STOP:
16289
        break
16290
      if fid == 0:
16291
        if ftype == TType.BOOL:
16292
          self.success = iprot.readBool();
16293
        else:
16294
          iprot.skip(ftype)
16295
      else:
16296
        iprot.skip(ftype)
16297
      iprot.readFieldEnd()
16298
    iprot.readStructEnd()
16299
 
16300
  def write(self, oprot):
16301
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16302
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16303
      return
8579 kshitij.so 16304
    oprot.writeStructBegin('updateBannerMap_result')
6849 kshitij.so 16305
    if self.success is not None:
16306
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16307
      oprot.writeBool(self.success)
16308
      oprot.writeFieldEnd()
16309
    oprot.writeFieldStop()
16310
    oprot.writeStructEnd()
16311
 
16312
  def validate(self):
16313
    return
16314
 
16315
 
16316
  def __repr__(self):
16317
    L = ['%s=%r' % (key, value)
16318
      for key, value in self.__dict__.iteritems()]
16319
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16320
 
16321
  def __eq__(self, other):
16322
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16323
 
16324
  def __ne__(self, other):
16325
    return not (self == other)
16326
 
16327
class deleteBannerMap_args:
16328
  """
16329
  Attributes:
16330
   - bannerName
16331
  """
16332
 
16333
  thrift_spec = (
16334
    None, # 0
16335
    (1, TType.STRING, 'bannerName', None, None, ), # 1
16336
  )
16337
 
16338
  def __init__(self, bannerName=None,):
16339
    self.bannerName = bannerName
16340
 
16341
  def read(self, iprot):
16342
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16343
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16344
      return
16345
    iprot.readStructBegin()
16346
    while True:
16347
      (fname, ftype, fid) = iprot.readFieldBegin()
16348
      if ftype == TType.STOP:
16349
        break
16350
      if fid == 1:
16351
        if ftype == TType.STRING:
16352
          self.bannerName = iprot.readString();
16353
        else:
16354
          iprot.skip(ftype)
16355
      else:
16356
        iprot.skip(ftype)
16357
      iprot.readFieldEnd()
16358
    iprot.readStructEnd()
16359
 
16360
  def write(self, oprot):
16361
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16362
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16363
      return
16364
    oprot.writeStructBegin('deleteBannerMap_args')
16365
    if self.bannerName is not None:
16366
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16367
      oprot.writeString(self.bannerName)
16368
      oprot.writeFieldEnd()
16369
    oprot.writeFieldStop()
16370
    oprot.writeStructEnd()
16371
 
16372
  def validate(self):
16373
    return
16374
 
16375
 
16376
  def __repr__(self):
16377
    L = ['%s=%r' % (key, value)
16378
      for key, value in self.__dict__.iteritems()]
16379
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16380
 
16381
  def __eq__(self, other):
16382
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16383
 
16384
  def __ne__(self, other):
16385
    return not (self == other)
16386
 
16387
class deleteBannerMap_result:
16388
  """
16389
  Attributes:
16390
   - success
16391
  """
16392
 
16393
  thrift_spec = (
16394
    (0, TType.BOOL, 'success', None, None, ), # 0
16395
  )
16396
 
16397
  def __init__(self, success=None,):
16398
    self.success = success
16399
 
16400
  def read(self, iprot):
16401
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16402
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16403
      return
16404
    iprot.readStructBegin()
16405
    while True:
16406
      (fname, ftype, fid) = iprot.readFieldBegin()
16407
      if ftype == TType.STOP:
16408
        break
16409
      if fid == 0:
16410
        if ftype == TType.BOOL:
16411
          self.success = iprot.readBool();
16412
        else:
16413
          iprot.skip(ftype)
16414
      else:
16415
        iprot.skip(ftype)
16416
      iprot.readFieldEnd()
16417
    iprot.readStructEnd()
16418
 
16419
  def write(self, oprot):
16420
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16421
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16422
      return
16423
    oprot.writeStructBegin('deleteBannerMap_result')
16424
    if self.success is not None:
16425
      oprot.writeFieldBegin('success', TType.BOOL, 0)
16426
      oprot.writeBool(self.success)
16427
      oprot.writeFieldEnd()
16428
    oprot.writeFieldStop()
16429
    oprot.writeStructEnd()
16430
 
16431
  def validate(self):
16432
    return
16433
 
16434
 
16435
  def __repr__(self):
16436
    L = ['%s=%r' % (key, value)
16437
      for key, value in self.__dict__.iteritems()]
16438
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16439
 
16440
  def __eq__(self, other):
16441
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16442
 
16443
  def __ne__(self, other):
16444
    return not (self == other)
16445
 
16446
class getBannerMapDetails_args:
16447
  """
16448
  Attributes:
16449
   - bannerName
9155 kshitij.so 16450
   - bannerType
6849 kshitij.so 16451
  """
16452
 
16453
  thrift_spec = (
16454
    None, # 0
16455
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16456
    (2, TType.I32, 'bannerType', None, None, ), # 2
6849 kshitij.so 16457
  )
16458
 
9155 kshitij.so 16459
  def __init__(self, bannerName=None, bannerType=None,):
6849 kshitij.so 16460
    self.bannerName = bannerName
9155 kshitij.so 16461
    self.bannerType = bannerType
6849 kshitij.so 16462
 
16463
  def read(self, iprot):
16464
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16465
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16466
      return
16467
    iprot.readStructBegin()
16468
    while True:
16469
      (fname, ftype, fid) = iprot.readFieldBegin()
16470
      if ftype == TType.STOP:
16471
        break
16472
      if fid == 1:
16473
        if ftype == TType.STRING:
16474
          self.bannerName = iprot.readString();
16475
        else:
16476
          iprot.skip(ftype)
9155 kshitij.so 16477
      elif fid == 2:
16478
        if ftype == TType.I32:
16479
          self.bannerType = iprot.readI32();
16480
        else:
16481
          iprot.skip(ftype)
6849 kshitij.so 16482
      else:
16483
        iprot.skip(ftype)
16484
      iprot.readFieldEnd()
16485
    iprot.readStructEnd()
16486
 
16487
  def write(self, oprot):
16488
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16489
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16490
      return
16491
    oprot.writeStructBegin('getBannerMapDetails_args')
16492
    if self.bannerName is not None:
16493
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16494
      oprot.writeString(self.bannerName)
16495
      oprot.writeFieldEnd()
9155 kshitij.so 16496
    if self.bannerType is not None:
16497
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
16498
      oprot.writeI32(self.bannerType)
16499
      oprot.writeFieldEnd()
6849 kshitij.so 16500
    oprot.writeFieldStop()
16501
    oprot.writeStructEnd()
16502
 
16503
  def validate(self):
16504
    return
16505
 
16506
 
16507
  def __repr__(self):
16508
    L = ['%s=%r' % (key, value)
16509
      for key, value in self.__dict__.iteritems()]
16510
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16511
 
16512
  def __eq__(self, other):
16513
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16514
 
16515
  def __ne__(self, other):
16516
    return not (self == other)
16517
 
16518
class getBannerMapDetails_result:
16519
  """
16520
  Attributes:
16521
   - success
16522
  """
16523
 
16524
  thrift_spec = (
16525
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 0
16526
  )
16527
 
16528
  def __init__(self, success=None,):
16529
    self.success = success
16530
 
16531
  def read(self, iprot):
16532
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16533
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16534
      return
16535
    iprot.readStructBegin()
16536
    while True:
16537
      (fname, ftype, fid) = iprot.readFieldBegin()
16538
      if ftype == TType.STOP:
16539
        break
16540
      if fid == 0:
16541
        if ftype == TType.LIST:
16542
          self.success = []
13493 amit.gupta 16543
          (_etype253, _size250) = iprot.readListBegin()
16544
          for _i254 in xrange(_size250):
16545
            _elem255 = BannerMap()
16546
            _elem255.read(iprot)
16547
            self.success.append(_elem255)
6849 kshitij.so 16548
          iprot.readListEnd()
16549
        else:
16550
          iprot.skip(ftype)
16551
      else:
16552
        iprot.skip(ftype)
16553
      iprot.readFieldEnd()
16554
    iprot.readStructEnd()
16555
 
16556
  def write(self, oprot):
16557
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16558
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16559
      return
16560
    oprot.writeStructBegin('getBannerMapDetails_result')
16561
    if self.success is not None:
16562
      oprot.writeFieldBegin('success', TType.LIST, 0)
16563
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 16564
      for iter256 in self.success:
16565
        iter256.write(oprot)
6849 kshitij.so 16566
      oprot.writeListEnd()
16567
      oprot.writeFieldEnd()
16568
    oprot.writeFieldStop()
16569
    oprot.writeStructEnd()
16570
 
16571
  def validate(self):
16572
    return
16573
 
16574
 
16575
  def __repr__(self):
16576
    L = ['%s=%r' % (key, value)
16577
      for key, value in self.__dict__.iteritems()]
16578
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16579
 
16580
  def __eq__(self, other):
16581
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16582
 
16583
  def __ne__(self, other):
16584
    return not (self == other)
16585
 
8579 kshitij.so 16586
class addBannerUri_args:
16587
  """
16588
  Attributes:
16589
   - bannerUriMappings
16590
  """
16591
 
16592
  thrift_spec = (
16593
    None, # 0
16594
    (1, TType.LIST, 'bannerUriMappings', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 1
16595
  )
16596
 
16597
  def __init__(self, bannerUriMappings=None,):
16598
    self.bannerUriMappings = bannerUriMappings
16599
 
16600
  def read(self, iprot):
16601
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16602
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16603
      return
16604
    iprot.readStructBegin()
16605
    while True:
16606
      (fname, ftype, fid) = iprot.readFieldBegin()
16607
      if ftype == TType.STOP:
16608
        break
16609
      if fid == 1:
16610
        if ftype == TType.LIST:
16611
          self.bannerUriMappings = []
13493 amit.gupta 16612
          (_etype260, _size257) = iprot.readListBegin()
16613
          for _i261 in xrange(_size257):
16614
            _elem262 = BannerUriMapping()
16615
            _elem262.read(iprot)
16616
            self.bannerUriMappings.append(_elem262)
8579 kshitij.so 16617
          iprot.readListEnd()
16618
        else:
16619
          iprot.skip(ftype)
16620
      else:
16621
        iprot.skip(ftype)
16622
      iprot.readFieldEnd()
16623
    iprot.readStructEnd()
16624
 
16625
  def write(self, oprot):
16626
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16627
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16628
      return
16629
    oprot.writeStructBegin('addBannerUri_args')
16630
    if self.bannerUriMappings is not None:
16631
      oprot.writeFieldBegin('bannerUriMappings', TType.LIST, 1)
16632
      oprot.writeListBegin(TType.STRUCT, len(self.bannerUriMappings))
13493 amit.gupta 16633
      for iter263 in self.bannerUriMappings:
16634
        iter263.write(oprot)
8579 kshitij.so 16635
      oprot.writeListEnd()
16636
      oprot.writeFieldEnd()
16637
    oprot.writeFieldStop()
16638
    oprot.writeStructEnd()
16639
 
16640
  def validate(self):
16641
    return
16642
 
16643
 
16644
  def __repr__(self):
16645
    L = ['%s=%r' % (key, value)
16646
      for key, value in self.__dict__.iteritems()]
16647
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16648
 
16649
  def __eq__(self, other):
16650
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16651
 
16652
  def __ne__(self, other):
16653
    return not (self == other)
16654
 
16655
class addBannerUri_result:
16656
 
16657
  thrift_spec = (
16658
  )
16659
 
16660
  def read(self, iprot):
16661
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16662
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16663
      return
16664
    iprot.readStructBegin()
16665
    while True:
16666
      (fname, ftype, fid) = iprot.readFieldBegin()
16667
      if ftype == TType.STOP:
16668
        break
16669
      else:
16670
        iprot.skip(ftype)
16671
      iprot.readFieldEnd()
16672
    iprot.readStructEnd()
16673
 
16674
  def write(self, oprot):
16675
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16676
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16677
      return
16678
    oprot.writeStructBegin('addBannerUri_result')
16679
    oprot.writeFieldStop()
16680
    oprot.writeStructEnd()
16681
 
16682
  def validate(self):
16683
    return
16684
 
16685
 
16686
  def __repr__(self):
16687
    L = ['%s=%r' % (key, value)
16688
      for key, value in self.__dict__.iteritems()]
16689
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16690
 
16691
  def __eq__(self, other):
16692
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16693
 
16694
  def __ne__(self, other):
16695
    return not (self == other)
16696
 
16697
class getUriMapping_args:
16698
  """
16699
  Attributes:
16700
   - bannerName
9155 kshitij.so 16701
   - bannerType
8579 kshitij.so 16702
  """
16703
 
16704
  thrift_spec = (
16705
    None, # 0
16706
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16707
    (2, TType.I32, 'bannerType', None, None, ), # 2
8579 kshitij.so 16708
  )
16709
 
9155 kshitij.so 16710
  def __init__(self, bannerName=None, bannerType=None,):
8579 kshitij.so 16711
    self.bannerName = bannerName
9155 kshitij.so 16712
    self.bannerType = bannerType
8579 kshitij.so 16713
 
16714
  def read(self, iprot):
16715
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16716
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16717
      return
16718
    iprot.readStructBegin()
16719
    while True:
16720
      (fname, ftype, fid) = iprot.readFieldBegin()
16721
      if ftype == TType.STOP:
16722
        break
16723
      if fid == 1:
16724
        if ftype == TType.STRING:
16725
          self.bannerName = iprot.readString();
16726
        else:
16727
          iprot.skip(ftype)
9155 kshitij.so 16728
      elif fid == 2:
16729
        if ftype == TType.I32:
16730
          self.bannerType = iprot.readI32();
16731
        else:
16732
          iprot.skip(ftype)
8579 kshitij.so 16733
      else:
16734
        iprot.skip(ftype)
16735
      iprot.readFieldEnd()
16736
    iprot.readStructEnd()
16737
 
16738
  def write(self, oprot):
16739
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16740
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16741
      return
16742
    oprot.writeStructBegin('getUriMapping_args')
16743
    if self.bannerName is not None:
16744
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16745
      oprot.writeString(self.bannerName)
16746
      oprot.writeFieldEnd()
9155 kshitij.so 16747
    if self.bannerType is not None:
16748
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
16749
      oprot.writeI32(self.bannerType)
16750
      oprot.writeFieldEnd()
8579 kshitij.so 16751
    oprot.writeFieldStop()
16752
    oprot.writeStructEnd()
16753
 
16754
  def validate(self):
16755
    return
16756
 
16757
 
16758
  def __repr__(self):
16759
    L = ['%s=%r' % (key, value)
16760
      for key, value in self.__dict__.iteritems()]
16761
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16762
 
16763
  def __eq__(self, other):
16764
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16765
 
16766
  def __ne__(self, other):
16767
    return not (self == other)
16768
 
16769
class getUriMapping_result:
16770
  """
16771
  Attributes:
16772
   - success
16773
  """
16774
 
16775
  thrift_spec = (
16776
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 0
16777
  )
16778
 
16779
  def __init__(self, success=None,):
16780
    self.success = success
16781
 
16782
  def read(self, iprot):
16783
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16784
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16785
      return
16786
    iprot.readStructBegin()
16787
    while True:
16788
      (fname, ftype, fid) = iprot.readFieldBegin()
16789
      if ftype == TType.STOP:
16790
        break
16791
      if fid == 0:
16792
        if ftype == TType.LIST:
16793
          self.success = []
13493 amit.gupta 16794
          (_etype267, _size264) = iprot.readListBegin()
16795
          for _i268 in xrange(_size264):
16796
            _elem269 = BannerUriMapping()
16797
            _elem269.read(iprot)
16798
            self.success.append(_elem269)
8579 kshitij.so 16799
          iprot.readListEnd()
16800
        else:
16801
          iprot.skip(ftype)
16802
      else:
16803
        iprot.skip(ftype)
16804
      iprot.readFieldEnd()
16805
    iprot.readStructEnd()
16806
 
16807
  def write(self, oprot):
16808
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16809
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16810
      return
16811
    oprot.writeStructBegin('getUriMapping_result')
16812
    if self.success is not None:
16813
      oprot.writeFieldBegin('success', TType.LIST, 0)
16814
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 16815
      for iter270 in self.success:
16816
        iter270.write(oprot)
8579 kshitij.so 16817
      oprot.writeListEnd()
16818
      oprot.writeFieldEnd()
16819
    oprot.writeFieldStop()
16820
    oprot.writeStructEnd()
16821
 
16822
  def validate(self):
16823
    return
16824
 
16825
 
16826
  def __repr__(self):
16827
    L = ['%s=%r' % (key, value)
16828
      for key, value in self.__dict__.iteritems()]
16829
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16830
 
16831
  def __eq__(self, other):
16832
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16833
 
16834
  def __ne__(self, other):
16835
    return not (self == other)
16836
 
16837
class addCampaign_args:
16838
  """
16839
  Attributes:
16840
   - campaign
16841
  """
16842
 
16843
  thrift_spec = (
16844
    None, # 0
16845
    (1, TType.STRUCT, 'campaign', (Campaign, Campaign.thrift_spec), None, ), # 1
16846
  )
16847
 
16848
  def __init__(self, campaign=None,):
16849
    self.campaign = campaign
16850
 
16851
  def read(self, iprot):
16852
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16853
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16854
      return
16855
    iprot.readStructBegin()
16856
    while True:
16857
      (fname, ftype, fid) = iprot.readFieldBegin()
16858
      if ftype == TType.STOP:
16859
        break
16860
      if fid == 1:
16861
        if ftype == TType.STRUCT:
16862
          self.campaign = Campaign()
16863
          self.campaign.read(iprot)
16864
        else:
16865
          iprot.skip(ftype)
16866
      else:
16867
        iprot.skip(ftype)
16868
      iprot.readFieldEnd()
16869
    iprot.readStructEnd()
16870
 
16871
  def write(self, oprot):
16872
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16873
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16874
      return
16875
    oprot.writeStructBegin('addCampaign_args')
16876
    if self.campaign is not None:
16877
      oprot.writeFieldBegin('campaign', TType.STRUCT, 1)
16878
      self.campaign.write(oprot)
16879
      oprot.writeFieldEnd()
16880
    oprot.writeFieldStop()
16881
    oprot.writeStructEnd()
16882
 
16883
  def validate(self):
16884
    return
16885
 
16886
 
16887
  def __repr__(self):
16888
    L = ['%s=%r' % (key, value)
16889
      for key, value in self.__dict__.iteritems()]
16890
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16891
 
16892
  def __eq__(self, other):
16893
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16894
 
16895
  def __ne__(self, other):
16896
    return not (self == other)
16897
 
16898
class addCampaign_result:
16899
 
16900
  thrift_spec = (
16901
  )
16902
 
16903
  def read(self, iprot):
16904
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16905
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16906
      return
16907
    iprot.readStructBegin()
16908
    while True:
16909
      (fname, ftype, fid) = iprot.readFieldBegin()
16910
      if ftype == TType.STOP:
16911
        break
16912
      else:
16913
        iprot.skip(ftype)
16914
      iprot.readFieldEnd()
16915
    iprot.readStructEnd()
16916
 
16917
  def write(self, oprot):
16918
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16919
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16920
      return
16921
    oprot.writeStructBegin('addCampaign_result')
16922
    oprot.writeFieldStop()
16923
    oprot.writeStructEnd()
16924
 
16925
  def validate(self):
16926
    return
16927
 
16928
 
16929
  def __repr__(self):
16930
    L = ['%s=%r' % (key, value)
16931
      for key, value in self.__dict__.iteritems()]
16932
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16933
 
16934
  def __eq__(self, other):
16935
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16936
 
16937
  def __ne__(self, other):
16938
    return not (self == other)
16939
 
16940
class getCampaigns_args:
16941
  """
16942
  Attributes:
16943
   - campaignName
16944
  """
16945
 
16946
  thrift_spec = (
16947
    None, # 0
16948
    (1, TType.STRING, 'campaignName', None, None, ), # 1
16949
  )
16950
 
16951
  def __init__(self, campaignName=None,):
16952
    self.campaignName = campaignName
16953
 
16954
  def read(self, iprot):
16955
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16956
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16957
      return
16958
    iprot.readStructBegin()
16959
    while True:
16960
      (fname, ftype, fid) = iprot.readFieldBegin()
16961
      if ftype == TType.STOP:
16962
        break
16963
      if fid == 1:
16964
        if ftype == TType.STRING:
16965
          self.campaignName = iprot.readString();
16966
        else:
16967
          iprot.skip(ftype)
16968
      else:
16969
        iprot.skip(ftype)
16970
      iprot.readFieldEnd()
16971
    iprot.readStructEnd()
16972
 
16973
  def write(self, oprot):
16974
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16975
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16976
      return
16977
    oprot.writeStructBegin('getCampaigns_args')
16978
    if self.campaignName is not None:
16979
      oprot.writeFieldBegin('campaignName', TType.STRING, 1)
16980
      oprot.writeString(self.campaignName)
16981
      oprot.writeFieldEnd()
16982
    oprot.writeFieldStop()
16983
    oprot.writeStructEnd()
16984
 
16985
  def validate(self):
16986
    return
16987
 
16988
 
16989
  def __repr__(self):
16990
    L = ['%s=%r' % (key, value)
16991
      for key, value in self.__dict__.iteritems()]
16992
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16993
 
16994
  def __eq__(self, other):
16995
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16996
 
16997
  def __ne__(self, other):
16998
    return not (self == other)
16999
 
17000
class getCampaigns_result:
17001
  """
17002
  Attributes:
17003
   - success
17004
  """
17005
 
17006
  thrift_spec = (
17007
    (0, TType.LIST, 'success', (TType.STRUCT,(Campaign, Campaign.thrift_spec)), None, ), # 0
17008
  )
17009
 
17010
  def __init__(self, success=None,):
17011
    self.success = success
17012
 
17013
  def read(self, iprot):
17014
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17015
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17016
      return
17017
    iprot.readStructBegin()
17018
    while True:
17019
      (fname, ftype, fid) = iprot.readFieldBegin()
17020
      if ftype == TType.STOP:
17021
        break
17022
      if fid == 0:
17023
        if ftype == TType.LIST:
17024
          self.success = []
13493 amit.gupta 17025
          (_etype274, _size271) = iprot.readListBegin()
17026
          for _i275 in xrange(_size271):
17027
            _elem276 = Campaign()
17028
            _elem276.read(iprot)
17029
            self.success.append(_elem276)
8579 kshitij.so 17030
          iprot.readListEnd()
17031
        else:
17032
          iprot.skip(ftype)
17033
      else:
17034
        iprot.skip(ftype)
17035
      iprot.readFieldEnd()
17036
    iprot.readStructEnd()
17037
 
17038
  def write(self, oprot):
17039
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17040
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17041
      return
17042
    oprot.writeStructBegin('getCampaigns_result')
17043
    if self.success is not None:
17044
      oprot.writeFieldBegin('success', TType.LIST, 0)
17045
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 17046
      for iter277 in self.success:
17047
        iter277.write(oprot)
8579 kshitij.so 17048
      oprot.writeListEnd()
17049
      oprot.writeFieldEnd()
17050
    oprot.writeFieldStop()
17051
    oprot.writeStructEnd()
17052
 
17053
  def validate(self):
17054
    return
17055
 
17056
 
17057
  def __repr__(self):
17058
    L = ['%s=%r' % (key, value)
17059
      for key, value in self.__dict__.iteritems()]
17060
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17061
 
17062
  def __eq__(self, other):
17063
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17064
 
17065
  def __ne__(self, other):
17066
    return not (self == other)
17067
 
17068
class deleteCampaign_args:
17069
  """
17070
  Attributes:
17071
   - campaignId
17072
  """
17073
 
17074
  thrift_spec = (
17075
    None, # 0
17076
    (1, TType.I64, 'campaignId', None, None, ), # 1
17077
  )
17078
 
17079
  def __init__(self, campaignId=None,):
17080
    self.campaignId = campaignId
17081
 
17082
  def read(self, iprot):
17083
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17084
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17085
      return
17086
    iprot.readStructBegin()
17087
    while True:
17088
      (fname, ftype, fid) = iprot.readFieldBegin()
17089
      if ftype == TType.STOP:
17090
        break
17091
      if fid == 1:
17092
        if ftype == TType.I64:
17093
          self.campaignId = iprot.readI64();
17094
        else:
17095
          iprot.skip(ftype)
17096
      else:
17097
        iprot.skip(ftype)
17098
      iprot.readFieldEnd()
17099
    iprot.readStructEnd()
17100
 
17101
  def write(self, oprot):
17102
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17103
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17104
      return
17105
    oprot.writeStructBegin('deleteCampaign_args')
17106
    if self.campaignId is not None:
17107
      oprot.writeFieldBegin('campaignId', TType.I64, 1)
17108
      oprot.writeI64(self.campaignId)
17109
      oprot.writeFieldEnd()
17110
    oprot.writeFieldStop()
17111
    oprot.writeStructEnd()
17112
 
17113
  def validate(self):
17114
    return
17115
 
17116
 
17117
  def __repr__(self):
17118
    L = ['%s=%r' % (key, value)
17119
      for key, value in self.__dict__.iteritems()]
17120
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17121
 
17122
  def __eq__(self, other):
17123
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17124
 
17125
  def __ne__(self, other):
17126
    return not (self == other)
17127
 
17128
class deleteCampaign_result:
17129
 
17130
  thrift_spec = (
17131
  )
17132
 
17133
  def read(self, iprot):
17134
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17135
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17136
      return
17137
    iprot.readStructBegin()
17138
    while True:
17139
      (fname, ftype, fid) = iprot.readFieldBegin()
17140
      if ftype == TType.STOP:
17141
        break
17142
      else:
17143
        iprot.skip(ftype)
17144
      iprot.readFieldEnd()
17145
    iprot.readStructEnd()
17146
 
17147
  def write(self, oprot):
17148
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17149
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17150
      return
17151
    oprot.writeStructBegin('deleteCampaign_result')
17152
    oprot.writeFieldStop()
17153
    oprot.writeStructEnd()
17154
 
17155
  def validate(self):
17156
    return
17157
 
17158
 
17159
  def __repr__(self):
17160
    L = ['%s=%r' % (key, value)
17161
      for key, value in self.__dict__.iteritems()]
17162
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17163
 
17164
  def __eq__(self, other):
17165
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17166
 
17167
  def __ne__(self, other):
17168
    return not (self == other)
17169
 
17170
class getAllCampaigns_args:
17171
 
17172
  thrift_spec = (
17173
  )
17174
 
17175
  def read(self, iprot):
17176
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17177
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17178
      return
17179
    iprot.readStructBegin()
17180
    while True:
17181
      (fname, ftype, fid) = iprot.readFieldBegin()
17182
      if ftype == TType.STOP:
17183
        break
17184
      else:
17185
        iprot.skip(ftype)
17186
      iprot.readFieldEnd()
17187
    iprot.readStructEnd()
17188
 
17189
  def write(self, oprot):
17190
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17191
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17192
      return
17193
    oprot.writeStructBegin('getAllCampaigns_args')
17194
    oprot.writeFieldStop()
17195
    oprot.writeStructEnd()
17196
 
17197
  def validate(self):
17198
    return
17199
 
17200
 
17201
  def __repr__(self):
17202
    L = ['%s=%r' % (key, value)
17203
      for key, value in self.__dict__.iteritems()]
17204
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17205
 
17206
  def __eq__(self, other):
17207
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17208
 
17209
  def __ne__(self, other):
17210
    return not (self == other)
17211
 
17212
class getAllCampaigns_result:
17213
  """
17214
  Attributes:
17215
   - success
17216
  """
17217
 
17218
  thrift_spec = (
17219
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
17220
  )
17221
 
17222
  def __init__(self, success=None,):
17223
    self.success = success
17224
 
17225
  def read(self, iprot):
17226
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17227
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17228
      return
17229
    iprot.readStructBegin()
17230
    while True:
17231
      (fname, ftype, fid) = iprot.readFieldBegin()
17232
      if ftype == TType.STOP:
17233
        break
17234
      if fid == 0:
17235
        if ftype == TType.LIST:
17236
          self.success = []
13493 amit.gupta 17237
          (_etype281, _size278) = iprot.readListBegin()
17238
          for _i282 in xrange(_size278):
17239
            _elem283 = iprot.readString();
17240
            self.success.append(_elem283)
8579 kshitij.so 17241
          iprot.readListEnd()
17242
        else:
17243
          iprot.skip(ftype)
17244
      else:
17245
        iprot.skip(ftype)
17246
      iprot.readFieldEnd()
17247
    iprot.readStructEnd()
17248
 
17249
  def write(self, oprot):
17250
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17251
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17252
      return
17253
    oprot.writeStructBegin('getAllCampaigns_result')
17254
    if self.success is not None:
17255
      oprot.writeFieldBegin('success', TType.LIST, 0)
17256
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 17257
      for iter284 in self.success:
17258
        oprot.writeString(iter284)
8579 kshitij.so 17259
      oprot.writeListEnd()
17260
      oprot.writeFieldEnd()
17261
    oprot.writeFieldStop()
17262
    oprot.writeStructEnd()
17263
 
17264
  def validate(self):
17265
    return
17266
 
17267
 
17268
  def __repr__(self):
17269
    L = ['%s=%r' % (key, value)
17270
      for key, value in self.__dict__.iteritems()]
17271
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17272
 
17273
  def __eq__(self, other):
17274
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17275
 
17276
  def __ne__(self, other):
17277
    return not (self == other)
17278
 
9155 kshitij.so 17279
class getActiveBannersForMobileSite_args:
17280
 
17281
  thrift_spec = (
17282
  )
17283
 
17284
  def read(self, iprot):
17285
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17286
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17287
      return
17288
    iprot.readStructBegin()
17289
    while True:
17290
      (fname, ftype, fid) = iprot.readFieldBegin()
17291
      if ftype == TType.STOP:
17292
        break
17293
      else:
17294
        iprot.skip(ftype)
17295
      iprot.readFieldEnd()
17296
    iprot.readStructEnd()
17297
 
17298
  def write(self, oprot):
17299
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17300
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17301
      return
17302
    oprot.writeStructBegin('getActiveBannersForMobileSite_args')
17303
    oprot.writeFieldStop()
17304
    oprot.writeStructEnd()
17305
 
17306
  def validate(self):
17307
    return
17308
 
17309
 
17310
  def __repr__(self):
17311
    L = ['%s=%r' % (key, value)
17312
      for key, value in self.__dict__.iteritems()]
17313
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17314
 
17315
  def __eq__(self, other):
17316
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17317
 
17318
  def __ne__(self, other):
17319
    return not (self == other)
17320
 
17321
class getActiveBannersForMobileSite_result:
17322
  """
17323
  Attributes:
17324
   - success
17325
  """
17326
 
17327
  thrift_spec = (
17328
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
17329
  )
17330
 
17331
  def __init__(self, success=None,):
17332
    self.success = success
17333
 
17334
  def read(self, iprot):
17335
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17336
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17337
      return
17338
    iprot.readStructBegin()
17339
    while True:
17340
      (fname, ftype, fid) = iprot.readFieldBegin()
17341
      if ftype == TType.STOP:
17342
        break
17343
      if fid == 0:
17344
        if ftype == TType.MAP:
17345
          self.success = {}
13493 amit.gupta 17346
          (_ktype286, _vtype287, _size285 ) = iprot.readMapBegin() 
17347
          for _i289 in xrange(_size285):
17348
            _key290 = iprot.readString();
17349
            _val291 = []
17350
            (_etype295, _size292) = iprot.readListBegin()
17351
            for _i296 in xrange(_size292):
17352
              _elem297 = Banner()
17353
              _elem297.read(iprot)
17354
              _val291.append(_elem297)
9155 kshitij.so 17355
            iprot.readListEnd()
13493 amit.gupta 17356
            self.success[_key290] = _val291
9155 kshitij.so 17357
          iprot.readMapEnd()
17358
        else:
17359
          iprot.skip(ftype)
17360
      else:
17361
        iprot.skip(ftype)
17362
      iprot.readFieldEnd()
17363
    iprot.readStructEnd()
17364
 
17365
  def write(self, oprot):
17366
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17367
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17368
      return
17369
    oprot.writeStructBegin('getActiveBannersForMobileSite_result')
17370
    if self.success is not None:
17371
      oprot.writeFieldBegin('success', TType.MAP, 0)
17372
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
13493 amit.gupta 17373
      for kiter298,viter299 in self.success.items():
17374
        oprot.writeString(kiter298)
17375
        oprot.writeListBegin(TType.STRUCT, len(viter299))
17376
        for iter300 in viter299:
17377
          iter300.write(oprot)
9155 kshitij.so 17378
        oprot.writeListEnd()
17379
      oprot.writeMapEnd()
17380
      oprot.writeFieldEnd()
17381
    oprot.writeFieldStop()
17382
    oprot.writeStructEnd()
17383
 
17384
  def validate(self):
17385
    return
17386
 
17387
 
17388
  def __repr__(self):
17389
    L = ['%s=%r' % (key, value)
17390
      for key, value in self.__dict__.iteritems()]
17391
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17392
 
17393
  def __eq__(self, other):
17394
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17395
 
17396
  def __ne__(self, other):
17397
    return not (self == other)
17398
 
5944 mandeep.dh 17399
class deleteSimilarItem_args:
17400
  """
17401
  Attributes:
17402
   - itemId
17403
   - catalogItemId
17404
  """
17405
 
17406
  thrift_spec = (
17407
    None, # 0
17408
    (1, TType.I64, 'itemId', None, None, ), # 1
17409
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
17410
  )
17411
 
17412
  def __init__(self, itemId=None, catalogItemId=None,):
17413
    self.itemId = itemId
17414
    self.catalogItemId = catalogItemId
17415
 
17416
  def read(self, iprot):
17417
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17418
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17419
      return
17420
    iprot.readStructBegin()
17421
    while True:
17422
      (fname, ftype, fid) = iprot.readFieldBegin()
17423
      if ftype == TType.STOP:
17424
        break
17425
      if fid == 1:
17426
        if ftype == TType.I64:
17427
          self.itemId = iprot.readI64();
17428
        else:
17429
          iprot.skip(ftype)
17430
      elif fid == 2:
17431
        if ftype == TType.I64:
17432
          self.catalogItemId = iprot.readI64();
17433
        else:
17434
          iprot.skip(ftype)
17435
      else:
17436
        iprot.skip(ftype)
17437
      iprot.readFieldEnd()
17438
    iprot.readStructEnd()
17439
 
17440
  def write(self, oprot):
17441
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17442
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17443
      return
17444
    oprot.writeStructBegin('deleteSimilarItem_args')
17445
    if self.itemId is not None:
17446
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17447
      oprot.writeI64(self.itemId)
17448
      oprot.writeFieldEnd()
17449
    if self.catalogItemId is not None:
17450
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
17451
      oprot.writeI64(self.catalogItemId)
17452
      oprot.writeFieldEnd()
17453
    oprot.writeFieldStop()
17454
    oprot.writeStructEnd()
17455
 
17456
  def validate(self):
17457
    return
17458
 
17459
 
17460
  def __repr__(self):
17461
    L = ['%s=%r' % (key, value)
17462
      for key, value in self.__dict__.iteritems()]
17463
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17464
 
17465
  def __eq__(self, other):
17466
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17467
 
17468
  def __ne__(self, other):
17469
    return not (self == other)
17470
 
17471
class deleteSimilarItem_result:
17472
  """
17473
  Attributes:
17474
   - success
17475
   - cex
17476
  """
17477
 
17478
  thrift_spec = (
17479
    (0, TType.BOOL, 'success', None, None, ), # 0
17480
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
17481
  )
17482
 
17483
  def __init__(self, success=None, cex=None,):
17484
    self.success = success
17485
    self.cex = cex
17486
 
17487
  def read(self, iprot):
17488
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17489
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17490
      return
17491
    iprot.readStructBegin()
17492
    while True:
17493
      (fname, ftype, fid) = iprot.readFieldBegin()
17494
      if ftype == TType.STOP:
17495
        break
17496
      if fid == 0:
17497
        if ftype == TType.BOOL:
17498
          self.success = iprot.readBool();
17499
        else:
17500
          iprot.skip(ftype)
17501
      elif fid == 1:
17502
        if ftype == TType.STRUCT:
17503
          self.cex = CatalogServiceException()
17504
          self.cex.read(iprot)
17505
        else:
17506
          iprot.skip(ftype)
17507
      else:
17508
        iprot.skip(ftype)
17509
      iprot.readFieldEnd()
17510
    iprot.readStructEnd()
17511
 
17512
  def write(self, oprot):
17513
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17514
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17515
      return
17516
    oprot.writeStructBegin('deleteSimilarItem_result')
17517
    if self.success is not None:
17518
      oprot.writeFieldBegin('success', TType.BOOL, 0)
17519
      oprot.writeBool(self.success)
17520
      oprot.writeFieldEnd()
17521
    if self.cex is not None:
17522
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
17523
      self.cex.write(oprot)
17524
      oprot.writeFieldEnd()
17525
    oprot.writeFieldStop()
17526
    oprot.writeStructEnd()
17527
 
17528
  def validate(self):
17529
    return
17530
 
17531
 
17532
  def __repr__(self):
17533
    L = ['%s=%r' % (key, value)
17534
      for key, value in self.__dict__.iteritems()]
17535
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17536
 
17537
  def __eq__(self, other):
17538
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17539
 
17540
  def __ne__(self, other):
17541
    return not (self == other)
17542
 
17543
class checkSimilarItem_args:
17544
  """
17545
  Attributes:
17546
   - brand
17547
   - modelNumber
17548
   - modelName
17549
   - color
17550
  """
17551
 
17552
  thrift_spec = (
17553
    None, # 0
17554
    (1, TType.STRING, 'brand', None, None, ), # 1
17555
    (2, TType.STRING, 'modelNumber', None, None, ), # 2
17556
    (3, TType.STRING, 'modelName', None, None, ), # 3
17557
    (4, TType.STRING, 'color', None, None, ), # 4
17558
  )
17559
 
17560
  def __init__(self, brand=None, modelNumber=None, modelName=None, color=None,):
17561
    self.brand = brand
17562
    self.modelNumber = modelNumber
17563
    self.modelName = modelName
17564
    self.color = color
17565
 
17566
  def read(self, iprot):
17567
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17568
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17569
      return
17570
    iprot.readStructBegin()
17571
    while True:
17572
      (fname, ftype, fid) = iprot.readFieldBegin()
17573
      if ftype == TType.STOP:
17574
        break
17575
      if fid == 1:
17576
        if ftype == TType.STRING:
17577
          self.brand = iprot.readString();
17578
        else:
17579
          iprot.skip(ftype)
17580
      elif fid == 2:
17581
        if ftype == TType.STRING:
17582
          self.modelNumber = iprot.readString();
17583
        else:
17584
          iprot.skip(ftype)
17585
      elif fid == 3:
17586
        if ftype == TType.STRING:
17587
          self.modelName = iprot.readString();
17588
        else:
17589
          iprot.skip(ftype)
17590
      elif fid == 4:
17591
        if ftype == TType.STRING:
17592
          self.color = iprot.readString();
17593
        else:
17594
          iprot.skip(ftype)
17595
      else:
17596
        iprot.skip(ftype)
17597
      iprot.readFieldEnd()
17598
    iprot.readStructEnd()
17599
 
17600
  def write(self, oprot):
17601
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17602
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17603
      return
17604
    oprot.writeStructBegin('checkSimilarItem_args')
17605
    if self.brand is not None:
17606
      oprot.writeFieldBegin('brand', TType.STRING, 1)
17607
      oprot.writeString(self.brand)
17608
      oprot.writeFieldEnd()
17609
    if self.modelNumber is not None:
17610
      oprot.writeFieldBegin('modelNumber', TType.STRING, 2)
17611
      oprot.writeString(self.modelNumber)
17612
      oprot.writeFieldEnd()
17613
    if self.modelName is not None:
17614
      oprot.writeFieldBegin('modelName', TType.STRING, 3)
17615
      oprot.writeString(self.modelName)
17616
      oprot.writeFieldEnd()
17617
    if self.color is not None:
17618
      oprot.writeFieldBegin('color', TType.STRING, 4)
17619
      oprot.writeString(self.color)
17620
      oprot.writeFieldEnd()
17621
    oprot.writeFieldStop()
17622
    oprot.writeStructEnd()
17623
 
17624
  def validate(self):
17625
    return
17626
 
17627
 
17628
  def __repr__(self):
17629
    L = ['%s=%r' % (key, value)
17630
      for key, value in self.__dict__.iteritems()]
17631
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17632
 
17633
  def __eq__(self, other):
17634
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17635
 
17636
  def __ne__(self, other):
17637
    return not (self == other)
17638
 
17639
class checkSimilarItem_result:
17640
  """
17641
  Attributes:
17642
   - success
17643
  """
17644
 
17645
  thrift_spec = (
17646
    (0, TType.I64, 'success', None, None, ), # 0
17647
  )
17648
 
17649
  def __init__(self, success=None,):
17650
    self.success = success
17651
 
17652
  def read(self, iprot):
17653
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17654
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17655
      return
17656
    iprot.readStructBegin()
17657
    while True:
17658
      (fname, ftype, fid) = iprot.readFieldBegin()
17659
      if ftype == TType.STOP:
17660
        break
17661
      if fid == 0:
17662
        if ftype == TType.I64:
17663
          self.success = iprot.readI64();
17664
        else:
17665
          iprot.skip(ftype)
17666
      else:
17667
        iprot.skip(ftype)
17668
      iprot.readFieldEnd()
17669
    iprot.readStructEnd()
17670
 
17671
  def write(self, oprot):
17672
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17673
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17674
      return
17675
    oprot.writeStructBegin('checkSimilarItem_result')
17676
    if self.success is not None:
17677
      oprot.writeFieldBegin('success', TType.I64, 0)
17678
      oprot.writeI64(self.success)
17679
      oprot.writeFieldEnd()
17680
    oprot.writeFieldStop()
17681
    oprot.writeStructEnd()
17682
 
17683
  def validate(self):
17684
    return
17685
 
17686
 
17687
  def __repr__(self):
17688
    L = ['%s=%r' % (key, value)
17689
      for key, value in self.__dict__.iteritems()]
17690
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17691
 
17692
  def __eq__(self, other):
17693
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17694
 
17695
  def __ne__(self, other):
17696
    return not (self == other)
17697
 
17698
class validateRiskyStatus_args:
17699
  """
17700
  Attributes:
17701
   - itemId
17702
  """
17703
 
17704
  thrift_spec = (
17705
    None, # 0
17706
    (1, TType.I64, 'itemId', None, None, ), # 1
17707
  )
17708
 
17709
  def __init__(self, itemId=None,):
17710
    self.itemId = itemId
17711
 
17712
  def read(self, iprot):
17713
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17714
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17715
      return
17716
    iprot.readStructBegin()
17717
    while True:
17718
      (fname, ftype, fid) = iprot.readFieldBegin()
17719
      if ftype == TType.STOP:
17720
        break
17721
      if fid == 1:
17722
        if ftype == TType.I64:
17723
          self.itemId = iprot.readI64();
17724
        else:
17725
          iprot.skip(ftype)
17726
      else:
17727
        iprot.skip(ftype)
17728
      iprot.readFieldEnd()
17729
    iprot.readStructEnd()
17730
 
17731
  def write(self, oprot):
17732
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17733
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17734
      return
17735
    oprot.writeStructBegin('validateRiskyStatus_args')
17736
    if self.itemId is not None:
17737
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17738
      oprot.writeI64(self.itemId)
17739
      oprot.writeFieldEnd()
17740
    oprot.writeFieldStop()
17741
    oprot.writeStructEnd()
17742
 
17743
  def validate(self):
17744
    return
17745
 
17746
 
17747
  def __repr__(self):
17748
    L = ['%s=%r' % (key, value)
17749
      for key, value in self.__dict__.iteritems()]
17750
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17751
 
17752
  def __eq__(self, other):
17753
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17754
 
17755
  def __ne__(self, other):
17756
    return not (self == other)
17757
 
17758
class validateRiskyStatus_result:
17759
 
17760
  thrift_spec = (
17761
  )
17762
 
17763
  def read(self, iprot):
17764
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17765
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17766
      return
17767
    iprot.readStructBegin()
17768
    while True:
17769
      (fname, ftype, fid) = iprot.readFieldBegin()
17770
      if ftype == TType.STOP:
17771
        break
17772
      else:
17773
        iprot.skip(ftype)
17774
      iprot.readFieldEnd()
17775
    iprot.readStructEnd()
17776
 
17777
  def write(self, oprot):
17778
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17779
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17780
      return
17781
    oprot.writeStructBegin('validateRiskyStatus_result')
17782
    oprot.writeFieldStop()
17783
    oprot.writeStructEnd()
17784
 
17785
  def validate(self):
17786
    return
17787
 
17788
 
17789
  def __repr__(self):
17790
    L = ['%s=%r' % (key, value)
17791
      for key, value in self.__dict__.iteritems()]
17792
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17793
 
17794
  def __eq__(self, other):
17795
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17796
 
17797
  def __ne__(self, other):
17798
    return not (self == other)
17799
 
17800
class changeItemRiskyFlag_args:
17801
  """
17802
  Attributes:
17803
   - itemId
17804
   - risky
17805
  """
17806
 
17807
  thrift_spec = (
17808
    None, # 0
17809
    (1, TType.I64, 'itemId', None, None, ), # 1
17810
    (2, TType.BOOL, 'risky', None, None, ), # 2
17811
  )
17812
 
17813
  def __init__(self, itemId=None, risky=None,):
17814
    self.itemId = itemId
17815
    self.risky = risky
17816
 
17817
  def read(self, iprot):
17818
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17819
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17820
      return
17821
    iprot.readStructBegin()
17822
    while True:
17823
      (fname, ftype, fid) = iprot.readFieldBegin()
17824
      if ftype == TType.STOP:
17825
        break
17826
      if fid == 1:
17827
        if ftype == TType.I64:
17828
          self.itemId = iprot.readI64();
17829
        else:
17830
          iprot.skip(ftype)
17831
      elif fid == 2:
17832
        if ftype == TType.BOOL:
17833
          self.risky = iprot.readBool();
17834
        else:
17835
          iprot.skip(ftype)
17836
      else:
17837
        iprot.skip(ftype)
17838
      iprot.readFieldEnd()
17839
    iprot.readStructEnd()
17840
 
17841
  def write(self, oprot):
17842
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17843
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17844
      return
17845
    oprot.writeStructBegin('changeItemRiskyFlag_args')
17846
    if self.itemId is not None:
17847
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17848
      oprot.writeI64(self.itemId)
17849
      oprot.writeFieldEnd()
17850
    if self.risky is not None:
17851
      oprot.writeFieldBegin('risky', TType.BOOL, 2)
17852
      oprot.writeBool(self.risky)
17853
      oprot.writeFieldEnd()
17854
    oprot.writeFieldStop()
17855
    oprot.writeStructEnd()
17856
 
17857
  def validate(self):
17858
    return
17859
 
17860
 
17861
  def __repr__(self):
17862
    L = ['%s=%r' % (key, value)
17863
      for key, value in self.__dict__.iteritems()]
17864
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17865
 
17866
  def __eq__(self, other):
17867
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17868
 
17869
  def __ne__(self, other):
17870
    return not (self == other)
17871
 
17872
class changeItemRiskyFlag_result:
17873
 
17874
  thrift_spec = (
17875
  )
17876
 
17877
  def read(self, iprot):
17878
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17879
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17880
      return
17881
    iprot.readStructBegin()
17882
    while True:
17883
      (fname, ftype, fid) = iprot.readFieldBegin()
17884
      if ftype == TType.STOP:
17885
        break
17886
      else:
17887
        iprot.skip(ftype)
17888
      iprot.readFieldEnd()
17889
    iprot.readStructEnd()
17890
 
17891
  def write(self, oprot):
17892
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17893
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17894
      return
17895
    oprot.writeStructBegin('changeItemRiskyFlag_result')
17896
    oprot.writeFieldStop()
17897
    oprot.writeStructEnd()
17898
 
17899
  def validate(self):
17900
    return
17901
 
17902
 
17903
  def __repr__(self):
17904
    L = ['%s=%r' % (key, value)
17905
      for key, value in self.__dict__.iteritems()]
17906
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17907
 
17908
  def __eq__(self, other):
17909
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17910
 
17911
  def __ne__(self, other):
17912
    return not (self == other)
17913
 
17914
class getItemsByRiskyFlag_args:
17915
 
17916
  thrift_spec = (
17917
  )
17918
 
17919
  def read(self, iprot):
17920
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17921
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17922
      return
17923
    iprot.readStructBegin()
17924
    while True:
17925
      (fname, ftype, fid) = iprot.readFieldBegin()
17926
      if ftype == TType.STOP:
17927
        break
17928
      else:
17929
        iprot.skip(ftype)
17930
      iprot.readFieldEnd()
17931
    iprot.readStructEnd()
17932
 
17933
  def write(self, oprot):
17934
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17935
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17936
      return
17937
    oprot.writeStructBegin('getItemsByRiskyFlag_args')
17938
    oprot.writeFieldStop()
17939
    oprot.writeStructEnd()
17940
 
17941
  def validate(self):
17942
    return
17943
 
17944
 
17945
  def __repr__(self):
17946
    L = ['%s=%r' % (key, value)
17947
      for key, value in self.__dict__.iteritems()]
17948
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17949
 
17950
  def __eq__(self, other):
17951
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17952
 
17953
  def __ne__(self, other):
17954
    return not (self == other)
17955
 
17956
class getItemsByRiskyFlag_result:
17957
  """
17958
  Attributes:
17959
   - success
17960
  """
17961
 
17962
  thrift_spec = (
17963
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
17964
  )
17965
 
17966
  def __init__(self, success=None,):
17967
    self.success = success
17968
 
17969
  def read(self, iprot):
17970
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17971
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17972
      return
17973
    iprot.readStructBegin()
17974
    while True:
17975
      (fname, ftype, fid) = iprot.readFieldBegin()
17976
      if ftype == TType.STOP:
17977
        break
17978
      if fid == 0:
17979
        if ftype == TType.LIST:
17980
          self.success = []
13493 amit.gupta 17981
          (_etype304, _size301) = iprot.readListBegin()
17982
          for _i305 in xrange(_size301):
17983
            _elem306 = Item()
17984
            _elem306.read(iprot)
17985
            self.success.append(_elem306)
5944 mandeep.dh 17986
          iprot.readListEnd()
17987
        else:
17988
          iprot.skip(ftype)
17989
      else:
17990
        iprot.skip(ftype)
17991
      iprot.readFieldEnd()
17992
    iprot.readStructEnd()
17993
 
17994
  def write(self, oprot):
17995
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17996
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17997
      return
17998
    oprot.writeStructBegin('getItemsByRiskyFlag_result')
17999
    if self.success is not None:
18000
      oprot.writeFieldBegin('success', TType.LIST, 0)
18001
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 18002
      for iter307 in self.success:
18003
        iter307.write(oprot)
5944 mandeep.dh 18004
      oprot.writeListEnd()
18005
      oprot.writeFieldEnd()
18006
    oprot.writeFieldStop()
18007
    oprot.writeStructEnd()
18008
 
18009
  def validate(self):
18010
    return
18011
 
18012
 
18013
  def __repr__(self):
18014
    L = ['%s=%r' % (key, value)
18015
      for key, value in self.__dict__.iteritems()]
18016
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18017
 
18018
  def __eq__(self, other):
18019
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18020
 
18021
  def __ne__(self, other):
18022
    return not (self == other)
18023
 
18024
class getItemsForMasterSheet_args:
18025
  """
18026
  Attributes:
18027
   - category
18028
   - brand
18029
  """
18030
 
18031
  thrift_spec = (
18032
    None, # 0
18033
    (1, TType.STRING, 'category', None, None, ), # 1
18034
    (2, TType.STRING, 'brand', None, None, ), # 2
18035
  )
18036
 
18037
  def __init__(self, category=None, brand=None,):
18038
    self.category = category
18039
    self.brand = brand
18040
 
18041
  def read(self, iprot):
18042
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18043
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18044
      return
18045
    iprot.readStructBegin()
18046
    while True:
18047
      (fname, ftype, fid) = iprot.readFieldBegin()
18048
      if ftype == TType.STOP:
18049
        break
18050
      if fid == 1:
18051
        if ftype == TType.STRING:
18052
          self.category = iprot.readString();
18053
        else:
18054
          iprot.skip(ftype)
18055
      elif fid == 2:
18056
        if ftype == TType.STRING:
18057
          self.brand = iprot.readString();
18058
        else:
18059
          iprot.skip(ftype)
18060
      else:
18061
        iprot.skip(ftype)
18062
      iprot.readFieldEnd()
18063
    iprot.readStructEnd()
18064
 
18065
  def write(self, oprot):
18066
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18067
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18068
      return
18069
    oprot.writeStructBegin('getItemsForMasterSheet_args')
18070
    if self.category is not None:
18071
      oprot.writeFieldBegin('category', TType.STRING, 1)
18072
      oprot.writeString(self.category)
18073
      oprot.writeFieldEnd()
18074
    if self.brand is not None:
18075
      oprot.writeFieldBegin('brand', TType.STRING, 2)
18076
      oprot.writeString(self.brand)
18077
      oprot.writeFieldEnd()
18078
    oprot.writeFieldStop()
18079
    oprot.writeStructEnd()
18080
 
18081
  def validate(self):
18082
    return
18083
 
18084
 
18085
  def __repr__(self):
18086
    L = ['%s=%r' % (key, value)
18087
      for key, value in self.__dict__.iteritems()]
18088
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18089
 
18090
  def __eq__(self, other):
18091
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18092
 
18093
  def __ne__(self, other):
18094
    return not (self == other)
18095
 
18096
class getItemsForMasterSheet_result:
18097
  """
18098
  Attributes:
18099
   - success
18100
  """
18101
 
18102
  thrift_spec = (
18103
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
18104
  )
18105
 
18106
  def __init__(self, success=None,):
18107
    self.success = success
18108
 
18109
  def read(self, iprot):
18110
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18111
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18112
      return
18113
    iprot.readStructBegin()
18114
    while True:
18115
      (fname, ftype, fid) = iprot.readFieldBegin()
18116
      if ftype == TType.STOP:
18117
        break
18118
      if fid == 0:
18119
        if ftype == TType.LIST:
18120
          self.success = []
13493 amit.gupta 18121
          (_etype311, _size308) = iprot.readListBegin()
18122
          for _i312 in xrange(_size308):
18123
            _elem313 = Item()
18124
            _elem313.read(iprot)
18125
            self.success.append(_elem313)
5944 mandeep.dh 18126
          iprot.readListEnd()
18127
        else:
18128
          iprot.skip(ftype)
18129
      else:
18130
        iprot.skip(ftype)
18131
      iprot.readFieldEnd()
18132
    iprot.readStructEnd()
18133
 
18134
  def write(self, oprot):
18135
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18136
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18137
      return
18138
    oprot.writeStructBegin('getItemsForMasterSheet_result')
18139
    if self.success is not None:
18140
      oprot.writeFieldBegin('success', TType.LIST, 0)
18141
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 18142
      for iter314 in self.success:
18143
        iter314.write(oprot)
5944 mandeep.dh 18144
      oprot.writeListEnd()
18145
      oprot.writeFieldEnd()
18146
    oprot.writeFieldStop()
18147
    oprot.writeStructEnd()
18148
 
18149
  def validate(self):
18150
    return
18151
 
18152
 
18153
  def __repr__(self):
18154
    L = ['%s=%r' % (key, value)
18155
      for key, value in self.__dict__.iteritems()]
18156
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18157
 
18158
  def __eq__(self, other):
18159
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18160
 
18161
  def __ne__(self, other):
18162
    return not (self == other)
18163
 
18164
class getSimilarItemsCatalogIds_args:
18165
  """
18166
  Attributes:
18167
   - beginIndex
18168
   - totalItems
18169
   - itemId
18170
  """
18171
 
18172
  thrift_spec = (
18173
    None, # 0
18174
    (1, TType.I64, 'beginIndex', None, None, ), # 1
18175
    (2, TType.I64, 'totalItems', None, None, ), # 2
18176
    (3, TType.I64, 'itemId', None, None, ), # 3
18177
  )
18178
 
18179
  def __init__(self, beginIndex=None, totalItems=None, itemId=None,):
18180
    self.beginIndex = beginIndex
18181
    self.totalItems = totalItems
18182
    self.itemId = itemId
18183
 
18184
  def read(self, iprot):
18185
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18186
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18187
      return
18188
    iprot.readStructBegin()
18189
    while True:
18190
      (fname, ftype, fid) = iprot.readFieldBegin()
18191
      if ftype == TType.STOP:
18192
        break
18193
      if fid == 1:
18194
        if ftype == TType.I64:
18195
          self.beginIndex = iprot.readI64();
18196
        else:
18197
          iprot.skip(ftype)
18198
      elif fid == 2:
18199
        if ftype == TType.I64:
18200
          self.totalItems = iprot.readI64();
18201
        else:
18202
          iprot.skip(ftype)
18203
      elif fid == 3:
18204
        if ftype == TType.I64:
18205
          self.itemId = iprot.readI64();
18206
        else:
18207
          iprot.skip(ftype)
18208
      else:
18209
        iprot.skip(ftype)
18210
      iprot.readFieldEnd()
18211
    iprot.readStructEnd()
18212
 
18213
  def write(self, oprot):
18214
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18215
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18216
      return
18217
    oprot.writeStructBegin('getSimilarItemsCatalogIds_args')
18218
    if self.beginIndex is not None:
18219
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
18220
      oprot.writeI64(self.beginIndex)
18221
      oprot.writeFieldEnd()
18222
    if self.totalItems is not None:
18223
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
18224
      oprot.writeI64(self.totalItems)
18225
      oprot.writeFieldEnd()
18226
    if self.itemId is not None:
18227
      oprot.writeFieldBegin('itemId', TType.I64, 3)
18228
      oprot.writeI64(self.itemId)
18229
      oprot.writeFieldEnd()
18230
    oprot.writeFieldStop()
18231
    oprot.writeStructEnd()
18232
 
18233
  def validate(self):
18234
    return
18235
 
18236
 
18237
  def __repr__(self):
18238
    L = ['%s=%r' % (key, value)
18239
      for key, value in self.__dict__.iteritems()]
18240
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18241
 
18242
  def __eq__(self, other):
18243
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18244
 
18245
  def __ne__(self, other):
18246
    return not (self == other)
18247
 
18248
class getSimilarItemsCatalogIds_result:
18249
  """
18250
  Attributes:
18251
   - success
18252
  """
18253
 
18254
  thrift_spec = (
18255
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
18256
  )
18257
 
18258
  def __init__(self, success=None,):
18259
    self.success = success
18260
 
18261
  def read(self, iprot):
18262
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18263
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18264
      return
18265
    iprot.readStructBegin()
18266
    while True:
18267
      (fname, ftype, fid) = iprot.readFieldBegin()
18268
      if ftype == TType.STOP:
18269
        break
18270
      if fid == 0:
18271
        if ftype == TType.LIST:
18272
          self.success = []
13493 amit.gupta 18273
          (_etype318, _size315) = iprot.readListBegin()
18274
          for _i319 in xrange(_size315):
18275
            _elem320 = iprot.readI64();
18276
            self.success.append(_elem320)
5944 mandeep.dh 18277
          iprot.readListEnd()
18278
        else:
18279
          iprot.skip(ftype)
18280
      else:
18281
        iprot.skip(ftype)
18282
      iprot.readFieldEnd()
18283
    iprot.readStructEnd()
18284
 
18285
  def write(self, oprot):
18286
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18287
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18288
      return
18289
    oprot.writeStructBegin('getSimilarItemsCatalogIds_result')
18290
    if self.success is not None:
18291
      oprot.writeFieldBegin('success', TType.LIST, 0)
18292
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 18293
      for iter321 in self.success:
18294
        oprot.writeI64(iter321)
5944 mandeep.dh 18295
      oprot.writeListEnd()
18296
      oprot.writeFieldEnd()
18297
    oprot.writeFieldStop()
18298
    oprot.writeStructEnd()
18299
 
18300
  def validate(self):
18301
    return
18302
 
18303
 
18304
  def __repr__(self):
18305
    L = ['%s=%r' % (key, value)
18306
      for key, value in self.__dict__.iteritems()]
18307
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18308
 
18309
  def __eq__(self, other):
18310
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18311
 
18312
  def __ne__(self, other):
18313
    return not (self == other)
18314
 
18315
class addProductNotification_args:
18316
  """
18317
  Attributes:
18318
   - itemId
18319
   - email
18320
  """
18321
 
18322
  thrift_spec = None
18323
  def __init__(self, itemId=None, email=None,):
18324
    self.itemId = itemId
18325
    self.email = email
18326
 
18327
  def read(self, iprot):
18328
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18329
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18330
      return
18331
    iprot.readStructBegin()
18332
    while True:
18333
      (fname, ftype, fid) = iprot.readFieldBegin()
18334
      if ftype == TType.STOP:
18335
        break
18336
      if fid == -1:
18337
        if ftype == TType.I64:
18338
          self.itemId = iprot.readI64();
18339
        else:
18340
          iprot.skip(ftype)
18341
      elif fid == -2:
18342
        if ftype == TType.STRING:
18343
          self.email = iprot.readString();
18344
        else:
18345
          iprot.skip(ftype)
18346
      else:
18347
        iprot.skip(ftype)
18348
      iprot.readFieldEnd()
18349
    iprot.readStructEnd()
18350
 
18351
  def write(self, oprot):
18352
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18353
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18354
      return
18355
    oprot.writeStructBegin('addProductNotification_args')
18356
    if self.email is not None:
18357
      oprot.writeFieldBegin('email', TType.STRING, -2)
18358
      oprot.writeString(self.email)
18359
      oprot.writeFieldEnd()
18360
    if self.itemId is not None:
18361
      oprot.writeFieldBegin('itemId', TType.I64, -1)
18362
      oprot.writeI64(self.itemId)
18363
      oprot.writeFieldEnd()
18364
    oprot.writeFieldStop()
18365
    oprot.writeStructEnd()
18366
 
18367
  def validate(self):
18368
    return
18369
 
18370
 
18371
  def __repr__(self):
18372
    L = ['%s=%r' % (key, value)
18373
      for key, value in self.__dict__.iteritems()]
18374
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18375
 
18376
  def __eq__(self, other):
18377
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18378
 
18379
  def __ne__(self, other):
18380
    return not (self == other)
18381
 
18382
class addProductNotification_result:
18383
  """
18384
  Attributes:
18385
   - success
18386
  """
18387
 
18388
  thrift_spec = (
18389
    (0, TType.BOOL, 'success', None, None, ), # 0
18390
  )
18391
 
18392
  def __init__(self, success=None,):
18393
    self.success = success
18394
 
18395
  def read(self, iprot):
18396
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18397
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18398
      return
18399
    iprot.readStructBegin()
18400
    while True:
18401
      (fname, ftype, fid) = iprot.readFieldBegin()
18402
      if ftype == TType.STOP:
18403
        break
18404
      if fid == 0:
18405
        if ftype == TType.BOOL:
18406
          self.success = iprot.readBool();
18407
        else:
18408
          iprot.skip(ftype)
18409
      else:
18410
        iprot.skip(ftype)
18411
      iprot.readFieldEnd()
18412
    iprot.readStructEnd()
18413
 
18414
  def write(self, oprot):
18415
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18416
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18417
      return
18418
    oprot.writeStructBegin('addProductNotification_result')
18419
    if self.success is not None:
18420
      oprot.writeFieldBegin('success', TType.BOOL, 0)
18421
      oprot.writeBool(self.success)
18422
      oprot.writeFieldEnd()
18423
    oprot.writeFieldStop()
18424
    oprot.writeStructEnd()
18425
 
18426
  def validate(self):
18427
    return
18428
 
18429
 
18430
  def __repr__(self):
18431
    L = ['%s=%r' % (key, value)
18432
      for key, value in self.__dict__.iteritems()]
18433
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18434
 
18435
  def __eq__(self, other):
18436
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18437
 
18438
  def __ne__(self, other):
18439
    return not (self == other)
18440
 
18441
class sendProductNotifications_args:
18442
 
18443
  thrift_spec = (
18444
  )
18445
 
18446
  def read(self, iprot):
18447
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18448
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18449
      return
18450
    iprot.readStructBegin()
18451
    while True:
18452
      (fname, ftype, fid) = iprot.readFieldBegin()
18453
      if ftype == TType.STOP:
18454
        break
18455
      else:
18456
        iprot.skip(ftype)
18457
      iprot.readFieldEnd()
18458
    iprot.readStructEnd()
18459
 
18460
  def write(self, oprot):
18461
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18462
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18463
      return
18464
    oprot.writeStructBegin('sendProductNotifications_args')
18465
    oprot.writeFieldStop()
18466
    oprot.writeStructEnd()
18467
 
18468
  def validate(self):
18469
    return
18470
 
18471
 
18472
  def __repr__(self):
18473
    L = ['%s=%r' % (key, value)
18474
      for key, value in self.__dict__.iteritems()]
18475
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18476
 
18477
  def __eq__(self, other):
18478
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18479
 
18480
  def __ne__(self, other):
18481
    return not (self == other)
18482
 
18483
class sendProductNotifications_result:
18484
  """
18485
  Attributes:
18486
   - success
18487
  """
18488
 
18489
  thrift_spec = (
18490
    (0, TType.BOOL, 'success', None, None, ), # 0
18491
  )
18492
 
18493
  def __init__(self, success=None,):
18494
    self.success = success
18495
 
18496
  def read(self, iprot):
18497
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18498
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18499
      return
18500
    iprot.readStructBegin()
18501
    while True:
18502
      (fname, ftype, fid) = iprot.readFieldBegin()
18503
      if ftype == TType.STOP:
18504
        break
18505
      if fid == 0:
18506
        if ftype == TType.BOOL:
18507
          self.success = iprot.readBool();
18508
        else:
18509
          iprot.skip(ftype)
18510
      else:
18511
        iprot.skip(ftype)
18512
      iprot.readFieldEnd()
18513
    iprot.readStructEnd()
18514
 
18515
  def write(self, oprot):
18516
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18517
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18518
      return
18519
    oprot.writeStructBegin('sendProductNotifications_result')
18520
    if self.success is not None:
18521
      oprot.writeFieldBegin('success', TType.BOOL, 0)
18522
      oprot.writeBool(self.success)
18523
      oprot.writeFieldEnd()
18524
    oprot.writeFieldStop()
18525
    oprot.writeStructEnd()
18526
 
18527
  def validate(self):
18528
    return
18529
 
18530
 
18531
  def __repr__(self):
18532
    L = ['%s=%r' % (key, value)
18533
      for key, value in self.__dict__.iteritems()]
18534
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18535
 
18536
  def __eq__(self, other):
18537
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18538
 
18539
  def __ne__(self, other):
18540
    return not (self == other)
18541
 
18542
class getAllBrandsByCategory_args:
18543
  """
18544
  Attributes:
18545
   - categoryId
18546
  """
18547
 
18548
  thrift_spec = (
18549
    None, # 0
18550
    (1, TType.I64, 'categoryId', None, None, ), # 1
18551
  )
18552
 
18553
  def __init__(self, categoryId=None,):
18554
    self.categoryId = categoryId
18555
 
18556
  def read(self, iprot):
18557
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18558
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18559
      return
18560
    iprot.readStructBegin()
18561
    while True:
18562
      (fname, ftype, fid) = iprot.readFieldBegin()
18563
      if ftype == TType.STOP:
18564
        break
18565
      if fid == 1:
18566
        if ftype == TType.I64:
18567
          self.categoryId = iprot.readI64();
18568
        else:
18569
          iprot.skip(ftype)
18570
      else:
18571
        iprot.skip(ftype)
18572
      iprot.readFieldEnd()
18573
    iprot.readStructEnd()
18574
 
18575
  def write(self, oprot):
18576
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18577
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18578
      return
18579
    oprot.writeStructBegin('getAllBrandsByCategory_args')
18580
    if self.categoryId is not None:
18581
      oprot.writeFieldBegin('categoryId', TType.I64, 1)
18582
      oprot.writeI64(self.categoryId)
18583
      oprot.writeFieldEnd()
18584
    oprot.writeFieldStop()
18585
    oprot.writeStructEnd()
18586
 
18587
  def validate(self):
18588
    return
18589
 
18590
 
18591
  def __repr__(self):
18592
    L = ['%s=%r' % (key, value)
18593
      for key, value in self.__dict__.iteritems()]
18594
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18595
 
18596
  def __eq__(self, other):
18597
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18598
 
18599
  def __ne__(self, other):
18600
    return not (self == other)
18601
 
18602
class getAllBrandsByCategory_result:
18603
  """
18604
  Attributes:
18605
   - success
18606
  """
18607
 
18608
  thrift_spec = (
18609
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
18610
  )
18611
 
18612
  def __init__(self, success=None,):
18613
    self.success = success
18614
 
18615
  def read(self, iprot):
18616
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18617
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18618
      return
18619
    iprot.readStructBegin()
18620
    while True:
18621
      (fname, ftype, fid) = iprot.readFieldBegin()
18622
      if ftype == TType.STOP:
18623
        break
18624
      if fid == 0:
18625
        if ftype == TType.LIST:
18626
          self.success = []
13493 amit.gupta 18627
          (_etype325, _size322) = iprot.readListBegin()
18628
          for _i326 in xrange(_size322):
18629
            _elem327 = iprot.readString();
18630
            self.success.append(_elem327)
5944 mandeep.dh 18631
          iprot.readListEnd()
18632
        else:
18633
          iprot.skip(ftype)
18634
      else:
18635
        iprot.skip(ftype)
18636
      iprot.readFieldEnd()
18637
    iprot.readStructEnd()
18638
 
18639
  def write(self, oprot):
18640
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18641
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18642
      return
18643
    oprot.writeStructBegin('getAllBrandsByCategory_result')
18644
    if self.success is not None:
18645
      oprot.writeFieldBegin('success', TType.LIST, 0)
18646
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 18647
      for iter328 in self.success:
18648
        oprot.writeString(iter328)
5944 mandeep.dh 18649
      oprot.writeListEnd()
18650
      oprot.writeFieldEnd()
18651
    oprot.writeFieldStop()
18652
    oprot.writeStructEnd()
18653
 
18654
  def validate(self):
18655
    return
18656
 
18657
 
18658
  def __repr__(self):
18659
    L = ['%s=%r' % (key, value)
18660
      for key, value in self.__dict__.iteritems()]
18661
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18662
 
18663
  def __eq__(self, other):
18664
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18665
 
18666
  def __ne__(self, other):
18667
    return not (self == other)
18668
 
18669
class getAllBrands_args:
18670
 
18671
  thrift_spec = (
18672
  )
18673
 
18674
  def read(self, iprot):
18675
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18676
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18677
      return
18678
    iprot.readStructBegin()
18679
    while True:
18680
      (fname, ftype, fid) = iprot.readFieldBegin()
18681
      if ftype == TType.STOP:
18682
        break
18683
      else:
18684
        iprot.skip(ftype)
18685
      iprot.readFieldEnd()
18686
    iprot.readStructEnd()
18687
 
18688
  def write(self, oprot):
18689
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18690
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18691
      return
18692
    oprot.writeStructBegin('getAllBrands_args')
18693
    oprot.writeFieldStop()
18694
    oprot.writeStructEnd()
18695
 
18696
  def validate(self):
18697
    return
18698
 
18699
 
18700
  def __repr__(self):
18701
    L = ['%s=%r' % (key, value)
18702
      for key, value in self.__dict__.iteritems()]
18703
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18704
 
18705
  def __eq__(self, other):
18706
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18707
 
18708
  def __ne__(self, other):
18709
    return not (self == other)
18710
 
18711
class getAllBrands_result:
18712
  """
18713
  Attributes:
18714
   - success
18715
  """
18716
 
18717
  thrift_spec = (
18718
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
18719
  )
18720
 
18721
  def __init__(self, success=None,):
18722
    self.success = success
18723
 
18724
  def read(self, iprot):
18725
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18726
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18727
      return
18728
    iprot.readStructBegin()
18729
    while True:
18730
      (fname, ftype, fid) = iprot.readFieldBegin()
18731
      if ftype == TType.STOP:
18732
        break
18733
      if fid == 0:
18734
        if ftype == TType.LIST:
18735
          self.success = []
13493 amit.gupta 18736
          (_etype332, _size329) = iprot.readListBegin()
18737
          for _i333 in xrange(_size329):
18738
            _elem334 = iprot.readString();
18739
            self.success.append(_elem334)
5944 mandeep.dh 18740
          iprot.readListEnd()
18741
        else:
18742
          iprot.skip(ftype)
18743
      else:
18744
        iprot.skip(ftype)
18745
      iprot.readFieldEnd()
18746
    iprot.readStructEnd()
18747
 
18748
  def write(self, oprot):
18749
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18750
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18751
      return
18752
    oprot.writeStructBegin('getAllBrands_result')
18753
    if self.success is not None:
18754
      oprot.writeFieldBegin('success', TType.LIST, 0)
18755
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 18756
      for iter335 in self.success:
18757
        oprot.writeString(iter335)
5944 mandeep.dh 18758
      oprot.writeListEnd()
18759
      oprot.writeFieldEnd()
18760
    oprot.writeFieldStop()
18761
    oprot.writeStructEnd()
18762
 
18763
  def validate(self):
18764
    return
18765
 
18766
 
18767
  def __repr__(self):
18768
    L = ['%s=%r' % (key, value)
18769
      for key, value in self.__dict__.iteritems()]
18770
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18771
 
18772
  def __eq__(self, other):
18773
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18774
 
18775
  def __ne__(self, other):
18776
    return not (self == other)
18777
 
18778
class getAllSources_args:
18779
 
18780
  thrift_spec = (
18781
  )
18782
 
18783
  def read(self, iprot):
18784
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18785
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18786
      return
18787
    iprot.readStructBegin()
18788
    while True:
18789
      (fname, ftype, fid) = iprot.readFieldBegin()
18790
      if ftype == TType.STOP:
18791
        break
18792
      else:
18793
        iprot.skip(ftype)
18794
      iprot.readFieldEnd()
18795
    iprot.readStructEnd()
18796
 
18797
  def write(self, oprot):
18798
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18799
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18800
      return
18801
    oprot.writeStructBegin('getAllSources_args')
18802
    oprot.writeFieldStop()
18803
    oprot.writeStructEnd()
18804
 
18805
  def validate(self):
18806
    return
18807
 
18808
 
18809
  def __repr__(self):
18810
    L = ['%s=%r' % (key, value)
18811
      for key, value in self.__dict__.iteritems()]
18812
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18813
 
18814
  def __eq__(self, other):
18815
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18816
 
18817
  def __ne__(self, other):
18818
    return not (self == other)
18819
 
18820
class getAllSources_result:
18821
  """
18822
  Attributes:
18823
   - success
18824
  """
18825
 
18826
  thrift_spec = (
18827
    (0, TType.LIST, 'success', (TType.STRUCT,(Source, Source.thrift_spec)), None, ), # 0
18828
  )
18829
 
18830
  def __init__(self, success=None,):
18831
    self.success = success
18832
 
18833
  def read(self, iprot):
18834
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18835
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18836
      return
18837
    iprot.readStructBegin()
18838
    while True:
18839
      (fname, ftype, fid) = iprot.readFieldBegin()
18840
      if ftype == TType.STOP:
18841
        break
18842
      if fid == 0:
18843
        if ftype == TType.LIST:
18844
          self.success = []
13493 amit.gupta 18845
          (_etype339, _size336) = iprot.readListBegin()
18846
          for _i340 in xrange(_size336):
18847
            _elem341 = Source()
18848
            _elem341.read(iprot)
18849
            self.success.append(_elem341)
5944 mandeep.dh 18850
          iprot.readListEnd()
18851
        else:
18852
          iprot.skip(ftype)
18853
      else:
18854
        iprot.skip(ftype)
18855
      iprot.readFieldEnd()
18856
    iprot.readStructEnd()
18857
 
18858
  def write(self, oprot):
18859
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18860
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18861
      return
18862
    oprot.writeStructBegin('getAllSources_result')
18863
    if self.success is not None:
18864
      oprot.writeFieldBegin('success', TType.LIST, 0)
18865
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 18866
      for iter342 in self.success:
18867
        iter342.write(oprot)
5944 mandeep.dh 18868
      oprot.writeListEnd()
18869
      oprot.writeFieldEnd()
18870
    oprot.writeFieldStop()
18871
    oprot.writeStructEnd()
18872
 
18873
  def validate(self):
18874
    return
18875
 
18876
 
18877
  def __repr__(self):
18878
    L = ['%s=%r' % (key, value)
18879
      for key, value in self.__dict__.iteritems()]
18880
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18881
 
18882
  def __eq__(self, other):
18883
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18884
 
18885
  def __ne__(self, other):
18886
    return not (self == other)
18887
 
18888
class getItemPricingBySource_args:
18889
  """
18890
  Attributes:
18891
   - itemId
18892
   - sourceId
18893
  """
18894
 
18895
  thrift_spec = (
18896
    None, # 0
18897
    (1, TType.I64, 'itemId', None, None, ), # 1
18898
    (2, TType.I64, 'sourceId', None, None, ), # 2
18899
  )
18900
 
18901
  def __init__(self, itemId=None, sourceId=None,):
18902
    self.itemId = itemId
18903
    self.sourceId = sourceId
18904
 
18905
  def read(self, iprot):
18906
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18907
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18908
      return
18909
    iprot.readStructBegin()
18910
    while True:
18911
      (fname, ftype, fid) = iprot.readFieldBegin()
18912
      if ftype == TType.STOP:
18913
        break
18914
      if fid == 1:
18915
        if ftype == TType.I64:
18916
          self.itemId = iprot.readI64();
18917
        else:
18918
          iprot.skip(ftype)
18919
      elif fid == 2:
18920
        if ftype == TType.I64:
18921
          self.sourceId = iprot.readI64();
18922
        else:
18923
          iprot.skip(ftype)
18924
      else:
18925
        iprot.skip(ftype)
18926
      iprot.readFieldEnd()
18927
    iprot.readStructEnd()
18928
 
18929
  def write(self, oprot):
18930
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18931
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18932
      return
18933
    oprot.writeStructBegin('getItemPricingBySource_args')
18934
    if self.itemId is not None:
18935
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18936
      oprot.writeI64(self.itemId)
18937
      oprot.writeFieldEnd()
18938
    if self.sourceId is not None:
18939
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
18940
      oprot.writeI64(self.sourceId)
18941
      oprot.writeFieldEnd()
18942
    oprot.writeFieldStop()
18943
    oprot.writeStructEnd()
18944
 
18945
  def validate(self):
18946
    return
18947
 
18948
 
18949
  def __repr__(self):
18950
    L = ['%s=%r' % (key, value)
18951
      for key, value in self.__dict__.iteritems()]
18952
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18953
 
18954
  def __eq__(self, other):
18955
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18956
 
18957
  def __ne__(self, other):
18958
    return not (self == other)
18959
 
18960
class getItemPricingBySource_result:
18961
  """
18962
  Attributes:
18963
   - success
18964
   - cex
18965
  """
18966
 
18967
  thrift_spec = (
18968
    (0, TType.STRUCT, 'success', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 0
18969
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18970
  )
18971
 
18972
  def __init__(self, success=None, cex=None,):
18973
    self.success = success
18974
    self.cex = cex
18975
 
18976
  def read(self, iprot):
18977
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18978
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18979
      return
18980
    iprot.readStructBegin()
18981
    while True:
18982
      (fname, ftype, fid) = iprot.readFieldBegin()
18983
      if ftype == TType.STOP:
18984
        break
18985
      if fid == 0:
18986
        if ftype == TType.STRUCT:
18987
          self.success = SourceItemPricing()
18988
          self.success.read(iprot)
18989
        else:
18990
          iprot.skip(ftype)
18991
      elif fid == 1:
18992
        if ftype == TType.STRUCT:
18993
          self.cex = CatalogServiceException()
18994
          self.cex.read(iprot)
18995
        else:
18996
          iprot.skip(ftype)
18997
      else:
18998
        iprot.skip(ftype)
18999
      iprot.readFieldEnd()
19000
    iprot.readStructEnd()
19001
 
19002
  def write(self, oprot):
19003
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19004
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19005
      return
19006
    oprot.writeStructBegin('getItemPricingBySource_result')
19007
    if self.success is not None:
19008
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
19009
      self.success.write(oprot)
19010
      oprot.writeFieldEnd()
19011
    if self.cex is not None:
19012
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19013
      self.cex.write(oprot)
19014
      oprot.writeFieldEnd()
19015
    oprot.writeFieldStop()
19016
    oprot.writeStructEnd()
19017
 
19018
  def validate(self):
19019
    return
19020
 
19021
 
19022
  def __repr__(self):
19023
    L = ['%s=%r' % (key, value)
19024
      for key, value in self.__dict__.iteritems()]
19025
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19026
 
19027
  def __eq__(self, other):
19028
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19029
 
19030
  def __ne__(self, other):
19031
    return not (self == other)
19032
 
19033
class addSourceItemPricing_args:
19034
  """
19035
  Attributes:
19036
   - sourceItemPricing
19037
  """
19038
 
19039
  thrift_spec = (
19040
    None, # 0
19041
    (1, TType.STRUCT, 'sourceItemPricing', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 1
19042
  )
19043
 
19044
  def __init__(self, sourceItemPricing=None,):
19045
    self.sourceItemPricing = sourceItemPricing
19046
 
19047
  def read(self, iprot):
19048
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19049
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19050
      return
19051
    iprot.readStructBegin()
19052
    while True:
19053
      (fname, ftype, fid) = iprot.readFieldBegin()
19054
      if ftype == TType.STOP:
19055
        break
19056
      if fid == 1:
19057
        if ftype == TType.STRUCT:
19058
          self.sourceItemPricing = SourceItemPricing()
19059
          self.sourceItemPricing.read(iprot)
19060
        else:
19061
          iprot.skip(ftype)
19062
      else:
19063
        iprot.skip(ftype)
19064
      iprot.readFieldEnd()
19065
    iprot.readStructEnd()
19066
 
19067
  def write(self, oprot):
19068
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19069
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19070
      return
19071
    oprot.writeStructBegin('addSourceItemPricing_args')
19072
    if self.sourceItemPricing is not None:
19073
      oprot.writeFieldBegin('sourceItemPricing', TType.STRUCT, 1)
19074
      self.sourceItemPricing.write(oprot)
19075
      oprot.writeFieldEnd()
19076
    oprot.writeFieldStop()
19077
    oprot.writeStructEnd()
19078
 
19079
  def validate(self):
19080
    return
19081
 
19082
 
19083
  def __repr__(self):
19084
    L = ['%s=%r' % (key, value)
19085
      for key, value in self.__dict__.iteritems()]
19086
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19087
 
19088
  def __eq__(self, other):
19089
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19090
 
19091
  def __ne__(self, other):
19092
    return not (self == other)
19093
 
19094
class addSourceItemPricing_result:
19095
  """
19096
  Attributes:
19097
   - cex
19098
  """
19099
 
19100
  thrift_spec = (
19101
    None, # 0
19102
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19103
  )
19104
 
19105
  def __init__(self, cex=None,):
19106
    self.cex = cex
19107
 
19108
  def read(self, iprot):
19109
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19110
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19111
      return
19112
    iprot.readStructBegin()
19113
    while True:
19114
      (fname, ftype, fid) = iprot.readFieldBegin()
19115
      if ftype == TType.STOP:
19116
        break
19117
      if fid == 1:
19118
        if ftype == TType.STRUCT:
19119
          self.cex = CatalogServiceException()
19120
          self.cex.read(iprot)
19121
        else:
19122
          iprot.skip(ftype)
19123
      else:
19124
        iprot.skip(ftype)
19125
      iprot.readFieldEnd()
19126
    iprot.readStructEnd()
19127
 
19128
  def write(self, oprot):
19129
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19130
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19131
      return
19132
    oprot.writeStructBegin('addSourceItemPricing_result')
19133
    if self.cex is not None:
19134
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19135
      self.cex.write(oprot)
19136
      oprot.writeFieldEnd()
19137
    oprot.writeFieldStop()
19138
    oprot.writeStructEnd()
19139
 
19140
  def validate(self):
19141
    return
19142
 
19143
 
19144
  def __repr__(self):
19145
    L = ['%s=%r' % (key, value)
19146
      for key, value in self.__dict__.iteritems()]
19147
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19148
 
19149
  def __eq__(self, other):
19150
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19151
 
19152
  def __ne__(self, other):
19153
    return not (self == other)
19154
 
19155
class getAllSourcePricing_args:
19156
  """
19157
  Attributes:
19158
   - itemId
19159
  """
19160
 
19161
  thrift_spec = (
19162
    None, # 0
19163
    (1, TType.I64, 'itemId', None, None, ), # 1
19164
  )
19165
 
19166
  def __init__(self, itemId=None,):
19167
    self.itemId = itemId
19168
 
19169
  def read(self, iprot):
19170
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19171
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19172
      return
19173
    iprot.readStructBegin()
19174
    while True:
19175
      (fname, ftype, fid) = iprot.readFieldBegin()
19176
      if ftype == TType.STOP:
19177
        break
19178
      if fid == 1:
19179
        if ftype == TType.I64:
19180
          self.itemId = iprot.readI64();
19181
        else:
19182
          iprot.skip(ftype)
19183
      else:
19184
        iprot.skip(ftype)
19185
      iprot.readFieldEnd()
19186
    iprot.readStructEnd()
19187
 
19188
  def write(self, oprot):
19189
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19190
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19191
      return
19192
    oprot.writeStructBegin('getAllSourcePricing_args')
19193
    if self.itemId is not None:
19194
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19195
      oprot.writeI64(self.itemId)
19196
      oprot.writeFieldEnd()
19197
    oprot.writeFieldStop()
19198
    oprot.writeStructEnd()
19199
 
19200
  def validate(self):
19201
    return
19202
 
19203
 
19204
  def __repr__(self):
19205
    L = ['%s=%r' % (key, value)
19206
      for key, value in self.__dict__.iteritems()]
19207
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19208
 
19209
  def __eq__(self, other):
19210
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19211
 
19212
  def __ne__(self, other):
19213
    return not (self == other)
19214
 
19215
class getAllSourcePricing_result:
19216
  """
19217
  Attributes:
19218
   - success
19219
   - cex
19220
  """
19221
 
19222
  thrift_spec = (
19223
    (0, TType.LIST, 'success', (TType.STRUCT,(SourceItemPricing, SourceItemPricing.thrift_spec)), None, ), # 0
19224
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19225
  )
19226
 
19227
  def __init__(self, success=None, cex=None,):
19228
    self.success = success
19229
    self.cex = cex
19230
 
19231
  def read(self, iprot):
19232
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19233
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19234
      return
19235
    iprot.readStructBegin()
19236
    while True:
19237
      (fname, ftype, fid) = iprot.readFieldBegin()
19238
      if ftype == TType.STOP:
19239
        break
19240
      if fid == 0:
19241
        if ftype == TType.LIST:
19242
          self.success = []
13493 amit.gupta 19243
          (_etype346, _size343) = iprot.readListBegin()
19244
          for _i347 in xrange(_size343):
19245
            _elem348 = SourceItemPricing()
19246
            _elem348.read(iprot)
19247
            self.success.append(_elem348)
5944 mandeep.dh 19248
          iprot.readListEnd()
19249
        else:
19250
          iprot.skip(ftype)
19251
      elif fid == 1:
19252
        if ftype == TType.STRUCT:
19253
          self.cex = CatalogServiceException()
19254
          self.cex.read(iprot)
19255
        else:
19256
          iprot.skip(ftype)
19257
      else:
19258
        iprot.skip(ftype)
19259
      iprot.readFieldEnd()
19260
    iprot.readStructEnd()
19261
 
19262
  def write(self, oprot):
19263
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19264
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19265
      return
19266
    oprot.writeStructBegin('getAllSourcePricing_result')
19267
    if self.success is not None:
19268
      oprot.writeFieldBegin('success', TType.LIST, 0)
19269
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 19270
      for iter349 in self.success:
19271
        iter349.write(oprot)
5944 mandeep.dh 19272
      oprot.writeListEnd()
19273
      oprot.writeFieldEnd()
19274
    if self.cex is not None:
19275
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19276
      self.cex.write(oprot)
19277
      oprot.writeFieldEnd()
19278
    oprot.writeFieldStop()
19279
    oprot.writeStructEnd()
19280
 
19281
  def validate(self):
19282
    return
19283
 
19284
 
19285
  def __repr__(self):
19286
    L = ['%s=%r' % (key, value)
19287
      for key, value in self.__dict__.iteritems()]
19288
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19289
 
19290
  def __eq__(self, other):
19291
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19292
 
19293
  def __ne__(self, other):
19294
    return not (self == other)
19295
 
19296
class getItemForSource_args:
19297
  """
19298
  Attributes:
19299
   - item_id
19300
   - sourceId
19301
  """
19302
 
19303
  thrift_spec = (
19304
    None, # 0
19305
    (1, TType.I64, 'item_id', None, None, ), # 1
19306
    (2, TType.I64, 'sourceId', None, None, ), # 2
19307
  )
19308
 
19309
  def __init__(self, item_id=None, sourceId=None,):
19310
    self.item_id = item_id
19311
    self.sourceId = sourceId
19312
 
19313
  def read(self, iprot):
19314
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19315
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19316
      return
19317
    iprot.readStructBegin()
19318
    while True:
19319
      (fname, ftype, fid) = iprot.readFieldBegin()
19320
      if ftype == TType.STOP:
19321
        break
19322
      if fid == 1:
19323
        if ftype == TType.I64:
19324
          self.item_id = iprot.readI64();
19325
        else:
19326
          iprot.skip(ftype)
19327
      elif fid == 2:
19328
        if ftype == TType.I64:
19329
          self.sourceId = iprot.readI64();
19330
        else:
19331
          iprot.skip(ftype)
19332
      else:
19333
        iprot.skip(ftype)
19334
      iprot.readFieldEnd()
19335
    iprot.readStructEnd()
19336
 
19337
  def write(self, oprot):
19338
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19339
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19340
      return
19341
    oprot.writeStructBegin('getItemForSource_args')
19342
    if self.item_id is not None:
19343
      oprot.writeFieldBegin('item_id', TType.I64, 1)
19344
      oprot.writeI64(self.item_id)
19345
      oprot.writeFieldEnd()
19346
    if self.sourceId is not None:
19347
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
19348
      oprot.writeI64(self.sourceId)
19349
      oprot.writeFieldEnd()
19350
    oprot.writeFieldStop()
19351
    oprot.writeStructEnd()
19352
 
19353
  def validate(self):
19354
    return
19355
 
19356
 
19357
  def __repr__(self):
19358
    L = ['%s=%r' % (key, value)
19359
      for key, value in self.__dict__.iteritems()]
19360
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19361
 
19362
  def __eq__(self, other):
19363
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19364
 
19365
  def __ne__(self, other):
19366
    return not (self == other)
19367
 
19368
class getItemForSource_result:
19369
  """
19370
  Attributes:
19371
   - success
19372
   - cex
19373
  """
19374
 
19375
  thrift_spec = (
19376
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
19377
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19378
  )
19379
 
19380
  def __init__(self, success=None, cex=None,):
19381
    self.success = success
19382
    self.cex = cex
19383
 
19384
  def read(self, iprot):
19385
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19386
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19387
      return
19388
    iprot.readStructBegin()
19389
    while True:
19390
      (fname, ftype, fid) = iprot.readFieldBegin()
19391
      if ftype == TType.STOP:
19392
        break
19393
      if fid == 0:
19394
        if ftype == TType.STRUCT:
19395
          self.success = Item()
19396
          self.success.read(iprot)
19397
        else:
19398
          iprot.skip(ftype)
19399
      elif fid == 1:
19400
        if ftype == TType.STRUCT:
19401
          self.cex = CatalogServiceException()
19402
          self.cex.read(iprot)
19403
        else:
19404
          iprot.skip(ftype)
19405
      else:
19406
        iprot.skip(ftype)
19407
      iprot.readFieldEnd()
19408
    iprot.readStructEnd()
19409
 
19410
  def write(self, oprot):
19411
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19412
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19413
      return
19414
    oprot.writeStructBegin('getItemForSource_result')
19415
    if self.success is not None:
19416
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
19417
      self.success.write(oprot)
19418
      oprot.writeFieldEnd()
19419
    if self.cex is not None:
19420
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19421
      self.cex.write(oprot)
19422
      oprot.writeFieldEnd()
19423
    oprot.writeFieldStop()
19424
    oprot.writeStructEnd()
19425
 
19426
  def validate(self):
19427
    return
19428
 
19429
 
19430
  def __repr__(self):
19431
    L = ['%s=%r' % (key, value)
19432
      for key, value in self.__dict__.iteritems()]
19433
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19434
 
19435
  def __eq__(self, other):
19436
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19437
 
19438
  def __ne__(self, other):
19439
    return not (self == other)
19440
 
19441
class searchItemsInRange_args:
19442
  """
19443
  Attributes:
19444
   - searchTerms
19445
   - offset
19446
   - limit
19447
  """
19448
 
19449
  thrift_spec = (
19450
    None, # 0
19451
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
19452
    (2, TType.I64, 'offset', None, None, ), # 2
19453
    (3, TType.I64, 'limit', None, None, ), # 3
19454
  )
19455
 
19456
  def __init__(self, searchTerms=None, offset=None, limit=None,):
19457
    self.searchTerms = searchTerms
19458
    self.offset = offset
19459
    self.limit = limit
19460
 
19461
  def read(self, iprot):
19462
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19463
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19464
      return
19465
    iprot.readStructBegin()
19466
    while True:
19467
      (fname, ftype, fid) = iprot.readFieldBegin()
19468
      if ftype == TType.STOP:
19469
        break
19470
      if fid == 1:
19471
        if ftype == TType.LIST:
19472
          self.searchTerms = []
13493 amit.gupta 19473
          (_etype353, _size350) = iprot.readListBegin()
19474
          for _i354 in xrange(_size350):
19475
            _elem355 = iprot.readString();
19476
            self.searchTerms.append(_elem355)
5944 mandeep.dh 19477
          iprot.readListEnd()
19478
        else:
19479
          iprot.skip(ftype)
19480
      elif fid == 2:
19481
        if ftype == TType.I64:
19482
          self.offset = iprot.readI64();
19483
        else:
19484
          iprot.skip(ftype)
19485
      elif fid == 3:
19486
        if ftype == TType.I64:
19487
          self.limit = iprot.readI64();
19488
        else:
19489
          iprot.skip(ftype)
19490
      else:
19491
        iprot.skip(ftype)
19492
      iprot.readFieldEnd()
19493
    iprot.readStructEnd()
19494
 
19495
  def write(self, oprot):
19496
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19497
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19498
      return
19499
    oprot.writeStructBegin('searchItemsInRange_args')
19500
    if self.searchTerms is not None:
19501
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
19502
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
13493 amit.gupta 19503
      for iter356 in self.searchTerms:
19504
        oprot.writeString(iter356)
5944 mandeep.dh 19505
      oprot.writeListEnd()
19506
      oprot.writeFieldEnd()
19507
    if self.offset is not None:
19508
      oprot.writeFieldBegin('offset', TType.I64, 2)
19509
      oprot.writeI64(self.offset)
19510
      oprot.writeFieldEnd()
19511
    if self.limit is not None:
19512
      oprot.writeFieldBegin('limit', TType.I64, 3)
19513
      oprot.writeI64(self.limit)
19514
      oprot.writeFieldEnd()
19515
    oprot.writeFieldStop()
19516
    oprot.writeStructEnd()
19517
 
19518
  def validate(self):
19519
    return
19520
 
19521
 
19522
  def __repr__(self):
19523
    L = ['%s=%r' % (key, value)
19524
      for key, value in self.__dict__.iteritems()]
19525
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19526
 
19527
  def __eq__(self, other):
19528
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19529
 
19530
  def __ne__(self, other):
19531
    return not (self == other)
19532
 
19533
class searchItemsInRange_result:
19534
  """
19535
  Attributes:
19536
   - success
19537
  """
19538
 
19539
  thrift_spec = (
19540
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
19541
  )
19542
 
19543
  def __init__(self, success=None,):
19544
    self.success = success
19545
 
19546
  def read(self, iprot):
19547
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19548
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19549
      return
19550
    iprot.readStructBegin()
19551
    while True:
19552
      (fname, ftype, fid) = iprot.readFieldBegin()
19553
      if ftype == TType.STOP:
19554
        break
19555
      if fid == 0:
19556
        if ftype == TType.LIST:
19557
          self.success = []
13493 amit.gupta 19558
          (_etype360, _size357) = iprot.readListBegin()
19559
          for _i361 in xrange(_size357):
19560
            _elem362 = Item()
19561
            _elem362.read(iprot)
19562
            self.success.append(_elem362)
5944 mandeep.dh 19563
          iprot.readListEnd()
19564
        else:
19565
          iprot.skip(ftype)
19566
      else:
19567
        iprot.skip(ftype)
19568
      iprot.readFieldEnd()
19569
    iprot.readStructEnd()
19570
 
19571
  def write(self, oprot):
19572
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19573
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19574
      return
19575
    oprot.writeStructBegin('searchItemsInRange_result')
19576
    if self.success is not None:
19577
      oprot.writeFieldBegin('success', TType.LIST, 0)
19578
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 19579
      for iter363 in self.success:
19580
        iter363.write(oprot)
5944 mandeep.dh 19581
      oprot.writeListEnd()
19582
      oprot.writeFieldEnd()
19583
    oprot.writeFieldStop()
19584
    oprot.writeStructEnd()
19585
 
19586
  def validate(self):
19587
    return
19588
 
19589
 
19590
  def __repr__(self):
19591
    L = ['%s=%r' % (key, value)
19592
      for key, value in self.__dict__.iteritems()]
19593
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19594
 
19595
  def __eq__(self, other):
19596
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19597
 
19598
  def __ne__(self, other):
19599
    return not (self == other)
19600
 
19601
class getSearchResultCount_args:
19602
  """
19603
  Attributes:
19604
   - searchTerms
19605
  """
19606
 
19607
  thrift_spec = (
19608
    None, # 0
19609
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
19610
  )
19611
 
19612
  def __init__(self, searchTerms=None,):
19613
    self.searchTerms = searchTerms
19614
 
19615
  def read(self, iprot):
19616
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19617
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19618
      return
19619
    iprot.readStructBegin()
19620
    while True:
19621
      (fname, ftype, fid) = iprot.readFieldBegin()
19622
      if ftype == TType.STOP:
19623
        break
19624
      if fid == 1:
19625
        if ftype == TType.LIST:
19626
          self.searchTerms = []
13493 amit.gupta 19627
          (_etype367, _size364) = iprot.readListBegin()
19628
          for _i368 in xrange(_size364):
19629
            _elem369 = iprot.readString();
19630
            self.searchTerms.append(_elem369)
5944 mandeep.dh 19631
          iprot.readListEnd()
19632
        else:
19633
          iprot.skip(ftype)
19634
      else:
19635
        iprot.skip(ftype)
19636
      iprot.readFieldEnd()
19637
    iprot.readStructEnd()
19638
 
19639
  def write(self, oprot):
19640
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19641
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19642
      return
19643
    oprot.writeStructBegin('getSearchResultCount_args')
19644
    if self.searchTerms is not None:
19645
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
19646
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
13493 amit.gupta 19647
      for iter370 in self.searchTerms:
19648
        oprot.writeString(iter370)
5944 mandeep.dh 19649
      oprot.writeListEnd()
19650
      oprot.writeFieldEnd()
19651
    oprot.writeFieldStop()
19652
    oprot.writeStructEnd()
19653
 
19654
  def validate(self):
19655
    return
19656
 
19657
 
19658
  def __repr__(self):
19659
    L = ['%s=%r' % (key, value)
19660
      for key, value in self.__dict__.iteritems()]
19661
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19662
 
19663
  def __eq__(self, other):
19664
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19665
 
19666
  def __ne__(self, other):
19667
    return not (self == other)
19668
 
19669
class getSearchResultCount_result:
19670
  """
19671
  Attributes:
19672
   - success
19673
  """
19674
 
19675
  thrift_spec = (
19676
    (0, TType.I32, 'success', None, None, ), # 0
19677
  )
19678
 
19679
  def __init__(self, success=None,):
19680
    self.success = success
19681
 
19682
  def read(self, iprot):
19683
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19684
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19685
      return
19686
    iprot.readStructBegin()
19687
    while True:
19688
      (fname, ftype, fid) = iprot.readFieldBegin()
19689
      if ftype == TType.STOP:
19690
        break
19691
      if fid == 0:
19692
        if ftype == TType.I32:
19693
          self.success = iprot.readI32();
19694
        else:
19695
          iprot.skip(ftype)
19696
      else:
19697
        iprot.skip(ftype)
19698
      iprot.readFieldEnd()
19699
    iprot.readStructEnd()
19700
 
19701
  def write(self, oprot):
19702
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19703
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19704
      return
19705
    oprot.writeStructBegin('getSearchResultCount_result')
19706
    if self.success is not None:
19707
      oprot.writeFieldBegin('success', TType.I32, 0)
19708
      oprot.writeI32(self.success)
19709
      oprot.writeFieldEnd()
19710
    oprot.writeFieldStop()
19711
    oprot.writeStructEnd()
19712
 
19713
  def validate(self):
19714
    return
19715
 
19716
 
19717
  def __repr__(self):
19718
    L = ['%s=%r' % (key, value)
19719
      for key, value in self.__dict__.iteritems()]
19720
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19721
 
19722
  def __eq__(self, other):
19723
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19724
 
19725
  def __ne__(self, other):
19726
    return not (self == other)
19727
 
19728
class getProductNotifications_args:
19729
  """
19730
  Attributes:
19731
   - startDateTime
19732
  """
19733
 
19734
  thrift_spec = (
19735
    None, # 0
19736
    (1, TType.I64, 'startDateTime', None, None, ), # 1
19737
  )
19738
 
19739
  def __init__(self, startDateTime=None,):
19740
    self.startDateTime = startDateTime
19741
 
19742
  def read(self, iprot):
19743
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19744
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19745
      return
19746
    iprot.readStructBegin()
19747
    while True:
19748
      (fname, ftype, fid) = iprot.readFieldBegin()
19749
      if ftype == TType.STOP:
19750
        break
19751
      if fid == 1:
19752
        if ftype == TType.I64:
19753
          self.startDateTime = iprot.readI64();
19754
        else:
19755
          iprot.skip(ftype)
19756
      else:
19757
        iprot.skip(ftype)
19758
      iprot.readFieldEnd()
19759
    iprot.readStructEnd()
19760
 
19761
  def write(self, oprot):
19762
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19763
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19764
      return
19765
    oprot.writeStructBegin('getProductNotifications_args')
19766
    if self.startDateTime is not None:
19767
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
19768
      oprot.writeI64(self.startDateTime)
19769
      oprot.writeFieldEnd()
19770
    oprot.writeFieldStop()
19771
    oprot.writeStructEnd()
19772
 
19773
  def validate(self):
19774
    return
19775
 
19776
 
19777
  def __repr__(self):
19778
    L = ['%s=%r' % (key, value)
19779
      for key, value in self.__dict__.iteritems()]
19780
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19781
 
19782
  def __eq__(self, other):
19783
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19784
 
19785
  def __ne__(self, other):
19786
    return not (self == other)
19787
 
19788
class getProductNotifications_result:
19789
  """
19790
  Attributes:
19791
   - success
19792
  """
19793
 
19794
  thrift_spec = (
19795
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequest, ProductNotificationRequest.thrift_spec)), None, ), # 0
19796
  )
19797
 
19798
  def __init__(self, success=None,):
19799
    self.success = success
19800
 
19801
  def read(self, iprot):
19802
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19803
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19804
      return
19805
    iprot.readStructBegin()
19806
    while True:
19807
      (fname, ftype, fid) = iprot.readFieldBegin()
19808
      if ftype == TType.STOP:
19809
        break
19810
      if fid == 0:
19811
        if ftype == TType.LIST:
19812
          self.success = []
13493 amit.gupta 19813
          (_etype374, _size371) = iprot.readListBegin()
19814
          for _i375 in xrange(_size371):
19815
            _elem376 = ProductNotificationRequest()
19816
            _elem376.read(iprot)
19817
            self.success.append(_elem376)
5944 mandeep.dh 19818
          iprot.readListEnd()
19819
        else:
19820
          iprot.skip(ftype)
19821
      else:
19822
        iprot.skip(ftype)
19823
      iprot.readFieldEnd()
19824
    iprot.readStructEnd()
19825
 
19826
  def write(self, oprot):
19827
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19828
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19829
      return
19830
    oprot.writeStructBegin('getProductNotifications_result')
19831
    if self.success is not None:
19832
      oprot.writeFieldBegin('success', TType.LIST, 0)
19833
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 19834
      for iter377 in self.success:
19835
        iter377.write(oprot)
5944 mandeep.dh 19836
      oprot.writeListEnd()
19837
      oprot.writeFieldEnd()
19838
    oprot.writeFieldStop()
19839
    oprot.writeStructEnd()
19840
 
19841
  def validate(self):
19842
    return
19843
 
19844
 
19845
  def __repr__(self):
19846
    L = ['%s=%r' % (key, value)
19847
      for key, value in self.__dict__.iteritems()]
19848
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19849
 
19850
  def __eq__(self, other):
19851
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19852
 
19853
  def __ne__(self, other):
19854
    return not (self == other)
19855
 
19856
class getProductNotificationRequestCount_args:
19857
  """
19858
  Attributes:
19859
   - startDateTime
7897 amar.kumar 19860
   - categoryId
5944 mandeep.dh 19861
  """
19862
 
19863
  thrift_spec = (
19864
    None, # 0
19865
    (1, TType.I64, 'startDateTime', None, None, ), # 1
7897 amar.kumar 19866
    (2, TType.I64, 'categoryId', None, None, ), # 2
5944 mandeep.dh 19867
  )
19868
 
7897 amar.kumar 19869
  def __init__(self, startDateTime=None, categoryId=None,):
5944 mandeep.dh 19870
    self.startDateTime = startDateTime
7897 amar.kumar 19871
    self.categoryId = categoryId
5944 mandeep.dh 19872
 
19873
  def read(self, iprot):
19874
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19875
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19876
      return
19877
    iprot.readStructBegin()
19878
    while True:
19879
      (fname, ftype, fid) = iprot.readFieldBegin()
19880
      if ftype == TType.STOP:
19881
        break
19882
      if fid == 1:
19883
        if ftype == TType.I64:
19884
          self.startDateTime = iprot.readI64();
19885
        else:
19886
          iprot.skip(ftype)
7897 amar.kumar 19887
      elif fid == 2:
19888
        if ftype == TType.I64:
19889
          self.categoryId = iprot.readI64();
19890
        else:
19891
          iprot.skip(ftype)
5944 mandeep.dh 19892
      else:
19893
        iprot.skip(ftype)
19894
      iprot.readFieldEnd()
19895
    iprot.readStructEnd()
19896
 
19897
  def write(self, oprot):
19898
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19899
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19900
      return
19901
    oprot.writeStructBegin('getProductNotificationRequestCount_args')
19902
    if self.startDateTime is not None:
19903
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
19904
      oprot.writeI64(self.startDateTime)
19905
      oprot.writeFieldEnd()
7897 amar.kumar 19906
    if self.categoryId is not None:
19907
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
19908
      oprot.writeI64(self.categoryId)
19909
      oprot.writeFieldEnd()
5944 mandeep.dh 19910
    oprot.writeFieldStop()
19911
    oprot.writeStructEnd()
19912
 
19913
  def validate(self):
19914
    return
19915
 
19916
 
19917
  def __repr__(self):
19918
    L = ['%s=%r' % (key, value)
19919
      for key, value in self.__dict__.iteritems()]
19920
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19921
 
19922
  def __eq__(self, other):
19923
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19924
 
19925
  def __ne__(self, other):
19926
    return not (self == other)
19927
 
19928
class getProductNotificationRequestCount_result:
19929
  """
19930
  Attributes:
19931
   - success
19932
  """
19933
 
19934
  thrift_spec = (
19935
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequestCount, ProductNotificationRequestCount.thrift_spec)), None, ), # 0
19936
  )
19937
 
19938
  def __init__(self, success=None,):
19939
    self.success = success
19940
 
19941
  def read(self, iprot):
19942
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19943
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19944
      return
19945
    iprot.readStructBegin()
19946
    while True:
19947
      (fname, ftype, fid) = iprot.readFieldBegin()
19948
      if ftype == TType.STOP:
19949
        break
19950
      if fid == 0:
19951
        if ftype == TType.LIST:
19952
          self.success = []
13493 amit.gupta 19953
          (_etype381, _size378) = iprot.readListBegin()
19954
          for _i382 in xrange(_size378):
19955
            _elem383 = ProductNotificationRequestCount()
19956
            _elem383.read(iprot)
19957
            self.success.append(_elem383)
5944 mandeep.dh 19958
          iprot.readListEnd()
19959
        else:
19960
          iprot.skip(ftype)
19961
      else:
19962
        iprot.skip(ftype)
19963
      iprot.readFieldEnd()
19964
    iprot.readStructEnd()
19965
 
19966
  def write(self, oprot):
19967
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19968
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19969
      return
19970
    oprot.writeStructBegin('getProductNotificationRequestCount_result')
19971
    if self.success is not None:
19972
      oprot.writeFieldBegin('success', TType.LIST, 0)
19973
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 19974
      for iter384 in self.success:
19975
        iter384.write(oprot)
5944 mandeep.dh 19976
      oprot.writeListEnd()
19977
      oprot.writeFieldEnd()
19978
    oprot.writeFieldStop()
19979
    oprot.writeStructEnd()
19980
 
19981
  def validate(self):
19982
    return
19983
 
19984
 
19985
  def __repr__(self):
19986
    L = ['%s=%r' % (key, value)
19987
      for key, value in self.__dict__.iteritems()]
19988
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19989
 
19990
  def __eq__(self, other):
19991
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19992
 
19993
  def __ne__(self, other):
19994
    return not (self == other)
19995
 
19996
class addAuthorizationLog_args:
19997
  """
19998
  Attributes:
19999
   - itemId
20000
   - username
20001
   - reason
20002
  """
20003
 
20004
  thrift_spec = (
20005
    None, # 0
20006
    (1, TType.I64, 'itemId', None, None, ), # 1
20007
    (2, TType.STRING, 'username', None, None, ), # 2
20008
    (3, TType.STRING, 'reason', None, None, ), # 3
20009
  )
20010
 
20011
  def __init__(self, itemId=None, username=None, reason=None,):
20012
    self.itemId = itemId
20013
    self.username = username
20014
    self.reason = reason
20015
 
20016
  def read(self, iprot):
20017
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20018
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20019
      return
20020
    iprot.readStructBegin()
20021
    while True:
20022
      (fname, ftype, fid) = iprot.readFieldBegin()
20023
      if ftype == TType.STOP:
20024
        break
20025
      if fid == 1:
20026
        if ftype == TType.I64:
20027
          self.itemId = iprot.readI64();
20028
        else:
20029
          iprot.skip(ftype)
20030
      elif fid == 2:
20031
        if ftype == TType.STRING:
20032
          self.username = iprot.readString();
20033
        else:
20034
          iprot.skip(ftype)
20035
      elif fid == 3:
20036
        if ftype == TType.STRING:
20037
          self.reason = iprot.readString();
20038
        else:
20039
          iprot.skip(ftype)
20040
      else:
20041
        iprot.skip(ftype)
20042
      iprot.readFieldEnd()
20043
    iprot.readStructEnd()
20044
 
20045
  def write(self, oprot):
20046
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20047
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20048
      return
20049
    oprot.writeStructBegin('addAuthorizationLog_args')
20050
    if self.itemId is not None:
20051
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20052
      oprot.writeI64(self.itemId)
20053
      oprot.writeFieldEnd()
20054
    if self.username is not None:
20055
      oprot.writeFieldBegin('username', TType.STRING, 2)
20056
      oprot.writeString(self.username)
20057
      oprot.writeFieldEnd()
20058
    if self.reason is not None:
20059
      oprot.writeFieldBegin('reason', TType.STRING, 3)
20060
      oprot.writeString(self.reason)
20061
      oprot.writeFieldEnd()
20062
    oprot.writeFieldStop()
20063
    oprot.writeStructEnd()
20064
 
20065
  def validate(self):
20066
    return
20067
 
20068
 
20069
  def __repr__(self):
20070
    L = ['%s=%r' % (key, value)
20071
      for key, value in self.__dict__.iteritems()]
20072
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20073
 
20074
  def __eq__(self, other):
20075
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20076
 
20077
  def __ne__(self, other):
20078
    return not (self == other)
20079
 
20080
class addAuthorizationLog_result:
20081
  """
20082
  Attributes:
20083
   - success
20084
   - cex
20085
  """
20086
 
20087
  thrift_spec = (
20088
    (0, TType.BOOL, 'success', None, None, ), # 0
20089
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20090
  )
20091
 
20092
  def __init__(self, success=None, cex=None,):
20093
    self.success = success
20094
    self.cex = cex
20095
 
20096
  def read(self, iprot):
20097
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20098
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20099
      return
20100
    iprot.readStructBegin()
20101
    while True:
20102
      (fname, ftype, fid) = iprot.readFieldBegin()
20103
      if ftype == TType.STOP:
20104
        break
20105
      if fid == 0:
20106
        if ftype == TType.BOOL:
20107
          self.success = iprot.readBool();
20108
        else:
20109
          iprot.skip(ftype)
20110
      elif fid == 1:
20111
        if ftype == TType.STRUCT:
20112
          self.cex = CatalogServiceException()
20113
          self.cex.read(iprot)
20114
        else:
20115
          iprot.skip(ftype)
20116
      else:
20117
        iprot.skip(ftype)
20118
      iprot.readFieldEnd()
20119
    iprot.readStructEnd()
20120
 
20121
  def write(self, oprot):
20122
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20123
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20124
      return
20125
    oprot.writeStructBegin('addAuthorizationLog_result')
20126
    if self.success is not None:
20127
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20128
      oprot.writeBool(self.success)
20129
      oprot.writeFieldEnd()
20130
    if self.cex is not None:
20131
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20132
      self.cex.write(oprot)
20133
      oprot.writeFieldEnd()
20134
    oprot.writeFieldStop()
20135
    oprot.writeStructEnd()
20136
 
20137
  def validate(self):
20138
    return
20139
 
20140
 
20141
  def __repr__(self):
20142
    L = ['%s=%r' % (key, value)
20143
      for key, value in self.__dict__.iteritems()]
20144
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20145
 
20146
  def __eq__(self, other):
20147
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20148
 
20149
  def __ne__(self, other):
20150
    return not (self == other)
20151
 
20152
class addupdateVoucherForItem_args:
20153
  """
20154
  Attributes:
20155
   - catalog_item_id
20156
   - voucherType
20157
   - voucherAmount
20158
  """
20159
 
20160
  thrift_spec = (
20161
    None, # 0
20162
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20163
    (2, TType.I64, 'voucherType', None, None, ), # 2
20164
    (3, TType.I64, 'voucherAmount', None, None, ), # 3
20165
  )
20166
 
20167
  def __init__(self, catalog_item_id=None, voucherType=None, voucherAmount=None,):
20168
    self.catalog_item_id = catalog_item_id
20169
    self.voucherType = voucherType
20170
    self.voucherAmount = voucherAmount
20171
 
20172
  def read(self, iprot):
20173
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20174
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20175
      return
20176
    iprot.readStructBegin()
20177
    while True:
20178
      (fname, ftype, fid) = iprot.readFieldBegin()
20179
      if ftype == TType.STOP:
20180
        break
20181
      if fid == 1:
20182
        if ftype == TType.I64:
20183
          self.catalog_item_id = iprot.readI64();
20184
        else:
20185
          iprot.skip(ftype)
20186
      elif fid == 2:
20187
        if ftype == TType.I64:
20188
          self.voucherType = iprot.readI64();
20189
        else:
20190
          iprot.skip(ftype)
20191
      elif fid == 3:
20192
        if ftype == TType.I64:
20193
          self.voucherAmount = iprot.readI64();
20194
        else:
20195
          iprot.skip(ftype)
20196
      else:
20197
        iprot.skip(ftype)
20198
      iprot.readFieldEnd()
20199
    iprot.readStructEnd()
20200
 
20201
  def write(self, oprot):
20202
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20203
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20204
      return
20205
    oprot.writeStructBegin('addupdateVoucherForItem_args')
20206
    if self.catalog_item_id is not None:
20207
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20208
      oprot.writeI64(self.catalog_item_id)
20209
      oprot.writeFieldEnd()
20210
    if self.voucherType is not None:
20211
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20212
      oprot.writeI64(self.voucherType)
20213
      oprot.writeFieldEnd()
20214
    if self.voucherAmount is not None:
20215
      oprot.writeFieldBegin('voucherAmount', TType.I64, 3)
20216
      oprot.writeI64(self.voucherAmount)
20217
      oprot.writeFieldEnd()
20218
    oprot.writeFieldStop()
20219
    oprot.writeStructEnd()
20220
 
20221
  def validate(self):
20222
    return
20223
 
20224
 
20225
  def __repr__(self):
20226
    L = ['%s=%r' % (key, value)
20227
      for key, value in self.__dict__.iteritems()]
20228
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20229
 
20230
  def __eq__(self, other):
20231
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20232
 
20233
  def __ne__(self, other):
20234
    return not (self == other)
20235
 
20236
class addupdateVoucherForItem_result:
20237
  """
20238
  Attributes:
20239
   - success
20240
   - cex
20241
  """
20242
 
20243
  thrift_spec = (
20244
    (0, TType.BOOL, 'success', None, None, ), # 0
20245
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20246
  )
20247
 
20248
  def __init__(self, success=None, cex=None,):
20249
    self.success = success
20250
    self.cex = cex
20251
 
20252
  def read(self, iprot):
20253
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20254
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20255
      return
20256
    iprot.readStructBegin()
20257
    while True:
20258
      (fname, ftype, fid) = iprot.readFieldBegin()
20259
      if ftype == TType.STOP:
20260
        break
20261
      if fid == 0:
20262
        if ftype == TType.BOOL:
20263
          self.success = iprot.readBool();
20264
        else:
20265
          iprot.skip(ftype)
20266
      elif fid == 1:
20267
        if ftype == TType.STRUCT:
20268
          self.cex = CatalogServiceException()
20269
          self.cex.read(iprot)
20270
        else:
20271
          iprot.skip(ftype)
20272
      else:
20273
        iprot.skip(ftype)
20274
      iprot.readFieldEnd()
20275
    iprot.readStructEnd()
20276
 
20277
  def write(self, oprot):
20278
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20279
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20280
      return
20281
    oprot.writeStructBegin('addupdateVoucherForItem_result')
20282
    if self.success is not None:
20283
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20284
      oprot.writeBool(self.success)
20285
      oprot.writeFieldEnd()
20286
    if self.cex is not None:
20287
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20288
      self.cex.write(oprot)
20289
      oprot.writeFieldEnd()
20290
    oprot.writeFieldStop()
20291
    oprot.writeStructEnd()
20292
 
20293
  def validate(self):
20294
    return
20295
 
20296
 
20297
  def __repr__(self):
20298
    L = ['%s=%r' % (key, value)
20299
      for key, value in self.__dict__.iteritems()]
20300
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20301
 
20302
  def __eq__(self, other):
20303
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20304
 
20305
  def __ne__(self, other):
20306
    return not (self == other)
20307
 
20308
class deleteVoucherForItem_args:
20309
  """
20310
  Attributes:
20311
   - catalog_item_id
20312
   - voucherType
20313
  """
20314
 
20315
  thrift_spec = (
20316
    None, # 0
20317
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20318
    (2, TType.I64, 'voucherType', None, None, ), # 2
20319
  )
20320
 
20321
  def __init__(self, catalog_item_id=None, voucherType=None,):
20322
    self.catalog_item_id = catalog_item_id
20323
    self.voucherType = voucherType
20324
 
20325
  def read(self, iprot):
20326
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20327
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20328
      return
20329
    iprot.readStructBegin()
20330
    while True:
20331
      (fname, ftype, fid) = iprot.readFieldBegin()
20332
      if ftype == TType.STOP:
20333
        break
20334
      if fid == 1:
20335
        if ftype == TType.I64:
20336
          self.catalog_item_id = iprot.readI64();
20337
        else:
20338
          iprot.skip(ftype)
20339
      elif fid == 2:
20340
        if ftype == TType.I64:
20341
          self.voucherType = iprot.readI64();
20342
        else:
20343
          iprot.skip(ftype)
20344
      else:
20345
        iprot.skip(ftype)
20346
      iprot.readFieldEnd()
20347
    iprot.readStructEnd()
20348
 
20349
  def write(self, oprot):
20350
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20351
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20352
      return
20353
    oprot.writeStructBegin('deleteVoucherForItem_args')
20354
    if self.catalog_item_id is not None:
20355
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20356
      oprot.writeI64(self.catalog_item_id)
20357
      oprot.writeFieldEnd()
20358
    if self.voucherType is not None:
20359
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20360
      oprot.writeI64(self.voucherType)
20361
      oprot.writeFieldEnd()
20362
    oprot.writeFieldStop()
20363
    oprot.writeStructEnd()
20364
 
20365
  def validate(self):
20366
    return
20367
 
20368
 
20369
  def __repr__(self):
20370
    L = ['%s=%r' % (key, value)
20371
      for key, value in self.__dict__.iteritems()]
20372
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20373
 
20374
  def __eq__(self, other):
20375
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20376
 
20377
  def __ne__(self, other):
20378
    return not (self == other)
20379
 
20380
class deleteVoucherForItem_result:
20381
  """
20382
  Attributes:
20383
   - success
20384
   - cex
20385
  """
20386
 
20387
  thrift_spec = (
20388
    (0, TType.BOOL, 'success', None, None, ), # 0
20389
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
20390
  )
20391
 
20392
  def __init__(self, success=None, cex=None,):
20393
    self.success = success
20394
    self.cex = cex
20395
 
20396
  def read(self, iprot):
20397
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20398
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20399
      return
20400
    iprot.readStructBegin()
20401
    while True:
20402
      (fname, ftype, fid) = iprot.readFieldBegin()
20403
      if ftype == TType.STOP:
20404
        break
20405
      if fid == 0:
20406
        if ftype == TType.BOOL:
20407
          self.success = iprot.readBool();
20408
        else:
20409
          iprot.skip(ftype)
20410
      elif fid == 1:
20411
        if ftype == TType.STRUCT:
20412
          self.cex = CatalogServiceException()
20413
          self.cex.read(iprot)
20414
        else:
20415
          iprot.skip(ftype)
20416
      else:
20417
        iprot.skip(ftype)
20418
      iprot.readFieldEnd()
20419
    iprot.readStructEnd()
20420
 
20421
  def write(self, oprot):
20422
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20423
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20424
      return
20425
    oprot.writeStructBegin('deleteVoucherForItem_result')
20426
    if self.success is not None:
20427
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20428
      oprot.writeBool(self.success)
20429
      oprot.writeFieldEnd()
20430
    if self.cex is not None:
20431
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20432
      self.cex.write(oprot)
20433
      oprot.writeFieldEnd()
20434
    oprot.writeFieldStop()
20435
    oprot.writeStructEnd()
20436
 
20437
  def validate(self):
20438
    return
20439
 
20440
 
20441
  def __repr__(self):
20442
    L = ['%s=%r' % (key, value)
20443
      for key, value in self.__dict__.iteritems()]
20444
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20445
 
20446
  def __eq__(self, other):
20447
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20448
 
20449
  def __ne__(self, other):
20450
    return not (self == other)
20451
 
20452
class getVoucherAmount_args:
20453
  """
20454
  Attributes:
20455
   - itemId
20456
   - voucherType
20457
  """
20458
 
20459
  thrift_spec = (
20460
    None, # 0
20461
    (1, TType.I64, 'itemId', None, None, ), # 1
20462
    (2, TType.I64, 'voucherType', None, None, ), # 2
20463
  )
20464
 
20465
  def __init__(self, itemId=None, voucherType=None,):
20466
    self.itemId = itemId
20467
    self.voucherType = voucherType
20468
 
20469
  def read(self, iprot):
20470
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20471
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20472
      return
20473
    iprot.readStructBegin()
20474
    while True:
20475
      (fname, ftype, fid) = iprot.readFieldBegin()
20476
      if ftype == TType.STOP:
20477
        break
20478
      if fid == 1:
20479
        if ftype == TType.I64:
20480
          self.itemId = iprot.readI64();
20481
        else:
20482
          iprot.skip(ftype)
20483
      elif fid == 2:
20484
        if ftype == TType.I64:
20485
          self.voucherType = iprot.readI64();
20486
        else:
20487
          iprot.skip(ftype)
20488
      else:
20489
        iprot.skip(ftype)
20490
      iprot.readFieldEnd()
20491
    iprot.readStructEnd()
20492
 
20493
  def write(self, oprot):
20494
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20495
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20496
      return
20497
    oprot.writeStructBegin('getVoucherAmount_args')
20498
    if self.itemId is not None:
20499
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20500
      oprot.writeI64(self.itemId)
20501
      oprot.writeFieldEnd()
20502
    if self.voucherType is not None:
20503
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
20504
      oprot.writeI64(self.voucherType)
20505
      oprot.writeFieldEnd()
20506
    oprot.writeFieldStop()
20507
    oprot.writeStructEnd()
20508
 
20509
  def validate(self):
20510
    return
20511
 
20512
 
20513
  def __repr__(self):
20514
    L = ['%s=%r' % (key, value)
20515
      for key, value in self.__dict__.iteritems()]
20516
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20517
 
20518
  def __eq__(self, other):
20519
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20520
 
20521
  def __ne__(self, other):
20522
    return not (self == other)
20523
 
20524
class getVoucherAmount_result:
20525
  """
20526
  Attributes:
20527
   - success
20528
  """
20529
 
20530
  thrift_spec = (
20531
    (0, TType.I64, 'success', None, None, ), # 0
20532
  )
20533
 
20534
  def __init__(self, success=None,):
20535
    self.success = success
20536
 
20537
  def read(self, iprot):
20538
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20539
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20540
      return
20541
    iprot.readStructBegin()
20542
    while True:
20543
      (fname, ftype, fid) = iprot.readFieldBegin()
20544
      if ftype == TType.STOP:
20545
        break
20546
      if fid == 0:
20547
        if ftype == TType.I64:
20548
          self.success = iprot.readI64();
20549
        else:
20550
          iprot.skip(ftype)
20551
      else:
20552
        iprot.skip(ftype)
20553
      iprot.readFieldEnd()
20554
    iprot.readStructEnd()
20555
 
20556
  def write(self, oprot):
20557
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20558
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20559
      return
20560
    oprot.writeStructBegin('getVoucherAmount_result')
20561
    if self.success is not None:
20562
      oprot.writeFieldBegin('success', TType.I64, 0)
20563
      oprot.writeI64(self.success)
20564
      oprot.writeFieldEnd()
20565
    oprot.writeFieldStop()
20566
    oprot.writeStructEnd()
20567
 
20568
  def validate(self):
20569
    return
20570
 
20571
 
20572
  def __repr__(self):
20573
    L = ['%s=%r' % (key, value)
20574
      for key, value in self.__dict__.iteritems()]
20575
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20576
 
20577
  def __eq__(self, other):
20578
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20579
 
20580
  def __ne__(self, other):
20581
    return not (self == other)
20582
 
20583
class getAllItemVouchers_args:
20584
  """
20585
  Attributes:
20586
   - itemId
20587
  """
20588
 
20589
  thrift_spec = (
20590
    None, # 0
20591
    (1, TType.I64, 'itemId', None, None, ), # 1
20592
  )
20593
 
20594
  def __init__(self, itemId=None,):
20595
    self.itemId = itemId
20596
 
20597
  def read(self, iprot):
20598
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20599
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20600
      return
20601
    iprot.readStructBegin()
20602
    while True:
20603
      (fname, ftype, fid) = iprot.readFieldBegin()
20604
      if ftype == TType.STOP:
20605
        break
20606
      if fid == 1:
20607
        if ftype == TType.I64:
20608
          self.itemId = iprot.readI64();
20609
        else:
20610
          iprot.skip(ftype)
20611
      else:
20612
        iprot.skip(ftype)
20613
      iprot.readFieldEnd()
20614
    iprot.readStructEnd()
20615
 
20616
  def write(self, oprot):
20617
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20618
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20619
      return
20620
    oprot.writeStructBegin('getAllItemVouchers_args')
20621
    if self.itemId is not None:
20622
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20623
      oprot.writeI64(self.itemId)
20624
      oprot.writeFieldEnd()
20625
    oprot.writeFieldStop()
20626
    oprot.writeStructEnd()
20627
 
20628
  def validate(self):
20629
    return
20630
 
20631
 
20632
  def __repr__(self):
20633
    L = ['%s=%r' % (key, value)
20634
      for key, value in self.__dict__.iteritems()]
20635
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20636
 
20637
  def __eq__(self, other):
20638
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20639
 
20640
  def __ne__(self, other):
20641
    return not (self == other)
20642
 
20643
class getAllItemVouchers_result:
20644
  """
20645
  Attributes:
20646
   - success
20647
  """
20648
 
20649
  thrift_spec = (
20650
    (0, TType.LIST, 'success', (TType.STRUCT,(VoucherItemMapping, VoucherItemMapping.thrift_spec)), None, ), # 0
20651
  )
20652
 
20653
  def __init__(self, success=None,):
20654
    self.success = success
20655
 
20656
  def read(self, iprot):
20657
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20658
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20659
      return
20660
    iprot.readStructBegin()
20661
    while True:
20662
      (fname, ftype, fid) = iprot.readFieldBegin()
20663
      if ftype == TType.STOP:
20664
        break
20665
      if fid == 0:
20666
        if ftype == TType.LIST:
20667
          self.success = []
13493 amit.gupta 20668
          (_etype388, _size385) = iprot.readListBegin()
20669
          for _i389 in xrange(_size385):
20670
            _elem390 = VoucherItemMapping()
20671
            _elem390.read(iprot)
20672
            self.success.append(_elem390)
5944 mandeep.dh 20673
          iprot.readListEnd()
20674
        else:
20675
          iprot.skip(ftype)
20676
      else:
20677
        iprot.skip(ftype)
20678
      iprot.readFieldEnd()
20679
    iprot.readStructEnd()
20680
 
20681
  def write(self, oprot):
20682
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20683
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20684
      return
20685
    oprot.writeStructBegin('getAllItemVouchers_result')
20686
    if self.success is not None:
20687
      oprot.writeFieldBegin('success', TType.LIST, 0)
20688
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 20689
      for iter391 in self.success:
20690
        iter391.write(oprot)
5944 mandeep.dh 20691
      oprot.writeListEnd()
20692
      oprot.writeFieldEnd()
20693
    oprot.writeFieldStop()
20694
    oprot.writeStructEnd()
20695
 
20696
  def validate(self):
20697
    return
20698
 
20699
 
20700
  def __repr__(self):
20701
    L = ['%s=%r' % (key, value)
20702
      for key, value in self.__dict__.iteritems()]
20703
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20704
 
20705
  def __eq__(self, other):
20706
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20707
 
20708
  def __ne__(self, other):
20709
    return not (self == other)
20710
 
20711
class isValidCatalogItemId_args:
20712
  """
20713
  Attributes:
20714
   - catalog_item_id
20715
  """
20716
 
20717
  thrift_spec = (
20718
    None, # 0
20719
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20720
  )
20721
 
20722
  def __init__(self, catalog_item_id=None,):
20723
    self.catalog_item_id = catalog_item_id
20724
 
20725
  def read(self, iprot):
20726
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20727
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20728
      return
20729
    iprot.readStructBegin()
20730
    while True:
20731
      (fname, ftype, fid) = iprot.readFieldBegin()
20732
      if ftype == TType.STOP:
20733
        break
20734
      if fid == 1:
20735
        if ftype == TType.I64:
20736
          self.catalog_item_id = iprot.readI64();
20737
        else:
20738
          iprot.skip(ftype)
20739
      else:
20740
        iprot.skip(ftype)
20741
      iprot.readFieldEnd()
20742
    iprot.readStructEnd()
20743
 
20744
  def write(self, oprot):
20745
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20746
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20747
      return
20748
    oprot.writeStructBegin('isValidCatalogItemId_args')
20749
    if self.catalog_item_id is not None:
20750
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20751
      oprot.writeI64(self.catalog_item_id)
20752
      oprot.writeFieldEnd()
20753
    oprot.writeFieldStop()
20754
    oprot.writeStructEnd()
20755
 
20756
  def validate(self):
20757
    return
20758
 
20759
 
20760
  def __repr__(self):
20761
    L = ['%s=%r' % (key, value)
20762
      for key, value in self.__dict__.iteritems()]
20763
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20764
 
20765
  def __eq__(self, other):
20766
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20767
 
20768
  def __ne__(self, other):
20769
    return not (self == other)
20770
 
20771
class isValidCatalogItemId_result:
20772
  """
20773
  Attributes:
20774
   - success
20775
  """
20776
 
20777
  thrift_spec = (
20778
    (0, TType.BOOL, 'success', None, None, ), # 0
20779
  )
20780
 
20781
  def __init__(self, success=None,):
20782
    self.success = success
20783
 
20784
  def read(self, iprot):
20785
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20786
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20787
      return
20788
    iprot.readStructBegin()
20789
    while True:
20790
      (fname, ftype, fid) = iprot.readFieldBegin()
20791
      if ftype == TType.STOP:
20792
        break
20793
      if fid == 0:
20794
        if ftype == TType.BOOL:
20795
          self.success = iprot.readBool();
20796
        else:
20797
          iprot.skip(ftype)
20798
      else:
20799
        iprot.skip(ftype)
20800
      iprot.readFieldEnd()
20801
    iprot.readStructEnd()
20802
 
20803
  def write(self, oprot):
20804
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20805
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20806
      return
20807
    oprot.writeStructBegin('isValidCatalogItemId_result')
20808
    if self.success is not None:
20809
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20810
      oprot.writeBool(self.success)
20811
      oprot.writeFieldEnd()
20812
    oprot.writeFieldStop()
20813
    oprot.writeStructEnd()
20814
 
20815
  def validate(self):
20816
    return
20817
 
20818
 
20819
  def __repr__(self):
20820
    L = ['%s=%r' % (key, value)
20821
      for key, value in self.__dict__.iteritems()]
20822
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20823
 
20824
  def __eq__(self, other):
20825
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20826
 
20827
  def __ne__(self, other):
20828
    return not (self == other)
6039 amit.gupta 20829
 
20830
class getVatPercentageForItem_args:
20831
  """
20832
  Attributes:
20833
   - itemId
7330 amit.gupta 20834
   - stateId
6039 amit.gupta 20835
   - price
20836
  """
20837
 
20838
  thrift_spec = (
20839
    None, # 0
20840
    (1, TType.I64, 'itemId', None, None, ), # 1
7330 amit.gupta 20841
    (2, TType.I64, 'stateId', None, None, ), # 2
20842
    (3, TType.DOUBLE, 'price', None, None, ), # 3
6039 amit.gupta 20843
  )
20844
 
7330 amit.gupta 20845
  def __init__(self, itemId=None, stateId=None, price=None,):
6039 amit.gupta 20846
    self.itemId = itemId
7330 amit.gupta 20847
    self.stateId = stateId
6039 amit.gupta 20848
    self.price = price
20849
 
20850
  def read(self, iprot):
20851
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20852
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20853
      return
20854
    iprot.readStructBegin()
20855
    while True:
20856
      (fname, ftype, fid) = iprot.readFieldBegin()
20857
      if ftype == TType.STOP:
20858
        break
20859
      if fid == 1:
20860
        if ftype == TType.I64:
20861
          self.itemId = iprot.readI64();
20862
        else:
20863
          iprot.skip(ftype)
20864
      elif fid == 2:
7330 amit.gupta 20865
        if ftype == TType.I64:
20866
          self.stateId = iprot.readI64();
20867
        else:
20868
          iprot.skip(ftype)
20869
      elif fid == 3:
6039 amit.gupta 20870
        if ftype == TType.DOUBLE:
20871
          self.price = iprot.readDouble();
20872
        else:
20873
          iprot.skip(ftype)
20874
      else:
20875
        iprot.skip(ftype)
20876
      iprot.readFieldEnd()
20877
    iprot.readStructEnd()
20878
 
20879
  def write(self, oprot):
20880
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20881
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20882
      return
20883
    oprot.writeStructBegin('getVatPercentageForItem_args')
20884
    if self.itemId is not None:
20885
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20886
      oprot.writeI64(self.itemId)
20887
      oprot.writeFieldEnd()
7330 amit.gupta 20888
    if self.stateId is not None:
20889
      oprot.writeFieldBegin('stateId', TType.I64, 2)
20890
      oprot.writeI64(self.stateId)
20891
      oprot.writeFieldEnd()
6039 amit.gupta 20892
    if self.price is not None:
7330 amit.gupta 20893
      oprot.writeFieldBegin('price', TType.DOUBLE, 3)
6039 amit.gupta 20894
      oprot.writeDouble(self.price)
20895
      oprot.writeFieldEnd()
20896
    oprot.writeFieldStop()
20897
    oprot.writeStructEnd()
20898
 
20899
  def validate(self):
20900
    return
20901
 
20902
 
20903
  def __repr__(self):
20904
    L = ['%s=%r' % (key, value)
20905
      for key, value in self.__dict__.iteritems()]
20906
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20907
 
20908
  def __eq__(self, other):
20909
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20910
 
20911
  def __ne__(self, other):
20912
    return not (self == other)
20913
 
20914
class getVatPercentageForItem_result:
20915
  """
20916
  Attributes:
20917
   - success
7340 amit.gupta 20918
   - cex
6039 amit.gupta 20919
  """
20920
 
20921
  thrift_spec = (
20922
    (0, TType.DOUBLE, 'success', None, None, ), # 0
7340 amit.gupta 20923
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
6039 amit.gupta 20924
  )
20925
 
7340 amit.gupta 20926
  def __init__(self, success=None, cex=None,):
6039 amit.gupta 20927
    self.success = success
7340 amit.gupta 20928
    self.cex = cex
6039 amit.gupta 20929
 
20930
  def read(self, iprot):
20931
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20932
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20933
      return
20934
    iprot.readStructBegin()
20935
    while True:
20936
      (fname, ftype, fid) = iprot.readFieldBegin()
20937
      if ftype == TType.STOP:
20938
        break
20939
      if fid == 0:
20940
        if ftype == TType.DOUBLE:
20941
          self.success = iprot.readDouble();
20942
        else:
20943
          iprot.skip(ftype)
7340 amit.gupta 20944
      elif fid == 1:
20945
        if ftype == TType.STRUCT:
20946
          self.cex = CatalogServiceException()
20947
          self.cex.read(iprot)
20948
        else:
20949
          iprot.skip(ftype)
6039 amit.gupta 20950
      else:
20951
        iprot.skip(ftype)
20952
      iprot.readFieldEnd()
20953
    iprot.readStructEnd()
20954
 
20955
  def write(self, oprot):
20956
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20957
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20958
      return
20959
    oprot.writeStructBegin('getVatPercentageForItem_result')
20960
    if self.success is not None:
20961
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
20962
      oprot.writeDouble(self.success)
20963
      oprot.writeFieldEnd()
7340 amit.gupta 20964
    if self.cex is not None:
20965
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20966
      self.cex.write(oprot)
20967
      oprot.writeFieldEnd()
6039 amit.gupta 20968
    oprot.writeFieldStop()
20969
    oprot.writeStructEnd()
20970
 
20971
  def validate(self):
20972
    return
20973
 
20974
 
20975
  def __repr__(self):
20976
    L = ['%s=%r' % (key, value)
20977
      for key, value in self.__dict__.iteritems()]
20978
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20979
 
20980
  def __eq__(self, other):
20981
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20982
 
20983
  def __ne__(self, other):
20984
    return not (self == other)
20985
 
20986
class getVatAmountForItem_args:
20987
  """
20988
  Attributes:
20989
   - itemId
20990
   - price
20991
  """
20992
 
20993
  thrift_spec = (
20994
    None, # 0
20995
    (1, TType.I64, 'itemId', None, None, ), # 1
20996
    (2, TType.DOUBLE, 'price', None, None, ), # 2
20997
  )
20998
 
20999
  def __init__(self, itemId=None, price=None,):
21000
    self.itemId = itemId
21001
    self.price = price
21002
 
21003
  def read(self, iprot):
21004
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21005
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21006
      return
21007
    iprot.readStructBegin()
21008
    while True:
21009
      (fname, ftype, fid) = iprot.readFieldBegin()
21010
      if ftype == TType.STOP:
21011
        break
21012
      if fid == 1:
21013
        if ftype == TType.I64:
21014
          self.itemId = iprot.readI64();
21015
        else:
21016
          iprot.skip(ftype)
21017
      elif fid == 2:
21018
        if ftype == TType.DOUBLE:
21019
          self.price = iprot.readDouble();
21020
        else:
21021
          iprot.skip(ftype)
21022
      else:
21023
        iprot.skip(ftype)
21024
      iprot.readFieldEnd()
21025
    iprot.readStructEnd()
21026
 
21027
  def write(self, oprot):
21028
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21029
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21030
      return
21031
    oprot.writeStructBegin('getVatAmountForItem_args')
21032
    if self.itemId is not None:
21033
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21034
      oprot.writeI64(self.itemId)
21035
      oprot.writeFieldEnd()
21036
    if self.price is not None:
21037
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
21038
      oprot.writeDouble(self.price)
21039
      oprot.writeFieldEnd()
21040
    oprot.writeFieldStop()
21041
    oprot.writeStructEnd()
21042
 
21043
  def validate(self):
21044
    return
21045
 
21046
 
21047
  def __repr__(self):
21048
    L = ['%s=%r' % (key, value)
21049
      for key, value in self.__dict__.iteritems()]
21050
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21051
 
21052
  def __eq__(self, other):
21053
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21054
 
21055
  def __ne__(self, other):
21056
    return not (self == other)
21057
 
21058
class getVatAmountForItem_result:
21059
  """
21060
  Attributes:
21061
   - success
21062
  """
21063
 
21064
  thrift_spec = (
21065
    (0, TType.DOUBLE, 'success', None, None, ), # 0
21066
  )
21067
 
21068
  def __init__(self, success=None,):
21069
    self.success = success
21070
 
21071
  def read(self, iprot):
21072
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21073
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21074
      return
21075
    iprot.readStructBegin()
21076
    while True:
21077
      (fname, ftype, fid) = iprot.readFieldBegin()
21078
      if ftype == TType.STOP:
21079
        break
21080
      if fid == 0:
21081
        if ftype == TType.DOUBLE:
21082
          self.success = iprot.readDouble();
21083
        else:
21084
          iprot.skip(ftype)
21085
      else:
21086
        iprot.skip(ftype)
21087
      iprot.readFieldEnd()
21088
    iprot.readStructEnd()
21089
 
21090
  def write(self, oprot):
21091
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21092
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21093
      return
21094
    oprot.writeStructBegin('getVatAmountForItem_result')
21095
    if self.success is not None:
21096
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
21097
      oprot.writeDouble(self.success)
21098
      oprot.writeFieldEnd()
21099
    oprot.writeFieldStop()
21100
    oprot.writeStructEnd()
21101
 
21102
  def validate(self):
21103
    return
21104
 
21105
 
21106
  def __repr__(self):
21107
    L = ['%s=%r' % (key, value)
21108
      for key, value in self.__dict__.iteritems()]
21109
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21110
 
21111
  def __eq__(self, other):
21112
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21113
 
21114
  def __ne__(self, other):
21115
    return not (self == other)
6531 vikram.rag 21116
 
21117
class getAllIgnoredInventoryUpdateItemsList_args:
21118
  """
21119
  Attributes:
21120
   - offset
21121
   - limit
21122
  """
21123
 
21124
  thrift_spec = (
21125
    None, # 0
21126
    (1, TType.I32, 'offset', None, None, ), # 1
21127
    (2, TType.I32, 'limit', None, None, ), # 2
21128
  )
21129
 
21130
  def __init__(self, offset=None, limit=None,):
21131
    self.offset = offset
21132
    self.limit = limit
21133
 
21134
  def read(self, iprot):
21135
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21136
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21137
      return
21138
    iprot.readStructBegin()
21139
    while True:
21140
      (fname, ftype, fid) = iprot.readFieldBegin()
21141
      if ftype == TType.STOP:
21142
        break
21143
      if fid == 1:
21144
        if ftype == TType.I32:
21145
          self.offset = iprot.readI32();
21146
        else:
21147
          iprot.skip(ftype)
21148
      elif fid == 2:
21149
        if ftype == TType.I32:
21150
          self.limit = iprot.readI32();
21151
        else:
21152
          iprot.skip(ftype)
21153
      else:
21154
        iprot.skip(ftype)
21155
      iprot.readFieldEnd()
21156
    iprot.readStructEnd()
21157
 
21158
  def write(self, oprot):
21159
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21160
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21161
      return
21162
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_args')
21163
    if self.offset is not None:
21164
      oprot.writeFieldBegin('offset', TType.I32, 1)
21165
      oprot.writeI32(self.offset)
21166
      oprot.writeFieldEnd()
21167
    if self.limit is not None:
21168
      oprot.writeFieldBegin('limit', TType.I32, 2)
21169
      oprot.writeI32(self.limit)
21170
      oprot.writeFieldEnd()
21171
    oprot.writeFieldStop()
21172
    oprot.writeStructEnd()
21173
 
21174
  def validate(self):
21175
    return
21176
 
21177
 
21178
  def __repr__(self):
21179
    L = ['%s=%r' % (key, value)
21180
      for key, value in self.__dict__.iteritems()]
21181
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21182
 
21183
  def __eq__(self, other):
21184
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21185
 
21186
  def __ne__(self, other):
21187
    return not (self == other)
21188
 
21189
class getAllIgnoredInventoryUpdateItemsList_result:
21190
  """
21191
  Attributes:
21192
   - success
21193
  """
21194
 
21195
  thrift_spec = (
21196
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
21197
  )
21198
 
21199
  def __init__(self, success=None,):
21200
    self.success = success
21201
 
21202
  def read(self, iprot):
21203
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21204
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21205
      return
21206
    iprot.readStructBegin()
21207
    while True:
21208
      (fname, ftype, fid) = iprot.readFieldBegin()
21209
      if ftype == TType.STOP:
21210
        break
21211
      if fid == 0:
21212
        if ftype == TType.LIST:
21213
          self.success = []
13493 amit.gupta 21214
          (_etype395, _size392) = iprot.readListBegin()
21215
          for _i396 in xrange(_size392):
21216
            _elem397 = Item()
21217
            _elem397.read(iprot)
21218
            self.success.append(_elem397)
6531 vikram.rag 21219
          iprot.readListEnd()
21220
        else:
21221
          iprot.skip(ftype)
21222
      else:
21223
        iprot.skip(ftype)
21224
      iprot.readFieldEnd()
21225
    iprot.readStructEnd()
21226
 
21227
  def write(self, oprot):
21228
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21229
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21230
      return
21231
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_result')
21232
    if self.success is not None:
21233
      oprot.writeFieldBegin('success', TType.LIST, 0)
21234
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 21235
      for iter398 in self.success:
21236
        iter398.write(oprot)
6531 vikram.rag 21237
      oprot.writeListEnd()
21238
      oprot.writeFieldEnd()
21239
    oprot.writeFieldStop()
21240
    oprot.writeStructEnd()
21241
 
21242
  def validate(self):
21243
    return
21244
 
21245
 
21246
  def __repr__(self):
21247
    L = ['%s=%r' % (key, value)
21248
      for key, value in self.__dict__.iteritems()]
21249
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21250
 
21251
  def __eq__(self, other):
21252
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21253
 
21254
  def __ne__(self, other):
21255
    return not (self == other)
6805 anupam.sin 21256
 
6821 amar.kumar 21257
class getAllAliveItems_args:
21258
 
21259
  thrift_spec = (
21260
  )
21261
 
21262
  def read(self, iprot):
21263
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21264
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21265
      return
21266
    iprot.readStructBegin()
21267
    while True:
21268
      (fname, ftype, fid) = iprot.readFieldBegin()
21269
      if ftype == TType.STOP:
21270
        break
21271
      else:
21272
        iprot.skip(ftype)
21273
      iprot.readFieldEnd()
21274
    iprot.readStructEnd()
21275
 
21276
  def write(self, oprot):
21277
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21278
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21279
      return
21280
    oprot.writeStructBegin('getAllAliveItems_args')
21281
    oprot.writeFieldStop()
21282
    oprot.writeStructEnd()
21283
 
21284
  def validate(self):
21285
    return
21286
 
21287
 
21288
  def __repr__(self):
21289
    L = ['%s=%r' % (key, value)
21290
      for key, value in self.__dict__.iteritems()]
21291
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21292
 
21293
  def __eq__(self, other):
21294
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21295
 
21296
  def __ne__(self, other):
21297
    return not (self == other)
21298
 
21299
class getAllAliveItems_result:
21300
  """
21301
  Attributes:
21302
   - success
21303
  """
21304
 
21305
  thrift_spec = (
21306
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
21307
  )
21308
 
21309
  def __init__(self, success=None,):
21310
    self.success = success
21311
 
21312
  def read(self, iprot):
21313
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21314
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21315
      return
21316
    iprot.readStructBegin()
21317
    while True:
21318
      (fname, ftype, fid) = iprot.readFieldBegin()
21319
      if ftype == TType.STOP:
21320
        break
21321
      if fid == 0:
21322
        if ftype == TType.LIST:
21323
          self.success = []
13493 amit.gupta 21324
          (_etype402, _size399) = iprot.readListBegin()
21325
          for _i403 in xrange(_size399):
21326
            _elem404 = Item()
21327
            _elem404.read(iprot)
21328
            self.success.append(_elem404)
6821 amar.kumar 21329
          iprot.readListEnd()
21330
        else:
21331
          iprot.skip(ftype)
21332
      else:
21333
        iprot.skip(ftype)
21334
      iprot.readFieldEnd()
21335
    iprot.readStructEnd()
21336
 
21337
  def write(self, oprot):
21338
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21339
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21340
      return
21341
    oprot.writeStructBegin('getAllAliveItems_result')
21342
    if self.success is not None:
21343
      oprot.writeFieldBegin('success', TType.LIST, 0)
21344
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 21345
      for iter405 in self.success:
21346
        iter405.write(oprot)
6821 amar.kumar 21347
      oprot.writeListEnd()
21348
      oprot.writeFieldEnd()
21349
    oprot.writeFieldStop()
21350
    oprot.writeStructEnd()
21351
 
21352
  def validate(self):
21353
    return
21354
 
21355
 
21356
  def __repr__(self):
21357
    L = ['%s=%r' % (key, value)
21358
      for key, value in self.__dict__.iteritems()]
21359
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21360
 
21361
  def __eq__(self, other):
21362
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21363
 
21364
  def __ne__(self, other):
21365
    return not (self == other)
21366
 
6805 anupam.sin 21367
class getInsuranceAmount_args:
21368
  """
21369
  Attributes:
21370
   - itemId
6921 anupam.sin 21371
   - price
6805 anupam.sin 21372
   - insurerId
21373
   - quantity
21374
  """
21375
 
21376
  thrift_spec = (
21377
    None, # 0
21378
    (1, TType.I64, 'itemId', None, None, ), # 1
6921 anupam.sin 21379
    (2, TType.DOUBLE, 'price', None, None, ), # 2
21380
    (3, TType.I64, 'insurerId', None, None, ), # 3
21381
    (4, TType.I64, 'quantity', None, None, ), # 4
6805 anupam.sin 21382
  )
21383
 
6921 anupam.sin 21384
  def __init__(self, itemId=None, price=None, insurerId=None, quantity=None,):
6805 anupam.sin 21385
    self.itemId = itemId
6921 anupam.sin 21386
    self.price = price
6805 anupam.sin 21387
    self.insurerId = insurerId
21388
    self.quantity = quantity
21389
 
21390
  def read(self, iprot):
21391
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21392
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21393
      return
21394
    iprot.readStructBegin()
21395
    while True:
21396
      (fname, ftype, fid) = iprot.readFieldBegin()
21397
      if ftype == TType.STOP:
21398
        break
21399
      if fid == 1:
21400
        if ftype == TType.I64:
21401
          self.itemId = iprot.readI64();
21402
        else:
21403
          iprot.skip(ftype)
21404
      elif fid == 2:
6921 anupam.sin 21405
        if ftype == TType.DOUBLE:
21406
          self.price = iprot.readDouble();
21407
        else:
21408
          iprot.skip(ftype)
21409
      elif fid == 3:
6805 anupam.sin 21410
        if ftype == TType.I64:
21411
          self.insurerId = iprot.readI64();
21412
        else:
21413
          iprot.skip(ftype)
6921 anupam.sin 21414
      elif fid == 4:
6805 anupam.sin 21415
        if ftype == TType.I64:
21416
          self.quantity = iprot.readI64();
21417
        else:
21418
          iprot.skip(ftype)
21419
      else:
21420
        iprot.skip(ftype)
21421
      iprot.readFieldEnd()
21422
    iprot.readStructEnd()
21423
 
21424
  def write(self, oprot):
21425
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21426
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21427
      return
21428
    oprot.writeStructBegin('getInsuranceAmount_args')
21429
    if self.itemId is not None:
21430
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21431
      oprot.writeI64(self.itemId)
21432
      oprot.writeFieldEnd()
6921 anupam.sin 21433
    if self.price is not None:
21434
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
21435
      oprot.writeDouble(self.price)
21436
      oprot.writeFieldEnd()
6805 anupam.sin 21437
    if self.insurerId is not None:
6921 anupam.sin 21438
      oprot.writeFieldBegin('insurerId', TType.I64, 3)
6805 anupam.sin 21439
      oprot.writeI64(self.insurerId)
21440
      oprot.writeFieldEnd()
21441
    if self.quantity is not None:
6921 anupam.sin 21442
      oprot.writeFieldBegin('quantity', TType.I64, 4)
6805 anupam.sin 21443
      oprot.writeI64(self.quantity)
21444
      oprot.writeFieldEnd()
21445
    oprot.writeFieldStop()
21446
    oprot.writeStructEnd()
21447
 
21448
  def validate(self):
21449
    return
21450
 
21451
 
21452
  def __repr__(self):
21453
    L = ['%s=%r' % (key, value)
21454
      for key, value in self.__dict__.iteritems()]
21455
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21456
 
21457
  def __eq__(self, other):
21458
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21459
 
21460
  def __ne__(self, other):
21461
    return not (self == other)
21462
 
21463
class getInsuranceAmount_result:
21464
  """
21465
  Attributes:
21466
   - success
21467
  """
21468
 
21469
  thrift_spec = (
21470
    (0, TType.I64, 'success', None, None, ), # 0
21471
  )
21472
 
21473
  def __init__(self, success=None,):
21474
    self.success = success
21475
 
21476
  def read(self, iprot):
21477
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21478
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21479
      return
21480
    iprot.readStructBegin()
21481
    while True:
21482
      (fname, ftype, fid) = iprot.readFieldBegin()
21483
      if ftype == TType.STOP:
21484
        break
21485
      if fid == 0:
21486
        if ftype == TType.I64:
21487
          self.success = iprot.readI64();
21488
        else:
21489
          iprot.skip(ftype)
21490
      else:
21491
        iprot.skip(ftype)
21492
      iprot.readFieldEnd()
21493
    iprot.readStructEnd()
21494
 
21495
  def write(self, oprot):
21496
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21497
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21498
      return
21499
    oprot.writeStructBegin('getInsuranceAmount_result')
21500
    if self.success is not None:
21501
      oprot.writeFieldBegin('success', TType.I64, 0)
21502
      oprot.writeI64(self.success)
21503
      oprot.writeFieldEnd()
21504
    oprot.writeFieldStop()
21505
    oprot.writeStructEnd()
21506
 
21507
  def validate(self):
21508
    return
21509
 
21510
 
21511
  def __repr__(self):
21512
    L = ['%s=%r' % (key, value)
21513
      for key, value in self.__dict__.iteritems()]
21514
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21515
 
21516
  def __eq__(self, other):
21517
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21518
 
21519
  def __ne__(self, other):
21520
    return not (self == other)
21521
 
21522
class getInsurer_args:
21523
  """
21524
  Attributes:
21525
   - insurerId
21526
  """
21527
 
21528
  thrift_spec = (
21529
    None, # 0
21530
    (1, TType.I64, 'insurerId', None, None, ), # 1
21531
  )
21532
 
21533
  def __init__(self, insurerId=None,):
21534
    self.insurerId = insurerId
21535
 
21536
  def read(self, iprot):
21537
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21538
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21539
      return
21540
    iprot.readStructBegin()
21541
    while True:
21542
      (fname, ftype, fid) = iprot.readFieldBegin()
21543
      if ftype == TType.STOP:
21544
        break
21545
      if fid == 1:
21546
        if ftype == TType.I64:
21547
          self.insurerId = iprot.readI64();
21548
        else:
21549
          iprot.skip(ftype)
21550
      else:
21551
        iprot.skip(ftype)
21552
      iprot.readFieldEnd()
21553
    iprot.readStructEnd()
21554
 
21555
  def write(self, oprot):
21556
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21557
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21558
      return
21559
    oprot.writeStructBegin('getInsurer_args')
21560
    if self.insurerId is not None:
21561
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
21562
      oprot.writeI64(self.insurerId)
21563
      oprot.writeFieldEnd()
21564
    oprot.writeFieldStop()
21565
    oprot.writeStructEnd()
21566
 
21567
  def validate(self):
21568
    return
21569
 
21570
 
21571
  def __repr__(self):
21572
    L = ['%s=%r' % (key, value)
21573
      for key, value in self.__dict__.iteritems()]
21574
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21575
 
21576
  def __eq__(self, other):
21577
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21578
 
21579
  def __ne__(self, other):
21580
    return not (self == other)
21581
 
21582
class getInsurer_result:
21583
  """
21584
  Attributes:
21585
   - success
21586
  """
21587
 
21588
  thrift_spec = (
21589
    (0, TType.STRUCT, 'success', (Insurer, Insurer.thrift_spec), None, ), # 0
21590
  )
21591
 
21592
  def __init__(self, success=None,):
21593
    self.success = success
21594
 
21595
  def read(self, iprot):
21596
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21597
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21598
      return
21599
    iprot.readStructBegin()
21600
    while True:
21601
      (fname, ftype, fid) = iprot.readFieldBegin()
21602
      if ftype == TType.STOP:
21603
        break
21604
      if fid == 0:
21605
        if ftype == TType.STRUCT:
21606
          self.success = Insurer()
21607
          self.success.read(iprot)
21608
        else:
21609
          iprot.skip(ftype)
21610
      else:
21611
        iprot.skip(ftype)
21612
      iprot.readFieldEnd()
21613
    iprot.readStructEnd()
21614
 
21615
  def write(self, oprot):
21616
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21617
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21618
      return
21619
    oprot.writeStructBegin('getInsurer_result')
21620
    if self.success is not None:
21621
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
21622
      self.success.write(oprot)
21623
      oprot.writeFieldEnd()
21624
    oprot.writeFieldStop()
21625
    oprot.writeStructEnd()
21626
 
21627
  def validate(self):
21628
    return
21629
 
21630
 
21631
  def __repr__(self):
21632
    L = ['%s=%r' % (key, value)
21633
      for key, value in self.__dict__.iteritems()]
21634
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21635
 
21636
  def __eq__(self, other):
21637
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21638
 
21639
  def __ne__(self, other):
21640
    return not (self == other)
6838 vikram.rag 21641
 
21642
class getAllInsurers_args:
21643
 
21644
  thrift_spec = (
21645
  )
21646
 
21647
  def read(self, iprot):
21648
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21649
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21650
      return
21651
    iprot.readStructBegin()
21652
    while True:
21653
      (fname, ftype, fid) = iprot.readFieldBegin()
21654
      if ftype == TType.STOP:
21655
        break
21656
      else:
21657
        iprot.skip(ftype)
21658
      iprot.readFieldEnd()
21659
    iprot.readStructEnd()
21660
 
21661
  def write(self, oprot):
21662
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21663
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21664
      return
21665
    oprot.writeStructBegin('getAllInsurers_args')
21666
    oprot.writeFieldStop()
21667
    oprot.writeStructEnd()
21668
 
21669
  def validate(self):
21670
    return
21671
 
21672
 
21673
  def __repr__(self):
21674
    L = ['%s=%r' % (key, value)
21675
      for key, value in self.__dict__.iteritems()]
21676
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21677
 
21678
  def __eq__(self, other):
21679
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21680
 
21681
  def __ne__(self, other):
21682
    return not (self == other)
21683
 
21684
class getAllInsurers_result:
21685
  """
21686
  Attributes:
21687
   - success
21688
  """
21689
 
21690
  thrift_spec = (
21691
    (0, TType.LIST, 'success', (TType.STRUCT,(Insurer, Insurer.thrift_spec)), None, ), # 0
21692
  )
21693
 
21694
  def __init__(self, success=None,):
21695
    self.success = success
21696
 
21697
  def read(self, iprot):
21698
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21699
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21700
      return
21701
    iprot.readStructBegin()
21702
    while True:
21703
      (fname, ftype, fid) = iprot.readFieldBegin()
21704
      if ftype == TType.STOP:
21705
        break
21706
      if fid == 0:
21707
        if ftype == TType.LIST:
21708
          self.success = []
13493 amit.gupta 21709
          (_etype409, _size406) = iprot.readListBegin()
21710
          for _i410 in xrange(_size406):
21711
            _elem411 = Insurer()
21712
            _elem411.read(iprot)
21713
            self.success.append(_elem411)
6838 vikram.rag 21714
          iprot.readListEnd()
21715
        else:
21716
          iprot.skip(ftype)
21717
      else:
21718
        iprot.skip(ftype)
21719
      iprot.readFieldEnd()
21720
    iprot.readStructEnd()
21721
 
21722
  def write(self, oprot):
21723
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21724
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21725
      return
21726
    oprot.writeStructBegin('getAllInsurers_result')
21727
    if self.success is not None:
21728
      oprot.writeFieldBegin('success', TType.LIST, 0)
21729
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 21730
      for iter412 in self.success:
21731
        iter412.write(oprot)
6838 vikram.rag 21732
      oprot.writeListEnd()
21733
      oprot.writeFieldEnd()
21734
    oprot.writeFieldStop()
21735
    oprot.writeStructEnd()
21736
 
21737
  def validate(self):
21738
    return
21739
 
21740
 
21741
  def __repr__(self):
21742
    L = ['%s=%r' % (key, value)
21743
      for key, value in self.__dict__.iteritems()]
21744
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21745
 
21746
  def __eq__(self, other):
21747
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21748
 
21749
  def __ne__(self, other):
21750
    return not (self == other)
6962 rajveer 21751
 
21752
class updateInsuranceDeclaredAmount_args:
21753
  """
21754
  Attributes:
21755
   - insurerId
21756
   - amount
21757
  """
21758
 
21759
  thrift_spec = (
21760
    None, # 0
21761
    (1, TType.I64, 'insurerId', None, None, ), # 1
21762
    (2, TType.DOUBLE, 'amount', None, None, ), # 2
21763
  )
21764
 
21765
  def __init__(self, insurerId=None, amount=None,):
21766
    self.insurerId = insurerId
21767
    self.amount = amount
21768
 
21769
  def read(self, iprot):
21770
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21771
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21772
      return
21773
    iprot.readStructBegin()
21774
    while True:
21775
      (fname, ftype, fid) = iprot.readFieldBegin()
21776
      if ftype == TType.STOP:
21777
        break
21778
      if fid == 1:
21779
        if ftype == TType.I64:
21780
          self.insurerId = iprot.readI64();
21781
        else:
21782
          iprot.skip(ftype)
21783
      elif fid == 2:
21784
        if ftype == TType.DOUBLE:
21785
          self.amount = iprot.readDouble();
21786
        else:
21787
          iprot.skip(ftype)
21788
      else:
21789
        iprot.skip(ftype)
21790
      iprot.readFieldEnd()
21791
    iprot.readStructEnd()
21792
 
21793
  def write(self, oprot):
21794
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21795
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21796
      return
21797
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_args')
21798
    if self.insurerId is not None:
21799
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
21800
      oprot.writeI64(self.insurerId)
21801
      oprot.writeFieldEnd()
21802
    if self.amount is not None:
21803
      oprot.writeFieldBegin('amount', TType.DOUBLE, 2)
21804
      oprot.writeDouble(self.amount)
21805
      oprot.writeFieldEnd()
21806
    oprot.writeFieldStop()
21807
    oprot.writeStructEnd()
21808
 
21809
  def validate(self):
21810
    return
21811
 
21812
 
21813
  def __repr__(self):
21814
    L = ['%s=%r' % (key, value)
21815
      for key, value in self.__dict__.iteritems()]
21816
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21817
 
21818
  def __eq__(self, other):
21819
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21820
 
21821
  def __ne__(self, other):
21822
    return not (self == other)
21823
 
21824
class updateInsuranceDeclaredAmount_result:
21825
 
21826
  thrift_spec = (
21827
  )
21828
 
21829
  def read(self, iprot):
21830
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21831
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21832
      return
21833
    iprot.readStructBegin()
21834
    while True:
21835
      (fname, ftype, fid) = iprot.readFieldBegin()
21836
      if ftype == TType.STOP:
21837
        break
21838
      else:
21839
        iprot.skip(ftype)
21840
      iprot.readFieldEnd()
21841
    iprot.readStructEnd()
21842
 
21843
  def write(self, oprot):
21844
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21845
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21846
      return
21847
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_result')
21848
    oprot.writeFieldStop()
21849
    oprot.writeStructEnd()
21850
 
21851
  def validate(self):
21852
    return
21853
 
21854
 
21855
  def __repr__(self):
21856
    L = ['%s=%r' % (key, value)
21857
      for key, value in self.__dict__.iteritems()]
21858
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21859
 
21860
  def __eq__(self, other):
21861
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21862
 
21863
  def __ne__(self, other):
21864
    return not (self == other)
7190 amar.kumar 21865
 
21866
class getFreebieForItem_args:
21867
  """
21868
  Attributes:
21869
   - itemId
21870
  """
21871
 
21872
  thrift_spec = (
21873
    None, # 0
21874
    (1, TType.I64, 'itemId', None, None, ), # 1
21875
  )
21876
 
21877
  def __init__(self, itemId=None,):
21878
    self.itemId = itemId
21879
 
21880
  def read(self, iprot):
21881
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21882
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21883
      return
21884
    iprot.readStructBegin()
21885
    while True:
21886
      (fname, ftype, fid) = iprot.readFieldBegin()
21887
      if ftype == TType.STOP:
21888
        break
21889
      if fid == 1:
21890
        if ftype == TType.I64:
21891
          self.itemId = iprot.readI64();
21892
        else:
21893
          iprot.skip(ftype)
21894
      else:
21895
        iprot.skip(ftype)
21896
      iprot.readFieldEnd()
21897
    iprot.readStructEnd()
21898
 
21899
  def write(self, oprot):
21900
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21901
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21902
      return
21903
    oprot.writeStructBegin('getFreebieForItem_args')
21904
    if self.itemId is not None:
21905
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21906
      oprot.writeI64(self.itemId)
21907
      oprot.writeFieldEnd()
21908
    oprot.writeFieldStop()
21909
    oprot.writeStructEnd()
21910
 
21911
  def validate(self):
21912
    return
21913
 
21914
 
21915
  def __repr__(self):
21916
    L = ['%s=%r' % (key, value)
21917
      for key, value in self.__dict__.iteritems()]
21918
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21919
 
21920
  def __eq__(self, other):
21921
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21922
 
21923
  def __ne__(self, other):
21924
    return not (self == other)
21925
 
21926
class getFreebieForItem_result:
21927
  """
21928
  Attributes:
21929
   - success
21930
  """
21931
 
21932
  thrift_spec = (
21933
    (0, TType.I64, 'success', None, None, ), # 0
21934
  )
21935
 
21936
  def __init__(self, success=None,):
21937
    self.success = success
21938
 
21939
  def read(self, iprot):
21940
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21941
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21942
      return
21943
    iprot.readStructBegin()
21944
    while True:
21945
      (fname, ftype, fid) = iprot.readFieldBegin()
21946
      if ftype == TType.STOP:
21947
        break
21948
      if fid == 0:
21949
        if ftype == TType.I64:
21950
          self.success = iprot.readI64();
21951
        else:
21952
          iprot.skip(ftype)
21953
      else:
21954
        iprot.skip(ftype)
21955
      iprot.readFieldEnd()
21956
    iprot.readStructEnd()
21957
 
21958
  def write(self, oprot):
21959
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21960
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21961
      return
21962
    oprot.writeStructBegin('getFreebieForItem_result')
21963
    if self.success is not None:
21964
      oprot.writeFieldBegin('success', TType.I64, 0)
21965
      oprot.writeI64(self.success)
21966
      oprot.writeFieldEnd()
21967
    oprot.writeFieldStop()
21968
    oprot.writeStructEnd()
21969
 
21970
  def validate(self):
21971
    return
21972
 
21973
 
21974
  def __repr__(self):
21975
    L = ['%s=%r' % (key, value)
21976
      for key, value in self.__dict__.iteritems()]
21977
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21978
 
21979
  def __eq__(self, other):
21980
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21981
 
21982
  def __ne__(self, other):
21983
    return not (self == other)
21984
 
21985
class addOrUpdateFreebieForItem_args:
21986
  """
21987
  Attributes:
21988
   - freebieItem
21989
  """
21990
 
21991
  thrift_spec = (
21992
    None, # 0
21993
    (1, TType.STRUCT, 'freebieItem', (FreebieItem, FreebieItem.thrift_spec), None, ), # 1
21994
  )
21995
 
21996
  def __init__(self, freebieItem=None,):
21997
    self.freebieItem = freebieItem
21998
 
21999
  def read(self, iprot):
22000
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22001
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22002
      return
22003
    iprot.readStructBegin()
22004
    while True:
22005
      (fname, ftype, fid) = iprot.readFieldBegin()
22006
      if ftype == TType.STOP:
22007
        break
22008
      if fid == 1:
22009
        if ftype == TType.STRUCT:
22010
          self.freebieItem = FreebieItem()
22011
          self.freebieItem.read(iprot)
22012
        else:
22013
          iprot.skip(ftype)
22014
      else:
22015
        iprot.skip(ftype)
22016
      iprot.readFieldEnd()
22017
    iprot.readStructEnd()
22018
 
22019
  def write(self, oprot):
22020
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22021
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22022
      return
22023
    oprot.writeStructBegin('addOrUpdateFreebieForItem_args')
22024
    if self.freebieItem is not None:
22025
      oprot.writeFieldBegin('freebieItem', TType.STRUCT, 1)
22026
      self.freebieItem.write(oprot)
22027
      oprot.writeFieldEnd()
22028
    oprot.writeFieldStop()
22029
    oprot.writeStructEnd()
22030
 
22031
  def validate(self):
22032
    return
22033
 
22034
 
22035
  def __repr__(self):
22036
    L = ['%s=%r' % (key, value)
22037
      for key, value in self.__dict__.iteritems()]
22038
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22039
 
22040
  def __eq__(self, other):
22041
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22042
 
22043
  def __ne__(self, other):
22044
    return not (self == other)
22045
 
22046
class addOrUpdateFreebieForItem_result:
22047
 
22048
  thrift_spec = (
22049
  )
22050
 
22051
  def read(self, iprot):
22052
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22053
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22054
      return
22055
    iprot.readStructBegin()
22056
    while True:
22057
      (fname, ftype, fid) = iprot.readFieldBegin()
22058
      if ftype == TType.STOP:
22059
        break
22060
      else:
22061
        iprot.skip(ftype)
22062
      iprot.readFieldEnd()
22063
    iprot.readStructEnd()
22064
 
22065
  def write(self, oprot):
22066
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22067
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22068
      return
22069
    oprot.writeStructBegin('addOrUpdateFreebieForItem_result')
22070
    oprot.writeFieldStop()
22071
    oprot.writeStructEnd()
22072
 
22073
  def validate(self):
22074
    return
22075
 
22076
 
22077
  def __repr__(self):
22078
    L = ['%s=%r' % (key, value)
22079
      for key, value in self.__dict__.iteritems()]
22080
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22081
 
22082
  def __eq__(self, other):
22083
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22084
 
22085
  def __ne__(self, other):
22086
    return not (self == other)
7256 rajveer 22087
 
7272 amit.gupta 22088
class addOrUpdateBrandInfo_args:
22089
  """
22090
  Attributes:
22091
   - brandInfo
22092
  """
22093
 
22094
  thrift_spec = (
22095
    None, # 0
22096
    (1, TType.STRUCT, 'brandInfo', (BrandInfo, BrandInfo.thrift_spec), None, ), # 1
22097
  )
22098
 
22099
  def __init__(self, brandInfo=None,):
22100
    self.brandInfo = brandInfo
22101
 
22102
  def read(self, iprot):
22103
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22104
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22105
      return
22106
    iprot.readStructBegin()
22107
    while True:
22108
      (fname, ftype, fid) = iprot.readFieldBegin()
22109
      if ftype == TType.STOP:
22110
        break
22111
      if fid == 1:
22112
        if ftype == TType.STRUCT:
22113
          self.brandInfo = BrandInfo()
22114
          self.brandInfo.read(iprot)
22115
        else:
22116
          iprot.skip(ftype)
22117
      else:
22118
        iprot.skip(ftype)
22119
      iprot.readFieldEnd()
22120
    iprot.readStructEnd()
22121
 
22122
  def write(self, oprot):
22123
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22124
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22125
      return
22126
    oprot.writeStructBegin('addOrUpdateBrandInfo_args')
22127
    if self.brandInfo is not None:
22128
      oprot.writeFieldBegin('brandInfo', TType.STRUCT, 1)
22129
      self.brandInfo.write(oprot)
22130
      oprot.writeFieldEnd()
22131
    oprot.writeFieldStop()
22132
    oprot.writeStructEnd()
22133
 
22134
  def validate(self):
22135
    return
22136
 
22137
 
22138
  def __repr__(self):
22139
    L = ['%s=%r' % (key, value)
22140
      for key, value in self.__dict__.iteritems()]
22141
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22142
 
22143
  def __eq__(self, other):
22144
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22145
 
22146
  def __ne__(self, other):
22147
    return not (self == other)
22148
 
22149
class addOrUpdateBrandInfo_result:
22150
 
22151
  thrift_spec = (
22152
  )
22153
 
22154
  def read(self, iprot):
22155
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22156
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22157
      return
22158
    iprot.readStructBegin()
22159
    while True:
22160
      (fname, ftype, fid) = iprot.readFieldBegin()
22161
      if ftype == TType.STOP:
22162
        break
22163
      else:
22164
        iprot.skip(ftype)
22165
      iprot.readFieldEnd()
22166
    iprot.readStructEnd()
22167
 
22168
  def write(self, oprot):
22169
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22170
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22171
      return
22172
    oprot.writeStructBegin('addOrUpdateBrandInfo_result')
22173
    oprot.writeFieldStop()
22174
    oprot.writeStructEnd()
22175
 
22176
  def validate(self):
22177
    return
22178
 
22179
 
22180
  def __repr__(self):
22181
    L = ['%s=%r' % (key, value)
22182
      for key, value in self.__dict__.iteritems()]
22183
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22184
 
22185
  def __eq__(self, other):
22186
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22187
 
22188
  def __ne__(self, other):
22189
    return not (self == other)
22190
 
22191
class getBrandInfo_args:
22192
 
22193
  thrift_spec = (
22194
  )
22195
 
22196
  def read(self, iprot):
22197
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22198
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22199
      return
22200
    iprot.readStructBegin()
22201
    while True:
22202
      (fname, ftype, fid) = iprot.readFieldBegin()
22203
      if ftype == TType.STOP:
22204
        break
22205
      else:
22206
        iprot.skip(ftype)
22207
      iprot.readFieldEnd()
22208
    iprot.readStructEnd()
22209
 
22210
  def write(self, oprot):
22211
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22212
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22213
      return
22214
    oprot.writeStructBegin('getBrandInfo_args')
22215
    oprot.writeFieldStop()
22216
    oprot.writeStructEnd()
22217
 
22218
  def validate(self):
22219
    return
22220
 
22221
 
22222
  def __repr__(self):
22223
    L = ['%s=%r' % (key, value)
22224
      for key, value in self.__dict__.iteritems()]
22225
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22226
 
22227
  def __eq__(self, other):
22228
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22229
 
22230
  def __ne__(self, other):
22231
    return not (self == other)
22232
 
22233
class getBrandInfo_result:
22234
  """
22235
  Attributes:
22236
   - success
22237
  """
22238
 
22239
  thrift_spec = (
22240
    (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(BrandInfo, BrandInfo.thrift_spec)), None, ), # 0
22241
  )
22242
 
22243
  def __init__(self, success=None,):
22244
    self.success = success
22245
 
22246
  def read(self, iprot):
22247
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22248
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22249
      return
22250
    iprot.readStructBegin()
22251
    while True:
22252
      (fname, ftype, fid) = iprot.readFieldBegin()
22253
      if ftype == TType.STOP:
22254
        break
22255
      if fid == 0:
22256
        if ftype == TType.MAP:
22257
          self.success = {}
13493 amit.gupta 22258
          (_ktype414, _vtype415, _size413 ) = iprot.readMapBegin() 
22259
          for _i417 in xrange(_size413):
22260
            _key418 = iprot.readString();
22261
            _val419 = BrandInfo()
22262
            _val419.read(iprot)
22263
            self.success[_key418] = _val419
7272 amit.gupta 22264
          iprot.readMapEnd()
22265
        else:
22266
          iprot.skip(ftype)
22267
      else:
22268
        iprot.skip(ftype)
22269
      iprot.readFieldEnd()
22270
    iprot.readStructEnd()
22271
 
22272
  def write(self, oprot):
22273
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22274
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22275
      return
22276
    oprot.writeStructBegin('getBrandInfo_result')
22277
    if self.success is not None:
22278
      oprot.writeFieldBegin('success', TType.MAP, 0)
22279
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
13493 amit.gupta 22280
      for kiter420,viter421 in self.success.items():
22281
        oprot.writeString(kiter420)
22282
        viter421.write(oprot)
7272 amit.gupta 22283
      oprot.writeMapEnd()
22284
      oprot.writeFieldEnd()
22285
    oprot.writeFieldStop()
22286
    oprot.writeStructEnd()
22287
 
22288
  def validate(self):
22289
    return
22290
 
22291
 
22292
  def __repr__(self):
22293
    L = ['%s=%r' % (key, value)
22294
      for key, value in self.__dict__.iteritems()]
22295
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22296
 
22297
  def __eq__(self, other):
22298
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22299
 
22300
  def __ne__(self, other):
22301
    return not (self == other)
22302
 
7256 rajveer 22303
class getStorePricing_args:
22304
  """
22305
  Attributes:
22306
   - itemId
22307
  """
22308
 
22309
  thrift_spec = (
22310
    None, # 0
22311
    (1, TType.I64, 'itemId', None, None, ), # 1
22312
  )
22313
 
22314
  def __init__(self, itemId=None,):
22315
    self.itemId = itemId
22316
 
22317
  def read(self, iprot):
22318
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22319
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22320
      return
22321
    iprot.readStructBegin()
22322
    while True:
22323
      (fname, ftype, fid) = iprot.readFieldBegin()
22324
      if ftype == TType.STOP:
22325
        break
22326
      if fid == 1:
22327
        if ftype == TType.I64:
22328
          self.itemId = iprot.readI64();
22329
        else:
22330
          iprot.skip(ftype)
22331
      else:
22332
        iprot.skip(ftype)
22333
      iprot.readFieldEnd()
22334
    iprot.readStructEnd()
22335
 
22336
  def write(self, oprot):
22337
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22338
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22339
      return
22340
    oprot.writeStructBegin('getStorePricing_args')
22341
    if self.itemId is not None:
22342
      oprot.writeFieldBegin('itemId', TType.I64, 1)
22343
      oprot.writeI64(self.itemId)
22344
      oprot.writeFieldEnd()
22345
    oprot.writeFieldStop()
22346
    oprot.writeStructEnd()
22347
 
22348
  def validate(self):
22349
    return
22350
 
22351
 
22352
  def __repr__(self):
22353
    L = ['%s=%r' % (key, value)
22354
      for key, value in self.__dict__.iteritems()]
22355
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22356
 
22357
  def __eq__(self, other):
22358
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22359
 
22360
  def __ne__(self, other):
22361
    return not (self == other)
22362
 
22363
class getStorePricing_result:
22364
  """
22365
  Attributes:
22366
   - success
22367
  """
22368
 
22369
  thrift_spec = (
22370
    (0, TType.STRUCT, 'success', (StorePricing, StorePricing.thrift_spec), None, ), # 0
22371
  )
22372
 
22373
  def __init__(self, success=None,):
22374
    self.success = success
22375
 
22376
  def read(self, iprot):
22377
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22378
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22379
      return
22380
    iprot.readStructBegin()
22381
    while True:
22382
      (fname, ftype, fid) = iprot.readFieldBegin()
22383
      if ftype == TType.STOP:
22384
        break
22385
      if fid == 0:
22386
        if ftype == TType.STRUCT:
22387
          self.success = StorePricing()
22388
          self.success.read(iprot)
22389
        else:
22390
          iprot.skip(ftype)
22391
      else:
22392
        iprot.skip(ftype)
22393
      iprot.readFieldEnd()
22394
    iprot.readStructEnd()
22395
 
22396
  def write(self, oprot):
22397
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22398
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22399
      return
22400
    oprot.writeStructBegin('getStorePricing_result')
22401
    if self.success is not None:
22402
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
22403
      self.success.write(oprot)
22404
      oprot.writeFieldEnd()
22405
    oprot.writeFieldStop()
22406
    oprot.writeStructEnd()
22407
 
22408
  def validate(self):
22409
    return
22410
 
22411
 
22412
  def __repr__(self):
22413
    L = ['%s=%r' % (key, value)
22414
      for key, value in self.__dict__.iteritems()]
22415
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22416
 
22417
  def __eq__(self, other):
22418
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22419
 
22420
  def __ne__(self, other):
22421
    return not (self == other)
7265 rajveer 22422
 
7306 rajveer 22423
class getStorePricings_args:
22424
  """
22425
  Attributes:
22426
   - itemIds
22427
  """
22428
 
22429
  thrift_spec = (
22430
    None, # 0
22431
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
22432
  )
22433
 
22434
  def __init__(self, itemIds=None,):
22435
    self.itemIds = itemIds
22436
 
22437
  def read(self, iprot):
22438
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22439
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22440
      return
22441
    iprot.readStructBegin()
22442
    while True:
22443
      (fname, ftype, fid) = iprot.readFieldBegin()
22444
      if ftype == TType.STOP:
22445
        break
22446
      if fid == 1:
22447
        if ftype == TType.LIST:
22448
          self.itemIds = []
13493 amit.gupta 22449
          (_etype425, _size422) = iprot.readListBegin()
22450
          for _i426 in xrange(_size422):
22451
            _elem427 = iprot.readI64();
22452
            self.itemIds.append(_elem427)
7306 rajveer 22453
          iprot.readListEnd()
22454
        else:
22455
          iprot.skip(ftype)
22456
      else:
22457
        iprot.skip(ftype)
22458
      iprot.readFieldEnd()
22459
    iprot.readStructEnd()
22460
 
22461
  def write(self, oprot):
22462
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22463
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22464
      return
22465
    oprot.writeStructBegin('getStorePricings_args')
22466
    if self.itemIds is not None:
22467
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
22468
      oprot.writeListBegin(TType.I64, len(self.itemIds))
13493 amit.gupta 22469
      for iter428 in self.itemIds:
22470
        oprot.writeI64(iter428)
7306 rajveer 22471
      oprot.writeListEnd()
22472
      oprot.writeFieldEnd()
22473
    oprot.writeFieldStop()
22474
    oprot.writeStructEnd()
22475
 
22476
  def validate(self):
22477
    return
22478
 
22479
 
22480
  def __repr__(self):
22481
    L = ['%s=%r' % (key, value)
22482
      for key, value in self.__dict__.iteritems()]
22483
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22484
 
22485
  def __eq__(self, other):
22486
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22487
 
22488
  def __ne__(self, other):
22489
    return not (self == other)
22490
 
22491
class getStorePricings_result:
22492
  """
22493
  Attributes:
22494
   - success
22495
  """
22496
 
22497
  thrift_spec = (
22498
    (0, TType.LIST, 'success', (TType.STRUCT,(StorePricing, StorePricing.thrift_spec)), None, ), # 0
22499
  )
22500
 
22501
  def __init__(self, success=None,):
22502
    self.success = success
22503
 
22504
  def read(self, iprot):
22505
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22506
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22507
      return
22508
    iprot.readStructBegin()
22509
    while True:
22510
      (fname, ftype, fid) = iprot.readFieldBegin()
22511
      if ftype == TType.STOP:
22512
        break
22513
      if fid == 0:
22514
        if ftype == TType.LIST:
22515
          self.success = []
13493 amit.gupta 22516
          (_etype432, _size429) = iprot.readListBegin()
22517
          for _i433 in xrange(_size429):
22518
            _elem434 = StorePricing()
22519
            _elem434.read(iprot)
22520
            self.success.append(_elem434)
7306 rajveer 22521
          iprot.readListEnd()
22522
        else:
22523
          iprot.skip(ftype)
22524
      else:
22525
        iprot.skip(ftype)
22526
      iprot.readFieldEnd()
22527
    iprot.readStructEnd()
22528
 
22529
  def write(self, oprot):
22530
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22531
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22532
      return
22533
    oprot.writeStructBegin('getStorePricings_result')
22534
    if self.success is not None:
22535
      oprot.writeFieldBegin('success', TType.LIST, 0)
22536
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 22537
      for iter435 in self.success:
22538
        iter435.write(oprot)
7306 rajveer 22539
      oprot.writeListEnd()
22540
      oprot.writeFieldEnd()
22541
    oprot.writeFieldStop()
22542
    oprot.writeStructEnd()
22543
 
22544
  def validate(self):
22545
    return
22546
 
22547
 
22548
  def __repr__(self):
22549
    L = ['%s=%r' % (key, value)
22550
      for key, value in self.__dict__.iteritems()]
22551
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22552
 
22553
  def __eq__(self, other):
22554
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22555
 
22556
  def __ne__(self, other):
22557
    return not (self == other)
22558
 
7265 rajveer 22559
class updateStorePricing_args:
22560
  """
22561
  Attributes:
22562
   - sp
7382 rajveer 22563
   - allColors
7265 rajveer 22564
  """
22565
 
22566
  thrift_spec = (
22567
    None, # 0
22568
    (1, TType.STRUCT, 'sp', (StorePricing, StorePricing.thrift_spec), None, ), # 1
7382 rajveer 22569
    (2, TType.BOOL, 'allColors', None, None, ), # 2
7265 rajveer 22570
  )
22571
 
7382 rajveer 22572
  def __init__(self, sp=None, allColors=None,):
7265 rajveer 22573
    self.sp = sp
7382 rajveer 22574
    self.allColors = allColors
7265 rajveer 22575
 
22576
  def read(self, iprot):
22577
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22578
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22579
      return
22580
    iprot.readStructBegin()
22581
    while True:
22582
      (fname, ftype, fid) = iprot.readFieldBegin()
22583
      if ftype == TType.STOP:
22584
        break
22585
      if fid == 1:
22586
        if ftype == TType.STRUCT:
22587
          self.sp = StorePricing()
22588
          self.sp.read(iprot)
22589
        else:
22590
          iprot.skip(ftype)
7382 rajveer 22591
      elif fid == 2:
22592
        if ftype == TType.BOOL:
22593
          self.allColors = iprot.readBool();
22594
        else:
22595
          iprot.skip(ftype)
7265 rajveer 22596
      else:
22597
        iprot.skip(ftype)
22598
      iprot.readFieldEnd()
22599
    iprot.readStructEnd()
22600
 
22601
  def write(self, oprot):
22602
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22603
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22604
      return
22605
    oprot.writeStructBegin('updateStorePricing_args')
22606
    if self.sp is not None:
22607
      oprot.writeFieldBegin('sp', TType.STRUCT, 1)
22608
      self.sp.write(oprot)
22609
      oprot.writeFieldEnd()
7382 rajveer 22610
    if self.allColors is not None:
22611
      oprot.writeFieldBegin('allColors', TType.BOOL, 2)
22612
      oprot.writeBool(self.allColors)
22613
      oprot.writeFieldEnd()
7265 rajveer 22614
    oprot.writeFieldStop()
22615
    oprot.writeStructEnd()
22616
 
22617
  def validate(self):
22618
    return
22619
 
22620
 
22621
  def __repr__(self):
22622
    L = ['%s=%r' % (key, value)
22623
      for key, value in self.__dict__.iteritems()]
22624
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22625
 
22626
  def __eq__(self, other):
22627
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22628
 
22629
  def __ne__(self, other):
22630
    return not (self == other)
22631
 
22632
class updateStorePricing_result:
22633
 
22634
  thrift_spec = (
22635
  )
22636
 
22637
  def read(self, iprot):
22638
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22639
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22640
      return
22641
    iprot.readStructBegin()
22642
    while True:
22643
      (fname, ftype, fid) = iprot.readFieldBegin()
22644
      if ftype == TType.STOP:
22645
        break
22646
      else:
22647
        iprot.skip(ftype)
22648
      iprot.readFieldEnd()
22649
    iprot.readStructEnd()
22650
 
22651
  def write(self, oprot):
22652
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22653
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22654
      return
22655
    oprot.writeStructBegin('updateStorePricing_result')
22656
    oprot.writeFieldStop()
22657
    oprot.writeStructEnd()
22658
 
22659
  def validate(self):
22660
    return
22661
 
22662
 
22663
  def __repr__(self):
22664
    L = ['%s=%r' % (key, value)
22665
      for key, value in self.__dict__.iteritems()]
22666
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22667
 
22668
  def __eq__(self, other):
22669
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22670
 
22671
  def __ne__(self, other):
22672
    return not (self == other)
7281 kshitij.so 22673
 
22674
class getAllAmazonListedItems_args:
22675
 
22676
  thrift_spec = (
22677
  )
22678
 
22679
  def read(self, iprot):
22680
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22681
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22682
      return
22683
    iprot.readStructBegin()
22684
    while True:
22685
      (fname, ftype, fid) = iprot.readFieldBegin()
22686
      if ftype == TType.STOP:
22687
        break
22688
      else:
22689
        iprot.skip(ftype)
22690
      iprot.readFieldEnd()
22691
    iprot.readStructEnd()
22692
 
22693
  def write(self, oprot):
22694
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22695
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22696
      return
22697
    oprot.writeStructBegin('getAllAmazonListedItems_args')
22698
    oprot.writeFieldStop()
22699
    oprot.writeStructEnd()
22700
 
22701
  def validate(self):
22702
    return
22703
 
22704
 
22705
  def __repr__(self):
22706
    L = ['%s=%r' % (key, value)
22707
      for key, value in self.__dict__.iteritems()]
22708
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22709
 
22710
  def __eq__(self, other):
22711
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22712
 
22713
  def __ne__(self, other):
22714
    return not (self == other)
22715
 
22716
class getAllAmazonListedItems_result:
22717
  """
22718
  Attributes:
22719
   - success
22720
  """
22721
 
22722
  thrift_spec = (
22723
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
22724
  )
22725
 
22726
  def __init__(self, success=None,):
22727
    self.success = success
22728
 
22729
  def read(self, iprot):
22730
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22731
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22732
      return
22733
    iprot.readStructBegin()
22734
    while True:
22735
      (fname, ftype, fid) = iprot.readFieldBegin()
22736
      if ftype == TType.STOP:
22737
        break
22738
      if fid == 0:
22739
        if ftype == TType.LIST:
22740
          self.success = []
13493 amit.gupta 22741
          (_etype439, _size436) = iprot.readListBegin()
22742
          for _i440 in xrange(_size436):
22743
            _elem441 = Amazonlisted()
22744
            _elem441.read(iprot)
22745
            self.success.append(_elem441)
7281 kshitij.so 22746
          iprot.readListEnd()
22747
        else:
22748
          iprot.skip(ftype)
22749
      else:
22750
        iprot.skip(ftype)
22751
      iprot.readFieldEnd()
22752
    iprot.readStructEnd()
22753
 
22754
  def write(self, oprot):
22755
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22756
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22757
      return
22758
    oprot.writeStructBegin('getAllAmazonListedItems_result')
22759
    if self.success is not None:
22760
      oprot.writeFieldBegin('success', TType.LIST, 0)
22761
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 22762
      for iter442 in self.success:
22763
        iter442.write(oprot)
7281 kshitij.so 22764
      oprot.writeListEnd()
22765
      oprot.writeFieldEnd()
22766
    oprot.writeFieldStop()
22767
    oprot.writeStructEnd()
22768
 
22769
  def validate(self):
22770
    return
22771
 
22772
 
22773
  def __repr__(self):
22774
    L = ['%s=%r' % (key, value)
22775
      for key, value in self.__dict__.iteritems()]
22776
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22777
 
22778
  def __eq__(self, other):
22779
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22780
 
22781
  def __ne__(self, other):
22782
    return not (self == other)
22783
 
8619 kshitij.so 22784
class searchAmazonItems_args:
22785
  """
22786
  Attributes:
22787
   - searchTerm
22788
   - offset
22789
   - limit
22790
  """
22791
 
22792
  thrift_spec = (
22793
    None, # 0
22794
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
22795
    (2, TType.I64, 'offset', None, None, ), # 2
22796
    (3, TType.I64, 'limit', None, None, ), # 3
22797
  )
22798
 
22799
  def __init__(self, searchTerm=None, offset=None, limit=None,):
22800
    self.searchTerm = searchTerm
22801
    self.offset = offset
22802
    self.limit = limit
22803
 
22804
  def read(self, iprot):
22805
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22806
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22807
      return
22808
    iprot.readStructBegin()
22809
    while True:
22810
      (fname, ftype, fid) = iprot.readFieldBegin()
22811
      if ftype == TType.STOP:
22812
        break
22813
      if fid == 1:
22814
        if ftype == TType.LIST:
22815
          self.searchTerm = []
13493 amit.gupta 22816
          (_etype446, _size443) = iprot.readListBegin()
22817
          for _i447 in xrange(_size443):
22818
            _elem448 = iprot.readString();
22819
            self.searchTerm.append(_elem448)
8619 kshitij.so 22820
          iprot.readListEnd()
22821
        else:
22822
          iprot.skip(ftype)
22823
      elif fid == 2:
22824
        if ftype == TType.I64:
22825
          self.offset = iprot.readI64();
22826
        else:
22827
          iprot.skip(ftype)
22828
      elif fid == 3:
22829
        if ftype == TType.I64:
22830
          self.limit = iprot.readI64();
22831
        else:
22832
          iprot.skip(ftype)
22833
      else:
22834
        iprot.skip(ftype)
22835
      iprot.readFieldEnd()
22836
    iprot.readStructEnd()
22837
 
22838
  def write(self, oprot):
22839
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22840
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22841
      return
22842
    oprot.writeStructBegin('searchAmazonItems_args')
22843
    if self.searchTerm is not None:
22844
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
22845
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 22846
      for iter449 in self.searchTerm:
22847
        oprot.writeString(iter449)
8619 kshitij.so 22848
      oprot.writeListEnd()
22849
      oprot.writeFieldEnd()
22850
    if self.offset is not None:
22851
      oprot.writeFieldBegin('offset', TType.I64, 2)
22852
      oprot.writeI64(self.offset)
22853
      oprot.writeFieldEnd()
22854
    if self.limit is not None:
22855
      oprot.writeFieldBegin('limit', TType.I64, 3)
22856
      oprot.writeI64(self.limit)
22857
      oprot.writeFieldEnd()
22858
    oprot.writeFieldStop()
22859
    oprot.writeStructEnd()
22860
 
22861
  def validate(self):
22862
    return
22863
 
22864
 
22865
  def __repr__(self):
22866
    L = ['%s=%r' % (key, value)
22867
      for key, value in self.__dict__.iteritems()]
22868
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22869
 
22870
  def __eq__(self, other):
22871
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22872
 
22873
  def __ne__(self, other):
22874
    return not (self == other)
22875
 
22876
class searchAmazonItems_result:
22877
  """
22878
  Attributes:
22879
   - success
22880
  """
22881
 
22882
  thrift_spec = (
22883
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
22884
  )
22885
 
22886
  def __init__(self, success=None,):
22887
    self.success = success
22888
 
22889
  def read(self, iprot):
22890
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22891
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22892
      return
22893
    iprot.readStructBegin()
22894
    while True:
22895
      (fname, ftype, fid) = iprot.readFieldBegin()
22896
      if ftype == TType.STOP:
22897
        break
22898
      if fid == 0:
22899
        if ftype == TType.LIST:
22900
          self.success = []
13493 amit.gupta 22901
          (_etype453, _size450) = iprot.readListBegin()
22902
          for _i454 in xrange(_size450):
22903
            _elem455 = Amazonlisted()
22904
            _elem455.read(iprot)
22905
            self.success.append(_elem455)
8619 kshitij.so 22906
          iprot.readListEnd()
22907
        else:
22908
          iprot.skip(ftype)
22909
      else:
22910
        iprot.skip(ftype)
22911
      iprot.readFieldEnd()
22912
    iprot.readStructEnd()
22913
 
22914
  def write(self, oprot):
22915
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22916
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22917
      return
22918
    oprot.writeStructBegin('searchAmazonItems_result')
22919
    if self.success is not None:
22920
      oprot.writeFieldBegin('success', TType.LIST, 0)
22921
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 22922
      for iter456 in self.success:
22923
        iter456.write(oprot)
8619 kshitij.so 22924
      oprot.writeListEnd()
22925
      oprot.writeFieldEnd()
22926
    oprot.writeFieldStop()
22927
    oprot.writeStructEnd()
22928
 
22929
  def validate(self):
22930
    return
22931
 
22932
 
22933
  def __repr__(self):
22934
    L = ['%s=%r' % (key, value)
22935
      for key, value in self.__dict__.iteritems()]
22936
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22937
 
22938
  def __eq__(self, other):
22939
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22940
 
22941
  def __ne__(self, other):
22942
    return not (self == other)
22943
 
22944
class getAmazonSearchResultCount_args:
22945
  """
22946
  Attributes:
22947
   - searchTerm
22948
  """
22949
 
22950
  thrift_spec = (
22951
    None, # 0
22952
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
22953
  )
22954
 
22955
  def __init__(self, searchTerm=None,):
22956
    self.searchTerm = searchTerm
22957
 
22958
  def read(self, iprot):
22959
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22960
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22961
      return
22962
    iprot.readStructBegin()
22963
    while True:
22964
      (fname, ftype, fid) = iprot.readFieldBegin()
22965
      if ftype == TType.STOP:
22966
        break
22967
      if fid == 1:
22968
        if ftype == TType.LIST:
22969
          self.searchTerm = []
13493 amit.gupta 22970
          (_etype460, _size457) = iprot.readListBegin()
22971
          for _i461 in xrange(_size457):
22972
            _elem462 = iprot.readString();
22973
            self.searchTerm.append(_elem462)
8619 kshitij.so 22974
          iprot.readListEnd()
22975
        else:
22976
          iprot.skip(ftype)
22977
      else:
22978
        iprot.skip(ftype)
22979
      iprot.readFieldEnd()
22980
    iprot.readStructEnd()
22981
 
22982
  def write(self, oprot):
22983
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22984
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22985
      return
22986
    oprot.writeStructBegin('getAmazonSearchResultCount_args')
22987
    if self.searchTerm is not None:
22988
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
22989
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 22990
      for iter463 in self.searchTerm:
22991
        oprot.writeString(iter463)
8619 kshitij.so 22992
      oprot.writeListEnd()
22993
      oprot.writeFieldEnd()
22994
    oprot.writeFieldStop()
22995
    oprot.writeStructEnd()
22996
 
22997
  def validate(self):
22998
    return
22999
 
23000
 
23001
  def __repr__(self):
23002
    L = ['%s=%r' % (key, value)
23003
      for key, value in self.__dict__.iteritems()]
23004
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23005
 
23006
  def __eq__(self, other):
23007
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23008
 
23009
  def __ne__(self, other):
23010
    return not (self == other)
23011
 
23012
class getAmazonSearchResultCount_result:
23013
  """
23014
  Attributes:
23015
   - success
23016
  """
23017
 
23018
  thrift_spec = (
23019
    (0, TType.I64, 'success', None, None, ), # 0
23020
  )
23021
 
23022
  def __init__(self, success=None,):
23023
    self.success = success
23024
 
23025
  def read(self, iprot):
23026
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23027
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23028
      return
23029
    iprot.readStructBegin()
23030
    while True:
23031
      (fname, ftype, fid) = iprot.readFieldBegin()
23032
      if ftype == TType.STOP:
23033
        break
23034
      if fid == 0:
23035
        if ftype == TType.I64:
23036
          self.success = iprot.readI64();
23037
        else:
23038
          iprot.skip(ftype)
23039
      else:
23040
        iprot.skip(ftype)
23041
      iprot.readFieldEnd()
23042
    iprot.readStructEnd()
23043
 
23044
  def write(self, oprot):
23045
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23046
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23047
      return
23048
    oprot.writeStructBegin('getAmazonSearchResultCount_result')
23049
    if self.success is not None:
23050
      oprot.writeFieldBegin('success', TType.I64, 0)
23051
      oprot.writeI64(self.success)
23052
      oprot.writeFieldEnd()
23053
    oprot.writeFieldStop()
23054
    oprot.writeStructEnd()
23055
 
23056
  def validate(self):
23057
    return
23058
 
23059
 
23060
  def __repr__(self):
23061
    L = ['%s=%r' % (key, value)
23062
      for key, value in self.__dict__.iteritems()]
23063
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23064
 
23065
  def __eq__(self, other):
23066
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23067
 
23068
  def __ne__(self, other):
23069
    return not (self == other)
23070
 
23071
class getCountForAmazonlistedItems_args:
23072
 
23073
  thrift_spec = (
23074
  )
23075
 
23076
  def read(self, iprot):
23077
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23078
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23079
      return
23080
    iprot.readStructBegin()
23081
    while True:
23082
      (fname, ftype, fid) = iprot.readFieldBegin()
23083
      if ftype == TType.STOP:
23084
        break
23085
      else:
23086
        iprot.skip(ftype)
23087
      iprot.readFieldEnd()
23088
    iprot.readStructEnd()
23089
 
23090
  def write(self, oprot):
23091
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23092
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23093
      return
23094
    oprot.writeStructBegin('getCountForAmazonlistedItems_args')
23095
    oprot.writeFieldStop()
23096
    oprot.writeStructEnd()
23097
 
23098
  def validate(self):
23099
    return
23100
 
23101
 
23102
  def __repr__(self):
23103
    L = ['%s=%r' % (key, value)
23104
      for key, value in self.__dict__.iteritems()]
23105
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23106
 
23107
  def __eq__(self, other):
23108
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23109
 
23110
  def __ne__(self, other):
23111
    return not (self == other)
23112
 
23113
class getCountForAmazonlistedItems_result:
23114
  """
23115
  Attributes:
23116
   - success
23117
  """
23118
 
23119
  thrift_spec = (
23120
    (0, TType.I64, 'success', None, None, ), # 0
23121
  )
23122
 
23123
  def __init__(self, success=None,):
23124
    self.success = success
23125
 
23126
  def read(self, iprot):
23127
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23128
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23129
      return
23130
    iprot.readStructBegin()
23131
    while True:
23132
      (fname, ftype, fid) = iprot.readFieldBegin()
23133
      if ftype == TType.STOP:
23134
        break
23135
      if fid == 0:
23136
        if ftype == TType.I64:
23137
          self.success = iprot.readI64();
23138
        else:
23139
          iprot.skip(ftype)
23140
      else:
23141
        iprot.skip(ftype)
23142
      iprot.readFieldEnd()
23143
    iprot.readStructEnd()
23144
 
23145
  def write(self, oprot):
23146
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23147
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23148
      return
23149
    oprot.writeStructBegin('getCountForAmazonlistedItems_result')
23150
    if self.success is not None:
23151
      oprot.writeFieldBegin('success', TType.I64, 0)
23152
      oprot.writeI64(self.success)
23153
      oprot.writeFieldEnd()
23154
    oprot.writeFieldStop()
23155
    oprot.writeStructEnd()
23156
 
23157
  def validate(self):
23158
    return
23159
 
23160
 
23161
  def __repr__(self):
23162
    L = ['%s=%r' % (key, value)
23163
      for key, value in self.__dict__.iteritems()]
23164
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23165
 
23166
  def __eq__(self, other):
23167
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23168
 
23169
  def __ne__(self, other):
23170
    return not (self == other)
23171
 
7281 kshitij.so 23172
class getAmazonItemDetails_args:
23173
  """
23174
  Attributes:
23175
   - itemId
23176
  """
23177
 
23178
  thrift_spec = (
23179
    None, # 0
23180
    (1, TType.I64, 'itemId', None, None, ), # 1
23181
  )
23182
 
23183
  def __init__(self, itemId=None,):
23184
    self.itemId = itemId
23185
 
23186
  def read(self, iprot):
23187
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23188
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23189
      return
23190
    iprot.readStructBegin()
23191
    while True:
23192
      (fname, ftype, fid) = iprot.readFieldBegin()
23193
      if ftype == TType.STOP:
23194
        break
23195
      if fid == 1:
23196
        if ftype == TType.I64:
23197
          self.itemId = iprot.readI64();
23198
        else:
23199
          iprot.skip(ftype)
23200
      else:
23201
        iprot.skip(ftype)
23202
      iprot.readFieldEnd()
23203
    iprot.readStructEnd()
23204
 
23205
  def write(self, oprot):
23206
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23207
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23208
      return
23209
    oprot.writeStructBegin('getAmazonItemDetails_args')
23210
    if self.itemId is not None:
23211
      oprot.writeFieldBegin('itemId', TType.I64, 1)
23212
      oprot.writeI64(self.itemId)
23213
      oprot.writeFieldEnd()
23214
    oprot.writeFieldStop()
23215
    oprot.writeStructEnd()
23216
 
23217
  def validate(self):
23218
    return
23219
 
23220
 
23221
  def __repr__(self):
23222
    L = ['%s=%r' % (key, value)
23223
      for key, value in self.__dict__.iteritems()]
23224
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23225
 
23226
  def __eq__(self, other):
23227
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23228
 
23229
  def __ne__(self, other):
23230
    return not (self == other)
23231
 
23232
class getAmazonItemDetails_result:
23233
  """
23234
  Attributes:
23235
   - success
23236
  """
23237
 
23238
  thrift_spec = (
23239
    (0, TType.STRUCT, 'success', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 0
23240
  )
23241
 
23242
  def __init__(self, success=None,):
23243
    self.success = success
23244
 
23245
  def read(self, iprot):
23246
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23247
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23248
      return
23249
    iprot.readStructBegin()
23250
    while True:
23251
      (fname, ftype, fid) = iprot.readFieldBegin()
23252
      if ftype == TType.STOP:
23253
        break
23254
      if fid == 0:
23255
        if ftype == TType.STRUCT:
23256
          self.success = Amazonlisted()
23257
          self.success.read(iprot)
23258
        else:
23259
          iprot.skip(ftype)
23260
      else:
23261
        iprot.skip(ftype)
23262
      iprot.readFieldEnd()
23263
    iprot.readStructEnd()
23264
 
23265
  def write(self, oprot):
23266
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23267
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23268
      return
23269
    oprot.writeStructBegin('getAmazonItemDetails_result')
23270
    if self.success is not None:
23271
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
23272
      self.success.write(oprot)
23273
      oprot.writeFieldEnd()
23274
    oprot.writeFieldStop()
23275
    oprot.writeStructEnd()
23276
 
23277
  def validate(self):
23278
    return
23279
 
23280
 
23281
  def __repr__(self):
23282
    L = ['%s=%r' % (key, value)
23283
      for key, value in self.__dict__.iteritems()]
23284
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23285
 
23286
  def __eq__(self, other):
23287
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23288
 
23289
  def __ne__(self, other):
23290
    return not (self == other)
23291
 
23292
class updateAmazonItemDetails_args:
23293
  """
23294
  Attributes:
8168 kshitij.so 23295
   - amazonlisted
7281 kshitij.so 23296
  """
23297
 
23298
  thrift_spec = (
23299
    None, # 0
8168 kshitij.so 23300
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
7281 kshitij.so 23301
  )
23302
 
8168 kshitij.so 23303
  def __init__(self, amazonlisted=None,):
23304
    self.amazonlisted = amazonlisted
7281 kshitij.so 23305
 
23306
  def read(self, iprot):
23307
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23308
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23309
      return
23310
    iprot.readStructBegin()
23311
    while True:
23312
      (fname, ftype, fid) = iprot.readFieldBegin()
23313
      if ftype == TType.STOP:
23314
        break
23315
      if fid == 1:
8168 kshitij.so 23316
        if ftype == TType.STRUCT:
23317
          self.amazonlisted = Amazonlisted()
23318
          self.amazonlisted.read(iprot)
7281 kshitij.so 23319
        else:
23320
          iprot.skip(ftype)
23321
      else:
23322
        iprot.skip(ftype)
23323
      iprot.readFieldEnd()
23324
    iprot.readStructEnd()
23325
 
23326
  def write(self, oprot):
23327
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23328
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23329
      return
23330
    oprot.writeStructBegin('updateAmazonItemDetails_args')
8168 kshitij.so 23331
    if self.amazonlisted is not None:
23332
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
23333
      self.amazonlisted.write(oprot)
7281 kshitij.so 23334
      oprot.writeFieldEnd()
23335
    oprot.writeFieldStop()
23336
    oprot.writeStructEnd()
23337
 
23338
  def validate(self):
23339
    return
23340
 
23341
 
23342
  def __repr__(self):
23343
    L = ['%s=%r' % (key, value)
23344
      for key, value in self.__dict__.iteritems()]
23345
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23346
 
23347
  def __eq__(self, other):
23348
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23349
 
23350
  def __ne__(self, other):
23351
    return not (self == other)
23352
 
23353
class updateAmazonItemDetails_result:
23354
 
23355
  thrift_spec = (
23356
  )
23357
 
23358
  def read(self, iprot):
23359
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23360
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23361
      return
23362
    iprot.readStructBegin()
23363
    while True:
23364
      (fname, ftype, fid) = iprot.readFieldBegin()
23365
      if ftype == TType.STOP:
23366
        break
23367
      else:
23368
        iprot.skip(ftype)
23369
      iprot.readFieldEnd()
23370
    iprot.readStructEnd()
23371
 
23372
  def write(self, oprot):
23373
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23374
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23375
      return
23376
    oprot.writeStructBegin('updateAmazonItemDetails_result')
23377
    oprot.writeFieldStop()
23378
    oprot.writeStructEnd()
23379
 
23380
  def validate(self):
23381
    return
23382
 
23383
 
23384
  def __repr__(self):
23385
    L = ['%s=%r' % (key, value)
23386
      for key, value in self.__dict__.iteritems()]
23387
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23388
 
23389
  def __eq__(self, other):
23390
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23391
 
23392
  def __ne__(self, other):
23393
    return not (self == other)
23394
 
23395
class addAmazonItem_args:
23396
  """
23397
  Attributes:
23398
   - amazonlisted
23399
  """
23400
 
23401
  thrift_spec = (
23402
    None, # 0
23403
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
23404
  )
23405
 
23406
  def __init__(self, amazonlisted=None,):
23407
    self.amazonlisted = amazonlisted
23408
 
23409
  def read(self, iprot):
23410
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23411
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23412
      return
23413
    iprot.readStructBegin()
23414
    while True:
23415
      (fname, ftype, fid) = iprot.readFieldBegin()
23416
      if ftype == TType.STOP:
23417
        break
23418
      if fid == 1:
23419
        if ftype == TType.STRUCT:
23420
          self.amazonlisted = Amazonlisted()
23421
          self.amazonlisted.read(iprot)
23422
        else:
23423
          iprot.skip(ftype)
23424
      else:
23425
        iprot.skip(ftype)
23426
      iprot.readFieldEnd()
23427
    iprot.readStructEnd()
23428
 
23429
  def write(self, oprot):
23430
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23431
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23432
      return
23433
    oprot.writeStructBegin('addAmazonItem_args')
23434
    if self.amazonlisted is not None:
23435
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
23436
      self.amazonlisted.write(oprot)
23437
      oprot.writeFieldEnd()
23438
    oprot.writeFieldStop()
23439
    oprot.writeStructEnd()
23440
 
23441
  def validate(self):
23442
    return
23443
 
23444
 
23445
  def __repr__(self):
23446
    L = ['%s=%r' % (key, value)
23447
      for key, value in self.__dict__.iteritems()]
23448
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23449
 
23450
  def __eq__(self, other):
23451
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23452
 
23453
  def __ne__(self, other):
23454
    return not (self == other)
23455
 
23456
class addAmazonItem_result:
23457
 
23458
  thrift_spec = (
23459
  )
23460
 
23461
  def read(self, iprot):
23462
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23463
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23464
      return
23465
    iprot.readStructBegin()
23466
    while True:
23467
      (fname, ftype, fid) = iprot.readFieldBegin()
23468
      if ftype == TType.STOP:
23469
        break
23470
      else:
23471
        iprot.skip(ftype)
23472
      iprot.readFieldEnd()
23473
    iprot.readStructEnd()
23474
 
23475
  def write(self, oprot):
23476
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23477
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23478
      return
23479
    oprot.writeStructBegin('addAmazonItem_result')
23480
    oprot.writeFieldStop()
23481
    oprot.writeStructEnd()
23482
 
23483
  def validate(self):
23484
    return
23485
 
23486
 
23487
  def __repr__(self):
23488
    L = ['%s=%r' % (key, value)
23489
      for key, value in self.__dict__.iteritems()]
23490
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23491
 
23492
  def __eq__(self, other):
23493
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23494
 
23495
  def __ne__(self, other):
23496
    return not (self == other)
7291 vikram.rag 23497
 
23498
class getAsinItems_args:
23499
 
23500
  thrift_spec = (
23501
  )
23502
 
23503
  def read(self, iprot):
23504
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23505
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23506
      return
23507
    iprot.readStructBegin()
23508
    while True:
23509
      (fname, ftype, fid) = iprot.readFieldBegin()
23510
      if ftype == TType.STOP:
23511
        break
23512
      else:
23513
        iprot.skip(ftype)
23514
      iprot.readFieldEnd()
23515
    iprot.readStructEnd()
23516
 
23517
  def write(self, oprot):
23518
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23519
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23520
      return
23521
    oprot.writeStructBegin('getAsinItems_args')
23522
    oprot.writeFieldStop()
23523
    oprot.writeStructEnd()
23524
 
23525
  def validate(self):
23526
    return
23527
 
23528
 
23529
  def __repr__(self):
23530
    L = ['%s=%r' % (key, value)
23531
      for key, value in self.__dict__.iteritems()]
23532
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23533
 
23534
  def __eq__(self, other):
23535
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23536
 
23537
  def __ne__(self, other):
23538
    return not (self == other)
23539
 
23540
class getAsinItems_result:
23541
  """
23542
  Attributes:
23543
   - success
23544
  """
23545
 
23546
  thrift_spec = (
23547
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
23548
  )
23549
 
23550
  def __init__(self, success=None,):
23551
    self.success = success
23552
 
23553
  def read(self, iprot):
23554
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23555
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23556
      return
23557
    iprot.readStructBegin()
23558
    while True:
23559
      (fname, ftype, fid) = iprot.readFieldBegin()
23560
      if ftype == TType.STOP:
23561
        break
23562
      if fid == 0:
23563
        if ftype == TType.LIST:
23564
          self.success = []
13493 amit.gupta 23565
          (_etype467, _size464) = iprot.readListBegin()
23566
          for _i468 in xrange(_size464):
23567
            _elem469 = Item()
23568
            _elem469.read(iprot)
23569
            self.success.append(_elem469)
7291 vikram.rag 23570
          iprot.readListEnd()
23571
        else:
23572
          iprot.skip(ftype)
23573
      else:
23574
        iprot.skip(ftype)
23575
      iprot.readFieldEnd()
23576
    iprot.readStructEnd()
23577
 
23578
  def write(self, oprot):
23579
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23580
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23581
      return
23582
    oprot.writeStructBegin('getAsinItems_result')
23583
    if self.success is not None:
23584
      oprot.writeFieldBegin('success', TType.LIST, 0)
23585
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 23586
      for iter470 in self.success:
23587
        iter470.write(oprot)
7291 vikram.rag 23588
      oprot.writeListEnd()
23589
      oprot.writeFieldEnd()
23590
    oprot.writeFieldStop()
23591
    oprot.writeStructEnd()
23592
 
23593
  def validate(self):
23594
    return
23595
 
23596
 
23597
  def __repr__(self):
23598
    L = ['%s=%r' % (key, value)
23599
      for key, value in self.__dict__.iteritems()]
23600
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23601
 
23602
  def __eq__(self, other):
23603
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23604
 
23605
  def __ne__(self, other):
23606
    return not (self == other)
23607
 
23608
class getAllFbaListedItems_args:
23609
 
23610
  thrift_spec = (
23611
  )
23612
 
23613
  def read(self, iprot):
23614
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23615
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23616
      return
23617
    iprot.readStructBegin()
23618
    while True:
23619
      (fname, ftype, fid) = iprot.readFieldBegin()
23620
      if ftype == TType.STOP:
23621
        break
23622
      else:
23623
        iprot.skip(ftype)
23624
      iprot.readFieldEnd()
23625
    iprot.readStructEnd()
23626
 
23627
  def write(self, oprot):
23628
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23629
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23630
      return
23631
    oprot.writeStructBegin('getAllFbaListedItems_args')
23632
    oprot.writeFieldStop()
23633
    oprot.writeStructEnd()
23634
 
23635
  def validate(self):
23636
    return
23637
 
23638
 
23639
  def __repr__(self):
23640
    L = ['%s=%r' % (key, value)
23641
      for key, value in self.__dict__.iteritems()]
23642
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23643
 
23644
  def __eq__(self, other):
23645
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23646
 
23647
  def __ne__(self, other):
23648
    return not (self == other)
23649
 
23650
class getAllFbaListedItems_result:
23651
  """
23652
  Attributes:
23653
   - success
23654
  """
23655
 
23656
  thrift_spec = (
23657
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23658
  )
23659
 
23660
  def __init__(self, success=None,):
23661
    self.success = success
23662
 
23663
  def read(self, iprot):
23664
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23665
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23666
      return
23667
    iprot.readStructBegin()
23668
    while True:
23669
      (fname, ftype, fid) = iprot.readFieldBegin()
23670
      if ftype == TType.STOP:
23671
        break
23672
      if fid == 0:
23673
        if ftype == TType.LIST:
23674
          self.success = []
13493 amit.gupta 23675
          (_etype474, _size471) = iprot.readListBegin()
23676
          for _i475 in xrange(_size471):
23677
            _elem476 = Amazonlisted()
23678
            _elem476.read(iprot)
23679
            self.success.append(_elem476)
7291 vikram.rag 23680
          iprot.readListEnd()
23681
        else:
23682
          iprot.skip(ftype)
23683
      else:
23684
        iprot.skip(ftype)
23685
      iprot.readFieldEnd()
23686
    iprot.readStructEnd()
23687
 
23688
  def write(self, oprot):
23689
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23690
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23691
      return
23692
    oprot.writeStructBegin('getAllFbaListedItems_result')
23693
    if self.success is not None:
23694
      oprot.writeFieldBegin('success', TType.LIST, 0)
23695
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 23696
      for iter477 in self.success:
23697
        iter477.write(oprot)
7291 vikram.rag 23698
      oprot.writeListEnd()
23699
      oprot.writeFieldEnd()
23700
    oprot.writeFieldStop()
23701
    oprot.writeStructEnd()
23702
 
23703
  def validate(self):
23704
    return
23705
 
23706
 
23707
  def __repr__(self):
23708
    L = ['%s=%r' % (key, value)
23709
      for key, value in self.__dict__.iteritems()]
23710
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23711
 
23712
  def __eq__(self, other):
23713
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23714
 
23715
  def __ne__(self, other):
23716
    return not (self == other)
23717
 
23718
class getAllNonFbaListedItems_args:
23719
 
23720
  thrift_spec = (
23721
  )
23722
 
23723
  def read(self, iprot):
23724
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23725
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23726
      return
23727
    iprot.readStructBegin()
23728
    while True:
23729
      (fname, ftype, fid) = iprot.readFieldBegin()
23730
      if ftype == TType.STOP:
23731
        break
23732
      else:
23733
        iprot.skip(ftype)
23734
      iprot.readFieldEnd()
23735
    iprot.readStructEnd()
23736
 
23737
  def write(self, oprot):
23738
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23739
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23740
      return
23741
    oprot.writeStructBegin('getAllNonFbaListedItems_args')
23742
    oprot.writeFieldStop()
23743
    oprot.writeStructEnd()
23744
 
23745
  def validate(self):
23746
    return
23747
 
23748
 
23749
  def __repr__(self):
23750
    L = ['%s=%r' % (key, value)
23751
      for key, value in self.__dict__.iteritems()]
23752
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23753
 
23754
  def __eq__(self, other):
23755
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23756
 
23757
  def __ne__(self, other):
23758
    return not (self == other)
23759
 
23760
class getAllNonFbaListedItems_result:
23761
  """
23762
  Attributes:
23763
   - success
23764
  """
23765
 
23766
  thrift_spec = (
23767
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23768
  )
23769
 
23770
  def __init__(self, success=None,):
23771
    self.success = success
23772
 
23773
  def read(self, iprot):
23774
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23775
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23776
      return
23777
    iprot.readStructBegin()
23778
    while True:
23779
      (fname, ftype, fid) = iprot.readFieldBegin()
23780
      if ftype == TType.STOP:
23781
        break
23782
      if fid == 0:
23783
        if ftype == TType.LIST:
23784
          self.success = []
13493 amit.gupta 23785
          (_etype481, _size478) = iprot.readListBegin()
23786
          for _i482 in xrange(_size478):
23787
            _elem483 = Amazonlisted()
23788
            _elem483.read(iprot)
23789
            self.success.append(_elem483)
7291 vikram.rag 23790
          iprot.readListEnd()
23791
        else:
23792
          iprot.skip(ftype)
23793
      else:
23794
        iprot.skip(ftype)
23795
      iprot.readFieldEnd()
23796
    iprot.readStructEnd()
23797
 
23798
  def write(self, oprot):
23799
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23800
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23801
      return
23802
    oprot.writeStructBegin('getAllNonFbaListedItems_result')
23803
    if self.success is not None:
23804
      oprot.writeFieldBegin('success', TType.LIST, 0)
23805
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 23806
      for iter484 in self.success:
23807
        iter484.write(oprot)
7291 vikram.rag 23808
      oprot.writeListEnd()
23809
      oprot.writeFieldEnd()
23810
    oprot.writeFieldStop()
23811
    oprot.writeStructEnd()
23812
 
23813
  def validate(self):
23814
    return
23815
 
23816
 
23817
  def __repr__(self):
23818
    L = ['%s=%r' % (key, value)
23819
      for key, value in self.__dict__.iteritems()]
23820
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23821
 
23822
  def __eq__(self, other):
23823
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23824
 
23825
  def __ne__(self, other):
23826
    return not (self == other)
7460 kshitij.so 23827
 
23828
class updateItemInventory_args:
23829
  """
23830
  Attributes:
23831
   - itemId
23832
   - holdInventory
23833
   - defaultInventory
23834
  """
23835
 
23836
  thrift_spec = (
23837
    None, # 0
23838
    (1, TType.I64, 'itemId', None, None, ), # 1
23839
    (2, TType.I64, 'holdInventory', None, None, ), # 2
23840
    (3, TType.I64, 'defaultInventory', None, None, ), # 3
23841
  )
23842
 
23843
  def __init__(self, itemId=None, holdInventory=None, defaultInventory=None,):
23844
    self.itemId = itemId
23845
    self.holdInventory = holdInventory
23846
    self.defaultInventory = defaultInventory
23847
 
23848
  def read(self, iprot):
23849
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23850
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23851
      return
23852
    iprot.readStructBegin()
23853
    while True:
23854
      (fname, ftype, fid) = iprot.readFieldBegin()
23855
      if ftype == TType.STOP:
23856
        break
23857
      if fid == 1:
23858
        if ftype == TType.I64:
23859
          self.itemId = iprot.readI64();
23860
        else:
23861
          iprot.skip(ftype)
23862
      elif fid == 2:
23863
        if ftype == TType.I64:
23864
          self.holdInventory = iprot.readI64();
23865
        else:
23866
          iprot.skip(ftype)
23867
      elif fid == 3:
23868
        if ftype == TType.I64:
23869
          self.defaultInventory = iprot.readI64();
23870
        else:
23871
          iprot.skip(ftype)
23872
      else:
23873
        iprot.skip(ftype)
23874
      iprot.readFieldEnd()
23875
    iprot.readStructEnd()
23876
 
23877
  def write(self, oprot):
23878
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23879
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23880
      return
23881
    oprot.writeStructBegin('updateItemInventory_args')
23882
    if self.itemId is not None:
23883
      oprot.writeFieldBegin('itemId', TType.I64, 1)
23884
      oprot.writeI64(self.itemId)
23885
      oprot.writeFieldEnd()
23886
    if self.holdInventory is not None:
23887
      oprot.writeFieldBegin('holdInventory', TType.I64, 2)
23888
      oprot.writeI64(self.holdInventory)
23889
      oprot.writeFieldEnd()
23890
    if self.defaultInventory is not None:
23891
      oprot.writeFieldBegin('defaultInventory', TType.I64, 3)
23892
      oprot.writeI64(self.defaultInventory)
23893
      oprot.writeFieldEnd()
23894
    oprot.writeFieldStop()
23895
    oprot.writeStructEnd()
23896
 
23897
  def validate(self):
23898
    return
23899
 
23900
 
23901
  def __repr__(self):
23902
    L = ['%s=%r' % (key, value)
23903
      for key, value in self.__dict__.iteritems()]
23904
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23905
 
23906
  def __eq__(self, other):
23907
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23908
 
23909
  def __ne__(self, other):
23910
    return not (self == other)
23911
 
23912
class updateItemInventory_result:
23913
  """
23914
  Attributes:
23915
   - success
23916
  """
23917
 
23918
  thrift_spec = (
23919
    (0, TType.BOOL, 'success', None, None, ), # 0
23920
  )
23921
 
23922
  def __init__(self, success=None,):
23923
    self.success = success
23924
 
23925
  def read(self, iprot):
23926
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23927
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23928
      return
23929
    iprot.readStructBegin()
23930
    while True:
23931
      (fname, ftype, fid) = iprot.readFieldBegin()
23932
      if ftype == TType.STOP:
23933
        break
23934
      if fid == 0:
23935
        if ftype == TType.BOOL:
23936
          self.success = iprot.readBool();
23937
        else:
23938
          iprot.skip(ftype)
23939
      else:
23940
        iprot.skip(ftype)
23941
      iprot.readFieldEnd()
23942
    iprot.readStructEnd()
23943
 
23944
  def write(self, oprot):
23945
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23946
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23947
      return
23948
    oprot.writeStructBegin('updateItemInventory_result')
23949
    if self.success is not None:
23950
      oprot.writeFieldBegin('success', TType.BOOL, 0)
23951
      oprot.writeBool(self.success)
23952
      oprot.writeFieldEnd()
23953
    oprot.writeFieldStop()
23954
    oprot.writeStructEnd()
23955
 
23956
  def validate(self):
23957
    return
23958
 
23959
 
23960
  def __repr__(self):
23961
    L = ['%s=%r' % (key, value)
23962
      for key, value in self.__dict__.iteritems()]
23963
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23964
 
23965
  def __eq__(self, other):
23966
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23967
 
23968
  def __ne__(self, other):
23969
    return not (self == other)
7770 kshitij.so 23970
 
23971
class updateTimestampForAmazonFeeds_args:
23972
  """
23973
  Attributes:
23974
   - type
23975
   - sku
23976
   - timestamp
23977
  """
23978
 
23979
  thrift_spec = (
23980
    None, # 0
23981
    (1, TType.STRING, 'type', None, None, ), # 1
23982
    (2, TType.LIST, 'sku', (TType.I64,None), None, ), # 2
23983
    (3, TType.I64, 'timestamp', None, None, ), # 3
23984
  )
23985
 
23986
  def __init__(self, type=None, sku=None, timestamp=None,):
23987
    self.type = type
23988
    self.sku = sku
23989
    self.timestamp = timestamp
23990
 
23991
  def read(self, iprot):
23992
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23993
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23994
      return
23995
    iprot.readStructBegin()
23996
    while True:
23997
      (fname, ftype, fid) = iprot.readFieldBegin()
23998
      if ftype == TType.STOP:
23999
        break
24000
      if fid == 1:
24001
        if ftype == TType.STRING:
24002
          self.type = iprot.readString();
24003
        else:
24004
          iprot.skip(ftype)
24005
      elif fid == 2:
24006
        if ftype == TType.LIST:
24007
          self.sku = []
13493 amit.gupta 24008
          (_etype488, _size485) = iprot.readListBegin()
24009
          for _i489 in xrange(_size485):
24010
            _elem490 = iprot.readI64();
24011
            self.sku.append(_elem490)
7770 kshitij.so 24012
          iprot.readListEnd()
24013
        else:
24014
          iprot.skip(ftype)
24015
      elif fid == 3:
24016
        if ftype == TType.I64:
24017
          self.timestamp = iprot.readI64();
24018
        else:
24019
          iprot.skip(ftype)
24020
      else:
24021
        iprot.skip(ftype)
24022
      iprot.readFieldEnd()
24023
    iprot.readStructEnd()
24024
 
24025
  def write(self, oprot):
24026
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24027
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24028
      return
24029
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_args')
24030
    if self.type is not None:
24031
      oprot.writeFieldBegin('type', TType.STRING, 1)
24032
      oprot.writeString(self.type)
24033
      oprot.writeFieldEnd()
24034
    if self.sku is not None:
24035
      oprot.writeFieldBegin('sku', TType.LIST, 2)
24036
      oprot.writeListBegin(TType.I64, len(self.sku))
13493 amit.gupta 24037
      for iter491 in self.sku:
24038
        oprot.writeI64(iter491)
7770 kshitij.so 24039
      oprot.writeListEnd()
24040
      oprot.writeFieldEnd()
24041
    if self.timestamp is not None:
24042
      oprot.writeFieldBegin('timestamp', TType.I64, 3)
24043
      oprot.writeI64(self.timestamp)
24044
      oprot.writeFieldEnd()
24045
    oprot.writeFieldStop()
24046
    oprot.writeStructEnd()
24047
 
24048
  def validate(self):
24049
    return
24050
 
24051
 
24052
  def __repr__(self):
24053
    L = ['%s=%r' % (key, value)
24054
      for key, value in self.__dict__.iteritems()]
24055
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24056
 
24057
  def __eq__(self, other):
24058
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24059
 
24060
  def __ne__(self, other):
24061
    return not (self == other)
24062
 
24063
class updateTimestampForAmazonFeeds_result:
24064
  """
24065
  Attributes:
24066
   - success
24067
  """
24068
 
24069
  thrift_spec = (
24070
    (0, TType.BOOL, 'success', None, None, ), # 0
24071
  )
24072
 
24073
  def __init__(self, success=None,):
24074
    self.success = success
24075
 
24076
  def read(self, iprot):
24077
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24078
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24079
      return
24080
    iprot.readStructBegin()
24081
    while True:
24082
      (fname, ftype, fid) = iprot.readFieldBegin()
24083
      if ftype == TType.STOP:
24084
        break
24085
      if fid == 0:
24086
        if ftype == TType.BOOL:
24087
          self.success = iprot.readBool();
24088
        else:
24089
          iprot.skip(ftype)
24090
      else:
24091
        iprot.skip(ftype)
24092
      iprot.readFieldEnd()
24093
    iprot.readStructEnd()
24094
 
24095
  def write(self, oprot):
24096
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24097
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24098
      return
24099
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_result')
24100
    if self.success is not None:
24101
      oprot.writeFieldBegin('success', TType.BOOL, 0)
24102
      oprot.writeBool(self.success)
24103
      oprot.writeFieldEnd()
24104
    oprot.writeFieldStop()
24105
    oprot.writeStructEnd()
24106
 
24107
  def validate(self):
24108
    return
24109
 
24110
 
24111
  def __repr__(self):
24112
    L = ['%s=%r' % (key, value)
24113
      for key, value in self.__dict__.iteritems()]
24114
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24115
 
24116
  def __eq__(self, other):
24117
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24118
 
24119
  def __ne__(self, other):
24120
    return not (self == other)
7897 amar.kumar 24121
 
24122
class getAllParentCategories_args:
24123
 
24124
  thrift_spec = (
24125
  )
24126
 
24127
  def read(self, iprot):
24128
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24129
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24130
      return
24131
    iprot.readStructBegin()
24132
    while True:
24133
      (fname, ftype, fid) = iprot.readFieldBegin()
24134
      if ftype == TType.STOP:
24135
        break
24136
      else:
24137
        iprot.skip(ftype)
24138
      iprot.readFieldEnd()
24139
    iprot.readStructEnd()
24140
 
24141
  def write(self, oprot):
24142
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24143
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24144
      return
24145
    oprot.writeStructBegin('getAllParentCategories_args')
24146
    oprot.writeFieldStop()
24147
    oprot.writeStructEnd()
24148
 
24149
  def validate(self):
24150
    return
24151
 
24152
 
24153
  def __repr__(self):
24154
    L = ['%s=%r' % (key, value)
24155
      for key, value in self.__dict__.iteritems()]
24156
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24157
 
24158
  def __eq__(self, other):
24159
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24160
 
24161
  def __ne__(self, other):
24162
    return not (self == other)
24163
 
24164
class getAllParentCategories_result:
24165
  """
24166
  Attributes:
24167
   - success
24168
  """
24169
 
24170
  thrift_spec = (
24171
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
24172
  )
24173
 
24174
  def __init__(self, success=None,):
24175
    self.success = success
24176
 
24177
  def read(self, iprot):
24178
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24179
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24180
      return
24181
    iprot.readStructBegin()
24182
    while True:
24183
      (fname, ftype, fid) = iprot.readFieldBegin()
24184
      if ftype == TType.STOP:
24185
        break
24186
      if fid == 0:
24187
        if ftype == TType.LIST:
24188
          self.success = []
13493 amit.gupta 24189
          (_etype495, _size492) = iprot.readListBegin()
24190
          for _i496 in xrange(_size492):
24191
            _elem497 = Category()
24192
            _elem497.read(iprot)
24193
            self.success.append(_elem497)
7897 amar.kumar 24194
          iprot.readListEnd()
24195
        else:
24196
          iprot.skip(ftype)
24197
      else:
24198
        iprot.skip(ftype)
24199
      iprot.readFieldEnd()
24200
    iprot.readStructEnd()
24201
 
24202
  def write(self, oprot):
24203
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24204
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24205
      return
24206
    oprot.writeStructBegin('getAllParentCategories_result')
24207
    if self.success is not None:
24208
      oprot.writeFieldBegin('success', TType.LIST, 0)
24209
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 24210
      for iter498 in self.success:
24211
        iter498.write(oprot)
7897 amar.kumar 24212
      oprot.writeListEnd()
24213
      oprot.writeFieldEnd()
24214
    oprot.writeFieldStop()
24215
    oprot.writeStructEnd()
24216
 
24217
  def validate(self):
24218
    return
24219
 
24220
 
24221
  def __repr__(self):
24222
    L = ['%s=%r' % (key, value)
24223
      for key, value in self.__dict__.iteritems()]
24224
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24225
 
24226
  def __eq__(self, other):
24227
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24228
 
24229
  def __ne__(self, other):
24230
    return not (self == other)
7977 kshitij.so 24231
 
24232
class addPageViewEvent_args:
24233
  """
24234
  Attributes:
24235
   - pageViewEvents
24236
  """
24237
 
24238
  thrift_spec = (
24239
    None, # 0
24240
    (1, TType.STRUCT, 'pageViewEvents', (PageViewEvents, PageViewEvents.thrift_spec), None, ), # 1
24241
  )
24242
 
24243
  def __init__(self, pageViewEvents=None,):
24244
    self.pageViewEvents = pageViewEvents
24245
 
24246
  def read(self, iprot):
24247
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24248
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24249
      return
24250
    iprot.readStructBegin()
24251
    while True:
24252
      (fname, ftype, fid) = iprot.readFieldBegin()
24253
      if ftype == TType.STOP:
24254
        break
24255
      if fid == 1:
24256
        if ftype == TType.STRUCT:
24257
          self.pageViewEvents = PageViewEvents()
24258
          self.pageViewEvents.read(iprot)
24259
        else:
24260
          iprot.skip(ftype)
24261
      else:
24262
        iprot.skip(ftype)
24263
      iprot.readFieldEnd()
24264
    iprot.readStructEnd()
24265
 
24266
  def write(self, oprot):
24267
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24268
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24269
      return
24270
    oprot.writeStructBegin('addPageViewEvent_args')
24271
    if self.pageViewEvents is not None:
24272
      oprot.writeFieldBegin('pageViewEvents', TType.STRUCT, 1)
24273
      self.pageViewEvents.write(oprot)
24274
      oprot.writeFieldEnd()
24275
    oprot.writeFieldStop()
24276
    oprot.writeStructEnd()
24277
 
24278
  def validate(self):
24279
    return
24280
 
24281
 
24282
  def __repr__(self):
24283
    L = ['%s=%r' % (key, value)
24284
      for key, value in self.__dict__.iteritems()]
24285
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24286
 
24287
  def __eq__(self, other):
24288
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24289
 
24290
  def __ne__(self, other):
24291
    return not (self == other)
24292
 
24293
class addPageViewEvent_result:
24294
 
24295
  thrift_spec = (
24296
  )
24297
 
24298
  def read(self, iprot):
24299
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24300
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24301
      return
24302
    iprot.readStructBegin()
24303
    while True:
24304
      (fname, ftype, fid) = iprot.readFieldBegin()
24305
      if ftype == TType.STOP:
24306
        break
24307
      else:
24308
        iprot.skip(ftype)
24309
      iprot.readFieldEnd()
24310
    iprot.readStructEnd()
24311
 
24312
  def write(self, oprot):
24313
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24314
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24315
      return
24316
    oprot.writeStructBegin('addPageViewEvent_result')
24317
    oprot.writeFieldStop()
24318
    oprot.writeStructEnd()
24319
 
24320
  def validate(self):
24321
    return
24322
 
24323
 
24324
  def __repr__(self):
24325
    L = ['%s=%r' % (key, value)
24326
      for key, value in self.__dict__.iteritems()]
24327
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24328
 
24329
  def __eq__(self, other):
24330
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24331
 
24332
  def __ne__(self, other):
24333
    return not (self == other)
24334
 
24335
class addCartEvent_args:
24336
  """
24337
  Attributes:
24338
   - cartEvents
24339
  """
24340
 
24341
  thrift_spec = (
24342
    None, # 0
24343
    (1, TType.STRUCT, 'cartEvents', (CartEvents, CartEvents.thrift_spec), None, ), # 1
24344
  )
24345
 
24346
  def __init__(self, cartEvents=None,):
24347
    self.cartEvents = cartEvents
24348
 
24349
  def read(self, iprot):
24350
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24351
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24352
      return
24353
    iprot.readStructBegin()
24354
    while True:
24355
      (fname, ftype, fid) = iprot.readFieldBegin()
24356
      if ftype == TType.STOP:
24357
        break
24358
      if fid == 1:
24359
        if ftype == TType.STRUCT:
24360
          self.cartEvents = CartEvents()
24361
          self.cartEvents.read(iprot)
24362
        else:
24363
          iprot.skip(ftype)
24364
      else:
24365
        iprot.skip(ftype)
24366
      iprot.readFieldEnd()
24367
    iprot.readStructEnd()
24368
 
24369
  def write(self, oprot):
24370
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24371
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24372
      return
24373
    oprot.writeStructBegin('addCartEvent_args')
24374
    if self.cartEvents is not None:
24375
      oprot.writeFieldBegin('cartEvents', TType.STRUCT, 1)
24376
      self.cartEvents.write(oprot)
24377
      oprot.writeFieldEnd()
24378
    oprot.writeFieldStop()
24379
    oprot.writeStructEnd()
24380
 
24381
  def validate(self):
24382
    return
24383
 
24384
 
24385
  def __repr__(self):
24386
    L = ['%s=%r' % (key, value)
24387
      for key, value in self.__dict__.iteritems()]
24388
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24389
 
24390
  def __eq__(self, other):
24391
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24392
 
24393
  def __ne__(self, other):
24394
    return not (self == other)
24395
 
24396
class addCartEvent_result:
24397
 
24398
  thrift_spec = (
24399
  )
24400
 
24401
  def read(self, iprot):
24402
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24403
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24404
      return
24405
    iprot.readStructBegin()
24406
    while True:
24407
      (fname, ftype, fid) = iprot.readFieldBegin()
24408
      if ftype == TType.STOP:
24409
        break
24410
      else:
24411
        iprot.skip(ftype)
24412
      iprot.readFieldEnd()
24413
    iprot.readStructEnd()
24414
 
24415
  def write(self, oprot):
24416
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24417
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24418
      return
24419
    oprot.writeStructBegin('addCartEvent_result')
24420
    oprot.writeFieldStop()
24421
    oprot.writeStructEnd()
24422
 
24423
  def validate(self):
24424
    return
24425
 
24426
 
24427
  def __repr__(self):
24428
    L = ['%s=%r' % (key, value)
24429
      for key, value in self.__dict__.iteritems()]
24430
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24431
 
24432
  def __eq__(self, other):
24433
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24434
 
24435
  def __ne__(self, other):
24436
    return not (self == other)
8139 kshitij.so 24437
 
8182 amar.kumar 24438
class addEbayItem_args:
24439
  """
24440
  Attributes:
24441
   - ebayItem
24442
  """
24443
 
24444
  thrift_spec = (
24445
    None, # 0
24446
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
24447
  )
24448
 
24449
  def __init__(self, ebayItem=None,):
24450
    self.ebayItem = ebayItem
24451
 
24452
  def read(self, iprot):
24453
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24454
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24455
      return
24456
    iprot.readStructBegin()
24457
    while True:
24458
      (fname, ftype, fid) = iprot.readFieldBegin()
24459
      if ftype == TType.STOP:
24460
        break
24461
      if fid == 1:
24462
        if ftype == TType.STRUCT:
24463
          self.ebayItem = EbayItem()
24464
          self.ebayItem.read(iprot)
24465
        else:
24466
          iprot.skip(ftype)
24467
      else:
24468
        iprot.skip(ftype)
24469
      iprot.readFieldEnd()
24470
    iprot.readStructEnd()
24471
 
24472
  def write(self, oprot):
24473
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24474
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24475
      return
24476
    oprot.writeStructBegin('addEbayItem_args')
24477
    if self.ebayItem is not None:
24478
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
24479
      self.ebayItem.write(oprot)
24480
      oprot.writeFieldEnd()
24481
    oprot.writeFieldStop()
24482
    oprot.writeStructEnd()
24483
 
24484
  def validate(self):
24485
    return
24486
 
24487
 
24488
  def __repr__(self):
24489
    L = ['%s=%r' % (key, value)
24490
      for key, value in self.__dict__.iteritems()]
24491
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24492
 
24493
  def __eq__(self, other):
24494
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24495
 
24496
  def __ne__(self, other):
24497
    return not (self == other)
24498
 
24499
class addEbayItem_result:
24500
 
24501
  thrift_spec = (
24502
  )
24503
 
24504
  def read(self, iprot):
24505
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24506
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24507
      return
24508
    iprot.readStructBegin()
24509
    while True:
24510
      (fname, ftype, fid) = iprot.readFieldBegin()
24511
      if ftype == TType.STOP:
24512
        break
24513
      else:
24514
        iprot.skip(ftype)
24515
      iprot.readFieldEnd()
24516
    iprot.readStructEnd()
24517
 
24518
  def write(self, oprot):
24519
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24520
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24521
      return
24522
    oprot.writeStructBegin('addEbayItem_result')
24523
    oprot.writeFieldStop()
24524
    oprot.writeStructEnd()
24525
 
24526
  def validate(self):
24527
    return
24528
 
24529
 
24530
  def __repr__(self):
24531
    L = ['%s=%r' % (key, value)
24532
      for key, value in self.__dict__.iteritems()]
24533
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24534
 
24535
  def __eq__(self, other):
24536
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24537
 
24538
  def __ne__(self, other):
24539
    return not (self == other)
24540
 
24541
class getEbayItem_args:
24542
  """
24543
  Attributes:
24544
   - listingId
24545
  """
24546
 
24547
  thrift_spec = (
24548
    None, # 0
24549
    (1, TType.STRING, 'listingId', None, None, ), # 1
24550
  )
24551
 
24552
  def __init__(self, listingId=None,):
24553
    self.listingId = listingId
24554
 
24555
  def read(self, iprot):
24556
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24557
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24558
      return
24559
    iprot.readStructBegin()
24560
    while True:
24561
      (fname, ftype, fid) = iprot.readFieldBegin()
24562
      if ftype == TType.STOP:
24563
        break
24564
      if fid == 1:
24565
        if ftype == TType.STRING:
24566
          self.listingId = iprot.readString();
24567
        else:
24568
          iprot.skip(ftype)
24569
      else:
24570
        iprot.skip(ftype)
24571
      iprot.readFieldEnd()
24572
    iprot.readStructEnd()
24573
 
24574
  def write(self, oprot):
24575
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24576
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24577
      return
24578
    oprot.writeStructBegin('getEbayItem_args')
24579
    if self.listingId is not None:
24580
      oprot.writeFieldBegin('listingId', TType.STRING, 1)
24581
      oprot.writeString(self.listingId)
24582
      oprot.writeFieldEnd()
24583
    oprot.writeFieldStop()
24584
    oprot.writeStructEnd()
24585
 
24586
  def validate(self):
24587
    return
24588
 
24589
 
24590
  def __repr__(self):
24591
    L = ['%s=%r' % (key, value)
24592
      for key, value in self.__dict__.iteritems()]
24593
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24594
 
24595
  def __eq__(self, other):
24596
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24597
 
24598
  def __ne__(self, other):
24599
    return not (self == other)
24600
 
24601
class getEbayItem_result:
24602
  """
24603
  Attributes:
24604
   - success
24605
  """
24606
 
24607
  thrift_spec = (
24608
    (0, TType.STRUCT, 'success', (EbayItem, EbayItem.thrift_spec), None, ), # 0
24609
  )
24610
 
24611
  def __init__(self, success=None,):
24612
    self.success = success
24613
 
24614
  def read(self, iprot):
24615
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24616
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24617
      return
24618
    iprot.readStructBegin()
24619
    while True:
24620
      (fname, ftype, fid) = iprot.readFieldBegin()
24621
      if ftype == TType.STOP:
24622
        break
24623
      if fid == 0:
24624
        if ftype == TType.STRUCT:
24625
          self.success = EbayItem()
24626
          self.success.read(iprot)
24627
        else:
24628
          iprot.skip(ftype)
24629
      else:
24630
        iprot.skip(ftype)
24631
      iprot.readFieldEnd()
24632
    iprot.readStructEnd()
24633
 
24634
  def write(self, oprot):
24635
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24636
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24637
      return
24638
    oprot.writeStructBegin('getEbayItem_result')
24639
    if self.success is not None:
24640
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
24641
      self.success.write(oprot)
24642
      oprot.writeFieldEnd()
24643
    oprot.writeFieldStop()
24644
    oprot.writeStructEnd()
24645
 
24646
  def validate(self):
24647
    return
24648
 
24649
 
24650
  def __repr__(self):
24651
    L = ['%s=%r' % (key, value)
24652
      for key, value in self.__dict__.iteritems()]
24653
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24654
 
24655
  def __eq__(self, other):
24656
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24657
 
24658
  def __ne__(self, other):
24659
    return not (self == other)
24660
 
24661
class updateEbayItem_args:
24662
  """
24663
  Attributes:
24664
   - ebayItem
24665
  """
24666
 
24667
  thrift_spec = (
24668
    None, # 0
24669
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
24670
  )
24671
 
24672
  def __init__(self, ebayItem=None,):
24673
    self.ebayItem = ebayItem
24674
 
24675
  def read(self, iprot):
24676
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24677
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24678
      return
24679
    iprot.readStructBegin()
24680
    while True:
24681
      (fname, ftype, fid) = iprot.readFieldBegin()
24682
      if ftype == TType.STOP:
24683
        break
24684
      if fid == 1:
24685
        if ftype == TType.STRUCT:
24686
          self.ebayItem = EbayItem()
24687
          self.ebayItem.read(iprot)
24688
        else:
24689
          iprot.skip(ftype)
24690
      else:
24691
        iprot.skip(ftype)
24692
      iprot.readFieldEnd()
24693
    iprot.readStructEnd()
24694
 
24695
  def write(self, oprot):
24696
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24697
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24698
      return
24699
    oprot.writeStructBegin('updateEbayItem_args')
24700
    if self.ebayItem is not None:
24701
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
24702
      self.ebayItem.write(oprot)
24703
      oprot.writeFieldEnd()
24704
    oprot.writeFieldStop()
24705
    oprot.writeStructEnd()
24706
 
24707
  def validate(self):
24708
    return
24709
 
24710
 
24711
  def __repr__(self):
24712
    L = ['%s=%r' % (key, value)
24713
      for key, value in self.__dict__.iteritems()]
24714
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24715
 
24716
  def __eq__(self, other):
24717
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24718
 
24719
  def __ne__(self, other):
24720
    return not (self == other)
24721
 
24722
class updateEbayItem_result:
24723
 
24724
  thrift_spec = (
24725
  )
24726
 
24727
  def read(self, iprot):
24728
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24729
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24730
      return
24731
    iprot.readStructBegin()
24732
    while True:
24733
      (fname, ftype, fid) = iprot.readFieldBegin()
24734
      if ftype == TType.STOP:
24735
        break
24736
      else:
24737
        iprot.skip(ftype)
24738
      iprot.readFieldEnd()
24739
    iprot.readStructEnd()
24740
 
24741
  def write(self, oprot):
24742
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24743
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24744
      return
24745
    oprot.writeStructBegin('updateEbayItem_result')
24746
    oprot.writeFieldStop()
24747
    oprot.writeStructEnd()
24748
 
24749
  def validate(self):
24750
    return
24751
 
24752
 
24753
  def __repr__(self):
24754
    L = ['%s=%r' % (key, value)
24755
      for key, value in self.__dict__.iteritems()]
24756
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24757
 
24758
  def __eq__(self, other):
24759
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24760
 
24761
  def __ne__(self, other):
24762
    return not (self == other)
24763
 
8139 kshitij.so 24764
class getAmazonListedItems_args:
24765
  """
24766
  Attributes:
24767
   - offset
24768
   - limit
24769
  """
24770
 
24771
  thrift_spec = (
24772
    None, # 0
24773
    (1, TType.I64, 'offset', None, None, ), # 1
24774
    (2, TType.I64, 'limit', None, None, ), # 2
24775
  )
24776
 
24777
  def __init__(self, offset=None, limit=None,):
24778
    self.offset = offset
24779
    self.limit = limit
24780
 
24781
  def read(self, iprot):
24782
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24783
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24784
      return
24785
    iprot.readStructBegin()
24786
    while True:
24787
      (fname, ftype, fid) = iprot.readFieldBegin()
24788
      if ftype == TType.STOP:
24789
        break
24790
      if fid == 1:
24791
        if ftype == TType.I64:
24792
          self.offset = iprot.readI64();
24793
        else:
24794
          iprot.skip(ftype)
24795
      elif fid == 2:
24796
        if ftype == TType.I64:
24797
          self.limit = iprot.readI64();
24798
        else:
24799
          iprot.skip(ftype)
24800
      else:
24801
        iprot.skip(ftype)
24802
      iprot.readFieldEnd()
24803
    iprot.readStructEnd()
24804
 
24805
  def write(self, oprot):
24806
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24807
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24808
      return
24809
    oprot.writeStructBegin('getAmazonListedItems_args')
24810
    if self.offset is not None:
24811
      oprot.writeFieldBegin('offset', TType.I64, 1)
24812
      oprot.writeI64(self.offset)
24813
      oprot.writeFieldEnd()
24814
    if self.limit is not None:
24815
      oprot.writeFieldBegin('limit', TType.I64, 2)
24816
      oprot.writeI64(self.limit)
24817
      oprot.writeFieldEnd()
24818
    oprot.writeFieldStop()
24819
    oprot.writeStructEnd()
24820
 
24821
  def validate(self):
24822
    return
24823
 
24824
 
24825
  def __repr__(self):
24826
    L = ['%s=%r' % (key, value)
24827
      for key, value in self.__dict__.iteritems()]
24828
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24829
 
24830
  def __eq__(self, other):
24831
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24832
 
24833
  def __ne__(self, other):
24834
    return not (self == other)
24835
 
24836
class getAmazonListedItems_result:
24837
  """
24838
  Attributes:
24839
   - success
24840
  """
24841
 
24842
  thrift_spec = (
24843
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
24844
  )
24845
 
24846
  def __init__(self, success=None,):
24847
    self.success = success
24848
 
24849
  def read(self, iprot):
24850
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24851
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24852
      return
24853
    iprot.readStructBegin()
24854
    while True:
24855
      (fname, ftype, fid) = iprot.readFieldBegin()
24856
      if ftype == TType.STOP:
24857
        break
24858
      if fid == 0:
24859
        if ftype == TType.LIST:
24860
          self.success = []
13493 amit.gupta 24861
          (_etype502, _size499) = iprot.readListBegin()
24862
          for _i503 in xrange(_size499):
24863
            _elem504 = Amazonlisted()
24864
            _elem504.read(iprot)
24865
            self.success.append(_elem504)
8139 kshitij.so 24866
          iprot.readListEnd()
24867
        else:
24868
          iprot.skip(ftype)
24869
      else:
24870
        iprot.skip(ftype)
24871
      iprot.readFieldEnd()
24872
    iprot.readStructEnd()
24873
 
24874
  def write(self, oprot):
24875
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24876
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24877
      return
24878
    oprot.writeStructBegin('getAmazonListedItems_result')
24879
    if self.success is not None:
24880
      oprot.writeFieldBegin('success', TType.LIST, 0)
24881
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 24882
      for iter505 in self.success:
24883
        iter505.write(oprot)
8139 kshitij.so 24884
      oprot.writeListEnd()
24885
      oprot.writeFieldEnd()
24886
    oprot.writeFieldStop()
24887
    oprot.writeStructEnd()
24888
 
24889
  def validate(self):
24890
    return
24891
 
24892
 
24893
  def __repr__(self):
24894
    L = ['%s=%r' % (key, value)
24895
      for key, value in self.__dict__.iteritems()]
24896
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24897
 
24898
  def __eq__(self, other):
24899
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24900
 
24901
  def __ne__(self, other):
24902
    return not (self == other)
8168 kshitij.so 24903
 
24904
class updateAmazonAttributesInBulk_args:
24905
  """
24906
  Attributes:
24907
   - amazonlisted
24908
  """
24909
 
24910
  thrift_spec = (
24911
    None, # 0
24912
    (1, TType.MAP, 'amazonlisted', (TType.I64,None,TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 1
24913
  )
24914
 
24915
  def __init__(self, amazonlisted=None,):
24916
    self.amazonlisted = amazonlisted
24917
 
24918
  def read(self, iprot):
24919
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24920
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24921
      return
24922
    iprot.readStructBegin()
24923
    while True:
24924
      (fname, ftype, fid) = iprot.readFieldBegin()
24925
      if ftype == TType.STOP:
24926
        break
24927
      if fid == 1:
24928
        if ftype == TType.MAP:
24929
          self.amazonlisted = {}
13493 amit.gupta 24930
          (_ktype507, _vtype508, _size506 ) = iprot.readMapBegin() 
24931
          for _i510 in xrange(_size506):
24932
            _key511 = iprot.readI64();
24933
            _val512 = Amazonlisted()
24934
            _val512.read(iprot)
24935
            self.amazonlisted[_key511] = _val512
8168 kshitij.so 24936
          iprot.readMapEnd()
24937
        else:
24938
          iprot.skip(ftype)
24939
      else:
24940
        iprot.skip(ftype)
24941
      iprot.readFieldEnd()
24942
    iprot.readStructEnd()
24943
 
24944
  def write(self, oprot):
24945
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24946
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24947
      return
24948
    oprot.writeStructBegin('updateAmazonAttributesInBulk_args')
24949
    if self.amazonlisted is not None:
24950
      oprot.writeFieldBegin('amazonlisted', TType.MAP, 1)
24951
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.amazonlisted))
13493 amit.gupta 24952
      for kiter513,viter514 in self.amazonlisted.items():
24953
        oprot.writeI64(kiter513)
24954
        viter514.write(oprot)
8168 kshitij.so 24955
      oprot.writeMapEnd()
24956
      oprot.writeFieldEnd()
24957
    oprot.writeFieldStop()
24958
    oprot.writeStructEnd()
24959
 
24960
  def validate(self):
24961
    return
24962
 
24963
 
24964
  def __repr__(self):
24965
    L = ['%s=%r' % (key, value)
24966
      for key, value in self.__dict__.iteritems()]
24967
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24968
 
24969
  def __eq__(self, other):
24970
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24971
 
24972
  def __ne__(self, other):
24973
    return not (self == other)
24974
 
24975
class updateAmazonAttributesInBulk_result:
24976
  """
24977
  Attributes:
24978
   - success
24979
  """
24980
 
24981
  thrift_spec = (
24982
    (0, TType.BOOL, 'success', None, None, ), # 0
24983
  )
24984
 
24985
  def __init__(self, success=None,):
24986
    self.success = success
24987
 
24988
  def read(self, iprot):
24989
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24990
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24991
      return
24992
    iprot.readStructBegin()
24993
    while True:
24994
      (fname, ftype, fid) = iprot.readFieldBegin()
24995
      if ftype == TType.STOP:
24996
        break
24997
      if fid == 0:
24998
        if ftype == TType.BOOL:
24999
          self.success = iprot.readBool();
25000
        else:
25001
          iprot.skip(ftype)
25002
      else:
25003
        iprot.skip(ftype)
25004
      iprot.readFieldEnd()
25005
    iprot.readStructEnd()
25006
 
25007
  def write(self, oprot):
25008
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25009
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25010
      return
25011
    oprot.writeStructBegin('updateAmazonAttributesInBulk_result')
25012
    if self.success is not None:
25013
      oprot.writeFieldBegin('success', TType.BOOL, 0)
25014
      oprot.writeBool(self.success)
25015
      oprot.writeFieldEnd()
25016
    oprot.writeFieldStop()
25017
    oprot.writeStructEnd()
25018
 
25019
  def validate(self):
25020
    return
25021
 
25022
 
25023
  def __repr__(self):
25024
    L = ['%s=%r' % (key, value)
25025
      for key, value in self.__dict__.iteritems()]
25026
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25027
 
25028
  def __eq__(self, other):
25029
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25030
 
25031
  def __ne__(self, other):
25032
    return not (self == other)
8379 vikram.rag 25033
 
25034
class getAllItemstoListOnFba_args:
25035
 
25036
  thrift_spec = (
25037
  )
25038
 
25039
  def read(self, iprot):
25040
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25041
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25042
      return
25043
    iprot.readStructBegin()
25044
    while True:
25045
      (fname, ftype, fid) = iprot.readFieldBegin()
25046
      if ftype == TType.STOP:
25047
        break
25048
      else:
25049
        iprot.skip(ftype)
25050
      iprot.readFieldEnd()
25051
    iprot.readStructEnd()
25052
 
25053
  def write(self, oprot):
25054
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25055
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25056
      return
25057
    oprot.writeStructBegin('getAllItemstoListOnFba_args')
25058
    oprot.writeFieldStop()
25059
    oprot.writeStructEnd()
25060
 
25061
  def validate(self):
25062
    return
25063
 
25064
 
25065
  def __repr__(self):
25066
    L = ['%s=%r' % (key, value)
25067
      for key, value in self.__dict__.iteritems()]
25068
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25069
 
25070
  def __eq__(self, other):
25071
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25072
 
25073
  def __ne__(self, other):
25074
    return not (self == other)
25075
 
25076
class getAllItemstoListOnFba_result:
25077
  """
25078
  Attributes:
25079
   - success
25080
  """
25081
 
25082
  thrift_spec = (
25083
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25084
  )
25085
 
25086
  def __init__(self, success=None,):
25087
    self.success = success
25088
 
25089
  def read(self, iprot):
25090
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25091
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25092
      return
25093
    iprot.readStructBegin()
25094
    while True:
25095
      (fname, ftype, fid) = iprot.readFieldBegin()
25096
      if ftype == TType.STOP:
25097
        break
25098
      if fid == 0:
25099
        if ftype == TType.LIST:
25100
          self.success = []
13493 amit.gupta 25101
          (_etype518, _size515) = iprot.readListBegin()
25102
          for _i519 in xrange(_size515):
25103
            _elem520 = Amazonlisted()
25104
            _elem520.read(iprot)
25105
            self.success.append(_elem520)
8379 vikram.rag 25106
          iprot.readListEnd()
25107
        else:
25108
          iprot.skip(ftype)
25109
      else:
25110
        iprot.skip(ftype)
25111
      iprot.readFieldEnd()
25112
    iprot.readStructEnd()
25113
 
25114
  def write(self, oprot):
25115
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25116
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25117
      return
25118
    oprot.writeStructBegin('getAllItemstoListOnFba_result')
25119
    if self.success is not None:
25120
      oprot.writeFieldBegin('success', TType.LIST, 0)
25121
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25122
      for iter521 in self.success:
25123
        iter521.write(oprot)
8379 vikram.rag 25124
      oprot.writeListEnd()
25125
      oprot.writeFieldEnd()
25126
    oprot.writeFieldStop()
25127
    oprot.writeStructEnd()
25128
 
25129
  def validate(self):
25130
    return
25131
 
25132
 
25133
  def __repr__(self):
25134
    L = ['%s=%r' % (key, value)
25135
      for key, value in self.__dict__.iteritems()]
25136
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25137
 
25138
  def __eq__(self, other):
25139
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25140
 
25141
  def __ne__(self, other):
25142
    return not (self == other)
25143
 
25144
class getAllItemstoListOnNonFba_args:
25145
 
25146
  thrift_spec = (
25147
  )
25148
 
25149
  def read(self, iprot):
25150
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25151
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25152
      return
25153
    iprot.readStructBegin()
25154
    while True:
25155
      (fname, ftype, fid) = iprot.readFieldBegin()
25156
      if ftype == TType.STOP:
25157
        break
25158
      else:
25159
        iprot.skip(ftype)
25160
      iprot.readFieldEnd()
25161
    iprot.readStructEnd()
25162
 
25163
  def write(self, oprot):
25164
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25165
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25166
      return
25167
    oprot.writeStructBegin('getAllItemstoListOnNonFba_args')
25168
    oprot.writeFieldStop()
25169
    oprot.writeStructEnd()
25170
 
25171
  def validate(self):
25172
    return
25173
 
25174
 
25175
  def __repr__(self):
25176
    L = ['%s=%r' % (key, value)
25177
      for key, value in self.__dict__.iteritems()]
25178
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25179
 
25180
  def __eq__(self, other):
25181
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25182
 
25183
  def __ne__(self, other):
25184
    return not (self == other)
25185
 
25186
class getAllItemstoListOnNonFba_result:
25187
  """
25188
  Attributes:
25189
   - success
25190
  """
25191
 
25192
  thrift_spec = (
25193
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
25194
  )
25195
 
25196
  def __init__(self, success=None,):
25197
    self.success = success
25198
 
25199
  def read(self, iprot):
25200
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25201
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25202
      return
25203
    iprot.readStructBegin()
25204
    while True:
25205
      (fname, ftype, fid) = iprot.readFieldBegin()
25206
      if ftype == TType.STOP:
25207
        break
25208
      if fid == 0:
25209
        if ftype == TType.LIST:
25210
          self.success = []
13493 amit.gupta 25211
          (_etype525, _size522) = iprot.readListBegin()
25212
          for _i526 in xrange(_size522):
25213
            _elem527 = Amazonlisted()
25214
            _elem527.read(iprot)
25215
            self.success.append(_elem527)
8379 vikram.rag 25216
          iprot.readListEnd()
25217
        else:
25218
          iprot.skip(ftype)
25219
      else:
25220
        iprot.skip(ftype)
25221
      iprot.readFieldEnd()
25222
    iprot.readStructEnd()
25223
 
25224
  def write(self, oprot):
25225
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25226
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25227
      return
25228
    oprot.writeStructBegin('getAllItemstoListOnNonFba_result')
25229
    if self.success is not None:
25230
      oprot.writeFieldBegin('success', TType.LIST, 0)
25231
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25232
      for iter528 in self.success:
25233
        iter528.write(oprot)
8379 vikram.rag 25234
      oprot.writeListEnd()
25235
      oprot.writeFieldEnd()
25236
    oprot.writeFieldStop()
25237
    oprot.writeStructEnd()
25238
 
25239
  def validate(self):
25240
    return
25241
 
25242
 
25243
  def __repr__(self):
25244
    L = ['%s=%r' % (key, value)
25245
      for key, value in self.__dict__.iteritems()]
25246
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25247
 
25248
  def __eq__(self, other):
25249
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25250
 
25251
  def __ne__(self, other):
25252
    return not (self == other)
8616 vikram.rag 25253
 
9242 kshitij.so 25254
class updateAsin_args:
25255
  """
25256
  Attributes:
25257
   - item
25258
  """
8616 vikram.rag 25259
 
25260
  thrift_spec = (
9242 kshitij.so 25261
    None, # 0
25262
    (1, TType.MAP, 'item', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 1
8616 vikram.rag 25263
  )
25264
 
9242 kshitij.so 25265
  def __init__(self, item=None,):
25266
    self.item = item
25267
 
8616 vikram.rag 25268
  def read(self, iprot):
25269
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25270
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25271
      return
25272
    iprot.readStructBegin()
25273
    while True:
25274
      (fname, ftype, fid) = iprot.readFieldBegin()
25275
      if ftype == TType.STOP:
25276
        break
9242 kshitij.so 25277
      if fid == 1:
25278
        if ftype == TType.MAP:
25279
          self.item = {}
13493 amit.gupta 25280
          (_ktype530, _vtype531, _size529 ) = iprot.readMapBegin() 
25281
          for _i533 in xrange(_size529):
25282
            _key534 = iprot.readI64();
25283
            _val535 = Item()
25284
            _val535.read(iprot)
25285
            self.item[_key534] = _val535
9242 kshitij.so 25286
          iprot.readMapEnd()
25287
        else:
25288
          iprot.skip(ftype)
8616 vikram.rag 25289
      else:
25290
        iprot.skip(ftype)
25291
      iprot.readFieldEnd()
25292
    iprot.readStructEnd()
25293
 
25294
  def write(self, oprot):
25295
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25296
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25297
      return
9242 kshitij.so 25298
    oprot.writeStructBegin('updateAsin_args')
25299
    if self.item is not None:
25300
      oprot.writeFieldBegin('item', TType.MAP, 1)
25301
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.item))
13493 amit.gupta 25302
      for kiter536,viter537 in self.item.items():
25303
        oprot.writeI64(kiter536)
25304
        viter537.write(oprot)
9242 kshitij.so 25305
      oprot.writeMapEnd()
25306
      oprot.writeFieldEnd()
8616 vikram.rag 25307
    oprot.writeFieldStop()
25308
    oprot.writeStructEnd()
25309
 
25310
  def validate(self):
25311
    return
25312
 
25313
 
25314
  def __repr__(self):
25315
    L = ['%s=%r' % (key, value)
25316
      for key, value in self.__dict__.iteritems()]
25317
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25318
 
25319
  def __eq__(self, other):
25320
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25321
 
25322
  def __ne__(self, other):
25323
    return not (self == other)
25324
 
9242 kshitij.so 25325
class updateAsin_result:
8616 vikram.rag 25326
 
25327
  thrift_spec = (
25328
  )
25329
 
25330
  def read(self, iprot):
25331
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25332
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25333
      return
25334
    iprot.readStructBegin()
25335
    while True:
25336
      (fname, ftype, fid) = iprot.readFieldBegin()
25337
      if ftype == TType.STOP:
25338
        break
25339
      else:
25340
        iprot.skip(ftype)
25341
      iprot.readFieldEnd()
25342
    iprot.readStructEnd()
25343
 
25344
  def write(self, oprot):
25345
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25346
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25347
      return
9242 kshitij.so 25348
    oprot.writeStructBegin('updateAsin_result')
8616 vikram.rag 25349
    oprot.writeFieldStop()
25350
    oprot.writeStructEnd()
25351
 
25352
  def validate(self):
25353
    return
25354
 
25355
 
25356
  def __repr__(self):
25357
    L = ['%s=%r' % (key, value)
25358
      for key, value in self.__dict__.iteritems()]
25359
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25360
 
25361
  def __eq__(self, other):
25362
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25363
 
25364
  def __ne__(self, other):
25365
    return not (self == other)
8619 kshitij.so 25366
 
9242 kshitij.so 25367
class addOrUpdateSnapdealItem_args:
8619 kshitij.so 25368
  """
25369
  Attributes:
9242 kshitij.so 25370
   - snapdealitem
8619 kshitij.so 25371
  """
25372
 
9242 kshitij.so 25373
  thrift_spec = None
25374
  def __init__(self, snapdealitem=None,):
25375
    self.snapdealitem = snapdealitem
8619 kshitij.so 25376
 
25377
  def read(self, iprot):
25378
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25379
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25380
      return
25381
    iprot.readStructBegin()
25382
    while True:
25383
      (fname, ftype, fid) = iprot.readFieldBegin()
25384
      if ftype == TType.STOP:
25385
        break
9242 kshitij.so 25386
      if fid == -1:
25387
        if ftype == TType.STRUCT:
25388
          self.snapdealitem = SnapdealItem()
25389
          self.snapdealitem.read(iprot)
8619 kshitij.so 25390
        else:
25391
          iprot.skip(ftype)
25392
      else:
25393
        iprot.skip(ftype)
25394
      iprot.readFieldEnd()
25395
    iprot.readStructEnd()
25396
 
25397
  def write(self, oprot):
25398
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25399
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25400
      return
9242 kshitij.so 25401
    oprot.writeStructBegin('addOrUpdateSnapdealItem_args')
25402
    if self.snapdealitem is not None:
25403
      oprot.writeFieldBegin('snapdealitem', TType.STRUCT, -1)
25404
      self.snapdealitem.write(oprot)
8619 kshitij.so 25405
      oprot.writeFieldEnd()
25406
    oprot.writeFieldStop()
25407
    oprot.writeStructEnd()
25408
 
25409
  def validate(self):
25410
    return
25411
 
25412
 
25413
  def __repr__(self):
25414
    L = ['%s=%r' % (key, value)
25415
      for key, value in self.__dict__.iteritems()]
25416
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25417
 
25418
  def __eq__(self, other):
25419
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25420
 
25421
  def __ne__(self, other):
25422
    return not (self == other)
25423
 
9242 kshitij.so 25424
class addOrUpdateSnapdealItem_result:
25425
  """
25426
  Attributes:
25427
   - success
25428
  """
8619 kshitij.so 25429
 
25430
  thrift_spec = (
9242 kshitij.so 25431
    (0, TType.BOOL, 'success', None, None, ), # 0
8619 kshitij.so 25432
  )
25433
 
9242 kshitij.so 25434
  def __init__(self, success=None,):
25435
    self.success = success
25436
 
8619 kshitij.so 25437
  def read(self, iprot):
25438
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25439
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25440
      return
25441
    iprot.readStructBegin()
25442
    while True:
25443
      (fname, ftype, fid) = iprot.readFieldBegin()
25444
      if ftype == TType.STOP:
25445
        break
9242 kshitij.so 25446
      if fid == 0:
25447
        if ftype == TType.BOOL:
25448
          self.success = iprot.readBool();
25449
        else:
25450
          iprot.skip(ftype)
8619 kshitij.so 25451
      else:
25452
        iprot.skip(ftype)
25453
      iprot.readFieldEnd()
25454
    iprot.readStructEnd()
25455
 
25456
  def write(self, oprot):
25457
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25458
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25459
      return
9242 kshitij.so 25460
    oprot.writeStructBegin('addOrUpdateSnapdealItem_result')
25461
    if self.success is not None:
25462
      oprot.writeFieldBegin('success', TType.BOOL, 0)
25463
      oprot.writeBool(self.success)
25464
      oprot.writeFieldEnd()
8619 kshitij.so 25465
    oprot.writeFieldStop()
25466
    oprot.writeStructEnd()
25467
 
25468
  def validate(self):
25469
    return
25470
 
25471
 
25472
  def __repr__(self):
25473
    L = ['%s=%r' % (key, value)
25474
      for key, value in self.__dict__.iteritems()]
25475
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25476
 
25477
  def __eq__(self, other):
25478
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25479
 
25480
  def __ne__(self, other):
25481
    return not (self == other)
8739 vikram.rag 25482
 
9242 kshitij.so 25483
class getSnapdealItem_args:
8739 vikram.rag 25484
  """
25485
  Attributes:
9242 kshitij.so 25486
   - item_id
8739 vikram.rag 25487
  """
25488
 
9242 kshitij.so 25489
  thrift_spec = (
25490
    None, # 0
25491
    (1, TType.I64, 'item_id', None, None, ), # 1
25492
  )
8739 vikram.rag 25493
 
9242 kshitij.so 25494
  def __init__(self, item_id=None,):
25495
    self.item_id = item_id
25496
 
8739 vikram.rag 25497
  def read(self, iprot):
25498
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25499
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25500
      return
25501
    iprot.readStructBegin()
25502
    while True:
25503
      (fname, ftype, fid) = iprot.readFieldBegin()
25504
      if ftype == TType.STOP:
25505
        break
9242 kshitij.so 25506
      if fid == 1:
25507
        if ftype == TType.I64:
25508
          self.item_id = iprot.readI64();
8739 vikram.rag 25509
        else:
25510
          iprot.skip(ftype)
25511
      else:
25512
        iprot.skip(ftype)
25513
      iprot.readFieldEnd()
25514
    iprot.readStructEnd()
25515
 
25516
  def write(self, oprot):
25517
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25518
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25519
      return
9242 kshitij.so 25520
    oprot.writeStructBegin('getSnapdealItem_args')
25521
    if self.item_id is not None:
25522
      oprot.writeFieldBegin('item_id', TType.I64, 1)
25523
      oprot.writeI64(self.item_id)
8739 vikram.rag 25524
      oprot.writeFieldEnd()
25525
    oprot.writeFieldStop()
25526
    oprot.writeStructEnd()
25527
 
25528
  def validate(self):
25529
    return
25530
 
25531
 
25532
  def __repr__(self):
25533
    L = ['%s=%r' % (key, value)
25534
      for key, value in self.__dict__.iteritems()]
25535
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25536
 
25537
  def __eq__(self, other):
25538
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25539
 
25540
  def __ne__(self, other):
25541
    return not (self == other)
25542
 
9242 kshitij.so 25543
class getSnapdealItem_result:
8739 vikram.rag 25544
  """
25545
  Attributes:
25546
   - success
25547
  """
25548
 
25549
  thrift_spec = (
9242 kshitij.so 25550
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
8739 vikram.rag 25551
  )
25552
 
25553
  def __init__(self, success=None,):
25554
    self.success = success
25555
 
25556
  def read(self, iprot):
25557
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25558
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25559
      return
25560
    iprot.readStructBegin()
25561
    while True:
25562
      (fname, ftype, fid) = iprot.readFieldBegin()
25563
      if ftype == TType.STOP:
25564
        break
25565
      if fid == 0:
9242 kshitij.so 25566
        if ftype == TType.STRUCT:
25567
          self.success = SnapdealItem()
25568
          self.success.read(iprot)
8739 vikram.rag 25569
        else:
25570
          iprot.skip(ftype)
25571
      else:
25572
        iprot.skip(ftype)
25573
      iprot.readFieldEnd()
25574
    iprot.readStructEnd()
25575
 
25576
  def write(self, oprot):
25577
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25578
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25579
      return
9242 kshitij.so 25580
    oprot.writeStructBegin('getSnapdealItem_result')
8739 vikram.rag 25581
    if self.success is not None:
9242 kshitij.so 25582
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25583
      self.success.write(oprot)
8739 vikram.rag 25584
      oprot.writeFieldEnd()
25585
    oprot.writeFieldStop()
25586
    oprot.writeStructEnd()
25587
 
25588
  def validate(self):
25589
    return
25590
 
25591
 
25592
  def __repr__(self):
25593
    L = ['%s=%r' % (key, value)
25594
      for key, value in self.__dict__.iteritems()]
25595
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25596
 
25597
  def __eq__(self, other):
25598
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25599
 
25600
  def __ne__(self, other):
25601
    return not (self == other)
25602
 
9242 kshitij.so 25603
class getSnapdealItemDetails_args:
8739 vikram.rag 25604
  """
25605
  Attributes:
25606
   - item_id
25607
  """
25608
 
25609
  thrift_spec = (
25610
    None, # 0
25611
    (1, TType.I64, 'item_id', None, None, ), # 1
25612
  )
25613
 
25614
  def __init__(self, item_id=None,):
25615
    self.item_id = item_id
25616
 
25617
  def read(self, iprot):
25618
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25619
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25620
      return
25621
    iprot.readStructBegin()
25622
    while True:
25623
      (fname, ftype, fid) = iprot.readFieldBegin()
25624
      if ftype == TType.STOP:
25625
        break
25626
      if fid == 1:
25627
        if ftype == TType.I64:
25628
          self.item_id = iprot.readI64();
25629
        else:
25630
          iprot.skip(ftype)
25631
      else:
25632
        iprot.skip(ftype)
25633
      iprot.readFieldEnd()
25634
    iprot.readStructEnd()
25635
 
25636
  def write(self, oprot):
25637
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25638
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25639
      return
9242 kshitij.so 25640
    oprot.writeStructBegin('getSnapdealItemDetails_args')
8739 vikram.rag 25641
    if self.item_id is not None:
25642
      oprot.writeFieldBegin('item_id', TType.I64, 1)
25643
      oprot.writeI64(self.item_id)
25644
      oprot.writeFieldEnd()
25645
    oprot.writeFieldStop()
25646
    oprot.writeStructEnd()
25647
 
25648
  def validate(self):
25649
    return
25650
 
25651
 
25652
  def __repr__(self):
25653
    L = ['%s=%r' % (key, value)
25654
      for key, value in self.__dict__.iteritems()]
25655
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25656
 
25657
  def __eq__(self, other):
25658
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25659
 
25660
  def __ne__(self, other):
25661
    return not (self == other)
25662
 
9242 kshitij.so 25663
class getSnapdealItemDetails_result:
8739 vikram.rag 25664
  """
25665
  Attributes:
25666
   - success
25667
  """
25668
 
25669
  thrift_spec = (
9242 kshitij.so 25670
    (0, TType.STRUCT, 'success', (SnapdealItemDetails, SnapdealItemDetails.thrift_spec), None, ), # 0
8739 vikram.rag 25671
  )
25672
 
25673
  def __init__(self, success=None,):
25674
    self.success = success
25675
 
25676
  def read(self, iprot):
25677
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25678
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25679
      return
25680
    iprot.readStructBegin()
25681
    while True:
25682
      (fname, ftype, fid) = iprot.readFieldBegin()
25683
      if ftype == TType.STOP:
25684
        break
25685
      if fid == 0:
25686
        if ftype == TType.STRUCT:
9242 kshitij.so 25687
          self.success = SnapdealItemDetails()
8739 vikram.rag 25688
          self.success.read(iprot)
25689
        else:
25690
          iprot.skip(ftype)
25691
      else:
25692
        iprot.skip(ftype)
25693
      iprot.readFieldEnd()
25694
    iprot.readStructEnd()
25695
 
25696
  def write(self, oprot):
25697
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25698
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25699
      return
9242 kshitij.so 25700
    oprot.writeStructBegin('getSnapdealItemDetails_result')
8739 vikram.rag 25701
    if self.success is not None:
25702
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25703
      self.success.write(oprot)
25704
      oprot.writeFieldEnd()
25705
    oprot.writeFieldStop()
25706
    oprot.writeStructEnd()
25707
 
25708
  def validate(self):
25709
    return
25710
 
25711
 
25712
  def __repr__(self):
25713
    L = ['%s=%r' % (key, value)
25714
      for key, value in self.__dict__.iteritems()]
25715
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25716
 
25717
  def __eq__(self, other):
25718
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25719
 
25720
  def __ne__(self, other):
25721
    return not (self == other)
25722
 
25723
class getAllSnapdealItems_args:
25724
 
25725
  thrift_spec = (
25726
  )
25727
 
25728
  def read(self, iprot):
25729
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25730
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25731
      return
25732
    iprot.readStructBegin()
25733
    while True:
25734
      (fname, ftype, fid) = iprot.readFieldBegin()
25735
      if ftype == TType.STOP:
25736
        break
25737
      else:
25738
        iprot.skip(ftype)
25739
      iprot.readFieldEnd()
25740
    iprot.readStructEnd()
25741
 
25742
  def write(self, oprot):
25743
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25744
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25745
      return
25746
    oprot.writeStructBegin('getAllSnapdealItems_args')
25747
    oprot.writeFieldStop()
25748
    oprot.writeStructEnd()
25749
 
25750
  def validate(self):
25751
    return
25752
 
25753
 
25754
  def __repr__(self):
25755
    L = ['%s=%r' % (key, value)
25756
      for key, value in self.__dict__.iteritems()]
25757
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25758
 
25759
  def __eq__(self, other):
25760
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25761
 
25762
  def __ne__(self, other):
25763
    return not (self == other)
25764
 
25765
class getAllSnapdealItems_result:
25766
  """
25767
  Attributes:
25768
   - success
25769
  """
25770
 
25771
  thrift_spec = (
9242 kshitij.so 25772
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
8739 vikram.rag 25773
  )
25774
 
25775
  def __init__(self, success=None,):
25776
    self.success = success
25777
 
25778
  def read(self, iprot):
25779
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25780
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25781
      return
25782
    iprot.readStructBegin()
25783
    while True:
25784
      (fname, ftype, fid) = iprot.readFieldBegin()
25785
      if ftype == TType.STOP:
25786
        break
25787
      if fid == 0:
25788
        if ftype == TType.LIST:
25789
          self.success = []
13493 amit.gupta 25790
          (_etype541, _size538) = iprot.readListBegin()
25791
          for _i542 in xrange(_size538):
25792
            _elem543 = SnapdealItemDetails()
25793
            _elem543.read(iprot)
25794
            self.success.append(_elem543)
9242 kshitij.so 25795
          iprot.readListEnd()
25796
        else:
25797
          iprot.skip(ftype)
25798
      else:
25799
        iprot.skip(ftype)
25800
      iprot.readFieldEnd()
25801
    iprot.readStructEnd()
25802
 
25803
  def write(self, oprot):
25804
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25805
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25806
      return
25807
    oprot.writeStructBegin('getAllSnapdealItems_result')
25808
    if self.success is not None:
25809
      oprot.writeFieldBegin('success', TType.LIST, 0)
25810
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25811
      for iter544 in self.success:
25812
        iter544.write(oprot)
9242 kshitij.so 25813
      oprot.writeListEnd()
25814
      oprot.writeFieldEnd()
25815
    oprot.writeFieldStop()
25816
    oprot.writeStructEnd()
25817
 
25818
  def validate(self):
25819
    return
25820
 
25821
 
25822
  def __repr__(self):
25823
    L = ['%s=%r' % (key, value)
25824
      for key, value in self.__dict__.iteritems()]
25825
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25826
 
25827
  def __eq__(self, other):
25828
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25829
 
25830
  def __ne__(self, other):
25831
    return not (self == other)
25832
 
25833
class getSnapdealItems_args:
25834
  """
25835
  Attributes:
25836
   - offset
25837
   - limit
25838
  """
25839
 
25840
  thrift_spec = (
25841
    None, # 0
25842
    (1, TType.I64, 'offset', None, None, ), # 1
25843
    (2, TType.I64, 'limit', None, None, ), # 2
25844
  )
25845
 
25846
  def __init__(self, offset=None, limit=None,):
25847
    self.offset = offset
25848
    self.limit = limit
25849
 
25850
  def read(self, iprot):
25851
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25852
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25853
      return
25854
    iprot.readStructBegin()
25855
    while True:
25856
      (fname, ftype, fid) = iprot.readFieldBegin()
25857
      if ftype == TType.STOP:
25858
        break
25859
      if fid == 1:
25860
        if ftype == TType.I64:
25861
          self.offset = iprot.readI64();
25862
        else:
25863
          iprot.skip(ftype)
25864
      elif fid == 2:
25865
        if ftype == TType.I64:
25866
          self.limit = iprot.readI64();
25867
        else:
25868
          iprot.skip(ftype)
25869
      else:
25870
        iprot.skip(ftype)
25871
      iprot.readFieldEnd()
25872
    iprot.readStructEnd()
25873
 
25874
  def write(self, oprot):
25875
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25876
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25877
      return
25878
    oprot.writeStructBegin('getSnapdealItems_args')
25879
    if self.offset is not None:
25880
      oprot.writeFieldBegin('offset', TType.I64, 1)
25881
      oprot.writeI64(self.offset)
25882
      oprot.writeFieldEnd()
25883
    if self.limit is not None:
25884
      oprot.writeFieldBegin('limit', TType.I64, 2)
25885
      oprot.writeI64(self.limit)
25886
      oprot.writeFieldEnd()
25887
    oprot.writeFieldStop()
25888
    oprot.writeStructEnd()
25889
 
25890
  def validate(self):
25891
    return
25892
 
25893
 
25894
  def __repr__(self):
25895
    L = ['%s=%r' % (key, value)
25896
      for key, value in self.__dict__.iteritems()]
25897
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25898
 
25899
  def __eq__(self, other):
25900
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25901
 
25902
  def __ne__(self, other):
25903
    return not (self == other)
25904
 
25905
class getSnapdealItems_result:
25906
  """
25907
  Attributes:
25908
   - success
25909
  """
25910
 
25911
  thrift_spec = (
25912
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
25913
  )
25914
 
25915
  def __init__(self, success=None,):
25916
    self.success = success
25917
 
25918
  def read(self, iprot):
25919
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25920
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25921
      return
25922
    iprot.readStructBegin()
25923
    while True:
25924
      (fname, ftype, fid) = iprot.readFieldBegin()
25925
      if ftype == TType.STOP:
25926
        break
25927
      if fid == 0:
25928
        if ftype == TType.LIST:
25929
          self.success = []
13493 amit.gupta 25930
          (_etype548, _size545) = iprot.readListBegin()
25931
          for _i549 in xrange(_size545):
25932
            _elem550 = SnapdealItemDetails()
25933
            _elem550.read(iprot)
25934
            self.success.append(_elem550)
8739 vikram.rag 25935
          iprot.readListEnd()
25936
        else:
25937
          iprot.skip(ftype)
25938
      else:
25939
        iprot.skip(ftype)
25940
      iprot.readFieldEnd()
25941
    iprot.readStructEnd()
25942
 
25943
  def write(self, oprot):
25944
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25945
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25946
      return
9242 kshitij.so 25947
    oprot.writeStructBegin('getSnapdealItems_result')
8739 vikram.rag 25948
    if self.success is not None:
25949
      oprot.writeFieldBegin('success', TType.LIST, 0)
25950
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 25951
      for iter551 in self.success:
25952
        iter551.write(oprot)
8739 vikram.rag 25953
      oprot.writeListEnd()
25954
      oprot.writeFieldEnd()
25955
    oprot.writeFieldStop()
25956
    oprot.writeStructEnd()
25957
 
25958
  def validate(self):
25959
    return
25960
 
25961
 
25962
  def __repr__(self):
25963
    L = ['%s=%r' % (key, value)
25964
      for key, value in self.__dict__.iteritems()]
25965
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25966
 
25967
  def __eq__(self, other):
25968
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25969
 
25970
  def __ne__(self, other):
25971
    return not (self == other)
9242 kshitij.so 25972
 
25973
class searchSnapdealItems_args:
25974
  """
25975
  Attributes:
25976
   - searchTerm
25977
   - offset
25978
   - limit
25979
  """
25980
 
25981
  thrift_spec = (
25982
    None, # 0
25983
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
25984
    (2, TType.I64, 'offset', None, None, ), # 2
25985
    (3, TType.I64, 'limit', None, None, ), # 3
25986
  )
25987
 
25988
  def __init__(self, searchTerm=None, offset=None, limit=None,):
25989
    self.searchTerm = searchTerm
25990
    self.offset = offset
25991
    self.limit = limit
25992
 
25993
  def read(self, iprot):
25994
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25995
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25996
      return
25997
    iprot.readStructBegin()
25998
    while True:
25999
      (fname, ftype, fid) = iprot.readFieldBegin()
26000
      if ftype == TType.STOP:
26001
        break
26002
      if fid == 1:
26003
        if ftype == TType.LIST:
26004
          self.searchTerm = []
13493 amit.gupta 26005
          (_etype555, _size552) = iprot.readListBegin()
26006
          for _i556 in xrange(_size552):
26007
            _elem557 = iprot.readString();
26008
            self.searchTerm.append(_elem557)
9242 kshitij.so 26009
          iprot.readListEnd()
26010
        else:
26011
          iprot.skip(ftype)
26012
      elif fid == 2:
26013
        if ftype == TType.I64:
26014
          self.offset = iprot.readI64();
26015
        else:
26016
          iprot.skip(ftype)
26017
      elif fid == 3:
26018
        if ftype == TType.I64:
26019
          self.limit = iprot.readI64();
26020
        else:
26021
          iprot.skip(ftype)
26022
      else:
26023
        iprot.skip(ftype)
26024
      iprot.readFieldEnd()
26025
    iprot.readStructEnd()
26026
 
26027
  def write(self, oprot):
26028
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26029
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26030
      return
26031
    oprot.writeStructBegin('searchSnapdealItems_args')
26032
    if self.searchTerm is not None:
26033
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
26034
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 26035
      for iter558 in self.searchTerm:
26036
        oprot.writeString(iter558)
9242 kshitij.so 26037
      oprot.writeListEnd()
26038
      oprot.writeFieldEnd()
26039
    if self.offset is not None:
26040
      oprot.writeFieldBegin('offset', TType.I64, 2)
26041
      oprot.writeI64(self.offset)
26042
      oprot.writeFieldEnd()
26043
    if self.limit is not None:
26044
      oprot.writeFieldBegin('limit', TType.I64, 3)
26045
      oprot.writeI64(self.limit)
26046
      oprot.writeFieldEnd()
26047
    oprot.writeFieldStop()
26048
    oprot.writeStructEnd()
26049
 
26050
  def validate(self):
26051
    return
26052
 
26053
 
26054
  def __repr__(self):
26055
    L = ['%s=%r' % (key, value)
26056
      for key, value in self.__dict__.iteritems()]
26057
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26058
 
26059
  def __eq__(self, other):
26060
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26061
 
26062
  def __ne__(self, other):
26063
    return not (self == other)
26064
 
26065
class searchSnapdealItems_result:
26066
  """
26067
  Attributes:
26068
   - success
26069
  """
26070
 
26071
  thrift_spec = (
26072
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
26073
  )
26074
 
26075
  def __init__(self, success=None,):
26076
    self.success = success
26077
 
26078
  def read(self, iprot):
26079
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26080
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26081
      return
26082
    iprot.readStructBegin()
26083
    while True:
26084
      (fname, ftype, fid) = iprot.readFieldBegin()
26085
      if ftype == TType.STOP:
26086
        break
26087
      if fid == 0:
26088
        if ftype == TType.LIST:
26089
          self.success = []
13493 amit.gupta 26090
          (_etype562, _size559) = iprot.readListBegin()
26091
          for _i563 in xrange(_size559):
26092
            _elem564 = SnapdealItemDetails()
26093
            _elem564.read(iprot)
26094
            self.success.append(_elem564)
9242 kshitij.so 26095
          iprot.readListEnd()
26096
        else:
26097
          iprot.skip(ftype)
26098
      else:
26099
        iprot.skip(ftype)
26100
      iprot.readFieldEnd()
26101
    iprot.readStructEnd()
26102
 
26103
  def write(self, oprot):
26104
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26105
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26106
      return
26107
    oprot.writeStructBegin('searchSnapdealItems_result')
26108
    if self.success is not None:
26109
      oprot.writeFieldBegin('success', TType.LIST, 0)
26110
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 26111
      for iter565 in self.success:
26112
        iter565.write(oprot)
9242 kshitij.so 26113
      oprot.writeListEnd()
26114
      oprot.writeFieldEnd()
26115
    oprot.writeFieldStop()
26116
    oprot.writeStructEnd()
26117
 
26118
  def validate(self):
26119
    return
26120
 
26121
 
26122
  def __repr__(self):
26123
    L = ['%s=%r' % (key, value)
26124
      for key, value in self.__dict__.iteritems()]
26125
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26126
 
26127
  def __eq__(self, other):
26128
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26129
 
26130
  def __ne__(self, other):
26131
    return not (self == other)
26132
 
26133
class getCountForSnapdealItems_args:
26134
 
26135
  thrift_spec = (
26136
  )
26137
 
26138
  def read(self, iprot):
26139
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26140
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26141
      return
26142
    iprot.readStructBegin()
26143
    while True:
26144
      (fname, ftype, fid) = iprot.readFieldBegin()
26145
      if ftype == TType.STOP:
26146
        break
26147
      else:
26148
        iprot.skip(ftype)
26149
      iprot.readFieldEnd()
26150
    iprot.readStructEnd()
26151
 
26152
  def write(self, oprot):
26153
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26154
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26155
      return
26156
    oprot.writeStructBegin('getCountForSnapdealItems_args')
26157
    oprot.writeFieldStop()
26158
    oprot.writeStructEnd()
26159
 
26160
  def validate(self):
26161
    return
26162
 
26163
 
26164
  def __repr__(self):
26165
    L = ['%s=%r' % (key, value)
26166
      for key, value in self.__dict__.iteritems()]
26167
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26168
 
26169
  def __eq__(self, other):
26170
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26171
 
26172
  def __ne__(self, other):
26173
    return not (self == other)
26174
 
26175
class getCountForSnapdealItems_result:
26176
  """
26177
  Attributes:
26178
   - success
26179
  """
26180
 
26181
  thrift_spec = (
26182
    (0, TType.I64, 'success', None, None, ), # 0
26183
  )
26184
 
26185
  def __init__(self, success=None,):
26186
    self.success = success
26187
 
26188
  def read(self, iprot):
26189
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26190
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26191
      return
26192
    iprot.readStructBegin()
26193
    while True:
26194
      (fname, ftype, fid) = iprot.readFieldBegin()
26195
      if ftype == TType.STOP:
26196
        break
26197
      if fid == 0:
26198
        if ftype == TType.I64:
26199
          self.success = iprot.readI64();
26200
        else:
26201
          iprot.skip(ftype)
26202
      else:
26203
        iprot.skip(ftype)
26204
      iprot.readFieldEnd()
26205
    iprot.readStructEnd()
26206
 
26207
  def write(self, oprot):
26208
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26209
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26210
      return
26211
    oprot.writeStructBegin('getCountForSnapdealItems_result')
26212
    if self.success is not None:
26213
      oprot.writeFieldBegin('success', TType.I64, 0)
26214
      oprot.writeI64(self.success)
26215
      oprot.writeFieldEnd()
26216
    oprot.writeFieldStop()
26217
    oprot.writeStructEnd()
26218
 
26219
  def validate(self):
26220
    return
26221
 
26222
 
26223
  def __repr__(self):
26224
    L = ['%s=%r' % (key, value)
26225
      for key, value in self.__dict__.iteritems()]
26226
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26227
 
26228
  def __eq__(self, other):
26229
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26230
 
26231
  def __ne__(self, other):
26232
    return not (self == other)
26233
 
26234
class getSnapdealSearchResultCount_args:
26235
  """
26236
  Attributes:
26237
   - searchTerm
26238
  """
26239
 
26240
  thrift_spec = (
26241
    None, # 0
26242
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
26243
  )
26244
 
26245
  def __init__(self, searchTerm=None,):
26246
    self.searchTerm = searchTerm
26247
 
26248
  def read(self, iprot):
26249
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26250
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26251
      return
26252
    iprot.readStructBegin()
26253
    while True:
26254
      (fname, ftype, fid) = iprot.readFieldBegin()
26255
      if ftype == TType.STOP:
26256
        break
26257
      if fid == 1:
26258
        if ftype == TType.LIST:
26259
          self.searchTerm = []
13493 amit.gupta 26260
          (_etype569, _size566) = iprot.readListBegin()
26261
          for _i570 in xrange(_size566):
26262
            _elem571 = iprot.readString();
26263
            self.searchTerm.append(_elem571)
9242 kshitij.so 26264
          iprot.readListEnd()
26265
        else:
26266
          iprot.skip(ftype)
26267
      else:
26268
        iprot.skip(ftype)
26269
      iprot.readFieldEnd()
26270
    iprot.readStructEnd()
26271
 
26272
  def write(self, oprot):
26273
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26274
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26275
      return
26276
    oprot.writeStructBegin('getSnapdealSearchResultCount_args')
26277
    if self.searchTerm is not None:
26278
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
26279
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 26280
      for iter572 in self.searchTerm:
26281
        oprot.writeString(iter572)
9242 kshitij.so 26282
      oprot.writeListEnd()
26283
      oprot.writeFieldEnd()
26284
    oprot.writeFieldStop()
26285
    oprot.writeStructEnd()
26286
 
26287
  def validate(self):
26288
    return
26289
 
26290
 
26291
  def __repr__(self):
26292
    L = ['%s=%r' % (key, value)
26293
      for key, value in self.__dict__.iteritems()]
26294
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26295
 
26296
  def __eq__(self, other):
26297
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26298
 
26299
  def __ne__(self, other):
26300
    return not (self == other)
26301
 
26302
class getSnapdealSearchResultCount_result:
26303
  """
26304
  Attributes:
26305
   - success
26306
  """
26307
 
26308
  thrift_spec = (
26309
    (0, TType.I64, 'success', None, None, ), # 0
26310
  )
26311
 
26312
  def __init__(self, success=None,):
26313
    self.success = success
26314
 
26315
  def read(self, iprot):
26316
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26317
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26318
      return
26319
    iprot.readStructBegin()
26320
    while True:
26321
      (fname, ftype, fid) = iprot.readFieldBegin()
26322
      if ftype == TType.STOP:
26323
        break
26324
      if fid == 0:
26325
        if ftype == TType.I64:
26326
          self.success = iprot.readI64();
26327
        else:
26328
          iprot.skip(ftype)
26329
      else:
26330
        iprot.skip(ftype)
26331
      iprot.readFieldEnd()
26332
    iprot.readStructEnd()
26333
 
26334
  def write(self, oprot):
26335
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26336
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26337
      return
26338
    oprot.writeStructBegin('getSnapdealSearchResultCount_result')
26339
    if self.success is not None:
26340
      oprot.writeFieldBegin('success', TType.I64, 0)
26341
      oprot.writeI64(self.success)
26342
      oprot.writeFieldEnd()
26343
    oprot.writeFieldStop()
26344
    oprot.writeStructEnd()
26345
 
26346
  def validate(self):
26347
    return
26348
 
26349
 
26350
  def __repr__(self):
26351
    L = ['%s=%r' % (key, value)
26352
      for key, value in self.__dict__.iteritems()]
26353
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26354
 
26355
  def __eq__(self, other):
26356
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26357
 
26358
  def __ne__(self, other):
26359
    return not (self == other)
9299 kshitij.so 26360
 
26361
class getPrefferedInsurerForItem_args:
26362
  """
26363
  Attributes:
26364
   - itemId
26365
   - insurerType
26366
  """
26367
 
26368
  thrift_spec = (
26369
    None, # 0
26370
    (1, TType.I64, 'itemId', None, None, ), # 1
26371
    (2, TType.I32, 'insurerType', None, None, ), # 2
26372
  )
26373
 
26374
  def __init__(self, itemId=None, insurerType=None,):
26375
    self.itemId = itemId
26376
    self.insurerType = insurerType
26377
 
26378
  def read(self, iprot):
26379
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26380
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26381
      return
26382
    iprot.readStructBegin()
26383
    while True:
26384
      (fname, ftype, fid) = iprot.readFieldBegin()
26385
      if ftype == TType.STOP:
26386
        break
26387
      if fid == 1:
26388
        if ftype == TType.I64:
26389
          self.itemId = iprot.readI64();
26390
        else:
26391
          iprot.skip(ftype)
26392
      elif fid == 2:
26393
        if ftype == TType.I32:
26394
          self.insurerType = iprot.readI32();
26395
        else:
26396
          iprot.skip(ftype)
26397
      else:
26398
        iprot.skip(ftype)
26399
      iprot.readFieldEnd()
26400
    iprot.readStructEnd()
26401
 
26402
  def write(self, oprot):
26403
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26404
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26405
      return
26406
    oprot.writeStructBegin('getPrefferedInsurerForItem_args')
26407
    if self.itemId is not None:
26408
      oprot.writeFieldBegin('itemId', TType.I64, 1)
26409
      oprot.writeI64(self.itemId)
26410
      oprot.writeFieldEnd()
26411
    if self.insurerType is not None:
26412
      oprot.writeFieldBegin('insurerType', TType.I32, 2)
26413
      oprot.writeI32(self.insurerType)
26414
      oprot.writeFieldEnd()
26415
    oprot.writeFieldStop()
26416
    oprot.writeStructEnd()
26417
 
26418
  def validate(self):
26419
    return
26420
 
26421
 
26422
  def __repr__(self):
26423
    L = ['%s=%r' % (key, value)
26424
      for key, value in self.__dict__.iteritems()]
26425
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26426
 
26427
  def __eq__(self, other):
26428
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26429
 
26430
  def __ne__(self, other):
26431
    return not (self == other)
26432
 
26433
class getPrefferedInsurerForItem_result:
26434
  """
26435
  Attributes:
26436
   - success
26437
  """
26438
 
26439
  thrift_spec = (
26440
    (0, TType.I64, 'success', None, None, ), # 0
26441
  )
26442
 
26443
  def __init__(self, success=None,):
26444
    self.success = success
26445
 
26446
  def read(self, iprot):
26447
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26448
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26449
      return
26450
    iprot.readStructBegin()
26451
    while True:
26452
      (fname, ftype, fid) = iprot.readFieldBegin()
26453
      if ftype == TType.STOP:
26454
        break
26455
      if fid == 0:
26456
        if ftype == TType.I64:
26457
          self.success = iprot.readI64();
26458
        else:
26459
          iprot.skip(ftype)
26460
      else:
26461
        iprot.skip(ftype)
26462
      iprot.readFieldEnd()
26463
    iprot.readStructEnd()
26464
 
26465
  def write(self, oprot):
26466
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26467
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26468
      return
26469
    oprot.writeStructBegin('getPrefferedInsurerForItem_result')
26470
    if self.success is not None:
26471
      oprot.writeFieldBegin('success', TType.I64, 0)
26472
      oprot.writeI64(self.success)
26473
      oprot.writeFieldEnd()
26474
    oprot.writeFieldStop()
26475
    oprot.writeStructEnd()
26476
 
26477
  def validate(self):
26478
    return
26479
 
26480
 
26481
  def __repr__(self):
26482
    L = ['%s=%r' % (key, value)
26483
      for key, value in self.__dict__.iteritems()]
26484
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26485
 
26486
  def __eq__(self, other):
26487
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26488
 
26489
  def __ne__(self, other):
26490
    return not (self == other)
9456 vikram.rag 26491
 
26492
class getSnapdealItembySkuAtSnapdeal_args:
26493
  """
26494
  Attributes:
26495
   - skuAtSnapdeal
26496
  """
26497
 
26498
  thrift_spec = None
26499
  def __init__(self, skuAtSnapdeal=None,):
26500
    self.skuAtSnapdeal = skuAtSnapdeal
26501
 
26502
  def read(self, iprot):
26503
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26504
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26505
      return
26506
    iprot.readStructBegin()
26507
    while True:
26508
      (fname, ftype, fid) = iprot.readFieldBegin()
26509
      if ftype == TType.STOP:
26510
        break
26511
      if fid == -1:
26512
        if ftype == TType.STRING:
26513
          self.skuAtSnapdeal = iprot.readString();
26514
        else:
26515
          iprot.skip(ftype)
26516
      else:
26517
        iprot.skip(ftype)
26518
      iprot.readFieldEnd()
26519
    iprot.readStructEnd()
26520
 
26521
  def write(self, oprot):
26522
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26523
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26524
      return
26525
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_args')
26526
    if self.skuAtSnapdeal is not None:
26527
      oprot.writeFieldBegin('skuAtSnapdeal', TType.STRING, -1)
26528
      oprot.writeString(self.skuAtSnapdeal)
26529
      oprot.writeFieldEnd()
26530
    oprot.writeFieldStop()
26531
    oprot.writeStructEnd()
26532
 
26533
  def validate(self):
26534
    return
26535
 
26536
 
26537
  def __repr__(self):
26538
    L = ['%s=%r' % (key, value)
26539
      for key, value in self.__dict__.iteritems()]
26540
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26541
 
26542
  def __eq__(self, other):
26543
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26544
 
26545
  def __ne__(self, other):
26546
    return not (self == other)
26547
 
26548
class getSnapdealItembySkuAtSnapdeal_result:
26549
  """
26550
  Attributes:
26551
   - success
26552
  """
26553
 
26554
  thrift_spec = (
26555
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
26556
  )
26557
 
26558
  def __init__(self, success=None,):
26559
    self.success = success
26560
 
26561
  def read(self, iprot):
26562
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26563
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26564
      return
26565
    iprot.readStructBegin()
26566
    while True:
26567
      (fname, ftype, fid) = iprot.readFieldBegin()
26568
      if ftype == TType.STOP:
26569
        break
26570
      if fid == 0:
26571
        if ftype == TType.STRUCT:
26572
          self.success = SnapdealItem()
26573
          self.success.read(iprot)
26574
        else:
26575
          iprot.skip(ftype)
26576
      else:
26577
        iprot.skip(ftype)
26578
      iprot.readFieldEnd()
26579
    iprot.readStructEnd()
26580
 
26581
  def write(self, oprot):
26582
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26583
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26584
      return
26585
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_result')
26586
    if self.success is not None:
26587
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26588
      self.success.write(oprot)
26589
      oprot.writeFieldEnd()
26590
    oprot.writeFieldStop()
26591
    oprot.writeStructEnd()
26592
 
26593
  def validate(self):
26594
    return
26595
 
26596
 
26597
  def __repr__(self):
26598
    L = ['%s=%r' % (key, value)
26599
      for key, value in self.__dict__.iteritems()]
26600
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26601
 
26602
  def __eq__(self, other):
26603
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26604
 
26605
  def __ne__(self, other):
26606
    return not (self == other)
9621 manish.sha 26607
 
26608
class getProductFeedSubmit_args:
26609
  """
26610
  Attributes:
26611
   - catalogItemId
26612
  """
26613
 
26614
  thrift_spec = (
26615
    None, # 0
26616
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
26617
  )
26618
 
26619
  def __init__(self, catalogItemId=None,):
26620
    self.catalogItemId = catalogItemId
26621
 
26622
  def read(self, iprot):
26623
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26624
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26625
      return
26626
    iprot.readStructBegin()
26627
    while True:
26628
      (fname, ftype, fid) = iprot.readFieldBegin()
26629
      if ftype == TType.STOP:
26630
        break
26631
      if fid == 1:
26632
        if ftype == TType.I64:
26633
          self.catalogItemId = iprot.readI64();
26634
        else:
26635
          iprot.skip(ftype)
26636
      else:
26637
        iprot.skip(ftype)
26638
      iprot.readFieldEnd()
26639
    iprot.readStructEnd()
26640
 
26641
  def write(self, oprot):
26642
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26643
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26644
      return
26645
    oprot.writeStructBegin('getProductFeedSubmit_args')
26646
    if self.catalogItemId is not None:
26647
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
26648
      oprot.writeI64(self.catalogItemId)
26649
      oprot.writeFieldEnd()
26650
    oprot.writeFieldStop()
26651
    oprot.writeStructEnd()
26652
 
26653
  def validate(self):
26654
    return
26655
 
26656
 
26657
  def __repr__(self):
26658
    L = ['%s=%r' % (key, value)
26659
      for key, value in self.__dict__.iteritems()]
26660
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26661
 
26662
  def __eq__(self, other):
26663
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26664
 
26665
  def __ne__(self, other):
26666
    return not (self == other)
26667
 
26668
class getProductFeedSubmit_result:
26669
  """
26670
  Attributes:
26671
   - success
26672
   - cex
26673
  """
26674
 
26675
  thrift_spec = (
26676
    (0, TType.STRUCT, 'success', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 0
26677
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26678
  )
26679
 
26680
  def __init__(self, success=None, cex=None,):
26681
    self.success = success
26682
    self.cex = cex
26683
 
26684
  def read(self, iprot):
26685
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26686
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26687
      return
26688
    iprot.readStructBegin()
26689
    while True:
26690
      (fname, ftype, fid) = iprot.readFieldBegin()
26691
      if ftype == TType.STOP:
26692
        break
26693
      if fid == 0:
26694
        if ftype == TType.STRUCT:
26695
          self.success = ProductFeedSubmit()
26696
          self.success.read(iprot)
26697
        else:
26698
          iprot.skip(ftype)
26699
      elif fid == 1:
26700
        if ftype == TType.STRUCT:
26701
          self.cex = CatalogServiceException()
26702
          self.cex.read(iprot)
26703
        else:
26704
          iprot.skip(ftype)
26705
      else:
26706
        iprot.skip(ftype)
26707
      iprot.readFieldEnd()
26708
    iprot.readStructEnd()
26709
 
26710
  def write(self, oprot):
26711
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26712
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26713
      return
26714
    oprot.writeStructBegin('getProductFeedSubmit_result')
26715
    if self.success is not None:
26716
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26717
      self.success.write(oprot)
26718
      oprot.writeFieldEnd()
26719
    if self.cex is not None:
26720
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26721
      self.cex.write(oprot)
26722
      oprot.writeFieldEnd()
26723
    oprot.writeFieldStop()
26724
    oprot.writeStructEnd()
26725
 
26726
  def validate(self):
26727
    return
26728
 
26729
 
26730
  def __repr__(self):
26731
    L = ['%s=%r' % (key, value)
26732
      for key, value in self.__dict__.iteritems()]
26733
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26734
 
26735
  def __eq__(self, other):
26736
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26737
 
26738
  def __ne__(self, other):
26739
    return not (self == other)
26740
 
26741
class addProductFeedSubmit_args:
26742
  """
26743
  Attributes:
26744
   - productFeedSubmit
26745
  """
26746
 
26747
  thrift_spec = (
26748
    None, # 0
26749
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
26750
  )
26751
 
26752
  def __init__(self, productFeedSubmit=None,):
26753
    self.productFeedSubmit = productFeedSubmit
26754
 
26755
  def read(self, iprot):
26756
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26757
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26758
      return
26759
    iprot.readStructBegin()
26760
    while True:
26761
      (fname, ftype, fid) = iprot.readFieldBegin()
26762
      if ftype == TType.STOP:
26763
        break
26764
      if fid == 1:
26765
        if ftype == TType.STRUCT:
26766
          self.productFeedSubmit = ProductFeedSubmit()
26767
          self.productFeedSubmit.read(iprot)
26768
        else:
26769
          iprot.skip(ftype)
26770
      else:
26771
        iprot.skip(ftype)
26772
      iprot.readFieldEnd()
26773
    iprot.readStructEnd()
26774
 
26775
  def write(self, oprot):
26776
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26777
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26778
      return
26779
    oprot.writeStructBegin('addProductFeedSubmit_args')
26780
    if self.productFeedSubmit is not None:
26781
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
26782
      self.productFeedSubmit.write(oprot)
26783
      oprot.writeFieldEnd()
26784
    oprot.writeFieldStop()
26785
    oprot.writeStructEnd()
26786
 
26787
  def validate(self):
26788
    return
26789
 
26790
 
26791
  def __repr__(self):
26792
    L = ['%s=%r' % (key, value)
26793
      for key, value in self.__dict__.iteritems()]
26794
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26795
 
26796
  def __eq__(self, other):
26797
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26798
 
26799
  def __ne__(self, other):
26800
    return not (self == other)
26801
 
26802
class addProductFeedSubmit_result:
26803
  """
26804
  Attributes:
26805
   - success
26806
   - cex
26807
  """
26808
 
26809
  thrift_spec = (
26810
    (0, TType.BOOL, 'success', None, None, ), # 0
26811
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26812
  )
26813
 
26814
  def __init__(self, success=None, cex=None,):
26815
    self.success = success
26816
    self.cex = cex
26817
 
26818
  def read(self, iprot):
26819
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26820
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26821
      return
26822
    iprot.readStructBegin()
26823
    while True:
26824
      (fname, ftype, fid) = iprot.readFieldBegin()
26825
      if ftype == TType.STOP:
26826
        break
26827
      if fid == 0:
26828
        if ftype == TType.BOOL:
26829
          self.success = iprot.readBool();
26830
        else:
26831
          iprot.skip(ftype)
26832
      elif fid == 1:
26833
        if ftype == TType.STRUCT:
26834
          self.cex = CatalogServiceException()
26835
          self.cex.read(iprot)
26836
        else:
26837
          iprot.skip(ftype)
26838
      else:
26839
        iprot.skip(ftype)
26840
      iprot.readFieldEnd()
26841
    iprot.readStructEnd()
26842
 
26843
  def write(self, oprot):
26844
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26845
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26846
      return
26847
    oprot.writeStructBegin('addProductFeedSubmit_result')
26848
    if self.success is not None:
26849
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26850
      oprot.writeBool(self.success)
26851
      oprot.writeFieldEnd()
26852
    if self.cex is not None:
26853
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26854
      self.cex.write(oprot)
26855
      oprot.writeFieldEnd()
26856
    oprot.writeFieldStop()
26857
    oprot.writeStructEnd()
26858
 
26859
  def validate(self):
26860
    return
26861
 
26862
 
26863
  def __repr__(self):
26864
    L = ['%s=%r' % (key, value)
26865
      for key, value in self.__dict__.iteritems()]
26866
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26867
 
26868
  def __eq__(self, other):
26869
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26870
 
26871
  def __ne__(self, other):
26872
    return not (self == other)
26873
 
26874
class updateProductFeedSubmit_args:
26875
  """
26876
  Attributes:
26877
   - productFeedSubmit
26878
  """
26879
 
26880
  thrift_spec = (
26881
    None, # 0
26882
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
26883
  )
26884
 
26885
  def __init__(self, productFeedSubmit=None,):
26886
    self.productFeedSubmit = productFeedSubmit
26887
 
26888
  def read(self, iprot):
26889
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26890
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26891
      return
26892
    iprot.readStructBegin()
26893
    while True:
26894
      (fname, ftype, fid) = iprot.readFieldBegin()
26895
      if ftype == TType.STOP:
26896
        break
26897
      if fid == 1:
26898
        if ftype == TType.STRUCT:
26899
          self.productFeedSubmit = ProductFeedSubmit()
26900
          self.productFeedSubmit.read(iprot)
26901
        else:
26902
          iprot.skip(ftype)
26903
      else:
26904
        iprot.skip(ftype)
26905
      iprot.readFieldEnd()
26906
    iprot.readStructEnd()
26907
 
26908
  def write(self, oprot):
26909
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26910
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26911
      return
26912
    oprot.writeStructBegin('updateProductFeedSubmit_args')
26913
    if self.productFeedSubmit is not None:
26914
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
26915
      self.productFeedSubmit.write(oprot)
26916
      oprot.writeFieldEnd()
26917
    oprot.writeFieldStop()
26918
    oprot.writeStructEnd()
26919
 
26920
  def validate(self):
26921
    return
26922
 
26923
 
26924
  def __repr__(self):
26925
    L = ['%s=%r' % (key, value)
26926
      for key, value in self.__dict__.iteritems()]
26927
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26928
 
26929
  def __eq__(self, other):
26930
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26931
 
26932
  def __ne__(self, other):
26933
    return not (self == other)
26934
 
26935
class updateProductFeedSubmit_result:
26936
  """
26937
  Attributes:
26938
   - success
26939
   - cex
26940
  """
26941
 
26942
  thrift_spec = (
26943
    (0, TType.BOOL, 'success', None, None, ), # 0
26944
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26945
  )
26946
 
26947
  def __init__(self, success=None, cex=None,):
26948
    self.success = success
26949
    self.cex = cex
26950
 
26951
  def read(self, iprot):
26952
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26953
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26954
      return
26955
    iprot.readStructBegin()
26956
    while True:
26957
      (fname, ftype, fid) = iprot.readFieldBegin()
26958
      if ftype == TType.STOP:
26959
        break
26960
      if fid == 0:
26961
        if ftype == TType.BOOL:
26962
          self.success = iprot.readBool();
26963
        else:
26964
          iprot.skip(ftype)
26965
      elif fid == 1:
26966
        if ftype == TType.STRUCT:
26967
          self.cex = CatalogServiceException()
26968
          self.cex.read(iprot)
26969
        else:
26970
          iprot.skip(ftype)
26971
      else:
26972
        iprot.skip(ftype)
26973
      iprot.readFieldEnd()
26974
    iprot.readStructEnd()
26975
 
26976
  def write(self, oprot):
26977
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26978
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26979
      return
26980
    oprot.writeStructBegin('updateProductFeedSubmit_result')
26981
    if self.success is not None:
26982
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26983
      oprot.writeBool(self.success)
26984
      oprot.writeFieldEnd()
26985
    if self.cex is not None:
26986
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26987
      self.cex.write(oprot)
26988
      oprot.writeFieldEnd()
26989
    oprot.writeFieldStop()
26990
    oprot.writeStructEnd()
26991
 
26992
  def validate(self):
26993
    return
26994
 
26995
 
26996
  def __repr__(self):
26997
    L = ['%s=%r' % (key, value)
26998
      for key, value in self.__dict__.iteritems()]
26999
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27000
 
27001
  def __eq__(self, other):
27002
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27003
 
27004
  def __ne__(self, other):
27005
    return not (self == other)
27006
 
27007
class deleteProductFeedSubmit_args:
27008
  """
27009
  Attributes:
27010
   - catalogItemId
27011
  """
27012
 
27013
  thrift_spec = (
27014
    None, # 0
27015
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
27016
  )
27017
 
27018
  def __init__(self, catalogItemId=None,):
27019
    self.catalogItemId = catalogItemId
27020
 
27021
  def read(self, iprot):
27022
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27023
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27024
      return
27025
    iprot.readStructBegin()
27026
    while True:
27027
      (fname, ftype, fid) = iprot.readFieldBegin()
27028
      if ftype == TType.STOP:
27029
        break
27030
      if fid == 1:
27031
        if ftype == TType.I64:
27032
          self.catalogItemId = iprot.readI64();
27033
        else:
27034
          iprot.skip(ftype)
27035
      else:
27036
        iprot.skip(ftype)
27037
      iprot.readFieldEnd()
27038
    iprot.readStructEnd()
27039
 
27040
  def write(self, oprot):
27041
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27042
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27043
      return
27044
    oprot.writeStructBegin('deleteProductFeedSubmit_args')
27045
    if self.catalogItemId is not None:
27046
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
27047
      oprot.writeI64(self.catalogItemId)
27048
      oprot.writeFieldEnd()
27049
    oprot.writeFieldStop()
27050
    oprot.writeStructEnd()
27051
 
27052
  def validate(self):
27053
    return
27054
 
27055
 
27056
  def __repr__(self):
27057
    L = ['%s=%r' % (key, value)
27058
      for key, value in self.__dict__.iteritems()]
27059
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27060
 
27061
  def __eq__(self, other):
27062
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27063
 
27064
  def __ne__(self, other):
27065
    return not (self == other)
27066
 
27067
class deleteProductFeedSubmit_result:
27068
  """
27069
  Attributes:
27070
   - success
27071
   - cex
27072
  """
27073
 
27074
  thrift_spec = (
27075
    (0, TType.BOOL, 'success', None, None, ), # 0
27076
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27077
  )
27078
 
27079
  def __init__(self, success=None, cex=None,):
27080
    self.success = success
27081
    self.cex = cex
27082
 
27083
  def read(self, iprot):
27084
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27085
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27086
      return
27087
    iprot.readStructBegin()
27088
    while True:
27089
      (fname, ftype, fid) = iprot.readFieldBegin()
27090
      if ftype == TType.STOP:
27091
        break
27092
      if fid == 0:
27093
        if ftype == TType.BOOL:
27094
          self.success = iprot.readBool();
27095
        else:
27096
          iprot.skip(ftype)
27097
      elif fid == 1:
27098
        if ftype == TType.STRUCT:
27099
          self.cex = CatalogServiceException()
27100
          self.cex.read(iprot)
27101
        else:
27102
          iprot.skip(ftype)
27103
      else:
27104
        iprot.skip(ftype)
27105
      iprot.readFieldEnd()
27106
    iprot.readStructEnd()
27107
 
27108
  def write(self, oprot):
27109
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27110
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27111
      return
27112
    oprot.writeStructBegin('deleteProductFeedSubmit_result')
27113
    if self.success is not None:
27114
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27115
      oprot.writeBool(self.success)
27116
      oprot.writeFieldEnd()
27117
    if self.cex is not None:
27118
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27119
      self.cex.write(oprot)
27120
      oprot.writeFieldEnd()
27121
    oprot.writeFieldStop()
27122
    oprot.writeStructEnd()
27123
 
27124
  def validate(self):
27125
    return
27126
 
27127
 
27128
  def __repr__(self):
27129
    L = ['%s=%r' % (key, value)
27130
      for key, value in self.__dict__.iteritems()]
27131
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27132
 
27133
  def __eq__(self, other):
27134
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27135
 
27136
  def __ne__(self, other):
27137
    return not (self == other)
27138
 
27139
class getAllProductFeedSubmit_args:
27140
 
27141
  thrift_spec = (
27142
  )
27143
 
27144
  def read(self, iprot):
27145
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27146
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27147
      return
27148
    iprot.readStructBegin()
27149
    while True:
27150
      (fname, ftype, fid) = iprot.readFieldBegin()
27151
      if ftype == TType.STOP:
27152
        break
27153
      else:
27154
        iprot.skip(ftype)
27155
      iprot.readFieldEnd()
27156
    iprot.readStructEnd()
27157
 
27158
  def write(self, oprot):
27159
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27160
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27161
      return
27162
    oprot.writeStructBegin('getAllProductFeedSubmit_args')
27163
    oprot.writeFieldStop()
27164
    oprot.writeStructEnd()
27165
 
27166
  def validate(self):
27167
    return
27168
 
27169
 
27170
  def __repr__(self):
27171
    L = ['%s=%r' % (key, value)
27172
      for key, value in self.__dict__.iteritems()]
27173
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27174
 
27175
  def __eq__(self, other):
27176
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27177
 
27178
  def __ne__(self, other):
27179
    return not (self == other)
27180
 
27181
class getAllProductFeedSubmit_result:
27182
  """
27183
  Attributes:
27184
   - success
27185
   - cex
27186
  """
27187
 
27188
  thrift_spec = (
27189
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductFeedSubmit, ProductFeedSubmit.thrift_spec)), None, ), # 0
27190
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
27191
  )
27192
 
27193
  def __init__(self, success=None, cex=None,):
27194
    self.success = success
27195
    self.cex = cex
27196
 
27197
  def read(self, iprot):
27198
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27199
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27200
      return
27201
    iprot.readStructBegin()
27202
    while True:
27203
      (fname, ftype, fid) = iprot.readFieldBegin()
27204
      if ftype == TType.STOP:
27205
        break
27206
      if fid == 0:
27207
        if ftype == TType.LIST:
27208
          self.success = []
13493 amit.gupta 27209
          (_etype576, _size573) = iprot.readListBegin()
27210
          for _i577 in xrange(_size573):
27211
            _elem578 = ProductFeedSubmit()
27212
            _elem578.read(iprot)
27213
            self.success.append(_elem578)
9621 manish.sha 27214
          iprot.readListEnd()
27215
        else:
27216
          iprot.skip(ftype)
27217
      elif fid == 1:
27218
        if ftype == TType.STRUCT:
27219
          self.cex = CatalogServiceException()
27220
          self.cex.read(iprot)
27221
        else:
27222
          iprot.skip(ftype)
27223
      else:
27224
        iprot.skip(ftype)
27225
      iprot.readFieldEnd()
27226
    iprot.readStructEnd()
27227
 
27228
  def write(self, oprot):
27229
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27230
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27231
      return
27232
    oprot.writeStructBegin('getAllProductFeedSubmit_result')
27233
    if self.success is not None:
27234
      oprot.writeFieldBegin('success', TType.LIST, 0)
27235
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 27236
      for iter579 in self.success:
27237
        iter579.write(oprot)
9621 manish.sha 27238
      oprot.writeListEnd()
27239
      oprot.writeFieldEnd()
27240
    if self.cex is not None:
27241
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
27242
      self.cex.write(oprot)
27243
      oprot.writeFieldEnd()
27244
    oprot.writeFieldStop()
27245
    oprot.writeStructEnd()
27246
 
27247
  def validate(self):
27248
    return
27249
 
27250
 
27251
  def __repr__(self):
27252
    L = ['%s=%r' % (key, value)
27253
      for key, value in self.__dict__.iteritems()]
27254
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27255
 
27256
  def __eq__(self, other):
27257
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27258
 
27259
  def __ne__(self, other):
27260
    return not (self == other)
9724 kshitij.so 27261
 
27262
class getMarketplacedetailsForItem_args:
27263
  """
27264
  Attributes:
27265
   - itemId
27266
   - sourceId
27267
  """
27268
 
27269
  thrift_spec = (
27270
    None, # 0
27271
    (1, TType.I64, 'itemId', None, None, ), # 1
27272
    (2, TType.I64, 'sourceId', None, None, ), # 2
27273
  )
27274
 
27275
  def __init__(self, itemId=None, sourceId=None,):
27276
    self.itemId = itemId
27277
    self.sourceId = sourceId
27278
 
27279
  def read(self, iprot):
27280
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27281
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27282
      return
27283
    iprot.readStructBegin()
27284
    while True:
27285
      (fname, ftype, fid) = iprot.readFieldBegin()
27286
      if ftype == TType.STOP:
27287
        break
27288
      if fid == 1:
27289
        if ftype == TType.I64:
27290
          self.itemId = iprot.readI64();
27291
        else:
27292
          iprot.skip(ftype)
27293
      elif fid == 2:
27294
        if ftype == TType.I64:
27295
          self.sourceId = iprot.readI64();
27296
        else:
27297
          iprot.skip(ftype)
27298
      else:
27299
        iprot.skip(ftype)
27300
      iprot.readFieldEnd()
27301
    iprot.readStructEnd()
27302
 
27303
  def write(self, oprot):
27304
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27305
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27306
      return
27307
    oprot.writeStructBegin('getMarketplacedetailsForItem_args')
27308
    if self.itemId is not None:
27309
      oprot.writeFieldBegin('itemId', TType.I64, 1)
27310
      oprot.writeI64(self.itemId)
27311
      oprot.writeFieldEnd()
27312
    if self.sourceId is not None:
27313
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
27314
      oprot.writeI64(self.sourceId)
27315
      oprot.writeFieldEnd()
27316
    oprot.writeFieldStop()
27317
    oprot.writeStructEnd()
27318
 
27319
  def validate(self):
27320
    return
27321
 
27322
 
27323
  def __repr__(self):
27324
    L = ['%s=%r' % (key, value)
27325
      for key, value in self.__dict__.iteritems()]
27326
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27327
 
27328
  def __eq__(self, other):
27329
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27330
 
27331
  def __ne__(self, other):
27332
    return not (self == other)
27333
 
27334
class getMarketplacedetailsForItem_result:
27335
  """
27336
  Attributes:
27337
   - success
27338
  """
27339
 
27340
  thrift_spec = (
27341
    (0, TType.STRUCT, 'success', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 0
27342
  )
27343
 
27344
  def __init__(self, success=None,):
27345
    self.success = success
27346
 
27347
  def read(self, iprot):
27348
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27349
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27350
      return
27351
    iprot.readStructBegin()
27352
    while True:
27353
      (fname, ftype, fid) = iprot.readFieldBegin()
27354
      if ftype == TType.STOP:
27355
        break
27356
      if fid == 0:
27357
        if ftype == TType.STRUCT:
27358
          self.success = MarketplaceItems()
27359
          self.success.read(iprot)
27360
        else:
27361
          iprot.skip(ftype)
27362
      else:
27363
        iprot.skip(ftype)
27364
      iprot.readFieldEnd()
27365
    iprot.readStructEnd()
27366
 
27367
  def write(self, oprot):
27368
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27369
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27370
      return
27371
    oprot.writeStructBegin('getMarketplacedetailsForItem_result')
27372
    if self.success is not None:
27373
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27374
      self.success.write(oprot)
27375
      oprot.writeFieldEnd()
27376
    oprot.writeFieldStop()
27377
    oprot.writeStructEnd()
27378
 
27379
  def validate(self):
27380
    return
27381
 
27382
 
27383
  def __repr__(self):
27384
    L = ['%s=%r' % (key, value)
27385
      for key, value in self.__dict__.iteritems()]
27386
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27387
 
27388
  def __eq__(self, other):
27389
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27390
 
27391
  def __ne__(self, other):
27392
    return not (self == other)
27393
 
27394
class updateMarketplaceAttributesForItem_args:
27395
  """
27396
  Attributes:
27397
   - marketPlaceItem
27398
  """
27399
 
27400
  thrift_spec = (
27401
    None, # 0
27402
    (1, TType.STRUCT, 'marketPlaceItem', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 1
27403
  )
27404
 
27405
  def __init__(self, marketPlaceItem=None,):
27406
    self.marketPlaceItem = marketPlaceItem
27407
 
27408
  def read(self, iprot):
27409
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27410
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27411
      return
27412
    iprot.readStructBegin()
27413
    while True:
27414
      (fname, ftype, fid) = iprot.readFieldBegin()
27415
      if ftype == TType.STOP:
27416
        break
27417
      if fid == 1:
27418
        if ftype == TType.STRUCT:
27419
          self.marketPlaceItem = MarketplaceItems()
27420
          self.marketPlaceItem.read(iprot)
27421
        else:
27422
          iprot.skip(ftype)
27423
      else:
27424
        iprot.skip(ftype)
27425
      iprot.readFieldEnd()
27426
    iprot.readStructEnd()
27427
 
27428
  def write(self, oprot):
27429
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27430
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27431
      return
27432
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_args')
27433
    if self.marketPlaceItem is not None:
27434
      oprot.writeFieldBegin('marketPlaceItem', TType.STRUCT, 1)
27435
      self.marketPlaceItem.write(oprot)
27436
      oprot.writeFieldEnd()
27437
    oprot.writeFieldStop()
27438
    oprot.writeStructEnd()
27439
 
27440
  def validate(self):
27441
    return
27442
 
27443
 
27444
  def __repr__(self):
27445
    L = ['%s=%r' % (key, value)
27446
      for key, value in self.__dict__.iteritems()]
27447
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27448
 
27449
  def __eq__(self, other):
27450
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27451
 
27452
  def __ne__(self, other):
27453
    return not (self == other)
27454
 
27455
class updateMarketplaceAttributesForItem_result:
27456
  """
27457
  Attributes:
27458
   - success
27459
  """
27460
 
27461
  thrift_spec = (
27462
    (0, TType.BOOL, 'success', None, None, ), # 0
27463
  )
27464
 
27465
  def __init__(self, success=None,):
27466
    self.success = success
27467
 
27468
  def read(self, iprot):
27469
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27470
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27471
      return
27472
    iprot.readStructBegin()
27473
    while True:
27474
      (fname, ftype, fid) = iprot.readFieldBegin()
27475
      if ftype == TType.STOP:
27476
        break
27477
      if fid == 0:
27478
        if ftype == TType.BOOL:
27479
          self.success = iprot.readBool();
27480
        else:
27481
          iprot.skip(ftype)
27482
      else:
27483
        iprot.skip(ftype)
27484
      iprot.readFieldEnd()
27485
    iprot.readStructEnd()
27486
 
27487
  def write(self, oprot):
27488
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27489
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27490
      return
27491
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_result')
27492
    if self.success is not None:
27493
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27494
      oprot.writeBool(self.success)
27495
      oprot.writeFieldEnd()
27496
    oprot.writeFieldStop()
27497
    oprot.writeStructEnd()
27498
 
27499
  def validate(self):
27500
    return
27501
 
27502
 
27503
  def __repr__(self):
27504
    L = ['%s=%r' % (key, value)
27505
      for key, value in self.__dict__.iteritems()]
27506
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27507
 
27508
  def __eq__(self, other):
27509
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27510
 
27511
  def __ne__(self, other):
27512
    return not (self == other)
9776 vikram.rag 27513
 
9779 kshitij.so 27514
class getCostingForMarketplace_args:
27515
  """
27516
  Attributes:
27517
   - source
27518
   - item_id
27519
  """
27520
 
27521
  thrift_spec = (
27522
    None, # 0
27523
    (1, TType.I64, 'source', None, None, ), # 1
27524
    (2, TType.I64, 'item_id', None, None, ), # 2
27525
  )
27526
 
27527
  def __init__(self, source=None, item_id=None,):
27528
    self.source = source
27529
    self.item_id = item_id
27530
 
27531
  def read(self, iprot):
27532
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27533
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27534
      return
27535
    iprot.readStructBegin()
27536
    while True:
27537
      (fname, ftype, fid) = iprot.readFieldBegin()
27538
      if ftype == TType.STOP:
27539
        break
27540
      if fid == 1:
27541
        if ftype == TType.I64:
27542
          self.source = iprot.readI64();
27543
        else:
27544
          iprot.skip(ftype)
27545
      elif fid == 2:
27546
        if ftype == TType.I64:
27547
          self.item_id = iprot.readI64();
27548
        else:
27549
          iprot.skip(ftype)
27550
      else:
27551
        iprot.skip(ftype)
27552
      iprot.readFieldEnd()
27553
    iprot.readStructEnd()
27554
 
27555
  def write(self, oprot):
27556
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27557
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27558
      return
27559
    oprot.writeStructBegin('getCostingForMarketplace_args')
27560
    if self.source is not None:
27561
      oprot.writeFieldBegin('source', TType.I64, 1)
27562
      oprot.writeI64(self.source)
27563
      oprot.writeFieldEnd()
27564
    if self.item_id is not None:
27565
      oprot.writeFieldBegin('item_id', TType.I64, 2)
27566
      oprot.writeI64(self.item_id)
27567
      oprot.writeFieldEnd()
27568
    oprot.writeFieldStop()
27569
    oprot.writeStructEnd()
27570
 
27571
  def validate(self):
27572
    return
27573
 
27574
 
27575
  def __repr__(self):
27576
    L = ['%s=%r' % (key, value)
27577
      for key, value in self.__dict__.iteritems()]
27578
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27579
 
27580
  def __eq__(self, other):
27581
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27582
 
27583
  def __ne__(self, other):
27584
    return not (self == other)
27585
 
27586
class getCostingForMarketplace_result:
27587
  """
27588
  Attributes:
27589
   - success
27590
  """
27591
 
27592
  thrift_spec = (
27593
    (0, TType.STRUCT, 'success', (MarketplacePercentage, MarketplacePercentage.thrift_spec), None, ), # 0
27594
  )
27595
 
27596
  def __init__(self, success=None,):
27597
    self.success = success
27598
 
27599
  def read(self, iprot):
27600
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27601
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27602
      return
27603
    iprot.readStructBegin()
27604
    while True:
27605
      (fname, ftype, fid) = iprot.readFieldBegin()
27606
      if ftype == TType.STOP:
27607
        break
27608
      if fid == 0:
27609
        if ftype == TType.STRUCT:
27610
          self.success = MarketplacePercentage()
27611
          self.success.read(iprot)
27612
        else:
27613
          iprot.skip(ftype)
27614
      else:
27615
        iprot.skip(ftype)
27616
      iprot.readFieldEnd()
27617
    iprot.readStructEnd()
27618
 
27619
  def write(self, oprot):
27620
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27621
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27622
      return
27623
    oprot.writeStructBegin('getCostingForMarketplace_result')
27624
    if self.success is not None:
27625
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27626
      self.success.write(oprot)
27627
      oprot.writeFieldEnd()
27628
    oprot.writeFieldStop()
27629
    oprot.writeStructEnd()
27630
 
27631
  def validate(self):
27632
    return
27633
 
27634
 
27635
  def __repr__(self):
27636
    L = ['%s=%r' % (key, value)
27637
      for key, value in self.__dict__.iteritems()]
27638
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27639
 
27640
  def __eq__(self, other):
27641
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27642
 
27643
  def __ne__(self, other):
27644
    return not (self == other)
27645
 
9776 vikram.rag 27646
class getMarketPlaceItemsForPriceUpdate_args:
27647
  """
27648
  Attributes:
27649
   - source
27650
  """
27651
 
27652
  thrift_spec = (
27653
    None, # 0
27654
    (1, TType.I64, 'source', None, None, ), # 1
27655
  )
27656
 
27657
  def __init__(self, source=None,):
27658
    self.source = source
27659
 
27660
  def read(self, iprot):
27661
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27662
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27663
      return
27664
    iprot.readStructBegin()
27665
    while True:
27666
      (fname, ftype, fid) = iprot.readFieldBegin()
27667
      if ftype == TType.STOP:
27668
        break
27669
      if fid == 1:
27670
        if ftype == TType.I64:
27671
          self.source = iprot.readI64();
27672
        else:
27673
          iprot.skip(ftype)
27674
      else:
27675
        iprot.skip(ftype)
27676
      iprot.readFieldEnd()
27677
    iprot.readStructEnd()
27678
 
27679
  def write(self, oprot):
27680
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27681
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27682
      return
27683
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_args')
27684
    if self.source is not None:
27685
      oprot.writeFieldBegin('source', TType.I64, 1)
27686
      oprot.writeI64(self.source)
27687
      oprot.writeFieldEnd()
27688
    oprot.writeFieldStop()
27689
    oprot.writeStructEnd()
27690
 
27691
  def validate(self):
27692
    return
27693
 
27694
 
27695
  def __repr__(self):
27696
    L = ['%s=%r' % (key, value)
27697
      for key, value in self.__dict__.iteritems()]
27698
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27699
 
27700
  def __eq__(self, other):
27701
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27702
 
27703
  def __ne__(self, other):
27704
    return not (self == other)
27705
 
27706
class getMarketPlaceItemsForPriceUpdate_result:
27707
  """
27708
  Attributes:
27709
   - success
27710
  """
27711
 
27712
  thrift_spec = (
27713
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketPlaceItemPrice, MarketPlaceItemPrice.thrift_spec)), None, ), # 0
27714
  )
27715
 
27716
  def __init__(self, success=None,):
27717
    self.success = success
27718
 
27719
  def read(self, iprot):
27720
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27721
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27722
      return
27723
    iprot.readStructBegin()
27724
    while True:
27725
      (fname, ftype, fid) = iprot.readFieldBegin()
27726
      if ftype == TType.STOP:
27727
        break
27728
      if fid == 0:
27729
        if ftype == TType.LIST:
27730
          self.success = []
13493 amit.gupta 27731
          (_etype583, _size580) = iprot.readListBegin()
27732
          for _i584 in xrange(_size580):
27733
            _elem585 = MarketPlaceItemPrice()
27734
            _elem585.read(iprot)
27735
            self.success.append(_elem585)
9776 vikram.rag 27736
          iprot.readListEnd()
27737
        else:
27738
          iprot.skip(ftype)
27739
      else:
27740
        iprot.skip(ftype)
27741
      iprot.readFieldEnd()
27742
    iprot.readStructEnd()
27743
 
27744
  def write(self, oprot):
27745
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27746
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27747
      return
27748
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_result')
27749
    if self.success is not None:
27750
      oprot.writeFieldBegin('success', TType.LIST, 0)
27751
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 27752
      for iter586 in self.success:
27753
        iter586.write(oprot)
9776 vikram.rag 27754
      oprot.writeListEnd()
27755
      oprot.writeFieldEnd()
27756
    oprot.writeFieldStop()
27757
    oprot.writeStructEnd()
27758
 
27759
  def validate(self):
27760
    return
27761
 
27762
 
27763
  def __repr__(self):
27764
    L = ['%s=%r' % (key, value)
27765
      for key, value in self.__dict__.iteritems()]
27766
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27767
 
27768
  def __eq__(self, other):
27769
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27770
 
27771
  def __ne__(self, other):
27772
    return not (self == other)
27773
 
27774
class updateMarketPlacePriceUpdateStatus_args:
27775
  """
27776
  Attributes:
27777
   - skulist
27778
   - timestamp
9816 kshitij.so 27779
   - source
9776 vikram.rag 27780
  """
27781
 
27782
  thrift_spec = (
27783
    None, # 0
27784
    (1, TType.LIST, 'skulist', (TType.I64,None), None, ), # 1
27785
    (2, TType.I64, 'timestamp', None, None, ), # 2
9816 kshitij.so 27786
    (3, TType.I64, 'source', None, None, ), # 3
9776 vikram.rag 27787
  )
27788
 
9816 kshitij.so 27789
  def __init__(self, skulist=None, timestamp=None, source=None,):
9776 vikram.rag 27790
    self.skulist = skulist
27791
    self.timestamp = timestamp
9816 kshitij.so 27792
    self.source = source
9776 vikram.rag 27793
 
27794
  def read(self, iprot):
27795
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27796
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27797
      return
27798
    iprot.readStructBegin()
27799
    while True:
27800
      (fname, ftype, fid) = iprot.readFieldBegin()
27801
      if ftype == TType.STOP:
27802
        break
27803
      if fid == 1:
27804
        if ftype == TType.LIST:
27805
          self.skulist = []
13493 amit.gupta 27806
          (_etype590, _size587) = iprot.readListBegin()
27807
          for _i591 in xrange(_size587):
27808
            _elem592 = iprot.readI64();
27809
            self.skulist.append(_elem592)
9776 vikram.rag 27810
          iprot.readListEnd()
27811
        else:
27812
          iprot.skip(ftype)
27813
      elif fid == 2:
27814
        if ftype == TType.I64:
27815
          self.timestamp = iprot.readI64();
27816
        else:
27817
          iprot.skip(ftype)
9816 kshitij.so 27818
      elif fid == 3:
27819
        if ftype == TType.I64:
27820
          self.source = iprot.readI64();
27821
        else:
27822
          iprot.skip(ftype)
9776 vikram.rag 27823
      else:
27824
        iprot.skip(ftype)
27825
      iprot.readFieldEnd()
27826
    iprot.readStructEnd()
27827
 
27828
  def write(self, oprot):
27829
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27830
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27831
      return
27832
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_args')
27833
    if self.skulist is not None:
27834
      oprot.writeFieldBegin('skulist', TType.LIST, 1)
27835
      oprot.writeListBegin(TType.I64, len(self.skulist))
13493 amit.gupta 27836
      for iter593 in self.skulist:
27837
        oprot.writeI64(iter593)
9776 vikram.rag 27838
      oprot.writeListEnd()
27839
      oprot.writeFieldEnd()
27840
    if self.timestamp is not None:
27841
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
27842
      oprot.writeI64(self.timestamp)
27843
      oprot.writeFieldEnd()
9816 kshitij.so 27844
    if self.source is not None:
27845
      oprot.writeFieldBegin('source', TType.I64, 3)
27846
      oprot.writeI64(self.source)
27847
      oprot.writeFieldEnd()
9776 vikram.rag 27848
    oprot.writeFieldStop()
27849
    oprot.writeStructEnd()
27850
 
27851
  def validate(self):
27852
    return
27853
 
27854
 
27855
  def __repr__(self):
27856
    L = ['%s=%r' % (key, value)
27857
      for key, value in self.__dict__.iteritems()]
27858
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27859
 
27860
  def __eq__(self, other):
27861
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27862
 
27863
  def __ne__(self, other):
27864
    return not (self == other)
27865
 
27866
class updateMarketPlacePriceUpdateStatus_result:
27867
 
27868
  thrift_spec = (
27869
  )
27870
 
27871
  def read(self, iprot):
27872
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27873
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27874
      return
27875
    iprot.readStructBegin()
27876
    while True:
27877
      (fname, ftype, fid) = iprot.readFieldBegin()
27878
      if ftype == TType.STOP:
27879
        break
27880
      else:
27881
        iprot.skip(ftype)
27882
      iprot.readFieldEnd()
27883
    iprot.readStructEnd()
27884
 
27885
  def write(self, oprot):
27886
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27887
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27888
      return
27889
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_result')
27890
    oprot.writeFieldStop()
27891
    oprot.writeStructEnd()
27892
 
27893
  def validate(self):
27894
    return
27895
 
27896
 
27897
  def __repr__(self):
27898
    L = ['%s=%r' % (key, value)
27899
      for key, value in self.__dict__.iteritems()]
27900
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27901
 
27902
  def __eq__(self, other):
27903
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27904
 
27905
  def __ne__(self, other):
27906
    return not (self == other)
9861 rajveer 27907
 
27908
class updateItemHoldInventory_args:
27909
  """
27910
  Attributes:
27911
   - itemHoldMap
27912
  """
27913
 
27914
  thrift_spec = (
27915
    None, # 0
27916
    (1, TType.MAP, 'itemHoldMap', (TType.I64,None,TType.I64,None), None, ), # 1
27917
  )
27918
 
27919
  def __init__(self, itemHoldMap=None,):
27920
    self.itemHoldMap = itemHoldMap
27921
 
27922
  def read(self, iprot):
27923
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27924
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27925
      return
27926
    iprot.readStructBegin()
27927
    while True:
27928
      (fname, ftype, fid) = iprot.readFieldBegin()
27929
      if ftype == TType.STOP:
27930
        break
27931
      if fid == 1:
27932
        if ftype == TType.MAP:
27933
          self.itemHoldMap = {}
13493 amit.gupta 27934
          (_ktype595, _vtype596, _size594 ) = iprot.readMapBegin() 
27935
          for _i598 in xrange(_size594):
27936
            _key599 = iprot.readI64();
27937
            _val600 = iprot.readI64();
27938
            self.itemHoldMap[_key599] = _val600
9861 rajveer 27939
          iprot.readMapEnd()
27940
        else:
27941
          iprot.skip(ftype)
27942
      else:
27943
        iprot.skip(ftype)
27944
      iprot.readFieldEnd()
27945
    iprot.readStructEnd()
27946
 
27947
  def write(self, oprot):
27948
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27949
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27950
      return
27951
    oprot.writeStructBegin('updateItemHoldInventory_args')
27952
    if self.itemHoldMap is not None:
27953
      oprot.writeFieldBegin('itemHoldMap', TType.MAP, 1)
27954
      oprot.writeMapBegin(TType.I64, TType.I64, len(self.itemHoldMap))
13493 amit.gupta 27955
      for kiter601,viter602 in self.itemHoldMap.items():
27956
        oprot.writeI64(kiter601)
27957
        oprot.writeI64(viter602)
9861 rajveer 27958
      oprot.writeMapEnd()
27959
      oprot.writeFieldEnd()
27960
    oprot.writeFieldStop()
27961
    oprot.writeStructEnd()
27962
 
27963
  def validate(self):
27964
    return
27965
 
27966
 
27967
  def __repr__(self):
27968
    L = ['%s=%r' % (key, value)
27969
      for key, value in self.__dict__.iteritems()]
27970
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27971
 
27972
  def __eq__(self, other):
27973
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27974
 
27975
  def __ne__(self, other):
27976
    return not (self == other)
27977
 
27978
class updateItemHoldInventory_result:
27979
 
27980
  thrift_spec = (
27981
  )
27982
 
27983
  def read(self, iprot):
27984
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27985
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27986
      return
27987
    iprot.readStructBegin()
27988
    while True:
27989
      (fname, ftype, fid) = iprot.readFieldBegin()
27990
      if ftype == TType.STOP:
27991
        break
27992
      else:
27993
        iprot.skip(ftype)
27994
      iprot.readFieldEnd()
27995
    iprot.readStructEnd()
27996
 
27997
  def write(self, oprot):
27998
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27999
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28000
      return
28001
    oprot.writeStructBegin('updateItemHoldInventory_result')
28002
    oprot.writeFieldStop()
28003
    oprot.writeStructEnd()
28004
 
28005
  def validate(self):
28006
    return
28007
 
28008
 
28009
  def __repr__(self):
28010
    L = ['%s=%r' % (key, value)
28011
      for key, value in self.__dict__.iteritems()]
28012
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28013
 
28014
  def __eq__(self, other):
28015
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28016
 
28017
  def __ne__(self, other):
28018
    return not (self == other)
9895 vikram.rag 28019
 
28020
class updateNlcAtMarketplaces_args:
28021
  """
28022
  Attributes:
28023
   - item_id
28024
   - vendor_id
28025
   - nlc
28026
  """
28027
 
28028
  thrift_spec = None
28029
  def __init__(self, item_id=None, vendor_id=None, nlc=None,):
28030
    self.item_id = item_id
28031
    self.vendor_id = vendor_id
28032
    self.nlc = nlc
28033
 
28034
  def read(self, iprot):
28035
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28036
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28037
      return
28038
    iprot.readStructBegin()
28039
    while True:
28040
      (fname, ftype, fid) = iprot.readFieldBegin()
28041
      if ftype == TType.STOP:
28042
        break
28043
      if fid == 1:
28044
        if ftype == TType.I64:
28045
          self.item_id = iprot.readI64();
28046
        else:
28047
          iprot.skip(ftype)
28048
      elif fid == 2:
28049
        if ftype == TType.I64:
28050
          self.vendor_id = iprot.readI64();
28051
        else:
28052
          iprot.skip(ftype)
28053
      elif fid == -1:
28054
        if ftype == TType.DOUBLE:
28055
          self.nlc = iprot.readDouble();
28056
        else:
28057
          iprot.skip(ftype)
28058
      else:
28059
        iprot.skip(ftype)
28060
      iprot.readFieldEnd()
28061
    iprot.readStructEnd()
28062
 
28063
  def write(self, oprot):
28064
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28065
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28066
      return
28067
    oprot.writeStructBegin('updateNlcAtMarketplaces_args')
28068
    if self.nlc is not None:
28069
      oprot.writeFieldBegin('nlc', TType.DOUBLE, -1)
28070
      oprot.writeDouble(self.nlc)
28071
      oprot.writeFieldEnd()
28072
    if self.item_id is not None:
28073
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28074
      oprot.writeI64(self.item_id)
28075
      oprot.writeFieldEnd()
28076
    if self.vendor_id is not None:
28077
      oprot.writeFieldBegin('vendor_id', TType.I64, 2)
28078
      oprot.writeI64(self.vendor_id)
28079
      oprot.writeFieldEnd()
28080
    oprot.writeFieldStop()
28081
    oprot.writeStructEnd()
28082
 
28083
  def validate(self):
28084
    return
28085
 
28086
 
28087
  def __repr__(self):
28088
    L = ['%s=%r' % (key, value)
28089
      for key, value in self.__dict__.iteritems()]
28090
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28091
 
28092
  def __eq__(self, other):
28093
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28094
 
28095
  def __ne__(self, other):
28096
    return not (self == other)
28097
 
28098
class updateNlcAtMarketplaces_result:
28099
 
28100
  thrift_spec = (
28101
  )
28102
 
28103
  def read(self, iprot):
28104
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28105
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28106
      return
28107
    iprot.readStructBegin()
28108
    while True:
28109
      (fname, ftype, fid) = iprot.readFieldBegin()
28110
      if ftype == TType.STOP:
28111
        break
28112
      else:
28113
        iprot.skip(ftype)
28114
      iprot.readFieldEnd()
28115
    iprot.readStructEnd()
28116
 
28117
  def write(self, oprot):
28118
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28119
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28120
      return
28121
    oprot.writeStructBegin('updateNlcAtMarketplaces_result')
28122
    oprot.writeFieldStop()
28123
    oprot.writeStructEnd()
28124
 
28125
  def validate(self):
28126
    return
28127
 
28128
 
28129
  def __repr__(self):
28130
    L = ['%s=%r' % (key, value)
28131
      for key, value in self.__dict__.iteritems()]
28132
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28133
 
28134
  def __eq__(self, other):
28135
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28136
 
28137
  def __ne__(self, other):
28138
    return not (self == other)
9945 vikram.rag 28139
 
28140
class getAllFlipkartItems_args:
28141
 
28142
  thrift_spec = (
28143
  )
28144
 
28145
  def read(self, iprot):
28146
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28147
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28148
      return
28149
    iprot.readStructBegin()
28150
    while True:
28151
      (fname, ftype, fid) = iprot.readFieldBegin()
28152
      if ftype == TType.STOP:
28153
        break
28154
      else:
28155
        iprot.skip(ftype)
28156
      iprot.readFieldEnd()
28157
    iprot.readStructEnd()
28158
 
28159
  def write(self, oprot):
28160
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28161
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28162
      return
28163
    oprot.writeStructBegin('getAllFlipkartItems_args')
28164
    oprot.writeFieldStop()
28165
    oprot.writeStructEnd()
28166
 
28167
  def validate(self):
28168
    return
28169
 
28170
 
28171
  def __repr__(self):
28172
    L = ['%s=%r' % (key, value)
28173
      for key, value in self.__dict__.iteritems()]
28174
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28175
 
28176
  def __eq__(self, other):
28177
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28178
 
28179
  def __ne__(self, other):
28180
    return not (self == other)
28181
 
28182
class getAllFlipkartItems_result:
28183
  """
28184
  Attributes:
28185
   - success
28186
  """
28187
 
28188
  thrift_spec = (
28189
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
28190
  )
28191
 
28192
  def __init__(self, success=None,):
28193
    self.success = success
28194
 
28195
  def read(self, iprot):
28196
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28197
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28198
      return
28199
    iprot.readStructBegin()
28200
    while True:
28201
      (fname, ftype, fid) = iprot.readFieldBegin()
28202
      if ftype == TType.STOP:
28203
        break
28204
      if fid == 0:
28205
        if ftype == TType.LIST:
28206
          self.success = []
13493 amit.gupta 28207
          (_etype606, _size603) = iprot.readListBegin()
28208
          for _i607 in xrange(_size603):
28209
            _elem608 = FlipkartItem()
28210
            _elem608.read(iprot)
28211
            self.success.append(_elem608)
9945 vikram.rag 28212
          iprot.readListEnd()
28213
        else:
28214
          iprot.skip(ftype)
28215
      else:
28216
        iprot.skip(ftype)
28217
      iprot.readFieldEnd()
28218
    iprot.readStructEnd()
28219
 
28220
  def write(self, oprot):
28221
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28222
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28223
      return
28224
    oprot.writeStructBegin('getAllFlipkartItems_result')
28225
    if self.success is not None:
28226
      oprot.writeFieldBegin('success', TType.LIST, 0)
28227
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 28228
      for iter609 in self.success:
28229
        iter609.write(oprot)
9945 vikram.rag 28230
      oprot.writeListEnd()
28231
      oprot.writeFieldEnd()
28232
    oprot.writeFieldStop()
28233
    oprot.writeStructEnd()
28234
 
28235
  def validate(self):
28236
    return
28237
 
28238
 
28239
  def __repr__(self):
28240
    L = ['%s=%r' % (key, value)
28241
      for key, value in self.__dict__.iteritems()]
28242
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28243
 
28244
  def __eq__(self, other):
28245
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28246
 
28247
  def __ne__(self, other):
28248
    return not (self == other)
10097 kshitij.so 28249
 
28250
class addOrUpdateFlipkartItem_args:
28251
  """
28252
  Attributes:
28253
   - flipkartitem
28254
  """
28255
 
28256
  thrift_spec = None
28257
  def __init__(self, flipkartitem=None,):
28258
    self.flipkartitem = flipkartitem
28259
 
28260
  def read(self, iprot):
28261
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28262
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28263
      return
28264
    iprot.readStructBegin()
28265
    while True:
28266
      (fname, ftype, fid) = iprot.readFieldBegin()
28267
      if ftype == TType.STOP:
28268
        break
28269
      if fid == -1:
28270
        if ftype == TType.STRUCT:
28271
          self.flipkartitem = FlipkartItem()
28272
          self.flipkartitem.read(iprot)
28273
        else:
28274
          iprot.skip(ftype)
28275
      else:
28276
        iprot.skip(ftype)
28277
      iprot.readFieldEnd()
28278
    iprot.readStructEnd()
28279
 
28280
  def write(self, oprot):
28281
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28282
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28283
      return
28284
    oprot.writeStructBegin('addOrUpdateFlipkartItem_args')
28285
    if self.flipkartitem is not None:
28286
      oprot.writeFieldBegin('flipkartitem', TType.STRUCT, -1)
28287
      self.flipkartitem.write(oprot)
28288
      oprot.writeFieldEnd()
28289
    oprot.writeFieldStop()
28290
    oprot.writeStructEnd()
28291
 
28292
  def validate(self):
28293
    return
28294
 
28295
 
28296
  def __repr__(self):
28297
    L = ['%s=%r' % (key, value)
28298
      for key, value in self.__dict__.iteritems()]
28299
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28300
 
28301
  def __eq__(self, other):
28302
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28303
 
28304
  def __ne__(self, other):
28305
    return not (self == other)
28306
 
28307
class addOrUpdateFlipkartItem_result:
28308
  """
28309
  Attributes:
28310
   - success
28311
  """
28312
 
28313
  thrift_spec = (
28314
    (0, TType.BOOL, 'success', None, None, ), # 0
28315
  )
28316
 
28317
  def __init__(self, success=None,):
28318
    self.success = success
28319
 
28320
  def read(self, iprot):
28321
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28322
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28323
      return
28324
    iprot.readStructBegin()
28325
    while True:
28326
      (fname, ftype, fid) = iprot.readFieldBegin()
28327
      if ftype == TType.STOP:
28328
        break
28329
      if fid == 0:
28330
        if ftype == TType.BOOL:
28331
          self.success = iprot.readBool();
28332
        else:
28333
          iprot.skip(ftype)
28334
      else:
28335
        iprot.skip(ftype)
28336
      iprot.readFieldEnd()
28337
    iprot.readStructEnd()
28338
 
28339
  def write(self, oprot):
28340
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28341
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28342
      return
28343
    oprot.writeStructBegin('addOrUpdateFlipkartItem_result')
28344
    if self.success is not None:
28345
      oprot.writeFieldBegin('success', TType.BOOL, 0)
28346
      oprot.writeBool(self.success)
28347
      oprot.writeFieldEnd()
28348
    oprot.writeFieldStop()
28349
    oprot.writeStructEnd()
28350
 
28351
  def validate(self):
28352
    return
28353
 
28354
 
28355
  def __repr__(self):
28356
    L = ['%s=%r' % (key, value)
28357
      for key, value in self.__dict__.iteritems()]
28358
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28359
 
28360
  def __eq__(self, other):
28361
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28362
 
28363
  def __ne__(self, other):
28364
    return not (self == other)
28365
 
28366
class getFlipkartItem_args:
28367
  """
28368
  Attributes:
28369
   - item_id
28370
  """
28371
 
28372
  thrift_spec = (
28373
    None, # 0
28374
    (1, TType.I64, 'item_id', None, None, ), # 1
28375
  )
28376
 
28377
  def __init__(self, item_id=None,):
28378
    self.item_id = item_id
28379
 
28380
  def read(self, iprot):
28381
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28382
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28383
      return
28384
    iprot.readStructBegin()
28385
    while True:
28386
      (fname, ftype, fid) = iprot.readFieldBegin()
28387
      if ftype == TType.STOP:
28388
        break
28389
      if fid == 1:
28390
        if ftype == TType.I64:
28391
          self.item_id = iprot.readI64();
28392
        else:
28393
          iprot.skip(ftype)
28394
      else:
28395
        iprot.skip(ftype)
28396
      iprot.readFieldEnd()
28397
    iprot.readStructEnd()
28398
 
28399
  def write(self, oprot):
28400
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28401
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28402
      return
28403
    oprot.writeStructBegin('getFlipkartItem_args')
28404
    if self.item_id is not None:
28405
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28406
      oprot.writeI64(self.item_id)
28407
      oprot.writeFieldEnd()
28408
    oprot.writeFieldStop()
28409
    oprot.writeStructEnd()
28410
 
28411
  def validate(self):
28412
    return
28413
 
28414
 
28415
  def __repr__(self):
28416
    L = ['%s=%r' % (key, value)
28417
      for key, value in self.__dict__.iteritems()]
28418
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28419
 
28420
  def __eq__(self, other):
28421
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28422
 
28423
  def __ne__(self, other):
28424
    return not (self == other)
28425
 
28426
class getFlipkartItem_result:
28427
  """
28428
  Attributes:
28429
   - success
28430
  """
28431
 
28432
  thrift_spec = (
28433
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
28434
  )
28435
 
28436
  def __init__(self, success=None,):
28437
    self.success = success
28438
 
28439
  def read(self, iprot):
28440
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28441
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28442
      return
28443
    iprot.readStructBegin()
28444
    while True:
28445
      (fname, ftype, fid) = iprot.readFieldBegin()
28446
      if ftype == TType.STOP:
28447
        break
28448
      if fid == 0:
28449
        if ftype == TType.STRUCT:
28450
          self.success = FlipkartItem()
28451
          self.success.read(iprot)
28452
        else:
28453
          iprot.skip(ftype)
28454
      else:
28455
        iprot.skip(ftype)
28456
      iprot.readFieldEnd()
28457
    iprot.readStructEnd()
28458
 
28459
  def write(self, oprot):
28460
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28461
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28462
      return
28463
    oprot.writeStructBegin('getFlipkartItem_result')
28464
    if self.success is not None:
28465
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28466
      self.success.write(oprot)
28467
      oprot.writeFieldEnd()
28468
    oprot.writeFieldStop()
28469
    oprot.writeStructEnd()
28470
 
28471
  def validate(self):
28472
    return
28473
 
28474
 
28475
  def __repr__(self):
28476
    L = ['%s=%r' % (key, value)
28477
      for key, value in self.__dict__.iteritems()]
28478
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28479
 
28480
  def __eq__(self, other):
28481
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28482
 
28483
  def __ne__(self, other):
28484
    return not (self == other)
28485
 
28486
class getFlipkartItemDetails_args:
28487
  """
28488
  Attributes:
28489
   - item_id
28490
  """
28491
 
28492
  thrift_spec = (
28493
    None, # 0
28494
    (1, TType.I64, 'item_id', None, None, ), # 1
28495
  )
28496
 
28497
  def __init__(self, item_id=None,):
28498
    self.item_id = item_id
28499
 
28500
  def read(self, iprot):
28501
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28502
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28503
      return
28504
    iprot.readStructBegin()
28505
    while True:
28506
      (fname, ftype, fid) = iprot.readFieldBegin()
28507
      if ftype == TType.STOP:
28508
        break
28509
      if fid == 1:
28510
        if ftype == TType.I64:
28511
          self.item_id = iprot.readI64();
28512
        else:
28513
          iprot.skip(ftype)
28514
      else:
28515
        iprot.skip(ftype)
28516
      iprot.readFieldEnd()
28517
    iprot.readStructEnd()
28518
 
28519
  def write(self, oprot):
28520
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28521
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28522
      return
28523
    oprot.writeStructBegin('getFlipkartItemDetails_args')
28524
    if self.item_id is not None:
28525
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28526
      oprot.writeI64(self.item_id)
28527
      oprot.writeFieldEnd()
28528
    oprot.writeFieldStop()
28529
    oprot.writeStructEnd()
28530
 
28531
  def validate(self):
28532
    return
28533
 
28534
 
28535
  def __repr__(self):
28536
    L = ['%s=%r' % (key, value)
28537
      for key, value in self.__dict__.iteritems()]
28538
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28539
 
28540
  def __eq__(self, other):
28541
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28542
 
28543
  def __ne__(self, other):
28544
    return not (self == other)
28545
 
28546
class getFlipkartItemDetails_result:
28547
  """
28548
  Attributes:
28549
   - success
28550
  """
28551
 
28552
  thrift_spec = (
28553
    (0, TType.STRUCT, 'success', (FlipkartItemDetails, FlipkartItemDetails.thrift_spec), None, ), # 0
28554
  )
28555
 
28556
  def __init__(self, success=None,):
28557
    self.success = success
28558
 
28559
  def read(self, iprot):
28560
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28561
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28562
      return
28563
    iprot.readStructBegin()
28564
    while True:
28565
      (fname, ftype, fid) = iprot.readFieldBegin()
28566
      if ftype == TType.STOP:
28567
        break
28568
      if fid == 0:
28569
        if ftype == TType.STRUCT:
28570
          self.success = FlipkartItemDetails()
28571
          self.success.read(iprot)
28572
        else:
28573
          iprot.skip(ftype)
28574
      else:
28575
        iprot.skip(ftype)
28576
      iprot.readFieldEnd()
28577
    iprot.readStructEnd()
28578
 
28579
  def write(self, oprot):
28580
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28581
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28582
      return
28583
    oprot.writeStructBegin('getFlipkartItemDetails_result')
28584
    if self.success is not None:
28585
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28586
      self.success.write(oprot)
28587
      oprot.writeFieldEnd()
28588
    oprot.writeFieldStop()
28589
    oprot.writeStructEnd()
28590
 
28591
  def validate(self):
28592
    return
28593
 
28594
 
28595
  def __repr__(self):
28596
    L = ['%s=%r' % (key, value)
28597
      for key, value in self.__dict__.iteritems()]
28598
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28599
 
28600
  def __eq__(self, other):
28601
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28602
 
28603
  def __ne__(self, other):
28604
    return not (self == other)
28605
 
28606
class getFlipkartItems_args:
28607
  """
28608
  Attributes:
28609
   - offset
28610
   - limit
28611
  """
28612
 
28613
  thrift_spec = (
28614
    None, # 0
28615
    (1, TType.I64, 'offset', None, None, ), # 1
28616
    (2, TType.I64, 'limit', None, None, ), # 2
28617
  )
28618
 
28619
  def __init__(self, offset=None, limit=None,):
28620
    self.offset = offset
28621
    self.limit = limit
28622
 
28623
  def read(self, iprot):
28624
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28625
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28626
      return
28627
    iprot.readStructBegin()
28628
    while True:
28629
      (fname, ftype, fid) = iprot.readFieldBegin()
28630
      if ftype == TType.STOP:
28631
        break
28632
      if fid == 1:
28633
        if ftype == TType.I64:
28634
          self.offset = iprot.readI64();
28635
        else:
28636
          iprot.skip(ftype)
28637
      elif fid == 2:
28638
        if ftype == TType.I64:
28639
          self.limit = iprot.readI64();
28640
        else:
28641
          iprot.skip(ftype)
28642
      else:
28643
        iprot.skip(ftype)
28644
      iprot.readFieldEnd()
28645
    iprot.readStructEnd()
28646
 
28647
  def write(self, oprot):
28648
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28649
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28650
      return
28651
    oprot.writeStructBegin('getFlipkartItems_args')
28652
    if self.offset is not None:
28653
      oprot.writeFieldBegin('offset', TType.I64, 1)
28654
      oprot.writeI64(self.offset)
28655
      oprot.writeFieldEnd()
28656
    if self.limit is not None:
28657
      oprot.writeFieldBegin('limit', TType.I64, 2)
28658
      oprot.writeI64(self.limit)
28659
      oprot.writeFieldEnd()
28660
    oprot.writeFieldStop()
28661
    oprot.writeStructEnd()
28662
 
28663
  def validate(self):
28664
    return
28665
 
28666
 
28667
  def __repr__(self):
28668
    L = ['%s=%r' % (key, value)
28669
      for key, value in self.__dict__.iteritems()]
28670
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28671
 
28672
  def __eq__(self, other):
28673
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28674
 
28675
  def __ne__(self, other):
28676
    return not (self == other)
28677
 
28678
class getFlipkartItems_result:
28679
  """
28680
  Attributes:
28681
   - success
28682
  """
28683
 
28684
  thrift_spec = (
28685
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
28686
  )
28687
 
28688
  def __init__(self, success=None,):
28689
    self.success = success
28690
 
28691
  def read(self, iprot):
28692
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28693
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28694
      return
28695
    iprot.readStructBegin()
28696
    while True:
28697
      (fname, ftype, fid) = iprot.readFieldBegin()
28698
      if ftype == TType.STOP:
28699
        break
28700
      if fid == 0:
28701
        if ftype == TType.LIST:
28702
          self.success = []
13493 amit.gupta 28703
          (_etype613, _size610) = iprot.readListBegin()
28704
          for _i614 in xrange(_size610):
28705
            _elem615 = FlipkartItemDetails()
28706
            _elem615.read(iprot)
28707
            self.success.append(_elem615)
10097 kshitij.so 28708
          iprot.readListEnd()
28709
        else:
28710
          iprot.skip(ftype)
28711
      else:
28712
        iprot.skip(ftype)
28713
      iprot.readFieldEnd()
28714
    iprot.readStructEnd()
28715
 
28716
  def write(self, oprot):
28717
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28718
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28719
      return
28720
    oprot.writeStructBegin('getFlipkartItems_result')
28721
    if self.success is not None:
28722
      oprot.writeFieldBegin('success', TType.LIST, 0)
28723
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 28724
      for iter616 in self.success:
28725
        iter616.write(oprot)
10097 kshitij.so 28726
      oprot.writeListEnd()
28727
      oprot.writeFieldEnd()
28728
    oprot.writeFieldStop()
28729
    oprot.writeStructEnd()
28730
 
28731
  def validate(self):
28732
    return
28733
 
28734
 
28735
  def __repr__(self):
28736
    L = ['%s=%r' % (key, value)
28737
      for key, value in self.__dict__.iteritems()]
28738
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28739
 
28740
  def __eq__(self, other):
28741
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28742
 
28743
  def __ne__(self, other):
28744
    return not (self == other)
28745
 
28746
class searchFlipkartItems_args:
28747
  """
28748
  Attributes:
28749
   - searchTerm
28750
   - offset
28751
   - limit
28752
  """
28753
 
28754
  thrift_spec = (
28755
    None, # 0
28756
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
28757
    (2, TType.I64, 'offset', None, None, ), # 2
28758
    (3, TType.I64, 'limit', None, None, ), # 3
28759
  )
28760
 
28761
  def __init__(self, searchTerm=None, offset=None, limit=None,):
28762
    self.searchTerm = searchTerm
28763
    self.offset = offset
28764
    self.limit = limit
28765
 
28766
  def read(self, iprot):
28767
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28768
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28769
      return
28770
    iprot.readStructBegin()
28771
    while True:
28772
      (fname, ftype, fid) = iprot.readFieldBegin()
28773
      if ftype == TType.STOP:
28774
        break
28775
      if fid == 1:
28776
        if ftype == TType.LIST:
28777
          self.searchTerm = []
13493 amit.gupta 28778
          (_etype620, _size617) = iprot.readListBegin()
28779
          for _i621 in xrange(_size617):
28780
            _elem622 = iprot.readString();
28781
            self.searchTerm.append(_elem622)
10097 kshitij.so 28782
          iprot.readListEnd()
28783
        else:
28784
          iprot.skip(ftype)
28785
      elif fid == 2:
28786
        if ftype == TType.I64:
28787
          self.offset = iprot.readI64();
28788
        else:
28789
          iprot.skip(ftype)
28790
      elif fid == 3:
28791
        if ftype == TType.I64:
28792
          self.limit = iprot.readI64();
28793
        else:
28794
          iprot.skip(ftype)
28795
      else:
28796
        iprot.skip(ftype)
28797
      iprot.readFieldEnd()
28798
    iprot.readStructEnd()
28799
 
28800
  def write(self, oprot):
28801
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28802
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28803
      return
28804
    oprot.writeStructBegin('searchFlipkartItems_args')
28805
    if self.searchTerm is not None:
28806
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
28807
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 28808
      for iter623 in self.searchTerm:
28809
        oprot.writeString(iter623)
10097 kshitij.so 28810
      oprot.writeListEnd()
28811
      oprot.writeFieldEnd()
28812
    if self.offset is not None:
28813
      oprot.writeFieldBegin('offset', TType.I64, 2)
28814
      oprot.writeI64(self.offset)
28815
      oprot.writeFieldEnd()
28816
    if self.limit is not None:
28817
      oprot.writeFieldBegin('limit', TType.I64, 3)
28818
      oprot.writeI64(self.limit)
28819
      oprot.writeFieldEnd()
28820
    oprot.writeFieldStop()
28821
    oprot.writeStructEnd()
28822
 
28823
  def validate(self):
28824
    return
28825
 
28826
 
28827
  def __repr__(self):
28828
    L = ['%s=%r' % (key, value)
28829
      for key, value in self.__dict__.iteritems()]
28830
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28831
 
28832
  def __eq__(self, other):
28833
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28834
 
28835
  def __ne__(self, other):
28836
    return not (self == other)
28837
 
28838
class searchFlipkartItems_result:
28839
  """
28840
  Attributes:
28841
   - success
28842
  """
28843
 
28844
  thrift_spec = (
28845
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
28846
  )
28847
 
28848
  def __init__(self, success=None,):
28849
    self.success = success
28850
 
28851
  def read(self, iprot):
28852
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28853
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28854
      return
28855
    iprot.readStructBegin()
28856
    while True:
28857
      (fname, ftype, fid) = iprot.readFieldBegin()
28858
      if ftype == TType.STOP:
28859
        break
28860
      if fid == 0:
28861
        if ftype == TType.LIST:
28862
          self.success = []
13493 amit.gupta 28863
          (_etype627, _size624) = iprot.readListBegin()
28864
          for _i628 in xrange(_size624):
28865
            _elem629 = FlipkartItemDetails()
28866
            _elem629.read(iprot)
28867
            self.success.append(_elem629)
10097 kshitij.so 28868
          iprot.readListEnd()
28869
        else:
28870
          iprot.skip(ftype)
28871
      else:
28872
        iprot.skip(ftype)
28873
      iprot.readFieldEnd()
28874
    iprot.readStructEnd()
28875
 
28876
  def write(self, oprot):
28877
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28878
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28879
      return
28880
    oprot.writeStructBegin('searchFlipkartItems_result')
28881
    if self.success is not None:
28882
      oprot.writeFieldBegin('success', TType.LIST, 0)
28883
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 28884
      for iter630 in self.success:
28885
        iter630.write(oprot)
10097 kshitij.so 28886
      oprot.writeListEnd()
28887
      oprot.writeFieldEnd()
28888
    oprot.writeFieldStop()
28889
    oprot.writeStructEnd()
28890
 
28891
  def validate(self):
28892
    return
28893
 
28894
 
28895
  def __repr__(self):
28896
    L = ['%s=%r' % (key, value)
28897
      for key, value in self.__dict__.iteritems()]
28898
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28899
 
28900
  def __eq__(self, other):
28901
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28902
 
28903
  def __ne__(self, other):
28904
    return not (self == other)
28905
 
28906
class getCountForFlipkartItems_args:
28907
 
28908
  thrift_spec = (
28909
  )
28910
 
28911
  def read(self, iprot):
28912
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28913
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28914
      return
28915
    iprot.readStructBegin()
28916
    while True:
28917
      (fname, ftype, fid) = iprot.readFieldBegin()
28918
      if ftype == TType.STOP:
28919
        break
28920
      else:
28921
        iprot.skip(ftype)
28922
      iprot.readFieldEnd()
28923
    iprot.readStructEnd()
28924
 
28925
  def write(self, oprot):
28926
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28927
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28928
      return
28929
    oprot.writeStructBegin('getCountForFlipkartItems_args')
28930
    oprot.writeFieldStop()
28931
    oprot.writeStructEnd()
28932
 
28933
  def validate(self):
28934
    return
28935
 
28936
 
28937
  def __repr__(self):
28938
    L = ['%s=%r' % (key, value)
28939
      for key, value in self.__dict__.iteritems()]
28940
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28941
 
28942
  def __eq__(self, other):
28943
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28944
 
28945
  def __ne__(self, other):
28946
    return not (self == other)
28947
 
28948
class getCountForFlipkartItems_result:
28949
  """
28950
  Attributes:
28951
   - success
28952
  """
28953
 
28954
  thrift_spec = (
28955
    (0, TType.I64, 'success', None, None, ), # 0
28956
  )
28957
 
28958
  def __init__(self, success=None,):
28959
    self.success = success
28960
 
28961
  def read(self, iprot):
28962
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28963
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28964
      return
28965
    iprot.readStructBegin()
28966
    while True:
28967
      (fname, ftype, fid) = iprot.readFieldBegin()
28968
      if ftype == TType.STOP:
28969
        break
28970
      if fid == 0:
28971
        if ftype == TType.I64:
28972
          self.success = iprot.readI64();
28973
        else:
28974
          iprot.skip(ftype)
28975
      else:
28976
        iprot.skip(ftype)
28977
      iprot.readFieldEnd()
28978
    iprot.readStructEnd()
28979
 
28980
  def write(self, oprot):
28981
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28982
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28983
      return
28984
    oprot.writeStructBegin('getCountForFlipkartItems_result')
28985
    if self.success is not None:
28986
      oprot.writeFieldBegin('success', TType.I64, 0)
28987
      oprot.writeI64(self.success)
28988
      oprot.writeFieldEnd()
28989
    oprot.writeFieldStop()
28990
    oprot.writeStructEnd()
28991
 
28992
  def validate(self):
28993
    return
28994
 
28995
 
28996
  def __repr__(self):
28997
    L = ['%s=%r' % (key, value)
28998
      for key, value in self.__dict__.iteritems()]
28999
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29000
 
29001
  def __eq__(self, other):
29002
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29003
 
29004
  def __ne__(self, other):
29005
    return not (self == other)
29006
 
29007
class getFlipkartSearchResultCount_args:
29008
  """
29009
  Attributes:
29010
   - searchTerm
29011
  """
29012
 
29013
  thrift_spec = (
29014
    None, # 0
29015
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
29016
  )
29017
 
29018
  def __init__(self, searchTerm=None,):
29019
    self.searchTerm = searchTerm
29020
 
29021
  def read(self, iprot):
29022
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29023
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29024
      return
29025
    iprot.readStructBegin()
29026
    while True:
29027
      (fname, ftype, fid) = iprot.readFieldBegin()
29028
      if ftype == TType.STOP:
29029
        break
29030
      if fid == 1:
29031
        if ftype == TType.LIST:
29032
          self.searchTerm = []
13493 amit.gupta 29033
          (_etype634, _size631) = iprot.readListBegin()
29034
          for _i635 in xrange(_size631):
29035
            _elem636 = iprot.readString();
29036
            self.searchTerm.append(_elem636)
10097 kshitij.so 29037
          iprot.readListEnd()
29038
        else:
29039
          iprot.skip(ftype)
29040
      else:
29041
        iprot.skip(ftype)
29042
      iprot.readFieldEnd()
29043
    iprot.readStructEnd()
29044
 
29045
  def write(self, oprot):
29046
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29047
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29048
      return
29049
    oprot.writeStructBegin('getFlipkartSearchResultCount_args')
29050
    if self.searchTerm is not None:
29051
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
29052
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
13493 amit.gupta 29053
      for iter637 in self.searchTerm:
29054
        oprot.writeString(iter637)
10097 kshitij.so 29055
      oprot.writeListEnd()
29056
      oprot.writeFieldEnd()
29057
    oprot.writeFieldStop()
29058
    oprot.writeStructEnd()
29059
 
29060
  def validate(self):
29061
    return
29062
 
29063
 
29064
  def __repr__(self):
29065
    L = ['%s=%r' % (key, value)
29066
      for key, value in self.__dict__.iteritems()]
29067
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29068
 
29069
  def __eq__(self, other):
29070
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29071
 
29072
  def __ne__(self, other):
29073
    return not (self == other)
29074
 
29075
class getFlipkartSearchResultCount_result:
29076
  """
29077
  Attributes:
29078
   - success
29079
  """
29080
 
29081
  thrift_spec = (
29082
    (0, TType.I64, 'success', None, None, ), # 0
29083
  )
29084
 
29085
  def __init__(self, success=None,):
29086
    self.success = success
29087
 
29088
  def read(self, iprot):
29089
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29090
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29091
      return
29092
    iprot.readStructBegin()
29093
    while True:
29094
      (fname, ftype, fid) = iprot.readFieldBegin()
29095
      if ftype == TType.STOP:
29096
        break
29097
      if fid == 0:
29098
        if ftype == TType.I64:
29099
          self.success = iprot.readI64();
29100
        else:
29101
          iprot.skip(ftype)
29102
      else:
29103
        iprot.skip(ftype)
29104
      iprot.readFieldEnd()
29105
    iprot.readStructEnd()
29106
 
29107
  def write(self, oprot):
29108
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29109
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29110
      return
29111
    oprot.writeStructBegin('getFlipkartSearchResultCount_result')
29112
    if self.success is not None:
29113
      oprot.writeFieldBegin('success', TType.I64, 0)
29114
      oprot.writeI64(self.success)
29115
      oprot.writeFieldEnd()
29116
    oprot.writeFieldStop()
29117
    oprot.writeStructEnd()
29118
 
29119
  def validate(self):
29120
    return
29121
 
29122
 
29123
  def __repr__(self):
29124
    L = ['%s=%r' % (key, value)
29125
      for key, value in self.__dict__.iteritems()]
29126
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29127
 
29128
  def __eq__(self, other):
29129
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29130
 
29131
  def __ne__(self, other):
29132
    return not (self == other)
29133
 
29134
class getAllFkItems_args:
29135
 
29136
  thrift_spec = (
29137
  )
29138
 
29139
  def read(self, iprot):
29140
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29141
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29142
      return
29143
    iprot.readStructBegin()
29144
    while True:
29145
      (fname, ftype, fid) = iprot.readFieldBegin()
29146
      if ftype == TType.STOP:
29147
        break
29148
      else:
29149
        iprot.skip(ftype)
29150
      iprot.readFieldEnd()
29151
    iprot.readStructEnd()
29152
 
29153
  def write(self, oprot):
29154
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29155
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29156
      return
29157
    oprot.writeStructBegin('getAllFkItems_args')
29158
    oprot.writeFieldStop()
29159
    oprot.writeStructEnd()
29160
 
29161
  def validate(self):
29162
    return
29163
 
29164
 
29165
  def __repr__(self):
29166
    L = ['%s=%r' % (key, value)
29167
      for key, value in self.__dict__.iteritems()]
29168
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29169
 
29170
  def __eq__(self, other):
29171
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29172
 
29173
  def __ne__(self, other):
29174
    return not (self == other)
29175
 
29176
class getAllFkItems_result:
29177
  """
29178
  Attributes:
29179
   - success
29180
  """
29181
 
29182
  thrift_spec = (
29183
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
29184
  )
29185
 
29186
  def __init__(self, success=None,):
29187
    self.success = success
29188
 
29189
  def read(self, iprot):
29190
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29191
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29192
      return
29193
    iprot.readStructBegin()
29194
    while True:
29195
      (fname, ftype, fid) = iprot.readFieldBegin()
29196
      if ftype == TType.STOP:
29197
        break
29198
      if fid == 0:
29199
        if ftype == TType.LIST:
29200
          self.success = []
13493 amit.gupta 29201
          (_etype641, _size638) = iprot.readListBegin()
29202
          for _i642 in xrange(_size638):
29203
            _elem643 = FlipkartItemDetails()
29204
            _elem643.read(iprot)
29205
            self.success.append(_elem643)
10097 kshitij.so 29206
          iprot.readListEnd()
29207
        else:
29208
          iprot.skip(ftype)
29209
      else:
29210
        iprot.skip(ftype)
29211
      iprot.readFieldEnd()
29212
    iprot.readStructEnd()
29213
 
29214
  def write(self, oprot):
29215
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29216
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29217
      return
29218
    oprot.writeStructBegin('getAllFkItems_result')
29219
    if self.success is not None:
29220
      oprot.writeFieldBegin('success', TType.LIST, 0)
29221
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29222
      for iter644 in self.success:
29223
        iter644.write(oprot)
10097 kshitij.so 29224
      oprot.writeListEnd()
29225
      oprot.writeFieldEnd()
29226
    oprot.writeFieldStop()
29227
    oprot.writeStructEnd()
29228
 
29229
  def validate(self):
29230
    return
29231
 
29232
 
29233
  def __repr__(self):
29234
    L = ['%s=%r' % (key, value)
29235
      for key, value in self.__dict__.iteritems()]
29236
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29237
 
29238
  def __eq__(self, other):
29239
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29240
 
29241
  def __ne__(self, other):
29242
    return not (self == other)
10140 vikram.rag 29243
 
29244
class getFlipkartItemBySkyAtFlipkart_args:
29245
  """
29246
  Attributes:
29247
   - sku
29248
  """
29249
 
11531 vikram.rag 29250
  thrift_spec = None
10140 vikram.rag 29251
  def __init__(self, sku=None,):
29252
    self.sku = sku
29253
 
29254
  def read(self, iprot):
29255
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29256
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29257
      return
29258
    iprot.readStructBegin()
29259
    while True:
29260
      (fname, ftype, fid) = iprot.readFieldBegin()
29261
      if ftype == TType.STOP:
29262
        break
11531 vikram.rag 29263
      if fid == -1:
10140 vikram.rag 29264
        if ftype == TType.STRING:
29265
          self.sku = iprot.readString();
29266
        else:
29267
          iprot.skip(ftype)
29268
      else:
29269
        iprot.skip(ftype)
29270
      iprot.readFieldEnd()
29271
    iprot.readStructEnd()
29272
 
29273
  def write(self, oprot):
29274
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29275
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29276
      return
29277
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_args')
29278
    if self.sku is not None:
11531 vikram.rag 29279
      oprot.writeFieldBegin('sku', TType.STRING, -1)
10140 vikram.rag 29280
      oprot.writeString(self.sku)
29281
      oprot.writeFieldEnd()
29282
    oprot.writeFieldStop()
29283
    oprot.writeStructEnd()
29284
 
29285
  def validate(self):
29286
    return
29287
 
29288
 
29289
  def __repr__(self):
29290
    L = ['%s=%r' % (key, value)
29291
      for key, value in self.__dict__.iteritems()]
29292
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29293
 
29294
  def __eq__(self, other):
29295
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29296
 
29297
  def __ne__(self, other):
29298
    return not (self == other)
29299
 
29300
class getFlipkartItemBySkyAtFlipkart_result:
29301
  """
29302
  Attributes:
29303
   - success
29304
  """
29305
 
29306
  thrift_spec = (
29307
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
29308
  )
29309
 
29310
  def __init__(self, success=None,):
29311
    self.success = success
29312
 
29313
  def read(self, iprot):
29314
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29315
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29316
      return
29317
    iprot.readStructBegin()
29318
    while True:
29319
      (fname, ftype, fid) = iprot.readFieldBegin()
29320
      if ftype == TType.STOP:
29321
        break
29322
      if fid == 0:
29323
        if ftype == TType.STRUCT:
29324
          self.success = FlipkartItem()
29325
          self.success.read(iprot)
29326
        else:
29327
          iprot.skip(ftype)
29328
      else:
29329
        iprot.skip(ftype)
29330
      iprot.readFieldEnd()
29331
    iprot.readStructEnd()
29332
 
29333
  def write(self, oprot):
29334
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29335
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29336
      return
29337
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_result')
29338
    if self.success is not None:
29339
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
29340
      self.success.write(oprot)
29341
      oprot.writeFieldEnd()
29342
    oprot.writeFieldStop()
29343
    oprot.writeStructEnd()
29344
 
29345
  def validate(self):
29346
    return
29347
 
29348
 
29349
  def __repr__(self):
29350
    L = ['%s=%r' % (key, value)
29351
      for key, value in self.__dict__.iteritems()]
29352
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29353
 
29354
  def __eq__(self, other):
29355
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29356
 
29357
  def __ne__(self, other):
29358
    return not (self == other)
10909 vikram.rag 29359
 
11015 kshitij.so 29360
class getMarketplaceHistory_args:
29361
  """
29362
  Attributes:
29363
   - source
29364
   - offset
29365
   - itemId
29366
  """
10909 vikram.rag 29367
 
29368
  thrift_spec = (
11015 kshitij.so 29369
    None, # 0
29370
    (1, TType.I64, 'source', None, None, ), # 1
29371
    (2, TType.I64, 'offset', None, None, ), # 2
29372
    (3, TType.I64, 'itemId', None, None, ), # 3
10909 vikram.rag 29373
  )
29374
 
11015 kshitij.so 29375
  def __init__(self, source=None, offset=None, itemId=None,):
29376
    self.source = source
29377
    self.offset = offset
29378
    self.itemId = itemId
29379
 
10909 vikram.rag 29380
  def read(self, iprot):
29381
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29382
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29383
      return
29384
    iprot.readStructBegin()
29385
    while True:
29386
      (fname, ftype, fid) = iprot.readFieldBegin()
29387
      if ftype == TType.STOP:
29388
        break
11015 kshitij.so 29389
      if fid == 1:
29390
        if ftype == TType.I64:
29391
          self.source = iprot.readI64();
29392
        else:
29393
          iprot.skip(ftype)
29394
      elif fid == 2:
29395
        if ftype == TType.I64:
29396
          self.offset = iprot.readI64();
29397
        else:
29398
          iprot.skip(ftype)
29399
      elif fid == 3:
29400
        if ftype == TType.I64:
29401
          self.itemId = iprot.readI64();
29402
        else:
29403
          iprot.skip(ftype)
10909 vikram.rag 29404
      else:
29405
        iprot.skip(ftype)
29406
      iprot.readFieldEnd()
29407
    iprot.readStructEnd()
29408
 
29409
  def write(self, oprot):
29410
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29411
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29412
      return
11015 kshitij.so 29413
    oprot.writeStructBegin('getMarketplaceHistory_args')
29414
    if self.source is not None:
29415
      oprot.writeFieldBegin('source', TType.I64, 1)
29416
      oprot.writeI64(self.source)
29417
      oprot.writeFieldEnd()
29418
    if self.offset is not None:
29419
      oprot.writeFieldBegin('offset', TType.I64, 2)
29420
      oprot.writeI64(self.offset)
29421
      oprot.writeFieldEnd()
29422
    if self.itemId is not None:
29423
      oprot.writeFieldBegin('itemId', TType.I64, 3)
29424
      oprot.writeI64(self.itemId)
29425
      oprot.writeFieldEnd()
10909 vikram.rag 29426
    oprot.writeFieldStop()
29427
    oprot.writeStructEnd()
29428
 
29429
  def validate(self):
29430
    return
29431
 
29432
 
29433
  def __repr__(self):
29434
    L = ['%s=%r' % (key, value)
29435
      for key, value in self.__dict__.iteritems()]
29436
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29437
 
29438
  def __eq__(self, other):
29439
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29440
 
29441
  def __ne__(self, other):
29442
    return not (self == other)
29443
 
11015 kshitij.so 29444
class getMarketplaceHistory_result:
10909 vikram.rag 29445
  """
29446
  Attributes:
29447
   - success
29448
  """
29449
 
29450
  thrift_spec = (
11015 kshitij.so 29451
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
10909 vikram.rag 29452
  )
29453
 
29454
  def __init__(self, success=None,):
29455
    self.success = success
29456
 
29457
  def read(self, iprot):
29458
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29459
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29460
      return
29461
    iprot.readStructBegin()
29462
    while True:
29463
      (fname, ftype, fid) = iprot.readFieldBegin()
29464
      if ftype == TType.STOP:
29465
        break
29466
      if fid == 0:
29467
        if ftype == TType.LIST:
29468
          self.success = []
13493 amit.gupta 29469
          (_etype648, _size645) = iprot.readListBegin()
29470
          for _i649 in xrange(_size645):
29471
            _elem650 = MarketplaceHistory()
29472
            _elem650.read(iprot)
29473
            self.success.append(_elem650)
10909 vikram.rag 29474
          iprot.readListEnd()
29475
        else:
29476
          iprot.skip(ftype)
29477
      else:
29478
        iprot.skip(ftype)
29479
      iprot.readFieldEnd()
29480
    iprot.readStructEnd()
29481
 
29482
  def write(self, oprot):
29483
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29484
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29485
      return
11015 kshitij.so 29486
    oprot.writeStructBegin('getMarketplaceHistory_result')
10909 vikram.rag 29487
    if self.success is not None:
29488
      oprot.writeFieldBegin('success', TType.LIST, 0)
29489
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29490
      for iter651 in self.success:
29491
        iter651.write(oprot)
10909 vikram.rag 29492
      oprot.writeListEnd()
29493
      oprot.writeFieldEnd()
29494
    oprot.writeFieldStop()
29495
    oprot.writeStructEnd()
29496
 
29497
  def validate(self):
29498
    return
29499
 
29500
 
29501
  def __repr__(self):
29502
    L = ['%s=%r' % (key, value)
29503
      for key, value in self.__dict__.iteritems()]
29504
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29505
 
29506
  def __eq__(self, other):
29507
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29508
 
29509
  def __ne__(self, other):
29510
    return not (self == other)
10924 vikram.rag 29511
 
11015 kshitij.so 29512
class getAllFbbListedItems_args:
10924 vikram.rag 29513
 
29514
  thrift_spec = (
29515
  )
29516
 
29517
  def read(self, iprot):
29518
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29519
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29520
      return
29521
    iprot.readStructBegin()
29522
    while True:
29523
      (fname, ftype, fid) = iprot.readFieldBegin()
29524
      if ftype == TType.STOP:
29525
        break
29526
      else:
29527
        iprot.skip(ftype)
29528
      iprot.readFieldEnd()
29529
    iprot.readStructEnd()
29530
 
29531
  def write(self, oprot):
29532
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29533
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29534
      return
11015 kshitij.so 29535
    oprot.writeStructBegin('getAllFbbListedItems_args')
10924 vikram.rag 29536
    oprot.writeFieldStop()
29537
    oprot.writeStructEnd()
29538
 
29539
  def validate(self):
29540
    return
29541
 
29542
 
29543
  def __repr__(self):
29544
    L = ['%s=%r' % (key, value)
29545
      for key, value in self.__dict__.iteritems()]
29546
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29547
 
29548
  def __eq__(self, other):
29549
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29550
 
29551
  def __ne__(self, other):
29552
    return not (self == other)
29553
 
11015 kshitij.so 29554
class getAllFbbListedItems_result:
10924 vikram.rag 29555
  """
29556
  Attributes:
29557
   - success
29558
  """
29559
 
29560
  thrift_spec = (
29561
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
29562
  )
29563
 
29564
  def __init__(self, success=None,):
29565
    self.success = success
29566
 
29567
  def read(self, iprot):
29568
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29569
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29570
      return
29571
    iprot.readStructBegin()
29572
    while True:
29573
      (fname, ftype, fid) = iprot.readFieldBegin()
29574
      if ftype == TType.STOP:
29575
        break
29576
      if fid == 0:
29577
        if ftype == TType.LIST:
29578
          self.success = []
13493 amit.gupta 29579
          (_etype655, _size652) = iprot.readListBegin()
29580
          for _i656 in xrange(_size652):
29581
            _elem657 = Amazonlisted()
29582
            _elem657.read(iprot)
29583
            self.success.append(_elem657)
10924 vikram.rag 29584
          iprot.readListEnd()
29585
        else:
29586
          iprot.skip(ftype)
29587
      else:
29588
        iprot.skip(ftype)
29589
      iprot.readFieldEnd()
29590
    iprot.readStructEnd()
29591
 
29592
  def write(self, oprot):
29593
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29594
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29595
      return
11015 kshitij.so 29596
    oprot.writeStructBegin('getAllFbbListedItems_result')
10924 vikram.rag 29597
    if self.success is not None:
29598
      oprot.writeFieldBegin('success', TType.LIST, 0)
29599
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29600
      for iter658 in self.success:
29601
        iter658.write(oprot)
10924 vikram.rag 29602
      oprot.writeListEnd()
29603
      oprot.writeFieldEnd()
29604
    oprot.writeFieldStop()
29605
    oprot.writeStructEnd()
29606
 
29607
  def validate(self):
29608
    return
29609
 
29610
 
29611
  def __repr__(self):
29612
    L = ['%s=%r' % (key, value)
29613
      for key, value in self.__dict__.iteritems()]
29614
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29615
 
29616
  def __eq__(self, other):
29617
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29618
 
29619
  def __ne__(self, other):
29620
    return not (self == other)
11015 kshitij.so 29621
 
29622
class getAllFbbPricingItems_args:
29623
 
29624
  thrift_spec = (
29625
  )
29626
 
29627
  def read(self, iprot):
29628
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29629
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29630
      return
29631
    iprot.readStructBegin()
29632
    while True:
29633
      (fname, ftype, fid) = iprot.readFieldBegin()
29634
      if ftype == TType.STOP:
29635
        break
29636
      else:
29637
        iprot.skip(ftype)
29638
      iprot.readFieldEnd()
29639
    iprot.readStructEnd()
29640
 
29641
  def write(self, oprot):
29642
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29643
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29644
      return
29645
    oprot.writeStructBegin('getAllFbbPricingItems_args')
29646
    oprot.writeFieldStop()
29647
    oprot.writeStructEnd()
29648
 
29649
  def validate(self):
29650
    return
29651
 
29652
 
29653
  def __repr__(self):
29654
    L = ['%s=%r' % (key, value)
29655
      for key, value in self.__dict__.iteritems()]
29656
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29657
 
29658
  def __eq__(self, other):
29659
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29660
 
29661
  def __ne__(self, other):
29662
    return not (self == other)
29663
 
29664
class getAllFbbPricingItems_result:
29665
  """
29666
  Attributes:
29667
   - success
29668
  """
29669
 
29670
  thrift_spec = (
29671
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
29672
  )
29673
 
29674
  def __init__(self, success=None,):
29675
    self.success = success
29676
 
29677
  def read(self, iprot):
29678
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29679
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29680
      return
29681
    iprot.readStructBegin()
29682
    while True:
29683
      (fname, ftype, fid) = iprot.readFieldBegin()
29684
      if ftype == TType.STOP:
29685
        break
29686
      if fid == 0:
29687
        if ftype == TType.LIST:
29688
          self.success = []
13493 amit.gupta 29689
          (_etype662, _size659) = iprot.readListBegin()
29690
          for _i663 in xrange(_size659):
29691
            _elem664 = Amazonlisted()
29692
            _elem664.read(iprot)
29693
            self.success.append(_elem664)
11015 kshitij.so 29694
          iprot.readListEnd()
29695
        else:
29696
          iprot.skip(ftype)
29697
      else:
29698
        iprot.skip(ftype)
29699
      iprot.readFieldEnd()
29700
    iprot.readStructEnd()
29701
 
29702
  def write(self, oprot):
29703
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29704
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29705
      return
29706
    oprot.writeStructBegin('getAllFbbPricingItems_result')
29707
    if self.success is not None:
29708
      oprot.writeFieldBegin('success', TType.LIST, 0)
29709
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 29710
      for iter665 in self.success:
29711
        iter665.write(oprot)
11015 kshitij.so 29712
      oprot.writeListEnd()
29713
      oprot.writeFieldEnd()
29714
    oprot.writeFieldStop()
29715
    oprot.writeStructEnd()
29716
 
29717
  def validate(self):
29718
    return
29719
 
29720
 
29721
  def __repr__(self):
29722
    L = ['%s=%r' % (key, value)
29723
      for key, value in self.__dict__.iteritems()]
29724
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29725
 
29726
  def __eq__(self, other):
29727
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29728
 
29729
  def __ne__(self, other):
29730
    return not (self == other)
29731
 
29732
class getCountForMarketplaceHistory_args:
29733
  """
29734
  Attributes:
29735
   - source
29736
   - itemId
29737
  """
29738
 
29739
  thrift_spec = (
29740
    None, # 0
29741
    (1, TType.I64, 'source', None, None, ), # 1
29742
    (2, TType.I64, 'itemId', None, None, ), # 2
29743
  )
29744
 
29745
  def __init__(self, source=None, itemId=None,):
29746
    self.source = source
29747
    self.itemId = itemId
29748
 
29749
  def read(self, iprot):
29750
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29751
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29752
      return
29753
    iprot.readStructBegin()
29754
    while True:
29755
      (fname, ftype, fid) = iprot.readFieldBegin()
29756
      if ftype == TType.STOP:
29757
        break
29758
      if fid == 1:
29759
        if ftype == TType.I64:
29760
          self.source = iprot.readI64();
29761
        else:
29762
          iprot.skip(ftype)
29763
      elif fid == 2:
29764
        if ftype == TType.I64:
29765
          self.itemId = iprot.readI64();
29766
        else:
29767
          iprot.skip(ftype)
29768
      else:
29769
        iprot.skip(ftype)
29770
      iprot.readFieldEnd()
29771
    iprot.readStructEnd()
29772
 
29773
  def write(self, oprot):
29774
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29775
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29776
      return
29777
    oprot.writeStructBegin('getCountForMarketplaceHistory_args')
29778
    if self.source is not None:
29779
      oprot.writeFieldBegin('source', TType.I64, 1)
29780
      oprot.writeI64(self.source)
29781
      oprot.writeFieldEnd()
29782
    if self.itemId is not None:
29783
      oprot.writeFieldBegin('itemId', TType.I64, 2)
29784
      oprot.writeI64(self.itemId)
29785
      oprot.writeFieldEnd()
29786
    oprot.writeFieldStop()
29787
    oprot.writeStructEnd()
29788
 
29789
  def validate(self):
29790
    return
29791
 
29792
 
29793
  def __repr__(self):
29794
    L = ['%s=%r' % (key, value)
29795
      for key, value in self.__dict__.iteritems()]
29796
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29797
 
29798
  def __eq__(self, other):
29799
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29800
 
29801
  def __ne__(self, other):
29802
    return not (self == other)
29803
 
29804
class getCountForMarketplaceHistory_result:
29805
  """
29806
  Attributes:
29807
   - success
29808
  """
29809
 
29810
  thrift_spec = (
29811
    (0, TType.I64, 'success', None, None, ), # 0
29812
  )
29813
 
29814
  def __init__(self, success=None,):
29815
    self.success = success
29816
 
29817
  def read(self, iprot):
29818
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29819
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29820
      return
29821
    iprot.readStructBegin()
29822
    while True:
29823
      (fname, ftype, fid) = iprot.readFieldBegin()
29824
      if ftype == TType.STOP:
29825
        break
29826
      if fid == 0:
29827
        if ftype == TType.I64:
29828
          self.success = iprot.readI64();
29829
        else:
29830
          iprot.skip(ftype)
29831
      else:
29832
        iprot.skip(ftype)
29833
      iprot.readFieldEnd()
29834
    iprot.readStructEnd()
29835
 
29836
  def write(self, oprot):
29837
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29838
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29839
      return
29840
    oprot.writeStructBegin('getCountForMarketplaceHistory_result')
29841
    if self.success is not None:
29842
      oprot.writeFieldBegin('success', TType.I64, 0)
29843
      oprot.writeI64(self.success)
29844
      oprot.writeFieldEnd()
29845
    oprot.writeFieldStop()
29846
    oprot.writeStructEnd()
29847
 
29848
  def validate(self):
29849
    return
29850
 
29851
 
29852
  def __repr__(self):
29853
    L = ['%s=%r' % (key, value)
29854
      for key, value in self.__dict__.iteritems()]
29855
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29856
 
29857
  def __eq__(self, other):
29858
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29859
 
29860
  def __ne__(self, other):
29861
    return not (self == other)
29862
 
29863
class getMarketplaceHistoryByDate_args:
29864
  """
29865
  Attributes:
29866
   - source
29867
   - startDate
29868
   - endDate
29869
   - offset
29870
   - limit
29871
   - itemId
29872
  """
29873
 
29874
  thrift_spec = (
29875
    None, # 0
29876
    (1, TType.I64, 'source', None, None, ), # 1
29877
    (2, TType.I64, 'startDate', None, None, ), # 2
29878
    (3, TType.I64, 'endDate', None, None, ), # 3
29879
    (4, TType.I64, 'offset', None, None, ), # 4
29880
    (5, TType.I64, 'limit', None, None, ), # 5
29881
    (6, TType.I64, 'itemId', None, None, ), # 6
29882
  )
29883
 
29884
  def __init__(self, source=None, startDate=None, endDate=None, offset=None, limit=None, itemId=None,):
29885
    self.source = source
29886
    self.startDate = startDate
29887
    self.endDate = endDate
29888
    self.offset = offset
29889
    self.limit = limit
29890
    self.itemId = itemId
29891
 
29892
  def read(self, iprot):
29893
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29894
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29895
      return
29896
    iprot.readStructBegin()
29897
    while True:
29898
      (fname, ftype, fid) = iprot.readFieldBegin()
29899
      if ftype == TType.STOP:
29900
        break
29901
      if fid == 1:
29902
        if ftype == TType.I64:
29903
          self.source = iprot.readI64();
29904
        else:
29905
          iprot.skip(ftype)
29906
      elif fid == 2:
29907
        if ftype == TType.I64:
29908
          self.startDate = iprot.readI64();
29909
        else:
29910
          iprot.skip(ftype)
29911
      elif fid == 3:
29912
        if ftype == TType.I64:
29913
          self.endDate = iprot.readI64();
29914
        else:
29915
          iprot.skip(ftype)
29916
      elif fid == 4:
29917
        if ftype == TType.I64:
29918
          self.offset = iprot.readI64();
29919
        else:
29920
          iprot.skip(ftype)
29921
      elif fid == 5:
29922
        if ftype == TType.I64:
29923
          self.limit = iprot.readI64();
29924
        else:
29925
          iprot.skip(ftype)
29926
      elif fid == 6:
29927
        if ftype == TType.I64:
29928
          self.itemId = iprot.readI64();
29929
        else:
29930
          iprot.skip(ftype)
29931
      else:
29932
        iprot.skip(ftype)
29933
      iprot.readFieldEnd()
29934
    iprot.readStructEnd()
29935
 
29936
  def write(self, oprot):
29937
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29938
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29939
      return
29940
    oprot.writeStructBegin('getMarketplaceHistoryByDate_args')
29941
    if self.source is not None:
29942
      oprot.writeFieldBegin('source', TType.I64, 1)
29943
      oprot.writeI64(self.source)
29944
      oprot.writeFieldEnd()
29945
    if self.startDate is not None:
29946
      oprot.writeFieldBegin('startDate', TType.I64, 2)
29947
      oprot.writeI64(self.startDate)
29948
      oprot.writeFieldEnd()
29949
    if self.endDate is not None:
29950
      oprot.writeFieldBegin('endDate', TType.I64, 3)
29951
      oprot.writeI64(self.endDate)
29952
      oprot.writeFieldEnd()
29953
    if self.offset is not None:
29954
      oprot.writeFieldBegin('offset', TType.I64, 4)
29955
      oprot.writeI64(self.offset)
29956
      oprot.writeFieldEnd()
29957
    if self.limit is not None:
29958
      oprot.writeFieldBegin('limit', TType.I64, 5)
29959
      oprot.writeI64(self.limit)
29960
      oprot.writeFieldEnd()
29961
    if self.itemId is not None:
29962
      oprot.writeFieldBegin('itemId', TType.I64, 6)
29963
      oprot.writeI64(self.itemId)
29964
      oprot.writeFieldEnd()
29965
    oprot.writeFieldStop()
29966
    oprot.writeStructEnd()
29967
 
29968
  def validate(self):
29969
    return
29970
 
29971
 
29972
  def __repr__(self):
29973
    L = ['%s=%r' % (key, value)
29974
      for key, value in self.__dict__.iteritems()]
29975
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29976
 
29977
  def __eq__(self, other):
29978
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29979
 
29980
  def __ne__(self, other):
29981
    return not (self == other)
29982
 
29983
class getMarketplaceHistoryByDate_result:
29984
  """
29985
  Attributes:
29986
   - success
29987
  """
29988
 
29989
  thrift_spec = (
29990
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
29991
  )
29992
 
29993
  def __init__(self, success=None,):
29994
    self.success = success
29995
 
29996
  def read(self, iprot):
29997
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29998
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29999
      return
30000
    iprot.readStructBegin()
30001
    while True:
30002
      (fname, ftype, fid) = iprot.readFieldBegin()
30003
      if ftype == TType.STOP:
30004
        break
30005
      if fid == 0:
30006
        if ftype == TType.LIST:
30007
          self.success = []
13493 amit.gupta 30008
          (_etype669, _size666) = iprot.readListBegin()
30009
          for _i670 in xrange(_size666):
30010
            _elem671 = MarketplaceHistory()
30011
            _elem671.read(iprot)
30012
            self.success.append(_elem671)
11015 kshitij.so 30013
          iprot.readListEnd()
30014
        else:
30015
          iprot.skip(ftype)
30016
      else:
30017
        iprot.skip(ftype)
30018
      iprot.readFieldEnd()
30019
    iprot.readStructEnd()
30020
 
30021
  def write(self, oprot):
30022
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30023
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30024
      return
30025
    oprot.writeStructBegin('getMarketplaceHistoryByDate_result')
30026
    if self.success is not None:
30027
      oprot.writeFieldBegin('success', TType.LIST, 0)
30028
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 30029
      for iter672 in self.success:
30030
        iter672.write(oprot)
11015 kshitij.so 30031
      oprot.writeListEnd()
30032
      oprot.writeFieldEnd()
30033
    oprot.writeFieldStop()
30034
    oprot.writeStructEnd()
30035
 
30036
  def validate(self):
30037
    return
30038
 
30039
 
30040
  def __repr__(self):
30041
    L = ['%s=%r' % (key, value)
30042
      for key, value in self.__dict__.iteritems()]
30043
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30044
 
30045
  def __eq__(self, other):
30046
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30047
 
30048
  def __ne__(self, other):
30049
    return not (self == other)
11531 vikram.rag 30050
 
30051
class getPrivateDealDetails_args:
30052
  """
30053
  Attributes:
30054
   - item_id
30055
  """
30056
 
30057
  thrift_spec = (
30058
    None, # 0
30059
    (1, TType.I64, 'item_id', None, None, ), # 1
30060
  )
30061
 
30062
  def __init__(self, item_id=None,):
30063
    self.item_id = item_id
30064
 
30065
  def read(self, iprot):
30066
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30067
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30068
      return
30069
    iprot.readStructBegin()
30070
    while True:
30071
      (fname, ftype, fid) = iprot.readFieldBegin()
30072
      if ftype == TType.STOP:
30073
        break
30074
      if fid == 1:
30075
        if ftype == TType.I64:
30076
          self.item_id = iprot.readI64();
30077
        else:
30078
          iprot.skip(ftype)
30079
      else:
30080
        iprot.skip(ftype)
30081
      iprot.readFieldEnd()
30082
    iprot.readStructEnd()
30083
 
30084
  def write(self, oprot):
30085
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30086
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30087
      return
30088
    oprot.writeStructBegin('getPrivateDealDetails_args')
30089
    if self.item_id is not None:
30090
      oprot.writeFieldBegin('item_id', TType.I64, 1)
30091
      oprot.writeI64(self.item_id)
30092
      oprot.writeFieldEnd()
30093
    oprot.writeFieldStop()
30094
    oprot.writeStructEnd()
30095
 
30096
  def validate(self):
30097
    return
30098
 
30099
 
30100
  def __repr__(self):
30101
    L = ['%s=%r' % (key, value)
30102
      for key, value in self.__dict__.iteritems()]
30103
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30104
 
30105
  def __eq__(self, other):
30106
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30107
 
30108
  def __ne__(self, other):
30109
    return not (self == other)
30110
 
30111
class getPrivateDealDetails_result:
30112
  """
30113
  Attributes:
30114
   - success
30115
  """
30116
 
30117
  thrift_spec = (
30118
    (0, TType.STRUCT, 'success', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 0
30119
  )
30120
 
30121
  def __init__(self, success=None,):
30122
    self.success = success
30123
 
30124
  def read(self, iprot):
30125
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30126
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30127
      return
30128
    iprot.readStructBegin()
30129
    while True:
30130
      (fname, ftype, fid) = iprot.readFieldBegin()
30131
      if ftype == TType.STOP:
30132
        break
30133
      if fid == 0:
30134
        if ftype == TType.STRUCT:
30135
          self.success = PrivateDeal()
30136
          self.success.read(iprot)
30137
        else:
30138
          iprot.skip(ftype)
30139
      else:
30140
        iprot.skip(ftype)
30141
      iprot.readFieldEnd()
30142
    iprot.readStructEnd()
30143
 
30144
  def write(self, oprot):
30145
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30146
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30147
      return
30148
    oprot.writeStructBegin('getPrivateDealDetails_result')
30149
    if self.success is not None:
30150
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
30151
      self.success.write(oprot)
30152
      oprot.writeFieldEnd()
30153
    oprot.writeFieldStop()
30154
    oprot.writeStructEnd()
30155
 
30156
  def validate(self):
30157
    return
30158
 
30159
 
30160
  def __repr__(self):
30161
    L = ['%s=%r' % (key, value)
30162
      for key, value in self.__dict__.iteritems()]
30163
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30164
 
30165
  def __eq__(self, other):
30166
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30167
 
30168
  def __ne__(self, other):
30169
    return not (self == other)
30170
 
30171
class getPrivateDealItems_args:
30172
  """
30173
  Attributes:
30174
   - offset
30175
   - limit
30176
  """
30177
 
30178
  thrift_spec = (
30179
    None, # 0
30180
    (1, TType.I64, 'offset', None, None, ), # 1
30181
    (2, TType.I64, 'limit', None, None, ), # 2
30182
  )
30183
 
30184
  def __init__(self, offset=None, limit=None,):
30185
    self.offset = offset
30186
    self.limit = limit
30187
 
30188
  def read(self, iprot):
30189
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30190
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30191
      return
30192
    iprot.readStructBegin()
30193
    while True:
30194
      (fname, ftype, fid) = iprot.readFieldBegin()
30195
      if ftype == TType.STOP:
30196
        break
30197
      if fid == 1:
30198
        if ftype == TType.I64:
30199
          self.offset = iprot.readI64();
30200
        else:
30201
          iprot.skip(ftype)
30202
      elif fid == 2:
30203
        if ftype == TType.I64:
30204
          self.limit = iprot.readI64();
30205
        else:
30206
          iprot.skip(ftype)
30207
      else:
30208
        iprot.skip(ftype)
30209
      iprot.readFieldEnd()
30210
    iprot.readStructEnd()
30211
 
30212
  def write(self, oprot):
30213
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30214
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30215
      return
30216
    oprot.writeStructBegin('getPrivateDealItems_args')
30217
    if self.offset is not None:
30218
      oprot.writeFieldBegin('offset', TType.I64, 1)
30219
      oprot.writeI64(self.offset)
30220
      oprot.writeFieldEnd()
30221
    if self.limit is not None:
30222
      oprot.writeFieldBegin('limit', TType.I64, 2)
30223
      oprot.writeI64(self.limit)
30224
      oprot.writeFieldEnd()
30225
    oprot.writeFieldStop()
30226
    oprot.writeStructEnd()
30227
 
30228
  def validate(self):
30229
    return
30230
 
30231
 
30232
  def __repr__(self):
30233
    L = ['%s=%r' % (key, value)
30234
      for key, value in self.__dict__.iteritems()]
30235
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30236
 
30237
  def __eq__(self, other):
30238
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30239
 
30240
  def __ne__(self, other):
30241
    return not (self == other)
30242
 
30243
class getPrivateDealItems_result:
30244
  """
30245
  Attributes:
30246
   - success
30247
  """
30248
 
30249
  thrift_spec = (
30250
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
30251
  )
30252
 
30253
  def __init__(self, success=None,):
30254
    self.success = success
30255
 
30256
  def read(self, iprot):
30257
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30258
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30259
      return
30260
    iprot.readStructBegin()
30261
    while True:
30262
      (fname, ftype, fid) = iprot.readFieldBegin()
30263
      if ftype == TType.STOP:
30264
        break
30265
      if fid == 0:
30266
        if ftype == TType.LIST:
30267
          self.success = []
13493 amit.gupta 30268
          (_etype676, _size673) = iprot.readListBegin()
30269
          for _i677 in xrange(_size673):
30270
            _elem678 = Item()
30271
            _elem678.read(iprot)
30272
            self.success.append(_elem678)
11531 vikram.rag 30273
          iprot.readListEnd()
30274
        else:
30275
          iprot.skip(ftype)
30276
      else:
30277
        iprot.skip(ftype)
30278
      iprot.readFieldEnd()
30279
    iprot.readStructEnd()
30280
 
30281
  def write(self, oprot):
30282
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30283
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30284
      return
30285
    oprot.writeStructBegin('getPrivateDealItems_result')
30286
    if self.success is not None:
30287
      oprot.writeFieldBegin('success', TType.LIST, 0)
30288
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 30289
      for iter679 in self.success:
30290
        iter679.write(oprot)
11531 vikram.rag 30291
      oprot.writeListEnd()
30292
      oprot.writeFieldEnd()
30293
    oprot.writeFieldStop()
30294
    oprot.writeStructEnd()
30295
 
30296
  def validate(self):
30297
    return
30298
 
30299
 
30300
  def __repr__(self):
30301
    L = ['%s=%r' % (key, value)
30302
      for key, value in self.__dict__.iteritems()]
30303
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30304
 
30305
  def __eq__(self, other):
30306
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30307
 
30308
  def __ne__(self, other):
30309
    return not (self == other)
30310
 
11592 amit.gupta 30311
class getAllActivePrivateDeals_args:
11653 amit.gupta 30312
  """
30313
  Attributes:
30314
   - itemIds
30315
   - daysDelta
30316
  """
11592 amit.gupta 30317
 
30318
  thrift_spec = (
11653 amit.gupta 30319
    None, # 0
30320
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
30321
    (2, TType.I64, 'daysDelta', None, None, ), # 2
11592 amit.gupta 30322
  )
30323
 
11653 amit.gupta 30324
  def __init__(self, itemIds=None, daysDelta=None,):
30325
    self.itemIds = itemIds
30326
    self.daysDelta = daysDelta
30327
 
11592 amit.gupta 30328
  def read(self, iprot):
30329
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30330
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30331
      return
30332
    iprot.readStructBegin()
30333
    while True:
30334
      (fname, ftype, fid) = iprot.readFieldBegin()
30335
      if ftype == TType.STOP:
30336
        break
11653 amit.gupta 30337
      if fid == 1:
30338
        if ftype == TType.LIST:
30339
          self.itemIds = []
13493 amit.gupta 30340
          (_etype683, _size680) = iprot.readListBegin()
30341
          for _i684 in xrange(_size680):
30342
            _elem685 = iprot.readI64();
30343
            self.itemIds.append(_elem685)
11653 amit.gupta 30344
          iprot.readListEnd()
30345
        else:
30346
          iprot.skip(ftype)
30347
      elif fid == 2:
30348
        if ftype == TType.I64:
30349
          self.daysDelta = iprot.readI64();
30350
        else:
30351
          iprot.skip(ftype)
11592 amit.gupta 30352
      else:
30353
        iprot.skip(ftype)
30354
      iprot.readFieldEnd()
30355
    iprot.readStructEnd()
30356
 
30357
  def write(self, oprot):
30358
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30359
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30360
      return
30361
    oprot.writeStructBegin('getAllActivePrivateDeals_args')
11653 amit.gupta 30362
    if self.itemIds is not None:
30363
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
30364
      oprot.writeListBegin(TType.I64, len(self.itemIds))
13493 amit.gupta 30365
      for iter686 in self.itemIds:
30366
        oprot.writeI64(iter686)
11653 amit.gupta 30367
      oprot.writeListEnd()
30368
      oprot.writeFieldEnd()
30369
    if self.daysDelta is not None:
30370
      oprot.writeFieldBegin('daysDelta', TType.I64, 2)
30371
      oprot.writeI64(self.daysDelta)
30372
      oprot.writeFieldEnd()
11592 amit.gupta 30373
    oprot.writeFieldStop()
30374
    oprot.writeStructEnd()
30375
 
30376
  def validate(self):
30377
    return
30378
 
30379
 
30380
  def __repr__(self):
30381
    L = ['%s=%r' % (key, value)
30382
      for key, value in self.__dict__.iteritems()]
30383
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30384
 
30385
  def __eq__(self, other):
30386
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30387
 
30388
  def __ne__(self, other):
30389
    return not (self == other)
30390
 
30391
class getAllActivePrivateDeals_result:
30392
  """
30393
  Attributes:
30394
   - success
30395
  """
30396
 
30397
  thrift_spec = (
30398
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(PrivateDeal, PrivateDeal.thrift_spec)), None, ), # 0
30399
  )
30400
 
30401
  def __init__(self, success=None,):
30402
    self.success = success
30403
 
30404
  def read(self, iprot):
30405
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30406
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30407
      return
30408
    iprot.readStructBegin()
30409
    while True:
30410
      (fname, ftype, fid) = iprot.readFieldBegin()
30411
      if ftype == TType.STOP:
30412
        break
30413
      if fid == 0:
30414
        if ftype == TType.MAP:
30415
          self.success = {}
13493 amit.gupta 30416
          (_ktype688, _vtype689, _size687 ) = iprot.readMapBegin() 
30417
          for _i691 in xrange(_size687):
30418
            _key692 = iprot.readI64();
30419
            _val693 = PrivateDeal()
30420
            _val693.read(iprot)
30421
            self.success[_key692] = _val693
11592 amit.gupta 30422
          iprot.readMapEnd()
30423
        else:
30424
          iprot.skip(ftype)
30425
      else:
30426
        iprot.skip(ftype)
30427
      iprot.readFieldEnd()
30428
    iprot.readStructEnd()
30429
 
30430
  def write(self, oprot):
30431
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30432
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30433
      return
30434
    oprot.writeStructBegin('getAllActivePrivateDeals_result')
30435
    if self.success is not None:
30436
      oprot.writeFieldBegin('success', TType.MAP, 0)
30437
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
13493 amit.gupta 30438
      for kiter694,viter695 in self.success.items():
30439
        oprot.writeI64(kiter694)
30440
        viter695.write(oprot)
11592 amit.gupta 30441
      oprot.writeMapEnd()
30442
      oprot.writeFieldEnd()
30443
    oprot.writeFieldStop()
30444
    oprot.writeStructEnd()
30445
 
30446
  def validate(self):
30447
    return
30448
 
30449
 
30450
  def __repr__(self):
30451
    L = ['%s=%r' % (key, value)
30452
      for key, value in self.__dict__.iteritems()]
30453
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30454
 
30455
  def __eq__(self, other):
30456
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30457
 
30458
  def __ne__(self, other):
30459
    return not (self == other)
30460
 
11531 vikram.rag 30461
class addOrUpdatePrivateDeal_args:
30462
  """
30463
  Attributes:
30464
   - privateDeal
30465
  """
30466
 
30467
  thrift_spec = (
30468
    None, # 0
30469
    (1, TType.STRUCT, 'privateDeal', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 1
30470
  )
30471
 
30472
  def __init__(self, privateDeal=None,):
30473
    self.privateDeal = privateDeal
30474
 
30475
  def read(self, iprot):
30476
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30477
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30478
      return
30479
    iprot.readStructBegin()
30480
    while True:
30481
      (fname, ftype, fid) = iprot.readFieldBegin()
30482
      if ftype == TType.STOP:
30483
        break
30484
      if fid == 1:
30485
        if ftype == TType.STRUCT:
30486
          self.privateDeal = PrivateDeal()
30487
          self.privateDeal.read(iprot)
30488
        else:
30489
          iprot.skip(ftype)
30490
      else:
30491
        iprot.skip(ftype)
30492
      iprot.readFieldEnd()
30493
    iprot.readStructEnd()
30494
 
30495
  def write(self, oprot):
30496
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30497
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30498
      return
30499
    oprot.writeStructBegin('addOrUpdatePrivateDeal_args')
30500
    if self.privateDeal is not None:
30501
      oprot.writeFieldBegin('privateDeal', TType.STRUCT, 1)
30502
      self.privateDeal.write(oprot)
30503
      oprot.writeFieldEnd()
30504
    oprot.writeFieldStop()
30505
    oprot.writeStructEnd()
30506
 
30507
  def validate(self):
30508
    return
30509
 
30510
 
30511
  def __repr__(self):
30512
    L = ['%s=%r' % (key, value)
30513
      for key, value in self.__dict__.iteritems()]
30514
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30515
 
30516
  def __eq__(self, other):
30517
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30518
 
30519
  def __ne__(self, other):
30520
    return not (self == other)
30521
 
30522
class addOrUpdatePrivateDeal_result:
30523
  """
30524
  Attributes:
30525
   - success
30526
  """
30527
 
30528
  thrift_spec = (
30529
    (0, TType.BOOL, 'success', None, None, ), # 0
30530
  )
30531
 
30532
  def __init__(self, success=None,):
30533
    self.success = success
30534
 
30535
  def read(self, iprot):
30536
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30537
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30538
      return
30539
    iprot.readStructBegin()
30540
    while True:
30541
      (fname, ftype, fid) = iprot.readFieldBegin()
30542
      if ftype == TType.STOP:
30543
        break
30544
      if fid == 0:
30545
        if ftype == TType.BOOL:
30546
          self.success = iprot.readBool();
30547
        else:
30548
          iprot.skip(ftype)
30549
      else:
30550
        iprot.skip(ftype)
30551
      iprot.readFieldEnd()
30552
    iprot.readStructEnd()
30553
 
30554
  def write(self, oprot):
30555
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30556
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30557
      return
30558
    oprot.writeStructBegin('addOrUpdatePrivateDeal_result')
30559
    if self.success is not None:
30560
      oprot.writeFieldBegin('success', TType.BOOL, 0)
30561
      oprot.writeBool(self.success)
30562
      oprot.writeFieldEnd()
30563
    oprot.writeFieldStop()
30564
    oprot.writeStructEnd()
30565
 
30566
  def validate(self):
30567
    return
30568
 
30569
 
30570
  def __repr__(self):
30571
    L = ['%s=%r' % (key, value)
30572
      for key, value in self.__dict__.iteritems()]
30573
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30574
 
30575
  def __eq__(self, other):
30576
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30577
 
30578
  def __ne__(self, other):
30579
    return not (self == other)
11635 vikram.rag 30580
 
30581
class getPrivateDealsCatalogIds_args:
30582
  """
30583
  Attributes:
30584
   - beginIndex
30585
   - totalItems
30586
  """
30587
 
30588
  thrift_spec = (
30589
    None, # 0
30590
    (1, TType.I64, 'beginIndex', None, None, ), # 1
30591
    (2, TType.I64, 'totalItems', None, None, ), # 2
30592
  )
30593
 
30594
  def __init__(self, beginIndex=None, totalItems=None,):
30595
    self.beginIndex = beginIndex
30596
    self.totalItems = totalItems
30597
 
30598
  def read(self, iprot):
30599
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30600
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30601
      return
30602
    iprot.readStructBegin()
30603
    while True:
30604
      (fname, ftype, fid) = iprot.readFieldBegin()
30605
      if ftype == TType.STOP:
30606
        break
30607
      if fid == 1:
30608
        if ftype == TType.I64:
30609
          self.beginIndex = iprot.readI64();
30610
        else:
30611
          iprot.skip(ftype)
30612
      elif fid == 2:
30613
        if ftype == TType.I64:
30614
          self.totalItems = iprot.readI64();
30615
        else:
30616
          iprot.skip(ftype)
30617
      else:
30618
        iprot.skip(ftype)
30619
      iprot.readFieldEnd()
30620
    iprot.readStructEnd()
30621
 
30622
  def write(self, oprot):
30623
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30624
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30625
      return
30626
    oprot.writeStructBegin('getPrivateDealsCatalogIds_args')
30627
    if self.beginIndex is not None:
30628
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
30629
      oprot.writeI64(self.beginIndex)
30630
      oprot.writeFieldEnd()
30631
    if self.totalItems is not None:
30632
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
30633
      oprot.writeI64(self.totalItems)
30634
      oprot.writeFieldEnd()
30635
    oprot.writeFieldStop()
30636
    oprot.writeStructEnd()
30637
 
30638
  def validate(self):
30639
    return
30640
 
30641
 
30642
  def __repr__(self):
30643
    L = ['%s=%r' % (key, value)
30644
      for key, value in self.__dict__.iteritems()]
30645
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30646
 
30647
  def __eq__(self, other):
30648
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30649
 
30650
  def __ne__(self, other):
30651
    return not (self == other)
30652
 
30653
class getPrivateDealsCatalogIds_result:
30654
  """
30655
  Attributes:
30656
   - success
30657
   - cex
30658
  """
30659
 
30660
  thrift_spec = (
30661
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
30662
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
30663
  )
30664
 
30665
  def __init__(self, success=None, cex=None,):
30666
    self.success = success
30667
    self.cex = cex
30668
 
30669
  def read(self, iprot):
30670
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30671
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30672
      return
30673
    iprot.readStructBegin()
30674
    while True:
30675
      (fname, ftype, fid) = iprot.readFieldBegin()
30676
      if ftype == TType.STOP:
30677
        break
30678
      if fid == 0:
30679
        if ftype == TType.LIST:
30680
          self.success = []
13493 amit.gupta 30681
          (_etype699, _size696) = iprot.readListBegin()
30682
          for _i700 in xrange(_size696):
30683
            _elem701 = iprot.readI64();
30684
            self.success.append(_elem701)
11635 vikram.rag 30685
          iprot.readListEnd()
30686
        else:
30687
          iprot.skip(ftype)
30688
      elif fid == 1:
30689
        if ftype == TType.STRUCT:
30690
          self.cex = CatalogServiceException()
30691
          self.cex.read(iprot)
30692
        else:
30693
          iprot.skip(ftype)
30694
      else:
30695
        iprot.skip(ftype)
30696
      iprot.readFieldEnd()
30697
    iprot.readStructEnd()
30698
 
30699
  def write(self, oprot):
30700
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30701
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30702
      return
30703
    oprot.writeStructBegin('getPrivateDealsCatalogIds_result')
30704
    if self.success is not None:
30705
      oprot.writeFieldBegin('success', TType.LIST, 0)
30706
      oprot.writeListBegin(TType.I64, len(self.success))
13493 amit.gupta 30707
      for iter702 in self.success:
30708
        oprot.writeI64(iter702)
11635 vikram.rag 30709
      oprot.writeListEnd()
30710
      oprot.writeFieldEnd()
30711
    if self.cex is not None:
30712
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
30713
      self.cex.write(oprot)
30714
      oprot.writeFieldEnd()
30715
    oprot.writeFieldStop()
30716
    oprot.writeStructEnd()
30717
 
30718
  def validate(self):
30719
    return
30720
 
30721
 
30722
  def __repr__(self):
30723
    L = ['%s=%r' % (key, value)
30724
      for key, value in self.__dict__.iteritems()]
30725
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30726
 
30727
  def __eq__(self, other):
30728
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30729
 
30730
  def __ne__(self, other):
30731
    return not (self == other)
11645 amit.gupta 30732
 
30733
class getPrivateDealsCount_args:
30734
 
30735
  thrift_spec = (
30736
  )
30737
 
30738
  def read(self, iprot):
30739
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30740
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30741
      return
30742
    iprot.readStructBegin()
30743
    while True:
30744
      (fname, ftype, fid) = iprot.readFieldBegin()
30745
      if ftype == TType.STOP:
30746
        break
30747
      else:
30748
        iprot.skip(ftype)
30749
      iprot.readFieldEnd()
30750
    iprot.readStructEnd()
30751
 
30752
  def write(self, oprot):
30753
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30754
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30755
      return
30756
    oprot.writeStructBegin('getPrivateDealsCount_args')
30757
    oprot.writeFieldStop()
30758
    oprot.writeStructEnd()
30759
 
30760
  def validate(self):
30761
    return
30762
 
30763
 
30764
  def __repr__(self):
30765
    L = ['%s=%r' % (key, value)
30766
      for key, value in self.__dict__.iteritems()]
30767
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30768
 
30769
  def __eq__(self, other):
30770
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30771
 
30772
  def __ne__(self, other):
30773
    return not (self == other)
30774
 
30775
class getPrivateDealsCount_result:
30776
  """
30777
  Attributes:
30778
   - success
30779
  """
30780
 
30781
  thrift_spec = (
30782
    (0, TType.I32, 'success', None, None, ), # 0
30783
  )
30784
 
30785
  def __init__(self, success=None,):
30786
    self.success = success
30787
 
30788
  def read(self, iprot):
30789
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30790
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30791
      return
30792
    iprot.readStructBegin()
30793
    while True:
30794
      (fname, ftype, fid) = iprot.readFieldBegin()
30795
      if ftype == TType.STOP:
30796
        break
30797
      if fid == 0:
30798
        if ftype == TType.I32:
30799
          self.success = iprot.readI32();
30800
        else:
30801
          iprot.skip(ftype)
30802
      else:
30803
        iprot.skip(ftype)
30804
      iprot.readFieldEnd()
30805
    iprot.readStructEnd()
30806
 
30807
  def write(self, oprot):
30808
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30809
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30810
      return
30811
    oprot.writeStructBegin('getPrivateDealsCount_result')
30812
    if self.success is not None:
30813
      oprot.writeFieldBegin('success', TType.I32, 0)
30814
      oprot.writeI32(self.success)
30815
      oprot.writeFieldEnd()
30816
    oprot.writeFieldStop()
30817
    oprot.writeStructEnd()
30818
 
30819
  def validate(self):
30820
    return
30821
 
30822
 
30823
  def __repr__(self):
30824
    L = ['%s=%r' % (key, value)
30825
      for key, value in self.__dict__.iteritems()]
30826
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30827
 
30828
  def __eq__(self, other):
30829
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30830
 
30831
  def __ne__(self, other):
30832
    return not (self == other)
11905 kshitij.so 30833
 
30834
class getAmazonOutSyncItems_args:
30835
  """
30836
  Attributes:
30837
   - item_id
30838
  """
30839
 
30840
  thrift_spec = (
30841
    None, # 0
30842
    (1, TType.I64, 'item_id', None, None, ), # 1
30843
  )
30844
 
30845
  def __init__(self, item_id=None,):
30846
    self.item_id = item_id
30847
 
30848
  def read(self, iprot):
30849
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30850
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30851
      return
30852
    iprot.readStructBegin()
30853
    while True:
30854
      (fname, ftype, fid) = iprot.readFieldBegin()
30855
      if ftype == TType.STOP:
30856
        break
30857
      if fid == 1:
30858
        if ftype == TType.I64:
30859
          self.item_id = iprot.readI64();
30860
        else:
30861
          iprot.skip(ftype)
30862
      else:
30863
        iprot.skip(ftype)
30864
      iprot.readFieldEnd()
30865
    iprot.readStructEnd()
30866
 
30867
  def write(self, oprot):
30868
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30869
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30870
      return
30871
    oprot.writeStructBegin('getAmazonOutSyncItems_args')
30872
    if self.item_id is not None:
30873
      oprot.writeFieldBegin('item_id', TType.I64, 1)
30874
      oprot.writeI64(self.item_id)
30875
      oprot.writeFieldEnd()
30876
    oprot.writeFieldStop()
30877
    oprot.writeStructEnd()
30878
 
30879
  def validate(self):
30880
    return
30881
 
30882
 
30883
  def __repr__(self):
30884
    L = ['%s=%r' % (key, value)
30885
      for key, value in self.__dict__.iteritems()]
30886
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30887
 
30888
  def __eq__(self, other):
30889
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30890
 
30891
  def __ne__(self, other):
30892
    return not (self == other)
30893
 
30894
class getAmazonOutSyncItems_result:
30895
  """
30896
  Attributes:
30897
   - success
30898
  """
30899
 
30900
  thrift_spec = (
30901
    (0, TType.STRUCT, 'success', (AmazonOutOfSync, AmazonOutOfSync.thrift_spec), None, ), # 0
30902
  )
30903
 
30904
  def __init__(self, success=None,):
30905
    self.success = success
30906
 
30907
  def read(self, iprot):
30908
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30909
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30910
      return
30911
    iprot.readStructBegin()
30912
    while True:
30913
      (fname, ftype, fid) = iprot.readFieldBegin()
30914
      if ftype == TType.STOP:
30915
        break
30916
      if fid == 0:
30917
        if ftype == TType.STRUCT:
30918
          self.success = AmazonOutOfSync()
30919
          self.success.read(iprot)
30920
        else:
30921
          iprot.skip(ftype)
30922
      else:
30923
        iprot.skip(ftype)
30924
      iprot.readFieldEnd()
30925
    iprot.readStructEnd()
30926
 
30927
  def write(self, oprot):
30928
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30929
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30930
      return
30931
    oprot.writeStructBegin('getAmazonOutSyncItems_result')
30932
    if self.success is not None:
30933
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
30934
      self.success.write(oprot)
30935
      oprot.writeFieldEnd()
30936
    oprot.writeFieldStop()
30937
    oprot.writeStructEnd()
30938
 
30939
  def validate(self):
30940
    return
30941
 
30942
 
30943
  def __repr__(self):
30944
    L = ['%s=%r' % (key, value)
30945
      for key, value in self.__dict__.iteritems()]
30946
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30947
 
30948
  def __eq__(self, other):
30949
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30950
 
30951
  def __ne__(self, other):
30952
    return not (self == other)
30953
 
30954
class getAllPrivateDealsComparison_args:
30955
 
30956
  thrift_spec = (
30957
  )
30958
 
30959
  def read(self, iprot):
30960
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30961
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30962
      return
30963
    iprot.readStructBegin()
30964
    while True:
30965
      (fname, ftype, fid) = iprot.readFieldBegin()
30966
      if ftype == TType.STOP:
30967
        break
30968
      else:
30969
        iprot.skip(ftype)
30970
      iprot.readFieldEnd()
30971
    iprot.readStructEnd()
30972
 
30973
  def write(self, oprot):
30974
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30975
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30976
      return
30977
    oprot.writeStructBegin('getAllPrivateDealsComparison_args')
30978
    oprot.writeFieldStop()
30979
    oprot.writeStructEnd()
30980
 
30981
  def validate(self):
30982
    return
30983
 
30984
 
30985
  def __repr__(self):
30986
    L = ['%s=%r' % (key, value)
30987
      for key, value in self.__dict__.iteritems()]
30988
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30989
 
30990
  def __eq__(self, other):
30991
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30992
 
30993
  def __ne__(self, other):
30994
    return not (self == other)
30995
 
30996
class getAllPrivateDealsComparison_result:
30997
  """
30998
  Attributes:
30999
   - success
31000
  """
31001
 
31002
  thrift_spec = (
31003
    (0, TType.LIST, 'success', (TType.STRUCT,(PdPriceComp, PdPriceComp.thrift_spec)), None, ), # 0
31004
  )
31005
 
31006
  def __init__(self, success=None,):
31007
    self.success = success
31008
 
31009
  def read(self, iprot):
31010
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31011
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31012
      return
31013
    iprot.readStructBegin()
31014
    while True:
31015
      (fname, ftype, fid) = iprot.readFieldBegin()
31016
      if ftype == TType.STOP:
31017
        break
31018
      if fid == 0:
31019
        if ftype == TType.LIST:
31020
          self.success = []
13493 amit.gupta 31021
          (_etype706, _size703) = iprot.readListBegin()
31022
          for _i707 in xrange(_size703):
31023
            _elem708 = PdPriceComp()
31024
            _elem708.read(iprot)
31025
            self.success.append(_elem708)
11905 kshitij.so 31026
          iprot.readListEnd()
31027
        else:
31028
          iprot.skip(ftype)
31029
      else:
31030
        iprot.skip(ftype)
31031
      iprot.readFieldEnd()
31032
    iprot.readStructEnd()
31033
 
31034
  def write(self, oprot):
31035
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31036
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31037
      return
31038
    oprot.writeStructBegin('getAllPrivateDealsComparison_result')
31039
    if self.success is not None:
31040
      oprot.writeFieldBegin('success', TType.LIST, 0)
31041
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31042
      for iter709 in self.success:
31043
        iter709.write(oprot)
11905 kshitij.so 31044
      oprot.writeListEnd()
31045
      oprot.writeFieldEnd()
31046
    oprot.writeFieldStop()
31047
    oprot.writeStructEnd()
31048
 
31049
  def validate(self):
31050
    return
31051
 
31052
 
31053
  def __repr__(self):
31054
    L = ['%s=%r' % (key, value)
31055
      for key, value in self.__dict__.iteritems()]
31056
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31057
 
31058
  def __eq__(self, other):
31059
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31060
 
31061
  def __ne__(self, other):
31062
    return not (self == other)
12133 kshitij.so 31063
 
31064
class getAllSnapdealMarketplaceItem_args:
31065
 
31066
  thrift_spec = (
31067
  )
31068
 
31069
  def read(self, iprot):
31070
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31071
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31072
      return
31073
    iprot.readStructBegin()
31074
    while True:
31075
      (fname, ftype, fid) = iprot.readFieldBegin()
31076
      if ftype == TType.STOP:
31077
        break
31078
      else:
31079
        iprot.skip(ftype)
31080
      iprot.readFieldEnd()
31081
    iprot.readStructEnd()
31082
 
31083
  def write(self, oprot):
31084
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31085
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31086
      return
31087
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_args')
31088
    oprot.writeFieldStop()
31089
    oprot.writeStructEnd()
31090
 
31091
  def validate(self):
31092
    return
31093
 
31094
 
31095
  def __repr__(self):
31096
    L = ['%s=%r' % (key, value)
31097
      for key, value in self.__dict__.iteritems()]
31098
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31099
 
31100
  def __eq__(self, other):
31101
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31102
 
31103
  def __ne__(self, other):
31104
    return not (self == other)
31105
 
31106
class getAllSnapdealMarketplaceItem_result:
31107
  """
31108
  Attributes:
31109
   - success
31110
  """
31111
 
31112
  thrift_spec = (
31113
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItem, SnapdealItem.thrift_spec)), None, ), # 0
31114
  )
31115
 
31116
  def __init__(self, success=None,):
31117
    self.success = success
31118
 
31119
  def read(self, iprot):
31120
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31121
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31122
      return
31123
    iprot.readStructBegin()
31124
    while True:
31125
      (fname, ftype, fid) = iprot.readFieldBegin()
31126
      if ftype == TType.STOP:
31127
        break
31128
      if fid == 0:
31129
        if ftype == TType.LIST:
31130
          self.success = []
13493 amit.gupta 31131
          (_etype713, _size710) = iprot.readListBegin()
31132
          for _i714 in xrange(_size710):
31133
            _elem715 = SnapdealItem()
31134
            _elem715.read(iprot)
31135
            self.success.append(_elem715)
12133 kshitij.so 31136
          iprot.readListEnd()
31137
        else:
31138
          iprot.skip(ftype)
31139
      else:
31140
        iprot.skip(ftype)
31141
      iprot.readFieldEnd()
31142
    iprot.readStructEnd()
31143
 
31144
  def write(self, oprot):
31145
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31146
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31147
      return
31148
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_result')
31149
    if self.success is not None:
31150
      oprot.writeFieldBegin('success', TType.LIST, 0)
31151
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31152
      for iter716 in self.success:
31153
        iter716.write(oprot)
12133 kshitij.so 31154
      oprot.writeListEnd()
31155
      oprot.writeFieldEnd()
31156
    oprot.writeFieldStop()
31157
    oprot.writeStructEnd()
31158
 
31159
  def validate(self):
31160
    return
31161
 
31162
 
31163
  def __repr__(self):
31164
    L = ['%s=%r' % (key, value)
31165
      for key, value in self.__dict__.iteritems()]
31166
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31167
 
31168
  def __eq__(self, other):
31169
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31170
 
31171
  def __ne__(self, other):
31172
    return not (self == other)
31173
 
31174
class getAllFlipkartMarketplaceItem_args:
31175
 
31176
  thrift_spec = (
31177
  )
31178
 
31179
  def read(self, iprot):
31180
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31181
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31182
      return
31183
    iprot.readStructBegin()
31184
    while True:
31185
      (fname, ftype, fid) = iprot.readFieldBegin()
31186
      if ftype == TType.STOP:
31187
        break
31188
      else:
31189
        iprot.skip(ftype)
31190
      iprot.readFieldEnd()
31191
    iprot.readStructEnd()
31192
 
31193
  def write(self, oprot):
31194
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31195
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31196
      return
31197
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_args')
31198
    oprot.writeFieldStop()
31199
    oprot.writeStructEnd()
31200
 
31201
  def validate(self):
31202
    return
31203
 
31204
 
31205
  def __repr__(self):
31206
    L = ['%s=%r' % (key, value)
31207
      for key, value in self.__dict__.iteritems()]
31208
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31209
 
31210
  def __eq__(self, other):
31211
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31212
 
31213
  def __ne__(self, other):
31214
    return not (self == other)
31215
 
31216
class getAllFlipkartMarketplaceItem_result:
31217
  """
31218
  Attributes:
31219
   - success
31220
  """
31221
 
31222
  thrift_spec = (
31223
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
31224
  )
31225
 
31226
  def __init__(self, success=None,):
31227
    self.success = success
31228
 
31229
  def read(self, iprot):
31230
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31231
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31232
      return
31233
    iprot.readStructBegin()
31234
    while True:
31235
      (fname, ftype, fid) = iprot.readFieldBegin()
31236
      if ftype == TType.STOP:
31237
        break
31238
      if fid == 0:
31239
        if ftype == TType.LIST:
31240
          self.success = []
13493 amit.gupta 31241
          (_etype720, _size717) = iprot.readListBegin()
31242
          for _i721 in xrange(_size717):
31243
            _elem722 = FlipkartItem()
31244
            _elem722.read(iprot)
31245
            self.success.append(_elem722)
12133 kshitij.so 31246
          iprot.readListEnd()
31247
        else:
31248
          iprot.skip(ftype)
31249
      else:
31250
        iprot.skip(ftype)
31251
      iprot.readFieldEnd()
31252
    iprot.readStructEnd()
31253
 
31254
  def write(self, oprot):
31255
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31256
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31257
      return
31258
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_result')
31259
    if self.success is not None:
31260
      oprot.writeFieldBegin('success', TType.LIST, 0)
31261
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31262
      for iter723 in self.success:
31263
        iter723.write(oprot)
12133 kshitij.so 31264
      oprot.writeListEnd()
31265
      oprot.writeFieldEnd()
31266
    oprot.writeFieldStop()
31267
    oprot.writeStructEnd()
31268
 
31269
  def validate(self):
31270
    return
31271
 
31272
 
31273
  def __repr__(self):
31274
    L = ['%s=%r' % (key, value)
31275
      for key, value in self.__dict__.iteritems()]
31276
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31277
 
31278
  def __eq__(self, other):
31279
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31280
 
31281
  def __ne__(self, other):
31282
    return not (self == other)
12243 kshitij.so 31283
 
31284
class addCompetitorScraping_args:
31285
  """
31286
  Attributes:
31287
   - competitorPricingMap
31288
  """
31289
 
31290
  thrift_spec = (
31291
    None, # 0
31292
    (1, TType.MAP, 'competitorPricingMap', (TType.I64,None,TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 1
31293
  )
31294
 
31295
  def __init__(self, competitorPricingMap=None,):
31296
    self.competitorPricingMap = competitorPricingMap
31297
 
31298
  def read(self, iprot):
31299
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31300
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31301
      return
31302
    iprot.readStructBegin()
31303
    while True:
31304
      (fname, ftype, fid) = iprot.readFieldBegin()
31305
      if ftype == TType.STOP:
31306
        break
31307
      if fid == 1:
31308
        if ftype == TType.MAP:
31309
          self.competitorPricingMap = {}
13493 amit.gupta 31310
          (_ktype725, _vtype726, _size724 ) = iprot.readMapBegin() 
31311
          for _i728 in xrange(_size724):
31312
            _key729 = iprot.readI64();
31313
            _val730 = CompetitorPricing()
31314
            _val730.read(iprot)
31315
            self.competitorPricingMap[_key729] = _val730
12243 kshitij.so 31316
          iprot.readMapEnd()
31317
        else:
31318
          iprot.skip(ftype)
31319
      else:
31320
        iprot.skip(ftype)
31321
      iprot.readFieldEnd()
31322
    iprot.readStructEnd()
31323
 
31324
  def write(self, oprot):
31325
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31326
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31327
      return
31328
    oprot.writeStructBegin('addCompetitorScraping_args')
31329
    if self.competitorPricingMap is not None:
31330
      oprot.writeFieldBegin('competitorPricingMap', TType.MAP, 1)
31331
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.competitorPricingMap))
13493 amit.gupta 31332
      for kiter731,viter732 in self.competitorPricingMap.items():
31333
        oprot.writeI64(kiter731)
31334
        viter732.write(oprot)
12243 kshitij.so 31335
      oprot.writeMapEnd()
31336
      oprot.writeFieldEnd()
31337
    oprot.writeFieldStop()
31338
    oprot.writeStructEnd()
31339
 
31340
  def validate(self):
31341
    return
31342
 
31343
 
31344
  def __repr__(self):
31345
    L = ['%s=%r' % (key, value)
31346
      for key, value in self.__dict__.iteritems()]
31347
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31348
 
31349
  def __eq__(self, other):
31350
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31351
 
31352
  def __ne__(self, other):
31353
    return not (self == other)
31354
 
31355
class addCompetitorScraping_result:
31356
 
31357
  thrift_spec = (
31358
  )
31359
 
31360
  def read(self, iprot):
31361
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31362
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31363
      return
31364
    iprot.readStructBegin()
31365
    while True:
31366
      (fname, ftype, fid) = iprot.readFieldBegin()
31367
      if ftype == TType.STOP:
31368
        break
31369
      else:
31370
        iprot.skip(ftype)
31371
      iprot.readFieldEnd()
31372
    iprot.readStructEnd()
31373
 
31374
  def write(self, oprot):
31375
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31376
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31377
      return
31378
    oprot.writeStructBegin('addCompetitorScraping_result')
31379
    oprot.writeFieldStop()
31380
    oprot.writeStructEnd()
31381
 
31382
  def validate(self):
31383
    return
31384
 
31385
 
31386
  def __repr__(self):
31387
    L = ['%s=%r' % (key, value)
31388
      for key, value in self.__dict__.iteritems()]
31389
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31390
 
31391
  def __eq__(self, other):
31392
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31393
 
31394
  def __ne__(self, other):
31395
    return not (self == other)
31396
 
31397
class getPreviousCompetitorScraping_args:
31398
  """
31399
  Attributes:
31400
   - delta
31401
  """
31402
 
31403
  thrift_spec = (
31404
    None, # 0
31405
    (1, TType.I64, 'delta', None, None, ), # 1
31406
  )
31407
 
31408
  def __init__(self, delta=None,):
31409
    self.delta = delta
31410
 
31411
  def read(self, iprot):
31412
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31413
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31414
      return
31415
    iprot.readStructBegin()
31416
    while True:
31417
      (fname, ftype, fid) = iprot.readFieldBegin()
31418
      if ftype == TType.STOP:
31419
        break
31420
      if fid == 1:
31421
        if ftype == TType.I64:
31422
          self.delta = iprot.readI64();
31423
        else:
31424
          iprot.skip(ftype)
31425
      else:
31426
        iprot.skip(ftype)
31427
      iprot.readFieldEnd()
31428
    iprot.readStructEnd()
31429
 
31430
  def write(self, oprot):
31431
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31432
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31433
      return
31434
    oprot.writeStructBegin('getPreviousCompetitorScraping_args')
31435
    if self.delta is not None:
31436
      oprot.writeFieldBegin('delta', TType.I64, 1)
31437
      oprot.writeI64(self.delta)
31438
      oprot.writeFieldEnd()
31439
    oprot.writeFieldStop()
31440
    oprot.writeStructEnd()
31441
 
31442
  def validate(self):
31443
    return
31444
 
31445
 
31446
  def __repr__(self):
31447
    L = ['%s=%r' % (key, value)
31448
      for key, value in self.__dict__.iteritems()]
31449
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31450
 
31451
  def __eq__(self, other):
31452
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31453
 
31454
  def __ne__(self, other):
31455
    return not (self == other)
31456
 
31457
class getPreviousCompetitorScraping_result:
31458
  """
31459
  Attributes:
31460
   - success
31461
  """
31462
 
31463
  thrift_spec = (
31464
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
31465
  )
31466
 
31467
  def __init__(self, success=None,):
31468
    self.success = success
31469
 
31470
  def read(self, iprot):
31471
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31472
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31473
      return
31474
    iprot.readStructBegin()
31475
    while True:
31476
      (fname, ftype, fid) = iprot.readFieldBegin()
31477
      if ftype == TType.STOP:
31478
        break
31479
      if fid == 0:
31480
        if ftype == TType.LIST:
31481
          self.success = []
13493 amit.gupta 31482
          (_etype736, _size733) = iprot.readListBegin()
31483
          for _i737 in xrange(_size733):
31484
            _elem738 = CompetitorPricing()
31485
            _elem738.read(iprot)
31486
            self.success.append(_elem738)
12243 kshitij.so 31487
          iprot.readListEnd()
31488
        else:
31489
          iprot.skip(ftype)
31490
      else:
31491
        iprot.skip(ftype)
31492
      iprot.readFieldEnd()
31493
    iprot.readStructEnd()
31494
 
31495
  def write(self, oprot):
31496
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31497
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31498
      return
31499
    oprot.writeStructBegin('getPreviousCompetitorScraping_result')
31500
    if self.success is not None:
31501
      oprot.writeFieldBegin('success', TType.LIST, 0)
31502
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31503
      for iter739 in self.success:
31504
        iter739.write(oprot)
12243 kshitij.so 31505
      oprot.writeListEnd()
31506
      oprot.writeFieldEnd()
31507
    oprot.writeFieldStop()
31508
    oprot.writeStructEnd()
31509
 
31510
  def validate(self):
31511
    return
31512
 
31513
 
31514
  def __repr__(self):
31515
    L = ['%s=%r' % (key, value)
31516
      for key, value in self.__dict__.iteritems()]
31517
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31518
 
31519
  def __eq__(self, other):
31520
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31521
 
31522
  def __ne__(self, other):
31523
    return not (self == other)
12256 kshitij.so 31524
 
31525
class getUploadResultById_args:
31526
  """
31527
  Attributes:
31528
   - uploadId
31529
  """
31530
 
31531
  thrift_spec = (
31532
    None, # 0
31533
    (1, TType.I64, 'uploadId', None, None, ), # 1
31534
  )
31535
 
31536
  def __init__(self, uploadId=None,):
31537
    self.uploadId = uploadId
31538
 
31539
  def read(self, iprot):
31540
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31541
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31542
      return
31543
    iprot.readStructBegin()
31544
    while True:
31545
      (fname, ftype, fid) = iprot.readFieldBegin()
31546
      if ftype == TType.STOP:
31547
        break
31548
      if fid == 1:
31549
        if ftype == TType.I64:
31550
          self.uploadId = iprot.readI64();
31551
        else:
31552
          iprot.skip(ftype)
31553
      else:
31554
        iprot.skip(ftype)
31555
      iprot.readFieldEnd()
31556
    iprot.readStructEnd()
31557
 
31558
  def write(self, oprot):
31559
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31560
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31561
      return
31562
    oprot.writeStructBegin('getUploadResultById_args')
31563
    if self.uploadId is not None:
31564
      oprot.writeFieldBegin('uploadId', TType.I64, 1)
31565
      oprot.writeI64(self.uploadId)
31566
      oprot.writeFieldEnd()
31567
    oprot.writeFieldStop()
31568
    oprot.writeStructEnd()
31569
 
31570
  def validate(self):
31571
    return
31572
 
31573
 
31574
  def __repr__(self):
31575
    L = ['%s=%r' % (key, value)
31576
      for key, value in self.__dict__.iteritems()]
31577
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31578
 
31579
  def __eq__(self, other):
31580
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31581
 
31582
  def __ne__(self, other):
31583
    return not (self == other)
31584
 
31585
class getUploadResultById_result:
31586
  """
31587
  Attributes:
31588
   - success
31589
  """
31590
 
31591
  thrift_spec = (
31592
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
31593
  )
31594
 
31595
  def __init__(self, success=None,):
31596
    self.success = success
31597
 
31598
  def read(self, iprot):
31599
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31600
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31601
      return
31602
    iprot.readStructBegin()
31603
    while True:
31604
      (fname, ftype, fid) = iprot.readFieldBegin()
31605
      if ftype == TType.STOP:
31606
        break
31607
      if fid == 0:
31608
        if ftype == TType.LIST:
31609
          self.success = []
13493 amit.gupta 31610
          (_etype743, _size740) = iprot.readListBegin()
31611
          for _i744 in xrange(_size740):
31612
            _elem745 = CompetitorPricing()
31613
            _elem745.read(iprot)
31614
            self.success.append(_elem745)
12256 kshitij.so 31615
          iprot.readListEnd()
31616
        else:
31617
          iprot.skip(ftype)
31618
      else:
31619
        iprot.skip(ftype)
31620
      iprot.readFieldEnd()
31621
    iprot.readStructEnd()
31622
 
31623
  def write(self, oprot):
31624
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31625
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31626
      return
31627
    oprot.writeStructBegin('getUploadResultById_result')
31628
    if self.success is not None:
31629
      oprot.writeFieldBegin('success', TType.LIST, 0)
31630
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31631
      for iter746 in self.success:
31632
        iter746.write(oprot)
12256 kshitij.so 31633
      oprot.writeListEnd()
31634
      oprot.writeFieldEnd()
31635
    oprot.writeFieldStop()
31636
    oprot.writeStructEnd()
31637
 
31638
  def validate(self):
31639
    return
31640
 
31641
 
31642
  def __repr__(self):
31643
    L = ['%s=%r' % (key, value)
31644
      for key, value in self.__dict__.iteritems()]
31645
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31646
 
31647
  def __eq__(self, other):
31648
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31649
 
31650
  def __ne__(self, other):
31651
    return not (self == other)
12363 kshitij.so 31652
 
31653
class addAmazonPromotion_args:
31654
  """
31655
  Attributes:
31656
   - amazonPromotions
31657
  """
31658
 
31659
  thrift_spec = (
31660
    None, # 0
31661
    (1, TType.MAP, 'amazonPromotions', (TType.STRING,None,TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
31662
  )
31663
 
31664
  def __init__(self, amazonPromotions=None,):
31665
    self.amazonPromotions = amazonPromotions
31666
 
31667
  def read(self, iprot):
31668
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31669
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31670
      return
31671
    iprot.readStructBegin()
31672
    while True:
31673
      (fname, ftype, fid) = iprot.readFieldBegin()
31674
      if ftype == TType.STOP:
31675
        break
31676
      if fid == 1:
31677
        if ftype == TType.MAP:
31678
          self.amazonPromotions = {}
13493 amit.gupta 31679
          (_ktype748, _vtype749, _size747 ) = iprot.readMapBegin() 
31680
          for _i751 in xrange(_size747):
31681
            _key752 = iprot.readString();
31682
            _val753 = AmazonPromotion()
31683
            _val753.read(iprot)
31684
            self.amazonPromotions[_key752] = _val753
12363 kshitij.so 31685
          iprot.readMapEnd()
31686
        else:
31687
          iprot.skip(ftype)
31688
      else:
31689
        iprot.skip(ftype)
31690
      iprot.readFieldEnd()
31691
    iprot.readStructEnd()
31692
 
31693
  def write(self, oprot):
31694
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31695
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31696
      return
31697
    oprot.writeStructBegin('addAmazonPromotion_args')
31698
    if self.amazonPromotions is not None:
31699
      oprot.writeFieldBegin('amazonPromotions', TType.MAP, 1)
31700
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.amazonPromotions))
13493 amit.gupta 31701
      for kiter754,viter755 in self.amazonPromotions.items():
31702
        oprot.writeString(kiter754)
31703
        viter755.write(oprot)
12363 kshitij.so 31704
      oprot.writeMapEnd()
31705
      oprot.writeFieldEnd()
31706
    oprot.writeFieldStop()
31707
    oprot.writeStructEnd()
31708
 
31709
  def validate(self):
31710
    return
31711
 
31712
 
31713
  def __repr__(self):
31714
    L = ['%s=%r' % (key, value)
31715
      for key, value in self.__dict__.iteritems()]
31716
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31717
 
31718
  def __eq__(self, other):
31719
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31720
 
31721
  def __ne__(self, other):
31722
    return not (self == other)
31723
 
31724
class addAmazonPromotion_result:
31725
  """
31726
  Attributes:
31727
   - success
12947 kshitij.so 31728
   - cex
12363 kshitij.so 31729
  """
31730
 
31731
  thrift_spec = (
12947 kshitij.so 31732
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
31733
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12363 kshitij.so 31734
  )
31735
 
12947 kshitij.so 31736
  def __init__(self, success=None, cex=None,):
12363 kshitij.so 31737
    self.success = success
12947 kshitij.so 31738
    self.cex = cex
12363 kshitij.so 31739
 
31740
  def read(self, iprot):
31741
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31742
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31743
      return
31744
    iprot.readStructBegin()
31745
    while True:
31746
      (fname, ftype, fid) = iprot.readFieldBegin()
31747
      if ftype == TType.STOP:
31748
        break
31749
      if fid == 0:
12947 kshitij.so 31750
        if ftype == TType.LIST:
31751
          self.success = []
13493 amit.gupta 31752
          (_etype759, _size756) = iprot.readListBegin()
31753
          for _i760 in xrange(_size756):
31754
            _elem761 = iprot.readString();
31755
            self.success.append(_elem761)
12947 kshitij.so 31756
          iprot.readListEnd()
12363 kshitij.so 31757
        else:
31758
          iprot.skip(ftype)
12947 kshitij.so 31759
      elif fid == 1:
31760
        if ftype == TType.STRUCT:
31761
          self.cex = CatalogServiceException()
31762
          self.cex.read(iprot)
31763
        else:
31764
          iprot.skip(ftype)
12363 kshitij.so 31765
      else:
31766
        iprot.skip(ftype)
31767
      iprot.readFieldEnd()
31768
    iprot.readStructEnd()
31769
 
31770
  def write(self, oprot):
31771
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31772
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31773
      return
31774
    oprot.writeStructBegin('addAmazonPromotion_result')
31775
    if self.success is not None:
12947 kshitij.so 31776
      oprot.writeFieldBegin('success', TType.LIST, 0)
31777
      oprot.writeListBegin(TType.STRING, len(self.success))
13493 amit.gupta 31778
      for iter762 in self.success:
31779
        oprot.writeString(iter762)
12947 kshitij.so 31780
      oprot.writeListEnd()
12363 kshitij.so 31781
      oprot.writeFieldEnd()
12947 kshitij.so 31782
    if self.cex is not None:
31783
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
31784
      self.cex.write(oprot)
31785
      oprot.writeFieldEnd()
12363 kshitij.so 31786
    oprot.writeFieldStop()
31787
    oprot.writeStructEnd()
31788
 
31789
  def validate(self):
31790
    return
31791
 
31792
 
31793
  def __repr__(self):
31794
    L = ['%s=%r' % (key, value)
31795
      for key, value in self.__dict__.iteritems()]
31796
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31797
 
31798
  def __eq__(self, other):
31799
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31800
 
31801
  def __ne__(self, other):
31802
    return not (self == other)
31803
 
31804
class getAmazonPromotion_args:
31805
  """
31806
  Attributes:
31807
   - startDate
31808
   - endDate
31809
  """
31810
 
31811
  thrift_spec = (
31812
    None, # 0
31813
    (1, TType.I64, 'startDate', None, None, ), # 1
31814
    (2, TType.I64, 'endDate', None, None, ), # 2
31815
  )
31816
 
31817
  def __init__(self, startDate=None, endDate=None,):
31818
    self.startDate = startDate
31819
    self.endDate = endDate
31820
 
31821
  def read(self, iprot):
31822
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31823
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31824
      return
31825
    iprot.readStructBegin()
31826
    while True:
31827
      (fname, ftype, fid) = iprot.readFieldBegin()
31828
      if ftype == TType.STOP:
31829
        break
31830
      if fid == 1:
31831
        if ftype == TType.I64:
31832
          self.startDate = iprot.readI64();
31833
        else:
31834
          iprot.skip(ftype)
31835
      elif fid == 2:
31836
        if ftype == TType.I64:
31837
          self.endDate = iprot.readI64();
31838
        else:
31839
          iprot.skip(ftype)
31840
      else:
31841
        iprot.skip(ftype)
31842
      iprot.readFieldEnd()
31843
    iprot.readStructEnd()
31844
 
31845
  def write(self, oprot):
31846
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31847
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31848
      return
31849
    oprot.writeStructBegin('getAmazonPromotion_args')
31850
    if self.startDate is not None:
31851
      oprot.writeFieldBegin('startDate', TType.I64, 1)
31852
      oprot.writeI64(self.startDate)
31853
      oprot.writeFieldEnd()
31854
    if self.endDate is not None:
31855
      oprot.writeFieldBegin('endDate', TType.I64, 2)
31856
      oprot.writeI64(self.endDate)
31857
      oprot.writeFieldEnd()
31858
    oprot.writeFieldStop()
31859
    oprot.writeStructEnd()
31860
 
31861
  def validate(self):
31862
    return
31863
 
31864
 
31865
  def __repr__(self):
31866
    L = ['%s=%r' % (key, value)
31867
      for key, value in self.__dict__.iteritems()]
31868
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31869
 
31870
  def __eq__(self, other):
31871
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31872
 
31873
  def __ne__(self, other):
31874
    return not (self == other)
31875
 
31876
class getAmazonPromotion_result:
31877
  """
31878
  Attributes:
31879
   - success
31880
  """
31881
 
31882
  thrift_spec = (
31883
    (0, TType.LIST, 'success', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 0
31884
  )
31885
 
31886
  def __init__(self, success=None,):
31887
    self.success = success
31888
 
31889
  def read(self, iprot):
31890
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31891
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31892
      return
31893
    iprot.readStructBegin()
31894
    while True:
31895
      (fname, ftype, fid) = iprot.readFieldBegin()
31896
      if ftype == TType.STOP:
31897
        break
31898
      if fid == 0:
31899
        if ftype == TType.LIST:
31900
          self.success = []
13493 amit.gupta 31901
          (_etype766, _size763) = iprot.readListBegin()
31902
          for _i767 in xrange(_size763):
31903
            _elem768 = AmazonPromotion()
31904
            _elem768.read(iprot)
31905
            self.success.append(_elem768)
12363 kshitij.so 31906
          iprot.readListEnd()
31907
        else:
31908
          iprot.skip(ftype)
31909
      else:
31910
        iprot.skip(ftype)
31911
      iprot.readFieldEnd()
31912
    iprot.readStructEnd()
31913
 
31914
  def write(self, oprot):
31915
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31916
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31917
      return
31918
    oprot.writeStructBegin('getAmazonPromotion_result')
31919
    if self.success is not None:
31920
      oprot.writeFieldBegin('success', TType.LIST, 0)
31921
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 31922
      for iter769 in self.success:
31923
        iter769.write(oprot)
12363 kshitij.so 31924
      oprot.writeListEnd()
31925
      oprot.writeFieldEnd()
31926
    oprot.writeFieldStop()
31927
    oprot.writeStructEnd()
31928
 
31929
  def validate(self):
31930
    return
31931
 
31932
 
31933
  def __repr__(self):
31934
    L = ['%s=%r' % (key, value)
31935
      for key, value in self.__dict__.iteritems()]
31936
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31937
 
31938
  def __eq__(self, other):
31939
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31940
 
31941
  def __ne__(self, other):
31942
    return not (self == other)
31943
 
31944
class updateAmazonPromotion_args:
31945
  """
31946
  Attributes:
31947
   - amazonPromotions
31948
  """
31949
 
31950
  thrift_spec = (
31951
    None, # 0
31952
    (1, TType.LIST, 'amazonPromotions', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
31953
  )
31954
 
31955
  def __init__(self, amazonPromotions=None,):
31956
    self.amazonPromotions = amazonPromotions
31957
 
31958
  def read(self, iprot):
31959
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31960
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31961
      return
31962
    iprot.readStructBegin()
31963
    while True:
31964
      (fname, ftype, fid) = iprot.readFieldBegin()
31965
      if ftype == TType.STOP:
31966
        break
31967
      if fid == 1:
31968
        if ftype == TType.LIST:
31969
          self.amazonPromotions = []
13493 amit.gupta 31970
          (_etype773, _size770) = iprot.readListBegin()
31971
          for _i774 in xrange(_size770):
31972
            _elem775 = AmazonPromotion()
31973
            _elem775.read(iprot)
31974
            self.amazonPromotions.append(_elem775)
12363 kshitij.so 31975
          iprot.readListEnd()
31976
        else:
31977
          iprot.skip(ftype)
31978
      else:
31979
        iprot.skip(ftype)
31980
      iprot.readFieldEnd()
31981
    iprot.readStructEnd()
31982
 
31983
  def write(self, oprot):
31984
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31985
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31986
      return
31987
    oprot.writeStructBegin('updateAmazonPromotion_args')
31988
    if self.amazonPromotions is not None:
31989
      oprot.writeFieldBegin('amazonPromotions', TType.LIST, 1)
31990
      oprot.writeListBegin(TType.STRUCT, len(self.amazonPromotions))
13493 amit.gupta 31991
      for iter776 in self.amazonPromotions:
31992
        iter776.write(oprot)
12363 kshitij.so 31993
      oprot.writeListEnd()
31994
      oprot.writeFieldEnd()
31995
    oprot.writeFieldStop()
31996
    oprot.writeStructEnd()
31997
 
31998
  def validate(self):
31999
    return
32000
 
32001
 
32002
  def __repr__(self):
32003
    L = ['%s=%r' % (key, value)
32004
      for key, value in self.__dict__.iteritems()]
32005
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32006
 
32007
  def __eq__(self, other):
32008
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32009
 
32010
  def __ne__(self, other):
32011
    return not (self == other)
32012
 
32013
class updateAmazonPromotion_result:
32014
  """
32015
  Attributes:
32016
   - success
32017
  """
32018
 
32019
  thrift_spec = (
32020
    (0, TType.BOOL, 'success', None, None, ), # 0
32021
  )
32022
 
32023
  def __init__(self, success=None,):
32024
    self.success = success
32025
 
32026
  def read(self, iprot):
32027
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32028
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32029
      return
32030
    iprot.readStructBegin()
32031
    while True:
32032
      (fname, ftype, fid) = iprot.readFieldBegin()
32033
      if ftype == TType.STOP:
32034
        break
32035
      if fid == 0:
32036
        if ftype == TType.BOOL:
32037
          self.success = iprot.readBool();
32038
        else:
32039
          iprot.skip(ftype)
32040
      else:
32041
        iprot.skip(ftype)
32042
      iprot.readFieldEnd()
32043
    iprot.readStructEnd()
32044
 
32045
  def write(self, oprot):
32046
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32047
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32048
      return
32049
    oprot.writeStructBegin('updateAmazonPromotion_result')
32050
    if self.success is not None:
32051
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32052
      oprot.writeBool(self.success)
32053
      oprot.writeFieldEnd()
32054
    oprot.writeFieldStop()
32055
    oprot.writeStructEnd()
32056
 
32057
  def validate(self):
32058
    return
32059
 
32060
 
32061
  def __repr__(self):
32062
    L = ['%s=%r' % (key, value)
32063
      for key, value in self.__dict__.iteritems()]
32064
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32065
 
32066
  def __eq__(self, other):
32067
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32068
 
32069
  def __ne__(self, other):
32070
    return not (self == other)
12567 amit.gupta 32071
 
32072
class markPartiallyActive_args:
32073
  """
32074
  Attributes:
32075
   - itemId
32076
   - categoryId
32077
  """
32078
 
32079
  thrift_spec = (
32080
    None, # 0
32081
    (1, TType.I64, 'itemId', None, None, ), # 1
32082
    (2, TType.I64, 'categoryId', None, None, ), # 2
32083
  )
32084
 
32085
  def __init__(self, itemId=None, categoryId=None,):
32086
    self.itemId = itemId
32087
    self.categoryId = categoryId
32088
 
32089
  def read(self, iprot):
32090
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32091
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32092
      return
32093
    iprot.readStructBegin()
32094
    while True:
32095
      (fname, ftype, fid) = iprot.readFieldBegin()
32096
      if ftype == TType.STOP:
32097
        break
32098
      if fid == 1:
32099
        if ftype == TType.I64:
32100
          self.itemId = iprot.readI64();
32101
        else:
32102
          iprot.skip(ftype)
32103
      elif fid == 2:
32104
        if ftype == TType.I64:
32105
          self.categoryId = iprot.readI64();
32106
        else:
32107
          iprot.skip(ftype)
32108
      else:
32109
        iprot.skip(ftype)
32110
      iprot.readFieldEnd()
32111
    iprot.readStructEnd()
32112
 
32113
  def write(self, oprot):
32114
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32115
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32116
      return
32117
    oprot.writeStructBegin('markPartiallyActive_args')
32118
    if self.itemId is not None:
32119
      oprot.writeFieldBegin('itemId', TType.I64, 1)
32120
      oprot.writeI64(self.itemId)
32121
      oprot.writeFieldEnd()
32122
    if self.categoryId is not None:
32123
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
32124
      oprot.writeI64(self.categoryId)
32125
      oprot.writeFieldEnd()
32126
    oprot.writeFieldStop()
32127
    oprot.writeStructEnd()
32128
 
32129
  def validate(self):
32130
    return
32131
 
32132
 
32133
  def __repr__(self):
32134
    L = ['%s=%r' % (key, value)
32135
      for key, value in self.__dict__.iteritems()]
32136
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32137
 
32138
  def __eq__(self, other):
32139
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32140
 
32141
  def __ne__(self, other):
32142
    return not (self == other)
32143
 
32144
class markPartiallyActive_result:
32145
  """
32146
  Attributes:
32147
   - success
32148
  """
32149
 
32150
  thrift_spec = (
32151
    (0, TType.BOOL, 'success', None, None, ), # 0
32152
  )
32153
 
32154
  def __init__(self, success=None,):
32155
    self.success = success
32156
 
32157
  def read(self, iprot):
32158
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32159
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32160
      return
32161
    iprot.readStructBegin()
32162
    while True:
32163
      (fname, ftype, fid) = iprot.readFieldBegin()
32164
      if ftype == TType.STOP:
32165
        break
32166
      if fid == 0:
32167
        if ftype == TType.BOOL:
32168
          self.success = iprot.readBool();
32169
        else:
32170
          iprot.skip(ftype)
32171
      else:
32172
        iprot.skip(ftype)
32173
      iprot.readFieldEnd()
32174
    iprot.readStructEnd()
32175
 
32176
  def write(self, oprot):
32177
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32178
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32179
      return
32180
    oprot.writeStructBegin('markPartiallyActive_result')
32181
    if self.success is not None:
32182
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32183
      oprot.writeBool(self.success)
32184
      oprot.writeFieldEnd()
32185
    oprot.writeFieldStop()
32186
    oprot.writeStructEnd()
32187
 
32188
  def validate(self):
32189
    return
32190
 
32191
 
32192
  def __repr__(self):
32193
    L = ['%s=%r' % (key, value)
32194
      for key, value in self.__dict__.iteritems()]
32195
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32196
 
32197
  def __eq__(self, other):
32198
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32199
 
32200
  def __ne__(self, other):
32201
    return not (self == other)
32202
 
32203
class updateItemStateVat_args:
32204
  """
32205
  Attributes:
32206
   - itemId
32207
   - statevat
32208
  """
32209
 
32210
  thrift_spec = (
32211
    None, # 0
32212
    (1, TType.I64, 'itemId', None, None, ), # 1
32213
    (2, TType.MAP, 'statevat', (TType.I64,None,TType.DOUBLE,None), None, ), # 2
32214
  )
32215
 
32216
  def __init__(self, itemId=None, statevat=None,):
32217
    self.itemId = itemId
32218
    self.statevat = statevat
32219
 
32220
  def read(self, iprot):
32221
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32222
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32223
      return
32224
    iprot.readStructBegin()
32225
    while True:
32226
      (fname, ftype, fid) = iprot.readFieldBegin()
32227
      if ftype == TType.STOP:
32228
        break
32229
      if fid == 1:
32230
        if ftype == TType.I64:
32231
          self.itemId = iprot.readI64();
32232
        else:
32233
          iprot.skip(ftype)
32234
      elif fid == 2:
32235
        if ftype == TType.MAP:
32236
          self.statevat = {}
13493 amit.gupta 32237
          (_ktype778, _vtype779, _size777 ) = iprot.readMapBegin() 
32238
          for _i781 in xrange(_size777):
32239
            _key782 = iprot.readI64();
32240
            _val783 = iprot.readDouble();
32241
            self.statevat[_key782] = _val783
12567 amit.gupta 32242
          iprot.readMapEnd()
32243
        else:
32244
          iprot.skip(ftype)
32245
      else:
32246
        iprot.skip(ftype)
32247
      iprot.readFieldEnd()
32248
    iprot.readStructEnd()
32249
 
32250
  def write(self, oprot):
32251
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32252
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32253
      return
32254
    oprot.writeStructBegin('updateItemStateVat_args')
32255
    if self.itemId is not None:
32256
      oprot.writeFieldBegin('itemId', TType.I64, 1)
32257
      oprot.writeI64(self.itemId)
32258
      oprot.writeFieldEnd()
32259
    if self.statevat is not None:
32260
      oprot.writeFieldBegin('statevat', TType.MAP, 2)
32261
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.statevat))
13493 amit.gupta 32262
      for kiter784,viter785 in self.statevat.items():
32263
        oprot.writeI64(kiter784)
32264
        oprot.writeDouble(viter785)
12567 amit.gupta 32265
      oprot.writeMapEnd()
32266
      oprot.writeFieldEnd()
32267
    oprot.writeFieldStop()
32268
    oprot.writeStructEnd()
32269
 
32270
  def validate(self):
32271
    return
32272
 
32273
 
32274
  def __repr__(self):
32275
    L = ['%s=%r' % (key, value)
32276
      for key, value in self.__dict__.iteritems()]
32277
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32278
 
32279
  def __eq__(self, other):
32280
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32281
 
32282
  def __ne__(self, other):
32283
    return not (self == other)
32284
 
32285
class updateItemStateVat_result:
32286
  """
32287
  Attributes:
32288
   - success
32289
  """
32290
 
32291
  thrift_spec = (
32292
    (0, TType.BOOL, 'success', None, None, ), # 0
32293
  )
32294
 
32295
  def __init__(self, success=None,):
32296
    self.success = success
32297
 
32298
  def read(self, iprot):
32299
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32300
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32301
      return
32302
    iprot.readStructBegin()
32303
    while True:
32304
      (fname, ftype, fid) = iprot.readFieldBegin()
32305
      if ftype == TType.STOP:
32306
        break
32307
      if fid == 0:
32308
        if ftype == TType.BOOL:
32309
          self.success = iprot.readBool();
32310
        else:
32311
          iprot.skip(ftype)
32312
      else:
32313
        iprot.skip(ftype)
32314
      iprot.readFieldEnd()
32315
    iprot.readStructEnd()
32316
 
32317
  def write(self, oprot):
32318
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32319
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32320
      return
32321
    oprot.writeStructBegin('updateItemStateVat_result')
32322
    if self.success is not None:
32323
      oprot.writeFieldBegin('success', TType.BOOL, 0)
32324
      oprot.writeBool(self.success)
32325
      oprot.writeFieldEnd()
32326
    oprot.writeFieldStop()
32327
    oprot.writeStructEnd()
32328
 
32329
  def validate(self):
32330
    return
32331
 
32332
 
32333
  def __repr__(self):
32334
    L = ['%s=%r' % (key, value)
32335
      for key, value in self.__dict__.iteritems()]
32336
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32337
 
32338
  def __eq__(self, other):
32339
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32340
 
32341
  def __ne__(self, other):
32342
    return not (self == other)
12620 amit.gupta 32343
 
32344
class getExAffiliateItemInfo_args:
32345
 
32346
  thrift_spec = (
32347
  )
32348
 
32349
  def read(self, iprot):
32350
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32351
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32352
      return
32353
    iprot.readStructBegin()
32354
    while True:
32355
      (fname, ftype, fid) = iprot.readFieldBegin()
32356
      if ftype == TType.STOP:
32357
        break
32358
      else:
32359
        iprot.skip(ftype)
32360
      iprot.readFieldEnd()
32361
    iprot.readStructEnd()
32362
 
32363
  def write(self, oprot):
32364
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32365
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32366
      return
32367
    oprot.writeStructBegin('getExAffiliateItemInfo_args')
32368
    oprot.writeFieldStop()
32369
    oprot.writeStructEnd()
32370
 
32371
  def validate(self):
32372
    return
32373
 
32374
 
32375
  def __repr__(self):
32376
    L = ['%s=%r' % (key, value)
32377
      for key, value in self.__dict__.iteritems()]
32378
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32379
 
32380
  def __eq__(self, other):
32381
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32382
 
32383
  def __ne__(self, other):
32384
    return not (self == other)
32385
 
32386
class getExAffiliateItemInfo_result:
32387
  """
32388
  Attributes:
32389
   - success
32390
  """
32391
 
32392
  thrift_spec = (
32393
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(ExclusiveAffiliateItemInfo, ExclusiveAffiliateItemInfo.thrift_spec)), None, ), # 0
32394
  )
32395
 
32396
  def __init__(self, success=None,):
32397
    self.success = success
32398
 
32399
  def read(self, iprot):
32400
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32401
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32402
      return
32403
    iprot.readStructBegin()
32404
    while True:
32405
      (fname, ftype, fid) = iprot.readFieldBegin()
32406
      if ftype == TType.STOP:
32407
        break
32408
      if fid == 0:
32409
        if ftype == TType.MAP:
32410
          self.success = {}
13493 amit.gupta 32411
          (_ktype787, _vtype788, _size786 ) = iprot.readMapBegin() 
32412
          for _i790 in xrange(_size786):
32413
            _key791 = iprot.readI64();
32414
            _val792 = ExclusiveAffiliateItemInfo()
32415
            _val792.read(iprot)
32416
            self.success[_key791] = _val792
12620 amit.gupta 32417
          iprot.readMapEnd()
32418
        else:
32419
          iprot.skip(ftype)
32420
      else:
32421
        iprot.skip(ftype)
32422
      iprot.readFieldEnd()
32423
    iprot.readStructEnd()
32424
 
32425
  def write(self, oprot):
32426
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32427
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32428
      return
32429
    oprot.writeStructBegin('getExAffiliateItemInfo_result')
32430
    if self.success is not None:
32431
      oprot.writeFieldBegin('success', TType.MAP, 0)
32432
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
13493 amit.gupta 32433
      for kiter793,viter794 in self.success.items():
32434
        oprot.writeI64(kiter793)
32435
        viter794.write(oprot)
12620 amit.gupta 32436
      oprot.writeMapEnd()
32437
      oprot.writeFieldEnd()
32438
    oprot.writeFieldStop()
32439
    oprot.writeStructEnd()
32440
 
32441
  def validate(self):
32442
    return
32443
 
32444
 
32445
  def __repr__(self):
32446
    L = ['%s=%r' % (key, value)
32447
      for key, value in self.__dict__.iteritems()]
32448
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32449
 
32450
  def __eq__(self, other):
32451
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32452
 
32453
  def __ne__(self, other):
32454
    return not (self == other)
12888 kshitij.so 32455
 
32456
class getAllItemstoListOnFbg_args:
32457
 
32458
  thrift_spec = (
32459
  )
32460
 
32461
  def read(self, iprot):
32462
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32463
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32464
      return
32465
    iprot.readStructBegin()
32466
    while True:
32467
      (fname, ftype, fid) = iprot.readFieldBegin()
32468
      if ftype == TType.STOP:
32469
        break
32470
      else:
32471
        iprot.skip(ftype)
32472
      iprot.readFieldEnd()
32473
    iprot.readStructEnd()
32474
 
32475
  def write(self, oprot):
32476
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32477
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32478
      return
32479
    oprot.writeStructBegin('getAllItemstoListOnFbg_args')
32480
    oprot.writeFieldStop()
32481
    oprot.writeStructEnd()
32482
 
32483
  def validate(self):
32484
    return
32485
 
32486
 
32487
  def __repr__(self):
32488
    L = ['%s=%r' % (key, value)
32489
      for key, value in self.__dict__.iteritems()]
32490
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32491
 
32492
  def __eq__(self, other):
32493
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32494
 
32495
  def __ne__(self, other):
32496
    return not (self == other)
32497
 
32498
class getAllItemstoListOnFbg_result:
32499
  """
32500
  Attributes:
32501
   - success
32502
  """
32503
 
32504
  thrift_spec = (
32505
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
32506
  )
32507
 
32508
  def __init__(self, success=None,):
32509
    self.success = success
32510
 
32511
  def read(self, iprot):
32512
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32513
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32514
      return
32515
    iprot.readStructBegin()
32516
    while True:
32517
      (fname, ftype, fid) = iprot.readFieldBegin()
32518
      if ftype == TType.STOP:
32519
        break
32520
      if fid == 0:
32521
        if ftype == TType.LIST:
32522
          self.success = []
13493 amit.gupta 32523
          (_etype798, _size795) = iprot.readListBegin()
32524
          for _i799 in xrange(_size795):
32525
            _elem800 = Amazonlisted()
32526
            _elem800.read(iprot)
32527
            self.success.append(_elem800)
12888 kshitij.so 32528
          iprot.readListEnd()
32529
        else:
32530
          iprot.skip(ftype)
32531
      else:
32532
        iprot.skip(ftype)
32533
      iprot.readFieldEnd()
32534
    iprot.readStructEnd()
32535
 
32536
  def write(self, oprot):
32537
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32538
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32539
      return
32540
    oprot.writeStructBegin('getAllItemstoListOnFbg_result')
32541
    if self.success is not None:
32542
      oprot.writeFieldBegin('success', TType.LIST, 0)
32543
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 32544
      for iter801 in self.success:
32545
        iter801.write(oprot)
12888 kshitij.so 32546
      oprot.writeListEnd()
32547
      oprot.writeFieldEnd()
32548
    oprot.writeFieldStop()
32549
    oprot.writeStructEnd()
32550
 
32551
  def validate(self):
32552
    return
32553
 
32554
 
32555
  def __repr__(self):
32556
    L = ['%s=%r' % (key, value)
32557
      for key, value in self.__dict__.iteritems()]
32558
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32559
 
32560
  def __eq__(self, other):
32561
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32562
 
32563
  def __ne__(self, other):
32564
    return not (self == other)
12892 kshitij.so 32565
 
32566
class getAllFbgListedItems_args:
32567
 
32568
  thrift_spec = (
32569
  )
32570
 
32571
  def read(self, iprot):
32572
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32573
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32574
      return
32575
    iprot.readStructBegin()
32576
    while True:
32577
      (fname, ftype, fid) = iprot.readFieldBegin()
32578
      if ftype == TType.STOP:
32579
        break
32580
      else:
32581
        iprot.skip(ftype)
32582
      iprot.readFieldEnd()
32583
    iprot.readStructEnd()
32584
 
32585
  def write(self, oprot):
32586
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32587
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32588
      return
32589
    oprot.writeStructBegin('getAllFbgListedItems_args')
32590
    oprot.writeFieldStop()
32591
    oprot.writeStructEnd()
32592
 
32593
  def validate(self):
32594
    return
32595
 
32596
 
32597
  def __repr__(self):
32598
    L = ['%s=%r' % (key, value)
32599
      for key, value in self.__dict__.iteritems()]
32600
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32601
 
32602
  def __eq__(self, other):
32603
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32604
 
32605
  def __ne__(self, other):
32606
    return not (self == other)
32607
 
32608
class getAllFbgListedItems_result:
32609
  """
32610
  Attributes:
32611
   - success
32612
  """
32613
 
32614
  thrift_spec = (
32615
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
32616
  )
32617
 
32618
  def __init__(self, success=None,):
32619
    self.success = success
32620
 
32621
  def read(self, iprot):
32622
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32623
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32624
      return
32625
    iprot.readStructBegin()
32626
    while True:
32627
      (fname, ftype, fid) = iprot.readFieldBegin()
32628
      if ftype == TType.STOP:
32629
        break
32630
      if fid == 0:
32631
        if ftype == TType.LIST:
32632
          self.success = []
13493 amit.gupta 32633
          (_etype805, _size802) = iprot.readListBegin()
32634
          for _i806 in xrange(_size802):
32635
            _elem807 = Amazonlisted()
32636
            _elem807.read(iprot)
32637
            self.success.append(_elem807)
12892 kshitij.so 32638
          iprot.readListEnd()
32639
        else:
32640
          iprot.skip(ftype)
32641
      else:
32642
        iprot.skip(ftype)
32643
      iprot.readFieldEnd()
32644
    iprot.readStructEnd()
32645
 
32646
  def write(self, oprot):
32647
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32648
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32649
      return
32650
    oprot.writeStructBegin('getAllFbgListedItems_result')
32651
    if self.success is not None:
32652
      oprot.writeFieldBegin('success', TType.LIST, 0)
32653
      oprot.writeListBegin(TType.STRUCT, len(self.success))
13493 amit.gupta 32654
      for iter808 in self.success:
32655
        iter808.write(oprot)
12892 kshitij.so 32656
      oprot.writeListEnd()
32657
      oprot.writeFieldEnd()
32658
    oprot.writeFieldStop()
32659
    oprot.writeStructEnd()
32660
 
32661
  def validate(self):
32662
    return
32663
 
32664
 
32665
  def __repr__(self):
32666
    L = ['%s=%r' % (key, value)
32667
      for key, value in self.__dict__.iteritems()]
32668
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32669
 
32670
  def __eq__(self, other):
32671
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32672
 
32673
  def __ne__(self, other):
32674
    return not (self == other)
13136 amit.gupta 32675
 
32676
class checkServices_args:
32677
  """
32678
  Attributes:
32679
   - lines
32680
  """
32681
 
32682
  thrift_spec = (
32683
    None, # 0
32684
    (1, TType.MAP, 'lines', (TType.I64,None,TType.MAP,(TType.STRING,None,TType.I64,None)), None, ), # 1
32685
  )
32686
 
32687
  def __init__(self, lines=None,):
32688
    self.lines = lines
32689
 
32690
  def read(self, iprot):
32691
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32692
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32693
      return
32694
    iprot.readStructBegin()
32695
    while True:
32696
      (fname, ftype, fid) = iprot.readFieldBegin()
32697
      if ftype == TType.STOP:
32698
        break
32699
      if fid == 1:
32700
        if ftype == TType.MAP:
32701
          self.lines = {}
13493 amit.gupta 32702
          (_ktype810, _vtype811, _size809 ) = iprot.readMapBegin() 
32703
          for _i813 in xrange(_size809):
32704
            _key814 = iprot.readI64();
32705
            _val815 = {}
32706
            (_ktype817, _vtype818, _size816 ) = iprot.readMapBegin() 
32707
            for _i820 in xrange(_size816):
32708
              _key821 = iprot.readString();
32709
              _val822 = iprot.readI64();
32710
              _val815[_key821] = _val822
13136 amit.gupta 32711
            iprot.readMapEnd()
13493 amit.gupta 32712
            self.lines[_key814] = _val815
13136 amit.gupta 32713
          iprot.readMapEnd()
32714
        else:
32715
          iprot.skip(ftype)
32716
      else:
32717
        iprot.skip(ftype)
32718
      iprot.readFieldEnd()
32719
    iprot.readStructEnd()
32720
 
32721
  def write(self, oprot):
32722
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32723
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32724
      return
32725
    oprot.writeStructBegin('checkServices_args')
32726
    if self.lines is not None:
32727
      oprot.writeFieldBegin('lines', TType.MAP, 1)
32728
      oprot.writeMapBegin(TType.I64, TType.MAP, len(self.lines))
13493 amit.gupta 32729
      for kiter823,viter824 in self.lines.items():
32730
        oprot.writeI64(kiter823)
32731
        oprot.writeMapBegin(TType.STRING, TType.I64, len(viter824))
32732
        for kiter825,viter826 in viter824.items():
32733
          oprot.writeString(kiter825)
32734
          oprot.writeI64(viter826)
13136 amit.gupta 32735
        oprot.writeMapEnd()
32736
      oprot.writeMapEnd()
32737
      oprot.writeFieldEnd()
32738
    oprot.writeFieldStop()
32739
    oprot.writeStructEnd()
32740
 
32741
  def validate(self):
32742
    return
32743
 
32744
 
32745
  def __repr__(self):
32746
    L = ['%s=%r' % (key, value)
32747
      for key, value in self.__dict__.iteritems()]
32748
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32749
 
32750
  def __eq__(self, other):
32751
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32752
 
32753
  def __ne__(self, other):
32754
    return not (self == other)
32755
 
32756
class checkServices_result:
32757
  """
32758
  Attributes:
32759
   - success
32760
   - cex
32761
  """
32762
 
32763
  thrift_spec = (
32764
    (0, TType.MAP, 'success', (TType.I64,None,TType.MAP,(TType.STRING,None,TType.I64,None)), None, ), # 0
32765
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
32766
  )
32767
 
32768
  def __init__(self, success=None, cex=None,):
32769
    self.success = success
32770
    self.cex = cex
32771
 
32772
  def read(self, iprot):
32773
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32774
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32775
      return
32776
    iprot.readStructBegin()
32777
    while True:
32778
      (fname, ftype, fid) = iprot.readFieldBegin()
32779
      if ftype == TType.STOP:
32780
        break
32781
      if fid == 0:
32782
        if ftype == TType.MAP:
32783
          self.success = {}
13493 amit.gupta 32784
          (_ktype828, _vtype829, _size827 ) = iprot.readMapBegin() 
32785
          for _i831 in xrange(_size827):
32786
            _key832 = iprot.readI64();
32787
            _val833 = {}
32788
            (_ktype835, _vtype836, _size834 ) = iprot.readMapBegin() 
32789
            for _i838 in xrange(_size834):
32790
              _key839 = iprot.readString();
32791
              _val840 = iprot.readI64();
32792
              _val833[_key839] = _val840
13136 amit.gupta 32793
            iprot.readMapEnd()
13493 amit.gupta 32794
            self.success[_key832] = _val833
13136 amit.gupta 32795
          iprot.readMapEnd()
32796
        else:
32797
          iprot.skip(ftype)
32798
      elif fid == 1:
32799
        if ftype == TType.STRUCT:
32800
          self.cex = CatalogServiceException()
32801
          self.cex.read(iprot)
32802
        else:
32803
          iprot.skip(ftype)
32804
      else:
32805
        iprot.skip(ftype)
32806
      iprot.readFieldEnd()
32807
    iprot.readStructEnd()
32808
 
32809
  def write(self, oprot):
32810
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32811
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32812
      return
32813
    oprot.writeStructBegin('checkServices_result')
32814
    if self.success is not None:
32815
      oprot.writeFieldBegin('success', TType.MAP, 0)
32816
      oprot.writeMapBegin(TType.I64, TType.MAP, len(self.success))
13493 amit.gupta 32817
      for kiter841,viter842 in self.success.items():
32818
        oprot.writeI64(kiter841)
32819
        oprot.writeMapBegin(TType.STRING, TType.I64, len(viter842))
32820
        for kiter843,viter844 in viter842.items():
32821
          oprot.writeString(kiter843)
32822
          oprot.writeI64(viter844)
13136 amit.gupta 32823
        oprot.writeMapEnd()
32824
      oprot.writeMapEnd()
32825
      oprot.writeFieldEnd()
32826
    if self.cex is not None:
32827
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
32828
      self.cex.write(oprot)
32829
      oprot.writeFieldEnd()
32830
    oprot.writeFieldStop()
32831
    oprot.writeStructEnd()
32832
 
32833
  def validate(self):
32834
    return
32835
 
32836
 
32837
  def __repr__(self):
32838
    L = ['%s=%r' % (key, value)
32839
      for key, value in self.__dict__.iteritems()]
32840
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32841
 
32842
  def __eq__(self, other):
32843
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32844
 
32845
  def __ne__(self, other):
32846
    return not (self == other)
13709 manish.sha 32847
 
32848
class addHsItem_args:
32849
  """
32850
  Attributes:
32851
   - hsItems
32852
  """
32853
 
32854
  thrift_spec = (
32855
    None, # 0
32856
    (1, TType.LIST, 'hsItems', (TType.STRUCT,(HsItem, HsItem.thrift_spec)), None, ), # 1
32857
  )
32858
 
32859
  def __init__(self, hsItems=None,):
32860
    self.hsItems = hsItems
32861
 
32862
  def read(self, iprot):
32863
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32864
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32865
      return
32866
    iprot.readStructBegin()
32867
    while True:
32868
      (fname, ftype, fid) = iprot.readFieldBegin()
32869
      if ftype == TType.STOP:
32870
        break
32871
      if fid == 1:
32872
        if ftype == TType.LIST:
32873
          self.hsItems = []
32874
          (_etype848, _size845) = iprot.readListBegin()
32875
          for _i849 in xrange(_size845):
32876
            _elem850 = HsItem()
32877
            _elem850.read(iprot)
32878
            self.hsItems.append(_elem850)
32879
          iprot.readListEnd()
32880
        else:
32881
          iprot.skip(ftype)
32882
      else:
32883
        iprot.skip(ftype)
32884
      iprot.readFieldEnd()
32885
    iprot.readStructEnd()
32886
 
32887
  def write(self, oprot):
32888
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32889
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32890
      return
32891
    oprot.writeStructBegin('addHsItem_args')
32892
    if self.hsItems is not None:
32893
      oprot.writeFieldBegin('hsItems', TType.LIST, 1)
32894
      oprot.writeListBegin(TType.STRUCT, len(self.hsItems))
32895
      for iter851 in self.hsItems:
32896
        iter851.write(oprot)
32897
      oprot.writeListEnd()
32898
      oprot.writeFieldEnd()
32899
    oprot.writeFieldStop()
32900
    oprot.writeStructEnd()
32901
 
32902
  def validate(self):
32903
    return
32904
 
32905
 
32906
  def __repr__(self):
32907
    L = ['%s=%r' % (key, value)
32908
      for key, value in self.__dict__.iteritems()]
32909
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32910
 
32911
  def __eq__(self, other):
32912
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32913
 
32914
  def __ne__(self, other):
32915
    return not (self == other)
32916
 
32917
class addHsItem_result:
32918
 
32919
  thrift_spec = (
32920
  )
32921
 
32922
  def read(self, iprot):
32923
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32924
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32925
      return
32926
    iprot.readStructBegin()
32927
    while True:
32928
      (fname, ftype, fid) = iprot.readFieldBegin()
32929
      if ftype == TType.STOP:
32930
        break
32931
      else:
32932
        iprot.skip(ftype)
32933
      iprot.readFieldEnd()
32934
    iprot.readStructEnd()
32935
 
32936
  def write(self, oprot):
32937
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32938
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32939
      return
32940
    oprot.writeStructBegin('addHsItem_result')
32941
    oprot.writeFieldStop()
32942
    oprot.writeStructEnd()
32943
 
32944
  def validate(self):
32945
    return
32946
 
32947
 
32948
  def __repr__(self):
32949
    L = ['%s=%r' % (key, value)
32950
      for key, value in self.__dict__.iteritems()]
32951
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32952
 
32953
  def __eq__(self, other):
32954
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32955
 
32956
  def __ne__(self, other):
32957
    return not (self == other)
32958
 
32959
class getHsItem_args:
32960
  """
32961
  Attributes:
32962
   - hsItemId
32963
  """
32964
 
32965
  thrift_spec = (
32966
    None, # 0
32967
    (1, TType.STRING, 'hsItemId', None, None, ), # 1
32968
  )
32969
 
32970
  def __init__(self, hsItemId=None,):
32971
    self.hsItemId = hsItemId
32972
 
32973
  def read(self, iprot):
32974
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32975
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32976
      return
32977
    iprot.readStructBegin()
32978
    while True:
32979
      (fname, ftype, fid) = iprot.readFieldBegin()
32980
      if ftype == TType.STOP:
32981
        break
32982
      if fid == 1:
32983
        if ftype == TType.STRING:
32984
          self.hsItemId = iprot.readString();
32985
        else:
32986
          iprot.skip(ftype)
32987
      else:
32988
        iprot.skip(ftype)
32989
      iprot.readFieldEnd()
32990
    iprot.readStructEnd()
32991
 
32992
  def write(self, oprot):
32993
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32994
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32995
      return
32996
    oprot.writeStructBegin('getHsItem_args')
32997
    if self.hsItemId is not None:
32998
      oprot.writeFieldBegin('hsItemId', TType.STRING, 1)
32999
      oprot.writeString(self.hsItemId)
33000
      oprot.writeFieldEnd()
33001
    oprot.writeFieldStop()
33002
    oprot.writeStructEnd()
33003
 
33004
  def validate(self):
33005
    return
33006
 
33007
 
33008
  def __repr__(self):
33009
    L = ['%s=%r' % (key, value)
33010
      for key, value in self.__dict__.iteritems()]
33011
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33012
 
33013
  def __eq__(self, other):
33014
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33015
 
33016
  def __ne__(self, other):
33017
    return not (self == other)
33018
 
33019
class getHsItem_result:
33020
  """
33021
  Attributes:
33022
   - success
33023
  """
33024
 
33025
  thrift_spec = (
33026
    (0, TType.STRUCT, 'success', (HsItem, HsItem.thrift_spec), None, ), # 0
33027
  )
33028
 
33029
  def __init__(self, success=None,):
33030
    self.success = success
33031
 
33032
  def read(self, iprot):
33033
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33034
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33035
      return
33036
    iprot.readStructBegin()
33037
    while True:
33038
      (fname, ftype, fid) = iprot.readFieldBegin()
33039
      if ftype == TType.STOP:
33040
        break
33041
      if fid == 0:
33042
        if ftype == TType.STRUCT:
33043
          self.success = HsItem()
33044
          self.success.read(iprot)
33045
        else:
33046
          iprot.skip(ftype)
33047
      else:
33048
        iprot.skip(ftype)
33049
      iprot.readFieldEnd()
33050
    iprot.readStructEnd()
33051
 
33052
  def write(self, oprot):
33053
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33054
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33055
      return
33056
    oprot.writeStructBegin('getHsItem_result')
33057
    if self.success is not None:
33058
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
33059
      self.success.write(oprot)
33060
      oprot.writeFieldEnd()
33061
    oprot.writeFieldStop()
33062
    oprot.writeStructEnd()
33063
 
33064
  def validate(self):
33065
    return
33066
 
33067
 
33068
  def __repr__(self):
33069
    L = ['%s=%r' % (key, value)
33070
      for key, value in self.__dict__.iteritems()]
33071
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33072
 
33073
  def __eq__(self, other):
33074
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33075
 
33076
  def __ne__(self, other):
33077
    return not (self == other)
33078
 
33079
class updateHsItem_args:
33080
  """
33081
  Attributes:
33082
   - hsItem
33083
  """
33084
 
33085
  thrift_spec = (
33086
    None, # 0
33087
    (1, TType.STRUCT, 'hsItem', (HsItem, HsItem.thrift_spec), None, ), # 1
33088
  )
33089
 
33090
  def __init__(self, hsItem=None,):
33091
    self.hsItem = hsItem
33092
 
33093
  def read(self, iprot):
33094
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33095
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33096
      return
33097
    iprot.readStructBegin()
33098
    while True:
33099
      (fname, ftype, fid) = iprot.readFieldBegin()
33100
      if ftype == TType.STOP:
33101
        break
33102
      if fid == 1:
33103
        if ftype == TType.STRUCT:
33104
          self.hsItem = HsItem()
33105
          self.hsItem.read(iprot)
33106
        else:
33107
          iprot.skip(ftype)
33108
      else:
33109
        iprot.skip(ftype)
33110
      iprot.readFieldEnd()
33111
    iprot.readStructEnd()
33112
 
33113
  def write(self, oprot):
33114
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33115
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33116
      return
33117
    oprot.writeStructBegin('updateHsItem_args')
33118
    if self.hsItem is not None:
33119
      oprot.writeFieldBegin('hsItem', TType.STRUCT, 1)
33120
      self.hsItem.write(oprot)
33121
      oprot.writeFieldEnd()
33122
    oprot.writeFieldStop()
33123
    oprot.writeStructEnd()
33124
 
33125
  def validate(self):
33126
    return
33127
 
33128
 
33129
  def __repr__(self):
33130
    L = ['%s=%r' % (key, value)
33131
      for key, value in self.__dict__.iteritems()]
33132
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33133
 
33134
  def __eq__(self, other):
33135
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33136
 
33137
  def __ne__(self, other):
33138
    return not (self == other)
33139
 
33140
class updateHsItem_result:
33141
 
33142
  thrift_spec = (
33143
  )
33144
 
33145
  def read(self, iprot):
33146
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33147
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33148
      return
33149
    iprot.readStructBegin()
33150
    while True:
33151
      (fname, ftype, fid) = iprot.readFieldBegin()
33152
      if ftype == TType.STOP:
33153
        break
33154
      else:
33155
        iprot.skip(ftype)
33156
      iprot.readFieldEnd()
33157
    iprot.readStructEnd()
33158
 
33159
  def write(self, oprot):
33160
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33161
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33162
      return
33163
    oprot.writeStructBegin('updateHsItem_result')
33164
    oprot.writeFieldStop()
33165
    oprot.writeStructEnd()
33166
 
33167
  def validate(self):
33168
    return
33169
 
33170
 
33171
  def __repr__(self):
33172
    L = ['%s=%r' % (key, value)
33173
      for key, value in self.__dict__.iteritems()]
33174
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33175
 
33176
  def __eq__(self, other):
33177
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33178
 
33179
  def __ne__(self, other):
33180
    return not (self == other)
14182 kshitij.so 33181
 
33182
class getPricingForDtr_args:
33183
  """
33184
  Attributes:
33185
   - catalogItemId
33186
  """
33187
 
33188
  thrift_spec = (
33189
    None, # 0
33190
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
33191
  )
33192
 
33193
  def __init__(self, catalogItemId=None,):
33194
    self.catalogItemId = catalogItemId
33195
 
33196
  def read(self, iprot):
33197
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33198
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33199
      return
33200
    iprot.readStructBegin()
33201
    while True:
33202
      (fname, ftype, fid) = iprot.readFieldBegin()
33203
      if ftype == TType.STOP:
33204
        break
33205
      if fid == 1:
33206
        if ftype == TType.I64:
33207
          self.catalogItemId = iprot.readI64();
33208
        else:
33209
          iprot.skip(ftype)
33210
      else:
33211
        iprot.skip(ftype)
33212
      iprot.readFieldEnd()
33213
    iprot.readStructEnd()
33214
 
33215
  def write(self, oprot):
33216
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33217
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33218
      return
33219
    oprot.writeStructBegin('getPricingForDtr_args')
33220
    if self.catalogItemId is not None:
33221
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
33222
      oprot.writeI64(self.catalogItemId)
33223
      oprot.writeFieldEnd()
33224
    oprot.writeFieldStop()
33225
    oprot.writeStructEnd()
33226
 
33227
  def validate(self):
33228
    return
33229
 
33230
 
33231
  def __repr__(self):
33232
    L = ['%s=%r' % (key, value)
33233
      for key, value in self.__dict__.iteritems()]
33234
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33235
 
33236
  def __eq__(self, other):
33237
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33238
 
33239
  def __ne__(self, other):
33240
    return not (self == other)
33241
 
33242
class getPricingForDtr_result:
33243
  """
33244
  Attributes:
33245
   - success
33246
  """
33247
 
33248
  thrift_spec = (
33249
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
33250
  )
33251
 
33252
  def __init__(self, success=None,):
33253
    self.success = success
33254
 
33255
  def read(self, iprot):
33256
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33257
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33258
      return
33259
    iprot.readStructBegin()
33260
    while True:
33261
      (fname, ftype, fid) = iprot.readFieldBegin()
33262
      if ftype == TType.STOP:
33263
        break
33264
      if fid == 0:
33265
        if ftype == TType.STRUCT:
33266
          self.success = Item()
33267
          self.success.read(iprot)
33268
        else:
33269
          iprot.skip(ftype)
33270
      else:
33271
        iprot.skip(ftype)
33272
      iprot.readFieldEnd()
33273
    iprot.readStructEnd()
33274
 
33275
  def write(self, oprot):
33276
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33277
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33278
      return
33279
    oprot.writeStructBegin('getPricingForDtr_result')
33280
    if self.success is not None:
33281
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
33282
      self.success.write(oprot)
33283
      oprot.writeFieldEnd()
33284
    oprot.writeFieldStop()
33285
    oprot.writeStructEnd()
33286
 
33287
  def validate(self):
33288
    return
33289
 
33290
 
33291
  def __repr__(self):
33292
    L = ['%s=%r' % (key, value)
33293
      for key, value in self.__dict__.iteritems()]
33294
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33295
 
33296
  def __eq__(self, other):
33297
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33298
 
33299
  def __ne__(self, other):
33300
    return not (self == other)
14362 kshitij.so 33301
 
33302
class getLatestPricing_args:
33303
  """
33304
  Attributes:
33305
   - skuBundleId
33306
   - source_id
33307
  """
33308
 
33309
  thrift_spec = (
33310
    None, # 0
33311
    (1, TType.I64, 'skuBundleId', None, None, ), # 1
33312
    (2, TType.I64, 'source_id', None, None, ), # 2
33313
  )
33314
 
33315
  def __init__(self, skuBundleId=None, source_id=None,):
33316
    self.skuBundleId = skuBundleId
33317
    self.source_id = source_id
33318
 
33319
  def read(self, iprot):
33320
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33321
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33322
      return
33323
    iprot.readStructBegin()
33324
    while True:
33325
      (fname, ftype, fid) = iprot.readFieldBegin()
33326
      if ftype == TType.STOP:
33327
        break
33328
      if fid == 1:
33329
        if ftype == TType.I64:
33330
          self.skuBundleId = iprot.readI64();
33331
        else:
33332
          iprot.skip(ftype)
33333
      elif fid == 2:
33334
        if ftype == TType.I64:
33335
          self.source_id = iprot.readI64();
33336
        else:
33337
          iprot.skip(ftype)
33338
      else:
33339
        iprot.skip(ftype)
33340
      iprot.readFieldEnd()
33341
    iprot.readStructEnd()
33342
 
33343
  def write(self, oprot):
33344
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33345
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33346
      return
33347
    oprot.writeStructBegin('getLatestPricing_args')
33348
    if self.skuBundleId is not None:
33349
      oprot.writeFieldBegin('skuBundleId', TType.I64, 1)
33350
      oprot.writeI64(self.skuBundleId)
33351
      oprot.writeFieldEnd()
33352
    if self.source_id is not None:
33353
      oprot.writeFieldBegin('source_id', TType.I64, 2)
33354
      oprot.writeI64(self.source_id)
33355
      oprot.writeFieldEnd()
33356
    oprot.writeFieldStop()
33357
    oprot.writeStructEnd()
33358
 
33359
  def validate(self):
33360
    return
33361
 
33362
 
33363
  def __repr__(self):
33364
    L = ['%s=%r' % (key, value)
33365
      for key, value in self.__dict__.iteritems()]
33366
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33367
 
33368
  def __eq__(self, other):
33369
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33370
 
33371
  def __ne__(self, other):
33372
    return not (self == other)
33373
 
33374
class getLatestPricing_result:
33375
  """
33376
  Attributes:
33377
   - success
33378
  """
33379
 
33380
  thrift_spec = (
33381
    (0, TType.LIST, 'success', (TType.STRUCT,(LivePricing, LivePricing.thrift_spec)), None, ), # 0
33382
  )
33383
 
33384
  def __init__(self, success=None,):
33385
    self.success = success
33386
 
33387
  def read(self, iprot):
33388
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
33389
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
33390
      return
33391
    iprot.readStructBegin()
33392
    while True:
33393
      (fname, ftype, fid) = iprot.readFieldBegin()
33394
      if ftype == TType.STOP:
33395
        break
33396
      if fid == 0:
33397
        if ftype == TType.LIST:
33398
          self.success = []
33399
          (_etype855, _size852) = iprot.readListBegin()
33400
          for _i856 in xrange(_size852):
33401
            _elem857 = LivePricing()
33402
            _elem857.read(iprot)
33403
            self.success.append(_elem857)
33404
          iprot.readListEnd()
33405
        else:
33406
          iprot.skip(ftype)
33407
      else:
33408
        iprot.skip(ftype)
33409
      iprot.readFieldEnd()
33410
    iprot.readStructEnd()
33411
 
33412
  def write(self, oprot):
33413
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
33414
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
33415
      return
33416
    oprot.writeStructBegin('getLatestPricing_result')
33417
    if self.success is not None:
33418
      oprot.writeFieldBegin('success', TType.LIST, 0)
33419
      oprot.writeListBegin(TType.STRUCT, len(self.success))
33420
      for iter858 in self.success:
33421
        iter858.write(oprot)
33422
      oprot.writeListEnd()
33423
      oprot.writeFieldEnd()
33424
    oprot.writeFieldStop()
33425
    oprot.writeStructEnd()
33426
 
33427
  def validate(self):
33428
    return
33429
 
33430
 
33431
  def __repr__(self):
33432
    L = ['%s=%r' % (key, value)
33433
      for key, value in self.__dict__.iteritems()]
33434
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
33435
 
33436
  def __eq__(self, other):
33437
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
33438
 
33439
  def __ne__(self, other):
33440
    return not (self == other)