Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
5944 mandeep.dh 1
#
2
# Autogenerated by Thrift Compiler (0.7.0)
3
#
4
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
#
6
 
7
from thrift.Thrift import *
8
import shop2020.thriftpy.generic.GenericService
9
from ttypes import *
10
from thrift.Thrift import TProcessor
11
from thrift.transport import TTransport
12
from thrift.protocol import TBinaryProtocol, TProtocol
13
try:
14
  from thrift.protocol import fastbinary
15
except:
16
  fastbinary = None
17
 
18
 
19
class Iface(shop2020.thriftpy.generic.GenericService.Iface):
20
  def addItem(self, item):
21
    """
22
    Availability and inventory attributes
23
 
24
    Parameters:
25
     - item
26
    """
27
    pass
28
 
29
  def updateItem(self, item):
30
    """
31
    Parameters:
32
     - item
33
    """
34
    pass
35
 
36
  def isActive(self, itemId):
37
    """
38
    Checks if the item given to the corresponding itemId is active. If it's active,
39
    whether it's risky and if it's risky, its inventory position.
40
 
41
    Parameters:
42
     - itemId
43
    """
44
    pass
45
 
7438 amit.gupta 46
  def getItemsStatus(self, itemIds):
47
    """
48
    Parameters:
49
     - itemIds
50
    """
51
    pass
52
 
5944 mandeep.dh 53
  def getItemStatusDescription(self, itemId):
54
    """
55
    Parameters:
56
     - itemId
57
    """
58
    pass
59
 
60
  def startItemOn(self, item_id, timestamp):
61
    """
62
    Parameters:
63
     - item_id
64
     - timestamp
65
    """
66
    pass
67
 
68
  def retireItemOn(self, item_id, timestamp):
69
    """
70
    Parameters:
71
     - item_id
72
     - timestamp
73
    """
74
    pass
75
 
76
  def changeItemStatus(self, item_id, timestamp, newstatus):
77
    """
78
    Parameters:
79
     - item_id
80
     - timestamp
81
     - newstatus
82
    """
83
    pass
84
 
85
  def getItem(self, item_id):
86
    """
87
    Parameters:
88
     - item_id
89
    """
90
    pass
91
 
92
  def getItemsByCatalogId(self, catalog_item_id):
93
    """
94
    Parameters:
95
     - catalog_item_id
96
    """
97
    pass
98
 
99
  def getValidItemsByCatalogId(self, catalog_item_id):
100
    """
101
    Parameters:
102
     - catalog_item_id
103
    """
104
    pass
105
 
106
  def getAllItems(self, isActive):
107
    """
108
    Parameters:
109
     - isActive
110
    """
111
    pass
112
 
113
  def getAllItemsByStatus(self, itemStatus):
114
    """
115
    Parameters:
116
     - itemStatus
117
    """
118
    pass
119
 
9253 rajveer 120
  def markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 121
    """
122
    Parameters:
123
     - entityId
124
     - category
125
     - brand
126
     - modelName
127
     - modelNumber
9253 rajveer 128
     - isAndroid
5944 mandeep.dh 129
    """
130
    pass
131
 
12567 amit.gupta 132
  def getVatRates(self, itemId, categoryId):
133
    """
134
    Parameters:
135
     - itemId
136
     - categoryId
137
    """
138
    pass
139
 
5944 mandeep.dh 140
  def getAllItemsInRange(self, offset, limit):
141
    """
142
    Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
143
 
144
    Parameters:
145
     - offset
146
     - limit
147
    """
148
    pass
149
 
150
  def getAllItemsByStatusInRange(self, itemStatus, offset, limit):
151
    """
152
    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.
153
 
154
    Parameters:
155
     - itemStatus
156
     - offset
157
     - limit
158
    """
159
    pass
160
 
161
  def getItemCountByStatus(self, useStatus, itemStatus):
162
    """
163
    Gets a count of all items by status
164
 
165
    Parameters:
166
     - useStatus
167
     - itemStatus
168
    """
169
    pass
170
 
171
  def getBestSellers(self, ):
172
    pass
173
 
174
  def getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
175
    """
176
    Parameters:
177
     - beginIndex
178
     - totalItems
179
     - brand
180
     - category
181
    """
182
    pass
183
 
184
  def getBestSellersCount(self, ):
185
    pass
186
 
187
  def getBestDeals(self, ):
188
    pass
189
 
190
  def getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
191
    """
192
    Parameters:
193
     - beginIndex
194
     - totalItems
195
     - brand
196
     - category
197
    """
198
    pass
199
 
200
  def getBestDealsCount(self, ):
201
    pass
202
 
203
  def getComingSoon(self, ):
204
    pass
205
 
206
  def getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
207
    """
208
    Parameters:
209
     - beginIndex
210
     - totalItems
211
     - brand
212
     - category
213
    """
214
    pass
215
 
216
  def getComingSoonCount(self, ):
217
    pass
218
 
219
  def getLatestArrivals(self, ):
220
    """
221
    Returns a list of items sorted in the descending order by start date.
222
    The list is limited to the 'latest_arrivals_count' configuraiton parameter.
223
    """
224
    pass
225
 
226
  def getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
227
    """
228
    Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
229
    To ignore the categories, pass the list as empty. To ignore brand, pass it as null.
230
 
231
    Parameters:
232
     - beginIndex
233
     - totalItems
234
     - brand
235
     - categories
236
    """
237
    pass
238
 
239
  def getLatestArrivalsCount(self, ):
240
    """
241
    Get the total number of latest arrivals we are willing to show.
242
    The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
243
    """
244
    pass
245
 
246
  def generateNewEntityID(self, ):
247
    pass
248
 
249
  def addCategory(self, category):
250
    """
251
    All category related functions
252
 
253
    Parameters:
254
     - category
255
    """
256
    pass
257
 
258
  def getCategory(self, id):
259
    """
260
    Parameters:
261
     - id
262
    """
263
    pass
264
 
265
  def getAllCategories(self, ):
266
    pass
267
 
268
  def getAllSimilarItems(self, itemId):
269
    """
270
    Returns the list of similar items.
271
 
272
    Parameters:
273
     - itemId
274
    """
275
    pass
276
 
277
  def addSimilarItem(self, itemId, catalogItemId):
278
    """
279
    Adds similar item.
280
 
281
    Parameters:
282
     - itemId
283
     - catalogItemId
284
    """
285
    pass
286
 
6512 kshitij.so 287
  def addTag(self, displayName, itemId):
288
    """
289
    Tag Related
290
 
291
    Parameters:
292
     - displayName
293
     - itemId
294
    """
295
    pass
296
 
297
  def deleteEntityTag(self, displayName, itemId):
298
    """
299
    Parameters:
300
     - displayName
301
     - itemId
302
    """
303
    pass
304
 
305
  def deleteTag(self, displayName):
306
    """
307
    Parameters:
308
     - displayName
309
    """
310
    pass
311
 
312
  def getAllTags(self, ):
313
    pass
314
 
315
  def getAllEntitiesByTagName(self, displayName):
316
    """
317
    Parameters:
318
     - displayName
319
    """
320
    pass
321
 
6845 amit.gupta 322
  def getAllEntityTags(self, ):
323
    pass
324
 
8590 kshitij.so 325
  def addBanner(self, bannerCongregate):
6850 kshitij.so 326
    """
8579 kshitij.so 327
    Banner Related
328
 
6850 kshitij.so 329
    Parameters:
8590 kshitij.so 330
     - bannerCongregate
6850 kshitij.so 331
    """
332
    pass
333
 
8579 kshitij.so 334
  def updateBanner(self, banner):
335
    """
336
    Parameters:
337
     - banner
338
    """
339
    pass
340
 
6850 kshitij.so 341
  def getAllBanners(self, ):
342
    pass
343
 
9155 kshitij.so 344
  def deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 345
    """
346
    Parameters:
347
     - bannerName
9155 kshitij.so 348
     - bannerType
6850 kshitij.so 349
    """
350
    pass
351
 
9155 kshitij.so 352
  def getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 353
    """
354
    Parameters:
355
     - bannerName
9155 kshitij.so 356
     - bannerType
6850 kshitij.so 357
    """
358
    pass
359
 
360
  def getActiveBanners(self, ):
361
    pass
362
 
8579 kshitij.so 363
  def addBannerMap(self, bannerMaps):
6849 kshitij.so 364
    """
365
    Parameters:
8579 kshitij.so 366
     - bannerMaps
6849 kshitij.so 367
    """
368
    pass
369
 
8579 kshitij.so 370
  def updateBannerMap(self, bannerMap):
371
    """
372
    Parameters:
373
     - bannerMap
374
    """
375
    pass
376
 
6849 kshitij.so 377
  def deleteBannerMap(self, bannerName):
378
    """
379
    Parameters:
380
     - bannerName
381
    """
382
    pass
383
 
9155 kshitij.so 384
  def getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 385
    """
386
    Parameters:
387
     - bannerName
9155 kshitij.so 388
     - bannerType
6849 kshitij.so 389
    """
390
    pass
391
 
8579 kshitij.so 392
  def addBannerUri(self, bannerUriMappings):
393
    """
394
    Parameters:
395
     - bannerUriMappings
396
    """
397
    pass
398
 
9155 kshitij.so 399
  def getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 400
    """
401
    Parameters:
402
     - bannerName
9155 kshitij.so 403
     - bannerType
8579 kshitij.so 404
    """
405
    pass
406
 
407
  def addCampaign(self, campaign):
408
    """
409
    Parameters:
410
     - campaign
411
    """
412
    pass
413
 
414
  def getCampaigns(self, campaignName):
415
    """
416
    Parameters:
417
     - campaignName
418
    """
419
    pass
420
 
421
  def deleteCampaign(self, campaignId):
422
    """
423
    Parameters:
424
     - campaignId
425
    """
426
    pass
427
 
428
  def getAllCampaigns(self, ):
429
    pass
430
 
9155 kshitij.so 431
  def getActiveBannersForMobileSite(self, ):
432
    pass
433
 
5944 mandeep.dh 434
  def deleteSimilarItem(self, itemId, catalogItemId):
435
    """
436
    Delete similar item.
437
 
438
    Parameters:
439
     - itemId
440
     - catalogItemId
441
    """
442
    pass
443
 
444
  def checkSimilarItem(self, brand, modelNumber, modelName, color):
445
    """
446
    Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
447
    If yes, returns the itemId else returns 0
448
 
449
    Parameters:
450
     - brand
451
     - modelNumber
452
     - modelName
453
     - color
454
    """
455
    pass
456
 
457
  def validateRiskyStatus(self, itemId):
458
    """
459
    Check wether item is risky and change status if inventory is not available for risky items
460
 
461
    Parameters:
462
     - itemId
463
    """
464
    pass
465
 
466
  def changeItemRiskyFlag(self, itemId, risky):
467
    """
468
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
469
 
470
    Parameters:
471
     - itemId
472
     - risky
473
    """
474
    pass
475
 
476
  def getItemsByRiskyFlag(self, ):
477
    """
478
    Returns list of items marked as risky.
479
    """
480
    pass
481
 
482
  def getItemsForMasterSheet(self, category, brand):
483
    """
484
    Returns list of items with any status except PHASED_OUT and filtered by category, brand.
485
 
486
    Parameters:
487
     - category
488
     - brand
489
    """
490
    pass
491
 
492
  def getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
493
    """
494
    Returns list of catalog ids of items with same similarity index as of the given itemId
495
 
496
    Parameters:
497
     - beginIndex
498
     - totalItems
499
     - itemId
500
    """
501
    pass
502
 
503
  def addProductNotification(self, itemId, email):
504
    """
505
    Add user requests for out of stock items. Once user will ask for notify me an entry will
506
 
507
    Parameters:
508
     - itemId
509
     - email
510
    """
511
    pass
512
 
513
  def sendProductNotifications(self, ):
514
    """
515
    Send the product notifications to the users for items which has stock.
516
    """
517
    pass
518
 
519
  def getAllBrandsByCategory(self, categoryId):
520
    """
521
    Returns list of brand names for a given category Id
522
 
523
    Parameters:
524
     - categoryId
525
    """
526
    pass
527
 
528
  def getAllBrands(self, ):
529
    """
530
    Returns list of brand names
531
    """
532
    pass
533
 
534
  def getAllSources(self, ):
535
    """
536
    Return list of all sources
537
    """
538
    pass
539
 
540
  def getItemPricingBySource(self, itemId, sourceId):
541
    """
542
    Returns the pricing information of an item. If no information is found, exception will be thrown.
543
 
544
    Parameters:
545
     - itemId
546
     - sourceId
547
    """
548
    pass
549
 
550
  def addSourceItemPricing(self, sourceItemPricing):
551
    """
552
    Adds prices to be displayed corresponding to the item if user comes from a source.
553
    If item is not found or source is not found, it will throw exception.
554
 
555
    Parameters:
556
     - sourceItemPricing
557
    """
558
    pass
559
 
560
  def getAllSourcePricing(self, itemId):
561
    """
562
    Returns the list of source pricing information of an item.
563
    Raises an exception if item not found corresponding to itemId
564
 
565
    Parameters:
566
     - itemId
567
    """
568
    pass
569
 
570
  def getItemForSource(self, item_id, sourceId):
571
    """
572
    Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
573
 
574
    Parameters:
575
     - item_id
576
     - sourceId
577
    """
578
    pass
579
 
580
  def searchItemsInRange(self, searchTerms, offset, limit):
581
    """
582
    Searches items matching the the given terms in the catalog and returns results within the specified range.
583
 
584
    Parameters:
585
     - searchTerms
586
     - offset
587
     - limit
588
    """
589
    pass
590
 
591
  def getSearchResultCount(self, searchTerms):
592
    """
593
    Gets the count of search results for the given search terms so that the user can go through all the pages.
594
 
595
    Parameters:
596
     - searchTerms
597
    """
598
    pass
599
 
600
  def getProductNotifications(self, startDateTime):
601
    """
602
    Returns a list of product notifications added after a supplied datetime
603
 
604
    Parameters:
605
     - startDateTime
606
    """
607
    pass
608
 
7897 amar.kumar 609
  def getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 610
    """
611
    Returns a list of count of requests for product notification against each item
612
 
613
    Parameters:
614
     - startDateTime
7897 amar.kumar 615
     - categoryId
5944 mandeep.dh 616
    """
617
    pass
618
 
619
  def addAuthorizationLog(self, itemId, username, reason):
620
    """
621
    This method adds a log to authorize table with Item Id, username who authorized the change, reason.
622
 
623
    Parameters:
624
     - itemId
625
     - username
626
     - reason
627
    """
628
    pass
629
 
630
  def addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
631
    """
632
    Parameters:
633
     - catalog_item_id
634
     - voucherType
635
     - voucherAmount
636
    """
637
    pass
638
 
639
  def deleteVoucherForItem(self, catalog_item_id, voucherType):
640
    """
641
    Parameters:
642
     - catalog_item_id
643
     - voucherType
644
    """
645
    pass
646
 
647
  def getVoucherAmount(self, itemId, voucherType):
648
    """
649
    Parameters:
650
     - itemId
651
     - voucherType
652
    """
653
    pass
654
 
655
  def getAllItemVouchers(self, itemId):
656
    """
657
    Parameters:
658
     - itemId
659
    """
660
    pass
661
 
662
  def isValidCatalogItemId(self, catalog_item_id):
663
    """
664
    Parameters:
665
     - catalog_item_id
666
    """
667
    pass
668
 
7330 amit.gupta 669
  def getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 670
    """
671
    Parameters:
672
     - itemId
7330 amit.gupta 673
     - stateId
6039 amit.gupta 674
     - price
675
    """
676
    pass
5944 mandeep.dh 677
 
6039 amit.gupta 678
  def getVatAmountForItem(self, itemId, price):
679
    """
680
    Parameters:
681
     - itemId
682
     - price
683
    """
684
    pass
685
 
6531 vikram.rag 686
  def getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
687
    """
688
    Parameters:
689
     - offset
690
     - limit
691
    """
692
    pass
6039 amit.gupta 693
 
6821 amar.kumar 694
  def getAllAliveItems(self, ):
695
    pass
696
 
6921 anupam.sin 697
  def getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 698
    """
699
    This method returns the insurance amount needed to insure the given item for a given quantity.
6531 vikram.rag 700
 
6805 anupam.sin 701
    Parameters:
702
     - itemId
6921 anupam.sin 703
     - price
6805 anupam.sin 704
     - insurerId
705
     - quantity
706
    """
707
    pass
708
 
709
  def getInsurer(self, insurerId):
710
    """
711
    Parameters:
712
     - insurerId
713
    """
714
    pass
715
 
6838 vikram.rag 716
  def getAllInsurers(self, ):
717
    pass
6805 anupam.sin 718
 
6962 rajveer 719
  def updateInsuranceDeclaredAmount(self, insurerId, amount):
720
    """
721
    Parameters:
722
     - insurerId
723
     - amount
724
    """
725
    pass
6838 vikram.rag 726
 
7190 amar.kumar 727
  def getFreebieForItem(self, itemId):
728
    """
729
    Parameters:
730
     - itemId
731
    """
732
    pass
6962 rajveer 733
 
7190 amar.kumar 734
  def addOrUpdateFreebieForItem(self, freebieItem):
735
    """
736
    Parameters:
737
     - freebieItem
738
    """
739
    pass
740
 
7272 amit.gupta 741
  def addOrUpdateBrandInfo(self, brandInfo):
742
    """
743
    Parameters:
744
     - brandInfo
745
    """
746
    pass
747
 
748
  def getBrandInfo(self, ):
749
    pass
750
 
7256 rajveer 751
  def getStorePricing(self, itemId):
752
    """
753
    Parameters:
754
     - itemId
755
    """
756
    pass
7190 amar.kumar 757
 
7306 rajveer 758
  def getStorePricings(self, itemIds):
759
    """
760
    Parameters:
761
     - itemIds
762
    """
763
    pass
764
 
7382 rajveer 765
  def updateStorePricing(self, sp, allColors):
7265 rajveer 766
    """
767
    Parameters:
768
     - sp
7382 rajveer 769
     - allColors
7265 rajveer 770
    """
771
    pass
7256 rajveer 772
 
7281 kshitij.so 773
  def getAllAmazonListedItems(self, ):
774
    pass
7265 rajveer 775
 
8619 kshitij.so 776
  def searchAmazonItems(self, searchTerm, offset, limit):
777
    """
778
    Parameters:
779
     - searchTerm
780
     - offset
781
     - limit
782
    """
783
    pass
784
 
785
  def getAmazonSearchResultCount(self, searchTerm):
786
    """
787
    Parameters:
788
     - searchTerm
789
    """
790
    pass
791
 
792
  def getCountForAmazonlistedItems(self, ):
793
    pass
794
 
7281 kshitij.so 795
  def getAmazonItemDetails(self, itemId):
796
    """
797
    Parameters:
798
     - itemId
799
    """
800
    pass
801
 
8168 kshitij.so 802
  def updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 803
    """
804
    Parameters:
8168 kshitij.so 805
     - amazonlisted
7281 kshitij.so 806
    """
807
    pass
808
 
809
  def addAmazonItem(self, amazonlisted):
810
    """
811
    Parameters:
812
     - amazonlisted
813
    """
814
    pass
815
 
7291 vikram.rag 816
  def getAsinItems(self, ):
817
    pass
7281 kshitij.so 818
 
7291 vikram.rag 819
  def getAllFbaListedItems(self, ):
820
    pass
821
 
822
  def getAllNonFbaListedItems(self, ):
823
    pass
824
 
7460 kshitij.so 825
  def updateItemInventory(self, itemId, holdInventory, defaultInventory):
826
    """
827
    Parameters:
828
     - itemId
829
     - holdInventory
830
     - defaultInventory
831
    """
832
    pass
7291 vikram.rag 833
 
7770 kshitij.so 834
  def updateTimestampForAmazonFeeds(self, type, sku, timestamp):
835
    """
836
    Parameters:
837
     - type
838
     - sku
839
     - timestamp
840
    """
841
    pass
7460 kshitij.so 842
 
7897 amar.kumar 843
  def getAllParentCategories(self, ):
844
    pass
7770 kshitij.so 845
 
7977 kshitij.so 846
  def addPageViewEvent(self, pageViewEvents):
847
    """
848
    Parameters:
849
     - pageViewEvents
850
    """
851
    pass
7897 amar.kumar 852
 
7977 kshitij.so 853
  def addCartEvent(self, cartEvents):
854
    """
855
    Parameters:
856
     - cartEvents
857
    """
858
    pass
859
 
8182 amar.kumar 860
  def addEbayItem(self, ebayItem):
861
    """
862
    Parameters:
863
     - ebayItem
864
    """
865
    pass
866
 
867
  def getEbayItem(self, listingId):
868
    """
869
    Parameters:
870
     - listingId
871
    """
872
    pass
873
 
874
  def updateEbayItem(self, ebayItem):
875
    """
876
    Parameters:
877
     - ebayItem
878
    """
879
    pass
880
 
8139 kshitij.so 881
  def getAmazonListedItems(self, offset, limit):
882
    """
883
    Parameters:
884
     - offset
885
     - limit
886
    """
887
    pass
7977 kshitij.so 888
 
8168 kshitij.so 889
  def updateAmazonAttributesInBulk(self, amazonlisted):
890
    """
891
    Parameters:
892
     - amazonlisted
893
    """
894
    pass
8139 kshitij.so 895
 
8379 vikram.rag 896
  def getAllItemstoListOnFba(self, ):
897
    pass
8168 kshitij.so 898
 
8379 vikram.rag 899
  def getAllItemstoListOnNonFba(self, ):
900
    pass
901
 
8619 kshitij.so 902
  def updateAsin(self, item):
903
    """
904
    Parameters:
905
     - item
906
    """
907
    pass
8616 vikram.rag 908
 
8739 vikram.rag 909
  def addOrUpdateSnapdealItem(self, snapdealitem):
910
    """
911
    Parameters:
912
     - snapdealitem
913
    """
914
    pass
8619 kshitij.so 915
 
8739 vikram.rag 916
  def getSnapdealItem(self, item_id):
917
    """
918
    Parameters:
919
     - item_id
920
    """
921
    pass
922
 
9242 kshitij.so 923
  def getSnapdealItemDetails(self, item_id):
924
    """
925
    Parameters:
926
     - item_id
927
    """
928
    pass
929
 
8739 vikram.rag 930
  def getAllSnapdealItems(self, ):
931
    pass
932
 
9242 kshitij.so 933
  def getSnapdealItems(self, offset, limit):
934
    """
935
    Parameters:
936
     - offset
937
     - limit
938
    """
939
    pass
8739 vikram.rag 940
 
9242 kshitij.so 941
  def searchSnapdealItems(self, searchTerm, offset, limit):
942
    """
943
    Parameters:
944
     - searchTerm
945
     - offset
946
     - limit
947
    """
948
    pass
949
 
950
  def getCountForSnapdealItems(self, ):
951
    pass
952
 
953
  def getSnapdealSearchResultCount(self, searchTerm):
954
    """
955
    Parameters:
956
     - searchTerm
957
    """
958
    pass
959
 
9299 kshitij.so 960
  def getPrefferedInsurerForItem(self, itemId, insurerType):
961
    """
962
    Parameters:
963
     - itemId
964
     - insurerType
965
    """
966
    pass
9242 kshitij.so 967
 
9456 vikram.rag 968
  def getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
969
    """
970
    Parameters:
971
     - skuAtSnapdeal
972
    """
973
    pass
9299 kshitij.so 974
 
9621 manish.sha 975
  def getProductFeedSubmit(self, catalogItemId):
976
    """
977
    Parameters:
978
     - catalogItemId
979
    """
980
    pass
9456 vikram.rag 981
 
9621 manish.sha 982
  def addProductFeedSubmit(self, productFeedSubmit):
983
    """
984
    Parameters:
985
     - productFeedSubmit
986
    """
987
    pass
988
 
989
  def updateProductFeedSubmit(self, productFeedSubmit):
990
    """
991
    Parameters:
992
     - productFeedSubmit
993
    """
994
    pass
995
 
996
  def deleteProductFeedSubmit(self, catalogItemId):
997
    """
998
    Parameters:
999
     - catalogItemId
1000
    """
1001
    pass
1002
 
1003
  def getAllProductFeedSubmit(self, ):
1004
    pass
1005
 
9724 kshitij.so 1006
  def getMarketplacedetailsForItem(self, itemId, sourceId):
1007
    """
1008
    Parameters:
1009
     - itemId
1010
     - sourceId
1011
    """
1012
    pass
9621 manish.sha 1013
 
9724 kshitij.so 1014
  def updateMarketplaceAttributesForItem(self, marketPlaceItem):
1015
    """
1016
    Parameters:
1017
     - marketPlaceItem
1018
    """
1019
    pass
1020
 
9779 kshitij.so 1021
  def getCostingForMarketplace(self, source, item_id):
1022
    """
1023
    Parameters:
1024
     - source
1025
     - item_id
1026
    """
1027
    pass
1028
 
9776 vikram.rag 1029
  def getMarketPlaceItemsForPriceUpdate(self, source):
1030
    """
1031
    Parameters:
1032
     - source
1033
    """
1034
    pass
9724 kshitij.so 1035
 
9816 kshitij.so 1036
  def updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 1037
    """
1038
    Parameters:
1039
     - skulist
1040
     - timestamp
9816 kshitij.so 1041
     - source
9776 vikram.rag 1042
    """
1043
    pass
1044
 
9861 rajveer 1045
  def updateItemHoldInventory(self, itemHoldMap):
1046
    """
1047
    Parameters:
1048
     - itemHoldMap
1049
    """
1050
    pass
9776 vikram.rag 1051
 
9895 vikram.rag 1052
  def updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
1053
    """
1054
    Parameters:
1055
     - item_id
1056
     - vendor_id
1057
     - nlc
1058
    """
1059
    pass
9861 rajveer 1060
 
9945 vikram.rag 1061
  def getAllFlipkartItems(self, ):
1062
    pass
9895 vikram.rag 1063
 
10097 kshitij.so 1064
  def addOrUpdateFlipkartItem(self, flipkartitem):
1065
    """
1066
    Parameters:
1067
     - flipkartitem
1068
    """
1069
    pass
9945 vikram.rag 1070
 
10097 kshitij.so 1071
  def getFlipkartItem(self, item_id):
1072
    """
1073
    Parameters:
1074
     - item_id
1075
    """
1076
    pass
1077
 
1078
  def getFlipkartItemDetails(self, item_id):
1079
    """
1080
    Parameters:
1081
     - item_id
1082
    """
1083
    pass
1084
 
1085
  def getFlipkartItems(self, offset, limit):
1086
    """
1087
    Parameters:
1088
     - offset
1089
     - limit
1090
    """
1091
    pass
1092
 
1093
  def searchFlipkartItems(self, searchTerm, offset, limit):
1094
    """
1095
    Parameters:
1096
     - searchTerm
1097
     - offset
1098
     - limit
1099
    """
1100
    pass
1101
 
1102
  def getCountForFlipkartItems(self, ):
1103
    pass
1104
 
1105
  def getFlipkartSearchResultCount(self, searchTerm):
1106
    """
1107
    Parameters:
1108
     - searchTerm
1109
    """
1110
    pass
1111
 
1112
  def getAllFkItems(self, ):
1113
    pass
1114
 
10140 vikram.rag 1115
  def getFlipkartItemBySkyAtFlipkart(self, sku):
1116
    """
1117
    Parameters:
1118
     - sku
1119
    """
1120
    pass
10097 kshitij.so 1121
 
11015 kshitij.so 1122
  def getMarketplaceHistory(self, source, offset, itemId):
1123
    """
1124
    Parameters:
1125
     - source
1126
     - offset
1127
     - itemId
1128
    """
1129
    pass
1130
 
10909 vikram.rag 1131
  def getAllFbbListedItems(self, ):
1132
    pass
10140 vikram.rag 1133
 
10924 vikram.rag 1134
  def getAllFbbPricingItems(self, ):
1135
    pass
10909 vikram.rag 1136
 
11015 kshitij.so 1137
  def getCountForMarketplaceHistory(self, source, itemId):
1138
    """
1139
    Parameters:
1140
     - source
1141
     - itemId
1142
    """
1143
    pass
10924 vikram.rag 1144
 
11015 kshitij.so 1145
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
1146
    """
1147
    Parameters:
1148
     - source
1149
     - startDate
1150
     - endDate
1151
     - offset
1152
     - limit
1153
     - itemId
1154
    """
1155
    pass
1156
 
11531 vikram.rag 1157
  def getPrivateDealDetails(self, item_id):
1158
    """
1159
    Parameters:
1160
     - item_id
1161
    """
1162
    pass
11015 kshitij.so 1163
 
11531 vikram.rag 1164
  def getPrivateDealItems(self, offset, limit):
1165
    """
1166
    Parameters:
1167
     - offset
1168
     - limit
1169
    """
1170
    pass
1171
 
11653 amit.gupta 1172
  def getAllActivePrivateDeals(self, itemIds, daysDelta):
1173
    """
1174
    Parameters:
1175
     - itemIds
1176
     - daysDelta
1177
    """
11592 amit.gupta 1178
    pass
1179
 
11531 vikram.rag 1180
  def addOrUpdatePrivateDeal(self, privateDeal):
1181
    """
1182
    Parameters:
1183
     - privateDeal
1184
    """
1185
    pass
1186
 
11635 vikram.rag 1187
  def getPrivateDealsCatalogIds(self, beginIndex, totalItems):
1188
    """
1189
    Parameters:
1190
     - beginIndex
1191
     - totalItems
1192
    """
1193
    pass
11531 vikram.rag 1194
 
11645 amit.gupta 1195
  def getPrivateDealsCount(self, ):
1196
    pass
11635 vikram.rag 1197
 
11905 kshitij.so 1198
  def getAmazonOutSyncItems(self, item_id):
1199
    """
1200
    Parameters:
1201
     - item_id
1202
    """
1203
    pass
11645 amit.gupta 1204
 
11905 kshitij.so 1205
  def getAllPrivateDealsComparison(self, ):
1206
    pass
1207
 
12133 kshitij.so 1208
  def getAllSnapdealMarketplaceItem(self, ):
1209
    pass
11905 kshitij.so 1210
 
12133 kshitij.so 1211
  def getAllFlipkartMarketplaceItem(self, ):
1212
    pass
1213
 
12243 kshitij.so 1214
  def addCompetitorScraping(self, competitorPricingMap):
1215
    """
1216
    Parameters:
1217
     - competitorPricingMap
1218
    """
1219
    pass
12133 kshitij.so 1220
 
12243 kshitij.so 1221
  def getPreviousCompetitorScraping(self, delta):
1222
    """
1223
    Parameters:
1224
     - delta
1225
    """
1226
    pass
1227
 
12256 kshitij.so 1228
  def getUploadResultById(self, uploadId):
1229
    """
1230
    Parameters:
1231
     - uploadId
1232
    """
1233
    pass
12243 kshitij.so 1234
 
12363 kshitij.so 1235
  def addAmazonPromotion(self, amazonPromotions):
1236
    """
1237
    Parameters:
1238
     - amazonPromotions
1239
    """
1240
    pass
12256 kshitij.so 1241
 
12363 kshitij.so 1242
  def getAmazonPromotion(self, startDate, endDate):
1243
    """
1244
    Parameters:
1245
     - startDate
1246
     - endDate
1247
    """
1248
    pass
1249
 
1250
  def updateAmazonPromotion(self, amazonPromotions):
1251
    """
1252
    Parameters:
1253
     - amazonPromotions
1254
    """
1255
    pass
1256
 
12567 amit.gupta 1257
  def markPartiallyActive(self, itemId, categoryId):
1258
    """
1259
    Parameters:
1260
     - itemId
1261
     - categoryId
1262
    """
1263
    pass
12363 kshitij.so 1264
 
12567 amit.gupta 1265
  def updateItemStateVat(self, itemId, statevat):
1266
    """
1267
    Parameters:
1268
     - itemId
1269
     - statevat
1270
    """
1271
    pass
1272
 
12620 amit.gupta 1273
  def getExAffiliateItemInfo(self, ):
1274
    pass
12567 amit.gupta 1275
 
12888 kshitij.so 1276
  def getAllItemstoListOnFbg(self, ):
1277
    pass
12620 amit.gupta 1278
 
12892 kshitij.so 1279
  def getAllFbgListedItems(self, ):
1280
    pass
12888 kshitij.so 1281
 
12892 kshitij.so 1282
 
5944 mandeep.dh 1283
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
1284
  def __init__(self, iprot, oprot=None):
1285
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
1286
 
1287
  def addItem(self, item):
1288
    """
1289
    Availability and inventory attributes
1290
 
1291
    Parameters:
1292
     - item
1293
    """
1294
    self.send_addItem(item)
1295
    return self.recv_addItem()
1296
 
1297
  def send_addItem(self, item):
1298
    self._oprot.writeMessageBegin('addItem', TMessageType.CALL, self._seqid)
1299
    args = addItem_args()
1300
    args.item = item
1301
    args.write(self._oprot)
1302
    self._oprot.writeMessageEnd()
1303
    self._oprot.trans.flush()
1304
 
1305
  def recv_addItem(self, ):
1306
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1307
    if mtype == TMessageType.EXCEPTION:
1308
      x = TApplicationException()
1309
      x.read(self._iprot)
1310
      self._iprot.readMessageEnd()
1311
      raise x
1312
    result = addItem_result()
1313
    result.read(self._iprot)
1314
    self._iprot.readMessageEnd()
1315
    if result.success is not None:
1316
      return result.success
1317
    if result.cex is not None:
1318
      raise result.cex
1319
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addItem failed: unknown result");
1320
 
1321
  def updateItem(self, item):
1322
    """
1323
    Parameters:
1324
     - item
1325
    """
1326
    self.send_updateItem(item)
1327
    return self.recv_updateItem()
1328
 
1329
  def send_updateItem(self, item):
1330
    self._oprot.writeMessageBegin('updateItem', TMessageType.CALL, self._seqid)
1331
    args = updateItem_args()
1332
    args.item = item
1333
    args.write(self._oprot)
1334
    self._oprot.writeMessageEnd()
1335
    self._oprot.trans.flush()
1336
 
1337
  def recv_updateItem(self, ):
1338
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1339
    if mtype == TMessageType.EXCEPTION:
1340
      x = TApplicationException()
1341
      x.read(self._iprot)
1342
      self._iprot.readMessageEnd()
1343
      raise x
1344
    result = updateItem_result()
1345
    result.read(self._iprot)
1346
    self._iprot.readMessageEnd()
1347
    if result.success is not None:
1348
      return result.success
1349
    if result.cex is not None:
1350
      raise result.cex
1351
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItem failed: unknown result");
1352
 
1353
  def isActive(self, itemId):
1354
    """
1355
    Checks if the item given to the corresponding itemId is active. If it's active,
1356
    whether it's risky and if it's risky, its inventory position.
1357
 
1358
    Parameters:
1359
     - itemId
1360
    """
1361
    self.send_isActive(itemId)
1362
    return self.recv_isActive()
1363
 
1364
  def send_isActive(self, itemId):
1365
    self._oprot.writeMessageBegin('isActive', TMessageType.CALL, self._seqid)
1366
    args = isActive_args()
1367
    args.itemId = itemId
1368
    args.write(self._oprot)
1369
    self._oprot.writeMessageEnd()
1370
    self._oprot.trans.flush()
1371
 
1372
  def recv_isActive(self, ):
1373
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1374
    if mtype == TMessageType.EXCEPTION:
1375
      x = TApplicationException()
1376
      x.read(self._iprot)
1377
      self._iprot.readMessageEnd()
1378
      raise x
1379
    result = isActive_result()
1380
    result.read(self._iprot)
1381
    self._iprot.readMessageEnd()
1382
    if result.success is not None:
1383
      return result.success
1384
    if result.isex is not None:
1385
      raise result.isex
1386
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isActive failed: unknown result");
1387
 
7438 amit.gupta 1388
  def getItemsStatus(self, itemIds):
1389
    """
1390
    Parameters:
1391
     - itemIds
1392
    """
1393
    self.send_getItemsStatus(itemIds)
1394
    return self.recv_getItemsStatus()
1395
 
1396
  def send_getItemsStatus(self, itemIds):
1397
    self._oprot.writeMessageBegin('getItemsStatus', TMessageType.CALL, self._seqid)
1398
    args = getItemsStatus_args()
1399
    args.itemIds = itemIds
1400
    args.write(self._oprot)
1401
    self._oprot.writeMessageEnd()
1402
    self._oprot.trans.flush()
1403
 
1404
  def recv_getItemsStatus(self, ):
1405
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1406
    if mtype == TMessageType.EXCEPTION:
1407
      x = TApplicationException()
1408
      x.read(self._iprot)
1409
      self._iprot.readMessageEnd()
1410
      raise x
1411
    result = getItemsStatus_result()
1412
    result.read(self._iprot)
1413
    self._iprot.readMessageEnd()
1414
    if result.success is not None:
1415
      return result.success
1416
    if result.isex is not None:
1417
      raise result.isex
1418
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsStatus failed: unknown result");
1419
 
5944 mandeep.dh 1420
  def getItemStatusDescription(self, itemId):
1421
    """
1422
    Parameters:
1423
     - itemId
1424
    """
1425
    self.send_getItemStatusDescription(itemId)
1426
    return self.recv_getItemStatusDescription()
1427
 
1428
  def send_getItemStatusDescription(self, itemId):
1429
    self._oprot.writeMessageBegin('getItemStatusDescription', TMessageType.CALL, self._seqid)
1430
    args = getItemStatusDescription_args()
1431
    args.itemId = itemId
1432
    args.write(self._oprot)
1433
    self._oprot.writeMessageEnd()
1434
    self._oprot.trans.flush()
1435
 
1436
  def recv_getItemStatusDescription(self, ):
1437
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1438
    if mtype == TMessageType.EXCEPTION:
1439
      x = TApplicationException()
1440
      x.read(self._iprot)
1441
      self._iprot.readMessageEnd()
1442
      raise x
1443
    result = getItemStatusDescription_result()
1444
    result.read(self._iprot)
1445
    self._iprot.readMessageEnd()
1446
    if result.success is not None:
1447
      return result.success
1448
    if result.isex is not None:
1449
      raise result.isex
1450
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemStatusDescription failed: unknown result");
1451
 
1452
  def startItemOn(self, item_id, timestamp):
1453
    """
1454
    Parameters:
1455
     - item_id
1456
     - timestamp
1457
    """
1458
    self.send_startItemOn(item_id, timestamp)
1459
    self.recv_startItemOn()
1460
 
1461
  def send_startItemOn(self, item_id, timestamp):
1462
    self._oprot.writeMessageBegin('startItemOn', TMessageType.CALL, self._seqid)
1463
    args = startItemOn_args()
1464
    args.item_id = item_id
1465
    args.timestamp = timestamp
1466
    args.write(self._oprot)
1467
    self._oprot.writeMessageEnd()
1468
    self._oprot.trans.flush()
1469
 
1470
  def recv_startItemOn(self, ):
1471
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1472
    if mtype == TMessageType.EXCEPTION:
1473
      x = TApplicationException()
1474
      x.read(self._iprot)
1475
      self._iprot.readMessageEnd()
1476
      raise x
1477
    result = startItemOn_result()
1478
    result.read(self._iprot)
1479
    self._iprot.readMessageEnd()
1480
    if result.cex is not None:
1481
      raise result.cex
1482
    return
1483
 
1484
  def retireItemOn(self, item_id, timestamp):
1485
    """
1486
    Parameters:
1487
     - item_id
1488
     - timestamp
1489
    """
1490
    self.send_retireItemOn(item_id, timestamp)
1491
    self.recv_retireItemOn()
1492
 
1493
  def send_retireItemOn(self, item_id, timestamp):
1494
    self._oprot.writeMessageBegin('retireItemOn', TMessageType.CALL, self._seqid)
1495
    args = retireItemOn_args()
1496
    args.item_id = item_id
1497
    args.timestamp = timestamp
1498
    args.write(self._oprot)
1499
    self._oprot.writeMessageEnd()
1500
    self._oprot.trans.flush()
1501
 
1502
  def recv_retireItemOn(self, ):
1503
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1504
    if mtype == TMessageType.EXCEPTION:
1505
      x = TApplicationException()
1506
      x.read(self._iprot)
1507
      self._iprot.readMessageEnd()
1508
      raise x
1509
    result = retireItemOn_result()
1510
    result.read(self._iprot)
1511
    self._iprot.readMessageEnd()
1512
    if result.cex is not None:
1513
      raise result.cex
1514
    return
1515
 
1516
  def changeItemStatus(self, item_id, timestamp, newstatus):
1517
    """
1518
    Parameters:
1519
     - item_id
1520
     - timestamp
1521
     - newstatus
1522
    """
1523
    self.send_changeItemStatus(item_id, timestamp, newstatus)
1524
    self.recv_changeItemStatus()
1525
 
1526
  def send_changeItemStatus(self, item_id, timestamp, newstatus):
1527
    self._oprot.writeMessageBegin('changeItemStatus', TMessageType.CALL, self._seqid)
1528
    args = changeItemStatus_args()
1529
    args.item_id = item_id
1530
    args.timestamp = timestamp
1531
    args.newstatus = newstatus
1532
    args.write(self._oprot)
1533
    self._oprot.writeMessageEnd()
1534
    self._oprot.trans.flush()
1535
 
1536
  def recv_changeItemStatus(self, ):
1537
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1538
    if mtype == TMessageType.EXCEPTION:
1539
      x = TApplicationException()
1540
      x.read(self._iprot)
1541
      self._iprot.readMessageEnd()
1542
      raise x
1543
    result = changeItemStatus_result()
1544
    result.read(self._iprot)
1545
    self._iprot.readMessageEnd()
1546
    if result.cex is not None:
1547
      raise result.cex
1548
    return
1549
 
1550
  def getItem(self, item_id):
1551
    """
1552
    Parameters:
1553
     - item_id
1554
    """
1555
    self.send_getItem(item_id)
1556
    return self.recv_getItem()
1557
 
1558
  def send_getItem(self, item_id):
1559
    self._oprot.writeMessageBegin('getItem', TMessageType.CALL, self._seqid)
1560
    args = getItem_args()
1561
    args.item_id = item_id
1562
    args.write(self._oprot)
1563
    self._oprot.writeMessageEnd()
1564
    self._oprot.trans.flush()
1565
 
1566
  def recv_getItem(self, ):
1567
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1568
    if mtype == TMessageType.EXCEPTION:
1569
      x = TApplicationException()
1570
      x.read(self._iprot)
1571
      self._iprot.readMessageEnd()
1572
      raise x
1573
    result = getItem_result()
1574
    result.read(self._iprot)
1575
    self._iprot.readMessageEnd()
1576
    if result.success is not None:
1577
      return result.success
1578
    if result.cex is not None:
1579
      raise result.cex
1580
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItem failed: unknown result");
1581
 
1582
  def getItemsByCatalogId(self, catalog_item_id):
1583
    """
1584
    Parameters:
1585
     - catalog_item_id
1586
    """
1587
    self.send_getItemsByCatalogId(catalog_item_id)
1588
    return self.recv_getItemsByCatalogId()
1589
 
1590
  def send_getItemsByCatalogId(self, catalog_item_id):
1591
    self._oprot.writeMessageBegin('getItemsByCatalogId', TMessageType.CALL, self._seqid)
1592
    args = getItemsByCatalogId_args()
1593
    args.catalog_item_id = catalog_item_id
1594
    args.write(self._oprot)
1595
    self._oprot.writeMessageEnd()
1596
    self._oprot.trans.flush()
1597
 
1598
  def recv_getItemsByCatalogId(self, ):
1599
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1600
    if mtype == TMessageType.EXCEPTION:
1601
      x = TApplicationException()
1602
      x.read(self._iprot)
1603
      self._iprot.readMessageEnd()
1604
      raise x
1605
    result = getItemsByCatalogId_result()
1606
    result.read(self._iprot)
1607
    self._iprot.readMessageEnd()
1608
    if result.success is not None:
1609
      return result.success
1610
    if result.cex is not None:
1611
      raise result.cex
1612
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByCatalogId failed: unknown result");
1613
 
1614
  def getValidItemsByCatalogId(self, catalog_item_id):
1615
    """
1616
    Parameters:
1617
     - catalog_item_id
1618
    """
1619
    self.send_getValidItemsByCatalogId(catalog_item_id)
1620
    return self.recv_getValidItemsByCatalogId()
1621
 
1622
  def send_getValidItemsByCatalogId(self, catalog_item_id):
1623
    self._oprot.writeMessageBegin('getValidItemsByCatalogId', TMessageType.CALL, self._seqid)
1624
    args = getValidItemsByCatalogId_args()
1625
    args.catalog_item_id = catalog_item_id
1626
    args.write(self._oprot)
1627
    self._oprot.writeMessageEnd()
1628
    self._oprot.trans.flush()
1629
 
1630
  def recv_getValidItemsByCatalogId(self, ):
1631
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1632
    if mtype == TMessageType.EXCEPTION:
1633
      x = TApplicationException()
1634
      x.read(self._iprot)
1635
      self._iprot.readMessageEnd()
1636
      raise x
1637
    result = getValidItemsByCatalogId_result()
1638
    result.read(self._iprot)
1639
    self._iprot.readMessageEnd()
1640
    if result.success is not None:
1641
      return result.success
1642
    if result.cex is not None:
1643
      raise result.cex
1644
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getValidItemsByCatalogId failed: unknown result");
1645
 
1646
  def getAllItems(self, isActive):
1647
    """
1648
    Parameters:
1649
     - isActive
1650
    """
1651
    self.send_getAllItems(isActive)
1652
    return self.recv_getAllItems()
1653
 
1654
  def send_getAllItems(self, isActive):
1655
    self._oprot.writeMessageBegin('getAllItems', TMessageType.CALL, self._seqid)
1656
    args = getAllItems_args()
1657
    args.isActive = isActive
1658
    args.write(self._oprot)
1659
    self._oprot.writeMessageEnd()
1660
    self._oprot.trans.flush()
1661
 
1662
  def recv_getAllItems(self, ):
1663
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1664
    if mtype == TMessageType.EXCEPTION:
1665
      x = TApplicationException()
1666
      x.read(self._iprot)
1667
      self._iprot.readMessageEnd()
1668
      raise x
1669
    result = getAllItems_result()
1670
    result.read(self._iprot)
1671
    self._iprot.readMessageEnd()
1672
    if result.success is not None:
1673
      return result.success
1674
    if result.cex is not None:
1675
      raise result.cex
1676
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItems failed: unknown result");
1677
 
1678
  def getAllItemsByStatus(self, itemStatus):
1679
    """
1680
    Parameters:
1681
     - itemStatus
1682
    """
1683
    self.send_getAllItemsByStatus(itemStatus)
1684
    return self.recv_getAllItemsByStatus()
1685
 
1686
  def send_getAllItemsByStatus(self, itemStatus):
1687
    self._oprot.writeMessageBegin('getAllItemsByStatus', TMessageType.CALL, self._seqid)
1688
    args = getAllItemsByStatus_args()
1689
    args.itemStatus = itemStatus
1690
    args.write(self._oprot)
1691
    self._oprot.writeMessageEnd()
1692
    self._oprot.trans.flush()
1693
 
1694
  def recv_getAllItemsByStatus(self, ):
1695
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1696
    if mtype == TMessageType.EXCEPTION:
1697
      x = TApplicationException()
1698
      x.read(self._iprot)
1699
      self._iprot.readMessageEnd()
1700
      raise x
1701
    result = getAllItemsByStatus_result()
1702
    result.read(self._iprot)
1703
    self._iprot.readMessageEnd()
1704
    if result.success is not None:
1705
      return result.success
1706
    if result.cex is not None:
1707
      raise result.cex
1708
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatus failed: unknown result");
1709
 
9253 rajveer 1710
  def markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1711
    """
1712
    Parameters:
1713
     - entityId
1714
     - category
1715
     - brand
1716
     - modelName
1717
     - modelNumber
9253 rajveer 1718
     - isAndroid
5944 mandeep.dh 1719
    """
9253 rajveer 1720
    self.send_markItemAsContentComplete(entityId, category, brand, modelName, modelNumber, isAndroid)
5944 mandeep.dh 1721
    return self.recv_markItemAsContentComplete()
1722
 
9253 rajveer 1723
  def send_markItemAsContentComplete(self, entityId, category, brand, modelName, modelNumber, isAndroid):
5944 mandeep.dh 1724
    self._oprot.writeMessageBegin('markItemAsContentComplete', TMessageType.CALL, self._seqid)
1725
    args = markItemAsContentComplete_args()
1726
    args.entityId = entityId
1727
    args.category = category
1728
    args.brand = brand
1729
    args.modelName = modelName
1730
    args.modelNumber = modelNumber
9253 rajveer 1731
    args.isAndroid = isAndroid
5944 mandeep.dh 1732
    args.write(self._oprot)
1733
    self._oprot.writeMessageEnd()
1734
    self._oprot.trans.flush()
1735
 
1736
  def recv_markItemAsContentComplete(self, ):
1737
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1738
    if mtype == TMessageType.EXCEPTION:
1739
      x = TApplicationException()
1740
      x.read(self._iprot)
1741
      self._iprot.readMessageEnd()
1742
      raise x
1743
    result = markItemAsContentComplete_result()
1744
    result.read(self._iprot)
1745
    self._iprot.readMessageEnd()
1746
    if result.success is not None:
1747
      return result.success
1748
    if result.cex is not None:
1749
      raise result.cex
1750
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markItemAsContentComplete failed: unknown result");
1751
 
12567 amit.gupta 1752
  def getVatRates(self, itemId, categoryId):
1753
    """
1754
    Parameters:
1755
     - itemId
1756
     - categoryId
1757
    """
1758
    self.send_getVatRates(itemId, categoryId)
1759
    return self.recv_getVatRates()
1760
 
1761
  def send_getVatRates(self, itemId, categoryId):
1762
    self._oprot.writeMessageBegin('getVatRates', TMessageType.CALL, self._seqid)
1763
    args = getVatRates_args()
1764
    args.itemId = itemId
1765
    args.categoryId = categoryId
1766
    args.write(self._oprot)
1767
    self._oprot.writeMessageEnd()
1768
    self._oprot.trans.flush()
1769
 
1770
  def recv_getVatRates(self, ):
1771
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1772
    if mtype == TMessageType.EXCEPTION:
1773
      x = TApplicationException()
1774
      x.read(self._iprot)
1775
      self._iprot.readMessageEnd()
1776
      raise x
1777
    result = getVatRates_result()
1778
    result.read(self._iprot)
1779
    self._iprot.readMessageEnd()
1780
    if result.success is not None:
1781
      return result.success
1782
    if result.cex is not None:
1783
      raise result.cex
1784
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatRates failed: unknown result");
1785
 
5944 mandeep.dh 1786
  def getAllItemsInRange(self, offset, limit):
1787
    """
1788
    Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
1789
 
1790
    Parameters:
1791
     - offset
1792
     - limit
1793
    """
1794
    self.send_getAllItemsInRange(offset, limit)
1795
    return self.recv_getAllItemsInRange()
1796
 
1797
  def send_getAllItemsInRange(self, offset, limit):
1798
    self._oprot.writeMessageBegin('getAllItemsInRange', TMessageType.CALL, self._seqid)
1799
    args = getAllItemsInRange_args()
1800
    args.offset = offset
1801
    args.limit = limit
1802
    args.write(self._oprot)
1803
    self._oprot.writeMessageEnd()
1804
    self._oprot.trans.flush()
1805
 
1806
  def recv_getAllItemsInRange(self, ):
1807
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1808
    if mtype == TMessageType.EXCEPTION:
1809
      x = TApplicationException()
1810
      x.read(self._iprot)
1811
      self._iprot.readMessageEnd()
1812
      raise x
1813
    result = getAllItemsInRange_result()
1814
    result.read(self._iprot)
1815
    self._iprot.readMessageEnd()
1816
    if result.success is not None:
1817
      return result.success
1818
    if result.cex is not None:
1819
      raise result.cex
1820
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsInRange failed: unknown result");
1821
 
1822
  def getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1823
    """
1824
    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.
1825
 
1826
    Parameters:
1827
     - itemStatus
1828
     - offset
1829
     - limit
1830
    """
1831
    self.send_getAllItemsByStatusInRange(itemStatus, offset, limit)
1832
    return self.recv_getAllItemsByStatusInRange()
1833
 
1834
  def send_getAllItemsByStatusInRange(self, itemStatus, offset, limit):
1835
    self._oprot.writeMessageBegin('getAllItemsByStatusInRange', TMessageType.CALL, self._seqid)
1836
    args = getAllItemsByStatusInRange_args()
1837
    args.itemStatus = itemStatus
1838
    args.offset = offset
1839
    args.limit = limit
1840
    args.write(self._oprot)
1841
    self._oprot.writeMessageEnd()
1842
    self._oprot.trans.flush()
1843
 
1844
  def recv_getAllItemsByStatusInRange(self, ):
1845
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1846
    if mtype == TMessageType.EXCEPTION:
1847
      x = TApplicationException()
1848
      x.read(self._iprot)
1849
      self._iprot.readMessageEnd()
1850
      raise x
1851
    result = getAllItemsByStatusInRange_result()
1852
    result.read(self._iprot)
1853
    self._iprot.readMessageEnd()
1854
    if result.success is not None:
1855
      return result.success
1856
    if result.cex is not None:
1857
      raise result.cex
1858
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemsByStatusInRange failed: unknown result");
1859
 
1860
  def getItemCountByStatus(self, useStatus, itemStatus):
1861
    """
1862
    Gets a count of all items by status
1863
 
1864
    Parameters:
1865
     - useStatus
1866
     - itemStatus
1867
    """
1868
    self.send_getItemCountByStatus(useStatus, itemStatus)
1869
    return self.recv_getItemCountByStatus()
1870
 
1871
  def send_getItemCountByStatus(self, useStatus, itemStatus):
1872
    self._oprot.writeMessageBegin('getItemCountByStatus', TMessageType.CALL, self._seqid)
1873
    args = getItemCountByStatus_args()
1874
    args.useStatus = useStatus
1875
    args.itemStatus = itemStatus
1876
    args.write(self._oprot)
1877
    self._oprot.writeMessageEnd()
1878
    self._oprot.trans.flush()
1879
 
1880
  def recv_getItemCountByStatus(self, ):
1881
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1882
    if mtype == TMessageType.EXCEPTION:
1883
      x = TApplicationException()
1884
      x.read(self._iprot)
1885
      self._iprot.readMessageEnd()
1886
      raise x
1887
    result = getItemCountByStatus_result()
1888
    result.read(self._iprot)
1889
    self._iprot.readMessageEnd()
1890
    if result.success is not None:
1891
      return result.success
1892
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemCountByStatus failed: unknown result");
1893
 
1894
  def getBestSellers(self, ):
1895
    self.send_getBestSellers()
1896
    return self.recv_getBestSellers()
1897
 
1898
  def send_getBestSellers(self, ):
1899
    self._oprot.writeMessageBegin('getBestSellers', TMessageType.CALL, self._seqid)
1900
    args = getBestSellers_args()
1901
    args.write(self._oprot)
1902
    self._oprot.writeMessageEnd()
1903
    self._oprot.trans.flush()
1904
 
1905
  def recv_getBestSellers(self, ):
1906
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1907
    if mtype == TMessageType.EXCEPTION:
1908
      x = TApplicationException()
1909
      x.read(self._iprot)
1910
      self._iprot.readMessageEnd()
1911
      raise x
1912
    result = getBestSellers_result()
1913
    result.read(self._iprot)
1914
    self._iprot.readMessageEnd()
1915
    if result.success is not None:
1916
      return result.success
1917
    if result.isex is not None:
1918
      raise result.isex
1919
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellers failed: unknown result");
1920
 
1921
  def getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
1922
    """
1923
    Parameters:
1924
     - beginIndex
1925
     - totalItems
1926
     - brand
1927
     - category
1928
    """
1929
    self.send_getBestSellersCatalogIds(beginIndex, totalItems, brand, category)
1930
    return self.recv_getBestSellersCatalogIds()
1931
 
1932
  def send_getBestSellersCatalogIds(self, beginIndex, totalItems, brand, category):
1933
    self._oprot.writeMessageBegin('getBestSellersCatalogIds', TMessageType.CALL, self._seqid)
1934
    args = getBestSellersCatalogIds_args()
1935
    args.beginIndex = beginIndex
1936
    args.totalItems = totalItems
1937
    args.brand = brand
1938
    args.category = category
1939
    args.write(self._oprot)
1940
    self._oprot.writeMessageEnd()
1941
    self._oprot.trans.flush()
1942
 
1943
  def recv_getBestSellersCatalogIds(self, ):
1944
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1945
    if mtype == TMessageType.EXCEPTION:
1946
      x = TApplicationException()
1947
      x.read(self._iprot)
1948
      self._iprot.readMessageEnd()
1949
      raise x
1950
    result = getBestSellersCatalogIds_result()
1951
    result.read(self._iprot)
1952
    self._iprot.readMessageEnd()
1953
    if result.success is not None:
1954
      return result.success
1955
    if result.cex is not None:
1956
      raise result.cex
1957
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCatalogIds failed: unknown result");
1958
 
1959
  def getBestSellersCount(self, ):
1960
    self.send_getBestSellersCount()
1961
    return self.recv_getBestSellersCount()
1962
 
1963
  def send_getBestSellersCount(self, ):
1964
    self._oprot.writeMessageBegin('getBestSellersCount', TMessageType.CALL, self._seqid)
1965
    args = getBestSellersCount_args()
1966
    args.write(self._oprot)
1967
    self._oprot.writeMessageEnd()
1968
    self._oprot.trans.flush()
1969
 
1970
  def recv_getBestSellersCount(self, ):
1971
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1972
    if mtype == TMessageType.EXCEPTION:
1973
      x = TApplicationException()
1974
      x.read(self._iprot)
1975
      self._iprot.readMessageEnd()
1976
      raise x
1977
    result = getBestSellersCount_result()
1978
    result.read(self._iprot)
1979
    self._iprot.readMessageEnd()
1980
    if result.success is not None:
1981
      return result.success
1982
    if result.cex is not None:
1983
      raise result.cex
1984
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestSellersCount failed: unknown result");
1985
 
1986
  def getBestDeals(self, ):
1987
    self.send_getBestDeals()
1988
    return self.recv_getBestDeals()
1989
 
1990
  def send_getBestDeals(self, ):
1991
    self._oprot.writeMessageBegin('getBestDeals', TMessageType.CALL, self._seqid)
1992
    args = getBestDeals_args()
1993
    args.write(self._oprot)
1994
    self._oprot.writeMessageEnd()
1995
    self._oprot.trans.flush()
1996
 
1997
  def recv_getBestDeals(self, ):
1998
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
1999
    if mtype == TMessageType.EXCEPTION:
2000
      x = TApplicationException()
2001
      x.read(self._iprot)
2002
      self._iprot.readMessageEnd()
2003
      raise x
2004
    result = getBestDeals_result()
2005
    result.read(self._iprot)
2006
    self._iprot.readMessageEnd()
2007
    if result.success is not None:
2008
      return result.success
2009
    if result.isex is not None:
2010
      raise result.isex
2011
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDeals failed: unknown result");
2012
 
2013
  def getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2014
    """
2015
    Parameters:
2016
     - beginIndex
2017
     - totalItems
2018
     - brand
2019
     - category
2020
    """
2021
    self.send_getBestDealsCatalogIds(beginIndex, totalItems, brand, category)
2022
    return self.recv_getBestDealsCatalogIds()
2023
 
2024
  def send_getBestDealsCatalogIds(self, beginIndex, totalItems, brand, category):
2025
    self._oprot.writeMessageBegin('getBestDealsCatalogIds', TMessageType.CALL, self._seqid)
2026
    args = getBestDealsCatalogIds_args()
2027
    args.beginIndex = beginIndex
2028
    args.totalItems = totalItems
2029
    args.brand = brand
2030
    args.category = category
2031
    args.write(self._oprot)
2032
    self._oprot.writeMessageEnd()
2033
    self._oprot.trans.flush()
2034
 
2035
  def recv_getBestDealsCatalogIds(self, ):
2036
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2037
    if mtype == TMessageType.EXCEPTION:
2038
      x = TApplicationException()
2039
      x.read(self._iprot)
2040
      self._iprot.readMessageEnd()
2041
      raise x
2042
    result = getBestDealsCatalogIds_result()
2043
    result.read(self._iprot)
2044
    self._iprot.readMessageEnd()
2045
    if result.success is not None:
2046
      return result.success
2047
    if result.cex is not None:
2048
      raise result.cex
2049
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCatalogIds failed: unknown result");
2050
 
2051
  def getBestDealsCount(self, ):
2052
    self.send_getBestDealsCount()
2053
    return self.recv_getBestDealsCount()
2054
 
2055
  def send_getBestDealsCount(self, ):
2056
    self._oprot.writeMessageBegin('getBestDealsCount', TMessageType.CALL, self._seqid)
2057
    args = getBestDealsCount_args()
2058
    args.write(self._oprot)
2059
    self._oprot.writeMessageEnd()
2060
    self._oprot.trans.flush()
2061
 
2062
  def recv_getBestDealsCount(self, ):
2063
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2064
    if mtype == TMessageType.EXCEPTION:
2065
      x = TApplicationException()
2066
      x.read(self._iprot)
2067
      self._iprot.readMessageEnd()
2068
      raise x
2069
    result = getBestDealsCount_result()
2070
    result.read(self._iprot)
2071
    self._iprot.readMessageEnd()
2072
    if result.success is not None:
2073
      return result.success
2074
    if result.cex is not None:
2075
      raise result.cex
2076
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBestDealsCount failed: unknown result");
2077
 
2078
  def getComingSoon(self, ):
2079
    self.send_getComingSoon()
2080
    return self.recv_getComingSoon()
2081
 
2082
  def send_getComingSoon(self, ):
2083
    self._oprot.writeMessageBegin('getComingSoon', TMessageType.CALL, self._seqid)
2084
    args = getComingSoon_args()
2085
    args.write(self._oprot)
2086
    self._oprot.writeMessageEnd()
2087
    self._oprot.trans.flush()
2088
 
2089
  def recv_getComingSoon(self, ):
2090
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2091
    if mtype == TMessageType.EXCEPTION:
2092
      x = TApplicationException()
2093
      x.read(self._iprot)
2094
      self._iprot.readMessageEnd()
2095
      raise x
2096
    result = getComingSoon_result()
2097
    result.read(self._iprot)
2098
    self._iprot.readMessageEnd()
2099
    if result.success is not None:
2100
      return result.success
2101
    if result.isex is not None:
2102
      raise result.isex
2103
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoon failed: unknown result");
2104
 
2105
  def getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2106
    """
2107
    Parameters:
2108
     - beginIndex
2109
     - totalItems
2110
     - brand
2111
     - category
2112
    """
2113
    self.send_getComingSoonCatalogIds(beginIndex, totalItems, brand, category)
2114
    return self.recv_getComingSoonCatalogIds()
2115
 
2116
  def send_getComingSoonCatalogIds(self, beginIndex, totalItems, brand, category):
2117
    self._oprot.writeMessageBegin('getComingSoonCatalogIds', TMessageType.CALL, self._seqid)
2118
    args = getComingSoonCatalogIds_args()
2119
    args.beginIndex = beginIndex
2120
    args.totalItems = totalItems
2121
    args.brand = brand
2122
    args.category = category
2123
    args.write(self._oprot)
2124
    self._oprot.writeMessageEnd()
2125
    self._oprot.trans.flush()
2126
 
2127
  def recv_getComingSoonCatalogIds(self, ):
2128
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2129
    if mtype == TMessageType.EXCEPTION:
2130
      x = TApplicationException()
2131
      x.read(self._iprot)
2132
      self._iprot.readMessageEnd()
2133
      raise x
2134
    result = getComingSoonCatalogIds_result()
2135
    result.read(self._iprot)
2136
    self._iprot.readMessageEnd()
2137
    if result.success is not None:
2138
      return result.success
2139
    if result.cex is not None:
2140
      raise result.cex
2141
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCatalogIds failed: unknown result");
2142
 
2143
  def getComingSoonCount(self, ):
2144
    self.send_getComingSoonCount()
2145
    return self.recv_getComingSoonCount()
2146
 
2147
  def send_getComingSoonCount(self, ):
2148
    self._oprot.writeMessageBegin('getComingSoonCount', TMessageType.CALL, self._seqid)
2149
    args = getComingSoonCount_args()
2150
    args.write(self._oprot)
2151
    self._oprot.writeMessageEnd()
2152
    self._oprot.trans.flush()
2153
 
2154
  def recv_getComingSoonCount(self, ):
2155
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2156
    if mtype == TMessageType.EXCEPTION:
2157
      x = TApplicationException()
2158
      x.read(self._iprot)
2159
      self._iprot.readMessageEnd()
2160
      raise x
2161
    result = getComingSoonCount_result()
2162
    result.read(self._iprot)
2163
    self._iprot.readMessageEnd()
2164
    if result.success is not None:
2165
      return result.success
2166
    if result.cex is not None:
2167
      raise result.cex
2168
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getComingSoonCount failed: unknown result");
2169
 
2170
  def getLatestArrivals(self, ):
2171
    """
2172
    Returns a list of items sorted in the descending order by start date.
2173
    The list is limited to the 'latest_arrivals_count' configuraiton parameter.
2174
    """
2175
    self.send_getLatestArrivals()
2176
    return self.recv_getLatestArrivals()
2177
 
2178
  def send_getLatestArrivals(self, ):
2179
    self._oprot.writeMessageBegin('getLatestArrivals', TMessageType.CALL, self._seqid)
2180
    args = getLatestArrivals_args()
2181
    args.write(self._oprot)
2182
    self._oprot.writeMessageEnd()
2183
    self._oprot.trans.flush()
2184
 
2185
  def recv_getLatestArrivals(self, ):
2186
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2187
    if mtype == TMessageType.EXCEPTION:
2188
      x = TApplicationException()
2189
      x.read(self._iprot)
2190
      self._iprot.readMessageEnd()
2191
      raise x
2192
    result = getLatestArrivals_result()
2193
    result.read(self._iprot)
2194
    self._iprot.readMessageEnd()
2195
    if result.success is not None:
2196
      return result.success
2197
    if result.isex is not None:
2198
      raise result.isex
2199
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivals failed: unknown result");
2200
 
2201
  def getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2202
    """
2203
    Returns the list of catalog ids of latest arrivals in the given categories of the given brand.
2204
    To ignore the categories, pass the list as empty. To ignore brand, pass it as null.
2205
 
2206
    Parameters:
2207
     - beginIndex
2208
     - totalItems
2209
     - brand
2210
     - categories
2211
    """
2212
    self.send_getLatestArrivalsCatalogIds(beginIndex, totalItems, brand, categories)
2213
    return self.recv_getLatestArrivalsCatalogIds()
2214
 
2215
  def send_getLatestArrivalsCatalogIds(self, beginIndex, totalItems, brand, categories):
2216
    self._oprot.writeMessageBegin('getLatestArrivalsCatalogIds', TMessageType.CALL, self._seqid)
2217
    args = getLatestArrivalsCatalogIds_args()
2218
    args.beginIndex = beginIndex
2219
    args.totalItems = totalItems
2220
    args.brand = brand
2221
    args.categories = categories
2222
    args.write(self._oprot)
2223
    self._oprot.writeMessageEnd()
2224
    self._oprot.trans.flush()
2225
 
2226
  def recv_getLatestArrivalsCatalogIds(self, ):
2227
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2228
    if mtype == TMessageType.EXCEPTION:
2229
      x = TApplicationException()
2230
      x.read(self._iprot)
2231
      self._iprot.readMessageEnd()
2232
      raise x
2233
    result = getLatestArrivalsCatalogIds_result()
2234
    result.read(self._iprot)
2235
    self._iprot.readMessageEnd()
2236
    if result.success is not None:
2237
      return result.success
2238
    if result.cex is not None:
2239
      raise result.cex
2240
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCatalogIds failed: unknown result");
2241
 
2242
  def getLatestArrivalsCount(self, ):
2243
    """
2244
    Get the total number of latest arrivals we are willing to show.
2245
    The count's upper bound is the 'latest_arrivals_count' configuraiton parameter.
2246
    """
2247
    self.send_getLatestArrivalsCount()
2248
    return self.recv_getLatestArrivalsCount()
2249
 
2250
  def send_getLatestArrivalsCount(self, ):
2251
    self._oprot.writeMessageBegin('getLatestArrivalsCount', TMessageType.CALL, self._seqid)
2252
    args = getLatestArrivalsCount_args()
2253
    args.write(self._oprot)
2254
    self._oprot.writeMessageEnd()
2255
    self._oprot.trans.flush()
2256
 
2257
  def recv_getLatestArrivalsCount(self, ):
2258
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2259
    if mtype == TMessageType.EXCEPTION:
2260
      x = TApplicationException()
2261
      x.read(self._iprot)
2262
      self._iprot.readMessageEnd()
2263
      raise x
2264
    result = getLatestArrivalsCount_result()
2265
    result.read(self._iprot)
2266
    self._iprot.readMessageEnd()
2267
    if result.success is not None:
2268
      return result.success
2269
    if result.cex is not None:
2270
      raise result.cex
2271
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLatestArrivalsCount failed: unknown result");
2272
 
2273
  def generateNewEntityID(self, ):
2274
    self.send_generateNewEntityID()
2275
    return self.recv_generateNewEntityID()
2276
 
2277
  def send_generateNewEntityID(self, ):
2278
    self._oprot.writeMessageBegin('generateNewEntityID', TMessageType.CALL, self._seqid)
2279
    args = generateNewEntityID_args()
2280
    args.write(self._oprot)
2281
    self._oprot.writeMessageEnd()
2282
    self._oprot.trans.flush()
2283
 
2284
  def recv_generateNewEntityID(self, ):
2285
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2286
    if mtype == TMessageType.EXCEPTION:
2287
      x = TApplicationException()
2288
      x.read(self._iprot)
2289
      self._iprot.readMessageEnd()
2290
      raise x
2291
    result = generateNewEntityID_result()
2292
    result.read(self._iprot)
2293
    self._iprot.readMessageEnd()
2294
    if result.success is not None:
2295
      return result.success
2296
    raise TApplicationException(TApplicationException.MISSING_RESULT, "generateNewEntityID failed: unknown result");
2297
 
2298
  def addCategory(self, category):
2299
    """
2300
    All category related functions
2301
 
2302
    Parameters:
2303
     - category
2304
    """
2305
    self.send_addCategory(category)
2306
    return self.recv_addCategory()
2307
 
2308
  def send_addCategory(self, category):
2309
    self._oprot.writeMessageBegin('addCategory', TMessageType.CALL, self._seqid)
2310
    args = addCategory_args()
2311
    args.category = category
2312
    args.write(self._oprot)
2313
    self._oprot.writeMessageEnd()
2314
    self._oprot.trans.flush()
2315
 
2316
  def recv_addCategory(self, ):
2317
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2318
    if mtype == TMessageType.EXCEPTION:
2319
      x = TApplicationException()
2320
      x.read(self._iprot)
2321
      self._iprot.readMessageEnd()
2322
      raise x
2323
    result = addCategory_result()
2324
    result.read(self._iprot)
2325
    self._iprot.readMessageEnd()
2326
    if result.success is not None:
2327
      return result.success
2328
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addCategory failed: unknown result");
2329
 
2330
  def getCategory(self, id):
2331
    """
2332
    Parameters:
2333
     - id
2334
    """
2335
    self.send_getCategory(id)
2336
    return self.recv_getCategory()
2337
 
2338
  def send_getCategory(self, id):
2339
    self._oprot.writeMessageBegin('getCategory', TMessageType.CALL, self._seqid)
2340
    args = getCategory_args()
2341
    args.id = id
2342
    args.write(self._oprot)
2343
    self._oprot.writeMessageEnd()
2344
    self._oprot.trans.flush()
2345
 
2346
  def recv_getCategory(self, ):
2347
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2348
    if mtype == TMessageType.EXCEPTION:
2349
      x = TApplicationException()
2350
      x.read(self._iprot)
2351
      self._iprot.readMessageEnd()
2352
      raise x
2353
    result = getCategory_result()
2354
    result.read(self._iprot)
2355
    self._iprot.readMessageEnd()
2356
    if result.success is not None:
2357
      return result.success
2358
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCategory failed: unknown result");
2359
 
2360
  def getAllCategories(self, ):
2361
    self.send_getAllCategories()
2362
    return self.recv_getAllCategories()
2363
 
2364
  def send_getAllCategories(self, ):
2365
    self._oprot.writeMessageBegin('getAllCategories', TMessageType.CALL, self._seqid)
2366
    args = getAllCategories_args()
2367
    args.write(self._oprot)
2368
    self._oprot.writeMessageEnd()
2369
    self._oprot.trans.flush()
2370
 
2371
  def recv_getAllCategories(self, ):
2372
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2373
    if mtype == TMessageType.EXCEPTION:
2374
      x = TApplicationException()
2375
      x.read(self._iprot)
2376
      self._iprot.readMessageEnd()
2377
      raise x
2378
    result = getAllCategories_result()
2379
    result.read(self._iprot)
2380
    self._iprot.readMessageEnd()
2381
    if result.success is not None:
2382
      return result.success
2383
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCategories failed: unknown result");
2384
 
2385
  def getAllSimilarItems(self, itemId):
2386
    """
2387
    Returns the list of similar items.
2388
 
2389
    Parameters:
2390
     - itemId
2391
    """
2392
    self.send_getAllSimilarItems(itemId)
2393
    return self.recv_getAllSimilarItems()
2394
 
2395
  def send_getAllSimilarItems(self, itemId):
2396
    self._oprot.writeMessageBegin('getAllSimilarItems', TMessageType.CALL, self._seqid)
2397
    args = getAllSimilarItems_args()
2398
    args.itemId = itemId
2399
    args.write(self._oprot)
2400
    self._oprot.writeMessageEnd()
2401
    self._oprot.trans.flush()
2402
 
2403
  def recv_getAllSimilarItems(self, ):
2404
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2405
    if mtype == TMessageType.EXCEPTION:
2406
      x = TApplicationException()
2407
      x.read(self._iprot)
2408
      self._iprot.readMessageEnd()
2409
      raise x
2410
    result = getAllSimilarItems_result()
2411
    result.read(self._iprot)
2412
    self._iprot.readMessageEnd()
2413
    if result.success is not None:
2414
      return result.success
2415
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSimilarItems failed: unknown result");
2416
 
2417
  def addSimilarItem(self, itemId, catalogItemId):
2418
    """
2419
    Adds similar item.
2420
 
2421
    Parameters:
2422
     - itemId
2423
     - catalogItemId
2424
    """
2425
    self.send_addSimilarItem(itemId, catalogItemId)
2426
    return self.recv_addSimilarItem()
2427
 
2428
  def send_addSimilarItem(self, itemId, catalogItemId):
2429
    self._oprot.writeMessageBegin('addSimilarItem', TMessageType.CALL, self._seqid)
2430
    args = addSimilarItem_args()
2431
    args.itemId = itemId
2432
    args.catalogItemId = catalogItemId
2433
    args.write(self._oprot)
2434
    self._oprot.writeMessageEnd()
2435
    self._oprot.trans.flush()
2436
 
2437
  def recv_addSimilarItem(self, ):
2438
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2439
    if mtype == TMessageType.EXCEPTION:
2440
      x = TApplicationException()
2441
      x.read(self._iprot)
2442
      self._iprot.readMessageEnd()
2443
      raise x
2444
    result = addSimilarItem_result()
2445
    result.read(self._iprot)
2446
    self._iprot.readMessageEnd()
2447
    if result.success is not None:
2448
      return result.success
2449
    if result.cex is not None:
2450
      raise result.cex
2451
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addSimilarItem failed: unknown result");
2452
 
6512 kshitij.so 2453
  def addTag(self, displayName, itemId):
2454
    """
2455
    Tag Related
2456
 
2457
    Parameters:
2458
     - displayName
2459
     - itemId
2460
    """
2461
    self.send_addTag(displayName, itemId)
2462
    return self.recv_addTag()
2463
 
2464
  def send_addTag(self, displayName, itemId):
2465
    self._oprot.writeMessageBegin('addTag', TMessageType.CALL, self._seqid)
2466
    args = addTag_args()
2467
    args.displayName = displayName
2468
    args.itemId = itemId
2469
    args.write(self._oprot)
2470
    self._oprot.writeMessageEnd()
2471
    self._oprot.trans.flush()
2472
 
2473
  def recv_addTag(self, ):
2474
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2475
    if mtype == TMessageType.EXCEPTION:
2476
      x = TApplicationException()
2477
      x.read(self._iprot)
2478
      self._iprot.readMessageEnd()
2479
      raise x
2480
    result = addTag_result()
2481
    result.read(self._iprot)
2482
    self._iprot.readMessageEnd()
2483
    if result.success is not None:
2484
      return result.success
2485
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addTag failed: unknown result");
2486
 
2487
  def deleteEntityTag(self, displayName, itemId):
2488
    """
2489
    Parameters:
2490
     - displayName
2491
     - itemId
2492
    """
2493
    self.send_deleteEntityTag(displayName, itemId)
2494
    return self.recv_deleteEntityTag()
2495
 
2496
  def send_deleteEntityTag(self, displayName, itemId):
2497
    self._oprot.writeMessageBegin('deleteEntityTag', TMessageType.CALL, self._seqid)
2498
    args = deleteEntityTag_args()
2499
    args.displayName = displayName
2500
    args.itemId = itemId
2501
    args.write(self._oprot)
2502
    self._oprot.writeMessageEnd()
2503
    self._oprot.trans.flush()
2504
 
2505
  def recv_deleteEntityTag(self, ):
2506
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2507
    if mtype == TMessageType.EXCEPTION:
2508
      x = TApplicationException()
2509
      x.read(self._iprot)
2510
      self._iprot.readMessageEnd()
2511
      raise x
2512
    result = deleteEntityTag_result()
2513
    result.read(self._iprot)
2514
    self._iprot.readMessageEnd()
2515
    if result.success is not None:
2516
      return result.success
2517
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteEntityTag failed: unknown result");
2518
 
2519
  def deleteTag(self, displayName):
2520
    """
2521
    Parameters:
2522
     - displayName
2523
    """
2524
    self.send_deleteTag(displayName)
2525
    return self.recv_deleteTag()
2526
 
2527
  def send_deleteTag(self, displayName):
2528
    self._oprot.writeMessageBegin('deleteTag', TMessageType.CALL, self._seqid)
2529
    args = deleteTag_args()
2530
    args.displayName = displayName
2531
    args.write(self._oprot)
2532
    self._oprot.writeMessageEnd()
2533
    self._oprot.trans.flush()
2534
 
2535
  def recv_deleteTag(self, ):
2536
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2537
    if mtype == TMessageType.EXCEPTION:
2538
      x = TApplicationException()
2539
      x.read(self._iprot)
2540
      self._iprot.readMessageEnd()
2541
      raise x
2542
    result = deleteTag_result()
2543
    result.read(self._iprot)
2544
    self._iprot.readMessageEnd()
2545
    if result.success is not None:
2546
      return result.success
2547
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteTag failed: unknown result");
2548
 
2549
  def getAllTags(self, ):
2550
    self.send_getAllTags()
2551
    return self.recv_getAllTags()
2552
 
2553
  def send_getAllTags(self, ):
2554
    self._oprot.writeMessageBegin('getAllTags', TMessageType.CALL, self._seqid)
2555
    args = getAllTags_args()
2556
    args.write(self._oprot)
2557
    self._oprot.writeMessageEnd()
2558
    self._oprot.trans.flush()
2559
 
2560
  def recv_getAllTags(self, ):
2561
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2562
    if mtype == TMessageType.EXCEPTION:
2563
      x = TApplicationException()
2564
      x.read(self._iprot)
2565
      self._iprot.readMessageEnd()
2566
      raise x
2567
    result = getAllTags_result()
2568
    result.read(self._iprot)
2569
    self._iprot.readMessageEnd()
2570
    if result.success is not None:
2571
      return result.success
2572
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllTags failed: unknown result");
2573
 
2574
  def getAllEntitiesByTagName(self, displayName):
2575
    """
2576
    Parameters:
2577
     - displayName
2578
    """
2579
    self.send_getAllEntitiesByTagName(displayName)
2580
    return self.recv_getAllEntitiesByTagName()
2581
 
2582
  def send_getAllEntitiesByTagName(self, displayName):
2583
    self._oprot.writeMessageBegin('getAllEntitiesByTagName', TMessageType.CALL, self._seqid)
2584
    args = getAllEntitiesByTagName_args()
2585
    args.displayName = displayName
2586
    args.write(self._oprot)
2587
    self._oprot.writeMessageEnd()
2588
    self._oprot.trans.flush()
2589
 
2590
  def recv_getAllEntitiesByTagName(self, ):
2591
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2592
    if mtype == TMessageType.EXCEPTION:
2593
      x = TApplicationException()
2594
      x.read(self._iprot)
2595
      self._iprot.readMessageEnd()
2596
      raise x
2597
    result = getAllEntitiesByTagName_result()
2598
    result.read(self._iprot)
2599
    self._iprot.readMessageEnd()
2600
    if result.success is not None:
2601
      return result.success
2602
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntitiesByTagName failed: unknown result");
2603
 
6845 amit.gupta 2604
  def getAllEntityTags(self, ):
2605
    self.send_getAllEntityTags()
2606
    return self.recv_getAllEntityTags()
2607
 
2608
  def send_getAllEntityTags(self, ):
2609
    self._oprot.writeMessageBegin('getAllEntityTags', TMessageType.CALL, self._seqid)
2610
    args = getAllEntityTags_args()
2611
    args.write(self._oprot)
2612
    self._oprot.writeMessageEnd()
2613
    self._oprot.trans.flush()
2614
 
2615
  def recv_getAllEntityTags(self, ):
2616
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2617
    if mtype == TMessageType.EXCEPTION:
2618
      x = TApplicationException()
2619
      x.read(self._iprot)
2620
      self._iprot.readMessageEnd()
2621
      raise x
2622
    result = getAllEntityTags_result()
2623
    result.read(self._iprot)
2624
    self._iprot.readMessageEnd()
2625
    if result.success is not None:
2626
      return result.success
2627
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
2628
 
8590 kshitij.so 2629
  def addBanner(self, bannerCongregate):
6850 kshitij.so 2630
    """
8579 kshitij.so 2631
    Banner Related
2632
 
6850 kshitij.so 2633
    Parameters:
8590 kshitij.so 2634
     - bannerCongregate
6850 kshitij.so 2635
    """
8590 kshitij.so 2636
    self.send_addBanner(bannerCongregate)
10097 kshitij.so 2637
    return self.recv_addBanner()
6850 kshitij.so 2638
 
8590 kshitij.so 2639
  def send_addBanner(self, bannerCongregate):
6850 kshitij.so 2640
    self._oprot.writeMessageBegin('addBanner', TMessageType.CALL, self._seqid)
2641
    args = addBanner_args()
8590 kshitij.so 2642
    args.bannerCongregate = bannerCongregate
6850 kshitij.so 2643
    args.write(self._oprot)
2644
    self._oprot.writeMessageEnd()
2645
    self._oprot.trans.flush()
2646
 
2647
  def recv_addBanner(self, ):
2648
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2649
    if mtype == TMessageType.EXCEPTION:
2650
      x = TApplicationException()
2651
      x.read(self._iprot)
2652
      self._iprot.readMessageEnd()
2653
      raise x
2654
    result = addBanner_result()
2655
    result.read(self._iprot)
2656
    self._iprot.readMessageEnd()
10097 kshitij.so 2657
    if result.success is not None:
2658
      return result.success
2659
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBanner failed: unknown result");
6850 kshitij.so 2660
 
8579 kshitij.so 2661
  def updateBanner(self, banner):
2662
    """
2663
    Parameters:
2664
     - banner
2665
    """
2666
    self.send_updateBanner(banner)
2667
    return self.recv_updateBanner()
2668
 
2669
  def send_updateBanner(self, banner):
2670
    self._oprot.writeMessageBegin('updateBanner', TMessageType.CALL, self._seqid)
2671
    args = updateBanner_args()
2672
    args.banner = banner
2673
    args.write(self._oprot)
2674
    self._oprot.writeMessageEnd()
2675
    self._oprot.trans.flush()
2676
 
2677
  def recv_updateBanner(self, ):
2678
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2679
    if mtype == TMessageType.EXCEPTION:
2680
      x = TApplicationException()
2681
      x.read(self._iprot)
2682
      self._iprot.readMessageEnd()
2683
      raise x
2684
    result = updateBanner_result()
2685
    result.read(self._iprot)
2686
    self._iprot.readMessageEnd()
2687
    if result.success is not None:
2688
      return result.success
2689
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBanner failed: unknown result");
2690
 
6850 kshitij.so 2691
  def getAllBanners(self, ):
2692
    self.send_getAllBanners()
2693
    return self.recv_getAllBanners()
2694
 
2695
  def send_getAllBanners(self, ):
2696
    self._oprot.writeMessageBegin('getAllBanners', TMessageType.CALL, self._seqid)
2697
    args = getAllBanners_args()
2698
    args.write(self._oprot)
2699
    self._oprot.writeMessageEnd()
2700
    self._oprot.trans.flush()
2701
 
2702
  def recv_getAllBanners(self, ):
2703
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2704
    if mtype == TMessageType.EXCEPTION:
2705
      x = TApplicationException()
2706
      x.read(self._iprot)
2707
      self._iprot.readMessageEnd()
2708
      raise x
2709
    result = getAllBanners_result()
2710
    result.read(self._iprot)
2711
    self._iprot.readMessageEnd()
2712
    if result.success is not None:
2713
      return result.success
2714
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBanners failed: unknown result");
2715
 
9155 kshitij.so 2716
  def deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2717
    """
2718
    Parameters:
2719
     - bannerName
9155 kshitij.so 2720
     - bannerType
6850 kshitij.so 2721
    """
9155 kshitij.so 2722
    self.send_deleteBanner(bannerName, bannerType)
6850 kshitij.so 2723
    return self.recv_deleteBanner()
2724
 
9155 kshitij.so 2725
  def send_deleteBanner(self, bannerName, bannerType):
6850 kshitij.so 2726
    self._oprot.writeMessageBegin('deleteBanner', TMessageType.CALL, self._seqid)
2727
    args = deleteBanner_args()
2728
    args.bannerName = bannerName
9155 kshitij.so 2729
    args.bannerType = bannerType
6850 kshitij.so 2730
    args.write(self._oprot)
2731
    self._oprot.writeMessageEnd()
2732
    self._oprot.trans.flush()
2733
 
2734
  def recv_deleteBanner(self, ):
2735
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2736
    if mtype == TMessageType.EXCEPTION:
2737
      x = TApplicationException()
2738
      x.read(self._iprot)
2739
      self._iprot.readMessageEnd()
2740
      raise x
2741
    result = deleteBanner_result()
2742
    result.read(self._iprot)
2743
    self._iprot.readMessageEnd()
2744
    if result.success is not None:
2745
      return result.success
2746
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBanner failed: unknown result");
2747
 
9155 kshitij.so 2748
  def getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2749
    """
2750
    Parameters:
2751
     - bannerName
9155 kshitij.so 2752
     - bannerType
6850 kshitij.so 2753
    """
9155 kshitij.so 2754
    self.send_getBannerDetails(bannerName, bannerType)
6850 kshitij.so 2755
    return self.recv_getBannerDetails()
2756
 
9155 kshitij.so 2757
  def send_getBannerDetails(self, bannerName, bannerType):
6850 kshitij.so 2758
    self._oprot.writeMessageBegin('getBannerDetails', TMessageType.CALL, self._seqid)
2759
    args = getBannerDetails_args()
2760
    args.bannerName = bannerName
9155 kshitij.so 2761
    args.bannerType = bannerType
6850 kshitij.so 2762
    args.write(self._oprot)
2763
    self._oprot.writeMessageEnd()
2764
    self._oprot.trans.flush()
2765
 
2766
  def recv_getBannerDetails(self, ):
2767
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2768
    if mtype == TMessageType.EXCEPTION:
2769
      x = TApplicationException()
2770
      x.read(self._iprot)
2771
      self._iprot.readMessageEnd()
2772
      raise x
2773
    result = getBannerDetails_result()
2774
    result.read(self._iprot)
2775
    self._iprot.readMessageEnd()
2776
    if result.success is not None:
2777
      return result.success
2778
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerDetails failed: unknown result");
2779
 
2780
  def getActiveBanners(self, ):
2781
    self.send_getActiveBanners()
2782
    return self.recv_getActiveBanners()
2783
 
2784
  def send_getActiveBanners(self, ):
2785
    self._oprot.writeMessageBegin('getActiveBanners', TMessageType.CALL, self._seqid)
2786
    args = getActiveBanners_args()
2787
    args.write(self._oprot)
2788
    self._oprot.writeMessageEnd()
2789
    self._oprot.trans.flush()
2790
 
2791
  def recv_getActiveBanners(self, ):
2792
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2793
    if mtype == TMessageType.EXCEPTION:
2794
      x = TApplicationException()
2795
      x.read(self._iprot)
2796
      self._iprot.readMessageEnd()
2797
      raise x
2798
    result = getActiveBanners_result()
2799
    result.read(self._iprot)
2800
    self._iprot.readMessageEnd()
2801
    if result.success is not None:
2802
      return result.success
2803
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBanners failed: unknown result");
2804
 
8579 kshitij.so 2805
  def addBannerMap(self, bannerMaps):
6849 kshitij.so 2806
    """
2807
    Parameters:
8579 kshitij.so 2808
     - bannerMaps
6849 kshitij.so 2809
    """
8579 kshitij.so 2810
    self.send_addBannerMap(bannerMaps)
6849 kshitij.so 2811
    return self.recv_addBannerMap()
2812
 
8579 kshitij.so 2813
  def send_addBannerMap(self, bannerMaps):
6849 kshitij.so 2814
    self._oprot.writeMessageBegin('addBannerMap', TMessageType.CALL, self._seqid)
2815
    args = addBannerMap_args()
8579 kshitij.so 2816
    args.bannerMaps = bannerMaps
6849 kshitij.so 2817
    args.write(self._oprot)
2818
    self._oprot.writeMessageEnd()
2819
    self._oprot.trans.flush()
2820
 
2821
  def recv_addBannerMap(self, ):
2822
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2823
    if mtype == TMessageType.EXCEPTION:
2824
      x = TApplicationException()
2825
      x.read(self._iprot)
2826
      self._iprot.readMessageEnd()
2827
      raise x
2828
    result = addBannerMap_result()
2829
    result.read(self._iprot)
2830
    self._iprot.readMessageEnd()
2831
    if result.success is not None:
2832
      return result.success
2833
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addBannerMap failed: unknown result");
2834
 
8579 kshitij.so 2835
  def updateBannerMap(self, bannerMap):
2836
    """
2837
    Parameters:
2838
     - bannerMap
2839
    """
2840
    self.send_updateBannerMap(bannerMap)
2841
    return self.recv_updateBannerMap()
2842
 
2843
  def send_updateBannerMap(self, bannerMap):
2844
    self._oprot.writeMessageBegin('updateBannerMap', TMessageType.CALL, self._seqid)
2845
    args = updateBannerMap_args()
2846
    args.bannerMap = bannerMap
2847
    args.write(self._oprot)
2848
    self._oprot.writeMessageEnd()
2849
    self._oprot.trans.flush()
2850
 
2851
  def recv_updateBannerMap(self, ):
2852
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2853
    if mtype == TMessageType.EXCEPTION:
2854
      x = TApplicationException()
2855
      x.read(self._iprot)
2856
      self._iprot.readMessageEnd()
2857
      raise x
2858
    result = updateBannerMap_result()
2859
    result.read(self._iprot)
2860
    self._iprot.readMessageEnd()
2861
    if result.success is not None:
2862
      return result.success
2863
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateBannerMap failed: unknown result");
2864
 
6849 kshitij.so 2865
  def deleteBannerMap(self, bannerName):
2866
    """
2867
    Parameters:
2868
     - bannerName
2869
    """
2870
    self.send_deleteBannerMap(bannerName)
2871
    return self.recv_deleteBannerMap()
2872
 
2873
  def send_deleteBannerMap(self, bannerName):
2874
    self._oprot.writeMessageBegin('deleteBannerMap', TMessageType.CALL, self._seqid)
2875
    args = deleteBannerMap_args()
2876
    args.bannerName = bannerName
2877
    args.write(self._oprot)
2878
    self._oprot.writeMessageEnd()
2879
    self._oprot.trans.flush()
2880
 
2881
  def recv_deleteBannerMap(self, ):
2882
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2883
    if mtype == TMessageType.EXCEPTION:
2884
      x = TApplicationException()
2885
      x.read(self._iprot)
2886
      self._iprot.readMessageEnd()
2887
      raise x
2888
    result = deleteBannerMap_result()
2889
    result.read(self._iprot)
2890
    self._iprot.readMessageEnd()
2891
    if result.success is not None:
2892
      return result.success
2893
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteBannerMap failed: unknown result");
2894
 
9155 kshitij.so 2895
  def getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 2896
    """
2897
    Parameters:
2898
     - bannerName
9155 kshitij.so 2899
     - bannerType
6849 kshitij.so 2900
    """
9155 kshitij.so 2901
    self.send_getBannerMapDetails(bannerName, bannerType)
6849 kshitij.so 2902
    return self.recv_getBannerMapDetails()
2903
 
9155 kshitij.so 2904
  def send_getBannerMapDetails(self, bannerName, bannerType):
6849 kshitij.so 2905
    self._oprot.writeMessageBegin('getBannerMapDetails', TMessageType.CALL, self._seqid)
2906
    args = getBannerMapDetails_args()
2907
    args.bannerName = bannerName
9155 kshitij.so 2908
    args.bannerType = bannerType
6849 kshitij.so 2909
    args.write(self._oprot)
2910
    self._oprot.writeMessageEnd()
2911
    self._oprot.trans.flush()
2912
 
2913
  def recv_getBannerMapDetails(self, ):
2914
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2915
    if mtype == TMessageType.EXCEPTION:
2916
      x = TApplicationException()
2917
      x.read(self._iprot)
2918
      self._iprot.readMessageEnd()
2919
      raise x
2920
    result = getBannerMapDetails_result()
2921
    result.read(self._iprot)
2922
    self._iprot.readMessageEnd()
2923
    if result.success is not None:
2924
      return result.success
2925
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBannerMapDetails failed: unknown result");
2926
 
8579 kshitij.so 2927
  def addBannerUri(self, bannerUriMappings):
2928
    """
2929
    Parameters:
2930
     - bannerUriMappings
2931
    """
2932
    self.send_addBannerUri(bannerUriMappings)
2933
    self.recv_addBannerUri()
2934
 
2935
  def send_addBannerUri(self, bannerUriMappings):
2936
    self._oprot.writeMessageBegin('addBannerUri', TMessageType.CALL, self._seqid)
2937
    args = addBannerUri_args()
2938
    args.bannerUriMappings = bannerUriMappings
2939
    args.write(self._oprot)
2940
    self._oprot.writeMessageEnd()
2941
    self._oprot.trans.flush()
2942
 
2943
  def recv_addBannerUri(self, ):
2944
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2945
    if mtype == TMessageType.EXCEPTION:
2946
      x = TApplicationException()
2947
      x.read(self._iprot)
2948
      self._iprot.readMessageEnd()
2949
      raise x
2950
    result = addBannerUri_result()
2951
    result.read(self._iprot)
2952
    self._iprot.readMessageEnd()
2953
    return
2954
 
9155 kshitij.so 2955
  def getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 2956
    """
2957
    Parameters:
2958
     - bannerName
9155 kshitij.so 2959
     - bannerType
8579 kshitij.so 2960
    """
9155 kshitij.so 2961
    self.send_getUriMapping(bannerName, bannerType)
8579 kshitij.so 2962
    return self.recv_getUriMapping()
2963
 
9155 kshitij.so 2964
  def send_getUriMapping(self, bannerName, bannerType):
8579 kshitij.so 2965
    self._oprot.writeMessageBegin('getUriMapping', TMessageType.CALL, self._seqid)
2966
    args = getUriMapping_args()
2967
    args.bannerName = bannerName
9155 kshitij.so 2968
    args.bannerType = bannerType
8579 kshitij.so 2969
    args.write(self._oprot)
2970
    self._oprot.writeMessageEnd()
2971
    self._oprot.trans.flush()
2972
 
2973
  def recv_getUriMapping(self, ):
2974
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
2975
    if mtype == TMessageType.EXCEPTION:
2976
      x = TApplicationException()
2977
      x.read(self._iprot)
2978
      self._iprot.readMessageEnd()
2979
      raise x
2980
    result = getUriMapping_result()
2981
    result.read(self._iprot)
2982
    self._iprot.readMessageEnd()
2983
    if result.success is not None:
2984
      return result.success
2985
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUriMapping failed: unknown result");
2986
 
2987
  def addCampaign(self, campaign):
2988
    """
2989
    Parameters:
2990
     - campaign
2991
    """
2992
    self.send_addCampaign(campaign)
2993
    self.recv_addCampaign()
2994
 
2995
  def send_addCampaign(self, campaign):
2996
    self._oprot.writeMessageBegin('addCampaign', TMessageType.CALL, self._seqid)
2997
    args = addCampaign_args()
2998
    args.campaign = campaign
2999
    args.write(self._oprot)
3000
    self._oprot.writeMessageEnd()
3001
    self._oprot.trans.flush()
3002
 
3003
  def recv_addCampaign(self, ):
3004
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3005
    if mtype == TMessageType.EXCEPTION:
3006
      x = TApplicationException()
3007
      x.read(self._iprot)
3008
      self._iprot.readMessageEnd()
3009
      raise x
3010
    result = addCampaign_result()
3011
    result.read(self._iprot)
3012
    self._iprot.readMessageEnd()
3013
    return
3014
 
3015
  def getCampaigns(self, campaignName):
3016
    """
3017
    Parameters:
3018
     - campaignName
3019
    """
3020
    self.send_getCampaigns(campaignName)
3021
    return self.recv_getCampaigns()
3022
 
3023
  def send_getCampaigns(self, campaignName):
3024
    self._oprot.writeMessageBegin('getCampaigns', TMessageType.CALL, self._seqid)
3025
    args = getCampaigns_args()
3026
    args.campaignName = campaignName
3027
    args.write(self._oprot)
3028
    self._oprot.writeMessageEnd()
3029
    self._oprot.trans.flush()
3030
 
3031
  def recv_getCampaigns(self, ):
3032
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3033
    if mtype == TMessageType.EXCEPTION:
3034
      x = TApplicationException()
3035
      x.read(self._iprot)
3036
      self._iprot.readMessageEnd()
3037
      raise x
3038
    result = getCampaigns_result()
3039
    result.read(self._iprot)
3040
    self._iprot.readMessageEnd()
3041
    if result.success is not None:
3042
      return result.success
3043
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCampaigns failed: unknown result");
3044
 
3045
  def deleteCampaign(self, campaignId):
3046
    """
3047
    Parameters:
3048
     - campaignId
3049
    """
3050
    self.send_deleteCampaign(campaignId)
3051
    self.recv_deleteCampaign()
3052
 
3053
  def send_deleteCampaign(self, campaignId):
3054
    self._oprot.writeMessageBegin('deleteCampaign', TMessageType.CALL, self._seqid)
3055
    args = deleteCampaign_args()
3056
    args.campaignId = campaignId
3057
    args.write(self._oprot)
3058
    self._oprot.writeMessageEnd()
3059
    self._oprot.trans.flush()
3060
 
3061
  def recv_deleteCampaign(self, ):
3062
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3063
    if mtype == TMessageType.EXCEPTION:
3064
      x = TApplicationException()
3065
      x.read(self._iprot)
3066
      self._iprot.readMessageEnd()
3067
      raise x
3068
    result = deleteCampaign_result()
3069
    result.read(self._iprot)
3070
    self._iprot.readMessageEnd()
3071
    return
3072
 
3073
  def getAllCampaigns(self, ):
3074
    self.send_getAllCampaigns()
3075
    return self.recv_getAllCampaigns()
3076
 
3077
  def send_getAllCampaigns(self, ):
3078
    self._oprot.writeMessageBegin('getAllCampaigns', TMessageType.CALL, self._seqid)
3079
    args = getAllCampaigns_args()
3080
    args.write(self._oprot)
3081
    self._oprot.writeMessageEnd()
3082
    self._oprot.trans.flush()
3083
 
3084
  def recv_getAllCampaigns(self, ):
3085
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3086
    if mtype == TMessageType.EXCEPTION:
3087
      x = TApplicationException()
3088
      x.read(self._iprot)
3089
      self._iprot.readMessageEnd()
3090
      raise x
3091
    result = getAllCampaigns_result()
3092
    result.read(self._iprot)
3093
    self._iprot.readMessageEnd()
3094
    if result.success is not None:
3095
      return result.success
3096
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllCampaigns failed: unknown result");
3097
 
9155 kshitij.so 3098
  def getActiveBannersForMobileSite(self, ):
3099
    self.send_getActiveBannersForMobileSite()
3100
    return self.recv_getActiveBannersForMobileSite()
3101
 
3102
  def send_getActiveBannersForMobileSite(self, ):
3103
    self._oprot.writeMessageBegin('getActiveBannersForMobileSite', TMessageType.CALL, self._seqid)
3104
    args = getActiveBannersForMobileSite_args()
3105
    args.write(self._oprot)
3106
    self._oprot.writeMessageEnd()
3107
    self._oprot.trans.flush()
3108
 
3109
  def recv_getActiveBannersForMobileSite(self, ):
3110
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3111
    if mtype == TMessageType.EXCEPTION:
3112
      x = TApplicationException()
3113
      x.read(self._iprot)
3114
      self._iprot.readMessageEnd()
3115
      raise x
3116
    result = getActiveBannersForMobileSite_result()
3117
    result.read(self._iprot)
3118
    self._iprot.readMessageEnd()
3119
    if result.success is not None:
3120
      return result.success
3121
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getActiveBannersForMobileSite failed: unknown result");
3122
 
5944 mandeep.dh 3123
  def deleteSimilarItem(self, itemId, catalogItemId):
3124
    """
3125
    Delete similar item.
3126
 
3127
    Parameters:
3128
     - itemId
3129
     - catalogItemId
3130
    """
3131
    self.send_deleteSimilarItem(itemId, catalogItemId)
3132
    return self.recv_deleteSimilarItem()
3133
 
3134
  def send_deleteSimilarItem(self, itemId, catalogItemId):
3135
    self._oprot.writeMessageBegin('deleteSimilarItem', TMessageType.CALL, self._seqid)
3136
    args = deleteSimilarItem_args()
3137
    args.itemId = itemId
3138
    args.catalogItemId = catalogItemId
3139
    args.write(self._oprot)
3140
    self._oprot.writeMessageEnd()
3141
    self._oprot.trans.flush()
3142
 
3143
  def recv_deleteSimilarItem(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 = deleteSimilarItem_result()
3151
    result.read(self._iprot)
3152
    self._iprot.readMessageEnd()
3153
    if result.success is not None:
3154
      return result.success
3155
    if result.cex is not None:
3156
      raise result.cex
3157
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteSimilarItem failed: unknown result");
3158
 
3159
  def checkSimilarItem(self, brand, modelNumber, modelName, color):
3160
    """
3161
    Checks if similar item exists (with same Brand, ModelNumber, ModelName, Color)
3162
    If yes, returns the itemId else returns 0
3163
 
3164
    Parameters:
3165
     - brand
3166
     - modelNumber
3167
     - modelName
3168
     - color
3169
    """
3170
    self.send_checkSimilarItem(brand, modelNumber, modelName, color)
3171
    return self.recv_checkSimilarItem()
3172
 
3173
  def send_checkSimilarItem(self, brand, modelNumber, modelName, color):
3174
    self._oprot.writeMessageBegin('checkSimilarItem', TMessageType.CALL, self._seqid)
3175
    args = checkSimilarItem_args()
3176
    args.brand = brand
3177
    args.modelNumber = modelNumber
3178
    args.modelName = modelName
3179
    args.color = color
3180
    args.write(self._oprot)
3181
    self._oprot.writeMessageEnd()
3182
    self._oprot.trans.flush()
3183
 
3184
  def recv_checkSimilarItem(self, ):
3185
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3186
    if mtype == TMessageType.EXCEPTION:
3187
      x = TApplicationException()
3188
      x.read(self._iprot)
3189
      self._iprot.readMessageEnd()
3190
      raise x
3191
    result = checkSimilarItem_result()
3192
    result.read(self._iprot)
3193
    self._iprot.readMessageEnd()
3194
    if result.success is not None:
3195
      return result.success
3196
    raise TApplicationException(TApplicationException.MISSING_RESULT, "checkSimilarItem failed: unknown result");
3197
 
3198
  def validateRiskyStatus(self, itemId):
3199
    """
3200
    Check wether item is risky and change status if inventory is not available for risky items
3201
 
3202
    Parameters:
3203
     - itemId
3204
    """
3205
    self.send_validateRiskyStatus(itemId)
3206
    self.recv_validateRiskyStatus()
3207
 
3208
  def send_validateRiskyStatus(self, itemId):
3209
    self._oprot.writeMessageBegin('validateRiskyStatus', TMessageType.CALL, self._seqid)
3210
    args = validateRiskyStatus_args()
3211
    args.itemId = itemId
3212
    args.write(self._oprot)
3213
    self._oprot.writeMessageEnd()
3214
    self._oprot.trans.flush()
3215
 
3216
  def recv_validateRiskyStatus(self, ):
3217
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3218
    if mtype == TMessageType.EXCEPTION:
3219
      x = TApplicationException()
3220
      x.read(self._iprot)
3221
      self._iprot.readMessageEnd()
3222
      raise x
3223
    result = validateRiskyStatus_result()
3224
    result.read(self._iprot)
3225
    self._iprot.readMessageEnd()
3226
    return
3227
 
3228
  def changeItemRiskyFlag(self, itemId, risky):
3229
    """
3230
    Marks/Unmarks an item as risky. This flag is used for automatic marking of an item as INACTIVE in case of zero inventory.
3231
 
3232
    Parameters:
3233
     - itemId
3234
     - risky
3235
    """
3236
    self.send_changeItemRiskyFlag(itemId, risky)
3237
    self.recv_changeItemRiskyFlag()
3238
 
3239
  def send_changeItemRiskyFlag(self, itemId, risky):
3240
    self._oprot.writeMessageBegin('changeItemRiskyFlag', TMessageType.CALL, self._seqid)
3241
    args = changeItemRiskyFlag_args()
3242
    args.itemId = itemId
3243
    args.risky = risky
3244
    args.write(self._oprot)
3245
    self._oprot.writeMessageEnd()
3246
    self._oprot.trans.flush()
3247
 
3248
  def recv_changeItemRiskyFlag(self, ):
3249
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3250
    if mtype == TMessageType.EXCEPTION:
3251
      x = TApplicationException()
3252
      x.read(self._iprot)
3253
      self._iprot.readMessageEnd()
3254
      raise x
3255
    result = changeItemRiskyFlag_result()
3256
    result.read(self._iprot)
3257
    self._iprot.readMessageEnd()
3258
    return
3259
 
3260
  def getItemsByRiskyFlag(self, ):
3261
    """
3262
    Returns list of items marked as risky.
3263
    """
3264
    self.send_getItemsByRiskyFlag()
3265
    return self.recv_getItemsByRiskyFlag()
3266
 
3267
  def send_getItemsByRiskyFlag(self, ):
3268
    self._oprot.writeMessageBegin('getItemsByRiskyFlag', TMessageType.CALL, self._seqid)
3269
    args = getItemsByRiskyFlag_args()
3270
    args.write(self._oprot)
3271
    self._oprot.writeMessageEnd()
3272
    self._oprot.trans.flush()
3273
 
3274
  def recv_getItemsByRiskyFlag(self, ):
3275
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3276
    if mtype == TMessageType.EXCEPTION:
3277
      x = TApplicationException()
3278
      x.read(self._iprot)
3279
      self._iprot.readMessageEnd()
3280
      raise x
3281
    result = getItemsByRiskyFlag_result()
3282
    result.read(self._iprot)
3283
    self._iprot.readMessageEnd()
3284
    if result.success is not None:
3285
      return result.success
3286
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsByRiskyFlag failed: unknown result");
3287
 
3288
  def getItemsForMasterSheet(self, category, brand):
3289
    """
3290
    Returns list of items with any status except PHASED_OUT and filtered by category, brand.
3291
 
3292
    Parameters:
3293
     - category
3294
     - brand
3295
    """
3296
    self.send_getItemsForMasterSheet(category, brand)
3297
    return self.recv_getItemsForMasterSheet()
3298
 
3299
  def send_getItemsForMasterSheet(self, category, brand):
3300
    self._oprot.writeMessageBegin('getItemsForMasterSheet', TMessageType.CALL, self._seqid)
3301
    args = getItemsForMasterSheet_args()
3302
    args.category = category
3303
    args.brand = brand
3304
    args.write(self._oprot)
3305
    self._oprot.writeMessageEnd()
3306
    self._oprot.trans.flush()
3307
 
3308
  def recv_getItemsForMasterSheet(self, ):
3309
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3310
    if mtype == TMessageType.EXCEPTION:
3311
      x = TApplicationException()
3312
      x.read(self._iprot)
3313
      self._iprot.readMessageEnd()
3314
      raise x
3315
    result = getItemsForMasterSheet_result()
3316
    result.read(self._iprot)
3317
    self._iprot.readMessageEnd()
3318
    if result.success is not None:
3319
      return result.success
3320
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsForMasterSheet failed: unknown result");
3321
 
3322
  def getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3323
    """
3324
    Returns list of catalog ids of items with same similarity index as of the given itemId
3325
 
3326
    Parameters:
3327
     - beginIndex
3328
     - totalItems
3329
     - itemId
3330
    """
3331
    self.send_getSimilarItemsCatalogIds(beginIndex, totalItems, itemId)
3332
    return self.recv_getSimilarItemsCatalogIds()
3333
 
3334
  def send_getSimilarItemsCatalogIds(self, beginIndex, totalItems, itemId):
3335
    self._oprot.writeMessageBegin('getSimilarItemsCatalogIds', TMessageType.CALL, self._seqid)
3336
    args = getSimilarItemsCatalogIds_args()
3337
    args.beginIndex = beginIndex
3338
    args.totalItems = totalItems
3339
    args.itemId = itemId
3340
    args.write(self._oprot)
3341
    self._oprot.writeMessageEnd()
3342
    self._oprot.trans.flush()
3343
 
3344
  def recv_getSimilarItemsCatalogIds(self, ):
3345
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3346
    if mtype == TMessageType.EXCEPTION:
3347
      x = TApplicationException()
3348
      x.read(self._iprot)
3349
      self._iprot.readMessageEnd()
3350
      raise x
3351
    result = getSimilarItemsCatalogIds_result()
3352
    result.read(self._iprot)
3353
    self._iprot.readMessageEnd()
3354
    if result.success is not None:
3355
      return result.success
3356
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSimilarItemsCatalogIds failed: unknown result");
3357
 
3358
  def addProductNotification(self, itemId, email):
3359
    """
3360
    Add user requests for out of stock items. Once user will ask for notify me an entry will
3361
 
3362
    Parameters:
3363
     - itemId
3364
     - email
3365
    """
3366
    self.send_addProductNotification(itemId, email)
3367
    return self.recv_addProductNotification()
3368
 
3369
  def send_addProductNotification(self, itemId, email):
3370
    self._oprot.writeMessageBegin('addProductNotification', TMessageType.CALL, self._seqid)
3371
    args = addProductNotification_args()
3372
    args.itemId = itemId
3373
    args.email = email
3374
    args.write(self._oprot)
3375
    self._oprot.writeMessageEnd()
3376
    self._oprot.trans.flush()
3377
 
3378
  def recv_addProductNotification(self, ):
3379
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3380
    if mtype == TMessageType.EXCEPTION:
3381
      x = TApplicationException()
3382
      x.read(self._iprot)
3383
      self._iprot.readMessageEnd()
3384
      raise x
3385
    result = addProductNotification_result()
3386
    result.read(self._iprot)
3387
    self._iprot.readMessageEnd()
3388
    if result.success is not None:
3389
      return result.success
3390
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductNotification failed: unknown result");
3391
 
3392
  def sendProductNotifications(self, ):
3393
    """
3394
    Send the product notifications to the users for items which has stock.
3395
    """
3396
    self.send_sendProductNotifications()
3397
    return self.recv_sendProductNotifications()
3398
 
3399
  def send_sendProductNotifications(self, ):
3400
    self._oprot.writeMessageBegin('sendProductNotifications', TMessageType.CALL, self._seqid)
3401
    args = sendProductNotifications_args()
3402
    args.write(self._oprot)
3403
    self._oprot.writeMessageEnd()
3404
    self._oprot.trans.flush()
3405
 
3406
  def recv_sendProductNotifications(self, ):
3407
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3408
    if mtype == TMessageType.EXCEPTION:
3409
      x = TApplicationException()
3410
      x.read(self._iprot)
3411
      self._iprot.readMessageEnd()
3412
      raise x
3413
    result = sendProductNotifications_result()
3414
    result.read(self._iprot)
3415
    self._iprot.readMessageEnd()
3416
    if result.success is not None:
3417
      return result.success
3418
    raise TApplicationException(TApplicationException.MISSING_RESULT, "sendProductNotifications failed: unknown result");
3419
 
3420
  def getAllBrandsByCategory(self, categoryId):
3421
    """
3422
    Returns list of brand names for a given category Id
3423
 
3424
    Parameters:
3425
     - categoryId
3426
    """
3427
    self.send_getAllBrandsByCategory(categoryId)
3428
    return self.recv_getAllBrandsByCategory()
3429
 
3430
  def send_getAllBrandsByCategory(self, categoryId):
3431
    self._oprot.writeMessageBegin('getAllBrandsByCategory', TMessageType.CALL, self._seqid)
3432
    args = getAllBrandsByCategory_args()
3433
    args.categoryId = categoryId
3434
    args.write(self._oprot)
3435
    self._oprot.writeMessageEnd()
3436
    self._oprot.trans.flush()
3437
 
3438
  def recv_getAllBrandsByCategory(self, ):
3439
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3440
    if mtype == TMessageType.EXCEPTION:
3441
      x = TApplicationException()
3442
      x.read(self._iprot)
3443
      self._iprot.readMessageEnd()
3444
      raise x
3445
    result = getAllBrandsByCategory_result()
3446
    result.read(self._iprot)
3447
    self._iprot.readMessageEnd()
3448
    if result.success is not None:
3449
      return result.success
3450
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrandsByCategory failed: unknown result");
3451
 
3452
  def getAllBrands(self, ):
3453
    """
3454
    Returns list of brand names
3455
    """
3456
    self.send_getAllBrands()
3457
    return self.recv_getAllBrands()
3458
 
3459
  def send_getAllBrands(self, ):
3460
    self._oprot.writeMessageBegin('getAllBrands', TMessageType.CALL, self._seqid)
3461
    args = getAllBrands_args()
3462
    args.write(self._oprot)
3463
    self._oprot.writeMessageEnd()
3464
    self._oprot.trans.flush()
3465
 
3466
  def recv_getAllBrands(self, ):
3467
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3468
    if mtype == TMessageType.EXCEPTION:
3469
      x = TApplicationException()
3470
      x.read(self._iprot)
3471
      self._iprot.readMessageEnd()
3472
      raise x
3473
    result = getAllBrands_result()
3474
    result.read(self._iprot)
3475
    self._iprot.readMessageEnd()
3476
    if result.success is not None:
3477
      return result.success
3478
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllBrands failed: unknown result");
3479
 
3480
  def getAllSources(self, ):
3481
    """
3482
    Return list of all sources
3483
    """
3484
    self.send_getAllSources()
3485
    return self.recv_getAllSources()
3486
 
3487
  def send_getAllSources(self, ):
3488
    self._oprot.writeMessageBegin('getAllSources', TMessageType.CALL, self._seqid)
3489
    args = getAllSources_args()
3490
    args.write(self._oprot)
3491
    self._oprot.writeMessageEnd()
3492
    self._oprot.trans.flush()
3493
 
3494
  def recv_getAllSources(self, ):
3495
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3496
    if mtype == TMessageType.EXCEPTION:
3497
      x = TApplicationException()
3498
      x.read(self._iprot)
3499
      self._iprot.readMessageEnd()
3500
      raise x
3501
    result = getAllSources_result()
3502
    result.read(self._iprot)
3503
    self._iprot.readMessageEnd()
3504
    if result.success is not None:
3505
      return result.success
3506
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSources failed: unknown result");
3507
 
3508
  def getItemPricingBySource(self, itemId, sourceId):
3509
    """
3510
    Returns the pricing information of an item. If no information is found, exception will be thrown.
3511
 
3512
    Parameters:
3513
     - itemId
3514
     - sourceId
3515
    """
3516
    self.send_getItemPricingBySource(itemId, sourceId)
3517
    return self.recv_getItemPricingBySource()
3518
 
3519
  def send_getItemPricingBySource(self, itemId, sourceId):
3520
    self._oprot.writeMessageBegin('getItemPricingBySource', TMessageType.CALL, self._seqid)
3521
    args = getItemPricingBySource_args()
3522
    args.itemId = itemId
3523
    args.sourceId = sourceId
3524
    args.write(self._oprot)
3525
    self._oprot.writeMessageEnd()
3526
    self._oprot.trans.flush()
3527
 
3528
  def recv_getItemPricingBySource(self, ):
3529
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3530
    if mtype == TMessageType.EXCEPTION:
3531
      x = TApplicationException()
3532
      x.read(self._iprot)
3533
      self._iprot.readMessageEnd()
3534
      raise x
3535
    result = getItemPricingBySource_result()
3536
    result.read(self._iprot)
3537
    self._iprot.readMessageEnd()
3538
    if result.success is not None:
3539
      return result.success
3540
    if result.cex is not None:
3541
      raise result.cex
3542
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemPricingBySource failed: unknown result");
3543
 
3544
  def addSourceItemPricing(self, sourceItemPricing):
3545
    """
3546
    Adds prices to be displayed corresponding to the item if user comes from a source.
3547
    If item is not found or source is not found, it will throw exception.
3548
 
3549
    Parameters:
3550
     - sourceItemPricing
3551
    """
3552
    self.send_addSourceItemPricing(sourceItemPricing)
3553
    self.recv_addSourceItemPricing()
3554
 
3555
  def send_addSourceItemPricing(self, sourceItemPricing):
3556
    self._oprot.writeMessageBegin('addSourceItemPricing', TMessageType.CALL, self._seqid)
3557
    args = addSourceItemPricing_args()
3558
    args.sourceItemPricing = sourceItemPricing
3559
    args.write(self._oprot)
3560
    self._oprot.writeMessageEnd()
3561
    self._oprot.trans.flush()
3562
 
3563
  def recv_addSourceItemPricing(self, ):
3564
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3565
    if mtype == TMessageType.EXCEPTION:
3566
      x = TApplicationException()
3567
      x.read(self._iprot)
3568
      self._iprot.readMessageEnd()
3569
      raise x
3570
    result = addSourceItemPricing_result()
3571
    result.read(self._iprot)
3572
    self._iprot.readMessageEnd()
3573
    if result.cex is not None:
3574
      raise result.cex
3575
    return
3576
 
3577
  def getAllSourcePricing(self, itemId):
3578
    """
3579
    Returns the list of source pricing information of an item.
3580
    Raises an exception if item not found corresponding to itemId
3581
 
3582
    Parameters:
3583
     - itemId
3584
    """
3585
    self.send_getAllSourcePricing(itemId)
3586
    return self.recv_getAllSourcePricing()
3587
 
3588
  def send_getAllSourcePricing(self, itemId):
3589
    self._oprot.writeMessageBegin('getAllSourcePricing', TMessageType.CALL, self._seqid)
3590
    args = getAllSourcePricing_args()
3591
    args.itemId = itemId
3592
    args.write(self._oprot)
3593
    self._oprot.writeMessageEnd()
3594
    self._oprot.trans.flush()
3595
 
3596
  def recv_getAllSourcePricing(self, ):
3597
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3598
    if mtype == TMessageType.EXCEPTION:
3599
      x = TApplicationException()
3600
      x.read(self._iprot)
3601
      self._iprot.readMessageEnd()
3602
      raise x
3603
    result = getAllSourcePricing_result()
3604
    result.read(self._iprot)
3605
    self._iprot.readMessageEnd()
3606
    if result.success is not None:
3607
      return result.success
3608
    if result.cex is not None:
3609
      raise result.cex
3610
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSourcePricing failed: unknown result");
3611
 
3612
  def getItemForSource(self, item_id, sourceId):
3613
    """
3614
    Get the item for a given itemId and sourceId. MRP and sellingPrice will be updated for source if we have different prices for source.
3615
 
3616
    Parameters:
3617
     - item_id
3618
     - sourceId
3619
    """
3620
    self.send_getItemForSource(item_id, sourceId)
3621
    return self.recv_getItemForSource()
3622
 
3623
  def send_getItemForSource(self, item_id, sourceId):
3624
    self._oprot.writeMessageBegin('getItemForSource', TMessageType.CALL, self._seqid)
3625
    args = getItemForSource_args()
3626
    args.item_id = item_id
3627
    args.sourceId = sourceId
3628
    args.write(self._oprot)
3629
    self._oprot.writeMessageEnd()
3630
    self._oprot.trans.flush()
3631
 
3632
  def recv_getItemForSource(self, ):
3633
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3634
    if mtype == TMessageType.EXCEPTION:
3635
      x = TApplicationException()
3636
      x.read(self._iprot)
3637
      self._iprot.readMessageEnd()
3638
      raise x
3639
    result = getItemForSource_result()
3640
    result.read(self._iprot)
3641
    self._iprot.readMessageEnd()
3642
    if result.success is not None:
3643
      return result.success
3644
    if result.cex is not None:
3645
      raise result.cex
3646
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemForSource failed: unknown result");
3647
 
3648
  def searchItemsInRange(self, searchTerms, offset, limit):
3649
    """
3650
    Searches items matching the the given terms in the catalog and returns results within the specified range.
3651
 
3652
    Parameters:
3653
     - searchTerms
3654
     - offset
3655
     - limit
3656
    """
3657
    self.send_searchItemsInRange(searchTerms, offset, limit)
3658
    return self.recv_searchItemsInRange()
3659
 
3660
  def send_searchItemsInRange(self, searchTerms, offset, limit):
3661
    self._oprot.writeMessageBegin('searchItemsInRange', TMessageType.CALL, self._seqid)
3662
    args = searchItemsInRange_args()
3663
    args.searchTerms = searchTerms
3664
    args.offset = offset
3665
    args.limit = limit
3666
    args.write(self._oprot)
3667
    self._oprot.writeMessageEnd()
3668
    self._oprot.trans.flush()
3669
 
3670
  def recv_searchItemsInRange(self, ):
3671
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3672
    if mtype == TMessageType.EXCEPTION:
3673
      x = TApplicationException()
3674
      x.read(self._iprot)
3675
      self._iprot.readMessageEnd()
3676
      raise x
3677
    result = searchItemsInRange_result()
3678
    result.read(self._iprot)
3679
    self._iprot.readMessageEnd()
3680
    if result.success is not None:
3681
      return result.success
3682
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchItemsInRange failed: unknown result");
3683
 
3684
  def getSearchResultCount(self, searchTerms):
3685
    """
3686
    Gets the count of search results for the given search terms so that the user can go through all the pages.
3687
 
3688
    Parameters:
3689
     - searchTerms
3690
    """
3691
    self.send_getSearchResultCount(searchTerms)
3692
    return self.recv_getSearchResultCount()
3693
 
3694
  def send_getSearchResultCount(self, searchTerms):
3695
    self._oprot.writeMessageBegin('getSearchResultCount', TMessageType.CALL, self._seqid)
3696
    args = getSearchResultCount_args()
3697
    args.searchTerms = searchTerms
3698
    args.write(self._oprot)
3699
    self._oprot.writeMessageEnd()
3700
    self._oprot.trans.flush()
3701
 
3702
  def recv_getSearchResultCount(self, ):
3703
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3704
    if mtype == TMessageType.EXCEPTION:
3705
      x = TApplicationException()
3706
      x.read(self._iprot)
3707
      self._iprot.readMessageEnd()
3708
      raise x
3709
    result = getSearchResultCount_result()
3710
    result.read(self._iprot)
3711
    self._iprot.readMessageEnd()
3712
    if result.success is not None:
3713
      return result.success
3714
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSearchResultCount failed: unknown result");
3715
 
3716
  def getProductNotifications(self, startDateTime):
3717
    """
3718
    Returns a list of product notifications added after a supplied datetime
3719
 
3720
    Parameters:
3721
     - startDateTime
3722
    """
3723
    self.send_getProductNotifications(startDateTime)
3724
    return self.recv_getProductNotifications()
3725
 
3726
  def send_getProductNotifications(self, startDateTime):
3727
    self._oprot.writeMessageBegin('getProductNotifications', TMessageType.CALL, self._seqid)
3728
    args = getProductNotifications_args()
3729
    args.startDateTime = startDateTime
3730
    args.write(self._oprot)
3731
    self._oprot.writeMessageEnd()
3732
    self._oprot.trans.flush()
3733
 
3734
  def recv_getProductNotifications(self, ):
3735
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3736
    if mtype == TMessageType.EXCEPTION:
3737
      x = TApplicationException()
3738
      x.read(self._iprot)
3739
      self._iprot.readMessageEnd()
3740
      raise x
3741
    result = getProductNotifications_result()
3742
    result.read(self._iprot)
3743
    self._iprot.readMessageEnd()
3744
    if result.success is not None:
3745
      return result.success
3746
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotifications failed: unknown result");
3747
 
7897 amar.kumar 3748
  def getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3749
    """
3750
    Returns a list of count of requests for product notification against each item
3751
 
3752
    Parameters:
3753
     - startDateTime
7897 amar.kumar 3754
     - categoryId
5944 mandeep.dh 3755
    """
7897 amar.kumar 3756
    self.send_getProductNotificationRequestCount(startDateTime, categoryId)
5944 mandeep.dh 3757
    return self.recv_getProductNotificationRequestCount()
3758
 
7897 amar.kumar 3759
  def send_getProductNotificationRequestCount(self, startDateTime, categoryId):
5944 mandeep.dh 3760
    self._oprot.writeMessageBegin('getProductNotificationRequestCount', TMessageType.CALL, self._seqid)
3761
    args = getProductNotificationRequestCount_args()
3762
    args.startDateTime = startDateTime
7897 amar.kumar 3763
    args.categoryId = categoryId
5944 mandeep.dh 3764
    args.write(self._oprot)
3765
    self._oprot.writeMessageEnd()
3766
    self._oprot.trans.flush()
3767
 
3768
  def recv_getProductNotificationRequestCount(self, ):
3769
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3770
    if mtype == TMessageType.EXCEPTION:
3771
      x = TApplicationException()
3772
      x.read(self._iprot)
3773
      self._iprot.readMessageEnd()
3774
      raise x
3775
    result = getProductNotificationRequestCount_result()
3776
    result.read(self._iprot)
3777
    self._iprot.readMessageEnd()
3778
    if result.success is not None:
3779
      return result.success
3780
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductNotificationRequestCount failed: unknown result");
3781
 
3782
  def addAuthorizationLog(self, itemId, username, reason):
3783
    """
3784
    This method adds a log to authorize table with Item Id, username who authorized the change, reason.
3785
 
3786
    Parameters:
3787
     - itemId
3788
     - username
3789
     - reason
3790
    """
3791
    self.send_addAuthorizationLog(itemId, username, reason)
3792
    return self.recv_addAuthorizationLog()
3793
 
3794
  def send_addAuthorizationLog(self, itemId, username, reason):
3795
    self._oprot.writeMessageBegin('addAuthorizationLog', TMessageType.CALL, self._seqid)
3796
    args = addAuthorizationLog_args()
3797
    args.itemId = itemId
3798
    args.username = username
3799
    args.reason = reason
3800
    args.write(self._oprot)
3801
    self._oprot.writeMessageEnd()
3802
    self._oprot.trans.flush()
3803
 
3804
  def recv_addAuthorizationLog(self, ):
3805
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3806
    if mtype == TMessageType.EXCEPTION:
3807
      x = TApplicationException()
3808
      x.read(self._iprot)
3809
      self._iprot.readMessageEnd()
3810
      raise x
3811
    result = addAuthorizationLog_result()
3812
    result.read(self._iprot)
3813
    self._iprot.readMessageEnd()
3814
    if result.success is not None:
3815
      return result.success
3816
    if result.cex is not None:
3817
      raise result.cex
3818
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAuthorizationLog failed: unknown result");
3819
 
3820
  def addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3821
    """
3822
    Parameters:
3823
     - catalog_item_id
3824
     - voucherType
3825
     - voucherAmount
3826
    """
3827
    self.send_addupdateVoucherForItem(catalog_item_id, voucherType, voucherAmount)
3828
    return self.recv_addupdateVoucherForItem()
3829
 
3830
  def send_addupdateVoucherForItem(self, catalog_item_id, voucherType, voucherAmount):
3831
    self._oprot.writeMessageBegin('addupdateVoucherForItem', TMessageType.CALL, self._seqid)
3832
    args = addupdateVoucherForItem_args()
3833
    args.catalog_item_id = catalog_item_id
3834
    args.voucherType = voucherType
3835
    args.voucherAmount = voucherAmount
3836
    args.write(self._oprot)
3837
    self._oprot.writeMessageEnd()
3838
    self._oprot.trans.flush()
3839
 
3840
  def recv_addupdateVoucherForItem(self, ):
3841
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3842
    if mtype == TMessageType.EXCEPTION:
3843
      x = TApplicationException()
3844
      x.read(self._iprot)
3845
      self._iprot.readMessageEnd()
3846
      raise x
3847
    result = addupdateVoucherForItem_result()
3848
    result.read(self._iprot)
3849
    self._iprot.readMessageEnd()
3850
    if result.success is not None:
3851
      return result.success
3852
    if result.cex is not None:
3853
      raise result.cex
3854
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addupdateVoucherForItem failed: unknown result");
3855
 
3856
  def deleteVoucherForItem(self, catalog_item_id, voucherType):
3857
    """
3858
    Parameters:
3859
     - catalog_item_id
3860
     - voucherType
3861
    """
3862
    self.send_deleteVoucherForItem(catalog_item_id, voucherType)
3863
    return self.recv_deleteVoucherForItem()
3864
 
3865
  def send_deleteVoucherForItem(self, catalog_item_id, voucherType):
3866
    self._oprot.writeMessageBegin('deleteVoucherForItem', TMessageType.CALL, self._seqid)
3867
    args = deleteVoucherForItem_args()
3868
    args.catalog_item_id = catalog_item_id
3869
    args.voucherType = voucherType
3870
    args.write(self._oprot)
3871
    self._oprot.writeMessageEnd()
3872
    self._oprot.trans.flush()
3873
 
3874
  def recv_deleteVoucherForItem(self, ):
3875
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3876
    if mtype == TMessageType.EXCEPTION:
3877
      x = TApplicationException()
3878
      x.read(self._iprot)
3879
      self._iprot.readMessageEnd()
3880
      raise x
3881
    result = deleteVoucherForItem_result()
3882
    result.read(self._iprot)
3883
    self._iprot.readMessageEnd()
3884
    if result.success is not None:
3885
      return result.success
3886
    if result.cex is not None:
3887
      raise result.cex
3888
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteVoucherForItem failed: unknown result");
3889
 
3890
  def getVoucherAmount(self, itemId, voucherType):
3891
    """
3892
    Parameters:
3893
     - itemId
3894
     - voucherType
3895
    """
3896
    self.send_getVoucherAmount(itemId, voucherType)
3897
    return self.recv_getVoucherAmount()
3898
 
3899
  def send_getVoucherAmount(self, itemId, voucherType):
3900
    self._oprot.writeMessageBegin('getVoucherAmount', TMessageType.CALL, self._seqid)
3901
    args = getVoucherAmount_args()
3902
    args.itemId = itemId
3903
    args.voucherType = voucherType
3904
    args.write(self._oprot)
3905
    self._oprot.writeMessageEnd()
3906
    self._oprot.trans.flush()
3907
 
3908
  def recv_getVoucherAmount(self, ):
3909
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3910
    if mtype == TMessageType.EXCEPTION:
3911
      x = TApplicationException()
3912
      x.read(self._iprot)
3913
      self._iprot.readMessageEnd()
3914
      raise x
3915
    result = getVoucherAmount_result()
3916
    result.read(self._iprot)
3917
    self._iprot.readMessageEnd()
3918
    if result.success is not None:
3919
      return result.success
3920
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVoucherAmount failed: unknown result");
3921
 
3922
  def getAllItemVouchers(self, itemId):
3923
    """
3924
    Parameters:
3925
     - itemId
3926
    """
3927
    self.send_getAllItemVouchers(itemId)
3928
    return self.recv_getAllItemVouchers()
3929
 
3930
  def send_getAllItemVouchers(self, itemId):
3931
    self._oprot.writeMessageBegin('getAllItemVouchers', TMessageType.CALL, self._seqid)
3932
    args = getAllItemVouchers_args()
3933
    args.itemId = itemId
3934
    args.write(self._oprot)
3935
    self._oprot.writeMessageEnd()
3936
    self._oprot.trans.flush()
3937
 
3938
  def recv_getAllItemVouchers(self, ):
3939
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3940
    if mtype == TMessageType.EXCEPTION:
3941
      x = TApplicationException()
3942
      x.read(self._iprot)
3943
      self._iprot.readMessageEnd()
3944
      raise x
3945
    result = getAllItemVouchers_result()
3946
    result.read(self._iprot)
3947
    self._iprot.readMessageEnd()
3948
    if result.success is not None:
3949
      return result.success
3950
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemVouchers failed: unknown result");
3951
 
3952
  def isValidCatalogItemId(self, catalog_item_id):
3953
    """
3954
    Parameters:
3955
     - catalog_item_id
3956
    """
3957
    self.send_isValidCatalogItemId(catalog_item_id)
3958
    return self.recv_isValidCatalogItemId()
3959
 
3960
  def send_isValidCatalogItemId(self, catalog_item_id):
3961
    self._oprot.writeMessageBegin('isValidCatalogItemId', TMessageType.CALL, self._seqid)
3962
    args = isValidCatalogItemId_args()
3963
    args.catalog_item_id = catalog_item_id
3964
    args.write(self._oprot)
3965
    self._oprot.writeMessageEnd()
3966
    self._oprot.trans.flush()
3967
 
3968
  def recv_isValidCatalogItemId(self, ):
3969
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
3970
    if mtype == TMessageType.EXCEPTION:
3971
      x = TApplicationException()
3972
      x.read(self._iprot)
3973
      self._iprot.readMessageEnd()
3974
      raise x
3975
    result = isValidCatalogItemId_result()
3976
    result.read(self._iprot)
3977
    self._iprot.readMessageEnd()
3978
    if result.success is not None:
3979
      return result.success
3980
    raise TApplicationException(TApplicationException.MISSING_RESULT, "isValidCatalogItemId failed: unknown result");
3981
 
7330 amit.gupta 3982
  def getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 3983
    """
3984
    Parameters:
3985
     - itemId
7330 amit.gupta 3986
     - stateId
6039 amit.gupta 3987
     - price
3988
    """
7330 amit.gupta 3989
    self.send_getVatPercentageForItem(itemId, stateId, price)
6039 amit.gupta 3990
    return self.recv_getVatPercentageForItem()
5944 mandeep.dh 3991
 
7330 amit.gupta 3992
  def send_getVatPercentageForItem(self, itemId, stateId, price):
6039 amit.gupta 3993
    self._oprot.writeMessageBegin('getVatPercentageForItem', TMessageType.CALL, self._seqid)
3994
    args = getVatPercentageForItem_args()
3995
    args.itemId = itemId
7330 amit.gupta 3996
    args.stateId = stateId
6039 amit.gupta 3997
    args.price = price
3998
    args.write(self._oprot)
3999
    self._oprot.writeMessageEnd()
4000
    self._oprot.trans.flush()
4001
 
4002
  def recv_getVatPercentageForItem(self, ):
4003
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4004
    if mtype == TMessageType.EXCEPTION:
4005
      x = TApplicationException()
4006
      x.read(self._iprot)
4007
      self._iprot.readMessageEnd()
4008
      raise x
4009
    result = getVatPercentageForItem_result()
4010
    result.read(self._iprot)
4011
    self._iprot.readMessageEnd()
4012
    if result.success is not None:
4013
      return result.success
7340 amit.gupta 4014
    if result.cex is not None:
4015
      raise result.cex
6039 amit.gupta 4016
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatPercentageForItem failed: unknown result");
4017
 
4018
  def getVatAmountForItem(self, itemId, price):
4019
    """
4020
    Parameters:
4021
     - itemId
4022
     - price
4023
    """
4024
    self.send_getVatAmountForItem(itemId, price)
4025
    return self.recv_getVatAmountForItem()
4026
 
4027
  def send_getVatAmountForItem(self, itemId, price):
4028
    self._oprot.writeMessageBegin('getVatAmountForItem', TMessageType.CALL, self._seqid)
4029
    args = getVatAmountForItem_args()
4030
    args.itemId = itemId
4031
    args.price = price
4032
    args.write(self._oprot)
4033
    self._oprot.writeMessageEnd()
4034
    self._oprot.trans.flush()
4035
 
4036
  def recv_getVatAmountForItem(self, ):
4037
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4038
    if mtype == TMessageType.EXCEPTION:
4039
      x = TApplicationException()
4040
      x.read(self._iprot)
4041
      self._iprot.readMessageEnd()
4042
      raise x
4043
    result = getVatAmountForItem_result()
4044
    result.read(self._iprot)
4045
    self._iprot.readMessageEnd()
4046
    if result.success is not None:
4047
      return result.success
4048
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getVatAmountForItem failed: unknown result");
4049
 
6531 vikram.rag 4050
  def getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4051
    """
4052
    Parameters:
4053
     - offset
4054
     - limit
4055
    """
4056
    self.send_getAllIgnoredInventoryUpdateItemsList(offset, limit)
4057
    return self.recv_getAllIgnoredInventoryUpdateItemsList()
6039 amit.gupta 4058
 
6531 vikram.rag 4059
  def send_getAllIgnoredInventoryUpdateItemsList(self, offset, limit):
4060
    self._oprot.writeMessageBegin('getAllIgnoredInventoryUpdateItemsList', TMessageType.CALL, self._seqid)
4061
    args = getAllIgnoredInventoryUpdateItemsList_args()
4062
    args.offset = offset
4063
    args.limit = limit
4064
    args.write(self._oprot)
4065
    self._oprot.writeMessageEnd()
4066
    self._oprot.trans.flush()
4067
 
4068
  def recv_getAllIgnoredInventoryUpdateItemsList(self, ):
4069
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4070
    if mtype == TMessageType.EXCEPTION:
4071
      x = TApplicationException()
4072
      x.read(self._iprot)
4073
      self._iprot.readMessageEnd()
4074
      raise x
4075
    result = getAllIgnoredInventoryUpdateItemsList_result()
4076
    result.read(self._iprot)
4077
    self._iprot.readMessageEnd()
4078
    if result.success is not None:
4079
      return result.success
4080
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllIgnoredInventoryUpdateItemsList failed: unknown result");
4081
 
6821 amar.kumar 4082
  def getAllAliveItems(self, ):
4083
    self.send_getAllAliveItems()
4084
    return self.recv_getAllAliveItems()
4085
 
4086
  def send_getAllAliveItems(self, ):
4087
    self._oprot.writeMessageBegin('getAllAliveItems', TMessageType.CALL, self._seqid)
4088
    args = getAllAliveItems_args()
4089
    args.write(self._oprot)
4090
    self._oprot.writeMessageEnd()
4091
    self._oprot.trans.flush()
4092
 
4093
  def recv_getAllAliveItems(self, ):
4094
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4095
    if mtype == TMessageType.EXCEPTION:
4096
      x = TApplicationException()
4097
      x.read(self._iprot)
4098
      self._iprot.readMessageEnd()
4099
      raise x
4100
    result = getAllAliveItems_result()
4101
    result.read(self._iprot)
4102
    self._iprot.readMessageEnd()
4103
    if result.success is not None:
4104
      return result.success
4105
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAliveItems failed: unknown result");
4106
 
6921 anupam.sin 4107
  def getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4108
    """
4109
    This method returns the insurance amount needed to insure the given item for a given quantity.
6531 vikram.rag 4110
 
6805 anupam.sin 4111
    Parameters:
4112
     - itemId
6921 anupam.sin 4113
     - price
6805 anupam.sin 4114
     - insurerId
4115
     - quantity
4116
    """
6921 anupam.sin 4117
    self.send_getInsuranceAmount(itemId, price, insurerId, quantity)
6805 anupam.sin 4118
    return self.recv_getInsuranceAmount()
4119
 
6921 anupam.sin 4120
  def send_getInsuranceAmount(self, itemId, price, insurerId, quantity):
6805 anupam.sin 4121
    self._oprot.writeMessageBegin('getInsuranceAmount', TMessageType.CALL, self._seqid)
4122
    args = getInsuranceAmount_args()
4123
    args.itemId = itemId
6921 anupam.sin 4124
    args.price = price
6805 anupam.sin 4125
    args.insurerId = insurerId
4126
    args.quantity = quantity
4127
    args.write(self._oprot)
4128
    self._oprot.writeMessageEnd()
4129
    self._oprot.trans.flush()
4130
 
4131
  def recv_getInsuranceAmount(self, ):
4132
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4133
    if mtype == TMessageType.EXCEPTION:
4134
      x = TApplicationException()
4135
      x.read(self._iprot)
4136
      self._iprot.readMessageEnd()
4137
      raise x
4138
    result = getInsuranceAmount_result()
4139
    result.read(self._iprot)
4140
    self._iprot.readMessageEnd()
4141
    if result.success is not None:
4142
      return result.success
4143
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsuranceAmount failed: unknown result");
4144
 
4145
  def getInsurer(self, insurerId):
4146
    """
4147
    Parameters:
4148
     - insurerId
4149
    """
4150
    self.send_getInsurer(insurerId)
4151
    return self.recv_getInsurer()
4152
 
4153
  def send_getInsurer(self, insurerId):
4154
    self._oprot.writeMessageBegin('getInsurer', TMessageType.CALL, self._seqid)
4155
    args = getInsurer_args()
4156
    args.insurerId = insurerId
4157
    args.write(self._oprot)
4158
    self._oprot.writeMessageEnd()
4159
    self._oprot.trans.flush()
4160
 
4161
  def recv_getInsurer(self, ):
4162
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4163
    if mtype == TMessageType.EXCEPTION:
4164
      x = TApplicationException()
4165
      x.read(self._iprot)
4166
      self._iprot.readMessageEnd()
4167
      raise x
4168
    result = getInsurer_result()
4169
    result.read(self._iprot)
4170
    self._iprot.readMessageEnd()
4171
    if result.success is not None:
4172
      return result.success
4173
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getInsurer failed: unknown result");
4174
 
6838 vikram.rag 4175
  def getAllInsurers(self, ):
4176
    self.send_getAllInsurers()
4177
    return self.recv_getAllInsurers()
6805 anupam.sin 4178
 
6838 vikram.rag 4179
  def send_getAllInsurers(self, ):
4180
    self._oprot.writeMessageBegin('getAllInsurers', TMessageType.CALL, self._seqid)
4181
    args = getAllInsurers_args()
4182
    args.write(self._oprot)
4183
    self._oprot.writeMessageEnd()
4184
    self._oprot.trans.flush()
4185
 
4186
  def recv_getAllInsurers(self, ):
4187
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4188
    if mtype == TMessageType.EXCEPTION:
4189
      x = TApplicationException()
4190
      x.read(self._iprot)
4191
      self._iprot.readMessageEnd()
4192
      raise x
4193
    result = getAllInsurers_result()
4194
    result.read(self._iprot)
4195
    self._iprot.readMessageEnd()
4196
    if result.success is not None:
4197
      return result.success
4198
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllInsurers failed: unknown result");
4199
 
6962 rajveer 4200
  def updateInsuranceDeclaredAmount(self, insurerId, amount):
4201
    """
4202
    Parameters:
4203
     - insurerId
4204
     - amount
4205
    """
4206
    self.send_updateInsuranceDeclaredAmount(insurerId, amount)
4207
    self.recv_updateInsuranceDeclaredAmount()
6838 vikram.rag 4208
 
6962 rajveer 4209
  def send_updateInsuranceDeclaredAmount(self, insurerId, amount):
4210
    self._oprot.writeMessageBegin('updateInsuranceDeclaredAmount', TMessageType.CALL, self._seqid)
4211
    args = updateInsuranceDeclaredAmount_args()
4212
    args.insurerId = insurerId
4213
    args.amount = amount
4214
    args.write(self._oprot)
4215
    self._oprot.writeMessageEnd()
4216
    self._oprot.trans.flush()
4217
 
4218
  def recv_updateInsuranceDeclaredAmount(self, ):
4219
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4220
    if mtype == TMessageType.EXCEPTION:
4221
      x = TApplicationException()
4222
      x.read(self._iprot)
4223
      self._iprot.readMessageEnd()
4224
      raise x
4225
    result = updateInsuranceDeclaredAmount_result()
4226
    result.read(self._iprot)
4227
    self._iprot.readMessageEnd()
4228
    return
4229
 
7190 amar.kumar 4230
  def getFreebieForItem(self, itemId):
4231
    """
4232
    Parameters:
4233
     - itemId
4234
    """
4235
    self.send_getFreebieForItem(itemId)
4236
    return self.recv_getFreebieForItem()
6962 rajveer 4237
 
7190 amar.kumar 4238
  def send_getFreebieForItem(self, itemId):
4239
    self._oprot.writeMessageBegin('getFreebieForItem', TMessageType.CALL, self._seqid)
4240
    args = getFreebieForItem_args()
4241
    args.itemId = itemId
4242
    args.write(self._oprot)
4243
    self._oprot.writeMessageEnd()
4244
    self._oprot.trans.flush()
4245
 
4246
  def recv_getFreebieForItem(self, ):
4247
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4248
    if mtype == TMessageType.EXCEPTION:
4249
      x = TApplicationException()
4250
      x.read(self._iprot)
4251
      self._iprot.readMessageEnd()
4252
      raise x
4253
    result = getFreebieForItem_result()
4254
    result.read(self._iprot)
4255
    self._iprot.readMessageEnd()
4256
    if result.success is not None:
4257
      return result.success
4258
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFreebieForItem failed: unknown result");
4259
 
4260
  def addOrUpdateFreebieForItem(self, freebieItem):
4261
    """
4262
    Parameters:
4263
     - freebieItem
4264
    """
4265
    self.send_addOrUpdateFreebieForItem(freebieItem)
4266
    self.recv_addOrUpdateFreebieForItem()
4267
 
4268
  def send_addOrUpdateFreebieForItem(self, freebieItem):
4269
    self._oprot.writeMessageBegin('addOrUpdateFreebieForItem', TMessageType.CALL, self._seqid)
4270
    args = addOrUpdateFreebieForItem_args()
4271
    args.freebieItem = freebieItem
4272
    args.write(self._oprot)
4273
    self._oprot.writeMessageEnd()
4274
    self._oprot.trans.flush()
4275
 
4276
  def recv_addOrUpdateFreebieForItem(self, ):
4277
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4278
    if mtype == TMessageType.EXCEPTION:
4279
      x = TApplicationException()
4280
      x.read(self._iprot)
4281
      self._iprot.readMessageEnd()
4282
      raise x
4283
    result = addOrUpdateFreebieForItem_result()
4284
    result.read(self._iprot)
4285
    self._iprot.readMessageEnd()
4286
    return
4287
 
7272 amit.gupta 4288
  def addOrUpdateBrandInfo(self, brandInfo):
4289
    """
4290
    Parameters:
4291
     - brandInfo
4292
    """
4293
    self.send_addOrUpdateBrandInfo(brandInfo)
4294
    self.recv_addOrUpdateBrandInfo()
4295
 
4296
  def send_addOrUpdateBrandInfo(self, brandInfo):
4297
    self._oprot.writeMessageBegin('addOrUpdateBrandInfo', TMessageType.CALL, self._seqid)
4298
    args = addOrUpdateBrandInfo_args()
4299
    args.brandInfo = brandInfo
4300
    args.write(self._oprot)
4301
    self._oprot.writeMessageEnd()
4302
    self._oprot.trans.flush()
4303
 
4304
  def recv_addOrUpdateBrandInfo(self, ):
4305
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4306
    if mtype == TMessageType.EXCEPTION:
4307
      x = TApplicationException()
4308
      x.read(self._iprot)
4309
      self._iprot.readMessageEnd()
4310
      raise x
4311
    result = addOrUpdateBrandInfo_result()
4312
    result.read(self._iprot)
4313
    self._iprot.readMessageEnd()
4314
    return
4315
 
4316
  def getBrandInfo(self, ):
4317
    self.send_getBrandInfo()
4318
    return self.recv_getBrandInfo()
4319
 
4320
  def send_getBrandInfo(self, ):
4321
    self._oprot.writeMessageBegin('getBrandInfo', TMessageType.CALL, self._seqid)
4322
    args = getBrandInfo_args()
4323
    args.write(self._oprot)
4324
    self._oprot.writeMessageEnd()
4325
    self._oprot.trans.flush()
4326
 
4327
  def recv_getBrandInfo(self, ):
4328
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4329
    if mtype == TMessageType.EXCEPTION:
4330
      x = TApplicationException()
4331
      x.read(self._iprot)
4332
      self._iprot.readMessageEnd()
4333
      raise x
4334
    result = getBrandInfo_result()
4335
    result.read(self._iprot)
4336
    self._iprot.readMessageEnd()
4337
    if result.success is not None:
4338
      return result.success
4339
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getBrandInfo failed: unknown result");
4340
 
7256 rajveer 4341
  def getStorePricing(self, itemId):
4342
    """
4343
    Parameters:
4344
     - itemId
4345
    """
4346
    self.send_getStorePricing(itemId)
4347
    return self.recv_getStorePricing()
7190 amar.kumar 4348
 
7256 rajveer 4349
  def send_getStorePricing(self, itemId):
4350
    self._oprot.writeMessageBegin('getStorePricing', TMessageType.CALL, self._seqid)
4351
    args = getStorePricing_args()
4352
    args.itemId = itemId
4353
    args.write(self._oprot)
4354
    self._oprot.writeMessageEnd()
4355
    self._oprot.trans.flush()
4356
 
4357
  def recv_getStorePricing(self, ):
4358
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4359
    if mtype == TMessageType.EXCEPTION:
4360
      x = TApplicationException()
4361
      x.read(self._iprot)
4362
      self._iprot.readMessageEnd()
4363
      raise x
4364
    result = getStorePricing_result()
4365
    result.read(self._iprot)
4366
    self._iprot.readMessageEnd()
4367
    if result.success is not None:
4368
      return result.success
4369
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricing failed: unknown result");
4370
 
7306 rajveer 4371
  def getStorePricings(self, itemIds):
4372
    """
4373
    Parameters:
4374
     - itemIds
4375
    """
4376
    self.send_getStorePricings(itemIds)
4377
    return self.recv_getStorePricings()
4378
 
4379
  def send_getStorePricings(self, itemIds):
4380
    self._oprot.writeMessageBegin('getStorePricings', TMessageType.CALL, self._seqid)
4381
    args = getStorePricings_args()
4382
    args.itemIds = itemIds
4383
    args.write(self._oprot)
4384
    self._oprot.writeMessageEnd()
4385
    self._oprot.trans.flush()
4386
 
4387
  def recv_getStorePricings(self, ):
4388
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4389
    if mtype == TMessageType.EXCEPTION:
4390
      x = TApplicationException()
4391
      x.read(self._iprot)
4392
      self._iprot.readMessageEnd()
4393
      raise x
4394
    result = getStorePricings_result()
4395
    result.read(self._iprot)
4396
    self._iprot.readMessageEnd()
4397
    if result.success is not None:
4398
      return result.success
4399
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getStorePricings failed: unknown result");
4400
 
7382 rajveer 4401
  def updateStorePricing(self, sp, allColors):
7265 rajveer 4402
    """
4403
    Parameters:
4404
     - sp
7382 rajveer 4405
     - allColors
7265 rajveer 4406
    """
7382 rajveer 4407
    self.send_updateStorePricing(sp, allColors)
7265 rajveer 4408
    self.recv_updateStorePricing()
7256 rajveer 4409
 
7382 rajveer 4410
  def send_updateStorePricing(self, sp, allColors):
7265 rajveer 4411
    self._oprot.writeMessageBegin('updateStorePricing', TMessageType.CALL, self._seqid)
4412
    args = updateStorePricing_args()
4413
    args.sp = sp
7382 rajveer 4414
    args.allColors = allColors
7265 rajveer 4415
    args.write(self._oprot)
4416
    self._oprot.writeMessageEnd()
4417
    self._oprot.trans.flush()
4418
 
4419
  def recv_updateStorePricing(self, ):
4420
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4421
    if mtype == TMessageType.EXCEPTION:
4422
      x = TApplicationException()
4423
      x.read(self._iprot)
4424
      self._iprot.readMessageEnd()
4425
      raise x
4426
    result = updateStorePricing_result()
4427
    result.read(self._iprot)
4428
    self._iprot.readMessageEnd()
4429
    return
4430
 
7281 kshitij.so 4431
  def getAllAmazonListedItems(self, ):
4432
    self.send_getAllAmazonListedItems()
4433
    return self.recv_getAllAmazonListedItems()
7265 rajveer 4434
 
7281 kshitij.so 4435
  def send_getAllAmazonListedItems(self, ):
4436
    self._oprot.writeMessageBegin('getAllAmazonListedItems', TMessageType.CALL, self._seqid)
4437
    args = getAllAmazonListedItems_args()
4438
    args.write(self._oprot)
4439
    self._oprot.writeMessageEnd()
4440
    self._oprot.trans.flush()
4441
 
4442
  def recv_getAllAmazonListedItems(self, ):
4443
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4444
    if mtype == TMessageType.EXCEPTION:
4445
      x = TApplicationException()
4446
      x.read(self._iprot)
4447
      self._iprot.readMessageEnd()
4448
      raise x
4449
    result = getAllAmazonListedItems_result()
4450
    result.read(self._iprot)
4451
    self._iprot.readMessageEnd()
4452
    if result.success is not None:
4453
      return result.success
4454
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllAmazonListedItems failed: unknown result");
4455
 
8619 kshitij.so 4456
  def searchAmazonItems(self, searchTerm, offset, limit):
4457
    """
4458
    Parameters:
4459
     - searchTerm
4460
     - offset
4461
     - limit
4462
    """
4463
    self.send_searchAmazonItems(searchTerm, offset, limit)
4464
    return self.recv_searchAmazonItems()
4465
 
4466
  def send_searchAmazonItems(self, searchTerm, offset, limit):
4467
    self._oprot.writeMessageBegin('searchAmazonItems', TMessageType.CALL, self._seqid)
4468
    args = searchAmazonItems_args()
4469
    args.searchTerm = searchTerm
4470
    args.offset = offset
4471
    args.limit = limit
4472
    args.write(self._oprot)
4473
    self._oprot.writeMessageEnd()
4474
    self._oprot.trans.flush()
4475
 
4476
  def recv_searchAmazonItems(self, ):
4477
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4478
    if mtype == TMessageType.EXCEPTION:
4479
      x = TApplicationException()
4480
      x.read(self._iprot)
4481
      self._iprot.readMessageEnd()
4482
      raise x
4483
    result = searchAmazonItems_result()
4484
    result.read(self._iprot)
4485
    self._iprot.readMessageEnd()
4486
    if result.success is not None:
4487
      return result.success
4488
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchAmazonItems failed: unknown result");
4489
 
4490
  def getAmazonSearchResultCount(self, searchTerm):
4491
    """
4492
    Parameters:
4493
     - searchTerm
4494
    """
4495
    self.send_getAmazonSearchResultCount(searchTerm)
4496
    return self.recv_getAmazonSearchResultCount()
4497
 
4498
  def send_getAmazonSearchResultCount(self, searchTerm):
4499
    self._oprot.writeMessageBegin('getAmazonSearchResultCount', TMessageType.CALL, self._seqid)
4500
    args = getAmazonSearchResultCount_args()
4501
    args.searchTerm = searchTerm
4502
    args.write(self._oprot)
4503
    self._oprot.writeMessageEnd()
4504
    self._oprot.trans.flush()
4505
 
4506
  def recv_getAmazonSearchResultCount(self, ):
4507
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4508
    if mtype == TMessageType.EXCEPTION:
4509
      x = TApplicationException()
4510
      x.read(self._iprot)
4511
      self._iprot.readMessageEnd()
4512
      raise x
4513
    result = getAmazonSearchResultCount_result()
4514
    result.read(self._iprot)
4515
    self._iprot.readMessageEnd()
4516
    if result.success is not None:
4517
      return result.success
4518
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonSearchResultCount failed: unknown result");
4519
 
4520
  def getCountForAmazonlistedItems(self, ):
4521
    self.send_getCountForAmazonlistedItems()
4522
    return self.recv_getCountForAmazonlistedItems()
4523
 
4524
  def send_getCountForAmazonlistedItems(self, ):
4525
    self._oprot.writeMessageBegin('getCountForAmazonlistedItems', TMessageType.CALL, self._seqid)
4526
    args = getCountForAmazonlistedItems_args()
4527
    args.write(self._oprot)
4528
    self._oprot.writeMessageEnd()
4529
    self._oprot.trans.flush()
4530
 
4531
  def recv_getCountForAmazonlistedItems(self, ):
4532
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4533
    if mtype == TMessageType.EXCEPTION:
4534
      x = TApplicationException()
4535
      x.read(self._iprot)
4536
      self._iprot.readMessageEnd()
4537
      raise x
4538
    result = getCountForAmazonlistedItems_result()
4539
    result.read(self._iprot)
4540
    self._iprot.readMessageEnd()
4541
    if result.success is not None:
4542
      return result.success
4543
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForAmazonlistedItems failed: unknown result");
4544
 
7281 kshitij.so 4545
  def getAmazonItemDetails(self, itemId):
4546
    """
4547
    Parameters:
4548
     - itemId
4549
    """
4550
    self.send_getAmazonItemDetails(itemId)
4551
    return self.recv_getAmazonItemDetails()
4552
 
4553
  def send_getAmazonItemDetails(self, itemId):
4554
    self._oprot.writeMessageBegin('getAmazonItemDetails', TMessageType.CALL, self._seqid)
4555
    args = getAmazonItemDetails_args()
4556
    args.itemId = itemId
4557
    args.write(self._oprot)
4558
    self._oprot.writeMessageEnd()
4559
    self._oprot.trans.flush()
4560
 
4561
  def recv_getAmazonItemDetails(self, ):
4562
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4563
    if mtype == TMessageType.EXCEPTION:
4564
      x = TApplicationException()
4565
      x.read(self._iprot)
4566
      self._iprot.readMessageEnd()
4567
      raise x
4568
    result = getAmazonItemDetails_result()
4569
    result.read(self._iprot)
4570
    self._iprot.readMessageEnd()
4571
    if result.success is not None:
4572
      return result.success
4573
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonItemDetails failed: unknown result");
4574
 
8168 kshitij.so 4575
  def updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4576
    """
4577
    Parameters:
8168 kshitij.so 4578
     - amazonlisted
7281 kshitij.so 4579
    """
8168 kshitij.so 4580
    self.send_updateAmazonItemDetails(amazonlisted)
7281 kshitij.so 4581
    self.recv_updateAmazonItemDetails()
4582
 
8168 kshitij.so 4583
  def send_updateAmazonItemDetails(self, amazonlisted):
7281 kshitij.so 4584
    self._oprot.writeMessageBegin('updateAmazonItemDetails', TMessageType.CALL, self._seqid)
4585
    args = updateAmazonItemDetails_args()
8168 kshitij.so 4586
    args.amazonlisted = amazonlisted
7281 kshitij.so 4587
    args.write(self._oprot)
4588
    self._oprot.writeMessageEnd()
4589
    self._oprot.trans.flush()
4590
 
4591
  def recv_updateAmazonItemDetails(self, ):
4592
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4593
    if mtype == TMessageType.EXCEPTION:
4594
      x = TApplicationException()
4595
      x.read(self._iprot)
4596
      self._iprot.readMessageEnd()
4597
      raise x
4598
    result = updateAmazonItemDetails_result()
4599
    result.read(self._iprot)
4600
    self._iprot.readMessageEnd()
4601
    return
4602
 
4603
  def addAmazonItem(self, amazonlisted):
4604
    """
4605
    Parameters:
4606
     - amazonlisted
4607
    """
4608
    self.send_addAmazonItem(amazonlisted)
4609
    self.recv_addAmazonItem()
4610
 
4611
  def send_addAmazonItem(self, amazonlisted):
4612
    self._oprot.writeMessageBegin('addAmazonItem', TMessageType.CALL, self._seqid)
4613
    args = addAmazonItem_args()
4614
    args.amazonlisted = amazonlisted
4615
    args.write(self._oprot)
4616
    self._oprot.writeMessageEnd()
4617
    self._oprot.trans.flush()
4618
 
4619
  def recv_addAmazonItem(self, ):
4620
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4621
    if mtype == TMessageType.EXCEPTION:
4622
      x = TApplicationException()
4623
      x.read(self._iprot)
4624
      self._iprot.readMessageEnd()
4625
      raise x
4626
    result = addAmazonItem_result()
4627
    result.read(self._iprot)
4628
    self._iprot.readMessageEnd()
4629
    return
4630
 
7291 vikram.rag 4631
  def getAsinItems(self, ):
4632
    self.send_getAsinItems()
4633
    return self.recv_getAsinItems()
7281 kshitij.so 4634
 
7291 vikram.rag 4635
  def send_getAsinItems(self, ):
4636
    self._oprot.writeMessageBegin('getAsinItems', TMessageType.CALL, self._seqid)
4637
    args = getAsinItems_args()
4638
    args.write(self._oprot)
4639
    self._oprot.writeMessageEnd()
4640
    self._oprot.trans.flush()
4641
 
4642
  def recv_getAsinItems(self, ):
4643
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4644
    if mtype == TMessageType.EXCEPTION:
4645
      x = TApplicationException()
4646
      x.read(self._iprot)
4647
      self._iprot.readMessageEnd()
4648
      raise x
4649
    result = getAsinItems_result()
4650
    result.read(self._iprot)
4651
    self._iprot.readMessageEnd()
4652
    if result.success is not None:
4653
      return result.success
4654
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAsinItems failed: unknown result");
4655
 
4656
  def getAllFbaListedItems(self, ):
4657
    self.send_getAllFbaListedItems()
4658
    return self.recv_getAllFbaListedItems()
4659
 
4660
  def send_getAllFbaListedItems(self, ):
4661
    self._oprot.writeMessageBegin('getAllFbaListedItems', TMessageType.CALL, self._seqid)
4662
    args = getAllFbaListedItems_args()
4663
    args.write(self._oprot)
4664
    self._oprot.writeMessageEnd()
4665
    self._oprot.trans.flush()
4666
 
4667
  def recv_getAllFbaListedItems(self, ):
4668
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4669
    if mtype == TMessageType.EXCEPTION:
4670
      x = TApplicationException()
4671
      x.read(self._iprot)
4672
      self._iprot.readMessageEnd()
4673
      raise x
4674
    result = getAllFbaListedItems_result()
4675
    result.read(self._iprot)
4676
    self._iprot.readMessageEnd()
4677
    if result.success is not None:
4678
      return result.success
4679
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbaListedItems failed: unknown result");
4680
 
4681
  def getAllNonFbaListedItems(self, ):
4682
    self.send_getAllNonFbaListedItems()
4683
    return self.recv_getAllNonFbaListedItems()
4684
 
4685
  def send_getAllNonFbaListedItems(self, ):
4686
    self._oprot.writeMessageBegin('getAllNonFbaListedItems', TMessageType.CALL, self._seqid)
4687
    args = getAllNonFbaListedItems_args()
4688
    args.write(self._oprot)
4689
    self._oprot.writeMessageEnd()
4690
    self._oprot.trans.flush()
4691
 
4692
  def recv_getAllNonFbaListedItems(self, ):
4693
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4694
    if mtype == TMessageType.EXCEPTION:
4695
      x = TApplicationException()
4696
      x.read(self._iprot)
4697
      self._iprot.readMessageEnd()
4698
      raise x
4699
    result = getAllNonFbaListedItems_result()
4700
    result.read(self._iprot)
4701
    self._iprot.readMessageEnd()
4702
    if result.success is not None:
4703
      return result.success
4704
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllNonFbaListedItems failed: unknown result");
4705
 
7460 kshitij.so 4706
  def updateItemInventory(self, itemId, holdInventory, defaultInventory):
4707
    """
4708
    Parameters:
4709
     - itemId
4710
     - holdInventory
4711
     - defaultInventory
4712
    """
4713
    self.send_updateItemInventory(itemId, holdInventory, defaultInventory)
4714
    return self.recv_updateItemInventory()
7291 vikram.rag 4715
 
7460 kshitij.so 4716
  def send_updateItemInventory(self, itemId, holdInventory, defaultInventory):
4717
    self._oprot.writeMessageBegin('updateItemInventory', TMessageType.CALL, self._seqid)
4718
    args = updateItemInventory_args()
4719
    args.itemId = itemId
4720
    args.holdInventory = holdInventory
4721
    args.defaultInventory = defaultInventory
4722
    args.write(self._oprot)
4723
    self._oprot.writeMessageEnd()
4724
    self._oprot.trans.flush()
4725
 
4726
  def recv_updateItemInventory(self, ):
4727
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4728
    if mtype == TMessageType.EXCEPTION:
4729
      x = TApplicationException()
4730
      x.read(self._iprot)
4731
      self._iprot.readMessageEnd()
4732
      raise x
4733
    result = updateItemInventory_result()
4734
    result.read(self._iprot)
4735
    self._iprot.readMessageEnd()
4736
    if result.success is not None:
4737
      return result.success
4738
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemInventory failed: unknown result");
4739
 
7770 kshitij.so 4740
  def updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4741
    """
4742
    Parameters:
4743
     - type
4744
     - sku
4745
     - timestamp
4746
    """
4747
    self.send_updateTimestampForAmazonFeeds(type, sku, timestamp)
4748
    return self.recv_updateTimestampForAmazonFeeds()
7460 kshitij.so 4749
 
7770 kshitij.so 4750
  def send_updateTimestampForAmazonFeeds(self, type, sku, timestamp):
4751
    self._oprot.writeMessageBegin('updateTimestampForAmazonFeeds', TMessageType.CALL, self._seqid)
4752
    args = updateTimestampForAmazonFeeds_args()
4753
    args.type = type
4754
    args.sku = sku
4755
    args.timestamp = timestamp
4756
    args.write(self._oprot)
4757
    self._oprot.writeMessageEnd()
4758
    self._oprot.trans.flush()
4759
 
4760
  def recv_updateTimestampForAmazonFeeds(self, ):
4761
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4762
    if mtype == TMessageType.EXCEPTION:
4763
      x = TApplicationException()
4764
      x.read(self._iprot)
4765
      self._iprot.readMessageEnd()
4766
      raise x
4767
    result = updateTimestampForAmazonFeeds_result()
4768
    result.read(self._iprot)
4769
    self._iprot.readMessageEnd()
4770
    if result.success is not None:
4771
      return result.success
4772
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateTimestampForAmazonFeeds failed: unknown result");
4773
 
7897 amar.kumar 4774
  def getAllParentCategories(self, ):
4775
    self.send_getAllParentCategories()
4776
    return self.recv_getAllParentCategories()
7770 kshitij.so 4777
 
7897 amar.kumar 4778
  def send_getAllParentCategories(self, ):
4779
    self._oprot.writeMessageBegin('getAllParentCategories', TMessageType.CALL, self._seqid)
4780
    args = getAllParentCategories_args()
4781
    args.write(self._oprot)
4782
    self._oprot.writeMessageEnd()
4783
    self._oprot.trans.flush()
4784
 
4785
  def recv_getAllParentCategories(self, ):
4786
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4787
    if mtype == TMessageType.EXCEPTION:
4788
      x = TApplicationException()
4789
      x.read(self._iprot)
4790
      self._iprot.readMessageEnd()
4791
      raise x
4792
    result = getAllParentCategories_result()
4793
    result.read(self._iprot)
4794
    self._iprot.readMessageEnd()
4795
    if result.success is not None:
4796
      return result.success
4797
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllParentCategories failed: unknown result");
4798
 
7977 kshitij.so 4799
  def addPageViewEvent(self, pageViewEvents):
4800
    """
4801
    Parameters:
4802
     - pageViewEvents
4803
    """
4804
    self.send_addPageViewEvent(pageViewEvents)
4805
    self.recv_addPageViewEvent()
7897 amar.kumar 4806
 
7977 kshitij.so 4807
  def send_addPageViewEvent(self, pageViewEvents):
4808
    self._oprot.writeMessageBegin('addPageViewEvent', TMessageType.CALL, self._seqid)
4809
    args = addPageViewEvent_args()
4810
    args.pageViewEvents = pageViewEvents
4811
    args.write(self._oprot)
4812
    self._oprot.writeMessageEnd()
4813
    self._oprot.trans.flush()
4814
 
4815
  def recv_addPageViewEvent(self, ):
4816
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4817
    if mtype == TMessageType.EXCEPTION:
4818
      x = TApplicationException()
4819
      x.read(self._iprot)
4820
      self._iprot.readMessageEnd()
4821
      raise x
4822
    result = addPageViewEvent_result()
4823
    result.read(self._iprot)
4824
    self._iprot.readMessageEnd()
4825
    return
4826
 
4827
  def addCartEvent(self, cartEvents):
4828
    """
4829
    Parameters:
4830
     - cartEvents
4831
    """
4832
    self.send_addCartEvent(cartEvents)
4833
    self.recv_addCartEvent()
4834
 
4835
  def send_addCartEvent(self, cartEvents):
4836
    self._oprot.writeMessageBegin('addCartEvent', TMessageType.CALL, self._seqid)
4837
    args = addCartEvent_args()
4838
    args.cartEvents = cartEvents
4839
    args.write(self._oprot)
4840
    self._oprot.writeMessageEnd()
4841
    self._oprot.trans.flush()
4842
 
4843
  def recv_addCartEvent(self, ):
4844
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4845
    if mtype == TMessageType.EXCEPTION:
4846
      x = TApplicationException()
4847
      x.read(self._iprot)
4848
      self._iprot.readMessageEnd()
4849
      raise x
4850
    result = addCartEvent_result()
4851
    result.read(self._iprot)
4852
    self._iprot.readMessageEnd()
4853
    return
4854
 
8182 amar.kumar 4855
  def addEbayItem(self, ebayItem):
4856
    """
4857
    Parameters:
4858
     - ebayItem
4859
    """
4860
    self.send_addEbayItem(ebayItem)
4861
    self.recv_addEbayItem()
4862
 
4863
  def send_addEbayItem(self, ebayItem):
4864
    self._oprot.writeMessageBegin('addEbayItem', TMessageType.CALL, self._seqid)
4865
    args = addEbayItem_args()
4866
    args.ebayItem = ebayItem
4867
    args.write(self._oprot)
4868
    self._oprot.writeMessageEnd()
4869
    self._oprot.trans.flush()
4870
 
4871
  def recv_addEbayItem(self, ):
4872
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4873
    if mtype == TMessageType.EXCEPTION:
4874
      x = TApplicationException()
4875
      x.read(self._iprot)
4876
      self._iprot.readMessageEnd()
4877
      raise x
4878
    result = addEbayItem_result()
4879
    result.read(self._iprot)
4880
    self._iprot.readMessageEnd()
4881
    return
4882
 
4883
  def getEbayItem(self, listingId):
4884
    """
4885
    Parameters:
4886
     - listingId
4887
    """
4888
    self.send_getEbayItem(listingId)
4889
    return self.recv_getEbayItem()
4890
 
4891
  def send_getEbayItem(self, listingId):
4892
    self._oprot.writeMessageBegin('getEbayItem', TMessageType.CALL, self._seqid)
4893
    args = getEbayItem_args()
4894
    args.listingId = listingId
4895
    args.write(self._oprot)
4896
    self._oprot.writeMessageEnd()
4897
    self._oprot.trans.flush()
4898
 
4899
  def recv_getEbayItem(self, ):
4900
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4901
    if mtype == TMessageType.EXCEPTION:
4902
      x = TApplicationException()
4903
      x.read(self._iprot)
4904
      self._iprot.readMessageEnd()
4905
      raise x
4906
    result = getEbayItem_result()
4907
    result.read(self._iprot)
4908
    self._iprot.readMessageEnd()
4909
    if result.success is not None:
4910
      return result.success
4911
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getEbayItem failed: unknown result");
4912
 
4913
  def updateEbayItem(self, ebayItem):
4914
    """
4915
    Parameters:
4916
     - ebayItem
4917
    """
4918
    self.send_updateEbayItem(ebayItem)
4919
    self.recv_updateEbayItem()
4920
 
4921
  def send_updateEbayItem(self, ebayItem):
4922
    self._oprot.writeMessageBegin('updateEbayItem', TMessageType.CALL, self._seqid)
4923
    args = updateEbayItem_args()
4924
    args.ebayItem = ebayItem
4925
    args.write(self._oprot)
4926
    self._oprot.writeMessageEnd()
4927
    self._oprot.trans.flush()
4928
 
4929
  def recv_updateEbayItem(self, ):
4930
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4931
    if mtype == TMessageType.EXCEPTION:
4932
      x = TApplicationException()
4933
      x.read(self._iprot)
4934
      self._iprot.readMessageEnd()
4935
      raise x
4936
    result = updateEbayItem_result()
4937
    result.read(self._iprot)
4938
    self._iprot.readMessageEnd()
4939
    return
4940
 
8139 kshitij.so 4941
  def getAmazonListedItems(self, offset, limit):
4942
    """
4943
    Parameters:
4944
     - offset
4945
     - limit
4946
    """
4947
    self.send_getAmazonListedItems(offset, limit)
4948
    return self.recv_getAmazonListedItems()
7977 kshitij.so 4949
 
8139 kshitij.so 4950
  def send_getAmazonListedItems(self, offset, limit):
4951
    self._oprot.writeMessageBegin('getAmazonListedItems', TMessageType.CALL, self._seqid)
4952
    args = getAmazonListedItems_args()
4953
    args.offset = offset
4954
    args.limit = limit
4955
    args.write(self._oprot)
4956
    self._oprot.writeMessageEnd()
4957
    self._oprot.trans.flush()
4958
 
4959
  def recv_getAmazonListedItems(self, ):
4960
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4961
    if mtype == TMessageType.EXCEPTION:
4962
      x = TApplicationException()
4963
      x.read(self._iprot)
4964
      self._iprot.readMessageEnd()
4965
      raise x
4966
    result = getAmazonListedItems_result()
4967
    result.read(self._iprot)
4968
    self._iprot.readMessageEnd()
4969
    if result.success is not None:
4970
      return result.success
4971
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonListedItems failed: unknown result");
4972
 
8168 kshitij.so 4973
  def updateAmazonAttributesInBulk(self, amazonlisted):
4974
    """
4975
    Parameters:
4976
     - amazonlisted
4977
    """
4978
    self.send_updateAmazonAttributesInBulk(amazonlisted)
4979
    return self.recv_updateAmazonAttributesInBulk()
8139 kshitij.so 4980
 
8168 kshitij.so 4981
  def send_updateAmazonAttributesInBulk(self, amazonlisted):
4982
    self._oprot.writeMessageBegin('updateAmazonAttributesInBulk', TMessageType.CALL, self._seqid)
4983
    args = updateAmazonAttributesInBulk_args()
4984
    args.amazonlisted = amazonlisted
4985
    args.write(self._oprot)
4986
    self._oprot.writeMessageEnd()
4987
    self._oprot.trans.flush()
4988
 
4989
  def recv_updateAmazonAttributesInBulk(self, ):
4990
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
4991
    if mtype == TMessageType.EXCEPTION:
4992
      x = TApplicationException()
4993
      x.read(self._iprot)
4994
      self._iprot.readMessageEnd()
4995
      raise x
4996
    result = updateAmazonAttributesInBulk_result()
4997
    result.read(self._iprot)
4998
    self._iprot.readMessageEnd()
4999
    if result.success is not None:
5000
      return result.success
5001
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonAttributesInBulk failed: unknown result");
5002
 
8379 vikram.rag 5003
  def getAllItemstoListOnFba(self, ):
5004
    self.send_getAllItemstoListOnFba()
5005
    return self.recv_getAllItemstoListOnFba()
8168 kshitij.so 5006
 
8379 vikram.rag 5007
  def send_getAllItemstoListOnFba(self, ):
5008
    self._oprot.writeMessageBegin('getAllItemstoListOnFba', TMessageType.CALL, self._seqid)
5009
    args = getAllItemstoListOnFba_args()
5010
    args.write(self._oprot)
5011
    self._oprot.writeMessageEnd()
5012
    self._oprot.trans.flush()
5013
 
5014
  def recv_getAllItemstoListOnFba(self, ):
5015
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5016
    if mtype == TMessageType.EXCEPTION:
5017
      x = TApplicationException()
5018
      x.read(self._iprot)
5019
      self._iprot.readMessageEnd()
5020
      raise x
5021
    result = getAllItemstoListOnFba_result()
5022
    result.read(self._iprot)
5023
    self._iprot.readMessageEnd()
5024
    if result.success is not None:
5025
      return result.success
5026
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFba failed: unknown result");
5027
 
5028
  def getAllItemstoListOnNonFba(self, ):
5029
    self.send_getAllItemstoListOnNonFba()
5030
    return self.recv_getAllItemstoListOnNonFba()
5031
 
5032
  def send_getAllItemstoListOnNonFba(self, ):
5033
    self._oprot.writeMessageBegin('getAllItemstoListOnNonFba', TMessageType.CALL, self._seqid)
5034
    args = getAllItemstoListOnNonFba_args()
5035
    args.write(self._oprot)
5036
    self._oprot.writeMessageEnd()
5037
    self._oprot.trans.flush()
5038
 
5039
  def recv_getAllItemstoListOnNonFba(self, ):
5040
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5041
    if mtype == TMessageType.EXCEPTION:
5042
      x = TApplicationException()
5043
      x.read(self._iprot)
5044
      self._iprot.readMessageEnd()
5045
      raise x
5046
    result = getAllItemstoListOnNonFba_result()
5047
    result.read(self._iprot)
5048
    self._iprot.readMessageEnd()
5049
    if result.success is not None:
5050
      return result.success
5051
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnNonFba failed: unknown result");
5052
 
8619 kshitij.so 5053
  def updateAsin(self, item):
5054
    """
5055
    Parameters:
5056
     - item
5057
    """
5058
    self.send_updateAsin(item)
5059
    self.recv_updateAsin()
8616 vikram.rag 5060
 
8619 kshitij.so 5061
  def send_updateAsin(self, item):
5062
    self._oprot.writeMessageBegin('updateAsin', TMessageType.CALL, self._seqid)
5063
    args = updateAsin_args()
5064
    args.item = item
5065
    args.write(self._oprot)
5066
    self._oprot.writeMessageEnd()
5067
    self._oprot.trans.flush()
5068
 
5069
  def recv_updateAsin(self, ):
5070
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5071
    if mtype == TMessageType.EXCEPTION:
5072
      x = TApplicationException()
5073
      x.read(self._iprot)
5074
      self._iprot.readMessageEnd()
5075
      raise x
5076
    result = updateAsin_result()
5077
    result.read(self._iprot)
5078
    self._iprot.readMessageEnd()
5079
    return
5080
 
8739 vikram.rag 5081
  def addOrUpdateSnapdealItem(self, snapdealitem):
5082
    """
5083
    Parameters:
5084
     - snapdealitem
5085
    """
5086
    self.send_addOrUpdateSnapdealItem(snapdealitem)
5087
    return self.recv_addOrUpdateSnapdealItem()
8619 kshitij.so 5088
 
8739 vikram.rag 5089
  def send_addOrUpdateSnapdealItem(self, snapdealitem):
5090
    self._oprot.writeMessageBegin('addOrUpdateSnapdealItem', TMessageType.CALL, self._seqid)
5091
    args = addOrUpdateSnapdealItem_args()
5092
    args.snapdealitem = snapdealitem
5093
    args.write(self._oprot)
5094
    self._oprot.writeMessageEnd()
5095
    self._oprot.trans.flush()
5096
 
5097
  def recv_addOrUpdateSnapdealItem(self, ):
5098
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5099
    if mtype == TMessageType.EXCEPTION:
5100
      x = TApplicationException()
5101
      x.read(self._iprot)
5102
      self._iprot.readMessageEnd()
5103
      raise x
5104
    result = addOrUpdateSnapdealItem_result()
5105
    result.read(self._iprot)
5106
    self._iprot.readMessageEnd()
5107
    if result.success is not None:
5108
      return result.success
5109
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateSnapdealItem failed: unknown result");
5110
 
5111
  def getSnapdealItem(self, item_id):
5112
    """
5113
    Parameters:
5114
     - item_id
5115
    """
5116
    self.send_getSnapdealItem(item_id)
5117
    return self.recv_getSnapdealItem()
5118
 
5119
  def send_getSnapdealItem(self, item_id):
5120
    self._oprot.writeMessageBegin('getSnapdealItem', TMessageType.CALL, self._seqid)
5121
    args = getSnapdealItem_args()
5122
    args.item_id = item_id
5123
    args.write(self._oprot)
5124
    self._oprot.writeMessageEnd()
5125
    self._oprot.trans.flush()
5126
 
5127
  def recv_getSnapdealItem(self, ):
5128
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5129
    if mtype == TMessageType.EXCEPTION:
5130
      x = TApplicationException()
5131
      x.read(self._iprot)
5132
      self._iprot.readMessageEnd()
5133
      raise x
5134
    result = getSnapdealItem_result()
5135
    result.read(self._iprot)
5136
    self._iprot.readMessageEnd()
5137
    if result.success is not None:
5138
      return result.success
5139
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItem failed: unknown result");
5140
 
9242 kshitij.so 5141
  def getSnapdealItemDetails(self, item_id):
5142
    """
5143
    Parameters:
5144
     - item_id
5145
    """
5146
    self.send_getSnapdealItemDetails(item_id)
5147
    return self.recv_getSnapdealItemDetails()
5148
 
5149
  def send_getSnapdealItemDetails(self, item_id):
5150
    self._oprot.writeMessageBegin('getSnapdealItemDetails', TMessageType.CALL, self._seqid)
5151
    args = getSnapdealItemDetails_args()
5152
    args.item_id = item_id
5153
    args.write(self._oprot)
5154
    self._oprot.writeMessageEnd()
5155
    self._oprot.trans.flush()
5156
 
5157
  def recv_getSnapdealItemDetails(self, ):
5158
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5159
    if mtype == TMessageType.EXCEPTION:
5160
      x = TApplicationException()
5161
      x.read(self._iprot)
5162
      self._iprot.readMessageEnd()
5163
      raise x
5164
    result = getSnapdealItemDetails_result()
5165
    result.read(self._iprot)
5166
    self._iprot.readMessageEnd()
5167
    if result.success is not None:
5168
      return result.success
5169
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItemDetails failed: unknown result");
5170
 
8739 vikram.rag 5171
  def getAllSnapdealItems(self, ):
5172
    self.send_getAllSnapdealItems()
5173
    return self.recv_getAllSnapdealItems()
5174
 
5175
  def send_getAllSnapdealItems(self, ):
5176
    self._oprot.writeMessageBegin('getAllSnapdealItems', TMessageType.CALL, self._seqid)
5177
    args = getAllSnapdealItems_args()
5178
    args.write(self._oprot)
5179
    self._oprot.writeMessageEnd()
5180
    self._oprot.trans.flush()
5181
 
5182
  def recv_getAllSnapdealItems(self, ):
5183
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5184
    if mtype == TMessageType.EXCEPTION:
5185
      x = TApplicationException()
5186
      x.read(self._iprot)
5187
      self._iprot.readMessageEnd()
5188
      raise x
5189
    result = getAllSnapdealItems_result()
5190
    result.read(self._iprot)
5191
    self._iprot.readMessageEnd()
5192
    if result.success is not None:
5193
      return result.success
5194
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealItems failed: unknown result");
5195
 
9242 kshitij.so 5196
  def getSnapdealItems(self, offset, limit):
5197
    """
5198
    Parameters:
5199
     - offset
5200
     - limit
5201
    """
5202
    self.send_getSnapdealItems(offset, limit)
5203
    return self.recv_getSnapdealItems()
8739 vikram.rag 5204
 
9242 kshitij.so 5205
  def send_getSnapdealItems(self, offset, limit):
5206
    self._oprot.writeMessageBegin('getSnapdealItems', TMessageType.CALL, self._seqid)
5207
    args = getSnapdealItems_args()
5208
    args.offset = offset
5209
    args.limit = limit
5210
    args.write(self._oprot)
5211
    self._oprot.writeMessageEnd()
5212
    self._oprot.trans.flush()
5213
 
5214
  def recv_getSnapdealItems(self, ):
5215
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5216
    if mtype == TMessageType.EXCEPTION:
5217
      x = TApplicationException()
5218
      x.read(self._iprot)
5219
      self._iprot.readMessageEnd()
5220
      raise x
5221
    result = getSnapdealItems_result()
5222
    result.read(self._iprot)
5223
    self._iprot.readMessageEnd()
5224
    if result.success is not None:
5225
      return result.success
5226
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItems failed: unknown result");
5227
 
5228
  def searchSnapdealItems(self, searchTerm, offset, limit):
5229
    """
5230
    Parameters:
5231
     - searchTerm
5232
     - offset
5233
     - limit
5234
    """
5235
    self.send_searchSnapdealItems(searchTerm, offset, limit)
5236
    return self.recv_searchSnapdealItems()
5237
 
5238
  def send_searchSnapdealItems(self, searchTerm, offset, limit):
5239
    self._oprot.writeMessageBegin('searchSnapdealItems', TMessageType.CALL, self._seqid)
5240
    args = searchSnapdealItems_args()
5241
    args.searchTerm = searchTerm
5242
    args.offset = offset
5243
    args.limit = limit
5244
    args.write(self._oprot)
5245
    self._oprot.writeMessageEnd()
5246
    self._oprot.trans.flush()
5247
 
5248
  def recv_searchSnapdealItems(self, ):
5249
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5250
    if mtype == TMessageType.EXCEPTION:
5251
      x = TApplicationException()
5252
      x.read(self._iprot)
5253
      self._iprot.readMessageEnd()
5254
      raise x
5255
    result = searchSnapdealItems_result()
5256
    result.read(self._iprot)
5257
    self._iprot.readMessageEnd()
5258
    if result.success is not None:
5259
      return result.success
5260
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchSnapdealItems failed: unknown result");
5261
 
5262
  def getCountForSnapdealItems(self, ):
5263
    self.send_getCountForSnapdealItems()
5264
    return self.recv_getCountForSnapdealItems()
5265
 
5266
  def send_getCountForSnapdealItems(self, ):
5267
    self._oprot.writeMessageBegin('getCountForSnapdealItems', TMessageType.CALL, self._seqid)
5268
    args = getCountForSnapdealItems_args()
5269
    args.write(self._oprot)
5270
    self._oprot.writeMessageEnd()
5271
    self._oprot.trans.flush()
5272
 
5273
  def recv_getCountForSnapdealItems(self, ):
5274
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5275
    if mtype == TMessageType.EXCEPTION:
5276
      x = TApplicationException()
5277
      x.read(self._iprot)
5278
      self._iprot.readMessageEnd()
5279
      raise x
5280
    result = getCountForSnapdealItems_result()
5281
    result.read(self._iprot)
5282
    self._iprot.readMessageEnd()
5283
    if result.success is not None:
5284
      return result.success
5285
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForSnapdealItems failed: unknown result");
5286
 
5287
  def getSnapdealSearchResultCount(self, searchTerm):
5288
    """
5289
    Parameters:
5290
     - searchTerm
5291
    """
5292
    self.send_getSnapdealSearchResultCount(searchTerm)
5293
    return self.recv_getSnapdealSearchResultCount()
5294
 
5295
  def send_getSnapdealSearchResultCount(self, searchTerm):
5296
    self._oprot.writeMessageBegin('getSnapdealSearchResultCount', TMessageType.CALL, self._seqid)
5297
    args = getSnapdealSearchResultCount_args()
5298
    args.searchTerm = searchTerm
5299
    args.write(self._oprot)
5300
    self._oprot.writeMessageEnd()
5301
    self._oprot.trans.flush()
5302
 
5303
  def recv_getSnapdealSearchResultCount(self, ):
5304
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5305
    if mtype == TMessageType.EXCEPTION:
5306
      x = TApplicationException()
5307
      x.read(self._iprot)
5308
      self._iprot.readMessageEnd()
5309
      raise x
5310
    result = getSnapdealSearchResultCount_result()
5311
    result.read(self._iprot)
5312
    self._iprot.readMessageEnd()
5313
    if result.success is not None:
5314
      return result.success
5315
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealSearchResultCount failed: unknown result");
5316
 
9299 kshitij.so 5317
  def getPrefferedInsurerForItem(self, itemId, insurerType):
5318
    """
5319
    Parameters:
5320
     - itemId
5321
     - insurerType
5322
    """
5323
    self.send_getPrefferedInsurerForItem(itemId, insurerType)
5324
    return self.recv_getPrefferedInsurerForItem()
9242 kshitij.so 5325
 
9299 kshitij.so 5326
  def send_getPrefferedInsurerForItem(self, itemId, insurerType):
5327
    self._oprot.writeMessageBegin('getPrefferedInsurerForItem', TMessageType.CALL, self._seqid)
5328
    args = getPrefferedInsurerForItem_args()
5329
    args.itemId = itemId
5330
    args.insurerType = insurerType
5331
    args.write(self._oprot)
5332
    self._oprot.writeMessageEnd()
5333
    self._oprot.trans.flush()
5334
 
5335
  def recv_getPrefferedInsurerForItem(self, ):
5336
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5337
    if mtype == TMessageType.EXCEPTION:
5338
      x = TApplicationException()
5339
      x.read(self._iprot)
5340
      self._iprot.readMessageEnd()
5341
      raise x
5342
    result = getPrefferedInsurerForItem_result()
5343
    result.read(self._iprot)
5344
    self._iprot.readMessageEnd()
5345
    if result.success is not None:
5346
      return result.success
5347
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrefferedInsurerForItem failed: unknown result");
5348
 
9456 vikram.rag 5349
  def getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5350
    """
5351
    Parameters:
5352
     - skuAtSnapdeal
5353
    """
5354
    self.send_getSnapdealItembySkuAtSnapdeal(skuAtSnapdeal)
5355
    return self.recv_getSnapdealItembySkuAtSnapdeal()
9299 kshitij.so 5356
 
9456 vikram.rag 5357
  def send_getSnapdealItembySkuAtSnapdeal(self, skuAtSnapdeal):
5358
    self._oprot.writeMessageBegin('getSnapdealItembySkuAtSnapdeal', TMessageType.CALL, self._seqid)
5359
    args = getSnapdealItembySkuAtSnapdeal_args()
5360
    args.skuAtSnapdeal = skuAtSnapdeal
5361
    args.write(self._oprot)
5362
    self._oprot.writeMessageEnd()
5363
    self._oprot.trans.flush()
5364
 
5365
  def recv_getSnapdealItembySkuAtSnapdeal(self, ):
5366
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5367
    if mtype == TMessageType.EXCEPTION:
5368
      x = TApplicationException()
5369
      x.read(self._iprot)
5370
      self._iprot.readMessageEnd()
5371
      raise x
5372
    result = getSnapdealItembySkuAtSnapdeal_result()
5373
    result.read(self._iprot)
5374
    self._iprot.readMessageEnd()
5375
    if result.success is not None:
5376
      return result.success
5377
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSnapdealItembySkuAtSnapdeal failed: unknown result");
5378
 
9621 manish.sha 5379
  def getProductFeedSubmit(self, catalogItemId):
5380
    """
5381
    Parameters:
5382
     - catalogItemId
5383
    """
5384
    self.send_getProductFeedSubmit(catalogItemId)
5385
    return self.recv_getProductFeedSubmit()
9456 vikram.rag 5386
 
9621 manish.sha 5387
  def send_getProductFeedSubmit(self, catalogItemId):
5388
    self._oprot.writeMessageBegin('getProductFeedSubmit', TMessageType.CALL, self._seqid)
5389
    args = getProductFeedSubmit_args()
5390
    args.catalogItemId = catalogItemId
5391
    args.write(self._oprot)
5392
    self._oprot.writeMessageEnd()
5393
    self._oprot.trans.flush()
5394
 
5395
  def recv_getProductFeedSubmit(self, ):
5396
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5397
    if mtype == TMessageType.EXCEPTION:
5398
      x = TApplicationException()
5399
      x.read(self._iprot)
5400
      self._iprot.readMessageEnd()
5401
      raise x
5402
    result = getProductFeedSubmit_result()
5403
    result.read(self._iprot)
5404
    self._iprot.readMessageEnd()
5405
    if result.success is not None:
5406
      return result.success
5407
    if result.cex is not None:
5408
      raise result.cex
5409
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getProductFeedSubmit failed: unknown result");
5410
 
5411
  def addProductFeedSubmit(self, productFeedSubmit):
5412
    """
5413
    Parameters:
5414
     - productFeedSubmit
5415
    """
5416
    self.send_addProductFeedSubmit(productFeedSubmit)
5417
    return self.recv_addProductFeedSubmit()
5418
 
5419
  def send_addProductFeedSubmit(self, productFeedSubmit):
5420
    self._oprot.writeMessageBegin('addProductFeedSubmit', TMessageType.CALL, self._seqid)
5421
    args = addProductFeedSubmit_args()
5422
    args.productFeedSubmit = productFeedSubmit
5423
    args.write(self._oprot)
5424
    self._oprot.writeMessageEnd()
5425
    self._oprot.trans.flush()
5426
 
5427
  def recv_addProductFeedSubmit(self, ):
5428
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5429
    if mtype == TMessageType.EXCEPTION:
5430
      x = TApplicationException()
5431
      x.read(self._iprot)
5432
      self._iprot.readMessageEnd()
5433
      raise x
5434
    result = addProductFeedSubmit_result()
5435
    result.read(self._iprot)
5436
    self._iprot.readMessageEnd()
5437
    if result.success is not None:
5438
      return result.success
5439
    if result.cex is not None:
5440
      raise result.cex
5441
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addProductFeedSubmit failed: unknown result");
5442
 
5443
  def updateProductFeedSubmit(self, productFeedSubmit):
5444
    """
5445
    Parameters:
5446
     - productFeedSubmit
5447
    """
5448
    self.send_updateProductFeedSubmit(productFeedSubmit)
5449
    return self.recv_updateProductFeedSubmit()
5450
 
5451
  def send_updateProductFeedSubmit(self, productFeedSubmit):
5452
    self._oprot.writeMessageBegin('updateProductFeedSubmit', TMessageType.CALL, self._seqid)
5453
    args = updateProductFeedSubmit_args()
5454
    args.productFeedSubmit = productFeedSubmit
5455
    args.write(self._oprot)
5456
    self._oprot.writeMessageEnd()
5457
    self._oprot.trans.flush()
5458
 
5459
  def recv_updateProductFeedSubmit(self, ):
5460
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5461
    if mtype == TMessageType.EXCEPTION:
5462
      x = TApplicationException()
5463
      x.read(self._iprot)
5464
      self._iprot.readMessageEnd()
5465
      raise x
5466
    result = updateProductFeedSubmit_result()
5467
    result.read(self._iprot)
5468
    self._iprot.readMessageEnd()
5469
    if result.success is not None:
5470
      return result.success
5471
    if result.cex is not None:
5472
      raise result.cex
5473
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateProductFeedSubmit failed: unknown result");
5474
 
5475
  def deleteProductFeedSubmit(self, catalogItemId):
5476
    """
5477
    Parameters:
5478
     - catalogItemId
5479
    """
5480
    self.send_deleteProductFeedSubmit(catalogItemId)
5481
    return self.recv_deleteProductFeedSubmit()
5482
 
5483
  def send_deleteProductFeedSubmit(self, catalogItemId):
5484
    self._oprot.writeMessageBegin('deleteProductFeedSubmit', TMessageType.CALL, self._seqid)
5485
    args = deleteProductFeedSubmit_args()
5486
    args.catalogItemId = catalogItemId
5487
    args.write(self._oprot)
5488
    self._oprot.writeMessageEnd()
5489
    self._oprot.trans.flush()
5490
 
5491
  def recv_deleteProductFeedSubmit(self, ):
5492
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5493
    if mtype == TMessageType.EXCEPTION:
5494
      x = TApplicationException()
5495
      x.read(self._iprot)
5496
      self._iprot.readMessageEnd()
5497
      raise x
5498
    result = deleteProductFeedSubmit_result()
5499
    result.read(self._iprot)
5500
    self._iprot.readMessageEnd()
5501
    if result.success is not None:
5502
      return result.success
5503
    if result.cex is not None:
5504
      raise result.cex
5505
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteProductFeedSubmit failed: unknown result");
5506
 
5507
  def getAllProductFeedSubmit(self, ):
5508
    self.send_getAllProductFeedSubmit()
5509
    return self.recv_getAllProductFeedSubmit()
5510
 
5511
  def send_getAllProductFeedSubmit(self, ):
5512
    self._oprot.writeMessageBegin('getAllProductFeedSubmit', TMessageType.CALL, self._seqid)
5513
    args = getAllProductFeedSubmit_args()
5514
    args.write(self._oprot)
5515
    self._oprot.writeMessageEnd()
5516
    self._oprot.trans.flush()
5517
 
5518
  def recv_getAllProductFeedSubmit(self, ):
5519
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5520
    if mtype == TMessageType.EXCEPTION:
5521
      x = TApplicationException()
5522
      x.read(self._iprot)
5523
      self._iprot.readMessageEnd()
5524
      raise x
5525
    result = getAllProductFeedSubmit_result()
5526
    result.read(self._iprot)
5527
    self._iprot.readMessageEnd()
5528
    if result.success is not None:
5529
      return result.success
5530
    if result.cex is not None:
5531
      raise result.cex
5532
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllProductFeedSubmit failed: unknown result");
5533
 
9724 kshitij.so 5534
  def getMarketplacedetailsForItem(self, itemId, sourceId):
5535
    """
5536
    Parameters:
5537
     - itemId
5538
     - sourceId
5539
    """
5540
    self.send_getMarketplacedetailsForItem(itemId, sourceId)
5541
    return self.recv_getMarketplacedetailsForItem()
9621 manish.sha 5542
 
9724 kshitij.so 5543
  def send_getMarketplacedetailsForItem(self, itemId, sourceId):
5544
    self._oprot.writeMessageBegin('getMarketplacedetailsForItem', TMessageType.CALL, self._seqid)
5545
    args = getMarketplacedetailsForItem_args()
5546
    args.itemId = itemId
5547
    args.sourceId = sourceId
5548
    args.write(self._oprot)
5549
    self._oprot.writeMessageEnd()
5550
    self._oprot.trans.flush()
5551
 
5552
  def recv_getMarketplacedetailsForItem(self, ):
5553
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5554
    if mtype == TMessageType.EXCEPTION:
5555
      x = TApplicationException()
5556
      x.read(self._iprot)
5557
      self._iprot.readMessageEnd()
5558
      raise x
5559
    result = getMarketplacedetailsForItem_result()
5560
    result.read(self._iprot)
5561
    self._iprot.readMessageEnd()
5562
    if result.success is not None:
5563
      return result.success
5564
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplacedetailsForItem failed: unknown result");
5565
 
5566
  def updateMarketplaceAttributesForItem(self, marketPlaceItem):
5567
    """
5568
    Parameters:
5569
     - marketPlaceItem
5570
    """
5571
    self.send_updateMarketplaceAttributesForItem(marketPlaceItem)
5572
    return self.recv_updateMarketplaceAttributesForItem()
5573
 
5574
  def send_updateMarketplaceAttributesForItem(self, marketPlaceItem):
5575
    self._oprot.writeMessageBegin('updateMarketplaceAttributesForItem', TMessageType.CALL, self._seqid)
5576
    args = updateMarketplaceAttributesForItem_args()
5577
    args.marketPlaceItem = marketPlaceItem
5578
    args.write(self._oprot)
5579
    self._oprot.writeMessageEnd()
5580
    self._oprot.trans.flush()
5581
 
5582
  def recv_updateMarketplaceAttributesForItem(self, ):
5583
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5584
    if mtype == TMessageType.EXCEPTION:
5585
      x = TApplicationException()
5586
      x.read(self._iprot)
5587
      self._iprot.readMessageEnd()
5588
      raise x
5589
    result = updateMarketplaceAttributesForItem_result()
5590
    result.read(self._iprot)
5591
    self._iprot.readMessageEnd()
5592
    if result.success is not None:
5593
      return result.success
5594
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateMarketplaceAttributesForItem failed: unknown result");
5595
 
9779 kshitij.so 5596
  def getCostingForMarketplace(self, source, item_id):
5597
    """
5598
    Parameters:
5599
     - source
5600
     - item_id
5601
    """
5602
    self.send_getCostingForMarketplace(source, item_id)
5603
    return self.recv_getCostingForMarketplace()
5604
 
5605
  def send_getCostingForMarketplace(self, source, item_id):
5606
    self._oprot.writeMessageBegin('getCostingForMarketplace', TMessageType.CALL, self._seqid)
5607
    args = getCostingForMarketplace_args()
5608
    args.source = source
5609
    args.item_id = item_id
5610
    args.write(self._oprot)
5611
    self._oprot.writeMessageEnd()
5612
    self._oprot.trans.flush()
5613
 
5614
  def recv_getCostingForMarketplace(self, ):
5615
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5616
    if mtype == TMessageType.EXCEPTION:
5617
      x = TApplicationException()
5618
      x.read(self._iprot)
5619
      self._iprot.readMessageEnd()
5620
      raise x
5621
    result = getCostingForMarketplace_result()
5622
    result.read(self._iprot)
5623
    self._iprot.readMessageEnd()
5624
    if result.success is not None:
5625
      return result.success
5626
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCostingForMarketplace failed: unknown result");
5627
 
9776 vikram.rag 5628
  def getMarketPlaceItemsForPriceUpdate(self, source):
5629
    """
5630
    Parameters:
5631
     - source
5632
    """
5633
    self.send_getMarketPlaceItemsForPriceUpdate(source)
5634
    return self.recv_getMarketPlaceItemsForPriceUpdate()
9724 kshitij.so 5635
 
9776 vikram.rag 5636
  def send_getMarketPlaceItemsForPriceUpdate(self, source):
5637
    self._oprot.writeMessageBegin('getMarketPlaceItemsForPriceUpdate', TMessageType.CALL, self._seqid)
5638
    args = getMarketPlaceItemsForPriceUpdate_args()
5639
    args.source = source
5640
    args.write(self._oprot)
5641
    self._oprot.writeMessageEnd()
5642
    self._oprot.trans.flush()
5643
 
5644
  def recv_getMarketPlaceItemsForPriceUpdate(self, ):
5645
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5646
    if mtype == TMessageType.EXCEPTION:
5647
      x = TApplicationException()
5648
      x.read(self._iprot)
5649
      self._iprot.readMessageEnd()
5650
      raise x
5651
    result = getMarketPlaceItemsForPriceUpdate_result()
5652
    result.read(self._iprot)
5653
    self._iprot.readMessageEnd()
5654
    if result.success is not None:
5655
      return result.success
5656
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketPlaceItemsForPriceUpdate failed: unknown result");
5657
 
9816 kshitij.so 5658
  def updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5659
    """
5660
    Parameters:
5661
     - skulist
5662
     - timestamp
9816 kshitij.so 5663
     - source
9776 vikram.rag 5664
    """
9816 kshitij.so 5665
    self.send_updateMarketPlacePriceUpdateStatus(skulist, timestamp, source)
9776 vikram.rag 5666
    self.recv_updateMarketPlacePriceUpdateStatus()
5667
 
9816 kshitij.so 5668
  def send_updateMarketPlacePriceUpdateStatus(self, skulist, timestamp, source):
9776 vikram.rag 5669
    self._oprot.writeMessageBegin('updateMarketPlacePriceUpdateStatus', TMessageType.CALL, self._seqid)
5670
    args = updateMarketPlacePriceUpdateStatus_args()
5671
    args.skulist = skulist
5672
    args.timestamp = timestamp
9816 kshitij.so 5673
    args.source = source
9776 vikram.rag 5674
    args.write(self._oprot)
5675
    self._oprot.writeMessageEnd()
5676
    self._oprot.trans.flush()
5677
 
5678
  def recv_updateMarketPlacePriceUpdateStatus(self, ):
5679
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5680
    if mtype == TMessageType.EXCEPTION:
5681
      x = TApplicationException()
5682
      x.read(self._iprot)
5683
      self._iprot.readMessageEnd()
5684
      raise x
5685
    result = updateMarketPlacePriceUpdateStatus_result()
5686
    result.read(self._iprot)
5687
    self._iprot.readMessageEnd()
5688
    return
5689
 
9861 rajveer 5690
  def updateItemHoldInventory(self, itemHoldMap):
5691
    """
5692
    Parameters:
5693
     - itemHoldMap
5694
    """
5695
    self.send_updateItemHoldInventory(itemHoldMap)
5696
    self.recv_updateItemHoldInventory()
9776 vikram.rag 5697
 
9861 rajveer 5698
  def send_updateItemHoldInventory(self, itemHoldMap):
5699
    self._oprot.writeMessageBegin('updateItemHoldInventory', TMessageType.CALL, self._seqid)
5700
    args = updateItemHoldInventory_args()
5701
    args.itemHoldMap = itemHoldMap
5702
    args.write(self._oprot)
5703
    self._oprot.writeMessageEnd()
5704
    self._oprot.trans.flush()
5705
 
5706
  def recv_updateItemHoldInventory(self, ):
5707
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5708
    if mtype == TMessageType.EXCEPTION:
5709
      x = TApplicationException()
5710
      x.read(self._iprot)
5711
      self._iprot.readMessageEnd()
5712
      raise x
5713
    result = updateItemHoldInventory_result()
5714
    result.read(self._iprot)
5715
    self._iprot.readMessageEnd()
5716
    return
5717
 
9895 vikram.rag 5718
  def updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5719
    """
5720
    Parameters:
5721
     - item_id
5722
     - vendor_id
5723
     - nlc
5724
    """
5725
    self.send_updateNlcAtMarketplaces(item_id, vendor_id, nlc)
5726
    self.recv_updateNlcAtMarketplaces()
9861 rajveer 5727
 
9895 vikram.rag 5728
  def send_updateNlcAtMarketplaces(self, item_id, vendor_id, nlc):
5729
    self._oprot.writeMessageBegin('updateNlcAtMarketplaces', TMessageType.CALL, self._seqid)
5730
    args = updateNlcAtMarketplaces_args()
5731
    args.item_id = item_id
5732
    args.vendor_id = vendor_id
5733
    args.nlc = nlc
5734
    args.write(self._oprot)
5735
    self._oprot.writeMessageEnd()
5736
    self._oprot.trans.flush()
5737
 
5738
  def recv_updateNlcAtMarketplaces(self, ):
5739
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5740
    if mtype == TMessageType.EXCEPTION:
5741
      x = TApplicationException()
5742
      x.read(self._iprot)
5743
      self._iprot.readMessageEnd()
5744
      raise x
5745
    result = updateNlcAtMarketplaces_result()
5746
    result.read(self._iprot)
5747
    self._iprot.readMessageEnd()
5748
    return
5749
 
9945 vikram.rag 5750
  def getAllFlipkartItems(self, ):
5751
    self.send_getAllFlipkartItems()
5752
    return self.recv_getAllFlipkartItems()
9895 vikram.rag 5753
 
9945 vikram.rag 5754
  def send_getAllFlipkartItems(self, ):
5755
    self._oprot.writeMessageBegin('getAllFlipkartItems', TMessageType.CALL, self._seqid)
5756
    args = getAllFlipkartItems_args()
5757
    args.write(self._oprot)
5758
    self._oprot.writeMessageEnd()
5759
    self._oprot.trans.flush()
5760
 
5761
  def recv_getAllFlipkartItems(self, ):
5762
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5763
    if mtype == TMessageType.EXCEPTION:
5764
      x = TApplicationException()
5765
      x.read(self._iprot)
5766
      self._iprot.readMessageEnd()
5767
      raise x
5768
    result = getAllFlipkartItems_result()
5769
    result.read(self._iprot)
5770
    self._iprot.readMessageEnd()
5771
    if result.success is not None:
5772
      return result.success
5773
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartItems failed: unknown result");
5774
 
10097 kshitij.so 5775
  def addOrUpdateFlipkartItem(self, flipkartitem):
5776
    """
5777
    Parameters:
5778
     - flipkartitem
5779
    """
5780
    self.send_addOrUpdateFlipkartItem(flipkartitem)
5781
    return self.recv_addOrUpdateFlipkartItem()
9945 vikram.rag 5782
 
10097 kshitij.so 5783
  def send_addOrUpdateFlipkartItem(self, flipkartitem):
5784
    self._oprot.writeMessageBegin('addOrUpdateFlipkartItem', TMessageType.CALL, self._seqid)
5785
    args = addOrUpdateFlipkartItem_args()
5786
    args.flipkartitem = flipkartitem
5787
    args.write(self._oprot)
5788
    self._oprot.writeMessageEnd()
5789
    self._oprot.trans.flush()
5790
 
5791
  def recv_addOrUpdateFlipkartItem(self, ):
5792
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5793
    if mtype == TMessageType.EXCEPTION:
5794
      x = TApplicationException()
5795
      x.read(self._iprot)
5796
      self._iprot.readMessageEnd()
5797
      raise x
5798
    result = addOrUpdateFlipkartItem_result()
5799
    result.read(self._iprot)
5800
    self._iprot.readMessageEnd()
5801
    if result.success is not None:
5802
      return result.success
5803
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdateFlipkartItem failed: unknown result");
5804
 
5805
  def getFlipkartItem(self, item_id):
5806
    """
5807
    Parameters:
5808
     - item_id
5809
    """
5810
    self.send_getFlipkartItem(item_id)
5811
    return self.recv_getFlipkartItem()
5812
 
5813
  def send_getFlipkartItem(self, item_id):
5814
    self._oprot.writeMessageBegin('getFlipkartItem', TMessageType.CALL, self._seqid)
5815
    args = getFlipkartItem_args()
5816
    args.item_id = item_id
5817
    args.write(self._oprot)
5818
    self._oprot.writeMessageEnd()
5819
    self._oprot.trans.flush()
5820
 
5821
  def recv_getFlipkartItem(self, ):
5822
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5823
    if mtype == TMessageType.EXCEPTION:
5824
      x = TApplicationException()
5825
      x.read(self._iprot)
5826
      self._iprot.readMessageEnd()
5827
      raise x
5828
    result = getFlipkartItem_result()
5829
    result.read(self._iprot)
5830
    self._iprot.readMessageEnd()
5831
    if result.success is not None:
5832
      return result.success
5833
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItem failed: unknown result");
5834
 
5835
  def getFlipkartItemDetails(self, item_id):
5836
    """
5837
    Parameters:
5838
     - item_id
5839
    """
5840
    self.send_getFlipkartItemDetails(item_id)
5841
    return self.recv_getFlipkartItemDetails()
5842
 
5843
  def send_getFlipkartItemDetails(self, item_id):
5844
    self._oprot.writeMessageBegin('getFlipkartItemDetails', TMessageType.CALL, self._seqid)
5845
    args = getFlipkartItemDetails_args()
5846
    args.item_id = item_id
5847
    args.write(self._oprot)
5848
    self._oprot.writeMessageEnd()
5849
    self._oprot.trans.flush()
5850
 
5851
  def recv_getFlipkartItemDetails(self, ):
5852
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5853
    if mtype == TMessageType.EXCEPTION:
5854
      x = TApplicationException()
5855
      x.read(self._iprot)
5856
      self._iprot.readMessageEnd()
5857
      raise x
5858
    result = getFlipkartItemDetails_result()
5859
    result.read(self._iprot)
5860
    self._iprot.readMessageEnd()
5861
    if result.success is not None:
5862
      return result.success
5863
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemDetails failed: unknown result");
5864
 
5865
  def getFlipkartItems(self, offset, limit):
5866
    """
5867
    Parameters:
5868
     - offset
5869
     - limit
5870
    """
5871
    self.send_getFlipkartItems(offset, limit)
5872
    return self.recv_getFlipkartItems()
5873
 
5874
  def send_getFlipkartItems(self, offset, limit):
5875
    self._oprot.writeMessageBegin('getFlipkartItems', TMessageType.CALL, self._seqid)
5876
    args = getFlipkartItems_args()
5877
    args.offset = offset
5878
    args.limit = limit
5879
    args.write(self._oprot)
5880
    self._oprot.writeMessageEnd()
5881
    self._oprot.trans.flush()
5882
 
5883
  def recv_getFlipkartItems(self, ):
5884
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5885
    if mtype == TMessageType.EXCEPTION:
5886
      x = TApplicationException()
5887
      x.read(self._iprot)
5888
      self._iprot.readMessageEnd()
5889
      raise x
5890
    result = getFlipkartItems_result()
5891
    result.read(self._iprot)
5892
    self._iprot.readMessageEnd()
5893
    if result.success is not None:
5894
      return result.success
5895
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItems failed: unknown result");
5896
 
5897
  def searchFlipkartItems(self, searchTerm, offset, limit):
5898
    """
5899
    Parameters:
5900
     - searchTerm
5901
     - offset
5902
     - limit
5903
    """
5904
    self.send_searchFlipkartItems(searchTerm, offset, limit)
5905
    return self.recv_searchFlipkartItems()
5906
 
5907
  def send_searchFlipkartItems(self, searchTerm, offset, limit):
5908
    self._oprot.writeMessageBegin('searchFlipkartItems', TMessageType.CALL, self._seqid)
5909
    args = searchFlipkartItems_args()
5910
    args.searchTerm = searchTerm
5911
    args.offset = offset
5912
    args.limit = limit
5913
    args.write(self._oprot)
5914
    self._oprot.writeMessageEnd()
5915
    self._oprot.trans.flush()
5916
 
5917
  def recv_searchFlipkartItems(self, ):
5918
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5919
    if mtype == TMessageType.EXCEPTION:
5920
      x = TApplicationException()
5921
      x.read(self._iprot)
5922
      self._iprot.readMessageEnd()
5923
      raise x
5924
    result = searchFlipkartItems_result()
5925
    result.read(self._iprot)
5926
    self._iprot.readMessageEnd()
5927
    if result.success is not None:
5928
      return result.success
5929
    raise TApplicationException(TApplicationException.MISSING_RESULT, "searchFlipkartItems failed: unknown result");
5930
 
5931
  def getCountForFlipkartItems(self, ):
5932
    self.send_getCountForFlipkartItems()
5933
    return self.recv_getCountForFlipkartItems()
5934
 
5935
  def send_getCountForFlipkartItems(self, ):
5936
    self._oprot.writeMessageBegin('getCountForFlipkartItems', TMessageType.CALL, self._seqid)
5937
    args = getCountForFlipkartItems_args()
5938
    args.write(self._oprot)
5939
    self._oprot.writeMessageEnd()
5940
    self._oprot.trans.flush()
5941
 
5942
  def recv_getCountForFlipkartItems(self, ):
5943
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5944
    if mtype == TMessageType.EXCEPTION:
5945
      x = TApplicationException()
5946
      x.read(self._iprot)
5947
      self._iprot.readMessageEnd()
5948
      raise x
5949
    result = getCountForFlipkartItems_result()
5950
    result.read(self._iprot)
5951
    self._iprot.readMessageEnd()
5952
    if result.success is not None:
5953
      return result.success
5954
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getCountForFlipkartItems failed: unknown result");
5955
 
5956
  def getFlipkartSearchResultCount(self, searchTerm):
5957
    """
5958
    Parameters:
5959
     - searchTerm
5960
    """
5961
    self.send_getFlipkartSearchResultCount(searchTerm)
5962
    return self.recv_getFlipkartSearchResultCount()
5963
 
5964
  def send_getFlipkartSearchResultCount(self, searchTerm):
5965
    self._oprot.writeMessageBegin('getFlipkartSearchResultCount', TMessageType.CALL, self._seqid)
5966
    args = getFlipkartSearchResultCount_args()
5967
    args.searchTerm = searchTerm
5968
    args.write(self._oprot)
5969
    self._oprot.writeMessageEnd()
5970
    self._oprot.trans.flush()
5971
 
5972
  def recv_getFlipkartSearchResultCount(self, ):
5973
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5974
    if mtype == TMessageType.EXCEPTION:
5975
      x = TApplicationException()
5976
      x.read(self._iprot)
5977
      self._iprot.readMessageEnd()
5978
      raise x
5979
    result = getFlipkartSearchResultCount_result()
5980
    result.read(self._iprot)
5981
    self._iprot.readMessageEnd()
5982
    if result.success is not None:
5983
      return result.success
5984
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartSearchResultCount failed: unknown result");
5985
 
5986
  def getAllFkItems(self, ):
5987
    self.send_getAllFkItems()
5988
    return self.recv_getAllFkItems()
5989
 
5990
  def send_getAllFkItems(self, ):
5991
    self._oprot.writeMessageBegin('getAllFkItems', TMessageType.CALL, self._seqid)
5992
    args = getAllFkItems_args()
5993
    args.write(self._oprot)
5994
    self._oprot.writeMessageEnd()
5995
    self._oprot.trans.flush()
5996
 
5997
  def recv_getAllFkItems(self, ):
5998
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
5999
    if mtype == TMessageType.EXCEPTION:
6000
      x = TApplicationException()
6001
      x.read(self._iprot)
6002
      self._iprot.readMessageEnd()
6003
      raise x
6004
    result = getAllFkItems_result()
6005
    result.read(self._iprot)
6006
    self._iprot.readMessageEnd()
6007
    if result.success is not None:
6008
      return result.success
6009
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFkItems failed: unknown result");
6010
 
10140 vikram.rag 6011
  def getFlipkartItemBySkyAtFlipkart(self, sku):
6012
    """
6013
    Parameters:
6014
     - sku
6015
    """
6016
    self.send_getFlipkartItemBySkyAtFlipkart(sku)
6017
    return self.recv_getFlipkartItemBySkyAtFlipkart()
10097 kshitij.so 6018
 
10140 vikram.rag 6019
  def send_getFlipkartItemBySkyAtFlipkart(self, sku):
6020
    self._oprot.writeMessageBegin('getFlipkartItemBySkyAtFlipkart', TMessageType.CALL, self._seqid)
6021
    args = getFlipkartItemBySkyAtFlipkart_args()
6022
    args.sku = sku
6023
    args.write(self._oprot)
6024
    self._oprot.writeMessageEnd()
6025
    self._oprot.trans.flush()
6026
 
6027
  def recv_getFlipkartItemBySkyAtFlipkart(self, ):
6028
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6029
    if mtype == TMessageType.EXCEPTION:
6030
      x = TApplicationException()
6031
      x.read(self._iprot)
6032
      self._iprot.readMessageEnd()
6033
      raise x
6034
    result = getFlipkartItemBySkyAtFlipkart_result()
6035
    result.read(self._iprot)
6036
    self._iprot.readMessageEnd()
6037
    if result.success is not None:
6038
      return result.success
6039
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFlipkartItemBySkyAtFlipkart failed: unknown result");
6040
 
11015 kshitij.so 6041
  def getMarketplaceHistory(self, source, offset, itemId):
6042
    """
6043
    Parameters:
6044
     - source
6045
     - offset
6046
     - itemId
6047
    """
6048
    self.send_getMarketplaceHistory(source, offset, itemId)
6049
    return self.recv_getMarketplaceHistory()
6050
 
6051
  def send_getMarketplaceHistory(self, source, offset, itemId):
6052
    self._oprot.writeMessageBegin('getMarketplaceHistory', TMessageType.CALL, self._seqid)
6053
    args = getMarketplaceHistory_args()
6054
    args.source = source
6055
    args.offset = offset
6056
    args.itemId = itemId
6057
    args.write(self._oprot)
6058
    self._oprot.writeMessageEnd()
6059
    self._oprot.trans.flush()
6060
 
6061
  def recv_getMarketplaceHistory(self, ):
6062
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6063
    if mtype == TMessageType.EXCEPTION:
6064
      x = TApplicationException()
6065
      x.read(self._iprot)
6066
      self._iprot.readMessageEnd()
6067
      raise x
6068
    result = getMarketplaceHistory_result()
6069
    result.read(self._iprot)
6070
    self._iprot.readMessageEnd()
6071
    if result.success is not None:
6072
      return result.success
6073
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistory failed: unknown result");
6074
 
10909 vikram.rag 6075
  def getAllFbbListedItems(self, ):
6076
    self.send_getAllFbbListedItems()
6077
    return self.recv_getAllFbbListedItems()
10140 vikram.rag 6078
 
10909 vikram.rag 6079
  def send_getAllFbbListedItems(self, ):
6080
    self._oprot.writeMessageBegin('getAllFbbListedItems', TMessageType.CALL, self._seqid)
6081
    args = getAllFbbListedItems_args()
6082
    args.write(self._oprot)
6083
    self._oprot.writeMessageEnd()
6084
    self._oprot.trans.flush()
6085
 
6086
  def recv_getAllFbbListedItems(self, ):
6087
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6088
    if mtype == TMessageType.EXCEPTION:
6089
      x = TApplicationException()
6090
      x.read(self._iprot)
6091
      self._iprot.readMessageEnd()
6092
      raise x
6093
    result = getAllFbbListedItems_result()
6094
    result.read(self._iprot)
6095
    self._iprot.readMessageEnd()
6096
    if result.success is not None:
6097
      return result.success
6098
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbListedItems failed: unknown result");
6099
 
10924 vikram.rag 6100
  def getAllFbbPricingItems(self, ):
6101
    self.send_getAllFbbPricingItems()
6102
    return self.recv_getAllFbbPricingItems()
10909 vikram.rag 6103
 
10924 vikram.rag 6104
  def send_getAllFbbPricingItems(self, ):
6105
    self._oprot.writeMessageBegin('getAllFbbPricingItems', TMessageType.CALL, self._seqid)
6106
    args = getAllFbbPricingItems_args()
6107
    args.write(self._oprot)
6108
    self._oprot.writeMessageEnd()
6109
    self._oprot.trans.flush()
6110
 
6111
  def recv_getAllFbbPricingItems(self, ):
6112
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6113
    if mtype == TMessageType.EXCEPTION:
6114
      x = TApplicationException()
6115
      x.read(self._iprot)
6116
      self._iprot.readMessageEnd()
6117
      raise x
6118
    result = getAllFbbPricingItems_result()
6119
    result.read(self._iprot)
6120
    self._iprot.readMessageEnd()
6121
    if result.success is not None:
6122
      return result.success
6123
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbbPricingItems failed: unknown result");
6124
 
11015 kshitij.so 6125
  def getCountForMarketplaceHistory(self, source, itemId):
6126
    """
6127
    Parameters:
6128
     - source
6129
     - itemId
6130
    """
6131
    self.send_getCountForMarketplaceHistory(source, itemId)
6132
    return self.recv_getCountForMarketplaceHistory()
10924 vikram.rag 6133
 
11015 kshitij.so 6134
  def send_getCountForMarketplaceHistory(self, source, itemId):
6135
    self._oprot.writeMessageBegin('getCountForMarketplaceHistory', TMessageType.CALL, self._seqid)
6136
    args = getCountForMarketplaceHistory_args()
6137
    args.source = source
6138
    args.itemId = itemId
6139
    args.write(self._oprot)
6140
    self._oprot.writeMessageEnd()
6141
    self._oprot.trans.flush()
6142
 
6143
  def recv_getCountForMarketplaceHistory(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 = getCountForMarketplaceHistory_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, "getCountForMarketplaceHistory failed: unknown result");
6156
 
6157
  def getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6158
    """
6159
    Parameters:
6160
     - source
6161
     - startDate
6162
     - endDate
6163
     - offset
6164
     - limit
6165
     - itemId
6166
    """
6167
    self.send_getMarketplaceHistoryByDate(source, startDate, endDate, offset, limit, itemId)
6168
    return self.recv_getMarketplaceHistoryByDate()
6169
 
6170
  def send_getMarketplaceHistoryByDate(self, source, startDate, endDate, offset, limit, itemId):
6171
    self._oprot.writeMessageBegin('getMarketplaceHistoryByDate', TMessageType.CALL, self._seqid)
6172
    args = getMarketplaceHistoryByDate_args()
6173
    args.source = source
6174
    args.startDate = startDate
6175
    args.endDate = endDate
6176
    args.offset = offset
6177
    args.limit = limit
6178
    args.itemId = itemId
6179
    args.write(self._oprot)
6180
    self._oprot.writeMessageEnd()
6181
    self._oprot.trans.flush()
6182
 
6183
  def recv_getMarketplaceHistoryByDate(self, ):
6184
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6185
    if mtype == TMessageType.EXCEPTION:
6186
      x = TApplicationException()
6187
      x.read(self._iprot)
6188
      self._iprot.readMessageEnd()
6189
      raise x
6190
    result = getMarketplaceHistoryByDate_result()
6191
    result.read(self._iprot)
6192
    self._iprot.readMessageEnd()
6193
    if result.success is not None:
6194
      return result.success
6195
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMarketplaceHistoryByDate failed: unknown result");
6196
 
11531 vikram.rag 6197
  def getPrivateDealDetails(self, item_id):
6198
    """
6199
    Parameters:
6200
     - item_id
6201
    """
6202
    self.send_getPrivateDealDetails(item_id)
6203
    return self.recv_getPrivateDealDetails()
11015 kshitij.so 6204
 
11531 vikram.rag 6205
  def send_getPrivateDealDetails(self, item_id):
6206
    self._oprot.writeMessageBegin('getPrivateDealDetails', TMessageType.CALL, self._seqid)
6207
    args = getPrivateDealDetails_args()
6208
    args.item_id = item_id
6209
    args.write(self._oprot)
6210
    self._oprot.writeMessageEnd()
6211
    self._oprot.trans.flush()
6212
 
6213
  def recv_getPrivateDealDetails(self, ):
6214
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6215
    if mtype == TMessageType.EXCEPTION:
6216
      x = TApplicationException()
6217
      x.read(self._iprot)
6218
      self._iprot.readMessageEnd()
6219
      raise x
6220
    result = getPrivateDealDetails_result()
6221
    result.read(self._iprot)
6222
    self._iprot.readMessageEnd()
6223
    if result.success is not None:
6224
      return result.success
6225
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealDetails failed: unknown result");
6226
 
6227
  def getPrivateDealItems(self, offset, limit):
6228
    """
6229
    Parameters:
6230
     - offset
6231
     - limit
6232
    """
6233
    self.send_getPrivateDealItems(offset, limit)
6234
    return self.recv_getPrivateDealItems()
6235
 
6236
  def send_getPrivateDealItems(self, offset, limit):
6237
    self._oprot.writeMessageBegin('getPrivateDealItems', TMessageType.CALL, self._seqid)
6238
    args = getPrivateDealItems_args()
6239
    args.offset = offset
6240
    args.limit = limit
6241
    args.write(self._oprot)
6242
    self._oprot.writeMessageEnd()
6243
    self._oprot.trans.flush()
6244
 
6245
  def recv_getPrivateDealItems(self, ):
6246
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6247
    if mtype == TMessageType.EXCEPTION:
6248
      x = TApplicationException()
6249
      x.read(self._iprot)
6250
      self._iprot.readMessageEnd()
6251
      raise x
6252
    result = getPrivateDealItems_result()
6253
    result.read(self._iprot)
6254
    self._iprot.readMessageEnd()
6255
    if result.success is not None:
6256
      return result.success
6257
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealItems failed: unknown result");
6258
 
11653 amit.gupta 6259
  def getAllActivePrivateDeals(self, itemIds, daysDelta):
6260
    """
6261
    Parameters:
6262
     - itemIds
6263
     - daysDelta
6264
    """
6265
    self.send_getAllActivePrivateDeals(itemIds, daysDelta)
11592 amit.gupta 6266
    return self.recv_getAllActivePrivateDeals()
6267
 
11653 amit.gupta 6268
  def send_getAllActivePrivateDeals(self, itemIds, daysDelta):
11592 amit.gupta 6269
    self._oprot.writeMessageBegin('getAllActivePrivateDeals', TMessageType.CALL, self._seqid)
6270
    args = getAllActivePrivateDeals_args()
11653 amit.gupta 6271
    args.itemIds = itemIds
6272
    args.daysDelta = daysDelta
11592 amit.gupta 6273
    args.write(self._oprot)
6274
    self._oprot.writeMessageEnd()
6275
    self._oprot.trans.flush()
6276
 
6277
  def recv_getAllActivePrivateDeals(self, ):
6278
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6279
    if mtype == TMessageType.EXCEPTION:
6280
      x = TApplicationException()
6281
      x.read(self._iprot)
6282
      self._iprot.readMessageEnd()
6283
      raise x
6284
    result = getAllActivePrivateDeals_result()
6285
    result.read(self._iprot)
6286
    self._iprot.readMessageEnd()
6287
    if result.success is not None:
6288
      return result.success
6289
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllActivePrivateDeals failed: unknown result");
6290
 
11531 vikram.rag 6291
  def addOrUpdatePrivateDeal(self, privateDeal):
6292
    """
6293
    Parameters:
6294
     - privateDeal
6295
    """
6296
    self.send_addOrUpdatePrivateDeal(privateDeal)
6297
    return self.recv_addOrUpdatePrivateDeal()
6298
 
6299
  def send_addOrUpdatePrivateDeal(self, privateDeal):
6300
    self._oprot.writeMessageBegin('addOrUpdatePrivateDeal', TMessageType.CALL, self._seqid)
6301
    args = addOrUpdatePrivateDeal_args()
6302
    args.privateDeal = privateDeal
6303
    args.write(self._oprot)
6304
    self._oprot.writeMessageEnd()
6305
    self._oprot.trans.flush()
6306
 
6307
  def recv_addOrUpdatePrivateDeal(self, ):
6308
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6309
    if mtype == TMessageType.EXCEPTION:
6310
      x = TApplicationException()
6311
      x.read(self._iprot)
6312
      self._iprot.readMessageEnd()
6313
      raise x
6314
    result = addOrUpdatePrivateDeal_result()
6315
    result.read(self._iprot)
6316
    self._iprot.readMessageEnd()
6317
    if result.success is not None:
6318
      return result.success
6319
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addOrUpdatePrivateDeal failed: unknown result");
6320
 
11635 vikram.rag 6321
  def getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6322
    """
6323
    Parameters:
6324
     - beginIndex
6325
     - totalItems
6326
    """
6327
    self.send_getPrivateDealsCatalogIds(beginIndex, totalItems)
6328
    return self.recv_getPrivateDealsCatalogIds()
11531 vikram.rag 6329
 
11635 vikram.rag 6330
  def send_getPrivateDealsCatalogIds(self, beginIndex, totalItems):
6331
    self._oprot.writeMessageBegin('getPrivateDealsCatalogIds', TMessageType.CALL, self._seqid)
6332
    args = getPrivateDealsCatalogIds_args()
6333
    args.beginIndex = beginIndex
6334
    args.totalItems = totalItems
6335
    args.write(self._oprot)
6336
    self._oprot.writeMessageEnd()
6337
    self._oprot.trans.flush()
6338
 
6339
  def recv_getPrivateDealsCatalogIds(self, ):
6340
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6341
    if mtype == TMessageType.EXCEPTION:
6342
      x = TApplicationException()
6343
      x.read(self._iprot)
6344
      self._iprot.readMessageEnd()
6345
      raise x
6346
    result = getPrivateDealsCatalogIds_result()
6347
    result.read(self._iprot)
6348
    self._iprot.readMessageEnd()
6349
    if result.success is not None:
6350
      return result.success
6351
    if result.cex is not None:
6352
      raise result.cex
6353
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCatalogIds failed: unknown result");
6354
 
11645 amit.gupta 6355
  def getPrivateDealsCount(self, ):
6356
    self.send_getPrivateDealsCount()
6357
    return self.recv_getPrivateDealsCount()
11635 vikram.rag 6358
 
11645 amit.gupta 6359
  def send_getPrivateDealsCount(self, ):
6360
    self._oprot.writeMessageBegin('getPrivateDealsCount', TMessageType.CALL, self._seqid)
6361
    args = getPrivateDealsCount_args()
6362
    args.write(self._oprot)
6363
    self._oprot.writeMessageEnd()
6364
    self._oprot.trans.flush()
6365
 
6366
  def recv_getPrivateDealsCount(self, ):
6367
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6368
    if mtype == TMessageType.EXCEPTION:
6369
      x = TApplicationException()
6370
      x.read(self._iprot)
6371
      self._iprot.readMessageEnd()
6372
      raise x
6373
    result = getPrivateDealsCount_result()
6374
    result.read(self._iprot)
6375
    self._iprot.readMessageEnd()
6376
    if result.success is not None:
6377
      return result.success
6378
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPrivateDealsCount failed: unknown result");
6379
 
11905 kshitij.so 6380
  def getAmazonOutSyncItems(self, item_id):
6381
    """
6382
    Parameters:
6383
     - item_id
6384
    """
6385
    self.send_getAmazonOutSyncItems(item_id)
6386
    return self.recv_getAmazonOutSyncItems()
11645 amit.gupta 6387
 
11905 kshitij.so 6388
  def send_getAmazonOutSyncItems(self, item_id):
6389
    self._oprot.writeMessageBegin('getAmazonOutSyncItems', TMessageType.CALL, self._seqid)
6390
    args = getAmazonOutSyncItems_args()
6391
    args.item_id = item_id
6392
    args.write(self._oprot)
6393
    self._oprot.writeMessageEnd()
6394
    self._oprot.trans.flush()
6395
 
6396
  def recv_getAmazonOutSyncItems(self, ):
6397
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6398
    if mtype == TMessageType.EXCEPTION:
6399
      x = TApplicationException()
6400
      x.read(self._iprot)
6401
      self._iprot.readMessageEnd()
6402
      raise x
6403
    result = getAmazonOutSyncItems_result()
6404
    result.read(self._iprot)
6405
    self._iprot.readMessageEnd()
6406
    if result.success is not None:
6407
      return result.success
6408
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonOutSyncItems failed: unknown result");
6409
 
6410
  def getAllPrivateDealsComparison(self, ):
6411
    self.send_getAllPrivateDealsComparison()
6412
    return self.recv_getAllPrivateDealsComparison()
6413
 
6414
  def send_getAllPrivateDealsComparison(self, ):
6415
    self._oprot.writeMessageBegin('getAllPrivateDealsComparison', TMessageType.CALL, self._seqid)
6416
    args = getAllPrivateDealsComparison_args()
6417
    args.write(self._oprot)
6418
    self._oprot.writeMessageEnd()
6419
    self._oprot.trans.flush()
6420
 
6421
  def recv_getAllPrivateDealsComparison(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 = getAllPrivateDealsComparison_result()
6429
    result.read(self._iprot)
6430
    self._iprot.readMessageEnd()
6431
    if result.success is not None:
6432
      return result.success
6433
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllPrivateDealsComparison failed: unknown result");
6434
 
12133 kshitij.so 6435
  def getAllSnapdealMarketplaceItem(self, ):
6436
    self.send_getAllSnapdealMarketplaceItem()
6437
    return self.recv_getAllSnapdealMarketplaceItem()
11905 kshitij.so 6438
 
12133 kshitij.so 6439
  def send_getAllSnapdealMarketplaceItem(self, ):
6440
    self._oprot.writeMessageBegin('getAllSnapdealMarketplaceItem', TMessageType.CALL, self._seqid)
6441
    args = getAllSnapdealMarketplaceItem_args()
6442
    args.write(self._oprot)
6443
    self._oprot.writeMessageEnd()
6444
    self._oprot.trans.flush()
6445
 
6446
  def recv_getAllSnapdealMarketplaceItem(self, ):
6447
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6448
    if mtype == TMessageType.EXCEPTION:
6449
      x = TApplicationException()
6450
      x.read(self._iprot)
6451
      self._iprot.readMessageEnd()
6452
      raise x
6453
    result = getAllSnapdealMarketplaceItem_result()
6454
    result.read(self._iprot)
6455
    self._iprot.readMessageEnd()
6456
    if result.success is not None:
6457
      return result.success
6458
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllSnapdealMarketplaceItem failed: unknown result");
6459
 
6460
  def getAllFlipkartMarketplaceItem(self, ):
6461
    self.send_getAllFlipkartMarketplaceItem()
6462
    return self.recv_getAllFlipkartMarketplaceItem()
6463
 
6464
  def send_getAllFlipkartMarketplaceItem(self, ):
6465
    self._oprot.writeMessageBegin('getAllFlipkartMarketplaceItem', TMessageType.CALL, self._seqid)
6466
    args = getAllFlipkartMarketplaceItem_args()
6467
    args.write(self._oprot)
6468
    self._oprot.writeMessageEnd()
6469
    self._oprot.trans.flush()
6470
 
6471
  def recv_getAllFlipkartMarketplaceItem(self, ):
6472
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6473
    if mtype == TMessageType.EXCEPTION:
6474
      x = TApplicationException()
6475
      x.read(self._iprot)
6476
      self._iprot.readMessageEnd()
6477
      raise x
6478
    result = getAllFlipkartMarketplaceItem_result()
6479
    result.read(self._iprot)
6480
    self._iprot.readMessageEnd()
6481
    if result.success is not None:
6482
      return result.success
6483
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFlipkartMarketplaceItem failed: unknown result");
6484
 
12243 kshitij.so 6485
  def addCompetitorScraping(self, competitorPricingMap):
6486
    """
6487
    Parameters:
6488
     - competitorPricingMap
6489
    """
6490
    self.send_addCompetitorScraping(competitorPricingMap)
6491
    self.recv_addCompetitorScraping()
12133 kshitij.so 6492
 
12243 kshitij.so 6493
  def send_addCompetitorScraping(self, competitorPricingMap):
6494
    self._oprot.writeMessageBegin('addCompetitorScraping', TMessageType.CALL, self._seqid)
6495
    args = addCompetitorScraping_args()
6496
    args.competitorPricingMap = competitorPricingMap
6497
    args.write(self._oprot)
6498
    self._oprot.writeMessageEnd()
6499
    self._oprot.trans.flush()
6500
 
6501
  def recv_addCompetitorScraping(self, ):
6502
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6503
    if mtype == TMessageType.EXCEPTION:
6504
      x = TApplicationException()
6505
      x.read(self._iprot)
6506
      self._iprot.readMessageEnd()
6507
      raise x
6508
    result = addCompetitorScraping_result()
6509
    result.read(self._iprot)
6510
    self._iprot.readMessageEnd()
6511
    return
6512
 
6513
  def getPreviousCompetitorScraping(self, delta):
6514
    """
6515
    Parameters:
6516
     - delta
6517
    """
6518
    self.send_getPreviousCompetitorScraping(delta)
6519
    return self.recv_getPreviousCompetitorScraping()
6520
 
6521
  def send_getPreviousCompetitorScraping(self, delta):
6522
    self._oprot.writeMessageBegin('getPreviousCompetitorScraping', TMessageType.CALL, self._seqid)
6523
    args = getPreviousCompetitorScraping_args()
6524
    args.delta = delta
6525
    args.write(self._oprot)
6526
    self._oprot.writeMessageEnd()
6527
    self._oprot.trans.flush()
6528
 
6529
  def recv_getPreviousCompetitorScraping(self, ):
6530
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6531
    if mtype == TMessageType.EXCEPTION:
6532
      x = TApplicationException()
6533
      x.read(self._iprot)
6534
      self._iprot.readMessageEnd()
6535
      raise x
6536
    result = getPreviousCompetitorScraping_result()
6537
    result.read(self._iprot)
6538
    self._iprot.readMessageEnd()
6539
    if result.success is not None:
6540
      return result.success
6541
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getPreviousCompetitorScraping failed: unknown result");
6542
 
12256 kshitij.so 6543
  def getUploadResultById(self, uploadId):
6544
    """
6545
    Parameters:
6546
     - uploadId
6547
    """
6548
    self.send_getUploadResultById(uploadId)
6549
    return self.recv_getUploadResultById()
12243 kshitij.so 6550
 
12256 kshitij.so 6551
  def send_getUploadResultById(self, uploadId):
6552
    self._oprot.writeMessageBegin('getUploadResultById', TMessageType.CALL, self._seqid)
6553
    args = getUploadResultById_args()
6554
    args.uploadId = uploadId
6555
    args.write(self._oprot)
6556
    self._oprot.writeMessageEnd()
6557
    self._oprot.trans.flush()
6558
 
6559
  def recv_getUploadResultById(self, ):
6560
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6561
    if mtype == TMessageType.EXCEPTION:
6562
      x = TApplicationException()
6563
      x.read(self._iprot)
6564
      self._iprot.readMessageEnd()
6565
      raise x
6566
    result = getUploadResultById_result()
6567
    result.read(self._iprot)
6568
    self._iprot.readMessageEnd()
6569
    if result.success is not None:
6570
      return result.success
6571
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getUploadResultById failed: unknown result");
6572
 
12363 kshitij.so 6573
  def addAmazonPromotion(self, amazonPromotions):
6574
    """
6575
    Parameters:
6576
     - amazonPromotions
6577
    """
6578
    self.send_addAmazonPromotion(amazonPromotions)
6579
    return self.recv_addAmazonPromotion()
12256 kshitij.so 6580
 
12363 kshitij.so 6581
  def send_addAmazonPromotion(self, amazonPromotions):
6582
    self._oprot.writeMessageBegin('addAmazonPromotion', TMessageType.CALL, self._seqid)
6583
    args = addAmazonPromotion_args()
6584
    args.amazonPromotions = amazonPromotions
6585
    args.write(self._oprot)
6586
    self._oprot.writeMessageEnd()
6587
    self._oprot.trans.flush()
6588
 
6589
  def recv_addAmazonPromotion(self, ):
6590
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6591
    if mtype == TMessageType.EXCEPTION:
6592
      x = TApplicationException()
6593
      x.read(self._iprot)
6594
      self._iprot.readMessageEnd()
6595
      raise x
6596
    result = addAmazonPromotion_result()
6597
    result.read(self._iprot)
6598
    self._iprot.readMessageEnd()
6599
    if result.success is not None:
6600
      return result.success
6601
    raise TApplicationException(TApplicationException.MISSING_RESULT, "addAmazonPromotion failed: unknown result");
6602
 
6603
  def getAmazonPromotion(self, startDate, endDate):
6604
    """
6605
    Parameters:
6606
     - startDate
6607
     - endDate
6608
    """
6609
    self.send_getAmazonPromotion(startDate, endDate)
6610
    return self.recv_getAmazonPromotion()
6611
 
6612
  def send_getAmazonPromotion(self, startDate, endDate):
6613
    self._oprot.writeMessageBegin('getAmazonPromotion', TMessageType.CALL, self._seqid)
6614
    args = getAmazonPromotion_args()
6615
    args.startDate = startDate
6616
    args.endDate = endDate
6617
    args.write(self._oprot)
6618
    self._oprot.writeMessageEnd()
6619
    self._oprot.trans.flush()
6620
 
6621
  def recv_getAmazonPromotion(self, ):
6622
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6623
    if mtype == TMessageType.EXCEPTION:
6624
      x = TApplicationException()
6625
      x.read(self._iprot)
6626
      self._iprot.readMessageEnd()
6627
      raise x
6628
    result = getAmazonPromotion_result()
6629
    result.read(self._iprot)
6630
    self._iprot.readMessageEnd()
6631
    if result.success is not None:
6632
      return result.success
6633
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonPromotion failed: unknown result");
6634
 
6635
  def updateAmazonPromotion(self, amazonPromotions):
6636
    """
6637
    Parameters:
6638
     - amazonPromotions
6639
    """
6640
    self.send_updateAmazonPromotion(amazonPromotions)
6641
    return self.recv_updateAmazonPromotion()
6642
 
6643
  def send_updateAmazonPromotion(self, amazonPromotions):
6644
    self._oprot.writeMessageBegin('updateAmazonPromotion', TMessageType.CALL, self._seqid)
6645
    args = updateAmazonPromotion_args()
6646
    args.amazonPromotions = amazonPromotions
6647
    args.write(self._oprot)
6648
    self._oprot.writeMessageEnd()
6649
    self._oprot.trans.flush()
6650
 
6651
  def recv_updateAmazonPromotion(self, ):
6652
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6653
    if mtype == TMessageType.EXCEPTION:
6654
      x = TApplicationException()
6655
      x.read(self._iprot)
6656
      self._iprot.readMessageEnd()
6657
      raise x
6658
    result = updateAmazonPromotion_result()
6659
    result.read(self._iprot)
6660
    self._iprot.readMessageEnd()
6661
    if result.success is not None:
6662
      return result.success
6663
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateAmazonPromotion failed: unknown result");
6664
 
12567 amit.gupta 6665
  def markPartiallyActive(self, itemId, categoryId):
6666
    """
6667
    Parameters:
6668
     - itemId
6669
     - categoryId
6670
    """
6671
    self.send_markPartiallyActive(itemId, categoryId)
6672
    return self.recv_markPartiallyActive()
12363 kshitij.so 6673
 
12567 amit.gupta 6674
  def send_markPartiallyActive(self, itemId, categoryId):
6675
    self._oprot.writeMessageBegin('markPartiallyActive', TMessageType.CALL, self._seqid)
6676
    args = markPartiallyActive_args()
6677
    args.itemId = itemId
6678
    args.categoryId = categoryId
6679
    args.write(self._oprot)
6680
    self._oprot.writeMessageEnd()
6681
    self._oprot.trans.flush()
6682
 
6683
  def recv_markPartiallyActive(self, ):
6684
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6685
    if mtype == TMessageType.EXCEPTION:
6686
      x = TApplicationException()
6687
      x.read(self._iprot)
6688
      self._iprot.readMessageEnd()
6689
      raise x
6690
    result = markPartiallyActive_result()
6691
    result.read(self._iprot)
6692
    self._iprot.readMessageEnd()
6693
    if result.success is not None:
6694
      return result.success
6695
    raise TApplicationException(TApplicationException.MISSING_RESULT, "markPartiallyActive failed: unknown result");
6696
 
6697
  def updateItemStateVat(self, itemId, statevat):
6698
    """
6699
    Parameters:
6700
     - itemId
6701
     - statevat
6702
    """
6703
    self.send_updateItemStateVat(itemId, statevat)
6704
    return self.recv_updateItemStateVat()
6705
 
6706
  def send_updateItemStateVat(self, itemId, statevat):
6707
    self._oprot.writeMessageBegin('updateItemStateVat', TMessageType.CALL, self._seqid)
6708
    args = updateItemStateVat_args()
6709
    args.itemId = itemId
6710
    args.statevat = statevat
6711
    args.write(self._oprot)
6712
    self._oprot.writeMessageEnd()
6713
    self._oprot.trans.flush()
6714
 
6715
  def recv_updateItemStateVat(self, ):
6716
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6717
    if mtype == TMessageType.EXCEPTION:
6718
      x = TApplicationException()
6719
      x.read(self._iprot)
6720
      self._iprot.readMessageEnd()
6721
      raise x
6722
    result = updateItemStateVat_result()
6723
    result.read(self._iprot)
6724
    self._iprot.readMessageEnd()
6725
    if result.success is not None:
6726
      return result.success
6727
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateItemStateVat failed: unknown result");
6728
 
12620 amit.gupta 6729
  def getExAffiliateItemInfo(self, ):
6730
    self.send_getExAffiliateItemInfo()
6731
    return self.recv_getExAffiliateItemInfo()
12567 amit.gupta 6732
 
12620 amit.gupta 6733
  def send_getExAffiliateItemInfo(self, ):
6734
    self._oprot.writeMessageBegin('getExAffiliateItemInfo', TMessageType.CALL, self._seqid)
6735
    args = getExAffiliateItemInfo_args()
6736
    args.write(self._oprot)
6737
    self._oprot.writeMessageEnd()
6738
    self._oprot.trans.flush()
6739
 
6740
  def recv_getExAffiliateItemInfo(self, ):
6741
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6742
    if mtype == TMessageType.EXCEPTION:
6743
      x = TApplicationException()
6744
      x.read(self._iprot)
6745
      self._iprot.readMessageEnd()
6746
      raise x
6747
    result = getExAffiliateItemInfo_result()
6748
    result.read(self._iprot)
6749
    self._iprot.readMessageEnd()
6750
    if result.success is not None:
6751
      return result.success
6752
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getExAffiliateItemInfo failed: unknown result");
6753
 
12888 kshitij.so 6754
  def getAllItemstoListOnFbg(self, ):
6755
    self.send_getAllItemstoListOnFbg()
6756
    return self.recv_getAllItemstoListOnFbg()
12620 amit.gupta 6757
 
12888 kshitij.so 6758
  def send_getAllItemstoListOnFbg(self, ):
6759
    self._oprot.writeMessageBegin('getAllItemstoListOnFbg', TMessageType.CALL, self._seqid)
6760
    args = getAllItemstoListOnFbg_args()
6761
    args.write(self._oprot)
6762
    self._oprot.writeMessageEnd()
6763
    self._oprot.trans.flush()
6764
 
6765
  def recv_getAllItemstoListOnFbg(self, ):
6766
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6767
    if mtype == TMessageType.EXCEPTION:
6768
      x = TApplicationException()
6769
      x.read(self._iprot)
6770
      self._iprot.readMessageEnd()
6771
      raise x
6772
    result = getAllItemstoListOnFbg_result()
6773
    result.read(self._iprot)
6774
    self._iprot.readMessageEnd()
6775
    if result.success is not None:
6776
      return result.success
6777
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllItemstoListOnFbg failed: unknown result");
6778
 
12892 kshitij.so 6779
  def getAllFbgListedItems(self, ):
6780
    self.send_getAllFbgListedItems()
6781
    return self.recv_getAllFbgListedItems()
12888 kshitij.so 6782
 
12892 kshitij.so 6783
  def send_getAllFbgListedItems(self, ):
6784
    self._oprot.writeMessageBegin('getAllFbgListedItems', TMessageType.CALL, self._seqid)
6785
    args = getAllFbgListedItems_args()
6786
    args.write(self._oprot)
6787
    self._oprot.writeMessageEnd()
6788
    self._oprot.trans.flush()
6789
 
6790
  def recv_getAllFbgListedItems(self, ):
6791
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
6792
    if mtype == TMessageType.EXCEPTION:
6793
      x = TApplicationException()
6794
      x.read(self._iprot)
6795
      self._iprot.readMessageEnd()
6796
      raise x
6797
    result = getAllFbgListedItems_result()
6798
    result.read(self._iprot)
6799
    self._iprot.readMessageEnd()
6800
    if result.success is not None:
6801
      return result.success
6802
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllFbgListedItems failed: unknown result");
6803
 
6804
 
5944 mandeep.dh 6805
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
6806
  def __init__(self, handler):
6807
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
6808
    self._processMap["addItem"] = Processor.process_addItem
6809
    self._processMap["updateItem"] = Processor.process_updateItem
6810
    self._processMap["isActive"] = Processor.process_isActive
7438 amit.gupta 6811
    self._processMap["getItemsStatus"] = Processor.process_getItemsStatus
5944 mandeep.dh 6812
    self._processMap["getItemStatusDescription"] = Processor.process_getItemStatusDescription
6813
    self._processMap["startItemOn"] = Processor.process_startItemOn
6814
    self._processMap["retireItemOn"] = Processor.process_retireItemOn
6815
    self._processMap["changeItemStatus"] = Processor.process_changeItemStatus
6816
    self._processMap["getItem"] = Processor.process_getItem
6817
    self._processMap["getItemsByCatalogId"] = Processor.process_getItemsByCatalogId
6818
    self._processMap["getValidItemsByCatalogId"] = Processor.process_getValidItemsByCatalogId
6819
    self._processMap["getAllItems"] = Processor.process_getAllItems
6820
    self._processMap["getAllItemsByStatus"] = Processor.process_getAllItemsByStatus
6821
    self._processMap["markItemAsContentComplete"] = Processor.process_markItemAsContentComplete
12567 amit.gupta 6822
    self._processMap["getVatRates"] = Processor.process_getVatRates
5944 mandeep.dh 6823
    self._processMap["getAllItemsInRange"] = Processor.process_getAllItemsInRange
6824
    self._processMap["getAllItemsByStatusInRange"] = Processor.process_getAllItemsByStatusInRange
6825
    self._processMap["getItemCountByStatus"] = Processor.process_getItemCountByStatus
6826
    self._processMap["getBestSellers"] = Processor.process_getBestSellers
6827
    self._processMap["getBestSellersCatalogIds"] = Processor.process_getBestSellersCatalogIds
6828
    self._processMap["getBestSellersCount"] = Processor.process_getBestSellersCount
6829
    self._processMap["getBestDeals"] = Processor.process_getBestDeals
6830
    self._processMap["getBestDealsCatalogIds"] = Processor.process_getBestDealsCatalogIds
6831
    self._processMap["getBestDealsCount"] = Processor.process_getBestDealsCount
6832
    self._processMap["getComingSoon"] = Processor.process_getComingSoon
6833
    self._processMap["getComingSoonCatalogIds"] = Processor.process_getComingSoonCatalogIds
6834
    self._processMap["getComingSoonCount"] = Processor.process_getComingSoonCount
6835
    self._processMap["getLatestArrivals"] = Processor.process_getLatestArrivals
6836
    self._processMap["getLatestArrivalsCatalogIds"] = Processor.process_getLatestArrivalsCatalogIds
6837
    self._processMap["getLatestArrivalsCount"] = Processor.process_getLatestArrivalsCount
6838
    self._processMap["generateNewEntityID"] = Processor.process_generateNewEntityID
6839
    self._processMap["addCategory"] = Processor.process_addCategory
6840
    self._processMap["getCategory"] = Processor.process_getCategory
6841
    self._processMap["getAllCategories"] = Processor.process_getAllCategories
6842
    self._processMap["getAllSimilarItems"] = Processor.process_getAllSimilarItems
6843
    self._processMap["addSimilarItem"] = Processor.process_addSimilarItem
6512 kshitij.so 6844
    self._processMap["addTag"] = Processor.process_addTag
6845
    self._processMap["deleteEntityTag"] = Processor.process_deleteEntityTag
6846
    self._processMap["deleteTag"] = Processor.process_deleteTag
6847
    self._processMap["getAllTags"] = Processor.process_getAllTags
6848
    self._processMap["getAllEntitiesByTagName"] = Processor.process_getAllEntitiesByTagName
6845 amit.gupta 6849
    self._processMap["getAllEntityTags"] = Processor.process_getAllEntityTags
6850 kshitij.so 6850
    self._processMap["addBanner"] = Processor.process_addBanner
8579 kshitij.so 6851
    self._processMap["updateBanner"] = Processor.process_updateBanner
6850 kshitij.so 6852
    self._processMap["getAllBanners"] = Processor.process_getAllBanners
6853
    self._processMap["deleteBanner"] = Processor.process_deleteBanner
6854
    self._processMap["getBannerDetails"] = Processor.process_getBannerDetails
6855
    self._processMap["getActiveBanners"] = Processor.process_getActiveBanners
6849 kshitij.so 6856
    self._processMap["addBannerMap"] = Processor.process_addBannerMap
8579 kshitij.so 6857
    self._processMap["updateBannerMap"] = Processor.process_updateBannerMap
6849 kshitij.so 6858
    self._processMap["deleteBannerMap"] = Processor.process_deleteBannerMap
6859
    self._processMap["getBannerMapDetails"] = Processor.process_getBannerMapDetails
8579 kshitij.so 6860
    self._processMap["addBannerUri"] = Processor.process_addBannerUri
6861
    self._processMap["getUriMapping"] = Processor.process_getUriMapping
6862
    self._processMap["addCampaign"] = Processor.process_addCampaign
6863
    self._processMap["getCampaigns"] = Processor.process_getCampaigns
6864
    self._processMap["deleteCampaign"] = Processor.process_deleteCampaign
6865
    self._processMap["getAllCampaigns"] = Processor.process_getAllCampaigns
9155 kshitij.so 6866
    self._processMap["getActiveBannersForMobileSite"] = Processor.process_getActiveBannersForMobileSite
5944 mandeep.dh 6867
    self._processMap["deleteSimilarItem"] = Processor.process_deleteSimilarItem
6868
    self._processMap["checkSimilarItem"] = Processor.process_checkSimilarItem
6869
    self._processMap["validateRiskyStatus"] = Processor.process_validateRiskyStatus
6870
    self._processMap["changeItemRiskyFlag"] = Processor.process_changeItemRiskyFlag
6871
    self._processMap["getItemsByRiskyFlag"] = Processor.process_getItemsByRiskyFlag
6872
    self._processMap["getItemsForMasterSheet"] = Processor.process_getItemsForMasterSheet
6873
    self._processMap["getSimilarItemsCatalogIds"] = Processor.process_getSimilarItemsCatalogIds
6874
    self._processMap["addProductNotification"] = Processor.process_addProductNotification
6875
    self._processMap["sendProductNotifications"] = Processor.process_sendProductNotifications
6876
    self._processMap["getAllBrandsByCategory"] = Processor.process_getAllBrandsByCategory
6877
    self._processMap["getAllBrands"] = Processor.process_getAllBrands
6878
    self._processMap["getAllSources"] = Processor.process_getAllSources
6879
    self._processMap["getItemPricingBySource"] = Processor.process_getItemPricingBySource
6880
    self._processMap["addSourceItemPricing"] = Processor.process_addSourceItemPricing
6881
    self._processMap["getAllSourcePricing"] = Processor.process_getAllSourcePricing
6882
    self._processMap["getItemForSource"] = Processor.process_getItemForSource
6883
    self._processMap["searchItemsInRange"] = Processor.process_searchItemsInRange
6884
    self._processMap["getSearchResultCount"] = Processor.process_getSearchResultCount
6885
    self._processMap["getProductNotifications"] = Processor.process_getProductNotifications
6886
    self._processMap["getProductNotificationRequestCount"] = Processor.process_getProductNotificationRequestCount
6887
    self._processMap["addAuthorizationLog"] = Processor.process_addAuthorizationLog
6888
    self._processMap["addupdateVoucherForItem"] = Processor.process_addupdateVoucherForItem
6889
    self._processMap["deleteVoucherForItem"] = Processor.process_deleteVoucherForItem
6890
    self._processMap["getVoucherAmount"] = Processor.process_getVoucherAmount
6891
    self._processMap["getAllItemVouchers"] = Processor.process_getAllItemVouchers
6892
    self._processMap["isValidCatalogItemId"] = Processor.process_isValidCatalogItemId
6039 amit.gupta 6893
    self._processMap["getVatPercentageForItem"] = Processor.process_getVatPercentageForItem
6894
    self._processMap["getVatAmountForItem"] = Processor.process_getVatAmountForItem
6531 vikram.rag 6895
    self._processMap["getAllIgnoredInventoryUpdateItemsList"] = Processor.process_getAllIgnoredInventoryUpdateItemsList
6821 amar.kumar 6896
    self._processMap["getAllAliveItems"] = Processor.process_getAllAliveItems
6805 anupam.sin 6897
    self._processMap["getInsuranceAmount"] = Processor.process_getInsuranceAmount
6898
    self._processMap["getInsurer"] = Processor.process_getInsurer
6838 vikram.rag 6899
    self._processMap["getAllInsurers"] = Processor.process_getAllInsurers
6962 rajveer 6900
    self._processMap["updateInsuranceDeclaredAmount"] = Processor.process_updateInsuranceDeclaredAmount
7190 amar.kumar 6901
    self._processMap["getFreebieForItem"] = Processor.process_getFreebieForItem
6902
    self._processMap["addOrUpdateFreebieForItem"] = Processor.process_addOrUpdateFreebieForItem
7272 amit.gupta 6903
    self._processMap["addOrUpdateBrandInfo"] = Processor.process_addOrUpdateBrandInfo
6904
    self._processMap["getBrandInfo"] = Processor.process_getBrandInfo
7256 rajveer 6905
    self._processMap["getStorePricing"] = Processor.process_getStorePricing
7306 rajveer 6906
    self._processMap["getStorePricings"] = Processor.process_getStorePricings
7265 rajveer 6907
    self._processMap["updateStorePricing"] = Processor.process_updateStorePricing
7281 kshitij.so 6908
    self._processMap["getAllAmazonListedItems"] = Processor.process_getAllAmazonListedItems
8619 kshitij.so 6909
    self._processMap["searchAmazonItems"] = Processor.process_searchAmazonItems
6910
    self._processMap["getAmazonSearchResultCount"] = Processor.process_getAmazonSearchResultCount
6911
    self._processMap["getCountForAmazonlistedItems"] = Processor.process_getCountForAmazonlistedItems
7281 kshitij.so 6912
    self._processMap["getAmazonItemDetails"] = Processor.process_getAmazonItemDetails
6913
    self._processMap["updateAmazonItemDetails"] = Processor.process_updateAmazonItemDetails
6914
    self._processMap["addAmazonItem"] = Processor.process_addAmazonItem
7291 vikram.rag 6915
    self._processMap["getAsinItems"] = Processor.process_getAsinItems
6916
    self._processMap["getAllFbaListedItems"] = Processor.process_getAllFbaListedItems
6917
    self._processMap["getAllNonFbaListedItems"] = Processor.process_getAllNonFbaListedItems
7460 kshitij.so 6918
    self._processMap["updateItemInventory"] = Processor.process_updateItemInventory
7770 kshitij.so 6919
    self._processMap["updateTimestampForAmazonFeeds"] = Processor.process_updateTimestampForAmazonFeeds
7897 amar.kumar 6920
    self._processMap["getAllParentCategories"] = Processor.process_getAllParentCategories
7977 kshitij.so 6921
    self._processMap["addPageViewEvent"] = Processor.process_addPageViewEvent
6922
    self._processMap["addCartEvent"] = Processor.process_addCartEvent
8182 amar.kumar 6923
    self._processMap["addEbayItem"] = Processor.process_addEbayItem
6924
    self._processMap["getEbayItem"] = Processor.process_getEbayItem
6925
    self._processMap["updateEbayItem"] = Processor.process_updateEbayItem
8139 kshitij.so 6926
    self._processMap["getAmazonListedItems"] = Processor.process_getAmazonListedItems
8168 kshitij.so 6927
    self._processMap["updateAmazonAttributesInBulk"] = Processor.process_updateAmazonAttributesInBulk
8379 vikram.rag 6928
    self._processMap["getAllItemstoListOnFba"] = Processor.process_getAllItemstoListOnFba
6929
    self._processMap["getAllItemstoListOnNonFba"] = Processor.process_getAllItemstoListOnNonFba
8619 kshitij.so 6930
    self._processMap["updateAsin"] = Processor.process_updateAsin
8739 vikram.rag 6931
    self._processMap["addOrUpdateSnapdealItem"] = Processor.process_addOrUpdateSnapdealItem
6932
    self._processMap["getSnapdealItem"] = Processor.process_getSnapdealItem
9242 kshitij.so 6933
    self._processMap["getSnapdealItemDetails"] = Processor.process_getSnapdealItemDetails
8739 vikram.rag 6934
    self._processMap["getAllSnapdealItems"] = Processor.process_getAllSnapdealItems
9242 kshitij.so 6935
    self._processMap["getSnapdealItems"] = Processor.process_getSnapdealItems
6936
    self._processMap["searchSnapdealItems"] = Processor.process_searchSnapdealItems
6937
    self._processMap["getCountForSnapdealItems"] = Processor.process_getCountForSnapdealItems
6938
    self._processMap["getSnapdealSearchResultCount"] = Processor.process_getSnapdealSearchResultCount
9299 kshitij.so 6939
    self._processMap["getPrefferedInsurerForItem"] = Processor.process_getPrefferedInsurerForItem
9456 vikram.rag 6940
    self._processMap["getSnapdealItembySkuAtSnapdeal"] = Processor.process_getSnapdealItembySkuAtSnapdeal
9621 manish.sha 6941
    self._processMap["getProductFeedSubmit"] = Processor.process_getProductFeedSubmit
6942
    self._processMap["addProductFeedSubmit"] = Processor.process_addProductFeedSubmit
6943
    self._processMap["updateProductFeedSubmit"] = Processor.process_updateProductFeedSubmit
6944
    self._processMap["deleteProductFeedSubmit"] = Processor.process_deleteProductFeedSubmit
6945
    self._processMap["getAllProductFeedSubmit"] = Processor.process_getAllProductFeedSubmit
9724 kshitij.so 6946
    self._processMap["getMarketplacedetailsForItem"] = Processor.process_getMarketplacedetailsForItem
6947
    self._processMap["updateMarketplaceAttributesForItem"] = Processor.process_updateMarketplaceAttributesForItem
9779 kshitij.so 6948
    self._processMap["getCostingForMarketplace"] = Processor.process_getCostingForMarketplace
9776 vikram.rag 6949
    self._processMap["getMarketPlaceItemsForPriceUpdate"] = Processor.process_getMarketPlaceItemsForPriceUpdate
6950
    self._processMap["updateMarketPlacePriceUpdateStatus"] = Processor.process_updateMarketPlacePriceUpdateStatus
9861 rajveer 6951
    self._processMap["updateItemHoldInventory"] = Processor.process_updateItemHoldInventory
9895 vikram.rag 6952
    self._processMap["updateNlcAtMarketplaces"] = Processor.process_updateNlcAtMarketplaces
9945 vikram.rag 6953
    self._processMap["getAllFlipkartItems"] = Processor.process_getAllFlipkartItems
10097 kshitij.so 6954
    self._processMap["addOrUpdateFlipkartItem"] = Processor.process_addOrUpdateFlipkartItem
6955
    self._processMap["getFlipkartItem"] = Processor.process_getFlipkartItem
6956
    self._processMap["getFlipkartItemDetails"] = Processor.process_getFlipkartItemDetails
6957
    self._processMap["getFlipkartItems"] = Processor.process_getFlipkartItems
6958
    self._processMap["searchFlipkartItems"] = Processor.process_searchFlipkartItems
6959
    self._processMap["getCountForFlipkartItems"] = Processor.process_getCountForFlipkartItems
6960
    self._processMap["getFlipkartSearchResultCount"] = Processor.process_getFlipkartSearchResultCount
6961
    self._processMap["getAllFkItems"] = Processor.process_getAllFkItems
10140 vikram.rag 6962
    self._processMap["getFlipkartItemBySkyAtFlipkart"] = Processor.process_getFlipkartItemBySkyAtFlipkart
11015 kshitij.so 6963
    self._processMap["getMarketplaceHistory"] = Processor.process_getMarketplaceHistory
10909 vikram.rag 6964
    self._processMap["getAllFbbListedItems"] = Processor.process_getAllFbbListedItems
10924 vikram.rag 6965
    self._processMap["getAllFbbPricingItems"] = Processor.process_getAllFbbPricingItems
11015 kshitij.so 6966
    self._processMap["getCountForMarketplaceHistory"] = Processor.process_getCountForMarketplaceHistory
6967
    self._processMap["getMarketplaceHistoryByDate"] = Processor.process_getMarketplaceHistoryByDate
11531 vikram.rag 6968
    self._processMap["getPrivateDealDetails"] = Processor.process_getPrivateDealDetails
6969
    self._processMap["getPrivateDealItems"] = Processor.process_getPrivateDealItems
11592 amit.gupta 6970
    self._processMap["getAllActivePrivateDeals"] = Processor.process_getAllActivePrivateDeals
11531 vikram.rag 6971
    self._processMap["addOrUpdatePrivateDeal"] = Processor.process_addOrUpdatePrivateDeal
11635 vikram.rag 6972
    self._processMap["getPrivateDealsCatalogIds"] = Processor.process_getPrivateDealsCatalogIds
11645 amit.gupta 6973
    self._processMap["getPrivateDealsCount"] = Processor.process_getPrivateDealsCount
11905 kshitij.so 6974
    self._processMap["getAmazonOutSyncItems"] = Processor.process_getAmazonOutSyncItems
6975
    self._processMap["getAllPrivateDealsComparison"] = Processor.process_getAllPrivateDealsComparison
12133 kshitij.so 6976
    self._processMap["getAllSnapdealMarketplaceItem"] = Processor.process_getAllSnapdealMarketplaceItem
6977
    self._processMap["getAllFlipkartMarketplaceItem"] = Processor.process_getAllFlipkartMarketplaceItem
12243 kshitij.so 6978
    self._processMap["addCompetitorScraping"] = Processor.process_addCompetitorScraping
6979
    self._processMap["getPreviousCompetitorScraping"] = Processor.process_getPreviousCompetitorScraping
12256 kshitij.so 6980
    self._processMap["getUploadResultById"] = Processor.process_getUploadResultById
12363 kshitij.so 6981
    self._processMap["addAmazonPromotion"] = Processor.process_addAmazonPromotion
6982
    self._processMap["getAmazonPromotion"] = Processor.process_getAmazonPromotion
6983
    self._processMap["updateAmazonPromotion"] = Processor.process_updateAmazonPromotion
12567 amit.gupta 6984
    self._processMap["markPartiallyActive"] = Processor.process_markPartiallyActive
6985
    self._processMap["updateItemStateVat"] = Processor.process_updateItemStateVat
12620 amit.gupta 6986
    self._processMap["getExAffiliateItemInfo"] = Processor.process_getExAffiliateItemInfo
12888 kshitij.so 6987
    self._processMap["getAllItemstoListOnFbg"] = Processor.process_getAllItemstoListOnFbg
12892 kshitij.so 6988
    self._processMap["getAllFbgListedItems"] = Processor.process_getAllFbgListedItems
5944 mandeep.dh 6989
 
6990
  def process(self, iprot, oprot):
6991
    (name, type, seqid) = iprot.readMessageBegin()
6992
    if name not in self._processMap:
6993
      iprot.skip(TType.STRUCT)
6994
      iprot.readMessageEnd()
6995
      x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
6996
      oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
6997
      x.write(oprot)
6998
      oprot.writeMessageEnd()
6999
      oprot.trans.flush()
7000
      return
7001
    else:
7002
      self._processMap[name](self, seqid, iprot, oprot)
7003
    return True
7004
 
7005
  def process_addItem(self, seqid, iprot, oprot):
7006
    args = addItem_args()
7007
    args.read(iprot)
7008
    iprot.readMessageEnd()
7009
    result = addItem_result()
7010
    try:
7011
      result.success = self._handler.addItem(args.item)
7012
    except CatalogServiceException, cex:
7013
      result.cex = cex
7014
    oprot.writeMessageBegin("addItem", TMessageType.REPLY, seqid)
7015
    result.write(oprot)
7016
    oprot.writeMessageEnd()
7017
    oprot.trans.flush()
7018
 
7019
  def process_updateItem(self, seqid, iprot, oprot):
7020
    args = updateItem_args()
7021
    args.read(iprot)
7022
    iprot.readMessageEnd()
7023
    result = updateItem_result()
7024
    try:
7025
      result.success = self._handler.updateItem(args.item)
7026
    except CatalogServiceException, cex:
7027
      result.cex = cex
7028
    oprot.writeMessageBegin("updateItem", TMessageType.REPLY, seqid)
7029
    result.write(oprot)
7030
    oprot.writeMessageEnd()
7031
    oprot.trans.flush()
7032
 
7033
  def process_isActive(self, seqid, iprot, oprot):
7034
    args = isActive_args()
7035
    args.read(iprot)
7036
    iprot.readMessageEnd()
7037
    result = isActive_result()
7038
    try:
7039
      result.success = self._handler.isActive(args.itemId)
7040
    except CatalogServiceException, isex:
7041
      result.isex = isex
7042
    oprot.writeMessageBegin("isActive", TMessageType.REPLY, seqid)
7043
    result.write(oprot)
7044
    oprot.writeMessageEnd()
7045
    oprot.trans.flush()
7046
 
7438 amit.gupta 7047
  def process_getItemsStatus(self, seqid, iprot, oprot):
7048
    args = getItemsStatus_args()
7049
    args.read(iprot)
7050
    iprot.readMessageEnd()
7051
    result = getItemsStatus_result()
7052
    try:
7053
      result.success = self._handler.getItemsStatus(args.itemIds)
7054
    except CatalogServiceException, isex:
7055
      result.isex = isex
7056
    oprot.writeMessageBegin("getItemsStatus", TMessageType.REPLY, seqid)
7057
    result.write(oprot)
7058
    oprot.writeMessageEnd()
7059
    oprot.trans.flush()
7060
 
5944 mandeep.dh 7061
  def process_getItemStatusDescription(self, seqid, iprot, oprot):
7062
    args = getItemStatusDescription_args()
7063
    args.read(iprot)
7064
    iprot.readMessageEnd()
7065
    result = getItemStatusDescription_result()
7066
    try:
7067
      result.success = self._handler.getItemStatusDescription(args.itemId)
7068
    except CatalogServiceException, isex:
7069
      result.isex = isex
7070
    oprot.writeMessageBegin("getItemStatusDescription", TMessageType.REPLY, seqid)
7071
    result.write(oprot)
7072
    oprot.writeMessageEnd()
7073
    oprot.trans.flush()
7074
 
7075
  def process_startItemOn(self, seqid, iprot, oprot):
7076
    args = startItemOn_args()
7077
    args.read(iprot)
7078
    iprot.readMessageEnd()
7079
    result = startItemOn_result()
7080
    try:
7081
      self._handler.startItemOn(args.item_id, args.timestamp)
7082
    except CatalogServiceException, cex:
7083
      result.cex = cex
7084
    oprot.writeMessageBegin("startItemOn", TMessageType.REPLY, seqid)
7085
    result.write(oprot)
7086
    oprot.writeMessageEnd()
7087
    oprot.trans.flush()
7088
 
7089
  def process_retireItemOn(self, seqid, iprot, oprot):
7090
    args = retireItemOn_args()
7091
    args.read(iprot)
7092
    iprot.readMessageEnd()
7093
    result = retireItemOn_result()
7094
    try:
7095
      self._handler.retireItemOn(args.item_id, args.timestamp)
7096
    except CatalogServiceException, cex:
7097
      result.cex = cex
7098
    oprot.writeMessageBegin("retireItemOn", TMessageType.REPLY, seqid)
7099
    result.write(oprot)
7100
    oprot.writeMessageEnd()
7101
    oprot.trans.flush()
7102
 
7103
  def process_changeItemStatus(self, seqid, iprot, oprot):
7104
    args = changeItemStatus_args()
7105
    args.read(iprot)
7106
    iprot.readMessageEnd()
7107
    result = changeItemStatus_result()
7108
    try:
7109
      self._handler.changeItemStatus(args.item_id, args.timestamp, args.newstatus)
7110
    except CatalogServiceException, cex:
7111
      result.cex = cex
7112
    oprot.writeMessageBegin("changeItemStatus", TMessageType.REPLY, seqid)
7113
    result.write(oprot)
7114
    oprot.writeMessageEnd()
7115
    oprot.trans.flush()
7116
 
7117
  def process_getItem(self, seqid, iprot, oprot):
7118
    args = getItem_args()
7119
    args.read(iprot)
7120
    iprot.readMessageEnd()
7121
    result = getItem_result()
7122
    try:
7123
      result.success = self._handler.getItem(args.item_id)
7124
    except CatalogServiceException, cex:
7125
      result.cex = cex
7126
    oprot.writeMessageBegin("getItem", TMessageType.REPLY, seqid)
7127
    result.write(oprot)
7128
    oprot.writeMessageEnd()
7129
    oprot.trans.flush()
7130
 
7131
  def process_getItemsByCatalogId(self, seqid, iprot, oprot):
7132
    args = getItemsByCatalogId_args()
7133
    args.read(iprot)
7134
    iprot.readMessageEnd()
7135
    result = getItemsByCatalogId_result()
7136
    try:
7137
      result.success = self._handler.getItemsByCatalogId(args.catalog_item_id)
7138
    except CatalogServiceException, cex:
7139
      result.cex = cex
7140
    oprot.writeMessageBegin("getItemsByCatalogId", TMessageType.REPLY, seqid)
7141
    result.write(oprot)
7142
    oprot.writeMessageEnd()
7143
    oprot.trans.flush()
7144
 
7145
  def process_getValidItemsByCatalogId(self, seqid, iprot, oprot):
7146
    args = getValidItemsByCatalogId_args()
7147
    args.read(iprot)
7148
    iprot.readMessageEnd()
7149
    result = getValidItemsByCatalogId_result()
7150
    try:
7151
      result.success = self._handler.getValidItemsByCatalogId(args.catalog_item_id)
7152
    except CatalogServiceException, cex:
7153
      result.cex = cex
7154
    oprot.writeMessageBegin("getValidItemsByCatalogId", TMessageType.REPLY, seqid)
7155
    result.write(oprot)
7156
    oprot.writeMessageEnd()
7157
    oprot.trans.flush()
7158
 
7159
  def process_getAllItems(self, seqid, iprot, oprot):
7160
    args = getAllItems_args()
7161
    args.read(iprot)
7162
    iprot.readMessageEnd()
7163
    result = getAllItems_result()
7164
    try:
7165
      result.success = self._handler.getAllItems(args.isActive)
7166
    except CatalogServiceException, cex:
7167
      result.cex = cex
7168
    oprot.writeMessageBegin("getAllItems", TMessageType.REPLY, seqid)
7169
    result.write(oprot)
7170
    oprot.writeMessageEnd()
7171
    oprot.trans.flush()
7172
 
7173
  def process_getAllItemsByStatus(self, seqid, iprot, oprot):
7174
    args = getAllItemsByStatus_args()
7175
    args.read(iprot)
7176
    iprot.readMessageEnd()
7177
    result = getAllItemsByStatus_result()
7178
    try:
7179
      result.success = self._handler.getAllItemsByStatus(args.itemStatus)
7180
    except CatalogServiceException, cex:
7181
      result.cex = cex
7182
    oprot.writeMessageBegin("getAllItemsByStatus", TMessageType.REPLY, seqid)
7183
    result.write(oprot)
7184
    oprot.writeMessageEnd()
7185
    oprot.trans.flush()
7186
 
7187
  def process_markItemAsContentComplete(self, seqid, iprot, oprot):
7188
    args = markItemAsContentComplete_args()
7189
    args.read(iprot)
7190
    iprot.readMessageEnd()
7191
    result = markItemAsContentComplete_result()
7192
    try:
9253 rajveer 7193
      result.success = self._handler.markItemAsContentComplete(args.entityId, args.category, args.brand, args.modelName, args.modelNumber, args.isAndroid)
5944 mandeep.dh 7194
    except CatalogServiceException, cex:
7195
      result.cex = cex
7196
    oprot.writeMessageBegin("markItemAsContentComplete", TMessageType.REPLY, seqid)
7197
    result.write(oprot)
7198
    oprot.writeMessageEnd()
7199
    oprot.trans.flush()
7200
 
12567 amit.gupta 7201
  def process_getVatRates(self, seqid, iprot, oprot):
7202
    args = getVatRates_args()
7203
    args.read(iprot)
7204
    iprot.readMessageEnd()
7205
    result = getVatRates_result()
7206
    try:
7207
      result.success = self._handler.getVatRates(args.itemId, args.categoryId)
7208
    except CatalogServiceException, cex:
7209
      result.cex = cex
7210
    oprot.writeMessageBegin("getVatRates", TMessageType.REPLY, seqid)
7211
    result.write(oprot)
7212
    oprot.writeMessageEnd()
7213
    oprot.trans.flush()
7214
 
5944 mandeep.dh 7215
  def process_getAllItemsInRange(self, seqid, iprot, oprot):
7216
    args = getAllItemsInRange_args()
7217
    args.read(iprot)
7218
    iprot.readMessageEnd()
7219
    result = getAllItemsInRange_result()
7220
    try:
7221
      result.success = self._handler.getAllItemsInRange(args.offset, args.limit)
7222
    except CatalogServiceException, cex:
7223
      result.cex = cex
7224
    oprot.writeMessageBegin("getAllItemsInRange", TMessageType.REPLY, seqid)
7225
    result.write(oprot)
7226
    oprot.writeMessageEnd()
7227
    oprot.trans.flush()
7228
 
7229
  def process_getAllItemsByStatusInRange(self, seqid, iprot, oprot):
7230
    args = getAllItemsByStatusInRange_args()
7231
    args.read(iprot)
7232
    iprot.readMessageEnd()
7233
    result = getAllItemsByStatusInRange_result()
7234
    try:
7235
      result.success = self._handler.getAllItemsByStatusInRange(args.itemStatus, args.offset, args.limit)
7236
    except CatalogServiceException, cex:
7237
      result.cex = cex
7238
    oprot.writeMessageBegin("getAllItemsByStatusInRange", TMessageType.REPLY, seqid)
7239
    result.write(oprot)
7240
    oprot.writeMessageEnd()
7241
    oprot.trans.flush()
7242
 
7243
  def process_getItemCountByStatus(self, seqid, iprot, oprot):
7244
    args = getItemCountByStatus_args()
7245
    args.read(iprot)
7246
    iprot.readMessageEnd()
7247
    result = getItemCountByStatus_result()
7248
    result.success = self._handler.getItemCountByStatus(args.useStatus, args.itemStatus)
7249
    oprot.writeMessageBegin("getItemCountByStatus", TMessageType.REPLY, seqid)
7250
    result.write(oprot)
7251
    oprot.writeMessageEnd()
7252
    oprot.trans.flush()
7253
 
7254
  def process_getBestSellers(self, seqid, iprot, oprot):
7255
    args = getBestSellers_args()
7256
    args.read(iprot)
7257
    iprot.readMessageEnd()
7258
    result = getBestSellers_result()
7259
    try:
7260
      result.success = self._handler.getBestSellers()
7261
    except CatalogServiceException, isex:
7262
      result.isex = isex
7263
    oprot.writeMessageBegin("getBestSellers", TMessageType.REPLY, seqid)
7264
    result.write(oprot)
7265
    oprot.writeMessageEnd()
7266
    oprot.trans.flush()
7267
 
7268
  def process_getBestSellersCatalogIds(self, seqid, iprot, oprot):
7269
    args = getBestSellersCatalogIds_args()
7270
    args.read(iprot)
7271
    iprot.readMessageEnd()
7272
    result = getBestSellersCatalogIds_result()
7273
    try:
7274
      result.success = self._handler.getBestSellersCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7275
    except CatalogServiceException, cex:
7276
      result.cex = cex
7277
    oprot.writeMessageBegin("getBestSellersCatalogIds", TMessageType.REPLY, seqid)
7278
    result.write(oprot)
7279
    oprot.writeMessageEnd()
7280
    oprot.trans.flush()
7281
 
7282
  def process_getBestSellersCount(self, seqid, iprot, oprot):
7283
    args = getBestSellersCount_args()
7284
    args.read(iprot)
7285
    iprot.readMessageEnd()
7286
    result = getBestSellersCount_result()
7287
    try:
7288
      result.success = self._handler.getBestSellersCount()
7289
    except CatalogServiceException, cex:
7290
      result.cex = cex
7291
    oprot.writeMessageBegin("getBestSellersCount", TMessageType.REPLY, seqid)
7292
    result.write(oprot)
7293
    oprot.writeMessageEnd()
7294
    oprot.trans.flush()
7295
 
7296
  def process_getBestDeals(self, seqid, iprot, oprot):
7297
    args = getBestDeals_args()
7298
    args.read(iprot)
7299
    iprot.readMessageEnd()
7300
    result = getBestDeals_result()
7301
    try:
7302
      result.success = self._handler.getBestDeals()
7303
    except CatalogServiceException, isex:
7304
      result.isex = isex
7305
    oprot.writeMessageBegin("getBestDeals", TMessageType.REPLY, seqid)
7306
    result.write(oprot)
7307
    oprot.writeMessageEnd()
7308
    oprot.trans.flush()
7309
 
7310
  def process_getBestDealsCatalogIds(self, seqid, iprot, oprot):
7311
    args = getBestDealsCatalogIds_args()
7312
    args.read(iprot)
7313
    iprot.readMessageEnd()
7314
    result = getBestDealsCatalogIds_result()
7315
    try:
7316
      result.success = self._handler.getBestDealsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7317
    except CatalogServiceException, cex:
7318
      result.cex = cex
7319
    oprot.writeMessageBegin("getBestDealsCatalogIds", TMessageType.REPLY, seqid)
7320
    result.write(oprot)
7321
    oprot.writeMessageEnd()
7322
    oprot.trans.flush()
7323
 
7324
  def process_getBestDealsCount(self, seqid, iprot, oprot):
7325
    args = getBestDealsCount_args()
7326
    args.read(iprot)
7327
    iprot.readMessageEnd()
7328
    result = getBestDealsCount_result()
7329
    try:
7330
      result.success = self._handler.getBestDealsCount()
7331
    except CatalogServiceException, cex:
7332
      result.cex = cex
7333
    oprot.writeMessageBegin("getBestDealsCount", TMessageType.REPLY, seqid)
7334
    result.write(oprot)
7335
    oprot.writeMessageEnd()
7336
    oprot.trans.flush()
7337
 
7338
  def process_getComingSoon(self, seqid, iprot, oprot):
7339
    args = getComingSoon_args()
7340
    args.read(iprot)
7341
    iprot.readMessageEnd()
7342
    result = getComingSoon_result()
7343
    try:
7344
      result.success = self._handler.getComingSoon()
7345
    except CatalogServiceException, isex:
7346
      result.isex = isex
7347
    oprot.writeMessageBegin("getComingSoon", TMessageType.REPLY, seqid)
7348
    result.write(oprot)
7349
    oprot.writeMessageEnd()
7350
    oprot.trans.flush()
7351
 
7352
  def process_getComingSoonCatalogIds(self, seqid, iprot, oprot):
7353
    args = getComingSoonCatalogIds_args()
7354
    args.read(iprot)
7355
    iprot.readMessageEnd()
7356
    result = getComingSoonCatalogIds_result()
7357
    try:
7358
      result.success = self._handler.getComingSoonCatalogIds(args.beginIndex, args.totalItems, args.brand, args.category)
7359
    except CatalogServiceException, cex:
7360
      result.cex = cex
7361
    oprot.writeMessageBegin("getComingSoonCatalogIds", TMessageType.REPLY, seqid)
7362
    result.write(oprot)
7363
    oprot.writeMessageEnd()
7364
    oprot.trans.flush()
7365
 
7366
  def process_getComingSoonCount(self, seqid, iprot, oprot):
7367
    args = getComingSoonCount_args()
7368
    args.read(iprot)
7369
    iprot.readMessageEnd()
7370
    result = getComingSoonCount_result()
7371
    try:
7372
      result.success = self._handler.getComingSoonCount()
7373
    except CatalogServiceException, cex:
7374
      result.cex = cex
7375
    oprot.writeMessageBegin("getComingSoonCount", TMessageType.REPLY, seqid)
7376
    result.write(oprot)
7377
    oprot.writeMessageEnd()
7378
    oprot.trans.flush()
7379
 
7380
  def process_getLatestArrivals(self, seqid, iprot, oprot):
7381
    args = getLatestArrivals_args()
7382
    args.read(iprot)
7383
    iprot.readMessageEnd()
7384
    result = getLatestArrivals_result()
7385
    try:
7386
      result.success = self._handler.getLatestArrivals()
7387
    except CatalogServiceException, isex:
7388
      result.isex = isex
7389
    oprot.writeMessageBegin("getLatestArrivals", TMessageType.REPLY, seqid)
7390
    result.write(oprot)
7391
    oprot.writeMessageEnd()
7392
    oprot.trans.flush()
7393
 
7394
  def process_getLatestArrivalsCatalogIds(self, seqid, iprot, oprot):
7395
    args = getLatestArrivalsCatalogIds_args()
7396
    args.read(iprot)
7397
    iprot.readMessageEnd()
7398
    result = getLatestArrivalsCatalogIds_result()
7399
    try:
7400
      result.success = self._handler.getLatestArrivalsCatalogIds(args.beginIndex, args.totalItems, args.brand, args.categories)
7401
    except CatalogServiceException, cex:
7402
      result.cex = cex
7403
    oprot.writeMessageBegin("getLatestArrivalsCatalogIds", TMessageType.REPLY, seqid)
7404
    result.write(oprot)
7405
    oprot.writeMessageEnd()
7406
    oprot.trans.flush()
7407
 
7408
  def process_getLatestArrivalsCount(self, seqid, iprot, oprot):
7409
    args = getLatestArrivalsCount_args()
7410
    args.read(iprot)
7411
    iprot.readMessageEnd()
7412
    result = getLatestArrivalsCount_result()
7413
    try:
7414
      result.success = self._handler.getLatestArrivalsCount()
7415
    except CatalogServiceException, cex:
7416
      result.cex = cex
7417
    oprot.writeMessageBegin("getLatestArrivalsCount", TMessageType.REPLY, seqid)
7418
    result.write(oprot)
7419
    oprot.writeMessageEnd()
7420
    oprot.trans.flush()
7421
 
7422
  def process_generateNewEntityID(self, seqid, iprot, oprot):
7423
    args = generateNewEntityID_args()
7424
    args.read(iprot)
7425
    iprot.readMessageEnd()
7426
    result = generateNewEntityID_result()
7427
    result.success = self._handler.generateNewEntityID()
7428
    oprot.writeMessageBegin("generateNewEntityID", TMessageType.REPLY, seqid)
7429
    result.write(oprot)
7430
    oprot.writeMessageEnd()
7431
    oprot.trans.flush()
7432
 
7433
  def process_addCategory(self, seqid, iprot, oprot):
7434
    args = addCategory_args()
7435
    args.read(iprot)
7436
    iprot.readMessageEnd()
7437
    result = addCategory_result()
7438
    result.success = self._handler.addCategory(args.category)
7439
    oprot.writeMessageBegin("addCategory", TMessageType.REPLY, seqid)
7440
    result.write(oprot)
7441
    oprot.writeMessageEnd()
7442
    oprot.trans.flush()
7443
 
7444
  def process_getCategory(self, seqid, iprot, oprot):
7445
    args = getCategory_args()
7446
    args.read(iprot)
7447
    iprot.readMessageEnd()
7448
    result = getCategory_result()
7449
    result.success = self._handler.getCategory(args.id)
7450
    oprot.writeMessageBegin("getCategory", TMessageType.REPLY, seqid)
7451
    result.write(oprot)
7452
    oprot.writeMessageEnd()
7453
    oprot.trans.flush()
7454
 
7455
  def process_getAllCategories(self, seqid, iprot, oprot):
7456
    args = getAllCategories_args()
7457
    args.read(iprot)
7458
    iprot.readMessageEnd()
7459
    result = getAllCategories_result()
7460
    result.success = self._handler.getAllCategories()
7461
    oprot.writeMessageBegin("getAllCategories", TMessageType.REPLY, seqid)
7462
    result.write(oprot)
7463
    oprot.writeMessageEnd()
7464
    oprot.trans.flush()
7465
 
7466
  def process_getAllSimilarItems(self, seqid, iprot, oprot):
7467
    args = getAllSimilarItems_args()
7468
    args.read(iprot)
7469
    iprot.readMessageEnd()
7470
    result = getAllSimilarItems_result()
7471
    result.success = self._handler.getAllSimilarItems(args.itemId)
7472
    oprot.writeMessageBegin("getAllSimilarItems", TMessageType.REPLY, seqid)
7473
    result.write(oprot)
7474
    oprot.writeMessageEnd()
7475
    oprot.trans.flush()
7476
 
7477
  def process_addSimilarItem(self, seqid, iprot, oprot):
7478
    args = addSimilarItem_args()
7479
    args.read(iprot)
7480
    iprot.readMessageEnd()
7481
    result = addSimilarItem_result()
7482
    try:
7483
      result.success = self._handler.addSimilarItem(args.itemId, args.catalogItemId)
7484
    except CatalogServiceException, cex:
7485
      result.cex = cex
7486
    oprot.writeMessageBegin("addSimilarItem", TMessageType.REPLY, seqid)
7487
    result.write(oprot)
7488
    oprot.writeMessageEnd()
7489
    oprot.trans.flush()
7490
 
6512 kshitij.so 7491
  def process_addTag(self, seqid, iprot, oprot):
7492
    args = addTag_args()
7493
    args.read(iprot)
7494
    iprot.readMessageEnd()
7495
    result = addTag_result()
7496
    result.success = self._handler.addTag(args.displayName, args.itemId)
7497
    oprot.writeMessageBegin("addTag", TMessageType.REPLY, seqid)
7498
    result.write(oprot)
7499
    oprot.writeMessageEnd()
7500
    oprot.trans.flush()
7501
 
7502
  def process_deleteEntityTag(self, seqid, iprot, oprot):
7503
    args = deleteEntityTag_args()
7504
    args.read(iprot)
7505
    iprot.readMessageEnd()
7506
    result = deleteEntityTag_result()
7507
    result.success = self._handler.deleteEntityTag(args.displayName, args.itemId)
7508
    oprot.writeMessageBegin("deleteEntityTag", TMessageType.REPLY, seqid)
7509
    result.write(oprot)
7510
    oprot.writeMessageEnd()
7511
    oprot.trans.flush()
7512
 
7513
  def process_deleteTag(self, seqid, iprot, oprot):
7514
    args = deleteTag_args()
7515
    args.read(iprot)
7516
    iprot.readMessageEnd()
7517
    result = deleteTag_result()
7518
    result.success = self._handler.deleteTag(args.displayName)
7519
    oprot.writeMessageBegin("deleteTag", TMessageType.REPLY, seqid)
7520
    result.write(oprot)
7521
    oprot.writeMessageEnd()
7522
    oprot.trans.flush()
7523
 
7524
  def process_getAllTags(self, seqid, iprot, oprot):
7525
    args = getAllTags_args()
7526
    args.read(iprot)
7527
    iprot.readMessageEnd()
7528
    result = getAllTags_result()
7529
    result.success = self._handler.getAllTags()
7530
    oprot.writeMessageBegin("getAllTags", TMessageType.REPLY, seqid)
7531
    result.write(oprot)
7532
    oprot.writeMessageEnd()
7533
    oprot.trans.flush()
7534
 
7535
  def process_getAllEntitiesByTagName(self, seqid, iprot, oprot):
7536
    args = getAllEntitiesByTagName_args()
7537
    args.read(iprot)
7538
    iprot.readMessageEnd()
7539
    result = getAllEntitiesByTagName_result()
7540
    result.success = self._handler.getAllEntitiesByTagName(args.displayName)
7541
    oprot.writeMessageBegin("getAllEntitiesByTagName", TMessageType.REPLY, seqid)
7542
    result.write(oprot)
7543
    oprot.writeMessageEnd()
7544
    oprot.trans.flush()
7545
 
6845 amit.gupta 7546
  def process_getAllEntityTags(self, seqid, iprot, oprot):
7547
    args = getAllEntityTags_args()
7548
    args.read(iprot)
7549
    iprot.readMessageEnd()
7550
    result = getAllEntityTags_result()
7551
    result.success = self._handler.getAllEntityTags()
7552
    oprot.writeMessageBegin("getAllEntityTags", TMessageType.REPLY, seqid)
7553
    result.write(oprot)
7554
    oprot.writeMessageEnd()
7555
    oprot.trans.flush()
7556
 
6850 kshitij.so 7557
  def process_addBanner(self, seqid, iprot, oprot):
7558
    args = addBanner_args()
7559
    args.read(iprot)
7560
    iprot.readMessageEnd()
7561
    result = addBanner_result()
10097 kshitij.so 7562
    result.success = self._handler.addBanner(args.bannerCongregate)
6850 kshitij.so 7563
    oprot.writeMessageBegin("addBanner", TMessageType.REPLY, seqid)
7564
    result.write(oprot)
7565
    oprot.writeMessageEnd()
7566
    oprot.trans.flush()
7567
 
8579 kshitij.so 7568
  def process_updateBanner(self, seqid, iprot, oprot):
7569
    args = updateBanner_args()
7570
    args.read(iprot)
7571
    iprot.readMessageEnd()
7572
    result = updateBanner_result()
7573
    result.success = self._handler.updateBanner(args.banner)
7574
    oprot.writeMessageBegin("updateBanner", TMessageType.REPLY, seqid)
7575
    result.write(oprot)
7576
    oprot.writeMessageEnd()
7577
    oprot.trans.flush()
7578
 
6850 kshitij.so 7579
  def process_getAllBanners(self, seqid, iprot, oprot):
7580
    args = getAllBanners_args()
7581
    args.read(iprot)
7582
    iprot.readMessageEnd()
7583
    result = getAllBanners_result()
7584
    result.success = self._handler.getAllBanners()
7585
    oprot.writeMessageBegin("getAllBanners", TMessageType.REPLY, seqid)
7586
    result.write(oprot)
7587
    oprot.writeMessageEnd()
7588
    oprot.trans.flush()
7589
 
7590
  def process_deleteBanner(self, seqid, iprot, oprot):
7591
    args = deleteBanner_args()
7592
    args.read(iprot)
7593
    iprot.readMessageEnd()
7594
    result = deleteBanner_result()
9155 kshitij.so 7595
    result.success = self._handler.deleteBanner(args.bannerName, args.bannerType)
6850 kshitij.so 7596
    oprot.writeMessageBegin("deleteBanner", TMessageType.REPLY, seqid)
7597
    result.write(oprot)
7598
    oprot.writeMessageEnd()
7599
    oprot.trans.flush()
7600
 
7601
  def process_getBannerDetails(self, seqid, iprot, oprot):
7602
    args = getBannerDetails_args()
7603
    args.read(iprot)
7604
    iprot.readMessageEnd()
7605
    result = getBannerDetails_result()
9155 kshitij.so 7606
    result.success = self._handler.getBannerDetails(args.bannerName, args.bannerType)
6850 kshitij.so 7607
    oprot.writeMessageBegin("getBannerDetails", TMessageType.REPLY, seqid)
7608
    result.write(oprot)
7609
    oprot.writeMessageEnd()
7610
    oprot.trans.flush()
7611
 
7612
  def process_getActiveBanners(self, seqid, iprot, oprot):
7613
    args = getActiveBanners_args()
7614
    args.read(iprot)
7615
    iprot.readMessageEnd()
7616
    result = getActiveBanners_result()
7617
    result.success = self._handler.getActiveBanners()
7618
    oprot.writeMessageBegin("getActiveBanners", TMessageType.REPLY, seqid)
7619
    result.write(oprot)
7620
    oprot.writeMessageEnd()
7621
    oprot.trans.flush()
7622
 
6849 kshitij.so 7623
  def process_addBannerMap(self, seqid, iprot, oprot):
7624
    args = addBannerMap_args()
7625
    args.read(iprot)
7626
    iprot.readMessageEnd()
7627
    result = addBannerMap_result()
8579 kshitij.so 7628
    result.success = self._handler.addBannerMap(args.bannerMaps)
6849 kshitij.so 7629
    oprot.writeMessageBegin("addBannerMap", TMessageType.REPLY, seqid)
7630
    result.write(oprot)
7631
    oprot.writeMessageEnd()
7632
    oprot.trans.flush()
7633
 
8579 kshitij.so 7634
  def process_updateBannerMap(self, seqid, iprot, oprot):
7635
    args = updateBannerMap_args()
7636
    args.read(iprot)
7637
    iprot.readMessageEnd()
7638
    result = updateBannerMap_result()
7639
    result.success = self._handler.updateBannerMap(args.bannerMap)
7640
    oprot.writeMessageBegin("updateBannerMap", TMessageType.REPLY, seqid)
7641
    result.write(oprot)
7642
    oprot.writeMessageEnd()
7643
    oprot.trans.flush()
7644
 
6849 kshitij.so 7645
  def process_deleteBannerMap(self, seqid, iprot, oprot):
7646
    args = deleteBannerMap_args()
7647
    args.read(iprot)
7648
    iprot.readMessageEnd()
7649
    result = deleteBannerMap_result()
7650
    result.success = self._handler.deleteBannerMap(args.bannerName)
7651
    oprot.writeMessageBegin("deleteBannerMap", TMessageType.REPLY, seqid)
7652
    result.write(oprot)
7653
    oprot.writeMessageEnd()
7654
    oprot.trans.flush()
7655
 
7656
  def process_getBannerMapDetails(self, seqid, iprot, oprot):
7657
    args = getBannerMapDetails_args()
7658
    args.read(iprot)
7659
    iprot.readMessageEnd()
7660
    result = getBannerMapDetails_result()
9155 kshitij.so 7661
    result.success = self._handler.getBannerMapDetails(args.bannerName, args.bannerType)
6849 kshitij.so 7662
    oprot.writeMessageBegin("getBannerMapDetails", TMessageType.REPLY, seqid)
7663
    result.write(oprot)
7664
    oprot.writeMessageEnd()
7665
    oprot.trans.flush()
7666
 
8579 kshitij.so 7667
  def process_addBannerUri(self, seqid, iprot, oprot):
7668
    args = addBannerUri_args()
7669
    args.read(iprot)
7670
    iprot.readMessageEnd()
7671
    result = addBannerUri_result()
7672
    self._handler.addBannerUri(args.bannerUriMappings)
7673
    oprot.writeMessageBegin("addBannerUri", TMessageType.REPLY, seqid)
7674
    result.write(oprot)
7675
    oprot.writeMessageEnd()
7676
    oprot.trans.flush()
7677
 
7678
  def process_getUriMapping(self, seqid, iprot, oprot):
7679
    args = getUriMapping_args()
7680
    args.read(iprot)
7681
    iprot.readMessageEnd()
7682
    result = getUriMapping_result()
9155 kshitij.so 7683
    result.success = self._handler.getUriMapping(args.bannerName, args.bannerType)
8579 kshitij.so 7684
    oprot.writeMessageBegin("getUriMapping", TMessageType.REPLY, seqid)
7685
    result.write(oprot)
7686
    oprot.writeMessageEnd()
7687
    oprot.trans.flush()
7688
 
7689
  def process_addCampaign(self, seqid, iprot, oprot):
7690
    args = addCampaign_args()
7691
    args.read(iprot)
7692
    iprot.readMessageEnd()
7693
    result = addCampaign_result()
7694
    self._handler.addCampaign(args.campaign)
7695
    oprot.writeMessageBegin("addCampaign", TMessageType.REPLY, seqid)
7696
    result.write(oprot)
7697
    oprot.writeMessageEnd()
7698
    oprot.trans.flush()
7699
 
7700
  def process_getCampaigns(self, seqid, iprot, oprot):
7701
    args = getCampaigns_args()
7702
    args.read(iprot)
7703
    iprot.readMessageEnd()
7704
    result = getCampaigns_result()
7705
    result.success = self._handler.getCampaigns(args.campaignName)
7706
    oprot.writeMessageBegin("getCampaigns", TMessageType.REPLY, seqid)
7707
    result.write(oprot)
7708
    oprot.writeMessageEnd()
7709
    oprot.trans.flush()
7710
 
7711
  def process_deleteCampaign(self, seqid, iprot, oprot):
7712
    args = deleteCampaign_args()
7713
    args.read(iprot)
7714
    iprot.readMessageEnd()
7715
    result = deleteCampaign_result()
7716
    self._handler.deleteCampaign(args.campaignId)
7717
    oprot.writeMessageBegin("deleteCampaign", TMessageType.REPLY, seqid)
7718
    result.write(oprot)
7719
    oprot.writeMessageEnd()
7720
    oprot.trans.flush()
7721
 
7722
  def process_getAllCampaigns(self, seqid, iprot, oprot):
7723
    args = getAllCampaigns_args()
7724
    args.read(iprot)
7725
    iprot.readMessageEnd()
7726
    result = getAllCampaigns_result()
7727
    result.success = self._handler.getAllCampaigns()
7728
    oprot.writeMessageBegin("getAllCampaigns", TMessageType.REPLY, seqid)
7729
    result.write(oprot)
7730
    oprot.writeMessageEnd()
7731
    oprot.trans.flush()
7732
 
9155 kshitij.so 7733
  def process_getActiveBannersForMobileSite(self, seqid, iprot, oprot):
7734
    args = getActiveBannersForMobileSite_args()
7735
    args.read(iprot)
7736
    iprot.readMessageEnd()
7737
    result = getActiveBannersForMobileSite_result()
7738
    result.success = self._handler.getActiveBannersForMobileSite()
7739
    oprot.writeMessageBegin("getActiveBannersForMobileSite", TMessageType.REPLY, seqid)
7740
    result.write(oprot)
7741
    oprot.writeMessageEnd()
7742
    oprot.trans.flush()
7743
 
5944 mandeep.dh 7744
  def process_deleteSimilarItem(self, seqid, iprot, oprot):
7745
    args = deleteSimilarItem_args()
7746
    args.read(iprot)
7747
    iprot.readMessageEnd()
7748
    result = deleteSimilarItem_result()
7749
    try:
7750
      result.success = self._handler.deleteSimilarItem(args.itemId, args.catalogItemId)
7751
    except CatalogServiceException, cex:
7752
      result.cex = cex
7753
    oprot.writeMessageBegin("deleteSimilarItem", TMessageType.REPLY, seqid)
7754
    result.write(oprot)
7755
    oprot.writeMessageEnd()
7756
    oprot.trans.flush()
7757
 
7758
  def process_checkSimilarItem(self, seqid, iprot, oprot):
7759
    args = checkSimilarItem_args()
7760
    args.read(iprot)
7761
    iprot.readMessageEnd()
7762
    result = checkSimilarItem_result()
7763
    result.success = self._handler.checkSimilarItem(args.brand, args.modelNumber, args.modelName, args.color)
7764
    oprot.writeMessageBegin("checkSimilarItem", TMessageType.REPLY, seqid)
7765
    result.write(oprot)
7766
    oprot.writeMessageEnd()
7767
    oprot.trans.flush()
7768
 
7769
  def process_validateRiskyStatus(self, seqid, iprot, oprot):
7770
    args = validateRiskyStatus_args()
7771
    args.read(iprot)
7772
    iprot.readMessageEnd()
7773
    result = validateRiskyStatus_result()
7774
    self._handler.validateRiskyStatus(args.itemId)
7775
    oprot.writeMessageBegin("validateRiskyStatus", TMessageType.REPLY, seqid)
7776
    result.write(oprot)
7777
    oprot.writeMessageEnd()
7778
    oprot.trans.flush()
7779
 
7780
  def process_changeItemRiskyFlag(self, seqid, iprot, oprot):
7781
    args = changeItemRiskyFlag_args()
7782
    args.read(iprot)
7783
    iprot.readMessageEnd()
7784
    result = changeItemRiskyFlag_result()
7785
    self._handler.changeItemRiskyFlag(args.itemId, args.risky)
7786
    oprot.writeMessageBegin("changeItemRiskyFlag", TMessageType.REPLY, seqid)
7787
    result.write(oprot)
7788
    oprot.writeMessageEnd()
7789
    oprot.trans.flush()
7790
 
7791
  def process_getItemsByRiskyFlag(self, seqid, iprot, oprot):
7792
    args = getItemsByRiskyFlag_args()
7793
    args.read(iprot)
7794
    iprot.readMessageEnd()
7795
    result = getItemsByRiskyFlag_result()
7796
    result.success = self._handler.getItemsByRiskyFlag()
7797
    oprot.writeMessageBegin("getItemsByRiskyFlag", TMessageType.REPLY, seqid)
7798
    result.write(oprot)
7799
    oprot.writeMessageEnd()
7800
    oprot.trans.flush()
7801
 
7802
  def process_getItemsForMasterSheet(self, seqid, iprot, oprot):
7803
    args = getItemsForMasterSheet_args()
7804
    args.read(iprot)
7805
    iprot.readMessageEnd()
7806
    result = getItemsForMasterSheet_result()
7807
    result.success = self._handler.getItemsForMasterSheet(args.category, args.brand)
7808
    oprot.writeMessageBegin("getItemsForMasterSheet", TMessageType.REPLY, seqid)
7809
    result.write(oprot)
7810
    oprot.writeMessageEnd()
7811
    oprot.trans.flush()
7812
 
7813
  def process_getSimilarItemsCatalogIds(self, seqid, iprot, oprot):
7814
    args = getSimilarItemsCatalogIds_args()
7815
    args.read(iprot)
7816
    iprot.readMessageEnd()
7817
    result = getSimilarItemsCatalogIds_result()
7818
    result.success = self._handler.getSimilarItemsCatalogIds(args.beginIndex, args.totalItems, args.itemId)
7819
    oprot.writeMessageBegin("getSimilarItemsCatalogIds", TMessageType.REPLY, seqid)
7820
    result.write(oprot)
7821
    oprot.writeMessageEnd()
7822
    oprot.trans.flush()
7823
 
7824
  def process_addProductNotification(self, seqid, iprot, oprot):
7825
    args = addProductNotification_args()
7826
    args.read(iprot)
7827
    iprot.readMessageEnd()
7828
    result = addProductNotification_result()
7829
    result.success = self._handler.addProductNotification(args.itemId, args.email)
7830
    oprot.writeMessageBegin("addProductNotification", TMessageType.REPLY, seqid)
7831
    result.write(oprot)
7832
    oprot.writeMessageEnd()
7833
    oprot.trans.flush()
7834
 
7835
  def process_sendProductNotifications(self, seqid, iprot, oprot):
7836
    args = sendProductNotifications_args()
7837
    args.read(iprot)
7838
    iprot.readMessageEnd()
7839
    result = sendProductNotifications_result()
7840
    result.success = self._handler.sendProductNotifications()
7841
    oprot.writeMessageBegin("sendProductNotifications", TMessageType.REPLY, seqid)
7842
    result.write(oprot)
7843
    oprot.writeMessageEnd()
7844
    oprot.trans.flush()
7845
 
7846
  def process_getAllBrandsByCategory(self, seqid, iprot, oprot):
7847
    args = getAllBrandsByCategory_args()
7848
    args.read(iprot)
7849
    iprot.readMessageEnd()
7850
    result = getAllBrandsByCategory_result()
7851
    result.success = self._handler.getAllBrandsByCategory(args.categoryId)
7852
    oprot.writeMessageBegin("getAllBrandsByCategory", TMessageType.REPLY, seqid)
7853
    result.write(oprot)
7854
    oprot.writeMessageEnd()
7855
    oprot.trans.flush()
7856
 
7857
  def process_getAllBrands(self, seqid, iprot, oprot):
7858
    args = getAllBrands_args()
7859
    args.read(iprot)
7860
    iprot.readMessageEnd()
7861
    result = getAllBrands_result()
7862
    result.success = self._handler.getAllBrands()
7863
    oprot.writeMessageBegin("getAllBrands", TMessageType.REPLY, seqid)
7864
    result.write(oprot)
7865
    oprot.writeMessageEnd()
7866
    oprot.trans.flush()
7867
 
7868
  def process_getAllSources(self, seqid, iprot, oprot):
7869
    args = getAllSources_args()
7870
    args.read(iprot)
7871
    iprot.readMessageEnd()
7872
    result = getAllSources_result()
7873
    result.success = self._handler.getAllSources()
7874
    oprot.writeMessageBegin("getAllSources", TMessageType.REPLY, seqid)
7875
    result.write(oprot)
7876
    oprot.writeMessageEnd()
7877
    oprot.trans.flush()
7878
 
7879
  def process_getItemPricingBySource(self, seqid, iprot, oprot):
7880
    args = getItemPricingBySource_args()
7881
    args.read(iprot)
7882
    iprot.readMessageEnd()
7883
    result = getItemPricingBySource_result()
7884
    try:
7885
      result.success = self._handler.getItemPricingBySource(args.itemId, args.sourceId)
7886
    except CatalogServiceException, cex:
7887
      result.cex = cex
7888
    oprot.writeMessageBegin("getItemPricingBySource", TMessageType.REPLY, seqid)
7889
    result.write(oprot)
7890
    oprot.writeMessageEnd()
7891
    oprot.trans.flush()
7892
 
7893
  def process_addSourceItemPricing(self, seqid, iprot, oprot):
7894
    args = addSourceItemPricing_args()
7895
    args.read(iprot)
7896
    iprot.readMessageEnd()
7897
    result = addSourceItemPricing_result()
7898
    try:
7899
      self._handler.addSourceItemPricing(args.sourceItemPricing)
7900
    except CatalogServiceException, cex:
7901
      result.cex = cex
7902
    oprot.writeMessageBegin("addSourceItemPricing", TMessageType.REPLY, seqid)
7903
    result.write(oprot)
7904
    oprot.writeMessageEnd()
7905
    oprot.trans.flush()
7906
 
7907
  def process_getAllSourcePricing(self, seqid, iprot, oprot):
7908
    args = getAllSourcePricing_args()
7909
    args.read(iprot)
7910
    iprot.readMessageEnd()
7911
    result = getAllSourcePricing_result()
7912
    try:
7913
      result.success = self._handler.getAllSourcePricing(args.itemId)
7914
    except CatalogServiceException, cex:
7915
      result.cex = cex
7916
    oprot.writeMessageBegin("getAllSourcePricing", TMessageType.REPLY, seqid)
7917
    result.write(oprot)
7918
    oprot.writeMessageEnd()
7919
    oprot.trans.flush()
7920
 
7921
  def process_getItemForSource(self, seqid, iprot, oprot):
7922
    args = getItemForSource_args()
7923
    args.read(iprot)
7924
    iprot.readMessageEnd()
7925
    result = getItemForSource_result()
7926
    try:
7927
      result.success = self._handler.getItemForSource(args.item_id, args.sourceId)
7928
    except CatalogServiceException, cex:
7929
      result.cex = cex
7930
    oprot.writeMessageBegin("getItemForSource", TMessageType.REPLY, seqid)
7931
    result.write(oprot)
7932
    oprot.writeMessageEnd()
7933
    oprot.trans.flush()
7934
 
7935
  def process_searchItemsInRange(self, seqid, iprot, oprot):
7936
    args = searchItemsInRange_args()
7937
    args.read(iprot)
7938
    iprot.readMessageEnd()
7939
    result = searchItemsInRange_result()
7940
    result.success = self._handler.searchItemsInRange(args.searchTerms, args.offset, args.limit)
7941
    oprot.writeMessageBegin("searchItemsInRange", TMessageType.REPLY, seqid)
7942
    result.write(oprot)
7943
    oprot.writeMessageEnd()
7944
    oprot.trans.flush()
7945
 
7946
  def process_getSearchResultCount(self, seqid, iprot, oprot):
7947
    args = getSearchResultCount_args()
7948
    args.read(iprot)
7949
    iprot.readMessageEnd()
7950
    result = getSearchResultCount_result()
7951
    result.success = self._handler.getSearchResultCount(args.searchTerms)
7952
    oprot.writeMessageBegin("getSearchResultCount", TMessageType.REPLY, seqid)
7953
    result.write(oprot)
7954
    oprot.writeMessageEnd()
7955
    oprot.trans.flush()
7956
 
7957
  def process_getProductNotifications(self, seqid, iprot, oprot):
7958
    args = getProductNotifications_args()
7959
    args.read(iprot)
7960
    iprot.readMessageEnd()
7961
    result = getProductNotifications_result()
7962
    result.success = self._handler.getProductNotifications(args.startDateTime)
7963
    oprot.writeMessageBegin("getProductNotifications", TMessageType.REPLY, seqid)
7964
    result.write(oprot)
7965
    oprot.writeMessageEnd()
7966
    oprot.trans.flush()
7967
 
7968
  def process_getProductNotificationRequestCount(self, seqid, iprot, oprot):
7969
    args = getProductNotificationRequestCount_args()
7970
    args.read(iprot)
7971
    iprot.readMessageEnd()
7972
    result = getProductNotificationRequestCount_result()
7897 amar.kumar 7973
    result.success = self._handler.getProductNotificationRequestCount(args.startDateTime, args.categoryId)
5944 mandeep.dh 7974
    oprot.writeMessageBegin("getProductNotificationRequestCount", TMessageType.REPLY, seqid)
7975
    result.write(oprot)
7976
    oprot.writeMessageEnd()
7977
    oprot.trans.flush()
7978
 
7979
  def process_addAuthorizationLog(self, seqid, iprot, oprot):
7980
    args = addAuthorizationLog_args()
7981
    args.read(iprot)
7982
    iprot.readMessageEnd()
7983
    result = addAuthorizationLog_result()
7984
    try:
7985
      result.success = self._handler.addAuthorizationLog(args.itemId, args.username, args.reason)
7986
    except CatalogServiceException, cex:
7987
      result.cex = cex
7988
    oprot.writeMessageBegin("addAuthorizationLog", TMessageType.REPLY, seqid)
7989
    result.write(oprot)
7990
    oprot.writeMessageEnd()
7991
    oprot.trans.flush()
7992
 
7993
  def process_addupdateVoucherForItem(self, seqid, iprot, oprot):
7994
    args = addupdateVoucherForItem_args()
7995
    args.read(iprot)
7996
    iprot.readMessageEnd()
7997
    result = addupdateVoucherForItem_result()
7998
    try:
7999
      result.success = self._handler.addupdateVoucherForItem(args.catalog_item_id, args.voucherType, args.voucherAmount)
8000
    except CatalogServiceException, cex:
8001
      result.cex = cex
8002
    oprot.writeMessageBegin("addupdateVoucherForItem", TMessageType.REPLY, seqid)
8003
    result.write(oprot)
8004
    oprot.writeMessageEnd()
8005
    oprot.trans.flush()
8006
 
8007
  def process_deleteVoucherForItem(self, seqid, iprot, oprot):
8008
    args = deleteVoucherForItem_args()
8009
    args.read(iprot)
8010
    iprot.readMessageEnd()
8011
    result = deleteVoucherForItem_result()
8012
    try:
8013
      result.success = self._handler.deleteVoucherForItem(args.catalog_item_id, args.voucherType)
8014
    except CatalogServiceException, cex:
8015
      result.cex = cex
8016
    oprot.writeMessageBegin("deleteVoucherForItem", TMessageType.REPLY, seqid)
8017
    result.write(oprot)
8018
    oprot.writeMessageEnd()
8019
    oprot.trans.flush()
8020
 
8021
  def process_getVoucherAmount(self, seqid, iprot, oprot):
8022
    args = getVoucherAmount_args()
8023
    args.read(iprot)
8024
    iprot.readMessageEnd()
8025
    result = getVoucherAmount_result()
8026
    result.success = self._handler.getVoucherAmount(args.itemId, args.voucherType)
8027
    oprot.writeMessageBegin("getVoucherAmount", TMessageType.REPLY, seqid)
8028
    result.write(oprot)
8029
    oprot.writeMessageEnd()
8030
    oprot.trans.flush()
8031
 
8032
  def process_getAllItemVouchers(self, seqid, iprot, oprot):
8033
    args = getAllItemVouchers_args()
8034
    args.read(iprot)
8035
    iprot.readMessageEnd()
8036
    result = getAllItemVouchers_result()
8037
    result.success = self._handler.getAllItemVouchers(args.itemId)
8038
    oprot.writeMessageBegin("getAllItemVouchers", TMessageType.REPLY, seqid)
8039
    result.write(oprot)
8040
    oprot.writeMessageEnd()
8041
    oprot.trans.flush()
8042
 
8043
  def process_isValidCatalogItemId(self, seqid, iprot, oprot):
8044
    args = isValidCatalogItemId_args()
8045
    args.read(iprot)
8046
    iprot.readMessageEnd()
8047
    result = isValidCatalogItemId_result()
8048
    result.success = self._handler.isValidCatalogItemId(args.catalog_item_id)
8049
    oprot.writeMessageBegin("isValidCatalogItemId", TMessageType.REPLY, seqid)
8050
    result.write(oprot)
8051
    oprot.writeMessageEnd()
8052
    oprot.trans.flush()
8053
 
6039 amit.gupta 8054
  def process_getVatPercentageForItem(self, seqid, iprot, oprot):
8055
    args = getVatPercentageForItem_args()
8056
    args.read(iprot)
8057
    iprot.readMessageEnd()
8058
    result = getVatPercentageForItem_result()
7340 amit.gupta 8059
    try:
8060
      result.success = self._handler.getVatPercentageForItem(args.itemId, args.stateId, args.price)
8061
    except CatalogServiceException, cex:
8062
      result.cex = cex
6039 amit.gupta 8063
    oprot.writeMessageBegin("getVatPercentageForItem", TMessageType.REPLY, seqid)
8064
    result.write(oprot)
8065
    oprot.writeMessageEnd()
8066
    oprot.trans.flush()
5944 mandeep.dh 8067
 
6039 amit.gupta 8068
  def process_getVatAmountForItem(self, seqid, iprot, oprot):
8069
    args = getVatAmountForItem_args()
8070
    args.read(iprot)
8071
    iprot.readMessageEnd()
8072
    result = getVatAmountForItem_result()
8073
    result.success = self._handler.getVatAmountForItem(args.itemId, args.price)
8074
    oprot.writeMessageBegin("getVatAmountForItem", TMessageType.REPLY, seqid)
8075
    result.write(oprot)
8076
    oprot.writeMessageEnd()
8077
    oprot.trans.flush()
8078
 
6531 vikram.rag 8079
  def process_getAllIgnoredInventoryUpdateItemsList(self, seqid, iprot, oprot):
8080
    args = getAllIgnoredInventoryUpdateItemsList_args()
8081
    args.read(iprot)
8082
    iprot.readMessageEnd()
8083
    result = getAllIgnoredInventoryUpdateItemsList_result()
8084
    result.success = self._handler.getAllIgnoredInventoryUpdateItemsList(args.offset, args.limit)
8085
    oprot.writeMessageBegin("getAllIgnoredInventoryUpdateItemsList", TMessageType.REPLY, seqid)
8086
    result.write(oprot)
8087
    oprot.writeMessageEnd()
8088
    oprot.trans.flush()
6039 amit.gupta 8089
 
6821 amar.kumar 8090
  def process_getAllAliveItems(self, seqid, iprot, oprot):
8091
    args = getAllAliveItems_args()
8092
    args.read(iprot)
8093
    iprot.readMessageEnd()
8094
    result = getAllAliveItems_result()
8095
    result.success = self._handler.getAllAliveItems()
8096
    oprot.writeMessageBegin("getAllAliveItems", TMessageType.REPLY, seqid)
8097
    result.write(oprot)
8098
    oprot.writeMessageEnd()
8099
    oprot.trans.flush()
8100
 
6805 anupam.sin 8101
  def process_getInsuranceAmount(self, seqid, iprot, oprot):
8102
    args = getInsuranceAmount_args()
8103
    args.read(iprot)
8104
    iprot.readMessageEnd()
8105
    result = getInsuranceAmount_result()
6921 anupam.sin 8106
    result.success = self._handler.getInsuranceAmount(args.itemId, args.price, args.insurerId, args.quantity)
6805 anupam.sin 8107
    oprot.writeMessageBegin("getInsuranceAmount", TMessageType.REPLY, seqid)
8108
    result.write(oprot)
8109
    oprot.writeMessageEnd()
8110
    oprot.trans.flush()
6531 vikram.rag 8111
 
6805 anupam.sin 8112
  def process_getInsurer(self, seqid, iprot, oprot):
8113
    args = getInsurer_args()
8114
    args.read(iprot)
8115
    iprot.readMessageEnd()
8116
    result = getInsurer_result()
8117
    result.success = self._handler.getInsurer(args.insurerId)
8118
    oprot.writeMessageBegin("getInsurer", TMessageType.REPLY, seqid)
8119
    result.write(oprot)
8120
    oprot.writeMessageEnd()
8121
    oprot.trans.flush()
8122
 
6838 vikram.rag 8123
  def process_getAllInsurers(self, seqid, iprot, oprot):
8124
    args = getAllInsurers_args()
8125
    args.read(iprot)
8126
    iprot.readMessageEnd()
8127
    result = getAllInsurers_result()
8128
    result.success = self._handler.getAllInsurers()
8129
    oprot.writeMessageBegin("getAllInsurers", TMessageType.REPLY, seqid)
8130
    result.write(oprot)
8131
    oprot.writeMessageEnd()
8132
    oprot.trans.flush()
6805 anupam.sin 8133
 
6962 rajveer 8134
  def process_updateInsuranceDeclaredAmount(self, seqid, iprot, oprot):
8135
    args = updateInsuranceDeclaredAmount_args()
8136
    args.read(iprot)
8137
    iprot.readMessageEnd()
8138
    result = updateInsuranceDeclaredAmount_result()
8139
    self._handler.updateInsuranceDeclaredAmount(args.insurerId, args.amount)
8140
    oprot.writeMessageBegin("updateInsuranceDeclaredAmount", TMessageType.REPLY, seqid)
8141
    result.write(oprot)
8142
    oprot.writeMessageEnd()
8143
    oprot.trans.flush()
6838 vikram.rag 8144
 
7190 amar.kumar 8145
  def process_getFreebieForItem(self, seqid, iprot, oprot):
8146
    args = getFreebieForItem_args()
8147
    args.read(iprot)
8148
    iprot.readMessageEnd()
8149
    result = getFreebieForItem_result()
8150
    result.success = self._handler.getFreebieForItem(args.itemId)
8151
    oprot.writeMessageBegin("getFreebieForItem", TMessageType.REPLY, seqid)
8152
    result.write(oprot)
8153
    oprot.writeMessageEnd()
8154
    oprot.trans.flush()
6962 rajveer 8155
 
7190 amar.kumar 8156
  def process_addOrUpdateFreebieForItem(self, seqid, iprot, oprot):
8157
    args = addOrUpdateFreebieForItem_args()
8158
    args.read(iprot)
8159
    iprot.readMessageEnd()
8160
    result = addOrUpdateFreebieForItem_result()
8161
    self._handler.addOrUpdateFreebieForItem(args.freebieItem)
8162
    oprot.writeMessageBegin("addOrUpdateFreebieForItem", TMessageType.REPLY, seqid)
8163
    result.write(oprot)
8164
    oprot.writeMessageEnd()
8165
    oprot.trans.flush()
8166
 
7272 amit.gupta 8167
  def process_addOrUpdateBrandInfo(self, seqid, iprot, oprot):
8168
    args = addOrUpdateBrandInfo_args()
8169
    args.read(iprot)
8170
    iprot.readMessageEnd()
8171
    result = addOrUpdateBrandInfo_result()
8172
    self._handler.addOrUpdateBrandInfo(args.brandInfo)
8173
    oprot.writeMessageBegin("addOrUpdateBrandInfo", TMessageType.REPLY, seqid)
8174
    result.write(oprot)
8175
    oprot.writeMessageEnd()
8176
    oprot.trans.flush()
8177
 
8178
  def process_getBrandInfo(self, seqid, iprot, oprot):
8179
    args = getBrandInfo_args()
8180
    args.read(iprot)
8181
    iprot.readMessageEnd()
8182
    result = getBrandInfo_result()
8183
    result.success = self._handler.getBrandInfo()
8184
    oprot.writeMessageBegin("getBrandInfo", TMessageType.REPLY, seqid)
8185
    result.write(oprot)
8186
    oprot.writeMessageEnd()
8187
    oprot.trans.flush()
8188
 
7256 rajveer 8189
  def process_getStorePricing(self, seqid, iprot, oprot):
8190
    args = getStorePricing_args()
8191
    args.read(iprot)
8192
    iprot.readMessageEnd()
8193
    result = getStorePricing_result()
8194
    result.success = self._handler.getStorePricing(args.itemId)
8195
    oprot.writeMessageBegin("getStorePricing", TMessageType.REPLY, seqid)
8196
    result.write(oprot)
8197
    oprot.writeMessageEnd()
8198
    oprot.trans.flush()
7190 amar.kumar 8199
 
7306 rajveer 8200
  def process_getStorePricings(self, seqid, iprot, oprot):
8201
    args = getStorePricings_args()
8202
    args.read(iprot)
8203
    iprot.readMessageEnd()
8204
    result = getStorePricings_result()
8205
    result.success = self._handler.getStorePricings(args.itemIds)
8206
    oprot.writeMessageBegin("getStorePricings", TMessageType.REPLY, seqid)
8207
    result.write(oprot)
8208
    oprot.writeMessageEnd()
8209
    oprot.trans.flush()
8210
 
7265 rajveer 8211
  def process_updateStorePricing(self, seqid, iprot, oprot):
8212
    args = updateStorePricing_args()
8213
    args.read(iprot)
8214
    iprot.readMessageEnd()
8215
    result = updateStorePricing_result()
7382 rajveer 8216
    self._handler.updateStorePricing(args.sp, args.allColors)
7265 rajveer 8217
    oprot.writeMessageBegin("updateStorePricing", TMessageType.REPLY, seqid)
8218
    result.write(oprot)
8219
    oprot.writeMessageEnd()
8220
    oprot.trans.flush()
7256 rajveer 8221
 
7281 kshitij.so 8222
  def process_getAllAmazonListedItems(self, seqid, iprot, oprot):
8223
    args = getAllAmazonListedItems_args()
8224
    args.read(iprot)
8225
    iprot.readMessageEnd()
8226
    result = getAllAmazonListedItems_result()
8227
    result.success = self._handler.getAllAmazonListedItems()
8228
    oprot.writeMessageBegin("getAllAmazonListedItems", TMessageType.REPLY, seqid)
8229
    result.write(oprot)
8230
    oprot.writeMessageEnd()
8231
    oprot.trans.flush()
7265 rajveer 8232
 
8619 kshitij.so 8233
  def process_searchAmazonItems(self, seqid, iprot, oprot):
8234
    args = searchAmazonItems_args()
8235
    args.read(iprot)
8236
    iprot.readMessageEnd()
8237
    result = searchAmazonItems_result()
8238
    result.success = self._handler.searchAmazonItems(args.searchTerm, args.offset, args.limit)
8239
    oprot.writeMessageBegin("searchAmazonItems", TMessageType.REPLY, seqid)
8240
    result.write(oprot)
8241
    oprot.writeMessageEnd()
8242
    oprot.trans.flush()
8243
 
8244
  def process_getAmazonSearchResultCount(self, seqid, iprot, oprot):
8245
    args = getAmazonSearchResultCount_args()
8246
    args.read(iprot)
8247
    iprot.readMessageEnd()
8248
    result = getAmazonSearchResultCount_result()
8249
    result.success = self._handler.getAmazonSearchResultCount(args.searchTerm)
8250
    oprot.writeMessageBegin("getAmazonSearchResultCount", TMessageType.REPLY, seqid)
8251
    result.write(oprot)
8252
    oprot.writeMessageEnd()
8253
    oprot.trans.flush()
8254
 
8255
  def process_getCountForAmazonlistedItems(self, seqid, iprot, oprot):
8256
    args = getCountForAmazonlistedItems_args()
8257
    args.read(iprot)
8258
    iprot.readMessageEnd()
8259
    result = getCountForAmazonlistedItems_result()
8260
    result.success = self._handler.getCountForAmazonlistedItems()
8261
    oprot.writeMessageBegin("getCountForAmazonlistedItems", TMessageType.REPLY, seqid)
8262
    result.write(oprot)
8263
    oprot.writeMessageEnd()
8264
    oprot.trans.flush()
8265
 
7281 kshitij.so 8266
  def process_getAmazonItemDetails(self, seqid, iprot, oprot):
8267
    args = getAmazonItemDetails_args()
8268
    args.read(iprot)
8269
    iprot.readMessageEnd()
8270
    result = getAmazonItemDetails_result()
8271
    result.success = self._handler.getAmazonItemDetails(args.itemId)
8272
    oprot.writeMessageBegin("getAmazonItemDetails", TMessageType.REPLY, seqid)
8273
    result.write(oprot)
8274
    oprot.writeMessageEnd()
8275
    oprot.trans.flush()
8276
 
8277
  def process_updateAmazonItemDetails(self, seqid, iprot, oprot):
8278
    args = updateAmazonItemDetails_args()
8279
    args.read(iprot)
8280
    iprot.readMessageEnd()
8281
    result = updateAmazonItemDetails_result()
8168 kshitij.so 8282
    self._handler.updateAmazonItemDetails(args.amazonlisted)
7281 kshitij.so 8283
    oprot.writeMessageBegin("updateAmazonItemDetails", TMessageType.REPLY, seqid)
8284
    result.write(oprot)
8285
    oprot.writeMessageEnd()
8286
    oprot.trans.flush()
8287
 
8288
  def process_addAmazonItem(self, seqid, iprot, oprot):
8289
    args = addAmazonItem_args()
8290
    args.read(iprot)
8291
    iprot.readMessageEnd()
8292
    result = addAmazonItem_result()
8293
    self._handler.addAmazonItem(args.amazonlisted)
8294
    oprot.writeMessageBegin("addAmazonItem", TMessageType.REPLY, seqid)
8295
    result.write(oprot)
8296
    oprot.writeMessageEnd()
8297
    oprot.trans.flush()
8298
 
7291 vikram.rag 8299
  def process_getAsinItems(self, seqid, iprot, oprot):
8300
    args = getAsinItems_args()
8301
    args.read(iprot)
8302
    iprot.readMessageEnd()
8303
    result = getAsinItems_result()
8304
    result.success = self._handler.getAsinItems()
8305
    oprot.writeMessageBegin("getAsinItems", TMessageType.REPLY, seqid)
8306
    result.write(oprot)
8307
    oprot.writeMessageEnd()
8308
    oprot.trans.flush()
7281 kshitij.so 8309
 
7291 vikram.rag 8310
  def process_getAllFbaListedItems(self, seqid, iprot, oprot):
8311
    args = getAllFbaListedItems_args()
8312
    args.read(iprot)
8313
    iprot.readMessageEnd()
8314
    result = getAllFbaListedItems_result()
8315
    result.success = self._handler.getAllFbaListedItems()
8316
    oprot.writeMessageBegin("getAllFbaListedItems", TMessageType.REPLY, seqid)
8317
    result.write(oprot)
8318
    oprot.writeMessageEnd()
8319
    oprot.trans.flush()
8320
 
8321
  def process_getAllNonFbaListedItems(self, seqid, iprot, oprot):
8322
    args = getAllNonFbaListedItems_args()
8323
    args.read(iprot)
8324
    iprot.readMessageEnd()
8325
    result = getAllNonFbaListedItems_result()
8326
    result.success = self._handler.getAllNonFbaListedItems()
8327
    oprot.writeMessageBegin("getAllNonFbaListedItems", TMessageType.REPLY, seqid)
8328
    result.write(oprot)
8329
    oprot.writeMessageEnd()
8330
    oprot.trans.flush()
8331
 
7460 kshitij.so 8332
  def process_updateItemInventory(self, seqid, iprot, oprot):
8333
    args = updateItemInventory_args()
8334
    args.read(iprot)
8335
    iprot.readMessageEnd()
8336
    result = updateItemInventory_result()
8337
    result.success = self._handler.updateItemInventory(args.itemId, args.holdInventory, args.defaultInventory)
8338
    oprot.writeMessageBegin("updateItemInventory", TMessageType.REPLY, seqid)
8339
    result.write(oprot)
8340
    oprot.writeMessageEnd()
8341
    oprot.trans.flush()
7291 vikram.rag 8342
 
7770 kshitij.so 8343
  def process_updateTimestampForAmazonFeeds(self, seqid, iprot, oprot):
8344
    args = updateTimestampForAmazonFeeds_args()
8345
    args.read(iprot)
8346
    iprot.readMessageEnd()
8347
    result = updateTimestampForAmazonFeeds_result()
8348
    result.success = self._handler.updateTimestampForAmazonFeeds(args.type, args.sku, args.timestamp)
8349
    oprot.writeMessageBegin("updateTimestampForAmazonFeeds", TMessageType.REPLY, seqid)
8350
    result.write(oprot)
8351
    oprot.writeMessageEnd()
8352
    oprot.trans.flush()
7460 kshitij.so 8353
 
7897 amar.kumar 8354
  def process_getAllParentCategories(self, seqid, iprot, oprot):
8355
    args = getAllParentCategories_args()
8356
    args.read(iprot)
8357
    iprot.readMessageEnd()
8358
    result = getAllParentCategories_result()
8359
    result.success = self._handler.getAllParentCategories()
8360
    oprot.writeMessageBegin("getAllParentCategories", TMessageType.REPLY, seqid)
8361
    result.write(oprot)
8362
    oprot.writeMessageEnd()
8363
    oprot.trans.flush()
7770 kshitij.so 8364
 
7977 kshitij.so 8365
  def process_addPageViewEvent(self, seqid, iprot, oprot):
8366
    args = addPageViewEvent_args()
8367
    args.read(iprot)
8368
    iprot.readMessageEnd()
8369
    result = addPageViewEvent_result()
8370
    self._handler.addPageViewEvent(args.pageViewEvents)
8371
    oprot.writeMessageBegin("addPageViewEvent", TMessageType.REPLY, seqid)
8372
    result.write(oprot)
8373
    oprot.writeMessageEnd()
8374
    oprot.trans.flush()
7897 amar.kumar 8375
 
7977 kshitij.so 8376
  def process_addCartEvent(self, seqid, iprot, oprot):
8377
    args = addCartEvent_args()
8378
    args.read(iprot)
8379
    iprot.readMessageEnd()
8380
    result = addCartEvent_result()
8381
    self._handler.addCartEvent(args.cartEvents)
8382
    oprot.writeMessageBegin("addCartEvent", TMessageType.REPLY, seqid)
8383
    result.write(oprot)
8384
    oprot.writeMessageEnd()
8385
    oprot.trans.flush()
8386
 
8182 amar.kumar 8387
  def process_addEbayItem(self, seqid, iprot, oprot):
8388
    args = addEbayItem_args()
8389
    args.read(iprot)
8390
    iprot.readMessageEnd()
8391
    result = addEbayItem_result()
8392
    self._handler.addEbayItem(args.ebayItem)
8393
    oprot.writeMessageBegin("addEbayItem", TMessageType.REPLY, seqid)
8394
    result.write(oprot)
8395
    oprot.writeMessageEnd()
8396
    oprot.trans.flush()
8397
 
8398
  def process_getEbayItem(self, seqid, iprot, oprot):
8399
    args = getEbayItem_args()
8400
    args.read(iprot)
8401
    iprot.readMessageEnd()
8402
    result = getEbayItem_result()
8403
    result.success = self._handler.getEbayItem(args.listingId)
8404
    oprot.writeMessageBegin("getEbayItem", TMessageType.REPLY, seqid)
8405
    result.write(oprot)
8406
    oprot.writeMessageEnd()
8407
    oprot.trans.flush()
8408
 
8409
  def process_updateEbayItem(self, seqid, iprot, oprot):
8410
    args = updateEbayItem_args()
8411
    args.read(iprot)
8412
    iprot.readMessageEnd()
8413
    result = updateEbayItem_result()
8414
    self._handler.updateEbayItem(args.ebayItem)
8415
    oprot.writeMessageBegin("updateEbayItem", TMessageType.REPLY, seqid)
8416
    result.write(oprot)
8417
    oprot.writeMessageEnd()
8418
    oprot.trans.flush()
8419
 
8139 kshitij.so 8420
  def process_getAmazonListedItems(self, seqid, iprot, oprot):
8421
    args = getAmazonListedItems_args()
8422
    args.read(iprot)
8423
    iprot.readMessageEnd()
8424
    result = getAmazonListedItems_result()
8425
    result.success = self._handler.getAmazonListedItems(args.offset, args.limit)
8426
    oprot.writeMessageBegin("getAmazonListedItems", TMessageType.REPLY, seqid)
8427
    result.write(oprot)
8428
    oprot.writeMessageEnd()
8429
    oprot.trans.flush()
7977 kshitij.so 8430
 
8168 kshitij.so 8431
  def process_updateAmazonAttributesInBulk(self, seqid, iprot, oprot):
8432
    args = updateAmazonAttributesInBulk_args()
8433
    args.read(iprot)
8434
    iprot.readMessageEnd()
8435
    result = updateAmazonAttributesInBulk_result()
8436
    result.success = self._handler.updateAmazonAttributesInBulk(args.amazonlisted)
8437
    oprot.writeMessageBegin("updateAmazonAttributesInBulk", TMessageType.REPLY, seqid)
8438
    result.write(oprot)
8439
    oprot.writeMessageEnd()
8440
    oprot.trans.flush()
8139 kshitij.so 8441
 
8379 vikram.rag 8442
  def process_getAllItemstoListOnFba(self, seqid, iprot, oprot):
8443
    args = getAllItemstoListOnFba_args()
8444
    args.read(iprot)
8445
    iprot.readMessageEnd()
8446
    result = getAllItemstoListOnFba_result()
8447
    result.success = self._handler.getAllItemstoListOnFba()
8448
    oprot.writeMessageBegin("getAllItemstoListOnFba", TMessageType.REPLY, seqid)
8449
    result.write(oprot)
8450
    oprot.writeMessageEnd()
8451
    oprot.trans.flush()
8168 kshitij.so 8452
 
8379 vikram.rag 8453
  def process_getAllItemstoListOnNonFba(self, seqid, iprot, oprot):
8454
    args = getAllItemstoListOnNonFba_args()
8455
    args.read(iprot)
8456
    iprot.readMessageEnd()
8457
    result = getAllItemstoListOnNonFba_result()
8458
    result.success = self._handler.getAllItemstoListOnNonFba()
8459
    oprot.writeMessageBegin("getAllItemstoListOnNonFba", TMessageType.REPLY, seqid)
8460
    result.write(oprot)
8461
    oprot.writeMessageEnd()
8462
    oprot.trans.flush()
8463
 
8619 kshitij.so 8464
  def process_updateAsin(self, seqid, iprot, oprot):
8465
    args = updateAsin_args()
8466
    args.read(iprot)
8467
    iprot.readMessageEnd()
8468
    result = updateAsin_result()
8469
    self._handler.updateAsin(args.item)
8470
    oprot.writeMessageBegin("updateAsin", TMessageType.REPLY, seqid)
8471
    result.write(oprot)
8472
    oprot.writeMessageEnd()
8473
    oprot.trans.flush()
8616 vikram.rag 8474
 
8739 vikram.rag 8475
  def process_addOrUpdateSnapdealItem(self, seqid, iprot, oprot):
8476
    args = addOrUpdateSnapdealItem_args()
8477
    args.read(iprot)
8478
    iprot.readMessageEnd()
8479
    result = addOrUpdateSnapdealItem_result()
8480
    result.success = self._handler.addOrUpdateSnapdealItem(args.snapdealitem)
8481
    oprot.writeMessageBegin("addOrUpdateSnapdealItem", TMessageType.REPLY, seqid)
8482
    result.write(oprot)
8483
    oprot.writeMessageEnd()
8484
    oprot.trans.flush()
8619 kshitij.so 8485
 
8739 vikram.rag 8486
  def process_getSnapdealItem(self, seqid, iprot, oprot):
8487
    args = getSnapdealItem_args()
8488
    args.read(iprot)
8489
    iprot.readMessageEnd()
8490
    result = getSnapdealItem_result()
8491
    result.success = self._handler.getSnapdealItem(args.item_id)
8492
    oprot.writeMessageBegin("getSnapdealItem", TMessageType.REPLY, seqid)
8493
    result.write(oprot)
8494
    oprot.writeMessageEnd()
8495
    oprot.trans.flush()
8496
 
9242 kshitij.so 8497
  def process_getSnapdealItemDetails(self, seqid, iprot, oprot):
8498
    args = getSnapdealItemDetails_args()
8499
    args.read(iprot)
8500
    iprot.readMessageEnd()
8501
    result = getSnapdealItemDetails_result()
8502
    result.success = self._handler.getSnapdealItemDetails(args.item_id)
8503
    oprot.writeMessageBegin("getSnapdealItemDetails", TMessageType.REPLY, seqid)
8504
    result.write(oprot)
8505
    oprot.writeMessageEnd()
8506
    oprot.trans.flush()
8507
 
8739 vikram.rag 8508
  def process_getAllSnapdealItems(self, seqid, iprot, oprot):
8509
    args = getAllSnapdealItems_args()
8510
    args.read(iprot)
8511
    iprot.readMessageEnd()
8512
    result = getAllSnapdealItems_result()
8513
    result.success = self._handler.getAllSnapdealItems()
8514
    oprot.writeMessageBegin("getAllSnapdealItems", TMessageType.REPLY, seqid)
8515
    result.write(oprot)
8516
    oprot.writeMessageEnd()
8517
    oprot.trans.flush()
8518
 
9242 kshitij.so 8519
  def process_getSnapdealItems(self, seqid, iprot, oprot):
8520
    args = getSnapdealItems_args()
8521
    args.read(iprot)
8522
    iprot.readMessageEnd()
8523
    result = getSnapdealItems_result()
8524
    result.success = self._handler.getSnapdealItems(args.offset, args.limit)
8525
    oprot.writeMessageBegin("getSnapdealItems", TMessageType.REPLY, seqid)
8526
    result.write(oprot)
8527
    oprot.writeMessageEnd()
8528
    oprot.trans.flush()
8739 vikram.rag 8529
 
9242 kshitij.so 8530
  def process_searchSnapdealItems(self, seqid, iprot, oprot):
8531
    args = searchSnapdealItems_args()
8532
    args.read(iprot)
8533
    iprot.readMessageEnd()
8534
    result = searchSnapdealItems_result()
8535
    result.success = self._handler.searchSnapdealItems(args.searchTerm, args.offset, args.limit)
8536
    oprot.writeMessageBegin("searchSnapdealItems", TMessageType.REPLY, seqid)
8537
    result.write(oprot)
8538
    oprot.writeMessageEnd()
8539
    oprot.trans.flush()
8540
 
8541
  def process_getCountForSnapdealItems(self, seqid, iprot, oprot):
8542
    args = getCountForSnapdealItems_args()
8543
    args.read(iprot)
8544
    iprot.readMessageEnd()
8545
    result = getCountForSnapdealItems_result()
8546
    result.success = self._handler.getCountForSnapdealItems()
8547
    oprot.writeMessageBegin("getCountForSnapdealItems", TMessageType.REPLY, seqid)
8548
    result.write(oprot)
8549
    oprot.writeMessageEnd()
8550
    oprot.trans.flush()
8551
 
8552
  def process_getSnapdealSearchResultCount(self, seqid, iprot, oprot):
8553
    args = getSnapdealSearchResultCount_args()
8554
    args.read(iprot)
8555
    iprot.readMessageEnd()
8556
    result = getSnapdealSearchResultCount_result()
8557
    result.success = self._handler.getSnapdealSearchResultCount(args.searchTerm)
8558
    oprot.writeMessageBegin("getSnapdealSearchResultCount", TMessageType.REPLY, seqid)
8559
    result.write(oprot)
8560
    oprot.writeMessageEnd()
8561
    oprot.trans.flush()
8562
 
9299 kshitij.so 8563
  def process_getPrefferedInsurerForItem(self, seqid, iprot, oprot):
8564
    args = getPrefferedInsurerForItem_args()
8565
    args.read(iprot)
8566
    iprot.readMessageEnd()
8567
    result = getPrefferedInsurerForItem_result()
8568
    result.success = self._handler.getPrefferedInsurerForItem(args.itemId, args.insurerType)
8569
    oprot.writeMessageBegin("getPrefferedInsurerForItem", TMessageType.REPLY, seqid)
8570
    result.write(oprot)
8571
    oprot.writeMessageEnd()
8572
    oprot.trans.flush()
9242 kshitij.so 8573
 
9456 vikram.rag 8574
  def process_getSnapdealItembySkuAtSnapdeal(self, seqid, iprot, oprot):
8575
    args = getSnapdealItembySkuAtSnapdeal_args()
8576
    args.read(iprot)
8577
    iprot.readMessageEnd()
8578
    result = getSnapdealItembySkuAtSnapdeal_result()
8579
    result.success = self._handler.getSnapdealItembySkuAtSnapdeal(args.skuAtSnapdeal)
8580
    oprot.writeMessageBegin("getSnapdealItembySkuAtSnapdeal", TMessageType.REPLY, seqid)
8581
    result.write(oprot)
8582
    oprot.writeMessageEnd()
8583
    oprot.trans.flush()
9299 kshitij.so 8584
 
9621 manish.sha 8585
  def process_getProductFeedSubmit(self, seqid, iprot, oprot):
8586
    args = getProductFeedSubmit_args()
8587
    args.read(iprot)
8588
    iprot.readMessageEnd()
8589
    result = getProductFeedSubmit_result()
8590
    try:
8591
      result.success = self._handler.getProductFeedSubmit(args.catalogItemId)
8592
    except CatalogServiceException, cex:
8593
      result.cex = cex
8594
    oprot.writeMessageBegin("getProductFeedSubmit", TMessageType.REPLY, seqid)
8595
    result.write(oprot)
8596
    oprot.writeMessageEnd()
8597
    oprot.trans.flush()
9456 vikram.rag 8598
 
9621 manish.sha 8599
  def process_addProductFeedSubmit(self, seqid, iprot, oprot):
8600
    args = addProductFeedSubmit_args()
8601
    args.read(iprot)
8602
    iprot.readMessageEnd()
8603
    result = addProductFeedSubmit_result()
8604
    try:
8605
      result.success = self._handler.addProductFeedSubmit(args.productFeedSubmit)
8606
    except CatalogServiceException, cex:
8607
      result.cex = cex
8608
    oprot.writeMessageBegin("addProductFeedSubmit", TMessageType.REPLY, seqid)
8609
    result.write(oprot)
8610
    oprot.writeMessageEnd()
8611
    oprot.trans.flush()
8612
 
8613
  def process_updateProductFeedSubmit(self, seqid, iprot, oprot):
8614
    args = updateProductFeedSubmit_args()
8615
    args.read(iprot)
8616
    iprot.readMessageEnd()
8617
    result = updateProductFeedSubmit_result()
8618
    try:
8619
      result.success = self._handler.updateProductFeedSubmit(args.productFeedSubmit)
8620
    except CatalogServiceException, cex:
8621
      result.cex = cex
8622
    oprot.writeMessageBegin("updateProductFeedSubmit", TMessageType.REPLY, seqid)
8623
    result.write(oprot)
8624
    oprot.writeMessageEnd()
8625
    oprot.trans.flush()
8626
 
8627
  def process_deleteProductFeedSubmit(self, seqid, iprot, oprot):
8628
    args = deleteProductFeedSubmit_args()
8629
    args.read(iprot)
8630
    iprot.readMessageEnd()
8631
    result = deleteProductFeedSubmit_result()
8632
    try:
8633
      result.success = self._handler.deleteProductFeedSubmit(args.catalogItemId)
8634
    except CatalogServiceException, cex:
8635
      result.cex = cex
8636
    oprot.writeMessageBegin("deleteProductFeedSubmit", TMessageType.REPLY, seqid)
8637
    result.write(oprot)
8638
    oprot.writeMessageEnd()
8639
    oprot.trans.flush()
8640
 
8641
  def process_getAllProductFeedSubmit(self, seqid, iprot, oprot):
8642
    args = getAllProductFeedSubmit_args()
8643
    args.read(iprot)
8644
    iprot.readMessageEnd()
8645
    result = getAllProductFeedSubmit_result()
8646
    try:
8647
      result.success = self._handler.getAllProductFeedSubmit()
8648
    except CatalogServiceException, cex:
8649
      result.cex = cex
8650
    oprot.writeMessageBegin("getAllProductFeedSubmit", TMessageType.REPLY, seqid)
8651
    result.write(oprot)
8652
    oprot.writeMessageEnd()
8653
    oprot.trans.flush()
8654
 
9724 kshitij.so 8655
  def process_getMarketplacedetailsForItem(self, seqid, iprot, oprot):
8656
    args = getMarketplacedetailsForItem_args()
8657
    args.read(iprot)
8658
    iprot.readMessageEnd()
8659
    result = getMarketplacedetailsForItem_result()
8660
    result.success = self._handler.getMarketplacedetailsForItem(args.itemId, args.sourceId)
8661
    oprot.writeMessageBegin("getMarketplacedetailsForItem", TMessageType.REPLY, seqid)
8662
    result.write(oprot)
8663
    oprot.writeMessageEnd()
8664
    oprot.trans.flush()
9621 manish.sha 8665
 
9724 kshitij.so 8666
  def process_updateMarketplaceAttributesForItem(self, seqid, iprot, oprot):
8667
    args = updateMarketplaceAttributesForItem_args()
8668
    args.read(iprot)
8669
    iprot.readMessageEnd()
8670
    result = updateMarketplaceAttributesForItem_result()
8671
    result.success = self._handler.updateMarketplaceAttributesForItem(args.marketPlaceItem)
8672
    oprot.writeMessageBegin("updateMarketplaceAttributesForItem", TMessageType.REPLY, seqid)
8673
    result.write(oprot)
8674
    oprot.writeMessageEnd()
8675
    oprot.trans.flush()
8676
 
9779 kshitij.so 8677
  def process_getCostingForMarketplace(self, seqid, iprot, oprot):
8678
    args = getCostingForMarketplace_args()
8679
    args.read(iprot)
8680
    iprot.readMessageEnd()
8681
    result = getCostingForMarketplace_result()
8682
    result.success = self._handler.getCostingForMarketplace(args.source, args.item_id)
8683
    oprot.writeMessageBegin("getCostingForMarketplace", TMessageType.REPLY, seqid)
8684
    result.write(oprot)
8685
    oprot.writeMessageEnd()
8686
    oprot.trans.flush()
8687
 
9776 vikram.rag 8688
  def process_getMarketPlaceItemsForPriceUpdate(self, seqid, iprot, oprot):
8689
    args = getMarketPlaceItemsForPriceUpdate_args()
8690
    args.read(iprot)
8691
    iprot.readMessageEnd()
8692
    result = getMarketPlaceItemsForPriceUpdate_result()
8693
    result.success = self._handler.getMarketPlaceItemsForPriceUpdate(args.source)
8694
    oprot.writeMessageBegin("getMarketPlaceItemsForPriceUpdate", TMessageType.REPLY, seqid)
8695
    result.write(oprot)
8696
    oprot.writeMessageEnd()
8697
    oprot.trans.flush()
9724 kshitij.so 8698
 
9776 vikram.rag 8699
  def process_updateMarketPlacePriceUpdateStatus(self, seqid, iprot, oprot):
8700
    args = updateMarketPlacePriceUpdateStatus_args()
8701
    args.read(iprot)
8702
    iprot.readMessageEnd()
8703
    result = updateMarketPlacePriceUpdateStatus_result()
9816 kshitij.so 8704
    self._handler.updateMarketPlacePriceUpdateStatus(args.skulist, args.timestamp, args.source)
9776 vikram.rag 8705
    oprot.writeMessageBegin("updateMarketPlacePriceUpdateStatus", TMessageType.REPLY, seqid)
8706
    result.write(oprot)
8707
    oprot.writeMessageEnd()
8708
    oprot.trans.flush()
8709
 
9861 rajveer 8710
  def process_updateItemHoldInventory(self, seqid, iprot, oprot):
8711
    args = updateItemHoldInventory_args()
8712
    args.read(iprot)
8713
    iprot.readMessageEnd()
8714
    result = updateItemHoldInventory_result()
8715
    self._handler.updateItemHoldInventory(args.itemHoldMap)
8716
    oprot.writeMessageBegin("updateItemHoldInventory", TMessageType.REPLY, seqid)
8717
    result.write(oprot)
8718
    oprot.writeMessageEnd()
8719
    oprot.trans.flush()
9776 vikram.rag 8720
 
9895 vikram.rag 8721
  def process_updateNlcAtMarketplaces(self, seqid, iprot, oprot):
8722
    args = updateNlcAtMarketplaces_args()
8723
    args.read(iprot)
8724
    iprot.readMessageEnd()
8725
    result = updateNlcAtMarketplaces_result()
8726
    self._handler.updateNlcAtMarketplaces(args.item_id, args.vendor_id, args.nlc)
8727
    oprot.writeMessageBegin("updateNlcAtMarketplaces", TMessageType.REPLY, seqid)
8728
    result.write(oprot)
8729
    oprot.writeMessageEnd()
8730
    oprot.trans.flush()
9861 rajveer 8731
 
9945 vikram.rag 8732
  def process_getAllFlipkartItems(self, seqid, iprot, oprot):
8733
    args = getAllFlipkartItems_args()
8734
    args.read(iprot)
8735
    iprot.readMessageEnd()
8736
    result = getAllFlipkartItems_result()
8737
    result.success = self._handler.getAllFlipkartItems()
8738
    oprot.writeMessageBegin("getAllFlipkartItems", TMessageType.REPLY, seqid)
8739
    result.write(oprot)
8740
    oprot.writeMessageEnd()
8741
    oprot.trans.flush()
9895 vikram.rag 8742
 
10097 kshitij.so 8743
  def process_addOrUpdateFlipkartItem(self, seqid, iprot, oprot):
8744
    args = addOrUpdateFlipkartItem_args()
8745
    args.read(iprot)
8746
    iprot.readMessageEnd()
8747
    result = addOrUpdateFlipkartItem_result()
8748
    result.success = self._handler.addOrUpdateFlipkartItem(args.flipkartitem)
8749
    oprot.writeMessageBegin("addOrUpdateFlipkartItem", TMessageType.REPLY, seqid)
8750
    result.write(oprot)
8751
    oprot.writeMessageEnd()
8752
    oprot.trans.flush()
9945 vikram.rag 8753
 
10097 kshitij.so 8754
  def process_getFlipkartItem(self, seqid, iprot, oprot):
8755
    args = getFlipkartItem_args()
8756
    args.read(iprot)
8757
    iprot.readMessageEnd()
8758
    result = getFlipkartItem_result()
8759
    result.success = self._handler.getFlipkartItem(args.item_id)
8760
    oprot.writeMessageBegin("getFlipkartItem", TMessageType.REPLY, seqid)
8761
    result.write(oprot)
8762
    oprot.writeMessageEnd()
8763
    oprot.trans.flush()
8764
 
8765
  def process_getFlipkartItemDetails(self, seqid, iprot, oprot):
8766
    args = getFlipkartItemDetails_args()
8767
    args.read(iprot)
8768
    iprot.readMessageEnd()
8769
    result = getFlipkartItemDetails_result()
8770
    result.success = self._handler.getFlipkartItemDetails(args.item_id)
8771
    oprot.writeMessageBegin("getFlipkartItemDetails", TMessageType.REPLY, seqid)
8772
    result.write(oprot)
8773
    oprot.writeMessageEnd()
8774
    oprot.trans.flush()
8775
 
8776
  def process_getFlipkartItems(self, seqid, iprot, oprot):
8777
    args = getFlipkartItems_args()
8778
    args.read(iprot)
8779
    iprot.readMessageEnd()
8780
    result = getFlipkartItems_result()
8781
    result.success = self._handler.getFlipkartItems(args.offset, args.limit)
8782
    oprot.writeMessageBegin("getFlipkartItems", TMessageType.REPLY, seqid)
8783
    result.write(oprot)
8784
    oprot.writeMessageEnd()
8785
    oprot.trans.flush()
8786
 
8787
  def process_searchFlipkartItems(self, seqid, iprot, oprot):
8788
    args = searchFlipkartItems_args()
8789
    args.read(iprot)
8790
    iprot.readMessageEnd()
8791
    result = searchFlipkartItems_result()
8792
    result.success = self._handler.searchFlipkartItems(args.searchTerm, args.offset, args.limit)
8793
    oprot.writeMessageBegin("searchFlipkartItems", TMessageType.REPLY, seqid)
8794
    result.write(oprot)
8795
    oprot.writeMessageEnd()
8796
    oprot.trans.flush()
8797
 
8798
  def process_getCountForFlipkartItems(self, seqid, iprot, oprot):
8799
    args = getCountForFlipkartItems_args()
8800
    args.read(iprot)
8801
    iprot.readMessageEnd()
8802
    result = getCountForFlipkartItems_result()
8803
    result.success = self._handler.getCountForFlipkartItems()
8804
    oprot.writeMessageBegin("getCountForFlipkartItems", TMessageType.REPLY, seqid)
8805
    result.write(oprot)
8806
    oprot.writeMessageEnd()
8807
    oprot.trans.flush()
8808
 
8809
  def process_getFlipkartSearchResultCount(self, seqid, iprot, oprot):
8810
    args = getFlipkartSearchResultCount_args()
8811
    args.read(iprot)
8812
    iprot.readMessageEnd()
8813
    result = getFlipkartSearchResultCount_result()
8814
    result.success = self._handler.getFlipkartSearchResultCount(args.searchTerm)
8815
    oprot.writeMessageBegin("getFlipkartSearchResultCount", TMessageType.REPLY, seqid)
8816
    result.write(oprot)
8817
    oprot.writeMessageEnd()
8818
    oprot.trans.flush()
8819
 
8820
  def process_getAllFkItems(self, seqid, iprot, oprot):
8821
    args = getAllFkItems_args()
8822
    args.read(iprot)
8823
    iprot.readMessageEnd()
8824
    result = getAllFkItems_result()
8825
    result.success = self._handler.getAllFkItems()
8826
    oprot.writeMessageBegin("getAllFkItems", TMessageType.REPLY, seqid)
8827
    result.write(oprot)
8828
    oprot.writeMessageEnd()
8829
    oprot.trans.flush()
8830
 
10140 vikram.rag 8831
  def process_getFlipkartItemBySkyAtFlipkart(self, seqid, iprot, oprot):
8832
    args = getFlipkartItemBySkyAtFlipkart_args()
8833
    args.read(iprot)
8834
    iprot.readMessageEnd()
8835
    result = getFlipkartItemBySkyAtFlipkart_result()
8836
    result.success = self._handler.getFlipkartItemBySkyAtFlipkart(args.sku)
8837
    oprot.writeMessageBegin("getFlipkartItemBySkyAtFlipkart", TMessageType.REPLY, seqid)
8838
    result.write(oprot)
8839
    oprot.writeMessageEnd()
8840
    oprot.trans.flush()
10097 kshitij.so 8841
 
11015 kshitij.so 8842
  def process_getMarketplaceHistory(self, seqid, iprot, oprot):
8843
    args = getMarketplaceHistory_args()
8844
    args.read(iprot)
8845
    iprot.readMessageEnd()
8846
    result = getMarketplaceHistory_result()
8847
    result.success = self._handler.getMarketplaceHistory(args.source, args.offset, args.itemId)
8848
    oprot.writeMessageBegin("getMarketplaceHistory", TMessageType.REPLY, seqid)
8849
    result.write(oprot)
8850
    oprot.writeMessageEnd()
8851
    oprot.trans.flush()
8852
 
10909 vikram.rag 8853
  def process_getAllFbbListedItems(self, seqid, iprot, oprot):
8854
    args = getAllFbbListedItems_args()
8855
    args.read(iprot)
8856
    iprot.readMessageEnd()
8857
    result = getAllFbbListedItems_result()
8858
    result.success = self._handler.getAllFbbListedItems()
8859
    oprot.writeMessageBegin("getAllFbbListedItems", TMessageType.REPLY, seqid)
8860
    result.write(oprot)
8861
    oprot.writeMessageEnd()
8862
    oprot.trans.flush()
10140 vikram.rag 8863
 
10924 vikram.rag 8864
  def process_getAllFbbPricingItems(self, seqid, iprot, oprot):
8865
    args = getAllFbbPricingItems_args()
8866
    args.read(iprot)
8867
    iprot.readMessageEnd()
8868
    result = getAllFbbPricingItems_result()
8869
    result.success = self._handler.getAllFbbPricingItems()
8870
    oprot.writeMessageBegin("getAllFbbPricingItems", TMessageType.REPLY, seqid)
8871
    result.write(oprot)
8872
    oprot.writeMessageEnd()
8873
    oprot.trans.flush()
10909 vikram.rag 8874
 
11015 kshitij.so 8875
  def process_getCountForMarketplaceHistory(self, seqid, iprot, oprot):
8876
    args = getCountForMarketplaceHistory_args()
8877
    args.read(iprot)
8878
    iprot.readMessageEnd()
8879
    result = getCountForMarketplaceHistory_result()
8880
    result.success = self._handler.getCountForMarketplaceHistory(args.source, args.itemId)
8881
    oprot.writeMessageBegin("getCountForMarketplaceHistory", TMessageType.REPLY, seqid)
8882
    result.write(oprot)
8883
    oprot.writeMessageEnd()
8884
    oprot.trans.flush()
10924 vikram.rag 8885
 
11015 kshitij.so 8886
  def process_getMarketplaceHistoryByDate(self, seqid, iprot, oprot):
8887
    args = getMarketplaceHistoryByDate_args()
8888
    args.read(iprot)
8889
    iprot.readMessageEnd()
8890
    result = getMarketplaceHistoryByDate_result()
8891
    result.success = self._handler.getMarketplaceHistoryByDate(args.source, args.startDate, args.endDate, args.offset, args.limit, args.itemId)
8892
    oprot.writeMessageBegin("getMarketplaceHistoryByDate", TMessageType.REPLY, seqid)
8893
    result.write(oprot)
8894
    oprot.writeMessageEnd()
8895
    oprot.trans.flush()
8896
 
11531 vikram.rag 8897
  def process_getPrivateDealDetails(self, seqid, iprot, oprot):
8898
    args = getPrivateDealDetails_args()
8899
    args.read(iprot)
8900
    iprot.readMessageEnd()
8901
    result = getPrivateDealDetails_result()
8902
    result.success = self._handler.getPrivateDealDetails(args.item_id)
8903
    oprot.writeMessageBegin("getPrivateDealDetails", TMessageType.REPLY, seqid)
8904
    result.write(oprot)
8905
    oprot.writeMessageEnd()
8906
    oprot.trans.flush()
11015 kshitij.so 8907
 
11531 vikram.rag 8908
  def process_getPrivateDealItems(self, seqid, iprot, oprot):
8909
    args = getPrivateDealItems_args()
8910
    args.read(iprot)
8911
    iprot.readMessageEnd()
8912
    result = getPrivateDealItems_result()
8913
    result.success = self._handler.getPrivateDealItems(args.offset, args.limit)
8914
    oprot.writeMessageBegin("getPrivateDealItems", TMessageType.REPLY, seqid)
8915
    result.write(oprot)
8916
    oprot.writeMessageEnd()
8917
    oprot.trans.flush()
8918
 
11592 amit.gupta 8919
  def process_getAllActivePrivateDeals(self, seqid, iprot, oprot):
8920
    args = getAllActivePrivateDeals_args()
8921
    args.read(iprot)
8922
    iprot.readMessageEnd()
8923
    result = getAllActivePrivateDeals_result()
11653 amit.gupta 8924
    result.success = self._handler.getAllActivePrivateDeals(args.itemIds, args.daysDelta)
11592 amit.gupta 8925
    oprot.writeMessageBegin("getAllActivePrivateDeals", TMessageType.REPLY, seqid)
8926
    result.write(oprot)
8927
    oprot.writeMessageEnd()
8928
    oprot.trans.flush()
8929
 
11531 vikram.rag 8930
  def process_addOrUpdatePrivateDeal(self, seqid, iprot, oprot):
8931
    args = addOrUpdatePrivateDeal_args()
8932
    args.read(iprot)
8933
    iprot.readMessageEnd()
8934
    result = addOrUpdatePrivateDeal_result()
8935
    result.success = self._handler.addOrUpdatePrivateDeal(args.privateDeal)
8936
    oprot.writeMessageBegin("addOrUpdatePrivateDeal", TMessageType.REPLY, seqid)
8937
    result.write(oprot)
8938
    oprot.writeMessageEnd()
8939
    oprot.trans.flush()
8940
 
11635 vikram.rag 8941
  def process_getPrivateDealsCatalogIds(self, seqid, iprot, oprot):
8942
    args = getPrivateDealsCatalogIds_args()
8943
    args.read(iprot)
8944
    iprot.readMessageEnd()
8945
    result = getPrivateDealsCatalogIds_result()
8946
    try:
8947
      result.success = self._handler.getPrivateDealsCatalogIds(args.beginIndex, args.totalItems)
8948
    except CatalogServiceException, cex:
8949
      result.cex = cex
8950
    oprot.writeMessageBegin("getPrivateDealsCatalogIds", TMessageType.REPLY, seqid)
8951
    result.write(oprot)
8952
    oprot.writeMessageEnd()
8953
    oprot.trans.flush()
11531 vikram.rag 8954
 
11645 amit.gupta 8955
  def process_getPrivateDealsCount(self, seqid, iprot, oprot):
8956
    args = getPrivateDealsCount_args()
8957
    args.read(iprot)
8958
    iprot.readMessageEnd()
8959
    result = getPrivateDealsCount_result()
8960
    result.success = self._handler.getPrivateDealsCount()
8961
    oprot.writeMessageBegin("getPrivateDealsCount", TMessageType.REPLY, seqid)
8962
    result.write(oprot)
8963
    oprot.writeMessageEnd()
8964
    oprot.trans.flush()
11635 vikram.rag 8965
 
11905 kshitij.so 8966
  def process_getAmazonOutSyncItems(self, seqid, iprot, oprot):
8967
    args = getAmazonOutSyncItems_args()
8968
    args.read(iprot)
8969
    iprot.readMessageEnd()
8970
    result = getAmazonOutSyncItems_result()
8971
    result.success = self._handler.getAmazonOutSyncItems(args.item_id)
8972
    oprot.writeMessageBegin("getAmazonOutSyncItems", TMessageType.REPLY, seqid)
8973
    result.write(oprot)
8974
    oprot.writeMessageEnd()
8975
    oprot.trans.flush()
11645 amit.gupta 8976
 
11905 kshitij.so 8977
  def process_getAllPrivateDealsComparison(self, seqid, iprot, oprot):
8978
    args = getAllPrivateDealsComparison_args()
8979
    args.read(iprot)
8980
    iprot.readMessageEnd()
8981
    result = getAllPrivateDealsComparison_result()
8982
    result.success = self._handler.getAllPrivateDealsComparison()
8983
    oprot.writeMessageBegin("getAllPrivateDealsComparison", TMessageType.REPLY, seqid)
8984
    result.write(oprot)
8985
    oprot.writeMessageEnd()
8986
    oprot.trans.flush()
8987
 
12133 kshitij.so 8988
  def process_getAllSnapdealMarketplaceItem(self, seqid, iprot, oprot):
8989
    args = getAllSnapdealMarketplaceItem_args()
8990
    args.read(iprot)
8991
    iprot.readMessageEnd()
8992
    result = getAllSnapdealMarketplaceItem_result()
8993
    result.success = self._handler.getAllSnapdealMarketplaceItem()
8994
    oprot.writeMessageBegin("getAllSnapdealMarketplaceItem", TMessageType.REPLY, seqid)
8995
    result.write(oprot)
8996
    oprot.writeMessageEnd()
8997
    oprot.trans.flush()
11905 kshitij.so 8998
 
12133 kshitij.so 8999
  def process_getAllFlipkartMarketplaceItem(self, seqid, iprot, oprot):
9000
    args = getAllFlipkartMarketplaceItem_args()
9001
    args.read(iprot)
9002
    iprot.readMessageEnd()
9003
    result = getAllFlipkartMarketplaceItem_result()
9004
    result.success = self._handler.getAllFlipkartMarketplaceItem()
9005
    oprot.writeMessageBegin("getAllFlipkartMarketplaceItem", TMessageType.REPLY, seqid)
9006
    result.write(oprot)
9007
    oprot.writeMessageEnd()
9008
    oprot.trans.flush()
9009
 
12243 kshitij.so 9010
  def process_addCompetitorScraping(self, seqid, iprot, oprot):
9011
    args = addCompetitorScraping_args()
9012
    args.read(iprot)
9013
    iprot.readMessageEnd()
9014
    result = addCompetitorScraping_result()
9015
    self._handler.addCompetitorScraping(args.competitorPricingMap)
9016
    oprot.writeMessageBegin("addCompetitorScraping", TMessageType.REPLY, seqid)
9017
    result.write(oprot)
9018
    oprot.writeMessageEnd()
9019
    oprot.trans.flush()
12133 kshitij.so 9020
 
12243 kshitij.so 9021
  def process_getPreviousCompetitorScraping(self, seqid, iprot, oprot):
9022
    args = getPreviousCompetitorScraping_args()
9023
    args.read(iprot)
9024
    iprot.readMessageEnd()
9025
    result = getPreviousCompetitorScraping_result()
9026
    result.success = self._handler.getPreviousCompetitorScraping(args.delta)
9027
    oprot.writeMessageBegin("getPreviousCompetitorScraping", TMessageType.REPLY, seqid)
9028
    result.write(oprot)
9029
    oprot.writeMessageEnd()
9030
    oprot.trans.flush()
9031
 
12256 kshitij.so 9032
  def process_getUploadResultById(self, seqid, iprot, oprot):
9033
    args = getUploadResultById_args()
9034
    args.read(iprot)
9035
    iprot.readMessageEnd()
9036
    result = getUploadResultById_result()
9037
    result.success = self._handler.getUploadResultById(args.uploadId)
9038
    oprot.writeMessageBegin("getUploadResultById", TMessageType.REPLY, seqid)
9039
    result.write(oprot)
9040
    oprot.writeMessageEnd()
9041
    oprot.trans.flush()
12243 kshitij.so 9042
 
12363 kshitij.so 9043
  def process_addAmazonPromotion(self, seqid, iprot, oprot):
9044
    args = addAmazonPromotion_args()
9045
    args.read(iprot)
9046
    iprot.readMessageEnd()
9047
    result = addAmazonPromotion_result()
9048
    result.success = self._handler.addAmazonPromotion(args.amazonPromotions)
9049
    oprot.writeMessageBegin("addAmazonPromotion", TMessageType.REPLY, seqid)
9050
    result.write(oprot)
9051
    oprot.writeMessageEnd()
9052
    oprot.trans.flush()
12256 kshitij.so 9053
 
12363 kshitij.so 9054
  def process_getAmazonPromotion(self, seqid, iprot, oprot):
9055
    args = getAmazonPromotion_args()
9056
    args.read(iprot)
9057
    iprot.readMessageEnd()
9058
    result = getAmazonPromotion_result()
9059
    result.success = self._handler.getAmazonPromotion(args.startDate, args.endDate)
9060
    oprot.writeMessageBegin("getAmazonPromotion", TMessageType.REPLY, seqid)
9061
    result.write(oprot)
9062
    oprot.writeMessageEnd()
9063
    oprot.trans.flush()
9064
 
9065
  def process_updateAmazonPromotion(self, seqid, iprot, oprot):
9066
    args = updateAmazonPromotion_args()
9067
    args.read(iprot)
9068
    iprot.readMessageEnd()
9069
    result = updateAmazonPromotion_result()
9070
    result.success = self._handler.updateAmazonPromotion(args.amazonPromotions)
9071
    oprot.writeMessageBegin("updateAmazonPromotion", TMessageType.REPLY, seqid)
9072
    result.write(oprot)
9073
    oprot.writeMessageEnd()
9074
    oprot.trans.flush()
9075
 
12567 amit.gupta 9076
  def process_markPartiallyActive(self, seqid, iprot, oprot):
9077
    args = markPartiallyActive_args()
9078
    args.read(iprot)
9079
    iprot.readMessageEnd()
9080
    result = markPartiallyActive_result()
9081
    result.success = self._handler.markPartiallyActive(args.itemId, args.categoryId)
9082
    oprot.writeMessageBegin("markPartiallyActive", TMessageType.REPLY, seqid)
9083
    result.write(oprot)
9084
    oprot.writeMessageEnd()
9085
    oprot.trans.flush()
12363 kshitij.so 9086
 
12567 amit.gupta 9087
  def process_updateItemStateVat(self, seqid, iprot, oprot):
9088
    args = updateItemStateVat_args()
9089
    args.read(iprot)
9090
    iprot.readMessageEnd()
9091
    result = updateItemStateVat_result()
9092
    result.success = self._handler.updateItemStateVat(args.itemId, args.statevat)
9093
    oprot.writeMessageBegin("updateItemStateVat", TMessageType.REPLY, seqid)
9094
    result.write(oprot)
9095
    oprot.writeMessageEnd()
9096
    oprot.trans.flush()
9097
 
12620 amit.gupta 9098
  def process_getExAffiliateItemInfo(self, seqid, iprot, oprot):
9099
    args = getExAffiliateItemInfo_args()
9100
    args.read(iprot)
9101
    iprot.readMessageEnd()
9102
    result = getExAffiliateItemInfo_result()
9103
    result.success = self._handler.getExAffiliateItemInfo()
9104
    oprot.writeMessageBegin("getExAffiliateItemInfo", TMessageType.REPLY, seqid)
9105
    result.write(oprot)
9106
    oprot.writeMessageEnd()
9107
    oprot.trans.flush()
12567 amit.gupta 9108
 
12888 kshitij.so 9109
  def process_getAllItemstoListOnFbg(self, seqid, iprot, oprot):
9110
    args = getAllItemstoListOnFbg_args()
9111
    args.read(iprot)
9112
    iprot.readMessageEnd()
9113
    result = getAllItemstoListOnFbg_result()
9114
    result.success = self._handler.getAllItemstoListOnFbg()
9115
    oprot.writeMessageBegin("getAllItemstoListOnFbg", TMessageType.REPLY, seqid)
9116
    result.write(oprot)
9117
    oprot.writeMessageEnd()
9118
    oprot.trans.flush()
12620 amit.gupta 9119
 
12892 kshitij.so 9120
  def process_getAllFbgListedItems(self, seqid, iprot, oprot):
9121
    args = getAllFbgListedItems_args()
9122
    args.read(iprot)
9123
    iprot.readMessageEnd()
9124
    result = getAllFbgListedItems_result()
9125
    result.success = self._handler.getAllFbgListedItems()
9126
    oprot.writeMessageBegin("getAllFbgListedItems", TMessageType.REPLY, seqid)
9127
    result.write(oprot)
9128
    oprot.writeMessageEnd()
9129
    oprot.trans.flush()
12888 kshitij.so 9130
 
12892 kshitij.so 9131
 
5944 mandeep.dh 9132
# HELPER FUNCTIONS AND STRUCTURES
9133
 
9134
class addItem_args:
9135
  """
9136
  Attributes:
9137
   - item
9138
  """
9139
 
9140
  thrift_spec = (
9141
    None, # 0
9142
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
9143
  )
9144
 
9145
  def __init__(self, item=None,):
9146
    self.item = item
9147
 
9148
  def read(self, iprot):
9149
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9150
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9151
      return
9152
    iprot.readStructBegin()
9153
    while True:
9154
      (fname, ftype, fid) = iprot.readFieldBegin()
9155
      if ftype == TType.STOP:
9156
        break
9157
      if fid == 1:
9158
        if ftype == TType.STRUCT:
9159
          self.item = Item()
9160
          self.item.read(iprot)
9161
        else:
9162
          iprot.skip(ftype)
9163
      else:
9164
        iprot.skip(ftype)
9165
      iprot.readFieldEnd()
9166
    iprot.readStructEnd()
9167
 
9168
  def write(self, oprot):
9169
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9170
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9171
      return
9172
    oprot.writeStructBegin('addItem_args')
9173
    if self.item is not None:
9174
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
9175
      self.item.write(oprot)
9176
      oprot.writeFieldEnd()
9177
    oprot.writeFieldStop()
9178
    oprot.writeStructEnd()
9179
 
9180
  def validate(self):
9181
    return
9182
 
9183
 
9184
  def __repr__(self):
9185
    L = ['%s=%r' % (key, value)
9186
      for key, value in self.__dict__.iteritems()]
9187
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9188
 
9189
  def __eq__(self, other):
9190
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9191
 
9192
  def __ne__(self, other):
9193
    return not (self == other)
9194
 
9195
class addItem_result:
9196
  """
9197
  Attributes:
9198
   - success
9199
   - cex
9200
  """
9201
 
9202
  thrift_spec = (
9203
    (0, TType.I64, 'success', None, None, ), # 0
9204
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9205
  )
9206
 
9207
  def __init__(self, success=None, cex=None,):
9208
    self.success = success
9209
    self.cex = cex
9210
 
9211
  def read(self, iprot):
9212
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9213
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9214
      return
9215
    iprot.readStructBegin()
9216
    while True:
9217
      (fname, ftype, fid) = iprot.readFieldBegin()
9218
      if ftype == TType.STOP:
9219
        break
9220
      if fid == 0:
9221
        if ftype == TType.I64:
9222
          self.success = iprot.readI64();
9223
        else:
9224
          iprot.skip(ftype)
9225
      elif fid == 1:
9226
        if ftype == TType.STRUCT:
9227
          self.cex = CatalogServiceException()
9228
          self.cex.read(iprot)
9229
        else:
9230
          iprot.skip(ftype)
9231
      else:
9232
        iprot.skip(ftype)
9233
      iprot.readFieldEnd()
9234
    iprot.readStructEnd()
9235
 
9236
  def write(self, oprot):
9237
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9238
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9239
      return
9240
    oprot.writeStructBegin('addItem_result')
9241
    if self.success is not None:
9242
      oprot.writeFieldBegin('success', TType.I64, 0)
9243
      oprot.writeI64(self.success)
9244
      oprot.writeFieldEnd()
9245
    if self.cex is not None:
9246
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9247
      self.cex.write(oprot)
9248
      oprot.writeFieldEnd()
9249
    oprot.writeFieldStop()
9250
    oprot.writeStructEnd()
9251
 
9252
  def validate(self):
9253
    return
9254
 
9255
 
9256
  def __repr__(self):
9257
    L = ['%s=%r' % (key, value)
9258
      for key, value in self.__dict__.iteritems()]
9259
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9260
 
9261
  def __eq__(self, other):
9262
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9263
 
9264
  def __ne__(self, other):
9265
    return not (self == other)
9266
 
9267
class updateItem_args:
9268
  """
9269
  Attributes:
9270
   - item
9271
  """
9272
 
9273
  thrift_spec = (
9274
    None, # 0
9275
    (1, TType.STRUCT, 'item', (Item, Item.thrift_spec), None, ), # 1
9276
  )
9277
 
9278
  def __init__(self, item=None,):
9279
    self.item = item
9280
 
9281
  def read(self, iprot):
9282
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9283
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9284
      return
9285
    iprot.readStructBegin()
9286
    while True:
9287
      (fname, ftype, fid) = iprot.readFieldBegin()
9288
      if ftype == TType.STOP:
9289
        break
9290
      if fid == 1:
9291
        if ftype == TType.STRUCT:
9292
          self.item = Item()
9293
          self.item.read(iprot)
9294
        else:
9295
          iprot.skip(ftype)
9296
      else:
9297
        iprot.skip(ftype)
9298
      iprot.readFieldEnd()
9299
    iprot.readStructEnd()
9300
 
9301
  def write(self, oprot):
9302
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9303
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9304
      return
9305
    oprot.writeStructBegin('updateItem_args')
9306
    if self.item is not None:
9307
      oprot.writeFieldBegin('item', TType.STRUCT, 1)
9308
      self.item.write(oprot)
9309
      oprot.writeFieldEnd()
9310
    oprot.writeFieldStop()
9311
    oprot.writeStructEnd()
9312
 
9313
  def validate(self):
9314
    return
9315
 
9316
 
9317
  def __repr__(self):
9318
    L = ['%s=%r' % (key, value)
9319
      for key, value in self.__dict__.iteritems()]
9320
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9321
 
9322
  def __eq__(self, other):
9323
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9324
 
9325
  def __ne__(self, other):
9326
    return not (self == other)
9327
 
9328
class updateItem_result:
9329
  """
9330
  Attributes:
9331
   - success
9332
   - cex
9333
  """
9334
 
9335
  thrift_spec = (
9336
    (0, TType.I64, 'success', None, None, ), # 0
9337
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9338
  )
9339
 
9340
  def __init__(self, success=None, cex=None,):
9341
    self.success = success
9342
    self.cex = cex
9343
 
9344
  def read(self, iprot):
9345
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9346
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9347
      return
9348
    iprot.readStructBegin()
9349
    while True:
9350
      (fname, ftype, fid) = iprot.readFieldBegin()
9351
      if ftype == TType.STOP:
9352
        break
9353
      if fid == 0:
9354
        if ftype == TType.I64:
9355
          self.success = iprot.readI64();
9356
        else:
9357
          iprot.skip(ftype)
9358
      elif fid == 1:
9359
        if ftype == TType.STRUCT:
9360
          self.cex = CatalogServiceException()
9361
          self.cex.read(iprot)
9362
        else:
9363
          iprot.skip(ftype)
9364
      else:
9365
        iprot.skip(ftype)
9366
      iprot.readFieldEnd()
9367
    iprot.readStructEnd()
9368
 
9369
  def write(self, oprot):
9370
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9371
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9372
      return
9373
    oprot.writeStructBegin('updateItem_result')
9374
    if self.success is not None:
9375
      oprot.writeFieldBegin('success', TType.I64, 0)
9376
      oprot.writeI64(self.success)
9377
      oprot.writeFieldEnd()
9378
    if self.cex is not None:
9379
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9380
      self.cex.write(oprot)
9381
      oprot.writeFieldEnd()
9382
    oprot.writeFieldStop()
9383
    oprot.writeStructEnd()
9384
 
9385
  def validate(self):
9386
    return
9387
 
9388
 
9389
  def __repr__(self):
9390
    L = ['%s=%r' % (key, value)
9391
      for key, value in self.__dict__.iteritems()]
9392
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9393
 
9394
  def __eq__(self, other):
9395
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9396
 
9397
  def __ne__(self, other):
9398
    return not (self == other)
9399
 
9400
class isActive_args:
9401
  """
9402
  Attributes:
9403
   - itemId
9404
  """
9405
 
9406
  thrift_spec = (
9407
    None, # 0
9408
    (1, TType.I64, 'itemId', None, None, ), # 1
9409
  )
9410
 
9411
  def __init__(self, itemId=None,):
9412
    self.itemId = itemId
9413
 
9414
  def read(self, iprot):
9415
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9416
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9417
      return
9418
    iprot.readStructBegin()
9419
    while True:
9420
      (fname, ftype, fid) = iprot.readFieldBegin()
9421
      if ftype == TType.STOP:
9422
        break
9423
      if fid == 1:
9424
        if ftype == TType.I64:
9425
          self.itemId = iprot.readI64();
9426
        else:
9427
          iprot.skip(ftype)
9428
      else:
9429
        iprot.skip(ftype)
9430
      iprot.readFieldEnd()
9431
    iprot.readStructEnd()
9432
 
9433
  def write(self, oprot):
9434
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9435
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9436
      return
9437
    oprot.writeStructBegin('isActive_args')
9438
    if self.itemId is not None:
9439
      oprot.writeFieldBegin('itemId', TType.I64, 1)
9440
      oprot.writeI64(self.itemId)
9441
      oprot.writeFieldEnd()
9442
    oprot.writeFieldStop()
9443
    oprot.writeStructEnd()
9444
 
9445
  def validate(self):
9446
    return
9447
 
9448
 
9449
  def __repr__(self):
9450
    L = ['%s=%r' % (key, value)
9451
      for key, value in self.__dict__.iteritems()]
9452
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9453
 
9454
  def __eq__(self, other):
9455
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9456
 
9457
  def __ne__(self, other):
9458
    return not (self == other)
9459
 
9460
class isActive_result:
9461
  """
9462
  Attributes:
9463
   - success
9464
   - isex
9465
  """
9466
 
9467
  thrift_spec = (
9468
    (0, TType.STRUCT, 'success', (ItemShippingInfo, ItemShippingInfo.thrift_spec), None, ), # 0
9469
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9470
  )
9471
 
9472
  def __init__(self, success=None, isex=None,):
9473
    self.success = success
9474
    self.isex = isex
9475
 
9476
  def read(self, iprot):
9477
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9478
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9479
      return
9480
    iprot.readStructBegin()
9481
    while True:
9482
      (fname, ftype, fid) = iprot.readFieldBegin()
9483
      if ftype == TType.STOP:
9484
        break
9485
      if fid == 0:
9486
        if ftype == TType.STRUCT:
9487
          self.success = ItemShippingInfo()
9488
          self.success.read(iprot)
9489
        else:
9490
          iprot.skip(ftype)
9491
      elif fid == 1:
9492
        if ftype == TType.STRUCT:
9493
          self.isex = CatalogServiceException()
9494
          self.isex.read(iprot)
9495
        else:
9496
          iprot.skip(ftype)
9497
      else:
9498
        iprot.skip(ftype)
9499
      iprot.readFieldEnd()
9500
    iprot.readStructEnd()
9501
 
9502
  def write(self, oprot):
9503
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9504
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9505
      return
9506
    oprot.writeStructBegin('isActive_result')
9507
    if self.success is not None:
9508
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
9509
      self.success.write(oprot)
9510
      oprot.writeFieldEnd()
9511
    if self.isex is not None:
9512
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
9513
      self.isex.write(oprot)
9514
      oprot.writeFieldEnd()
9515
    oprot.writeFieldStop()
9516
    oprot.writeStructEnd()
9517
 
9518
  def validate(self):
9519
    return
9520
 
9521
 
9522
  def __repr__(self):
9523
    L = ['%s=%r' % (key, value)
9524
      for key, value in self.__dict__.iteritems()]
9525
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9526
 
9527
  def __eq__(self, other):
9528
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9529
 
9530
  def __ne__(self, other):
9531
    return not (self == other)
9532
 
7438 amit.gupta 9533
class getItemsStatus_args:
9534
  """
9535
  Attributes:
9536
   - itemIds
9537
  """
9538
 
9539
  thrift_spec = (
9540
    None, # 0
9541
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
9542
  )
9543
 
9544
  def __init__(self, itemIds=None,):
9545
    self.itemIds = itemIds
9546
 
9547
  def read(self, iprot):
9548
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9549
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9550
      return
9551
    iprot.readStructBegin()
9552
    while True:
9553
      (fname, ftype, fid) = iprot.readFieldBegin()
9554
      if ftype == TType.STOP:
9555
        break
9556
      if fid == 1:
9557
        if ftype == TType.LIST:
9558
          self.itemIds = []
8590 kshitij.so 9559
          (_etype33, _size30) = iprot.readListBegin()
9560
          for _i34 in xrange(_size30):
9561
            _elem35 = iprot.readI64();
9562
            self.itemIds.append(_elem35)
7438 amit.gupta 9563
          iprot.readListEnd()
9564
        else:
9565
          iprot.skip(ftype)
9566
      else:
9567
        iprot.skip(ftype)
9568
      iprot.readFieldEnd()
9569
    iprot.readStructEnd()
9570
 
9571
  def write(self, oprot):
9572
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9573
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9574
      return
9575
    oprot.writeStructBegin('getItemsStatus_args')
9576
    if self.itemIds is not None:
9577
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
9578
      oprot.writeListBegin(TType.I64, len(self.itemIds))
8590 kshitij.so 9579
      for iter36 in self.itemIds:
9580
        oprot.writeI64(iter36)
7438 amit.gupta 9581
      oprot.writeListEnd()
9582
      oprot.writeFieldEnd()
9583
    oprot.writeFieldStop()
9584
    oprot.writeStructEnd()
9585
 
9586
  def validate(self):
9587
    return
9588
 
9589
 
9590
  def __repr__(self):
9591
    L = ['%s=%r' % (key, value)
9592
      for key, value in self.__dict__.iteritems()]
9593
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9594
 
9595
  def __eq__(self, other):
9596
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9597
 
9598
  def __ne__(self, other):
9599
    return not (self == other)
9600
 
9601
class getItemsStatus_result:
9602
  """
9603
  Attributes:
9604
   - success
9605
   - isex
9606
  """
9607
 
9608
  thrift_spec = (
9609
    (0, TType.MAP, 'success', (TType.I64,None,TType.BOOL,None), None, ), # 0
9610
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9611
  )
9612
 
9613
  def __init__(self, success=None, isex=None,):
9614
    self.success = success
9615
    self.isex = isex
9616
 
9617
  def read(self, iprot):
9618
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9619
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9620
      return
9621
    iprot.readStructBegin()
9622
    while True:
9623
      (fname, ftype, fid) = iprot.readFieldBegin()
9624
      if ftype == TType.STOP:
9625
        break
9626
      if fid == 0:
9627
        if ftype == TType.MAP:
9628
          self.success = {}
8590 kshitij.so 9629
          (_ktype38, _vtype39, _size37 ) = iprot.readMapBegin() 
9630
          for _i41 in xrange(_size37):
9631
            _key42 = iprot.readI64();
9632
            _val43 = iprot.readBool();
9633
            self.success[_key42] = _val43
7438 amit.gupta 9634
          iprot.readMapEnd()
9635
        else:
9636
          iprot.skip(ftype)
9637
      elif fid == 1:
9638
        if ftype == TType.STRUCT:
9639
          self.isex = CatalogServiceException()
9640
          self.isex.read(iprot)
9641
        else:
9642
          iprot.skip(ftype)
9643
      else:
9644
        iprot.skip(ftype)
9645
      iprot.readFieldEnd()
9646
    iprot.readStructEnd()
9647
 
9648
  def write(self, oprot):
9649
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9650
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9651
      return
9652
    oprot.writeStructBegin('getItemsStatus_result')
9653
    if self.success is not None:
9654
      oprot.writeFieldBegin('success', TType.MAP, 0)
9655
      oprot.writeMapBegin(TType.I64, TType.BOOL, len(self.success))
8590 kshitij.so 9656
      for kiter44,viter45 in self.success.items():
9657
        oprot.writeI64(kiter44)
9658
        oprot.writeBool(viter45)
7438 amit.gupta 9659
      oprot.writeMapEnd()
9660
      oprot.writeFieldEnd()
9661
    if self.isex is not None:
9662
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
9663
      self.isex.write(oprot)
9664
      oprot.writeFieldEnd()
9665
    oprot.writeFieldStop()
9666
    oprot.writeStructEnd()
9667
 
9668
  def validate(self):
9669
    return
9670
 
9671
 
9672
  def __repr__(self):
9673
    L = ['%s=%r' % (key, value)
9674
      for key, value in self.__dict__.iteritems()]
9675
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9676
 
9677
  def __eq__(self, other):
9678
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9679
 
9680
  def __ne__(self, other):
9681
    return not (self == other)
9682
 
5944 mandeep.dh 9683
class getItemStatusDescription_args:
9684
  """
9685
  Attributes:
9686
   - itemId
9687
  """
9688
 
9689
  thrift_spec = (
9690
    None, # 0
9691
    (1, TType.I64, 'itemId', None, None, ), # 1
9692
  )
9693
 
9694
  def __init__(self, itemId=None,):
9695
    self.itemId = itemId
9696
 
9697
  def read(self, iprot):
9698
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9699
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9700
      return
9701
    iprot.readStructBegin()
9702
    while True:
9703
      (fname, ftype, fid) = iprot.readFieldBegin()
9704
      if ftype == TType.STOP:
9705
        break
9706
      if fid == 1:
9707
        if ftype == TType.I64:
9708
          self.itemId = iprot.readI64();
9709
        else:
9710
          iprot.skip(ftype)
9711
      else:
9712
        iprot.skip(ftype)
9713
      iprot.readFieldEnd()
9714
    iprot.readStructEnd()
9715
 
9716
  def write(self, oprot):
9717
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9718
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9719
      return
9720
    oprot.writeStructBegin('getItemStatusDescription_args')
9721
    if self.itemId is not None:
9722
      oprot.writeFieldBegin('itemId', TType.I64, 1)
9723
      oprot.writeI64(self.itemId)
9724
      oprot.writeFieldEnd()
9725
    oprot.writeFieldStop()
9726
    oprot.writeStructEnd()
9727
 
9728
  def validate(self):
9729
    return
9730
 
9731
 
9732
  def __repr__(self):
9733
    L = ['%s=%r' % (key, value)
9734
      for key, value in self.__dict__.iteritems()]
9735
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9736
 
9737
  def __eq__(self, other):
9738
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9739
 
9740
  def __ne__(self, other):
9741
    return not (self == other)
9742
 
9743
class getItemStatusDescription_result:
9744
  """
9745
  Attributes:
9746
   - success
9747
   - isex
9748
  """
9749
 
9750
  thrift_spec = (
9751
    (0, TType.STRING, 'success', None, None, ), # 0
9752
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9753
  )
9754
 
9755
  def __init__(self, success=None, isex=None,):
9756
    self.success = success
9757
    self.isex = isex
9758
 
9759
  def read(self, iprot):
9760
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9761
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9762
      return
9763
    iprot.readStructBegin()
9764
    while True:
9765
      (fname, ftype, fid) = iprot.readFieldBegin()
9766
      if ftype == TType.STOP:
9767
        break
9768
      if fid == 0:
9769
        if ftype == TType.STRING:
9770
          self.success = iprot.readString();
9771
        else:
9772
          iprot.skip(ftype)
9773
      elif fid == 1:
9774
        if ftype == TType.STRUCT:
9775
          self.isex = CatalogServiceException()
9776
          self.isex.read(iprot)
9777
        else:
9778
          iprot.skip(ftype)
9779
      else:
9780
        iprot.skip(ftype)
9781
      iprot.readFieldEnd()
9782
    iprot.readStructEnd()
9783
 
9784
  def write(self, oprot):
9785
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9786
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9787
      return
9788
    oprot.writeStructBegin('getItemStatusDescription_result')
9789
    if self.success is not None:
9790
      oprot.writeFieldBegin('success', TType.STRING, 0)
9791
      oprot.writeString(self.success)
9792
      oprot.writeFieldEnd()
9793
    if self.isex is not None:
9794
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
9795
      self.isex.write(oprot)
9796
      oprot.writeFieldEnd()
9797
    oprot.writeFieldStop()
9798
    oprot.writeStructEnd()
9799
 
9800
  def validate(self):
9801
    return
9802
 
9803
 
9804
  def __repr__(self):
9805
    L = ['%s=%r' % (key, value)
9806
      for key, value in self.__dict__.iteritems()]
9807
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9808
 
9809
  def __eq__(self, other):
9810
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9811
 
9812
  def __ne__(self, other):
9813
    return not (self == other)
9814
 
9815
class startItemOn_args:
9816
  """
9817
  Attributes:
9818
   - item_id
9819
   - timestamp
9820
  """
9821
 
9822
  thrift_spec = (
9823
    None, # 0
9824
    (1, TType.I64, 'item_id', None, None, ), # 1
9825
    (2, TType.I64, 'timestamp', None, None, ), # 2
9826
  )
9827
 
9828
  def __init__(self, item_id=None, timestamp=None,):
9829
    self.item_id = item_id
9830
    self.timestamp = timestamp
9831
 
9832
  def read(self, iprot):
9833
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9834
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9835
      return
9836
    iprot.readStructBegin()
9837
    while True:
9838
      (fname, ftype, fid) = iprot.readFieldBegin()
9839
      if ftype == TType.STOP:
9840
        break
9841
      if fid == 1:
9842
        if ftype == TType.I64:
9843
          self.item_id = iprot.readI64();
9844
        else:
9845
          iprot.skip(ftype)
9846
      elif fid == 2:
9847
        if ftype == TType.I64:
9848
          self.timestamp = iprot.readI64();
9849
        else:
9850
          iprot.skip(ftype)
9851
      else:
9852
        iprot.skip(ftype)
9853
      iprot.readFieldEnd()
9854
    iprot.readStructEnd()
9855
 
9856
  def write(self, oprot):
9857
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9858
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9859
      return
9860
    oprot.writeStructBegin('startItemOn_args')
9861
    if self.item_id is not None:
9862
      oprot.writeFieldBegin('item_id', TType.I64, 1)
9863
      oprot.writeI64(self.item_id)
9864
      oprot.writeFieldEnd()
9865
    if self.timestamp is not None:
9866
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
9867
      oprot.writeI64(self.timestamp)
9868
      oprot.writeFieldEnd()
9869
    oprot.writeFieldStop()
9870
    oprot.writeStructEnd()
9871
 
9872
  def validate(self):
9873
    return
9874
 
9875
 
9876
  def __repr__(self):
9877
    L = ['%s=%r' % (key, value)
9878
      for key, value in self.__dict__.iteritems()]
9879
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9880
 
9881
  def __eq__(self, other):
9882
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9883
 
9884
  def __ne__(self, other):
9885
    return not (self == other)
9886
 
9887
class startItemOn_result:
9888
  """
9889
  Attributes:
9890
   - cex
9891
  """
9892
 
9893
  thrift_spec = (
9894
    None, # 0
9895
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
9896
  )
9897
 
9898
  def __init__(self, cex=None,):
9899
    self.cex = cex
9900
 
9901
  def read(self, iprot):
9902
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9903
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9904
      return
9905
    iprot.readStructBegin()
9906
    while True:
9907
      (fname, ftype, fid) = iprot.readFieldBegin()
9908
      if ftype == TType.STOP:
9909
        break
9910
      if fid == 1:
9911
        if ftype == TType.STRUCT:
9912
          self.cex = CatalogServiceException()
9913
          self.cex.read(iprot)
9914
        else:
9915
          iprot.skip(ftype)
9916
      else:
9917
        iprot.skip(ftype)
9918
      iprot.readFieldEnd()
9919
    iprot.readStructEnd()
9920
 
9921
  def write(self, oprot):
9922
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9923
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9924
      return
9925
    oprot.writeStructBegin('startItemOn_result')
9926
    if self.cex is not None:
9927
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
9928
      self.cex.write(oprot)
9929
      oprot.writeFieldEnd()
9930
    oprot.writeFieldStop()
9931
    oprot.writeStructEnd()
9932
 
9933
  def validate(self):
9934
    return
9935
 
9936
 
9937
  def __repr__(self):
9938
    L = ['%s=%r' % (key, value)
9939
      for key, value in self.__dict__.iteritems()]
9940
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
9941
 
9942
  def __eq__(self, other):
9943
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
9944
 
9945
  def __ne__(self, other):
9946
    return not (self == other)
9947
 
9948
class retireItemOn_args:
9949
  """
9950
  Attributes:
9951
   - item_id
9952
   - timestamp
9953
  """
9954
 
9955
  thrift_spec = (
9956
    None, # 0
9957
    (1, TType.I64, 'item_id', None, None, ), # 1
9958
    (2, TType.I64, 'timestamp', None, None, ), # 2
9959
  )
9960
 
9961
  def __init__(self, item_id=None, timestamp=None,):
9962
    self.item_id = item_id
9963
    self.timestamp = timestamp
9964
 
9965
  def read(self, iprot):
9966
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
9967
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
9968
      return
9969
    iprot.readStructBegin()
9970
    while True:
9971
      (fname, ftype, fid) = iprot.readFieldBegin()
9972
      if ftype == TType.STOP:
9973
        break
9974
      if fid == 1:
9975
        if ftype == TType.I64:
9976
          self.item_id = iprot.readI64();
9977
        else:
9978
          iprot.skip(ftype)
9979
      elif fid == 2:
9980
        if ftype == TType.I64:
9981
          self.timestamp = iprot.readI64();
9982
        else:
9983
          iprot.skip(ftype)
9984
      else:
9985
        iprot.skip(ftype)
9986
      iprot.readFieldEnd()
9987
    iprot.readStructEnd()
9988
 
9989
  def write(self, oprot):
9990
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
9991
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
9992
      return
9993
    oprot.writeStructBegin('retireItemOn_args')
9994
    if self.item_id is not None:
9995
      oprot.writeFieldBegin('item_id', TType.I64, 1)
9996
      oprot.writeI64(self.item_id)
9997
      oprot.writeFieldEnd()
9998
    if self.timestamp is not None:
9999
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10000
      oprot.writeI64(self.timestamp)
10001
      oprot.writeFieldEnd()
10002
    oprot.writeFieldStop()
10003
    oprot.writeStructEnd()
10004
 
10005
  def validate(self):
10006
    return
10007
 
10008
 
10009
  def __repr__(self):
10010
    L = ['%s=%r' % (key, value)
10011
      for key, value in self.__dict__.iteritems()]
10012
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10013
 
10014
  def __eq__(self, other):
10015
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10016
 
10017
  def __ne__(self, other):
10018
    return not (self == other)
10019
 
10020
class retireItemOn_result:
10021
  """
10022
  Attributes:
10023
   - cex
10024
  """
10025
 
10026
  thrift_spec = (
10027
    None, # 0
10028
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10029
  )
10030
 
10031
  def __init__(self, cex=None,):
10032
    self.cex = cex
10033
 
10034
  def read(self, iprot):
10035
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10036
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10037
      return
10038
    iprot.readStructBegin()
10039
    while True:
10040
      (fname, ftype, fid) = iprot.readFieldBegin()
10041
      if ftype == TType.STOP:
10042
        break
10043
      if fid == 1:
10044
        if ftype == TType.STRUCT:
10045
          self.cex = CatalogServiceException()
10046
          self.cex.read(iprot)
10047
        else:
10048
          iprot.skip(ftype)
10049
      else:
10050
        iprot.skip(ftype)
10051
      iprot.readFieldEnd()
10052
    iprot.readStructEnd()
10053
 
10054
  def write(self, oprot):
10055
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10056
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10057
      return
10058
    oprot.writeStructBegin('retireItemOn_result')
10059
    if self.cex is not None:
10060
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10061
      self.cex.write(oprot)
10062
      oprot.writeFieldEnd()
10063
    oprot.writeFieldStop()
10064
    oprot.writeStructEnd()
10065
 
10066
  def validate(self):
10067
    return
10068
 
10069
 
10070
  def __repr__(self):
10071
    L = ['%s=%r' % (key, value)
10072
      for key, value in self.__dict__.iteritems()]
10073
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10074
 
10075
  def __eq__(self, other):
10076
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10077
 
10078
  def __ne__(self, other):
10079
    return not (self == other)
10080
 
10081
class changeItemStatus_args:
10082
  """
10083
  Attributes:
10084
   - item_id
10085
   - timestamp
10086
   - newstatus
10087
  """
10088
 
10089
  thrift_spec = (
10090
    None, # 0
10091
    (1, TType.I64, 'item_id', None, None, ), # 1
10092
    (2, TType.I64, 'timestamp', None, None, ), # 2
10093
    (3, TType.I32, 'newstatus', None, None, ), # 3
10094
  )
10095
 
10096
  def __init__(self, item_id=None, timestamp=None, newstatus=None,):
10097
    self.item_id = item_id
10098
    self.timestamp = timestamp
10099
    self.newstatus = newstatus
10100
 
10101
  def read(self, iprot):
10102
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10103
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10104
      return
10105
    iprot.readStructBegin()
10106
    while True:
10107
      (fname, ftype, fid) = iprot.readFieldBegin()
10108
      if ftype == TType.STOP:
10109
        break
10110
      if fid == 1:
10111
        if ftype == TType.I64:
10112
          self.item_id = iprot.readI64();
10113
        else:
10114
          iprot.skip(ftype)
10115
      elif fid == 2:
10116
        if ftype == TType.I64:
10117
          self.timestamp = iprot.readI64();
10118
        else:
10119
          iprot.skip(ftype)
10120
      elif fid == 3:
10121
        if ftype == TType.I32:
10122
          self.newstatus = iprot.readI32();
10123
        else:
10124
          iprot.skip(ftype)
10125
      else:
10126
        iprot.skip(ftype)
10127
      iprot.readFieldEnd()
10128
    iprot.readStructEnd()
10129
 
10130
  def write(self, oprot):
10131
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10132
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10133
      return
10134
    oprot.writeStructBegin('changeItemStatus_args')
10135
    if self.item_id is not None:
10136
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10137
      oprot.writeI64(self.item_id)
10138
      oprot.writeFieldEnd()
10139
    if self.timestamp is not None:
10140
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
10141
      oprot.writeI64(self.timestamp)
10142
      oprot.writeFieldEnd()
10143
    if self.newstatus is not None:
10144
      oprot.writeFieldBegin('newstatus', TType.I32, 3)
10145
      oprot.writeI32(self.newstatus)
10146
      oprot.writeFieldEnd()
10147
    oprot.writeFieldStop()
10148
    oprot.writeStructEnd()
10149
 
10150
  def validate(self):
10151
    return
10152
 
10153
 
10154
  def __repr__(self):
10155
    L = ['%s=%r' % (key, value)
10156
      for key, value in self.__dict__.iteritems()]
10157
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10158
 
10159
  def __eq__(self, other):
10160
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10161
 
10162
  def __ne__(self, other):
10163
    return not (self == other)
10164
 
10165
class changeItemStatus_result:
10166
  """
10167
  Attributes:
10168
   - cex
10169
  """
10170
 
10171
  thrift_spec = (
10172
    None, # 0
10173
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10174
  )
10175
 
10176
  def __init__(self, cex=None,):
10177
    self.cex = cex
10178
 
10179
  def read(self, iprot):
10180
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10181
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10182
      return
10183
    iprot.readStructBegin()
10184
    while True:
10185
      (fname, ftype, fid) = iprot.readFieldBegin()
10186
      if ftype == TType.STOP:
10187
        break
10188
      if fid == 1:
10189
        if ftype == TType.STRUCT:
10190
          self.cex = CatalogServiceException()
10191
          self.cex.read(iprot)
10192
        else:
10193
          iprot.skip(ftype)
10194
      else:
10195
        iprot.skip(ftype)
10196
      iprot.readFieldEnd()
10197
    iprot.readStructEnd()
10198
 
10199
  def write(self, oprot):
10200
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10201
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10202
      return
10203
    oprot.writeStructBegin('changeItemStatus_result')
10204
    if self.cex is not None:
10205
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10206
      self.cex.write(oprot)
10207
      oprot.writeFieldEnd()
10208
    oprot.writeFieldStop()
10209
    oprot.writeStructEnd()
10210
 
10211
  def validate(self):
10212
    return
10213
 
10214
 
10215
  def __repr__(self):
10216
    L = ['%s=%r' % (key, value)
10217
      for key, value in self.__dict__.iteritems()]
10218
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10219
 
10220
  def __eq__(self, other):
10221
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10222
 
10223
  def __ne__(self, other):
10224
    return not (self == other)
10225
 
10226
class getItem_args:
10227
  """
10228
  Attributes:
10229
   - item_id
10230
  """
10231
 
10232
  thrift_spec = (
10233
    None, # 0
10234
    (1, TType.I64, 'item_id', None, None, ), # 1
10235
  )
10236
 
10237
  def __init__(self, item_id=None,):
10238
    self.item_id = item_id
10239
 
10240
  def read(self, iprot):
10241
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10242
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10243
      return
10244
    iprot.readStructBegin()
10245
    while True:
10246
      (fname, ftype, fid) = iprot.readFieldBegin()
10247
      if ftype == TType.STOP:
10248
        break
10249
      if fid == 1:
10250
        if ftype == TType.I64:
10251
          self.item_id = iprot.readI64();
10252
        else:
10253
          iprot.skip(ftype)
10254
      else:
10255
        iprot.skip(ftype)
10256
      iprot.readFieldEnd()
10257
    iprot.readStructEnd()
10258
 
10259
  def write(self, oprot):
10260
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10261
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10262
      return
10263
    oprot.writeStructBegin('getItem_args')
10264
    if self.item_id is not None:
10265
      oprot.writeFieldBegin('item_id', TType.I64, 1)
10266
      oprot.writeI64(self.item_id)
10267
      oprot.writeFieldEnd()
10268
    oprot.writeFieldStop()
10269
    oprot.writeStructEnd()
10270
 
10271
  def validate(self):
10272
    return
10273
 
10274
 
10275
  def __repr__(self):
10276
    L = ['%s=%r' % (key, value)
10277
      for key, value in self.__dict__.iteritems()]
10278
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10279
 
10280
  def __eq__(self, other):
10281
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10282
 
10283
  def __ne__(self, other):
10284
    return not (self == other)
10285
 
10286
class getItem_result:
10287
  """
10288
  Attributes:
10289
   - success
10290
   - cex
10291
  """
10292
 
10293
  thrift_spec = (
10294
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
10295
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10296
  )
10297
 
10298
  def __init__(self, success=None, cex=None,):
10299
    self.success = success
10300
    self.cex = cex
10301
 
10302
  def read(self, iprot):
10303
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10304
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10305
      return
10306
    iprot.readStructBegin()
10307
    while True:
10308
      (fname, ftype, fid) = iprot.readFieldBegin()
10309
      if ftype == TType.STOP:
10310
        break
10311
      if fid == 0:
10312
        if ftype == TType.STRUCT:
10313
          self.success = Item()
10314
          self.success.read(iprot)
10315
        else:
10316
          iprot.skip(ftype)
10317
      elif fid == 1:
10318
        if ftype == TType.STRUCT:
10319
          self.cex = CatalogServiceException()
10320
          self.cex.read(iprot)
10321
        else:
10322
          iprot.skip(ftype)
10323
      else:
10324
        iprot.skip(ftype)
10325
      iprot.readFieldEnd()
10326
    iprot.readStructEnd()
10327
 
10328
  def write(self, oprot):
10329
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10330
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10331
      return
10332
    oprot.writeStructBegin('getItem_result')
10333
    if self.success is not None:
10334
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
10335
      self.success.write(oprot)
10336
      oprot.writeFieldEnd()
10337
    if self.cex is not None:
10338
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10339
      self.cex.write(oprot)
10340
      oprot.writeFieldEnd()
10341
    oprot.writeFieldStop()
10342
    oprot.writeStructEnd()
10343
 
10344
  def validate(self):
10345
    return
10346
 
10347
 
10348
  def __repr__(self):
10349
    L = ['%s=%r' % (key, value)
10350
      for key, value in self.__dict__.iteritems()]
10351
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10352
 
10353
  def __eq__(self, other):
10354
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10355
 
10356
  def __ne__(self, other):
10357
    return not (self == other)
10358
 
10359
class getItemsByCatalogId_args:
10360
  """
10361
  Attributes:
10362
   - catalog_item_id
10363
  """
10364
 
10365
  thrift_spec = (
10366
    None, # 0
10367
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
10368
  )
10369
 
10370
  def __init__(self, catalog_item_id=None,):
10371
    self.catalog_item_id = catalog_item_id
10372
 
10373
  def read(self, iprot):
10374
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10375
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10376
      return
10377
    iprot.readStructBegin()
10378
    while True:
10379
      (fname, ftype, fid) = iprot.readFieldBegin()
10380
      if ftype == TType.STOP:
10381
        break
10382
      if fid == 1:
10383
        if ftype == TType.I64:
10384
          self.catalog_item_id = iprot.readI64();
10385
        else:
10386
          iprot.skip(ftype)
10387
      else:
10388
        iprot.skip(ftype)
10389
      iprot.readFieldEnd()
10390
    iprot.readStructEnd()
10391
 
10392
  def write(self, oprot):
10393
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10394
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10395
      return
10396
    oprot.writeStructBegin('getItemsByCatalogId_args')
10397
    if self.catalog_item_id is not None:
10398
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
10399
      oprot.writeI64(self.catalog_item_id)
10400
      oprot.writeFieldEnd()
10401
    oprot.writeFieldStop()
10402
    oprot.writeStructEnd()
10403
 
10404
  def validate(self):
10405
    return
10406
 
10407
 
10408
  def __repr__(self):
10409
    L = ['%s=%r' % (key, value)
10410
      for key, value in self.__dict__.iteritems()]
10411
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10412
 
10413
  def __eq__(self, other):
10414
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10415
 
10416
  def __ne__(self, other):
10417
    return not (self == other)
10418
 
10419
class getItemsByCatalogId_result:
10420
  """
10421
  Attributes:
10422
   - success
10423
   - cex
10424
  """
10425
 
10426
  thrift_spec = (
10427
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10428
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10429
  )
10430
 
10431
  def __init__(self, success=None, cex=None,):
10432
    self.success = success
10433
    self.cex = cex
10434
 
10435
  def read(self, iprot):
10436
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10437
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10438
      return
10439
    iprot.readStructBegin()
10440
    while True:
10441
      (fname, ftype, fid) = iprot.readFieldBegin()
10442
      if ftype == TType.STOP:
10443
        break
10444
      if fid == 0:
10445
        if ftype == TType.LIST:
10446
          self.success = []
8590 kshitij.so 10447
          (_etype49, _size46) = iprot.readListBegin()
10448
          for _i50 in xrange(_size46):
10449
            _elem51 = Item()
10450
            _elem51.read(iprot)
10451
            self.success.append(_elem51)
5944 mandeep.dh 10452
          iprot.readListEnd()
10453
        else:
10454
          iprot.skip(ftype)
10455
      elif fid == 1:
10456
        if ftype == TType.STRUCT:
10457
          self.cex = CatalogServiceException()
10458
          self.cex.read(iprot)
10459
        else:
10460
          iprot.skip(ftype)
10461
      else:
10462
        iprot.skip(ftype)
10463
      iprot.readFieldEnd()
10464
    iprot.readStructEnd()
10465
 
10466
  def write(self, oprot):
10467
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10468
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10469
      return
10470
    oprot.writeStructBegin('getItemsByCatalogId_result')
10471
    if self.success is not None:
10472
      oprot.writeFieldBegin('success', TType.LIST, 0)
10473
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 10474
      for iter52 in self.success:
10475
        iter52.write(oprot)
5944 mandeep.dh 10476
      oprot.writeListEnd()
10477
      oprot.writeFieldEnd()
10478
    if self.cex is not None:
10479
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10480
      self.cex.write(oprot)
10481
      oprot.writeFieldEnd()
10482
    oprot.writeFieldStop()
10483
    oprot.writeStructEnd()
10484
 
10485
  def validate(self):
10486
    return
10487
 
10488
 
10489
  def __repr__(self):
10490
    L = ['%s=%r' % (key, value)
10491
      for key, value in self.__dict__.iteritems()]
10492
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10493
 
10494
  def __eq__(self, other):
10495
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10496
 
10497
  def __ne__(self, other):
10498
    return not (self == other)
10499
 
10500
class getValidItemsByCatalogId_args:
10501
  """
10502
  Attributes:
10503
   - catalog_item_id
10504
  """
10505
 
10506
  thrift_spec = (
10507
    None, # 0
10508
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
10509
  )
10510
 
10511
  def __init__(self, catalog_item_id=None,):
10512
    self.catalog_item_id = catalog_item_id
10513
 
10514
  def read(self, iprot):
10515
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10516
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10517
      return
10518
    iprot.readStructBegin()
10519
    while True:
10520
      (fname, ftype, fid) = iprot.readFieldBegin()
10521
      if ftype == TType.STOP:
10522
        break
10523
      if fid == 1:
10524
        if ftype == TType.I64:
10525
          self.catalog_item_id = iprot.readI64();
10526
        else:
10527
          iprot.skip(ftype)
10528
      else:
10529
        iprot.skip(ftype)
10530
      iprot.readFieldEnd()
10531
    iprot.readStructEnd()
10532
 
10533
  def write(self, oprot):
10534
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10535
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10536
      return
10537
    oprot.writeStructBegin('getValidItemsByCatalogId_args')
10538
    if self.catalog_item_id is not None:
10539
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
10540
      oprot.writeI64(self.catalog_item_id)
10541
      oprot.writeFieldEnd()
10542
    oprot.writeFieldStop()
10543
    oprot.writeStructEnd()
10544
 
10545
  def validate(self):
10546
    return
10547
 
10548
 
10549
  def __repr__(self):
10550
    L = ['%s=%r' % (key, value)
10551
      for key, value in self.__dict__.iteritems()]
10552
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10553
 
10554
  def __eq__(self, other):
10555
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10556
 
10557
  def __ne__(self, other):
10558
    return not (self == other)
10559
 
10560
class getValidItemsByCatalogId_result:
10561
  """
10562
  Attributes:
10563
   - success
10564
   - cex
10565
  """
10566
 
10567
  thrift_spec = (
10568
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10569
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10570
  )
10571
 
10572
  def __init__(self, success=None, cex=None,):
10573
    self.success = success
10574
    self.cex = cex
10575
 
10576
  def read(self, iprot):
10577
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10578
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10579
      return
10580
    iprot.readStructBegin()
10581
    while True:
10582
      (fname, ftype, fid) = iprot.readFieldBegin()
10583
      if ftype == TType.STOP:
10584
        break
10585
      if fid == 0:
10586
        if ftype == TType.LIST:
10587
          self.success = []
8590 kshitij.so 10588
          (_etype56, _size53) = iprot.readListBegin()
10589
          for _i57 in xrange(_size53):
10590
            _elem58 = Item()
10591
            _elem58.read(iprot)
10592
            self.success.append(_elem58)
5944 mandeep.dh 10593
          iprot.readListEnd()
10594
        else:
10595
          iprot.skip(ftype)
10596
      elif fid == 1:
10597
        if ftype == TType.STRUCT:
10598
          self.cex = CatalogServiceException()
10599
          self.cex.read(iprot)
10600
        else:
10601
          iprot.skip(ftype)
10602
      else:
10603
        iprot.skip(ftype)
10604
      iprot.readFieldEnd()
10605
    iprot.readStructEnd()
10606
 
10607
  def write(self, oprot):
10608
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10609
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10610
      return
10611
    oprot.writeStructBegin('getValidItemsByCatalogId_result')
10612
    if self.success is not None:
10613
      oprot.writeFieldBegin('success', TType.LIST, 0)
10614
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 10615
      for iter59 in self.success:
10616
        iter59.write(oprot)
5944 mandeep.dh 10617
      oprot.writeListEnd()
10618
      oprot.writeFieldEnd()
10619
    if self.cex is not None:
10620
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10621
      self.cex.write(oprot)
10622
      oprot.writeFieldEnd()
10623
    oprot.writeFieldStop()
10624
    oprot.writeStructEnd()
10625
 
10626
  def validate(self):
10627
    return
10628
 
10629
 
10630
  def __repr__(self):
10631
    L = ['%s=%r' % (key, value)
10632
      for key, value in self.__dict__.iteritems()]
10633
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10634
 
10635
  def __eq__(self, other):
10636
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10637
 
10638
  def __ne__(self, other):
10639
    return not (self == other)
10640
 
10641
class getAllItems_args:
10642
  """
10643
  Attributes:
10644
   - isActive
10645
  """
10646
 
10647
  thrift_spec = (
10648
    None, # 0
10649
    (1, TType.BOOL, 'isActive', None, None, ), # 1
10650
  )
10651
 
10652
  def __init__(self, isActive=None,):
10653
    self.isActive = isActive
10654
 
10655
  def read(self, iprot):
10656
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10657
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10658
      return
10659
    iprot.readStructBegin()
10660
    while True:
10661
      (fname, ftype, fid) = iprot.readFieldBegin()
10662
      if ftype == TType.STOP:
10663
        break
10664
      if fid == 1:
10665
        if ftype == TType.BOOL:
10666
          self.isActive = iprot.readBool();
10667
        else:
10668
          iprot.skip(ftype)
10669
      else:
10670
        iprot.skip(ftype)
10671
      iprot.readFieldEnd()
10672
    iprot.readStructEnd()
10673
 
10674
  def write(self, oprot):
10675
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10676
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10677
      return
10678
    oprot.writeStructBegin('getAllItems_args')
10679
    if self.isActive is not None:
10680
      oprot.writeFieldBegin('isActive', TType.BOOL, 1)
10681
      oprot.writeBool(self.isActive)
10682
      oprot.writeFieldEnd()
10683
    oprot.writeFieldStop()
10684
    oprot.writeStructEnd()
10685
 
10686
  def validate(self):
10687
    return
10688
 
10689
 
10690
  def __repr__(self):
10691
    L = ['%s=%r' % (key, value)
10692
      for key, value in self.__dict__.iteritems()]
10693
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10694
 
10695
  def __eq__(self, other):
10696
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10697
 
10698
  def __ne__(self, other):
10699
    return not (self == other)
10700
 
10701
class getAllItems_result:
10702
  """
10703
  Attributes:
10704
   - success
10705
   - cex
10706
  """
10707
 
10708
  thrift_spec = (
10709
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10710
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10711
  )
10712
 
10713
  def __init__(self, success=None, cex=None,):
10714
    self.success = success
10715
    self.cex = cex
10716
 
10717
  def read(self, iprot):
10718
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10719
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10720
      return
10721
    iprot.readStructBegin()
10722
    while True:
10723
      (fname, ftype, fid) = iprot.readFieldBegin()
10724
      if ftype == TType.STOP:
10725
        break
10726
      if fid == 0:
10727
        if ftype == TType.LIST:
10728
          self.success = []
8590 kshitij.so 10729
          (_etype63, _size60) = iprot.readListBegin()
10730
          for _i64 in xrange(_size60):
10731
            _elem65 = Item()
10732
            _elem65.read(iprot)
10733
            self.success.append(_elem65)
5944 mandeep.dh 10734
          iprot.readListEnd()
10735
        else:
10736
          iprot.skip(ftype)
10737
      elif fid == 1:
10738
        if ftype == TType.STRUCT:
10739
          self.cex = CatalogServiceException()
10740
          self.cex.read(iprot)
10741
        else:
10742
          iprot.skip(ftype)
10743
      else:
10744
        iprot.skip(ftype)
10745
      iprot.readFieldEnd()
10746
    iprot.readStructEnd()
10747
 
10748
  def write(self, oprot):
10749
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10750
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10751
      return
10752
    oprot.writeStructBegin('getAllItems_result')
10753
    if self.success is not None:
10754
      oprot.writeFieldBegin('success', TType.LIST, 0)
10755
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 10756
      for iter66 in self.success:
10757
        iter66.write(oprot)
5944 mandeep.dh 10758
      oprot.writeListEnd()
10759
      oprot.writeFieldEnd()
10760
    if self.cex is not None:
10761
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10762
      self.cex.write(oprot)
10763
      oprot.writeFieldEnd()
10764
    oprot.writeFieldStop()
10765
    oprot.writeStructEnd()
10766
 
10767
  def validate(self):
10768
    return
10769
 
10770
 
10771
  def __repr__(self):
10772
    L = ['%s=%r' % (key, value)
10773
      for key, value in self.__dict__.iteritems()]
10774
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10775
 
10776
  def __eq__(self, other):
10777
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10778
 
10779
  def __ne__(self, other):
10780
    return not (self == other)
10781
 
10782
class getAllItemsByStatus_args:
10783
  """
10784
  Attributes:
10785
   - itemStatus
10786
  """
10787
 
10788
  thrift_spec = (
10789
    None, # 0
10790
    (1, TType.I32, 'itemStatus', None, None, ), # 1
10791
  )
10792
 
10793
  def __init__(self, itemStatus=None,):
10794
    self.itemStatus = itemStatus
10795
 
10796
  def read(self, iprot):
10797
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10798
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10799
      return
10800
    iprot.readStructBegin()
10801
    while True:
10802
      (fname, ftype, fid) = iprot.readFieldBegin()
10803
      if ftype == TType.STOP:
10804
        break
10805
      if fid == 1:
10806
        if ftype == TType.I32:
10807
          self.itemStatus = iprot.readI32();
10808
        else:
10809
          iprot.skip(ftype)
10810
      else:
10811
        iprot.skip(ftype)
10812
      iprot.readFieldEnd()
10813
    iprot.readStructEnd()
10814
 
10815
  def write(self, oprot):
10816
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10817
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10818
      return
10819
    oprot.writeStructBegin('getAllItemsByStatus_args')
10820
    if self.itemStatus is not None:
10821
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
10822
      oprot.writeI32(self.itemStatus)
10823
      oprot.writeFieldEnd()
10824
    oprot.writeFieldStop()
10825
    oprot.writeStructEnd()
10826
 
10827
  def validate(self):
10828
    return
10829
 
10830
 
10831
  def __repr__(self):
10832
    L = ['%s=%r' % (key, value)
10833
      for key, value in self.__dict__.iteritems()]
10834
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10835
 
10836
  def __eq__(self, other):
10837
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10838
 
10839
  def __ne__(self, other):
10840
    return not (self == other)
10841
 
10842
class getAllItemsByStatus_result:
10843
  """
10844
  Attributes:
10845
   - success
10846
   - cex
10847
  """
10848
 
10849
  thrift_spec = (
10850
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
10851
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
10852
  )
10853
 
10854
  def __init__(self, success=None, cex=None,):
10855
    self.success = success
10856
    self.cex = cex
10857
 
10858
  def read(self, iprot):
10859
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10860
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10861
      return
10862
    iprot.readStructBegin()
10863
    while True:
10864
      (fname, ftype, fid) = iprot.readFieldBegin()
10865
      if ftype == TType.STOP:
10866
        break
10867
      if fid == 0:
10868
        if ftype == TType.LIST:
10869
          self.success = []
8590 kshitij.so 10870
          (_etype70, _size67) = iprot.readListBegin()
10871
          for _i71 in xrange(_size67):
10872
            _elem72 = Item()
10873
            _elem72.read(iprot)
10874
            self.success.append(_elem72)
5944 mandeep.dh 10875
          iprot.readListEnd()
10876
        else:
10877
          iprot.skip(ftype)
10878
      elif fid == 1:
10879
        if ftype == TType.STRUCT:
10880
          self.cex = CatalogServiceException()
10881
          self.cex.read(iprot)
10882
        else:
10883
          iprot.skip(ftype)
10884
      else:
10885
        iprot.skip(ftype)
10886
      iprot.readFieldEnd()
10887
    iprot.readStructEnd()
10888
 
10889
  def write(self, oprot):
10890
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10891
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10892
      return
10893
    oprot.writeStructBegin('getAllItemsByStatus_result')
10894
    if self.success is not None:
10895
      oprot.writeFieldBegin('success', TType.LIST, 0)
10896
      oprot.writeListBegin(TType.STRUCT, len(self.success))
8590 kshitij.so 10897
      for iter73 in self.success:
10898
        iter73.write(oprot)
5944 mandeep.dh 10899
      oprot.writeListEnd()
10900
      oprot.writeFieldEnd()
10901
    if self.cex is not None:
10902
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
10903
      self.cex.write(oprot)
10904
      oprot.writeFieldEnd()
10905
    oprot.writeFieldStop()
10906
    oprot.writeStructEnd()
10907
 
10908
  def validate(self):
10909
    return
10910
 
10911
 
10912
  def __repr__(self):
10913
    L = ['%s=%r' % (key, value)
10914
      for key, value in self.__dict__.iteritems()]
10915
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
10916
 
10917
  def __eq__(self, other):
10918
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
10919
 
10920
  def __ne__(self, other):
10921
    return not (self == other)
10922
 
10923
class markItemAsContentComplete_args:
10924
  """
10925
  Attributes:
10926
   - entityId
10927
   - category
10928
   - brand
10929
   - modelName
10930
   - modelNumber
9253 rajveer 10931
   - isAndroid
5944 mandeep.dh 10932
  """
10933
 
10934
  thrift_spec = (
10935
    None, # 0
10936
    (1, TType.I64, 'entityId', None, None, ), # 1
10937
    (2, TType.I64, 'category', None, None, ), # 2
10938
    (3, TType.STRING, 'brand', None, None, ), # 3
10939
    (4, TType.STRING, 'modelName', None, None, ), # 4
10940
    (5, TType.STRING, 'modelNumber', None, None, ), # 5
9253 rajveer 10941
    (6, TType.BOOL, 'isAndroid', None, None, ), # 6
5944 mandeep.dh 10942
  )
10943
 
9253 rajveer 10944
  def __init__(self, entityId=None, category=None, brand=None, modelName=None, modelNumber=None, isAndroid=None,):
5944 mandeep.dh 10945
    self.entityId = entityId
10946
    self.category = category
10947
    self.brand = brand
10948
    self.modelName = modelName
10949
    self.modelNumber = modelNumber
9253 rajveer 10950
    self.isAndroid = isAndroid
5944 mandeep.dh 10951
 
10952
  def read(self, iprot):
10953
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
10954
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
10955
      return
10956
    iprot.readStructBegin()
10957
    while True:
10958
      (fname, ftype, fid) = iprot.readFieldBegin()
10959
      if ftype == TType.STOP:
10960
        break
10961
      if fid == 1:
10962
        if ftype == TType.I64:
10963
          self.entityId = iprot.readI64();
10964
        else:
10965
          iprot.skip(ftype)
10966
      elif fid == 2:
10967
        if ftype == TType.I64:
10968
          self.category = iprot.readI64();
10969
        else:
10970
          iprot.skip(ftype)
10971
      elif fid == 3:
10972
        if ftype == TType.STRING:
10973
          self.brand = iprot.readString();
10974
        else:
10975
          iprot.skip(ftype)
10976
      elif fid == 4:
10977
        if ftype == TType.STRING:
10978
          self.modelName = iprot.readString();
10979
        else:
10980
          iprot.skip(ftype)
10981
      elif fid == 5:
10982
        if ftype == TType.STRING:
10983
          self.modelNumber = iprot.readString();
10984
        else:
10985
          iprot.skip(ftype)
9253 rajveer 10986
      elif fid == 6:
10987
        if ftype == TType.BOOL:
10988
          self.isAndroid = iprot.readBool();
10989
        else:
10990
          iprot.skip(ftype)
5944 mandeep.dh 10991
      else:
10992
        iprot.skip(ftype)
10993
      iprot.readFieldEnd()
10994
    iprot.readStructEnd()
10995
 
10996
  def write(self, oprot):
10997
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
10998
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
10999
      return
11000
    oprot.writeStructBegin('markItemAsContentComplete_args')
11001
    if self.entityId is not None:
11002
      oprot.writeFieldBegin('entityId', TType.I64, 1)
11003
      oprot.writeI64(self.entityId)
11004
      oprot.writeFieldEnd()
11005
    if self.category is not None:
11006
      oprot.writeFieldBegin('category', TType.I64, 2)
11007
      oprot.writeI64(self.category)
11008
      oprot.writeFieldEnd()
11009
    if self.brand is not None:
11010
      oprot.writeFieldBegin('brand', TType.STRING, 3)
11011
      oprot.writeString(self.brand)
11012
      oprot.writeFieldEnd()
11013
    if self.modelName is not None:
11014
      oprot.writeFieldBegin('modelName', TType.STRING, 4)
11015
      oprot.writeString(self.modelName)
11016
      oprot.writeFieldEnd()
11017
    if self.modelNumber is not None:
11018
      oprot.writeFieldBegin('modelNumber', TType.STRING, 5)
11019
      oprot.writeString(self.modelNumber)
11020
      oprot.writeFieldEnd()
9253 rajveer 11021
    if self.isAndroid is not None:
11022
      oprot.writeFieldBegin('isAndroid', TType.BOOL, 6)
11023
      oprot.writeBool(self.isAndroid)
11024
      oprot.writeFieldEnd()
5944 mandeep.dh 11025
    oprot.writeFieldStop()
11026
    oprot.writeStructEnd()
11027
 
11028
  def validate(self):
11029
    return
11030
 
11031
 
11032
  def __repr__(self):
11033
    L = ['%s=%r' % (key, value)
11034
      for key, value in self.__dict__.iteritems()]
11035
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11036
 
11037
  def __eq__(self, other):
11038
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11039
 
11040
  def __ne__(self, other):
11041
    return not (self == other)
11042
 
11043
class markItemAsContentComplete_result:
11044
  """
11045
  Attributes:
11046
   - success
11047
   - cex
11048
  """
11049
 
11050
  thrift_spec = (
11051
    (0, TType.BOOL, 'success', None, None, ), # 0
11052
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11053
  )
11054
 
11055
  def __init__(self, success=None, cex=None,):
11056
    self.success = success
11057
    self.cex = cex
11058
 
11059
  def read(self, iprot):
11060
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11061
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11062
      return
11063
    iprot.readStructBegin()
11064
    while True:
11065
      (fname, ftype, fid) = iprot.readFieldBegin()
11066
      if ftype == TType.STOP:
11067
        break
11068
      if fid == 0:
11069
        if ftype == TType.BOOL:
11070
          self.success = iprot.readBool();
11071
        else:
11072
          iprot.skip(ftype)
11073
      elif fid == 1:
11074
        if ftype == TType.STRUCT:
11075
          self.cex = CatalogServiceException()
11076
          self.cex.read(iprot)
11077
        else:
11078
          iprot.skip(ftype)
11079
      else:
11080
        iprot.skip(ftype)
11081
      iprot.readFieldEnd()
11082
    iprot.readStructEnd()
11083
 
11084
  def write(self, oprot):
11085
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11086
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11087
      return
11088
    oprot.writeStructBegin('markItemAsContentComplete_result')
11089
    if self.success is not None:
11090
      oprot.writeFieldBegin('success', TType.BOOL, 0)
11091
      oprot.writeBool(self.success)
11092
      oprot.writeFieldEnd()
11093
    if self.cex is not None:
11094
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11095
      self.cex.write(oprot)
11096
      oprot.writeFieldEnd()
11097
    oprot.writeFieldStop()
11098
    oprot.writeStructEnd()
11099
 
11100
  def validate(self):
11101
    return
11102
 
11103
 
11104
  def __repr__(self):
11105
    L = ['%s=%r' % (key, value)
11106
      for key, value in self.__dict__.iteritems()]
11107
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11108
 
11109
  def __eq__(self, other):
11110
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11111
 
11112
  def __ne__(self, other):
11113
    return not (self == other)
11114
 
12567 amit.gupta 11115
class getVatRates_args:
11116
  """
11117
  Attributes:
11118
   - itemId
11119
   - categoryId
11120
  """
11121
 
11122
  thrift_spec = (
11123
    None, # 0
11124
    (1, TType.I64, 'itemId', None, None, ), # 1
11125
    (2, TType.I64, 'categoryId', None, None, ), # 2
11126
  )
11127
 
11128
  def __init__(self, itemId=None, categoryId=None,):
11129
    self.itemId = itemId
11130
    self.categoryId = categoryId
11131
 
11132
  def read(self, iprot):
11133
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11134
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11135
      return
11136
    iprot.readStructBegin()
11137
    while True:
11138
      (fname, ftype, fid) = iprot.readFieldBegin()
11139
      if ftype == TType.STOP:
11140
        break
11141
      if fid == 1:
11142
        if ftype == TType.I64:
11143
          self.itemId = iprot.readI64();
11144
        else:
11145
          iprot.skip(ftype)
11146
      elif fid == 2:
11147
        if ftype == TType.I64:
11148
          self.categoryId = iprot.readI64();
11149
        else:
11150
          iprot.skip(ftype)
11151
      else:
11152
        iprot.skip(ftype)
11153
      iprot.readFieldEnd()
11154
    iprot.readStructEnd()
11155
 
11156
  def write(self, oprot):
11157
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11158
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11159
      return
11160
    oprot.writeStructBegin('getVatRates_args')
11161
    if self.itemId is not None:
11162
      oprot.writeFieldBegin('itemId', TType.I64, 1)
11163
      oprot.writeI64(self.itemId)
11164
      oprot.writeFieldEnd()
11165
    if self.categoryId is not None:
11166
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
11167
      oprot.writeI64(self.categoryId)
11168
      oprot.writeFieldEnd()
11169
    oprot.writeFieldStop()
11170
    oprot.writeStructEnd()
11171
 
11172
  def validate(self):
11173
    return
11174
 
11175
 
11176
  def __repr__(self):
11177
    L = ['%s=%r' % (key, value)
11178
      for key, value in self.__dict__.iteritems()]
11179
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11180
 
11181
  def __eq__(self, other):
11182
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11183
 
11184
  def __ne__(self, other):
11185
    return not (self == other)
11186
 
11187
class getVatRates_result:
11188
  """
11189
  Attributes:
11190
   - success
11191
   - cex
11192
  """
11193
 
11194
  thrift_spec = (
11195
    (0, TType.MAP, 'success', (TType.I64,None,TType.DOUBLE,None), None, ), # 0
11196
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11197
  )
11198
 
11199
  def __init__(self, success=None, cex=None,):
11200
    self.success = success
11201
    self.cex = cex
11202
 
11203
  def read(self, iprot):
11204
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11205
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11206
      return
11207
    iprot.readStructBegin()
11208
    while True:
11209
      (fname, ftype, fid) = iprot.readFieldBegin()
11210
      if ftype == TType.STOP:
11211
        break
11212
      if fid == 0:
11213
        if ftype == TType.MAP:
11214
          self.success = {}
11215
          (_ktype75, _vtype76, _size74 ) = iprot.readMapBegin() 
11216
          for _i78 in xrange(_size74):
11217
            _key79 = iprot.readI64();
11218
            _val80 = iprot.readDouble();
11219
            self.success[_key79] = _val80
11220
          iprot.readMapEnd()
11221
        else:
11222
          iprot.skip(ftype)
11223
      elif fid == 1:
11224
        if ftype == TType.STRUCT:
11225
          self.cex = CatalogServiceException()
11226
          self.cex.read(iprot)
11227
        else:
11228
          iprot.skip(ftype)
11229
      else:
11230
        iprot.skip(ftype)
11231
      iprot.readFieldEnd()
11232
    iprot.readStructEnd()
11233
 
11234
  def write(self, oprot):
11235
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11236
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11237
      return
11238
    oprot.writeStructBegin('getVatRates_result')
11239
    if self.success is not None:
11240
      oprot.writeFieldBegin('success', TType.MAP, 0)
11241
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.success))
11242
      for kiter81,viter82 in self.success.items():
11243
        oprot.writeI64(kiter81)
11244
        oprot.writeDouble(viter82)
11245
      oprot.writeMapEnd()
11246
      oprot.writeFieldEnd()
11247
    if self.cex is not None:
11248
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11249
      self.cex.write(oprot)
11250
      oprot.writeFieldEnd()
11251
    oprot.writeFieldStop()
11252
    oprot.writeStructEnd()
11253
 
11254
  def validate(self):
11255
    return
11256
 
11257
 
11258
  def __repr__(self):
11259
    L = ['%s=%r' % (key, value)
11260
      for key, value in self.__dict__.iteritems()]
11261
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11262
 
11263
  def __eq__(self, other):
11264
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11265
 
11266
  def __ne__(self, other):
11267
    return not (self == other)
11268
 
5944 mandeep.dh 11269
class getAllItemsInRange_args:
11270
  """
11271
  Attributes:
11272
   - offset
11273
   - limit
11274
  """
11275
 
11276
  thrift_spec = (
11277
    None, # 0
11278
    (1, TType.I64, 'offset', None, None, ), # 1
11279
    (2, TType.I64, 'limit', None, None, ), # 2
11280
  )
11281
 
11282
  def __init__(self, offset=None, limit=None,):
11283
    self.offset = offset
11284
    self.limit = limit
11285
 
11286
  def read(self, iprot):
11287
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11288
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11289
      return
11290
    iprot.readStructBegin()
11291
    while True:
11292
      (fname, ftype, fid) = iprot.readFieldBegin()
11293
      if ftype == TType.STOP:
11294
        break
11295
      if fid == 1:
11296
        if ftype == TType.I64:
11297
          self.offset = iprot.readI64();
11298
        else:
11299
          iprot.skip(ftype)
11300
      elif fid == 2:
11301
        if ftype == TType.I64:
11302
          self.limit = iprot.readI64();
11303
        else:
11304
          iprot.skip(ftype)
11305
      else:
11306
        iprot.skip(ftype)
11307
      iprot.readFieldEnd()
11308
    iprot.readStructEnd()
11309
 
11310
  def write(self, oprot):
11311
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11312
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11313
      return
11314
    oprot.writeStructBegin('getAllItemsInRange_args')
11315
    if self.offset is not None:
11316
      oprot.writeFieldBegin('offset', TType.I64, 1)
11317
      oprot.writeI64(self.offset)
11318
      oprot.writeFieldEnd()
11319
    if self.limit is not None:
11320
      oprot.writeFieldBegin('limit', TType.I64, 2)
11321
      oprot.writeI64(self.limit)
11322
      oprot.writeFieldEnd()
11323
    oprot.writeFieldStop()
11324
    oprot.writeStructEnd()
11325
 
11326
  def validate(self):
11327
    return
11328
 
11329
 
11330
  def __repr__(self):
11331
    L = ['%s=%r' % (key, value)
11332
      for key, value in self.__dict__.iteritems()]
11333
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11334
 
11335
  def __eq__(self, other):
11336
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11337
 
11338
  def __ne__(self, other):
11339
    return not (self == other)
11340
 
11341
class getAllItemsInRange_result:
11342
  """
11343
  Attributes:
11344
   - success
11345
   - cex
11346
  """
11347
 
11348
  thrift_spec = (
11349
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11350
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11351
  )
11352
 
11353
  def __init__(self, success=None, cex=None,):
11354
    self.success = success
11355
    self.cex = cex
11356
 
11357
  def read(self, iprot):
11358
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11359
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11360
      return
11361
    iprot.readStructBegin()
11362
    while True:
11363
      (fname, ftype, fid) = iprot.readFieldBegin()
11364
      if ftype == TType.STOP:
11365
        break
11366
      if fid == 0:
11367
        if ftype == TType.LIST:
11368
          self.success = []
12567 amit.gupta 11369
          (_etype86, _size83) = iprot.readListBegin()
11370
          for _i87 in xrange(_size83):
11371
            _elem88 = Item()
11372
            _elem88.read(iprot)
11373
            self.success.append(_elem88)
5944 mandeep.dh 11374
          iprot.readListEnd()
11375
        else:
11376
          iprot.skip(ftype)
11377
      elif fid == 1:
11378
        if ftype == TType.STRUCT:
11379
          self.cex = CatalogServiceException()
11380
          self.cex.read(iprot)
11381
        else:
11382
          iprot.skip(ftype)
11383
      else:
11384
        iprot.skip(ftype)
11385
      iprot.readFieldEnd()
11386
    iprot.readStructEnd()
11387
 
11388
  def write(self, oprot):
11389
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11390
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11391
      return
11392
    oprot.writeStructBegin('getAllItemsInRange_result')
11393
    if self.success is not None:
11394
      oprot.writeFieldBegin('success', TType.LIST, 0)
11395
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 11396
      for iter89 in self.success:
11397
        iter89.write(oprot)
5944 mandeep.dh 11398
      oprot.writeListEnd()
11399
      oprot.writeFieldEnd()
11400
    if self.cex is not None:
11401
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11402
      self.cex.write(oprot)
11403
      oprot.writeFieldEnd()
11404
    oprot.writeFieldStop()
11405
    oprot.writeStructEnd()
11406
 
11407
  def validate(self):
11408
    return
11409
 
11410
 
11411
  def __repr__(self):
11412
    L = ['%s=%r' % (key, value)
11413
      for key, value in self.__dict__.iteritems()]
11414
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11415
 
11416
  def __eq__(self, other):
11417
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11418
 
11419
  def __ne__(self, other):
11420
    return not (self == other)
11421
 
11422
class getAllItemsByStatusInRange_args:
11423
  """
11424
  Attributes:
11425
   - itemStatus
11426
   - offset
11427
   - limit
11428
  """
11429
 
11430
  thrift_spec = (
11431
    None, # 0
11432
    (1, TType.I32, 'itemStatus', None, None, ), # 1
11433
    (2, TType.I64, 'offset', None, None, ), # 2
11434
    (3, TType.I64, 'limit', None, None, ), # 3
11435
  )
11436
 
11437
  def __init__(self, itemStatus=None, offset=None, limit=None,):
11438
    self.itemStatus = itemStatus
11439
    self.offset = offset
11440
    self.limit = limit
11441
 
11442
  def read(self, iprot):
11443
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11444
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11445
      return
11446
    iprot.readStructBegin()
11447
    while True:
11448
      (fname, ftype, fid) = iprot.readFieldBegin()
11449
      if ftype == TType.STOP:
11450
        break
11451
      if fid == 1:
11452
        if ftype == TType.I32:
11453
          self.itemStatus = iprot.readI32();
11454
        else:
11455
          iprot.skip(ftype)
11456
      elif fid == 2:
11457
        if ftype == TType.I64:
11458
          self.offset = iprot.readI64();
11459
        else:
11460
          iprot.skip(ftype)
11461
      elif fid == 3:
11462
        if ftype == TType.I64:
11463
          self.limit = iprot.readI64();
11464
        else:
11465
          iprot.skip(ftype)
11466
      else:
11467
        iprot.skip(ftype)
11468
      iprot.readFieldEnd()
11469
    iprot.readStructEnd()
11470
 
11471
  def write(self, oprot):
11472
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11473
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11474
      return
11475
    oprot.writeStructBegin('getAllItemsByStatusInRange_args')
11476
    if self.itemStatus is not None:
11477
      oprot.writeFieldBegin('itemStatus', TType.I32, 1)
11478
      oprot.writeI32(self.itemStatus)
11479
      oprot.writeFieldEnd()
11480
    if self.offset is not None:
11481
      oprot.writeFieldBegin('offset', TType.I64, 2)
11482
      oprot.writeI64(self.offset)
11483
      oprot.writeFieldEnd()
11484
    if self.limit is not None:
11485
      oprot.writeFieldBegin('limit', TType.I64, 3)
11486
      oprot.writeI64(self.limit)
11487
      oprot.writeFieldEnd()
11488
    oprot.writeFieldStop()
11489
    oprot.writeStructEnd()
11490
 
11491
  def validate(self):
11492
    return
11493
 
11494
 
11495
  def __repr__(self):
11496
    L = ['%s=%r' % (key, value)
11497
      for key, value in self.__dict__.iteritems()]
11498
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11499
 
11500
  def __eq__(self, other):
11501
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11502
 
11503
  def __ne__(self, other):
11504
    return not (self == other)
11505
 
11506
class getAllItemsByStatusInRange_result:
11507
  """
11508
  Attributes:
11509
   - success
11510
   - cex
11511
  """
11512
 
11513
  thrift_spec = (
11514
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11515
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11516
  )
11517
 
11518
  def __init__(self, success=None, cex=None,):
11519
    self.success = success
11520
    self.cex = cex
11521
 
11522
  def read(self, iprot):
11523
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11524
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11525
      return
11526
    iprot.readStructBegin()
11527
    while True:
11528
      (fname, ftype, fid) = iprot.readFieldBegin()
11529
      if ftype == TType.STOP:
11530
        break
11531
      if fid == 0:
11532
        if ftype == TType.LIST:
11533
          self.success = []
12567 amit.gupta 11534
          (_etype93, _size90) = iprot.readListBegin()
11535
          for _i94 in xrange(_size90):
11536
            _elem95 = Item()
11537
            _elem95.read(iprot)
11538
            self.success.append(_elem95)
5944 mandeep.dh 11539
          iprot.readListEnd()
11540
        else:
11541
          iprot.skip(ftype)
11542
      elif fid == 1:
11543
        if ftype == TType.STRUCT:
11544
          self.cex = CatalogServiceException()
11545
          self.cex.read(iprot)
11546
        else:
11547
          iprot.skip(ftype)
11548
      else:
11549
        iprot.skip(ftype)
11550
      iprot.readFieldEnd()
11551
    iprot.readStructEnd()
11552
 
11553
  def write(self, oprot):
11554
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11555
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11556
      return
11557
    oprot.writeStructBegin('getAllItemsByStatusInRange_result')
11558
    if self.success is not None:
11559
      oprot.writeFieldBegin('success', TType.LIST, 0)
11560
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 11561
      for iter96 in self.success:
11562
        iter96.write(oprot)
5944 mandeep.dh 11563
      oprot.writeListEnd()
11564
      oprot.writeFieldEnd()
11565
    if self.cex is not None:
11566
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11567
      self.cex.write(oprot)
11568
      oprot.writeFieldEnd()
11569
    oprot.writeFieldStop()
11570
    oprot.writeStructEnd()
11571
 
11572
  def validate(self):
11573
    return
11574
 
11575
 
11576
  def __repr__(self):
11577
    L = ['%s=%r' % (key, value)
11578
      for key, value in self.__dict__.iteritems()]
11579
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11580
 
11581
  def __eq__(self, other):
11582
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11583
 
11584
  def __ne__(self, other):
11585
    return not (self == other)
11586
 
11587
class getItemCountByStatus_args:
11588
  """
11589
  Attributes:
11590
   - useStatus
11591
   - itemStatus
11592
  """
11593
 
11594
  thrift_spec = (
11595
    None, # 0
11596
    (1, TType.BOOL, 'useStatus', None, None, ), # 1
11597
    (2, TType.I32, 'itemStatus', None, None, ), # 2
11598
  )
11599
 
11600
  def __init__(self, useStatus=None, itemStatus=None,):
11601
    self.useStatus = useStatus
11602
    self.itemStatus = itemStatus
11603
 
11604
  def read(self, iprot):
11605
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11606
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11607
      return
11608
    iprot.readStructBegin()
11609
    while True:
11610
      (fname, ftype, fid) = iprot.readFieldBegin()
11611
      if ftype == TType.STOP:
11612
        break
11613
      if fid == 1:
11614
        if ftype == TType.BOOL:
11615
          self.useStatus = iprot.readBool();
11616
        else:
11617
          iprot.skip(ftype)
11618
      elif fid == 2:
11619
        if ftype == TType.I32:
11620
          self.itemStatus = iprot.readI32();
11621
        else:
11622
          iprot.skip(ftype)
11623
      else:
11624
        iprot.skip(ftype)
11625
      iprot.readFieldEnd()
11626
    iprot.readStructEnd()
11627
 
11628
  def write(self, oprot):
11629
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11630
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11631
      return
11632
    oprot.writeStructBegin('getItemCountByStatus_args')
11633
    if self.useStatus is not None:
11634
      oprot.writeFieldBegin('useStatus', TType.BOOL, 1)
11635
      oprot.writeBool(self.useStatus)
11636
      oprot.writeFieldEnd()
11637
    if self.itemStatus is not None:
11638
      oprot.writeFieldBegin('itemStatus', TType.I32, 2)
11639
      oprot.writeI32(self.itemStatus)
11640
      oprot.writeFieldEnd()
11641
    oprot.writeFieldStop()
11642
    oprot.writeStructEnd()
11643
 
11644
  def validate(self):
11645
    return
11646
 
11647
 
11648
  def __repr__(self):
11649
    L = ['%s=%r' % (key, value)
11650
      for key, value in self.__dict__.iteritems()]
11651
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11652
 
11653
  def __eq__(self, other):
11654
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11655
 
11656
  def __ne__(self, other):
11657
    return not (self == other)
11658
 
11659
class getItemCountByStatus_result:
11660
  """
11661
  Attributes:
11662
   - success
11663
  """
11664
 
11665
  thrift_spec = (
11666
    (0, TType.I32, 'success', None, None, ), # 0
11667
  )
11668
 
11669
  def __init__(self, success=None,):
11670
    self.success = success
11671
 
11672
  def read(self, iprot):
11673
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11674
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11675
      return
11676
    iprot.readStructBegin()
11677
    while True:
11678
      (fname, ftype, fid) = iprot.readFieldBegin()
11679
      if ftype == TType.STOP:
11680
        break
11681
      if fid == 0:
11682
        if ftype == TType.I32:
11683
          self.success = iprot.readI32();
11684
        else:
11685
          iprot.skip(ftype)
11686
      else:
11687
        iprot.skip(ftype)
11688
      iprot.readFieldEnd()
11689
    iprot.readStructEnd()
11690
 
11691
  def write(self, oprot):
11692
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11693
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11694
      return
11695
    oprot.writeStructBegin('getItemCountByStatus_result')
11696
    if self.success is not None:
11697
      oprot.writeFieldBegin('success', TType.I32, 0)
11698
      oprot.writeI32(self.success)
11699
      oprot.writeFieldEnd()
11700
    oprot.writeFieldStop()
11701
    oprot.writeStructEnd()
11702
 
11703
  def validate(self):
11704
    return
11705
 
11706
 
11707
  def __repr__(self):
11708
    L = ['%s=%r' % (key, value)
11709
      for key, value in self.__dict__.iteritems()]
11710
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11711
 
11712
  def __eq__(self, other):
11713
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11714
 
11715
  def __ne__(self, other):
11716
    return not (self == other)
11717
 
11718
class getBestSellers_args:
11719
 
11720
  thrift_spec = (
11721
  )
11722
 
11723
  def read(self, iprot):
11724
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11725
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11726
      return
11727
    iprot.readStructBegin()
11728
    while True:
11729
      (fname, ftype, fid) = iprot.readFieldBegin()
11730
      if ftype == TType.STOP:
11731
        break
11732
      else:
11733
        iprot.skip(ftype)
11734
      iprot.readFieldEnd()
11735
    iprot.readStructEnd()
11736
 
11737
  def write(self, oprot):
11738
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11739
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11740
      return
11741
    oprot.writeStructBegin('getBestSellers_args')
11742
    oprot.writeFieldStop()
11743
    oprot.writeStructEnd()
11744
 
11745
  def validate(self):
11746
    return
11747
 
11748
 
11749
  def __repr__(self):
11750
    L = ['%s=%r' % (key, value)
11751
      for key, value in self.__dict__.iteritems()]
11752
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11753
 
11754
  def __eq__(self, other):
11755
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11756
 
11757
  def __ne__(self, other):
11758
    return not (self == other)
11759
 
11760
class getBestSellers_result:
11761
  """
11762
  Attributes:
11763
   - success
11764
   - isex
11765
  """
11766
 
11767
  thrift_spec = (
11768
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
11769
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11770
  )
11771
 
11772
  def __init__(self, success=None, isex=None,):
11773
    self.success = success
11774
    self.isex = isex
11775
 
11776
  def read(self, iprot):
11777
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11778
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11779
      return
11780
    iprot.readStructBegin()
11781
    while True:
11782
      (fname, ftype, fid) = iprot.readFieldBegin()
11783
      if ftype == TType.STOP:
11784
        break
11785
      if fid == 0:
11786
        if ftype == TType.LIST:
11787
          self.success = []
12567 amit.gupta 11788
          (_etype100, _size97) = iprot.readListBegin()
11789
          for _i101 in xrange(_size97):
11790
            _elem102 = Item()
11791
            _elem102.read(iprot)
11792
            self.success.append(_elem102)
5944 mandeep.dh 11793
          iprot.readListEnd()
11794
        else:
11795
          iprot.skip(ftype)
11796
      elif fid == 1:
11797
        if ftype == TType.STRUCT:
11798
          self.isex = CatalogServiceException()
11799
          self.isex.read(iprot)
11800
        else:
11801
          iprot.skip(ftype)
11802
      else:
11803
        iprot.skip(ftype)
11804
      iprot.readFieldEnd()
11805
    iprot.readStructEnd()
11806
 
11807
  def write(self, oprot):
11808
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11809
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11810
      return
11811
    oprot.writeStructBegin('getBestSellers_result')
11812
    if self.success is not None:
11813
      oprot.writeFieldBegin('success', TType.LIST, 0)
11814
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 11815
      for iter103 in self.success:
11816
        iter103.write(oprot)
5944 mandeep.dh 11817
      oprot.writeListEnd()
11818
      oprot.writeFieldEnd()
11819
    if self.isex is not None:
11820
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
11821
      self.isex.write(oprot)
11822
      oprot.writeFieldEnd()
11823
    oprot.writeFieldStop()
11824
    oprot.writeStructEnd()
11825
 
11826
  def validate(self):
11827
    return
11828
 
11829
 
11830
  def __repr__(self):
11831
    L = ['%s=%r' % (key, value)
11832
      for key, value in self.__dict__.iteritems()]
11833
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11834
 
11835
  def __eq__(self, other):
11836
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11837
 
11838
  def __ne__(self, other):
11839
    return not (self == other)
11840
 
11841
class getBestSellersCatalogIds_args:
11842
  """
11843
  Attributes:
11844
   - beginIndex
11845
   - totalItems
11846
   - brand
11847
   - category
11848
  """
11849
 
11850
  thrift_spec = (
11851
    None, # 0
11852
    (1, TType.I64, 'beginIndex', None, None, ), # 1
11853
    (2, TType.I64, 'totalItems', None, None, ), # 2
11854
    (3, TType.STRING, 'brand', None, None, ), # 3
11855
    (4, TType.I64, 'category', None, None, ), # 4
11856
  )
11857
 
11858
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
11859
    self.beginIndex = beginIndex
11860
    self.totalItems = totalItems
11861
    self.brand = brand
11862
    self.category = category
11863
 
11864
  def read(self, iprot):
11865
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11866
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11867
      return
11868
    iprot.readStructBegin()
11869
    while True:
11870
      (fname, ftype, fid) = iprot.readFieldBegin()
11871
      if ftype == TType.STOP:
11872
        break
11873
      if fid == 1:
11874
        if ftype == TType.I64:
11875
          self.beginIndex = iprot.readI64();
11876
        else:
11877
          iprot.skip(ftype)
11878
      elif fid == 2:
11879
        if ftype == TType.I64:
11880
          self.totalItems = iprot.readI64();
11881
        else:
11882
          iprot.skip(ftype)
11883
      elif fid == 3:
11884
        if ftype == TType.STRING:
11885
          self.brand = iprot.readString();
11886
        else:
11887
          iprot.skip(ftype)
11888
      elif fid == 4:
11889
        if ftype == TType.I64:
11890
          self.category = iprot.readI64();
11891
        else:
11892
          iprot.skip(ftype)
11893
      else:
11894
        iprot.skip(ftype)
11895
      iprot.readFieldEnd()
11896
    iprot.readStructEnd()
11897
 
11898
  def write(self, oprot):
11899
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11900
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11901
      return
11902
    oprot.writeStructBegin('getBestSellersCatalogIds_args')
11903
    if self.beginIndex is not None:
11904
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
11905
      oprot.writeI64(self.beginIndex)
11906
      oprot.writeFieldEnd()
11907
    if self.totalItems is not None:
11908
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
11909
      oprot.writeI64(self.totalItems)
11910
      oprot.writeFieldEnd()
11911
    if self.brand is not None:
11912
      oprot.writeFieldBegin('brand', TType.STRING, 3)
11913
      oprot.writeString(self.brand)
11914
      oprot.writeFieldEnd()
11915
    if self.category is not None:
11916
      oprot.writeFieldBegin('category', TType.I64, 4)
11917
      oprot.writeI64(self.category)
11918
      oprot.writeFieldEnd()
11919
    oprot.writeFieldStop()
11920
    oprot.writeStructEnd()
11921
 
11922
  def validate(self):
11923
    return
11924
 
11925
 
11926
  def __repr__(self):
11927
    L = ['%s=%r' % (key, value)
11928
      for key, value in self.__dict__.iteritems()]
11929
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
11930
 
11931
  def __eq__(self, other):
11932
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
11933
 
11934
  def __ne__(self, other):
11935
    return not (self == other)
11936
 
11937
class getBestSellersCatalogIds_result:
11938
  """
11939
  Attributes:
11940
   - success
11941
   - cex
11942
  """
11943
 
11944
  thrift_spec = (
11945
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
11946
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
11947
  )
11948
 
11949
  def __init__(self, success=None, cex=None,):
11950
    self.success = success
11951
    self.cex = cex
11952
 
11953
  def read(self, iprot):
11954
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
11955
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
11956
      return
11957
    iprot.readStructBegin()
11958
    while True:
11959
      (fname, ftype, fid) = iprot.readFieldBegin()
11960
      if ftype == TType.STOP:
11961
        break
11962
      if fid == 0:
11963
        if ftype == TType.LIST:
11964
          self.success = []
12567 amit.gupta 11965
          (_etype107, _size104) = iprot.readListBegin()
11966
          for _i108 in xrange(_size104):
11967
            _elem109 = iprot.readI64();
11968
            self.success.append(_elem109)
5944 mandeep.dh 11969
          iprot.readListEnd()
11970
        else:
11971
          iprot.skip(ftype)
11972
      elif fid == 1:
11973
        if ftype == TType.STRUCT:
11974
          self.cex = CatalogServiceException()
11975
          self.cex.read(iprot)
11976
        else:
11977
          iprot.skip(ftype)
11978
      else:
11979
        iprot.skip(ftype)
11980
      iprot.readFieldEnd()
11981
    iprot.readStructEnd()
11982
 
11983
  def write(self, oprot):
11984
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
11985
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
11986
      return
11987
    oprot.writeStructBegin('getBestSellersCatalogIds_result')
11988
    if self.success is not None:
11989
      oprot.writeFieldBegin('success', TType.LIST, 0)
11990
      oprot.writeListBegin(TType.I64, len(self.success))
12567 amit.gupta 11991
      for iter110 in self.success:
11992
        oprot.writeI64(iter110)
5944 mandeep.dh 11993
      oprot.writeListEnd()
11994
      oprot.writeFieldEnd()
11995
    if self.cex is not None:
11996
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
11997
      self.cex.write(oprot)
11998
      oprot.writeFieldEnd()
11999
    oprot.writeFieldStop()
12000
    oprot.writeStructEnd()
12001
 
12002
  def validate(self):
12003
    return
12004
 
12005
 
12006
  def __repr__(self):
12007
    L = ['%s=%r' % (key, value)
12008
      for key, value in self.__dict__.iteritems()]
12009
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12010
 
12011
  def __eq__(self, other):
12012
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12013
 
12014
  def __ne__(self, other):
12015
    return not (self == other)
12016
 
12017
class getBestSellersCount_args:
12018
 
12019
  thrift_spec = (
12020
  )
12021
 
12022
  def read(self, iprot):
12023
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12024
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12025
      return
12026
    iprot.readStructBegin()
12027
    while True:
12028
      (fname, ftype, fid) = iprot.readFieldBegin()
12029
      if ftype == TType.STOP:
12030
        break
12031
      else:
12032
        iprot.skip(ftype)
12033
      iprot.readFieldEnd()
12034
    iprot.readStructEnd()
12035
 
12036
  def write(self, oprot):
12037
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12038
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12039
      return
12040
    oprot.writeStructBegin('getBestSellersCount_args')
12041
    oprot.writeFieldStop()
12042
    oprot.writeStructEnd()
12043
 
12044
  def validate(self):
12045
    return
12046
 
12047
 
12048
  def __repr__(self):
12049
    L = ['%s=%r' % (key, value)
12050
      for key, value in self.__dict__.iteritems()]
12051
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12052
 
12053
  def __eq__(self, other):
12054
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12055
 
12056
  def __ne__(self, other):
12057
    return not (self == other)
12058
 
12059
class getBestSellersCount_result:
12060
  """
12061
  Attributes:
12062
   - success
12063
   - cex
12064
  """
12065
 
12066
  thrift_spec = (
12067
    (0, TType.I64, 'success', None, None, ), # 0
12068
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12069
  )
12070
 
12071
  def __init__(self, success=None, cex=None,):
12072
    self.success = success
12073
    self.cex = cex
12074
 
12075
  def read(self, iprot):
12076
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12077
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12078
      return
12079
    iprot.readStructBegin()
12080
    while True:
12081
      (fname, ftype, fid) = iprot.readFieldBegin()
12082
      if ftype == TType.STOP:
12083
        break
12084
      if fid == 0:
12085
        if ftype == TType.I64:
12086
          self.success = iprot.readI64();
12087
        else:
12088
          iprot.skip(ftype)
12089
      elif fid == 1:
12090
        if ftype == TType.STRUCT:
12091
          self.cex = CatalogServiceException()
12092
          self.cex.read(iprot)
12093
        else:
12094
          iprot.skip(ftype)
12095
      else:
12096
        iprot.skip(ftype)
12097
      iprot.readFieldEnd()
12098
    iprot.readStructEnd()
12099
 
12100
  def write(self, oprot):
12101
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12102
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12103
      return
12104
    oprot.writeStructBegin('getBestSellersCount_result')
12105
    if self.success is not None:
12106
      oprot.writeFieldBegin('success', TType.I64, 0)
12107
      oprot.writeI64(self.success)
12108
      oprot.writeFieldEnd()
12109
    if self.cex is not None:
12110
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12111
      self.cex.write(oprot)
12112
      oprot.writeFieldEnd()
12113
    oprot.writeFieldStop()
12114
    oprot.writeStructEnd()
12115
 
12116
  def validate(self):
12117
    return
12118
 
12119
 
12120
  def __repr__(self):
12121
    L = ['%s=%r' % (key, value)
12122
      for key, value in self.__dict__.iteritems()]
12123
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12124
 
12125
  def __eq__(self, other):
12126
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12127
 
12128
  def __ne__(self, other):
12129
    return not (self == other)
12130
 
12131
class getBestDeals_args:
12132
 
12133
  thrift_spec = (
12134
  )
12135
 
12136
  def read(self, iprot):
12137
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12138
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12139
      return
12140
    iprot.readStructBegin()
12141
    while True:
12142
      (fname, ftype, fid) = iprot.readFieldBegin()
12143
      if ftype == TType.STOP:
12144
        break
12145
      else:
12146
        iprot.skip(ftype)
12147
      iprot.readFieldEnd()
12148
    iprot.readStructEnd()
12149
 
12150
  def write(self, oprot):
12151
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12152
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12153
      return
12154
    oprot.writeStructBegin('getBestDeals_args')
12155
    oprot.writeFieldStop()
12156
    oprot.writeStructEnd()
12157
 
12158
  def validate(self):
12159
    return
12160
 
12161
 
12162
  def __repr__(self):
12163
    L = ['%s=%r' % (key, value)
12164
      for key, value in self.__dict__.iteritems()]
12165
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12166
 
12167
  def __eq__(self, other):
12168
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12169
 
12170
  def __ne__(self, other):
12171
    return not (self == other)
12172
 
12173
class getBestDeals_result:
12174
  """
12175
  Attributes:
12176
   - success
12177
   - isex
12178
  """
12179
 
12180
  thrift_spec = (
12181
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12182
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12183
  )
12184
 
12185
  def __init__(self, success=None, isex=None,):
12186
    self.success = success
12187
    self.isex = isex
12188
 
12189
  def read(self, iprot):
12190
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12191
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12192
      return
12193
    iprot.readStructBegin()
12194
    while True:
12195
      (fname, ftype, fid) = iprot.readFieldBegin()
12196
      if ftype == TType.STOP:
12197
        break
12198
      if fid == 0:
12199
        if ftype == TType.LIST:
12200
          self.success = []
12567 amit.gupta 12201
          (_etype114, _size111) = iprot.readListBegin()
12202
          for _i115 in xrange(_size111):
12203
            _elem116 = Item()
12204
            _elem116.read(iprot)
12205
            self.success.append(_elem116)
5944 mandeep.dh 12206
          iprot.readListEnd()
12207
        else:
12208
          iprot.skip(ftype)
12209
      elif fid == 1:
12210
        if ftype == TType.STRUCT:
12211
          self.isex = CatalogServiceException()
12212
          self.isex.read(iprot)
12213
        else:
12214
          iprot.skip(ftype)
12215
      else:
12216
        iprot.skip(ftype)
12217
      iprot.readFieldEnd()
12218
    iprot.readStructEnd()
12219
 
12220
  def write(self, oprot):
12221
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12222
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12223
      return
12224
    oprot.writeStructBegin('getBestDeals_result')
12225
    if self.success is not None:
12226
      oprot.writeFieldBegin('success', TType.LIST, 0)
12227
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 12228
      for iter117 in self.success:
12229
        iter117.write(oprot)
5944 mandeep.dh 12230
      oprot.writeListEnd()
12231
      oprot.writeFieldEnd()
12232
    if self.isex is not None:
12233
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
12234
      self.isex.write(oprot)
12235
      oprot.writeFieldEnd()
12236
    oprot.writeFieldStop()
12237
    oprot.writeStructEnd()
12238
 
12239
  def validate(self):
12240
    return
12241
 
12242
 
12243
  def __repr__(self):
12244
    L = ['%s=%r' % (key, value)
12245
      for key, value in self.__dict__.iteritems()]
12246
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12247
 
12248
  def __eq__(self, other):
12249
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12250
 
12251
  def __ne__(self, other):
12252
    return not (self == other)
12253
 
12254
class getBestDealsCatalogIds_args:
12255
  """
12256
  Attributes:
12257
   - beginIndex
12258
   - totalItems
12259
   - brand
12260
   - category
12261
  """
12262
 
12263
  thrift_spec = (
12264
    None, # 0
12265
    (1, TType.I64, 'beginIndex', None, None, ), # 1
12266
    (2, TType.I64, 'totalItems', None, None, ), # 2
12267
    (3, TType.STRING, 'brand', None, None, ), # 3
12268
    (4, TType.I64, 'category', None, None, ), # 4
12269
  )
12270
 
12271
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
12272
    self.beginIndex = beginIndex
12273
    self.totalItems = totalItems
12274
    self.brand = brand
12275
    self.category = category
12276
 
12277
  def read(self, iprot):
12278
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12279
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12280
      return
12281
    iprot.readStructBegin()
12282
    while True:
12283
      (fname, ftype, fid) = iprot.readFieldBegin()
12284
      if ftype == TType.STOP:
12285
        break
12286
      if fid == 1:
12287
        if ftype == TType.I64:
12288
          self.beginIndex = iprot.readI64();
12289
        else:
12290
          iprot.skip(ftype)
12291
      elif fid == 2:
12292
        if ftype == TType.I64:
12293
          self.totalItems = iprot.readI64();
12294
        else:
12295
          iprot.skip(ftype)
12296
      elif fid == 3:
12297
        if ftype == TType.STRING:
12298
          self.brand = iprot.readString();
12299
        else:
12300
          iprot.skip(ftype)
12301
      elif fid == 4:
12302
        if ftype == TType.I64:
12303
          self.category = iprot.readI64();
12304
        else:
12305
          iprot.skip(ftype)
12306
      else:
12307
        iprot.skip(ftype)
12308
      iprot.readFieldEnd()
12309
    iprot.readStructEnd()
12310
 
12311
  def write(self, oprot):
12312
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12313
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12314
      return
12315
    oprot.writeStructBegin('getBestDealsCatalogIds_args')
12316
    if self.beginIndex is not None:
12317
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
12318
      oprot.writeI64(self.beginIndex)
12319
      oprot.writeFieldEnd()
12320
    if self.totalItems is not None:
12321
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
12322
      oprot.writeI64(self.totalItems)
12323
      oprot.writeFieldEnd()
12324
    if self.brand is not None:
12325
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12326
      oprot.writeString(self.brand)
12327
      oprot.writeFieldEnd()
12328
    if self.category is not None:
12329
      oprot.writeFieldBegin('category', TType.I64, 4)
12330
      oprot.writeI64(self.category)
12331
      oprot.writeFieldEnd()
12332
    oprot.writeFieldStop()
12333
    oprot.writeStructEnd()
12334
 
12335
  def validate(self):
12336
    return
12337
 
12338
 
12339
  def __repr__(self):
12340
    L = ['%s=%r' % (key, value)
12341
      for key, value in self.__dict__.iteritems()]
12342
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12343
 
12344
  def __eq__(self, other):
12345
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12346
 
12347
  def __ne__(self, other):
12348
    return not (self == other)
12349
 
12350
class getBestDealsCatalogIds_result:
12351
  """
12352
  Attributes:
12353
   - success
12354
   - cex
12355
  """
12356
 
12357
  thrift_spec = (
12358
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
12359
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12360
  )
12361
 
12362
  def __init__(self, success=None, cex=None,):
12363
    self.success = success
12364
    self.cex = cex
12365
 
12366
  def read(self, iprot):
12367
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12368
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12369
      return
12370
    iprot.readStructBegin()
12371
    while True:
12372
      (fname, ftype, fid) = iprot.readFieldBegin()
12373
      if ftype == TType.STOP:
12374
        break
12375
      if fid == 0:
12376
        if ftype == TType.LIST:
12377
          self.success = []
12567 amit.gupta 12378
          (_etype121, _size118) = iprot.readListBegin()
12379
          for _i122 in xrange(_size118):
12380
            _elem123 = iprot.readI64();
12381
            self.success.append(_elem123)
5944 mandeep.dh 12382
          iprot.readListEnd()
12383
        else:
12384
          iprot.skip(ftype)
12385
      elif fid == 1:
12386
        if ftype == TType.STRUCT:
12387
          self.cex = CatalogServiceException()
12388
          self.cex.read(iprot)
12389
        else:
12390
          iprot.skip(ftype)
12391
      else:
12392
        iprot.skip(ftype)
12393
      iprot.readFieldEnd()
12394
    iprot.readStructEnd()
12395
 
12396
  def write(self, oprot):
12397
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12398
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12399
      return
12400
    oprot.writeStructBegin('getBestDealsCatalogIds_result')
12401
    if self.success is not None:
12402
      oprot.writeFieldBegin('success', TType.LIST, 0)
12403
      oprot.writeListBegin(TType.I64, len(self.success))
12567 amit.gupta 12404
      for iter124 in self.success:
12405
        oprot.writeI64(iter124)
5944 mandeep.dh 12406
      oprot.writeListEnd()
12407
      oprot.writeFieldEnd()
12408
    if self.cex is not None:
12409
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12410
      self.cex.write(oprot)
12411
      oprot.writeFieldEnd()
12412
    oprot.writeFieldStop()
12413
    oprot.writeStructEnd()
12414
 
12415
  def validate(self):
12416
    return
12417
 
12418
 
12419
  def __repr__(self):
12420
    L = ['%s=%r' % (key, value)
12421
      for key, value in self.__dict__.iteritems()]
12422
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12423
 
12424
  def __eq__(self, other):
12425
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12426
 
12427
  def __ne__(self, other):
12428
    return not (self == other)
12429
 
12430
class getBestDealsCount_args:
12431
 
12432
  thrift_spec = (
12433
  )
12434
 
12435
  def read(self, iprot):
12436
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12437
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12438
      return
12439
    iprot.readStructBegin()
12440
    while True:
12441
      (fname, ftype, fid) = iprot.readFieldBegin()
12442
      if ftype == TType.STOP:
12443
        break
12444
      else:
12445
        iprot.skip(ftype)
12446
      iprot.readFieldEnd()
12447
    iprot.readStructEnd()
12448
 
12449
  def write(self, oprot):
12450
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12451
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12452
      return
12453
    oprot.writeStructBegin('getBestDealsCount_args')
12454
    oprot.writeFieldStop()
12455
    oprot.writeStructEnd()
12456
 
12457
  def validate(self):
12458
    return
12459
 
12460
 
12461
  def __repr__(self):
12462
    L = ['%s=%r' % (key, value)
12463
      for key, value in self.__dict__.iteritems()]
12464
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12465
 
12466
  def __eq__(self, other):
12467
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12468
 
12469
  def __ne__(self, other):
12470
    return not (self == other)
12471
 
12472
class getBestDealsCount_result:
12473
  """
12474
  Attributes:
12475
   - success
12476
   - cex
12477
  """
12478
 
12479
  thrift_spec = (
12480
    (0, TType.I64, 'success', None, None, ), # 0
12481
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12482
  )
12483
 
12484
  def __init__(self, success=None, cex=None,):
12485
    self.success = success
12486
    self.cex = cex
12487
 
12488
  def read(self, iprot):
12489
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12490
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12491
      return
12492
    iprot.readStructBegin()
12493
    while True:
12494
      (fname, ftype, fid) = iprot.readFieldBegin()
12495
      if ftype == TType.STOP:
12496
        break
12497
      if fid == 0:
12498
        if ftype == TType.I64:
12499
          self.success = iprot.readI64();
12500
        else:
12501
          iprot.skip(ftype)
12502
      elif fid == 1:
12503
        if ftype == TType.STRUCT:
12504
          self.cex = CatalogServiceException()
12505
          self.cex.read(iprot)
12506
        else:
12507
          iprot.skip(ftype)
12508
      else:
12509
        iprot.skip(ftype)
12510
      iprot.readFieldEnd()
12511
    iprot.readStructEnd()
12512
 
12513
  def write(self, oprot):
12514
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12515
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12516
      return
12517
    oprot.writeStructBegin('getBestDealsCount_result')
12518
    if self.success is not None:
12519
      oprot.writeFieldBegin('success', TType.I64, 0)
12520
      oprot.writeI64(self.success)
12521
      oprot.writeFieldEnd()
12522
    if self.cex is not None:
12523
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12524
      self.cex.write(oprot)
12525
      oprot.writeFieldEnd()
12526
    oprot.writeFieldStop()
12527
    oprot.writeStructEnd()
12528
 
12529
  def validate(self):
12530
    return
12531
 
12532
 
12533
  def __repr__(self):
12534
    L = ['%s=%r' % (key, value)
12535
      for key, value in self.__dict__.iteritems()]
12536
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12537
 
12538
  def __eq__(self, other):
12539
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12540
 
12541
  def __ne__(self, other):
12542
    return not (self == other)
12543
 
12544
class getComingSoon_args:
12545
 
12546
  thrift_spec = (
12547
  )
12548
 
12549
  def read(self, iprot):
12550
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12551
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12552
      return
12553
    iprot.readStructBegin()
12554
    while True:
12555
      (fname, ftype, fid) = iprot.readFieldBegin()
12556
      if ftype == TType.STOP:
12557
        break
12558
      else:
12559
        iprot.skip(ftype)
12560
      iprot.readFieldEnd()
12561
    iprot.readStructEnd()
12562
 
12563
  def write(self, oprot):
12564
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12565
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12566
      return
12567
    oprot.writeStructBegin('getComingSoon_args')
12568
    oprot.writeFieldStop()
12569
    oprot.writeStructEnd()
12570
 
12571
  def validate(self):
12572
    return
12573
 
12574
 
12575
  def __repr__(self):
12576
    L = ['%s=%r' % (key, value)
12577
      for key, value in self.__dict__.iteritems()]
12578
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12579
 
12580
  def __eq__(self, other):
12581
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12582
 
12583
  def __ne__(self, other):
12584
    return not (self == other)
12585
 
12586
class getComingSoon_result:
12587
  """
12588
  Attributes:
12589
   - success
12590
   - isex
12591
  """
12592
 
12593
  thrift_spec = (
12594
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
12595
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12596
  )
12597
 
12598
  def __init__(self, success=None, isex=None,):
12599
    self.success = success
12600
    self.isex = isex
12601
 
12602
  def read(self, iprot):
12603
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12604
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12605
      return
12606
    iprot.readStructBegin()
12607
    while True:
12608
      (fname, ftype, fid) = iprot.readFieldBegin()
12609
      if ftype == TType.STOP:
12610
        break
12611
      if fid == 0:
12612
        if ftype == TType.LIST:
12613
          self.success = []
12567 amit.gupta 12614
          (_etype128, _size125) = iprot.readListBegin()
12615
          for _i129 in xrange(_size125):
12616
            _elem130 = Item()
12617
            _elem130.read(iprot)
12618
            self.success.append(_elem130)
5944 mandeep.dh 12619
          iprot.readListEnd()
12620
        else:
12621
          iprot.skip(ftype)
12622
      elif fid == 1:
12623
        if ftype == TType.STRUCT:
12624
          self.isex = CatalogServiceException()
12625
          self.isex.read(iprot)
12626
        else:
12627
          iprot.skip(ftype)
12628
      else:
12629
        iprot.skip(ftype)
12630
      iprot.readFieldEnd()
12631
    iprot.readStructEnd()
12632
 
12633
  def write(self, oprot):
12634
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12635
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12636
      return
12637
    oprot.writeStructBegin('getComingSoon_result')
12638
    if self.success is not None:
12639
      oprot.writeFieldBegin('success', TType.LIST, 0)
12640
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 12641
      for iter131 in self.success:
12642
        iter131.write(oprot)
5944 mandeep.dh 12643
      oprot.writeListEnd()
12644
      oprot.writeFieldEnd()
12645
    if self.isex is not None:
12646
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
12647
      self.isex.write(oprot)
12648
      oprot.writeFieldEnd()
12649
    oprot.writeFieldStop()
12650
    oprot.writeStructEnd()
12651
 
12652
  def validate(self):
12653
    return
12654
 
12655
 
12656
  def __repr__(self):
12657
    L = ['%s=%r' % (key, value)
12658
      for key, value in self.__dict__.iteritems()]
12659
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12660
 
12661
  def __eq__(self, other):
12662
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12663
 
12664
  def __ne__(self, other):
12665
    return not (self == other)
12666
 
12667
class getComingSoonCatalogIds_args:
12668
  """
12669
  Attributes:
12670
   - beginIndex
12671
   - totalItems
12672
   - brand
12673
   - category
12674
  """
12675
 
12676
  thrift_spec = (
12677
    None, # 0
12678
    (1, TType.I64, 'beginIndex', None, None, ), # 1
12679
    (2, TType.I64, 'totalItems', None, None, ), # 2
12680
    (3, TType.STRING, 'brand', None, None, ), # 3
12681
    (4, TType.I64, 'category', None, None, ), # 4
12682
  )
12683
 
12684
  def __init__(self, beginIndex=None, totalItems=None, brand=None, category=None,):
12685
    self.beginIndex = beginIndex
12686
    self.totalItems = totalItems
12687
    self.brand = brand
12688
    self.category = category
12689
 
12690
  def read(self, iprot):
12691
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12692
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12693
      return
12694
    iprot.readStructBegin()
12695
    while True:
12696
      (fname, ftype, fid) = iprot.readFieldBegin()
12697
      if ftype == TType.STOP:
12698
        break
12699
      if fid == 1:
12700
        if ftype == TType.I64:
12701
          self.beginIndex = iprot.readI64();
12702
        else:
12703
          iprot.skip(ftype)
12704
      elif fid == 2:
12705
        if ftype == TType.I64:
12706
          self.totalItems = iprot.readI64();
12707
        else:
12708
          iprot.skip(ftype)
12709
      elif fid == 3:
12710
        if ftype == TType.STRING:
12711
          self.brand = iprot.readString();
12712
        else:
12713
          iprot.skip(ftype)
12714
      elif fid == 4:
12715
        if ftype == TType.I64:
12716
          self.category = iprot.readI64();
12717
        else:
12718
          iprot.skip(ftype)
12719
      else:
12720
        iprot.skip(ftype)
12721
      iprot.readFieldEnd()
12722
    iprot.readStructEnd()
12723
 
12724
  def write(self, oprot):
12725
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12726
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12727
      return
12728
    oprot.writeStructBegin('getComingSoonCatalogIds_args')
12729
    if self.beginIndex is not None:
12730
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
12731
      oprot.writeI64(self.beginIndex)
12732
      oprot.writeFieldEnd()
12733
    if self.totalItems is not None:
12734
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
12735
      oprot.writeI64(self.totalItems)
12736
      oprot.writeFieldEnd()
12737
    if self.brand is not None:
12738
      oprot.writeFieldBegin('brand', TType.STRING, 3)
12739
      oprot.writeString(self.brand)
12740
      oprot.writeFieldEnd()
12741
    if self.category is not None:
12742
      oprot.writeFieldBegin('category', TType.I64, 4)
12743
      oprot.writeI64(self.category)
12744
      oprot.writeFieldEnd()
12745
    oprot.writeFieldStop()
12746
    oprot.writeStructEnd()
12747
 
12748
  def validate(self):
12749
    return
12750
 
12751
 
12752
  def __repr__(self):
12753
    L = ['%s=%r' % (key, value)
12754
      for key, value in self.__dict__.iteritems()]
12755
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12756
 
12757
  def __eq__(self, other):
12758
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12759
 
12760
  def __ne__(self, other):
12761
    return not (self == other)
12762
 
12763
class getComingSoonCatalogIds_result:
12764
  """
12765
  Attributes:
12766
   - success
12767
   - cex
12768
  """
12769
 
12770
  thrift_spec = (
12771
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
12772
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12773
  )
12774
 
12775
  def __init__(self, success=None, cex=None,):
12776
    self.success = success
12777
    self.cex = cex
12778
 
12779
  def read(self, iprot):
12780
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12781
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12782
      return
12783
    iprot.readStructBegin()
12784
    while True:
12785
      (fname, ftype, fid) = iprot.readFieldBegin()
12786
      if ftype == TType.STOP:
12787
        break
12788
      if fid == 0:
12789
        if ftype == TType.LIST:
12790
          self.success = []
12567 amit.gupta 12791
          (_etype135, _size132) = iprot.readListBegin()
12792
          for _i136 in xrange(_size132):
12793
            _elem137 = iprot.readI64();
12794
            self.success.append(_elem137)
5944 mandeep.dh 12795
          iprot.readListEnd()
12796
        else:
12797
          iprot.skip(ftype)
12798
      elif fid == 1:
12799
        if ftype == TType.STRUCT:
12800
          self.cex = CatalogServiceException()
12801
          self.cex.read(iprot)
12802
        else:
12803
          iprot.skip(ftype)
12804
      else:
12805
        iprot.skip(ftype)
12806
      iprot.readFieldEnd()
12807
    iprot.readStructEnd()
12808
 
12809
  def write(self, oprot):
12810
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12811
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12812
      return
12813
    oprot.writeStructBegin('getComingSoonCatalogIds_result')
12814
    if self.success is not None:
12815
      oprot.writeFieldBegin('success', TType.LIST, 0)
12816
      oprot.writeListBegin(TType.I64, len(self.success))
12567 amit.gupta 12817
      for iter138 in self.success:
12818
        oprot.writeI64(iter138)
5944 mandeep.dh 12819
      oprot.writeListEnd()
12820
      oprot.writeFieldEnd()
12821
    if self.cex is not None:
12822
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12823
      self.cex.write(oprot)
12824
      oprot.writeFieldEnd()
12825
    oprot.writeFieldStop()
12826
    oprot.writeStructEnd()
12827
 
12828
  def validate(self):
12829
    return
12830
 
12831
 
12832
  def __repr__(self):
12833
    L = ['%s=%r' % (key, value)
12834
      for key, value in self.__dict__.iteritems()]
12835
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12836
 
12837
  def __eq__(self, other):
12838
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12839
 
12840
  def __ne__(self, other):
12841
    return not (self == other)
12842
 
12843
class getComingSoonCount_args:
12844
 
12845
  thrift_spec = (
12846
  )
12847
 
12848
  def read(self, iprot):
12849
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12850
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12851
      return
12852
    iprot.readStructBegin()
12853
    while True:
12854
      (fname, ftype, fid) = iprot.readFieldBegin()
12855
      if ftype == TType.STOP:
12856
        break
12857
      else:
12858
        iprot.skip(ftype)
12859
      iprot.readFieldEnd()
12860
    iprot.readStructEnd()
12861
 
12862
  def write(self, oprot):
12863
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12864
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12865
      return
12866
    oprot.writeStructBegin('getComingSoonCount_args')
12867
    oprot.writeFieldStop()
12868
    oprot.writeStructEnd()
12869
 
12870
  def validate(self):
12871
    return
12872
 
12873
 
12874
  def __repr__(self):
12875
    L = ['%s=%r' % (key, value)
12876
      for key, value in self.__dict__.iteritems()]
12877
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12878
 
12879
  def __eq__(self, other):
12880
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12881
 
12882
  def __ne__(self, other):
12883
    return not (self == other)
12884
 
12885
class getComingSoonCount_result:
12886
  """
12887
  Attributes:
12888
   - success
12889
   - cex
12890
  """
12891
 
12892
  thrift_spec = (
12893
    (0, TType.I64, 'success', None, None, ), # 0
12894
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
12895
  )
12896
 
12897
  def __init__(self, success=None, cex=None,):
12898
    self.success = success
12899
    self.cex = cex
12900
 
12901
  def read(self, iprot):
12902
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12903
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12904
      return
12905
    iprot.readStructBegin()
12906
    while True:
12907
      (fname, ftype, fid) = iprot.readFieldBegin()
12908
      if ftype == TType.STOP:
12909
        break
12910
      if fid == 0:
12911
        if ftype == TType.I64:
12912
          self.success = iprot.readI64();
12913
        else:
12914
          iprot.skip(ftype)
12915
      elif fid == 1:
12916
        if ftype == TType.STRUCT:
12917
          self.cex = CatalogServiceException()
12918
          self.cex.read(iprot)
12919
        else:
12920
          iprot.skip(ftype)
12921
      else:
12922
        iprot.skip(ftype)
12923
      iprot.readFieldEnd()
12924
    iprot.readStructEnd()
12925
 
12926
  def write(self, oprot):
12927
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12928
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12929
      return
12930
    oprot.writeStructBegin('getComingSoonCount_result')
12931
    if self.success is not None:
12932
      oprot.writeFieldBegin('success', TType.I64, 0)
12933
      oprot.writeI64(self.success)
12934
      oprot.writeFieldEnd()
12935
    if self.cex is not None:
12936
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
12937
      self.cex.write(oprot)
12938
      oprot.writeFieldEnd()
12939
    oprot.writeFieldStop()
12940
    oprot.writeStructEnd()
12941
 
12942
  def validate(self):
12943
    return
12944
 
12945
 
12946
  def __repr__(self):
12947
    L = ['%s=%r' % (key, value)
12948
      for key, value in self.__dict__.iteritems()]
12949
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12950
 
12951
  def __eq__(self, other):
12952
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12953
 
12954
  def __ne__(self, other):
12955
    return not (self == other)
12956
 
12957
class getLatestArrivals_args:
12958
 
12959
  thrift_spec = (
12960
  )
12961
 
12962
  def read(self, iprot):
12963
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
12964
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
12965
      return
12966
    iprot.readStructBegin()
12967
    while True:
12968
      (fname, ftype, fid) = iprot.readFieldBegin()
12969
      if ftype == TType.STOP:
12970
        break
12971
      else:
12972
        iprot.skip(ftype)
12973
      iprot.readFieldEnd()
12974
    iprot.readStructEnd()
12975
 
12976
  def write(self, oprot):
12977
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
12978
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
12979
      return
12980
    oprot.writeStructBegin('getLatestArrivals_args')
12981
    oprot.writeFieldStop()
12982
    oprot.writeStructEnd()
12983
 
12984
  def validate(self):
12985
    return
12986
 
12987
 
12988
  def __repr__(self):
12989
    L = ['%s=%r' % (key, value)
12990
      for key, value in self.__dict__.iteritems()]
12991
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
12992
 
12993
  def __eq__(self, other):
12994
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
12995
 
12996
  def __ne__(self, other):
12997
    return not (self == other)
12998
 
12999
class getLatestArrivals_result:
13000
  """
13001
  Attributes:
13002
   - success
13003
   - isex
13004
  """
13005
 
13006
  thrift_spec = (
13007
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13008
    (1, TType.STRUCT, 'isex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13009
  )
13010
 
13011
  def __init__(self, success=None, isex=None,):
13012
    self.success = success
13013
    self.isex = isex
13014
 
13015
  def read(self, iprot):
13016
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13017
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13018
      return
13019
    iprot.readStructBegin()
13020
    while True:
13021
      (fname, ftype, fid) = iprot.readFieldBegin()
13022
      if ftype == TType.STOP:
13023
        break
13024
      if fid == 0:
13025
        if ftype == TType.LIST:
13026
          self.success = []
12567 amit.gupta 13027
          (_etype142, _size139) = iprot.readListBegin()
13028
          for _i143 in xrange(_size139):
13029
            _elem144 = Item()
13030
            _elem144.read(iprot)
13031
            self.success.append(_elem144)
5944 mandeep.dh 13032
          iprot.readListEnd()
13033
        else:
13034
          iprot.skip(ftype)
13035
      elif fid == 1:
13036
        if ftype == TType.STRUCT:
13037
          self.isex = CatalogServiceException()
13038
          self.isex.read(iprot)
13039
        else:
13040
          iprot.skip(ftype)
13041
      else:
13042
        iprot.skip(ftype)
13043
      iprot.readFieldEnd()
13044
    iprot.readStructEnd()
13045
 
13046
  def write(self, oprot):
13047
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13048
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13049
      return
13050
    oprot.writeStructBegin('getLatestArrivals_result')
13051
    if self.success is not None:
13052
      oprot.writeFieldBegin('success', TType.LIST, 0)
13053
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 13054
      for iter145 in self.success:
13055
        iter145.write(oprot)
5944 mandeep.dh 13056
      oprot.writeListEnd()
13057
      oprot.writeFieldEnd()
13058
    if self.isex is not None:
13059
      oprot.writeFieldBegin('isex', TType.STRUCT, 1)
13060
      self.isex.write(oprot)
13061
      oprot.writeFieldEnd()
13062
    oprot.writeFieldStop()
13063
    oprot.writeStructEnd()
13064
 
13065
  def validate(self):
13066
    return
13067
 
13068
 
13069
  def __repr__(self):
13070
    L = ['%s=%r' % (key, value)
13071
      for key, value in self.__dict__.iteritems()]
13072
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13073
 
13074
  def __eq__(self, other):
13075
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13076
 
13077
  def __ne__(self, other):
13078
    return not (self == other)
13079
 
13080
class getLatestArrivalsCatalogIds_args:
13081
  """
13082
  Attributes:
13083
   - beginIndex
13084
   - totalItems
13085
   - brand
13086
   - categories
13087
  """
13088
 
13089
  thrift_spec = (
13090
    None, # 0
13091
    (1, TType.I64, 'beginIndex', None, None, ), # 1
13092
    (2, TType.I64, 'totalItems', None, None, ), # 2
13093
    (3, TType.STRING, 'brand', None, None, ), # 3
13094
    (4, TType.LIST, 'categories', (TType.I64,None), None, ), # 4
13095
  )
13096
 
13097
  def __init__(self, beginIndex=None, totalItems=None, brand=None, categories=None,):
13098
    self.beginIndex = beginIndex
13099
    self.totalItems = totalItems
13100
    self.brand = brand
13101
    self.categories = categories
13102
 
13103
  def read(self, iprot):
13104
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13105
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13106
      return
13107
    iprot.readStructBegin()
13108
    while True:
13109
      (fname, ftype, fid) = iprot.readFieldBegin()
13110
      if ftype == TType.STOP:
13111
        break
13112
      if fid == 1:
13113
        if ftype == TType.I64:
13114
          self.beginIndex = iprot.readI64();
13115
        else:
13116
          iprot.skip(ftype)
13117
      elif fid == 2:
13118
        if ftype == TType.I64:
13119
          self.totalItems = iprot.readI64();
13120
        else:
13121
          iprot.skip(ftype)
13122
      elif fid == 3:
13123
        if ftype == TType.STRING:
13124
          self.brand = iprot.readString();
13125
        else:
13126
          iprot.skip(ftype)
13127
      elif fid == 4:
13128
        if ftype == TType.LIST:
13129
          self.categories = []
12567 amit.gupta 13130
          (_etype149, _size146) = iprot.readListBegin()
13131
          for _i150 in xrange(_size146):
13132
            _elem151 = iprot.readI64();
13133
            self.categories.append(_elem151)
5944 mandeep.dh 13134
          iprot.readListEnd()
13135
        else:
13136
          iprot.skip(ftype)
13137
      else:
13138
        iprot.skip(ftype)
13139
      iprot.readFieldEnd()
13140
    iprot.readStructEnd()
13141
 
13142
  def write(self, oprot):
13143
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13144
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13145
      return
13146
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_args')
13147
    if self.beginIndex is not None:
13148
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
13149
      oprot.writeI64(self.beginIndex)
13150
      oprot.writeFieldEnd()
13151
    if self.totalItems is not None:
13152
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
13153
      oprot.writeI64(self.totalItems)
13154
      oprot.writeFieldEnd()
13155
    if self.brand is not None:
13156
      oprot.writeFieldBegin('brand', TType.STRING, 3)
13157
      oprot.writeString(self.brand)
13158
      oprot.writeFieldEnd()
13159
    if self.categories is not None:
13160
      oprot.writeFieldBegin('categories', TType.LIST, 4)
13161
      oprot.writeListBegin(TType.I64, len(self.categories))
12567 amit.gupta 13162
      for iter152 in self.categories:
13163
        oprot.writeI64(iter152)
5944 mandeep.dh 13164
      oprot.writeListEnd()
13165
      oprot.writeFieldEnd()
13166
    oprot.writeFieldStop()
13167
    oprot.writeStructEnd()
13168
 
13169
  def validate(self):
13170
    return
13171
 
13172
 
13173
  def __repr__(self):
13174
    L = ['%s=%r' % (key, value)
13175
      for key, value in self.__dict__.iteritems()]
13176
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13177
 
13178
  def __eq__(self, other):
13179
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13180
 
13181
  def __ne__(self, other):
13182
    return not (self == other)
13183
 
13184
class getLatestArrivalsCatalogIds_result:
13185
  """
13186
  Attributes:
13187
   - success
13188
   - cex
13189
  """
13190
 
13191
  thrift_spec = (
13192
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
13193
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13194
  )
13195
 
13196
  def __init__(self, success=None, cex=None,):
13197
    self.success = success
13198
    self.cex = cex
13199
 
13200
  def read(self, iprot):
13201
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13202
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13203
      return
13204
    iprot.readStructBegin()
13205
    while True:
13206
      (fname, ftype, fid) = iprot.readFieldBegin()
13207
      if ftype == TType.STOP:
13208
        break
13209
      if fid == 0:
13210
        if ftype == TType.LIST:
13211
          self.success = []
12567 amit.gupta 13212
          (_etype156, _size153) = iprot.readListBegin()
13213
          for _i157 in xrange(_size153):
13214
            _elem158 = iprot.readI64();
13215
            self.success.append(_elem158)
5944 mandeep.dh 13216
          iprot.readListEnd()
13217
        else:
13218
          iprot.skip(ftype)
13219
      elif fid == 1:
13220
        if ftype == TType.STRUCT:
13221
          self.cex = CatalogServiceException()
13222
          self.cex.read(iprot)
13223
        else:
13224
          iprot.skip(ftype)
13225
      else:
13226
        iprot.skip(ftype)
13227
      iprot.readFieldEnd()
13228
    iprot.readStructEnd()
13229
 
13230
  def write(self, oprot):
13231
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13232
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13233
      return
13234
    oprot.writeStructBegin('getLatestArrivalsCatalogIds_result')
13235
    if self.success is not None:
13236
      oprot.writeFieldBegin('success', TType.LIST, 0)
13237
      oprot.writeListBegin(TType.I64, len(self.success))
12567 amit.gupta 13238
      for iter159 in self.success:
13239
        oprot.writeI64(iter159)
5944 mandeep.dh 13240
      oprot.writeListEnd()
13241
      oprot.writeFieldEnd()
13242
    if self.cex is not None:
13243
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13244
      self.cex.write(oprot)
13245
      oprot.writeFieldEnd()
13246
    oprot.writeFieldStop()
13247
    oprot.writeStructEnd()
13248
 
13249
  def validate(self):
13250
    return
13251
 
13252
 
13253
  def __repr__(self):
13254
    L = ['%s=%r' % (key, value)
13255
      for key, value in self.__dict__.iteritems()]
13256
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13257
 
13258
  def __eq__(self, other):
13259
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13260
 
13261
  def __ne__(self, other):
13262
    return not (self == other)
13263
 
13264
class getLatestArrivalsCount_args:
13265
 
13266
  thrift_spec = (
13267
  )
13268
 
13269
  def read(self, iprot):
13270
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13271
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13272
      return
13273
    iprot.readStructBegin()
13274
    while True:
13275
      (fname, ftype, fid) = iprot.readFieldBegin()
13276
      if ftype == TType.STOP:
13277
        break
13278
      else:
13279
        iprot.skip(ftype)
13280
      iprot.readFieldEnd()
13281
    iprot.readStructEnd()
13282
 
13283
  def write(self, oprot):
13284
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13285
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13286
      return
13287
    oprot.writeStructBegin('getLatestArrivalsCount_args')
13288
    oprot.writeFieldStop()
13289
    oprot.writeStructEnd()
13290
 
13291
  def validate(self):
13292
    return
13293
 
13294
 
13295
  def __repr__(self):
13296
    L = ['%s=%r' % (key, value)
13297
      for key, value in self.__dict__.iteritems()]
13298
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13299
 
13300
  def __eq__(self, other):
13301
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13302
 
13303
  def __ne__(self, other):
13304
    return not (self == other)
13305
 
13306
class getLatestArrivalsCount_result:
13307
  """
13308
  Attributes:
13309
   - success
13310
   - cex
13311
  """
13312
 
13313
  thrift_spec = (
13314
    (0, TType.I64, 'success', None, None, ), # 0
13315
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
13316
  )
13317
 
13318
  def __init__(self, success=None, cex=None,):
13319
    self.success = success
13320
    self.cex = cex
13321
 
13322
  def read(self, iprot):
13323
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13324
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13325
      return
13326
    iprot.readStructBegin()
13327
    while True:
13328
      (fname, ftype, fid) = iprot.readFieldBegin()
13329
      if ftype == TType.STOP:
13330
        break
13331
      if fid == 0:
13332
        if ftype == TType.I64:
13333
          self.success = iprot.readI64();
13334
        else:
13335
          iprot.skip(ftype)
13336
      elif fid == 1:
13337
        if ftype == TType.STRUCT:
13338
          self.cex = CatalogServiceException()
13339
          self.cex.read(iprot)
13340
        else:
13341
          iprot.skip(ftype)
13342
      else:
13343
        iprot.skip(ftype)
13344
      iprot.readFieldEnd()
13345
    iprot.readStructEnd()
13346
 
13347
  def write(self, oprot):
13348
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13349
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13350
      return
13351
    oprot.writeStructBegin('getLatestArrivalsCount_result')
13352
    if self.success is not None:
13353
      oprot.writeFieldBegin('success', TType.I64, 0)
13354
      oprot.writeI64(self.success)
13355
      oprot.writeFieldEnd()
13356
    if self.cex is not None:
13357
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
13358
      self.cex.write(oprot)
13359
      oprot.writeFieldEnd()
13360
    oprot.writeFieldStop()
13361
    oprot.writeStructEnd()
13362
 
13363
  def validate(self):
13364
    return
13365
 
13366
 
13367
  def __repr__(self):
13368
    L = ['%s=%r' % (key, value)
13369
      for key, value in self.__dict__.iteritems()]
13370
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13371
 
13372
  def __eq__(self, other):
13373
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13374
 
13375
  def __ne__(self, other):
13376
    return not (self == other)
13377
 
13378
class generateNewEntityID_args:
13379
 
13380
  thrift_spec = (
13381
  )
13382
 
13383
  def read(self, iprot):
13384
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13385
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13386
      return
13387
    iprot.readStructBegin()
13388
    while True:
13389
      (fname, ftype, fid) = iprot.readFieldBegin()
13390
      if ftype == TType.STOP:
13391
        break
13392
      else:
13393
        iprot.skip(ftype)
13394
      iprot.readFieldEnd()
13395
    iprot.readStructEnd()
13396
 
13397
  def write(self, oprot):
13398
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13399
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13400
      return
13401
    oprot.writeStructBegin('generateNewEntityID_args')
13402
    oprot.writeFieldStop()
13403
    oprot.writeStructEnd()
13404
 
13405
  def validate(self):
13406
    return
13407
 
13408
 
13409
  def __repr__(self):
13410
    L = ['%s=%r' % (key, value)
13411
      for key, value in self.__dict__.iteritems()]
13412
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13413
 
13414
  def __eq__(self, other):
13415
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13416
 
13417
  def __ne__(self, other):
13418
    return not (self == other)
13419
 
13420
class generateNewEntityID_result:
13421
  """
13422
  Attributes:
13423
   - success
13424
  """
13425
 
13426
  thrift_spec = (
13427
    (0, TType.I64, 'success', None, None, ), # 0
13428
  )
13429
 
13430
  def __init__(self, success=None,):
13431
    self.success = success
13432
 
13433
  def read(self, iprot):
13434
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13435
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13436
      return
13437
    iprot.readStructBegin()
13438
    while True:
13439
      (fname, ftype, fid) = iprot.readFieldBegin()
13440
      if ftype == TType.STOP:
13441
        break
13442
      if fid == 0:
13443
        if ftype == TType.I64:
13444
          self.success = iprot.readI64();
13445
        else:
13446
          iprot.skip(ftype)
13447
      else:
13448
        iprot.skip(ftype)
13449
      iprot.readFieldEnd()
13450
    iprot.readStructEnd()
13451
 
13452
  def write(self, oprot):
13453
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13454
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13455
      return
13456
    oprot.writeStructBegin('generateNewEntityID_result')
13457
    if self.success is not None:
13458
      oprot.writeFieldBegin('success', TType.I64, 0)
13459
      oprot.writeI64(self.success)
13460
      oprot.writeFieldEnd()
13461
    oprot.writeFieldStop()
13462
    oprot.writeStructEnd()
13463
 
13464
  def validate(self):
13465
    return
13466
 
13467
 
13468
  def __repr__(self):
13469
    L = ['%s=%r' % (key, value)
13470
      for key, value in self.__dict__.iteritems()]
13471
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13472
 
13473
  def __eq__(self, other):
13474
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13475
 
13476
  def __ne__(self, other):
13477
    return not (self == other)
13478
 
13479
class addCategory_args:
13480
  """
13481
  Attributes:
13482
   - category
13483
  """
13484
 
13485
  thrift_spec = (
13486
    None, # 0
13487
    (1, TType.STRUCT, 'category', (Category, Category.thrift_spec), None, ), # 1
13488
  )
13489
 
13490
  def __init__(self, category=None,):
13491
    self.category = category
13492
 
13493
  def read(self, iprot):
13494
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13495
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13496
      return
13497
    iprot.readStructBegin()
13498
    while True:
13499
      (fname, ftype, fid) = iprot.readFieldBegin()
13500
      if ftype == TType.STOP:
13501
        break
13502
      if fid == 1:
13503
        if ftype == TType.STRUCT:
13504
          self.category = Category()
13505
          self.category.read(iprot)
13506
        else:
13507
          iprot.skip(ftype)
13508
      else:
13509
        iprot.skip(ftype)
13510
      iprot.readFieldEnd()
13511
    iprot.readStructEnd()
13512
 
13513
  def write(self, oprot):
13514
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13515
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13516
      return
13517
    oprot.writeStructBegin('addCategory_args')
13518
    if self.category is not None:
13519
      oprot.writeFieldBegin('category', TType.STRUCT, 1)
13520
      self.category.write(oprot)
13521
      oprot.writeFieldEnd()
13522
    oprot.writeFieldStop()
13523
    oprot.writeStructEnd()
13524
 
13525
  def validate(self):
13526
    return
13527
 
13528
 
13529
  def __repr__(self):
13530
    L = ['%s=%r' % (key, value)
13531
      for key, value in self.__dict__.iteritems()]
13532
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13533
 
13534
  def __eq__(self, other):
13535
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13536
 
13537
  def __ne__(self, other):
13538
    return not (self == other)
13539
 
13540
class addCategory_result:
13541
  """
13542
  Attributes:
13543
   - success
13544
  """
13545
 
13546
  thrift_spec = (
13547
    (0, TType.BOOL, 'success', None, None, ), # 0
13548
  )
13549
 
13550
  def __init__(self, success=None,):
13551
    self.success = success
13552
 
13553
  def read(self, iprot):
13554
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13555
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13556
      return
13557
    iprot.readStructBegin()
13558
    while True:
13559
      (fname, ftype, fid) = iprot.readFieldBegin()
13560
      if ftype == TType.STOP:
13561
        break
13562
      if fid == 0:
13563
        if ftype == TType.BOOL:
13564
          self.success = iprot.readBool();
13565
        else:
13566
          iprot.skip(ftype)
13567
      else:
13568
        iprot.skip(ftype)
13569
      iprot.readFieldEnd()
13570
    iprot.readStructEnd()
13571
 
13572
  def write(self, oprot):
13573
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13574
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13575
      return
13576
    oprot.writeStructBegin('addCategory_result')
13577
    if self.success is not None:
13578
      oprot.writeFieldBegin('success', TType.BOOL, 0)
13579
      oprot.writeBool(self.success)
13580
      oprot.writeFieldEnd()
13581
    oprot.writeFieldStop()
13582
    oprot.writeStructEnd()
13583
 
13584
  def validate(self):
13585
    return
13586
 
13587
 
13588
  def __repr__(self):
13589
    L = ['%s=%r' % (key, value)
13590
      for key, value in self.__dict__.iteritems()]
13591
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13592
 
13593
  def __eq__(self, other):
13594
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13595
 
13596
  def __ne__(self, other):
13597
    return not (self == other)
13598
 
13599
class getCategory_args:
13600
  """
13601
  Attributes:
13602
   - id
13603
  """
13604
 
13605
  thrift_spec = (
13606
    None, # 0
13607
    (1, TType.I64, 'id', None, None, ), # 1
13608
  )
13609
 
13610
  def __init__(self, id=None,):
13611
    self.id = id
13612
 
13613
  def read(self, iprot):
13614
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13615
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13616
      return
13617
    iprot.readStructBegin()
13618
    while True:
13619
      (fname, ftype, fid) = iprot.readFieldBegin()
13620
      if ftype == TType.STOP:
13621
        break
13622
      if fid == 1:
13623
        if ftype == TType.I64:
13624
          self.id = iprot.readI64();
13625
        else:
13626
          iprot.skip(ftype)
13627
      else:
13628
        iprot.skip(ftype)
13629
      iprot.readFieldEnd()
13630
    iprot.readStructEnd()
13631
 
13632
  def write(self, oprot):
13633
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13634
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13635
      return
13636
    oprot.writeStructBegin('getCategory_args')
13637
    if self.id is not None:
13638
      oprot.writeFieldBegin('id', TType.I64, 1)
13639
      oprot.writeI64(self.id)
13640
      oprot.writeFieldEnd()
13641
    oprot.writeFieldStop()
13642
    oprot.writeStructEnd()
13643
 
13644
  def validate(self):
13645
    return
13646
 
13647
 
13648
  def __repr__(self):
13649
    L = ['%s=%r' % (key, value)
13650
      for key, value in self.__dict__.iteritems()]
13651
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13652
 
13653
  def __eq__(self, other):
13654
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13655
 
13656
  def __ne__(self, other):
13657
    return not (self == other)
13658
 
13659
class getCategory_result:
13660
  """
13661
  Attributes:
13662
   - success
13663
  """
13664
 
13665
  thrift_spec = (
13666
    (0, TType.STRUCT, 'success', (Category, Category.thrift_spec), None, ), # 0
13667
  )
13668
 
13669
  def __init__(self, success=None,):
13670
    self.success = success
13671
 
13672
  def read(self, iprot):
13673
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13674
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13675
      return
13676
    iprot.readStructBegin()
13677
    while True:
13678
      (fname, ftype, fid) = iprot.readFieldBegin()
13679
      if ftype == TType.STOP:
13680
        break
13681
      if fid == 0:
13682
        if ftype == TType.STRUCT:
13683
          self.success = Category()
13684
          self.success.read(iprot)
13685
        else:
13686
          iprot.skip(ftype)
13687
      else:
13688
        iprot.skip(ftype)
13689
      iprot.readFieldEnd()
13690
    iprot.readStructEnd()
13691
 
13692
  def write(self, oprot):
13693
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13694
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13695
      return
13696
    oprot.writeStructBegin('getCategory_result')
13697
    if self.success is not None:
13698
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
13699
      self.success.write(oprot)
13700
      oprot.writeFieldEnd()
13701
    oprot.writeFieldStop()
13702
    oprot.writeStructEnd()
13703
 
13704
  def validate(self):
13705
    return
13706
 
13707
 
13708
  def __repr__(self):
13709
    L = ['%s=%r' % (key, value)
13710
      for key, value in self.__dict__.iteritems()]
13711
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13712
 
13713
  def __eq__(self, other):
13714
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13715
 
13716
  def __ne__(self, other):
13717
    return not (self == other)
13718
 
13719
class getAllCategories_args:
13720
 
13721
  thrift_spec = (
13722
  )
13723
 
13724
  def read(self, iprot):
13725
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13726
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13727
      return
13728
    iprot.readStructBegin()
13729
    while True:
13730
      (fname, ftype, fid) = iprot.readFieldBegin()
13731
      if ftype == TType.STOP:
13732
        break
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('getAllCategories_args')
13743
    oprot.writeFieldStop()
13744
    oprot.writeStructEnd()
13745
 
13746
  def validate(self):
13747
    return
13748
 
13749
 
13750
  def __repr__(self):
13751
    L = ['%s=%r' % (key, value)
13752
      for key, value in self.__dict__.iteritems()]
13753
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13754
 
13755
  def __eq__(self, other):
13756
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13757
 
13758
  def __ne__(self, other):
13759
    return not (self == other)
13760
 
13761
class getAllCategories_result:
13762
  """
13763
  Attributes:
13764
   - success
13765
  """
13766
 
13767
  thrift_spec = (
13768
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
13769
  )
13770
 
13771
  def __init__(self, success=None,):
13772
    self.success = success
13773
 
13774
  def read(self, iprot):
13775
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13776
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13777
      return
13778
    iprot.readStructBegin()
13779
    while True:
13780
      (fname, ftype, fid) = iprot.readFieldBegin()
13781
      if ftype == TType.STOP:
13782
        break
13783
      if fid == 0:
13784
        if ftype == TType.LIST:
13785
          self.success = []
12567 amit.gupta 13786
          (_etype163, _size160) = iprot.readListBegin()
13787
          for _i164 in xrange(_size160):
13788
            _elem165 = Category()
13789
            _elem165.read(iprot)
13790
            self.success.append(_elem165)
5944 mandeep.dh 13791
          iprot.readListEnd()
13792
        else:
13793
          iprot.skip(ftype)
13794
      else:
13795
        iprot.skip(ftype)
13796
      iprot.readFieldEnd()
13797
    iprot.readStructEnd()
13798
 
13799
  def write(self, oprot):
13800
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13801
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13802
      return
13803
    oprot.writeStructBegin('getAllCategories_result')
13804
    if self.success is not None:
13805
      oprot.writeFieldBegin('success', TType.LIST, 0)
13806
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 13807
      for iter166 in self.success:
13808
        iter166.write(oprot)
5944 mandeep.dh 13809
      oprot.writeListEnd()
13810
      oprot.writeFieldEnd()
13811
    oprot.writeFieldStop()
13812
    oprot.writeStructEnd()
13813
 
13814
  def validate(self):
13815
    return
13816
 
13817
 
13818
  def __repr__(self):
13819
    L = ['%s=%r' % (key, value)
13820
      for key, value in self.__dict__.iteritems()]
13821
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13822
 
13823
  def __eq__(self, other):
13824
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13825
 
13826
  def __ne__(self, other):
13827
    return not (self == other)
13828
 
13829
class getAllSimilarItems_args:
13830
  """
13831
  Attributes:
13832
   - itemId
13833
  """
13834
 
13835
  thrift_spec = (
13836
    None, # 0
13837
    (1, TType.I64, 'itemId', None, None, ), # 1
13838
  )
13839
 
13840
  def __init__(self, itemId=None,):
13841
    self.itemId = itemId
13842
 
13843
  def read(self, iprot):
13844
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13845
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13846
      return
13847
    iprot.readStructBegin()
13848
    while True:
13849
      (fname, ftype, fid) = iprot.readFieldBegin()
13850
      if ftype == TType.STOP:
13851
        break
13852
      if fid == 1:
13853
        if ftype == TType.I64:
13854
          self.itemId = iprot.readI64();
13855
        else:
13856
          iprot.skip(ftype)
13857
      else:
13858
        iprot.skip(ftype)
13859
      iprot.readFieldEnd()
13860
    iprot.readStructEnd()
13861
 
13862
  def write(self, oprot):
13863
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13864
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13865
      return
13866
    oprot.writeStructBegin('getAllSimilarItems_args')
13867
    if self.itemId is not None:
13868
      oprot.writeFieldBegin('itemId', TType.I64, 1)
13869
      oprot.writeI64(self.itemId)
13870
      oprot.writeFieldEnd()
13871
    oprot.writeFieldStop()
13872
    oprot.writeStructEnd()
13873
 
13874
  def validate(self):
13875
    return
13876
 
13877
 
13878
  def __repr__(self):
13879
    L = ['%s=%r' % (key, value)
13880
      for key, value in self.__dict__.iteritems()]
13881
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13882
 
13883
  def __eq__(self, other):
13884
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13885
 
13886
  def __ne__(self, other):
13887
    return not (self == other)
13888
 
13889
class getAllSimilarItems_result:
13890
  """
13891
  Attributes:
13892
   - success
13893
  """
13894
 
13895
  thrift_spec = (
13896
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
13897
  )
13898
 
13899
  def __init__(self, success=None,):
13900
    self.success = success
13901
 
13902
  def read(self, iprot):
13903
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13904
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13905
      return
13906
    iprot.readStructBegin()
13907
    while True:
13908
      (fname, ftype, fid) = iprot.readFieldBegin()
13909
      if ftype == TType.STOP:
13910
        break
13911
      if fid == 0:
13912
        if ftype == TType.LIST:
13913
          self.success = []
12567 amit.gupta 13914
          (_etype170, _size167) = iprot.readListBegin()
13915
          for _i171 in xrange(_size167):
13916
            _elem172 = Item()
13917
            _elem172.read(iprot)
13918
            self.success.append(_elem172)
5944 mandeep.dh 13919
          iprot.readListEnd()
13920
        else:
13921
          iprot.skip(ftype)
13922
      else:
13923
        iprot.skip(ftype)
13924
      iprot.readFieldEnd()
13925
    iprot.readStructEnd()
13926
 
13927
  def write(self, oprot):
13928
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
13929
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
13930
      return
13931
    oprot.writeStructBegin('getAllSimilarItems_result')
13932
    if self.success is not None:
13933
      oprot.writeFieldBegin('success', TType.LIST, 0)
13934
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 13935
      for iter173 in self.success:
13936
        iter173.write(oprot)
5944 mandeep.dh 13937
      oprot.writeListEnd()
13938
      oprot.writeFieldEnd()
13939
    oprot.writeFieldStop()
13940
    oprot.writeStructEnd()
13941
 
13942
  def validate(self):
13943
    return
13944
 
13945
 
13946
  def __repr__(self):
13947
    L = ['%s=%r' % (key, value)
13948
      for key, value in self.__dict__.iteritems()]
13949
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
13950
 
13951
  def __eq__(self, other):
13952
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
13953
 
13954
  def __ne__(self, other):
13955
    return not (self == other)
13956
 
13957
class addSimilarItem_args:
13958
  """
13959
  Attributes:
13960
   - itemId
13961
   - catalogItemId
13962
  """
13963
 
13964
  thrift_spec = (
13965
    None, # 0
13966
    (1, TType.I64, 'itemId', None, None, ), # 1
13967
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
13968
  )
13969
 
13970
  def __init__(self, itemId=None, catalogItemId=None,):
13971
    self.itemId = itemId
13972
    self.catalogItemId = catalogItemId
13973
 
13974
  def read(self, iprot):
13975
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
13976
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
13977
      return
13978
    iprot.readStructBegin()
13979
    while True:
13980
      (fname, ftype, fid) = iprot.readFieldBegin()
13981
      if ftype == TType.STOP:
13982
        break
13983
      if fid == 1:
13984
        if ftype == TType.I64:
13985
          self.itemId = iprot.readI64();
13986
        else:
13987
          iprot.skip(ftype)
13988
      elif fid == 2:
13989
        if ftype == TType.I64:
13990
          self.catalogItemId = iprot.readI64();
13991
        else:
13992
          iprot.skip(ftype)
13993
      else:
13994
        iprot.skip(ftype)
13995
      iprot.readFieldEnd()
13996
    iprot.readStructEnd()
13997
 
13998
  def write(self, oprot):
13999
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14000
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14001
      return
14002
    oprot.writeStructBegin('addSimilarItem_args')
14003
    if self.itemId is not None:
14004
      oprot.writeFieldBegin('itemId', TType.I64, 1)
14005
      oprot.writeI64(self.itemId)
14006
      oprot.writeFieldEnd()
14007
    if self.catalogItemId is not None:
14008
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
14009
      oprot.writeI64(self.catalogItemId)
14010
      oprot.writeFieldEnd()
14011
    oprot.writeFieldStop()
14012
    oprot.writeStructEnd()
14013
 
14014
  def validate(self):
14015
    return
14016
 
14017
 
14018
  def __repr__(self):
14019
    L = ['%s=%r' % (key, value)
14020
      for key, value in self.__dict__.iteritems()]
14021
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14022
 
14023
  def __eq__(self, other):
14024
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14025
 
14026
  def __ne__(self, other):
14027
    return not (self == other)
14028
 
14029
class addSimilarItem_result:
14030
  """
14031
  Attributes:
14032
   - success
14033
   - cex
14034
  """
14035
 
14036
  thrift_spec = (
14037
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
14038
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
14039
  )
14040
 
14041
  def __init__(self, success=None, cex=None,):
14042
    self.success = success
14043
    self.cex = cex
14044
 
14045
  def read(self, iprot):
14046
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14047
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14048
      return
14049
    iprot.readStructBegin()
14050
    while True:
14051
      (fname, ftype, fid) = iprot.readFieldBegin()
14052
      if ftype == TType.STOP:
14053
        break
14054
      if fid == 0:
14055
        if ftype == TType.STRUCT:
14056
          self.success = Item()
14057
          self.success.read(iprot)
14058
        else:
14059
          iprot.skip(ftype)
14060
      elif fid == 1:
14061
        if ftype == TType.STRUCT:
14062
          self.cex = CatalogServiceException()
14063
          self.cex.read(iprot)
14064
        else:
14065
          iprot.skip(ftype)
14066
      else:
14067
        iprot.skip(ftype)
14068
      iprot.readFieldEnd()
14069
    iprot.readStructEnd()
14070
 
14071
  def write(self, oprot):
14072
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14073
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14074
      return
14075
    oprot.writeStructBegin('addSimilarItem_result')
14076
    if self.success is not None:
14077
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
14078
      self.success.write(oprot)
14079
      oprot.writeFieldEnd()
14080
    if self.cex is not None:
14081
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
14082
      self.cex.write(oprot)
14083
      oprot.writeFieldEnd()
14084
    oprot.writeFieldStop()
14085
    oprot.writeStructEnd()
14086
 
14087
  def validate(self):
14088
    return
14089
 
14090
 
14091
  def __repr__(self):
14092
    L = ['%s=%r' % (key, value)
14093
      for key, value in self.__dict__.iteritems()]
14094
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14095
 
14096
  def __eq__(self, other):
14097
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14098
 
14099
  def __ne__(self, other):
14100
    return not (self == other)
14101
 
6512 kshitij.so 14102
class addTag_args:
14103
  """
14104
  Attributes:
14105
   - displayName
14106
   - itemId
14107
  """
14108
 
14109
  thrift_spec = (
14110
    None, # 0
14111
    (1, TType.STRING, 'displayName', None, None, ), # 1
14112
    (2, TType.I64, 'itemId', None, None, ), # 2
14113
  )
14114
 
14115
  def __init__(self, displayName=None, itemId=None,):
14116
    self.displayName = displayName
14117
    self.itemId = itemId
14118
 
14119
  def read(self, iprot):
14120
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14121
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14122
      return
14123
    iprot.readStructBegin()
14124
    while True:
14125
      (fname, ftype, fid) = iprot.readFieldBegin()
14126
      if ftype == TType.STOP:
14127
        break
14128
      if fid == 1:
14129
        if ftype == TType.STRING:
14130
          self.displayName = iprot.readString();
14131
        else:
14132
          iprot.skip(ftype)
14133
      elif fid == 2:
14134
        if ftype == TType.I64:
14135
          self.itemId = iprot.readI64();
14136
        else:
14137
          iprot.skip(ftype)
14138
      else:
14139
        iprot.skip(ftype)
14140
      iprot.readFieldEnd()
14141
    iprot.readStructEnd()
14142
 
14143
  def write(self, oprot):
14144
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14145
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14146
      return
14147
    oprot.writeStructBegin('addTag_args')
14148
    if self.displayName is not None:
14149
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14150
      oprot.writeString(self.displayName)
14151
      oprot.writeFieldEnd()
14152
    if self.itemId is not None:
14153
      oprot.writeFieldBegin('itemId', TType.I64, 2)
14154
      oprot.writeI64(self.itemId)
14155
      oprot.writeFieldEnd()
14156
    oprot.writeFieldStop()
14157
    oprot.writeStructEnd()
14158
 
14159
  def validate(self):
14160
    return
14161
 
14162
 
14163
  def __repr__(self):
14164
    L = ['%s=%r' % (key, value)
14165
      for key, value in self.__dict__.iteritems()]
14166
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14167
 
14168
  def __eq__(self, other):
14169
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14170
 
14171
  def __ne__(self, other):
14172
    return not (self == other)
14173
 
14174
class addTag_result:
14175
  """
14176
  Attributes:
14177
   - success
14178
  """
14179
 
14180
  thrift_spec = (
14181
    (0, TType.BOOL, 'success', None, None, ), # 0
14182
  )
14183
 
14184
  def __init__(self, success=None,):
14185
    self.success = success
14186
 
14187
  def read(self, iprot):
14188
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14189
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14190
      return
14191
    iprot.readStructBegin()
14192
    while True:
14193
      (fname, ftype, fid) = iprot.readFieldBegin()
14194
      if ftype == TType.STOP:
14195
        break
14196
      if fid == 0:
14197
        if ftype == TType.BOOL:
14198
          self.success = iprot.readBool();
14199
        else:
14200
          iprot.skip(ftype)
14201
      else:
14202
        iprot.skip(ftype)
14203
      iprot.readFieldEnd()
14204
    iprot.readStructEnd()
14205
 
14206
  def write(self, oprot):
14207
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14208
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14209
      return
14210
    oprot.writeStructBegin('addTag_result')
14211
    if self.success is not None:
14212
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14213
      oprot.writeBool(self.success)
14214
      oprot.writeFieldEnd()
14215
    oprot.writeFieldStop()
14216
    oprot.writeStructEnd()
14217
 
14218
  def validate(self):
14219
    return
14220
 
14221
 
14222
  def __repr__(self):
14223
    L = ['%s=%r' % (key, value)
14224
      for key, value in self.__dict__.iteritems()]
14225
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14226
 
14227
  def __eq__(self, other):
14228
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14229
 
14230
  def __ne__(self, other):
14231
    return not (self == other)
14232
 
14233
class deleteEntityTag_args:
14234
  """
14235
  Attributes:
14236
   - displayName
14237
   - itemId
14238
  """
14239
 
14240
  thrift_spec = (
14241
    None, # 0
14242
    (1, TType.STRING, 'displayName', None, None, ), # 1
14243
    (2, TType.I64, 'itemId', None, None, ), # 2
14244
  )
14245
 
14246
  def __init__(self, displayName=None, itemId=None,):
14247
    self.displayName = displayName
14248
    self.itemId = itemId
14249
 
14250
  def read(self, iprot):
14251
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14252
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14253
      return
14254
    iprot.readStructBegin()
14255
    while True:
14256
      (fname, ftype, fid) = iprot.readFieldBegin()
14257
      if ftype == TType.STOP:
14258
        break
14259
      if fid == 1:
14260
        if ftype == TType.STRING:
14261
          self.displayName = iprot.readString();
14262
        else:
14263
          iprot.skip(ftype)
14264
      elif fid == 2:
14265
        if ftype == TType.I64:
14266
          self.itemId = iprot.readI64();
14267
        else:
14268
          iprot.skip(ftype)
14269
      else:
14270
        iprot.skip(ftype)
14271
      iprot.readFieldEnd()
14272
    iprot.readStructEnd()
14273
 
14274
  def write(self, oprot):
14275
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14276
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14277
      return
14278
    oprot.writeStructBegin('deleteEntityTag_args')
14279
    if self.displayName is not None:
14280
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14281
      oprot.writeString(self.displayName)
14282
      oprot.writeFieldEnd()
14283
    if self.itemId is not None:
14284
      oprot.writeFieldBegin('itemId', TType.I64, 2)
14285
      oprot.writeI64(self.itemId)
14286
      oprot.writeFieldEnd()
14287
    oprot.writeFieldStop()
14288
    oprot.writeStructEnd()
14289
 
14290
  def validate(self):
14291
    return
14292
 
14293
 
14294
  def __repr__(self):
14295
    L = ['%s=%r' % (key, value)
14296
      for key, value in self.__dict__.iteritems()]
14297
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14298
 
14299
  def __eq__(self, other):
14300
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14301
 
14302
  def __ne__(self, other):
14303
    return not (self == other)
14304
 
14305
class deleteEntityTag_result:
14306
  """
14307
  Attributes:
14308
   - success
14309
  """
14310
 
14311
  thrift_spec = (
14312
    (0, TType.BOOL, 'success', None, None, ), # 0
14313
  )
14314
 
14315
  def __init__(self, success=None,):
14316
    self.success = success
14317
 
14318
  def read(self, iprot):
14319
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14320
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14321
      return
14322
    iprot.readStructBegin()
14323
    while True:
14324
      (fname, ftype, fid) = iprot.readFieldBegin()
14325
      if ftype == TType.STOP:
14326
        break
14327
      if fid == 0:
14328
        if ftype == TType.BOOL:
14329
          self.success = iprot.readBool();
14330
        else:
14331
          iprot.skip(ftype)
14332
      else:
14333
        iprot.skip(ftype)
14334
      iprot.readFieldEnd()
14335
    iprot.readStructEnd()
14336
 
14337
  def write(self, oprot):
14338
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14339
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14340
      return
14341
    oprot.writeStructBegin('deleteEntityTag_result')
14342
    if self.success is not None:
14343
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14344
      oprot.writeBool(self.success)
14345
      oprot.writeFieldEnd()
14346
    oprot.writeFieldStop()
14347
    oprot.writeStructEnd()
14348
 
14349
  def validate(self):
14350
    return
14351
 
14352
 
14353
  def __repr__(self):
14354
    L = ['%s=%r' % (key, value)
14355
      for key, value in self.__dict__.iteritems()]
14356
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14357
 
14358
  def __eq__(self, other):
14359
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14360
 
14361
  def __ne__(self, other):
14362
    return not (self == other)
14363
 
14364
class deleteTag_args:
14365
  """
14366
  Attributes:
14367
   - displayName
14368
  """
14369
 
14370
  thrift_spec = (
14371
    None, # 0
14372
    (1, TType.STRING, 'displayName', None, None, ), # 1
14373
  )
14374
 
14375
  def __init__(self, displayName=None,):
14376
    self.displayName = displayName
14377
 
14378
  def read(self, iprot):
14379
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14380
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14381
      return
14382
    iprot.readStructBegin()
14383
    while True:
14384
      (fname, ftype, fid) = iprot.readFieldBegin()
14385
      if ftype == TType.STOP:
14386
        break
14387
      if fid == 1:
14388
        if ftype == TType.STRING:
14389
          self.displayName = iprot.readString();
14390
        else:
14391
          iprot.skip(ftype)
14392
      else:
14393
        iprot.skip(ftype)
14394
      iprot.readFieldEnd()
14395
    iprot.readStructEnd()
14396
 
14397
  def write(self, oprot):
14398
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14399
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14400
      return
14401
    oprot.writeStructBegin('deleteTag_args')
14402
    if self.displayName is not None:
14403
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14404
      oprot.writeString(self.displayName)
14405
      oprot.writeFieldEnd()
14406
    oprot.writeFieldStop()
14407
    oprot.writeStructEnd()
14408
 
14409
  def validate(self):
14410
    return
14411
 
14412
 
14413
  def __repr__(self):
14414
    L = ['%s=%r' % (key, value)
14415
      for key, value in self.__dict__.iteritems()]
14416
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14417
 
14418
  def __eq__(self, other):
14419
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14420
 
14421
  def __ne__(self, other):
14422
    return not (self == other)
14423
 
14424
class deleteTag_result:
14425
  """
14426
  Attributes:
14427
   - success
14428
  """
14429
 
14430
  thrift_spec = (
14431
    (0, TType.BOOL, 'success', None, None, ), # 0
14432
  )
14433
 
14434
  def __init__(self, success=None,):
14435
    self.success = success
14436
 
14437
  def read(self, iprot):
14438
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14439
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14440
      return
14441
    iprot.readStructBegin()
14442
    while True:
14443
      (fname, ftype, fid) = iprot.readFieldBegin()
14444
      if ftype == TType.STOP:
14445
        break
14446
      if fid == 0:
14447
        if ftype == TType.BOOL:
14448
          self.success = iprot.readBool();
14449
        else:
14450
          iprot.skip(ftype)
14451
      else:
14452
        iprot.skip(ftype)
14453
      iprot.readFieldEnd()
14454
    iprot.readStructEnd()
14455
 
14456
  def write(self, oprot):
14457
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14458
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14459
      return
14460
    oprot.writeStructBegin('deleteTag_result')
14461
    if self.success is not None:
14462
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14463
      oprot.writeBool(self.success)
14464
      oprot.writeFieldEnd()
14465
    oprot.writeFieldStop()
14466
    oprot.writeStructEnd()
14467
 
14468
  def validate(self):
14469
    return
14470
 
14471
 
14472
  def __repr__(self):
14473
    L = ['%s=%r' % (key, value)
14474
      for key, value in self.__dict__.iteritems()]
14475
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14476
 
14477
  def __eq__(self, other):
14478
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14479
 
14480
  def __ne__(self, other):
14481
    return not (self == other)
14482
 
14483
class getAllTags_args:
14484
 
14485
  thrift_spec = (
14486
  )
14487
 
14488
  def read(self, iprot):
14489
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14490
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14491
      return
14492
    iprot.readStructBegin()
14493
    while True:
14494
      (fname, ftype, fid) = iprot.readFieldBegin()
14495
      if ftype == TType.STOP:
14496
        break
14497
      else:
14498
        iprot.skip(ftype)
14499
      iprot.readFieldEnd()
14500
    iprot.readStructEnd()
14501
 
14502
  def write(self, oprot):
14503
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14504
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14505
      return
14506
    oprot.writeStructBegin('getAllTags_args')
14507
    oprot.writeFieldStop()
14508
    oprot.writeStructEnd()
14509
 
14510
  def validate(self):
14511
    return
14512
 
14513
 
14514
  def __repr__(self):
14515
    L = ['%s=%r' % (key, value)
14516
      for key, value in self.__dict__.iteritems()]
14517
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14518
 
14519
  def __eq__(self, other):
14520
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14521
 
14522
  def __ne__(self, other):
14523
    return not (self == other)
14524
 
14525
class getAllTags_result:
14526
  """
14527
  Attributes:
14528
   - success
14529
  """
14530
 
14531
  thrift_spec = (
14532
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
14533
  )
14534
 
14535
  def __init__(self, success=None,):
14536
    self.success = success
14537
 
14538
  def read(self, iprot):
14539
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14540
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14541
      return
14542
    iprot.readStructBegin()
14543
    while True:
14544
      (fname, ftype, fid) = iprot.readFieldBegin()
14545
      if ftype == TType.STOP:
14546
        break
14547
      if fid == 0:
14548
        if ftype == TType.LIST:
14549
          self.success = []
12567 amit.gupta 14550
          (_etype177, _size174) = iprot.readListBegin()
14551
          for _i178 in xrange(_size174):
14552
            _elem179 = iprot.readString();
14553
            self.success.append(_elem179)
6512 kshitij.so 14554
          iprot.readListEnd()
14555
        else:
14556
          iprot.skip(ftype)
14557
      else:
14558
        iprot.skip(ftype)
14559
      iprot.readFieldEnd()
14560
    iprot.readStructEnd()
14561
 
14562
  def write(self, oprot):
14563
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14564
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14565
      return
14566
    oprot.writeStructBegin('getAllTags_result')
14567
    if self.success is not None:
14568
      oprot.writeFieldBegin('success', TType.LIST, 0)
14569
      oprot.writeListBegin(TType.STRING, len(self.success))
12567 amit.gupta 14570
      for iter180 in self.success:
14571
        oprot.writeString(iter180)
6512 kshitij.so 14572
      oprot.writeListEnd()
14573
      oprot.writeFieldEnd()
14574
    oprot.writeFieldStop()
14575
    oprot.writeStructEnd()
14576
 
14577
  def validate(self):
14578
    return
14579
 
14580
 
14581
  def __repr__(self):
14582
    L = ['%s=%r' % (key, value)
14583
      for key, value in self.__dict__.iteritems()]
14584
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14585
 
14586
  def __eq__(self, other):
14587
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14588
 
14589
  def __ne__(self, other):
14590
    return not (self == other)
14591
 
14592
class getAllEntitiesByTagName_args:
14593
  """
14594
  Attributes:
14595
   - displayName
14596
  """
14597
 
14598
  thrift_spec = (
14599
    None, # 0
14600
    (1, TType.STRING, 'displayName', None, None, ), # 1
14601
  )
14602
 
14603
  def __init__(self, displayName=None,):
14604
    self.displayName = displayName
14605
 
14606
  def read(self, iprot):
14607
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14608
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14609
      return
14610
    iprot.readStructBegin()
14611
    while True:
14612
      (fname, ftype, fid) = iprot.readFieldBegin()
14613
      if ftype == TType.STOP:
14614
        break
14615
      if fid == 1:
14616
        if ftype == TType.STRING:
14617
          self.displayName = iprot.readString();
14618
        else:
14619
          iprot.skip(ftype)
14620
      else:
14621
        iprot.skip(ftype)
14622
      iprot.readFieldEnd()
14623
    iprot.readStructEnd()
14624
 
14625
  def write(self, oprot):
14626
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14627
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14628
      return
14629
    oprot.writeStructBegin('getAllEntitiesByTagName_args')
14630
    if self.displayName is not None:
14631
      oprot.writeFieldBegin('displayName', TType.STRING, 1)
14632
      oprot.writeString(self.displayName)
14633
      oprot.writeFieldEnd()
14634
    oprot.writeFieldStop()
14635
    oprot.writeStructEnd()
14636
 
14637
  def validate(self):
14638
    return
14639
 
14640
 
14641
  def __repr__(self):
14642
    L = ['%s=%r' % (key, value)
14643
      for key, value in self.__dict__.iteritems()]
14644
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14645
 
14646
  def __eq__(self, other):
14647
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14648
 
14649
  def __ne__(self, other):
14650
    return not (self == other)
14651
 
14652
class getAllEntitiesByTagName_result:
14653
  """
14654
  Attributes:
14655
   - success
14656
  """
14657
 
14658
  thrift_spec = (
14659
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
14660
  )
14661
 
14662
  def __init__(self, success=None,):
14663
    self.success = success
14664
 
14665
  def read(self, iprot):
14666
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14667
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14668
      return
14669
    iprot.readStructBegin()
14670
    while True:
14671
      (fname, ftype, fid) = iprot.readFieldBegin()
14672
      if ftype == TType.STOP:
14673
        break
14674
      if fid == 0:
14675
        if ftype == TType.LIST:
14676
          self.success = []
12567 amit.gupta 14677
          (_etype184, _size181) = iprot.readListBegin()
14678
          for _i185 in xrange(_size181):
14679
            _elem186 = iprot.readI64();
14680
            self.success.append(_elem186)
6512 kshitij.so 14681
          iprot.readListEnd()
14682
        else:
14683
          iprot.skip(ftype)
14684
      else:
14685
        iprot.skip(ftype)
14686
      iprot.readFieldEnd()
14687
    iprot.readStructEnd()
14688
 
14689
  def write(self, oprot):
14690
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14691
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14692
      return
14693
    oprot.writeStructBegin('getAllEntitiesByTagName_result')
14694
    if self.success is not None:
14695
      oprot.writeFieldBegin('success', TType.LIST, 0)
14696
      oprot.writeListBegin(TType.I64, len(self.success))
12567 amit.gupta 14697
      for iter187 in self.success:
14698
        oprot.writeI64(iter187)
6512 kshitij.so 14699
      oprot.writeListEnd()
14700
      oprot.writeFieldEnd()
14701
    oprot.writeFieldStop()
14702
    oprot.writeStructEnd()
14703
 
14704
  def validate(self):
14705
    return
14706
 
14707
 
14708
  def __repr__(self):
14709
    L = ['%s=%r' % (key, value)
14710
      for key, value in self.__dict__.iteritems()]
14711
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14712
 
14713
  def __eq__(self, other):
14714
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14715
 
14716
  def __ne__(self, other):
14717
    return not (self == other)
14718
 
6845 amit.gupta 14719
class getAllEntityTags_args:
14720
 
14721
  thrift_spec = (
14722
  )
14723
 
14724
  def read(self, iprot):
14725
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14726
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14727
      return
14728
    iprot.readStructBegin()
14729
    while True:
14730
      (fname, ftype, fid) = iprot.readFieldBegin()
14731
      if ftype == TType.STOP:
14732
        break
14733
      else:
14734
        iprot.skip(ftype)
14735
      iprot.readFieldEnd()
14736
    iprot.readStructEnd()
14737
 
14738
  def write(self, oprot):
14739
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14740
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14741
      return
14742
    oprot.writeStructBegin('getAllEntityTags_args')
14743
    oprot.writeFieldStop()
14744
    oprot.writeStructEnd()
14745
 
14746
  def validate(self):
14747
    return
14748
 
14749
 
14750
  def __repr__(self):
14751
    L = ['%s=%r' % (key, value)
14752
      for key, value in self.__dict__.iteritems()]
14753
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14754
 
14755
  def __eq__(self, other):
14756
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14757
 
14758
  def __ne__(self, other):
14759
    return not (self == other)
14760
 
14761
class getAllEntityTags_result:
14762
  """
14763
  Attributes:
14764
   - success
14765
  """
14766
 
14767
  thrift_spec = (
14768
    (0, TType.MAP, 'success', (TType.I64,None,TType.LIST,(TType.STRING,None)), None, ), # 0
14769
  )
14770
 
14771
  def __init__(self, success=None,):
14772
    self.success = success
14773
 
14774
  def read(self, iprot):
14775
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14776
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14777
      return
14778
    iprot.readStructBegin()
14779
    while True:
14780
      (fname, ftype, fid) = iprot.readFieldBegin()
14781
      if ftype == TType.STOP:
14782
        break
14783
      if fid == 0:
14784
        if ftype == TType.MAP:
14785
          self.success = {}
12567 amit.gupta 14786
          (_ktype189, _vtype190, _size188 ) = iprot.readMapBegin() 
14787
          for _i192 in xrange(_size188):
14788
            _key193 = iprot.readI64();
14789
            _val194 = []
14790
            (_etype198, _size195) = iprot.readListBegin()
14791
            for _i199 in xrange(_size195):
14792
              _elem200 = iprot.readString();
14793
              _val194.append(_elem200)
6845 amit.gupta 14794
            iprot.readListEnd()
12567 amit.gupta 14795
            self.success[_key193] = _val194
6845 amit.gupta 14796
          iprot.readMapEnd()
14797
        else:
14798
          iprot.skip(ftype)
14799
      else:
14800
        iprot.skip(ftype)
14801
      iprot.readFieldEnd()
14802
    iprot.readStructEnd()
14803
 
14804
  def write(self, oprot):
14805
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14806
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14807
      return
14808
    oprot.writeStructBegin('getAllEntityTags_result')
14809
    if self.success is not None:
14810
      oprot.writeFieldBegin('success', TType.MAP, 0)
14811
      oprot.writeMapBegin(TType.I64, TType.LIST, len(self.success))
12567 amit.gupta 14812
      for kiter201,viter202 in self.success.items():
14813
        oprot.writeI64(kiter201)
14814
        oprot.writeListBegin(TType.STRING, len(viter202))
14815
        for iter203 in viter202:
14816
          oprot.writeString(iter203)
6845 amit.gupta 14817
        oprot.writeListEnd()
14818
      oprot.writeMapEnd()
14819
      oprot.writeFieldEnd()
14820
    oprot.writeFieldStop()
14821
    oprot.writeStructEnd()
14822
 
14823
  def validate(self):
14824
    return
14825
 
14826
 
14827
  def __repr__(self):
14828
    L = ['%s=%r' % (key, value)
14829
      for key, value in self.__dict__.iteritems()]
14830
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14831
 
14832
  def __eq__(self, other):
14833
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14834
 
14835
  def __ne__(self, other):
14836
    return not (self == other)
14837
 
6850 kshitij.so 14838
class addBanner_args:
14839
  """
14840
  Attributes:
8590 kshitij.so 14841
   - bannerCongregate
6850 kshitij.so 14842
  """
14843
 
14844
  thrift_spec = (
14845
    None, # 0
8590 kshitij.so 14846
    (1, TType.STRUCT, 'bannerCongregate', (BannerCongregate, BannerCongregate.thrift_spec), None, ), # 1
6850 kshitij.so 14847
  )
14848
 
8590 kshitij.so 14849
  def __init__(self, bannerCongregate=None,):
14850
    self.bannerCongregate = bannerCongregate
6850 kshitij.so 14851
 
14852
  def read(self, iprot):
14853
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14854
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14855
      return
14856
    iprot.readStructBegin()
14857
    while True:
14858
      (fname, ftype, fid) = iprot.readFieldBegin()
14859
      if ftype == TType.STOP:
14860
        break
14861
      if fid == 1:
8579 kshitij.so 14862
        if ftype == TType.STRUCT:
8590 kshitij.so 14863
          self.bannerCongregate = BannerCongregate()
14864
          self.bannerCongregate.read(iprot)
6850 kshitij.so 14865
        else:
14866
          iprot.skip(ftype)
8579 kshitij.so 14867
      else:
14868
        iprot.skip(ftype)
14869
      iprot.readFieldEnd()
14870
    iprot.readStructEnd()
14871
 
14872
  def write(self, oprot):
14873
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14874
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14875
      return
14876
    oprot.writeStructBegin('addBanner_args')
8590 kshitij.so 14877
    if self.bannerCongregate is not None:
14878
      oprot.writeFieldBegin('bannerCongregate', TType.STRUCT, 1)
14879
      self.bannerCongregate.write(oprot)
8579 kshitij.so 14880
      oprot.writeFieldEnd()
14881
    oprot.writeFieldStop()
14882
    oprot.writeStructEnd()
14883
 
14884
  def validate(self):
14885
    return
14886
 
14887
 
14888
  def __repr__(self):
14889
    L = ['%s=%r' % (key, value)
14890
      for key, value in self.__dict__.iteritems()]
14891
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14892
 
14893
  def __eq__(self, other):
14894
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14895
 
14896
  def __ne__(self, other):
14897
    return not (self == other)
14898
 
14899
class addBanner_result:
10097 kshitij.so 14900
  """
14901
  Attributes:
14902
   - success
14903
  """
8579 kshitij.so 14904
 
14905
  thrift_spec = (
10097 kshitij.so 14906
    (0, TType.BOOL, 'success', None, None, ), # 0
8579 kshitij.so 14907
  )
14908
 
10097 kshitij.so 14909
  def __init__(self, success=None,):
14910
    self.success = success
14911
 
8579 kshitij.so 14912
  def read(self, iprot):
14913
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14914
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14915
      return
14916
    iprot.readStructBegin()
14917
    while True:
14918
      (fname, ftype, fid) = iprot.readFieldBegin()
14919
      if ftype == TType.STOP:
14920
        break
10097 kshitij.so 14921
      if fid == 0:
14922
        if ftype == TType.BOOL:
14923
          self.success = iprot.readBool();
14924
        else:
14925
          iprot.skip(ftype)
8579 kshitij.so 14926
      else:
14927
        iprot.skip(ftype)
14928
      iprot.readFieldEnd()
14929
    iprot.readStructEnd()
14930
 
14931
  def write(self, oprot):
14932
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14933
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14934
      return
14935
    oprot.writeStructBegin('addBanner_result')
10097 kshitij.so 14936
    if self.success is not None:
14937
      oprot.writeFieldBegin('success', TType.BOOL, 0)
14938
      oprot.writeBool(self.success)
14939
      oprot.writeFieldEnd()
8579 kshitij.so 14940
    oprot.writeFieldStop()
14941
    oprot.writeStructEnd()
14942
 
14943
  def validate(self):
14944
    return
14945
 
14946
 
14947
  def __repr__(self):
14948
    L = ['%s=%r' % (key, value)
14949
      for key, value in self.__dict__.iteritems()]
14950
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
14951
 
14952
  def __eq__(self, other):
14953
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
14954
 
14955
  def __ne__(self, other):
14956
    return not (self == other)
14957
 
14958
class updateBanner_args:
14959
  """
14960
  Attributes:
14961
   - banner
14962
  """
14963
 
14964
  thrift_spec = (
14965
    None, # 0
14966
    (1, TType.STRUCT, 'banner', (Banner, Banner.thrift_spec), None, ), # 1
14967
  )
14968
 
14969
  def __init__(self, banner=None,):
14970
    self.banner = banner
14971
 
14972
  def read(self, iprot):
14973
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
14974
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
14975
      return
14976
    iprot.readStructBegin()
14977
    while True:
14978
      (fname, ftype, fid) = iprot.readFieldBegin()
14979
      if ftype == TType.STOP:
14980
        break
14981
      if fid == 1:
14982
        if ftype == TType.STRUCT:
14983
          self.banner = Banner()
14984
          self.banner.read(iprot)
6850 kshitij.so 14985
        else:
14986
          iprot.skip(ftype)
14987
      else:
14988
        iprot.skip(ftype)
14989
      iprot.readFieldEnd()
14990
    iprot.readStructEnd()
14991
 
14992
  def write(self, oprot):
14993
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
14994
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
14995
      return
8579 kshitij.so 14996
    oprot.writeStructBegin('updateBanner_args')
14997
    if self.banner is not None:
14998
      oprot.writeFieldBegin('banner', TType.STRUCT, 1)
14999
      self.banner.write(oprot)
6850 kshitij.so 15000
      oprot.writeFieldEnd()
15001
    oprot.writeFieldStop()
15002
    oprot.writeStructEnd()
15003
 
15004
  def validate(self):
15005
    return
15006
 
15007
 
15008
  def __repr__(self):
15009
    L = ['%s=%r' % (key, value)
15010
      for key, value in self.__dict__.iteritems()]
15011
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15012
 
15013
  def __eq__(self, other):
15014
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15015
 
15016
  def __ne__(self, other):
15017
    return not (self == other)
15018
 
8579 kshitij.so 15019
class updateBanner_result:
6850 kshitij.so 15020
  """
15021
  Attributes:
15022
   - success
15023
  """
15024
 
15025
  thrift_spec = (
15026
    (0, TType.BOOL, 'success', None, None, ), # 0
15027
  )
15028
 
15029
  def __init__(self, success=None,):
15030
    self.success = success
15031
 
15032
  def read(self, iprot):
15033
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15034
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15035
      return
15036
    iprot.readStructBegin()
15037
    while True:
15038
      (fname, ftype, fid) = iprot.readFieldBegin()
15039
      if ftype == TType.STOP:
15040
        break
15041
      if fid == 0:
15042
        if ftype == TType.BOOL:
15043
          self.success = iprot.readBool();
15044
        else:
15045
          iprot.skip(ftype)
15046
      else:
15047
        iprot.skip(ftype)
15048
      iprot.readFieldEnd()
15049
    iprot.readStructEnd()
15050
 
15051
  def write(self, oprot):
15052
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15053
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15054
      return
8579 kshitij.so 15055
    oprot.writeStructBegin('updateBanner_result')
6850 kshitij.so 15056
    if self.success is not None:
15057
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15058
      oprot.writeBool(self.success)
15059
      oprot.writeFieldEnd()
15060
    oprot.writeFieldStop()
15061
    oprot.writeStructEnd()
15062
 
15063
  def validate(self):
15064
    return
15065
 
15066
 
15067
  def __repr__(self):
15068
    L = ['%s=%r' % (key, value)
15069
      for key, value in self.__dict__.iteritems()]
15070
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15071
 
15072
  def __eq__(self, other):
15073
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15074
 
15075
  def __ne__(self, other):
15076
    return not (self == other)
15077
 
15078
class getAllBanners_args:
15079
 
15080
  thrift_spec = (
15081
  )
15082
 
15083
  def read(self, iprot):
15084
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15085
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15086
      return
15087
    iprot.readStructBegin()
15088
    while True:
15089
      (fname, ftype, fid) = iprot.readFieldBegin()
15090
      if ftype == TType.STOP:
15091
        break
15092
      else:
15093
        iprot.skip(ftype)
15094
      iprot.readFieldEnd()
15095
    iprot.readStructEnd()
15096
 
15097
  def write(self, oprot):
15098
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15099
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15100
      return
15101
    oprot.writeStructBegin('getAllBanners_args')
15102
    oprot.writeFieldStop()
15103
    oprot.writeStructEnd()
15104
 
15105
  def validate(self):
15106
    return
15107
 
15108
 
15109
  def __repr__(self):
15110
    L = ['%s=%r' % (key, value)
15111
      for key, value in self.__dict__.iteritems()]
15112
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15113
 
15114
  def __eq__(self, other):
15115
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15116
 
15117
  def __ne__(self, other):
15118
    return not (self == other)
15119
 
15120
class getAllBanners_result:
15121
  """
15122
  Attributes:
15123
   - success
15124
  """
15125
 
15126
  thrift_spec = (
8579 kshitij.so 15127
    (0, TType.LIST, 'success', (TType.STRUCT,(Banner, Banner.thrift_spec)), None, ), # 0
6850 kshitij.so 15128
  )
15129
 
15130
  def __init__(self, success=None,):
15131
    self.success = success
15132
 
15133
  def read(self, iprot):
15134
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15135
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15136
      return
15137
    iprot.readStructBegin()
15138
    while True:
15139
      (fname, ftype, fid) = iprot.readFieldBegin()
15140
      if ftype == TType.STOP:
15141
        break
15142
      if fid == 0:
15143
        if ftype == TType.LIST:
15144
          self.success = []
12567 amit.gupta 15145
          (_etype207, _size204) = iprot.readListBegin()
15146
          for _i208 in xrange(_size204):
15147
            _elem209 = Banner()
15148
            _elem209.read(iprot)
15149
            self.success.append(_elem209)
6850 kshitij.so 15150
          iprot.readListEnd()
15151
        else:
15152
          iprot.skip(ftype)
15153
      else:
15154
        iprot.skip(ftype)
15155
      iprot.readFieldEnd()
15156
    iprot.readStructEnd()
15157
 
15158
  def write(self, oprot):
15159
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15160
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15161
      return
15162
    oprot.writeStructBegin('getAllBanners_result')
15163
    if self.success is not None:
15164
      oprot.writeFieldBegin('success', TType.LIST, 0)
8579 kshitij.so 15165
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 15166
      for iter210 in self.success:
15167
        iter210.write(oprot)
6850 kshitij.so 15168
      oprot.writeListEnd()
15169
      oprot.writeFieldEnd()
15170
    oprot.writeFieldStop()
15171
    oprot.writeStructEnd()
15172
 
15173
  def validate(self):
15174
    return
15175
 
15176
 
15177
  def __repr__(self):
15178
    L = ['%s=%r' % (key, value)
15179
      for key, value in self.__dict__.iteritems()]
15180
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15181
 
15182
  def __eq__(self, other):
15183
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15184
 
15185
  def __ne__(self, other):
15186
    return not (self == other)
15187
 
15188
class deleteBanner_args:
15189
  """
15190
  Attributes:
15191
   - bannerName
9155 kshitij.so 15192
   - bannerType
6850 kshitij.so 15193
  """
15194
 
15195
  thrift_spec = (
15196
    None, # 0
15197
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 15198
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 15199
  )
15200
 
9155 kshitij.so 15201
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 15202
    self.bannerName = bannerName
9155 kshitij.so 15203
    self.bannerType = bannerType
6850 kshitij.so 15204
 
15205
  def read(self, iprot):
15206
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15207
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15208
      return
15209
    iprot.readStructBegin()
15210
    while True:
15211
      (fname, ftype, fid) = iprot.readFieldBegin()
15212
      if ftype == TType.STOP:
15213
        break
15214
      if fid == 1:
15215
        if ftype == TType.STRING:
15216
          self.bannerName = iprot.readString();
15217
        else:
15218
          iprot.skip(ftype)
9155 kshitij.so 15219
      elif fid == 2:
15220
        if ftype == TType.I32:
15221
          self.bannerType = iprot.readI32();
15222
        else:
15223
          iprot.skip(ftype)
6850 kshitij.so 15224
      else:
15225
        iprot.skip(ftype)
15226
      iprot.readFieldEnd()
15227
    iprot.readStructEnd()
15228
 
15229
  def write(self, oprot):
15230
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15231
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15232
      return
15233
    oprot.writeStructBegin('deleteBanner_args')
15234
    if self.bannerName is not None:
15235
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15236
      oprot.writeString(self.bannerName)
15237
      oprot.writeFieldEnd()
9155 kshitij.so 15238
    if self.bannerType is not None:
15239
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
15240
      oprot.writeI32(self.bannerType)
15241
      oprot.writeFieldEnd()
6850 kshitij.so 15242
    oprot.writeFieldStop()
15243
    oprot.writeStructEnd()
15244
 
15245
  def validate(self):
15246
    return
15247
 
15248
 
15249
  def __repr__(self):
15250
    L = ['%s=%r' % (key, value)
15251
      for key, value in self.__dict__.iteritems()]
15252
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15253
 
15254
  def __eq__(self, other):
15255
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15256
 
15257
  def __ne__(self, other):
15258
    return not (self == other)
15259
 
15260
class deleteBanner_result:
15261
  """
15262
  Attributes:
15263
   - success
15264
  """
15265
 
15266
  thrift_spec = (
15267
    (0, TType.BOOL, 'success', None, None, ), # 0
15268
  )
15269
 
15270
  def __init__(self, success=None,):
15271
    self.success = success
15272
 
15273
  def read(self, iprot):
15274
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15275
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15276
      return
15277
    iprot.readStructBegin()
15278
    while True:
15279
      (fname, ftype, fid) = iprot.readFieldBegin()
15280
      if ftype == TType.STOP:
15281
        break
15282
      if fid == 0:
15283
        if ftype == TType.BOOL:
15284
          self.success = iprot.readBool();
15285
        else:
15286
          iprot.skip(ftype)
15287
      else:
15288
        iprot.skip(ftype)
15289
      iprot.readFieldEnd()
15290
    iprot.readStructEnd()
15291
 
15292
  def write(self, oprot):
15293
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15294
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15295
      return
15296
    oprot.writeStructBegin('deleteBanner_result')
15297
    if self.success is not None:
15298
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15299
      oprot.writeBool(self.success)
15300
      oprot.writeFieldEnd()
15301
    oprot.writeFieldStop()
15302
    oprot.writeStructEnd()
15303
 
15304
  def validate(self):
15305
    return
15306
 
15307
 
15308
  def __repr__(self):
15309
    L = ['%s=%r' % (key, value)
15310
      for key, value in self.__dict__.iteritems()]
15311
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15312
 
15313
  def __eq__(self, other):
15314
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15315
 
15316
  def __ne__(self, other):
15317
    return not (self == other)
15318
 
15319
class getBannerDetails_args:
15320
  """
15321
  Attributes:
15322
   - bannerName
9155 kshitij.so 15323
   - bannerType
6850 kshitij.so 15324
  """
15325
 
15326
  thrift_spec = (
15327
    None, # 0
15328
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 15329
    (2, TType.I32, 'bannerType', None, None, ), # 2
6850 kshitij.so 15330
  )
15331
 
9155 kshitij.so 15332
  def __init__(self, bannerName=None, bannerType=None,):
6850 kshitij.so 15333
    self.bannerName = bannerName
9155 kshitij.so 15334
    self.bannerType = bannerType
6850 kshitij.so 15335
 
15336
  def read(self, iprot):
15337
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15338
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15339
      return
15340
    iprot.readStructBegin()
15341
    while True:
15342
      (fname, ftype, fid) = iprot.readFieldBegin()
15343
      if ftype == TType.STOP:
15344
        break
15345
      if fid == 1:
15346
        if ftype == TType.STRING:
15347
          self.bannerName = iprot.readString();
15348
        else:
15349
          iprot.skip(ftype)
9155 kshitij.so 15350
      elif fid == 2:
15351
        if ftype == TType.I32:
15352
          self.bannerType = iprot.readI32();
15353
        else:
15354
          iprot.skip(ftype)
6850 kshitij.so 15355
      else:
15356
        iprot.skip(ftype)
15357
      iprot.readFieldEnd()
15358
    iprot.readStructEnd()
15359
 
15360
  def write(self, oprot):
15361
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15362
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15363
      return
15364
    oprot.writeStructBegin('getBannerDetails_args')
15365
    if self.bannerName is not None:
15366
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15367
      oprot.writeString(self.bannerName)
15368
      oprot.writeFieldEnd()
9155 kshitij.so 15369
    if self.bannerType is not None:
15370
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
15371
      oprot.writeI32(self.bannerType)
15372
      oprot.writeFieldEnd()
6850 kshitij.so 15373
    oprot.writeFieldStop()
15374
    oprot.writeStructEnd()
15375
 
15376
  def validate(self):
15377
    return
15378
 
15379
 
15380
  def __repr__(self):
15381
    L = ['%s=%r' % (key, value)
15382
      for key, value in self.__dict__.iteritems()]
15383
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15384
 
15385
  def __eq__(self, other):
15386
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15387
 
15388
  def __ne__(self, other):
15389
    return not (self == other)
15390
 
15391
class getBannerDetails_result:
15392
  """
15393
  Attributes:
15394
   - success
15395
  """
15396
 
15397
  thrift_spec = (
15398
    (0, TType.STRUCT, 'success', (Banner, Banner.thrift_spec), None, ), # 0
15399
  )
15400
 
15401
  def __init__(self, success=None,):
15402
    self.success = success
15403
 
15404
  def read(self, iprot):
15405
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15406
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15407
      return
15408
    iprot.readStructBegin()
15409
    while True:
15410
      (fname, ftype, fid) = iprot.readFieldBegin()
15411
      if ftype == TType.STOP:
15412
        break
15413
      if fid == 0:
15414
        if ftype == TType.STRUCT:
15415
          self.success = Banner()
15416
          self.success.read(iprot)
15417
        else:
15418
          iprot.skip(ftype)
15419
      else:
15420
        iprot.skip(ftype)
15421
      iprot.readFieldEnd()
15422
    iprot.readStructEnd()
15423
 
15424
  def write(self, oprot):
15425
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15426
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15427
      return
15428
    oprot.writeStructBegin('getBannerDetails_result')
15429
    if self.success is not None:
15430
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
15431
      self.success.write(oprot)
15432
      oprot.writeFieldEnd()
15433
    oprot.writeFieldStop()
15434
    oprot.writeStructEnd()
15435
 
15436
  def validate(self):
15437
    return
15438
 
15439
 
15440
  def __repr__(self):
15441
    L = ['%s=%r' % (key, value)
15442
      for key, value in self.__dict__.iteritems()]
15443
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15444
 
15445
  def __eq__(self, other):
15446
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15447
 
15448
  def __ne__(self, other):
15449
    return not (self == other)
15450
 
15451
class getActiveBanners_args:
15452
 
15453
  thrift_spec = (
15454
  )
15455
 
15456
  def read(self, iprot):
15457
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15458
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15459
      return
15460
    iprot.readStructBegin()
15461
    while True:
15462
      (fname, ftype, fid) = iprot.readFieldBegin()
15463
      if ftype == TType.STOP:
15464
        break
15465
      else:
15466
        iprot.skip(ftype)
15467
      iprot.readFieldEnd()
15468
    iprot.readStructEnd()
15469
 
15470
  def write(self, oprot):
15471
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15472
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15473
      return
15474
    oprot.writeStructBegin('getActiveBanners_args')
15475
    oprot.writeFieldStop()
15476
    oprot.writeStructEnd()
15477
 
15478
  def validate(self):
15479
    return
15480
 
15481
 
15482
  def __repr__(self):
15483
    L = ['%s=%r' % (key, value)
15484
      for key, value in self.__dict__.iteritems()]
15485
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15486
 
15487
  def __eq__(self, other):
15488
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15489
 
15490
  def __ne__(self, other):
15491
    return not (self == other)
15492
 
15493
class getActiveBanners_result:
15494
  """
15495
  Attributes:
15496
   - success
15497
  """
15498
 
15499
  thrift_spec = (
8579 kshitij.so 15500
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
6850 kshitij.so 15501
  )
15502
 
15503
  def __init__(self, success=None,):
15504
    self.success = success
15505
 
15506
  def read(self, iprot):
15507
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15508
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15509
      return
15510
    iprot.readStructBegin()
15511
    while True:
15512
      (fname, ftype, fid) = iprot.readFieldBegin()
15513
      if ftype == TType.STOP:
15514
        break
15515
      if fid == 0:
8579 kshitij.so 15516
        if ftype == TType.MAP:
15517
          self.success = {}
12567 amit.gupta 15518
          (_ktype212, _vtype213, _size211 ) = iprot.readMapBegin() 
15519
          for _i215 in xrange(_size211):
15520
            _key216 = iprot.readString();
15521
            _val217 = []
15522
            (_etype221, _size218) = iprot.readListBegin()
15523
            for _i222 in xrange(_size218):
15524
              _elem223 = Banner()
15525
              _elem223.read(iprot)
15526
              _val217.append(_elem223)
8579 kshitij.so 15527
            iprot.readListEnd()
12567 amit.gupta 15528
            self.success[_key216] = _val217
8579 kshitij.so 15529
          iprot.readMapEnd()
6850 kshitij.so 15530
        else:
15531
          iprot.skip(ftype)
15532
      else:
15533
        iprot.skip(ftype)
15534
      iprot.readFieldEnd()
15535
    iprot.readStructEnd()
15536
 
15537
  def write(self, oprot):
15538
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15539
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15540
      return
15541
    oprot.writeStructBegin('getActiveBanners_result')
15542
    if self.success is not None:
8579 kshitij.so 15543
      oprot.writeFieldBegin('success', TType.MAP, 0)
15544
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
12567 amit.gupta 15545
      for kiter224,viter225 in self.success.items():
15546
        oprot.writeString(kiter224)
15547
        oprot.writeListBegin(TType.STRUCT, len(viter225))
15548
        for iter226 in viter225:
15549
          iter226.write(oprot)
8579 kshitij.so 15550
        oprot.writeListEnd()
15551
      oprot.writeMapEnd()
6850 kshitij.so 15552
      oprot.writeFieldEnd()
15553
    oprot.writeFieldStop()
15554
    oprot.writeStructEnd()
15555
 
15556
  def validate(self):
15557
    return
15558
 
15559
 
15560
  def __repr__(self):
15561
    L = ['%s=%r' % (key, value)
15562
      for key, value in self.__dict__.iteritems()]
15563
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15564
 
15565
  def __eq__(self, other):
15566
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15567
 
15568
  def __ne__(self, other):
15569
    return not (self == other)
15570
 
6849 kshitij.so 15571
class addBannerMap_args:
15572
  """
15573
  Attributes:
8579 kshitij.so 15574
   - bannerMaps
6849 kshitij.so 15575
  """
15576
 
15577
  thrift_spec = (
15578
    None, # 0
8579 kshitij.so 15579
    (1, TType.LIST, 'bannerMaps', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 1
6849 kshitij.so 15580
  )
15581
 
8579 kshitij.so 15582
  def __init__(self, bannerMaps=None,):
15583
    self.bannerMaps = bannerMaps
6849 kshitij.so 15584
 
15585
  def read(self, iprot):
15586
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15587
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15588
      return
15589
    iprot.readStructBegin()
15590
    while True:
15591
      (fname, ftype, fid) = iprot.readFieldBegin()
15592
      if ftype == TType.STOP:
15593
        break
15594
      if fid == 1:
8579 kshitij.so 15595
        if ftype == TType.LIST:
15596
          self.bannerMaps = []
12567 amit.gupta 15597
          (_etype230, _size227) = iprot.readListBegin()
15598
          for _i231 in xrange(_size227):
15599
            _elem232 = BannerMap()
15600
            _elem232.read(iprot)
15601
            self.bannerMaps.append(_elem232)
8579 kshitij.so 15602
          iprot.readListEnd()
6849 kshitij.so 15603
        else:
15604
          iprot.skip(ftype)
8579 kshitij.so 15605
      else:
15606
        iprot.skip(ftype)
15607
      iprot.readFieldEnd()
15608
    iprot.readStructEnd()
15609
 
15610
  def write(self, oprot):
15611
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15612
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15613
      return
15614
    oprot.writeStructBegin('addBannerMap_args')
15615
    if self.bannerMaps is not None:
15616
      oprot.writeFieldBegin('bannerMaps', TType.LIST, 1)
15617
      oprot.writeListBegin(TType.STRUCT, len(self.bannerMaps))
12567 amit.gupta 15618
      for iter233 in self.bannerMaps:
15619
        iter233.write(oprot)
8579 kshitij.so 15620
      oprot.writeListEnd()
15621
      oprot.writeFieldEnd()
15622
    oprot.writeFieldStop()
15623
    oprot.writeStructEnd()
15624
 
15625
  def validate(self):
15626
    return
15627
 
15628
 
15629
  def __repr__(self):
15630
    L = ['%s=%r' % (key, value)
15631
      for key, value in self.__dict__.iteritems()]
15632
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15633
 
15634
  def __eq__(self, other):
15635
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15636
 
15637
  def __ne__(self, other):
15638
    return not (self == other)
15639
 
15640
class addBannerMap_result:
15641
  """
15642
  Attributes:
15643
   - success
15644
  """
15645
 
15646
  thrift_spec = (
15647
    (0, TType.BOOL, 'success', None, None, ), # 0
15648
  )
15649
 
15650
  def __init__(self, success=None,):
15651
    self.success = success
15652
 
15653
  def read(self, iprot):
15654
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15655
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15656
      return
15657
    iprot.readStructBegin()
15658
    while True:
15659
      (fname, ftype, fid) = iprot.readFieldBegin()
15660
      if ftype == TType.STOP:
15661
        break
15662
      if fid == 0:
15663
        if ftype == TType.BOOL:
15664
          self.success = iprot.readBool();
6849 kshitij.so 15665
        else:
15666
          iprot.skip(ftype)
8579 kshitij.so 15667
      else:
15668
        iprot.skip(ftype)
15669
      iprot.readFieldEnd()
15670
    iprot.readStructEnd()
15671
 
15672
  def write(self, oprot):
15673
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15674
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15675
      return
15676
    oprot.writeStructBegin('addBannerMap_result')
15677
    if self.success is not None:
15678
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15679
      oprot.writeBool(self.success)
15680
      oprot.writeFieldEnd()
15681
    oprot.writeFieldStop()
15682
    oprot.writeStructEnd()
15683
 
15684
  def validate(self):
15685
    return
15686
 
15687
 
15688
  def __repr__(self):
15689
    L = ['%s=%r' % (key, value)
15690
      for key, value in self.__dict__.iteritems()]
15691
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15692
 
15693
  def __eq__(self, other):
15694
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15695
 
15696
  def __ne__(self, other):
15697
    return not (self == other)
15698
 
15699
class updateBannerMap_args:
15700
  """
15701
  Attributes:
15702
   - bannerMap
15703
  """
15704
 
15705
  thrift_spec = (
15706
    None, # 0
15707
    (1, TType.STRUCT, 'bannerMap', (BannerMap, BannerMap.thrift_spec), None, ), # 1
15708
  )
15709
 
15710
  def __init__(self, bannerMap=None,):
15711
    self.bannerMap = bannerMap
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.STRUCT:
15724
          self.bannerMap = BannerMap()
15725
          self.bannerMap.read(iprot)
6849 kshitij.so 15726
        else:
15727
          iprot.skip(ftype)
15728
      else:
15729
        iprot.skip(ftype)
15730
      iprot.readFieldEnd()
15731
    iprot.readStructEnd()
15732
 
15733
  def write(self, oprot):
15734
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15735
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15736
      return
8579 kshitij.so 15737
    oprot.writeStructBegin('updateBannerMap_args')
15738
    if self.bannerMap is not None:
15739
      oprot.writeFieldBegin('bannerMap', TType.STRUCT, 1)
15740
      self.bannerMap.write(oprot)
6849 kshitij.so 15741
      oprot.writeFieldEnd()
15742
    oprot.writeFieldStop()
15743
    oprot.writeStructEnd()
15744
 
15745
  def validate(self):
15746
    return
15747
 
15748
 
15749
  def __repr__(self):
15750
    L = ['%s=%r' % (key, value)
15751
      for key, value in self.__dict__.iteritems()]
15752
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15753
 
15754
  def __eq__(self, other):
15755
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15756
 
15757
  def __ne__(self, other):
15758
    return not (self == other)
15759
 
8579 kshitij.so 15760
class updateBannerMap_result:
6849 kshitij.so 15761
  """
15762
  Attributes:
15763
   - success
15764
  """
15765
 
15766
  thrift_spec = (
15767
    (0, TType.BOOL, 'success', None, None, ), # 0
15768
  )
15769
 
15770
  def __init__(self, success=None,):
15771
    self.success = success
15772
 
15773
  def read(self, iprot):
15774
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15775
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15776
      return
15777
    iprot.readStructBegin()
15778
    while True:
15779
      (fname, ftype, fid) = iprot.readFieldBegin()
15780
      if ftype == TType.STOP:
15781
        break
15782
      if fid == 0:
15783
        if ftype == TType.BOOL:
15784
          self.success = iprot.readBool();
15785
        else:
15786
          iprot.skip(ftype)
15787
      else:
15788
        iprot.skip(ftype)
15789
      iprot.readFieldEnd()
15790
    iprot.readStructEnd()
15791
 
15792
  def write(self, oprot):
15793
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15794
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15795
      return
8579 kshitij.so 15796
    oprot.writeStructBegin('updateBannerMap_result')
6849 kshitij.so 15797
    if self.success is not None:
15798
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15799
      oprot.writeBool(self.success)
15800
      oprot.writeFieldEnd()
15801
    oprot.writeFieldStop()
15802
    oprot.writeStructEnd()
15803
 
15804
  def validate(self):
15805
    return
15806
 
15807
 
15808
  def __repr__(self):
15809
    L = ['%s=%r' % (key, value)
15810
      for key, value in self.__dict__.iteritems()]
15811
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15812
 
15813
  def __eq__(self, other):
15814
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15815
 
15816
  def __ne__(self, other):
15817
    return not (self == other)
15818
 
15819
class deleteBannerMap_args:
15820
  """
15821
  Attributes:
15822
   - bannerName
15823
  """
15824
 
15825
  thrift_spec = (
15826
    None, # 0
15827
    (1, TType.STRING, 'bannerName', None, None, ), # 1
15828
  )
15829
 
15830
  def __init__(self, bannerName=None,):
15831
    self.bannerName = bannerName
15832
 
15833
  def read(self, iprot):
15834
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15835
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15836
      return
15837
    iprot.readStructBegin()
15838
    while True:
15839
      (fname, ftype, fid) = iprot.readFieldBegin()
15840
      if ftype == TType.STOP:
15841
        break
15842
      if fid == 1:
15843
        if ftype == TType.STRING:
15844
          self.bannerName = iprot.readString();
15845
        else:
15846
          iprot.skip(ftype)
15847
      else:
15848
        iprot.skip(ftype)
15849
      iprot.readFieldEnd()
15850
    iprot.readStructEnd()
15851
 
15852
  def write(self, oprot):
15853
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15854
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15855
      return
15856
    oprot.writeStructBegin('deleteBannerMap_args')
15857
    if self.bannerName is not None:
15858
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15859
      oprot.writeString(self.bannerName)
15860
      oprot.writeFieldEnd()
15861
    oprot.writeFieldStop()
15862
    oprot.writeStructEnd()
15863
 
15864
  def validate(self):
15865
    return
15866
 
15867
 
15868
  def __repr__(self):
15869
    L = ['%s=%r' % (key, value)
15870
      for key, value in self.__dict__.iteritems()]
15871
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15872
 
15873
  def __eq__(self, other):
15874
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15875
 
15876
  def __ne__(self, other):
15877
    return not (self == other)
15878
 
15879
class deleteBannerMap_result:
15880
  """
15881
  Attributes:
15882
   - success
15883
  """
15884
 
15885
  thrift_spec = (
15886
    (0, TType.BOOL, 'success', None, None, ), # 0
15887
  )
15888
 
15889
  def __init__(self, success=None,):
15890
    self.success = success
15891
 
15892
  def read(self, iprot):
15893
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15894
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15895
      return
15896
    iprot.readStructBegin()
15897
    while True:
15898
      (fname, ftype, fid) = iprot.readFieldBegin()
15899
      if ftype == TType.STOP:
15900
        break
15901
      if fid == 0:
15902
        if ftype == TType.BOOL:
15903
          self.success = iprot.readBool();
15904
        else:
15905
          iprot.skip(ftype)
15906
      else:
15907
        iprot.skip(ftype)
15908
      iprot.readFieldEnd()
15909
    iprot.readStructEnd()
15910
 
15911
  def write(self, oprot):
15912
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15913
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15914
      return
15915
    oprot.writeStructBegin('deleteBannerMap_result')
15916
    if self.success is not None:
15917
      oprot.writeFieldBegin('success', TType.BOOL, 0)
15918
      oprot.writeBool(self.success)
15919
      oprot.writeFieldEnd()
15920
    oprot.writeFieldStop()
15921
    oprot.writeStructEnd()
15922
 
15923
  def validate(self):
15924
    return
15925
 
15926
 
15927
  def __repr__(self):
15928
    L = ['%s=%r' % (key, value)
15929
      for key, value in self.__dict__.iteritems()]
15930
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
15931
 
15932
  def __eq__(self, other):
15933
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
15934
 
15935
  def __ne__(self, other):
15936
    return not (self == other)
15937
 
15938
class getBannerMapDetails_args:
15939
  """
15940
  Attributes:
15941
   - bannerName
9155 kshitij.so 15942
   - bannerType
6849 kshitij.so 15943
  """
15944
 
15945
  thrift_spec = (
15946
    None, # 0
15947
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 15948
    (2, TType.I32, 'bannerType', None, None, ), # 2
6849 kshitij.so 15949
  )
15950
 
9155 kshitij.so 15951
  def __init__(self, bannerName=None, bannerType=None,):
6849 kshitij.so 15952
    self.bannerName = bannerName
9155 kshitij.so 15953
    self.bannerType = bannerType
6849 kshitij.so 15954
 
15955
  def read(self, iprot):
15956
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
15957
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
15958
      return
15959
    iprot.readStructBegin()
15960
    while True:
15961
      (fname, ftype, fid) = iprot.readFieldBegin()
15962
      if ftype == TType.STOP:
15963
        break
15964
      if fid == 1:
15965
        if ftype == TType.STRING:
15966
          self.bannerName = iprot.readString();
15967
        else:
15968
          iprot.skip(ftype)
9155 kshitij.so 15969
      elif fid == 2:
15970
        if ftype == TType.I32:
15971
          self.bannerType = iprot.readI32();
15972
        else:
15973
          iprot.skip(ftype)
6849 kshitij.so 15974
      else:
15975
        iprot.skip(ftype)
15976
      iprot.readFieldEnd()
15977
    iprot.readStructEnd()
15978
 
15979
  def write(self, oprot):
15980
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
15981
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
15982
      return
15983
    oprot.writeStructBegin('getBannerMapDetails_args')
15984
    if self.bannerName is not None:
15985
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
15986
      oprot.writeString(self.bannerName)
15987
      oprot.writeFieldEnd()
9155 kshitij.so 15988
    if self.bannerType is not None:
15989
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
15990
      oprot.writeI32(self.bannerType)
15991
      oprot.writeFieldEnd()
6849 kshitij.so 15992
    oprot.writeFieldStop()
15993
    oprot.writeStructEnd()
15994
 
15995
  def validate(self):
15996
    return
15997
 
15998
 
15999
  def __repr__(self):
16000
    L = ['%s=%r' % (key, value)
16001
      for key, value in self.__dict__.iteritems()]
16002
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16003
 
16004
  def __eq__(self, other):
16005
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16006
 
16007
  def __ne__(self, other):
16008
    return not (self == other)
16009
 
16010
class getBannerMapDetails_result:
16011
  """
16012
  Attributes:
16013
   - success
16014
  """
16015
 
16016
  thrift_spec = (
16017
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerMap, BannerMap.thrift_spec)), None, ), # 0
16018
  )
16019
 
16020
  def __init__(self, success=None,):
16021
    self.success = success
16022
 
16023
  def read(self, iprot):
16024
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16025
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16026
      return
16027
    iprot.readStructBegin()
16028
    while True:
16029
      (fname, ftype, fid) = iprot.readFieldBegin()
16030
      if ftype == TType.STOP:
16031
        break
16032
      if fid == 0:
16033
        if ftype == TType.LIST:
16034
          self.success = []
12567 amit.gupta 16035
          (_etype237, _size234) = iprot.readListBegin()
16036
          for _i238 in xrange(_size234):
16037
            _elem239 = BannerMap()
16038
            _elem239.read(iprot)
16039
            self.success.append(_elem239)
6849 kshitij.so 16040
          iprot.readListEnd()
16041
        else:
16042
          iprot.skip(ftype)
16043
      else:
16044
        iprot.skip(ftype)
16045
      iprot.readFieldEnd()
16046
    iprot.readStructEnd()
16047
 
16048
  def write(self, oprot):
16049
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16050
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16051
      return
16052
    oprot.writeStructBegin('getBannerMapDetails_result')
16053
    if self.success is not None:
16054
      oprot.writeFieldBegin('success', TType.LIST, 0)
16055
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 16056
      for iter240 in self.success:
16057
        iter240.write(oprot)
6849 kshitij.so 16058
      oprot.writeListEnd()
16059
      oprot.writeFieldEnd()
16060
    oprot.writeFieldStop()
16061
    oprot.writeStructEnd()
16062
 
16063
  def validate(self):
16064
    return
16065
 
16066
 
16067
  def __repr__(self):
16068
    L = ['%s=%r' % (key, value)
16069
      for key, value in self.__dict__.iteritems()]
16070
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16071
 
16072
  def __eq__(self, other):
16073
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16074
 
16075
  def __ne__(self, other):
16076
    return not (self == other)
16077
 
8579 kshitij.so 16078
class addBannerUri_args:
16079
  """
16080
  Attributes:
16081
   - bannerUriMappings
16082
  """
16083
 
16084
  thrift_spec = (
16085
    None, # 0
16086
    (1, TType.LIST, 'bannerUriMappings', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 1
16087
  )
16088
 
16089
  def __init__(self, bannerUriMappings=None,):
16090
    self.bannerUriMappings = bannerUriMappings
16091
 
16092
  def read(self, iprot):
16093
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16094
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16095
      return
16096
    iprot.readStructBegin()
16097
    while True:
16098
      (fname, ftype, fid) = iprot.readFieldBegin()
16099
      if ftype == TType.STOP:
16100
        break
16101
      if fid == 1:
16102
        if ftype == TType.LIST:
16103
          self.bannerUriMappings = []
12567 amit.gupta 16104
          (_etype244, _size241) = iprot.readListBegin()
16105
          for _i245 in xrange(_size241):
16106
            _elem246 = BannerUriMapping()
16107
            _elem246.read(iprot)
16108
            self.bannerUriMappings.append(_elem246)
8579 kshitij.so 16109
          iprot.readListEnd()
16110
        else:
16111
          iprot.skip(ftype)
16112
      else:
16113
        iprot.skip(ftype)
16114
      iprot.readFieldEnd()
16115
    iprot.readStructEnd()
16116
 
16117
  def write(self, oprot):
16118
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16119
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16120
      return
16121
    oprot.writeStructBegin('addBannerUri_args')
16122
    if self.bannerUriMappings is not None:
16123
      oprot.writeFieldBegin('bannerUriMappings', TType.LIST, 1)
16124
      oprot.writeListBegin(TType.STRUCT, len(self.bannerUriMappings))
12567 amit.gupta 16125
      for iter247 in self.bannerUriMappings:
16126
        iter247.write(oprot)
8579 kshitij.so 16127
      oprot.writeListEnd()
16128
      oprot.writeFieldEnd()
16129
    oprot.writeFieldStop()
16130
    oprot.writeStructEnd()
16131
 
16132
  def validate(self):
16133
    return
16134
 
16135
 
16136
  def __repr__(self):
16137
    L = ['%s=%r' % (key, value)
16138
      for key, value in self.__dict__.iteritems()]
16139
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16140
 
16141
  def __eq__(self, other):
16142
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16143
 
16144
  def __ne__(self, other):
16145
    return not (self == other)
16146
 
16147
class addBannerUri_result:
16148
 
16149
  thrift_spec = (
16150
  )
16151
 
16152
  def read(self, iprot):
16153
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16154
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16155
      return
16156
    iprot.readStructBegin()
16157
    while True:
16158
      (fname, ftype, fid) = iprot.readFieldBegin()
16159
      if ftype == TType.STOP:
16160
        break
16161
      else:
16162
        iprot.skip(ftype)
16163
      iprot.readFieldEnd()
16164
    iprot.readStructEnd()
16165
 
16166
  def write(self, oprot):
16167
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16168
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16169
      return
16170
    oprot.writeStructBegin('addBannerUri_result')
16171
    oprot.writeFieldStop()
16172
    oprot.writeStructEnd()
16173
 
16174
  def validate(self):
16175
    return
16176
 
16177
 
16178
  def __repr__(self):
16179
    L = ['%s=%r' % (key, value)
16180
      for key, value in self.__dict__.iteritems()]
16181
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16182
 
16183
  def __eq__(self, other):
16184
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16185
 
16186
  def __ne__(self, other):
16187
    return not (self == other)
16188
 
16189
class getUriMapping_args:
16190
  """
16191
  Attributes:
16192
   - bannerName
9155 kshitij.so 16193
   - bannerType
8579 kshitij.so 16194
  """
16195
 
16196
  thrift_spec = (
16197
    None, # 0
16198
    (1, TType.STRING, 'bannerName', None, None, ), # 1
9155 kshitij.so 16199
    (2, TType.I32, 'bannerType', None, None, ), # 2
8579 kshitij.so 16200
  )
16201
 
9155 kshitij.so 16202
  def __init__(self, bannerName=None, bannerType=None,):
8579 kshitij.so 16203
    self.bannerName = bannerName
9155 kshitij.so 16204
    self.bannerType = bannerType
8579 kshitij.so 16205
 
16206
  def read(self, iprot):
16207
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16208
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16209
      return
16210
    iprot.readStructBegin()
16211
    while True:
16212
      (fname, ftype, fid) = iprot.readFieldBegin()
16213
      if ftype == TType.STOP:
16214
        break
16215
      if fid == 1:
16216
        if ftype == TType.STRING:
16217
          self.bannerName = iprot.readString();
16218
        else:
16219
          iprot.skip(ftype)
9155 kshitij.so 16220
      elif fid == 2:
16221
        if ftype == TType.I32:
16222
          self.bannerType = iprot.readI32();
16223
        else:
16224
          iprot.skip(ftype)
8579 kshitij.so 16225
      else:
16226
        iprot.skip(ftype)
16227
      iprot.readFieldEnd()
16228
    iprot.readStructEnd()
16229
 
16230
  def write(self, oprot):
16231
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16232
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16233
      return
16234
    oprot.writeStructBegin('getUriMapping_args')
16235
    if self.bannerName is not None:
16236
      oprot.writeFieldBegin('bannerName', TType.STRING, 1)
16237
      oprot.writeString(self.bannerName)
16238
      oprot.writeFieldEnd()
9155 kshitij.so 16239
    if self.bannerType is not None:
16240
      oprot.writeFieldBegin('bannerType', TType.I32, 2)
16241
      oprot.writeI32(self.bannerType)
16242
      oprot.writeFieldEnd()
8579 kshitij.so 16243
    oprot.writeFieldStop()
16244
    oprot.writeStructEnd()
16245
 
16246
  def validate(self):
16247
    return
16248
 
16249
 
16250
  def __repr__(self):
16251
    L = ['%s=%r' % (key, value)
16252
      for key, value in self.__dict__.iteritems()]
16253
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16254
 
16255
  def __eq__(self, other):
16256
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16257
 
16258
  def __ne__(self, other):
16259
    return not (self == other)
16260
 
16261
class getUriMapping_result:
16262
  """
16263
  Attributes:
16264
   - success
16265
  """
16266
 
16267
  thrift_spec = (
16268
    (0, TType.LIST, 'success', (TType.STRUCT,(BannerUriMapping, BannerUriMapping.thrift_spec)), None, ), # 0
16269
  )
16270
 
16271
  def __init__(self, success=None,):
16272
    self.success = success
16273
 
16274
  def read(self, iprot):
16275
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16276
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16277
      return
16278
    iprot.readStructBegin()
16279
    while True:
16280
      (fname, ftype, fid) = iprot.readFieldBegin()
16281
      if ftype == TType.STOP:
16282
        break
16283
      if fid == 0:
16284
        if ftype == TType.LIST:
16285
          self.success = []
12567 amit.gupta 16286
          (_etype251, _size248) = iprot.readListBegin()
16287
          for _i252 in xrange(_size248):
16288
            _elem253 = BannerUriMapping()
16289
            _elem253.read(iprot)
16290
            self.success.append(_elem253)
8579 kshitij.so 16291
          iprot.readListEnd()
16292
        else:
16293
          iprot.skip(ftype)
16294
      else:
16295
        iprot.skip(ftype)
16296
      iprot.readFieldEnd()
16297
    iprot.readStructEnd()
16298
 
16299
  def write(self, oprot):
16300
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16301
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16302
      return
16303
    oprot.writeStructBegin('getUriMapping_result')
16304
    if self.success is not None:
16305
      oprot.writeFieldBegin('success', TType.LIST, 0)
16306
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 16307
      for iter254 in self.success:
16308
        iter254.write(oprot)
8579 kshitij.so 16309
      oprot.writeListEnd()
16310
      oprot.writeFieldEnd()
16311
    oprot.writeFieldStop()
16312
    oprot.writeStructEnd()
16313
 
16314
  def validate(self):
16315
    return
16316
 
16317
 
16318
  def __repr__(self):
16319
    L = ['%s=%r' % (key, value)
16320
      for key, value in self.__dict__.iteritems()]
16321
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16322
 
16323
  def __eq__(self, other):
16324
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16325
 
16326
  def __ne__(self, other):
16327
    return not (self == other)
16328
 
16329
class addCampaign_args:
16330
  """
16331
  Attributes:
16332
   - campaign
16333
  """
16334
 
16335
  thrift_spec = (
16336
    None, # 0
16337
    (1, TType.STRUCT, 'campaign', (Campaign, Campaign.thrift_spec), None, ), # 1
16338
  )
16339
 
16340
  def __init__(self, campaign=None,):
16341
    self.campaign = campaign
16342
 
16343
  def read(self, iprot):
16344
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16345
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16346
      return
16347
    iprot.readStructBegin()
16348
    while True:
16349
      (fname, ftype, fid) = iprot.readFieldBegin()
16350
      if ftype == TType.STOP:
16351
        break
16352
      if fid == 1:
16353
        if ftype == TType.STRUCT:
16354
          self.campaign = Campaign()
16355
          self.campaign.read(iprot)
16356
        else:
16357
          iprot.skip(ftype)
16358
      else:
16359
        iprot.skip(ftype)
16360
      iprot.readFieldEnd()
16361
    iprot.readStructEnd()
16362
 
16363
  def write(self, oprot):
16364
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16365
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16366
      return
16367
    oprot.writeStructBegin('addCampaign_args')
16368
    if self.campaign is not None:
16369
      oprot.writeFieldBegin('campaign', TType.STRUCT, 1)
16370
      self.campaign.write(oprot)
16371
      oprot.writeFieldEnd()
16372
    oprot.writeFieldStop()
16373
    oprot.writeStructEnd()
16374
 
16375
  def validate(self):
16376
    return
16377
 
16378
 
16379
  def __repr__(self):
16380
    L = ['%s=%r' % (key, value)
16381
      for key, value in self.__dict__.iteritems()]
16382
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16383
 
16384
  def __eq__(self, other):
16385
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16386
 
16387
  def __ne__(self, other):
16388
    return not (self == other)
16389
 
16390
class addCampaign_result:
16391
 
16392
  thrift_spec = (
16393
  )
16394
 
16395
  def read(self, iprot):
16396
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16397
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16398
      return
16399
    iprot.readStructBegin()
16400
    while True:
16401
      (fname, ftype, fid) = iprot.readFieldBegin()
16402
      if ftype == TType.STOP:
16403
        break
16404
      else:
16405
        iprot.skip(ftype)
16406
      iprot.readFieldEnd()
16407
    iprot.readStructEnd()
16408
 
16409
  def write(self, oprot):
16410
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16411
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16412
      return
16413
    oprot.writeStructBegin('addCampaign_result')
16414
    oprot.writeFieldStop()
16415
    oprot.writeStructEnd()
16416
 
16417
  def validate(self):
16418
    return
16419
 
16420
 
16421
  def __repr__(self):
16422
    L = ['%s=%r' % (key, value)
16423
      for key, value in self.__dict__.iteritems()]
16424
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16425
 
16426
  def __eq__(self, other):
16427
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16428
 
16429
  def __ne__(self, other):
16430
    return not (self == other)
16431
 
16432
class getCampaigns_args:
16433
  """
16434
  Attributes:
16435
   - campaignName
16436
  """
16437
 
16438
  thrift_spec = (
16439
    None, # 0
16440
    (1, TType.STRING, 'campaignName', None, None, ), # 1
16441
  )
16442
 
16443
  def __init__(self, campaignName=None,):
16444
    self.campaignName = campaignName
16445
 
16446
  def read(self, iprot):
16447
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16448
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16449
      return
16450
    iprot.readStructBegin()
16451
    while True:
16452
      (fname, ftype, fid) = iprot.readFieldBegin()
16453
      if ftype == TType.STOP:
16454
        break
16455
      if fid == 1:
16456
        if ftype == TType.STRING:
16457
          self.campaignName = iprot.readString();
16458
        else:
16459
          iprot.skip(ftype)
16460
      else:
16461
        iprot.skip(ftype)
16462
      iprot.readFieldEnd()
16463
    iprot.readStructEnd()
16464
 
16465
  def write(self, oprot):
16466
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16467
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16468
      return
16469
    oprot.writeStructBegin('getCampaigns_args')
16470
    if self.campaignName is not None:
16471
      oprot.writeFieldBegin('campaignName', TType.STRING, 1)
16472
      oprot.writeString(self.campaignName)
16473
      oprot.writeFieldEnd()
16474
    oprot.writeFieldStop()
16475
    oprot.writeStructEnd()
16476
 
16477
  def validate(self):
16478
    return
16479
 
16480
 
16481
  def __repr__(self):
16482
    L = ['%s=%r' % (key, value)
16483
      for key, value in self.__dict__.iteritems()]
16484
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16485
 
16486
  def __eq__(self, other):
16487
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16488
 
16489
  def __ne__(self, other):
16490
    return not (self == other)
16491
 
16492
class getCampaigns_result:
16493
  """
16494
  Attributes:
16495
   - success
16496
  """
16497
 
16498
  thrift_spec = (
16499
    (0, TType.LIST, 'success', (TType.STRUCT,(Campaign, Campaign.thrift_spec)), None, ), # 0
16500
  )
16501
 
16502
  def __init__(self, success=None,):
16503
    self.success = success
16504
 
16505
  def read(self, iprot):
16506
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16507
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16508
      return
16509
    iprot.readStructBegin()
16510
    while True:
16511
      (fname, ftype, fid) = iprot.readFieldBegin()
16512
      if ftype == TType.STOP:
16513
        break
16514
      if fid == 0:
16515
        if ftype == TType.LIST:
16516
          self.success = []
12567 amit.gupta 16517
          (_etype258, _size255) = iprot.readListBegin()
16518
          for _i259 in xrange(_size255):
16519
            _elem260 = Campaign()
16520
            _elem260.read(iprot)
16521
            self.success.append(_elem260)
8579 kshitij.so 16522
          iprot.readListEnd()
16523
        else:
16524
          iprot.skip(ftype)
16525
      else:
16526
        iprot.skip(ftype)
16527
      iprot.readFieldEnd()
16528
    iprot.readStructEnd()
16529
 
16530
  def write(self, oprot):
16531
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16532
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16533
      return
16534
    oprot.writeStructBegin('getCampaigns_result')
16535
    if self.success is not None:
16536
      oprot.writeFieldBegin('success', TType.LIST, 0)
16537
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 16538
      for iter261 in self.success:
16539
        iter261.write(oprot)
8579 kshitij.so 16540
      oprot.writeListEnd()
16541
      oprot.writeFieldEnd()
16542
    oprot.writeFieldStop()
16543
    oprot.writeStructEnd()
16544
 
16545
  def validate(self):
16546
    return
16547
 
16548
 
16549
  def __repr__(self):
16550
    L = ['%s=%r' % (key, value)
16551
      for key, value in self.__dict__.iteritems()]
16552
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16553
 
16554
  def __eq__(self, other):
16555
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16556
 
16557
  def __ne__(self, other):
16558
    return not (self == other)
16559
 
16560
class deleteCampaign_args:
16561
  """
16562
  Attributes:
16563
   - campaignId
16564
  """
16565
 
16566
  thrift_spec = (
16567
    None, # 0
16568
    (1, TType.I64, 'campaignId', None, None, ), # 1
16569
  )
16570
 
16571
  def __init__(self, campaignId=None,):
16572
    self.campaignId = campaignId
16573
 
16574
  def read(self, iprot):
16575
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16576
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16577
      return
16578
    iprot.readStructBegin()
16579
    while True:
16580
      (fname, ftype, fid) = iprot.readFieldBegin()
16581
      if ftype == TType.STOP:
16582
        break
16583
      if fid == 1:
16584
        if ftype == TType.I64:
16585
          self.campaignId = iprot.readI64();
16586
        else:
16587
          iprot.skip(ftype)
16588
      else:
16589
        iprot.skip(ftype)
16590
      iprot.readFieldEnd()
16591
    iprot.readStructEnd()
16592
 
16593
  def write(self, oprot):
16594
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16595
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16596
      return
16597
    oprot.writeStructBegin('deleteCampaign_args')
16598
    if self.campaignId is not None:
16599
      oprot.writeFieldBegin('campaignId', TType.I64, 1)
16600
      oprot.writeI64(self.campaignId)
16601
      oprot.writeFieldEnd()
16602
    oprot.writeFieldStop()
16603
    oprot.writeStructEnd()
16604
 
16605
  def validate(self):
16606
    return
16607
 
16608
 
16609
  def __repr__(self):
16610
    L = ['%s=%r' % (key, value)
16611
      for key, value in self.__dict__.iteritems()]
16612
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16613
 
16614
  def __eq__(self, other):
16615
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16616
 
16617
  def __ne__(self, other):
16618
    return not (self == other)
16619
 
16620
class deleteCampaign_result:
16621
 
16622
  thrift_spec = (
16623
  )
16624
 
16625
  def read(self, iprot):
16626
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16627
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16628
      return
16629
    iprot.readStructBegin()
16630
    while True:
16631
      (fname, ftype, fid) = iprot.readFieldBegin()
16632
      if ftype == TType.STOP:
16633
        break
16634
      else:
16635
        iprot.skip(ftype)
16636
      iprot.readFieldEnd()
16637
    iprot.readStructEnd()
16638
 
16639
  def write(self, oprot):
16640
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16641
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16642
      return
16643
    oprot.writeStructBegin('deleteCampaign_result')
16644
    oprot.writeFieldStop()
16645
    oprot.writeStructEnd()
16646
 
16647
  def validate(self):
16648
    return
16649
 
16650
 
16651
  def __repr__(self):
16652
    L = ['%s=%r' % (key, value)
16653
      for key, value in self.__dict__.iteritems()]
16654
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16655
 
16656
  def __eq__(self, other):
16657
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16658
 
16659
  def __ne__(self, other):
16660
    return not (self == other)
16661
 
16662
class getAllCampaigns_args:
16663
 
16664
  thrift_spec = (
16665
  )
16666
 
16667
  def read(self, iprot):
16668
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16669
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16670
      return
16671
    iprot.readStructBegin()
16672
    while True:
16673
      (fname, ftype, fid) = iprot.readFieldBegin()
16674
      if ftype == TType.STOP:
16675
        break
16676
      else:
16677
        iprot.skip(ftype)
16678
      iprot.readFieldEnd()
16679
    iprot.readStructEnd()
16680
 
16681
  def write(self, oprot):
16682
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16683
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16684
      return
16685
    oprot.writeStructBegin('getAllCampaigns_args')
16686
    oprot.writeFieldStop()
16687
    oprot.writeStructEnd()
16688
 
16689
  def validate(self):
16690
    return
16691
 
16692
 
16693
  def __repr__(self):
16694
    L = ['%s=%r' % (key, value)
16695
      for key, value in self.__dict__.iteritems()]
16696
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16697
 
16698
  def __eq__(self, other):
16699
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16700
 
16701
  def __ne__(self, other):
16702
    return not (self == other)
16703
 
16704
class getAllCampaigns_result:
16705
  """
16706
  Attributes:
16707
   - success
16708
  """
16709
 
16710
  thrift_spec = (
16711
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
16712
  )
16713
 
16714
  def __init__(self, success=None,):
16715
    self.success = success
16716
 
16717
  def read(self, iprot):
16718
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16719
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16720
      return
16721
    iprot.readStructBegin()
16722
    while True:
16723
      (fname, ftype, fid) = iprot.readFieldBegin()
16724
      if ftype == TType.STOP:
16725
        break
16726
      if fid == 0:
16727
        if ftype == TType.LIST:
16728
          self.success = []
12567 amit.gupta 16729
          (_etype265, _size262) = iprot.readListBegin()
16730
          for _i266 in xrange(_size262):
16731
            _elem267 = iprot.readString();
16732
            self.success.append(_elem267)
8579 kshitij.so 16733
          iprot.readListEnd()
16734
        else:
16735
          iprot.skip(ftype)
16736
      else:
16737
        iprot.skip(ftype)
16738
      iprot.readFieldEnd()
16739
    iprot.readStructEnd()
16740
 
16741
  def write(self, oprot):
16742
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16743
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16744
      return
16745
    oprot.writeStructBegin('getAllCampaigns_result')
16746
    if self.success is not None:
16747
      oprot.writeFieldBegin('success', TType.LIST, 0)
16748
      oprot.writeListBegin(TType.STRING, len(self.success))
12567 amit.gupta 16749
      for iter268 in self.success:
16750
        oprot.writeString(iter268)
8579 kshitij.so 16751
      oprot.writeListEnd()
16752
      oprot.writeFieldEnd()
16753
    oprot.writeFieldStop()
16754
    oprot.writeStructEnd()
16755
 
16756
  def validate(self):
16757
    return
16758
 
16759
 
16760
  def __repr__(self):
16761
    L = ['%s=%r' % (key, value)
16762
      for key, value in self.__dict__.iteritems()]
16763
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16764
 
16765
  def __eq__(self, other):
16766
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16767
 
16768
  def __ne__(self, other):
16769
    return not (self == other)
16770
 
9155 kshitij.so 16771
class getActiveBannersForMobileSite_args:
16772
 
16773
  thrift_spec = (
16774
  )
16775
 
16776
  def read(self, iprot):
16777
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16778
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16779
      return
16780
    iprot.readStructBegin()
16781
    while True:
16782
      (fname, ftype, fid) = iprot.readFieldBegin()
16783
      if ftype == TType.STOP:
16784
        break
16785
      else:
16786
        iprot.skip(ftype)
16787
      iprot.readFieldEnd()
16788
    iprot.readStructEnd()
16789
 
16790
  def write(self, oprot):
16791
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16792
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16793
      return
16794
    oprot.writeStructBegin('getActiveBannersForMobileSite_args')
16795
    oprot.writeFieldStop()
16796
    oprot.writeStructEnd()
16797
 
16798
  def validate(self):
16799
    return
16800
 
16801
 
16802
  def __repr__(self):
16803
    L = ['%s=%r' % (key, value)
16804
      for key, value in self.__dict__.iteritems()]
16805
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16806
 
16807
  def __eq__(self, other):
16808
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16809
 
16810
  def __ne__(self, other):
16811
    return not (self == other)
16812
 
16813
class getActiveBannersForMobileSite_result:
16814
  """
16815
  Attributes:
16816
   - success
16817
  """
16818
 
16819
  thrift_spec = (
16820
    (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRUCT,(Banner, Banner.thrift_spec))), None, ), # 0
16821
  )
16822
 
16823
  def __init__(self, success=None,):
16824
    self.success = success
16825
 
16826
  def read(self, iprot):
16827
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16828
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16829
      return
16830
    iprot.readStructBegin()
16831
    while True:
16832
      (fname, ftype, fid) = iprot.readFieldBegin()
16833
      if ftype == TType.STOP:
16834
        break
16835
      if fid == 0:
16836
        if ftype == TType.MAP:
16837
          self.success = {}
12567 amit.gupta 16838
          (_ktype270, _vtype271, _size269 ) = iprot.readMapBegin() 
16839
          for _i273 in xrange(_size269):
16840
            _key274 = iprot.readString();
16841
            _val275 = []
16842
            (_etype279, _size276) = iprot.readListBegin()
16843
            for _i280 in xrange(_size276):
16844
              _elem281 = Banner()
16845
              _elem281.read(iprot)
16846
              _val275.append(_elem281)
9155 kshitij.so 16847
            iprot.readListEnd()
12567 amit.gupta 16848
            self.success[_key274] = _val275
9155 kshitij.so 16849
          iprot.readMapEnd()
16850
        else:
16851
          iprot.skip(ftype)
16852
      else:
16853
        iprot.skip(ftype)
16854
      iprot.readFieldEnd()
16855
    iprot.readStructEnd()
16856
 
16857
  def write(self, oprot):
16858
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16859
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16860
      return
16861
    oprot.writeStructBegin('getActiveBannersForMobileSite_result')
16862
    if self.success is not None:
16863
      oprot.writeFieldBegin('success', TType.MAP, 0)
16864
      oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.success))
12567 amit.gupta 16865
      for kiter282,viter283 in self.success.items():
16866
        oprot.writeString(kiter282)
16867
        oprot.writeListBegin(TType.STRUCT, len(viter283))
16868
        for iter284 in viter283:
16869
          iter284.write(oprot)
9155 kshitij.so 16870
        oprot.writeListEnd()
16871
      oprot.writeMapEnd()
16872
      oprot.writeFieldEnd()
16873
    oprot.writeFieldStop()
16874
    oprot.writeStructEnd()
16875
 
16876
  def validate(self):
16877
    return
16878
 
16879
 
16880
  def __repr__(self):
16881
    L = ['%s=%r' % (key, value)
16882
      for key, value in self.__dict__.iteritems()]
16883
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16884
 
16885
  def __eq__(self, other):
16886
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16887
 
16888
  def __ne__(self, other):
16889
    return not (self == other)
16890
 
5944 mandeep.dh 16891
class deleteSimilarItem_args:
16892
  """
16893
  Attributes:
16894
   - itemId
16895
   - catalogItemId
16896
  """
16897
 
16898
  thrift_spec = (
16899
    None, # 0
16900
    (1, TType.I64, 'itemId', None, None, ), # 1
16901
    (2, TType.I64, 'catalogItemId', None, None, ), # 2
16902
  )
16903
 
16904
  def __init__(self, itemId=None, catalogItemId=None,):
16905
    self.itemId = itemId
16906
    self.catalogItemId = catalogItemId
16907
 
16908
  def read(self, iprot):
16909
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16910
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16911
      return
16912
    iprot.readStructBegin()
16913
    while True:
16914
      (fname, ftype, fid) = iprot.readFieldBegin()
16915
      if ftype == TType.STOP:
16916
        break
16917
      if fid == 1:
16918
        if ftype == TType.I64:
16919
          self.itemId = iprot.readI64();
16920
        else:
16921
          iprot.skip(ftype)
16922
      elif fid == 2:
16923
        if ftype == TType.I64:
16924
          self.catalogItemId = iprot.readI64();
16925
        else:
16926
          iprot.skip(ftype)
16927
      else:
16928
        iprot.skip(ftype)
16929
      iprot.readFieldEnd()
16930
    iprot.readStructEnd()
16931
 
16932
  def write(self, oprot):
16933
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
16934
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
16935
      return
16936
    oprot.writeStructBegin('deleteSimilarItem_args')
16937
    if self.itemId is not None:
16938
      oprot.writeFieldBegin('itemId', TType.I64, 1)
16939
      oprot.writeI64(self.itemId)
16940
      oprot.writeFieldEnd()
16941
    if self.catalogItemId is not None:
16942
      oprot.writeFieldBegin('catalogItemId', TType.I64, 2)
16943
      oprot.writeI64(self.catalogItemId)
16944
      oprot.writeFieldEnd()
16945
    oprot.writeFieldStop()
16946
    oprot.writeStructEnd()
16947
 
16948
  def validate(self):
16949
    return
16950
 
16951
 
16952
  def __repr__(self):
16953
    L = ['%s=%r' % (key, value)
16954
      for key, value in self.__dict__.iteritems()]
16955
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
16956
 
16957
  def __eq__(self, other):
16958
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
16959
 
16960
  def __ne__(self, other):
16961
    return not (self == other)
16962
 
16963
class deleteSimilarItem_result:
16964
  """
16965
  Attributes:
16966
   - success
16967
   - cex
16968
  """
16969
 
16970
  thrift_spec = (
16971
    (0, TType.BOOL, 'success', None, None, ), # 0
16972
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
16973
  )
16974
 
16975
  def __init__(self, success=None, cex=None,):
16976
    self.success = success
16977
    self.cex = cex
16978
 
16979
  def read(self, iprot):
16980
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
16981
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
16982
      return
16983
    iprot.readStructBegin()
16984
    while True:
16985
      (fname, ftype, fid) = iprot.readFieldBegin()
16986
      if ftype == TType.STOP:
16987
        break
16988
      if fid == 0:
16989
        if ftype == TType.BOOL:
16990
          self.success = iprot.readBool();
16991
        else:
16992
          iprot.skip(ftype)
16993
      elif fid == 1:
16994
        if ftype == TType.STRUCT:
16995
          self.cex = CatalogServiceException()
16996
          self.cex.read(iprot)
16997
        else:
16998
          iprot.skip(ftype)
16999
      else:
17000
        iprot.skip(ftype)
17001
      iprot.readFieldEnd()
17002
    iprot.readStructEnd()
17003
 
17004
  def write(self, oprot):
17005
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17006
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17007
      return
17008
    oprot.writeStructBegin('deleteSimilarItem_result')
17009
    if self.success is not None:
17010
      oprot.writeFieldBegin('success', TType.BOOL, 0)
17011
      oprot.writeBool(self.success)
17012
      oprot.writeFieldEnd()
17013
    if self.cex is not None:
17014
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
17015
      self.cex.write(oprot)
17016
      oprot.writeFieldEnd()
17017
    oprot.writeFieldStop()
17018
    oprot.writeStructEnd()
17019
 
17020
  def validate(self):
17021
    return
17022
 
17023
 
17024
  def __repr__(self):
17025
    L = ['%s=%r' % (key, value)
17026
      for key, value in self.__dict__.iteritems()]
17027
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17028
 
17029
  def __eq__(self, other):
17030
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17031
 
17032
  def __ne__(self, other):
17033
    return not (self == other)
17034
 
17035
class checkSimilarItem_args:
17036
  """
17037
  Attributes:
17038
   - brand
17039
   - modelNumber
17040
   - modelName
17041
   - color
17042
  """
17043
 
17044
  thrift_spec = (
17045
    None, # 0
17046
    (1, TType.STRING, 'brand', None, None, ), # 1
17047
    (2, TType.STRING, 'modelNumber', None, None, ), # 2
17048
    (3, TType.STRING, 'modelName', None, None, ), # 3
17049
    (4, TType.STRING, 'color', None, None, ), # 4
17050
  )
17051
 
17052
  def __init__(self, brand=None, modelNumber=None, modelName=None, color=None,):
17053
    self.brand = brand
17054
    self.modelNumber = modelNumber
17055
    self.modelName = modelName
17056
    self.color = color
17057
 
17058
  def read(self, iprot):
17059
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17060
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17061
      return
17062
    iprot.readStructBegin()
17063
    while True:
17064
      (fname, ftype, fid) = iprot.readFieldBegin()
17065
      if ftype == TType.STOP:
17066
        break
17067
      if fid == 1:
17068
        if ftype == TType.STRING:
17069
          self.brand = iprot.readString();
17070
        else:
17071
          iprot.skip(ftype)
17072
      elif fid == 2:
17073
        if ftype == TType.STRING:
17074
          self.modelNumber = iprot.readString();
17075
        else:
17076
          iprot.skip(ftype)
17077
      elif fid == 3:
17078
        if ftype == TType.STRING:
17079
          self.modelName = iprot.readString();
17080
        else:
17081
          iprot.skip(ftype)
17082
      elif fid == 4:
17083
        if ftype == TType.STRING:
17084
          self.color = iprot.readString();
17085
        else:
17086
          iprot.skip(ftype)
17087
      else:
17088
        iprot.skip(ftype)
17089
      iprot.readFieldEnd()
17090
    iprot.readStructEnd()
17091
 
17092
  def write(self, oprot):
17093
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17094
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17095
      return
17096
    oprot.writeStructBegin('checkSimilarItem_args')
17097
    if self.brand is not None:
17098
      oprot.writeFieldBegin('brand', TType.STRING, 1)
17099
      oprot.writeString(self.brand)
17100
      oprot.writeFieldEnd()
17101
    if self.modelNumber is not None:
17102
      oprot.writeFieldBegin('modelNumber', TType.STRING, 2)
17103
      oprot.writeString(self.modelNumber)
17104
      oprot.writeFieldEnd()
17105
    if self.modelName is not None:
17106
      oprot.writeFieldBegin('modelName', TType.STRING, 3)
17107
      oprot.writeString(self.modelName)
17108
      oprot.writeFieldEnd()
17109
    if self.color is not None:
17110
      oprot.writeFieldBegin('color', TType.STRING, 4)
17111
      oprot.writeString(self.color)
17112
      oprot.writeFieldEnd()
17113
    oprot.writeFieldStop()
17114
    oprot.writeStructEnd()
17115
 
17116
  def validate(self):
17117
    return
17118
 
17119
 
17120
  def __repr__(self):
17121
    L = ['%s=%r' % (key, value)
17122
      for key, value in self.__dict__.iteritems()]
17123
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17124
 
17125
  def __eq__(self, other):
17126
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17127
 
17128
  def __ne__(self, other):
17129
    return not (self == other)
17130
 
17131
class checkSimilarItem_result:
17132
  """
17133
  Attributes:
17134
   - success
17135
  """
17136
 
17137
  thrift_spec = (
17138
    (0, TType.I64, 'success', None, None, ), # 0
17139
  )
17140
 
17141
  def __init__(self, success=None,):
17142
    self.success = success
17143
 
17144
  def read(self, iprot):
17145
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17146
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17147
      return
17148
    iprot.readStructBegin()
17149
    while True:
17150
      (fname, ftype, fid) = iprot.readFieldBegin()
17151
      if ftype == TType.STOP:
17152
        break
17153
      if fid == 0:
17154
        if ftype == TType.I64:
17155
          self.success = iprot.readI64();
17156
        else:
17157
          iprot.skip(ftype)
17158
      else:
17159
        iprot.skip(ftype)
17160
      iprot.readFieldEnd()
17161
    iprot.readStructEnd()
17162
 
17163
  def write(self, oprot):
17164
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17165
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17166
      return
17167
    oprot.writeStructBegin('checkSimilarItem_result')
17168
    if self.success is not None:
17169
      oprot.writeFieldBegin('success', TType.I64, 0)
17170
      oprot.writeI64(self.success)
17171
      oprot.writeFieldEnd()
17172
    oprot.writeFieldStop()
17173
    oprot.writeStructEnd()
17174
 
17175
  def validate(self):
17176
    return
17177
 
17178
 
17179
  def __repr__(self):
17180
    L = ['%s=%r' % (key, value)
17181
      for key, value in self.__dict__.iteritems()]
17182
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17183
 
17184
  def __eq__(self, other):
17185
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17186
 
17187
  def __ne__(self, other):
17188
    return not (self == other)
17189
 
17190
class validateRiskyStatus_args:
17191
  """
17192
  Attributes:
17193
   - itemId
17194
  """
17195
 
17196
  thrift_spec = (
17197
    None, # 0
17198
    (1, TType.I64, 'itemId', None, None, ), # 1
17199
  )
17200
 
17201
  def __init__(self, itemId=None,):
17202
    self.itemId = itemId
17203
 
17204
  def read(self, iprot):
17205
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17206
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17207
      return
17208
    iprot.readStructBegin()
17209
    while True:
17210
      (fname, ftype, fid) = iprot.readFieldBegin()
17211
      if ftype == TType.STOP:
17212
        break
17213
      if fid == 1:
17214
        if ftype == TType.I64:
17215
          self.itemId = iprot.readI64();
17216
        else:
17217
          iprot.skip(ftype)
17218
      else:
17219
        iprot.skip(ftype)
17220
      iprot.readFieldEnd()
17221
    iprot.readStructEnd()
17222
 
17223
  def write(self, oprot):
17224
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17225
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17226
      return
17227
    oprot.writeStructBegin('validateRiskyStatus_args')
17228
    if self.itemId is not None:
17229
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17230
      oprot.writeI64(self.itemId)
17231
      oprot.writeFieldEnd()
17232
    oprot.writeFieldStop()
17233
    oprot.writeStructEnd()
17234
 
17235
  def validate(self):
17236
    return
17237
 
17238
 
17239
  def __repr__(self):
17240
    L = ['%s=%r' % (key, value)
17241
      for key, value in self.__dict__.iteritems()]
17242
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17243
 
17244
  def __eq__(self, other):
17245
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17246
 
17247
  def __ne__(self, other):
17248
    return not (self == other)
17249
 
17250
class validateRiskyStatus_result:
17251
 
17252
  thrift_spec = (
17253
  )
17254
 
17255
  def read(self, iprot):
17256
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17257
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17258
      return
17259
    iprot.readStructBegin()
17260
    while True:
17261
      (fname, ftype, fid) = iprot.readFieldBegin()
17262
      if ftype == TType.STOP:
17263
        break
17264
      else:
17265
        iprot.skip(ftype)
17266
      iprot.readFieldEnd()
17267
    iprot.readStructEnd()
17268
 
17269
  def write(self, oprot):
17270
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17271
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17272
      return
17273
    oprot.writeStructBegin('validateRiskyStatus_result')
17274
    oprot.writeFieldStop()
17275
    oprot.writeStructEnd()
17276
 
17277
  def validate(self):
17278
    return
17279
 
17280
 
17281
  def __repr__(self):
17282
    L = ['%s=%r' % (key, value)
17283
      for key, value in self.__dict__.iteritems()]
17284
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17285
 
17286
  def __eq__(self, other):
17287
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17288
 
17289
  def __ne__(self, other):
17290
    return not (self == other)
17291
 
17292
class changeItemRiskyFlag_args:
17293
  """
17294
  Attributes:
17295
   - itemId
17296
   - risky
17297
  """
17298
 
17299
  thrift_spec = (
17300
    None, # 0
17301
    (1, TType.I64, 'itemId', None, None, ), # 1
17302
    (2, TType.BOOL, 'risky', None, None, ), # 2
17303
  )
17304
 
17305
  def __init__(self, itemId=None, risky=None,):
17306
    self.itemId = itemId
17307
    self.risky = risky
17308
 
17309
  def read(self, iprot):
17310
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17311
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17312
      return
17313
    iprot.readStructBegin()
17314
    while True:
17315
      (fname, ftype, fid) = iprot.readFieldBegin()
17316
      if ftype == TType.STOP:
17317
        break
17318
      if fid == 1:
17319
        if ftype == TType.I64:
17320
          self.itemId = iprot.readI64();
17321
        else:
17322
          iprot.skip(ftype)
17323
      elif fid == 2:
17324
        if ftype == TType.BOOL:
17325
          self.risky = iprot.readBool();
17326
        else:
17327
          iprot.skip(ftype)
17328
      else:
17329
        iprot.skip(ftype)
17330
      iprot.readFieldEnd()
17331
    iprot.readStructEnd()
17332
 
17333
  def write(self, oprot):
17334
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17335
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17336
      return
17337
    oprot.writeStructBegin('changeItemRiskyFlag_args')
17338
    if self.itemId is not None:
17339
      oprot.writeFieldBegin('itemId', TType.I64, 1)
17340
      oprot.writeI64(self.itemId)
17341
      oprot.writeFieldEnd()
17342
    if self.risky is not None:
17343
      oprot.writeFieldBegin('risky', TType.BOOL, 2)
17344
      oprot.writeBool(self.risky)
17345
      oprot.writeFieldEnd()
17346
    oprot.writeFieldStop()
17347
    oprot.writeStructEnd()
17348
 
17349
  def validate(self):
17350
    return
17351
 
17352
 
17353
  def __repr__(self):
17354
    L = ['%s=%r' % (key, value)
17355
      for key, value in self.__dict__.iteritems()]
17356
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17357
 
17358
  def __eq__(self, other):
17359
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17360
 
17361
  def __ne__(self, other):
17362
    return not (self == other)
17363
 
17364
class changeItemRiskyFlag_result:
17365
 
17366
  thrift_spec = (
17367
  )
17368
 
17369
  def read(self, iprot):
17370
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17371
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17372
      return
17373
    iprot.readStructBegin()
17374
    while True:
17375
      (fname, ftype, fid) = iprot.readFieldBegin()
17376
      if ftype == TType.STOP:
17377
        break
17378
      else:
17379
        iprot.skip(ftype)
17380
      iprot.readFieldEnd()
17381
    iprot.readStructEnd()
17382
 
17383
  def write(self, oprot):
17384
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17385
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17386
      return
17387
    oprot.writeStructBegin('changeItemRiskyFlag_result')
17388
    oprot.writeFieldStop()
17389
    oprot.writeStructEnd()
17390
 
17391
  def validate(self):
17392
    return
17393
 
17394
 
17395
  def __repr__(self):
17396
    L = ['%s=%r' % (key, value)
17397
      for key, value in self.__dict__.iteritems()]
17398
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17399
 
17400
  def __eq__(self, other):
17401
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17402
 
17403
  def __ne__(self, other):
17404
    return not (self == other)
17405
 
17406
class getItemsByRiskyFlag_args:
17407
 
17408
  thrift_spec = (
17409
  )
17410
 
17411
  def read(self, iprot):
17412
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17413
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17414
      return
17415
    iprot.readStructBegin()
17416
    while True:
17417
      (fname, ftype, fid) = iprot.readFieldBegin()
17418
      if ftype == TType.STOP:
17419
        break
17420
      else:
17421
        iprot.skip(ftype)
17422
      iprot.readFieldEnd()
17423
    iprot.readStructEnd()
17424
 
17425
  def write(self, oprot):
17426
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17427
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17428
      return
17429
    oprot.writeStructBegin('getItemsByRiskyFlag_args')
17430
    oprot.writeFieldStop()
17431
    oprot.writeStructEnd()
17432
 
17433
  def validate(self):
17434
    return
17435
 
17436
 
17437
  def __repr__(self):
17438
    L = ['%s=%r' % (key, value)
17439
      for key, value in self.__dict__.iteritems()]
17440
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17441
 
17442
  def __eq__(self, other):
17443
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17444
 
17445
  def __ne__(self, other):
17446
    return not (self == other)
17447
 
17448
class getItemsByRiskyFlag_result:
17449
  """
17450
  Attributes:
17451
   - success
17452
  """
17453
 
17454
  thrift_spec = (
17455
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
17456
  )
17457
 
17458
  def __init__(self, success=None,):
17459
    self.success = success
17460
 
17461
  def read(self, iprot):
17462
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17463
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17464
      return
17465
    iprot.readStructBegin()
17466
    while True:
17467
      (fname, ftype, fid) = iprot.readFieldBegin()
17468
      if ftype == TType.STOP:
17469
        break
17470
      if fid == 0:
17471
        if ftype == TType.LIST:
17472
          self.success = []
12567 amit.gupta 17473
          (_etype288, _size285) = iprot.readListBegin()
17474
          for _i289 in xrange(_size285):
17475
            _elem290 = Item()
17476
            _elem290.read(iprot)
17477
            self.success.append(_elem290)
5944 mandeep.dh 17478
          iprot.readListEnd()
17479
        else:
17480
          iprot.skip(ftype)
17481
      else:
17482
        iprot.skip(ftype)
17483
      iprot.readFieldEnd()
17484
    iprot.readStructEnd()
17485
 
17486
  def write(self, oprot):
17487
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17488
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17489
      return
17490
    oprot.writeStructBegin('getItemsByRiskyFlag_result')
17491
    if self.success is not None:
17492
      oprot.writeFieldBegin('success', TType.LIST, 0)
17493
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 17494
      for iter291 in self.success:
17495
        iter291.write(oprot)
5944 mandeep.dh 17496
      oprot.writeListEnd()
17497
      oprot.writeFieldEnd()
17498
    oprot.writeFieldStop()
17499
    oprot.writeStructEnd()
17500
 
17501
  def validate(self):
17502
    return
17503
 
17504
 
17505
  def __repr__(self):
17506
    L = ['%s=%r' % (key, value)
17507
      for key, value in self.__dict__.iteritems()]
17508
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17509
 
17510
  def __eq__(self, other):
17511
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17512
 
17513
  def __ne__(self, other):
17514
    return not (self == other)
17515
 
17516
class getItemsForMasterSheet_args:
17517
  """
17518
  Attributes:
17519
   - category
17520
   - brand
17521
  """
17522
 
17523
  thrift_spec = (
17524
    None, # 0
17525
    (1, TType.STRING, 'category', None, None, ), # 1
17526
    (2, TType.STRING, 'brand', None, None, ), # 2
17527
  )
17528
 
17529
  def __init__(self, category=None, brand=None,):
17530
    self.category = category
17531
    self.brand = brand
17532
 
17533
  def read(self, iprot):
17534
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17535
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17536
      return
17537
    iprot.readStructBegin()
17538
    while True:
17539
      (fname, ftype, fid) = iprot.readFieldBegin()
17540
      if ftype == TType.STOP:
17541
        break
17542
      if fid == 1:
17543
        if ftype == TType.STRING:
17544
          self.category = iprot.readString();
17545
        else:
17546
          iprot.skip(ftype)
17547
      elif fid == 2:
17548
        if ftype == TType.STRING:
17549
          self.brand = iprot.readString();
17550
        else:
17551
          iprot.skip(ftype)
17552
      else:
17553
        iprot.skip(ftype)
17554
      iprot.readFieldEnd()
17555
    iprot.readStructEnd()
17556
 
17557
  def write(self, oprot):
17558
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17559
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17560
      return
17561
    oprot.writeStructBegin('getItemsForMasterSheet_args')
17562
    if self.category is not None:
17563
      oprot.writeFieldBegin('category', TType.STRING, 1)
17564
      oprot.writeString(self.category)
17565
      oprot.writeFieldEnd()
17566
    if self.brand is not None:
17567
      oprot.writeFieldBegin('brand', TType.STRING, 2)
17568
      oprot.writeString(self.brand)
17569
      oprot.writeFieldEnd()
17570
    oprot.writeFieldStop()
17571
    oprot.writeStructEnd()
17572
 
17573
  def validate(self):
17574
    return
17575
 
17576
 
17577
  def __repr__(self):
17578
    L = ['%s=%r' % (key, value)
17579
      for key, value in self.__dict__.iteritems()]
17580
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17581
 
17582
  def __eq__(self, other):
17583
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17584
 
17585
  def __ne__(self, other):
17586
    return not (self == other)
17587
 
17588
class getItemsForMasterSheet_result:
17589
  """
17590
  Attributes:
17591
   - success
17592
  """
17593
 
17594
  thrift_spec = (
17595
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
17596
  )
17597
 
17598
  def __init__(self, success=None,):
17599
    self.success = success
17600
 
17601
  def read(self, iprot):
17602
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17603
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17604
      return
17605
    iprot.readStructBegin()
17606
    while True:
17607
      (fname, ftype, fid) = iprot.readFieldBegin()
17608
      if ftype == TType.STOP:
17609
        break
17610
      if fid == 0:
17611
        if ftype == TType.LIST:
17612
          self.success = []
12567 amit.gupta 17613
          (_etype295, _size292) = iprot.readListBegin()
17614
          for _i296 in xrange(_size292):
17615
            _elem297 = Item()
17616
            _elem297.read(iprot)
17617
            self.success.append(_elem297)
5944 mandeep.dh 17618
          iprot.readListEnd()
17619
        else:
17620
          iprot.skip(ftype)
17621
      else:
17622
        iprot.skip(ftype)
17623
      iprot.readFieldEnd()
17624
    iprot.readStructEnd()
17625
 
17626
  def write(self, oprot):
17627
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17628
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17629
      return
17630
    oprot.writeStructBegin('getItemsForMasterSheet_result')
17631
    if self.success is not None:
17632
      oprot.writeFieldBegin('success', TType.LIST, 0)
17633
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 17634
      for iter298 in self.success:
17635
        iter298.write(oprot)
5944 mandeep.dh 17636
      oprot.writeListEnd()
17637
      oprot.writeFieldEnd()
17638
    oprot.writeFieldStop()
17639
    oprot.writeStructEnd()
17640
 
17641
  def validate(self):
17642
    return
17643
 
17644
 
17645
  def __repr__(self):
17646
    L = ['%s=%r' % (key, value)
17647
      for key, value in self.__dict__.iteritems()]
17648
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17649
 
17650
  def __eq__(self, other):
17651
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17652
 
17653
  def __ne__(self, other):
17654
    return not (self == other)
17655
 
17656
class getSimilarItemsCatalogIds_args:
17657
  """
17658
  Attributes:
17659
   - beginIndex
17660
   - totalItems
17661
   - itemId
17662
  """
17663
 
17664
  thrift_spec = (
17665
    None, # 0
17666
    (1, TType.I64, 'beginIndex', None, None, ), # 1
17667
    (2, TType.I64, 'totalItems', None, None, ), # 2
17668
    (3, TType.I64, 'itemId', None, None, ), # 3
17669
  )
17670
 
17671
  def __init__(self, beginIndex=None, totalItems=None, itemId=None,):
17672
    self.beginIndex = beginIndex
17673
    self.totalItems = totalItems
17674
    self.itemId = itemId
17675
 
17676
  def read(self, iprot):
17677
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17678
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17679
      return
17680
    iprot.readStructBegin()
17681
    while True:
17682
      (fname, ftype, fid) = iprot.readFieldBegin()
17683
      if ftype == TType.STOP:
17684
        break
17685
      if fid == 1:
17686
        if ftype == TType.I64:
17687
          self.beginIndex = iprot.readI64();
17688
        else:
17689
          iprot.skip(ftype)
17690
      elif fid == 2:
17691
        if ftype == TType.I64:
17692
          self.totalItems = iprot.readI64();
17693
        else:
17694
          iprot.skip(ftype)
17695
      elif fid == 3:
17696
        if ftype == TType.I64:
17697
          self.itemId = iprot.readI64();
17698
        else:
17699
          iprot.skip(ftype)
17700
      else:
17701
        iprot.skip(ftype)
17702
      iprot.readFieldEnd()
17703
    iprot.readStructEnd()
17704
 
17705
  def write(self, oprot):
17706
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17707
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17708
      return
17709
    oprot.writeStructBegin('getSimilarItemsCatalogIds_args')
17710
    if self.beginIndex is not None:
17711
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
17712
      oprot.writeI64(self.beginIndex)
17713
      oprot.writeFieldEnd()
17714
    if self.totalItems is not None:
17715
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
17716
      oprot.writeI64(self.totalItems)
17717
      oprot.writeFieldEnd()
17718
    if self.itemId is not None:
17719
      oprot.writeFieldBegin('itemId', TType.I64, 3)
17720
      oprot.writeI64(self.itemId)
17721
      oprot.writeFieldEnd()
17722
    oprot.writeFieldStop()
17723
    oprot.writeStructEnd()
17724
 
17725
  def validate(self):
17726
    return
17727
 
17728
 
17729
  def __repr__(self):
17730
    L = ['%s=%r' % (key, value)
17731
      for key, value in self.__dict__.iteritems()]
17732
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17733
 
17734
  def __eq__(self, other):
17735
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17736
 
17737
  def __ne__(self, other):
17738
    return not (self == other)
17739
 
17740
class getSimilarItemsCatalogIds_result:
17741
  """
17742
  Attributes:
17743
   - success
17744
  """
17745
 
17746
  thrift_spec = (
17747
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
17748
  )
17749
 
17750
  def __init__(self, success=None,):
17751
    self.success = success
17752
 
17753
  def read(self, iprot):
17754
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17755
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17756
      return
17757
    iprot.readStructBegin()
17758
    while True:
17759
      (fname, ftype, fid) = iprot.readFieldBegin()
17760
      if ftype == TType.STOP:
17761
        break
17762
      if fid == 0:
17763
        if ftype == TType.LIST:
17764
          self.success = []
12567 amit.gupta 17765
          (_etype302, _size299) = iprot.readListBegin()
17766
          for _i303 in xrange(_size299):
17767
            _elem304 = iprot.readI64();
17768
            self.success.append(_elem304)
5944 mandeep.dh 17769
          iprot.readListEnd()
17770
        else:
17771
          iprot.skip(ftype)
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('getSimilarItemsCatalogIds_result')
17782
    if self.success is not None:
17783
      oprot.writeFieldBegin('success', TType.LIST, 0)
17784
      oprot.writeListBegin(TType.I64, len(self.success))
12567 amit.gupta 17785
      for iter305 in self.success:
17786
        oprot.writeI64(iter305)
5944 mandeep.dh 17787
      oprot.writeListEnd()
17788
      oprot.writeFieldEnd()
17789
    oprot.writeFieldStop()
17790
    oprot.writeStructEnd()
17791
 
17792
  def validate(self):
17793
    return
17794
 
17795
 
17796
  def __repr__(self):
17797
    L = ['%s=%r' % (key, value)
17798
      for key, value in self.__dict__.iteritems()]
17799
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17800
 
17801
  def __eq__(self, other):
17802
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17803
 
17804
  def __ne__(self, other):
17805
    return not (self == other)
17806
 
17807
class addProductNotification_args:
17808
  """
17809
  Attributes:
17810
   - itemId
17811
   - email
17812
  """
17813
 
17814
  thrift_spec = None
17815
  def __init__(self, itemId=None, email=None,):
17816
    self.itemId = itemId
17817
    self.email = email
17818
 
17819
  def read(self, iprot):
17820
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17821
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17822
      return
17823
    iprot.readStructBegin()
17824
    while True:
17825
      (fname, ftype, fid) = iprot.readFieldBegin()
17826
      if ftype == TType.STOP:
17827
        break
17828
      if fid == -1:
17829
        if ftype == TType.I64:
17830
          self.itemId = iprot.readI64();
17831
        else:
17832
          iprot.skip(ftype)
17833
      elif fid == -2:
17834
        if ftype == TType.STRING:
17835
          self.email = iprot.readString();
17836
        else:
17837
          iprot.skip(ftype)
17838
      else:
17839
        iprot.skip(ftype)
17840
      iprot.readFieldEnd()
17841
    iprot.readStructEnd()
17842
 
17843
  def write(self, oprot):
17844
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17845
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17846
      return
17847
    oprot.writeStructBegin('addProductNotification_args')
17848
    if self.email is not None:
17849
      oprot.writeFieldBegin('email', TType.STRING, -2)
17850
      oprot.writeString(self.email)
17851
      oprot.writeFieldEnd()
17852
    if self.itemId is not None:
17853
      oprot.writeFieldBegin('itemId', TType.I64, -1)
17854
      oprot.writeI64(self.itemId)
17855
      oprot.writeFieldEnd()
17856
    oprot.writeFieldStop()
17857
    oprot.writeStructEnd()
17858
 
17859
  def validate(self):
17860
    return
17861
 
17862
 
17863
  def __repr__(self):
17864
    L = ['%s=%r' % (key, value)
17865
      for key, value in self.__dict__.iteritems()]
17866
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17867
 
17868
  def __eq__(self, other):
17869
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17870
 
17871
  def __ne__(self, other):
17872
    return not (self == other)
17873
 
17874
class addProductNotification_result:
17875
  """
17876
  Attributes:
17877
   - success
17878
  """
17879
 
17880
  thrift_spec = (
17881
    (0, TType.BOOL, 'success', None, None, ), # 0
17882
  )
17883
 
17884
  def __init__(self, success=None,):
17885
    self.success = success
17886
 
17887
  def read(self, iprot):
17888
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17889
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17890
      return
17891
    iprot.readStructBegin()
17892
    while True:
17893
      (fname, ftype, fid) = iprot.readFieldBegin()
17894
      if ftype == TType.STOP:
17895
        break
17896
      if fid == 0:
17897
        if ftype == TType.BOOL:
17898
          self.success = iprot.readBool();
17899
        else:
17900
          iprot.skip(ftype)
17901
      else:
17902
        iprot.skip(ftype)
17903
      iprot.readFieldEnd()
17904
    iprot.readStructEnd()
17905
 
17906
  def write(self, oprot):
17907
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17908
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17909
      return
17910
    oprot.writeStructBegin('addProductNotification_result')
17911
    if self.success is not None:
17912
      oprot.writeFieldBegin('success', TType.BOOL, 0)
17913
      oprot.writeBool(self.success)
17914
      oprot.writeFieldEnd()
17915
    oprot.writeFieldStop()
17916
    oprot.writeStructEnd()
17917
 
17918
  def validate(self):
17919
    return
17920
 
17921
 
17922
  def __repr__(self):
17923
    L = ['%s=%r' % (key, value)
17924
      for key, value in self.__dict__.iteritems()]
17925
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17926
 
17927
  def __eq__(self, other):
17928
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17929
 
17930
  def __ne__(self, other):
17931
    return not (self == other)
17932
 
17933
class sendProductNotifications_args:
17934
 
17935
  thrift_spec = (
17936
  )
17937
 
17938
  def read(self, iprot):
17939
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17940
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17941
      return
17942
    iprot.readStructBegin()
17943
    while True:
17944
      (fname, ftype, fid) = iprot.readFieldBegin()
17945
      if ftype == TType.STOP:
17946
        break
17947
      else:
17948
        iprot.skip(ftype)
17949
      iprot.readFieldEnd()
17950
    iprot.readStructEnd()
17951
 
17952
  def write(self, oprot):
17953
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
17954
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
17955
      return
17956
    oprot.writeStructBegin('sendProductNotifications_args')
17957
    oprot.writeFieldStop()
17958
    oprot.writeStructEnd()
17959
 
17960
  def validate(self):
17961
    return
17962
 
17963
 
17964
  def __repr__(self):
17965
    L = ['%s=%r' % (key, value)
17966
      for key, value in self.__dict__.iteritems()]
17967
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
17968
 
17969
  def __eq__(self, other):
17970
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
17971
 
17972
  def __ne__(self, other):
17973
    return not (self == other)
17974
 
17975
class sendProductNotifications_result:
17976
  """
17977
  Attributes:
17978
   - success
17979
  """
17980
 
17981
  thrift_spec = (
17982
    (0, TType.BOOL, 'success', None, None, ), # 0
17983
  )
17984
 
17985
  def __init__(self, success=None,):
17986
    self.success = success
17987
 
17988
  def read(self, iprot):
17989
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
17990
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
17991
      return
17992
    iprot.readStructBegin()
17993
    while True:
17994
      (fname, ftype, fid) = iprot.readFieldBegin()
17995
      if ftype == TType.STOP:
17996
        break
17997
      if fid == 0:
17998
        if ftype == TType.BOOL:
17999
          self.success = iprot.readBool();
18000
        else:
18001
          iprot.skip(ftype)
18002
      else:
18003
        iprot.skip(ftype)
18004
      iprot.readFieldEnd()
18005
    iprot.readStructEnd()
18006
 
18007
  def write(self, oprot):
18008
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18009
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18010
      return
18011
    oprot.writeStructBegin('sendProductNotifications_result')
18012
    if self.success is not None:
18013
      oprot.writeFieldBegin('success', TType.BOOL, 0)
18014
      oprot.writeBool(self.success)
18015
      oprot.writeFieldEnd()
18016
    oprot.writeFieldStop()
18017
    oprot.writeStructEnd()
18018
 
18019
  def validate(self):
18020
    return
18021
 
18022
 
18023
  def __repr__(self):
18024
    L = ['%s=%r' % (key, value)
18025
      for key, value in self.__dict__.iteritems()]
18026
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18027
 
18028
  def __eq__(self, other):
18029
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18030
 
18031
  def __ne__(self, other):
18032
    return not (self == other)
18033
 
18034
class getAllBrandsByCategory_args:
18035
  """
18036
  Attributes:
18037
   - categoryId
18038
  """
18039
 
18040
  thrift_spec = (
18041
    None, # 0
18042
    (1, TType.I64, 'categoryId', None, None, ), # 1
18043
  )
18044
 
18045
  def __init__(self, categoryId=None,):
18046
    self.categoryId = categoryId
18047
 
18048
  def read(self, iprot):
18049
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18050
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18051
      return
18052
    iprot.readStructBegin()
18053
    while True:
18054
      (fname, ftype, fid) = iprot.readFieldBegin()
18055
      if ftype == TType.STOP:
18056
        break
18057
      if fid == 1:
18058
        if ftype == TType.I64:
18059
          self.categoryId = iprot.readI64();
18060
        else:
18061
          iprot.skip(ftype)
18062
      else:
18063
        iprot.skip(ftype)
18064
      iprot.readFieldEnd()
18065
    iprot.readStructEnd()
18066
 
18067
  def write(self, oprot):
18068
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18069
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18070
      return
18071
    oprot.writeStructBegin('getAllBrandsByCategory_args')
18072
    if self.categoryId is not None:
18073
      oprot.writeFieldBegin('categoryId', TType.I64, 1)
18074
      oprot.writeI64(self.categoryId)
18075
      oprot.writeFieldEnd()
18076
    oprot.writeFieldStop()
18077
    oprot.writeStructEnd()
18078
 
18079
  def validate(self):
18080
    return
18081
 
18082
 
18083
  def __repr__(self):
18084
    L = ['%s=%r' % (key, value)
18085
      for key, value in self.__dict__.iteritems()]
18086
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18087
 
18088
  def __eq__(self, other):
18089
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18090
 
18091
  def __ne__(self, other):
18092
    return not (self == other)
18093
 
18094
class getAllBrandsByCategory_result:
18095
  """
18096
  Attributes:
18097
   - success
18098
  """
18099
 
18100
  thrift_spec = (
18101
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
18102
  )
18103
 
18104
  def __init__(self, success=None,):
18105
    self.success = success
18106
 
18107
  def read(self, iprot):
18108
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18109
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18110
      return
18111
    iprot.readStructBegin()
18112
    while True:
18113
      (fname, ftype, fid) = iprot.readFieldBegin()
18114
      if ftype == TType.STOP:
18115
        break
18116
      if fid == 0:
18117
        if ftype == TType.LIST:
18118
          self.success = []
12567 amit.gupta 18119
          (_etype309, _size306) = iprot.readListBegin()
18120
          for _i310 in xrange(_size306):
18121
            _elem311 = iprot.readString();
18122
            self.success.append(_elem311)
5944 mandeep.dh 18123
          iprot.readListEnd()
18124
        else:
18125
          iprot.skip(ftype)
18126
      else:
18127
        iprot.skip(ftype)
18128
      iprot.readFieldEnd()
18129
    iprot.readStructEnd()
18130
 
18131
  def write(self, oprot):
18132
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18133
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18134
      return
18135
    oprot.writeStructBegin('getAllBrandsByCategory_result')
18136
    if self.success is not None:
18137
      oprot.writeFieldBegin('success', TType.LIST, 0)
18138
      oprot.writeListBegin(TType.STRING, len(self.success))
12567 amit.gupta 18139
      for iter312 in self.success:
18140
        oprot.writeString(iter312)
5944 mandeep.dh 18141
      oprot.writeListEnd()
18142
      oprot.writeFieldEnd()
18143
    oprot.writeFieldStop()
18144
    oprot.writeStructEnd()
18145
 
18146
  def validate(self):
18147
    return
18148
 
18149
 
18150
  def __repr__(self):
18151
    L = ['%s=%r' % (key, value)
18152
      for key, value in self.__dict__.iteritems()]
18153
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18154
 
18155
  def __eq__(self, other):
18156
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18157
 
18158
  def __ne__(self, other):
18159
    return not (self == other)
18160
 
18161
class getAllBrands_args:
18162
 
18163
  thrift_spec = (
18164
  )
18165
 
18166
  def read(self, iprot):
18167
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18168
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18169
      return
18170
    iprot.readStructBegin()
18171
    while True:
18172
      (fname, ftype, fid) = iprot.readFieldBegin()
18173
      if ftype == TType.STOP:
18174
        break
18175
      else:
18176
        iprot.skip(ftype)
18177
      iprot.readFieldEnd()
18178
    iprot.readStructEnd()
18179
 
18180
  def write(self, oprot):
18181
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18182
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18183
      return
18184
    oprot.writeStructBegin('getAllBrands_args')
18185
    oprot.writeFieldStop()
18186
    oprot.writeStructEnd()
18187
 
18188
  def validate(self):
18189
    return
18190
 
18191
 
18192
  def __repr__(self):
18193
    L = ['%s=%r' % (key, value)
18194
      for key, value in self.__dict__.iteritems()]
18195
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18196
 
18197
  def __eq__(self, other):
18198
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18199
 
18200
  def __ne__(self, other):
18201
    return not (self == other)
18202
 
18203
class getAllBrands_result:
18204
  """
18205
  Attributes:
18206
   - success
18207
  """
18208
 
18209
  thrift_spec = (
18210
    (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
18211
  )
18212
 
18213
  def __init__(self, success=None,):
18214
    self.success = success
18215
 
18216
  def read(self, iprot):
18217
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18218
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18219
      return
18220
    iprot.readStructBegin()
18221
    while True:
18222
      (fname, ftype, fid) = iprot.readFieldBegin()
18223
      if ftype == TType.STOP:
18224
        break
18225
      if fid == 0:
18226
        if ftype == TType.LIST:
18227
          self.success = []
12567 amit.gupta 18228
          (_etype316, _size313) = iprot.readListBegin()
18229
          for _i317 in xrange(_size313):
18230
            _elem318 = iprot.readString();
18231
            self.success.append(_elem318)
5944 mandeep.dh 18232
          iprot.readListEnd()
18233
        else:
18234
          iprot.skip(ftype)
18235
      else:
18236
        iprot.skip(ftype)
18237
      iprot.readFieldEnd()
18238
    iprot.readStructEnd()
18239
 
18240
  def write(self, oprot):
18241
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18242
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18243
      return
18244
    oprot.writeStructBegin('getAllBrands_result')
18245
    if self.success is not None:
18246
      oprot.writeFieldBegin('success', TType.LIST, 0)
18247
      oprot.writeListBegin(TType.STRING, len(self.success))
12567 amit.gupta 18248
      for iter319 in self.success:
18249
        oprot.writeString(iter319)
5944 mandeep.dh 18250
      oprot.writeListEnd()
18251
      oprot.writeFieldEnd()
18252
    oprot.writeFieldStop()
18253
    oprot.writeStructEnd()
18254
 
18255
  def validate(self):
18256
    return
18257
 
18258
 
18259
  def __repr__(self):
18260
    L = ['%s=%r' % (key, value)
18261
      for key, value in self.__dict__.iteritems()]
18262
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18263
 
18264
  def __eq__(self, other):
18265
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18266
 
18267
  def __ne__(self, other):
18268
    return not (self == other)
18269
 
18270
class getAllSources_args:
18271
 
18272
  thrift_spec = (
18273
  )
18274
 
18275
  def read(self, iprot):
18276
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18277
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18278
      return
18279
    iprot.readStructBegin()
18280
    while True:
18281
      (fname, ftype, fid) = iprot.readFieldBegin()
18282
      if ftype == TType.STOP:
18283
        break
18284
      else:
18285
        iprot.skip(ftype)
18286
      iprot.readFieldEnd()
18287
    iprot.readStructEnd()
18288
 
18289
  def write(self, oprot):
18290
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18291
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18292
      return
18293
    oprot.writeStructBegin('getAllSources_args')
18294
    oprot.writeFieldStop()
18295
    oprot.writeStructEnd()
18296
 
18297
  def validate(self):
18298
    return
18299
 
18300
 
18301
  def __repr__(self):
18302
    L = ['%s=%r' % (key, value)
18303
      for key, value in self.__dict__.iteritems()]
18304
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18305
 
18306
  def __eq__(self, other):
18307
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18308
 
18309
  def __ne__(self, other):
18310
    return not (self == other)
18311
 
18312
class getAllSources_result:
18313
  """
18314
  Attributes:
18315
   - success
18316
  """
18317
 
18318
  thrift_spec = (
18319
    (0, TType.LIST, 'success', (TType.STRUCT,(Source, Source.thrift_spec)), None, ), # 0
18320
  )
18321
 
18322
  def __init__(self, success=None,):
18323
    self.success = success
18324
 
18325
  def read(self, iprot):
18326
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18327
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18328
      return
18329
    iprot.readStructBegin()
18330
    while True:
18331
      (fname, ftype, fid) = iprot.readFieldBegin()
18332
      if ftype == TType.STOP:
18333
        break
18334
      if fid == 0:
18335
        if ftype == TType.LIST:
18336
          self.success = []
12567 amit.gupta 18337
          (_etype323, _size320) = iprot.readListBegin()
18338
          for _i324 in xrange(_size320):
18339
            _elem325 = Source()
18340
            _elem325.read(iprot)
18341
            self.success.append(_elem325)
5944 mandeep.dh 18342
          iprot.readListEnd()
18343
        else:
18344
          iprot.skip(ftype)
18345
      else:
18346
        iprot.skip(ftype)
18347
      iprot.readFieldEnd()
18348
    iprot.readStructEnd()
18349
 
18350
  def write(self, oprot):
18351
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18352
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18353
      return
18354
    oprot.writeStructBegin('getAllSources_result')
18355
    if self.success is not None:
18356
      oprot.writeFieldBegin('success', TType.LIST, 0)
18357
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 18358
      for iter326 in self.success:
18359
        iter326.write(oprot)
5944 mandeep.dh 18360
      oprot.writeListEnd()
18361
      oprot.writeFieldEnd()
18362
    oprot.writeFieldStop()
18363
    oprot.writeStructEnd()
18364
 
18365
  def validate(self):
18366
    return
18367
 
18368
 
18369
  def __repr__(self):
18370
    L = ['%s=%r' % (key, value)
18371
      for key, value in self.__dict__.iteritems()]
18372
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18373
 
18374
  def __eq__(self, other):
18375
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18376
 
18377
  def __ne__(self, other):
18378
    return not (self == other)
18379
 
18380
class getItemPricingBySource_args:
18381
  """
18382
  Attributes:
18383
   - itemId
18384
   - sourceId
18385
  """
18386
 
18387
  thrift_spec = (
18388
    None, # 0
18389
    (1, TType.I64, 'itemId', None, None, ), # 1
18390
    (2, TType.I64, 'sourceId', None, None, ), # 2
18391
  )
18392
 
18393
  def __init__(self, itemId=None, sourceId=None,):
18394
    self.itemId = itemId
18395
    self.sourceId = sourceId
18396
 
18397
  def read(self, iprot):
18398
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18399
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18400
      return
18401
    iprot.readStructBegin()
18402
    while True:
18403
      (fname, ftype, fid) = iprot.readFieldBegin()
18404
      if ftype == TType.STOP:
18405
        break
18406
      if fid == 1:
18407
        if ftype == TType.I64:
18408
          self.itemId = iprot.readI64();
18409
        else:
18410
          iprot.skip(ftype)
18411
      elif fid == 2:
18412
        if ftype == TType.I64:
18413
          self.sourceId = iprot.readI64();
18414
        else:
18415
          iprot.skip(ftype)
18416
      else:
18417
        iprot.skip(ftype)
18418
      iprot.readFieldEnd()
18419
    iprot.readStructEnd()
18420
 
18421
  def write(self, oprot):
18422
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18423
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18424
      return
18425
    oprot.writeStructBegin('getItemPricingBySource_args')
18426
    if self.itemId is not None:
18427
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18428
      oprot.writeI64(self.itemId)
18429
      oprot.writeFieldEnd()
18430
    if self.sourceId is not None:
18431
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
18432
      oprot.writeI64(self.sourceId)
18433
      oprot.writeFieldEnd()
18434
    oprot.writeFieldStop()
18435
    oprot.writeStructEnd()
18436
 
18437
  def validate(self):
18438
    return
18439
 
18440
 
18441
  def __repr__(self):
18442
    L = ['%s=%r' % (key, value)
18443
      for key, value in self.__dict__.iteritems()]
18444
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18445
 
18446
  def __eq__(self, other):
18447
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18448
 
18449
  def __ne__(self, other):
18450
    return not (self == other)
18451
 
18452
class getItemPricingBySource_result:
18453
  """
18454
  Attributes:
18455
   - success
18456
   - cex
18457
  """
18458
 
18459
  thrift_spec = (
18460
    (0, TType.STRUCT, 'success', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 0
18461
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18462
  )
18463
 
18464
  def __init__(self, success=None, cex=None,):
18465
    self.success = success
18466
    self.cex = cex
18467
 
18468
  def read(self, iprot):
18469
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18470
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18471
      return
18472
    iprot.readStructBegin()
18473
    while True:
18474
      (fname, ftype, fid) = iprot.readFieldBegin()
18475
      if ftype == TType.STOP:
18476
        break
18477
      if fid == 0:
18478
        if ftype == TType.STRUCT:
18479
          self.success = SourceItemPricing()
18480
          self.success.read(iprot)
18481
        else:
18482
          iprot.skip(ftype)
18483
      elif fid == 1:
18484
        if ftype == TType.STRUCT:
18485
          self.cex = CatalogServiceException()
18486
          self.cex.read(iprot)
18487
        else:
18488
          iprot.skip(ftype)
18489
      else:
18490
        iprot.skip(ftype)
18491
      iprot.readFieldEnd()
18492
    iprot.readStructEnd()
18493
 
18494
  def write(self, oprot):
18495
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18496
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18497
      return
18498
    oprot.writeStructBegin('getItemPricingBySource_result')
18499
    if self.success is not None:
18500
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
18501
      self.success.write(oprot)
18502
      oprot.writeFieldEnd()
18503
    if self.cex is not None:
18504
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
18505
      self.cex.write(oprot)
18506
      oprot.writeFieldEnd()
18507
    oprot.writeFieldStop()
18508
    oprot.writeStructEnd()
18509
 
18510
  def validate(self):
18511
    return
18512
 
18513
 
18514
  def __repr__(self):
18515
    L = ['%s=%r' % (key, value)
18516
      for key, value in self.__dict__.iteritems()]
18517
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18518
 
18519
  def __eq__(self, other):
18520
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18521
 
18522
  def __ne__(self, other):
18523
    return not (self == other)
18524
 
18525
class addSourceItemPricing_args:
18526
  """
18527
  Attributes:
18528
   - sourceItemPricing
18529
  """
18530
 
18531
  thrift_spec = (
18532
    None, # 0
18533
    (1, TType.STRUCT, 'sourceItemPricing', (SourceItemPricing, SourceItemPricing.thrift_spec), None, ), # 1
18534
  )
18535
 
18536
  def __init__(self, sourceItemPricing=None,):
18537
    self.sourceItemPricing = sourceItemPricing
18538
 
18539
  def read(self, iprot):
18540
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18541
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18542
      return
18543
    iprot.readStructBegin()
18544
    while True:
18545
      (fname, ftype, fid) = iprot.readFieldBegin()
18546
      if ftype == TType.STOP:
18547
        break
18548
      if fid == 1:
18549
        if ftype == TType.STRUCT:
18550
          self.sourceItemPricing = SourceItemPricing()
18551
          self.sourceItemPricing.read(iprot)
18552
        else:
18553
          iprot.skip(ftype)
18554
      else:
18555
        iprot.skip(ftype)
18556
      iprot.readFieldEnd()
18557
    iprot.readStructEnd()
18558
 
18559
  def write(self, oprot):
18560
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18561
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18562
      return
18563
    oprot.writeStructBegin('addSourceItemPricing_args')
18564
    if self.sourceItemPricing is not None:
18565
      oprot.writeFieldBegin('sourceItemPricing', TType.STRUCT, 1)
18566
      self.sourceItemPricing.write(oprot)
18567
      oprot.writeFieldEnd()
18568
    oprot.writeFieldStop()
18569
    oprot.writeStructEnd()
18570
 
18571
  def validate(self):
18572
    return
18573
 
18574
 
18575
  def __repr__(self):
18576
    L = ['%s=%r' % (key, value)
18577
      for key, value in self.__dict__.iteritems()]
18578
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18579
 
18580
  def __eq__(self, other):
18581
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18582
 
18583
  def __ne__(self, other):
18584
    return not (self == other)
18585
 
18586
class addSourceItemPricing_result:
18587
  """
18588
  Attributes:
18589
   - cex
18590
  """
18591
 
18592
  thrift_spec = (
18593
    None, # 0
18594
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18595
  )
18596
 
18597
  def __init__(self, cex=None,):
18598
    self.cex = cex
18599
 
18600
  def read(self, iprot):
18601
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18602
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18603
      return
18604
    iprot.readStructBegin()
18605
    while True:
18606
      (fname, ftype, fid) = iprot.readFieldBegin()
18607
      if ftype == TType.STOP:
18608
        break
18609
      if fid == 1:
18610
        if ftype == TType.STRUCT:
18611
          self.cex = CatalogServiceException()
18612
          self.cex.read(iprot)
18613
        else:
18614
          iprot.skip(ftype)
18615
      else:
18616
        iprot.skip(ftype)
18617
      iprot.readFieldEnd()
18618
    iprot.readStructEnd()
18619
 
18620
  def write(self, oprot):
18621
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18622
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18623
      return
18624
    oprot.writeStructBegin('addSourceItemPricing_result')
18625
    if self.cex is not None:
18626
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
18627
      self.cex.write(oprot)
18628
      oprot.writeFieldEnd()
18629
    oprot.writeFieldStop()
18630
    oprot.writeStructEnd()
18631
 
18632
  def validate(self):
18633
    return
18634
 
18635
 
18636
  def __repr__(self):
18637
    L = ['%s=%r' % (key, value)
18638
      for key, value in self.__dict__.iteritems()]
18639
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18640
 
18641
  def __eq__(self, other):
18642
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18643
 
18644
  def __ne__(self, other):
18645
    return not (self == other)
18646
 
18647
class getAllSourcePricing_args:
18648
  """
18649
  Attributes:
18650
   - itemId
18651
  """
18652
 
18653
  thrift_spec = (
18654
    None, # 0
18655
    (1, TType.I64, 'itemId', None, None, ), # 1
18656
  )
18657
 
18658
  def __init__(self, itemId=None,):
18659
    self.itemId = itemId
18660
 
18661
  def read(self, iprot):
18662
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18663
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18664
      return
18665
    iprot.readStructBegin()
18666
    while True:
18667
      (fname, ftype, fid) = iprot.readFieldBegin()
18668
      if ftype == TType.STOP:
18669
        break
18670
      if fid == 1:
18671
        if ftype == TType.I64:
18672
          self.itemId = iprot.readI64();
18673
        else:
18674
          iprot.skip(ftype)
18675
      else:
18676
        iprot.skip(ftype)
18677
      iprot.readFieldEnd()
18678
    iprot.readStructEnd()
18679
 
18680
  def write(self, oprot):
18681
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18682
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18683
      return
18684
    oprot.writeStructBegin('getAllSourcePricing_args')
18685
    if self.itemId is not None:
18686
      oprot.writeFieldBegin('itemId', TType.I64, 1)
18687
      oprot.writeI64(self.itemId)
18688
      oprot.writeFieldEnd()
18689
    oprot.writeFieldStop()
18690
    oprot.writeStructEnd()
18691
 
18692
  def validate(self):
18693
    return
18694
 
18695
 
18696
  def __repr__(self):
18697
    L = ['%s=%r' % (key, value)
18698
      for key, value in self.__dict__.iteritems()]
18699
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18700
 
18701
  def __eq__(self, other):
18702
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18703
 
18704
  def __ne__(self, other):
18705
    return not (self == other)
18706
 
18707
class getAllSourcePricing_result:
18708
  """
18709
  Attributes:
18710
   - success
18711
   - cex
18712
  """
18713
 
18714
  thrift_spec = (
18715
    (0, TType.LIST, 'success', (TType.STRUCT,(SourceItemPricing, SourceItemPricing.thrift_spec)), None, ), # 0
18716
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18717
  )
18718
 
18719
  def __init__(self, success=None, cex=None,):
18720
    self.success = success
18721
    self.cex = cex
18722
 
18723
  def read(self, iprot):
18724
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18725
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18726
      return
18727
    iprot.readStructBegin()
18728
    while True:
18729
      (fname, ftype, fid) = iprot.readFieldBegin()
18730
      if ftype == TType.STOP:
18731
        break
18732
      if fid == 0:
18733
        if ftype == TType.LIST:
18734
          self.success = []
12567 amit.gupta 18735
          (_etype330, _size327) = iprot.readListBegin()
18736
          for _i331 in xrange(_size327):
18737
            _elem332 = SourceItemPricing()
18738
            _elem332.read(iprot)
18739
            self.success.append(_elem332)
5944 mandeep.dh 18740
          iprot.readListEnd()
18741
        else:
18742
          iprot.skip(ftype)
18743
      elif fid == 1:
18744
        if ftype == TType.STRUCT:
18745
          self.cex = CatalogServiceException()
18746
          self.cex.read(iprot)
18747
        else:
18748
          iprot.skip(ftype)
18749
      else:
18750
        iprot.skip(ftype)
18751
      iprot.readFieldEnd()
18752
    iprot.readStructEnd()
18753
 
18754
  def write(self, oprot):
18755
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18756
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18757
      return
18758
    oprot.writeStructBegin('getAllSourcePricing_result')
18759
    if self.success is not None:
18760
      oprot.writeFieldBegin('success', TType.LIST, 0)
18761
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 18762
      for iter333 in self.success:
18763
        iter333.write(oprot)
5944 mandeep.dh 18764
      oprot.writeListEnd()
18765
      oprot.writeFieldEnd()
18766
    if self.cex is not None:
18767
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
18768
      self.cex.write(oprot)
18769
      oprot.writeFieldEnd()
18770
    oprot.writeFieldStop()
18771
    oprot.writeStructEnd()
18772
 
18773
  def validate(self):
18774
    return
18775
 
18776
 
18777
  def __repr__(self):
18778
    L = ['%s=%r' % (key, value)
18779
      for key, value in self.__dict__.iteritems()]
18780
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18781
 
18782
  def __eq__(self, other):
18783
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18784
 
18785
  def __ne__(self, other):
18786
    return not (self == other)
18787
 
18788
class getItemForSource_args:
18789
  """
18790
  Attributes:
18791
   - item_id
18792
   - sourceId
18793
  """
18794
 
18795
  thrift_spec = (
18796
    None, # 0
18797
    (1, TType.I64, 'item_id', None, None, ), # 1
18798
    (2, TType.I64, 'sourceId', None, None, ), # 2
18799
  )
18800
 
18801
  def __init__(self, item_id=None, sourceId=None,):
18802
    self.item_id = item_id
18803
    self.sourceId = sourceId
18804
 
18805
  def read(self, iprot):
18806
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18807
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18808
      return
18809
    iprot.readStructBegin()
18810
    while True:
18811
      (fname, ftype, fid) = iprot.readFieldBegin()
18812
      if ftype == TType.STOP:
18813
        break
18814
      if fid == 1:
18815
        if ftype == TType.I64:
18816
          self.item_id = iprot.readI64();
18817
        else:
18818
          iprot.skip(ftype)
18819
      elif fid == 2:
18820
        if ftype == TType.I64:
18821
          self.sourceId = iprot.readI64();
18822
        else:
18823
          iprot.skip(ftype)
18824
      else:
18825
        iprot.skip(ftype)
18826
      iprot.readFieldEnd()
18827
    iprot.readStructEnd()
18828
 
18829
  def write(self, oprot):
18830
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18831
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18832
      return
18833
    oprot.writeStructBegin('getItemForSource_args')
18834
    if self.item_id is not None:
18835
      oprot.writeFieldBegin('item_id', TType.I64, 1)
18836
      oprot.writeI64(self.item_id)
18837
      oprot.writeFieldEnd()
18838
    if self.sourceId is not None:
18839
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
18840
      oprot.writeI64(self.sourceId)
18841
      oprot.writeFieldEnd()
18842
    oprot.writeFieldStop()
18843
    oprot.writeStructEnd()
18844
 
18845
  def validate(self):
18846
    return
18847
 
18848
 
18849
  def __repr__(self):
18850
    L = ['%s=%r' % (key, value)
18851
      for key, value in self.__dict__.iteritems()]
18852
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18853
 
18854
  def __eq__(self, other):
18855
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18856
 
18857
  def __ne__(self, other):
18858
    return not (self == other)
18859
 
18860
class getItemForSource_result:
18861
  """
18862
  Attributes:
18863
   - success
18864
   - cex
18865
  """
18866
 
18867
  thrift_spec = (
18868
    (0, TType.STRUCT, 'success', (Item, Item.thrift_spec), None, ), # 0
18869
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
18870
  )
18871
 
18872
  def __init__(self, success=None, cex=None,):
18873
    self.success = success
18874
    self.cex = cex
18875
 
18876
  def read(self, iprot):
18877
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18878
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18879
      return
18880
    iprot.readStructBegin()
18881
    while True:
18882
      (fname, ftype, fid) = iprot.readFieldBegin()
18883
      if ftype == TType.STOP:
18884
        break
18885
      if fid == 0:
18886
        if ftype == TType.STRUCT:
18887
          self.success = Item()
18888
          self.success.read(iprot)
18889
        else:
18890
          iprot.skip(ftype)
18891
      elif fid == 1:
18892
        if ftype == TType.STRUCT:
18893
          self.cex = CatalogServiceException()
18894
          self.cex.read(iprot)
18895
        else:
18896
          iprot.skip(ftype)
18897
      else:
18898
        iprot.skip(ftype)
18899
      iprot.readFieldEnd()
18900
    iprot.readStructEnd()
18901
 
18902
  def write(self, oprot):
18903
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18904
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18905
      return
18906
    oprot.writeStructBegin('getItemForSource_result')
18907
    if self.success is not None:
18908
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
18909
      self.success.write(oprot)
18910
      oprot.writeFieldEnd()
18911
    if self.cex is not None:
18912
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
18913
      self.cex.write(oprot)
18914
      oprot.writeFieldEnd()
18915
    oprot.writeFieldStop()
18916
    oprot.writeStructEnd()
18917
 
18918
  def validate(self):
18919
    return
18920
 
18921
 
18922
  def __repr__(self):
18923
    L = ['%s=%r' % (key, value)
18924
      for key, value in self.__dict__.iteritems()]
18925
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
18926
 
18927
  def __eq__(self, other):
18928
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
18929
 
18930
  def __ne__(self, other):
18931
    return not (self == other)
18932
 
18933
class searchItemsInRange_args:
18934
  """
18935
  Attributes:
18936
   - searchTerms
18937
   - offset
18938
   - limit
18939
  """
18940
 
18941
  thrift_spec = (
18942
    None, # 0
18943
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
18944
    (2, TType.I64, 'offset', None, None, ), # 2
18945
    (3, TType.I64, 'limit', None, None, ), # 3
18946
  )
18947
 
18948
  def __init__(self, searchTerms=None, offset=None, limit=None,):
18949
    self.searchTerms = searchTerms
18950
    self.offset = offset
18951
    self.limit = limit
18952
 
18953
  def read(self, iprot):
18954
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
18955
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
18956
      return
18957
    iprot.readStructBegin()
18958
    while True:
18959
      (fname, ftype, fid) = iprot.readFieldBegin()
18960
      if ftype == TType.STOP:
18961
        break
18962
      if fid == 1:
18963
        if ftype == TType.LIST:
18964
          self.searchTerms = []
12567 amit.gupta 18965
          (_etype337, _size334) = iprot.readListBegin()
18966
          for _i338 in xrange(_size334):
18967
            _elem339 = iprot.readString();
18968
            self.searchTerms.append(_elem339)
5944 mandeep.dh 18969
          iprot.readListEnd()
18970
        else:
18971
          iprot.skip(ftype)
18972
      elif fid == 2:
18973
        if ftype == TType.I64:
18974
          self.offset = iprot.readI64();
18975
        else:
18976
          iprot.skip(ftype)
18977
      elif fid == 3:
18978
        if ftype == TType.I64:
18979
          self.limit = iprot.readI64();
18980
        else:
18981
          iprot.skip(ftype)
18982
      else:
18983
        iprot.skip(ftype)
18984
      iprot.readFieldEnd()
18985
    iprot.readStructEnd()
18986
 
18987
  def write(self, oprot):
18988
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
18989
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
18990
      return
18991
    oprot.writeStructBegin('searchItemsInRange_args')
18992
    if self.searchTerms is not None:
18993
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
18994
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
12567 amit.gupta 18995
      for iter340 in self.searchTerms:
18996
        oprot.writeString(iter340)
5944 mandeep.dh 18997
      oprot.writeListEnd()
18998
      oprot.writeFieldEnd()
18999
    if self.offset is not None:
19000
      oprot.writeFieldBegin('offset', TType.I64, 2)
19001
      oprot.writeI64(self.offset)
19002
      oprot.writeFieldEnd()
19003
    if self.limit is not None:
19004
      oprot.writeFieldBegin('limit', TType.I64, 3)
19005
      oprot.writeI64(self.limit)
19006
      oprot.writeFieldEnd()
19007
    oprot.writeFieldStop()
19008
    oprot.writeStructEnd()
19009
 
19010
  def validate(self):
19011
    return
19012
 
19013
 
19014
  def __repr__(self):
19015
    L = ['%s=%r' % (key, value)
19016
      for key, value in self.__dict__.iteritems()]
19017
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19018
 
19019
  def __eq__(self, other):
19020
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19021
 
19022
  def __ne__(self, other):
19023
    return not (self == other)
19024
 
19025
class searchItemsInRange_result:
19026
  """
19027
  Attributes:
19028
   - success
19029
  """
19030
 
19031
  thrift_spec = (
19032
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
19033
  )
19034
 
19035
  def __init__(self, success=None,):
19036
    self.success = success
19037
 
19038
  def read(self, iprot):
19039
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19040
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19041
      return
19042
    iprot.readStructBegin()
19043
    while True:
19044
      (fname, ftype, fid) = iprot.readFieldBegin()
19045
      if ftype == TType.STOP:
19046
        break
19047
      if fid == 0:
19048
        if ftype == TType.LIST:
19049
          self.success = []
12567 amit.gupta 19050
          (_etype344, _size341) = iprot.readListBegin()
19051
          for _i345 in xrange(_size341):
19052
            _elem346 = Item()
19053
            _elem346.read(iprot)
19054
            self.success.append(_elem346)
5944 mandeep.dh 19055
          iprot.readListEnd()
19056
        else:
19057
          iprot.skip(ftype)
19058
      else:
19059
        iprot.skip(ftype)
19060
      iprot.readFieldEnd()
19061
    iprot.readStructEnd()
19062
 
19063
  def write(self, oprot):
19064
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19065
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19066
      return
19067
    oprot.writeStructBegin('searchItemsInRange_result')
19068
    if self.success is not None:
19069
      oprot.writeFieldBegin('success', TType.LIST, 0)
19070
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 19071
      for iter347 in self.success:
19072
        iter347.write(oprot)
5944 mandeep.dh 19073
      oprot.writeListEnd()
19074
      oprot.writeFieldEnd()
19075
    oprot.writeFieldStop()
19076
    oprot.writeStructEnd()
19077
 
19078
  def validate(self):
19079
    return
19080
 
19081
 
19082
  def __repr__(self):
19083
    L = ['%s=%r' % (key, value)
19084
      for key, value in self.__dict__.iteritems()]
19085
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19086
 
19087
  def __eq__(self, other):
19088
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19089
 
19090
  def __ne__(self, other):
19091
    return not (self == other)
19092
 
19093
class getSearchResultCount_args:
19094
  """
19095
  Attributes:
19096
   - searchTerms
19097
  """
19098
 
19099
  thrift_spec = (
19100
    None, # 0
19101
    (1, TType.LIST, 'searchTerms', (TType.STRING,None), None, ), # 1
19102
  )
19103
 
19104
  def __init__(self, searchTerms=None,):
19105
    self.searchTerms = searchTerms
19106
 
19107
  def read(self, iprot):
19108
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19109
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19110
      return
19111
    iprot.readStructBegin()
19112
    while True:
19113
      (fname, ftype, fid) = iprot.readFieldBegin()
19114
      if ftype == TType.STOP:
19115
        break
19116
      if fid == 1:
19117
        if ftype == TType.LIST:
19118
          self.searchTerms = []
12567 amit.gupta 19119
          (_etype351, _size348) = iprot.readListBegin()
19120
          for _i352 in xrange(_size348):
19121
            _elem353 = iprot.readString();
19122
            self.searchTerms.append(_elem353)
5944 mandeep.dh 19123
          iprot.readListEnd()
19124
        else:
19125
          iprot.skip(ftype)
19126
      else:
19127
        iprot.skip(ftype)
19128
      iprot.readFieldEnd()
19129
    iprot.readStructEnd()
19130
 
19131
  def write(self, oprot):
19132
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19133
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19134
      return
19135
    oprot.writeStructBegin('getSearchResultCount_args')
19136
    if self.searchTerms is not None:
19137
      oprot.writeFieldBegin('searchTerms', TType.LIST, 1)
19138
      oprot.writeListBegin(TType.STRING, len(self.searchTerms))
12567 amit.gupta 19139
      for iter354 in self.searchTerms:
19140
        oprot.writeString(iter354)
5944 mandeep.dh 19141
      oprot.writeListEnd()
19142
      oprot.writeFieldEnd()
19143
    oprot.writeFieldStop()
19144
    oprot.writeStructEnd()
19145
 
19146
  def validate(self):
19147
    return
19148
 
19149
 
19150
  def __repr__(self):
19151
    L = ['%s=%r' % (key, value)
19152
      for key, value in self.__dict__.iteritems()]
19153
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19154
 
19155
  def __eq__(self, other):
19156
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19157
 
19158
  def __ne__(self, other):
19159
    return not (self == other)
19160
 
19161
class getSearchResultCount_result:
19162
  """
19163
  Attributes:
19164
   - success
19165
  """
19166
 
19167
  thrift_spec = (
19168
    (0, TType.I32, 'success', None, None, ), # 0
19169
  )
19170
 
19171
  def __init__(self, success=None,):
19172
    self.success = success
19173
 
19174
  def read(self, iprot):
19175
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19176
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19177
      return
19178
    iprot.readStructBegin()
19179
    while True:
19180
      (fname, ftype, fid) = iprot.readFieldBegin()
19181
      if ftype == TType.STOP:
19182
        break
19183
      if fid == 0:
19184
        if ftype == TType.I32:
19185
          self.success = iprot.readI32();
19186
        else:
19187
          iprot.skip(ftype)
19188
      else:
19189
        iprot.skip(ftype)
19190
      iprot.readFieldEnd()
19191
    iprot.readStructEnd()
19192
 
19193
  def write(self, oprot):
19194
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19195
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19196
      return
19197
    oprot.writeStructBegin('getSearchResultCount_result')
19198
    if self.success is not None:
19199
      oprot.writeFieldBegin('success', TType.I32, 0)
19200
      oprot.writeI32(self.success)
19201
      oprot.writeFieldEnd()
19202
    oprot.writeFieldStop()
19203
    oprot.writeStructEnd()
19204
 
19205
  def validate(self):
19206
    return
19207
 
19208
 
19209
  def __repr__(self):
19210
    L = ['%s=%r' % (key, value)
19211
      for key, value in self.__dict__.iteritems()]
19212
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19213
 
19214
  def __eq__(self, other):
19215
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19216
 
19217
  def __ne__(self, other):
19218
    return not (self == other)
19219
 
19220
class getProductNotifications_args:
19221
  """
19222
  Attributes:
19223
   - startDateTime
19224
  """
19225
 
19226
  thrift_spec = (
19227
    None, # 0
19228
    (1, TType.I64, 'startDateTime', None, None, ), # 1
19229
  )
19230
 
19231
  def __init__(self, startDateTime=None,):
19232
    self.startDateTime = startDateTime
19233
 
19234
  def read(self, iprot):
19235
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19236
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19237
      return
19238
    iprot.readStructBegin()
19239
    while True:
19240
      (fname, ftype, fid) = iprot.readFieldBegin()
19241
      if ftype == TType.STOP:
19242
        break
19243
      if fid == 1:
19244
        if ftype == TType.I64:
19245
          self.startDateTime = iprot.readI64();
19246
        else:
19247
          iprot.skip(ftype)
19248
      else:
19249
        iprot.skip(ftype)
19250
      iprot.readFieldEnd()
19251
    iprot.readStructEnd()
19252
 
19253
  def write(self, oprot):
19254
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19255
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19256
      return
19257
    oprot.writeStructBegin('getProductNotifications_args')
19258
    if self.startDateTime is not None:
19259
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
19260
      oprot.writeI64(self.startDateTime)
19261
      oprot.writeFieldEnd()
19262
    oprot.writeFieldStop()
19263
    oprot.writeStructEnd()
19264
 
19265
  def validate(self):
19266
    return
19267
 
19268
 
19269
  def __repr__(self):
19270
    L = ['%s=%r' % (key, value)
19271
      for key, value in self.__dict__.iteritems()]
19272
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19273
 
19274
  def __eq__(self, other):
19275
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19276
 
19277
  def __ne__(self, other):
19278
    return not (self == other)
19279
 
19280
class getProductNotifications_result:
19281
  """
19282
  Attributes:
19283
   - success
19284
  """
19285
 
19286
  thrift_spec = (
19287
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequest, ProductNotificationRequest.thrift_spec)), None, ), # 0
19288
  )
19289
 
19290
  def __init__(self, success=None,):
19291
    self.success = success
19292
 
19293
  def read(self, iprot):
19294
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19295
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19296
      return
19297
    iprot.readStructBegin()
19298
    while True:
19299
      (fname, ftype, fid) = iprot.readFieldBegin()
19300
      if ftype == TType.STOP:
19301
        break
19302
      if fid == 0:
19303
        if ftype == TType.LIST:
19304
          self.success = []
12567 amit.gupta 19305
          (_etype358, _size355) = iprot.readListBegin()
19306
          for _i359 in xrange(_size355):
19307
            _elem360 = ProductNotificationRequest()
19308
            _elem360.read(iprot)
19309
            self.success.append(_elem360)
5944 mandeep.dh 19310
          iprot.readListEnd()
19311
        else:
19312
          iprot.skip(ftype)
19313
      else:
19314
        iprot.skip(ftype)
19315
      iprot.readFieldEnd()
19316
    iprot.readStructEnd()
19317
 
19318
  def write(self, oprot):
19319
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19320
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19321
      return
19322
    oprot.writeStructBegin('getProductNotifications_result')
19323
    if self.success is not None:
19324
      oprot.writeFieldBegin('success', TType.LIST, 0)
19325
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 19326
      for iter361 in self.success:
19327
        iter361.write(oprot)
5944 mandeep.dh 19328
      oprot.writeListEnd()
19329
      oprot.writeFieldEnd()
19330
    oprot.writeFieldStop()
19331
    oprot.writeStructEnd()
19332
 
19333
  def validate(self):
19334
    return
19335
 
19336
 
19337
  def __repr__(self):
19338
    L = ['%s=%r' % (key, value)
19339
      for key, value in self.__dict__.iteritems()]
19340
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19341
 
19342
  def __eq__(self, other):
19343
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19344
 
19345
  def __ne__(self, other):
19346
    return not (self == other)
19347
 
19348
class getProductNotificationRequestCount_args:
19349
  """
19350
  Attributes:
19351
   - startDateTime
7897 amar.kumar 19352
   - categoryId
5944 mandeep.dh 19353
  """
19354
 
19355
  thrift_spec = (
19356
    None, # 0
19357
    (1, TType.I64, 'startDateTime', None, None, ), # 1
7897 amar.kumar 19358
    (2, TType.I64, 'categoryId', None, None, ), # 2
5944 mandeep.dh 19359
  )
19360
 
7897 amar.kumar 19361
  def __init__(self, startDateTime=None, categoryId=None,):
5944 mandeep.dh 19362
    self.startDateTime = startDateTime
7897 amar.kumar 19363
    self.categoryId = categoryId
5944 mandeep.dh 19364
 
19365
  def read(self, iprot):
19366
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19367
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19368
      return
19369
    iprot.readStructBegin()
19370
    while True:
19371
      (fname, ftype, fid) = iprot.readFieldBegin()
19372
      if ftype == TType.STOP:
19373
        break
19374
      if fid == 1:
19375
        if ftype == TType.I64:
19376
          self.startDateTime = iprot.readI64();
19377
        else:
19378
          iprot.skip(ftype)
7897 amar.kumar 19379
      elif fid == 2:
19380
        if ftype == TType.I64:
19381
          self.categoryId = iprot.readI64();
19382
        else:
19383
          iprot.skip(ftype)
5944 mandeep.dh 19384
      else:
19385
        iprot.skip(ftype)
19386
      iprot.readFieldEnd()
19387
    iprot.readStructEnd()
19388
 
19389
  def write(self, oprot):
19390
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19391
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19392
      return
19393
    oprot.writeStructBegin('getProductNotificationRequestCount_args')
19394
    if self.startDateTime is not None:
19395
      oprot.writeFieldBegin('startDateTime', TType.I64, 1)
19396
      oprot.writeI64(self.startDateTime)
19397
      oprot.writeFieldEnd()
7897 amar.kumar 19398
    if self.categoryId is not None:
19399
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
19400
      oprot.writeI64(self.categoryId)
19401
      oprot.writeFieldEnd()
5944 mandeep.dh 19402
    oprot.writeFieldStop()
19403
    oprot.writeStructEnd()
19404
 
19405
  def validate(self):
19406
    return
19407
 
19408
 
19409
  def __repr__(self):
19410
    L = ['%s=%r' % (key, value)
19411
      for key, value in self.__dict__.iteritems()]
19412
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19413
 
19414
  def __eq__(self, other):
19415
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19416
 
19417
  def __ne__(self, other):
19418
    return not (self == other)
19419
 
19420
class getProductNotificationRequestCount_result:
19421
  """
19422
  Attributes:
19423
   - success
19424
  """
19425
 
19426
  thrift_spec = (
19427
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductNotificationRequestCount, ProductNotificationRequestCount.thrift_spec)), None, ), # 0
19428
  )
19429
 
19430
  def __init__(self, success=None,):
19431
    self.success = success
19432
 
19433
  def read(self, iprot):
19434
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19435
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19436
      return
19437
    iprot.readStructBegin()
19438
    while True:
19439
      (fname, ftype, fid) = iprot.readFieldBegin()
19440
      if ftype == TType.STOP:
19441
        break
19442
      if fid == 0:
19443
        if ftype == TType.LIST:
19444
          self.success = []
12567 amit.gupta 19445
          (_etype365, _size362) = iprot.readListBegin()
19446
          for _i366 in xrange(_size362):
19447
            _elem367 = ProductNotificationRequestCount()
19448
            _elem367.read(iprot)
19449
            self.success.append(_elem367)
5944 mandeep.dh 19450
          iprot.readListEnd()
19451
        else:
19452
          iprot.skip(ftype)
19453
      else:
19454
        iprot.skip(ftype)
19455
      iprot.readFieldEnd()
19456
    iprot.readStructEnd()
19457
 
19458
  def write(self, oprot):
19459
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19460
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19461
      return
19462
    oprot.writeStructBegin('getProductNotificationRequestCount_result')
19463
    if self.success is not None:
19464
      oprot.writeFieldBegin('success', TType.LIST, 0)
19465
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 19466
      for iter368 in self.success:
19467
        iter368.write(oprot)
5944 mandeep.dh 19468
      oprot.writeListEnd()
19469
      oprot.writeFieldEnd()
19470
    oprot.writeFieldStop()
19471
    oprot.writeStructEnd()
19472
 
19473
  def validate(self):
19474
    return
19475
 
19476
 
19477
  def __repr__(self):
19478
    L = ['%s=%r' % (key, value)
19479
      for key, value in self.__dict__.iteritems()]
19480
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19481
 
19482
  def __eq__(self, other):
19483
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19484
 
19485
  def __ne__(self, other):
19486
    return not (self == other)
19487
 
19488
class addAuthorizationLog_args:
19489
  """
19490
  Attributes:
19491
   - itemId
19492
   - username
19493
   - reason
19494
  """
19495
 
19496
  thrift_spec = (
19497
    None, # 0
19498
    (1, TType.I64, 'itemId', None, None, ), # 1
19499
    (2, TType.STRING, 'username', None, None, ), # 2
19500
    (3, TType.STRING, 'reason', None, None, ), # 3
19501
  )
19502
 
19503
  def __init__(self, itemId=None, username=None, reason=None,):
19504
    self.itemId = itemId
19505
    self.username = username
19506
    self.reason = reason
19507
 
19508
  def read(self, iprot):
19509
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19510
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19511
      return
19512
    iprot.readStructBegin()
19513
    while True:
19514
      (fname, ftype, fid) = iprot.readFieldBegin()
19515
      if ftype == TType.STOP:
19516
        break
19517
      if fid == 1:
19518
        if ftype == TType.I64:
19519
          self.itemId = iprot.readI64();
19520
        else:
19521
          iprot.skip(ftype)
19522
      elif fid == 2:
19523
        if ftype == TType.STRING:
19524
          self.username = iprot.readString();
19525
        else:
19526
          iprot.skip(ftype)
19527
      elif fid == 3:
19528
        if ftype == TType.STRING:
19529
          self.reason = iprot.readString();
19530
        else:
19531
          iprot.skip(ftype)
19532
      else:
19533
        iprot.skip(ftype)
19534
      iprot.readFieldEnd()
19535
    iprot.readStructEnd()
19536
 
19537
  def write(self, oprot):
19538
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19539
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19540
      return
19541
    oprot.writeStructBegin('addAuthorizationLog_args')
19542
    if self.itemId is not None:
19543
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19544
      oprot.writeI64(self.itemId)
19545
      oprot.writeFieldEnd()
19546
    if self.username is not None:
19547
      oprot.writeFieldBegin('username', TType.STRING, 2)
19548
      oprot.writeString(self.username)
19549
      oprot.writeFieldEnd()
19550
    if self.reason is not None:
19551
      oprot.writeFieldBegin('reason', TType.STRING, 3)
19552
      oprot.writeString(self.reason)
19553
      oprot.writeFieldEnd()
19554
    oprot.writeFieldStop()
19555
    oprot.writeStructEnd()
19556
 
19557
  def validate(self):
19558
    return
19559
 
19560
 
19561
  def __repr__(self):
19562
    L = ['%s=%r' % (key, value)
19563
      for key, value in self.__dict__.iteritems()]
19564
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19565
 
19566
  def __eq__(self, other):
19567
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19568
 
19569
  def __ne__(self, other):
19570
    return not (self == other)
19571
 
19572
class addAuthorizationLog_result:
19573
  """
19574
  Attributes:
19575
   - success
19576
   - cex
19577
  """
19578
 
19579
  thrift_spec = (
19580
    (0, TType.BOOL, 'success', None, None, ), # 0
19581
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19582
  )
19583
 
19584
  def __init__(self, success=None, cex=None,):
19585
    self.success = success
19586
    self.cex = cex
19587
 
19588
  def read(self, iprot):
19589
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19590
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19591
      return
19592
    iprot.readStructBegin()
19593
    while True:
19594
      (fname, ftype, fid) = iprot.readFieldBegin()
19595
      if ftype == TType.STOP:
19596
        break
19597
      if fid == 0:
19598
        if ftype == TType.BOOL:
19599
          self.success = iprot.readBool();
19600
        else:
19601
          iprot.skip(ftype)
19602
      elif fid == 1:
19603
        if ftype == TType.STRUCT:
19604
          self.cex = CatalogServiceException()
19605
          self.cex.read(iprot)
19606
        else:
19607
          iprot.skip(ftype)
19608
      else:
19609
        iprot.skip(ftype)
19610
      iprot.readFieldEnd()
19611
    iprot.readStructEnd()
19612
 
19613
  def write(self, oprot):
19614
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19615
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19616
      return
19617
    oprot.writeStructBegin('addAuthorizationLog_result')
19618
    if self.success is not None:
19619
      oprot.writeFieldBegin('success', TType.BOOL, 0)
19620
      oprot.writeBool(self.success)
19621
      oprot.writeFieldEnd()
19622
    if self.cex is not None:
19623
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19624
      self.cex.write(oprot)
19625
      oprot.writeFieldEnd()
19626
    oprot.writeFieldStop()
19627
    oprot.writeStructEnd()
19628
 
19629
  def validate(self):
19630
    return
19631
 
19632
 
19633
  def __repr__(self):
19634
    L = ['%s=%r' % (key, value)
19635
      for key, value in self.__dict__.iteritems()]
19636
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19637
 
19638
  def __eq__(self, other):
19639
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19640
 
19641
  def __ne__(self, other):
19642
    return not (self == other)
19643
 
19644
class addupdateVoucherForItem_args:
19645
  """
19646
  Attributes:
19647
   - catalog_item_id
19648
   - voucherType
19649
   - voucherAmount
19650
  """
19651
 
19652
  thrift_spec = (
19653
    None, # 0
19654
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
19655
    (2, TType.I64, 'voucherType', None, None, ), # 2
19656
    (3, TType.I64, 'voucherAmount', None, None, ), # 3
19657
  )
19658
 
19659
  def __init__(self, catalog_item_id=None, voucherType=None, voucherAmount=None,):
19660
    self.catalog_item_id = catalog_item_id
19661
    self.voucherType = voucherType
19662
    self.voucherAmount = voucherAmount
19663
 
19664
  def read(self, iprot):
19665
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19666
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19667
      return
19668
    iprot.readStructBegin()
19669
    while True:
19670
      (fname, ftype, fid) = iprot.readFieldBegin()
19671
      if ftype == TType.STOP:
19672
        break
19673
      if fid == 1:
19674
        if ftype == TType.I64:
19675
          self.catalog_item_id = iprot.readI64();
19676
        else:
19677
          iprot.skip(ftype)
19678
      elif fid == 2:
19679
        if ftype == TType.I64:
19680
          self.voucherType = iprot.readI64();
19681
        else:
19682
          iprot.skip(ftype)
19683
      elif fid == 3:
19684
        if ftype == TType.I64:
19685
          self.voucherAmount = iprot.readI64();
19686
        else:
19687
          iprot.skip(ftype)
19688
      else:
19689
        iprot.skip(ftype)
19690
      iprot.readFieldEnd()
19691
    iprot.readStructEnd()
19692
 
19693
  def write(self, oprot):
19694
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19695
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19696
      return
19697
    oprot.writeStructBegin('addupdateVoucherForItem_args')
19698
    if self.catalog_item_id is not None:
19699
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
19700
      oprot.writeI64(self.catalog_item_id)
19701
      oprot.writeFieldEnd()
19702
    if self.voucherType is not None:
19703
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
19704
      oprot.writeI64(self.voucherType)
19705
      oprot.writeFieldEnd()
19706
    if self.voucherAmount is not None:
19707
      oprot.writeFieldBegin('voucherAmount', TType.I64, 3)
19708
      oprot.writeI64(self.voucherAmount)
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 addupdateVoucherForItem_result:
19729
  """
19730
  Attributes:
19731
   - success
19732
   - cex
19733
  """
19734
 
19735
  thrift_spec = (
19736
    (0, TType.BOOL, 'success', None, None, ), # 0
19737
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19738
  )
19739
 
19740
  def __init__(self, success=None, cex=None,):
19741
    self.success = success
19742
    self.cex = cex
19743
 
19744
  def read(self, iprot):
19745
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19746
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19747
      return
19748
    iprot.readStructBegin()
19749
    while True:
19750
      (fname, ftype, fid) = iprot.readFieldBegin()
19751
      if ftype == TType.STOP:
19752
        break
19753
      if fid == 0:
19754
        if ftype == TType.BOOL:
19755
          self.success = iprot.readBool();
19756
        else:
19757
          iprot.skip(ftype)
19758
      elif fid == 1:
19759
        if ftype == TType.STRUCT:
19760
          self.cex = CatalogServiceException()
19761
          self.cex.read(iprot)
19762
        else:
19763
          iprot.skip(ftype)
19764
      else:
19765
        iprot.skip(ftype)
19766
      iprot.readFieldEnd()
19767
    iprot.readStructEnd()
19768
 
19769
  def write(self, oprot):
19770
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19771
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19772
      return
19773
    oprot.writeStructBegin('addupdateVoucherForItem_result')
19774
    if self.success is not None:
19775
      oprot.writeFieldBegin('success', TType.BOOL, 0)
19776
      oprot.writeBool(self.success)
19777
      oprot.writeFieldEnd()
19778
    if self.cex is not None:
19779
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19780
      self.cex.write(oprot)
19781
      oprot.writeFieldEnd()
19782
    oprot.writeFieldStop()
19783
    oprot.writeStructEnd()
19784
 
19785
  def validate(self):
19786
    return
19787
 
19788
 
19789
  def __repr__(self):
19790
    L = ['%s=%r' % (key, value)
19791
      for key, value in self.__dict__.iteritems()]
19792
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19793
 
19794
  def __eq__(self, other):
19795
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19796
 
19797
  def __ne__(self, other):
19798
    return not (self == other)
19799
 
19800
class deleteVoucherForItem_args:
19801
  """
19802
  Attributes:
19803
   - catalog_item_id
19804
   - voucherType
19805
  """
19806
 
19807
  thrift_spec = (
19808
    None, # 0
19809
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
19810
    (2, TType.I64, 'voucherType', None, None, ), # 2
19811
  )
19812
 
19813
  def __init__(self, catalog_item_id=None, voucherType=None,):
19814
    self.catalog_item_id = catalog_item_id
19815
    self.voucherType = voucherType
19816
 
19817
  def read(self, iprot):
19818
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19819
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19820
      return
19821
    iprot.readStructBegin()
19822
    while True:
19823
      (fname, ftype, fid) = iprot.readFieldBegin()
19824
      if ftype == TType.STOP:
19825
        break
19826
      if fid == 1:
19827
        if ftype == TType.I64:
19828
          self.catalog_item_id = iprot.readI64();
19829
        else:
19830
          iprot.skip(ftype)
19831
      elif fid == 2:
19832
        if ftype == TType.I64:
19833
          self.voucherType = iprot.readI64();
19834
        else:
19835
          iprot.skip(ftype)
19836
      else:
19837
        iprot.skip(ftype)
19838
      iprot.readFieldEnd()
19839
    iprot.readStructEnd()
19840
 
19841
  def write(self, oprot):
19842
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19843
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19844
      return
19845
    oprot.writeStructBegin('deleteVoucherForItem_args')
19846
    if self.catalog_item_id is not None:
19847
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
19848
      oprot.writeI64(self.catalog_item_id)
19849
      oprot.writeFieldEnd()
19850
    if self.voucherType is not None:
19851
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
19852
      oprot.writeI64(self.voucherType)
19853
      oprot.writeFieldEnd()
19854
    oprot.writeFieldStop()
19855
    oprot.writeStructEnd()
19856
 
19857
  def validate(self):
19858
    return
19859
 
19860
 
19861
  def __repr__(self):
19862
    L = ['%s=%r' % (key, value)
19863
      for key, value in self.__dict__.iteritems()]
19864
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19865
 
19866
  def __eq__(self, other):
19867
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19868
 
19869
  def __ne__(self, other):
19870
    return not (self == other)
19871
 
19872
class deleteVoucherForItem_result:
19873
  """
19874
  Attributes:
19875
   - success
19876
   - cex
19877
  """
19878
 
19879
  thrift_spec = (
19880
    (0, TType.BOOL, 'success', None, None, ), # 0
19881
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
19882
  )
19883
 
19884
  def __init__(self, success=None, cex=None,):
19885
    self.success = success
19886
    self.cex = cex
19887
 
19888
  def read(self, iprot):
19889
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19890
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19891
      return
19892
    iprot.readStructBegin()
19893
    while True:
19894
      (fname, ftype, fid) = iprot.readFieldBegin()
19895
      if ftype == TType.STOP:
19896
        break
19897
      if fid == 0:
19898
        if ftype == TType.BOOL:
19899
          self.success = iprot.readBool();
19900
        else:
19901
          iprot.skip(ftype)
19902
      elif fid == 1:
19903
        if ftype == TType.STRUCT:
19904
          self.cex = CatalogServiceException()
19905
          self.cex.read(iprot)
19906
        else:
19907
          iprot.skip(ftype)
19908
      else:
19909
        iprot.skip(ftype)
19910
      iprot.readFieldEnd()
19911
    iprot.readStructEnd()
19912
 
19913
  def write(self, oprot):
19914
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19915
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19916
      return
19917
    oprot.writeStructBegin('deleteVoucherForItem_result')
19918
    if self.success is not None:
19919
      oprot.writeFieldBegin('success', TType.BOOL, 0)
19920
      oprot.writeBool(self.success)
19921
      oprot.writeFieldEnd()
19922
    if self.cex is not None:
19923
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
19924
      self.cex.write(oprot)
19925
      oprot.writeFieldEnd()
19926
    oprot.writeFieldStop()
19927
    oprot.writeStructEnd()
19928
 
19929
  def validate(self):
19930
    return
19931
 
19932
 
19933
  def __repr__(self):
19934
    L = ['%s=%r' % (key, value)
19935
      for key, value in self.__dict__.iteritems()]
19936
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
19937
 
19938
  def __eq__(self, other):
19939
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
19940
 
19941
  def __ne__(self, other):
19942
    return not (self == other)
19943
 
19944
class getVoucherAmount_args:
19945
  """
19946
  Attributes:
19947
   - itemId
19948
   - voucherType
19949
  """
19950
 
19951
  thrift_spec = (
19952
    None, # 0
19953
    (1, TType.I64, 'itemId', None, None, ), # 1
19954
    (2, TType.I64, 'voucherType', None, None, ), # 2
19955
  )
19956
 
19957
  def __init__(self, itemId=None, voucherType=None,):
19958
    self.itemId = itemId
19959
    self.voucherType = voucherType
19960
 
19961
  def read(self, iprot):
19962
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
19963
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
19964
      return
19965
    iprot.readStructBegin()
19966
    while True:
19967
      (fname, ftype, fid) = iprot.readFieldBegin()
19968
      if ftype == TType.STOP:
19969
        break
19970
      if fid == 1:
19971
        if ftype == TType.I64:
19972
          self.itemId = iprot.readI64();
19973
        else:
19974
          iprot.skip(ftype)
19975
      elif fid == 2:
19976
        if ftype == TType.I64:
19977
          self.voucherType = iprot.readI64();
19978
        else:
19979
          iprot.skip(ftype)
19980
      else:
19981
        iprot.skip(ftype)
19982
      iprot.readFieldEnd()
19983
    iprot.readStructEnd()
19984
 
19985
  def write(self, oprot):
19986
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
19987
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
19988
      return
19989
    oprot.writeStructBegin('getVoucherAmount_args')
19990
    if self.itemId is not None:
19991
      oprot.writeFieldBegin('itemId', TType.I64, 1)
19992
      oprot.writeI64(self.itemId)
19993
      oprot.writeFieldEnd()
19994
    if self.voucherType is not None:
19995
      oprot.writeFieldBegin('voucherType', TType.I64, 2)
19996
      oprot.writeI64(self.voucherType)
19997
      oprot.writeFieldEnd()
19998
    oprot.writeFieldStop()
19999
    oprot.writeStructEnd()
20000
 
20001
  def validate(self):
20002
    return
20003
 
20004
 
20005
  def __repr__(self):
20006
    L = ['%s=%r' % (key, value)
20007
      for key, value in self.__dict__.iteritems()]
20008
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20009
 
20010
  def __eq__(self, other):
20011
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20012
 
20013
  def __ne__(self, other):
20014
    return not (self == other)
20015
 
20016
class getVoucherAmount_result:
20017
  """
20018
  Attributes:
20019
   - success
20020
  """
20021
 
20022
  thrift_spec = (
20023
    (0, TType.I64, 'success', None, None, ), # 0
20024
  )
20025
 
20026
  def __init__(self, success=None,):
20027
    self.success = success
20028
 
20029
  def read(self, iprot):
20030
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20031
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20032
      return
20033
    iprot.readStructBegin()
20034
    while True:
20035
      (fname, ftype, fid) = iprot.readFieldBegin()
20036
      if ftype == TType.STOP:
20037
        break
20038
      if fid == 0:
20039
        if ftype == TType.I64:
20040
          self.success = iprot.readI64();
20041
        else:
20042
          iprot.skip(ftype)
20043
      else:
20044
        iprot.skip(ftype)
20045
      iprot.readFieldEnd()
20046
    iprot.readStructEnd()
20047
 
20048
  def write(self, oprot):
20049
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20050
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20051
      return
20052
    oprot.writeStructBegin('getVoucherAmount_result')
20053
    if self.success is not None:
20054
      oprot.writeFieldBegin('success', TType.I64, 0)
20055
      oprot.writeI64(self.success)
20056
      oprot.writeFieldEnd()
20057
    oprot.writeFieldStop()
20058
    oprot.writeStructEnd()
20059
 
20060
  def validate(self):
20061
    return
20062
 
20063
 
20064
  def __repr__(self):
20065
    L = ['%s=%r' % (key, value)
20066
      for key, value in self.__dict__.iteritems()]
20067
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20068
 
20069
  def __eq__(self, other):
20070
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20071
 
20072
  def __ne__(self, other):
20073
    return not (self == other)
20074
 
20075
class getAllItemVouchers_args:
20076
  """
20077
  Attributes:
20078
   - itemId
20079
  """
20080
 
20081
  thrift_spec = (
20082
    None, # 0
20083
    (1, TType.I64, 'itemId', None, None, ), # 1
20084
  )
20085
 
20086
  def __init__(self, itemId=None,):
20087
    self.itemId = itemId
20088
 
20089
  def read(self, iprot):
20090
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20091
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20092
      return
20093
    iprot.readStructBegin()
20094
    while True:
20095
      (fname, ftype, fid) = iprot.readFieldBegin()
20096
      if ftype == TType.STOP:
20097
        break
20098
      if fid == 1:
20099
        if ftype == TType.I64:
20100
          self.itemId = iprot.readI64();
20101
        else:
20102
          iprot.skip(ftype)
20103
      else:
20104
        iprot.skip(ftype)
20105
      iprot.readFieldEnd()
20106
    iprot.readStructEnd()
20107
 
20108
  def write(self, oprot):
20109
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20110
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20111
      return
20112
    oprot.writeStructBegin('getAllItemVouchers_args')
20113
    if self.itemId is not None:
20114
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20115
      oprot.writeI64(self.itemId)
20116
      oprot.writeFieldEnd()
20117
    oprot.writeFieldStop()
20118
    oprot.writeStructEnd()
20119
 
20120
  def validate(self):
20121
    return
20122
 
20123
 
20124
  def __repr__(self):
20125
    L = ['%s=%r' % (key, value)
20126
      for key, value in self.__dict__.iteritems()]
20127
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20128
 
20129
  def __eq__(self, other):
20130
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20131
 
20132
  def __ne__(self, other):
20133
    return not (self == other)
20134
 
20135
class getAllItemVouchers_result:
20136
  """
20137
  Attributes:
20138
   - success
20139
  """
20140
 
20141
  thrift_spec = (
20142
    (0, TType.LIST, 'success', (TType.STRUCT,(VoucherItemMapping, VoucherItemMapping.thrift_spec)), None, ), # 0
20143
  )
20144
 
20145
  def __init__(self, success=None,):
20146
    self.success = success
20147
 
20148
  def read(self, iprot):
20149
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20150
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20151
      return
20152
    iprot.readStructBegin()
20153
    while True:
20154
      (fname, ftype, fid) = iprot.readFieldBegin()
20155
      if ftype == TType.STOP:
20156
        break
20157
      if fid == 0:
20158
        if ftype == TType.LIST:
20159
          self.success = []
12567 amit.gupta 20160
          (_etype372, _size369) = iprot.readListBegin()
20161
          for _i373 in xrange(_size369):
20162
            _elem374 = VoucherItemMapping()
20163
            _elem374.read(iprot)
20164
            self.success.append(_elem374)
5944 mandeep.dh 20165
          iprot.readListEnd()
20166
        else:
20167
          iprot.skip(ftype)
20168
      else:
20169
        iprot.skip(ftype)
20170
      iprot.readFieldEnd()
20171
    iprot.readStructEnd()
20172
 
20173
  def write(self, oprot):
20174
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20175
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20176
      return
20177
    oprot.writeStructBegin('getAllItemVouchers_result')
20178
    if self.success is not None:
20179
      oprot.writeFieldBegin('success', TType.LIST, 0)
20180
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 20181
      for iter375 in self.success:
20182
        iter375.write(oprot)
5944 mandeep.dh 20183
      oprot.writeListEnd()
20184
      oprot.writeFieldEnd()
20185
    oprot.writeFieldStop()
20186
    oprot.writeStructEnd()
20187
 
20188
  def validate(self):
20189
    return
20190
 
20191
 
20192
  def __repr__(self):
20193
    L = ['%s=%r' % (key, value)
20194
      for key, value in self.__dict__.iteritems()]
20195
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20196
 
20197
  def __eq__(self, other):
20198
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20199
 
20200
  def __ne__(self, other):
20201
    return not (self == other)
20202
 
20203
class isValidCatalogItemId_args:
20204
  """
20205
  Attributes:
20206
   - catalog_item_id
20207
  """
20208
 
20209
  thrift_spec = (
20210
    None, # 0
20211
    (1, TType.I64, 'catalog_item_id', None, None, ), # 1
20212
  )
20213
 
20214
  def __init__(self, catalog_item_id=None,):
20215
    self.catalog_item_id = catalog_item_id
20216
 
20217
  def read(self, iprot):
20218
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20219
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20220
      return
20221
    iprot.readStructBegin()
20222
    while True:
20223
      (fname, ftype, fid) = iprot.readFieldBegin()
20224
      if ftype == TType.STOP:
20225
        break
20226
      if fid == 1:
20227
        if ftype == TType.I64:
20228
          self.catalog_item_id = iprot.readI64();
20229
        else:
20230
          iprot.skip(ftype)
20231
      else:
20232
        iprot.skip(ftype)
20233
      iprot.readFieldEnd()
20234
    iprot.readStructEnd()
20235
 
20236
  def write(self, oprot):
20237
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20238
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20239
      return
20240
    oprot.writeStructBegin('isValidCatalogItemId_args')
20241
    if self.catalog_item_id is not None:
20242
      oprot.writeFieldBegin('catalog_item_id', TType.I64, 1)
20243
      oprot.writeI64(self.catalog_item_id)
20244
      oprot.writeFieldEnd()
20245
    oprot.writeFieldStop()
20246
    oprot.writeStructEnd()
20247
 
20248
  def validate(self):
20249
    return
20250
 
20251
 
20252
  def __repr__(self):
20253
    L = ['%s=%r' % (key, value)
20254
      for key, value in self.__dict__.iteritems()]
20255
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20256
 
20257
  def __eq__(self, other):
20258
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20259
 
20260
  def __ne__(self, other):
20261
    return not (self == other)
20262
 
20263
class isValidCatalogItemId_result:
20264
  """
20265
  Attributes:
20266
   - success
20267
  """
20268
 
20269
  thrift_spec = (
20270
    (0, TType.BOOL, 'success', None, None, ), # 0
20271
  )
20272
 
20273
  def __init__(self, success=None,):
20274
    self.success = success
20275
 
20276
  def read(self, iprot):
20277
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20278
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20279
      return
20280
    iprot.readStructBegin()
20281
    while True:
20282
      (fname, ftype, fid) = iprot.readFieldBegin()
20283
      if ftype == TType.STOP:
20284
        break
20285
      if fid == 0:
20286
        if ftype == TType.BOOL:
20287
          self.success = iprot.readBool();
20288
        else:
20289
          iprot.skip(ftype)
20290
      else:
20291
        iprot.skip(ftype)
20292
      iprot.readFieldEnd()
20293
    iprot.readStructEnd()
20294
 
20295
  def write(self, oprot):
20296
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20297
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20298
      return
20299
    oprot.writeStructBegin('isValidCatalogItemId_result')
20300
    if self.success is not None:
20301
      oprot.writeFieldBegin('success', TType.BOOL, 0)
20302
      oprot.writeBool(self.success)
20303
      oprot.writeFieldEnd()
20304
    oprot.writeFieldStop()
20305
    oprot.writeStructEnd()
20306
 
20307
  def validate(self):
20308
    return
20309
 
20310
 
20311
  def __repr__(self):
20312
    L = ['%s=%r' % (key, value)
20313
      for key, value in self.__dict__.iteritems()]
20314
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20315
 
20316
  def __eq__(self, other):
20317
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20318
 
20319
  def __ne__(self, other):
20320
    return not (self == other)
6039 amit.gupta 20321
 
20322
class getVatPercentageForItem_args:
20323
  """
20324
  Attributes:
20325
   - itemId
7330 amit.gupta 20326
   - stateId
6039 amit.gupta 20327
   - price
20328
  """
20329
 
20330
  thrift_spec = (
20331
    None, # 0
20332
    (1, TType.I64, 'itemId', None, None, ), # 1
7330 amit.gupta 20333
    (2, TType.I64, 'stateId', None, None, ), # 2
20334
    (3, TType.DOUBLE, 'price', None, None, ), # 3
6039 amit.gupta 20335
  )
20336
 
7330 amit.gupta 20337
  def __init__(self, itemId=None, stateId=None, price=None,):
6039 amit.gupta 20338
    self.itemId = itemId
7330 amit.gupta 20339
    self.stateId = stateId
6039 amit.gupta 20340
    self.price = price
20341
 
20342
  def read(self, iprot):
20343
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20344
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20345
      return
20346
    iprot.readStructBegin()
20347
    while True:
20348
      (fname, ftype, fid) = iprot.readFieldBegin()
20349
      if ftype == TType.STOP:
20350
        break
20351
      if fid == 1:
20352
        if ftype == TType.I64:
20353
          self.itemId = iprot.readI64();
20354
        else:
20355
          iprot.skip(ftype)
20356
      elif fid == 2:
7330 amit.gupta 20357
        if ftype == TType.I64:
20358
          self.stateId = iprot.readI64();
20359
        else:
20360
          iprot.skip(ftype)
20361
      elif fid == 3:
6039 amit.gupta 20362
        if ftype == TType.DOUBLE:
20363
          self.price = iprot.readDouble();
20364
        else:
20365
          iprot.skip(ftype)
20366
      else:
20367
        iprot.skip(ftype)
20368
      iprot.readFieldEnd()
20369
    iprot.readStructEnd()
20370
 
20371
  def write(self, oprot):
20372
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20373
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20374
      return
20375
    oprot.writeStructBegin('getVatPercentageForItem_args')
20376
    if self.itemId is not None:
20377
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20378
      oprot.writeI64(self.itemId)
20379
      oprot.writeFieldEnd()
7330 amit.gupta 20380
    if self.stateId is not None:
20381
      oprot.writeFieldBegin('stateId', TType.I64, 2)
20382
      oprot.writeI64(self.stateId)
20383
      oprot.writeFieldEnd()
6039 amit.gupta 20384
    if self.price is not None:
7330 amit.gupta 20385
      oprot.writeFieldBegin('price', TType.DOUBLE, 3)
6039 amit.gupta 20386
      oprot.writeDouble(self.price)
20387
      oprot.writeFieldEnd()
20388
    oprot.writeFieldStop()
20389
    oprot.writeStructEnd()
20390
 
20391
  def validate(self):
20392
    return
20393
 
20394
 
20395
  def __repr__(self):
20396
    L = ['%s=%r' % (key, value)
20397
      for key, value in self.__dict__.iteritems()]
20398
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20399
 
20400
  def __eq__(self, other):
20401
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20402
 
20403
  def __ne__(self, other):
20404
    return not (self == other)
20405
 
20406
class getVatPercentageForItem_result:
20407
  """
20408
  Attributes:
20409
   - success
7340 amit.gupta 20410
   - cex
6039 amit.gupta 20411
  """
20412
 
20413
  thrift_spec = (
20414
    (0, TType.DOUBLE, 'success', None, None, ), # 0
7340 amit.gupta 20415
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
6039 amit.gupta 20416
  )
20417
 
7340 amit.gupta 20418
  def __init__(self, success=None, cex=None,):
6039 amit.gupta 20419
    self.success = success
7340 amit.gupta 20420
    self.cex = cex
6039 amit.gupta 20421
 
20422
  def read(self, iprot):
20423
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20424
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20425
      return
20426
    iprot.readStructBegin()
20427
    while True:
20428
      (fname, ftype, fid) = iprot.readFieldBegin()
20429
      if ftype == TType.STOP:
20430
        break
20431
      if fid == 0:
20432
        if ftype == TType.DOUBLE:
20433
          self.success = iprot.readDouble();
20434
        else:
20435
          iprot.skip(ftype)
7340 amit.gupta 20436
      elif fid == 1:
20437
        if ftype == TType.STRUCT:
20438
          self.cex = CatalogServiceException()
20439
          self.cex.read(iprot)
20440
        else:
20441
          iprot.skip(ftype)
6039 amit.gupta 20442
      else:
20443
        iprot.skip(ftype)
20444
      iprot.readFieldEnd()
20445
    iprot.readStructEnd()
20446
 
20447
  def write(self, oprot):
20448
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20449
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20450
      return
20451
    oprot.writeStructBegin('getVatPercentageForItem_result')
20452
    if self.success is not None:
20453
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
20454
      oprot.writeDouble(self.success)
20455
      oprot.writeFieldEnd()
7340 amit.gupta 20456
    if self.cex is not None:
20457
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
20458
      self.cex.write(oprot)
20459
      oprot.writeFieldEnd()
6039 amit.gupta 20460
    oprot.writeFieldStop()
20461
    oprot.writeStructEnd()
20462
 
20463
  def validate(self):
20464
    return
20465
 
20466
 
20467
  def __repr__(self):
20468
    L = ['%s=%r' % (key, value)
20469
      for key, value in self.__dict__.iteritems()]
20470
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20471
 
20472
  def __eq__(self, other):
20473
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20474
 
20475
  def __ne__(self, other):
20476
    return not (self == other)
20477
 
20478
class getVatAmountForItem_args:
20479
  """
20480
  Attributes:
20481
   - itemId
20482
   - price
20483
  """
20484
 
20485
  thrift_spec = (
20486
    None, # 0
20487
    (1, TType.I64, 'itemId', None, None, ), # 1
20488
    (2, TType.DOUBLE, 'price', None, None, ), # 2
20489
  )
20490
 
20491
  def __init__(self, itemId=None, price=None,):
20492
    self.itemId = itemId
20493
    self.price = price
20494
 
20495
  def read(self, iprot):
20496
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20497
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20498
      return
20499
    iprot.readStructBegin()
20500
    while True:
20501
      (fname, ftype, fid) = iprot.readFieldBegin()
20502
      if ftype == TType.STOP:
20503
        break
20504
      if fid == 1:
20505
        if ftype == TType.I64:
20506
          self.itemId = iprot.readI64();
20507
        else:
20508
          iprot.skip(ftype)
20509
      elif fid == 2:
20510
        if ftype == TType.DOUBLE:
20511
          self.price = iprot.readDouble();
20512
        else:
20513
          iprot.skip(ftype)
20514
      else:
20515
        iprot.skip(ftype)
20516
      iprot.readFieldEnd()
20517
    iprot.readStructEnd()
20518
 
20519
  def write(self, oprot):
20520
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20521
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20522
      return
20523
    oprot.writeStructBegin('getVatAmountForItem_args')
20524
    if self.itemId is not None:
20525
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20526
      oprot.writeI64(self.itemId)
20527
      oprot.writeFieldEnd()
20528
    if self.price is not None:
20529
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
20530
      oprot.writeDouble(self.price)
20531
      oprot.writeFieldEnd()
20532
    oprot.writeFieldStop()
20533
    oprot.writeStructEnd()
20534
 
20535
  def validate(self):
20536
    return
20537
 
20538
 
20539
  def __repr__(self):
20540
    L = ['%s=%r' % (key, value)
20541
      for key, value in self.__dict__.iteritems()]
20542
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20543
 
20544
  def __eq__(self, other):
20545
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20546
 
20547
  def __ne__(self, other):
20548
    return not (self == other)
20549
 
20550
class getVatAmountForItem_result:
20551
  """
20552
  Attributes:
20553
   - success
20554
  """
20555
 
20556
  thrift_spec = (
20557
    (0, TType.DOUBLE, 'success', None, None, ), # 0
20558
  )
20559
 
20560
  def __init__(self, success=None,):
20561
    self.success = success
20562
 
20563
  def read(self, iprot):
20564
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20565
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20566
      return
20567
    iprot.readStructBegin()
20568
    while True:
20569
      (fname, ftype, fid) = iprot.readFieldBegin()
20570
      if ftype == TType.STOP:
20571
        break
20572
      if fid == 0:
20573
        if ftype == TType.DOUBLE:
20574
          self.success = iprot.readDouble();
20575
        else:
20576
          iprot.skip(ftype)
20577
      else:
20578
        iprot.skip(ftype)
20579
      iprot.readFieldEnd()
20580
    iprot.readStructEnd()
20581
 
20582
  def write(self, oprot):
20583
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20584
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20585
      return
20586
    oprot.writeStructBegin('getVatAmountForItem_result')
20587
    if self.success is not None:
20588
      oprot.writeFieldBegin('success', TType.DOUBLE, 0)
20589
      oprot.writeDouble(self.success)
20590
      oprot.writeFieldEnd()
20591
    oprot.writeFieldStop()
20592
    oprot.writeStructEnd()
20593
 
20594
  def validate(self):
20595
    return
20596
 
20597
 
20598
  def __repr__(self):
20599
    L = ['%s=%r' % (key, value)
20600
      for key, value in self.__dict__.iteritems()]
20601
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20602
 
20603
  def __eq__(self, other):
20604
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20605
 
20606
  def __ne__(self, other):
20607
    return not (self == other)
6531 vikram.rag 20608
 
20609
class getAllIgnoredInventoryUpdateItemsList_args:
20610
  """
20611
  Attributes:
20612
   - offset
20613
   - limit
20614
  """
20615
 
20616
  thrift_spec = (
20617
    None, # 0
20618
    (1, TType.I32, 'offset', None, None, ), # 1
20619
    (2, TType.I32, 'limit', None, None, ), # 2
20620
  )
20621
 
20622
  def __init__(self, offset=None, limit=None,):
20623
    self.offset = offset
20624
    self.limit = limit
20625
 
20626
  def read(self, iprot):
20627
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20628
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20629
      return
20630
    iprot.readStructBegin()
20631
    while True:
20632
      (fname, ftype, fid) = iprot.readFieldBegin()
20633
      if ftype == TType.STOP:
20634
        break
20635
      if fid == 1:
20636
        if ftype == TType.I32:
20637
          self.offset = iprot.readI32();
20638
        else:
20639
          iprot.skip(ftype)
20640
      elif fid == 2:
20641
        if ftype == TType.I32:
20642
          self.limit = iprot.readI32();
20643
        else:
20644
          iprot.skip(ftype)
20645
      else:
20646
        iprot.skip(ftype)
20647
      iprot.readFieldEnd()
20648
    iprot.readStructEnd()
20649
 
20650
  def write(self, oprot):
20651
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20652
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20653
      return
20654
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_args')
20655
    if self.offset is not None:
20656
      oprot.writeFieldBegin('offset', TType.I32, 1)
20657
      oprot.writeI32(self.offset)
20658
      oprot.writeFieldEnd()
20659
    if self.limit is not None:
20660
      oprot.writeFieldBegin('limit', TType.I32, 2)
20661
      oprot.writeI32(self.limit)
20662
      oprot.writeFieldEnd()
20663
    oprot.writeFieldStop()
20664
    oprot.writeStructEnd()
20665
 
20666
  def validate(self):
20667
    return
20668
 
20669
 
20670
  def __repr__(self):
20671
    L = ['%s=%r' % (key, value)
20672
      for key, value in self.__dict__.iteritems()]
20673
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20674
 
20675
  def __eq__(self, other):
20676
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20677
 
20678
  def __ne__(self, other):
20679
    return not (self == other)
20680
 
20681
class getAllIgnoredInventoryUpdateItemsList_result:
20682
  """
20683
  Attributes:
20684
   - success
20685
  """
20686
 
20687
  thrift_spec = (
20688
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
20689
  )
20690
 
20691
  def __init__(self, success=None,):
20692
    self.success = success
20693
 
20694
  def read(self, iprot):
20695
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20696
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20697
      return
20698
    iprot.readStructBegin()
20699
    while True:
20700
      (fname, ftype, fid) = iprot.readFieldBegin()
20701
      if ftype == TType.STOP:
20702
        break
20703
      if fid == 0:
20704
        if ftype == TType.LIST:
20705
          self.success = []
12567 amit.gupta 20706
          (_etype379, _size376) = iprot.readListBegin()
20707
          for _i380 in xrange(_size376):
20708
            _elem381 = Item()
20709
            _elem381.read(iprot)
20710
            self.success.append(_elem381)
6531 vikram.rag 20711
          iprot.readListEnd()
20712
        else:
20713
          iprot.skip(ftype)
20714
      else:
20715
        iprot.skip(ftype)
20716
      iprot.readFieldEnd()
20717
    iprot.readStructEnd()
20718
 
20719
  def write(self, oprot):
20720
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20721
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20722
      return
20723
    oprot.writeStructBegin('getAllIgnoredInventoryUpdateItemsList_result')
20724
    if self.success is not None:
20725
      oprot.writeFieldBegin('success', TType.LIST, 0)
20726
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 20727
      for iter382 in self.success:
20728
        iter382.write(oprot)
6531 vikram.rag 20729
      oprot.writeListEnd()
20730
      oprot.writeFieldEnd()
20731
    oprot.writeFieldStop()
20732
    oprot.writeStructEnd()
20733
 
20734
  def validate(self):
20735
    return
20736
 
20737
 
20738
  def __repr__(self):
20739
    L = ['%s=%r' % (key, value)
20740
      for key, value in self.__dict__.iteritems()]
20741
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20742
 
20743
  def __eq__(self, other):
20744
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20745
 
20746
  def __ne__(self, other):
20747
    return not (self == other)
6805 anupam.sin 20748
 
6821 amar.kumar 20749
class getAllAliveItems_args:
20750
 
20751
  thrift_spec = (
20752
  )
20753
 
20754
  def read(self, iprot):
20755
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20756
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20757
      return
20758
    iprot.readStructBegin()
20759
    while True:
20760
      (fname, ftype, fid) = iprot.readFieldBegin()
20761
      if ftype == TType.STOP:
20762
        break
20763
      else:
20764
        iprot.skip(ftype)
20765
      iprot.readFieldEnd()
20766
    iprot.readStructEnd()
20767
 
20768
  def write(self, oprot):
20769
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20770
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20771
      return
20772
    oprot.writeStructBegin('getAllAliveItems_args')
20773
    oprot.writeFieldStop()
20774
    oprot.writeStructEnd()
20775
 
20776
  def validate(self):
20777
    return
20778
 
20779
 
20780
  def __repr__(self):
20781
    L = ['%s=%r' % (key, value)
20782
      for key, value in self.__dict__.iteritems()]
20783
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20784
 
20785
  def __eq__(self, other):
20786
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20787
 
20788
  def __ne__(self, other):
20789
    return not (self == other)
20790
 
20791
class getAllAliveItems_result:
20792
  """
20793
  Attributes:
20794
   - success
20795
  """
20796
 
20797
  thrift_spec = (
20798
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
20799
  )
20800
 
20801
  def __init__(self, success=None,):
20802
    self.success = success
20803
 
20804
  def read(self, iprot):
20805
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20806
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20807
      return
20808
    iprot.readStructBegin()
20809
    while True:
20810
      (fname, ftype, fid) = iprot.readFieldBegin()
20811
      if ftype == TType.STOP:
20812
        break
20813
      if fid == 0:
20814
        if ftype == TType.LIST:
20815
          self.success = []
12567 amit.gupta 20816
          (_etype386, _size383) = iprot.readListBegin()
20817
          for _i387 in xrange(_size383):
20818
            _elem388 = Item()
20819
            _elem388.read(iprot)
20820
            self.success.append(_elem388)
6821 amar.kumar 20821
          iprot.readListEnd()
20822
        else:
20823
          iprot.skip(ftype)
20824
      else:
20825
        iprot.skip(ftype)
20826
      iprot.readFieldEnd()
20827
    iprot.readStructEnd()
20828
 
20829
  def write(self, oprot):
20830
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20831
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20832
      return
20833
    oprot.writeStructBegin('getAllAliveItems_result')
20834
    if self.success is not None:
20835
      oprot.writeFieldBegin('success', TType.LIST, 0)
20836
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 20837
      for iter389 in self.success:
20838
        iter389.write(oprot)
6821 amar.kumar 20839
      oprot.writeListEnd()
20840
      oprot.writeFieldEnd()
20841
    oprot.writeFieldStop()
20842
    oprot.writeStructEnd()
20843
 
20844
  def validate(self):
20845
    return
20846
 
20847
 
20848
  def __repr__(self):
20849
    L = ['%s=%r' % (key, value)
20850
      for key, value in self.__dict__.iteritems()]
20851
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20852
 
20853
  def __eq__(self, other):
20854
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20855
 
20856
  def __ne__(self, other):
20857
    return not (self == other)
20858
 
6805 anupam.sin 20859
class getInsuranceAmount_args:
20860
  """
20861
  Attributes:
20862
   - itemId
6921 anupam.sin 20863
   - price
6805 anupam.sin 20864
   - insurerId
20865
   - quantity
20866
  """
20867
 
20868
  thrift_spec = (
20869
    None, # 0
20870
    (1, TType.I64, 'itemId', None, None, ), # 1
6921 anupam.sin 20871
    (2, TType.DOUBLE, 'price', None, None, ), # 2
20872
    (3, TType.I64, 'insurerId', None, None, ), # 3
20873
    (4, TType.I64, 'quantity', None, None, ), # 4
6805 anupam.sin 20874
  )
20875
 
6921 anupam.sin 20876
  def __init__(self, itemId=None, price=None, insurerId=None, quantity=None,):
6805 anupam.sin 20877
    self.itemId = itemId
6921 anupam.sin 20878
    self.price = price
6805 anupam.sin 20879
    self.insurerId = insurerId
20880
    self.quantity = quantity
20881
 
20882
  def read(self, iprot):
20883
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20884
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20885
      return
20886
    iprot.readStructBegin()
20887
    while True:
20888
      (fname, ftype, fid) = iprot.readFieldBegin()
20889
      if ftype == TType.STOP:
20890
        break
20891
      if fid == 1:
20892
        if ftype == TType.I64:
20893
          self.itemId = iprot.readI64();
20894
        else:
20895
          iprot.skip(ftype)
20896
      elif fid == 2:
6921 anupam.sin 20897
        if ftype == TType.DOUBLE:
20898
          self.price = iprot.readDouble();
20899
        else:
20900
          iprot.skip(ftype)
20901
      elif fid == 3:
6805 anupam.sin 20902
        if ftype == TType.I64:
20903
          self.insurerId = iprot.readI64();
20904
        else:
20905
          iprot.skip(ftype)
6921 anupam.sin 20906
      elif fid == 4:
6805 anupam.sin 20907
        if ftype == TType.I64:
20908
          self.quantity = iprot.readI64();
20909
        else:
20910
          iprot.skip(ftype)
20911
      else:
20912
        iprot.skip(ftype)
20913
      iprot.readFieldEnd()
20914
    iprot.readStructEnd()
20915
 
20916
  def write(self, oprot):
20917
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20918
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20919
      return
20920
    oprot.writeStructBegin('getInsuranceAmount_args')
20921
    if self.itemId is not None:
20922
      oprot.writeFieldBegin('itemId', TType.I64, 1)
20923
      oprot.writeI64(self.itemId)
20924
      oprot.writeFieldEnd()
6921 anupam.sin 20925
    if self.price is not None:
20926
      oprot.writeFieldBegin('price', TType.DOUBLE, 2)
20927
      oprot.writeDouble(self.price)
20928
      oprot.writeFieldEnd()
6805 anupam.sin 20929
    if self.insurerId is not None:
6921 anupam.sin 20930
      oprot.writeFieldBegin('insurerId', TType.I64, 3)
6805 anupam.sin 20931
      oprot.writeI64(self.insurerId)
20932
      oprot.writeFieldEnd()
20933
    if self.quantity is not None:
6921 anupam.sin 20934
      oprot.writeFieldBegin('quantity', TType.I64, 4)
6805 anupam.sin 20935
      oprot.writeI64(self.quantity)
20936
      oprot.writeFieldEnd()
20937
    oprot.writeFieldStop()
20938
    oprot.writeStructEnd()
20939
 
20940
  def validate(self):
20941
    return
20942
 
20943
 
20944
  def __repr__(self):
20945
    L = ['%s=%r' % (key, value)
20946
      for key, value in self.__dict__.iteritems()]
20947
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
20948
 
20949
  def __eq__(self, other):
20950
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
20951
 
20952
  def __ne__(self, other):
20953
    return not (self == other)
20954
 
20955
class getInsuranceAmount_result:
20956
  """
20957
  Attributes:
20958
   - success
20959
  """
20960
 
20961
  thrift_spec = (
20962
    (0, TType.I64, 'success', None, None, ), # 0
20963
  )
20964
 
20965
  def __init__(self, success=None,):
20966
    self.success = success
20967
 
20968
  def read(self, iprot):
20969
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
20970
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
20971
      return
20972
    iprot.readStructBegin()
20973
    while True:
20974
      (fname, ftype, fid) = iprot.readFieldBegin()
20975
      if ftype == TType.STOP:
20976
        break
20977
      if fid == 0:
20978
        if ftype == TType.I64:
20979
          self.success = iprot.readI64();
20980
        else:
20981
          iprot.skip(ftype)
20982
      else:
20983
        iprot.skip(ftype)
20984
      iprot.readFieldEnd()
20985
    iprot.readStructEnd()
20986
 
20987
  def write(self, oprot):
20988
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
20989
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
20990
      return
20991
    oprot.writeStructBegin('getInsuranceAmount_result')
20992
    if self.success is not None:
20993
      oprot.writeFieldBegin('success', TType.I64, 0)
20994
      oprot.writeI64(self.success)
20995
      oprot.writeFieldEnd()
20996
    oprot.writeFieldStop()
20997
    oprot.writeStructEnd()
20998
 
20999
  def validate(self):
21000
    return
21001
 
21002
 
21003
  def __repr__(self):
21004
    L = ['%s=%r' % (key, value)
21005
      for key, value in self.__dict__.iteritems()]
21006
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21007
 
21008
  def __eq__(self, other):
21009
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21010
 
21011
  def __ne__(self, other):
21012
    return not (self == other)
21013
 
21014
class getInsurer_args:
21015
  """
21016
  Attributes:
21017
   - insurerId
21018
  """
21019
 
21020
  thrift_spec = (
21021
    None, # 0
21022
    (1, TType.I64, 'insurerId', None, None, ), # 1
21023
  )
21024
 
21025
  def __init__(self, insurerId=None,):
21026
    self.insurerId = insurerId
21027
 
21028
  def read(self, iprot):
21029
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21030
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21031
      return
21032
    iprot.readStructBegin()
21033
    while True:
21034
      (fname, ftype, fid) = iprot.readFieldBegin()
21035
      if ftype == TType.STOP:
21036
        break
21037
      if fid == 1:
21038
        if ftype == TType.I64:
21039
          self.insurerId = iprot.readI64();
21040
        else:
21041
          iprot.skip(ftype)
21042
      else:
21043
        iprot.skip(ftype)
21044
      iprot.readFieldEnd()
21045
    iprot.readStructEnd()
21046
 
21047
  def write(self, oprot):
21048
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21049
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21050
      return
21051
    oprot.writeStructBegin('getInsurer_args')
21052
    if self.insurerId is not None:
21053
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
21054
      oprot.writeI64(self.insurerId)
21055
      oprot.writeFieldEnd()
21056
    oprot.writeFieldStop()
21057
    oprot.writeStructEnd()
21058
 
21059
  def validate(self):
21060
    return
21061
 
21062
 
21063
  def __repr__(self):
21064
    L = ['%s=%r' % (key, value)
21065
      for key, value in self.__dict__.iteritems()]
21066
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21067
 
21068
  def __eq__(self, other):
21069
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21070
 
21071
  def __ne__(self, other):
21072
    return not (self == other)
21073
 
21074
class getInsurer_result:
21075
  """
21076
  Attributes:
21077
   - success
21078
  """
21079
 
21080
  thrift_spec = (
21081
    (0, TType.STRUCT, 'success', (Insurer, Insurer.thrift_spec), None, ), # 0
21082
  )
21083
 
21084
  def __init__(self, success=None,):
21085
    self.success = success
21086
 
21087
  def read(self, iprot):
21088
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21089
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21090
      return
21091
    iprot.readStructBegin()
21092
    while True:
21093
      (fname, ftype, fid) = iprot.readFieldBegin()
21094
      if ftype == TType.STOP:
21095
        break
21096
      if fid == 0:
21097
        if ftype == TType.STRUCT:
21098
          self.success = Insurer()
21099
          self.success.read(iprot)
21100
        else:
21101
          iprot.skip(ftype)
21102
      else:
21103
        iprot.skip(ftype)
21104
      iprot.readFieldEnd()
21105
    iprot.readStructEnd()
21106
 
21107
  def write(self, oprot):
21108
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21109
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21110
      return
21111
    oprot.writeStructBegin('getInsurer_result')
21112
    if self.success is not None:
21113
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
21114
      self.success.write(oprot)
21115
      oprot.writeFieldEnd()
21116
    oprot.writeFieldStop()
21117
    oprot.writeStructEnd()
21118
 
21119
  def validate(self):
21120
    return
21121
 
21122
 
21123
  def __repr__(self):
21124
    L = ['%s=%r' % (key, value)
21125
      for key, value in self.__dict__.iteritems()]
21126
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21127
 
21128
  def __eq__(self, other):
21129
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21130
 
21131
  def __ne__(self, other):
21132
    return not (self == other)
6838 vikram.rag 21133
 
21134
class getAllInsurers_args:
21135
 
21136
  thrift_spec = (
21137
  )
21138
 
21139
  def read(self, iprot):
21140
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21141
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21142
      return
21143
    iprot.readStructBegin()
21144
    while True:
21145
      (fname, ftype, fid) = iprot.readFieldBegin()
21146
      if ftype == TType.STOP:
21147
        break
21148
      else:
21149
        iprot.skip(ftype)
21150
      iprot.readFieldEnd()
21151
    iprot.readStructEnd()
21152
 
21153
  def write(self, oprot):
21154
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21155
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21156
      return
21157
    oprot.writeStructBegin('getAllInsurers_args')
21158
    oprot.writeFieldStop()
21159
    oprot.writeStructEnd()
21160
 
21161
  def validate(self):
21162
    return
21163
 
21164
 
21165
  def __repr__(self):
21166
    L = ['%s=%r' % (key, value)
21167
      for key, value in self.__dict__.iteritems()]
21168
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21169
 
21170
  def __eq__(self, other):
21171
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21172
 
21173
  def __ne__(self, other):
21174
    return not (self == other)
21175
 
21176
class getAllInsurers_result:
21177
  """
21178
  Attributes:
21179
   - success
21180
  """
21181
 
21182
  thrift_spec = (
21183
    (0, TType.LIST, 'success', (TType.STRUCT,(Insurer, Insurer.thrift_spec)), None, ), # 0
21184
  )
21185
 
21186
  def __init__(self, success=None,):
21187
    self.success = success
21188
 
21189
  def read(self, iprot):
21190
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21191
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21192
      return
21193
    iprot.readStructBegin()
21194
    while True:
21195
      (fname, ftype, fid) = iprot.readFieldBegin()
21196
      if ftype == TType.STOP:
21197
        break
21198
      if fid == 0:
21199
        if ftype == TType.LIST:
21200
          self.success = []
12567 amit.gupta 21201
          (_etype393, _size390) = iprot.readListBegin()
21202
          for _i394 in xrange(_size390):
21203
            _elem395 = Insurer()
21204
            _elem395.read(iprot)
21205
            self.success.append(_elem395)
6838 vikram.rag 21206
          iprot.readListEnd()
21207
        else:
21208
          iprot.skip(ftype)
21209
      else:
21210
        iprot.skip(ftype)
21211
      iprot.readFieldEnd()
21212
    iprot.readStructEnd()
21213
 
21214
  def write(self, oprot):
21215
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21216
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21217
      return
21218
    oprot.writeStructBegin('getAllInsurers_result')
21219
    if self.success is not None:
21220
      oprot.writeFieldBegin('success', TType.LIST, 0)
21221
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 21222
      for iter396 in self.success:
21223
        iter396.write(oprot)
6838 vikram.rag 21224
      oprot.writeListEnd()
21225
      oprot.writeFieldEnd()
21226
    oprot.writeFieldStop()
21227
    oprot.writeStructEnd()
21228
 
21229
  def validate(self):
21230
    return
21231
 
21232
 
21233
  def __repr__(self):
21234
    L = ['%s=%r' % (key, value)
21235
      for key, value in self.__dict__.iteritems()]
21236
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21237
 
21238
  def __eq__(self, other):
21239
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21240
 
21241
  def __ne__(self, other):
21242
    return not (self == other)
6962 rajveer 21243
 
21244
class updateInsuranceDeclaredAmount_args:
21245
  """
21246
  Attributes:
21247
   - insurerId
21248
   - amount
21249
  """
21250
 
21251
  thrift_spec = (
21252
    None, # 0
21253
    (1, TType.I64, 'insurerId', None, None, ), # 1
21254
    (2, TType.DOUBLE, 'amount', None, None, ), # 2
21255
  )
21256
 
21257
  def __init__(self, insurerId=None, amount=None,):
21258
    self.insurerId = insurerId
21259
    self.amount = amount
21260
 
21261
  def read(self, iprot):
21262
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21263
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21264
      return
21265
    iprot.readStructBegin()
21266
    while True:
21267
      (fname, ftype, fid) = iprot.readFieldBegin()
21268
      if ftype == TType.STOP:
21269
        break
21270
      if fid == 1:
21271
        if ftype == TType.I64:
21272
          self.insurerId = iprot.readI64();
21273
        else:
21274
          iprot.skip(ftype)
21275
      elif fid == 2:
21276
        if ftype == TType.DOUBLE:
21277
          self.amount = iprot.readDouble();
21278
        else:
21279
          iprot.skip(ftype)
21280
      else:
21281
        iprot.skip(ftype)
21282
      iprot.readFieldEnd()
21283
    iprot.readStructEnd()
21284
 
21285
  def write(self, oprot):
21286
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21287
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21288
      return
21289
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_args')
21290
    if self.insurerId is not None:
21291
      oprot.writeFieldBegin('insurerId', TType.I64, 1)
21292
      oprot.writeI64(self.insurerId)
21293
      oprot.writeFieldEnd()
21294
    if self.amount is not None:
21295
      oprot.writeFieldBegin('amount', TType.DOUBLE, 2)
21296
      oprot.writeDouble(self.amount)
21297
      oprot.writeFieldEnd()
21298
    oprot.writeFieldStop()
21299
    oprot.writeStructEnd()
21300
 
21301
  def validate(self):
21302
    return
21303
 
21304
 
21305
  def __repr__(self):
21306
    L = ['%s=%r' % (key, value)
21307
      for key, value in self.__dict__.iteritems()]
21308
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21309
 
21310
  def __eq__(self, other):
21311
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21312
 
21313
  def __ne__(self, other):
21314
    return not (self == other)
21315
 
21316
class updateInsuranceDeclaredAmount_result:
21317
 
21318
  thrift_spec = (
21319
  )
21320
 
21321
  def read(self, iprot):
21322
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21323
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21324
      return
21325
    iprot.readStructBegin()
21326
    while True:
21327
      (fname, ftype, fid) = iprot.readFieldBegin()
21328
      if ftype == TType.STOP:
21329
        break
21330
      else:
21331
        iprot.skip(ftype)
21332
      iprot.readFieldEnd()
21333
    iprot.readStructEnd()
21334
 
21335
  def write(self, oprot):
21336
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21337
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21338
      return
21339
    oprot.writeStructBegin('updateInsuranceDeclaredAmount_result')
21340
    oprot.writeFieldStop()
21341
    oprot.writeStructEnd()
21342
 
21343
  def validate(self):
21344
    return
21345
 
21346
 
21347
  def __repr__(self):
21348
    L = ['%s=%r' % (key, value)
21349
      for key, value in self.__dict__.iteritems()]
21350
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21351
 
21352
  def __eq__(self, other):
21353
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21354
 
21355
  def __ne__(self, other):
21356
    return not (self == other)
7190 amar.kumar 21357
 
21358
class getFreebieForItem_args:
21359
  """
21360
  Attributes:
21361
   - itemId
21362
  """
21363
 
21364
  thrift_spec = (
21365
    None, # 0
21366
    (1, TType.I64, 'itemId', None, None, ), # 1
21367
  )
21368
 
21369
  def __init__(self, itemId=None,):
21370
    self.itemId = itemId
21371
 
21372
  def read(self, iprot):
21373
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21374
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21375
      return
21376
    iprot.readStructBegin()
21377
    while True:
21378
      (fname, ftype, fid) = iprot.readFieldBegin()
21379
      if ftype == TType.STOP:
21380
        break
21381
      if fid == 1:
21382
        if ftype == TType.I64:
21383
          self.itemId = iprot.readI64();
21384
        else:
21385
          iprot.skip(ftype)
21386
      else:
21387
        iprot.skip(ftype)
21388
      iprot.readFieldEnd()
21389
    iprot.readStructEnd()
21390
 
21391
  def write(self, oprot):
21392
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21393
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21394
      return
21395
    oprot.writeStructBegin('getFreebieForItem_args')
21396
    if self.itemId is not None:
21397
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21398
      oprot.writeI64(self.itemId)
21399
      oprot.writeFieldEnd()
21400
    oprot.writeFieldStop()
21401
    oprot.writeStructEnd()
21402
 
21403
  def validate(self):
21404
    return
21405
 
21406
 
21407
  def __repr__(self):
21408
    L = ['%s=%r' % (key, value)
21409
      for key, value in self.__dict__.iteritems()]
21410
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21411
 
21412
  def __eq__(self, other):
21413
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21414
 
21415
  def __ne__(self, other):
21416
    return not (self == other)
21417
 
21418
class getFreebieForItem_result:
21419
  """
21420
  Attributes:
21421
   - success
21422
  """
21423
 
21424
  thrift_spec = (
21425
    (0, TType.I64, 'success', None, None, ), # 0
21426
  )
21427
 
21428
  def __init__(self, success=None,):
21429
    self.success = success
21430
 
21431
  def read(self, iprot):
21432
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21433
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21434
      return
21435
    iprot.readStructBegin()
21436
    while True:
21437
      (fname, ftype, fid) = iprot.readFieldBegin()
21438
      if ftype == TType.STOP:
21439
        break
21440
      if fid == 0:
21441
        if ftype == TType.I64:
21442
          self.success = iprot.readI64();
21443
        else:
21444
          iprot.skip(ftype)
21445
      else:
21446
        iprot.skip(ftype)
21447
      iprot.readFieldEnd()
21448
    iprot.readStructEnd()
21449
 
21450
  def write(self, oprot):
21451
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21452
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21453
      return
21454
    oprot.writeStructBegin('getFreebieForItem_result')
21455
    if self.success is not None:
21456
      oprot.writeFieldBegin('success', TType.I64, 0)
21457
      oprot.writeI64(self.success)
21458
      oprot.writeFieldEnd()
21459
    oprot.writeFieldStop()
21460
    oprot.writeStructEnd()
21461
 
21462
  def validate(self):
21463
    return
21464
 
21465
 
21466
  def __repr__(self):
21467
    L = ['%s=%r' % (key, value)
21468
      for key, value in self.__dict__.iteritems()]
21469
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21470
 
21471
  def __eq__(self, other):
21472
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21473
 
21474
  def __ne__(self, other):
21475
    return not (self == other)
21476
 
21477
class addOrUpdateFreebieForItem_args:
21478
  """
21479
  Attributes:
21480
   - freebieItem
21481
  """
21482
 
21483
  thrift_spec = (
21484
    None, # 0
21485
    (1, TType.STRUCT, 'freebieItem', (FreebieItem, FreebieItem.thrift_spec), None, ), # 1
21486
  )
21487
 
21488
  def __init__(self, freebieItem=None,):
21489
    self.freebieItem = freebieItem
21490
 
21491
  def read(self, iprot):
21492
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21493
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21494
      return
21495
    iprot.readStructBegin()
21496
    while True:
21497
      (fname, ftype, fid) = iprot.readFieldBegin()
21498
      if ftype == TType.STOP:
21499
        break
21500
      if fid == 1:
21501
        if ftype == TType.STRUCT:
21502
          self.freebieItem = FreebieItem()
21503
          self.freebieItem.read(iprot)
21504
        else:
21505
          iprot.skip(ftype)
21506
      else:
21507
        iprot.skip(ftype)
21508
      iprot.readFieldEnd()
21509
    iprot.readStructEnd()
21510
 
21511
  def write(self, oprot):
21512
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21513
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21514
      return
21515
    oprot.writeStructBegin('addOrUpdateFreebieForItem_args')
21516
    if self.freebieItem is not None:
21517
      oprot.writeFieldBegin('freebieItem', TType.STRUCT, 1)
21518
      self.freebieItem.write(oprot)
21519
      oprot.writeFieldEnd()
21520
    oprot.writeFieldStop()
21521
    oprot.writeStructEnd()
21522
 
21523
  def validate(self):
21524
    return
21525
 
21526
 
21527
  def __repr__(self):
21528
    L = ['%s=%r' % (key, value)
21529
      for key, value in self.__dict__.iteritems()]
21530
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21531
 
21532
  def __eq__(self, other):
21533
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21534
 
21535
  def __ne__(self, other):
21536
    return not (self == other)
21537
 
21538
class addOrUpdateFreebieForItem_result:
21539
 
21540
  thrift_spec = (
21541
  )
21542
 
21543
  def read(self, iprot):
21544
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21545
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21546
      return
21547
    iprot.readStructBegin()
21548
    while True:
21549
      (fname, ftype, fid) = iprot.readFieldBegin()
21550
      if ftype == TType.STOP:
21551
        break
21552
      else:
21553
        iprot.skip(ftype)
21554
      iprot.readFieldEnd()
21555
    iprot.readStructEnd()
21556
 
21557
  def write(self, oprot):
21558
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21559
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21560
      return
21561
    oprot.writeStructBegin('addOrUpdateFreebieForItem_result')
21562
    oprot.writeFieldStop()
21563
    oprot.writeStructEnd()
21564
 
21565
  def validate(self):
21566
    return
21567
 
21568
 
21569
  def __repr__(self):
21570
    L = ['%s=%r' % (key, value)
21571
      for key, value in self.__dict__.iteritems()]
21572
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21573
 
21574
  def __eq__(self, other):
21575
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21576
 
21577
  def __ne__(self, other):
21578
    return not (self == other)
7256 rajveer 21579
 
7272 amit.gupta 21580
class addOrUpdateBrandInfo_args:
21581
  """
21582
  Attributes:
21583
   - brandInfo
21584
  """
21585
 
21586
  thrift_spec = (
21587
    None, # 0
21588
    (1, TType.STRUCT, 'brandInfo', (BrandInfo, BrandInfo.thrift_spec), None, ), # 1
21589
  )
21590
 
21591
  def __init__(self, brandInfo=None,):
21592
    self.brandInfo = brandInfo
21593
 
21594
  def read(self, iprot):
21595
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21596
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21597
      return
21598
    iprot.readStructBegin()
21599
    while True:
21600
      (fname, ftype, fid) = iprot.readFieldBegin()
21601
      if ftype == TType.STOP:
21602
        break
21603
      if fid == 1:
21604
        if ftype == TType.STRUCT:
21605
          self.brandInfo = BrandInfo()
21606
          self.brandInfo.read(iprot)
21607
        else:
21608
          iprot.skip(ftype)
21609
      else:
21610
        iprot.skip(ftype)
21611
      iprot.readFieldEnd()
21612
    iprot.readStructEnd()
21613
 
21614
  def write(self, oprot):
21615
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21616
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21617
      return
21618
    oprot.writeStructBegin('addOrUpdateBrandInfo_args')
21619
    if self.brandInfo is not None:
21620
      oprot.writeFieldBegin('brandInfo', TType.STRUCT, 1)
21621
      self.brandInfo.write(oprot)
21622
      oprot.writeFieldEnd()
21623
    oprot.writeFieldStop()
21624
    oprot.writeStructEnd()
21625
 
21626
  def validate(self):
21627
    return
21628
 
21629
 
21630
  def __repr__(self):
21631
    L = ['%s=%r' % (key, value)
21632
      for key, value in self.__dict__.iteritems()]
21633
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21634
 
21635
  def __eq__(self, other):
21636
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21637
 
21638
  def __ne__(self, other):
21639
    return not (self == other)
21640
 
21641
class addOrUpdateBrandInfo_result:
21642
 
21643
  thrift_spec = (
21644
  )
21645
 
21646
  def read(self, iprot):
21647
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21648
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21649
      return
21650
    iprot.readStructBegin()
21651
    while True:
21652
      (fname, ftype, fid) = iprot.readFieldBegin()
21653
      if ftype == TType.STOP:
21654
        break
21655
      else:
21656
        iprot.skip(ftype)
21657
      iprot.readFieldEnd()
21658
    iprot.readStructEnd()
21659
 
21660
  def write(self, oprot):
21661
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21662
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21663
      return
21664
    oprot.writeStructBegin('addOrUpdateBrandInfo_result')
21665
    oprot.writeFieldStop()
21666
    oprot.writeStructEnd()
21667
 
21668
  def validate(self):
21669
    return
21670
 
21671
 
21672
  def __repr__(self):
21673
    L = ['%s=%r' % (key, value)
21674
      for key, value in self.__dict__.iteritems()]
21675
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21676
 
21677
  def __eq__(self, other):
21678
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21679
 
21680
  def __ne__(self, other):
21681
    return not (self == other)
21682
 
21683
class getBrandInfo_args:
21684
 
21685
  thrift_spec = (
21686
  )
21687
 
21688
  def read(self, iprot):
21689
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21690
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21691
      return
21692
    iprot.readStructBegin()
21693
    while True:
21694
      (fname, ftype, fid) = iprot.readFieldBegin()
21695
      if ftype == TType.STOP:
21696
        break
21697
      else:
21698
        iprot.skip(ftype)
21699
      iprot.readFieldEnd()
21700
    iprot.readStructEnd()
21701
 
21702
  def write(self, oprot):
21703
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21704
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21705
      return
21706
    oprot.writeStructBegin('getBrandInfo_args')
21707
    oprot.writeFieldStop()
21708
    oprot.writeStructEnd()
21709
 
21710
  def validate(self):
21711
    return
21712
 
21713
 
21714
  def __repr__(self):
21715
    L = ['%s=%r' % (key, value)
21716
      for key, value in self.__dict__.iteritems()]
21717
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21718
 
21719
  def __eq__(self, other):
21720
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21721
 
21722
  def __ne__(self, other):
21723
    return not (self == other)
21724
 
21725
class getBrandInfo_result:
21726
  """
21727
  Attributes:
21728
   - success
21729
  """
21730
 
21731
  thrift_spec = (
21732
    (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(BrandInfo, BrandInfo.thrift_spec)), None, ), # 0
21733
  )
21734
 
21735
  def __init__(self, success=None,):
21736
    self.success = success
21737
 
21738
  def read(self, iprot):
21739
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21740
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21741
      return
21742
    iprot.readStructBegin()
21743
    while True:
21744
      (fname, ftype, fid) = iprot.readFieldBegin()
21745
      if ftype == TType.STOP:
21746
        break
21747
      if fid == 0:
21748
        if ftype == TType.MAP:
21749
          self.success = {}
12567 amit.gupta 21750
          (_ktype398, _vtype399, _size397 ) = iprot.readMapBegin() 
21751
          for _i401 in xrange(_size397):
21752
            _key402 = iprot.readString();
21753
            _val403 = BrandInfo()
21754
            _val403.read(iprot)
21755
            self.success[_key402] = _val403
7272 amit.gupta 21756
          iprot.readMapEnd()
21757
        else:
21758
          iprot.skip(ftype)
21759
      else:
21760
        iprot.skip(ftype)
21761
      iprot.readFieldEnd()
21762
    iprot.readStructEnd()
21763
 
21764
  def write(self, oprot):
21765
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21766
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21767
      return
21768
    oprot.writeStructBegin('getBrandInfo_result')
21769
    if self.success is not None:
21770
      oprot.writeFieldBegin('success', TType.MAP, 0)
21771
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success))
12567 amit.gupta 21772
      for kiter404,viter405 in self.success.items():
21773
        oprot.writeString(kiter404)
21774
        viter405.write(oprot)
7272 amit.gupta 21775
      oprot.writeMapEnd()
21776
      oprot.writeFieldEnd()
21777
    oprot.writeFieldStop()
21778
    oprot.writeStructEnd()
21779
 
21780
  def validate(self):
21781
    return
21782
 
21783
 
21784
  def __repr__(self):
21785
    L = ['%s=%r' % (key, value)
21786
      for key, value in self.__dict__.iteritems()]
21787
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21788
 
21789
  def __eq__(self, other):
21790
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21791
 
21792
  def __ne__(self, other):
21793
    return not (self == other)
21794
 
7256 rajveer 21795
class getStorePricing_args:
21796
  """
21797
  Attributes:
21798
   - itemId
21799
  """
21800
 
21801
  thrift_spec = (
21802
    None, # 0
21803
    (1, TType.I64, 'itemId', None, None, ), # 1
21804
  )
21805
 
21806
  def __init__(self, itemId=None,):
21807
    self.itemId = itemId
21808
 
21809
  def read(self, iprot):
21810
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21811
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21812
      return
21813
    iprot.readStructBegin()
21814
    while True:
21815
      (fname, ftype, fid) = iprot.readFieldBegin()
21816
      if ftype == TType.STOP:
21817
        break
21818
      if fid == 1:
21819
        if ftype == TType.I64:
21820
          self.itemId = iprot.readI64();
21821
        else:
21822
          iprot.skip(ftype)
21823
      else:
21824
        iprot.skip(ftype)
21825
      iprot.readFieldEnd()
21826
    iprot.readStructEnd()
21827
 
21828
  def write(self, oprot):
21829
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21830
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21831
      return
21832
    oprot.writeStructBegin('getStorePricing_args')
21833
    if self.itemId is not None:
21834
      oprot.writeFieldBegin('itemId', TType.I64, 1)
21835
      oprot.writeI64(self.itemId)
21836
      oprot.writeFieldEnd()
21837
    oprot.writeFieldStop()
21838
    oprot.writeStructEnd()
21839
 
21840
  def validate(self):
21841
    return
21842
 
21843
 
21844
  def __repr__(self):
21845
    L = ['%s=%r' % (key, value)
21846
      for key, value in self.__dict__.iteritems()]
21847
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21848
 
21849
  def __eq__(self, other):
21850
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21851
 
21852
  def __ne__(self, other):
21853
    return not (self == other)
21854
 
21855
class getStorePricing_result:
21856
  """
21857
  Attributes:
21858
   - success
21859
  """
21860
 
21861
  thrift_spec = (
21862
    (0, TType.STRUCT, 'success', (StorePricing, StorePricing.thrift_spec), None, ), # 0
21863
  )
21864
 
21865
  def __init__(self, success=None,):
21866
    self.success = success
21867
 
21868
  def read(self, iprot):
21869
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21870
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21871
      return
21872
    iprot.readStructBegin()
21873
    while True:
21874
      (fname, ftype, fid) = iprot.readFieldBegin()
21875
      if ftype == TType.STOP:
21876
        break
21877
      if fid == 0:
21878
        if ftype == TType.STRUCT:
21879
          self.success = StorePricing()
21880
          self.success.read(iprot)
21881
        else:
21882
          iprot.skip(ftype)
21883
      else:
21884
        iprot.skip(ftype)
21885
      iprot.readFieldEnd()
21886
    iprot.readStructEnd()
21887
 
21888
  def write(self, oprot):
21889
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21890
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21891
      return
21892
    oprot.writeStructBegin('getStorePricing_result')
21893
    if self.success is not None:
21894
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
21895
      self.success.write(oprot)
21896
      oprot.writeFieldEnd()
21897
    oprot.writeFieldStop()
21898
    oprot.writeStructEnd()
21899
 
21900
  def validate(self):
21901
    return
21902
 
21903
 
21904
  def __repr__(self):
21905
    L = ['%s=%r' % (key, value)
21906
      for key, value in self.__dict__.iteritems()]
21907
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21908
 
21909
  def __eq__(self, other):
21910
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21911
 
21912
  def __ne__(self, other):
21913
    return not (self == other)
7265 rajveer 21914
 
7306 rajveer 21915
class getStorePricings_args:
21916
  """
21917
  Attributes:
21918
   - itemIds
21919
  """
21920
 
21921
  thrift_spec = (
21922
    None, # 0
21923
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
21924
  )
21925
 
21926
  def __init__(self, itemIds=None,):
21927
    self.itemIds = itemIds
21928
 
21929
  def read(self, iprot):
21930
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21931
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21932
      return
21933
    iprot.readStructBegin()
21934
    while True:
21935
      (fname, ftype, fid) = iprot.readFieldBegin()
21936
      if ftype == TType.STOP:
21937
        break
21938
      if fid == 1:
21939
        if ftype == TType.LIST:
21940
          self.itemIds = []
12567 amit.gupta 21941
          (_etype409, _size406) = iprot.readListBegin()
21942
          for _i410 in xrange(_size406):
21943
            _elem411 = iprot.readI64();
21944
            self.itemIds.append(_elem411)
7306 rajveer 21945
          iprot.readListEnd()
21946
        else:
21947
          iprot.skip(ftype)
21948
      else:
21949
        iprot.skip(ftype)
21950
      iprot.readFieldEnd()
21951
    iprot.readStructEnd()
21952
 
21953
  def write(self, oprot):
21954
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
21955
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
21956
      return
21957
    oprot.writeStructBegin('getStorePricings_args')
21958
    if self.itemIds is not None:
21959
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
21960
      oprot.writeListBegin(TType.I64, len(self.itemIds))
12567 amit.gupta 21961
      for iter412 in self.itemIds:
21962
        oprot.writeI64(iter412)
7306 rajveer 21963
      oprot.writeListEnd()
21964
      oprot.writeFieldEnd()
21965
    oprot.writeFieldStop()
21966
    oprot.writeStructEnd()
21967
 
21968
  def validate(self):
21969
    return
21970
 
21971
 
21972
  def __repr__(self):
21973
    L = ['%s=%r' % (key, value)
21974
      for key, value in self.__dict__.iteritems()]
21975
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
21976
 
21977
  def __eq__(self, other):
21978
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
21979
 
21980
  def __ne__(self, other):
21981
    return not (self == other)
21982
 
21983
class getStorePricings_result:
21984
  """
21985
  Attributes:
21986
   - success
21987
  """
21988
 
21989
  thrift_spec = (
21990
    (0, TType.LIST, 'success', (TType.STRUCT,(StorePricing, StorePricing.thrift_spec)), None, ), # 0
21991
  )
21992
 
21993
  def __init__(self, success=None,):
21994
    self.success = success
21995
 
21996
  def read(self, iprot):
21997
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
21998
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
21999
      return
22000
    iprot.readStructBegin()
22001
    while True:
22002
      (fname, ftype, fid) = iprot.readFieldBegin()
22003
      if ftype == TType.STOP:
22004
        break
22005
      if fid == 0:
22006
        if ftype == TType.LIST:
22007
          self.success = []
12567 amit.gupta 22008
          (_etype416, _size413) = iprot.readListBegin()
22009
          for _i417 in xrange(_size413):
22010
            _elem418 = StorePricing()
22011
            _elem418.read(iprot)
22012
            self.success.append(_elem418)
7306 rajveer 22013
          iprot.readListEnd()
22014
        else:
22015
          iprot.skip(ftype)
22016
      else:
22017
        iprot.skip(ftype)
22018
      iprot.readFieldEnd()
22019
    iprot.readStructEnd()
22020
 
22021
  def write(self, oprot):
22022
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22023
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22024
      return
22025
    oprot.writeStructBegin('getStorePricings_result')
22026
    if self.success is not None:
22027
      oprot.writeFieldBegin('success', TType.LIST, 0)
22028
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 22029
      for iter419 in self.success:
22030
        iter419.write(oprot)
7306 rajveer 22031
      oprot.writeListEnd()
22032
      oprot.writeFieldEnd()
22033
    oprot.writeFieldStop()
22034
    oprot.writeStructEnd()
22035
 
22036
  def validate(self):
22037
    return
22038
 
22039
 
22040
  def __repr__(self):
22041
    L = ['%s=%r' % (key, value)
22042
      for key, value in self.__dict__.iteritems()]
22043
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22044
 
22045
  def __eq__(self, other):
22046
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22047
 
22048
  def __ne__(self, other):
22049
    return not (self == other)
22050
 
7265 rajveer 22051
class updateStorePricing_args:
22052
  """
22053
  Attributes:
22054
   - sp
7382 rajveer 22055
   - allColors
7265 rajveer 22056
  """
22057
 
22058
  thrift_spec = (
22059
    None, # 0
22060
    (1, TType.STRUCT, 'sp', (StorePricing, StorePricing.thrift_spec), None, ), # 1
7382 rajveer 22061
    (2, TType.BOOL, 'allColors', None, None, ), # 2
7265 rajveer 22062
  )
22063
 
7382 rajveer 22064
  def __init__(self, sp=None, allColors=None,):
7265 rajveer 22065
    self.sp = sp
7382 rajveer 22066
    self.allColors = allColors
7265 rajveer 22067
 
22068
  def read(self, iprot):
22069
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22070
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22071
      return
22072
    iprot.readStructBegin()
22073
    while True:
22074
      (fname, ftype, fid) = iprot.readFieldBegin()
22075
      if ftype == TType.STOP:
22076
        break
22077
      if fid == 1:
22078
        if ftype == TType.STRUCT:
22079
          self.sp = StorePricing()
22080
          self.sp.read(iprot)
22081
        else:
22082
          iprot.skip(ftype)
7382 rajveer 22083
      elif fid == 2:
22084
        if ftype == TType.BOOL:
22085
          self.allColors = iprot.readBool();
22086
        else:
22087
          iprot.skip(ftype)
7265 rajveer 22088
      else:
22089
        iprot.skip(ftype)
22090
      iprot.readFieldEnd()
22091
    iprot.readStructEnd()
22092
 
22093
  def write(self, oprot):
22094
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22095
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22096
      return
22097
    oprot.writeStructBegin('updateStorePricing_args')
22098
    if self.sp is not None:
22099
      oprot.writeFieldBegin('sp', TType.STRUCT, 1)
22100
      self.sp.write(oprot)
22101
      oprot.writeFieldEnd()
7382 rajveer 22102
    if self.allColors is not None:
22103
      oprot.writeFieldBegin('allColors', TType.BOOL, 2)
22104
      oprot.writeBool(self.allColors)
22105
      oprot.writeFieldEnd()
7265 rajveer 22106
    oprot.writeFieldStop()
22107
    oprot.writeStructEnd()
22108
 
22109
  def validate(self):
22110
    return
22111
 
22112
 
22113
  def __repr__(self):
22114
    L = ['%s=%r' % (key, value)
22115
      for key, value in self.__dict__.iteritems()]
22116
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22117
 
22118
  def __eq__(self, other):
22119
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22120
 
22121
  def __ne__(self, other):
22122
    return not (self == other)
22123
 
22124
class updateStorePricing_result:
22125
 
22126
  thrift_spec = (
22127
  )
22128
 
22129
  def read(self, iprot):
22130
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22131
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22132
      return
22133
    iprot.readStructBegin()
22134
    while True:
22135
      (fname, ftype, fid) = iprot.readFieldBegin()
22136
      if ftype == TType.STOP:
22137
        break
22138
      else:
22139
        iprot.skip(ftype)
22140
      iprot.readFieldEnd()
22141
    iprot.readStructEnd()
22142
 
22143
  def write(self, oprot):
22144
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22145
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22146
      return
22147
    oprot.writeStructBegin('updateStorePricing_result')
22148
    oprot.writeFieldStop()
22149
    oprot.writeStructEnd()
22150
 
22151
  def validate(self):
22152
    return
22153
 
22154
 
22155
  def __repr__(self):
22156
    L = ['%s=%r' % (key, value)
22157
      for key, value in self.__dict__.iteritems()]
22158
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22159
 
22160
  def __eq__(self, other):
22161
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22162
 
22163
  def __ne__(self, other):
22164
    return not (self == other)
7281 kshitij.so 22165
 
22166
class getAllAmazonListedItems_args:
22167
 
22168
  thrift_spec = (
22169
  )
22170
 
22171
  def read(self, iprot):
22172
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22173
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22174
      return
22175
    iprot.readStructBegin()
22176
    while True:
22177
      (fname, ftype, fid) = iprot.readFieldBegin()
22178
      if ftype == TType.STOP:
22179
        break
22180
      else:
22181
        iprot.skip(ftype)
22182
      iprot.readFieldEnd()
22183
    iprot.readStructEnd()
22184
 
22185
  def write(self, oprot):
22186
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22187
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22188
      return
22189
    oprot.writeStructBegin('getAllAmazonListedItems_args')
22190
    oprot.writeFieldStop()
22191
    oprot.writeStructEnd()
22192
 
22193
  def validate(self):
22194
    return
22195
 
22196
 
22197
  def __repr__(self):
22198
    L = ['%s=%r' % (key, value)
22199
      for key, value in self.__dict__.iteritems()]
22200
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22201
 
22202
  def __eq__(self, other):
22203
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22204
 
22205
  def __ne__(self, other):
22206
    return not (self == other)
22207
 
22208
class getAllAmazonListedItems_result:
22209
  """
22210
  Attributes:
22211
   - success
22212
  """
22213
 
22214
  thrift_spec = (
22215
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
22216
  )
22217
 
22218
  def __init__(self, success=None,):
22219
    self.success = success
22220
 
22221
  def read(self, iprot):
22222
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22223
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22224
      return
22225
    iprot.readStructBegin()
22226
    while True:
22227
      (fname, ftype, fid) = iprot.readFieldBegin()
22228
      if ftype == TType.STOP:
22229
        break
22230
      if fid == 0:
22231
        if ftype == TType.LIST:
22232
          self.success = []
12567 amit.gupta 22233
          (_etype423, _size420) = iprot.readListBegin()
22234
          for _i424 in xrange(_size420):
22235
            _elem425 = Amazonlisted()
22236
            _elem425.read(iprot)
22237
            self.success.append(_elem425)
7281 kshitij.so 22238
          iprot.readListEnd()
22239
        else:
22240
          iprot.skip(ftype)
22241
      else:
22242
        iprot.skip(ftype)
22243
      iprot.readFieldEnd()
22244
    iprot.readStructEnd()
22245
 
22246
  def write(self, oprot):
22247
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22248
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22249
      return
22250
    oprot.writeStructBegin('getAllAmazonListedItems_result')
22251
    if self.success is not None:
22252
      oprot.writeFieldBegin('success', TType.LIST, 0)
22253
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 22254
      for iter426 in self.success:
22255
        iter426.write(oprot)
7281 kshitij.so 22256
      oprot.writeListEnd()
22257
      oprot.writeFieldEnd()
22258
    oprot.writeFieldStop()
22259
    oprot.writeStructEnd()
22260
 
22261
  def validate(self):
22262
    return
22263
 
22264
 
22265
  def __repr__(self):
22266
    L = ['%s=%r' % (key, value)
22267
      for key, value in self.__dict__.iteritems()]
22268
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22269
 
22270
  def __eq__(self, other):
22271
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22272
 
22273
  def __ne__(self, other):
22274
    return not (self == other)
22275
 
8619 kshitij.so 22276
class searchAmazonItems_args:
22277
  """
22278
  Attributes:
22279
   - searchTerm
22280
   - offset
22281
   - limit
22282
  """
22283
 
22284
  thrift_spec = (
22285
    None, # 0
22286
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
22287
    (2, TType.I64, 'offset', None, None, ), # 2
22288
    (3, TType.I64, 'limit', None, None, ), # 3
22289
  )
22290
 
22291
  def __init__(self, searchTerm=None, offset=None, limit=None,):
22292
    self.searchTerm = searchTerm
22293
    self.offset = offset
22294
    self.limit = limit
22295
 
22296
  def read(self, iprot):
22297
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22298
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22299
      return
22300
    iprot.readStructBegin()
22301
    while True:
22302
      (fname, ftype, fid) = iprot.readFieldBegin()
22303
      if ftype == TType.STOP:
22304
        break
22305
      if fid == 1:
22306
        if ftype == TType.LIST:
22307
          self.searchTerm = []
12567 amit.gupta 22308
          (_etype430, _size427) = iprot.readListBegin()
22309
          for _i431 in xrange(_size427):
22310
            _elem432 = iprot.readString();
22311
            self.searchTerm.append(_elem432)
8619 kshitij.so 22312
          iprot.readListEnd()
22313
        else:
22314
          iprot.skip(ftype)
22315
      elif fid == 2:
22316
        if ftype == TType.I64:
22317
          self.offset = iprot.readI64();
22318
        else:
22319
          iprot.skip(ftype)
22320
      elif fid == 3:
22321
        if ftype == TType.I64:
22322
          self.limit = iprot.readI64();
22323
        else:
22324
          iprot.skip(ftype)
22325
      else:
22326
        iprot.skip(ftype)
22327
      iprot.readFieldEnd()
22328
    iprot.readStructEnd()
22329
 
22330
  def write(self, oprot):
22331
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22332
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22333
      return
22334
    oprot.writeStructBegin('searchAmazonItems_args')
22335
    if self.searchTerm is not None:
22336
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
22337
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
12567 amit.gupta 22338
      for iter433 in self.searchTerm:
22339
        oprot.writeString(iter433)
8619 kshitij.so 22340
      oprot.writeListEnd()
22341
      oprot.writeFieldEnd()
22342
    if self.offset is not None:
22343
      oprot.writeFieldBegin('offset', TType.I64, 2)
22344
      oprot.writeI64(self.offset)
22345
      oprot.writeFieldEnd()
22346
    if self.limit is not None:
22347
      oprot.writeFieldBegin('limit', TType.I64, 3)
22348
      oprot.writeI64(self.limit)
22349
      oprot.writeFieldEnd()
22350
    oprot.writeFieldStop()
22351
    oprot.writeStructEnd()
22352
 
22353
  def validate(self):
22354
    return
22355
 
22356
 
22357
  def __repr__(self):
22358
    L = ['%s=%r' % (key, value)
22359
      for key, value in self.__dict__.iteritems()]
22360
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22361
 
22362
  def __eq__(self, other):
22363
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22364
 
22365
  def __ne__(self, other):
22366
    return not (self == other)
22367
 
22368
class searchAmazonItems_result:
22369
  """
22370
  Attributes:
22371
   - success
22372
  """
22373
 
22374
  thrift_spec = (
22375
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
22376
  )
22377
 
22378
  def __init__(self, success=None,):
22379
    self.success = success
22380
 
22381
  def read(self, iprot):
22382
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22383
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22384
      return
22385
    iprot.readStructBegin()
22386
    while True:
22387
      (fname, ftype, fid) = iprot.readFieldBegin()
22388
      if ftype == TType.STOP:
22389
        break
22390
      if fid == 0:
22391
        if ftype == TType.LIST:
22392
          self.success = []
12567 amit.gupta 22393
          (_etype437, _size434) = iprot.readListBegin()
22394
          for _i438 in xrange(_size434):
22395
            _elem439 = Amazonlisted()
22396
            _elem439.read(iprot)
22397
            self.success.append(_elem439)
8619 kshitij.so 22398
          iprot.readListEnd()
22399
        else:
22400
          iprot.skip(ftype)
22401
      else:
22402
        iprot.skip(ftype)
22403
      iprot.readFieldEnd()
22404
    iprot.readStructEnd()
22405
 
22406
  def write(self, oprot):
22407
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22408
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22409
      return
22410
    oprot.writeStructBegin('searchAmazonItems_result')
22411
    if self.success is not None:
22412
      oprot.writeFieldBegin('success', TType.LIST, 0)
22413
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 22414
      for iter440 in self.success:
22415
        iter440.write(oprot)
8619 kshitij.so 22416
      oprot.writeListEnd()
22417
      oprot.writeFieldEnd()
22418
    oprot.writeFieldStop()
22419
    oprot.writeStructEnd()
22420
 
22421
  def validate(self):
22422
    return
22423
 
22424
 
22425
  def __repr__(self):
22426
    L = ['%s=%r' % (key, value)
22427
      for key, value in self.__dict__.iteritems()]
22428
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22429
 
22430
  def __eq__(self, other):
22431
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22432
 
22433
  def __ne__(self, other):
22434
    return not (self == other)
22435
 
22436
class getAmazonSearchResultCount_args:
22437
  """
22438
  Attributes:
22439
   - searchTerm
22440
  """
22441
 
22442
  thrift_spec = (
22443
    None, # 0
22444
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
22445
  )
22446
 
22447
  def __init__(self, searchTerm=None,):
22448
    self.searchTerm = searchTerm
22449
 
22450
  def read(self, iprot):
22451
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22452
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22453
      return
22454
    iprot.readStructBegin()
22455
    while True:
22456
      (fname, ftype, fid) = iprot.readFieldBegin()
22457
      if ftype == TType.STOP:
22458
        break
22459
      if fid == 1:
22460
        if ftype == TType.LIST:
22461
          self.searchTerm = []
12567 amit.gupta 22462
          (_etype444, _size441) = iprot.readListBegin()
22463
          for _i445 in xrange(_size441):
22464
            _elem446 = iprot.readString();
22465
            self.searchTerm.append(_elem446)
8619 kshitij.so 22466
          iprot.readListEnd()
22467
        else:
22468
          iprot.skip(ftype)
22469
      else:
22470
        iprot.skip(ftype)
22471
      iprot.readFieldEnd()
22472
    iprot.readStructEnd()
22473
 
22474
  def write(self, oprot):
22475
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22476
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22477
      return
22478
    oprot.writeStructBegin('getAmazonSearchResultCount_args')
22479
    if self.searchTerm is not None:
22480
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
22481
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
12567 amit.gupta 22482
      for iter447 in self.searchTerm:
22483
        oprot.writeString(iter447)
8619 kshitij.so 22484
      oprot.writeListEnd()
22485
      oprot.writeFieldEnd()
22486
    oprot.writeFieldStop()
22487
    oprot.writeStructEnd()
22488
 
22489
  def validate(self):
22490
    return
22491
 
22492
 
22493
  def __repr__(self):
22494
    L = ['%s=%r' % (key, value)
22495
      for key, value in self.__dict__.iteritems()]
22496
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22497
 
22498
  def __eq__(self, other):
22499
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22500
 
22501
  def __ne__(self, other):
22502
    return not (self == other)
22503
 
22504
class getAmazonSearchResultCount_result:
22505
  """
22506
  Attributes:
22507
   - success
22508
  """
22509
 
22510
  thrift_spec = (
22511
    (0, TType.I64, 'success', None, None, ), # 0
22512
  )
22513
 
22514
  def __init__(self, success=None,):
22515
    self.success = success
22516
 
22517
  def read(self, iprot):
22518
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22519
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22520
      return
22521
    iprot.readStructBegin()
22522
    while True:
22523
      (fname, ftype, fid) = iprot.readFieldBegin()
22524
      if ftype == TType.STOP:
22525
        break
22526
      if fid == 0:
22527
        if ftype == TType.I64:
22528
          self.success = iprot.readI64();
22529
        else:
22530
          iprot.skip(ftype)
22531
      else:
22532
        iprot.skip(ftype)
22533
      iprot.readFieldEnd()
22534
    iprot.readStructEnd()
22535
 
22536
  def write(self, oprot):
22537
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22538
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22539
      return
22540
    oprot.writeStructBegin('getAmazonSearchResultCount_result')
22541
    if self.success is not None:
22542
      oprot.writeFieldBegin('success', TType.I64, 0)
22543
      oprot.writeI64(self.success)
22544
      oprot.writeFieldEnd()
22545
    oprot.writeFieldStop()
22546
    oprot.writeStructEnd()
22547
 
22548
  def validate(self):
22549
    return
22550
 
22551
 
22552
  def __repr__(self):
22553
    L = ['%s=%r' % (key, value)
22554
      for key, value in self.__dict__.iteritems()]
22555
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22556
 
22557
  def __eq__(self, other):
22558
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22559
 
22560
  def __ne__(self, other):
22561
    return not (self == other)
22562
 
22563
class getCountForAmazonlistedItems_args:
22564
 
22565
  thrift_spec = (
22566
  )
22567
 
22568
  def read(self, iprot):
22569
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22570
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22571
      return
22572
    iprot.readStructBegin()
22573
    while True:
22574
      (fname, ftype, fid) = iprot.readFieldBegin()
22575
      if ftype == TType.STOP:
22576
        break
22577
      else:
22578
        iprot.skip(ftype)
22579
      iprot.readFieldEnd()
22580
    iprot.readStructEnd()
22581
 
22582
  def write(self, oprot):
22583
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22584
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22585
      return
22586
    oprot.writeStructBegin('getCountForAmazonlistedItems_args')
22587
    oprot.writeFieldStop()
22588
    oprot.writeStructEnd()
22589
 
22590
  def validate(self):
22591
    return
22592
 
22593
 
22594
  def __repr__(self):
22595
    L = ['%s=%r' % (key, value)
22596
      for key, value in self.__dict__.iteritems()]
22597
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22598
 
22599
  def __eq__(self, other):
22600
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22601
 
22602
  def __ne__(self, other):
22603
    return not (self == other)
22604
 
22605
class getCountForAmazonlistedItems_result:
22606
  """
22607
  Attributes:
22608
   - success
22609
  """
22610
 
22611
  thrift_spec = (
22612
    (0, TType.I64, 'success', None, None, ), # 0
22613
  )
22614
 
22615
  def __init__(self, success=None,):
22616
    self.success = success
22617
 
22618
  def read(self, iprot):
22619
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22620
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22621
      return
22622
    iprot.readStructBegin()
22623
    while True:
22624
      (fname, ftype, fid) = iprot.readFieldBegin()
22625
      if ftype == TType.STOP:
22626
        break
22627
      if fid == 0:
22628
        if ftype == TType.I64:
22629
          self.success = iprot.readI64();
22630
        else:
22631
          iprot.skip(ftype)
22632
      else:
22633
        iprot.skip(ftype)
22634
      iprot.readFieldEnd()
22635
    iprot.readStructEnd()
22636
 
22637
  def write(self, oprot):
22638
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22639
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22640
      return
22641
    oprot.writeStructBegin('getCountForAmazonlistedItems_result')
22642
    if self.success is not None:
22643
      oprot.writeFieldBegin('success', TType.I64, 0)
22644
      oprot.writeI64(self.success)
22645
      oprot.writeFieldEnd()
22646
    oprot.writeFieldStop()
22647
    oprot.writeStructEnd()
22648
 
22649
  def validate(self):
22650
    return
22651
 
22652
 
22653
  def __repr__(self):
22654
    L = ['%s=%r' % (key, value)
22655
      for key, value in self.__dict__.iteritems()]
22656
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22657
 
22658
  def __eq__(self, other):
22659
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22660
 
22661
  def __ne__(self, other):
22662
    return not (self == other)
22663
 
7281 kshitij.so 22664
class getAmazonItemDetails_args:
22665
  """
22666
  Attributes:
22667
   - itemId
22668
  """
22669
 
22670
  thrift_spec = (
22671
    None, # 0
22672
    (1, TType.I64, 'itemId', None, None, ), # 1
22673
  )
22674
 
22675
  def __init__(self, itemId=None,):
22676
    self.itemId = itemId
22677
 
22678
  def read(self, iprot):
22679
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22680
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22681
      return
22682
    iprot.readStructBegin()
22683
    while True:
22684
      (fname, ftype, fid) = iprot.readFieldBegin()
22685
      if ftype == TType.STOP:
22686
        break
22687
      if fid == 1:
22688
        if ftype == TType.I64:
22689
          self.itemId = iprot.readI64();
22690
        else:
22691
          iprot.skip(ftype)
22692
      else:
22693
        iprot.skip(ftype)
22694
      iprot.readFieldEnd()
22695
    iprot.readStructEnd()
22696
 
22697
  def write(self, oprot):
22698
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22699
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22700
      return
22701
    oprot.writeStructBegin('getAmazonItemDetails_args')
22702
    if self.itemId is not None:
22703
      oprot.writeFieldBegin('itemId', TType.I64, 1)
22704
      oprot.writeI64(self.itemId)
22705
      oprot.writeFieldEnd()
22706
    oprot.writeFieldStop()
22707
    oprot.writeStructEnd()
22708
 
22709
  def validate(self):
22710
    return
22711
 
22712
 
22713
  def __repr__(self):
22714
    L = ['%s=%r' % (key, value)
22715
      for key, value in self.__dict__.iteritems()]
22716
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22717
 
22718
  def __eq__(self, other):
22719
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22720
 
22721
  def __ne__(self, other):
22722
    return not (self == other)
22723
 
22724
class getAmazonItemDetails_result:
22725
  """
22726
  Attributes:
22727
   - success
22728
  """
22729
 
22730
  thrift_spec = (
22731
    (0, TType.STRUCT, 'success', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 0
22732
  )
22733
 
22734
  def __init__(self, success=None,):
22735
    self.success = success
22736
 
22737
  def read(self, iprot):
22738
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22739
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22740
      return
22741
    iprot.readStructBegin()
22742
    while True:
22743
      (fname, ftype, fid) = iprot.readFieldBegin()
22744
      if ftype == TType.STOP:
22745
        break
22746
      if fid == 0:
22747
        if ftype == TType.STRUCT:
22748
          self.success = Amazonlisted()
22749
          self.success.read(iprot)
22750
        else:
22751
          iprot.skip(ftype)
22752
      else:
22753
        iprot.skip(ftype)
22754
      iprot.readFieldEnd()
22755
    iprot.readStructEnd()
22756
 
22757
  def write(self, oprot):
22758
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22759
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22760
      return
22761
    oprot.writeStructBegin('getAmazonItemDetails_result')
22762
    if self.success is not None:
22763
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
22764
      self.success.write(oprot)
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
 
22784
class updateAmazonItemDetails_args:
22785
  """
22786
  Attributes:
8168 kshitij.so 22787
   - amazonlisted
7281 kshitij.so 22788
  """
22789
 
22790
  thrift_spec = (
22791
    None, # 0
8168 kshitij.so 22792
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
7281 kshitij.so 22793
  )
22794
 
8168 kshitij.so 22795
  def __init__(self, amazonlisted=None,):
22796
    self.amazonlisted = amazonlisted
7281 kshitij.so 22797
 
22798
  def read(self, iprot):
22799
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22800
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22801
      return
22802
    iprot.readStructBegin()
22803
    while True:
22804
      (fname, ftype, fid) = iprot.readFieldBegin()
22805
      if ftype == TType.STOP:
22806
        break
22807
      if fid == 1:
8168 kshitij.so 22808
        if ftype == TType.STRUCT:
22809
          self.amazonlisted = Amazonlisted()
22810
          self.amazonlisted.read(iprot)
7281 kshitij.so 22811
        else:
22812
          iprot.skip(ftype)
22813
      else:
22814
        iprot.skip(ftype)
22815
      iprot.readFieldEnd()
22816
    iprot.readStructEnd()
22817
 
22818
  def write(self, oprot):
22819
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22820
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22821
      return
22822
    oprot.writeStructBegin('updateAmazonItemDetails_args')
8168 kshitij.so 22823
    if self.amazonlisted is not None:
22824
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
22825
      self.amazonlisted.write(oprot)
7281 kshitij.so 22826
      oprot.writeFieldEnd()
22827
    oprot.writeFieldStop()
22828
    oprot.writeStructEnd()
22829
 
22830
  def validate(self):
22831
    return
22832
 
22833
 
22834
  def __repr__(self):
22835
    L = ['%s=%r' % (key, value)
22836
      for key, value in self.__dict__.iteritems()]
22837
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22838
 
22839
  def __eq__(self, other):
22840
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22841
 
22842
  def __ne__(self, other):
22843
    return not (self == other)
22844
 
22845
class updateAmazonItemDetails_result:
22846
 
22847
  thrift_spec = (
22848
  )
22849
 
22850
  def read(self, iprot):
22851
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22852
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22853
      return
22854
    iprot.readStructBegin()
22855
    while True:
22856
      (fname, ftype, fid) = iprot.readFieldBegin()
22857
      if ftype == TType.STOP:
22858
        break
22859
      else:
22860
        iprot.skip(ftype)
22861
      iprot.readFieldEnd()
22862
    iprot.readStructEnd()
22863
 
22864
  def write(self, oprot):
22865
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22866
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22867
      return
22868
    oprot.writeStructBegin('updateAmazonItemDetails_result')
22869
    oprot.writeFieldStop()
22870
    oprot.writeStructEnd()
22871
 
22872
  def validate(self):
22873
    return
22874
 
22875
 
22876
  def __repr__(self):
22877
    L = ['%s=%r' % (key, value)
22878
      for key, value in self.__dict__.iteritems()]
22879
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22880
 
22881
  def __eq__(self, other):
22882
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22883
 
22884
  def __ne__(self, other):
22885
    return not (self == other)
22886
 
22887
class addAmazonItem_args:
22888
  """
22889
  Attributes:
22890
   - amazonlisted
22891
  """
22892
 
22893
  thrift_spec = (
22894
    None, # 0
22895
    (1, TType.STRUCT, 'amazonlisted', (Amazonlisted, Amazonlisted.thrift_spec), None, ), # 1
22896
  )
22897
 
22898
  def __init__(self, amazonlisted=None,):
22899
    self.amazonlisted = amazonlisted
22900
 
22901
  def read(self, iprot):
22902
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22903
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22904
      return
22905
    iprot.readStructBegin()
22906
    while True:
22907
      (fname, ftype, fid) = iprot.readFieldBegin()
22908
      if ftype == TType.STOP:
22909
        break
22910
      if fid == 1:
22911
        if ftype == TType.STRUCT:
22912
          self.amazonlisted = Amazonlisted()
22913
          self.amazonlisted.read(iprot)
22914
        else:
22915
          iprot.skip(ftype)
22916
      else:
22917
        iprot.skip(ftype)
22918
      iprot.readFieldEnd()
22919
    iprot.readStructEnd()
22920
 
22921
  def write(self, oprot):
22922
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22923
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22924
      return
22925
    oprot.writeStructBegin('addAmazonItem_args')
22926
    if self.amazonlisted is not None:
22927
      oprot.writeFieldBegin('amazonlisted', TType.STRUCT, 1)
22928
      self.amazonlisted.write(oprot)
22929
      oprot.writeFieldEnd()
22930
    oprot.writeFieldStop()
22931
    oprot.writeStructEnd()
22932
 
22933
  def validate(self):
22934
    return
22935
 
22936
 
22937
  def __repr__(self):
22938
    L = ['%s=%r' % (key, value)
22939
      for key, value in self.__dict__.iteritems()]
22940
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22941
 
22942
  def __eq__(self, other):
22943
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22944
 
22945
  def __ne__(self, other):
22946
    return not (self == other)
22947
 
22948
class addAmazonItem_result:
22949
 
22950
  thrift_spec = (
22951
  )
22952
 
22953
  def read(self, iprot):
22954
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22955
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22956
      return
22957
    iprot.readStructBegin()
22958
    while True:
22959
      (fname, ftype, fid) = iprot.readFieldBegin()
22960
      if ftype == TType.STOP:
22961
        break
22962
      else:
22963
        iprot.skip(ftype)
22964
      iprot.readFieldEnd()
22965
    iprot.readStructEnd()
22966
 
22967
  def write(self, oprot):
22968
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
22969
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
22970
      return
22971
    oprot.writeStructBegin('addAmazonItem_result')
22972
    oprot.writeFieldStop()
22973
    oprot.writeStructEnd()
22974
 
22975
  def validate(self):
22976
    return
22977
 
22978
 
22979
  def __repr__(self):
22980
    L = ['%s=%r' % (key, value)
22981
      for key, value in self.__dict__.iteritems()]
22982
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
22983
 
22984
  def __eq__(self, other):
22985
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
22986
 
22987
  def __ne__(self, other):
22988
    return not (self == other)
7291 vikram.rag 22989
 
22990
class getAsinItems_args:
22991
 
22992
  thrift_spec = (
22993
  )
22994
 
22995
  def read(self, iprot):
22996
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
22997
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
22998
      return
22999
    iprot.readStructBegin()
23000
    while True:
23001
      (fname, ftype, fid) = iprot.readFieldBegin()
23002
      if ftype == TType.STOP:
23003
        break
23004
      else:
23005
        iprot.skip(ftype)
23006
      iprot.readFieldEnd()
23007
    iprot.readStructEnd()
23008
 
23009
  def write(self, oprot):
23010
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23011
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23012
      return
23013
    oprot.writeStructBegin('getAsinItems_args')
23014
    oprot.writeFieldStop()
23015
    oprot.writeStructEnd()
23016
 
23017
  def validate(self):
23018
    return
23019
 
23020
 
23021
  def __repr__(self):
23022
    L = ['%s=%r' % (key, value)
23023
      for key, value in self.__dict__.iteritems()]
23024
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23025
 
23026
  def __eq__(self, other):
23027
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23028
 
23029
  def __ne__(self, other):
23030
    return not (self == other)
23031
 
23032
class getAsinItems_result:
23033
  """
23034
  Attributes:
23035
   - success
23036
  """
23037
 
23038
  thrift_spec = (
23039
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
23040
  )
23041
 
23042
  def __init__(self, success=None,):
23043
    self.success = success
23044
 
23045
  def read(self, iprot):
23046
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23047
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23048
      return
23049
    iprot.readStructBegin()
23050
    while True:
23051
      (fname, ftype, fid) = iprot.readFieldBegin()
23052
      if ftype == TType.STOP:
23053
        break
23054
      if fid == 0:
23055
        if ftype == TType.LIST:
23056
          self.success = []
12567 amit.gupta 23057
          (_etype451, _size448) = iprot.readListBegin()
23058
          for _i452 in xrange(_size448):
23059
            _elem453 = Item()
23060
            _elem453.read(iprot)
23061
            self.success.append(_elem453)
7291 vikram.rag 23062
          iprot.readListEnd()
23063
        else:
23064
          iprot.skip(ftype)
23065
      else:
23066
        iprot.skip(ftype)
23067
      iprot.readFieldEnd()
23068
    iprot.readStructEnd()
23069
 
23070
  def write(self, oprot):
23071
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23072
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23073
      return
23074
    oprot.writeStructBegin('getAsinItems_result')
23075
    if self.success is not None:
23076
      oprot.writeFieldBegin('success', TType.LIST, 0)
23077
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 23078
      for iter454 in self.success:
23079
        iter454.write(oprot)
7291 vikram.rag 23080
      oprot.writeListEnd()
23081
      oprot.writeFieldEnd()
23082
    oprot.writeFieldStop()
23083
    oprot.writeStructEnd()
23084
 
23085
  def validate(self):
23086
    return
23087
 
23088
 
23089
  def __repr__(self):
23090
    L = ['%s=%r' % (key, value)
23091
      for key, value in self.__dict__.iteritems()]
23092
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23093
 
23094
  def __eq__(self, other):
23095
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23096
 
23097
  def __ne__(self, other):
23098
    return not (self == other)
23099
 
23100
class getAllFbaListedItems_args:
23101
 
23102
  thrift_spec = (
23103
  )
23104
 
23105
  def read(self, iprot):
23106
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23107
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23108
      return
23109
    iprot.readStructBegin()
23110
    while True:
23111
      (fname, ftype, fid) = iprot.readFieldBegin()
23112
      if ftype == TType.STOP:
23113
        break
23114
      else:
23115
        iprot.skip(ftype)
23116
      iprot.readFieldEnd()
23117
    iprot.readStructEnd()
23118
 
23119
  def write(self, oprot):
23120
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23121
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23122
      return
23123
    oprot.writeStructBegin('getAllFbaListedItems_args')
23124
    oprot.writeFieldStop()
23125
    oprot.writeStructEnd()
23126
 
23127
  def validate(self):
23128
    return
23129
 
23130
 
23131
  def __repr__(self):
23132
    L = ['%s=%r' % (key, value)
23133
      for key, value in self.__dict__.iteritems()]
23134
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23135
 
23136
  def __eq__(self, other):
23137
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23138
 
23139
  def __ne__(self, other):
23140
    return not (self == other)
23141
 
23142
class getAllFbaListedItems_result:
23143
  """
23144
  Attributes:
23145
   - success
23146
  """
23147
 
23148
  thrift_spec = (
23149
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23150
  )
23151
 
23152
  def __init__(self, success=None,):
23153
    self.success = success
23154
 
23155
  def read(self, iprot):
23156
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23157
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23158
      return
23159
    iprot.readStructBegin()
23160
    while True:
23161
      (fname, ftype, fid) = iprot.readFieldBegin()
23162
      if ftype == TType.STOP:
23163
        break
23164
      if fid == 0:
23165
        if ftype == TType.LIST:
23166
          self.success = []
12567 amit.gupta 23167
          (_etype458, _size455) = iprot.readListBegin()
23168
          for _i459 in xrange(_size455):
23169
            _elem460 = Amazonlisted()
23170
            _elem460.read(iprot)
23171
            self.success.append(_elem460)
7291 vikram.rag 23172
          iprot.readListEnd()
23173
        else:
23174
          iprot.skip(ftype)
23175
      else:
23176
        iprot.skip(ftype)
23177
      iprot.readFieldEnd()
23178
    iprot.readStructEnd()
23179
 
23180
  def write(self, oprot):
23181
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23182
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23183
      return
23184
    oprot.writeStructBegin('getAllFbaListedItems_result')
23185
    if self.success is not None:
23186
      oprot.writeFieldBegin('success', TType.LIST, 0)
23187
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 23188
      for iter461 in self.success:
23189
        iter461.write(oprot)
7291 vikram.rag 23190
      oprot.writeListEnd()
23191
      oprot.writeFieldEnd()
23192
    oprot.writeFieldStop()
23193
    oprot.writeStructEnd()
23194
 
23195
  def validate(self):
23196
    return
23197
 
23198
 
23199
  def __repr__(self):
23200
    L = ['%s=%r' % (key, value)
23201
      for key, value in self.__dict__.iteritems()]
23202
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23203
 
23204
  def __eq__(self, other):
23205
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23206
 
23207
  def __ne__(self, other):
23208
    return not (self == other)
23209
 
23210
class getAllNonFbaListedItems_args:
23211
 
23212
  thrift_spec = (
23213
  )
23214
 
23215
  def read(self, iprot):
23216
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23217
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23218
      return
23219
    iprot.readStructBegin()
23220
    while True:
23221
      (fname, ftype, fid) = iprot.readFieldBegin()
23222
      if ftype == TType.STOP:
23223
        break
23224
      else:
23225
        iprot.skip(ftype)
23226
      iprot.readFieldEnd()
23227
    iprot.readStructEnd()
23228
 
23229
  def write(self, oprot):
23230
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23231
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23232
      return
23233
    oprot.writeStructBegin('getAllNonFbaListedItems_args')
23234
    oprot.writeFieldStop()
23235
    oprot.writeStructEnd()
23236
 
23237
  def validate(self):
23238
    return
23239
 
23240
 
23241
  def __repr__(self):
23242
    L = ['%s=%r' % (key, value)
23243
      for key, value in self.__dict__.iteritems()]
23244
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23245
 
23246
  def __eq__(self, other):
23247
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23248
 
23249
  def __ne__(self, other):
23250
    return not (self == other)
23251
 
23252
class getAllNonFbaListedItems_result:
23253
  """
23254
  Attributes:
23255
   - success
23256
  """
23257
 
23258
  thrift_spec = (
23259
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
23260
  )
23261
 
23262
  def __init__(self, success=None,):
23263
    self.success = success
23264
 
23265
  def read(self, iprot):
23266
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23267
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23268
      return
23269
    iprot.readStructBegin()
23270
    while True:
23271
      (fname, ftype, fid) = iprot.readFieldBegin()
23272
      if ftype == TType.STOP:
23273
        break
23274
      if fid == 0:
23275
        if ftype == TType.LIST:
23276
          self.success = []
12567 amit.gupta 23277
          (_etype465, _size462) = iprot.readListBegin()
23278
          for _i466 in xrange(_size462):
23279
            _elem467 = Amazonlisted()
23280
            _elem467.read(iprot)
23281
            self.success.append(_elem467)
7291 vikram.rag 23282
          iprot.readListEnd()
23283
        else:
23284
          iprot.skip(ftype)
23285
      else:
23286
        iprot.skip(ftype)
23287
      iprot.readFieldEnd()
23288
    iprot.readStructEnd()
23289
 
23290
  def write(self, oprot):
23291
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23292
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23293
      return
23294
    oprot.writeStructBegin('getAllNonFbaListedItems_result')
23295
    if self.success is not None:
23296
      oprot.writeFieldBegin('success', TType.LIST, 0)
23297
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 23298
      for iter468 in self.success:
23299
        iter468.write(oprot)
7291 vikram.rag 23300
      oprot.writeListEnd()
23301
      oprot.writeFieldEnd()
23302
    oprot.writeFieldStop()
23303
    oprot.writeStructEnd()
23304
 
23305
  def validate(self):
23306
    return
23307
 
23308
 
23309
  def __repr__(self):
23310
    L = ['%s=%r' % (key, value)
23311
      for key, value in self.__dict__.iteritems()]
23312
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23313
 
23314
  def __eq__(self, other):
23315
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23316
 
23317
  def __ne__(self, other):
23318
    return not (self == other)
7460 kshitij.so 23319
 
23320
class updateItemInventory_args:
23321
  """
23322
  Attributes:
23323
   - itemId
23324
   - holdInventory
23325
   - defaultInventory
23326
  """
23327
 
23328
  thrift_spec = (
23329
    None, # 0
23330
    (1, TType.I64, 'itemId', None, None, ), # 1
23331
    (2, TType.I64, 'holdInventory', None, None, ), # 2
23332
    (3, TType.I64, 'defaultInventory', None, None, ), # 3
23333
  )
23334
 
23335
  def __init__(self, itemId=None, holdInventory=None, defaultInventory=None,):
23336
    self.itemId = itemId
23337
    self.holdInventory = holdInventory
23338
    self.defaultInventory = defaultInventory
23339
 
23340
  def read(self, iprot):
23341
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23342
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23343
      return
23344
    iprot.readStructBegin()
23345
    while True:
23346
      (fname, ftype, fid) = iprot.readFieldBegin()
23347
      if ftype == TType.STOP:
23348
        break
23349
      if fid == 1:
23350
        if ftype == TType.I64:
23351
          self.itemId = iprot.readI64();
23352
        else:
23353
          iprot.skip(ftype)
23354
      elif fid == 2:
23355
        if ftype == TType.I64:
23356
          self.holdInventory = iprot.readI64();
23357
        else:
23358
          iprot.skip(ftype)
23359
      elif fid == 3:
23360
        if ftype == TType.I64:
23361
          self.defaultInventory = iprot.readI64();
23362
        else:
23363
          iprot.skip(ftype)
23364
      else:
23365
        iprot.skip(ftype)
23366
      iprot.readFieldEnd()
23367
    iprot.readStructEnd()
23368
 
23369
  def write(self, oprot):
23370
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23371
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23372
      return
23373
    oprot.writeStructBegin('updateItemInventory_args')
23374
    if self.itemId is not None:
23375
      oprot.writeFieldBegin('itemId', TType.I64, 1)
23376
      oprot.writeI64(self.itemId)
23377
      oprot.writeFieldEnd()
23378
    if self.holdInventory is not None:
23379
      oprot.writeFieldBegin('holdInventory', TType.I64, 2)
23380
      oprot.writeI64(self.holdInventory)
23381
      oprot.writeFieldEnd()
23382
    if self.defaultInventory is not None:
23383
      oprot.writeFieldBegin('defaultInventory', TType.I64, 3)
23384
      oprot.writeI64(self.defaultInventory)
23385
      oprot.writeFieldEnd()
23386
    oprot.writeFieldStop()
23387
    oprot.writeStructEnd()
23388
 
23389
  def validate(self):
23390
    return
23391
 
23392
 
23393
  def __repr__(self):
23394
    L = ['%s=%r' % (key, value)
23395
      for key, value in self.__dict__.iteritems()]
23396
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23397
 
23398
  def __eq__(self, other):
23399
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23400
 
23401
  def __ne__(self, other):
23402
    return not (self == other)
23403
 
23404
class updateItemInventory_result:
23405
  """
23406
  Attributes:
23407
   - success
23408
  """
23409
 
23410
  thrift_spec = (
23411
    (0, TType.BOOL, 'success', None, None, ), # 0
23412
  )
23413
 
23414
  def __init__(self, success=None,):
23415
    self.success = success
23416
 
23417
  def read(self, iprot):
23418
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23419
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23420
      return
23421
    iprot.readStructBegin()
23422
    while True:
23423
      (fname, ftype, fid) = iprot.readFieldBegin()
23424
      if ftype == TType.STOP:
23425
        break
23426
      if fid == 0:
23427
        if ftype == TType.BOOL:
23428
          self.success = iprot.readBool();
23429
        else:
23430
          iprot.skip(ftype)
23431
      else:
23432
        iprot.skip(ftype)
23433
      iprot.readFieldEnd()
23434
    iprot.readStructEnd()
23435
 
23436
  def write(self, oprot):
23437
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23438
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23439
      return
23440
    oprot.writeStructBegin('updateItemInventory_result')
23441
    if self.success is not None:
23442
      oprot.writeFieldBegin('success', TType.BOOL, 0)
23443
      oprot.writeBool(self.success)
23444
      oprot.writeFieldEnd()
23445
    oprot.writeFieldStop()
23446
    oprot.writeStructEnd()
23447
 
23448
  def validate(self):
23449
    return
23450
 
23451
 
23452
  def __repr__(self):
23453
    L = ['%s=%r' % (key, value)
23454
      for key, value in self.__dict__.iteritems()]
23455
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23456
 
23457
  def __eq__(self, other):
23458
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23459
 
23460
  def __ne__(self, other):
23461
    return not (self == other)
7770 kshitij.so 23462
 
23463
class updateTimestampForAmazonFeeds_args:
23464
  """
23465
  Attributes:
23466
   - type
23467
   - sku
23468
   - timestamp
23469
  """
23470
 
23471
  thrift_spec = (
23472
    None, # 0
23473
    (1, TType.STRING, 'type', None, None, ), # 1
23474
    (2, TType.LIST, 'sku', (TType.I64,None), None, ), # 2
23475
    (3, TType.I64, 'timestamp', None, None, ), # 3
23476
  )
23477
 
23478
  def __init__(self, type=None, sku=None, timestamp=None,):
23479
    self.type = type
23480
    self.sku = sku
23481
    self.timestamp = timestamp
23482
 
23483
  def read(self, iprot):
23484
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23485
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23486
      return
23487
    iprot.readStructBegin()
23488
    while True:
23489
      (fname, ftype, fid) = iprot.readFieldBegin()
23490
      if ftype == TType.STOP:
23491
        break
23492
      if fid == 1:
23493
        if ftype == TType.STRING:
23494
          self.type = iprot.readString();
23495
        else:
23496
          iprot.skip(ftype)
23497
      elif fid == 2:
23498
        if ftype == TType.LIST:
23499
          self.sku = []
12567 amit.gupta 23500
          (_etype472, _size469) = iprot.readListBegin()
23501
          for _i473 in xrange(_size469):
23502
            _elem474 = iprot.readI64();
23503
            self.sku.append(_elem474)
7770 kshitij.so 23504
          iprot.readListEnd()
23505
        else:
23506
          iprot.skip(ftype)
23507
      elif fid == 3:
23508
        if ftype == TType.I64:
23509
          self.timestamp = iprot.readI64();
23510
        else:
23511
          iprot.skip(ftype)
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('updateTimestampForAmazonFeeds_args')
23522
    if self.type is not None:
23523
      oprot.writeFieldBegin('type', TType.STRING, 1)
23524
      oprot.writeString(self.type)
23525
      oprot.writeFieldEnd()
23526
    if self.sku is not None:
23527
      oprot.writeFieldBegin('sku', TType.LIST, 2)
23528
      oprot.writeListBegin(TType.I64, len(self.sku))
12567 amit.gupta 23529
      for iter475 in self.sku:
23530
        oprot.writeI64(iter475)
7770 kshitij.so 23531
      oprot.writeListEnd()
23532
      oprot.writeFieldEnd()
23533
    if self.timestamp is not None:
23534
      oprot.writeFieldBegin('timestamp', TType.I64, 3)
23535
      oprot.writeI64(self.timestamp)
23536
      oprot.writeFieldEnd()
23537
    oprot.writeFieldStop()
23538
    oprot.writeStructEnd()
23539
 
23540
  def validate(self):
23541
    return
23542
 
23543
 
23544
  def __repr__(self):
23545
    L = ['%s=%r' % (key, value)
23546
      for key, value in self.__dict__.iteritems()]
23547
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23548
 
23549
  def __eq__(self, other):
23550
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23551
 
23552
  def __ne__(self, other):
23553
    return not (self == other)
23554
 
23555
class updateTimestampForAmazonFeeds_result:
23556
  """
23557
  Attributes:
23558
   - success
23559
  """
23560
 
23561
  thrift_spec = (
23562
    (0, TType.BOOL, 'success', None, None, ), # 0
23563
  )
23564
 
23565
  def __init__(self, success=None,):
23566
    self.success = success
23567
 
23568
  def read(self, iprot):
23569
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23570
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23571
      return
23572
    iprot.readStructBegin()
23573
    while True:
23574
      (fname, ftype, fid) = iprot.readFieldBegin()
23575
      if ftype == TType.STOP:
23576
        break
23577
      if fid == 0:
23578
        if ftype == TType.BOOL:
23579
          self.success = iprot.readBool();
23580
        else:
23581
          iprot.skip(ftype)
23582
      else:
23583
        iprot.skip(ftype)
23584
      iprot.readFieldEnd()
23585
    iprot.readStructEnd()
23586
 
23587
  def write(self, oprot):
23588
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23589
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23590
      return
23591
    oprot.writeStructBegin('updateTimestampForAmazonFeeds_result')
23592
    if self.success is not None:
23593
      oprot.writeFieldBegin('success', TType.BOOL, 0)
23594
      oprot.writeBool(self.success)
23595
      oprot.writeFieldEnd()
23596
    oprot.writeFieldStop()
23597
    oprot.writeStructEnd()
23598
 
23599
  def validate(self):
23600
    return
23601
 
23602
 
23603
  def __repr__(self):
23604
    L = ['%s=%r' % (key, value)
23605
      for key, value in self.__dict__.iteritems()]
23606
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23607
 
23608
  def __eq__(self, other):
23609
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23610
 
23611
  def __ne__(self, other):
23612
    return not (self == other)
7897 amar.kumar 23613
 
23614
class getAllParentCategories_args:
23615
 
23616
  thrift_spec = (
23617
  )
23618
 
23619
  def read(self, iprot):
23620
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23621
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23622
      return
23623
    iprot.readStructBegin()
23624
    while True:
23625
      (fname, ftype, fid) = iprot.readFieldBegin()
23626
      if ftype == TType.STOP:
23627
        break
23628
      else:
23629
        iprot.skip(ftype)
23630
      iprot.readFieldEnd()
23631
    iprot.readStructEnd()
23632
 
23633
  def write(self, oprot):
23634
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23635
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23636
      return
23637
    oprot.writeStructBegin('getAllParentCategories_args')
23638
    oprot.writeFieldStop()
23639
    oprot.writeStructEnd()
23640
 
23641
  def validate(self):
23642
    return
23643
 
23644
 
23645
  def __repr__(self):
23646
    L = ['%s=%r' % (key, value)
23647
      for key, value in self.__dict__.iteritems()]
23648
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23649
 
23650
  def __eq__(self, other):
23651
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23652
 
23653
  def __ne__(self, other):
23654
    return not (self == other)
23655
 
23656
class getAllParentCategories_result:
23657
  """
23658
  Attributes:
23659
   - success
23660
  """
23661
 
23662
  thrift_spec = (
23663
    (0, TType.LIST, 'success', (TType.STRUCT,(Category, Category.thrift_spec)), None, ), # 0
23664
  )
23665
 
23666
  def __init__(self, success=None,):
23667
    self.success = success
23668
 
23669
  def read(self, iprot):
23670
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23671
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23672
      return
23673
    iprot.readStructBegin()
23674
    while True:
23675
      (fname, ftype, fid) = iprot.readFieldBegin()
23676
      if ftype == TType.STOP:
23677
        break
23678
      if fid == 0:
23679
        if ftype == TType.LIST:
23680
          self.success = []
12567 amit.gupta 23681
          (_etype479, _size476) = iprot.readListBegin()
23682
          for _i480 in xrange(_size476):
23683
            _elem481 = Category()
23684
            _elem481.read(iprot)
23685
            self.success.append(_elem481)
7897 amar.kumar 23686
          iprot.readListEnd()
23687
        else:
23688
          iprot.skip(ftype)
23689
      else:
23690
        iprot.skip(ftype)
23691
      iprot.readFieldEnd()
23692
    iprot.readStructEnd()
23693
 
23694
  def write(self, oprot):
23695
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23696
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23697
      return
23698
    oprot.writeStructBegin('getAllParentCategories_result')
23699
    if self.success is not None:
23700
      oprot.writeFieldBegin('success', TType.LIST, 0)
23701
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 23702
      for iter482 in self.success:
23703
        iter482.write(oprot)
7897 amar.kumar 23704
      oprot.writeListEnd()
23705
      oprot.writeFieldEnd()
23706
    oprot.writeFieldStop()
23707
    oprot.writeStructEnd()
23708
 
23709
  def validate(self):
23710
    return
23711
 
23712
 
23713
  def __repr__(self):
23714
    L = ['%s=%r' % (key, value)
23715
      for key, value in self.__dict__.iteritems()]
23716
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23717
 
23718
  def __eq__(self, other):
23719
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23720
 
23721
  def __ne__(self, other):
23722
    return not (self == other)
7977 kshitij.so 23723
 
23724
class addPageViewEvent_args:
23725
  """
23726
  Attributes:
23727
   - pageViewEvents
23728
  """
23729
 
23730
  thrift_spec = (
23731
    None, # 0
23732
    (1, TType.STRUCT, 'pageViewEvents', (PageViewEvents, PageViewEvents.thrift_spec), None, ), # 1
23733
  )
23734
 
23735
  def __init__(self, pageViewEvents=None,):
23736
    self.pageViewEvents = pageViewEvents
23737
 
23738
  def read(self, iprot):
23739
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23740
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23741
      return
23742
    iprot.readStructBegin()
23743
    while True:
23744
      (fname, ftype, fid) = iprot.readFieldBegin()
23745
      if ftype == TType.STOP:
23746
        break
23747
      if fid == 1:
23748
        if ftype == TType.STRUCT:
23749
          self.pageViewEvents = PageViewEvents()
23750
          self.pageViewEvents.read(iprot)
23751
        else:
23752
          iprot.skip(ftype)
23753
      else:
23754
        iprot.skip(ftype)
23755
      iprot.readFieldEnd()
23756
    iprot.readStructEnd()
23757
 
23758
  def write(self, oprot):
23759
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23760
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23761
      return
23762
    oprot.writeStructBegin('addPageViewEvent_args')
23763
    if self.pageViewEvents is not None:
23764
      oprot.writeFieldBegin('pageViewEvents', TType.STRUCT, 1)
23765
      self.pageViewEvents.write(oprot)
23766
      oprot.writeFieldEnd()
23767
    oprot.writeFieldStop()
23768
    oprot.writeStructEnd()
23769
 
23770
  def validate(self):
23771
    return
23772
 
23773
 
23774
  def __repr__(self):
23775
    L = ['%s=%r' % (key, value)
23776
      for key, value in self.__dict__.iteritems()]
23777
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23778
 
23779
  def __eq__(self, other):
23780
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23781
 
23782
  def __ne__(self, other):
23783
    return not (self == other)
23784
 
23785
class addPageViewEvent_result:
23786
 
23787
  thrift_spec = (
23788
  )
23789
 
23790
  def read(self, iprot):
23791
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23792
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23793
      return
23794
    iprot.readStructBegin()
23795
    while True:
23796
      (fname, ftype, fid) = iprot.readFieldBegin()
23797
      if ftype == TType.STOP:
23798
        break
23799
      else:
23800
        iprot.skip(ftype)
23801
      iprot.readFieldEnd()
23802
    iprot.readStructEnd()
23803
 
23804
  def write(self, oprot):
23805
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23806
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23807
      return
23808
    oprot.writeStructBegin('addPageViewEvent_result')
23809
    oprot.writeFieldStop()
23810
    oprot.writeStructEnd()
23811
 
23812
  def validate(self):
23813
    return
23814
 
23815
 
23816
  def __repr__(self):
23817
    L = ['%s=%r' % (key, value)
23818
      for key, value in self.__dict__.iteritems()]
23819
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23820
 
23821
  def __eq__(self, other):
23822
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23823
 
23824
  def __ne__(self, other):
23825
    return not (self == other)
23826
 
23827
class addCartEvent_args:
23828
  """
23829
  Attributes:
23830
   - cartEvents
23831
  """
23832
 
23833
  thrift_spec = (
23834
    None, # 0
23835
    (1, TType.STRUCT, 'cartEvents', (CartEvents, CartEvents.thrift_spec), None, ), # 1
23836
  )
23837
 
23838
  def __init__(self, cartEvents=None,):
23839
    self.cartEvents = cartEvents
23840
 
23841
  def read(self, iprot):
23842
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23843
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23844
      return
23845
    iprot.readStructBegin()
23846
    while True:
23847
      (fname, ftype, fid) = iprot.readFieldBegin()
23848
      if ftype == TType.STOP:
23849
        break
23850
      if fid == 1:
23851
        if ftype == TType.STRUCT:
23852
          self.cartEvents = CartEvents()
23853
          self.cartEvents.read(iprot)
23854
        else:
23855
          iprot.skip(ftype)
23856
      else:
23857
        iprot.skip(ftype)
23858
      iprot.readFieldEnd()
23859
    iprot.readStructEnd()
23860
 
23861
  def write(self, oprot):
23862
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23863
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23864
      return
23865
    oprot.writeStructBegin('addCartEvent_args')
23866
    if self.cartEvents is not None:
23867
      oprot.writeFieldBegin('cartEvents', TType.STRUCT, 1)
23868
      self.cartEvents.write(oprot)
23869
      oprot.writeFieldEnd()
23870
    oprot.writeFieldStop()
23871
    oprot.writeStructEnd()
23872
 
23873
  def validate(self):
23874
    return
23875
 
23876
 
23877
  def __repr__(self):
23878
    L = ['%s=%r' % (key, value)
23879
      for key, value in self.__dict__.iteritems()]
23880
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23881
 
23882
  def __eq__(self, other):
23883
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23884
 
23885
  def __ne__(self, other):
23886
    return not (self == other)
23887
 
23888
class addCartEvent_result:
23889
 
23890
  thrift_spec = (
23891
  )
23892
 
23893
  def read(self, iprot):
23894
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23895
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23896
      return
23897
    iprot.readStructBegin()
23898
    while True:
23899
      (fname, ftype, fid) = iprot.readFieldBegin()
23900
      if ftype == TType.STOP:
23901
        break
23902
      else:
23903
        iprot.skip(ftype)
23904
      iprot.readFieldEnd()
23905
    iprot.readStructEnd()
23906
 
23907
  def write(self, oprot):
23908
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23909
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23910
      return
23911
    oprot.writeStructBegin('addCartEvent_result')
23912
    oprot.writeFieldStop()
23913
    oprot.writeStructEnd()
23914
 
23915
  def validate(self):
23916
    return
23917
 
23918
 
23919
  def __repr__(self):
23920
    L = ['%s=%r' % (key, value)
23921
      for key, value in self.__dict__.iteritems()]
23922
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23923
 
23924
  def __eq__(self, other):
23925
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23926
 
23927
  def __ne__(self, other):
23928
    return not (self == other)
8139 kshitij.so 23929
 
8182 amar.kumar 23930
class addEbayItem_args:
23931
  """
23932
  Attributes:
23933
   - ebayItem
23934
  """
23935
 
23936
  thrift_spec = (
23937
    None, # 0
23938
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
23939
  )
23940
 
23941
  def __init__(self, ebayItem=None,):
23942
    self.ebayItem = ebayItem
23943
 
23944
  def read(self, iprot):
23945
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23946
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23947
      return
23948
    iprot.readStructBegin()
23949
    while True:
23950
      (fname, ftype, fid) = iprot.readFieldBegin()
23951
      if ftype == TType.STOP:
23952
        break
23953
      if fid == 1:
23954
        if ftype == TType.STRUCT:
23955
          self.ebayItem = EbayItem()
23956
          self.ebayItem.read(iprot)
23957
        else:
23958
          iprot.skip(ftype)
23959
      else:
23960
        iprot.skip(ftype)
23961
      iprot.readFieldEnd()
23962
    iprot.readStructEnd()
23963
 
23964
  def write(self, oprot):
23965
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
23966
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
23967
      return
23968
    oprot.writeStructBegin('addEbayItem_args')
23969
    if self.ebayItem is not None:
23970
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
23971
      self.ebayItem.write(oprot)
23972
      oprot.writeFieldEnd()
23973
    oprot.writeFieldStop()
23974
    oprot.writeStructEnd()
23975
 
23976
  def validate(self):
23977
    return
23978
 
23979
 
23980
  def __repr__(self):
23981
    L = ['%s=%r' % (key, value)
23982
      for key, value in self.__dict__.iteritems()]
23983
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
23984
 
23985
  def __eq__(self, other):
23986
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
23987
 
23988
  def __ne__(self, other):
23989
    return not (self == other)
23990
 
23991
class addEbayItem_result:
23992
 
23993
  thrift_spec = (
23994
  )
23995
 
23996
  def read(self, iprot):
23997
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
23998
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
23999
      return
24000
    iprot.readStructBegin()
24001
    while True:
24002
      (fname, ftype, fid) = iprot.readFieldBegin()
24003
      if ftype == TType.STOP:
24004
        break
24005
      else:
24006
        iprot.skip(ftype)
24007
      iprot.readFieldEnd()
24008
    iprot.readStructEnd()
24009
 
24010
  def write(self, oprot):
24011
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24012
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24013
      return
24014
    oprot.writeStructBegin('addEbayItem_result')
24015
    oprot.writeFieldStop()
24016
    oprot.writeStructEnd()
24017
 
24018
  def validate(self):
24019
    return
24020
 
24021
 
24022
  def __repr__(self):
24023
    L = ['%s=%r' % (key, value)
24024
      for key, value in self.__dict__.iteritems()]
24025
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24026
 
24027
  def __eq__(self, other):
24028
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24029
 
24030
  def __ne__(self, other):
24031
    return not (self == other)
24032
 
24033
class getEbayItem_args:
24034
  """
24035
  Attributes:
24036
   - listingId
24037
  """
24038
 
24039
  thrift_spec = (
24040
    None, # 0
24041
    (1, TType.STRING, 'listingId', None, None, ), # 1
24042
  )
24043
 
24044
  def __init__(self, listingId=None,):
24045
    self.listingId = listingId
24046
 
24047
  def read(self, iprot):
24048
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24049
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24050
      return
24051
    iprot.readStructBegin()
24052
    while True:
24053
      (fname, ftype, fid) = iprot.readFieldBegin()
24054
      if ftype == TType.STOP:
24055
        break
24056
      if fid == 1:
24057
        if ftype == TType.STRING:
24058
          self.listingId = iprot.readString();
24059
        else:
24060
          iprot.skip(ftype)
24061
      else:
24062
        iprot.skip(ftype)
24063
      iprot.readFieldEnd()
24064
    iprot.readStructEnd()
24065
 
24066
  def write(self, oprot):
24067
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24068
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24069
      return
24070
    oprot.writeStructBegin('getEbayItem_args')
24071
    if self.listingId is not None:
24072
      oprot.writeFieldBegin('listingId', TType.STRING, 1)
24073
      oprot.writeString(self.listingId)
24074
      oprot.writeFieldEnd()
24075
    oprot.writeFieldStop()
24076
    oprot.writeStructEnd()
24077
 
24078
  def validate(self):
24079
    return
24080
 
24081
 
24082
  def __repr__(self):
24083
    L = ['%s=%r' % (key, value)
24084
      for key, value in self.__dict__.iteritems()]
24085
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24086
 
24087
  def __eq__(self, other):
24088
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24089
 
24090
  def __ne__(self, other):
24091
    return not (self == other)
24092
 
24093
class getEbayItem_result:
24094
  """
24095
  Attributes:
24096
   - success
24097
  """
24098
 
24099
  thrift_spec = (
24100
    (0, TType.STRUCT, 'success', (EbayItem, EbayItem.thrift_spec), None, ), # 0
24101
  )
24102
 
24103
  def __init__(self, success=None,):
24104
    self.success = success
24105
 
24106
  def read(self, iprot):
24107
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24108
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24109
      return
24110
    iprot.readStructBegin()
24111
    while True:
24112
      (fname, ftype, fid) = iprot.readFieldBegin()
24113
      if ftype == TType.STOP:
24114
        break
24115
      if fid == 0:
24116
        if ftype == TType.STRUCT:
24117
          self.success = EbayItem()
24118
          self.success.read(iprot)
24119
        else:
24120
          iprot.skip(ftype)
24121
      else:
24122
        iprot.skip(ftype)
24123
      iprot.readFieldEnd()
24124
    iprot.readStructEnd()
24125
 
24126
  def write(self, oprot):
24127
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24128
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24129
      return
24130
    oprot.writeStructBegin('getEbayItem_result')
24131
    if self.success is not None:
24132
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
24133
      self.success.write(oprot)
24134
      oprot.writeFieldEnd()
24135
    oprot.writeFieldStop()
24136
    oprot.writeStructEnd()
24137
 
24138
  def validate(self):
24139
    return
24140
 
24141
 
24142
  def __repr__(self):
24143
    L = ['%s=%r' % (key, value)
24144
      for key, value in self.__dict__.iteritems()]
24145
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24146
 
24147
  def __eq__(self, other):
24148
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24149
 
24150
  def __ne__(self, other):
24151
    return not (self == other)
24152
 
24153
class updateEbayItem_args:
24154
  """
24155
  Attributes:
24156
   - ebayItem
24157
  """
24158
 
24159
  thrift_spec = (
24160
    None, # 0
24161
    (1, TType.STRUCT, 'ebayItem', (EbayItem, EbayItem.thrift_spec), None, ), # 1
24162
  )
24163
 
24164
  def __init__(self, ebayItem=None,):
24165
    self.ebayItem = ebayItem
24166
 
24167
  def read(self, iprot):
24168
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24169
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24170
      return
24171
    iprot.readStructBegin()
24172
    while True:
24173
      (fname, ftype, fid) = iprot.readFieldBegin()
24174
      if ftype == TType.STOP:
24175
        break
24176
      if fid == 1:
24177
        if ftype == TType.STRUCT:
24178
          self.ebayItem = EbayItem()
24179
          self.ebayItem.read(iprot)
24180
        else:
24181
          iprot.skip(ftype)
24182
      else:
24183
        iprot.skip(ftype)
24184
      iprot.readFieldEnd()
24185
    iprot.readStructEnd()
24186
 
24187
  def write(self, oprot):
24188
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24189
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24190
      return
24191
    oprot.writeStructBegin('updateEbayItem_args')
24192
    if self.ebayItem is not None:
24193
      oprot.writeFieldBegin('ebayItem', TType.STRUCT, 1)
24194
      self.ebayItem.write(oprot)
24195
      oprot.writeFieldEnd()
24196
    oprot.writeFieldStop()
24197
    oprot.writeStructEnd()
24198
 
24199
  def validate(self):
24200
    return
24201
 
24202
 
24203
  def __repr__(self):
24204
    L = ['%s=%r' % (key, value)
24205
      for key, value in self.__dict__.iteritems()]
24206
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24207
 
24208
  def __eq__(self, other):
24209
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24210
 
24211
  def __ne__(self, other):
24212
    return not (self == other)
24213
 
24214
class updateEbayItem_result:
24215
 
24216
  thrift_spec = (
24217
  )
24218
 
24219
  def read(self, iprot):
24220
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24221
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24222
      return
24223
    iprot.readStructBegin()
24224
    while True:
24225
      (fname, ftype, fid) = iprot.readFieldBegin()
24226
      if ftype == TType.STOP:
24227
        break
24228
      else:
24229
        iprot.skip(ftype)
24230
      iprot.readFieldEnd()
24231
    iprot.readStructEnd()
24232
 
24233
  def write(self, oprot):
24234
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24235
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24236
      return
24237
    oprot.writeStructBegin('updateEbayItem_result')
24238
    oprot.writeFieldStop()
24239
    oprot.writeStructEnd()
24240
 
24241
  def validate(self):
24242
    return
24243
 
24244
 
24245
  def __repr__(self):
24246
    L = ['%s=%r' % (key, value)
24247
      for key, value in self.__dict__.iteritems()]
24248
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24249
 
24250
  def __eq__(self, other):
24251
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24252
 
24253
  def __ne__(self, other):
24254
    return not (self == other)
24255
 
8139 kshitij.so 24256
class getAmazonListedItems_args:
24257
  """
24258
  Attributes:
24259
   - offset
24260
   - limit
24261
  """
24262
 
24263
  thrift_spec = (
24264
    None, # 0
24265
    (1, TType.I64, 'offset', None, None, ), # 1
24266
    (2, TType.I64, 'limit', None, None, ), # 2
24267
  )
24268
 
24269
  def __init__(self, offset=None, limit=None,):
24270
    self.offset = offset
24271
    self.limit = limit
24272
 
24273
  def read(self, iprot):
24274
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24275
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24276
      return
24277
    iprot.readStructBegin()
24278
    while True:
24279
      (fname, ftype, fid) = iprot.readFieldBegin()
24280
      if ftype == TType.STOP:
24281
        break
24282
      if fid == 1:
24283
        if ftype == TType.I64:
24284
          self.offset = iprot.readI64();
24285
        else:
24286
          iprot.skip(ftype)
24287
      elif fid == 2:
24288
        if ftype == TType.I64:
24289
          self.limit = iprot.readI64();
24290
        else:
24291
          iprot.skip(ftype)
24292
      else:
24293
        iprot.skip(ftype)
24294
      iprot.readFieldEnd()
24295
    iprot.readStructEnd()
24296
 
24297
  def write(self, oprot):
24298
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24299
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24300
      return
24301
    oprot.writeStructBegin('getAmazonListedItems_args')
24302
    if self.offset is not None:
24303
      oprot.writeFieldBegin('offset', TType.I64, 1)
24304
      oprot.writeI64(self.offset)
24305
      oprot.writeFieldEnd()
24306
    if self.limit is not None:
24307
      oprot.writeFieldBegin('limit', TType.I64, 2)
24308
      oprot.writeI64(self.limit)
24309
      oprot.writeFieldEnd()
24310
    oprot.writeFieldStop()
24311
    oprot.writeStructEnd()
24312
 
24313
  def validate(self):
24314
    return
24315
 
24316
 
24317
  def __repr__(self):
24318
    L = ['%s=%r' % (key, value)
24319
      for key, value in self.__dict__.iteritems()]
24320
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24321
 
24322
  def __eq__(self, other):
24323
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24324
 
24325
  def __ne__(self, other):
24326
    return not (self == other)
24327
 
24328
class getAmazonListedItems_result:
24329
  """
24330
  Attributes:
24331
   - success
24332
  """
24333
 
24334
  thrift_spec = (
24335
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
24336
  )
24337
 
24338
  def __init__(self, success=None,):
24339
    self.success = success
24340
 
24341
  def read(self, iprot):
24342
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24343
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24344
      return
24345
    iprot.readStructBegin()
24346
    while True:
24347
      (fname, ftype, fid) = iprot.readFieldBegin()
24348
      if ftype == TType.STOP:
24349
        break
24350
      if fid == 0:
24351
        if ftype == TType.LIST:
24352
          self.success = []
12567 amit.gupta 24353
          (_etype486, _size483) = iprot.readListBegin()
24354
          for _i487 in xrange(_size483):
24355
            _elem488 = Amazonlisted()
24356
            _elem488.read(iprot)
24357
            self.success.append(_elem488)
8139 kshitij.so 24358
          iprot.readListEnd()
24359
        else:
24360
          iprot.skip(ftype)
24361
      else:
24362
        iprot.skip(ftype)
24363
      iprot.readFieldEnd()
24364
    iprot.readStructEnd()
24365
 
24366
  def write(self, oprot):
24367
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24368
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24369
      return
24370
    oprot.writeStructBegin('getAmazonListedItems_result')
24371
    if self.success is not None:
24372
      oprot.writeFieldBegin('success', TType.LIST, 0)
24373
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 24374
      for iter489 in self.success:
24375
        iter489.write(oprot)
8139 kshitij.so 24376
      oprot.writeListEnd()
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)
8168 kshitij.so 24395
 
24396
class updateAmazonAttributesInBulk_args:
24397
  """
24398
  Attributes:
24399
   - amazonlisted
24400
  """
24401
 
24402
  thrift_spec = (
24403
    None, # 0
24404
    (1, TType.MAP, 'amazonlisted', (TType.I64,None,TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 1
24405
  )
24406
 
24407
  def __init__(self, amazonlisted=None,):
24408
    self.amazonlisted = amazonlisted
24409
 
24410
  def read(self, iprot):
24411
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24412
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24413
      return
24414
    iprot.readStructBegin()
24415
    while True:
24416
      (fname, ftype, fid) = iprot.readFieldBegin()
24417
      if ftype == TType.STOP:
24418
        break
24419
      if fid == 1:
24420
        if ftype == TType.MAP:
24421
          self.amazonlisted = {}
12567 amit.gupta 24422
          (_ktype491, _vtype492, _size490 ) = iprot.readMapBegin() 
24423
          for _i494 in xrange(_size490):
24424
            _key495 = iprot.readI64();
24425
            _val496 = Amazonlisted()
24426
            _val496.read(iprot)
24427
            self.amazonlisted[_key495] = _val496
8168 kshitij.so 24428
          iprot.readMapEnd()
24429
        else:
24430
          iprot.skip(ftype)
24431
      else:
24432
        iprot.skip(ftype)
24433
      iprot.readFieldEnd()
24434
    iprot.readStructEnd()
24435
 
24436
  def write(self, oprot):
24437
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24438
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24439
      return
24440
    oprot.writeStructBegin('updateAmazonAttributesInBulk_args')
24441
    if self.amazonlisted is not None:
24442
      oprot.writeFieldBegin('amazonlisted', TType.MAP, 1)
24443
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.amazonlisted))
12567 amit.gupta 24444
      for kiter497,viter498 in self.amazonlisted.items():
24445
        oprot.writeI64(kiter497)
24446
        viter498.write(oprot)
8168 kshitij.so 24447
      oprot.writeMapEnd()
24448
      oprot.writeFieldEnd()
24449
    oprot.writeFieldStop()
24450
    oprot.writeStructEnd()
24451
 
24452
  def validate(self):
24453
    return
24454
 
24455
 
24456
  def __repr__(self):
24457
    L = ['%s=%r' % (key, value)
24458
      for key, value in self.__dict__.iteritems()]
24459
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24460
 
24461
  def __eq__(self, other):
24462
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24463
 
24464
  def __ne__(self, other):
24465
    return not (self == other)
24466
 
24467
class updateAmazonAttributesInBulk_result:
24468
  """
24469
  Attributes:
24470
   - success
24471
  """
24472
 
24473
  thrift_spec = (
24474
    (0, TType.BOOL, 'success', None, None, ), # 0
24475
  )
24476
 
24477
  def __init__(self, success=None,):
24478
    self.success = success
24479
 
24480
  def read(self, iprot):
24481
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24482
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24483
      return
24484
    iprot.readStructBegin()
24485
    while True:
24486
      (fname, ftype, fid) = iprot.readFieldBegin()
24487
      if ftype == TType.STOP:
24488
        break
24489
      if fid == 0:
24490
        if ftype == TType.BOOL:
24491
          self.success = iprot.readBool();
24492
        else:
24493
          iprot.skip(ftype)
24494
      else:
24495
        iprot.skip(ftype)
24496
      iprot.readFieldEnd()
24497
    iprot.readStructEnd()
24498
 
24499
  def write(self, oprot):
24500
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24501
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24502
      return
24503
    oprot.writeStructBegin('updateAmazonAttributesInBulk_result')
24504
    if self.success is not None:
24505
      oprot.writeFieldBegin('success', TType.BOOL, 0)
24506
      oprot.writeBool(self.success)
24507
      oprot.writeFieldEnd()
24508
    oprot.writeFieldStop()
24509
    oprot.writeStructEnd()
24510
 
24511
  def validate(self):
24512
    return
24513
 
24514
 
24515
  def __repr__(self):
24516
    L = ['%s=%r' % (key, value)
24517
      for key, value in self.__dict__.iteritems()]
24518
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24519
 
24520
  def __eq__(self, other):
24521
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24522
 
24523
  def __ne__(self, other):
24524
    return not (self == other)
8379 vikram.rag 24525
 
24526
class getAllItemstoListOnFba_args:
24527
 
24528
  thrift_spec = (
24529
  )
24530
 
24531
  def read(self, iprot):
24532
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24533
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24534
      return
24535
    iprot.readStructBegin()
24536
    while True:
24537
      (fname, ftype, fid) = iprot.readFieldBegin()
24538
      if ftype == TType.STOP:
24539
        break
24540
      else:
24541
        iprot.skip(ftype)
24542
      iprot.readFieldEnd()
24543
    iprot.readStructEnd()
24544
 
24545
  def write(self, oprot):
24546
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24547
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24548
      return
24549
    oprot.writeStructBegin('getAllItemstoListOnFba_args')
24550
    oprot.writeFieldStop()
24551
    oprot.writeStructEnd()
24552
 
24553
  def validate(self):
24554
    return
24555
 
24556
 
24557
  def __repr__(self):
24558
    L = ['%s=%r' % (key, value)
24559
      for key, value in self.__dict__.iteritems()]
24560
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24561
 
24562
  def __eq__(self, other):
24563
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24564
 
24565
  def __ne__(self, other):
24566
    return not (self == other)
24567
 
24568
class getAllItemstoListOnFba_result:
24569
  """
24570
  Attributes:
24571
   - success
24572
  """
24573
 
24574
  thrift_spec = (
24575
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
24576
  )
24577
 
24578
  def __init__(self, success=None,):
24579
    self.success = success
24580
 
24581
  def read(self, iprot):
24582
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24583
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24584
      return
24585
    iprot.readStructBegin()
24586
    while True:
24587
      (fname, ftype, fid) = iprot.readFieldBegin()
24588
      if ftype == TType.STOP:
24589
        break
24590
      if fid == 0:
24591
        if ftype == TType.LIST:
24592
          self.success = []
12567 amit.gupta 24593
          (_etype502, _size499) = iprot.readListBegin()
24594
          for _i503 in xrange(_size499):
24595
            _elem504 = Amazonlisted()
24596
            _elem504.read(iprot)
24597
            self.success.append(_elem504)
8379 vikram.rag 24598
          iprot.readListEnd()
24599
        else:
24600
          iprot.skip(ftype)
24601
      else:
24602
        iprot.skip(ftype)
24603
      iprot.readFieldEnd()
24604
    iprot.readStructEnd()
24605
 
24606
  def write(self, oprot):
24607
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24608
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24609
      return
24610
    oprot.writeStructBegin('getAllItemstoListOnFba_result')
24611
    if self.success is not None:
24612
      oprot.writeFieldBegin('success', TType.LIST, 0)
24613
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 24614
      for iter505 in self.success:
24615
        iter505.write(oprot)
8379 vikram.rag 24616
      oprot.writeListEnd()
24617
      oprot.writeFieldEnd()
24618
    oprot.writeFieldStop()
24619
    oprot.writeStructEnd()
24620
 
24621
  def validate(self):
24622
    return
24623
 
24624
 
24625
  def __repr__(self):
24626
    L = ['%s=%r' % (key, value)
24627
      for key, value in self.__dict__.iteritems()]
24628
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24629
 
24630
  def __eq__(self, other):
24631
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24632
 
24633
  def __ne__(self, other):
24634
    return not (self == other)
24635
 
24636
class getAllItemstoListOnNonFba_args:
24637
 
24638
  thrift_spec = (
24639
  )
24640
 
24641
  def read(self, iprot):
24642
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24643
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24644
      return
24645
    iprot.readStructBegin()
24646
    while True:
24647
      (fname, ftype, fid) = iprot.readFieldBegin()
24648
      if ftype == TType.STOP:
24649
        break
24650
      else:
24651
        iprot.skip(ftype)
24652
      iprot.readFieldEnd()
24653
    iprot.readStructEnd()
24654
 
24655
  def write(self, oprot):
24656
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24657
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24658
      return
24659
    oprot.writeStructBegin('getAllItemstoListOnNonFba_args')
24660
    oprot.writeFieldStop()
24661
    oprot.writeStructEnd()
24662
 
24663
  def validate(self):
24664
    return
24665
 
24666
 
24667
  def __repr__(self):
24668
    L = ['%s=%r' % (key, value)
24669
      for key, value in self.__dict__.iteritems()]
24670
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24671
 
24672
  def __eq__(self, other):
24673
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24674
 
24675
  def __ne__(self, other):
24676
    return not (self == other)
24677
 
24678
class getAllItemstoListOnNonFba_result:
24679
  """
24680
  Attributes:
24681
   - success
24682
  """
24683
 
24684
  thrift_spec = (
24685
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
24686
  )
24687
 
24688
  def __init__(self, success=None,):
24689
    self.success = success
24690
 
24691
  def read(self, iprot):
24692
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24693
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24694
      return
24695
    iprot.readStructBegin()
24696
    while True:
24697
      (fname, ftype, fid) = iprot.readFieldBegin()
24698
      if ftype == TType.STOP:
24699
        break
24700
      if fid == 0:
24701
        if ftype == TType.LIST:
24702
          self.success = []
12567 amit.gupta 24703
          (_etype509, _size506) = iprot.readListBegin()
24704
          for _i510 in xrange(_size506):
24705
            _elem511 = Amazonlisted()
24706
            _elem511.read(iprot)
24707
            self.success.append(_elem511)
8379 vikram.rag 24708
          iprot.readListEnd()
24709
        else:
24710
          iprot.skip(ftype)
24711
      else:
24712
        iprot.skip(ftype)
24713
      iprot.readFieldEnd()
24714
    iprot.readStructEnd()
24715
 
24716
  def write(self, oprot):
24717
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24718
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24719
      return
24720
    oprot.writeStructBegin('getAllItemstoListOnNonFba_result')
24721
    if self.success is not None:
24722
      oprot.writeFieldBegin('success', TType.LIST, 0)
24723
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 24724
      for iter512 in self.success:
24725
        iter512.write(oprot)
8379 vikram.rag 24726
      oprot.writeListEnd()
24727
      oprot.writeFieldEnd()
24728
    oprot.writeFieldStop()
24729
    oprot.writeStructEnd()
24730
 
24731
  def validate(self):
24732
    return
24733
 
24734
 
24735
  def __repr__(self):
24736
    L = ['%s=%r' % (key, value)
24737
      for key, value in self.__dict__.iteritems()]
24738
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24739
 
24740
  def __eq__(self, other):
24741
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24742
 
24743
  def __ne__(self, other):
24744
    return not (self == other)
8616 vikram.rag 24745
 
9242 kshitij.so 24746
class updateAsin_args:
24747
  """
24748
  Attributes:
24749
   - item
24750
  """
8616 vikram.rag 24751
 
24752
  thrift_spec = (
9242 kshitij.so 24753
    None, # 0
24754
    (1, TType.MAP, 'item', (TType.I64,None,TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 1
8616 vikram.rag 24755
  )
24756
 
9242 kshitij.so 24757
  def __init__(self, item=None,):
24758
    self.item = item
24759
 
8616 vikram.rag 24760
  def read(self, iprot):
24761
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24762
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24763
      return
24764
    iprot.readStructBegin()
24765
    while True:
24766
      (fname, ftype, fid) = iprot.readFieldBegin()
24767
      if ftype == TType.STOP:
24768
        break
9242 kshitij.so 24769
      if fid == 1:
24770
        if ftype == TType.MAP:
24771
          self.item = {}
12567 amit.gupta 24772
          (_ktype514, _vtype515, _size513 ) = iprot.readMapBegin() 
24773
          for _i517 in xrange(_size513):
24774
            _key518 = iprot.readI64();
24775
            _val519 = Item()
24776
            _val519.read(iprot)
24777
            self.item[_key518] = _val519
9242 kshitij.so 24778
          iprot.readMapEnd()
24779
        else:
24780
          iprot.skip(ftype)
8616 vikram.rag 24781
      else:
24782
        iprot.skip(ftype)
24783
      iprot.readFieldEnd()
24784
    iprot.readStructEnd()
24785
 
24786
  def write(self, oprot):
24787
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24788
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24789
      return
9242 kshitij.so 24790
    oprot.writeStructBegin('updateAsin_args')
24791
    if self.item is not None:
24792
      oprot.writeFieldBegin('item', TType.MAP, 1)
24793
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.item))
12567 amit.gupta 24794
      for kiter520,viter521 in self.item.items():
24795
        oprot.writeI64(kiter520)
24796
        viter521.write(oprot)
9242 kshitij.so 24797
      oprot.writeMapEnd()
24798
      oprot.writeFieldEnd()
8616 vikram.rag 24799
    oprot.writeFieldStop()
24800
    oprot.writeStructEnd()
24801
 
24802
  def validate(self):
24803
    return
24804
 
24805
 
24806
  def __repr__(self):
24807
    L = ['%s=%r' % (key, value)
24808
      for key, value in self.__dict__.iteritems()]
24809
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24810
 
24811
  def __eq__(self, other):
24812
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24813
 
24814
  def __ne__(self, other):
24815
    return not (self == other)
24816
 
9242 kshitij.so 24817
class updateAsin_result:
8616 vikram.rag 24818
 
24819
  thrift_spec = (
24820
  )
24821
 
24822
  def read(self, iprot):
24823
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24824
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24825
      return
24826
    iprot.readStructBegin()
24827
    while True:
24828
      (fname, ftype, fid) = iprot.readFieldBegin()
24829
      if ftype == TType.STOP:
24830
        break
24831
      else:
24832
        iprot.skip(ftype)
24833
      iprot.readFieldEnd()
24834
    iprot.readStructEnd()
24835
 
24836
  def write(self, oprot):
24837
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24838
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24839
      return
9242 kshitij.so 24840
    oprot.writeStructBegin('updateAsin_result')
8616 vikram.rag 24841
    oprot.writeFieldStop()
24842
    oprot.writeStructEnd()
24843
 
24844
  def validate(self):
24845
    return
24846
 
24847
 
24848
  def __repr__(self):
24849
    L = ['%s=%r' % (key, value)
24850
      for key, value in self.__dict__.iteritems()]
24851
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24852
 
24853
  def __eq__(self, other):
24854
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24855
 
24856
  def __ne__(self, other):
24857
    return not (self == other)
8619 kshitij.so 24858
 
9242 kshitij.so 24859
class addOrUpdateSnapdealItem_args:
8619 kshitij.so 24860
  """
24861
  Attributes:
9242 kshitij.so 24862
   - snapdealitem
8619 kshitij.so 24863
  """
24864
 
9242 kshitij.so 24865
  thrift_spec = None
24866
  def __init__(self, snapdealitem=None,):
24867
    self.snapdealitem = snapdealitem
8619 kshitij.so 24868
 
24869
  def read(self, iprot):
24870
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24871
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24872
      return
24873
    iprot.readStructBegin()
24874
    while True:
24875
      (fname, ftype, fid) = iprot.readFieldBegin()
24876
      if ftype == TType.STOP:
24877
        break
9242 kshitij.so 24878
      if fid == -1:
24879
        if ftype == TType.STRUCT:
24880
          self.snapdealitem = SnapdealItem()
24881
          self.snapdealitem.read(iprot)
8619 kshitij.so 24882
        else:
24883
          iprot.skip(ftype)
24884
      else:
24885
        iprot.skip(ftype)
24886
      iprot.readFieldEnd()
24887
    iprot.readStructEnd()
24888
 
24889
  def write(self, oprot):
24890
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24891
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24892
      return
9242 kshitij.so 24893
    oprot.writeStructBegin('addOrUpdateSnapdealItem_args')
24894
    if self.snapdealitem is not None:
24895
      oprot.writeFieldBegin('snapdealitem', TType.STRUCT, -1)
24896
      self.snapdealitem.write(oprot)
8619 kshitij.so 24897
      oprot.writeFieldEnd()
24898
    oprot.writeFieldStop()
24899
    oprot.writeStructEnd()
24900
 
24901
  def validate(self):
24902
    return
24903
 
24904
 
24905
  def __repr__(self):
24906
    L = ['%s=%r' % (key, value)
24907
      for key, value in self.__dict__.iteritems()]
24908
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
24909
 
24910
  def __eq__(self, other):
24911
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
24912
 
24913
  def __ne__(self, other):
24914
    return not (self == other)
24915
 
9242 kshitij.so 24916
class addOrUpdateSnapdealItem_result:
24917
  """
24918
  Attributes:
24919
   - success
24920
  """
8619 kshitij.so 24921
 
24922
  thrift_spec = (
9242 kshitij.so 24923
    (0, TType.BOOL, 'success', None, None, ), # 0
8619 kshitij.so 24924
  )
24925
 
9242 kshitij.so 24926
  def __init__(self, success=None,):
24927
    self.success = success
24928
 
8619 kshitij.so 24929
  def read(self, iprot):
24930
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24931
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24932
      return
24933
    iprot.readStructBegin()
24934
    while True:
24935
      (fname, ftype, fid) = iprot.readFieldBegin()
24936
      if ftype == TType.STOP:
24937
        break
9242 kshitij.so 24938
      if fid == 0:
24939
        if ftype == TType.BOOL:
24940
          self.success = iprot.readBool();
24941
        else:
24942
          iprot.skip(ftype)
8619 kshitij.so 24943
      else:
24944
        iprot.skip(ftype)
24945
      iprot.readFieldEnd()
24946
    iprot.readStructEnd()
24947
 
24948
  def write(self, oprot):
24949
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
24950
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
24951
      return
9242 kshitij.so 24952
    oprot.writeStructBegin('addOrUpdateSnapdealItem_result')
24953
    if self.success is not None:
24954
      oprot.writeFieldBegin('success', TType.BOOL, 0)
24955
      oprot.writeBool(self.success)
24956
      oprot.writeFieldEnd()
8619 kshitij.so 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)
8739 vikram.rag 24974
 
9242 kshitij.so 24975
class getSnapdealItem_args:
8739 vikram.rag 24976
  """
24977
  Attributes:
9242 kshitij.so 24978
   - item_id
8739 vikram.rag 24979
  """
24980
 
9242 kshitij.so 24981
  thrift_spec = (
24982
    None, # 0
24983
    (1, TType.I64, 'item_id', None, None, ), # 1
24984
  )
8739 vikram.rag 24985
 
9242 kshitij.so 24986
  def __init__(self, item_id=None,):
24987
    self.item_id = item_id
24988
 
8739 vikram.rag 24989
  def read(self, iprot):
24990
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
24991
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
24992
      return
24993
    iprot.readStructBegin()
24994
    while True:
24995
      (fname, ftype, fid) = iprot.readFieldBegin()
24996
      if ftype == TType.STOP:
24997
        break
9242 kshitij.so 24998
      if fid == 1:
24999
        if ftype == TType.I64:
25000
          self.item_id = iprot.readI64();
8739 vikram.rag 25001
        else:
25002
          iprot.skip(ftype)
25003
      else:
25004
        iprot.skip(ftype)
25005
      iprot.readFieldEnd()
25006
    iprot.readStructEnd()
25007
 
25008
  def write(self, oprot):
25009
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25010
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25011
      return
9242 kshitij.so 25012
    oprot.writeStructBegin('getSnapdealItem_args')
25013
    if self.item_id is not None:
25014
      oprot.writeFieldBegin('item_id', TType.I64, 1)
25015
      oprot.writeI64(self.item_id)
8739 vikram.rag 25016
      oprot.writeFieldEnd()
25017
    oprot.writeFieldStop()
25018
    oprot.writeStructEnd()
25019
 
25020
  def validate(self):
25021
    return
25022
 
25023
 
25024
  def __repr__(self):
25025
    L = ['%s=%r' % (key, value)
25026
      for key, value in self.__dict__.iteritems()]
25027
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25028
 
25029
  def __eq__(self, other):
25030
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25031
 
25032
  def __ne__(self, other):
25033
    return not (self == other)
25034
 
9242 kshitij.so 25035
class getSnapdealItem_result:
8739 vikram.rag 25036
  """
25037
  Attributes:
25038
   - success
25039
  """
25040
 
25041
  thrift_spec = (
9242 kshitij.so 25042
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
8739 vikram.rag 25043
  )
25044
 
25045
  def __init__(self, success=None,):
25046
    self.success = success
25047
 
25048
  def read(self, iprot):
25049
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25050
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25051
      return
25052
    iprot.readStructBegin()
25053
    while True:
25054
      (fname, ftype, fid) = iprot.readFieldBegin()
25055
      if ftype == TType.STOP:
25056
        break
25057
      if fid == 0:
9242 kshitij.so 25058
        if ftype == TType.STRUCT:
25059
          self.success = SnapdealItem()
25060
          self.success.read(iprot)
8739 vikram.rag 25061
        else:
25062
          iprot.skip(ftype)
25063
      else:
25064
        iprot.skip(ftype)
25065
      iprot.readFieldEnd()
25066
    iprot.readStructEnd()
25067
 
25068
  def write(self, oprot):
25069
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25070
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25071
      return
9242 kshitij.so 25072
    oprot.writeStructBegin('getSnapdealItem_result')
8739 vikram.rag 25073
    if self.success is not None:
9242 kshitij.so 25074
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25075
      self.success.write(oprot)
8739 vikram.rag 25076
      oprot.writeFieldEnd()
25077
    oprot.writeFieldStop()
25078
    oprot.writeStructEnd()
25079
 
25080
  def validate(self):
25081
    return
25082
 
25083
 
25084
  def __repr__(self):
25085
    L = ['%s=%r' % (key, value)
25086
      for key, value in self.__dict__.iteritems()]
25087
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25088
 
25089
  def __eq__(self, other):
25090
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25091
 
25092
  def __ne__(self, other):
25093
    return not (self == other)
25094
 
9242 kshitij.so 25095
class getSnapdealItemDetails_args:
8739 vikram.rag 25096
  """
25097
  Attributes:
25098
   - item_id
25099
  """
25100
 
25101
  thrift_spec = (
25102
    None, # 0
25103
    (1, TType.I64, 'item_id', None, None, ), # 1
25104
  )
25105
 
25106
  def __init__(self, item_id=None,):
25107
    self.item_id = item_id
25108
 
25109
  def read(self, iprot):
25110
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25111
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25112
      return
25113
    iprot.readStructBegin()
25114
    while True:
25115
      (fname, ftype, fid) = iprot.readFieldBegin()
25116
      if ftype == TType.STOP:
25117
        break
25118
      if fid == 1:
25119
        if ftype == TType.I64:
25120
          self.item_id = iprot.readI64();
25121
        else:
25122
          iprot.skip(ftype)
25123
      else:
25124
        iprot.skip(ftype)
25125
      iprot.readFieldEnd()
25126
    iprot.readStructEnd()
25127
 
25128
  def write(self, oprot):
25129
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25130
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25131
      return
9242 kshitij.so 25132
    oprot.writeStructBegin('getSnapdealItemDetails_args')
8739 vikram.rag 25133
    if self.item_id is not None:
25134
      oprot.writeFieldBegin('item_id', TType.I64, 1)
25135
      oprot.writeI64(self.item_id)
25136
      oprot.writeFieldEnd()
25137
    oprot.writeFieldStop()
25138
    oprot.writeStructEnd()
25139
 
25140
  def validate(self):
25141
    return
25142
 
25143
 
25144
  def __repr__(self):
25145
    L = ['%s=%r' % (key, value)
25146
      for key, value in self.__dict__.iteritems()]
25147
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25148
 
25149
  def __eq__(self, other):
25150
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25151
 
25152
  def __ne__(self, other):
25153
    return not (self == other)
25154
 
9242 kshitij.so 25155
class getSnapdealItemDetails_result:
8739 vikram.rag 25156
  """
25157
  Attributes:
25158
   - success
25159
  """
25160
 
25161
  thrift_spec = (
9242 kshitij.so 25162
    (0, TType.STRUCT, 'success', (SnapdealItemDetails, SnapdealItemDetails.thrift_spec), None, ), # 0
8739 vikram.rag 25163
  )
25164
 
25165
  def __init__(self, success=None,):
25166
    self.success = success
25167
 
25168
  def read(self, iprot):
25169
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25170
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25171
      return
25172
    iprot.readStructBegin()
25173
    while True:
25174
      (fname, ftype, fid) = iprot.readFieldBegin()
25175
      if ftype == TType.STOP:
25176
        break
25177
      if fid == 0:
25178
        if ftype == TType.STRUCT:
9242 kshitij.so 25179
          self.success = SnapdealItemDetails()
8739 vikram.rag 25180
          self.success.read(iprot)
25181
        else:
25182
          iprot.skip(ftype)
25183
      else:
25184
        iprot.skip(ftype)
25185
      iprot.readFieldEnd()
25186
    iprot.readStructEnd()
25187
 
25188
  def write(self, oprot):
25189
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25190
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25191
      return
9242 kshitij.so 25192
    oprot.writeStructBegin('getSnapdealItemDetails_result')
8739 vikram.rag 25193
    if self.success is not None:
25194
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
25195
      self.success.write(oprot)
25196
      oprot.writeFieldEnd()
25197
    oprot.writeFieldStop()
25198
    oprot.writeStructEnd()
25199
 
25200
  def validate(self):
25201
    return
25202
 
25203
 
25204
  def __repr__(self):
25205
    L = ['%s=%r' % (key, value)
25206
      for key, value in self.__dict__.iteritems()]
25207
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25208
 
25209
  def __eq__(self, other):
25210
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25211
 
25212
  def __ne__(self, other):
25213
    return not (self == other)
25214
 
25215
class getAllSnapdealItems_args:
25216
 
25217
  thrift_spec = (
25218
  )
25219
 
25220
  def read(self, iprot):
25221
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25222
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25223
      return
25224
    iprot.readStructBegin()
25225
    while True:
25226
      (fname, ftype, fid) = iprot.readFieldBegin()
25227
      if ftype == TType.STOP:
25228
        break
25229
      else:
25230
        iprot.skip(ftype)
25231
      iprot.readFieldEnd()
25232
    iprot.readStructEnd()
25233
 
25234
  def write(self, oprot):
25235
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25236
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25237
      return
25238
    oprot.writeStructBegin('getAllSnapdealItems_args')
25239
    oprot.writeFieldStop()
25240
    oprot.writeStructEnd()
25241
 
25242
  def validate(self):
25243
    return
25244
 
25245
 
25246
  def __repr__(self):
25247
    L = ['%s=%r' % (key, value)
25248
      for key, value in self.__dict__.iteritems()]
25249
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25250
 
25251
  def __eq__(self, other):
25252
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25253
 
25254
  def __ne__(self, other):
25255
    return not (self == other)
25256
 
25257
class getAllSnapdealItems_result:
25258
  """
25259
  Attributes:
25260
   - success
25261
  """
25262
 
25263
  thrift_spec = (
9242 kshitij.so 25264
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
8739 vikram.rag 25265
  )
25266
 
25267
  def __init__(self, success=None,):
25268
    self.success = success
25269
 
25270
  def read(self, iprot):
25271
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25272
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25273
      return
25274
    iprot.readStructBegin()
25275
    while True:
25276
      (fname, ftype, fid) = iprot.readFieldBegin()
25277
      if ftype == TType.STOP:
25278
        break
25279
      if fid == 0:
25280
        if ftype == TType.LIST:
25281
          self.success = []
12567 amit.gupta 25282
          (_etype525, _size522) = iprot.readListBegin()
25283
          for _i526 in xrange(_size522):
25284
            _elem527 = SnapdealItemDetails()
25285
            _elem527.read(iprot)
25286
            self.success.append(_elem527)
9242 kshitij.so 25287
          iprot.readListEnd()
25288
        else:
25289
          iprot.skip(ftype)
25290
      else:
25291
        iprot.skip(ftype)
25292
      iprot.readFieldEnd()
25293
    iprot.readStructEnd()
25294
 
25295
  def write(self, oprot):
25296
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25297
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25298
      return
25299
    oprot.writeStructBegin('getAllSnapdealItems_result')
25300
    if self.success is not None:
25301
      oprot.writeFieldBegin('success', TType.LIST, 0)
25302
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 25303
      for iter528 in self.success:
25304
        iter528.write(oprot)
9242 kshitij.so 25305
      oprot.writeListEnd()
25306
      oprot.writeFieldEnd()
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
 
25325
class getSnapdealItems_args:
25326
  """
25327
  Attributes:
25328
   - offset
25329
   - limit
25330
  """
25331
 
25332
  thrift_spec = (
25333
    None, # 0
25334
    (1, TType.I64, 'offset', None, None, ), # 1
25335
    (2, TType.I64, 'limit', None, None, ), # 2
25336
  )
25337
 
25338
  def __init__(self, offset=None, limit=None,):
25339
    self.offset = offset
25340
    self.limit = limit
25341
 
25342
  def read(self, iprot):
25343
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25344
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25345
      return
25346
    iprot.readStructBegin()
25347
    while True:
25348
      (fname, ftype, fid) = iprot.readFieldBegin()
25349
      if ftype == TType.STOP:
25350
        break
25351
      if fid == 1:
25352
        if ftype == TType.I64:
25353
          self.offset = iprot.readI64();
25354
        else:
25355
          iprot.skip(ftype)
25356
      elif fid == 2:
25357
        if ftype == TType.I64:
25358
          self.limit = iprot.readI64();
25359
        else:
25360
          iprot.skip(ftype)
25361
      else:
25362
        iprot.skip(ftype)
25363
      iprot.readFieldEnd()
25364
    iprot.readStructEnd()
25365
 
25366
  def write(self, oprot):
25367
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25368
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25369
      return
25370
    oprot.writeStructBegin('getSnapdealItems_args')
25371
    if self.offset is not None:
25372
      oprot.writeFieldBegin('offset', TType.I64, 1)
25373
      oprot.writeI64(self.offset)
25374
      oprot.writeFieldEnd()
25375
    if self.limit is not None:
25376
      oprot.writeFieldBegin('limit', TType.I64, 2)
25377
      oprot.writeI64(self.limit)
25378
      oprot.writeFieldEnd()
25379
    oprot.writeFieldStop()
25380
    oprot.writeStructEnd()
25381
 
25382
  def validate(self):
25383
    return
25384
 
25385
 
25386
  def __repr__(self):
25387
    L = ['%s=%r' % (key, value)
25388
      for key, value in self.__dict__.iteritems()]
25389
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25390
 
25391
  def __eq__(self, other):
25392
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25393
 
25394
  def __ne__(self, other):
25395
    return not (self == other)
25396
 
25397
class getSnapdealItems_result:
25398
  """
25399
  Attributes:
25400
   - success
25401
  """
25402
 
25403
  thrift_spec = (
25404
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
25405
  )
25406
 
25407
  def __init__(self, success=None,):
25408
    self.success = success
25409
 
25410
  def read(self, iprot):
25411
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25412
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25413
      return
25414
    iprot.readStructBegin()
25415
    while True:
25416
      (fname, ftype, fid) = iprot.readFieldBegin()
25417
      if ftype == TType.STOP:
25418
        break
25419
      if fid == 0:
25420
        if ftype == TType.LIST:
25421
          self.success = []
12567 amit.gupta 25422
          (_etype532, _size529) = iprot.readListBegin()
25423
          for _i533 in xrange(_size529):
25424
            _elem534 = SnapdealItemDetails()
25425
            _elem534.read(iprot)
25426
            self.success.append(_elem534)
8739 vikram.rag 25427
          iprot.readListEnd()
25428
        else:
25429
          iprot.skip(ftype)
25430
      else:
25431
        iprot.skip(ftype)
25432
      iprot.readFieldEnd()
25433
    iprot.readStructEnd()
25434
 
25435
  def write(self, oprot):
25436
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25437
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25438
      return
9242 kshitij.so 25439
    oprot.writeStructBegin('getSnapdealItems_result')
8739 vikram.rag 25440
    if self.success is not None:
25441
      oprot.writeFieldBegin('success', TType.LIST, 0)
25442
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 25443
      for iter535 in self.success:
25444
        iter535.write(oprot)
8739 vikram.rag 25445
      oprot.writeListEnd()
25446
      oprot.writeFieldEnd()
25447
    oprot.writeFieldStop()
25448
    oprot.writeStructEnd()
25449
 
25450
  def validate(self):
25451
    return
25452
 
25453
 
25454
  def __repr__(self):
25455
    L = ['%s=%r' % (key, value)
25456
      for key, value in self.__dict__.iteritems()]
25457
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25458
 
25459
  def __eq__(self, other):
25460
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25461
 
25462
  def __ne__(self, other):
25463
    return not (self == other)
9242 kshitij.so 25464
 
25465
class searchSnapdealItems_args:
25466
  """
25467
  Attributes:
25468
   - searchTerm
25469
   - offset
25470
   - limit
25471
  """
25472
 
25473
  thrift_spec = (
25474
    None, # 0
25475
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
25476
    (2, TType.I64, 'offset', None, None, ), # 2
25477
    (3, TType.I64, 'limit', None, None, ), # 3
25478
  )
25479
 
25480
  def __init__(self, searchTerm=None, offset=None, limit=None,):
25481
    self.searchTerm = searchTerm
25482
    self.offset = offset
25483
    self.limit = limit
25484
 
25485
  def read(self, iprot):
25486
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25487
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25488
      return
25489
    iprot.readStructBegin()
25490
    while True:
25491
      (fname, ftype, fid) = iprot.readFieldBegin()
25492
      if ftype == TType.STOP:
25493
        break
25494
      if fid == 1:
25495
        if ftype == TType.LIST:
25496
          self.searchTerm = []
12567 amit.gupta 25497
          (_etype539, _size536) = iprot.readListBegin()
25498
          for _i540 in xrange(_size536):
25499
            _elem541 = iprot.readString();
25500
            self.searchTerm.append(_elem541)
9242 kshitij.so 25501
          iprot.readListEnd()
25502
        else:
25503
          iprot.skip(ftype)
25504
      elif fid == 2:
25505
        if ftype == TType.I64:
25506
          self.offset = iprot.readI64();
25507
        else:
25508
          iprot.skip(ftype)
25509
      elif fid == 3:
25510
        if ftype == TType.I64:
25511
          self.limit = iprot.readI64();
25512
        else:
25513
          iprot.skip(ftype)
25514
      else:
25515
        iprot.skip(ftype)
25516
      iprot.readFieldEnd()
25517
    iprot.readStructEnd()
25518
 
25519
  def write(self, oprot):
25520
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25521
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25522
      return
25523
    oprot.writeStructBegin('searchSnapdealItems_args')
25524
    if self.searchTerm is not None:
25525
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
25526
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
12567 amit.gupta 25527
      for iter542 in self.searchTerm:
25528
        oprot.writeString(iter542)
9242 kshitij.so 25529
      oprot.writeListEnd()
25530
      oprot.writeFieldEnd()
25531
    if self.offset is not None:
25532
      oprot.writeFieldBegin('offset', TType.I64, 2)
25533
      oprot.writeI64(self.offset)
25534
      oprot.writeFieldEnd()
25535
    if self.limit is not None:
25536
      oprot.writeFieldBegin('limit', TType.I64, 3)
25537
      oprot.writeI64(self.limit)
25538
      oprot.writeFieldEnd()
25539
    oprot.writeFieldStop()
25540
    oprot.writeStructEnd()
25541
 
25542
  def validate(self):
25543
    return
25544
 
25545
 
25546
  def __repr__(self):
25547
    L = ['%s=%r' % (key, value)
25548
      for key, value in self.__dict__.iteritems()]
25549
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25550
 
25551
  def __eq__(self, other):
25552
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25553
 
25554
  def __ne__(self, other):
25555
    return not (self == other)
25556
 
25557
class searchSnapdealItems_result:
25558
  """
25559
  Attributes:
25560
   - success
25561
  """
25562
 
25563
  thrift_spec = (
25564
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItemDetails, SnapdealItemDetails.thrift_spec)), None, ), # 0
25565
  )
25566
 
25567
  def __init__(self, success=None,):
25568
    self.success = success
25569
 
25570
  def read(self, iprot):
25571
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25572
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25573
      return
25574
    iprot.readStructBegin()
25575
    while True:
25576
      (fname, ftype, fid) = iprot.readFieldBegin()
25577
      if ftype == TType.STOP:
25578
        break
25579
      if fid == 0:
25580
        if ftype == TType.LIST:
25581
          self.success = []
12567 amit.gupta 25582
          (_etype546, _size543) = iprot.readListBegin()
25583
          for _i547 in xrange(_size543):
25584
            _elem548 = SnapdealItemDetails()
25585
            _elem548.read(iprot)
25586
            self.success.append(_elem548)
9242 kshitij.so 25587
          iprot.readListEnd()
25588
        else:
25589
          iprot.skip(ftype)
25590
      else:
25591
        iprot.skip(ftype)
25592
      iprot.readFieldEnd()
25593
    iprot.readStructEnd()
25594
 
25595
  def write(self, oprot):
25596
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25597
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25598
      return
25599
    oprot.writeStructBegin('searchSnapdealItems_result')
25600
    if self.success is not None:
25601
      oprot.writeFieldBegin('success', TType.LIST, 0)
25602
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 25603
      for iter549 in self.success:
25604
        iter549.write(oprot)
9242 kshitij.so 25605
      oprot.writeListEnd()
25606
      oprot.writeFieldEnd()
25607
    oprot.writeFieldStop()
25608
    oprot.writeStructEnd()
25609
 
25610
  def validate(self):
25611
    return
25612
 
25613
 
25614
  def __repr__(self):
25615
    L = ['%s=%r' % (key, value)
25616
      for key, value in self.__dict__.iteritems()]
25617
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25618
 
25619
  def __eq__(self, other):
25620
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25621
 
25622
  def __ne__(self, other):
25623
    return not (self == other)
25624
 
25625
class getCountForSnapdealItems_args:
25626
 
25627
  thrift_spec = (
25628
  )
25629
 
25630
  def read(self, iprot):
25631
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25632
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25633
      return
25634
    iprot.readStructBegin()
25635
    while True:
25636
      (fname, ftype, fid) = iprot.readFieldBegin()
25637
      if ftype == TType.STOP:
25638
        break
25639
      else:
25640
        iprot.skip(ftype)
25641
      iprot.readFieldEnd()
25642
    iprot.readStructEnd()
25643
 
25644
  def write(self, oprot):
25645
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25646
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25647
      return
25648
    oprot.writeStructBegin('getCountForSnapdealItems_args')
25649
    oprot.writeFieldStop()
25650
    oprot.writeStructEnd()
25651
 
25652
  def validate(self):
25653
    return
25654
 
25655
 
25656
  def __repr__(self):
25657
    L = ['%s=%r' % (key, value)
25658
      for key, value in self.__dict__.iteritems()]
25659
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25660
 
25661
  def __eq__(self, other):
25662
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25663
 
25664
  def __ne__(self, other):
25665
    return not (self == other)
25666
 
25667
class getCountForSnapdealItems_result:
25668
  """
25669
  Attributes:
25670
   - success
25671
  """
25672
 
25673
  thrift_spec = (
25674
    (0, TType.I64, 'success', None, None, ), # 0
25675
  )
25676
 
25677
  def __init__(self, success=None,):
25678
    self.success = success
25679
 
25680
  def read(self, iprot):
25681
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25682
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25683
      return
25684
    iprot.readStructBegin()
25685
    while True:
25686
      (fname, ftype, fid) = iprot.readFieldBegin()
25687
      if ftype == TType.STOP:
25688
        break
25689
      if fid == 0:
25690
        if ftype == TType.I64:
25691
          self.success = iprot.readI64();
25692
        else:
25693
          iprot.skip(ftype)
25694
      else:
25695
        iprot.skip(ftype)
25696
      iprot.readFieldEnd()
25697
    iprot.readStructEnd()
25698
 
25699
  def write(self, oprot):
25700
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25701
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25702
      return
25703
    oprot.writeStructBegin('getCountForSnapdealItems_result')
25704
    if self.success is not None:
25705
      oprot.writeFieldBegin('success', TType.I64, 0)
25706
      oprot.writeI64(self.success)
25707
      oprot.writeFieldEnd()
25708
    oprot.writeFieldStop()
25709
    oprot.writeStructEnd()
25710
 
25711
  def validate(self):
25712
    return
25713
 
25714
 
25715
  def __repr__(self):
25716
    L = ['%s=%r' % (key, value)
25717
      for key, value in self.__dict__.iteritems()]
25718
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25719
 
25720
  def __eq__(self, other):
25721
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25722
 
25723
  def __ne__(self, other):
25724
    return not (self == other)
25725
 
25726
class getSnapdealSearchResultCount_args:
25727
  """
25728
  Attributes:
25729
   - searchTerm
25730
  """
25731
 
25732
  thrift_spec = (
25733
    None, # 0
25734
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
25735
  )
25736
 
25737
  def __init__(self, searchTerm=None,):
25738
    self.searchTerm = searchTerm
25739
 
25740
  def read(self, iprot):
25741
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25742
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25743
      return
25744
    iprot.readStructBegin()
25745
    while True:
25746
      (fname, ftype, fid) = iprot.readFieldBegin()
25747
      if ftype == TType.STOP:
25748
        break
25749
      if fid == 1:
25750
        if ftype == TType.LIST:
25751
          self.searchTerm = []
12567 amit.gupta 25752
          (_etype553, _size550) = iprot.readListBegin()
25753
          for _i554 in xrange(_size550):
25754
            _elem555 = iprot.readString();
25755
            self.searchTerm.append(_elem555)
9242 kshitij.so 25756
          iprot.readListEnd()
25757
        else:
25758
          iprot.skip(ftype)
25759
      else:
25760
        iprot.skip(ftype)
25761
      iprot.readFieldEnd()
25762
    iprot.readStructEnd()
25763
 
25764
  def write(self, oprot):
25765
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25766
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25767
      return
25768
    oprot.writeStructBegin('getSnapdealSearchResultCount_args')
25769
    if self.searchTerm is not None:
25770
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
25771
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
12567 amit.gupta 25772
      for iter556 in self.searchTerm:
25773
        oprot.writeString(iter556)
9242 kshitij.so 25774
      oprot.writeListEnd()
25775
      oprot.writeFieldEnd()
25776
    oprot.writeFieldStop()
25777
    oprot.writeStructEnd()
25778
 
25779
  def validate(self):
25780
    return
25781
 
25782
 
25783
  def __repr__(self):
25784
    L = ['%s=%r' % (key, value)
25785
      for key, value in self.__dict__.iteritems()]
25786
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25787
 
25788
  def __eq__(self, other):
25789
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25790
 
25791
  def __ne__(self, other):
25792
    return not (self == other)
25793
 
25794
class getSnapdealSearchResultCount_result:
25795
  """
25796
  Attributes:
25797
   - success
25798
  """
25799
 
25800
  thrift_spec = (
25801
    (0, TType.I64, 'success', None, None, ), # 0
25802
  )
25803
 
25804
  def __init__(self, success=None,):
25805
    self.success = success
25806
 
25807
  def read(self, iprot):
25808
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25809
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25810
      return
25811
    iprot.readStructBegin()
25812
    while True:
25813
      (fname, ftype, fid) = iprot.readFieldBegin()
25814
      if ftype == TType.STOP:
25815
        break
25816
      if fid == 0:
25817
        if ftype == TType.I64:
25818
          self.success = iprot.readI64();
25819
        else:
25820
          iprot.skip(ftype)
25821
      else:
25822
        iprot.skip(ftype)
25823
      iprot.readFieldEnd()
25824
    iprot.readStructEnd()
25825
 
25826
  def write(self, oprot):
25827
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25828
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25829
      return
25830
    oprot.writeStructBegin('getSnapdealSearchResultCount_result')
25831
    if self.success is not None:
25832
      oprot.writeFieldBegin('success', TType.I64, 0)
25833
      oprot.writeI64(self.success)
25834
      oprot.writeFieldEnd()
25835
    oprot.writeFieldStop()
25836
    oprot.writeStructEnd()
25837
 
25838
  def validate(self):
25839
    return
25840
 
25841
 
25842
  def __repr__(self):
25843
    L = ['%s=%r' % (key, value)
25844
      for key, value in self.__dict__.iteritems()]
25845
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25846
 
25847
  def __eq__(self, other):
25848
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25849
 
25850
  def __ne__(self, other):
25851
    return not (self == other)
9299 kshitij.so 25852
 
25853
class getPrefferedInsurerForItem_args:
25854
  """
25855
  Attributes:
25856
   - itemId
25857
   - insurerType
25858
  """
25859
 
25860
  thrift_spec = (
25861
    None, # 0
25862
    (1, TType.I64, 'itemId', None, None, ), # 1
25863
    (2, TType.I32, 'insurerType', None, None, ), # 2
25864
  )
25865
 
25866
  def __init__(self, itemId=None, insurerType=None,):
25867
    self.itemId = itemId
25868
    self.insurerType = insurerType
25869
 
25870
  def read(self, iprot):
25871
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25872
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25873
      return
25874
    iprot.readStructBegin()
25875
    while True:
25876
      (fname, ftype, fid) = iprot.readFieldBegin()
25877
      if ftype == TType.STOP:
25878
        break
25879
      if fid == 1:
25880
        if ftype == TType.I64:
25881
          self.itemId = iprot.readI64();
25882
        else:
25883
          iprot.skip(ftype)
25884
      elif fid == 2:
25885
        if ftype == TType.I32:
25886
          self.insurerType = iprot.readI32();
25887
        else:
25888
          iprot.skip(ftype)
25889
      else:
25890
        iprot.skip(ftype)
25891
      iprot.readFieldEnd()
25892
    iprot.readStructEnd()
25893
 
25894
  def write(self, oprot):
25895
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25896
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25897
      return
25898
    oprot.writeStructBegin('getPrefferedInsurerForItem_args')
25899
    if self.itemId is not None:
25900
      oprot.writeFieldBegin('itemId', TType.I64, 1)
25901
      oprot.writeI64(self.itemId)
25902
      oprot.writeFieldEnd()
25903
    if self.insurerType is not None:
25904
      oprot.writeFieldBegin('insurerType', TType.I32, 2)
25905
      oprot.writeI32(self.insurerType)
25906
      oprot.writeFieldEnd()
25907
    oprot.writeFieldStop()
25908
    oprot.writeStructEnd()
25909
 
25910
  def validate(self):
25911
    return
25912
 
25913
 
25914
  def __repr__(self):
25915
    L = ['%s=%r' % (key, value)
25916
      for key, value in self.__dict__.iteritems()]
25917
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25918
 
25919
  def __eq__(self, other):
25920
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25921
 
25922
  def __ne__(self, other):
25923
    return not (self == other)
25924
 
25925
class getPrefferedInsurerForItem_result:
25926
  """
25927
  Attributes:
25928
   - success
25929
  """
25930
 
25931
  thrift_spec = (
25932
    (0, TType.I64, 'success', None, None, ), # 0
25933
  )
25934
 
25935
  def __init__(self, success=None,):
25936
    self.success = success
25937
 
25938
  def read(self, iprot):
25939
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25940
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25941
      return
25942
    iprot.readStructBegin()
25943
    while True:
25944
      (fname, ftype, fid) = iprot.readFieldBegin()
25945
      if ftype == TType.STOP:
25946
        break
25947
      if fid == 0:
25948
        if ftype == TType.I64:
25949
          self.success = iprot.readI64();
25950
        else:
25951
          iprot.skip(ftype)
25952
      else:
25953
        iprot.skip(ftype)
25954
      iprot.readFieldEnd()
25955
    iprot.readStructEnd()
25956
 
25957
  def write(self, oprot):
25958
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
25959
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
25960
      return
25961
    oprot.writeStructBegin('getPrefferedInsurerForItem_result')
25962
    if self.success is not None:
25963
      oprot.writeFieldBegin('success', TType.I64, 0)
25964
      oprot.writeI64(self.success)
25965
      oprot.writeFieldEnd()
25966
    oprot.writeFieldStop()
25967
    oprot.writeStructEnd()
25968
 
25969
  def validate(self):
25970
    return
25971
 
25972
 
25973
  def __repr__(self):
25974
    L = ['%s=%r' % (key, value)
25975
      for key, value in self.__dict__.iteritems()]
25976
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
25977
 
25978
  def __eq__(self, other):
25979
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
25980
 
25981
  def __ne__(self, other):
25982
    return not (self == other)
9456 vikram.rag 25983
 
25984
class getSnapdealItembySkuAtSnapdeal_args:
25985
  """
25986
  Attributes:
25987
   - skuAtSnapdeal
25988
  """
25989
 
25990
  thrift_spec = None
25991
  def __init__(self, skuAtSnapdeal=None,):
25992
    self.skuAtSnapdeal = skuAtSnapdeal
25993
 
25994
  def read(self, iprot):
25995
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
25996
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
25997
      return
25998
    iprot.readStructBegin()
25999
    while True:
26000
      (fname, ftype, fid) = iprot.readFieldBegin()
26001
      if ftype == TType.STOP:
26002
        break
26003
      if fid == -1:
26004
        if ftype == TType.STRING:
26005
          self.skuAtSnapdeal = iprot.readString();
26006
        else:
26007
          iprot.skip(ftype)
26008
      else:
26009
        iprot.skip(ftype)
26010
      iprot.readFieldEnd()
26011
    iprot.readStructEnd()
26012
 
26013
  def write(self, oprot):
26014
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26015
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26016
      return
26017
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_args')
26018
    if self.skuAtSnapdeal is not None:
26019
      oprot.writeFieldBegin('skuAtSnapdeal', TType.STRING, -1)
26020
      oprot.writeString(self.skuAtSnapdeal)
26021
      oprot.writeFieldEnd()
26022
    oprot.writeFieldStop()
26023
    oprot.writeStructEnd()
26024
 
26025
  def validate(self):
26026
    return
26027
 
26028
 
26029
  def __repr__(self):
26030
    L = ['%s=%r' % (key, value)
26031
      for key, value in self.__dict__.iteritems()]
26032
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26033
 
26034
  def __eq__(self, other):
26035
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26036
 
26037
  def __ne__(self, other):
26038
    return not (self == other)
26039
 
26040
class getSnapdealItembySkuAtSnapdeal_result:
26041
  """
26042
  Attributes:
26043
   - success
26044
  """
26045
 
26046
  thrift_spec = (
26047
    (0, TType.STRUCT, 'success', (SnapdealItem, SnapdealItem.thrift_spec), None, ), # 0
26048
  )
26049
 
26050
  def __init__(self, success=None,):
26051
    self.success = success
26052
 
26053
  def read(self, iprot):
26054
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26055
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26056
      return
26057
    iprot.readStructBegin()
26058
    while True:
26059
      (fname, ftype, fid) = iprot.readFieldBegin()
26060
      if ftype == TType.STOP:
26061
        break
26062
      if fid == 0:
26063
        if ftype == TType.STRUCT:
26064
          self.success = SnapdealItem()
26065
          self.success.read(iprot)
26066
        else:
26067
          iprot.skip(ftype)
26068
      else:
26069
        iprot.skip(ftype)
26070
      iprot.readFieldEnd()
26071
    iprot.readStructEnd()
26072
 
26073
  def write(self, oprot):
26074
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26075
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26076
      return
26077
    oprot.writeStructBegin('getSnapdealItembySkuAtSnapdeal_result')
26078
    if self.success is not None:
26079
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26080
      self.success.write(oprot)
26081
      oprot.writeFieldEnd()
26082
    oprot.writeFieldStop()
26083
    oprot.writeStructEnd()
26084
 
26085
  def validate(self):
26086
    return
26087
 
26088
 
26089
  def __repr__(self):
26090
    L = ['%s=%r' % (key, value)
26091
      for key, value in self.__dict__.iteritems()]
26092
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26093
 
26094
  def __eq__(self, other):
26095
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26096
 
26097
  def __ne__(self, other):
26098
    return not (self == other)
9621 manish.sha 26099
 
26100
class getProductFeedSubmit_args:
26101
  """
26102
  Attributes:
26103
   - catalogItemId
26104
  """
26105
 
26106
  thrift_spec = (
26107
    None, # 0
26108
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
26109
  )
26110
 
26111
  def __init__(self, catalogItemId=None,):
26112
    self.catalogItemId = catalogItemId
26113
 
26114
  def read(self, iprot):
26115
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26116
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26117
      return
26118
    iprot.readStructBegin()
26119
    while True:
26120
      (fname, ftype, fid) = iprot.readFieldBegin()
26121
      if ftype == TType.STOP:
26122
        break
26123
      if fid == 1:
26124
        if ftype == TType.I64:
26125
          self.catalogItemId = iprot.readI64();
26126
        else:
26127
          iprot.skip(ftype)
26128
      else:
26129
        iprot.skip(ftype)
26130
      iprot.readFieldEnd()
26131
    iprot.readStructEnd()
26132
 
26133
  def write(self, oprot):
26134
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26135
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26136
      return
26137
    oprot.writeStructBegin('getProductFeedSubmit_args')
26138
    if self.catalogItemId is not None:
26139
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
26140
      oprot.writeI64(self.catalogItemId)
26141
      oprot.writeFieldEnd()
26142
    oprot.writeFieldStop()
26143
    oprot.writeStructEnd()
26144
 
26145
  def validate(self):
26146
    return
26147
 
26148
 
26149
  def __repr__(self):
26150
    L = ['%s=%r' % (key, value)
26151
      for key, value in self.__dict__.iteritems()]
26152
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26153
 
26154
  def __eq__(self, other):
26155
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26156
 
26157
  def __ne__(self, other):
26158
    return not (self == other)
26159
 
26160
class getProductFeedSubmit_result:
26161
  """
26162
  Attributes:
26163
   - success
26164
   - cex
26165
  """
26166
 
26167
  thrift_spec = (
26168
    (0, TType.STRUCT, 'success', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 0
26169
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26170
  )
26171
 
26172
  def __init__(self, success=None, cex=None,):
26173
    self.success = success
26174
    self.cex = cex
26175
 
26176
  def read(self, iprot):
26177
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26178
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26179
      return
26180
    iprot.readStructBegin()
26181
    while True:
26182
      (fname, ftype, fid) = iprot.readFieldBegin()
26183
      if ftype == TType.STOP:
26184
        break
26185
      if fid == 0:
26186
        if ftype == TType.STRUCT:
26187
          self.success = ProductFeedSubmit()
26188
          self.success.read(iprot)
26189
        else:
26190
          iprot.skip(ftype)
26191
      elif fid == 1:
26192
        if ftype == TType.STRUCT:
26193
          self.cex = CatalogServiceException()
26194
          self.cex.read(iprot)
26195
        else:
26196
          iprot.skip(ftype)
26197
      else:
26198
        iprot.skip(ftype)
26199
      iprot.readFieldEnd()
26200
    iprot.readStructEnd()
26201
 
26202
  def write(self, oprot):
26203
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26204
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26205
      return
26206
    oprot.writeStructBegin('getProductFeedSubmit_result')
26207
    if self.success is not None:
26208
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26209
      self.success.write(oprot)
26210
      oprot.writeFieldEnd()
26211
    if self.cex is not None:
26212
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26213
      self.cex.write(oprot)
26214
      oprot.writeFieldEnd()
26215
    oprot.writeFieldStop()
26216
    oprot.writeStructEnd()
26217
 
26218
  def validate(self):
26219
    return
26220
 
26221
 
26222
  def __repr__(self):
26223
    L = ['%s=%r' % (key, value)
26224
      for key, value in self.__dict__.iteritems()]
26225
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26226
 
26227
  def __eq__(self, other):
26228
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26229
 
26230
  def __ne__(self, other):
26231
    return not (self == other)
26232
 
26233
class addProductFeedSubmit_args:
26234
  """
26235
  Attributes:
26236
   - productFeedSubmit
26237
  """
26238
 
26239
  thrift_spec = (
26240
    None, # 0
26241
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
26242
  )
26243
 
26244
  def __init__(self, productFeedSubmit=None,):
26245
    self.productFeedSubmit = productFeedSubmit
26246
 
26247
  def read(self, iprot):
26248
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26249
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26250
      return
26251
    iprot.readStructBegin()
26252
    while True:
26253
      (fname, ftype, fid) = iprot.readFieldBegin()
26254
      if ftype == TType.STOP:
26255
        break
26256
      if fid == 1:
26257
        if ftype == TType.STRUCT:
26258
          self.productFeedSubmit = ProductFeedSubmit()
26259
          self.productFeedSubmit.read(iprot)
26260
        else:
26261
          iprot.skip(ftype)
26262
      else:
26263
        iprot.skip(ftype)
26264
      iprot.readFieldEnd()
26265
    iprot.readStructEnd()
26266
 
26267
  def write(self, oprot):
26268
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26269
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26270
      return
26271
    oprot.writeStructBegin('addProductFeedSubmit_args')
26272
    if self.productFeedSubmit is not None:
26273
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
26274
      self.productFeedSubmit.write(oprot)
26275
      oprot.writeFieldEnd()
26276
    oprot.writeFieldStop()
26277
    oprot.writeStructEnd()
26278
 
26279
  def validate(self):
26280
    return
26281
 
26282
 
26283
  def __repr__(self):
26284
    L = ['%s=%r' % (key, value)
26285
      for key, value in self.__dict__.iteritems()]
26286
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26287
 
26288
  def __eq__(self, other):
26289
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26290
 
26291
  def __ne__(self, other):
26292
    return not (self == other)
26293
 
26294
class addProductFeedSubmit_result:
26295
  """
26296
  Attributes:
26297
   - success
26298
   - cex
26299
  """
26300
 
26301
  thrift_spec = (
26302
    (0, TType.BOOL, 'success', None, None, ), # 0
26303
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26304
  )
26305
 
26306
  def __init__(self, success=None, cex=None,):
26307
    self.success = success
26308
    self.cex = cex
26309
 
26310
  def read(self, iprot):
26311
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26312
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26313
      return
26314
    iprot.readStructBegin()
26315
    while True:
26316
      (fname, ftype, fid) = iprot.readFieldBegin()
26317
      if ftype == TType.STOP:
26318
        break
26319
      if fid == 0:
26320
        if ftype == TType.BOOL:
26321
          self.success = iprot.readBool();
26322
        else:
26323
          iprot.skip(ftype)
26324
      elif fid == 1:
26325
        if ftype == TType.STRUCT:
26326
          self.cex = CatalogServiceException()
26327
          self.cex.read(iprot)
26328
        else:
26329
          iprot.skip(ftype)
26330
      else:
26331
        iprot.skip(ftype)
26332
      iprot.readFieldEnd()
26333
    iprot.readStructEnd()
26334
 
26335
  def write(self, oprot):
26336
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26337
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26338
      return
26339
    oprot.writeStructBegin('addProductFeedSubmit_result')
26340
    if self.success is not None:
26341
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26342
      oprot.writeBool(self.success)
26343
      oprot.writeFieldEnd()
26344
    if self.cex is not None:
26345
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26346
      self.cex.write(oprot)
26347
      oprot.writeFieldEnd()
26348
    oprot.writeFieldStop()
26349
    oprot.writeStructEnd()
26350
 
26351
  def validate(self):
26352
    return
26353
 
26354
 
26355
  def __repr__(self):
26356
    L = ['%s=%r' % (key, value)
26357
      for key, value in self.__dict__.iteritems()]
26358
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26359
 
26360
  def __eq__(self, other):
26361
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26362
 
26363
  def __ne__(self, other):
26364
    return not (self == other)
26365
 
26366
class updateProductFeedSubmit_args:
26367
  """
26368
  Attributes:
26369
   - productFeedSubmit
26370
  """
26371
 
26372
  thrift_spec = (
26373
    None, # 0
26374
    (1, TType.STRUCT, 'productFeedSubmit', (ProductFeedSubmit, ProductFeedSubmit.thrift_spec), None, ), # 1
26375
  )
26376
 
26377
  def __init__(self, productFeedSubmit=None,):
26378
    self.productFeedSubmit = productFeedSubmit
26379
 
26380
  def read(self, iprot):
26381
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26382
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26383
      return
26384
    iprot.readStructBegin()
26385
    while True:
26386
      (fname, ftype, fid) = iprot.readFieldBegin()
26387
      if ftype == TType.STOP:
26388
        break
26389
      if fid == 1:
26390
        if ftype == TType.STRUCT:
26391
          self.productFeedSubmit = ProductFeedSubmit()
26392
          self.productFeedSubmit.read(iprot)
26393
        else:
26394
          iprot.skip(ftype)
26395
      else:
26396
        iprot.skip(ftype)
26397
      iprot.readFieldEnd()
26398
    iprot.readStructEnd()
26399
 
26400
  def write(self, oprot):
26401
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26402
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26403
      return
26404
    oprot.writeStructBegin('updateProductFeedSubmit_args')
26405
    if self.productFeedSubmit is not None:
26406
      oprot.writeFieldBegin('productFeedSubmit', TType.STRUCT, 1)
26407
      self.productFeedSubmit.write(oprot)
26408
      oprot.writeFieldEnd()
26409
    oprot.writeFieldStop()
26410
    oprot.writeStructEnd()
26411
 
26412
  def validate(self):
26413
    return
26414
 
26415
 
26416
  def __repr__(self):
26417
    L = ['%s=%r' % (key, value)
26418
      for key, value in self.__dict__.iteritems()]
26419
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26420
 
26421
  def __eq__(self, other):
26422
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26423
 
26424
  def __ne__(self, other):
26425
    return not (self == other)
26426
 
26427
class updateProductFeedSubmit_result:
26428
  """
26429
  Attributes:
26430
   - success
26431
   - cex
26432
  """
26433
 
26434
  thrift_spec = (
26435
    (0, TType.BOOL, 'success', None, None, ), # 0
26436
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26437
  )
26438
 
26439
  def __init__(self, success=None, cex=None,):
26440
    self.success = success
26441
    self.cex = cex
26442
 
26443
  def read(self, iprot):
26444
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26445
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26446
      return
26447
    iprot.readStructBegin()
26448
    while True:
26449
      (fname, ftype, fid) = iprot.readFieldBegin()
26450
      if ftype == TType.STOP:
26451
        break
26452
      if fid == 0:
26453
        if ftype == TType.BOOL:
26454
          self.success = iprot.readBool();
26455
        else:
26456
          iprot.skip(ftype)
26457
      elif fid == 1:
26458
        if ftype == TType.STRUCT:
26459
          self.cex = CatalogServiceException()
26460
          self.cex.read(iprot)
26461
        else:
26462
          iprot.skip(ftype)
26463
      else:
26464
        iprot.skip(ftype)
26465
      iprot.readFieldEnd()
26466
    iprot.readStructEnd()
26467
 
26468
  def write(self, oprot):
26469
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26470
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26471
      return
26472
    oprot.writeStructBegin('updateProductFeedSubmit_result')
26473
    if self.success is not None:
26474
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26475
      oprot.writeBool(self.success)
26476
      oprot.writeFieldEnd()
26477
    if self.cex is not None:
26478
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26479
      self.cex.write(oprot)
26480
      oprot.writeFieldEnd()
26481
    oprot.writeFieldStop()
26482
    oprot.writeStructEnd()
26483
 
26484
  def validate(self):
26485
    return
26486
 
26487
 
26488
  def __repr__(self):
26489
    L = ['%s=%r' % (key, value)
26490
      for key, value in self.__dict__.iteritems()]
26491
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26492
 
26493
  def __eq__(self, other):
26494
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26495
 
26496
  def __ne__(self, other):
26497
    return not (self == other)
26498
 
26499
class deleteProductFeedSubmit_args:
26500
  """
26501
  Attributes:
26502
   - catalogItemId
26503
  """
26504
 
26505
  thrift_spec = (
26506
    None, # 0
26507
    (1, TType.I64, 'catalogItemId', None, None, ), # 1
26508
  )
26509
 
26510
  def __init__(self, catalogItemId=None,):
26511
    self.catalogItemId = catalogItemId
26512
 
26513
  def read(self, iprot):
26514
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26515
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26516
      return
26517
    iprot.readStructBegin()
26518
    while True:
26519
      (fname, ftype, fid) = iprot.readFieldBegin()
26520
      if ftype == TType.STOP:
26521
        break
26522
      if fid == 1:
26523
        if ftype == TType.I64:
26524
          self.catalogItemId = iprot.readI64();
26525
        else:
26526
          iprot.skip(ftype)
26527
      else:
26528
        iprot.skip(ftype)
26529
      iprot.readFieldEnd()
26530
    iprot.readStructEnd()
26531
 
26532
  def write(self, oprot):
26533
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26534
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26535
      return
26536
    oprot.writeStructBegin('deleteProductFeedSubmit_args')
26537
    if self.catalogItemId is not None:
26538
      oprot.writeFieldBegin('catalogItemId', TType.I64, 1)
26539
      oprot.writeI64(self.catalogItemId)
26540
      oprot.writeFieldEnd()
26541
    oprot.writeFieldStop()
26542
    oprot.writeStructEnd()
26543
 
26544
  def validate(self):
26545
    return
26546
 
26547
 
26548
  def __repr__(self):
26549
    L = ['%s=%r' % (key, value)
26550
      for key, value in self.__dict__.iteritems()]
26551
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26552
 
26553
  def __eq__(self, other):
26554
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26555
 
26556
  def __ne__(self, other):
26557
    return not (self == other)
26558
 
26559
class deleteProductFeedSubmit_result:
26560
  """
26561
  Attributes:
26562
   - success
26563
   - cex
26564
  """
26565
 
26566
  thrift_spec = (
26567
    (0, TType.BOOL, 'success', None, None, ), # 0
26568
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26569
  )
26570
 
26571
  def __init__(self, success=None, cex=None,):
26572
    self.success = success
26573
    self.cex = cex
26574
 
26575
  def read(self, iprot):
26576
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26577
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26578
      return
26579
    iprot.readStructBegin()
26580
    while True:
26581
      (fname, ftype, fid) = iprot.readFieldBegin()
26582
      if ftype == TType.STOP:
26583
        break
26584
      if fid == 0:
26585
        if ftype == TType.BOOL:
26586
          self.success = iprot.readBool();
26587
        else:
26588
          iprot.skip(ftype)
26589
      elif fid == 1:
26590
        if ftype == TType.STRUCT:
26591
          self.cex = CatalogServiceException()
26592
          self.cex.read(iprot)
26593
        else:
26594
          iprot.skip(ftype)
26595
      else:
26596
        iprot.skip(ftype)
26597
      iprot.readFieldEnd()
26598
    iprot.readStructEnd()
26599
 
26600
  def write(self, oprot):
26601
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26602
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26603
      return
26604
    oprot.writeStructBegin('deleteProductFeedSubmit_result')
26605
    if self.success is not None:
26606
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26607
      oprot.writeBool(self.success)
26608
      oprot.writeFieldEnd()
26609
    if self.cex is not None:
26610
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26611
      self.cex.write(oprot)
26612
      oprot.writeFieldEnd()
26613
    oprot.writeFieldStop()
26614
    oprot.writeStructEnd()
26615
 
26616
  def validate(self):
26617
    return
26618
 
26619
 
26620
  def __repr__(self):
26621
    L = ['%s=%r' % (key, value)
26622
      for key, value in self.__dict__.iteritems()]
26623
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26624
 
26625
  def __eq__(self, other):
26626
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26627
 
26628
  def __ne__(self, other):
26629
    return not (self == other)
26630
 
26631
class getAllProductFeedSubmit_args:
26632
 
26633
  thrift_spec = (
26634
  )
26635
 
26636
  def read(self, iprot):
26637
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26638
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26639
      return
26640
    iprot.readStructBegin()
26641
    while True:
26642
      (fname, ftype, fid) = iprot.readFieldBegin()
26643
      if ftype == TType.STOP:
26644
        break
26645
      else:
26646
        iprot.skip(ftype)
26647
      iprot.readFieldEnd()
26648
    iprot.readStructEnd()
26649
 
26650
  def write(self, oprot):
26651
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26652
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26653
      return
26654
    oprot.writeStructBegin('getAllProductFeedSubmit_args')
26655
    oprot.writeFieldStop()
26656
    oprot.writeStructEnd()
26657
 
26658
  def validate(self):
26659
    return
26660
 
26661
 
26662
  def __repr__(self):
26663
    L = ['%s=%r' % (key, value)
26664
      for key, value in self.__dict__.iteritems()]
26665
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26666
 
26667
  def __eq__(self, other):
26668
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26669
 
26670
  def __ne__(self, other):
26671
    return not (self == other)
26672
 
26673
class getAllProductFeedSubmit_result:
26674
  """
26675
  Attributes:
26676
   - success
26677
   - cex
26678
  """
26679
 
26680
  thrift_spec = (
26681
    (0, TType.LIST, 'success', (TType.STRUCT,(ProductFeedSubmit, ProductFeedSubmit.thrift_spec)), None, ), # 0
26682
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
26683
  )
26684
 
26685
  def __init__(self, success=None, cex=None,):
26686
    self.success = success
26687
    self.cex = cex
26688
 
26689
  def read(self, iprot):
26690
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26691
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26692
      return
26693
    iprot.readStructBegin()
26694
    while True:
26695
      (fname, ftype, fid) = iprot.readFieldBegin()
26696
      if ftype == TType.STOP:
26697
        break
26698
      if fid == 0:
26699
        if ftype == TType.LIST:
26700
          self.success = []
12567 amit.gupta 26701
          (_etype560, _size557) = iprot.readListBegin()
26702
          for _i561 in xrange(_size557):
26703
            _elem562 = ProductFeedSubmit()
26704
            _elem562.read(iprot)
26705
            self.success.append(_elem562)
9621 manish.sha 26706
          iprot.readListEnd()
26707
        else:
26708
          iprot.skip(ftype)
26709
      elif fid == 1:
26710
        if ftype == TType.STRUCT:
26711
          self.cex = CatalogServiceException()
26712
          self.cex.read(iprot)
26713
        else:
26714
          iprot.skip(ftype)
26715
      else:
26716
        iprot.skip(ftype)
26717
      iprot.readFieldEnd()
26718
    iprot.readStructEnd()
26719
 
26720
  def write(self, oprot):
26721
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26722
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26723
      return
26724
    oprot.writeStructBegin('getAllProductFeedSubmit_result')
26725
    if self.success is not None:
26726
      oprot.writeFieldBegin('success', TType.LIST, 0)
26727
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 26728
      for iter563 in self.success:
26729
        iter563.write(oprot)
9621 manish.sha 26730
      oprot.writeListEnd()
26731
      oprot.writeFieldEnd()
26732
    if self.cex is not None:
26733
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
26734
      self.cex.write(oprot)
26735
      oprot.writeFieldEnd()
26736
    oprot.writeFieldStop()
26737
    oprot.writeStructEnd()
26738
 
26739
  def validate(self):
26740
    return
26741
 
26742
 
26743
  def __repr__(self):
26744
    L = ['%s=%r' % (key, value)
26745
      for key, value in self.__dict__.iteritems()]
26746
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26747
 
26748
  def __eq__(self, other):
26749
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26750
 
26751
  def __ne__(self, other):
26752
    return not (self == other)
9724 kshitij.so 26753
 
26754
class getMarketplacedetailsForItem_args:
26755
  """
26756
  Attributes:
26757
   - itemId
26758
   - sourceId
26759
  """
26760
 
26761
  thrift_spec = (
26762
    None, # 0
26763
    (1, TType.I64, 'itemId', None, None, ), # 1
26764
    (2, TType.I64, 'sourceId', None, None, ), # 2
26765
  )
26766
 
26767
  def __init__(self, itemId=None, sourceId=None,):
26768
    self.itemId = itemId
26769
    self.sourceId = sourceId
26770
 
26771
  def read(self, iprot):
26772
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26773
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26774
      return
26775
    iprot.readStructBegin()
26776
    while True:
26777
      (fname, ftype, fid) = iprot.readFieldBegin()
26778
      if ftype == TType.STOP:
26779
        break
26780
      if fid == 1:
26781
        if ftype == TType.I64:
26782
          self.itemId = iprot.readI64();
26783
        else:
26784
          iprot.skip(ftype)
26785
      elif fid == 2:
26786
        if ftype == TType.I64:
26787
          self.sourceId = iprot.readI64();
26788
        else:
26789
          iprot.skip(ftype)
26790
      else:
26791
        iprot.skip(ftype)
26792
      iprot.readFieldEnd()
26793
    iprot.readStructEnd()
26794
 
26795
  def write(self, oprot):
26796
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26797
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26798
      return
26799
    oprot.writeStructBegin('getMarketplacedetailsForItem_args')
26800
    if self.itemId is not None:
26801
      oprot.writeFieldBegin('itemId', TType.I64, 1)
26802
      oprot.writeI64(self.itemId)
26803
      oprot.writeFieldEnd()
26804
    if self.sourceId is not None:
26805
      oprot.writeFieldBegin('sourceId', TType.I64, 2)
26806
      oprot.writeI64(self.sourceId)
26807
      oprot.writeFieldEnd()
26808
    oprot.writeFieldStop()
26809
    oprot.writeStructEnd()
26810
 
26811
  def validate(self):
26812
    return
26813
 
26814
 
26815
  def __repr__(self):
26816
    L = ['%s=%r' % (key, value)
26817
      for key, value in self.__dict__.iteritems()]
26818
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26819
 
26820
  def __eq__(self, other):
26821
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26822
 
26823
  def __ne__(self, other):
26824
    return not (self == other)
26825
 
26826
class getMarketplacedetailsForItem_result:
26827
  """
26828
  Attributes:
26829
   - success
26830
  """
26831
 
26832
  thrift_spec = (
26833
    (0, TType.STRUCT, 'success', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 0
26834
  )
26835
 
26836
  def __init__(self, success=None,):
26837
    self.success = success
26838
 
26839
  def read(self, iprot):
26840
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26841
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26842
      return
26843
    iprot.readStructBegin()
26844
    while True:
26845
      (fname, ftype, fid) = iprot.readFieldBegin()
26846
      if ftype == TType.STOP:
26847
        break
26848
      if fid == 0:
26849
        if ftype == TType.STRUCT:
26850
          self.success = MarketplaceItems()
26851
          self.success.read(iprot)
26852
        else:
26853
          iprot.skip(ftype)
26854
      else:
26855
        iprot.skip(ftype)
26856
      iprot.readFieldEnd()
26857
    iprot.readStructEnd()
26858
 
26859
  def write(self, oprot):
26860
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26861
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26862
      return
26863
    oprot.writeStructBegin('getMarketplacedetailsForItem_result')
26864
    if self.success is not None:
26865
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
26866
      self.success.write(oprot)
26867
      oprot.writeFieldEnd()
26868
    oprot.writeFieldStop()
26869
    oprot.writeStructEnd()
26870
 
26871
  def validate(self):
26872
    return
26873
 
26874
 
26875
  def __repr__(self):
26876
    L = ['%s=%r' % (key, value)
26877
      for key, value in self.__dict__.iteritems()]
26878
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26879
 
26880
  def __eq__(self, other):
26881
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26882
 
26883
  def __ne__(self, other):
26884
    return not (self == other)
26885
 
26886
class updateMarketplaceAttributesForItem_args:
26887
  """
26888
  Attributes:
26889
   - marketPlaceItem
26890
  """
26891
 
26892
  thrift_spec = (
26893
    None, # 0
26894
    (1, TType.STRUCT, 'marketPlaceItem', (MarketplaceItems, MarketplaceItems.thrift_spec), None, ), # 1
26895
  )
26896
 
26897
  def __init__(self, marketPlaceItem=None,):
26898
    self.marketPlaceItem = marketPlaceItem
26899
 
26900
  def read(self, iprot):
26901
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26902
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26903
      return
26904
    iprot.readStructBegin()
26905
    while True:
26906
      (fname, ftype, fid) = iprot.readFieldBegin()
26907
      if ftype == TType.STOP:
26908
        break
26909
      if fid == 1:
26910
        if ftype == TType.STRUCT:
26911
          self.marketPlaceItem = MarketplaceItems()
26912
          self.marketPlaceItem.read(iprot)
26913
        else:
26914
          iprot.skip(ftype)
26915
      else:
26916
        iprot.skip(ftype)
26917
      iprot.readFieldEnd()
26918
    iprot.readStructEnd()
26919
 
26920
  def write(self, oprot):
26921
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26922
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26923
      return
26924
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_args')
26925
    if self.marketPlaceItem is not None:
26926
      oprot.writeFieldBegin('marketPlaceItem', TType.STRUCT, 1)
26927
      self.marketPlaceItem.write(oprot)
26928
      oprot.writeFieldEnd()
26929
    oprot.writeFieldStop()
26930
    oprot.writeStructEnd()
26931
 
26932
  def validate(self):
26933
    return
26934
 
26935
 
26936
  def __repr__(self):
26937
    L = ['%s=%r' % (key, value)
26938
      for key, value in self.__dict__.iteritems()]
26939
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26940
 
26941
  def __eq__(self, other):
26942
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
26943
 
26944
  def __ne__(self, other):
26945
    return not (self == other)
26946
 
26947
class updateMarketplaceAttributesForItem_result:
26948
  """
26949
  Attributes:
26950
   - success
26951
  """
26952
 
26953
  thrift_spec = (
26954
    (0, TType.BOOL, 'success', None, None, ), # 0
26955
  )
26956
 
26957
  def __init__(self, success=None,):
26958
    self.success = success
26959
 
26960
  def read(self, iprot):
26961
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
26962
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
26963
      return
26964
    iprot.readStructBegin()
26965
    while True:
26966
      (fname, ftype, fid) = iprot.readFieldBegin()
26967
      if ftype == TType.STOP:
26968
        break
26969
      if fid == 0:
26970
        if ftype == TType.BOOL:
26971
          self.success = iprot.readBool();
26972
        else:
26973
          iprot.skip(ftype)
26974
      else:
26975
        iprot.skip(ftype)
26976
      iprot.readFieldEnd()
26977
    iprot.readStructEnd()
26978
 
26979
  def write(self, oprot):
26980
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
26981
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
26982
      return
26983
    oprot.writeStructBegin('updateMarketplaceAttributesForItem_result')
26984
    if self.success is not None:
26985
      oprot.writeFieldBegin('success', TType.BOOL, 0)
26986
      oprot.writeBool(self.success)
26987
      oprot.writeFieldEnd()
26988
    oprot.writeFieldStop()
26989
    oprot.writeStructEnd()
26990
 
26991
  def validate(self):
26992
    return
26993
 
26994
 
26995
  def __repr__(self):
26996
    L = ['%s=%r' % (key, value)
26997
      for key, value in self.__dict__.iteritems()]
26998
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
26999
 
27000
  def __eq__(self, other):
27001
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27002
 
27003
  def __ne__(self, other):
27004
    return not (self == other)
9776 vikram.rag 27005
 
9779 kshitij.so 27006
class getCostingForMarketplace_args:
27007
  """
27008
  Attributes:
27009
   - source
27010
   - item_id
27011
  """
27012
 
27013
  thrift_spec = (
27014
    None, # 0
27015
    (1, TType.I64, 'source', None, None, ), # 1
27016
    (2, TType.I64, 'item_id', None, None, ), # 2
27017
  )
27018
 
27019
  def __init__(self, source=None, item_id=None,):
27020
    self.source = source
27021
    self.item_id = item_id
27022
 
27023
  def read(self, iprot):
27024
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27025
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27026
      return
27027
    iprot.readStructBegin()
27028
    while True:
27029
      (fname, ftype, fid) = iprot.readFieldBegin()
27030
      if ftype == TType.STOP:
27031
        break
27032
      if fid == 1:
27033
        if ftype == TType.I64:
27034
          self.source = iprot.readI64();
27035
        else:
27036
          iprot.skip(ftype)
27037
      elif fid == 2:
27038
        if ftype == TType.I64:
27039
          self.item_id = iprot.readI64();
27040
        else:
27041
          iprot.skip(ftype)
27042
      else:
27043
        iprot.skip(ftype)
27044
      iprot.readFieldEnd()
27045
    iprot.readStructEnd()
27046
 
27047
  def write(self, oprot):
27048
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27049
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27050
      return
27051
    oprot.writeStructBegin('getCostingForMarketplace_args')
27052
    if self.source is not None:
27053
      oprot.writeFieldBegin('source', TType.I64, 1)
27054
      oprot.writeI64(self.source)
27055
      oprot.writeFieldEnd()
27056
    if self.item_id is not None:
27057
      oprot.writeFieldBegin('item_id', TType.I64, 2)
27058
      oprot.writeI64(self.item_id)
27059
      oprot.writeFieldEnd()
27060
    oprot.writeFieldStop()
27061
    oprot.writeStructEnd()
27062
 
27063
  def validate(self):
27064
    return
27065
 
27066
 
27067
  def __repr__(self):
27068
    L = ['%s=%r' % (key, value)
27069
      for key, value in self.__dict__.iteritems()]
27070
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27071
 
27072
  def __eq__(self, other):
27073
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27074
 
27075
  def __ne__(self, other):
27076
    return not (self == other)
27077
 
27078
class getCostingForMarketplace_result:
27079
  """
27080
  Attributes:
27081
   - success
27082
  """
27083
 
27084
  thrift_spec = (
27085
    (0, TType.STRUCT, 'success', (MarketplacePercentage, MarketplacePercentage.thrift_spec), None, ), # 0
27086
  )
27087
 
27088
  def __init__(self, success=None,):
27089
    self.success = success
27090
 
27091
  def read(self, iprot):
27092
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27093
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27094
      return
27095
    iprot.readStructBegin()
27096
    while True:
27097
      (fname, ftype, fid) = iprot.readFieldBegin()
27098
      if ftype == TType.STOP:
27099
        break
27100
      if fid == 0:
27101
        if ftype == TType.STRUCT:
27102
          self.success = MarketplacePercentage()
27103
          self.success.read(iprot)
27104
        else:
27105
          iprot.skip(ftype)
27106
      else:
27107
        iprot.skip(ftype)
27108
      iprot.readFieldEnd()
27109
    iprot.readStructEnd()
27110
 
27111
  def write(self, oprot):
27112
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27113
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27114
      return
27115
    oprot.writeStructBegin('getCostingForMarketplace_result')
27116
    if self.success is not None:
27117
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27118
      self.success.write(oprot)
27119
      oprot.writeFieldEnd()
27120
    oprot.writeFieldStop()
27121
    oprot.writeStructEnd()
27122
 
27123
  def validate(self):
27124
    return
27125
 
27126
 
27127
  def __repr__(self):
27128
    L = ['%s=%r' % (key, value)
27129
      for key, value in self.__dict__.iteritems()]
27130
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27131
 
27132
  def __eq__(self, other):
27133
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27134
 
27135
  def __ne__(self, other):
27136
    return not (self == other)
27137
 
9776 vikram.rag 27138
class getMarketPlaceItemsForPriceUpdate_args:
27139
  """
27140
  Attributes:
27141
   - source
27142
  """
27143
 
27144
  thrift_spec = (
27145
    None, # 0
27146
    (1, TType.I64, 'source', None, None, ), # 1
27147
  )
27148
 
27149
  def __init__(self, source=None,):
27150
    self.source = source
27151
 
27152
  def read(self, iprot):
27153
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27154
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27155
      return
27156
    iprot.readStructBegin()
27157
    while True:
27158
      (fname, ftype, fid) = iprot.readFieldBegin()
27159
      if ftype == TType.STOP:
27160
        break
27161
      if fid == 1:
27162
        if ftype == TType.I64:
27163
          self.source = iprot.readI64();
27164
        else:
27165
          iprot.skip(ftype)
27166
      else:
27167
        iprot.skip(ftype)
27168
      iprot.readFieldEnd()
27169
    iprot.readStructEnd()
27170
 
27171
  def write(self, oprot):
27172
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27173
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27174
      return
27175
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_args')
27176
    if self.source is not None:
27177
      oprot.writeFieldBegin('source', TType.I64, 1)
27178
      oprot.writeI64(self.source)
27179
      oprot.writeFieldEnd()
27180
    oprot.writeFieldStop()
27181
    oprot.writeStructEnd()
27182
 
27183
  def validate(self):
27184
    return
27185
 
27186
 
27187
  def __repr__(self):
27188
    L = ['%s=%r' % (key, value)
27189
      for key, value in self.__dict__.iteritems()]
27190
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27191
 
27192
  def __eq__(self, other):
27193
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27194
 
27195
  def __ne__(self, other):
27196
    return not (self == other)
27197
 
27198
class getMarketPlaceItemsForPriceUpdate_result:
27199
  """
27200
  Attributes:
27201
   - success
27202
  """
27203
 
27204
  thrift_spec = (
27205
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketPlaceItemPrice, MarketPlaceItemPrice.thrift_spec)), None, ), # 0
27206
  )
27207
 
27208
  def __init__(self, success=None,):
27209
    self.success = success
27210
 
27211
  def read(self, iprot):
27212
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27213
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27214
      return
27215
    iprot.readStructBegin()
27216
    while True:
27217
      (fname, ftype, fid) = iprot.readFieldBegin()
27218
      if ftype == TType.STOP:
27219
        break
27220
      if fid == 0:
27221
        if ftype == TType.LIST:
27222
          self.success = []
12567 amit.gupta 27223
          (_etype567, _size564) = iprot.readListBegin()
27224
          for _i568 in xrange(_size564):
27225
            _elem569 = MarketPlaceItemPrice()
27226
            _elem569.read(iprot)
27227
            self.success.append(_elem569)
9776 vikram.rag 27228
          iprot.readListEnd()
27229
        else:
27230
          iprot.skip(ftype)
27231
      else:
27232
        iprot.skip(ftype)
27233
      iprot.readFieldEnd()
27234
    iprot.readStructEnd()
27235
 
27236
  def write(self, oprot):
27237
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27238
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27239
      return
27240
    oprot.writeStructBegin('getMarketPlaceItemsForPriceUpdate_result')
27241
    if self.success is not None:
27242
      oprot.writeFieldBegin('success', TType.LIST, 0)
27243
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 27244
      for iter570 in self.success:
27245
        iter570.write(oprot)
9776 vikram.rag 27246
      oprot.writeListEnd()
27247
      oprot.writeFieldEnd()
27248
    oprot.writeFieldStop()
27249
    oprot.writeStructEnd()
27250
 
27251
  def validate(self):
27252
    return
27253
 
27254
 
27255
  def __repr__(self):
27256
    L = ['%s=%r' % (key, value)
27257
      for key, value in self.__dict__.iteritems()]
27258
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27259
 
27260
  def __eq__(self, other):
27261
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27262
 
27263
  def __ne__(self, other):
27264
    return not (self == other)
27265
 
27266
class updateMarketPlacePriceUpdateStatus_args:
27267
  """
27268
  Attributes:
27269
   - skulist
27270
   - timestamp
9816 kshitij.so 27271
   - source
9776 vikram.rag 27272
  """
27273
 
27274
  thrift_spec = (
27275
    None, # 0
27276
    (1, TType.LIST, 'skulist', (TType.I64,None), None, ), # 1
27277
    (2, TType.I64, 'timestamp', None, None, ), # 2
9816 kshitij.so 27278
    (3, TType.I64, 'source', None, None, ), # 3
9776 vikram.rag 27279
  )
27280
 
9816 kshitij.so 27281
  def __init__(self, skulist=None, timestamp=None, source=None,):
9776 vikram.rag 27282
    self.skulist = skulist
27283
    self.timestamp = timestamp
9816 kshitij.so 27284
    self.source = source
9776 vikram.rag 27285
 
27286
  def read(self, iprot):
27287
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27288
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27289
      return
27290
    iprot.readStructBegin()
27291
    while True:
27292
      (fname, ftype, fid) = iprot.readFieldBegin()
27293
      if ftype == TType.STOP:
27294
        break
27295
      if fid == 1:
27296
        if ftype == TType.LIST:
27297
          self.skulist = []
12567 amit.gupta 27298
          (_etype574, _size571) = iprot.readListBegin()
27299
          for _i575 in xrange(_size571):
27300
            _elem576 = iprot.readI64();
27301
            self.skulist.append(_elem576)
9776 vikram.rag 27302
          iprot.readListEnd()
27303
        else:
27304
          iprot.skip(ftype)
27305
      elif fid == 2:
27306
        if ftype == TType.I64:
27307
          self.timestamp = iprot.readI64();
27308
        else:
27309
          iprot.skip(ftype)
9816 kshitij.so 27310
      elif fid == 3:
27311
        if ftype == TType.I64:
27312
          self.source = iprot.readI64();
27313
        else:
27314
          iprot.skip(ftype)
9776 vikram.rag 27315
      else:
27316
        iprot.skip(ftype)
27317
      iprot.readFieldEnd()
27318
    iprot.readStructEnd()
27319
 
27320
  def write(self, oprot):
27321
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27322
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27323
      return
27324
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_args')
27325
    if self.skulist is not None:
27326
      oprot.writeFieldBegin('skulist', TType.LIST, 1)
27327
      oprot.writeListBegin(TType.I64, len(self.skulist))
12567 amit.gupta 27328
      for iter577 in self.skulist:
27329
        oprot.writeI64(iter577)
9776 vikram.rag 27330
      oprot.writeListEnd()
27331
      oprot.writeFieldEnd()
27332
    if self.timestamp is not None:
27333
      oprot.writeFieldBegin('timestamp', TType.I64, 2)
27334
      oprot.writeI64(self.timestamp)
27335
      oprot.writeFieldEnd()
9816 kshitij.so 27336
    if self.source is not None:
27337
      oprot.writeFieldBegin('source', TType.I64, 3)
27338
      oprot.writeI64(self.source)
27339
      oprot.writeFieldEnd()
9776 vikram.rag 27340
    oprot.writeFieldStop()
27341
    oprot.writeStructEnd()
27342
 
27343
  def validate(self):
27344
    return
27345
 
27346
 
27347
  def __repr__(self):
27348
    L = ['%s=%r' % (key, value)
27349
      for key, value in self.__dict__.iteritems()]
27350
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27351
 
27352
  def __eq__(self, other):
27353
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27354
 
27355
  def __ne__(self, other):
27356
    return not (self == other)
27357
 
27358
class updateMarketPlacePriceUpdateStatus_result:
27359
 
27360
  thrift_spec = (
27361
  )
27362
 
27363
  def read(self, iprot):
27364
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27365
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27366
      return
27367
    iprot.readStructBegin()
27368
    while True:
27369
      (fname, ftype, fid) = iprot.readFieldBegin()
27370
      if ftype == TType.STOP:
27371
        break
27372
      else:
27373
        iprot.skip(ftype)
27374
      iprot.readFieldEnd()
27375
    iprot.readStructEnd()
27376
 
27377
  def write(self, oprot):
27378
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27379
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27380
      return
27381
    oprot.writeStructBegin('updateMarketPlacePriceUpdateStatus_result')
27382
    oprot.writeFieldStop()
27383
    oprot.writeStructEnd()
27384
 
27385
  def validate(self):
27386
    return
27387
 
27388
 
27389
  def __repr__(self):
27390
    L = ['%s=%r' % (key, value)
27391
      for key, value in self.__dict__.iteritems()]
27392
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27393
 
27394
  def __eq__(self, other):
27395
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27396
 
27397
  def __ne__(self, other):
27398
    return not (self == other)
9861 rajveer 27399
 
27400
class updateItemHoldInventory_args:
27401
  """
27402
  Attributes:
27403
   - itemHoldMap
27404
  """
27405
 
27406
  thrift_spec = (
27407
    None, # 0
27408
    (1, TType.MAP, 'itemHoldMap', (TType.I64,None,TType.I64,None), None, ), # 1
27409
  )
27410
 
27411
  def __init__(self, itemHoldMap=None,):
27412
    self.itemHoldMap = itemHoldMap
27413
 
27414
  def read(self, iprot):
27415
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27416
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27417
      return
27418
    iprot.readStructBegin()
27419
    while True:
27420
      (fname, ftype, fid) = iprot.readFieldBegin()
27421
      if ftype == TType.STOP:
27422
        break
27423
      if fid == 1:
27424
        if ftype == TType.MAP:
27425
          self.itemHoldMap = {}
12567 amit.gupta 27426
          (_ktype579, _vtype580, _size578 ) = iprot.readMapBegin() 
27427
          for _i582 in xrange(_size578):
27428
            _key583 = iprot.readI64();
27429
            _val584 = iprot.readI64();
27430
            self.itemHoldMap[_key583] = _val584
9861 rajveer 27431
          iprot.readMapEnd()
27432
        else:
27433
          iprot.skip(ftype)
27434
      else:
27435
        iprot.skip(ftype)
27436
      iprot.readFieldEnd()
27437
    iprot.readStructEnd()
27438
 
27439
  def write(self, oprot):
27440
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27441
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27442
      return
27443
    oprot.writeStructBegin('updateItemHoldInventory_args')
27444
    if self.itemHoldMap is not None:
27445
      oprot.writeFieldBegin('itemHoldMap', TType.MAP, 1)
27446
      oprot.writeMapBegin(TType.I64, TType.I64, len(self.itemHoldMap))
12567 amit.gupta 27447
      for kiter585,viter586 in self.itemHoldMap.items():
27448
        oprot.writeI64(kiter585)
27449
        oprot.writeI64(viter586)
9861 rajveer 27450
      oprot.writeMapEnd()
27451
      oprot.writeFieldEnd()
27452
    oprot.writeFieldStop()
27453
    oprot.writeStructEnd()
27454
 
27455
  def validate(self):
27456
    return
27457
 
27458
 
27459
  def __repr__(self):
27460
    L = ['%s=%r' % (key, value)
27461
      for key, value in self.__dict__.iteritems()]
27462
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27463
 
27464
  def __eq__(self, other):
27465
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27466
 
27467
  def __ne__(self, other):
27468
    return not (self == other)
27469
 
27470
class updateItemHoldInventory_result:
27471
 
27472
  thrift_spec = (
27473
  )
27474
 
27475
  def read(self, iprot):
27476
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27477
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27478
      return
27479
    iprot.readStructBegin()
27480
    while True:
27481
      (fname, ftype, fid) = iprot.readFieldBegin()
27482
      if ftype == TType.STOP:
27483
        break
27484
      else:
27485
        iprot.skip(ftype)
27486
      iprot.readFieldEnd()
27487
    iprot.readStructEnd()
27488
 
27489
  def write(self, oprot):
27490
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27491
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27492
      return
27493
    oprot.writeStructBegin('updateItemHoldInventory_result')
27494
    oprot.writeFieldStop()
27495
    oprot.writeStructEnd()
27496
 
27497
  def validate(self):
27498
    return
27499
 
27500
 
27501
  def __repr__(self):
27502
    L = ['%s=%r' % (key, value)
27503
      for key, value in self.__dict__.iteritems()]
27504
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27505
 
27506
  def __eq__(self, other):
27507
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27508
 
27509
  def __ne__(self, other):
27510
    return not (self == other)
9895 vikram.rag 27511
 
27512
class updateNlcAtMarketplaces_args:
27513
  """
27514
  Attributes:
27515
   - item_id
27516
   - vendor_id
27517
   - nlc
27518
  """
27519
 
27520
  thrift_spec = None
27521
  def __init__(self, item_id=None, vendor_id=None, nlc=None,):
27522
    self.item_id = item_id
27523
    self.vendor_id = vendor_id
27524
    self.nlc = nlc
27525
 
27526
  def read(self, iprot):
27527
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27528
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27529
      return
27530
    iprot.readStructBegin()
27531
    while True:
27532
      (fname, ftype, fid) = iprot.readFieldBegin()
27533
      if ftype == TType.STOP:
27534
        break
27535
      if fid == 1:
27536
        if ftype == TType.I64:
27537
          self.item_id = iprot.readI64();
27538
        else:
27539
          iprot.skip(ftype)
27540
      elif fid == 2:
27541
        if ftype == TType.I64:
27542
          self.vendor_id = iprot.readI64();
27543
        else:
27544
          iprot.skip(ftype)
27545
      elif fid == -1:
27546
        if ftype == TType.DOUBLE:
27547
          self.nlc = iprot.readDouble();
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('updateNlcAtMarketplaces_args')
27560
    if self.nlc is not None:
27561
      oprot.writeFieldBegin('nlc', TType.DOUBLE, -1)
27562
      oprot.writeDouble(self.nlc)
27563
      oprot.writeFieldEnd()
27564
    if self.item_id is not None:
27565
      oprot.writeFieldBegin('item_id', TType.I64, 1)
27566
      oprot.writeI64(self.item_id)
27567
      oprot.writeFieldEnd()
27568
    if self.vendor_id is not None:
27569
      oprot.writeFieldBegin('vendor_id', TType.I64, 2)
27570
      oprot.writeI64(self.vendor_id)
27571
      oprot.writeFieldEnd()
27572
    oprot.writeFieldStop()
27573
    oprot.writeStructEnd()
27574
 
27575
  def validate(self):
27576
    return
27577
 
27578
 
27579
  def __repr__(self):
27580
    L = ['%s=%r' % (key, value)
27581
      for key, value in self.__dict__.iteritems()]
27582
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27583
 
27584
  def __eq__(self, other):
27585
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27586
 
27587
  def __ne__(self, other):
27588
    return not (self == other)
27589
 
27590
class updateNlcAtMarketplaces_result:
27591
 
27592
  thrift_spec = (
27593
  )
27594
 
27595
  def read(self, iprot):
27596
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27597
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27598
      return
27599
    iprot.readStructBegin()
27600
    while True:
27601
      (fname, ftype, fid) = iprot.readFieldBegin()
27602
      if ftype == TType.STOP:
27603
        break
27604
      else:
27605
        iprot.skip(ftype)
27606
      iprot.readFieldEnd()
27607
    iprot.readStructEnd()
27608
 
27609
  def write(self, oprot):
27610
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27611
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27612
      return
27613
    oprot.writeStructBegin('updateNlcAtMarketplaces_result')
27614
    oprot.writeFieldStop()
27615
    oprot.writeStructEnd()
27616
 
27617
  def validate(self):
27618
    return
27619
 
27620
 
27621
  def __repr__(self):
27622
    L = ['%s=%r' % (key, value)
27623
      for key, value in self.__dict__.iteritems()]
27624
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27625
 
27626
  def __eq__(self, other):
27627
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27628
 
27629
  def __ne__(self, other):
27630
    return not (self == other)
9945 vikram.rag 27631
 
27632
class getAllFlipkartItems_args:
27633
 
27634
  thrift_spec = (
27635
  )
27636
 
27637
  def read(self, iprot):
27638
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27639
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27640
      return
27641
    iprot.readStructBegin()
27642
    while True:
27643
      (fname, ftype, fid) = iprot.readFieldBegin()
27644
      if ftype == TType.STOP:
27645
        break
27646
      else:
27647
        iprot.skip(ftype)
27648
      iprot.readFieldEnd()
27649
    iprot.readStructEnd()
27650
 
27651
  def write(self, oprot):
27652
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27653
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27654
      return
27655
    oprot.writeStructBegin('getAllFlipkartItems_args')
27656
    oprot.writeFieldStop()
27657
    oprot.writeStructEnd()
27658
 
27659
  def validate(self):
27660
    return
27661
 
27662
 
27663
  def __repr__(self):
27664
    L = ['%s=%r' % (key, value)
27665
      for key, value in self.__dict__.iteritems()]
27666
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27667
 
27668
  def __eq__(self, other):
27669
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27670
 
27671
  def __ne__(self, other):
27672
    return not (self == other)
27673
 
27674
class getAllFlipkartItems_result:
27675
  """
27676
  Attributes:
27677
   - success
27678
  """
27679
 
27680
  thrift_spec = (
27681
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
27682
  )
27683
 
27684
  def __init__(self, success=None,):
27685
    self.success = success
27686
 
27687
  def read(self, iprot):
27688
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27689
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27690
      return
27691
    iprot.readStructBegin()
27692
    while True:
27693
      (fname, ftype, fid) = iprot.readFieldBegin()
27694
      if ftype == TType.STOP:
27695
        break
27696
      if fid == 0:
27697
        if ftype == TType.LIST:
27698
          self.success = []
12567 amit.gupta 27699
          (_etype590, _size587) = iprot.readListBegin()
27700
          for _i591 in xrange(_size587):
27701
            _elem592 = FlipkartItem()
27702
            _elem592.read(iprot)
27703
            self.success.append(_elem592)
9945 vikram.rag 27704
          iprot.readListEnd()
27705
        else:
27706
          iprot.skip(ftype)
27707
      else:
27708
        iprot.skip(ftype)
27709
      iprot.readFieldEnd()
27710
    iprot.readStructEnd()
27711
 
27712
  def write(self, oprot):
27713
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27714
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27715
      return
27716
    oprot.writeStructBegin('getAllFlipkartItems_result')
27717
    if self.success is not None:
27718
      oprot.writeFieldBegin('success', TType.LIST, 0)
27719
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 27720
      for iter593 in self.success:
27721
        iter593.write(oprot)
9945 vikram.rag 27722
      oprot.writeListEnd()
27723
      oprot.writeFieldEnd()
27724
    oprot.writeFieldStop()
27725
    oprot.writeStructEnd()
27726
 
27727
  def validate(self):
27728
    return
27729
 
27730
 
27731
  def __repr__(self):
27732
    L = ['%s=%r' % (key, value)
27733
      for key, value in self.__dict__.iteritems()]
27734
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27735
 
27736
  def __eq__(self, other):
27737
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27738
 
27739
  def __ne__(self, other):
27740
    return not (self == other)
10097 kshitij.so 27741
 
27742
class addOrUpdateFlipkartItem_args:
27743
  """
27744
  Attributes:
27745
   - flipkartitem
27746
  """
27747
 
27748
  thrift_spec = None
27749
  def __init__(self, flipkartitem=None,):
27750
    self.flipkartitem = flipkartitem
27751
 
27752
  def read(self, iprot):
27753
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27754
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27755
      return
27756
    iprot.readStructBegin()
27757
    while True:
27758
      (fname, ftype, fid) = iprot.readFieldBegin()
27759
      if ftype == TType.STOP:
27760
        break
27761
      if fid == -1:
27762
        if ftype == TType.STRUCT:
27763
          self.flipkartitem = FlipkartItem()
27764
          self.flipkartitem.read(iprot)
27765
        else:
27766
          iprot.skip(ftype)
27767
      else:
27768
        iprot.skip(ftype)
27769
      iprot.readFieldEnd()
27770
    iprot.readStructEnd()
27771
 
27772
  def write(self, oprot):
27773
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27774
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27775
      return
27776
    oprot.writeStructBegin('addOrUpdateFlipkartItem_args')
27777
    if self.flipkartitem is not None:
27778
      oprot.writeFieldBegin('flipkartitem', TType.STRUCT, -1)
27779
      self.flipkartitem.write(oprot)
27780
      oprot.writeFieldEnd()
27781
    oprot.writeFieldStop()
27782
    oprot.writeStructEnd()
27783
 
27784
  def validate(self):
27785
    return
27786
 
27787
 
27788
  def __repr__(self):
27789
    L = ['%s=%r' % (key, value)
27790
      for key, value in self.__dict__.iteritems()]
27791
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27792
 
27793
  def __eq__(self, other):
27794
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27795
 
27796
  def __ne__(self, other):
27797
    return not (self == other)
27798
 
27799
class addOrUpdateFlipkartItem_result:
27800
  """
27801
  Attributes:
27802
   - success
27803
  """
27804
 
27805
  thrift_spec = (
27806
    (0, TType.BOOL, 'success', None, None, ), # 0
27807
  )
27808
 
27809
  def __init__(self, success=None,):
27810
    self.success = success
27811
 
27812
  def read(self, iprot):
27813
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27814
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27815
      return
27816
    iprot.readStructBegin()
27817
    while True:
27818
      (fname, ftype, fid) = iprot.readFieldBegin()
27819
      if ftype == TType.STOP:
27820
        break
27821
      if fid == 0:
27822
        if ftype == TType.BOOL:
27823
          self.success = iprot.readBool();
27824
        else:
27825
          iprot.skip(ftype)
27826
      else:
27827
        iprot.skip(ftype)
27828
      iprot.readFieldEnd()
27829
    iprot.readStructEnd()
27830
 
27831
  def write(self, oprot):
27832
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27833
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27834
      return
27835
    oprot.writeStructBegin('addOrUpdateFlipkartItem_result')
27836
    if self.success is not None:
27837
      oprot.writeFieldBegin('success', TType.BOOL, 0)
27838
      oprot.writeBool(self.success)
27839
      oprot.writeFieldEnd()
27840
    oprot.writeFieldStop()
27841
    oprot.writeStructEnd()
27842
 
27843
  def validate(self):
27844
    return
27845
 
27846
 
27847
  def __repr__(self):
27848
    L = ['%s=%r' % (key, value)
27849
      for key, value in self.__dict__.iteritems()]
27850
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27851
 
27852
  def __eq__(self, other):
27853
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27854
 
27855
  def __ne__(self, other):
27856
    return not (self == other)
27857
 
27858
class getFlipkartItem_args:
27859
  """
27860
  Attributes:
27861
   - item_id
27862
  """
27863
 
27864
  thrift_spec = (
27865
    None, # 0
27866
    (1, TType.I64, 'item_id', None, None, ), # 1
27867
  )
27868
 
27869
  def __init__(self, item_id=None,):
27870
    self.item_id = item_id
27871
 
27872
  def read(self, iprot):
27873
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27874
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27875
      return
27876
    iprot.readStructBegin()
27877
    while True:
27878
      (fname, ftype, fid) = iprot.readFieldBegin()
27879
      if ftype == TType.STOP:
27880
        break
27881
      if fid == 1:
27882
        if ftype == TType.I64:
27883
          self.item_id = iprot.readI64();
27884
        else:
27885
          iprot.skip(ftype)
27886
      else:
27887
        iprot.skip(ftype)
27888
      iprot.readFieldEnd()
27889
    iprot.readStructEnd()
27890
 
27891
  def write(self, oprot):
27892
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27893
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27894
      return
27895
    oprot.writeStructBegin('getFlipkartItem_args')
27896
    if self.item_id is not None:
27897
      oprot.writeFieldBegin('item_id', TType.I64, 1)
27898
      oprot.writeI64(self.item_id)
27899
      oprot.writeFieldEnd()
27900
    oprot.writeFieldStop()
27901
    oprot.writeStructEnd()
27902
 
27903
  def validate(self):
27904
    return
27905
 
27906
 
27907
  def __repr__(self):
27908
    L = ['%s=%r' % (key, value)
27909
      for key, value in self.__dict__.iteritems()]
27910
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
27911
 
27912
  def __eq__(self, other):
27913
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
27914
 
27915
  def __ne__(self, other):
27916
    return not (self == other)
27917
 
27918
class getFlipkartItem_result:
27919
  """
27920
  Attributes:
27921
   - success
27922
  """
27923
 
27924
  thrift_spec = (
27925
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
27926
  )
27927
 
27928
  def __init__(self, success=None,):
27929
    self.success = success
27930
 
27931
  def read(self, iprot):
27932
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27933
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27934
      return
27935
    iprot.readStructBegin()
27936
    while True:
27937
      (fname, ftype, fid) = iprot.readFieldBegin()
27938
      if ftype == TType.STOP:
27939
        break
27940
      if fid == 0:
27941
        if ftype == TType.STRUCT:
27942
          self.success = FlipkartItem()
27943
          self.success.read(iprot)
27944
        else:
27945
          iprot.skip(ftype)
27946
      else:
27947
        iprot.skip(ftype)
27948
      iprot.readFieldEnd()
27949
    iprot.readStructEnd()
27950
 
27951
  def write(self, oprot):
27952
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
27953
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
27954
      return
27955
    oprot.writeStructBegin('getFlipkartItem_result')
27956
    if self.success is not None:
27957
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
27958
      self.success.write(oprot)
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 getFlipkartItemDetails_args:
27979
  """
27980
  Attributes:
27981
   - item_id
27982
  """
27983
 
27984
  thrift_spec = (
27985
    None, # 0
27986
    (1, TType.I64, 'item_id', None, None, ), # 1
27987
  )
27988
 
27989
  def __init__(self, item_id=None,):
27990
    self.item_id = item_id
27991
 
27992
  def read(self, iprot):
27993
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
27994
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
27995
      return
27996
    iprot.readStructBegin()
27997
    while True:
27998
      (fname, ftype, fid) = iprot.readFieldBegin()
27999
      if ftype == TType.STOP:
28000
        break
28001
      if fid == 1:
28002
        if ftype == TType.I64:
28003
          self.item_id = iprot.readI64();
28004
        else:
28005
          iprot.skip(ftype)
28006
      else:
28007
        iprot.skip(ftype)
28008
      iprot.readFieldEnd()
28009
    iprot.readStructEnd()
28010
 
28011
  def write(self, oprot):
28012
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28013
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28014
      return
28015
    oprot.writeStructBegin('getFlipkartItemDetails_args')
28016
    if self.item_id is not None:
28017
      oprot.writeFieldBegin('item_id', TType.I64, 1)
28018
      oprot.writeI64(self.item_id)
28019
      oprot.writeFieldEnd()
28020
    oprot.writeFieldStop()
28021
    oprot.writeStructEnd()
28022
 
28023
  def validate(self):
28024
    return
28025
 
28026
 
28027
  def __repr__(self):
28028
    L = ['%s=%r' % (key, value)
28029
      for key, value in self.__dict__.iteritems()]
28030
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28031
 
28032
  def __eq__(self, other):
28033
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28034
 
28035
  def __ne__(self, other):
28036
    return not (self == other)
28037
 
28038
class getFlipkartItemDetails_result:
28039
  """
28040
  Attributes:
28041
   - success
28042
  """
28043
 
28044
  thrift_spec = (
28045
    (0, TType.STRUCT, 'success', (FlipkartItemDetails, FlipkartItemDetails.thrift_spec), None, ), # 0
28046
  )
28047
 
28048
  def __init__(self, success=None,):
28049
    self.success = success
28050
 
28051
  def read(self, iprot):
28052
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28053
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28054
      return
28055
    iprot.readStructBegin()
28056
    while True:
28057
      (fname, ftype, fid) = iprot.readFieldBegin()
28058
      if ftype == TType.STOP:
28059
        break
28060
      if fid == 0:
28061
        if ftype == TType.STRUCT:
28062
          self.success = FlipkartItemDetails()
28063
          self.success.read(iprot)
28064
        else:
28065
          iprot.skip(ftype)
28066
      else:
28067
        iprot.skip(ftype)
28068
      iprot.readFieldEnd()
28069
    iprot.readStructEnd()
28070
 
28071
  def write(self, oprot):
28072
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28073
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28074
      return
28075
    oprot.writeStructBegin('getFlipkartItemDetails_result')
28076
    if self.success is not None:
28077
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28078
      self.success.write(oprot)
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 getFlipkartItems_args:
28099
  """
28100
  Attributes:
28101
   - offset
28102
   - limit
28103
  """
28104
 
28105
  thrift_spec = (
28106
    None, # 0
28107
    (1, TType.I64, 'offset', None, None, ), # 1
28108
    (2, TType.I64, 'limit', None, None, ), # 2
28109
  )
28110
 
28111
  def __init__(self, offset=None, limit=None,):
28112
    self.offset = offset
28113
    self.limit = limit
28114
 
28115
  def read(self, iprot):
28116
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28117
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28118
      return
28119
    iprot.readStructBegin()
28120
    while True:
28121
      (fname, ftype, fid) = iprot.readFieldBegin()
28122
      if ftype == TType.STOP:
28123
        break
28124
      if fid == 1:
28125
        if ftype == TType.I64:
28126
          self.offset = iprot.readI64();
28127
        else:
28128
          iprot.skip(ftype)
28129
      elif fid == 2:
28130
        if ftype == TType.I64:
28131
          self.limit = iprot.readI64();
28132
        else:
28133
          iprot.skip(ftype)
28134
      else:
28135
        iprot.skip(ftype)
28136
      iprot.readFieldEnd()
28137
    iprot.readStructEnd()
28138
 
28139
  def write(self, oprot):
28140
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28141
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28142
      return
28143
    oprot.writeStructBegin('getFlipkartItems_args')
28144
    if self.offset is not None:
28145
      oprot.writeFieldBegin('offset', TType.I64, 1)
28146
      oprot.writeI64(self.offset)
28147
      oprot.writeFieldEnd()
28148
    if self.limit is not None:
28149
      oprot.writeFieldBegin('limit', TType.I64, 2)
28150
      oprot.writeI64(self.limit)
28151
      oprot.writeFieldEnd()
28152
    oprot.writeFieldStop()
28153
    oprot.writeStructEnd()
28154
 
28155
  def validate(self):
28156
    return
28157
 
28158
 
28159
  def __repr__(self):
28160
    L = ['%s=%r' % (key, value)
28161
      for key, value in self.__dict__.iteritems()]
28162
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28163
 
28164
  def __eq__(self, other):
28165
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28166
 
28167
  def __ne__(self, other):
28168
    return not (self == other)
28169
 
28170
class getFlipkartItems_result:
28171
  """
28172
  Attributes:
28173
   - success
28174
  """
28175
 
28176
  thrift_spec = (
28177
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
28178
  )
28179
 
28180
  def __init__(self, success=None,):
28181
    self.success = success
28182
 
28183
  def read(self, iprot):
28184
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28185
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28186
      return
28187
    iprot.readStructBegin()
28188
    while True:
28189
      (fname, ftype, fid) = iprot.readFieldBegin()
28190
      if ftype == TType.STOP:
28191
        break
28192
      if fid == 0:
28193
        if ftype == TType.LIST:
28194
          self.success = []
12567 amit.gupta 28195
          (_etype597, _size594) = iprot.readListBegin()
28196
          for _i598 in xrange(_size594):
28197
            _elem599 = FlipkartItemDetails()
28198
            _elem599.read(iprot)
28199
            self.success.append(_elem599)
10097 kshitij.so 28200
          iprot.readListEnd()
28201
        else:
28202
          iprot.skip(ftype)
28203
      else:
28204
        iprot.skip(ftype)
28205
      iprot.readFieldEnd()
28206
    iprot.readStructEnd()
28207
 
28208
  def write(self, oprot):
28209
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28210
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28211
      return
28212
    oprot.writeStructBegin('getFlipkartItems_result')
28213
    if self.success is not None:
28214
      oprot.writeFieldBegin('success', TType.LIST, 0)
28215
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 28216
      for iter600 in self.success:
28217
        iter600.write(oprot)
10097 kshitij.so 28218
      oprot.writeListEnd()
28219
      oprot.writeFieldEnd()
28220
    oprot.writeFieldStop()
28221
    oprot.writeStructEnd()
28222
 
28223
  def validate(self):
28224
    return
28225
 
28226
 
28227
  def __repr__(self):
28228
    L = ['%s=%r' % (key, value)
28229
      for key, value in self.__dict__.iteritems()]
28230
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28231
 
28232
  def __eq__(self, other):
28233
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28234
 
28235
  def __ne__(self, other):
28236
    return not (self == other)
28237
 
28238
class searchFlipkartItems_args:
28239
  """
28240
  Attributes:
28241
   - searchTerm
28242
   - offset
28243
   - limit
28244
  """
28245
 
28246
  thrift_spec = (
28247
    None, # 0
28248
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
28249
    (2, TType.I64, 'offset', None, None, ), # 2
28250
    (3, TType.I64, 'limit', None, None, ), # 3
28251
  )
28252
 
28253
  def __init__(self, searchTerm=None, offset=None, limit=None,):
28254
    self.searchTerm = searchTerm
28255
    self.offset = offset
28256
    self.limit = limit
28257
 
28258
  def read(self, iprot):
28259
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28260
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28261
      return
28262
    iprot.readStructBegin()
28263
    while True:
28264
      (fname, ftype, fid) = iprot.readFieldBegin()
28265
      if ftype == TType.STOP:
28266
        break
28267
      if fid == 1:
28268
        if ftype == TType.LIST:
28269
          self.searchTerm = []
12567 amit.gupta 28270
          (_etype604, _size601) = iprot.readListBegin()
28271
          for _i605 in xrange(_size601):
28272
            _elem606 = iprot.readString();
28273
            self.searchTerm.append(_elem606)
10097 kshitij.so 28274
          iprot.readListEnd()
28275
        else:
28276
          iprot.skip(ftype)
28277
      elif fid == 2:
28278
        if ftype == TType.I64:
28279
          self.offset = iprot.readI64();
28280
        else:
28281
          iprot.skip(ftype)
28282
      elif fid == 3:
28283
        if ftype == TType.I64:
28284
          self.limit = iprot.readI64();
28285
        else:
28286
          iprot.skip(ftype)
28287
      else:
28288
        iprot.skip(ftype)
28289
      iprot.readFieldEnd()
28290
    iprot.readStructEnd()
28291
 
28292
  def write(self, oprot):
28293
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28294
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28295
      return
28296
    oprot.writeStructBegin('searchFlipkartItems_args')
28297
    if self.searchTerm is not None:
28298
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
28299
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
12567 amit.gupta 28300
      for iter607 in self.searchTerm:
28301
        oprot.writeString(iter607)
10097 kshitij.so 28302
      oprot.writeListEnd()
28303
      oprot.writeFieldEnd()
28304
    if self.offset is not None:
28305
      oprot.writeFieldBegin('offset', TType.I64, 2)
28306
      oprot.writeI64(self.offset)
28307
      oprot.writeFieldEnd()
28308
    if self.limit is not None:
28309
      oprot.writeFieldBegin('limit', TType.I64, 3)
28310
      oprot.writeI64(self.limit)
28311
      oprot.writeFieldEnd()
28312
    oprot.writeFieldStop()
28313
    oprot.writeStructEnd()
28314
 
28315
  def validate(self):
28316
    return
28317
 
28318
 
28319
  def __repr__(self):
28320
    L = ['%s=%r' % (key, value)
28321
      for key, value in self.__dict__.iteritems()]
28322
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28323
 
28324
  def __eq__(self, other):
28325
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28326
 
28327
  def __ne__(self, other):
28328
    return not (self == other)
28329
 
28330
class searchFlipkartItems_result:
28331
  """
28332
  Attributes:
28333
   - success
28334
  """
28335
 
28336
  thrift_spec = (
28337
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
28338
  )
28339
 
28340
  def __init__(self, success=None,):
28341
    self.success = success
28342
 
28343
  def read(self, iprot):
28344
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28345
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28346
      return
28347
    iprot.readStructBegin()
28348
    while True:
28349
      (fname, ftype, fid) = iprot.readFieldBegin()
28350
      if ftype == TType.STOP:
28351
        break
28352
      if fid == 0:
28353
        if ftype == TType.LIST:
28354
          self.success = []
12567 amit.gupta 28355
          (_etype611, _size608) = iprot.readListBegin()
28356
          for _i612 in xrange(_size608):
28357
            _elem613 = FlipkartItemDetails()
28358
            _elem613.read(iprot)
28359
            self.success.append(_elem613)
10097 kshitij.so 28360
          iprot.readListEnd()
28361
        else:
28362
          iprot.skip(ftype)
28363
      else:
28364
        iprot.skip(ftype)
28365
      iprot.readFieldEnd()
28366
    iprot.readStructEnd()
28367
 
28368
  def write(self, oprot):
28369
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28370
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28371
      return
28372
    oprot.writeStructBegin('searchFlipkartItems_result')
28373
    if self.success is not None:
28374
      oprot.writeFieldBegin('success', TType.LIST, 0)
28375
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 28376
      for iter614 in self.success:
28377
        iter614.write(oprot)
10097 kshitij.so 28378
      oprot.writeListEnd()
28379
      oprot.writeFieldEnd()
28380
    oprot.writeFieldStop()
28381
    oprot.writeStructEnd()
28382
 
28383
  def validate(self):
28384
    return
28385
 
28386
 
28387
  def __repr__(self):
28388
    L = ['%s=%r' % (key, value)
28389
      for key, value in self.__dict__.iteritems()]
28390
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28391
 
28392
  def __eq__(self, other):
28393
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28394
 
28395
  def __ne__(self, other):
28396
    return not (self == other)
28397
 
28398
class getCountForFlipkartItems_args:
28399
 
28400
  thrift_spec = (
28401
  )
28402
 
28403
  def read(self, iprot):
28404
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28405
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28406
      return
28407
    iprot.readStructBegin()
28408
    while True:
28409
      (fname, ftype, fid) = iprot.readFieldBegin()
28410
      if ftype == TType.STOP:
28411
        break
28412
      else:
28413
        iprot.skip(ftype)
28414
      iprot.readFieldEnd()
28415
    iprot.readStructEnd()
28416
 
28417
  def write(self, oprot):
28418
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28419
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28420
      return
28421
    oprot.writeStructBegin('getCountForFlipkartItems_args')
28422
    oprot.writeFieldStop()
28423
    oprot.writeStructEnd()
28424
 
28425
  def validate(self):
28426
    return
28427
 
28428
 
28429
  def __repr__(self):
28430
    L = ['%s=%r' % (key, value)
28431
      for key, value in self.__dict__.iteritems()]
28432
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28433
 
28434
  def __eq__(self, other):
28435
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28436
 
28437
  def __ne__(self, other):
28438
    return not (self == other)
28439
 
28440
class getCountForFlipkartItems_result:
28441
  """
28442
  Attributes:
28443
   - success
28444
  """
28445
 
28446
  thrift_spec = (
28447
    (0, TType.I64, 'success', None, None, ), # 0
28448
  )
28449
 
28450
  def __init__(self, success=None,):
28451
    self.success = success
28452
 
28453
  def read(self, iprot):
28454
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28455
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28456
      return
28457
    iprot.readStructBegin()
28458
    while True:
28459
      (fname, ftype, fid) = iprot.readFieldBegin()
28460
      if ftype == TType.STOP:
28461
        break
28462
      if fid == 0:
28463
        if ftype == TType.I64:
28464
          self.success = iprot.readI64();
28465
        else:
28466
          iprot.skip(ftype)
28467
      else:
28468
        iprot.skip(ftype)
28469
      iprot.readFieldEnd()
28470
    iprot.readStructEnd()
28471
 
28472
  def write(self, oprot):
28473
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28474
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28475
      return
28476
    oprot.writeStructBegin('getCountForFlipkartItems_result')
28477
    if self.success is not None:
28478
      oprot.writeFieldBegin('success', TType.I64, 0)
28479
      oprot.writeI64(self.success)
28480
      oprot.writeFieldEnd()
28481
    oprot.writeFieldStop()
28482
    oprot.writeStructEnd()
28483
 
28484
  def validate(self):
28485
    return
28486
 
28487
 
28488
  def __repr__(self):
28489
    L = ['%s=%r' % (key, value)
28490
      for key, value in self.__dict__.iteritems()]
28491
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28492
 
28493
  def __eq__(self, other):
28494
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28495
 
28496
  def __ne__(self, other):
28497
    return not (self == other)
28498
 
28499
class getFlipkartSearchResultCount_args:
28500
  """
28501
  Attributes:
28502
   - searchTerm
28503
  """
28504
 
28505
  thrift_spec = (
28506
    None, # 0
28507
    (1, TType.LIST, 'searchTerm', (TType.STRING,None), None, ), # 1
28508
  )
28509
 
28510
  def __init__(self, searchTerm=None,):
28511
    self.searchTerm = searchTerm
28512
 
28513
  def read(self, iprot):
28514
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28515
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28516
      return
28517
    iprot.readStructBegin()
28518
    while True:
28519
      (fname, ftype, fid) = iprot.readFieldBegin()
28520
      if ftype == TType.STOP:
28521
        break
28522
      if fid == 1:
28523
        if ftype == TType.LIST:
28524
          self.searchTerm = []
12567 amit.gupta 28525
          (_etype618, _size615) = iprot.readListBegin()
28526
          for _i619 in xrange(_size615):
28527
            _elem620 = iprot.readString();
28528
            self.searchTerm.append(_elem620)
10097 kshitij.so 28529
          iprot.readListEnd()
28530
        else:
28531
          iprot.skip(ftype)
28532
      else:
28533
        iprot.skip(ftype)
28534
      iprot.readFieldEnd()
28535
    iprot.readStructEnd()
28536
 
28537
  def write(self, oprot):
28538
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28539
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28540
      return
28541
    oprot.writeStructBegin('getFlipkartSearchResultCount_args')
28542
    if self.searchTerm is not None:
28543
      oprot.writeFieldBegin('searchTerm', TType.LIST, 1)
28544
      oprot.writeListBegin(TType.STRING, len(self.searchTerm))
12567 amit.gupta 28545
      for iter621 in self.searchTerm:
28546
        oprot.writeString(iter621)
10097 kshitij.so 28547
      oprot.writeListEnd()
28548
      oprot.writeFieldEnd()
28549
    oprot.writeFieldStop()
28550
    oprot.writeStructEnd()
28551
 
28552
  def validate(self):
28553
    return
28554
 
28555
 
28556
  def __repr__(self):
28557
    L = ['%s=%r' % (key, value)
28558
      for key, value in self.__dict__.iteritems()]
28559
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28560
 
28561
  def __eq__(self, other):
28562
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28563
 
28564
  def __ne__(self, other):
28565
    return not (self == other)
28566
 
28567
class getFlipkartSearchResultCount_result:
28568
  """
28569
  Attributes:
28570
   - success
28571
  """
28572
 
28573
  thrift_spec = (
28574
    (0, TType.I64, 'success', None, None, ), # 0
28575
  )
28576
 
28577
  def __init__(self, success=None,):
28578
    self.success = success
28579
 
28580
  def read(self, iprot):
28581
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28582
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28583
      return
28584
    iprot.readStructBegin()
28585
    while True:
28586
      (fname, ftype, fid) = iprot.readFieldBegin()
28587
      if ftype == TType.STOP:
28588
        break
28589
      if fid == 0:
28590
        if ftype == TType.I64:
28591
          self.success = iprot.readI64();
28592
        else:
28593
          iprot.skip(ftype)
28594
      else:
28595
        iprot.skip(ftype)
28596
      iprot.readFieldEnd()
28597
    iprot.readStructEnd()
28598
 
28599
  def write(self, oprot):
28600
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28601
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28602
      return
28603
    oprot.writeStructBegin('getFlipkartSearchResultCount_result')
28604
    if self.success is not None:
28605
      oprot.writeFieldBegin('success', TType.I64, 0)
28606
      oprot.writeI64(self.success)
28607
      oprot.writeFieldEnd()
28608
    oprot.writeFieldStop()
28609
    oprot.writeStructEnd()
28610
 
28611
  def validate(self):
28612
    return
28613
 
28614
 
28615
  def __repr__(self):
28616
    L = ['%s=%r' % (key, value)
28617
      for key, value in self.__dict__.iteritems()]
28618
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28619
 
28620
  def __eq__(self, other):
28621
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28622
 
28623
  def __ne__(self, other):
28624
    return not (self == other)
28625
 
28626
class getAllFkItems_args:
28627
 
28628
  thrift_spec = (
28629
  )
28630
 
28631
  def read(self, iprot):
28632
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28633
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28634
      return
28635
    iprot.readStructBegin()
28636
    while True:
28637
      (fname, ftype, fid) = iprot.readFieldBegin()
28638
      if ftype == TType.STOP:
28639
        break
28640
      else:
28641
        iprot.skip(ftype)
28642
      iprot.readFieldEnd()
28643
    iprot.readStructEnd()
28644
 
28645
  def write(self, oprot):
28646
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28647
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28648
      return
28649
    oprot.writeStructBegin('getAllFkItems_args')
28650
    oprot.writeFieldStop()
28651
    oprot.writeStructEnd()
28652
 
28653
  def validate(self):
28654
    return
28655
 
28656
 
28657
  def __repr__(self):
28658
    L = ['%s=%r' % (key, value)
28659
      for key, value in self.__dict__.iteritems()]
28660
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28661
 
28662
  def __eq__(self, other):
28663
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28664
 
28665
  def __ne__(self, other):
28666
    return not (self == other)
28667
 
28668
class getAllFkItems_result:
28669
  """
28670
  Attributes:
28671
   - success
28672
  """
28673
 
28674
  thrift_spec = (
28675
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItemDetails, FlipkartItemDetails.thrift_spec)), None, ), # 0
28676
  )
28677
 
28678
  def __init__(self, success=None,):
28679
    self.success = success
28680
 
28681
  def read(self, iprot):
28682
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28683
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28684
      return
28685
    iprot.readStructBegin()
28686
    while True:
28687
      (fname, ftype, fid) = iprot.readFieldBegin()
28688
      if ftype == TType.STOP:
28689
        break
28690
      if fid == 0:
28691
        if ftype == TType.LIST:
28692
          self.success = []
12567 amit.gupta 28693
          (_etype625, _size622) = iprot.readListBegin()
28694
          for _i626 in xrange(_size622):
28695
            _elem627 = FlipkartItemDetails()
28696
            _elem627.read(iprot)
28697
            self.success.append(_elem627)
10097 kshitij.so 28698
          iprot.readListEnd()
28699
        else:
28700
          iprot.skip(ftype)
28701
      else:
28702
        iprot.skip(ftype)
28703
      iprot.readFieldEnd()
28704
    iprot.readStructEnd()
28705
 
28706
  def write(self, oprot):
28707
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28708
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28709
      return
28710
    oprot.writeStructBegin('getAllFkItems_result')
28711
    if self.success is not None:
28712
      oprot.writeFieldBegin('success', TType.LIST, 0)
28713
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 28714
      for iter628 in self.success:
28715
        iter628.write(oprot)
10097 kshitij.so 28716
      oprot.writeListEnd()
28717
      oprot.writeFieldEnd()
28718
    oprot.writeFieldStop()
28719
    oprot.writeStructEnd()
28720
 
28721
  def validate(self):
28722
    return
28723
 
28724
 
28725
  def __repr__(self):
28726
    L = ['%s=%r' % (key, value)
28727
      for key, value in self.__dict__.iteritems()]
28728
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28729
 
28730
  def __eq__(self, other):
28731
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28732
 
28733
  def __ne__(self, other):
28734
    return not (self == other)
10140 vikram.rag 28735
 
28736
class getFlipkartItemBySkyAtFlipkart_args:
28737
  """
28738
  Attributes:
28739
   - sku
28740
  """
28741
 
11531 vikram.rag 28742
  thrift_spec = None
10140 vikram.rag 28743
  def __init__(self, sku=None,):
28744
    self.sku = sku
28745
 
28746
  def read(self, iprot):
28747
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28748
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28749
      return
28750
    iprot.readStructBegin()
28751
    while True:
28752
      (fname, ftype, fid) = iprot.readFieldBegin()
28753
      if ftype == TType.STOP:
28754
        break
11531 vikram.rag 28755
      if fid == -1:
10140 vikram.rag 28756
        if ftype == TType.STRING:
28757
          self.sku = iprot.readString();
28758
        else:
28759
          iprot.skip(ftype)
28760
      else:
28761
        iprot.skip(ftype)
28762
      iprot.readFieldEnd()
28763
    iprot.readStructEnd()
28764
 
28765
  def write(self, oprot):
28766
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28767
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28768
      return
28769
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_args')
28770
    if self.sku is not None:
11531 vikram.rag 28771
      oprot.writeFieldBegin('sku', TType.STRING, -1)
10140 vikram.rag 28772
      oprot.writeString(self.sku)
28773
      oprot.writeFieldEnd()
28774
    oprot.writeFieldStop()
28775
    oprot.writeStructEnd()
28776
 
28777
  def validate(self):
28778
    return
28779
 
28780
 
28781
  def __repr__(self):
28782
    L = ['%s=%r' % (key, value)
28783
      for key, value in self.__dict__.iteritems()]
28784
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28785
 
28786
  def __eq__(self, other):
28787
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28788
 
28789
  def __ne__(self, other):
28790
    return not (self == other)
28791
 
28792
class getFlipkartItemBySkyAtFlipkart_result:
28793
  """
28794
  Attributes:
28795
   - success
28796
  """
28797
 
28798
  thrift_spec = (
28799
    (0, TType.STRUCT, 'success', (FlipkartItem, FlipkartItem.thrift_spec), None, ), # 0
28800
  )
28801
 
28802
  def __init__(self, success=None,):
28803
    self.success = success
28804
 
28805
  def read(self, iprot):
28806
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28807
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28808
      return
28809
    iprot.readStructBegin()
28810
    while True:
28811
      (fname, ftype, fid) = iprot.readFieldBegin()
28812
      if ftype == TType.STOP:
28813
        break
28814
      if fid == 0:
28815
        if ftype == TType.STRUCT:
28816
          self.success = FlipkartItem()
28817
          self.success.read(iprot)
28818
        else:
28819
          iprot.skip(ftype)
28820
      else:
28821
        iprot.skip(ftype)
28822
      iprot.readFieldEnd()
28823
    iprot.readStructEnd()
28824
 
28825
  def write(self, oprot):
28826
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28827
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28828
      return
28829
    oprot.writeStructBegin('getFlipkartItemBySkyAtFlipkart_result')
28830
    if self.success is not None:
28831
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
28832
      self.success.write(oprot)
28833
      oprot.writeFieldEnd()
28834
    oprot.writeFieldStop()
28835
    oprot.writeStructEnd()
28836
 
28837
  def validate(self):
28838
    return
28839
 
28840
 
28841
  def __repr__(self):
28842
    L = ['%s=%r' % (key, value)
28843
      for key, value in self.__dict__.iteritems()]
28844
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28845
 
28846
  def __eq__(self, other):
28847
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28848
 
28849
  def __ne__(self, other):
28850
    return not (self == other)
10909 vikram.rag 28851
 
11015 kshitij.so 28852
class getMarketplaceHistory_args:
28853
  """
28854
  Attributes:
28855
   - source
28856
   - offset
28857
   - itemId
28858
  """
10909 vikram.rag 28859
 
28860
  thrift_spec = (
11015 kshitij.so 28861
    None, # 0
28862
    (1, TType.I64, 'source', None, None, ), # 1
28863
    (2, TType.I64, 'offset', None, None, ), # 2
28864
    (3, TType.I64, 'itemId', None, None, ), # 3
10909 vikram.rag 28865
  )
28866
 
11015 kshitij.so 28867
  def __init__(self, source=None, offset=None, itemId=None,):
28868
    self.source = source
28869
    self.offset = offset
28870
    self.itemId = itemId
28871
 
10909 vikram.rag 28872
  def read(self, iprot):
28873
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28874
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28875
      return
28876
    iprot.readStructBegin()
28877
    while True:
28878
      (fname, ftype, fid) = iprot.readFieldBegin()
28879
      if ftype == TType.STOP:
28880
        break
11015 kshitij.so 28881
      if fid == 1:
28882
        if ftype == TType.I64:
28883
          self.source = iprot.readI64();
28884
        else:
28885
          iprot.skip(ftype)
28886
      elif fid == 2:
28887
        if ftype == TType.I64:
28888
          self.offset = iprot.readI64();
28889
        else:
28890
          iprot.skip(ftype)
28891
      elif fid == 3:
28892
        if ftype == TType.I64:
28893
          self.itemId = iprot.readI64();
28894
        else:
28895
          iprot.skip(ftype)
10909 vikram.rag 28896
      else:
28897
        iprot.skip(ftype)
28898
      iprot.readFieldEnd()
28899
    iprot.readStructEnd()
28900
 
28901
  def write(self, oprot):
28902
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28903
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28904
      return
11015 kshitij.so 28905
    oprot.writeStructBegin('getMarketplaceHistory_args')
28906
    if self.source is not None:
28907
      oprot.writeFieldBegin('source', TType.I64, 1)
28908
      oprot.writeI64(self.source)
28909
      oprot.writeFieldEnd()
28910
    if self.offset is not None:
28911
      oprot.writeFieldBegin('offset', TType.I64, 2)
28912
      oprot.writeI64(self.offset)
28913
      oprot.writeFieldEnd()
28914
    if self.itemId is not None:
28915
      oprot.writeFieldBegin('itemId', TType.I64, 3)
28916
      oprot.writeI64(self.itemId)
28917
      oprot.writeFieldEnd()
10909 vikram.rag 28918
    oprot.writeFieldStop()
28919
    oprot.writeStructEnd()
28920
 
28921
  def validate(self):
28922
    return
28923
 
28924
 
28925
  def __repr__(self):
28926
    L = ['%s=%r' % (key, value)
28927
      for key, value in self.__dict__.iteritems()]
28928
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28929
 
28930
  def __eq__(self, other):
28931
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
28932
 
28933
  def __ne__(self, other):
28934
    return not (self == other)
28935
 
11015 kshitij.so 28936
class getMarketplaceHistory_result:
10909 vikram.rag 28937
  """
28938
  Attributes:
28939
   - success
28940
  """
28941
 
28942
  thrift_spec = (
11015 kshitij.so 28943
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
10909 vikram.rag 28944
  )
28945
 
28946
  def __init__(self, success=None,):
28947
    self.success = success
28948
 
28949
  def read(self, iprot):
28950
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
28951
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
28952
      return
28953
    iprot.readStructBegin()
28954
    while True:
28955
      (fname, ftype, fid) = iprot.readFieldBegin()
28956
      if ftype == TType.STOP:
28957
        break
28958
      if fid == 0:
28959
        if ftype == TType.LIST:
28960
          self.success = []
12567 amit.gupta 28961
          (_etype632, _size629) = iprot.readListBegin()
28962
          for _i633 in xrange(_size629):
28963
            _elem634 = MarketplaceHistory()
28964
            _elem634.read(iprot)
28965
            self.success.append(_elem634)
10909 vikram.rag 28966
          iprot.readListEnd()
28967
        else:
28968
          iprot.skip(ftype)
28969
      else:
28970
        iprot.skip(ftype)
28971
      iprot.readFieldEnd()
28972
    iprot.readStructEnd()
28973
 
28974
  def write(self, oprot):
28975
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
28976
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
28977
      return
11015 kshitij.so 28978
    oprot.writeStructBegin('getMarketplaceHistory_result')
10909 vikram.rag 28979
    if self.success is not None:
28980
      oprot.writeFieldBegin('success', TType.LIST, 0)
28981
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 28982
      for iter635 in self.success:
28983
        iter635.write(oprot)
10909 vikram.rag 28984
      oprot.writeListEnd()
28985
      oprot.writeFieldEnd()
28986
    oprot.writeFieldStop()
28987
    oprot.writeStructEnd()
28988
 
28989
  def validate(self):
28990
    return
28991
 
28992
 
28993
  def __repr__(self):
28994
    L = ['%s=%r' % (key, value)
28995
      for key, value in self.__dict__.iteritems()]
28996
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
28997
 
28998
  def __eq__(self, other):
28999
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29000
 
29001
  def __ne__(self, other):
29002
    return not (self == other)
10924 vikram.rag 29003
 
11015 kshitij.so 29004
class getAllFbbListedItems_args:
10924 vikram.rag 29005
 
29006
  thrift_spec = (
29007
  )
29008
 
29009
  def read(self, iprot):
29010
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29011
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29012
      return
29013
    iprot.readStructBegin()
29014
    while True:
29015
      (fname, ftype, fid) = iprot.readFieldBegin()
29016
      if ftype == TType.STOP:
29017
        break
29018
      else:
29019
        iprot.skip(ftype)
29020
      iprot.readFieldEnd()
29021
    iprot.readStructEnd()
29022
 
29023
  def write(self, oprot):
29024
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29025
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29026
      return
11015 kshitij.so 29027
    oprot.writeStructBegin('getAllFbbListedItems_args')
10924 vikram.rag 29028
    oprot.writeFieldStop()
29029
    oprot.writeStructEnd()
29030
 
29031
  def validate(self):
29032
    return
29033
 
29034
 
29035
  def __repr__(self):
29036
    L = ['%s=%r' % (key, value)
29037
      for key, value in self.__dict__.iteritems()]
29038
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29039
 
29040
  def __eq__(self, other):
29041
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29042
 
29043
  def __ne__(self, other):
29044
    return not (self == other)
29045
 
11015 kshitij.so 29046
class getAllFbbListedItems_result:
10924 vikram.rag 29047
  """
29048
  Attributes:
29049
   - success
29050
  """
29051
 
29052
  thrift_spec = (
29053
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
29054
  )
29055
 
29056
  def __init__(self, success=None,):
29057
    self.success = success
29058
 
29059
  def read(self, iprot):
29060
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29061
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29062
      return
29063
    iprot.readStructBegin()
29064
    while True:
29065
      (fname, ftype, fid) = iprot.readFieldBegin()
29066
      if ftype == TType.STOP:
29067
        break
29068
      if fid == 0:
29069
        if ftype == TType.LIST:
29070
          self.success = []
12567 amit.gupta 29071
          (_etype639, _size636) = iprot.readListBegin()
29072
          for _i640 in xrange(_size636):
29073
            _elem641 = Amazonlisted()
29074
            _elem641.read(iprot)
29075
            self.success.append(_elem641)
10924 vikram.rag 29076
          iprot.readListEnd()
29077
        else:
29078
          iprot.skip(ftype)
29079
      else:
29080
        iprot.skip(ftype)
29081
      iprot.readFieldEnd()
29082
    iprot.readStructEnd()
29083
 
29084
  def write(self, oprot):
29085
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29086
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29087
      return
11015 kshitij.so 29088
    oprot.writeStructBegin('getAllFbbListedItems_result')
10924 vikram.rag 29089
    if self.success is not None:
29090
      oprot.writeFieldBegin('success', TType.LIST, 0)
29091
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 29092
      for iter642 in self.success:
29093
        iter642.write(oprot)
10924 vikram.rag 29094
      oprot.writeListEnd()
29095
      oprot.writeFieldEnd()
29096
    oprot.writeFieldStop()
29097
    oprot.writeStructEnd()
29098
 
29099
  def validate(self):
29100
    return
29101
 
29102
 
29103
  def __repr__(self):
29104
    L = ['%s=%r' % (key, value)
29105
      for key, value in self.__dict__.iteritems()]
29106
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29107
 
29108
  def __eq__(self, other):
29109
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29110
 
29111
  def __ne__(self, other):
29112
    return not (self == other)
11015 kshitij.so 29113
 
29114
class getAllFbbPricingItems_args:
29115
 
29116
  thrift_spec = (
29117
  )
29118
 
29119
  def read(self, iprot):
29120
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29121
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29122
      return
29123
    iprot.readStructBegin()
29124
    while True:
29125
      (fname, ftype, fid) = iprot.readFieldBegin()
29126
      if ftype == TType.STOP:
29127
        break
29128
      else:
29129
        iprot.skip(ftype)
29130
      iprot.readFieldEnd()
29131
    iprot.readStructEnd()
29132
 
29133
  def write(self, oprot):
29134
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29135
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29136
      return
29137
    oprot.writeStructBegin('getAllFbbPricingItems_args')
29138
    oprot.writeFieldStop()
29139
    oprot.writeStructEnd()
29140
 
29141
  def validate(self):
29142
    return
29143
 
29144
 
29145
  def __repr__(self):
29146
    L = ['%s=%r' % (key, value)
29147
      for key, value in self.__dict__.iteritems()]
29148
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29149
 
29150
  def __eq__(self, other):
29151
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29152
 
29153
  def __ne__(self, other):
29154
    return not (self == other)
29155
 
29156
class getAllFbbPricingItems_result:
29157
  """
29158
  Attributes:
29159
   - success
29160
  """
29161
 
29162
  thrift_spec = (
29163
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
29164
  )
29165
 
29166
  def __init__(self, success=None,):
29167
    self.success = success
29168
 
29169
  def read(self, iprot):
29170
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29171
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29172
      return
29173
    iprot.readStructBegin()
29174
    while True:
29175
      (fname, ftype, fid) = iprot.readFieldBegin()
29176
      if ftype == TType.STOP:
29177
        break
29178
      if fid == 0:
29179
        if ftype == TType.LIST:
29180
          self.success = []
12567 amit.gupta 29181
          (_etype646, _size643) = iprot.readListBegin()
29182
          for _i647 in xrange(_size643):
29183
            _elem648 = Amazonlisted()
29184
            _elem648.read(iprot)
29185
            self.success.append(_elem648)
11015 kshitij.so 29186
          iprot.readListEnd()
29187
        else:
29188
          iprot.skip(ftype)
29189
      else:
29190
        iprot.skip(ftype)
29191
      iprot.readFieldEnd()
29192
    iprot.readStructEnd()
29193
 
29194
  def write(self, oprot):
29195
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29196
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29197
      return
29198
    oprot.writeStructBegin('getAllFbbPricingItems_result')
29199
    if self.success is not None:
29200
      oprot.writeFieldBegin('success', TType.LIST, 0)
29201
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 29202
      for iter649 in self.success:
29203
        iter649.write(oprot)
11015 kshitij.so 29204
      oprot.writeListEnd()
29205
      oprot.writeFieldEnd()
29206
    oprot.writeFieldStop()
29207
    oprot.writeStructEnd()
29208
 
29209
  def validate(self):
29210
    return
29211
 
29212
 
29213
  def __repr__(self):
29214
    L = ['%s=%r' % (key, value)
29215
      for key, value in self.__dict__.iteritems()]
29216
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29217
 
29218
  def __eq__(self, other):
29219
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29220
 
29221
  def __ne__(self, other):
29222
    return not (self == other)
29223
 
29224
class getCountForMarketplaceHistory_args:
29225
  """
29226
  Attributes:
29227
   - source
29228
   - itemId
29229
  """
29230
 
29231
  thrift_spec = (
29232
    None, # 0
29233
    (1, TType.I64, 'source', None, None, ), # 1
29234
    (2, TType.I64, 'itemId', None, None, ), # 2
29235
  )
29236
 
29237
  def __init__(self, source=None, itemId=None,):
29238
    self.source = source
29239
    self.itemId = itemId
29240
 
29241
  def read(self, iprot):
29242
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29243
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29244
      return
29245
    iprot.readStructBegin()
29246
    while True:
29247
      (fname, ftype, fid) = iprot.readFieldBegin()
29248
      if ftype == TType.STOP:
29249
        break
29250
      if fid == 1:
29251
        if ftype == TType.I64:
29252
          self.source = iprot.readI64();
29253
        else:
29254
          iprot.skip(ftype)
29255
      elif fid == 2:
29256
        if ftype == TType.I64:
29257
          self.itemId = iprot.readI64();
29258
        else:
29259
          iprot.skip(ftype)
29260
      else:
29261
        iprot.skip(ftype)
29262
      iprot.readFieldEnd()
29263
    iprot.readStructEnd()
29264
 
29265
  def write(self, oprot):
29266
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29267
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29268
      return
29269
    oprot.writeStructBegin('getCountForMarketplaceHistory_args')
29270
    if self.source is not None:
29271
      oprot.writeFieldBegin('source', TType.I64, 1)
29272
      oprot.writeI64(self.source)
29273
      oprot.writeFieldEnd()
29274
    if self.itemId is not None:
29275
      oprot.writeFieldBegin('itemId', TType.I64, 2)
29276
      oprot.writeI64(self.itemId)
29277
      oprot.writeFieldEnd()
29278
    oprot.writeFieldStop()
29279
    oprot.writeStructEnd()
29280
 
29281
  def validate(self):
29282
    return
29283
 
29284
 
29285
  def __repr__(self):
29286
    L = ['%s=%r' % (key, value)
29287
      for key, value in self.__dict__.iteritems()]
29288
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29289
 
29290
  def __eq__(self, other):
29291
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29292
 
29293
  def __ne__(self, other):
29294
    return not (self == other)
29295
 
29296
class getCountForMarketplaceHistory_result:
29297
  """
29298
  Attributes:
29299
   - success
29300
  """
29301
 
29302
  thrift_spec = (
29303
    (0, TType.I64, 'success', None, None, ), # 0
29304
  )
29305
 
29306
  def __init__(self, success=None,):
29307
    self.success = success
29308
 
29309
  def read(self, iprot):
29310
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29311
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29312
      return
29313
    iprot.readStructBegin()
29314
    while True:
29315
      (fname, ftype, fid) = iprot.readFieldBegin()
29316
      if ftype == TType.STOP:
29317
        break
29318
      if fid == 0:
29319
        if ftype == TType.I64:
29320
          self.success = iprot.readI64();
29321
        else:
29322
          iprot.skip(ftype)
29323
      else:
29324
        iprot.skip(ftype)
29325
      iprot.readFieldEnd()
29326
    iprot.readStructEnd()
29327
 
29328
  def write(self, oprot):
29329
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29330
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29331
      return
29332
    oprot.writeStructBegin('getCountForMarketplaceHistory_result')
29333
    if self.success is not None:
29334
      oprot.writeFieldBegin('success', TType.I64, 0)
29335
      oprot.writeI64(self.success)
29336
      oprot.writeFieldEnd()
29337
    oprot.writeFieldStop()
29338
    oprot.writeStructEnd()
29339
 
29340
  def validate(self):
29341
    return
29342
 
29343
 
29344
  def __repr__(self):
29345
    L = ['%s=%r' % (key, value)
29346
      for key, value in self.__dict__.iteritems()]
29347
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29348
 
29349
  def __eq__(self, other):
29350
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29351
 
29352
  def __ne__(self, other):
29353
    return not (self == other)
29354
 
29355
class getMarketplaceHistoryByDate_args:
29356
  """
29357
  Attributes:
29358
   - source
29359
   - startDate
29360
   - endDate
29361
   - offset
29362
   - limit
29363
   - itemId
29364
  """
29365
 
29366
  thrift_spec = (
29367
    None, # 0
29368
    (1, TType.I64, 'source', None, None, ), # 1
29369
    (2, TType.I64, 'startDate', None, None, ), # 2
29370
    (3, TType.I64, 'endDate', None, None, ), # 3
29371
    (4, TType.I64, 'offset', None, None, ), # 4
29372
    (5, TType.I64, 'limit', None, None, ), # 5
29373
    (6, TType.I64, 'itemId', None, None, ), # 6
29374
  )
29375
 
29376
  def __init__(self, source=None, startDate=None, endDate=None, offset=None, limit=None, itemId=None,):
29377
    self.source = source
29378
    self.startDate = startDate
29379
    self.endDate = endDate
29380
    self.offset = offset
29381
    self.limit = limit
29382
    self.itemId = itemId
29383
 
29384
  def read(self, iprot):
29385
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29386
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29387
      return
29388
    iprot.readStructBegin()
29389
    while True:
29390
      (fname, ftype, fid) = iprot.readFieldBegin()
29391
      if ftype == TType.STOP:
29392
        break
29393
      if fid == 1:
29394
        if ftype == TType.I64:
29395
          self.source = iprot.readI64();
29396
        else:
29397
          iprot.skip(ftype)
29398
      elif fid == 2:
29399
        if ftype == TType.I64:
29400
          self.startDate = iprot.readI64();
29401
        else:
29402
          iprot.skip(ftype)
29403
      elif fid == 3:
29404
        if ftype == TType.I64:
29405
          self.endDate = iprot.readI64();
29406
        else:
29407
          iprot.skip(ftype)
29408
      elif fid == 4:
29409
        if ftype == TType.I64:
29410
          self.offset = iprot.readI64();
29411
        else:
29412
          iprot.skip(ftype)
29413
      elif fid == 5:
29414
        if ftype == TType.I64:
29415
          self.limit = iprot.readI64();
29416
        else:
29417
          iprot.skip(ftype)
29418
      elif fid == 6:
29419
        if ftype == TType.I64:
29420
          self.itemId = iprot.readI64();
29421
        else:
29422
          iprot.skip(ftype)
29423
      else:
29424
        iprot.skip(ftype)
29425
      iprot.readFieldEnd()
29426
    iprot.readStructEnd()
29427
 
29428
  def write(self, oprot):
29429
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29430
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29431
      return
29432
    oprot.writeStructBegin('getMarketplaceHistoryByDate_args')
29433
    if self.source is not None:
29434
      oprot.writeFieldBegin('source', TType.I64, 1)
29435
      oprot.writeI64(self.source)
29436
      oprot.writeFieldEnd()
29437
    if self.startDate is not None:
29438
      oprot.writeFieldBegin('startDate', TType.I64, 2)
29439
      oprot.writeI64(self.startDate)
29440
      oprot.writeFieldEnd()
29441
    if self.endDate is not None:
29442
      oprot.writeFieldBegin('endDate', TType.I64, 3)
29443
      oprot.writeI64(self.endDate)
29444
      oprot.writeFieldEnd()
29445
    if self.offset is not None:
29446
      oprot.writeFieldBegin('offset', TType.I64, 4)
29447
      oprot.writeI64(self.offset)
29448
      oprot.writeFieldEnd()
29449
    if self.limit is not None:
29450
      oprot.writeFieldBegin('limit', TType.I64, 5)
29451
      oprot.writeI64(self.limit)
29452
      oprot.writeFieldEnd()
29453
    if self.itemId is not None:
29454
      oprot.writeFieldBegin('itemId', TType.I64, 6)
29455
      oprot.writeI64(self.itemId)
29456
      oprot.writeFieldEnd()
29457
    oprot.writeFieldStop()
29458
    oprot.writeStructEnd()
29459
 
29460
  def validate(self):
29461
    return
29462
 
29463
 
29464
  def __repr__(self):
29465
    L = ['%s=%r' % (key, value)
29466
      for key, value in self.__dict__.iteritems()]
29467
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29468
 
29469
  def __eq__(self, other):
29470
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29471
 
29472
  def __ne__(self, other):
29473
    return not (self == other)
29474
 
29475
class getMarketplaceHistoryByDate_result:
29476
  """
29477
  Attributes:
29478
   - success
29479
  """
29480
 
29481
  thrift_spec = (
29482
    (0, TType.LIST, 'success', (TType.STRUCT,(MarketplaceHistory, MarketplaceHistory.thrift_spec)), None, ), # 0
29483
  )
29484
 
29485
  def __init__(self, success=None,):
29486
    self.success = success
29487
 
29488
  def read(self, iprot):
29489
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29490
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29491
      return
29492
    iprot.readStructBegin()
29493
    while True:
29494
      (fname, ftype, fid) = iprot.readFieldBegin()
29495
      if ftype == TType.STOP:
29496
        break
29497
      if fid == 0:
29498
        if ftype == TType.LIST:
29499
          self.success = []
12567 amit.gupta 29500
          (_etype653, _size650) = iprot.readListBegin()
29501
          for _i654 in xrange(_size650):
29502
            _elem655 = MarketplaceHistory()
29503
            _elem655.read(iprot)
29504
            self.success.append(_elem655)
11015 kshitij.so 29505
          iprot.readListEnd()
29506
        else:
29507
          iprot.skip(ftype)
29508
      else:
29509
        iprot.skip(ftype)
29510
      iprot.readFieldEnd()
29511
    iprot.readStructEnd()
29512
 
29513
  def write(self, oprot):
29514
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29515
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29516
      return
29517
    oprot.writeStructBegin('getMarketplaceHistoryByDate_result')
29518
    if self.success is not None:
29519
      oprot.writeFieldBegin('success', TType.LIST, 0)
29520
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 29521
      for iter656 in self.success:
29522
        iter656.write(oprot)
11015 kshitij.so 29523
      oprot.writeListEnd()
29524
      oprot.writeFieldEnd()
29525
    oprot.writeFieldStop()
29526
    oprot.writeStructEnd()
29527
 
29528
  def validate(self):
29529
    return
29530
 
29531
 
29532
  def __repr__(self):
29533
    L = ['%s=%r' % (key, value)
29534
      for key, value in self.__dict__.iteritems()]
29535
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29536
 
29537
  def __eq__(self, other):
29538
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29539
 
29540
  def __ne__(self, other):
29541
    return not (self == other)
11531 vikram.rag 29542
 
29543
class getPrivateDealDetails_args:
29544
  """
29545
  Attributes:
29546
   - item_id
29547
  """
29548
 
29549
  thrift_spec = (
29550
    None, # 0
29551
    (1, TType.I64, 'item_id', None, None, ), # 1
29552
  )
29553
 
29554
  def __init__(self, item_id=None,):
29555
    self.item_id = item_id
29556
 
29557
  def read(self, iprot):
29558
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29559
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29560
      return
29561
    iprot.readStructBegin()
29562
    while True:
29563
      (fname, ftype, fid) = iprot.readFieldBegin()
29564
      if ftype == TType.STOP:
29565
        break
29566
      if fid == 1:
29567
        if ftype == TType.I64:
29568
          self.item_id = iprot.readI64();
29569
        else:
29570
          iprot.skip(ftype)
29571
      else:
29572
        iprot.skip(ftype)
29573
      iprot.readFieldEnd()
29574
    iprot.readStructEnd()
29575
 
29576
  def write(self, oprot):
29577
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29578
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29579
      return
29580
    oprot.writeStructBegin('getPrivateDealDetails_args')
29581
    if self.item_id is not None:
29582
      oprot.writeFieldBegin('item_id', TType.I64, 1)
29583
      oprot.writeI64(self.item_id)
29584
      oprot.writeFieldEnd()
29585
    oprot.writeFieldStop()
29586
    oprot.writeStructEnd()
29587
 
29588
  def validate(self):
29589
    return
29590
 
29591
 
29592
  def __repr__(self):
29593
    L = ['%s=%r' % (key, value)
29594
      for key, value in self.__dict__.iteritems()]
29595
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29596
 
29597
  def __eq__(self, other):
29598
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29599
 
29600
  def __ne__(self, other):
29601
    return not (self == other)
29602
 
29603
class getPrivateDealDetails_result:
29604
  """
29605
  Attributes:
29606
   - success
29607
  """
29608
 
29609
  thrift_spec = (
29610
    (0, TType.STRUCT, 'success', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 0
29611
  )
29612
 
29613
  def __init__(self, success=None,):
29614
    self.success = success
29615
 
29616
  def read(self, iprot):
29617
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29618
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29619
      return
29620
    iprot.readStructBegin()
29621
    while True:
29622
      (fname, ftype, fid) = iprot.readFieldBegin()
29623
      if ftype == TType.STOP:
29624
        break
29625
      if fid == 0:
29626
        if ftype == TType.STRUCT:
29627
          self.success = PrivateDeal()
29628
          self.success.read(iprot)
29629
        else:
29630
          iprot.skip(ftype)
29631
      else:
29632
        iprot.skip(ftype)
29633
      iprot.readFieldEnd()
29634
    iprot.readStructEnd()
29635
 
29636
  def write(self, oprot):
29637
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29638
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29639
      return
29640
    oprot.writeStructBegin('getPrivateDealDetails_result')
29641
    if self.success is not None:
29642
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
29643
      self.success.write(oprot)
29644
      oprot.writeFieldEnd()
29645
    oprot.writeFieldStop()
29646
    oprot.writeStructEnd()
29647
 
29648
  def validate(self):
29649
    return
29650
 
29651
 
29652
  def __repr__(self):
29653
    L = ['%s=%r' % (key, value)
29654
      for key, value in self.__dict__.iteritems()]
29655
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29656
 
29657
  def __eq__(self, other):
29658
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29659
 
29660
  def __ne__(self, other):
29661
    return not (self == other)
29662
 
29663
class getPrivateDealItems_args:
29664
  """
29665
  Attributes:
29666
   - offset
29667
   - limit
29668
  """
29669
 
29670
  thrift_spec = (
29671
    None, # 0
29672
    (1, TType.I64, 'offset', None, None, ), # 1
29673
    (2, TType.I64, 'limit', None, None, ), # 2
29674
  )
29675
 
29676
  def __init__(self, offset=None, limit=None,):
29677
    self.offset = offset
29678
    self.limit = limit
29679
 
29680
  def read(self, iprot):
29681
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29682
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29683
      return
29684
    iprot.readStructBegin()
29685
    while True:
29686
      (fname, ftype, fid) = iprot.readFieldBegin()
29687
      if ftype == TType.STOP:
29688
        break
29689
      if fid == 1:
29690
        if ftype == TType.I64:
29691
          self.offset = iprot.readI64();
29692
        else:
29693
          iprot.skip(ftype)
29694
      elif fid == 2:
29695
        if ftype == TType.I64:
29696
          self.limit = iprot.readI64();
29697
        else:
29698
          iprot.skip(ftype)
29699
      else:
29700
        iprot.skip(ftype)
29701
      iprot.readFieldEnd()
29702
    iprot.readStructEnd()
29703
 
29704
  def write(self, oprot):
29705
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29706
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29707
      return
29708
    oprot.writeStructBegin('getPrivateDealItems_args')
29709
    if self.offset is not None:
29710
      oprot.writeFieldBegin('offset', TType.I64, 1)
29711
      oprot.writeI64(self.offset)
29712
      oprot.writeFieldEnd()
29713
    if self.limit is not None:
29714
      oprot.writeFieldBegin('limit', TType.I64, 2)
29715
      oprot.writeI64(self.limit)
29716
      oprot.writeFieldEnd()
29717
    oprot.writeFieldStop()
29718
    oprot.writeStructEnd()
29719
 
29720
  def validate(self):
29721
    return
29722
 
29723
 
29724
  def __repr__(self):
29725
    L = ['%s=%r' % (key, value)
29726
      for key, value in self.__dict__.iteritems()]
29727
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29728
 
29729
  def __eq__(self, other):
29730
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29731
 
29732
  def __ne__(self, other):
29733
    return not (self == other)
29734
 
29735
class getPrivateDealItems_result:
29736
  """
29737
  Attributes:
29738
   - success
29739
  """
29740
 
29741
  thrift_spec = (
29742
    (0, TType.LIST, 'success', (TType.STRUCT,(Item, Item.thrift_spec)), None, ), # 0
29743
  )
29744
 
29745
  def __init__(self, success=None,):
29746
    self.success = success
29747
 
29748
  def read(self, iprot):
29749
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29750
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29751
      return
29752
    iprot.readStructBegin()
29753
    while True:
29754
      (fname, ftype, fid) = iprot.readFieldBegin()
29755
      if ftype == TType.STOP:
29756
        break
29757
      if fid == 0:
29758
        if ftype == TType.LIST:
29759
          self.success = []
12567 amit.gupta 29760
          (_etype660, _size657) = iprot.readListBegin()
29761
          for _i661 in xrange(_size657):
29762
            _elem662 = Item()
29763
            _elem662.read(iprot)
29764
            self.success.append(_elem662)
11531 vikram.rag 29765
          iprot.readListEnd()
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('getPrivateDealItems_result')
29778
    if self.success is not None:
29779
      oprot.writeFieldBegin('success', TType.LIST, 0)
29780
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 29781
      for iter663 in self.success:
29782
        iter663.write(oprot)
11531 vikram.rag 29783
      oprot.writeListEnd()
29784
      oprot.writeFieldEnd()
29785
    oprot.writeFieldStop()
29786
    oprot.writeStructEnd()
29787
 
29788
  def validate(self):
29789
    return
29790
 
29791
 
29792
  def __repr__(self):
29793
    L = ['%s=%r' % (key, value)
29794
      for key, value in self.__dict__.iteritems()]
29795
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29796
 
29797
  def __eq__(self, other):
29798
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29799
 
29800
  def __ne__(self, other):
29801
    return not (self == other)
29802
 
11592 amit.gupta 29803
class getAllActivePrivateDeals_args:
11653 amit.gupta 29804
  """
29805
  Attributes:
29806
   - itemIds
29807
   - daysDelta
29808
  """
11592 amit.gupta 29809
 
29810
  thrift_spec = (
11653 amit.gupta 29811
    None, # 0
29812
    (1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
29813
    (2, TType.I64, 'daysDelta', None, None, ), # 2
11592 amit.gupta 29814
  )
29815
 
11653 amit.gupta 29816
  def __init__(self, itemIds=None, daysDelta=None,):
29817
    self.itemIds = itemIds
29818
    self.daysDelta = daysDelta
29819
 
11592 amit.gupta 29820
  def read(self, iprot):
29821
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29822
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29823
      return
29824
    iprot.readStructBegin()
29825
    while True:
29826
      (fname, ftype, fid) = iprot.readFieldBegin()
29827
      if ftype == TType.STOP:
29828
        break
11653 amit.gupta 29829
      if fid == 1:
29830
        if ftype == TType.LIST:
29831
          self.itemIds = []
12567 amit.gupta 29832
          (_etype667, _size664) = iprot.readListBegin()
29833
          for _i668 in xrange(_size664):
29834
            _elem669 = iprot.readI64();
29835
            self.itemIds.append(_elem669)
11653 amit.gupta 29836
          iprot.readListEnd()
29837
        else:
29838
          iprot.skip(ftype)
29839
      elif fid == 2:
29840
        if ftype == TType.I64:
29841
          self.daysDelta = iprot.readI64();
29842
        else:
29843
          iprot.skip(ftype)
11592 amit.gupta 29844
      else:
29845
        iprot.skip(ftype)
29846
      iprot.readFieldEnd()
29847
    iprot.readStructEnd()
29848
 
29849
  def write(self, oprot):
29850
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29851
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29852
      return
29853
    oprot.writeStructBegin('getAllActivePrivateDeals_args')
11653 amit.gupta 29854
    if self.itemIds is not None:
29855
      oprot.writeFieldBegin('itemIds', TType.LIST, 1)
29856
      oprot.writeListBegin(TType.I64, len(self.itemIds))
12567 amit.gupta 29857
      for iter670 in self.itemIds:
29858
        oprot.writeI64(iter670)
11653 amit.gupta 29859
      oprot.writeListEnd()
29860
      oprot.writeFieldEnd()
29861
    if self.daysDelta is not None:
29862
      oprot.writeFieldBegin('daysDelta', TType.I64, 2)
29863
      oprot.writeI64(self.daysDelta)
29864
      oprot.writeFieldEnd()
11592 amit.gupta 29865
    oprot.writeFieldStop()
29866
    oprot.writeStructEnd()
29867
 
29868
  def validate(self):
29869
    return
29870
 
29871
 
29872
  def __repr__(self):
29873
    L = ['%s=%r' % (key, value)
29874
      for key, value in self.__dict__.iteritems()]
29875
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29876
 
29877
  def __eq__(self, other):
29878
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29879
 
29880
  def __ne__(self, other):
29881
    return not (self == other)
29882
 
29883
class getAllActivePrivateDeals_result:
29884
  """
29885
  Attributes:
29886
   - success
29887
  """
29888
 
29889
  thrift_spec = (
29890
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(PrivateDeal, PrivateDeal.thrift_spec)), None, ), # 0
29891
  )
29892
 
29893
  def __init__(self, success=None,):
29894
    self.success = success
29895
 
29896
  def read(self, iprot):
29897
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29898
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29899
      return
29900
    iprot.readStructBegin()
29901
    while True:
29902
      (fname, ftype, fid) = iprot.readFieldBegin()
29903
      if ftype == TType.STOP:
29904
        break
29905
      if fid == 0:
29906
        if ftype == TType.MAP:
29907
          self.success = {}
12567 amit.gupta 29908
          (_ktype672, _vtype673, _size671 ) = iprot.readMapBegin() 
29909
          for _i675 in xrange(_size671):
29910
            _key676 = iprot.readI64();
29911
            _val677 = PrivateDeal()
29912
            _val677.read(iprot)
29913
            self.success[_key676] = _val677
11592 amit.gupta 29914
          iprot.readMapEnd()
29915
        else:
29916
          iprot.skip(ftype)
29917
      else:
29918
        iprot.skip(ftype)
29919
      iprot.readFieldEnd()
29920
    iprot.readStructEnd()
29921
 
29922
  def write(self, oprot):
29923
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29924
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29925
      return
29926
    oprot.writeStructBegin('getAllActivePrivateDeals_result')
29927
    if self.success is not None:
29928
      oprot.writeFieldBegin('success', TType.MAP, 0)
29929
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
12567 amit.gupta 29930
      for kiter678,viter679 in self.success.items():
29931
        oprot.writeI64(kiter678)
29932
        viter679.write(oprot)
11592 amit.gupta 29933
      oprot.writeMapEnd()
29934
      oprot.writeFieldEnd()
29935
    oprot.writeFieldStop()
29936
    oprot.writeStructEnd()
29937
 
29938
  def validate(self):
29939
    return
29940
 
29941
 
29942
  def __repr__(self):
29943
    L = ['%s=%r' % (key, value)
29944
      for key, value in self.__dict__.iteritems()]
29945
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
29946
 
29947
  def __eq__(self, other):
29948
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
29949
 
29950
  def __ne__(self, other):
29951
    return not (self == other)
29952
 
11531 vikram.rag 29953
class addOrUpdatePrivateDeal_args:
29954
  """
29955
  Attributes:
29956
   - privateDeal
29957
  """
29958
 
29959
  thrift_spec = (
29960
    None, # 0
29961
    (1, TType.STRUCT, 'privateDeal', (PrivateDeal, PrivateDeal.thrift_spec), None, ), # 1
29962
  )
29963
 
29964
  def __init__(self, privateDeal=None,):
29965
    self.privateDeal = privateDeal
29966
 
29967
  def read(self, iprot):
29968
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
29969
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
29970
      return
29971
    iprot.readStructBegin()
29972
    while True:
29973
      (fname, ftype, fid) = iprot.readFieldBegin()
29974
      if ftype == TType.STOP:
29975
        break
29976
      if fid == 1:
29977
        if ftype == TType.STRUCT:
29978
          self.privateDeal = PrivateDeal()
29979
          self.privateDeal.read(iprot)
29980
        else:
29981
          iprot.skip(ftype)
29982
      else:
29983
        iprot.skip(ftype)
29984
      iprot.readFieldEnd()
29985
    iprot.readStructEnd()
29986
 
29987
  def write(self, oprot):
29988
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
29989
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
29990
      return
29991
    oprot.writeStructBegin('addOrUpdatePrivateDeal_args')
29992
    if self.privateDeal is not None:
29993
      oprot.writeFieldBegin('privateDeal', TType.STRUCT, 1)
29994
      self.privateDeal.write(oprot)
29995
      oprot.writeFieldEnd()
29996
    oprot.writeFieldStop()
29997
    oprot.writeStructEnd()
29998
 
29999
  def validate(self):
30000
    return
30001
 
30002
 
30003
  def __repr__(self):
30004
    L = ['%s=%r' % (key, value)
30005
      for key, value in self.__dict__.iteritems()]
30006
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30007
 
30008
  def __eq__(self, other):
30009
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30010
 
30011
  def __ne__(self, other):
30012
    return not (self == other)
30013
 
30014
class addOrUpdatePrivateDeal_result:
30015
  """
30016
  Attributes:
30017
   - success
30018
  """
30019
 
30020
  thrift_spec = (
30021
    (0, TType.BOOL, 'success', None, None, ), # 0
30022
  )
30023
 
30024
  def __init__(self, success=None,):
30025
    self.success = success
30026
 
30027
  def read(self, iprot):
30028
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30029
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30030
      return
30031
    iprot.readStructBegin()
30032
    while True:
30033
      (fname, ftype, fid) = iprot.readFieldBegin()
30034
      if ftype == TType.STOP:
30035
        break
30036
      if fid == 0:
30037
        if ftype == TType.BOOL:
30038
          self.success = iprot.readBool();
30039
        else:
30040
          iprot.skip(ftype)
30041
      else:
30042
        iprot.skip(ftype)
30043
      iprot.readFieldEnd()
30044
    iprot.readStructEnd()
30045
 
30046
  def write(self, oprot):
30047
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30048
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30049
      return
30050
    oprot.writeStructBegin('addOrUpdatePrivateDeal_result')
30051
    if self.success is not None:
30052
      oprot.writeFieldBegin('success', TType.BOOL, 0)
30053
      oprot.writeBool(self.success)
30054
      oprot.writeFieldEnd()
30055
    oprot.writeFieldStop()
30056
    oprot.writeStructEnd()
30057
 
30058
  def validate(self):
30059
    return
30060
 
30061
 
30062
  def __repr__(self):
30063
    L = ['%s=%r' % (key, value)
30064
      for key, value in self.__dict__.iteritems()]
30065
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30066
 
30067
  def __eq__(self, other):
30068
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30069
 
30070
  def __ne__(self, other):
30071
    return not (self == other)
11635 vikram.rag 30072
 
30073
class getPrivateDealsCatalogIds_args:
30074
  """
30075
  Attributes:
30076
   - beginIndex
30077
   - totalItems
30078
  """
30079
 
30080
  thrift_spec = (
30081
    None, # 0
30082
    (1, TType.I64, 'beginIndex', None, None, ), # 1
30083
    (2, TType.I64, 'totalItems', None, None, ), # 2
30084
  )
30085
 
30086
  def __init__(self, beginIndex=None, totalItems=None,):
30087
    self.beginIndex = beginIndex
30088
    self.totalItems = totalItems
30089
 
30090
  def read(self, iprot):
30091
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30092
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30093
      return
30094
    iprot.readStructBegin()
30095
    while True:
30096
      (fname, ftype, fid) = iprot.readFieldBegin()
30097
      if ftype == TType.STOP:
30098
        break
30099
      if fid == 1:
30100
        if ftype == TType.I64:
30101
          self.beginIndex = iprot.readI64();
30102
        else:
30103
          iprot.skip(ftype)
30104
      elif fid == 2:
30105
        if ftype == TType.I64:
30106
          self.totalItems = iprot.readI64();
30107
        else:
30108
          iprot.skip(ftype)
30109
      else:
30110
        iprot.skip(ftype)
30111
      iprot.readFieldEnd()
30112
    iprot.readStructEnd()
30113
 
30114
  def write(self, oprot):
30115
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30116
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30117
      return
30118
    oprot.writeStructBegin('getPrivateDealsCatalogIds_args')
30119
    if self.beginIndex is not None:
30120
      oprot.writeFieldBegin('beginIndex', TType.I64, 1)
30121
      oprot.writeI64(self.beginIndex)
30122
      oprot.writeFieldEnd()
30123
    if self.totalItems is not None:
30124
      oprot.writeFieldBegin('totalItems', TType.I64, 2)
30125
      oprot.writeI64(self.totalItems)
30126
      oprot.writeFieldEnd()
30127
    oprot.writeFieldStop()
30128
    oprot.writeStructEnd()
30129
 
30130
  def validate(self):
30131
    return
30132
 
30133
 
30134
  def __repr__(self):
30135
    L = ['%s=%r' % (key, value)
30136
      for key, value in self.__dict__.iteritems()]
30137
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30138
 
30139
  def __eq__(self, other):
30140
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30141
 
30142
  def __ne__(self, other):
30143
    return not (self == other)
30144
 
30145
class getPrivateDealsCatalogIds_result:
30146
  """
30147
  Attributes:
30148
   - success
30149
   - cex
30150
  """
30151
 
30152
  thrift_spec = (
30153
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
30154
    (1, TType.STRUCT, 'cex', (CatalogServiceException, CatalogServiceException.thrift_spec), None, ), # 1
30155
  )
30156
 
30157
  def __init__(self, success=None, cex=None,):
30158
    self.success = success
30159
    self.cex = cex
30160
 
30161
  def read(self, iprot):
30162
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30163
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30164
      return
30165
    iprot.readStructBegin()
30166
    while True:
30167
      (fname, ftype, fid) = iprot.readFieldBegin()
30168
      if ftype == TType.STOP:
30169
        break
30170
      if fid == 0:
30171
        if ftype == TType.LIST:
30172
          self.success = []
12567 amit.gupta 30173
          (_etype683, _size680) = iprot.readListBegin()
30174
          for _i684 in xrange(_size680):
30175
            _elem685 = iprot.readI64();
30176
            self.success.append(_elem685)
11635 vikram.rag 30177
          iprot.readListEnd()
30178
        else:
30179
          iprot.skip(ftype)
30180
      elif fid == 1:
30181
        if ftype == TType.STRUCT:
30182
          self.cex = CatalogServiceException()
30183
          self.cex.read(iprot)
30184
        else:
30185
          iprot.skip(ftype)
30186
      else:
30187
        iprot.skip(ftype)
30188
      iprot.readFieldEnd()
30189
    iprot.readStructEnd()
30190
 
30191
  def write(self, oprot):
30192
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30193
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30194
      return
30195
    oprot.writeStructBegin('getPrivateDealsCatalogIds_result')
30196
    if self.success is not None:
30197
      oprot.writeFieldBegin('success', TType.LIST, 0)
30198
      oprot.writeListBegin(TType.I64, len(self.success))
12567 amit.gupta 30199
      for iter686 in self.success:
30200
        oprot.writeI64(iter686)
11635 vikram.rag 30201
      oprot.writeListEnd()
30202
      oprot.writeFieldEnd()
30203
    if self.cex is not None:
30204
      oprot.writeFieldBegin('cex', TType.STRUCT, 1)
30205
      self.cex.write(oprot)
30206
      oprot.writeFieldEnd()
30207
    oprot.writeFieldStop()
30208
    oprot.writeStructEnd()
30209
 
30210
  def validate(self):
30211
    return
30212
 
30213
 
30214
  def __repr__(self):
30215
    L = ['%s=%r' % (key, value)
30216
      for key, value in self.__dict__.iteritems()]
30217
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30218
 
30219
  def __eq__(self, other):
30220
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30221
 
30222
  def __ne__(self, other):
30223
    return not (self == other)
11645 amit.gupta 30224
 
30225
class getPrivateDealsCount_args:
30226
 
30227
  thrift_spec = (
30228
  )
30229
 
30230
  def read(self, iprot):
30231
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30232
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30233
      return
30234
    iprot.readStructBegin()
30235
    while True:
30236
      (fname, ftype, fid) = iprot.readFieldBegin()
30237
      if ftype == TType.STOP:
30238
        break
30239
      else:
30240
        iprot.skip(ftype)
30241
      iprot.readFieldEnd()
30242
    iprot.readStructEnd()
30243
 
30244
  def write(self, oprot):
30245
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30246
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30247
      return
30248
    oprot.writeStructBegin('getPrivateDealsCount_args')
30249
    oprot.writeFieldStop()
30250
    oprot.writeStructEnd()
30251
 
30252
  def validate(self):
30253
    return
30254
 
30255
 
30256
  def __repr__(self):
30257
    L = ['%s=%r' % (key, value)
30258
      for key, value in self.__dict__.iteritems()]
30259
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30260
 
30261
  def __eq__(self, other):
30262
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30263
 
30264
  def __ne__(self, other):
30265
    return not (self == other)
30266
 
30267
class getPrivateDealsCount_result:
30268
  """
30269
  Attributes:
30270
   - success
30271
  """
30272
 
30273
  thrift_spec = (
30274
    (0, TType.I32, 'success', None, None, ), # 0
30275
  )
30276
 
30277
  def __init__(self, success=None,):
30278
    self.success = success
30279
 
30280
  def read(self, iprot):
30281
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30282
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30283
      return
30284
    iprot.readStructBegin()
30285
    while True:
30286
      (fname, ftype, fid) = iprot.readFieldBegin()
30287
      if ftype == TType.STOP:
30288
        break
30289
      if fid == 0:
30290
        if ftype == TType.I32:
30291
          self.success = iprot.readI32();
30292
        else:
30293
          iprot.skip(ftype)
30294
      else:
30295
        iprot.skip(ftype)
30296
      iprot.readFieldEnd()
30297
    iprot.readStructEnd()
30298
 
30299
  def write(self, oprot):
30300
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30301
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30302
      return
30303
    oprot.writeStructBegin('getPrivateDealsCount_result')
30304
    if self.success is not None:
30305
      oprot.writeFieldBegin('success', TType.I32, 0)
30306
      oprot.writeI32(self.success)
30307
      oprot.writeFieldEnd()
30308
    oprot.writeFieldStop()
30309
    oprot.writeStructEnd()
30310
 
30311
  def validate(self):
30312
    return
30313
 
30314
 
30315
  def __repr__(self):
30316
    L = ['%s=%r' % (key, value)
30317
      for key, value in self.__dict__.iteritems()]
30318
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30319
 
30320
  def __eq__(self, other):
30321
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30322
 
30323
  def __ne__(self, other):
30324
    return not (self == other)
11905 kshitij.so 30325
 
30326
class getAmazonOutSyncItems_args:
30327
  """
30328
  Attributes:
30329
   - item_id
30330
  """
30331
 
30332
  thrift_spec = (
30333
    None, # 0
30334
    (1, TType.I64, 'item_id', None, None, ), # 1
30335
  )
30336
 
30337
  def __init__(self, item_id=None,):
30338
    self.item_id = item_id
30339
 
30340
  def read(self, iprot):
30341
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30342
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30343
      return
30344
    iprot.readStructBegin()
30345
    while True:
30346
      (fname, ftype, fid) = iprot.readFieldBegin()
30347
      if ftype == TType.STOP:
30348
        break
30349
      if fid == 1:
30350
        if ftype == TType.I64:
30351
          self.item_id = iprot.readI64();
30352
        else:
30353
          iprot.skip(ftype)
30354
      else:
30355
        iprot.skip(ftype)
30356
      iprot.readFieldEnd()
30357
    iprot.readStructEnd()
30358
 
30359
  def write(self, oprot):
30360
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30361
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30362
      return
30363
    oprot.writeStructBegin('getAmazonOutSyncItems_args')
30364
    if self.item_id is not None:
30365
      oprot.writeFieldBegin('item_id', TType.I64, 1)
30366
      oprot.writeI64(self.item_id)
30367
      oprot.writeFieldEnd()
30368
    oprot.writeFieldStop()
30369
    oprot.writeStructEnd()
30370
 
30371
  def validate(self):
30372
    return
30373
 
30374
 
30375
  def __repr__(self):
30376
    L = ['%s=%r' % (key, value)
30377
      for key, value in self.__dict__.iteritems()]
30378
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30379
 
30380
  def __eq__(self, other):
30381
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30382
 
30383
  def __ne__(self, other):
30384
    return not (self == other)
30385
 
30386
class getAmazonOutSyncItems_result:
30387
  """
30388
  Attributes:
30389
   - success
30390
  """
30391
 
30392
  thrift_spec = (
30393
    (0, TType.STRUCT, 'success', (AmazonOutOfSync, AmazonOutOfSync.thrift_spec), None, ), # 0
30394
  )
30395
 
30396
  def __init__(self, success=None,):
30397
    self.success = success
30398
 
30399
  def read(self, iprot):
30400
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30401
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30402
      return
30403
    iprot.readStructBegin()
30404
    while True:
30405
      (fname, ftype, fid) = iprot.readFieldBegin()
30406
      if ftype == TType.STOP:
30407
        break
30408
      if fid == 0:
30409
        if ftype == TType.STRUCT:
30410
          self.success = AmazonOutOfSync()
30411
          self.success.read(iprot)
30412
        else:
30413
          iprot.skip(ftype)
30414
      else:
30415
        iprot.skip(ftype)
30416
      iprot.readFieldEnd()
30417
    iprot.readStructEnd()
30418
 
30419
  def write(self, oprot):
30420
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30421
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30422
      return
30423
    oprot.writeStructBegin('getAmazonOutSyncItems_result')
30424
    if self.success is not None:
30425
      oprot.writeFieldBegin('success', TType.STRUCT, 0)
30426
      self.success.write(oprot)
30427
      oprot.writeFieldEnd()
30428
    oprot.writeFieldStop()
30429
    oprot.writeStructEnd()
30430
 
30431
  def validate(self):
30432
    return
30433
 
30434
 
30435
  def __repr__(self):
30436
    L = ['%s=%r' % (key, value)
30437
      for key, value in self.__dict__.iteritems()]
30438
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30439
 
30440
  def __eq__(self, other):
30441
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30442
 
30443
  def __ne__(self, other):
30444
    return not (self == other)
30445
 
30446
class getAllPrivateDealsComparison_args:
30447
 
30448
  thrift_spec = (
30449
  )
30450
 
30451
  def read(self, iprot):
30452
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30453
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30454
      return
30455
    iprot.readStructBegin()
30456
    while True:
30457
      (fname, ftype, fid) = iprot.readFieldBegin()
30458
      if ftype == TType.STOP:
30459
        break
30460
      else:
30461
        iprot.skip(ftype)
30462
      iprot.readFieldEnd()
30463
    iprot.readStructEnd()
30464
 
30465
  def write(self, oprot):
30466
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30467
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30468
      return
30469
    oprot.writeStructBegin('getAllPrivateDealsComparison_args')
30470
    oprot.writeFieldStop()
30471
    oprot.writeStructEnd()
30472
 
30473
  def validate(self):
30474
    return
30475
 
30476
 
30477
  def __repr__(self):
30478
    L = ['%s=%r' % (key, value)
30479
      for key, value in self.__dict__.iteritems()]
30480
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30481
 
30482
  def __eq__(self, other):
30483
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30484
 
30485
  def __ne__(self, other):
30486
    return not (self == other)
30487
 
30488
class getAllPrivateDealsComparison_result:
30489
  """
30490
  Attributes:
30491
   - success
30492
  """
30493
 
30494
  thrift_spec = (
30495
    (0, TType.LIST, 'success', (TType.STRUCT,(PdPriceComp, PdPriceComp.thrift_spec)), None, ), # 0
30496
  )
30497
 
30498
  def __init__(self, success=None,):
30499
    self.success = success
30500
 
30501
  def read(self, iprot):
30502
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30503
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30504
      return
30505
    iprot.readStructBegin()
30506
    while True:
30507
      (fname, ftype, fid) = iprot.readFieldBegin()
30508
      if ftype == TType.STOP:
30509
        break
30510
      if fid == 0:
30511
        if ftype == TType.LIST:
30512
          self.success = []
12567 amit.gupta 30513
          (_etype690, _size687) = iprot.readListBegin()
30514
          for _i691 in xrange(_size687):
30515
            _elem692 = PdPriceComp()
30516
            _elem692.read(iprot)
30517
            self.success.append(_elem692)
11905 kshitij.so 30518
          iprot.readListEnd()
30519
        else:
30520
          iprot.skip(ftype)
30521
      else:
30522
        iprot.skip(ftype)
30523
      iprot.readFieldEnd()
30524
    iprot.readStructEnd()
30525
 
30526
  def write(self, oprot):
30527
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30528
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30529
      return
30530
    oprot.writeStructBegin('getAllPrivateDealsComparison_result')
30531
    if self.success is not None:
30532
      oprot.writeFieldBegin('success', TType.LIST, 0)
30533
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 30534
      for iter693 in self.success:
30535
        iter693.write(oprot)
11905 kshitij.so 30536
      oprot.writeListEnd()
30537
      oprot.writeFieldEnd()
30538
    oprot.writeFieldStop()
30539
    oprot.writeStructEnd()
30540
 
30541
  def validate(self):
30542
    return
30543
 
30544
 
30545
  def __repr__(self):
30546
    L = ['%s=%r' % (key, value)
30547
      for key, value in self.__dict__.iteritems()]
30548
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30549
 
30550
  def __eq__(self, other):
30551
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30552
 
30553
  def __ne__(self, other):
30554
    return not (self == other)
12133 kshitij.so 30555
 
30556
class getAllSnapdealMarketplaceItem_args:
30557
 
30558
  thrift_spec = (
30559
  )
30560
 
30561
  def read(self, iprot):
30562
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30563
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30564
      return
30565
    iprot.readStructBegin()
30566
    while True:
30567
      (fname, ftype, fid) = iprot.readFieldBegin()
30568
      if ftype == TType.STOP:
30569
        break
30570
      else:
30571
        iprot.skip(ftype)
30572
      iprot.readFieldEnd()
30573
    iprot.readStructEnd()
30574
 
30575
  def write(self, oprot):
30576
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30577
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30578
      return
30579
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_args')
30580
    oprot.writeFieldStop()
30581
    oprot.writeStructEnd()
30582
 
30583
  def validate(self):
30584
    return
30585
 
30586
 
30587
  def __repr__(self):
30588
    L = ['%s=%r' % (key, value)
30589
      for key, value in self.__dict__.iteritems()]
30590
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30591
 
30592
  def __eq__(self, other):
30593
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30594
 
30595
  def __ne__(self, other):
30596
    return not (self == other)
30597
 
30598
class getAllSnapdealMarketplaceItem_result:
30599
  """
30600
  Attributes:
30601
   - success
30602
  """
30603
 
30604
  thrift_spec = (
30605
    (0, TType.LIST, 'success', (TType.STRUCT,(SnapdealItem, SnapdealItem.thrift_spec)), None, ), # 0
30606
  )
30607
 
30608
  def __init__(self, success=None,):
30609
    self.success = success
30610
 
30611
  def read(self, iprot):
30612
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30613
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30614
      return
30615
    iprot.readStructBegin()
30616
    while True:
30617
      (fname, ftype, fid) = iprot.readFieldBegin()
30618
      if ftype == TType.STOP:
30619
        break
30620
      if fid == 0:
30621
        if ftype == TType.LIST:
30622
          self.success = []
12567 amit.gupta 30623
          (_etype697, _size694) = iprot.readListBegin()
30624
          for _i698 in xrange(_size694):
30625
            _elem699 = SnapdealItem()
30626
            _elem699.read(iprot)
30627
            self.success.append(_elem699)
12133 kshitij.so 30628
          iprot.readListEnd()
30629
        else:
30630
          iprot.skip(ftype)
30631
      else:
30632
        iprot.skip(ftype)
30633
      iprot.readFieldEnd()
30634
    iprot.readStructEnd()
30635
 
30636
  def write(self, oprot):
30637
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30638
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30639
      return
30640
    oprot.writeStructBegin('getAllSnapdealMarketplaceItem_result')
30641
    if self.success is not None:
30642
      oprot.writeFieldBegin('success', TType.LIST, 0)
30643
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 30644
      for iter700 in self.success:
30645
        iter700.write(oprot)
12133 kshitij.so 30646
      oprot.writeListEnd()
30647
      oprot.writeFieldEnd()
30648
    oprot.writeFieldStop()
30649
    oprot.writeStructEnd()
30650
 
30651
  def validate(self):
30652
    return
30653
 
30654
 
30655
  def __repr__(self):
30656
    L = ['%s=%r' % (key, value)
30657
      for key, value in self.__dict__.iteritems()]
30658
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30659
 
30660
  def __eq__(self, other):
30661
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30662
 
30663
  def __ne__(self, other):
30664
    return not (self == other)
30665
 
30666
class getAllFlipkartMarketplaceItem_args:
30667
 
30668
  thrift_spec = (
30669
  )
30670
 
30671
  def read(self, iprot):
30672
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30673
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30674
      return
30675
    iprot.readStructBegin()
30676
    while True:
30677
      (fname, ftype, fid) = iprot.readFieldBegin()
30678
      if ftype == TType.STOP:
30679
        break
30680
      else:
30681
        iprot.skip(ftype)
30682
      iprot.readFieldEnd()
30683
    iprot.readStructEnd()
30684
 
30685
  def write(self, oprot):
30686
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30687
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30688
      return
30689
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_args')
30690
    oprot.writeFieldStop()
30691
    oprot.writeStructEnd()
30692
 
30693
  def validate(self):
30694
    return
30695
 
30696
 
30697
  def __repr__(self):
30698
    L = ['%s=%r' % (key, value)
30699
      for key, value in self.__dict__.iteritems()]
30700
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30701
 
30702
  def __eq__(self, other):
30703
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30704
 
30705
  def __ne__(self, other):
30706
    return not (self == other)
30707
 
30708
class getAllFlipkartMarketplaceItem_result:
30709
  """
30710
  Attributes:
30711
   - success
30712
  """
30713
 
30714
  thrift_spec = (
30715
    (0, TType.LIST, 'success', (TType.STRUCT,(FlipkartItem, FlipkartItem.thrift_spec)), None, ), # 0
30716
  )
30717
 
30718
  def __init__(self, success=None,):
30719
    self.success = success
30720
 
30721
  def read(self, iprot):
30722
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30723
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30724
      return
30725
    iprot.readStructBegin()
30726
    while True:
30727
      (fname, ftype, fid) = iprot.readFieldBegin()
30728
      if ftype == TType.STOP:
30729
        break
30730
      if fid == 0:
30731
        if ftype == TType.LIST:
30732
          self.success = []
12567 amit.gupta 30733
          (_etype704, _size701) = iprot.readListBegin()
30734
          for _i705 in xrange(_size701):
30735
            _elem706 = FlipkartItem()
30736
            _elem706.read(iprot)
30737
            self.success.append(_elem706)
12133 kshitij.so 30738
          iprot.readListEnd()
30739
        else:
30740
          iprot.skip(ftype)
30741
      else:
30742
        iprot.skip(ftype)
30743
      iprot.readFieldEnd()
30744
    iprot.readStructEnd()
30745
 
30746
  def write(self, oprot):
30747
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30748
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30749
      return
30750
    oprot.writeStructBegin('getAllFlipkartMarketplaceItem_result')
30751
    if self.success is not None:
30752
      oprot.writeFieldBegin('success', TType.LIST, 0)
30753
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 30754
      for iter707 in self.success:
30755
        iter707.write(oprot)
12133 kshitij.so 30756
      oprot.writeListEnd()
30757
      oprot.writeFieldEnd()
30758
    oprot.writeFieldStop()
30759
    oprot.writeStructEnd()
30760
 
30761
  def validate(self):
30762
    return
30763
 
30764
 
30765
  def __repr__(self):
30766
    L = ['%s=%r' % (key, value)
30767
      for key, value in self.__dict__.iteritems()]
30768
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30769
 
30770
  def __eq__(self, other):
30771
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30772
 
30773
  def __ne__(self, other):
30774
    return not (self == other)
12243 kshitij.so 30775
 
30776
class addCompetitorScraping_args:
30777
  """
30778
  Attributes:
30779
   - competitorPricingMap
30780
  """
30781
 
30782
  thrift_spec = (
30783
    None, # 0
30784
    (1, TType.MAP, 'competitorPricingMap', (TType.I64,None,TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 1
30785
  )
30786
 
30787
  def __init__(self, competitorPricingMap=None,):
30788
    self.competitorPricingMap = competitorPricingMap
30789
 
30790
  def read(self, iprot):
30791
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30792
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30793
      return
30794
    iprot.readStructBegin()
30795
    while True:
30796
      (fname, ftype, fid) = iprot.readFieldBegin()
30797
      if ftype == TType.STOP:
30798
        break
30799
      if fid == 1:
30800
        if ftype == TType.MAP:
30801
          self.competitorPricingMap = {}
12567 amit.gupta 30802
          (_ktype709, _vtype710, _size708 ) = iprot.readMapBegin() 
30803
          for _i712 in xrange(_size708):
30804
            _key713 = iprot.readI64();
30805
            _val714 = CompetitorPricing()
30806
            _val714.read(iprot)
30807
            self.competitorPricingMap[_key713] = _val714
12243 kshitij.so 30808
          iprot.readMapEnd()
30809
        else:
30810
          iprot.skip(ftype)
30811
      else:
30812
        iprot.skip(ftype)
30813
      iprot.readFieldEnd()
30814
    iprot.readStructEnd()
30815
 
30816
  def write(self, oprot):
30817
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30818
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30819
      return
30820
    oprot.writeStructBegin('addCompetitorScraping_args')
30821
    if self.competitorPricingMap is not None:
30822
      oprot.writeFieldBegin('competitorPricingMap', TType.MAP, 1)
30823
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.competitorPricingMap))
12567 amit.gupta 30824
      for kiter715,viter716 in self.competitorPricingMap.items():
30825
        oprot.writeI64(kiter715)
30826
        viter716.write(oprot)
12243 kshitij.so 30827
      oprot.writeMapEnd()
30828
      oprot.writeFieldEnd()
30829
    oprot.writeFieldStop()
30830
    oprot.writeStructEnd()
30831
 
30832
  def validate(self):
30833
    return
30834
 
30835
 
30836
  def __repr__(self):
30837
    L = ['%s=%r' % (key, value)
30838
      for key, value in self.__dict__.iteritems()]
30839
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30840
 
30841
  def __eq__(self, other):
30842
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30843
 
30844
  def __ne__(self, other):
30845
    return not (self == other)
30846
 
30847
class addCompetitorScraping_result:
30848
 
30849
  thrift_spec = (
30850
  )
30851
 
30852
  def read(self, iprot):
30853
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30854
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30855
      return
30856
    iprot.readStructBegin()
30857
    while True:
30858
      (fname, ftype, fid) = iprot.readFieldBegin()
30859
      if ftype == TType.STOP:
30860
        break
30861
      else:
30862
        iprot.skip(ftype)
30863
      iprot.readFieldEnd()
30864
    iprot.readStructEnd()
30865
 
30866
  def write(self, oprot):
30867
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30868
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30869
      return
30870
    oprot.writeStructBegin('addCompetitorScraping_result')
30871
    oprot.writeFieldStop()
30872
    oprot.writeStructEnd()
30873
 
30874
  def validate(self):
30875
    return
30876
 
30877
 
30878
  def __repr__(self):
30879
    L = ['%s=%r' % (key, value)
30880
      for key, value in self.__dict__.iteritems()]
30881
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30882
 
30883
  def __eq__(self, other):
30884
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30885
 
30886
  def __ne__(self, other):
30887
    return not (self == other)
30888
 
30889
class getPreviousCompetitorScraping_args:
30890
  """
30891
  Attributes:
30892
   - delta
30893
  """
30894
 
30895
  thrift_spec = (
30896
    None, # 0
30897
    (1, TType.I64, 'delta', None, None, ), # 1
30898
  )
30899
 
30900
  def __init__(self, delta=None,):
30901
    self.delta = delta
30902
 
30903
  def read(self, iprot):
30904
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30905
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30906
      return
30907
    iprot.readStructBegin()
30908
    while True:
30909
      (fname, ftype, fid) = iprot.readFieldBegin()
30910
      if ftype == TType.STOP:
30911
        break
30912
      if fid == 1:
30913
        if ftype == TType.I64:
30914
          self.delta = iprot.readI64();
30915
        else:
30916
          iprot.skip(ftype)
30917
      else:
30918
        iprot.skip(ftype)
30919
      iprot.readFieldEnd()
30920
    iprot.readStructEnd()
30921
 
30922
  def write(self, oprot):
30923
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30924
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30925
      return
30926
    oprot.writeStructBegin('getPreviousCompetitorScraping_args')
30927
    if self.delta is not None:
30928
      oprot.writeFieldBegin('delta', TType.I64, 1)
30929
      oprot.writeI64(self.delta)
30930
      oprot.writeFieldEnd()
30931
    oprot.writeFieldStop()
30932
    oprot.writeStructEnd()
30933
 
30934
  def validate(self):
30935
    return
30936
 
30937
 
30938
  def __repr__(self):
30939
    L = ['%s=%r' % (key, value)
30940
      for key, value in self.__dict__.iteritems()]
30941
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
30942
 
30943
  def __eq__(self, other):
30944
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
30945
 
30946
  def __ne__(self, other):
30947
    return not (self == other)
30948
 
30949
class getPreviousCompetitorScraping_result:
30950
  """
30951
  Attributes:
30952
   - success
30953
  """
30954
 
30955
  thrift_spec = (
30956
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
30957
  )
30958
 
30959
  def __init__(self, success=None,):
30960
    self.success = success
30961
 
30962
  def read(self, iprot):
30963
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
30964
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
30965
      return
30966
    iprot.readStructBegin()
30967
    while True:
30968
      (fname, ftype, fid) = iprot.readFieldBegin()
30969
      if ftype == TType.STOP:
30970
        break
30971
      if fid == 0:
30972
        if ftype == TType.LIST:
30973
          self.success = []
12567 amit.gupta 30974
          (_etype720, _size717) = iprot.readListBegin()
30975
          for _i721 in xrange(_size717):
30976
            _elem722 = CompetitorPricing()
30977
            _elem722.read(iprot)
30978
            self.success.append(_elem722)
12243 kshitij.so 30979
          iprot.readListEnd()
30980
        else:
30981
          iprot.skip(ftype)
30982
      else:
30983
        iprot.skip(ftype)
30984
      iprot.readFieldEnd()
30985
    iprot.readStructEnd()
30986
 
30987
  def write(self, oprot):
30988
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
30989
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
30990
      return
30991
    oprot.writeStructBegin('getPreviousCompetitorScraping_result')
30992
    if self.success is not None:
30993
      oprot.writeFieldBegin('success', TType.LIST, 0)
30994
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 30995
      for iter723 in self.success:
30996
        iter723.write(oprot)
12243 kshitij.so 30997
      oprot.writeListEnd()
30998
      oprot.writeFieldEnd()
30999
    oprot.writeFieldStop()
31000
    oprot.writeStructEnd()
31001
 
31002
  def validate(self):
31003
    return
31004
 
31005
 
31006
  def __repr__(self):
31007
    L = ['%s=%r' % (key, value)
31008
      for key, value in self.__dict__.iteritems()]
31009
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31010
 
31011
  def __eq__(self, other):
31012
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31013
 
31014
  def __ne__(self, other):
31015
    return not (self == other)
12256 kshitij.so 31016
 
31017
class getUploadResultById_args:
31018
  """
31019
  Attributes:
31020
   - uploadId
31021
  """
31022
 
31023
  thrift_spec = (
31024
    None, # 0
31025
    (1, TType.I64, 'uploadId', None, None, ), # 1
31026
  )
31027
 
31028
  def __init__(self, uploadId=None,):
31029
    self.uploadId = uploadId
31030
 
31031
  def read(self, iprot):
31032
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31033
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31034
      return
31035
    iprot.readStructBegin()
31036
    while True:
31037
      (fname, ftype, fid) = iprot.readFieldBegin()
31038
      if ftype == TType.STOP:
31039
        break
31040
      if fid == 1:
31041
        if ftype == TType.I64:
31042
          self.uploadId = iprot.readI64();
31043
        else:
31044
          iprot.skip(ftype)
31045
      else:
31046
        iprot.skip(ftype)
31047
      iprot.readFieldEnd()
31048
    iprot.readStructEnd()
31049
 
31050
  def write(self, oprot):
31051
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31052
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31053
      return
31054
    oprot.writeStructBegin('getUploadResultById_args')
31055
    if self.uploadId is not None:
31056
      oprot.writeFieldBegin('uploadId', TType.I64, 1)
31057
      oprot.writeI64(self.uploadId)
31058
      oprot.writeFieldEnd()
31059
    oprot.writeFieldStop()
31060
    oprot.writeStructEnd()
31061
 
31062
  def validate(self):
31063
    return
31064
 
31065
 
31066
  def __repr__(self):
31067
    L = ['%s=%r' % (key, value)
31068
      for key, value in self.__dict__.iteritems()]
31069
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31070
 
31071
  def __eq__(self, other):
31072
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31073
 
31074
  def __ne__(self, other):
31075
    return not (self == other)
31076
 
31077
class getUploadResultById_result:
31078
  """
31079
  Attributes:
31080
   - success
31081
  """
31082
 
31083
  thrift_spec = (
31084
    (0, TType.LIST, 'success', (TType.STRUCT,(CompetitorPricing, CompetitorPricing.thrift_spec)), None, ), # 0
31085
  )
31086
 
31087
  def __init__(self, success=None,):
31088
    self.success = success
31089
 
31090
  def read(self, iprot):
31091
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31092
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31093
      return
31094
    iprot.readStructBegin()
31095
    while True:
31096
      (fname, ftype, fid) = iprot.readFieldBegin()
31097
      if ftype == TType.STOP:
31098
        break
31099
      if fid == 0:
31100
        if ftype == TType.LIST:
31101
          self.success = []
12567 amit.gupta 31102
          (_etype727, _size724) = iprot.readListBegin()
31103
          for _i728 in xrange(_size724):
31104
            _elem729 = CompetitorPricing()
31105
            _elem729.read(iprot)
31106
            self.success.append(_elem729)
12256 kshitij.so 31107
          iprot.readListEnd()
31108
        else:
31109
          iprot.skip(ftype)
31110
      else:
31111
        iprot.skip(ftype)
31112
      iprot.readFieldEnd()
31113
    iprot.readStructEnd()
31114
 
31115
  def write(self, oprot):
31116
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31117
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31118
      return
31119
    oprot.writeStructBegin('getUploadResultById_result')
31120
    if self.success is not None:
31121
      oprot.writeFieldBegin('success', TType.LIST, 0)
31122
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 31123
      for iter730 in self.success:
31124
        iter730.write(oprot)
12256 kshitij.so 31125
      oprot.writeListEnd()
31126
      oprot.writeFieldEnd()
31127
    oprot.writeFieldStop()
31128
    oprot.writeStructEnd()
31129
 
31130
  def validate(self):
31131
    return
31132
 
31133
 
31134
  def __repr__(self):
31135
    L = ['%s=%r' % (key, value)
31136
      for key, value in self.__dict__.iteritems()]
31137
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31138
 
31139
  def __eq__(self, other):
31140
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31141
 
31142
  def __ne__(self, other):
31143
    return not (self == other)
12363 kshitij.so 31144
 
31145
class addAmazonPromotion_args:
31146
  """
31147
  Attributes:
31148
   - amazonPromotions
31149
  """
31150
 
31151
  thrift_spec = (
31152
    None, # 0
31153
    (1, TType.MAP, 'amazonPromotions', (TType.STRING,None,TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
31154
  )
31155
 
31156
  def __init__(self, amazonPromotions=None,):
31157
    self.amazonPromotions = amazonPromotions
31158
 
31159
  def read(self, iprot):
31160
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31161
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31162
      return
31163
    iprot.readStructBegin()
31164
    while True:
31165
      (fname, ftype, fid) = iprot.readFieldBegin()
31166
      if ftype == TType.STOP:
31167
        break
31168
      if fid == 1:
31169
        if ftype == TType.MAP:
31170
          self.amazonPromotions = {}
12567 amit.gupta 31171
          (_ktype732, _vtype733, _size731 ) = iprot.readMapBegin() 
31172
          for _i735 in xrange(_size731):
31173
            _key736 = iprot.readString();
31174
            _val737 = AmazonPromotion()
31175
            _val737.read(iprot)
31176
            self.amazonPromotions[_key736] = _val737
12363 kshitij.so 31177
          iprot.readMapEnd()
31178
        else:
31179
          iprot.skip(ftype)
31180
      else:
31181
        iprot.skip(ftype)
31182
      iprot.readFieldEnd()
31183
    iprot.readStructEnd()
31184
 
31185
  def write(self, oprot):
31186
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31187
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31188
      return
31189
    oprot.writeStructBegin('addAmazonPromotion_args')
31190
    if self.amazonPromotions is not None:
31191
      oprot.writeFieldBegin('amazonPromotions', TType.MAP, 1)
31192
      oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.amazonPromotions))
12567 amit.gupta 31193
      for kiter738,viter739 in self.amazonPromotions.items():
31194
        oprot.writeString(kiter738)
31195
        viter739.write(oprot)
12363 kshitij.so 31196
      oprot.writeMapEnd()
31197
      oprot.writeFieldEnd()
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 addAmazonPromotion_result:
31217
  """
31218
  Attributes:
31219
   - success
31220
  """
31221
 
31222
  thrift_spec = (
31223
    (0, TType.BOOL, 'success', None, 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.BOOL:
31240
          self.success = iprot.readBool();
31241
        else:
31242
          iprot.skip(ftype)
31243
      else:
31244
        iprot.skip(ftype)
31245
      iprot.readFieldEnd()
31246
    iprot.readStructEnd()
31247
 
31248
  def write(self, oprot):
31249
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31250
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31251
      return
31252
    oprot.writeStructBegin('addAmazonPromotion_result')
31253
    if self.success is not None:
31254
      oprot.writeFieldBegin('success', TType.BOOL, 0)
31255
      oprot.writeBool(self.success)
31256
      oprot.writeFieldEnd()
31257
    oprot.writeFieldStop()
31258
    oprot.writeStructEnd()
31259
 
31260
  def validate(self):
31261
    return
31262
 
31263
 
31264
  def __repr__(self):
31265
    L = ['%s=%r' % (key, value)
31266
      for key, value in self.__dict__.iteritems()]
31267
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31268
 
31269
  def __eq__(self, other):
31270
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31271
 
31272
  def __ne__(self, other):
31273
    return not (self == other)
31274
 
31275
class getAmazonPromotion_args:
31276
  """
31277
  Attributes:
31278
   - startDate
31279
   - endDate
31280
  """
31281
 
31282
  thrift_spec = (
31283
    None, # 0
31284
    (1, TType.I64, 'startDate', None, None, ), # 1
31285
    (2, TType.I64, 'endDate', None, None, ), # 2
31286
  )
31287
 
31288
  def __init__(self, startDate=None, endDate=None,):
31289
    self.startDate = startDate
31290
    self.endDate = endDate
31291
 
31292
  def read(self, iprot):
31293
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31294
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31295
      return
31296
    iprot.readStructBegin()
31297
    while True:
31298
      (fname, ftype, fid) = iprot.readFieldBegin()
31299
      if ftype == TType.STOP:
31300
        break
31301
      if fid == 1:
31302
        if ftype == TType.I64:
31303
          self.startDate = iprot.readI64();
31304
        else:
31305
          iprot.skip(ftype)
31306
      elif fid == 2:
31307
        if ftype == TType.I64:
31308
          self.endDate = iprot.readI64();
31309
        else:
31310
          iprot.skip(ftype)
31311
      else:
31312
        iprot.skip(ftype)
31313
      iprot.readFieldEnd()
31314
    iprot.readStructEnd()
31315
 
31316
  def write(self, oprot):
31317
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31318
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31319
      return
31320
    oprot.writeStructBegin('getAmazonPromotion_args')
31321
    if self.startDate is not None:
31322
      oprot.writeFieldBegin('startDate', TType.I64, 1)
31323
      oprot.writeI64(self.startDate)
31324
      oprot.writeFieldEnd()
31325
    if self.endDate is not None:
31326
      oprot.writeFieldBegin('endDate', TType.I64, 2)
31327
      oprot.writeI64(self.endDate)
31328
      oprot.writeFieldEnd()
31329
    oprot.writeFieldStop()
31330
    oprot.writeStructEnd()
31331
 
31332
  def validate(self):
31333
    return
31334
 
31335
 
31336
  def __repr__(self):
31337
    L = ['%s=%r' % (key, value)
31338
      for key, value in self.__dict__.iteritems()]
31339
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31340
 
31341
  def __eq__(self, other):
31342
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31343
 
31344
  def __ne__(self, other):
31345
    return not (self == other)
31346
 
31347
class getAmazonPromotion_result:
31348
  """
31349
  Attributes:
31350
   - success
31351
  """
31352
 
31353
  thrift_spec = (
31354
    (0, TType.LIST, 'success', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 0
31355
  )
31356
 
31357
  def __init__(self, success=None,):
31358
    self.success = success
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
      if fid == 0:
31370
        if ftype == TType.LIST:
31371
          self.success = []
12567 amit.gupta 31372
          (_etype743, _size740) = iprot.readListBegin()
31373
          for _i744 in xrange(_size740):
31374
            _elem745 = AmazonPromotion()
31375
            _elem745.read(iprot)
31376
            self.success.append(_elem745)
12363 kshitij.so 31377
          iprot.readListEnd()
31378
        else:
31379
          iprot.skip(ftype)
31380
      else:
31381
        iprot.skip(ftype)
31382
      iprot.readFieldEnd()
31383
    iprot.readStructEnd()
31384
 
31385
  def write(self, oprot):
31386
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31387
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31388
      return
31389
    oprot.writeStructBegin('getAmazonPromotion_result')
31390
    if self.success is not None:
31391
      oprot.writeFieldBegin('success', TType.LIST, 0)
31392
      oprot.writeListBegin(TType.STRUCT, len(self.success))
12567 amit.gupta 31393
      for iter746 in self.success:
31394
        iter746.write(oprot)
12363 kshitij.so 31395
      oprot.writeListEnd()
31396
      oprot.writeFieldEnd()
31397
    oprot.writeFieldStop()
31398
    oprot.writeStructEnd()
31399
 
31400
  def validate(self):
31401
    return
31402
 
31403
 
31404
  def __repr__(self):
31405
    L = ['%s=%r' % (key, value)
31406
      for key, value in self.__dict__.iteritems()]
31407
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31408
 
31409
  def __eq__(self, other):
31410
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31411
 
31412
  def __ne__(self, other):
31413
    return not (self == other)
31414
 
31415
class updateAmazonPromotion_args:
31416
  """
31417
  Attributes:
31418
   - amazonPromotions
31419
  """
31420
 
31421
  thrift_spec = (
31422
    None, # 0
31423
    (1, TType.LIST, 'amazonPromotions', (TType.STRUCT,(AmazonPromotion, AmazonPromotion.thrift_spec)), None, ), # 1
31424
  )
31425
 
31426
  def __init__(self, amazonPromotions=None,):
31427
    self.amazonPromotions = amazonPromotions
31428
 
31429
  def read(self, iprot):
31430
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31431
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31432
      return
31433
    iprot.readStructBegin()
31434
    while True:
31435
      (fname, ftype, fid) = iprot.readFieldBegin()
31436
      if ftype == TType.STOP:
31437
        break
31438
      if fid == 1:
31439
        if ftype == TType.LIST:
31440
          self.amazonPromotions = []
12567 amit.gupta 31441
          (_etype750, _size747) = iprot.readListBegin()
31442
          for _i751 in xrange(_size747):
31443
            _elem752 = AmazonPromotion()
31444
            _elem752.read(iprot)
31445
            self.amazonPromotions.append(_elem752)
12363 kshitij.so 31446
          iprot.readListEnd()
31447
        else:
31448
          iprot.skip(ftype)
31449
      else:
31450
        iprot.skip(ftype)
31451
      iprot.readFieldEnd()
31452
    iprot.readStructEnd()
31453
 
31454
  def write(self, oprot):
31455
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31456
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31457
      return
31458
    oprot.writeStructBegin('updateAmazonPromotion_args')
31459
    if self.amazonPromotions is not None:
31460
      oprot.writeFieldBegin('amazonPromotions', TType.LIST, 1)
31461
      oprot.writeListBegin(TType.STRUCT, len(self.amazonPromotions))
12567 amit.gupta 31462
      for iter753 in self.amazonPromotions:
31463
        iter753.write(oprot)
12363 kshitij.so 31464
      oprot.writeListEnd()
31465
      oprot.writeFieldEnd()
31466
    oprot.writeFieldStop()
31467
    oprot.writeStructEnd()
31468
 
31469
  def validate(self):
31470
    return
31471
 
31472
 
31473
  def __repr__(self):
31474
    L = ['%s=%r' % (key, value)
31475
      for key, value in self.__dict__.iteritems()]
31476
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31477
 
31478
  def __eq__(self, other):
31479
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31480
 
31481
  def __ne__(self, other):
31482
    return not (self == other)
31483
 
31484
class updateAmazonPromotion_result:
31485
  """
31486
  Attributes:
31487
   - success
31488
  """
31489
 
31490
  thrift_spec = (
31491
    (0, TType.BOOL, 'success', None, None, ), # 0
31492
  )
31493
 
31494
  def __init__(self, success=None,):
31495
    self.success = success
31496
 
31497
  def read(self, iprot):
31498
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31499
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31500
      return
31501
    iprot.readStructBegin()
31502
    while True:
31503
      (fname, ftype, fid) = iprot.readFieldBegin()
31504
      if ftype == TType.STOP:
31505
        break
31506
      if fid == 0:
31507
        if ftype == TType.BOOL:
31508
          self.success = iprot.readBool();
31509
        else:
31510
          iprot.skip(ftype)
31511
      else:
31512
        iprot.skip(ftype)
31513
      iprot.readFieldEnd()
31514
    iprot.readStructEnd()
31515
 
31516
  def write(self, oprot):
31517
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31518
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31519
      return
31520
    oprot.writeStructBegin('updateAmazonPromotion_result')
31521
    if self.success is not None:
31522
      oprot.writeFieldBegin('success', TType.BOOL, 0)
31523
      oprot.writeBool(self.success)
31524
      oprot.writeFieldEnd()
31525
    oprot.writeFieldStop()
31526
    oprot.writeStructEnd()
31527
 
31528
  def validate(self):
31529
    return
31530
 
31531
 
31532
  def __repr__(self):
31533
    L = ['%s=%r' % (key, value)
31534
      for key, value in self.__dict__.iteritems()]
31535
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31536
 
31537
  def __eq__(self, other):
31538
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31539
 
31540
  def __ne__(self, other):
31541
    return not (self == other)
12567 amit.gupta 31542
 
31543
class markPartiallyActive_args:
31544
  """
31545
  Attributes:
31546
   - itemId
31547
   - categoryId
31548
  """
31549
 
31550
  thrift_spec = (
31551
    None, # 0
31552
    (1, TType.I64, 'itemId', None, None, ), # 1
31553
    (2, TType.I64, 'categoryId', None, None, ), # 2
31554
  )
31555
 
31556
  def __init__(self, itemId=None, categoryId=None,):
31557
    self.itemId = itemId
31558
    self.categoryId = categoryId
31559
 
31560
  def read(self, iprot):
31561
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31562
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31563
      return
31564
    iprot.readStructBegin()
31565
    while True:
31566
      (fname, ftype, fid) = iprot.readFieldBegin()
31567
      if ftype == TType.STOP:
31568
        break
31569
      if fid == 1:
31570
        if ftype == TType.I64:
31571
          self.itemId = iprot.readI64();
31572
        else:
31573
          iprot.skip(ftype)
31574
      elif fid == 2:
31575
        if ftype == TType.I64:
31576
          self.categoryId = iprot.readI64();
31577
        else:
31578
          iprot.skip(ftype)
31579
      else:
31580
        iprot.skip(ftype)
31581
      iprot.readFieldEnd()
31582
    iprot.readStructEnd()
31583
 
31584
  def write(self, oprot):
31585
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31586
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31587
      return
31588
    oprot.writeStructBegin('markPartiallyActive_args')
31589
    if self.itemId is not None:
31590
      oprot.writeFieldBegin('itemId', TType.I64, 1)
31591
      oprot.writeI64(self.itemId)
31592
      oprot.writeFieldEnd()
31593
    if self.categoryId is not None:
31594
      oprot.writeFieldBegin('categoryId', TType.I64, 2)
31595
      oprot.writeI64(self.categoryId)
31596
      oprot.writeFieldEnd()
31597
    oprot.writeFieldStop()
31598
    oprot.writeStructEnd()
31599
 
31600
  def validate(self):
31601
    return
31602
 
31603
 
31604
  def __repr__(self):
31605
    L = ['%s=%r' % (key, value)
31606
      for key, value in self.__dict__.iteritems()]
31607
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31608
 
31609
  def __eq__(self, other):
31610
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31611
 
31612
  def __ne__(self, other):
31613
    return not (self == other)
31614
 
31615
class markPartiallyActive_result:
31616
  """
31617
  Attributes:
31618
   - success
31619
  """
31620
 
31621
  thrift_spec = (
31622
    (0, TType.BOOL, 'success', None, None, ), # 0
31623
  )
31624
 
31625
  def __init__(self, success=None,):
31626
    self.success = success
31627
 
31628
  def read(self, iprot):
31629
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31630
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31631
      return
31632
    iprot.readStructBegin()
31633
    while True:
31634
      (fname, ftype, fid) = iprot.readFieldBegin()
31635
      if ftype == TType.STOP:
31636
        break
31637
      if fid == 0:
31638
        if ftype == TType.BOOL:
31639
          self.success = iprot.readBool();
31640
        else:
31641
          iprot.skip(ftype)
31642
      else:
31643
        iprot.skip(ftype)
31644
      iprot.readFieldEnd()
31645
    iprot.readStructEnd()
31646
 
31647
  def write(self, oprot):
31648
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31649
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31650
      return
31651
    oprot.writeStructBegin('markPartiallyActive_result')
31652
    if self.success is not None:
31653
      oprot.writeFieldBegin('success', TType.BOOL, 0)
31654
      oprot.writeBool(self.success)
31655
      oprot.writeFieldEnd()
31656
    oprot.writeFieldStop()
31657
    oprot.writeStructEnd()
31658
 
31659
  def validate(self):
31660
    return
31661
 
31662
 
31663
  def __repr__(self):
31664
    L = ['%s=%r' % (key, value)
31665
      for key, value in self.__dict__.iteritems()]
31666
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31667
 
31668
  def __eq__(self, other):
31669
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31670
 
31671
  def __ne__(self, other):
31672
    return not (self == other)
31673
 
31674
class updateItemStateVat_args:
31675
  """
31676
  Attributes:
31677
   - itemId
31678
   - statevat
31679
  """
31680
 
31681
  thrift_spec = (
31682
    None, # 0
31683
    (1, TType.I64, 'itemId', None, None, ), # 1
31684
    (2, TType.MAP, 'statevat', (TType.I64,None,TType.DOUBLE,None), None, ), # 2
31685
  )
31686
 
31687
  def __init__(self, itemId=None, statevat=None,):
31688
    self.itemId = itemId
31689
    self.statevat = statevat
31690
 
31691
  def read(self, iprot):
31692
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31693
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31694
      return
31695
    iprot.readStructBegin()
31696
    while True:
31697
      (fname, ftype, fid) = iprot.readFieldBegin()
31698
      if ftype == TType.STOP:
31699
        break
31700
      if fid == 1:
31701
        if ftype == TType.I64:
31702
          self.itemId = iprot.readI64();
31703
        else:
31704
          iprot.skip(ftype)
31705
      elif fid == 2:
31706
        if ftype == TType.MAP:
31707
          self.statevat = {}
31708
          (_ktype755, _vtype756, _size754 ) = iprot.readMapBegin() 
31709
          for _i758 in xrange(_size754):
31710
            _key759 = iprot.readI64();
31711
            _val760 = iprot.readDouble();
31712
            self.statevat[_key759] = _val760
31713
          iprot.readMapEnd()
31714
        else:
31715
          iprot.skip(ftype)
31716
      else:
31717
        iprot.skip(ftype)
31718
      iprot.readFieldEnd()
31719
    iprot.readStructEnd()
31720
 
31721
  def write(self, oprot):
31722
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31723
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31724
      return
31725
    oprot.writeStructBegin('updateItemStateVat_args')
31726
    if self.itemId is not None:
31727
      oprot.writeFieldBegin('itemId', TType.I64, 1)
31728
      oprot.writeI64(self.itemId)
31729
      oprot.writeFieldEnd()
31730
    if self.statevat is not None:
31731
      oprot.writeFieldBegin('statevat', TType.MAP, 2)
31732
      oprot.writeMapBegin(TType.I64, TType.DOUBLE, len(self.statevat))
31733
      for kiter761,viter762 in self.statevat.items():
31734
        oprot.writeI64(kiter761)
31735
        oprot.writeDouble(viter762)
31736
      oprot.writeMapEnd()
31737
      oprot.writeFieldEnd()
31738
    oprot.writeFieldStop()
31739
    oprot.writeStructEnd()
31740
 
31741
  def validate(self):
31742
    return
31743
 
31744
 
31745
  def __repr__(self):
31746
    L = ['%s=%r' % (key, value)
31747
      for key, value in self.__dict__.iteritems()]
31748
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31749
 
31750
  def __eq__(self, other):
31751
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31752
 
31753
  def __ne__(self, other):
31754
    return not (self == other)
31755
 
31756
class updateItemStateVat_result:
31757
  """
31758
  Attributes:
31759
   - success
31760
  """
31761
 
31762
  thrift_spec = (
31763
    (0, TType.BOOL, 'success', None, None, ), # 0
31764
  )
31765
 
31766
  def __init__(self, success=None,):
31767
    self.success = success
31768
 
31769
  def read(self, iprot):
31770
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31771
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31772
      return
31773
    iprot.readStructBegin()
31774
    while True:
31775
      (fname, ftype, fid) = iprot.readFieldBegin()
31776
      if ftype == TType.STOP:
31777
        break
31778
      if fid == 0:
31779
        if ftype == TType.BOOL:
31780
          self.success = iprot.readBool();
31781
        else:
31782
          iprot.skip(ftype)
31783
      else:
31784
        iprot.skip(ftype)
31785
      iprot.readFieldEnd()
31786
    iprot.readStructEnd()
31787
 
31788
  def write(self, oprot):
31789
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31790
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31791
      return
31792
    oprot.writeStructBegin('updateItemStateVat_result')
31793
    if self.success is not None:
31794
      oprot.writeFieldBegin('success', TType.BOOL, 0)
31795
      oprot.writeBool(self.success)
31796
      oprot.writeFieldEnd()
31797
    oprot.writeFieldStop()
31798
    oprot.writeStructEnd()
31799
 
31800
  def validate(self):
31801
    return
31802
 
31803
 
31804
  def __repr__(self):
31805
    L = ['%s=%r' % (key, value)
31806
      for key, value in self.__dict__.iteritems()]
31807
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31808
 
31809
  def __eq__(self, other):
31810
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31811
 
31812
  def __ne__(self, other):
31813
    return not (self == other)
12620 amit.gupta 31814
 
31815
class getExAffiliateItemInfo_args:
31816
 
31817
  thrift_spec = (
31818
  )
31819
 
31820
  def read(self, iprot):
31821
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31822
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31823
      return
31824
    iprot.readStructBegin()
31825
    while True:
31826
      (fname, ftype, fid) = iprot.readFieldBegin()
31827
      if ftype == TType.STOP:
31828
        break
31829
      else:
31830
        iprot.skip(ftype)
31831
      iprot.readFieldEnd()
31832
    iprot.readStructEnd()
31833
 
31834
  def write(self, oprot):
31835
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31836
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31837
      return
31838
    oprot.writeStructBegin('getExAffiliateItemInfo_args')
31839
    oprot.writeFieldStop()
31840
    oprot.writeStructEnd()
31841
 
31842
  def validate(self):
31843
    return
31844
 
31845
 
31846
  def __repr__(self):
31847
    L = ['%s=%r' % (key, value)
31848
      for key, value in self.__dict__.iteritems()]
31849
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31850
 
31851
  def __eq__(self, other):
31852
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31853
 
31854
  def __ne__(self, other):
31855
    return not (self == other)
31856
 
31857
class getExAffiliateItemInfo_result:
31858
  """
31859
  Attributes:
31860
   - success
31861
  """
31862
 
31863
  thrift_spec = (
31864
    (0, TType.MAP, 'success', (TType.I64,None,TType.STRUCT,(ExclusiveAffiliateItemInfo, ExclusiveAffiliateItemInfo.thrift_spec)), None, ), # 0
31865
  )
31866
 
31867
  def __init__(self, success=None,):
31868
    self.success = success
31869
 
31870
  def read(self, iprot):
31871
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31872
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31873
      return
31874
    iprot.readStructBegin()
31875
    while True:
31876
      (fname, ftype, fid) = iprot.readFieldBegin()
31877
      if ftype == TType.STOP:
31878
        break
31879
      if fid == 0:
31880
        if ftype == TType.MAP:
31881
          self.success = {}
31882
          (_ktype764, _vtype765, _size763 ) = iprot.readMapBegin() 
31883
          for _i767 in xrange(_size763):
31884
            _key768 = iprot.readI64();
31885
            _val769 = ExclusiveAffiliateItemInfo()
31886
            _val769.read(iprot)
31887
            self.success[_key768] = _val769
31888
          iprot.readMapEnd()
31889
        else:
31890
          iprot.skip(ftype)
31891
      else:
31892
        iprot.skip(ftype)
31893
      iprot.readFieldEnd()
31894
    iprot.readStructEnd()
31895
 
31896
  def write(self, oprot):
31897
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31898
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31899
      return
31900
    oprot.writeStructBegin('getExAffiliateItemInfo_result')
31901
    if self.success is not None:
31902
      oprot.writeFieldBegin('success', TType.MAP, 0)
31903
      oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.success))
31904
      for kiter770,viter771 in self.success.items():
31905
        oprot.writeI64(kiter770)
31906
        viter771.write(oprot)
31907
      oprot.writeMapEnd()
31908
      oprot.writeFieldEnd()
31909
    oprot.writeFieldStop()
31910
    oprot.writeStructEnd()
31911
 
31912
  def validate(self):
31913
    return
31914
 
31915
 
31916
  def __repr__(self):
31917
    L = ['%s=%r' % (key, value)
31918
      for key, value in self.__dict__.iteritems()]
31919
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31920
 
31921
  def __eq__(self, other):
31922
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31923
 
31924
  def __ne__(self, other):
31925
    return not (self == other)
12888 kshitij.so 31926
 
31927
class getAllItemstoListOnFbg_args:
31928
 
31929
  thrift_spec = (
31930
  )
31931
 
31932
  def read(self, iprot):
31933
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31934
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31935
      return
31936
    iprot.readStructBegin()
31937
    while True:
31938
      (fname, ftype, fid) = iprot.readFieldBegin()
31939
      if ftype == TType.STOP:
31940
        break
31941
      else:
31942
        iprot.skip(ftype)
31943
      iprot.readFieldEnd()
31944
    iprot.readStructEnd()
31945
 
31946
  def write(self, oprot):
31947
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
31948
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
31949
      return
31950
    oprot.writeStructBegin('getAllItemstoListOnFbg_args')
31951
    oprot.writeFieldStop()
31952
    oprot.writeStructEnd()
31953
 
31954
  def validate(self):
31955
    return
31956
 
31957
 
31958
  def __repr__(self):
31959
    L = ['%s=%r' % (key, value)
31960
      for key, value in self.__dict__.iteritems()]
31961
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
31962
 
31963
  def __eq__(self, other):
31964
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
31965
 
31966
  def __ne__(self, other):
31967
    return not (self == other)
31968
 
31969
class getAllItemstoListOnFbg_result:
31970
  """
31971
  Attributes:
31972
   - success
31973
  """
31974
 
31975
  thrift_spec = (
31976
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
31977
  )
31978
 
31979
  def __init__(self, success=None,):
31980
    self.success = success
31981
 
31982
  def read(self, iprot):
31983
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
31984
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
31985
      return
31986
    iprot.readStructBegin()
31987
    while True:
31988
      (fname, ftype, fid) = iprot.readFieldBegin()
31989
      if ftype == TType.STOP:
31990
        break
31991
      if fid == 0:
31992
        if ftype == TType.LIST:
31993
          self.success = []
31994
          (_etype775, _size772) = iprot.readListBegin()
31995
          for _i776 in xrange(_size772):
31996
            _elem777 = Amazonlisted()
31997
            _elem777.read(iprot)
31998
            self.success.append(_elem777)
31999
          iprot.readListEnd()
32000
        else:
32001
          iprot.skip(ftype)
32002
      else:
32003
        iprot.skip(ftype)
32004
      iprot.readFieldEnd()
32005
    iprot.readStructEnd()
32006
 
32007
  def write(self, oprot):
32008
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32009
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32010
      return
32011
    oprot.writeStructBegin('getAllItemstoListOnFbg_result')
32012
    if self.success is not None:
32013
      oprot.writeFieldBegin('success', TType.LIST, 0)
32014
      oprot.writeListBegin(TType.STRUCT, len(self.success))
32015
      for iter778 in self.success:
32016
        iter778.write(oprot)
32017
      oprot.writeListEnd()
32018
      oprot.writeFieldEnd()
32019
    oprot.writeFieldStop()
32020
    oprot.writeStructEnd()
32021
 
32022
  def validate(self):
32023
    return
32024
 
32025
 
32026
  def __repr__(self):
32027
    L = ['%s=%r' % (key, value)
32028
      for key, value in self.__dict__.iteritems()]
32029
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32030
 
32031
  def __eq__(self, other):
32032
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32033
 
32034
  def __ne__(self, other):
32035
    return not (self == other)
12892 kshitij.so 32036
 
32037
class getAllFbgListedItems_args:
32038
 
32039
  thrift_spec = (
32040
  )
32041
 
32042
  def read(self, iprot):
32043
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32044
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32045
      return
32046
    iprot.readStructBegin()
32047
    while True:
32048
      (fname, ftype, fid) = iprot.readFieldBegin()
32049
      if ftype == TType.STOP:
32050
        break
32051
      else:
32052
        iprot.skip(ftype)
32053
      iprot.readFieldEnd()
32054
    iprot.readStructEnd()
32055
 
32056
  def write(self, oprot):
32057
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32058
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32059
      return
32060
    oprot.writeStructBegin('getAllFbgListedItems_args')
32061
    oprot.writeFieldStop()
32062
    oprot.writeStructEnd()
32063
 
32064
  def validate(self):
32065
    return
32066
 
32067
 
32068
  def __repr__(self):
32069
    L = ['%s=%r' % (key, value)
32070
      for key, value in self.__dict__.iteritems()]
32071
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32072
 
32073
  def __eq__(self, other):
32074
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32075
 
32076
  def __ne__(self, other):
32077
    return not (self == other)
32078
 
32079
class getAllFbgListedItems_result:
32080
  """
32081
  Attributes:
32082
   - success
32083
  """
32084
 
32085
  thrift_spec = (
32086
    (0, TType.LIST, 'success', (TType.STRUCT,(Amazonlisted, Amazonlisted.thrift_spec)), None, ), # 0
32087
  )
32088
 
32089
  def __init__(self, success=None,):
32090
    self.success = success
32091
 
32092
  def read(self, iprot):
32093
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
32094
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
32095
      return
32096
    iprot.readStructBegin()
32097
    while True:
32098
      (fname, ftype, fid) = iprot.readFieldBegin()
32099
      if ftype == TType.STOP:
32100
        break
32101
      if fid == 0:
32102
        if ftype == TType.LIST:
32103
          self.success = []
32104
          (_etype782, _size779) = iprot.readListBegin()
32105
          for _i783 in xrange(_size779):
32106
            _elem784 = Amazonlisted()
32107
            _elem784.read(iprot)
32108
            self.success.append(_elem784)
32109
          iprot.readListEnd()
32110
        else:
32111
          iprot.skip(ftype)
32112
      else:
32113
        iprot.skip(ftype)
32114
      iprot.readFieldEnd()
32115
    iprot.readStructEnd()
32116
 
32117
  def write(self, oprot):
32118
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
32119
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
32120
      return
32121
    oprot.writeStructBegin('getAllFbgListedItems_result')
32122
    if self.success is not None:
32123
      oprot.writeFieldBegin('success', TType.LIST, 0)
32124
      oprot.writeListBegin(TType.STRUCT, len(self.success))
32125
      for iter785 in self.success:
32126
        iter785.write(oprot)
32127
      oprot.writeListEnd()
32128
      oprot.writeFieldEnd()
32129
    oprot.writeFieldStop()
32130
    oprot.writeStructEnd()
32131
 
32132
  def validate(self):
32133
    return
32134
 
32135
 
32136
  def __repr__(self):
32137
    L = ['%s=%r' % (key, value)
32138
      for key, value in self.__dict__.iteritems()]
32139
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
32140
 
32141
  def __eq__(self, other):
32142
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
32143
 
32144
  def __ne__(self, other):
32145
    return not (self == other)